@alicloud/dyvmsapi20170525 2.1.0 → 2.1.1

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.js CHANGED
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  */
17
17
  const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
18
18
  const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
19
+ const openapi_util_1 = __importDefault(require("@alicloud/openapi-util"));
19
20
  const endpoint_util_1 = __importDefault(require("@alicloud/endpoint-util"));
20
21
  const $tea = __importStar(require("@alicloud/tea-typescript"));
21
22
  class AddRtcAccountRequest extends $tea.Model {
@@ -232,70 +233,6 @@ class BatchRobotSmartCallResponse extends $tea.Model {
232
233
  }
233
234
  }
234
235
  exports.BatchRobotSmartCallResponse = BatchRobotSmartCallResponse;
235
- class BindNumberAndVoipIdRequest extends $tea.Model {
236
- constructor(map) {
237
- super(map);
238
- }
239
- static names() {
240
- return {
241
- ownerId: 'OwnerId',
242
- phoneNumber: 'PhoneNumber',
243
- resourceOwnerAccount: 'ResourceOwnerAccount',
244
- resourceOwnerId: 'ResourceOwnerId',
245
- voipId: 'VoipId',
246
- };
247
- }
248
- static types() {
249
- return {
250
- ownerId: 'number',
251
- phoneNumber: 'string',
252
- resourceOwnerAccount: 'string',
253
- resourceOwnerId: 'number',
254
- voipId: 'string',
255
- };
256
- }
257
- }
258
- exports.BindNumberAndVoipIdRequest = BindNumberAndVoipIdRequest;
259
- class BindNumberAndVoipIdResponseBody extends $tea.Model {
260
- constructor(map) {
261
- super(map);
262
- }
263
- static names() {
264
- return {
265
- code: 'Code',
266
- message: 'Message',
267
- module: 'Module',
268
- requestId: 'RequestId',
269
- };
270
- }
271
- static types() {
272
- return {
273
- code: 'string',
274
- message: 'string',
275
- module: 'string',
276
- requestId: 'string',
277
- };
278
- }
279
- }
280
- exports.BindNumberAndVoipIdResponseBody = BindNumberAndVoipIdResponseBody;
281
- class BindNumberAndVoipIdResponse extends $tea.Model {
282
- constructor(map) {
283
- super(map);
284
- }
285
- static names() {
286
- return {
287
- headers: 'headers',
288
- body: 'body',
289
- };
290
- }
291
- static types() {
292
- return {
293
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
294
- body: BindNumberAndVoipIdResponseBody,
295
- };
296
- }
297
- }
298
- exports.BindNumberAndVoipIdResponse = BindNumberAndVoipIdResponse;
299
236
  class CancelCallRequest extends $tea.Model {
300
237
  constructor(map) {
301
238
  super(map);
@@ -560,70 +497,6 @@ class ClickToDialResponse extends $tea.Model {
560
497
  }
561
498
  }
562
499
  exports.ClickToDialResponse = ClickToDialResponse;
563
- class CloseSipAccountRequest extends $tea.Model {
564
- constructor(map) {
565
- super(map);
566
- }
567
- static names() {
568
- return {
569
- ownerId: 'OwnerId',
570
- partnerId: 'PartnerId',
571
- resourceOwnerAccount: 'ResourceOwnerAccount',
572
- resourceOwnerId: 'ResourceOwnerId',
573
- sipAccountID: 'SipAccountID',
574
- };
575
- }
576
- static types() {
577
- return {
578
- ownerId: 'number',
579
- partnerId: 'number',
580
- resourceOwnerAccount: 'string',
581
- resourceOwnerId: 'number',
582
- sipAccountID: 'string',
583
- };
584
- }
585
- }
586
- exports.CloseSipAccountRequest = CloseSipAccountRequest;
587
- class CloseSipAccountResponseBody extends $tea.Model {
588
- constructor(map) {
589
- super(map);
590
- }
591
- static names() {
592
- return {
593
- code: 'Code',
594
- data: 'Data',
595
- message: 'Message',
596
- requestId: 'RequestId',
597
- };
598
- }
599
- static types() {
600
- return {
601
- code: 'string',
602
- data: 'boolean',
603
- message: 'string',
604
- requestId: 'string',
605
- };
606
- }
607
- }
608
- exports.CloseSipAccountResponseBody = CloseSipAccountResponseBody;
609
- class CloseSipAccountResponse extends $tea.Model {
610
- constructor(map) {
611
- super(map);
612
- }
613
- static names() {
614
- return {
615
- headers: 'headers',
616
- body: 'body',
617
- };
618
- }
619
- static types() {
620
- return {
621
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
622
- body: CloseSipAccountResponseBody,
623
- };
624
- }
625
- }
626
- exports.CloseSipAccountResponse = CloseSipAccountResponse;
627
500
  class CreateCallTaskRequest extends $tea.Model {
628
501
  constructor(map) {
629
502
  super(map);
@@ -784,31 +657,29 @@ class CreateRobotTaskResponse extends $tea.Model {
784
657
  }
785
658
  }
786
659
  exports.CreateRobotTaskResponse = CreateRobotTaskResponse;
787
- class CreateSipAccountRequest extends $tea.Model {
660
+ class DeleteRobotTaskRequest extends $tea.Model {
788
661
  constructor(map) {
789
662
  super(map);
790
663
  }
791
664
  static names() {
792
665
  return {
793
- businessKey: 'BusinessKey',
794
666
  ownerId: 'OwnerId',
795
- partnerId: 'PartnerId',
796
667
  resourceOwnerAccount: 'ResourceOwnerAccount',
797
668
  resourceOwnerId: 'ResourceOwnerId',
669
+ taskId: 'TaskId',
798
670
  };
799
671
  }
800
672
  static types() {
801
673
  return {
802
- businessKey: 'string',
803
674
  ownerId: 'number',
804
- partnerId: 'number',
805
675
  resourceOwnerAccount: 'string',
806
676
  resourceOwnerId: 'number',
677
+ taskId: 'number',
807
678
  };
808
679
  }
809
680
  }
810
- exports.CreateSipAccountRequest = CreateSipAccountRequest;
811
- class CreateSipAccountResponseBody extends $tea.Model {
681
+ exports.DeleteRobotTaskRequest = DeleteRobotTaskRequest;
682
+ class DeleteRobotTaskResponseBody extends $tea.Model {
812
683
  constructor(map) {
813
684
  super(map);
814
685
  }
@@ -823,14 +694,14 @@ class CreateSipAccountResponseBody extends $tea.Model {
823
694
  static types() {
824
695
  return {
825
696
  code: 'string',
826
- data: CreateSipAccountResponseBodyData,
697
+ data: 'string',
827
698
  message: 'string',
828
699
  requestId: 'string',
829
700
  };
830
701
  }
831
702
  }
832
- exports.CreateSipAccountResponseBody = CreateSipAccountResponseBody;
833
- class CreateSipAccountResponse extends $tea.Model {
703
+ exports.DeleteRobotTaskResponseBody = DeleteRobotTaskResponseBody;
704
+ class DeleteRobotTaskResponse extends $tea.Model {
834
705
  constructor(map) {
835
706
  super(map);
836
707
  }
@@ -843,34 +714,38 @@ class CreateSipAccountResponse extends $tea.Model {
843
714
  static types() {
844
715
  return {
845
716
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
846
- body: CreateSipAccountResponseBody,
717
+ body: DeleteRobotTaskResponseBody,
847
718
  };
848
719
  }
849
720
  }
850
- exports.CreateSipAccountResponse = CreateSipAccountResponse;
851
- class DeleteRobotTaskRequest extends $tea.Model {
721
+ exports.DeleteRobotTaskResponse = DeleteRobotTaskResponse;
722
+ class ExecuteCallTaskRequest extends $tea.Model {
852
723
  constructor(map) {
853
724
  super(map);
854
725
  }
855
726
  static names() {
856
727
  return {
728
+ fireTime: 'FireTime',
857
729
  ownerId: 'OwnerId',
858
730
  resourceOwnerAccount: 'ResourceOwnerAccount',
859
731
  resourceOwnerId: 'ResourceOwnerId',
732
+ status: 'Status',
860
733
  taskId: 'TaskId',
861
734
  };
862
735
  }
863
736
  static types() {
864
737
  return {
738
+ fireTime: 'string',
865
739
  ownerId: 'number',
866
740
  resourceOwnerAccount: 'string',
867
741
  resourceOwnerId: 'number',
742
+ status: 'string',
868
743
  taskId: 'number',
869
744
  };
870
745
  }
871
746
  }
872
- exports.DeleteRobotTaskRequest = DeleteRobotTaskRequest;
873
- class DeleteRobotTaskResponseBody extends $tea.Model {
747
+ exports.ExecuteCallTaskRequest = ExecuteCallTaskRequest;
748
+ class ExecuteCallTaskResponseBody extends $tea.Model {
874
749
  constructor(map) {
875
750
  super(map);
876
751
  }
@@ -878,21 +753,19 @@ class DeleteRobotTaskResponseBody extends $tea.Model {
878
753
  return {
879
754
  code: 'Code',
880
755
  data: 'Data',
881
- message: 'Message',
882
756
  requestId: 'RequestId',
883
757
  };
884
758
  }
885
759
  static types() {
886
760
  return {
887
761
  code: 'string',
888
- data: 'string',
889
- message: 'string',
762
+ data: 'boolean',
890
763
  requestId: 'string',
891
764
  };
892
765
  }
893
766
  }
894
- exports.DeleteRobotTaskResponseBody = DeleteRobotTaskResponseBody;
895
- class DeleteRobotTaskResponse extends $tea.Model {
767
+ exports.ExecuteCallTaskResponseBody = ExecuteCallTaskResponseBody;
768
+ class ExecuteCallTaskResponse extends $tea.Model {
896
769
  constructor(map) {
897
770
  super(map);
898
771
  }
@@ -905,68 +778,56 @@ class DeleteRobotTaskResponse extends $tea.Model {
905
778
  static types() {
906
779
  return {
907
780
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
908
- body: DeleteRobotTaskResponseBody,
781
+ body: ExecuteCallTaskResponseBody,
909
782
  };
910
783
  }
911
784
  }
912
- exports.DeleteRobotTaskResponse = DeleteRobotTaskResponse;
913
- class DescribeRecordDataRequest extends $tea.Model {
785
+ exports.ExecuteCallTaskResponse = ExecuteCallTaskResponse;
786
+ class GetCallInfoRequest extends $tea.Model {
914
787
  constructor(map) {
915
788
  super(map);
916
789
  }
917
790
  static names() {
918
791
  return {
919
- accountId: 'AccountId',
920
- accountType: 'AccountType',
921
- acid: 'Acid',
922
792
  ownerId: 'OwnerId',
923
- prodCode: 'ProdCode',
924
793
  resourceOwnerAccount: 'ResourceOwnerAccount',
925
794
  resourceOwnerId: 'ResourceOwnerId',
926
- secLevel: 'SecLevel',
795
+ rtcId: 'RtcId',
927
796
  };
928
797
  }
929
798
  static types() {
930
799
  return {
931
- accountId: 'string',
932
- accountType: 'string',
933
- acid: 'string',
934
800
  ownerId: 'number',
935
- prodCode: 'string',
936
801
  resourceOwnerAccount: 'string',
937
802
  resourceOwnerId: 'number',
938
- secLevel: 'number',
803
+ rtcId: 'string',
939
804
  };
940
805
  }
941
806
  }
942
- exports.DescribeRecordDataRequest = DescribeRecordDataRequest;
943
- class DescribeRecordDataResponseBody extends $tea.Model {
807
+ exports.GetCallInfoRequest = GetCallInfoRequest;
808
+ class GetCallInfoResponseBody extends $tea.Model {
944
809
  constructor(map) {
945
810
  super(map);
946
811
  }
947
812
  static names() {
948
813
  return {
949
- acid: 'Acid',
950
- agentId: 'AgentId',
951
814
  code: 'Code',
815
+ data: 'Data',
952
816
  message: 'Message',
953
- ossLink: 'OssLink',
954
817
  requestId: 'RequestId',
955
818
  };
956
819
  }
957
820
  static types() {
958
821
  return {
959
- acid: 'string',
960
- agentId: 'string',
961
822
  code: 'string',
823
+ data: GetCallInfoResponseBodyData,
962
824
  message: 'string',
963
- ossLink: 'string',
964
825
  requestId: 'string',
965
826
  };
966
827
  }
967
828
  }
968
- exports.DescribeRecordDataResponseBody = DescribeRecordDataResponseBody;
969
- class DescribeRecordDataResponse extends $tea.Model {
829
+ exports.GetCallInfoResponseBody = GetCallInfoResponseBody;
830
+ class GetCallInfoResponse extends $tea.Model {
970
831
  constructor(map) {
971
832
  super(map);
972
833
  }
@@ -979,56 +840,56 @@ class DescribeRecordDataResponse extends $tea.Model {
979
840
  static types() {
980
841
  return {
981
842
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
982
- body: DescribeRecordDataResponseBody,
843
+ body: GetCallInfoResponseBody,
983
844
  };
984
845
  }
985
846
  }
986
- exports.DescribeRecordDataResponse = DescribeRecordDataResponse;
987
- class DoRtcNumberAuthRequest extends $tea.Model {
847
+ exports.GetCallInfoResponse = GetCallInfoResponse;
848
+ class GetHotlineQualificationByOrderRequest extends $tea.Model {
988
849
  constructor(map) {
989
850
  super(map);
990
851
  }
991
852
  static names() {
992
853
  return {
854
+ orderId: 'OrderId',
993
855
  ownerId: 'OwnerId',
994
- phoneNumber: 'PhoneNumber',
995
856
  resourceOwnerAccount: 'ResourceOwnerAccount',
996
857
  resourceOwnerId: 'ResourceOwnerId',
997
858
  };
998
859
  }
999
860
  static types() {
1000
861
  return {
862
+ orderId: 'string',
1001
863
  ownerId: 'number',
1002
- phoneNumber: 'string',
1003
864
  resourceOwnerAccount: 'string',
1004
865
  resourceOwnerId: 'number',
1005
866
  };
1006
867
  }
1007
868
  }
1008
- exports.DoRtcNumberAuthRequest = DoRtcNumberAuthRequest;
1009
- class DoRtcNumberAuthResponseBody extends $tea.Model {
869
+ exports.GetHotlineQualificationByOrderRequest = GetHotlineQualificationByOrderRequest;
870
+ class GetHotlineQualificationByOrderResponseBody extends $tea.Model {
1010
871
  constructor(map) {
1011
872
  super(map);
1012
873
  }
1013
874
  static names() {
1014
875
  return {
1015
876
  code: 'Code',
877
+ data: 'Data',
1016
878
  message: 'Message',
1017
- module: 'Module',
1018
879
  requestId: 'RequestId',
1019
880
  };
1020
881
  }
1021
882
  static types() {
1022
883
  return {
1023
884
  code: 'string',
885
+ data: GetHotlineQualificationByOrderResponseBodyData,
1024
886
  message: 'string',
1025
- module: 'string',
1026
887
  requestId: 'string',
1027
888
  };
1028
889
  }
1029
890
  }
1030
- exports.DoRtcNumberAuthResponseBody = DoRtcNumberAuthResponseBody;
1031
- class DoRtcNumberAuthResponse extends $tea.Model {
891
+ exports.GetHotlineQualificationByOrderResponseBody = GetHotlineQualificationByOrderResponseBody;
892
+ class GetHotlineQualificationByOrderResponse extends $tea.Model {
1032
893
  constructor(map) {
1033
894
  super(map);
1034
895
  }
@@ -1041,78 +902,54 @@ class DoRtcNumberAuthResponse extends $tea.Model {
1041
902
  static types() {
1042
903
  return {
1043
904
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1044
- body: DoRtcNumberAuthResponseBody,
905
+ body: GetHotlineQualificationByOrderResponseBody,
1045
906
  };
1046
907
  }
1047
908
  }
1048
- exports.DoRtcNumberAuthResponse = DoRtcNumberAuthResponse;
1049
- class DoubleCallSeatRequest extends $tea.Model {
909
+ exports.GetHotlineQualificationByOrderResponse = GetHotlineQualificationByOrderResponse;
910
+ class GetMqttTokenRequest extends $tea.Model {
1050
911
  constructor(map) {
1051
912
  super(map);
1052
913
  }
1053
914
  static names() {
1054
915
  return {
1055
- asrFlag: 'AsrFlag',
1056
- asrModelId: 'AsrModelId',
1057
- callType: 'CallType',
1058
- calledNumber: 'CalledNumber',
1059
- calledShowNumber: 'CalledShowNumber',
1060
- callerNumber: 'CallerNumber',
1061
- callerShowNumber: 'CallerShowNumber',
1062
- outId: 'OutId',
1063
916
  ownerId: 'OwnerId',
1064
- recordFlag: 'RecordFlag',
1065
- recordPoint: 'RecordPoint',
1066
917
  resourceOwnerAccount: 'ResourceOwnerAccount',
1067
918
  resourceOwnerId: 'ResourceOwnerId',
1068
- sessionTimeout: 'SessionTimeout',
1069
- voiceCode: 'VoiceCode',
1070
919
  };
1071
920
  }
1072
921
  static types() {
1073
922
  return {
1074
- asrFlag: 'boolean',
1075
- asrModelId: 'string',
1076
- callType: 'string',
1077
- calledNumber: 'string',
1078
- calledShowNumber: 'string',
1079
- callerNumber: 'string',
1080
- callerShowNumber: 'string',
1081
- outId: 'string',
1082
923
  ownerId: 'number',
1083
- recordFlag: 'boolean',
1084
- recordPoint: 'number',
1085
924
  resourceOwnerAccount: 'string',
1086
925
  resourceOwnerId: 'number',
1087
- sessionTimeout: 'number',
1088
- voiceCode: 'string',
1089
926
  };
1090
927
  }
1091
928
  }
1092
- exports.DoubleCallSeatRequest = DoubleCallSeatRequest;
1093
- class DoubleCallSeatResponseBody extends $tea.Model {
929
+ exports.GetMqttTokenRequest = GetMqttTokenRequest;
930
+ class GetMqttTokenResponseBody extends $tea.Model {
1094
931
  constructor(map) {
1095
932
  super(map);
1096
933
  }
1097
934
  static names() {
1098
935
  return {
1099
- callId: 'CallId',
1100
936
  code: 'Code',
937
+ data: 'Data',
1101
938
  message: 'Message',
1102
939
  requestId: 'RequestId',
1103
940
  };
1104
941
  }
1105
942
  static types() {
1106
943
  return {
1107
- callId: 'string',
1108
944
  code: 'string',
945
+ data: GetMqttTokenResponseBodyData,
1109
946
  message: 'string',
1110
947
  requestId: 'string',
1111
948
  };
1112
949
  }
1113
950
  }
1114
- exports.DoubleCallSeatResponseBody = DoubleCallSeatResponseBody;
1115
- class DoubleCallSeatResponse extends $tea.Model {
951
+ exports.GetMqttTokenResponseBody = GetMqttTokenResponseBody;
952
+ class GetMqttTokenResponse extends $tea.Model {
1116
953
  constructor(map) {
1117
954
  super(map);
1118
955
  }
@@ -1125,58 +962,60 @@ class DoubleCallSeatResponse extends $tea.Model {
1125
962
  static types() {
1126
963
  return {
1127
964
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1128
- body: DoubleCallSeatResponseBody,
965
+ body: GetMqttTokenResponseBody,
1129
966
  };
1130
967
  }
1131
968
  }
1132
- exports.DoubleCallSeatResponse = DoubleCallSeatResponse;
1133
- class ExecuteCallTaskRequest extends $tea.Model {
969
+ exports.GetMqttTokenResponse = GetMqttTokenResponse;
970
+ class GetRtcTokenRequest extends $tea.Model {
1134
971
  constructor(map) {
1135
972
  super(map);
1136
973
  }
1137
974
  static names() {
1138
975
  return {
1139
- fireTime: 'FireTime',
976
+ deviceId: 'DeviceId',
977
+ isCustomAccount: 'IsCustomAccount',
1140
978
  ownerId: 'OwnerId',
1141
979
  resourceOwnerAccount: 'ResourceOwnerAccount',
1142
980
  resourceOwnerId: 'ResourceOwnerId',
1143
- status: 'Status',
1144
- taskId: 'TaskId',
981
+ userId: 'UserId',
1145
982
  };
1146
983
  }
1147
984
  static types() {
1148
985
  return {
1149
- fireTime: 'string',
986
+ deviceId: 'string',
987
+ isCustomAccount: 'boolean',
1150
988
  ownerId: 'number',
1151
989
  resourceOwnerAccount: 'string',
1152
990
  resourceOwnerId: 'number',
1153
- status: 'string',
1154
- taskId: 'number',
991
+ userId: 'string',
1155
992
  };
1156
993
  }
1157
994
  }
1158
- exports.ExecuteCallTaskRequest = ExecuteCallTaskRequest;
1159
- class ExecuteCallTaskResponseBody extends $tea.Model {
995
+ exports.GetRtcTokenRequest = GetRtcTokenRequest;
996
+ class GetRtcTokenResponseBody extends $tea.Model {
1160
997
  constructor(map) {
1161
998
  super(map);
1162
999
  }
1163
1000
  static names() {
1164
1001
  return {
1165
1002
  code: 'Code',
1166
- data: 'Data',
1003
+ message: 'Message',
1004
+ module: 'Module',
1167
1005
  requestId: 'RequestId',
1168
1006
  };
1169
1007
  }
1170
1008
  static types() {
1171
1009
  return {
1172
1010
  code: 'string',
1173
- data: 'boolean',
1011
+ message: 'string',
1012
+ module: 'string',
1174
1013
  requestId: 'string',
1175
1014
  };
1176
1015
  }
1177
1016
  }
1178
- exports.ExecuteCallTaskResponseBody = ExecuteCallTaskResponseBody;
1179
- class ExecuteCallTaskResponse extends $tea.Model {
1017
+ exports.GetRtcTokenResponseBody = GetRtcTokenResponseBody;
1018
+ class GetRtcTokenResponse extends $tea.Model {
1180
1019
  constructor(map) {
1181
1020
  super(map);
1182
1021
  }
@@ -1189,12 +1028,12 @@ class ExecuteCallTaskResponse extends $tea.Model {
1189
1028
  static types() {
1190
1029
  return {
1191
1030
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1192
- body: ExecuteCallTaskResponseBody,
1031
+ body: GetRtcTokenResponseBody,
1193
1032
  };
1194
1033
  }
1195
1034
  }
1196
- exports.ExecuteCallTaskResponse = ExecuteCallTaskResponse;
1197
- class GetCallInfoRequest extends $tea.Model {
1035
+ exports.GetRtcTokenResponse = GetRtcTokenResponse;
1036
+ class GetTokenRequest extends $tea.Model {
1198
1037
  constructor(map) {
1199
1038
  super(map);
1200
1039
  }
@@ -1203,7 +1042,7 @@ class GetCallInfoRequest extends $tea.Model {
1203
1042
  ownerId: 'OwnerId',
1204
1043
  resourceOwnerAccount: 'ResourceOwnerAccount',
1205
1044
  resourceOwnerId: 'ResourceOwnerId',
1206
- rtcId: 'RtcId',
1045
+ tokenType: 'TokenType',
1207
1046
  };
1208
1047
  }
1209
1048
  static types() {
@@ -1211,34 +1050,36 @@ class GetCallInfoRequest extends $tea.Model {
1211
1050
  ownerId: 'number',
1212
1051
  resourceOwnerAccount: 'string',
1213
1052
  resourceOwnerId: 'number',
1214
- rtcId: 'string',
1053
+ tokenType: 'string',
1215
1054
  };
1216
1055
  }
1217
1056
  }
1218
- exports.GetCallInfoRequest = GetCallInfoRequest;
1219
- class GetCallInfoResponseBody extends $tea.Model {
1057
+ exports.GetTokenRequest = GetTokenRequest;
1058
+ class GetTokenResponseBody extends $tea.Model {
1220
1059
  constructor(map) {
1221
1060
  super(map);
1222
1061
  }
1223
1062
  static names() {
1224
1063
  return {
1225
1064
  code: 'Code',
1226
- data: 'Data',
1227
1065
  message: 'Message',
1228
1066
  requestId: 'RequestId',
1067
+ success: 'Success',
1068
+ token: 'Token',
1229
1069
  };
1230
1070
  }
1231
1071
  static types() {
1232
1072
  return {
1233
1073
  code: 'string',
1234
- data: GetCallInfoResponseBodyData,
1235
1074
  message: 'string',
1236
1075
  requestId: 'string',
1076
+ success: 'boolean',
1077
+ token: 'string',
1237
1078
  };
1238
1079
  }
1239
1080
  }
1240
- exports.GetCallInfoResponseBody = GetCallInfoResponseBody;
1241
- class GetCallInfoResponse extends $tea.Model {
1081
+ exports.GetTokenResponseBody = GetTokenResponseBody;
1082
+ class GetTokenResponse extends $tea.Model {
1242
1083
  constructor(map) {
1243
1084
  super(map);
1244
1085
  }
@@ -1251,215 +1092,23 @@ class GetCallInfoResponse extends $tea.Model {
1251
1092
  static types() {
1252
1093
  return {
1253
1094
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1254
- body: GetCallInfoResponseBody,
1095
+ body: GetTokenResponseBody,
1255
1096
  };
1256
1097
  }
1257
1098
  }
1258
- exports.GetCallInfoResponse = GetCallInfoResponse;
1259
- class GetHotlineQualificationByOrderRequest extends $tea.Model {
1099
+ exports.GetTokenResponse = GetTokenResponse;
1100
+ class IvrCallRequest extends $tea.Model {
1260
1101
  constructor(map) {
1261
1102
  super(map);
1262
1103
  }
1263
1104
  static names() {
1264
1105
  return {
1265
- orderId: 'OrderId',
1266
- ownerId: 'OwnerId',
1267
- resourceOwnerAccount: 'ResourceOwnerAccount',
1268
- resourceOwnerId: 'ResourceOwnerId',
1269
- };
1270
- }
1271
- static types() {
1272
- return {
1273
- orderId: 'string',
1274
- ownerId: 'number',
1275
- resourceOwnerAccount: 'string',
1276
- resourceOwnerId: 'number',
1277
- };
1278
- }
1279
- }
1280
- exports.GetHotlineQualificationByOrderRequest = GetHotlineQualificationByOrderRequest;
1281
- class GetHotlineQualificationByOrderResponseBody extends $tea.Model {
1282
- constructor(map) {
1283
- super(map);
1284
- }
1285
- static names() {
1286
- return {
1287
- code: 'Code',
1288
- data: 'Data',
1289
- message: 'Message',
1290
- requestId: 'RequestId',
1291
- };
1292
- }
1293
- static types() {
1294
- return {
1295
- code: 'string',
1296
- data: GetHotlineQualificationByOrderResponseBodyData,
1297
- message: 'string',
1298
- requestId: 'string',
1299
- };
1300
- }
1301
- }
1302
- exports.GetHotlineQualificationByOrderResponseBody = GetHotlineQualificationByOrderResponseBody;
1303
- class GetHotlineQualificationByOrderResponse extends $tea.Model {
1304
- constructor(map) {
1305
- super(map);
1306
- }
1307
- static names() {
1308
- return {
1309
- headers: 'headers',
1310
- body: 'body',
1311
- };
1312
- }
1313
- static types() {
1314
- return {
1315
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1316
- body: GetHotlineQualificationByOrderResponseBody,
1317
- };
1318
- }
1319
- }
1320
- exports.GetHotlineQualificationByOrderResponse = GetHotlineQualificationByOrderResponse;
1321
- class GetRtcTokenRequest extends $tea.Model {
1322
- constructor(map) {
1323
- super(map);
1324
- }
1325
- static names() {
1326
- return {
1327
- deviceId: 'DeviceId',
1328
- isCustomAccount: 'IsCustomAccount',
1329
- ownerId: 'OwnerId',
1330
- resourceOwnerAccount: 'ResourceOwnerAccount',
1331
- resourceOwnerId: 'ResourceOwnerId',
1332
- userId: 'UserId',
1333
- };
1334
- }
1335
- static types() {
1336
- return {
1337
- deviceId: 'string',
1338
- isCustomAccount: 'boolean',
1339
- ownerId: 'number',
1340
- resourceOwnerAccount: 'string',
1341
- resourceOwnerId: 'number',
1342
- userId: 'string',
1343
- };
1344
- }
1345
- }
1346
- exports.GetRtcTokenRequest = GetRtcTokenRequest;
1347
- class GetRtcTokenResponseBody extends $tea.Model {
1348
- constructor(map) {
1349
- super(map);
1350
- }
1351
- static names() {
1352
- return {
1353
- code: 'Code',
1354
- message: 'Message',
1355
- module: 'Module',
1356
- requestId: 'RequestId',
1357
- };
1358
- }
1359
- static types() {
1360
- return {
1361
- code: 'string',
1362
- message: 'string',
1363
- module: 'string',
1364
- requestId: 'string',
1365
- };
1366
- }
1367
- }
1368
- exports.GetRtcTokenResponseBody = GetRtcTokenResponseBody;
1369
- class GetRtcTokenResponse extends $tea.Model {
1370
- constructor(map) {
1371
- super(map);
1372
- }
1373
- static names() {
1374
- return {
1375
- headers: 'headers',
1376
- body: 'body',
1377
- };
1378
- }
1379
- static types() {
1380
- return {
1381
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1382
- body: GetRtcTokenResponseBody,
1383
- };
1384
- }
1385
- }
1386
- exports.GetRtcTokenResponse = GetRtcTokenResponse;
1387
- class GetTokenRequest extends $tea.Model {
1388
- constructor(map) {
1389
- super(map);
1390
- }
1391
- static names() {
1392
- return {
1393
- ownerId: 'OwnerId',
1394
- resourceOwnerAccount: 'ResourceOwnerAccount',
1395
- resourceOwnerId: 'ResourceOwnerId',
1396
- tokenType: 'TokenType',
1397
- };
1398
- }
1399
- static types() {
1400
- return {
1401
- ownerId: 'number',
1402
- resourceOwnerAccount: 'string',
1403
- resourceOwnerId: 'number',
1404
- tokenType: 'string',
1405
- };
1406
- }
1407
- }
1408
- exports.GetTokenRequest = GetTokenRequest;
1409
- class GetTokenResponseBody extends $tea.Model {
1410
- constructor(map) {
1411
- super(map);
1412
- }
1413
- static names() {
1414
- return {
1415
- code: 'Code',
1416
- message: 'Message',
1417
- requestId: 'RequestId',
1418
- success: 'Success',
1419
- token: 'Token',
1420
- };
1421
- }
1422
- static types() {
1423
- return {
1424
- code: 'string',
1425
- message: 'string',
1426
- requestId: 'string',
1427
- success: 'boolean',
1428
- token: 'string',
1429
- };
1430
- }
1431
- }
1432
- exports.GetTokenResponseBody = GetTokenResponseBody;
1433
- class GetTokenResponse extends $tea.Model {
1434
- constructor(map) {
1435
- super(map);
1436
- }
1437
- static names() {
1438
- return {
1439
- headers: 'headers',
1440
- body: 'body',
1441
- };
1442
- }
1443
- static types() {
1444
- return {
1445
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1446
- body: GetTokenResponseBody,
1447
- };
1448
- }
1449
- }
1450
- exports.GetTokenResponse = GetTokenResponse;
1451
- class IvrCallRequest extends $tea.Model {
1452
- constructor(map) {
1453
- super(map);
1454
- }
1455
- static names() {
1456
- return {
1457
- byeCode: 'ByeCode',
1458
- byeTtsParams: 'ByeTtsParams',
1459
- calledNumber: 'CalledNumber',
1460
- calledShowNumber: 'CalledShowNumber',
1461
- menuKeyMap: 'MenuKeyMap',
1462
- outId: 'OutId',
1106
+ byeCode: 'ByeCode',
1107
+ byeTtsParams: 'ByeTtsParams',
1108
+ calledNumber: 'CalledNumber',
1109
+ calledShowNumber: 'CalledShowNumber',
1110
+ menuKeyMap: 'MenuKeyMap',
1111
+ outId: 'OutId',
1463
1112
  ownerId: 'OwnerId',
1464
1113
  playTimes: 'PlayTimes',
1465
1114
  resourceOwnerAccount: 'ResourceOwnerAccount',
@@ -1818,51 +1467,55 @@ class ListHotlineTransferRegisterFileResponse extends $tea.Model {
1818
1467
  }
1819
1468
  }
1820
1469
  exports.ListHotlineTransferRegisterFileResponse = ListHotlineTransferRegisterFileResponse;
1821
- class ListOrderedNumbersRequest extends $tea.Model {
1470
+ class QueryCallDetailByCallIdRequest extends $tea.Model {
1822
1471
  constructor(map) {
1823
1472
  super(map);
1824
1473
  }
1825
1474
  static names() {
1826
1475
  return {
1476
+ callId: 'CallId',
1827
1477
  ownerId: 'OwnerId',
1828
- prodCode: 'ProdCode',
1478
+ prodId: 'ProdId',
1479
+ queryDate: 'QueryDate',
1829
1480
  resourceOwnerAccount: 'ResourceOwnerAccount',
1830
1481
  resourceOwnerId: 'ResourceOwnerId',
1831
1482
  };
1832
1483
  }
1833
1484
  static types() {
1834
1485
  return {
1486
+ callId: 'string',
1835
1487
  ownerId: 'number',
1836
- prodCode: 'string',
1488
+ prodId: 'number',
1489
+ queryDate: 'number',
1837
1490
  resourceOwnerAccount: 'string',
1838
1491
  resourceOwnerId: 'number',
1839
1492
  };
1840
1493
  }
1841
1494
  }
1842
- exports.ListOrderedNumbersRequest = ListOrderedNumbersRequest;
1843
- class ListOrderedNumbersResponseBody extends $tea.Model {
1495
+ exports.QueryCallDetailByCallIdRequest = QueryCallDetailByCallIdRequest;
1496
+ class QueryCallDetailByCallIdResponseBody extends $tea.Model {
1844
1497
  constructor(map) {
1845
1498
  super(map);
1846
1499
  }
1847
1500
  static names() {
1848
1501
  return {
1849
1502
  code: 'Code',
1503
+ data: 'Data',
1850
1504
  message: 'Message',
1851
- numbers: 'Numbers',
1852
1505
  requestId: 'RequestId',
1853
1506
  };
1854
1507
  }
1855
1508
  static types() {
1856
1509
  return {
1857
1510
  code: 'string',
1511
+ data: 'string',
1858
1512
  message: 'string',
1859
- numbers: { 'type': 'array', 'itemType': 'string' },
1860
1513
  requestId: 'string',
1861
1514
  };
1862
1515
  }
1863
1516
  }
1864
- exports.ListOrderedNumbersResponseBody = ListOrderedNumbersResponseBody;
1865
- class ListOrderedNumbersResponse extends $tea.Model {
1517
+ exports.QueryCallDetailByCallIdResponseBody = QueryCallDetailByCallIdResponseBody;
1518
+ class QueryCallDetailByCallIdResponse extends $tea.Model {
1866
1519
  constructor(map) {
1867
1520
  super(map);
1868
1521
  }
@@ -1875,60 +1528,60 @@ class ListOrderedNumbersResponse extends $tea.Model {
1875
1528
  static types() {
1876
1529
  return {
1877
1530
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1878
- body: ListOrderedNumbersResponseBody,
1531
+ body: QueryCallDetailByCallIdResponseBody,
1879
1532
  };
1880
1533
  }
1881
1534
  }
1882
- exports.ListOrderedNumbersResponse = ListOrderedNumbersResponse;
1883
- class ListOutboundStrategiesRequest extends $tea.Model {
1535
+ exports.QueryCallDetailByCallIdResponse = QueryCallDetailByCallIdResponse;
1536
+ class QueryCallDetailByTaskIdRequest extends $tea.Model {
1884
1537
  constructor(map) {
1885
1538
  super(map);
1886
1539
  }
1887
1540
  static names() {
1888
1541
  return {
1889
- buId: 'BuId',
1890
- keyword: 'Keyword',
1542
+ callee: 'Callee',
1891
1543
  ownerId: 'OwnerId',
1892
- prodCode: 'ProdCode',
1544
+ queryDate: 'QueryDate',
1893
1545
  resourceOwnerAccount: 'ResourceOwnerAccount',
1894
1546
  resourceOwnerId: 'ResourceOwnerId',
1547
+ taskId: 'TaskId',
1895
1548
  };
1896
1549
  }
1897
1550
  static types() {
1898
1551
  return {
1899
- buId: 'number',
1900
- keyword: 'string',
1552
+ callee: 'string',
1901
1553
  ownerId: 'number',
1902
- prodCode: 'string',
1554
+ queryDate: 'number',
1903
1555
  resourceOwnerAccount: 'string',
1904
1556
  resourceOwnerId: 'number',
1557
+ taskId: 'string',
1905
1558
  };
1906
1559
  }
1907
1560
  }
1908
- exports.ListOutboundStrategiesRequest = ListOutboundStrategiesRequest;
1909
- class ListOutboundStrategiesResponseBody extends $tea.Model {
1561
+ exports.QueryCallDetailByTaskIdRequest = QueryCallDetailByTaskIdRequest;
1562
+ class QueryCallDetailByTaskIdResponseBody extends $tea.Model {
1910
1563
  constructor(map) {
1911
1564
  super(map);
1912
1565
  }
1913
1566
  static names() {
1914
1567
  return {
1915
1568
  code: 'Code',
1569
+ data: 'Data',
1916
1570
  message: 'Message',
1917
- outboundStrategies: 'OutboundStrategies',
1918
1571
  requestId: 'RequestId',
1919
1572
  };
1920
1573
  }
1921
1574
  static types() {
1922
1575
  return {
1923
1576
  code: 'string',
1577
+ data: 'string',
1924
1578
  message: 'string',
1925
- outboundStrategies: { 'type': 'array', 'itemType': ListOutboundStrategiesResponseBodyOutboundStrategies },
1926
1579
  requestId: 'string',
1927
1580
  };
1928
1581
  }
1929
1582
  }
1930
- exports.ListOutboundStrategiesResponseBody = ListOutboundStrategiesResponseBody;
1931
- class ListOutboundStrategiesResponse extends $tea.Model {
1583
+ exports.QueryCallDetailByTaskIdResponseBody = QueryCallDetailByTaskIdResponseBody;
1584
+ class QueryCallDetailByTaskIdResponse extends $tea.Model {
1932
1585
  constructor(map) {
1933
1586
  super(map);
1934
1587
  }
@@ -1941,252 +1594,34 @@ class ListOutboundStrategiesResponse extends $tea.Model {
1941
1594
  static types() {
1942
1595
  return {
1943
1596
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1944
- body: ListOutboundStrategiesResponseBody,
1597
+ body: QueryCallDetailByTaskIdResponseBody,
1945
1598
  };
1946
1599
  }
1947
1600
  }
1948
- exports.ListOutboundStrategiesResponse = ListOutboundStrategiesResponse;
1949
- class ListRobotTaskCallsRequest extends $tea.Model {
1601
+ exports.QueryCallDetailByTaskIdResponse = QueryCallDetailByTaskIdResponse;
1602
+ class QueryCallInPoolTransferConfigRequest extends $tea.Model {
1950
1603
  constructor(map) {
1951
1604
  super(map);
1952
1605
  }
1953
1606
  static names() {
1954
1607
  return {
1955
- callResult: 'CallResult',
1956
- called: 'Called',
1957
- dialogCountFrom: 'DialogCountFrom',
1958
- dialogCountTo: 'DialogCountTo',
1959
- durationFrom: 'DurationFrom',
1960
- durationTo: 'DurationTo',
1961
- hangupDirection: 'HangupDirection',
1962
1608
  ownerId: 'OwnerId',
1963
- pageNo: 'PageNo',
1964
- pageSize: 'PageSize',
1609
+ phoneNumber: 'PhoneNumber',
1965
1610
  resourceOwnerAccount: 'ResourceOwnerAccount',
1966
1611
  resourceOwnerId: 'ResourceOwnerId',
1967
- taskId: 'TaskId',
1968
1612
  };
1969
1613
  }
1970
1614
  static types() {
1971
1615
  return {
1972
- callResult: 'string',
1973
- called: 'string',
1974
- dialogCountFrom: 'string',
1975
- dialogCountTo: 'string',
1976
- durationFrom: 'string',
1977
- durationTo: 'string',
1978
- hangupDirection: 'string',
1979
1616
  ownerId: 'number',
1980
- pageNo: 'number',
1981
- pageSize: 'number',
1617
+ phoneNumber: 'string',
1982
1618
  resourceOwnerAccount: 'string',
1983
1619
  resourceOwnerId: 'number',
1984
- taskId: 'string',
1985
1620
  };
1986
1621
  }
1987
1622
  }
1988
- exports.ListRobotTaskCallsRequest = ListRobotTaskCallsRequest;
1989
- class ListRobotTaskCallsResponseBody extends $tea.Model {
1990
- constructor(map) {
1991
- super(map);
1992
- }
1993
- static names() {
1994
- return {
1995
- code: 'Code',
1996
- data: 'Data',
1997
- message: 'Message',
1998
- pageNo: 'PageNo',
1999
- pageSize: 'PageSize',
2000
- requestId: 'RequestId',
2001
- totalCount: 'TotalCount',
2002
- };
2003
- }
2004
- static types() {
2005
- return {
2006
- code: 'string',
2007
- data: 'string',
2008
- message: 'string',
2009
- pageNo: 'string',
2010
- pageSize: 'string',
2011
- requestId: 'string',
2012
- totalCount: 'string',
2013
- };
2014
- }
2015
- }
2016
- exports.ListRobotTaskCallsResponseBody = ListRobotTaskCallsResponseBody;
2017
- class ListRobotTaskCallsResponse extends $tea.Model {
2018
- constructor(map) {
2019
- super(map);
2020
- }
2021
- static names() {
2022
- return {
2023
- headers: 'headers',
2024
- body: 'body',
2025
- };
2026
- }
2027
- static types() {
2028
- return {
2029
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2030
- body: ListRobotTaskCallsResponseBody,
2031
- };
2032
- }
2033
- }
2034
- exports.ListRobotTaskCallsResponse = ListRobotTaskCallsResponse;
2035
- class QueryCallDetailByCallIdRequest extends $tea.Model {
2036
- constructor(map) {
2037
- super(map);
2038
- }
2039
- static names() {
2040
- return {
2041
- callId: 'CallId',
2042
- ownerId: 'OwnerId',
2043
- prodId: 'ProdId',
2044
- queryDate: 'QueryDate',
2045
- resourceOwnerAccount: 'ResourceOwnerAccount',
2046
- resourceOwnerId: 'ResourceOwnerId',
2047
- };
2048
- }
2049
- static types() {
2050
- return {
2051
- callId: 'string',
2052
- ownerId: 'number',
2053
- prodId: 'number',
2054
- queryDate: 'number',
2055
- resourceOwnerAccount: 'string',
2056
- resourceOwnerId: 'number',
2057
- };
2058
- }
2059
- }
2060
- exports.QueryCallDetailByCallIdRequest = QueryCallDetailByCallIdRequest;
2061
- class QueryCallDetailByCallIdResponseBody extends $tea.Model {
2062
- constructor(map) {
2063
- super(map);
2064
- }
2065
- static names() {
2066
- return {
2067
- code: 'Code',
2068
- data: 'Data',
2069
- message: 'Message',
2070
- requestId: 'RequestId',
2071
- };
2072
- }
2073
- static types() {
2074
- return {
2075
- code: 'string',
2076
- data: 'string',
2077
- message: 'string',
2078
- requestId: 'string',
2079
- };
2080
- }
2081
- }
2082
- exports.QueryCallDetailByCallIdResponseBody = QueryCallDetailByCallIdResponseBody;
2083
- class QueryCallDetailByCallIdResponse extends $tea.Model {
2084
- constructor(map) {
2085
- super(map);
2086
- }
2087
- static names() {
2088
- return {
2089
- headers: 'headers',
2090
- body: 'body',
2091
- };
2092
- }
2093
- static types() {
2094
- return {
2095
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2096
- body: QueryCallDetailByCallIdResponseBody,
2097
- };
2098
- }
2099
- }
2100
- exports.QueryCallDetailByCallIdResponse = QueryCallDetailByCallIdResponse;
2101
- class QueryCallDetailByTaskIdRequest extends $tea.Model {
2102
- constructor(map) {
2103
- super(map);
2104
- }
2105
- static names() {
2106
- return {
2107
- callee: 'Callee',
2108
- ownerId: 'OwnerId',
2109
- queryDate: 'QueryDate',
2110
- resourceOwnerAccount: 'ResourceOwnerAccount',
2111
- resourceOwnerId: 'ResourceOwnerId',
2112
- taskId: 'TaskId',
2113
- };
2114
- }
2115
- static types() {
2116
- return {
2117
- callee: 'string',
2118
- ownerId: 'number',
2119
- queryDate: 'number',
2120
- resourceOwnerAccount: 'string',
2121
- resourceOwnerId: 'number',
2122
- taskId: 'string',
2123
- };
2124
- }
2125
- }
2126
- exports.QueryCallDetailByTaskIdRequest = QueryCallDetailByTaskIdRequest;
2127
- class QueryCallDetailByTaskIdResponseBody extends $tea.Model {
2128
- constructor(map) {
2129
- super(map);
2130
- }
2131
- static names() {
2132
- return {
2133
- code: 'Code',
2134
- data: 'Data',
2135
- message: 'Message',
2136
- requestId: 'RequestId',
2137
- };
2138
- }
2139
- static types() {
2140
- return {
2141
- code: 'string',
2142
- data: 'string',
2143
- message: 'string',
2144
- requestId: 'string',
2145
- };
2146
- }
2147
- }
2148
- exports.QueryCallDetailByTaskIdResponseBody = QueryCallDetailByTaskIdResponseBody;
2149
- class QueryCallDetailByTaskIdResponse extends $tea.Model {
2150
- constructor(map) {
2151
- super(map);
2152
- }
2153
- static names() {
2154
- return {
2155
- headers: 'headers',
2156
- body: 'body',
2157
- };
2158
- }
2159
- static types() {
2160
- return {
2161
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2162
- body: QueryCallDetailByTaskIdResponseBody,
2163
- };
2164
- }
2165
- }
2166
- exports.QueryCallDetailByTaskIdResponse = QueryCallDetailByTaskIdResponse;
2167
- class QueryCallInPoolTransferConfigRequest extends $tea.Model {
2168
- constructor(map) {
2169
- super(map);
2170
- }
2171
- static names() {
2172
- return {
2173
- ownerId: 'OwnerId',
2174
- phoneNumber: 'PhoneNumber',
2175
- resourceOwnerAccount: 'ResourceOwnerAccount',
2176
- resourceOwnerId: 'ResourceOwnerId',
2177
- };
2178
- }
2179
- static types() {
2180
- return {
2181
- ownerId: 'number',
2182
- phoneNumber: 'string',
2183
- resourceOwnerAccount: 'string',
2184
- resourceOwnerId: 'number',
2185
- };
2186
- }
2187
- }
2188
- exports.QueryCallInPoolTransferConfigRequest = QueryCallInPoolTransferConfigRequest;
2189
- class QueryCallInPoolTransferConfigResponseBody extends $tea.Model {
1623
+ exports.QueryCallInPoolTransferConfigRequest = QueryCallInPoolTransferConfigRequest;
1624
+ class QueryCallInPoolTransferConfigResponseBody extends $tea.Model {
2190
1625
  constructor(map) {
2191
1626
  super(map);
2192
1627
  }
@@ -2702,68 +2137,6 @@ class QueryRobotv2AllListResponse extends $tea.Model {
2702
2137
  }
2703
2138
  }
2704
2139
  exports.QueryRobotv2AllListResponse = QueryRobotv2AllListResponse;
2705
- class QueryRtcNumberAuthStatusRequest extends $tea.Model {
2706
- constructor(map) {
2707
- super(map);
2708
- }
2709
- static names() {
2710
- return {
2711
- ownerId: 'OwnerId',
2712
- phoneNumber: 'PhoneNumber',
2713
- resourceOwnerAccount: 'ResourceOwnerAccount',
2714
- resourceOwnerId: 'ResourceOwnerId',
2715
- };
2716
- }
2717
- static types() {
2718
- return {
2719
- ownerId: 'number',
2720
- phoneNumber: 'string',
2721
- resourceOwnerAccount: 'string',
2722
- resourceOwnerId: 'number',
2723
- };
2724
- }
2725
- }
2726
- exports.QueryRtcNumberAuthStatusRequest = QueryRtcNumberAuthStatusRequest;
2727
- class QueryRtcNumberAuthStatusResponseBody extends $tea.Model {
2728
- constructor(map) {
2729
- super(map);
2730
- }
2731
- static names() {
2732
- return {
2733
- code: 'Code',
2734
- message: 'Message',
2735
- module: 'Module',
2736
- requestId: 'RequestId',
2737
- };
2738
- }
2739
- static types() {
2740
- return {
2741
- code: 'string',
2742
- message: 'string',
2743
- module: 'string',
2744
- requestId: 'string',
2745
- };
2746
- }
2747
- }
2748
- exports.QueryRtcNumberAuthStatusResponseBody = QueryRtcNumberAuthStatusResponseBody;
2749
- class QueryRtcNumberAuthStatusResponse extends $tea.Model {
2750
- constructor(map) {
2751
- super(map);
2752
- }
2753
- static names() {
2754
- return {
2755
- headers: 'headers',
2756
- body: 'body',
2757
- };
2758
- }
2759
- static types() {
2760
- return {
2761
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2762
- body: QueryRtcNumberAuthStatusResponseBody,
2763
- };
2764
- }
2765
- }
2766
- exports.QueryRtcNumberAuthStatusResponse = QueryRtcNumberAuthStatusResponse;
2767
2140
  class QueryVirtualNumberRequest extends $tea.Model {
2768
2141
  constructor(map) {
2769
2142
  super(map);
@@ -2906,53 +2279,51 @@ class QueryVirtualNumberRelationResponse extends $tea.Model {
2906
2279
  }
2907
2280
  }
2908
2281
  exports.QueryVirtualNumberRelationResponse = QueryVirtualNumberRelationResponse;
2909
- class QueryVoipNumberBindInfosRequest extends $tea.Model {
2282
+ class RefreshMqttTokenRequest extends $tea.Model {
2910
2283
  constructor(map) {
2911
2284
  super(map);
2912
2285
  }
2913
2286
  static names() {
2914
2287
  return {
2288
+ clientId: 'ClientId',
2915
2289
  ownerId: 'OwnerId',
2916
- phoneNumber: 'PhoneNumber',
2917
2290
  resourceOwnerAccount: 'ResourceOwnerAccount',
2918
2291
  resourceOwnerId: 'ResourceOwnerId',
2919
- voipId: 'VoipId',
2920
2292
  };
2921
2293
  }
2922
2294
  static types() {
2923
2295
  return {
2296
+ clientId: 'string',
2924
2297
  ownerId: 'number',
2925
- phoneNumber: 'string',
2926
2298
  resourceOwnerAccount: 'string',
2927
2299
  resourceOwnerId: 'number',
2928
- voipId: 'string',
2929
2300
  };
2930
2301
  }
2931
2302
  }
2932
- exports.QueryVoipNumberBindInfosRequest = QueryVoipNumberBindInfosRequest;
2933
- class QueryVoipNumberBindInfosResponseBody extends $tea.Model {
2303
+ exports.RefreshMqttTokenRequest = RefreshMqttTokenRequest;
2304
+ class RefreshMqttTokenResponseBody extends $tea.Model {
2934
2305
  constructor(map) {
2935
2306
  super(map);
2936
2307
  }
2937
2308
  static names() {
2938
2309
  return {
2939
2310
  code: 'Code',
2311
+ data: 'Data',
2940
2312
  message: 'Message',
2941
- module: 'Module',
2942
2313
  requestId: 'RequestId',
2943
2314
  };
2944
2315
  }
2945
2316
  static types() {
2946
2317
  return {
2947
2318
  code: 'string',
2319
+ data: RefreshMqttTokenResponseBodyData,
2948
2320
  message: 'string',
2949
- module: 'string',
2950
2321
  requestId: 'string',
2951
2322
  };
2952
2323
  }
2953
2324
  }
2954
- exports.QueryVoipNumberBindInfosResponseBody = QueryVoipNumberBindInfosResponseBody;
2955
- class QueryVoipNumberBindInfosResponse extends $tea.Model {
2325
+ exports.RefreshMqttTokenResponseBody = RefreshMqttTokenResponseBody;
2326
+ class RefreshMqttTokenResponse extends $tea.Model {
2956
2327
  constructor(map) {
2957
2328
  super(map);
2958
2329
  }
@@ -2965,79 +2336,11 @@ class QueryVoipNumberBindInfosResponse extends $tea.Model {
2965
2336
  static types() {
2966
2337
  return {
2967
2338
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2968
- body: QueryVoipNumberBindInfosResponseBody,
2339
+ body: RefreshMqttTokenResponseBody,
2969
2340
  };
2970
2341
  }
2971
2342
  }
2972
- exports.QueryVoipNumberBindInfosResponse = QueryVoipNumberBindInfosResponse;
2973
- class ReportVoipProblemsRequest extends $tea.Model {
2974
- constructor(map) {
2975
- super(map);
2976
- }
2977
- static names() {
2978
- return {
2979
- channelId: 'ChannelId',
2980
- desc: 'Desc',
2981
- ownerId: 'OwnerId',
2982
- resourceOwnerAccount: 'ResourceOwnerAccount',
2983
- resourceOwnerId: 'ResourceOwnerId',
2984
- title: 'Title',
2985
- voipId: 'VoipId',
2986
- };
2987
- }
2988
- static types() {
2989
- return {
2990
- channelId: 'string',
2991
- desc: 'string',
2992
- ownerId: 'number',
2993
- resourceOwnerAccount: 'string',
2994
- resourceOwnerId: 'number',
2995
- title: 'string',
2996
- voipId: 'string',
2997
- };
2998
- }
2999
- }
3000
- exports.ReportVoipProblemsRequest = ReportVoipProblemsRequest;
3001
- class ReportVoipProblemsResponseBody extends $tea.Model {
3002
- constructor(map) {
3003
- super(map);
3004
- }
3005
- static names() {
3006
- return {
3007
- code: 'Code',
3008
- message: 'Message',
3009
- module: 'Module',
3010
- requestId: 'RequestId',
3011
- };
3012
- }
3013
- static types() {
3014
- return {
3015
- code: 'string',
3016
- message: 'string',
3017
- module: 'string',
3018
- requestId: 'string',
3019
- };
3020
- }
3021
- }
3022
- exports.ReportVoipProblemsResponseBody = ReportVoipProblemsResponseBody;
3023
- class ReportVoipProblemsResponse extends $tea.Model {
3024
- constructor(map) {
3025
- super(map);
3026
- }
3027
- static names() {
3028
- return {
3029
- headers: 'headers',
3030
- body: 'body',
3031
- };
3032
- }
3033
- static types() {
3034
- return {
3035
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3036
- body: ReportVoipProblemsResponseBody,
3037
- };
3038
- }
3039
- }
3040
- exports.ReportVoipProblemsResponse = ReportVoipProblemsResponse;
2343
+ exports.RefreshMqttTokenResponse = RefreshMqttTokenResponse;
3041
2344
  class SendVerificationRequest extends $tea.Model {
3042
2345
  constructor(map) {
3043
2346
  super(map);
@@ -3500,86 +2803,6 @@ class SmartCallOperateResponse extends $tea.Model {
3500
2803
  }
3501
2804
  }
3502
2805
  exports.SmartCallOperateResponse = SmartCallOperateResponse;
3503
- class StartMicroOutboundRequest extends $tea.Model {
3504
- constructor(map) {
3505
- super(map);
3506
- }
3507
- static names() {
3508
- return {
3509
- accountId: 'AccountId',
3510
- accountType: 'AccountType',
3511
- appName: 'AppName',
3512
- calledNumber: 'CalledNumber',
3513
- callingNumber: 'CallingNumber',
3514
- commandCode: 'CommandCode',
3515
- extInfo: 'ExtInfo',
3516
- ownerId: 'OwnerId',
3517
- prodCode: 'ProdCode',
3518
- resourceOwnerAccount: 'ResourceOwnerAccount',
3519
- resourceOwnerId: 'ResourceOwnerId',
3520
- };
3521
- }
3522
- static types() {
3523
- return {
3524
- accountId: 'string',
3525
- accountType: 'string',
3526
- appName: 'string',
3527
- calledNumber: 'string',
3528
- callingNumber: 'string',
3529
- commandCode: 'string',
3530
- extInfo: 'string',
3531
- ownerId: 'number',
3532
- prodCode: 'string',
3533
- resourceOwnerAccount: 'string',
3534
- resourceOwnerId: 'number',
3535
- };
3536
- }
3537
- }
3538
- exports.StartMicroOutboundRequest = StartMicroOutboundRequest;
3539
- class StartMicroOutboundResponseBody extends $tea.Model {
3540
- constructor(map) {
3541
- super(map);
3542
- }
3543
- static names() {
3544
- return {
3545
- code: 'Code',
3546
- customerInfo: 'CustomerInfo',
3547
- invokeCmdId: 'InvokeCmdId',
3548
- invokeCreateTime: 'InvokeCreateTime',
3549
- message: 'Message',
3550
- requestId: 'RequestId',
3551
- };
3552
- }
3553
- static types() {
3554
- return {
3555
- code: 'string',
3556
- customerInfo: 'string',
3557
- invokeCmdId: 'string',
3558
- invokeCreateTime: 'string',
3559
- message: 'string',
3560
- requestId: 'string',
3561
- };
3562
- }
3563
- }
3564
- exports.StartMicroOutboundResponseBody = StartMicroOutboundResponseBody;
3565
- class StartMicroOutboundResponse extends $tea.Model {
3566
- constructor(map) {
3567
- super(map);
3568
- }
3569
- static names() {
3570
- return {
3571
- headers: 'headers',
3572
- body: 'body',
3573
- };
3574
- }
3575
- static types() {
3576
- return {
3577
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3578
- body: StartMicroOutboundResponseBody,
3579
- };
3580
- }
3581
- }
3582
- exports.StartMicroOutboundResponse = StartMicroOutboundResponse;
3583
2806
  class StartRobotTaskRequest extends $tea.Model {
3584
2807
  constructor(map) {
3585
2808
  super(map);
@@ -3729,302 +2952,46 @@ class SubmitHotlineTransferRegisterRequest extends $tea.Model {
3729
2952
  }
3730
2953
  static types() {
3731
2954
  return {
3732
- agreement: 'string',
3733
- hotlineNumber: 'string',
3734
- operatorIdentityCard: 'string',
3735
- operatorMail: 'string',
3736
- operatorMailVerifyCode: 'string',
3737
- operatorMobile: 'string',
3738
- operatorMobileVerifyCode: 'string',
3739
- operatorName: 'string',
3740
- ownerId: 'number',
3741
- qualificationId: 'string',
3742
- resourceOwnerAccount: 'string',
3743
- resourceOwnerId: 'number',
3744
- transferPhoneNumberInfos: { 'type': 'array', 'itemType': SubmitHotlineTransferRegisterRequestTransferPhoneNumberInfos },
3745
- };
3746
- }
3747
- }
3748
- exports.SubmitHotlineTransferRegisterRequest = SubmitHotlineTransferRegisterRequest;
3749
- class SubmitHotlineTransferRegisterResponseBody extends $tea.Model {
3750
- constructor(map) {
3751
- super(map);
3752
- }
3753
- static names() {
3754
- return {
3755
- code: 'Code',
3756
- data: 'Data',
3757
- message: 'Message',
3758
- requestId: 'RequestId',
3759
- };
3760
- }
3761
- static types() {
3762
- return {
3763
- code: 'string',
3764
- data: 'number',
3765
- message: 'string',
3766
- requestId: 'string',
3767
- };
3768
- }
3769
- }
3770
- exports.SubmitHotlineTransferRegisterResponseBody = SubmitHotlineTransferRegisterResponseBody;
3771
- class SubmitHotlineTransferRegisterResponse extends $tea.Model {
3772
- constructor(map) {
3773
- super(map);
3774
- }
3775
- static names() {
3776
- return {
3777
- headers: 'headers',
3778
- body: 'body',
3779
- };
3780
- }
3781
- static types() {
3782
- return {
3783
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3784
- body: SubmitHotlineTransferRegisterResponseBody,
3785
- };
3786
- }
3787
- }
3788
- exports.SubmitHotlineTransferRegisterResponse = SubmitHotlineTransferRegisterResponse;
3789
- class UnbindNumberAndVoipIdRequest extends $tea.Model {
3790
- constructor(map) {
3791
- super(map);
3792
- }
3793
- static names() {
3794
- return {
3795
- ownerId: 'OwnerId',
3796
- phoneNumber: 'PhoneNumber',
3797
- resourceOwnerAccount: 'ResourceOwnerAccount',
3798
- resourceOwnerId: 'ResourceOwnerId',
3799
- voipId: 'VoipId',
3800
- };
3801
- }
3802
- static types() {
3803
- return {
3804
- ownerId: 'number',
3805
- phoneNumber: 'string',
3806
- resourceOwnerAccount: 'string',
3807
- resourceOwnerId: 'number',
3808
- voipId: 'string',
3809
- };
3810
- }
3811
- }
3812
- exports.UnbindNumberAndVoipIdRequest = UnbindNumberAndVoipIdRequest;
3813
- class UnbindNumberAndVoipIdResponseBody extends $tea.Model {
3814
- constructor(map) {
3815
- super(map);
3816
- }
3817
- static names() {
3818
- return {
3819
- code: 'Code',
3820
- message: 'Message',
3821
- module: 'Module',
3822
- requestId: 'RequestId',
3823
- };
3824
- }
3825
- static types() {
3826
- return {
3827
- code: 'string',
3828
- message: 'string',
3829
- module: 'string',
3830
- requestId: 'string',
3831
- };
3832
- }
3833
- }
3834
- exports.UnbindNumberAndVoipIdResponseBody = UnbindNumberAndVoipIdResponseBody;
3835
- class UnbindNumberAndVoipIdResponse extends $tea.Model {
3836
- constructor(map) {
3837
- super(map);
3838
- }
3839
- static names() {
3840
- return {
3841
- headers: 'headers',
3842
- body: 'body',
3843
- };
3844
- }
3845
- static types() {
3846
- return {
3847
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3848
- body: UnbindNumberAndVoipIdResponseBody,
3849
- };
3850
- }
3851
- }
3852
- exports.UnbindNumberAndVoipIdResponse = UnbindNumberAndVoipIdResponse;
3853
- class UndoRtcNumberAuthRequest extends $tea.Model {
3854
- constructor(map) {
3855
- super(map);
3856
- }
3857
- static names() {
3858
- return {
3859
- ownerId: 'OwnerId',
3860
- phoneNumber: 'PhoneNumber',
3861
- resourceOwnerAccount: 'ResourceOwnerAccount',
3862
- resourceOwnerId: 'ResourceOwnerId',
3863
- };
3864
- }
3865
- static types() {
3866
- return {
3867
- ownerId: 'number',
3868
- phoneNumber: 'string',
3869
- resourceOwnerAccount: 'string',
3870
- resourceOwnerId: 'number',
3871
- };
3872
- }
3873
- }
3874
- exports.UndoRtcNumberAuthRequest = UndoRtcNumberAuthRequest;
3875
- class UndoRtcNumberAuthResponseBody extends $tea.Model {
3876
- constructor(map) {
3877
- super(map);
3878
- }
3879
- static names() {
3880
- return {
3881
- code: 'Code',
3882
- message: 'Message',
3883
- module: 'Module',
3884
- requestId: 'RequestId',
3885
- };
3886
- }
3887
- static types() {
3888
- return {
3889
- code: 'string',
3890
- message: 'string',
3891
- module: 'string',
3892
- requestId: 'string',
3893
- };
3894
- }
3895
- }
3896
- exports.UndoRtcNumberAuthResponseBody = UndoRtcNumberAuthResponseBody;
3897
- class UndoRtcNumberAuthResponse extends $tea.Model {
3898
- constructor(map) {
3899
- super(map);
3900
- }
3901
- static names() {
3902
- return {
3903
- headers: 'headers',
3904
- body: 'body',
3905
- };
3906
- }
3907
- static types() {
3908
- return {
3909
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3910
- body: UndoRtcNumberAuthResponseBody,
3911
- };
3912
- }
3913
- }
3914
- exports.UndoRtcNumberAuthResponse = UndoRtcNumberAuthResponse;
3915
- class UploadRobotTaskCalledFileRequest extends $tea.Model {
3916
- constructor(map) {
3917
- super(map);
3918
- }
3919
- static names() {
3920
- return {
3921
- calledNumber: 'CalledNumber',
3922
- id: 'Id',
3923
- ownerId: 'OwnerId',
3924
- resourceOwnerAccount: 'ResourceOwnerAccount',
3925
- resourceOwnerId: 'ResourceOwnerId',
3926
- ttsParam: 'TtsParam',
3927
- ttsParamHead: 'TtsParamHead',
3928
- };
3929
- }
3930
- static types() {
3931
- return {
3932
- calledNumber: 'string',
3933
- id: 'number',
3934
- ownerId: 'number',
3935
- resourceOwnerAccount: 'string',
3936
- resourceOwnerId: 'number',
3937
- ttsParam: 'string',
3938
- ttsParamHead: 'string',
3939
- };
3940
- }
3941
- }
3942
- exports.UploadRobotTaskCalledFileRequest = UploadRobotTaskCalledFileRequest;
3943
- class UploadRobotTaskCalledFileResponseBody extends $tea.Model {
3944
- constructor(map) {
3945
- super(map);
3946
- }
3947
- static names() {
3948
- return {
3949
- code: 'Code',
3950
- data: 'Data',
3951
- message: 'Message',
3952
- requestId: 'RequestId',
3953
- };
3954
- }
3955
- static types() {
3956
- return {
3957
- code: 'string',
3958
- data: 'string',
3959
- message: 'string',
3960
- requestId: 'string',
3961
- };
3962
- }
3963
- }
3964
- exports.UploadRobotTaskCalledFileResponseBody = UploadRobotTaskCalledFileResponseBody;
3965
- class UploadRobotTaskCalledFileResponse extends $tea.Model {
3966
- constructor(map) {
3967
- super(map);
3968
- }
3969
- static names() {
3970
- return {
3971
- headers: 'headers',
3972
- body: 'body',
3973
- };
3974
- }
3975
- static types() {
3976
- return {
3977
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3978
- body: UploadRobotTaskCalledFileResponseBody,
3979
- };
3980
- }
3981
- }
3982
- exports.UploadRobotTaskCalledFileResponse = UploadRobotTaskCalledFileResponse;
3983
- class VoipAddAccountRequest extends $tea.Model {
3984
- constructor(map) {
3985
- super(map);
3986
- }
3987
- static names() {
3988
- return {
3989
- deviceId: 'DeviceId',
3990
- ownerId: 'OwnerId',
3991
- resourceOwnerAccount: 'ResourceOwnerAccount',
3992
- resourceOwnerId: 'ResourceOwnerId',
3993
- };
3994
- }
3995
- static types() {
3996
- return {
3997
- deviceId: 'string',
2955
+ agreement: 'string',
2956
+ hotlineNumber: 'string',
2957
+ operatorIdentityCard: 'string',
2958
+ operatorMail: 'string',
2959
+ operatorMailVerifyCode: 'string',
2960
+ operatorMobile: 'string',
2961
+ operatorMobileVerifyCode: 'string',
2962
+ operatorName: 'string',
3998
2963
  ownerId: 'number',
2964
+ qualificationId: 'string',
3999
2965
  resourceOwnerAccount: 'string',
4000
2966
  resourceOwnerId: 'number',
2967
+ transferPhoneNumberInfos: { 'type': 'array', 'itemType': SubmitHotlineTransferRegisterRequestTransferPhoneNumberInfos },
4001
2968
  };
4002
2969
  }
4003
2970
  }
4004
- exports.VoipAddAccountRequest = VoipAddAccountRequest;
4005
- class VoipAddAccountResponseBody extends $tea.Model {
2971
+ exports.SubmitHotlineTransferRegisterRequest = SubmitHotlineTransferRegisterRequest;
2972
+ class SubmitHotlineTransferRegisterResponseBody extends $tea.Model {
4006
2973
  constructor(map) {
4007
2974
  super(map);
4008
2975
  }
4009
2976
  static names() {
4010
2977
  return {
4011
2978
  code: 'Code',
2979
+ data: 'Data',
4012
2980
  message: 'Message',
4013
- module: 'Module',
4014
2981
  requestId: 'RequestId',
4015
2982
  };
4016
2983
  }
4017
2984
  static types() {
4018
2985
  return {
4019
2986
  code: 'string',
2987
+ data: 'number',
4020
2988
  message: 'string',
4021
- module: 'string',
4022
2989
  requestId: 'string',
4023
2990
  };
4024
2991
  }
4025
2992
  }
4026
- exports.VoipAddAccountResponseBody = VoipAddAccountResponseBody;
4027
- class VoipAddAccountResponse extends $tea.Model {
2993
+ exports.SubmitHotlineTransferRegisterResponseBody = SubmitHotlineTransferRegisterResponseBody;
2994
+ class SubmitHotlineTransferRegisterResponse extends $tea.Model {
4028
2995
  constructor(map) {
4029
2996
  super(map);
4030
2997
  }
@@ -4037,60 +3004,62 @@ class VoipAddAccountResponse extends $tea.Model {
4037
3004
  static types() {
4038
3005
  return {
4039
3006
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4040
- body: VoipAddAccountResponseBody,
3007
+ body: SubmitHotlineTransferRegisterResponseBody,
4041
3008
  };
4042
3009
  }
4043
3010
  }
4044
- exports.VoipAddAccountResponse = VoipAddAccountResponse;
4045
- class VoipGetTokenRequest extends $tea.Model {
3011
+ exports.SubmitHotlineTransferRegisterResponse = SubmitHotlineTransferRegisterResponse;
3012
+ class UploadRobotTaskCalledFileRequest extends $tea.Model {
4046
3013
  constructor(map) {
4047
3014
  super(map);
4048
3015
  }
4049
3016
  static names() {
4050
3017
  return {
4051
- deviceId: 'DeviceId',
4052
- isCustomAccount: 'IsCustomAccount',
3018
+ calledNumber: 'CalledNumber',
3019
+ id: 'Id',
4053
3020
  ownerId: 'OwnerId',
4054
3021
  resourceOwnerAccount: 'ResourceOwnerAccount',
4055
3022
  resourceOwnerId: 'ResourceOwnerId',
4056
- voipId: 'VoipId',
3023
+ ttsParam: 'TtsParam',
3024
+ ttsParamHead: 'TtsParamHead',
4057
3025
  };
4058
3026
  }
4059
3027
  static types() {
4060
3028
  return {
4061
- deviceId: 'string',
4062
- isCustomAccount: 'boolean',
3029
+ calledNumber: 'string',
3030
+ id: 'number',
4063
3031
  ownerId: 'number',
4064
3032
  resourceOwnerAccount: 'string',
4065
3033
  resourceOwnerId: 'number',
4066
- voipId: 'string',
3034
+ ttsParam: 'string',
3035
+ ttsParamHead: 'string',
4067
3036
  };
4068
3037
  }
4069
3038
  }
4070
- exports.VoipGetTokenRequest = VoipGetTokenRequest;
4071
- class VoipGetTokenResponseBody extends $tea.Model {
3039
+ exports.UploadRobotTaskCalledFileRequest = UploadRobotTaskCalledFileRequest;
3040
+ class UploadRobotTaskCalledFileResponseBody extends $tea.Model {
4072
3041
  constructor(map) {
4073
3042
  super(map);
4074
3043
  }
4075
3044
  static names() {
4076
3045
  return {
4077
3046
  code: 'Code',
3047
+ data: 'Data',
4078
3048
  message: 'Message',
4079
- module: 'Module',
4080
3049
  requestId: 'RequestId',
4081
3050
  };
4082
3051
  }
4083
3052
  static types() {
4084
3053
  return {
4085
3054
  code: 'string',
3055
+ data: 'string',
4086
3056
  message: 'string',
4087
- module: 'string',
4088
3057
  requestId: 'string',
4089
3058
  };
4090
3059
  }
4091
3060
  }
4092
- exports.VoipGetTokenResponseBody = VoipGetTokenResponseBody;
4093
- class VoipGetTokenResponse extends $tea.Model {
3061
+ exports.UploadRobotTaskCalledFileResponseBody = UploadRobotTaskCalledFileResponseBody;
3062
+ class UploadRobotTaskCalledFileResponse extends $tea.Model {
4094
3063
  constructor(map) {
4095
3064
  super(map);
4096
3065
  }
@@ -4103,31 +3072,11 @@ class VoipGetTokenResponse extends $tea.Model {
4103
3072
  static types() {
4104
3073
  return {
4105
3074
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4106
- body: VoipGetTokenResponseBody,
4107
- };
4108
- }
4109
- }
4110
- exports.VoipGetTokenResponse = VoipGetTokenResponse;
4111
- class CreateSipAccountResponseBodyData extends $tea.Model {
4112
- constructor(map) {
4113
- super(map);
4114
- }
4115
- static names() {
4116
- return {
4117
- sipAccountID: 'SipAccountID',
4118
- voipName: 'VoipName',
4119
- voipPassword: 'VoipPassword',
4120
- };
4121
- }
4122
- static types() {
4123
- return {
4124
- sipAccountID: 'string',
4125
- voipName: 'string',
4126
- voipPassword: 'string',
3075
+ body: UploadRobotTaskCalledFileResponseBody,
4127
3076
  };
4128
3077
  }
4129
3078
  }
4130
- exports.CreateSipAccountResponseBodyData = CreateSipAccountResponseBodyData;
3079
+ exports.UploadRobotTaskCalledFileResponse = UploadRobotTaskCalledFileResponse;
4131
3080
  class GetCallInfoResponseBodyData extends $tea.Model {
4132
3081
  constructor(map) {
4133
3082
  super(map);
@@ -4166,6 +3115,36 @@ class GetHotlineQualificationByOrderResponseBodyData extends $tea.Model {
4166
3115
  }
4167
3116
  }
4168
3117
  exports.GetHotlineQualificationByOrderResponseBodyData = GetHotlineQualificationByOrderResponseBodyData;
3118
+ class GetMqttTokenResponseBodyData extends $tea.Model {
3119
+ constructor(map) {
3120
+ super(map);
3121
+ }
3122
+ static names() {
3123
+ return {
3124
+ clientId: 'ClientId',
3125
+ expireTime: 'ExpireTime',
3126
+ host: 'Host',
3127
+ instanceId: 'InstanceId',
3128
+ p2pTopic: 'P2pTopic',
3129
+ serverId: 'ServerId',
3130
+ token: 'Token',
3131
+ username: 'Username',
3132
+ };
3133
+ }
3134
+ static types() {
3135
+ return {
3136
+ clientId: 'string',
3137
+ expireTime: 'string',
3138
+ host: 'string',
3139
+ instanceId: 'string',
3140
+ p2pTopic: 'string',
3141
+ serverId: 'string',
3142
+ token: 'string',
3143
+ username: 'string',
3144
+ };
3145
+ }
3146
+ }
3147
+ exports.GetMqttTokenResponseBodyData = GetMqttTokenResponseBodyData;
4169
3148
  class IvrCallRequestMenuKeyMap extends $tea.Model {
4170
3149
  constructor(map) {
4171
3150
  super(map);
@@ -4356,64 +3335,6 @@ class ListHotlineTransferRegisterFileResponseBodyData extends $tea.Model {
4356
3335
  }
4357
3336
  }
4358
3337
  exports.ListHotlineTransferRegisterFileResponseBodyData = ListHotlineTransferRegisterFileResponseBodyData;
4359
- class ListOutboundStrategiesResponseBodyOutboundStrategies extends $tea.Model {
4360
- constructor(map) {
4361
- super(map);
4362
- }
4363
- static names() {
4364
- return {
4365
- buId: 'BuId',
4366
- creatorId: 'CreatorId',
4367
- creatorName: 'CreatorName',
4368
- departmentId: 'DepartmentId',
4369
- extAttr: 'ExtAttr',
4370
- gmtCreateStr: 'GmtCreateStr',
4371
- gmtModifiedStr: 'GmtModifiedStr',
4372
- id: 'Id',
4373
- modifierId: 'ModifierId',
4374
- modifierName: 'ModifierName',
4375
- numType: 'NumType',
4376
- outboundNum: 'OutboundNum',
4377
- process: 'Process',
4378
- resourceAllocation: 'ResourceAllocation',
4379
- robotId: 'RobotId',
4380
- robotName: 'RobotName',
4381
- robotType: 'RobotType',
4382
- ruleCode: 'RuleCode',
4383
- sceneName: 'SceneName',
4384
- status: 'Status',
4385
- successRate: 'SuccessRate',
4386
- name: 'name',
4387
- };
4388
- }
4389
- static types() {
4390
- return {
4391
- buId: 'number',
4392
- creatorId: 'number',
4393
- creatorName: 'string',
4394
- departmentId: 'number',
4395
- extAttr: 'string',
4396
- gmtCreateStr: 'string',
4397
- gmtModifiedStr: 'string',
4398
- id: 'number',
4399
- modifierId: 'number',
4400
- modifierName: 'string',
4401
- numType: 'number',
4402
- outboundNum: 'string',
4403
- process: 'number',
4404
- resourceAllocation: 'number',
4405
- robotId: 'string',
4406
- robotName: 'string',
4407
- robotType: 'number',
4408
- ruleCode: 'number',
4409
- sceneName: 'string',
4410
- status: 'number',
4411
- successRate: 'number',
4412
- name: 'string',
4413
- };
4414
- }
4415
- }
4416
- exports.ListOutboundStrategiesResponseBodyOutboundStrategies = ListOutboundStrategiesResponseBodyOutboundStrategies;
4417
3338
  class QueryCallInPoolTransferConfigResponseBodyDataDetails extends $tea.Model {
4418
3339
  constructor(map) {
4419
3340
  super(map);
@@ -4500,6 +3421,36 @@ class QueryCallInTransferRecordResponseBodyData extends $tea.Model {
4500
3421
  }
4501
3422
  }
4502
3423
  exports.QueryCallInTransferRecordResponseBodyData = QueryCallInTransferRecordResponseBodyData;
3424
+ class RefreshMqttTokenResponseBodyData extends $tea.Model {
3425
+ constructor(map) {
3426
+ super(map);
3427
+ }
3428
+ static names() {
3429
+ return {
3430
+ clientId: 'ClientId',
3431
+ expireTime: 'ExpireTime',
3432
+ host: 'Host',
3433
+ instanceId: 'InstanceId',
3434
+ p2pTopic: 'P2pTopic',
3435
+ serverId: 'ServerId',
3436
+ token: 'Token',
3437
+ username: 'Username',
3438
+ };
3439
+ }
3440
+ static types() {
3441
+ return {
3442
+ clientId: 'string',
3443
+ expireTime: 'string',
3444
+ host: 'string',
3445
+ instanceId: 'string',
3446
+ p2pTopic: 'string',
3447
+ serverId: 'string',
3448
+ token: 'string',
3449
+ username: 'string',
3450
+ };
3451
+ }
3452
+ }
3453
+ exports.RefreshMqttTokenResponseBodyData = RefreshMqttTokenResponseBodyData;
4503
3454
  class SetTransferCalleePoolConfigRequestDetails extends $tea.Model {
4504
3455
  constructor(map) {
4505
3456
  super(map);
@@ -4556,10 +3507,27 @@ class Client extends openapi_client_1.default {
4556
3507
  }
4557
3508
  async addRtcAccountWithOptions(request, runtime) {
4558
3509
  tea_util_1.default.validateModel(request);
3510
+ let query = {};
3511
+ query["DeviceId"] = request.deviceId;
3512
+ query["OwnerId"] = request.ownerId;
3513
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3514
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4559
3515
  let req = new $OpenApi.OpenApiRequest({
3516
+ query: openapi_util_1.default.query(query),
4560
3517
  body: tea_util_1.default.toMap(request),
4561
3518
  });
4562
- return $tea.cast(await this.doRPCRequest("AddRtcAccount", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new AddRtcAccountResponse({}));
3519
+ let params = new $OpenApi.Params({
3520
+ action: "AddRtcAccount",
3521
+ version: "2017-05-25",
3522
+ protocol: "HTTPS",
3523
+ pathname: "/",
3524
+ method: "POST",
3525
+ authType: "AK",
3526
+ style: "RPC",
3527
+ reqBodyType: "json",
3528
+ bodyType: "json",
3529
+ });
3530
+ return $tea.cast(await this.callApi(params, req, runtime), new AddRtcAccountResponse({}));
4563
3531
  }
4564
3532
  async addRtcAccount(request) {
4565
3533
  let runtime = new $Util.RuntimeOptions({});
@@ -4567,10 +3535,31 @@ class Client extends openapi_client_1.default {
4567
3535
  }
4568
3536
  async addVirtualNumberRelationWithOptions(request, runtime) {
4569
3537
  tea_util_1.default.validateModel(request);
3538
+ let query = {};
3539
+ query["CorpNameList"] = request.corpNameList;
3540
+ query["NumberList"] = request.numberList;
3541
+ query["OwnerId"] = request.ownerId;
3542
+ query["PhoneNum"] = request.phoneNum;
3543
+ query["ProdCode"] = request.prodCode;
3544
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3545
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3546
+ query["RouteType"] = request.routeType;
4570
3547
  let req = new $OpenApi.OpenApiRequest({
3548
+ query: openapi_util_1.default.query(query),
4571
3549
  body: tea_util_1.default.toMap(request),
4572
3550
  });
4573
- return $tea.cast(await this.doRPCRequest("AddVirtualNumberRelation", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new AddVirtualNumberRelationResponse({}));
3551
+ let params = new $OpenApi.Params({
3552
+ action: "AddVirtualNumberRelation",
3553
+ version: "2017-05-25",
3554
+ protocol: "HTTPS",
3555
+ pathname: "/",
3556
+ method: "POST",
3557
+ authType: "AK",
3558
+ style: "RPC",
3559
+ reqBodyType: "json",
3560
+ bodyType: "json",
3561
+ });
3562
+ return $tea.cast(await this.callApi(params, req, runtime), new AddVirtualNumberRelationResponse({}));
4574
3563
  }
4575
3564
  async addVirtualNumberRelation(request) {
4576
3565
  let runtime = new $Util.RuntimeOptions({});
@@ -4578,32 +3567,65 @@ class Client extends openapi_client_1.default {
4578
3567
  }
4579
3568
  async batchRobotSmartCallWithOptions(request, runtime) {
4580
3569
  tea_util_1.default.validateModel(request);
3570
+ let query = {};
3571
+ query["CalledNumber"] = request.calledNumber;
3572
+ query["CalledShowNumber"] = request.calledShowNumber;
3573
+ query["CorpName"] = request.corpName;
3574
+ query["DialogId"] = request.dialogId;
3575
+ query["EarlyMediaAsr"] = request.earlyMediaAsr;
3576
+ query["IsSelfLine"] = request.isSelfLine;
3577
+ query["OwnerId"] = request.ownerId;
3578
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3579
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3580
+ query["ScheduleCall"] = request.scheduleCall;
3581
+ query["ScheduleTime"] = request.scheduleTime;
3582
+ query["TaskName"] = request.taskName;
3583
+ query["TtsParam"] = request.ttsParam;
3584
+ query["TtsParamHead"] = request.ttsParamHead;
4581
3585
  let req = new $OpenApi.OpenApiRequest({
3586
+ query: openapi_util_1.default.query(query),
4582
3587
  body: tea_util_1.default.toMap(request),
4583
3588
  });
4584
- return $tea.cast(await this.doRPCRequest("BatchRobotSmartCall", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new BatchRobotSmartCallResponse({}));
3589
+ let params = new $OpenApi.Params({
3590
+ action: "BatchRobotSmartCall",
3591
+ version: "2017-05-25",
3592
+ protocol: "HTTPS",
3593
+ pathname: "/",
3594
+ method: "POST",
3595
+ authType: "AK",
3596
+ style: "RPC",
3597
+ reqBodyType: "json",
3598
+ bodyType: "json",
3599
+ });
3600
+ return $tea.cast(await this.callApi(params, req, runtime), new BatchRobotSmartCallResponse({}));
4585
3601
  }
4586
3602
  async batchRobotSmartCall(request) {
4587
3603
  let runtime = new $Util.RuntimeOptions({});
4588
3604
  return await this.batchRobotSmartCallWithOptions(request, runtime);
4589
3605
  }
4590
- async bindNumberAndVoipIdWithOptions(request, runtime) {
4591
- tea_util_1.default.validateModel(request);
4592
- let req = new $OpenApi.OpenApiRequest({
4593
- body: tea_util_1.default.toMap(request),
4594
- });
4595
- return $tea.cast(await this.doRPCRequest("BindNumberAndVoipId", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new BindNumberAndVoipIdResponse({}));
4596
- }
4597
- async bindNumberAndVoipId(request) {
4598
- let runtime = new $Util.RuntimeOptions({});
4599
- return await this.bindNumberAndVoipIdWithOptions(request, runtime);
4600
- }
4601
3606
  async cancelCallWithOptions(request, runtime) {
4602
3607
  tea_util_1.default.validateModel(request);
3608
+ let query = {};
3609
+ query["CallId"] = request.callId;
3610
+ query["OwnerId"] = request.ownerId;
3611
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3612
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4603
3613
  let req = new $OpenApi.OpenApiRequest({
3614
+ query: openapi_util_1.default.query(query),
4604
3615
  body: tea_util_1.default.toMap(request),
4605
3616
  });
4606
- return $tea.cast(await this.doRPCRequest("CancelCall", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new CancelCallResponse({}));
3617
+ let params = new $OpenApi.Params({
3618
+ action: "CancelCall",
3619
+ version: "2017-05-25",
3620
+ protocol: "HTTPS",
3621
+ pathname: "/",
3622
+ method: "POST",
3623
+ authType: "AK",
3624
+ style: "RPC",
3625
+ reqBodyType: "json",
3626
+ bodyType: "json",
3627
+ });
3628
+ return $tea.cast(await this.callApi(params, req, runtime), new CancelCallResponse({}));
4607
3629
  }
4608
3630
  async cancelCall(request) {
4609
3631
  let runtime = new $Util.RuntimeOptions({});
@@ -4611,10 +3633,27 @@ class Client extends openapi_client_1.default {
4611
3633
  }
4612
3634
  async cancelOrderRobotTaskWithOptions(request, runtime) {
4613
3635
  tea_util_1.default.validateModel(request);
3636
+ let query = {};
3637
+ query["OwnerId"] = request.ownerId;
3638
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3639
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3640
+ query["TaskId"] = request.taskId;
4614
3641
  let req = new $OpenApi.OpenApiRequest({
3642
+ query: openapi_util_1.default.query(query),
4615
3643
  body: tea_util_1.default.toMap(request),
4616
3644
  });
4617
- return $tea.cast(await this.doRPCRequest("CancelOrderRobotTask", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new CancelOrderRobotTaskResponse({}));
3645
+ let params = new $OpenApi.Params({
3646
+ action: "CancelOrderRobotTask",
3647
+ version: "2017-05-25",
3648
+ protocol: "HTTPS",
3649
+ pathname: "/",
3650
+ method: "POST",
3651
+ authType: "AK",
3652
+ style: "RPC",
3653
+ reqBodyType: "json",
3654
+ bodyType: "json",
3655
+ });
3656
+ return $tea.cast(await this.callApi(params, req, runtime), new CancelOrderRobotTaskResponse({}));
4618
3657
  }
4619
3658
  async cancelOrderRobotTask(request) {
4620
3659
  let runtime = new $Util.RuntimeOptions({});
@@ -4622,10 +3661,27 @@ class Client extends openapi_client_1.default {
4622
3661
  }
4623
3662
  async cancelRobotTaskWithOptions(request, runtime) {
4624
3663
  tea_util_1.default.validateModel(request);
3664
+ let query = {};
3665
+ query["OwnerId"] = request.ownerId;
3666
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3667
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3668
+ query["TaskId"] = request.taskId;
4625
3669
  let req = new $OpenApi.OpenApiRequest({
3670
+ query: openapi_util_1.default.query(query),
4626
3671
  body: tea_util_1.default.toMap(request),
4627
3672
  });
4628
- return $tea.cast(await this.doRPCRequest("CancelRobotTask", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new CancelRobotTaskResponse({}));
3673
+ let params = new $OpenApi.Params({
3674
+ action: "CancelRobotTask",
3675
+ version: "2017-05-25",
3676
+ protocol: "HTTPS",
3677
+ pathname: "/",
3678
+ method: "POST",
3679
+ authType: "AK",
3680
+ style: "RPC",
3681
+ reqBodyType: "json",
3682
+ bodyType: "json",
3683
+ });
3684
+ return $tea.cast(await this.callApi(params, req, runtime), new CancelRobotTaskResponse({}));
4629
3685
  }
4630
3686
  async cancelRobotTask(request) {
4631
3687
  let runtime = new $Util.RuntimeOptions({});
@@ -4633,32 +3689,73 @@ class Client extends openapi_client_1.default {
4633
3689
  }
4634
3690
  async clickToDialWithOptions(request, runtime) {
4635
3691
  tea_util_1.default.validateModel(request);
3692
+ let query = {};
3693
+ query["AsrFlag"] = request.asrFlag;
3694
+ query["AsrModelId"] = request.asrModelId;
3695
+ query["CalledNumber"] = request.calledNumber;
3696
+ query["CalledShowNumber"] = request.calledShowNumber;
3697
+ query["CallerNumber"] = request.callerNumber;
3698
+ query["CallerShowNumber"] = request.callerShowNumber;
3699
+ query["OutId"] = request.outId;
3700
+ query["OwnerId"] = request.ownerId;
3701
+ query["RecordFlag"] = request.recordFlag;
3702
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3703
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3704
+ query["SessionTimeout"] = request.sessionTimeout;
4636
3705
  let req = new $OpenApi.OpenApiRequest({
3706
+ query: openapi_util_1.default.query(query),
4637
3707
  body: tea_util_1.default.toMap(request),
4638
3708
  });
4639
- return $tea.cast(await this.doRPCRequest("ClickToDial", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new ClickToDialResponse({}));
3709
+ let params = new $OpenApi.Params({
3710
+ action: "ClickToDial",
3711
+ version: "2017-05-25",
3712
+ protocol: "HTTPS",
3713
+ pathname: "/",
3714
+ method: "POST",
3715
+ authType: "AK",
3716
+ style: "RPC",
3717
+ reqBodyType: "json",
3718
+ bodyType: "json",
3719
+ });
3720
+ return $tea.cast(await this.callApi(params, req, runtime), new ClickToDialResponse({}));
4640
3721
  }
4641
3722
  async clickToDial(request) {
4642
3723
  let runtime = new $Util.RuntimeOptions({});
4643
3724
  return await this.clickToDialWithOptions(request, runtime);
4644
3725
  }
4645
- async closeSipAccountWithOptions(request, runtime) {
4646
- tea_util_1.default.validateModel(request);
4647
- let req = new $OpenApi.OpenApiRequest({
4648
- body: tea_util_1.default.toMap(request),
4649
- });
4650
- return $tea.cast(await this.doRPCRequest("CloseSipAccount", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new CloseSipAccountResponse({}));
4651
- }
4652
- async closeSipAccount(request) {
4653
- let runtime = new $Util.RuntimeOptions({});
4654
- return await this.closeSipAccountWithOptions(request, runtime);
4655
- }
4656
3726
  async createCallTaskWithOptions(request, runtime) {
4657
3727
  tea_util_1.default.validateModel(request);
3728
+ let query = {};
3729
+ query["BizType"] = request.bizType;
3730
+ query["Data"] = request.data;
3731
+ query["DataType"] = request.dataType;
3732
+ query["FireTime"] = request.fireTime;
3733
+ query["OwnerId"] = request.ownerId;
3734
+ query["Resource"] = request.resource;
3735
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3736
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3737
+ query["ResourceType"] = request.resourceType;
3738
+ query["ScheduleType"] = request.scheduleType;
3739
+ query["StopTime"] = request.stopTime;
3740
+ query["TaskName"] = request.taskName;
3741
+ query["TemplateCode"] = request.templateCode;
3742
+ query["TemplateName"] = request.templateName;
4658
3743
  let req = new $OpenApi.OpenApiRequest({
3744
+ query: openapi_util_1.default.query(query),
4659
3745
  body: tea_util_1.default.toMap(request),
4660
3746
  });
4661
- return $tea.cast(await this.doRPCRequest("CreateCallTask", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new CreateCallTaskResponse({}));
3747
+ let params = new $OpenApi.Params({
3748
+ action: "CreateCallTask",
3749
+ version: "2017-05-25",
3750
+ protocol: "HTTPS",
3751
+ pathname: "/",
3752
+ method: "POST",
3753
+ authType: "AK",
3754
+ style: "RPC",
3755
+ reqBodyType: "json",
3756
+ bodyType: "json",
3757
+ });
3758
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateCallTaskResponse({}));
4662
3759
  }
4663
3760
  async createCallTask(request) {
4664
3761
  let runtime = new $Util.RuntimeOptions({});
@@ -4666,76 +3763,94 @@ class Client extends openapi_client_1.default {
4666
3763
  }
4667
3764
  async createRobotTaskWithOptions(request, runtime) {
4668
3765
  tea_util_1.default.validateModel(request);
3766
+ let query = {};
3767
+ query["Caller"] = request.caller;
3768
+ query["CorpName"] = request.corpName;
3769
+ query["DialogId"] = request.dialogId;
3770
+ query["IsSelfLine"] = request.isSelfLine;
3771
+ query["NumberStatusIdent"] = request.numberStatusIdent;
3772
+ query["OwnerId"] = request.ownerId;
3773
+ query["RecallInterval"] = request.recallInterval;
3774
+ query["RecallStateCodes"] = request.recallStateCodes;
3775
+ query["RecallTimes"] = request.recallTimes;
3776
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3777
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3778
+ query["RetryType"] = request.retryType;
3779
+ query["TaskName"] = request.taskName;
4669
3780
  let req = new $OpenApi.OpenApiRequest({
3781
+ query: openapi_util_1.default.query(query),
4670
3782
  body: tea_util_1.default.toMap(request),
4671
3783
  });
4672
- return $tea.cast(await this.doRPCRequest("CreateRobotTask", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new CreateRobotTaskResponse({}));
3784
+ let params = new $OpenApi.Params({
3785
+ action: "CreateRobotTask",
3786
+ version: "2017-05-25",
3787
+ protocol: "HTTPS",
3788
+ pathname: "/",
3789
+ method: "POST",
3790
+ authType: "AK",
3791
+ style: "RPC",
3792
+ reqBodyType: "json",
3793
+ bodyType: "json",
3794
+ });
3795
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateRobotTaskResponse({}));
4673
3796
  }
4674
3797
  async createRobotTask(request) {
4675
3798
  let runtime = new $Util.RuntimeOptions({});
4676
3799
  return await this.createRobotTaskWithOptions(request, runtime);
4677
3800
  }
4678
- async createSipAccountWithOptions(request, runtime) {
4679
- tea_util_1.default.validateModel(request);
4680
- let req = new $OpenApi.OpenApiRequest({
4681
- body: tea_util_1.default.toMap(request),
4682
- });
4683
- return $tea.cast(await this.doRPCRequest("CreateSipAccount", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new CreateSipAccountResponse({}));
4684
- }
4685
- async createSipAccount(request) {
4686
- let runtime = new $Util.RuntimeOptions({});
4687
- return await this.createSipAccountWithOptions(request, runtime);
4688
- }
4689
3801
  async deleteRobotTaskWithOptions(request, runtime) {
4690
3802
  tea_util_1.default.validateModel(request);
3803
+ let query = {};
3804
+ query["OwnerId"] = request.ownerId;
3805
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3806
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3807
+ query["TaskId"] = request.taskId;
4691
3808
  let req = new $OpenApi.OpenApiRequest({
3809
+ query: openapi_util_1.default.query(query),
4692
3810
  body: tea_util_1.default.toMap(request),
4693
3811
  });
4694
- return $tea.cast(await this.doRPCRequest("DeleteRobotTask", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new DeleteRobotTaskResponse({}));
3812
+ let params = new $OpenApi.Params({
3813
+ action: "DeleteRobotTask",
3814
+ version: "2017-05-25",
3815
+ protocol: "HTTPS",
3816
+ pathname: "/",
3817
+ method: "POST",
3818
+ authType: "AK",
3819
+ style: "RPC",
3820
+ reqBodyType: "json",
3821
+ bodyType: "json",
3822
+ });
3823
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteRobotTaskResponse({}));
4695
3824
  }
4696
3825
  async deleteRobotTask(request) {
4697
3826
  let runtime = new $Util.RuntimeOptions({});
4698
3827
  return await this.deleteRobotTaskWithOptions(request, runtime);
4699
3828
  }
4700
- async describeRecordDataWithOptions(request, runtime) {
4701
- tea_util_1.default.validateModel(request);
4702
- let req = new $OpenApi.OpenApiRequest({
4703
- body: tea_util_1.default.toMap(request),
4704
- });
4705
- return $tea.cast(await this.doRPCRequest("DescribeRecordData", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeRecordDataResponse({}));
4706
- }
4707
- async describeRecordData(request) {
4708
- let runtime = new $Util.RuntimeOptions({});
4709
- return await this.describeRecordDataWithOptions(request, runtime);
4710
- }
4711
- async doRtcNumberAuthWithOptions(request, runtime) {
4712
- tea_util_1.default.validateModel(request);
4713
- let req = new $OpenApi.OpenApiRequest({
4714
- body: tea_util_1.default.toMap(request),
4715
- });
4716
- return $tea.cast(await this.doRPCRequest("DoRtcNumberAuth", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new DoRtcNumberAuthResponse({}));
4717
- }
4718
- async doRtcNumberAuth(request) {
4719
- let runtime = new $Util.RuntimeOptions({});
4720
- return await this.doRtcNumberAuthWithOptions(request, runtime);
4721
- }
4722
- async doubleCallSeatWithOptions(request, runtime) {
4723
- tea_util_1.default.validateModel(request);
4724
- let req = new $OpenApi.OpenApiRequest({
4725
- body: tea_util_1.default.toMap(request),
4726
- });
4727
- return $tea.cast(await this.doRPCRequest("DoubleCallSeat", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new DoubleCallSeatResponse({}));
4728
- }
4729
- async doubleCallSeat(request) {
4730
- let runtime = new $Util.RuntimeOptions({});
4731
- return await this.doubleCallSeatWithOptions(request, runtime);
4732
- }
4733
3829
  async executeCallTaskWithOptions(request, runtime) {
4734
3830
  tea_util_1.default.validateModel(request);
3831
+ let query = {};
3832
+ query["FireTime"] = request.fireTime;
3833
+ query["OwnerId"] = request.ownerId;
3834
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3835
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3836
+ query["Status"] = request.status;
3837
+ query["TaskId"] = request.taskId;
4735
3838
  let req = new $OpenApi.OpenApiRequest({
3839
+ query: openapi_util_1.default.query(query),
4736
3840
  body: tea_util_1.default.toMap(request),
4737
3841
  });
4738
- return $tea.cast(await this.doRPCRequest("ExecuteCallTask", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new ExecuteCallTaskResponse({}));
3842
+ let params = new $OpenApi.Params({
3843
+ action: "ExecuteCallTask",
3844
+ version: "2017-05-25",
3845
+ protocol: "HTTPS",
3846
+ pathname: "/",
3847
+ method: "POST",
3848
+ authType: "AK",
3849
+ style: "RPC",
3850
+ reqBodyType: "json",
3851
+ bodyType: "json",
3852
+ });
3853
+ return $tea.cast(await this.callApi(params, req, runtime), new ExecuteCallTaskResponse({}));
4739
3854
  }
4740
3855
  async executeCallTask(request) {
4741
3856
  let runtime = new $Util.RuntimeOptions({});
@@ -4743,10 +3858,27 @@ class Client extends openapi_client_1.default {
4743
3858
  }
4744
3859
  async getCallInfoWithOptions(request, runtime) {
4745
3860
  tea_util_1.default.validateModel(request);
3861
+ let query = {};
3862
+ query["OwnerId"] = request.ownerId;
3863
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3864
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3865
+ query["RtcId"] = request.rtcId;
4746
3866
  let req = new $OpenApi.OpenApiRequest({
3867
+ query: openapi_util_1.default.query(query),
4747
3868
  body: tea_util_1.default.toMap(request),
4748
3869
  });
4749
- return $tea.cast(await this.doRPCRequest("GetCallInfo", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new GetCallInfoResponse({}));
3870
+ let params = new $OpenApi.Params({
3871
+ action: "GetCallInfo",
3872
+ version: "2017-05-25",
3873
+ protocol: "HTTPS",
3874
+ pathname: "/",
3875
+ method: "POST",
3876
+ authType: "AK",
3877
+ style: "RPC",
3878
+ reqBodyType: "json",
3879
+ bodyType: "json",
3880
+ });
3881
+ return $tea.cast(await this.callApi(params, req, runtime), new GetCallInfoResponse({}));
4750
3882
  }
4751
3883
  async getCallInfo(request) {
4752
3884
  let runtime = new $Util.RuntimeOptions({});
@@ -4754,21 +3886,84 @@ class Client extends openapi_client_1.default {
4754
3886
  }
4755
3887
  async getHotlineQualificationByOrderWithOptions(request, runtime) {
4756
3888
  tea_util_1.default.validateModel(request);
3889
+ let query = {};
3890
+ query["OrderId"] = request.orderId;
3891
+ query["OwnerId"] = request.ownerId;
3892
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3893
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4757
3894
  let req = new $OpenApi.OpenApiRequest({
3895
+ query: openapi_util_1.default.query(query),
4758
3896
  body: tea_util_1.default.toMap(request),
4759
3897
  });
4760
- return $tea.cast(await this.doRPCRequest("GetHotlineQualificationByOrder", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new GetHotlineQualificationByOrderResponse({}));
3898
+ let params = new $OpenApi.Params({
3899
+ action: "GetHotlineQualificationByOrder",
3900
+ version: "2017-05-25",
3901
+ protocol: "HTTPS",
3902
+ pathname: "/",
3903
+ method: "POST",
3904
+ authType: "AK",
3905
+ style: "RPC",
3906
+ reqBodyType: "json",
3907
+ bodyType: "json",
3908
+ });
3909
+ return $tea.cast(await this.callApi(params, req, runtime), new GetHotlineQualificationByOrderResponse({}));
4761
3910
  }
4762
3911
  async getHotlineQualificationByOrder(request) {
4763
3912
  let runtime = new $Util.RuntimeOptions({});
4764
3913
  return await this.getHotlineQualificationByOrderWithOptions(request, runtime);
4765
3914
  }
3915
+ async getMqttTokenWithOptions(request, runtime) {
3916
+ tea_util_1.default.validateModel(request);
3917
+ let query = {};
3918
+ query["OwnerId"] = request.ownerId;
3919
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3920
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3921
+ let req = new $OpenApi.OpenApiRequest({
3922
+ query: openapi_util_1.default.query(query),
3923
+ body: tea_util_1.default.toMap(request),
3924
+ });
3925
+ let params = new $OpenApi.Params({
3926
+ action: "GetMqttToken",
3927
+ version: "2017-05-25",
3928
+ protocol: "HTTPS",
3929
+ pathname: "/",
3930
+ method: "POST",
3931
+ authType: "AK",
3932
+ style: "RPC",
3933
+ reqBodyType: "json",
3934
+ bodyType: "json",
3935
+ });
3936
+ return $tea.cast(await this.callApi(params, req, runtime), new GetMqttTokenResponse({}));
3937
+ }
3938
+ async getMqttToken(request) {
3939
+ let runtime = new $Util.RuntimeOptions({});
3940
+ return await this.getMqttTokenWithOptions(request, runtime);
3941
+ }
4766
3942
  async getRtcTokenWithOptions(request, runtime) {
4767
3943
  tea_util_1.default.validateModel(request);
3944
+ let query = {};
3945
+ query["DeviceId"] = request.deviceId;
3946
+ query["IsCustomAccount"] = request.isCustomAccount;
3947
+ query["OwnerId"] = request.ownerId;
3948
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3949
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3950
+ query["UserId"] = request.userId;
4768
3951
  let req = new $OpenApi.OpenApiRequest({
3952
+ query: openapi_util_1.default.query(query),
4769
3953
  body: tea_util_1.default.toMap(request),
4770
3954
  });
4771
- return $tea.cast(await this.doRPCRequest("GetRtcToken", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new GetRtcTokenResponse({}));
3955
+ let params = new $OpenApi.Params({
3956
+ action: "GetRtcToken",
3957
+ version: "2017-05-25",
3958
+ protocol: "HTTPS",
3959
+ pathname: "/",
3960
+ method: "POST",
3961
+ authType: "AK",
3962
+ style: "RPC",
3963
+ reqBodyType: "json",
3964
+ bodyType: "json",
3965
+ });
3966
+ return $tea.cast(await this.callApi(params, req, runtime), new GetRtcTokenResponse({}));
4772
3967
  }
4773
3968
  async getRtcToken(request) {
4774
3969
  let runtime = new $Util.RuntimeOptions({});
@@ -4776,10 +3971,27 @@ class Client extends openapi_client_1.default {
4776
3971
  }
4777
3972
  async getTokenWithOptions(request, runtime) {
4778
3973
  tea_util_1.default.validateModel(request);
3974
+ let query = {};
3975
+ query["OwnerId"] = request.ownerId;
3976
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3977
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3978
+ query["TokenType"] = request.tokenType;
4779
3979
  let req = new $OpenApi.OpenApiRequest({
3980
+ query: openapi_util_1.default.query(query),
4780
3981
  body: tea_util_1.default.toMap(request),
4781
3982
  });
4782
- return $tea.cast(await this.doRPCRequest("GetToken", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new GetTokenResponse({}));
3983
+ let params = new $OpenApi.Params({
3984
+ action: "GetToken",
3985
+ version: "2017-05-25",
3986
+ protocol: "HTTPS",
3987
+ pathname: "/",
3988
+ method: "POST",
3989
+ authType: "AK",
3990
+ style: "RPC",
3991
+ reqBodyType: "json",
3992
+ bodyType: "json",
3993
+ });
3994
+ return $tea.cast(await this.callApi(params, req, runtime), new GetTokenResponse({}));
4783
3995
  }
4784
3996
  async getToken(request) {
4785
3997
  let runtime = new $Util.RuntimeOptions({});
@@ -4787,10 +3999,36 @@ class Client extends openapi_client_1.default {
4787
3999
  }
4788
4000
  async ivrCallWithOptions(request, runtime) {
4789
4001
  tea_util_1.default.validateModel(request);
4002
+ let query = {};
4003
+ query["ByeCode"] = request.byeCode;
4004
+ query["ByeTtsParams"] = request.byeTtsParams;
4005
+ query["CalledNumber"] = request.calledNumber;
4006
+ query["CalledShowNumber"] = request.calledShowNumber;
4007
+ query["MenuKeyMap"] = request.menuKeyMap;
4008
+ query["OutId"] = request.outId;
4009
+ query["OwnerId"] = request.ownerId;
4010
+ query["PlayTimes"] = request.playTimes;
4011
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4012
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4013
+ query["StartCode"] = request.startCode;
4014
+ query["StartTtsParams"] = request.startTtsParams;
4015
+ query["Timeout"] = request.timeout;
4790
4016
  let req = new $OpenApi.OpenApiRequest({
4017
+ query: openapi_util_1.default.query(query),
4791
4018
  body: tea_util_1.default.toMap(request),
4792
4019
  });
4793
- return $tea.cast(await this.doRPCRequest("IvrCall", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new IvrCallResponse({}));
4020
+ let params = new $OpenApi.Params({
4021
+ action: "IvrCall",
4022
+ version: "2017-05-25",
4023
+ protocol: "HTTPS",
4024
+ pathname: "/",
4025
+ method: "POST",
4026
+ authType: "AK",
4027
+ style: "RPC",
4028
+ reqBodyType: "json",
4029
+ bodyType: "json",
4030
+ });
4031
+ return $tea.cast(await this.callApi(params, req, runtime), new IvrCallResponse({}));
4794
4032
  }
4795
4033
  async ivrCall(request) {
4796
4034
  let runtime = new $Util.RuntimeOptions({});
@@ -4798,10 +4036,33 @@ class Client extends openapi_client_1.default {
4798
4036
  }
4799
4037
  async listCallTaskWithOptions(request, runtime) {
4800
4038
  tea_util_1.default.validateModel(request);
4039
+ let query = {};
4040
+ query["BizType"] = request.bizType;
4041
+ query["OwnerId"] = request.ownerId;
4042
+ query["PageNumber"] = request.pageNumber;
4043
+ query["PageSize"] = request.pageSize;
4044
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4045
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4046
+ query["Status"] = request.status;
4047
+ query["TaskId"] = request.taskId;
4048
+ query["TaskName"] = request.taskName;
4049
+ query["TemplateName"] = request.templateName;
4801
4050
  let req = new $OpenApi.OpenApiRequest({
4051
+ query: openapi_util_1.default.query(query),
4802
4052
  body: tea_util_1.default.toMap(request),
4803
4053
  });
4804
- return $tea.cast(await this.doRPCRequest("ListCallTask", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new ListCallTaskResponse({}));
4054
+ let params = new $OpenApi.Params({
4055
+ action: "ListCallTask",
4056
+ version: "2017-05-25",
4057
+ protocol: "HTTPS",
4058
+ pathname: "/",
4059
+ method: "POST",
4060
+ authType: "AK",
4061
+ style: "RPC",
4062
+ reqBodyType: "json",
4063
+ bodyType: "json",
4064
+ });
4065
+ return $tea.cast(await this.callApi(params, req, runtime), new ListCallTaskResponse({}));
4805
4066
  }
4806
4067
  async listCallTask(request) {
4807
4068
  let runtime = new $Util.RuntimeOptions({});
@@ -4809,10 +4070,31 @@ class Client extends openapi_client_1.default {
4809
4070
  }
4810
4071
  async listCallTaskDetailWithOptions(request, runtime) {
4811
4072
  tea_util_1.default.validateModel(request);
4073
+ let query = {};
4074
+ query["CalledNum"] = request.calledNum;
4075
+ query["OwnerId"] = request.ownerId;
4076
+ query["PageNumber"] = request.pageNumber;
4077
+ query["PageSize"] = request.pageSize;
4078
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4079
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4080
+ query["Status"] = request.status;
4081
+ query["TaskId"] = request.taskId;
4812
4082
  let req = new $OpenApi.OpenApiRequest({
4083
+ query: openapi_util_1.default.query(query),
4813
4084
  body: tea_util_1.default.toMap(request),
4814
4085
  });
4815
- return $tea.cast(await this.doRPCRequest("ListCallTaskDetail", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new ListCallTaskDetailResponse({}));
4086
+ let params = new $OpenApi.Params({
4087
+ action: "ListCallTaskDetail",
4088
+ version: "2017-05-25",
4089
+ protocol: "HTTPS",
4090
+ pathname: "/",
4091
+ method: "POST",
4092
+ authType: "AK",
4093
+ style: "RPC",
4094
+ reqBodyType: "json",
4095
+ bodyType: "json",
4096
+ });
4097
+ return $tea.cast(await this.callApi(params, req, runtime), new ListCallTaskDetailResponse({}));
4816
4098
  }
4817
4099
  async listCallTaskDetail(request) {
4818
4100
  let runtime = new $Util.RuntimeOptions({});
@@ -4820,10 +4102,30 @@ class Client extends openapi_client_1.default {
4820
4102
  }
4821
4103
  async listHotlineTransferNumberWithOptions(request, runtime) {
4822
4104
  tea_util_1.default.validateModel(request);
4105
+ let query = {};
4106
+ query["HotlineNumber"] = request.hotlineNumber;
4107
+ query["OwnerId"] = request.ownerId;
4108
+ query["PageNo"] = request.pageNo;
4109
+ query["PageSize"] = request.pageSize;
4110
+ query["QualificationId"] = request.qualificationId;
4111
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4112
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4823
4113
  let req = new $OpenApi.OpenApiRequest({
4114
+ query: openapi_util_1.default.query(query),
4824
4115
  body: tea_util_1.default.toMap(request),
4825
4116
  });
4826
- return $tea.cast(await this.doRPCRequest("ListHotlineTransferNumber", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new ListHotlineTransferNumberResponse({}));
4117
+ let params = new $OpenApi.Params({
4118
+ action: "ListHotlineTransferNumber",
4119
+ version: "2017-05-25",
4120
+ protocol: "HTTPS",
4121
+ pathname: "/",
4122
+ method: "POST",
4123
+ authType: "AK",
4124
+ style: "RPC",
4125
+ reqBodyType: "json",
4126
+ bodyType: "json",
4127
+ });
4128
+ return $tea.cast(await this.callApi(params, req, runtime), new ListHotlineTransferNumberResponse({}));
4827
4129
  }
4828
4130
  async listHotlineTransferNumber(request) {
4829
4131
  let runtime = new $Util.RuntimeOptions({});
@@ -4831,54 +4133,60 @@ class Client extends openapi_client_1.default {
4831
4133
  }
4832
4134
  async listHotlineTransferRegisterFileWithOptions(request, runtime) {
4833
4135
  tea_util_1.default.validateModel(request);
4136
+ let query = {};
4137
+ query["HotlineNumber"] = request.hotlineNumber;
4138
+ query["OwnerId"] = request.ownerId;
4139
+ query["PageNo"] = request.pageNo;
4140
+ query["PageSize"] = request.pageSize;
4141
+ query["QualificationId"] = request.qualificationId;
4142
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4143
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4834
4144
  let req = new $OpenApi.OpenApiRequest({
4145
+ query: openapi_util_1.default.query(query),
4835
4146
  body: tea_util_1.default.toMap(request),
4836
4147
  });
4837
- return $tea.cast(await this.doRPCRequest("ListHotlineTransferRegisterFile", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new ListHotlineTransferRegisterFileResponse({}));
4148
+ let params = new $OpenApi.Params({
4149
+ action: "ListHotlineTransferRegisterFile",
4150
+ version: "2017-05-25",
4151
+ protocol: "HTTPS",
4152
+ pathname: "/",
4153
+ method: "POST",
4154
+ authType: "AK",
4155
+ style: "RPC",
4156
+ reqBodyType: "json",
4157
+ bodyType: "json",
4158
+ });
4159
+ return $tea.cast(await this.callApi(params, req, runtime), new ListHotlineTransferRegisterFileResponse({}));
4838
4160
  }
4839
4161
  async listHotlineTransferRegisterFile(request) {
4840
4162
  let runtime = new $Util.RuntimeOptions({});
4841
4163
  return await this.listHotlineTransferRegisterFileWithOptions(request, runtime);
4842
4164
  }
4843
- async listOrderedNumbersWithOptions(request, runtime) {
4844
- tea_util_1.default.validateModel(request);
4845
- let req = new $OpenApi.OpenApiRequest({
4846
- body: tea_util_1.default.toMap(request),
4847
- });
4848
- return $tea.cast(await this.doRPCRequest("ListOrderedNumbers", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new ListOrderedNumbersResponse({}));
4849
- }
4850
- async listOrderedNumbers(request) {
4851
- let runtime = new $Util.RuntimeOptions({});
4852
- return await this.listOrderedNumbersWithOptions(request, runtime);
4853
- }
4854
- async listOutboundStrategiesWithOptions(request, runtime) {
4855
- tea_util_1.default.validateModel(request);
4856
- let req = new $OpenApi.OpenApiRequest({
4857
- body: tea_util_1.default.toMap(request),
4858
- });
4859
- return $tea.cast(await this.doRPCRequest("ListOutboundStrategies", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new ListOutboundStrategiesResponse({}));
4860
- }
4861
- async listOutboundStrategies(request) {
4862
- let runtime = new $Util.RuntimeOptions({});
4863
- return await this.listOutboundStrategiesWithOptions(request, runtime);
4864
- }
4865
- async listRobotTaskCallsWithOptions(request, runtime) {
4866
- tea_util_1.default.validateModel(request);
4867
- let req = new $OpenApi.OpenApiRequest({
4868
- body: tea_util_1.default.toMap(request),
4869
- });
4870
- return $tea.cast(await this.doRPCRequest("ListRobotTaskCalls", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new ListRobotTaskCallsResponse({}));
4871
- }
4872
- async listRobotTaskCalls(request) {
4873
- let runtime = new $Util.RuntimeOptions({});
4874
- return await this.listRobotTaskCallsWithOptions(request, runtime);
4875
- }
4876
4165
  async queryCallDetailByCallIdWithOptions(request, runtime) {
4877
4166
  tea_util_1.default.validateModel(request);
4167
+ let query = {};
4168
+ query["CallId"] = request.callId;
4169
+ query["OwnerId"] = request.ownerId;
4170
+ query["ProdId"] = request.prodId;
4171
+ query["QueryDate"] = request.queryDate;
4172
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4173
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4878
4174
  let req = new $OpenApi.OpenApiRequest({
4175
+ query: openapi_util_1.default.query(query),
4879
4176
  body: tea_util_1.default.toMap(request),
4880
4177
  });
4881
- return $tea.cast(await this.doRPCRequest("QueryCallDetailByCallId", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new QueryCallDetailByCallIdResponse({}));
4178
+ let params = new $OpenApi.Params({
4179
+ action: "QueryCallDetailByCallId",
4180
+ version: "2017-05-25",
4181
+ protocol: "HTTPS",
4182
+ pathname: "/",
4183
+ method: "POST",
4184
+ authType: "AK",
4185
+ style: "RPC",
4186
+ reqBodyType: "json",
4187
+ bodyType: "json",
4188
+ });
4189
+ return $tea.cast(await this.callApi(params, req, runtime), new QueryCallDetailByCallIdResponse({}));
4882
4190
  }
4883
4191
  async queryCallDetailByCallId(request) {
4884
4192
  let runtime = new $Util.RuntimeOptions({});
@@ -4886,10 +4194,29 @@ class Client extends openapi_client_1.default {
4886
4194
  }
4887
4195
  async queryCallDetailByTaskIdWithOptions(request, runtime) {
4888
4196
  tea_util_1.default.validateModel(request);
4197
+ let query = {};
4198
+ query["Callee"] = request.callee;
4199
+ query["OwnerId"] = request.ownerId;
4200
+ query["QueryDate"] = request.queryDate;
4201
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4202
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4203
+ query["TaskId"] = request.taskId;
4889
4204
  let req = new $OpenApi.OpenApiRequest({
4205
+ query: openapi_util_1.default.query(query),
4890
4206
  body: tea_util_1.default.toMap(request),
4891
4207
  });
4892
- return $tea.cast(await this.doRPCRequest("QueryCallDetailByTaskId", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new QueryCallDetailByTaskIdResponse({}));
4208
+ let params = new $OpenApi.Params({
4209
+ action: "QueryCallDetailByTaskId",
4210
+ version: "2017-05-25",
4211
+ protocol: "HTTPS",
4212
+ pathname: "/",
4213
+ method: "POST",
4214
+ authType: "AK",
4215
+ style: "RPC",
4216
+ reqBodyType: "json",
4217
+ bodyType: "json",
4218
+ });
4219
+ return $tea.cast(await this.callApi(params, req, runtime), new QueryCallDetailByTaskIdResponse({}));
4893
4220
  }
4894
4221
  async queryCallDetailByTaskId(request) {
4895
4222
  let runtime = new $Util.RuntimeOptions({});
@@ -4897,10 +4224,27 @@ class Client extends openapi_client_1.default {
4897
4224
  }
4898
4225
  async queryCallInPoolTransferConfigWithOptions(request, runtime) {
4899
4226
  tea_util_1.default.validateModel(request);
4227
+ let query = {};
4228
+ query["OwnerId"] = request.ownerId;
4229
+ query["PhoneNumber"] = request.phoneNumber;
4230
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4231
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4900
4232
  let req = new $OpenApi.OpenApiRequest({
4233
+ query: openapi_util_1.default.query(query),
4901
4234
  body: tea_util_1.default.toMap(request),
4902
4235
  });
4903
- return $tea.cast(await this.doRPCRequest("QueryCallInPoolTransferConfig", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new QueryCallInPoolTransferConfigResponse({}));
4236
+ let params = new $OpenApi.Params({
4237
+ action: "QueryCallInPoolTransferConfig",
4238
+ version: "2017-05-25",
4239
+ protocol: "HTTPS",
4240
+ pathname: "/",
4241
+ method: "POST",
4242
+ authType: "AK",
4243
+ style: "RPC",
4244
+ reqBodyType: "json",
4245
+ bodyType: "json",
4246
+ });
4247
+ return $tea.cast(await this.callApi(params, req, runtime), new QueryCallInPoolTransferConfigResponse({}));
4904
4248
  }
4905
4249
  async queryCallInPoolTransferConfig(request) {
4906
4250
  let runtime = new $Util.RuntimeOptions({});
@@ -4908,10 +4252,31 @@ class Client extends openapi_client_1.default {
4908
4252
  }
4909
4253
  async queryCallInTransferRecordWithOptions(request, runtime) {
4910
4254
  tea_util_1.default.validateModel(request);
4255
+ let query = {};
4256
+ query["CallInCaller"] = request.callInCaller;
4257
+ query["OwnerId"] = request.ownerId;
4258
+ query["PageNo"] = request.pageNo;
4259
+ query["PageSize"] = request.pageSize;
4260
+ query["PhoneNumber"] = request.phoneNumber;
4261
+ query["QueryDate"] = request.queryDate;
4262
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4263
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4911
4264
  let req = new $OpenApi.OpenApiRequest({
4265
+ query: openapi_util_1.default.query(query),
4912
4266
  body: tea_util_1.default.toMap(request),
4913
4267
  });
4914
- return $tea.cast(await this.doRPCRequest("QueryCallInTransferRecord", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new QueryCallInTransferRecordResponse({}));
4268
+ let params = new $OpenApi.Params({
4269
+ action: "QueryCallInTransferRecord",
4270
+ version: "2017-05-25",
4271
+ protocol: "HTTPS",
4272
+ pathname: "/",
4273
+ method: "POST",
4274
+ authType: "AK",
4275
+ style: "RPC",
4276
+ reqBodyType: "json",
4277
+ bodyType: "json",
4278
+ });
4279
+ return $tea.cast(await this.callApi(params, req, runtime), new QueryCallInTransferRecordResponse({}));
4915
4280
  }
4916
4281
  async queryCallInTransferRecord(request) {
4917
4282
  let runtime = new $Util.RuntimeOptions({});
@@ -4919,10 +4284,27 @@ class Client extends openapi_client_1.default {
4919
4284
  }
4920
4285
  async queryRobotInfoListWithOptions(request, runtime) {
4921
4286
  tea_util_1.default.validateModel(request);
4287
+ let query = {};
4288
+ query["AuditStatus"] = request.auditStatus;
4289
+ query["OwnerId"] = request.ownerId;
4290
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4291
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4922
4292
  let req = new $OpenApi.OpenApiRequest({
4293
+ query: openapi_util_1.default.query(query),
4923
4294
  body: tea_util_1.default.toMap(request),
4924
4295
  });
4925
- return $tea.cast(await this.doRPCRequest("QueryRobotInfoList", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new QueryRobotInfoListResponse({}));
4296
+ let params = new $OpenApi.Params({
4297
+ action: "QueryRobotInfoList",
4298
+ version: "2017-05-25",
4299
+ protocol: "HTTPS",
4300
+ pathname: "/",
4301
+ method: "POST",
4302
+ authType: "AK",
4303
+ style: "RPC",
4304
+ reqBodyType: "json",
4305
+ bodyType: "json",
4306
+ });
4307
+ return $tea.cast(await this.callApi(params, req, runtime), new QueryRobotInfoListResponse({}));
4926
4308
  }
4927
4309
  async queryRobotInfoList(request) {
4928
4310
  let runtime = new $Util.RuntimeOptions({});
@@ -4930,10 +4312,29 @@ class Client extends openapi_client_1.default {
4930
4312
  }
4931
4313
  async queryRobotTaskCallDetailWithOptions(request, runtime) {
4932
4314
  tea_util_1.default.validateModel(request);
4315
+ let query = {};
4316
+ query["Callee"] = request.callee;
4317
+ query["OwnerId"] = request.ownerId;
4318
+ query["QueryDate"] = request.queryDate;
4319
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4320
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4321
+ query["TaskId"] = request.taskId;
4933
4322
  let req = new $OpenApi.OpenApiRequest({
4323
+ query: openapi_util_1.default.query(query),
4934
4324
  body: tea_util_1.default.toMap(request),
4935
4325
  });
4936
- return $tea.cast(await this.doRPCRequest("QueryRobotTaskCallDetail", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new QueryRobotTaskCallDetailResponse({}));
4326
+ let params = new $OpenApi.Params({
4327
+ action: "QueryRobotTaskCallDetail",
4328
+ version: "2017-05-25",
4329
+ protocol: "HTTPS",
4330
+ pathname: "/",
4331
+ method: "POST",
4332
+ authType: "AK",
4333
+ style: "RPC",
4334
+ reqBodyType: "json",
4335
+ bodyType: "json",
4336
+ });
4337
+ return $tea.cast(await this.callApi(params, req, runtime), new QueryRobotTaskCallDetailResponse({}));
4937
4338
  }
4938
4339
  async queryRobotTaskCallDetail(request) {
4939
4340
  let runtime = new $Util.RuntimeOptions({});
@@ -4941,10 +4342,36 @@ class Client extends openapi_client_1.default {
4941
4342
  }
4942
4343
  async queryRobotTaskCallListWithOptions(request, runtime) {
4943
4344
  tea_util_1.default.validateModel(request);
4345
+ let query = {};
4346
+ query["CallResult"] = request.callResult;
4347
+ query["Called"] = request.called;
4348
+ query["DialogCountFrom"] = request.dialogCountFrom;
4349
+ query["DialogCountTo"] = request.dialogCountTo;
4350
+ query["DurationFrom"] = request.durationFrom;
4351
+ query["DurationTo"] = request.durationTo;
4352
+ query["HangupDirection"] = request.hangupDirection;
4353
+ query["OwnerId"] = request.ownerId;
4354
+ query["PageNo"] = request.pageNo;
4355
+ query["PageSize"] = request.pageSize;
4356
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4357
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4358
+ query["TaskId"] = request.taskId;
4944
4359
  let req = new $OpenApi.OpenApiRequest({
4360
+ query: openapi_util_1.default.query(query),
4945
4361
  body: tea_util_1.default.toMap(request),
4946
4362
  });
4947
- return $tea.cast(await this.doRPCRequest("QueryRobotTaskCallList", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new QueryRobotTaskCallListResponse({}));
4363
+ let params = new $OpenApi.Params({
4364
+ action: "QueryRobotTaskCallList",
4365
+ version: "2017-05-25",
4366
+ protocol: "HTTPS",
4367
+ pathname: "/",
4368
+ method: "POST",
4369
+ authType: "AK",
4370
+ style: "RPC",
4371
+ reqBodyType: "json",
4372
+ bodyType: "json",
4373
+ });
4374
+ return $tea.cast(await this.callApi(params, req, runtime), new QueryRobotTaskCallListResponse({}));
4948
4375
  }
4949
4376
  async queryRobotTaskCallList(request) {
4950
4377
  let runtime = new $Util.RuntimeOptions({});
@@ -4952,10 +4379,27 @@ class Client extends openapi_client_1.default {
4952
4379
  }
4953
4380
  async queryRobotTaskDetailWithOptions(request, runtime) {
4954
4381
  tea_util_1.default.validateModel(request);
4382
+ let query = {};
4383
+ query["Id"] = request.id;
4384
+ query["OwnerId"] = request.ownerId;
4385
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4386
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4955
4387
  let req = new $OpenApi.OpenApiRequest({
4388
+ query: openapi_util_1.default.query(query),
4956
4389
  body: tea_util_1.default.toMap(request),
4957
4390
  });
4958
- return $tea.cast(await this.doRPCRequest("QueryRobotTaskDetail", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new QueryRobotTaskDetailResponse({}));
4391
+ let params = new $OpenApi.Params({
4392
+ action: "QueryRobotTaskDetail",
4393
+ version: "2017-05-25",
4394
+ protocol: "HTTPS",
4395
+ pathname: "/",
4396
+ method: "POST",
4397
+ authType: "AK",
4398
+ style: "RPC",
4399
+ reqBodyType: "json",
4400
+ bodyType: "json",
4401
+ });
4402
+ return $tea.cast(await this.callApi(params, req, runtime), new QueryRobotTaskDetailResponse({}));
4959
4403
  }
4960
4404
  async queryRobotTaskDetail(request) {
4961
4405
  let runtime = new $Util.RuntimeOptions({});
@@ -4963,10 +4407,31 @@ class Client extends openapi_client_1.default {
4963
4407
  }
4964
4408
  async queryRobotTaskListWithOptions(request, runtime) {
4965
4409
  tea_util_1.default.validateModel(request);
4410
+ let query = {};
4411
+ query["OwnerId"] = request.ownerId;
4412
+ query["PageNo"] = request.pageNo;
4413
+ query["PageSize"] = request.pageSize;
4414
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4415
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4416
+ query["Status"] = request.status;
4417
+ query["TaskName"] = request.taskName;
4418
+ query["Time"] = request.time;
4966
4419
  let req = new $OpenApi.OpenApiRequest({
4420
+ query: openapi_util_1.default.query(query),
4967
4421
  body: tea_util_1.default.toMap(request),
4968
4422
  });
4969
- return $tea.cast(await this.doRPCRequest("QueryRobotTaskList", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new QueryRobotTaskListResponse({}));
4423
+ let params = new $OpenApi.Params({
4424
+ action: "QueryRobotTaskList",
4425
+ version: "2017-05-25",
4426
+ protocol: "HTTPS",
4427
+ pathname: "/",
4428
+ method: "POST",
4429
+ authType: "AK",
4430
+ style: "RPC",
4431
+ reqBodyType: "json",
4432
+ bodyType: "json",
4433
+ });
4434
+ return $tea.cast(await this.callApi(params, req, runtime), new QueryRobotTaskListResponse({}));
4970
4435
  }
4971
4436
  async queryRobotTaskList(request) {
4972
4437
  let runtime = new $Util.RuntimeOptions({});
@@ -4974,32 +4439,57 @@ class Client extends openapi_client_1.default {
4974
4439
  }
4975
4440
  async queryRobotv2AllListWithOptions(request, runtime) {
4976
4441
  tea_util_1.default.validateModel(request);
4442
+ let query = {};
4443
+ query["OwnerId"] = request.ownerId;
4444
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4445
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4977
4446
  let req = new $OpenApi.OpenApiRequest({
4447
+ query: openapi_util_1.default.query(query),
4978
4448
  body: tea_util_1.default.toMap(request),
4979
4449
  });
4980
- return $tea.cast(await this.doRPCRequest("QueryRobotv2AllList", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new QueryRobotv2AllListResponse({}));
4450
+ let params = new $OpenApi.Params({
4451
+ action: "QueryRobotv2AllList",
4452
+ version: "2017-05-25",
4453
+ protocol: "HTTPS",
4454
+ pathname: "/",
4455
+ method: "POST",
4456
+ authType: "AK",
4457
+ style: "RPC",
4458
+ reqBodyType: "json",
4459
+ bodyType: "json",
4460
+ });
4461
+ return $tea.cast(await this.callApi(params, req, runtime), new QueryRobotv2AllListResponse({}));
4981
4462
  }
4982
4463
  async queryRobotv2AllList(request) {
4983
4464
  let runtime = new $Util.RuntimeOptions({});
4984
4465
  return await this.queryRobotv2AllListWithOptions(request, runtime);
4985
4466
  }
4986
- async queryRtcNumberAuthStatusWithOptions(request, runtime) {
4987
- tea_util_1.default.validateModel(request);
4988
- let req = new $OpenApi.OpenApiRequest({
4989
- body: tea_util_1.default.toMap(request),
4990
- });
4991
- return $tea.cast(await this.doRPCRequest("QueryRtcNumberAuthStatus", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new QueryRtcNumberAuthStatusResponse({}));
4992
- }
4993
- async queryRtcNumberAuthStatus(request) {
4994
- let runtime = new $Util.RuntimeOptions({});
4995
- return await this.queryRtcNumberAuthStatusWithOptions(request, runtime);
4996
- }
4997
4467
  async queryVirtualNumberWithOptions(request, runtime) {
4998
4468
  tea_util_1.default.validateModel(request);
4469
+ let query = {};
4470
+ query["OwnerId"] = request.ownerId;
4471
+ query["PageNo"] = request.pageNo;
4472
+ query["PageSize"] = request.pageSize;
4473
+ query["ProdCode"] = request.prodCode;
4474
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4475
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4476
+ query["RouteType"] = request.routeType;
4999
4477
  let req = new $OpenApi.OpenApiRequest({
4478
+ query: openapi_util_1.default.query(query),
5000
4479
  body: tea_util_1.default.toMap(request),
5001
4480
  });
5002
- return $tea.cast(await this.doRPCRequest("QueryVirtualNumber", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new QueryVirtualNumberResponse({}));
4481
+ let params = new $OpenApi.Params({
4482
+ action: "QueryVirtualNumber",
4483
+ version: "2017-05-25",
4484
+ protocol: "HTTPS",
4485
+ pathname: "/",
4486
+ method: "POST",
4487
+ authType: "AK",
4488
+ style: "RPC",
4489
+ reqBodyType: "json",
4490
+ bodyType: "json",
4491
+ });
4492
+ return $tea.cast(await this.callApi(params, req, runtime), new QueryVirtualNumberResponse({}));
5003
4493
  }
5004
4494
  async queryVirtualNumber(request) {
5005
4495
  let runtime = new $Util.RuntimeOptions({});
@@ -5007,43 +4497,93 @@ class Client extends openapi_client_1.default {
5007
4497
  }
5008
4498
  async queryVirtualNumberRelationWithOptions(request, runtime) {
5009
4499
  tea_util_1.default.validateModel(request);
4500
+ let query = {};
4501
+ query["OwnerId"] = request.ownerId;
4502
+ query["PageNo"] = request.pageNo;
4503
+ query["PageSize"] = request.pageSize;
4504
+ query["PhoneNum"] = request.phoneNum;
4505
+ query["ProdCode"] = request.prodCode;
4506
+ query["QualificationId"] = request.qualificationId;
4507
+ query["RegionNameCity"] = request.regionNameCity;
4508
+ query["RelatedNum"] = request.relatedNum;
4509
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4510
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4511
+ query["RouteType"] = request.routeType;
4512
+ query["SpecId"] = request.specId;
5010
4513
  let req = new $OpenApi.OpenApiRequest({
4514
+ query: openapi_util_1.default.query(query),
5011
4515
  body: tea_util_1.default.toMap(request),
5012
4516
  });
5013
- return $tea.cast(await this.doRPCRequest("QueryVirtualNumberRelation", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new QueryVirtualNumberRelationResponse({}));
4517
+ let params = new $OpenApi.Params({
4518
+ action: "QueryVirtualNumberRelation",
4519
+ version: "2017-05-25",
4520
+ protocol: "HTTPS",
4521
+ pathname: "/",
4522
+ method: "POST",
4523
+ authType: "AK",
4524
+ style: "RPC",
4525
+ reqBodyType: "json",
4526
+ bodyType: "json",
4527
+ });
4528
+ return $tea.cast(await this.callApi(params, req, runtime), new QueryVirtualNumberRelationResponse({}));
5014
4529
  }
5015
4530
  async queryVirtualNumberRelation(request) {
5016
4531
  let runtime = new $Util.RuntimeOptions({});
5017
4532
  return await this.queryVirtualNumberRelationWithOptions(request, runtime);
5018
4533
  }
5019
- async queryVoipNumberBindInfosWithOptions(request, runtime) {
4534
+ async refreshMqttTokenWithOptions(request, runtime) {
5020
4535
  tea_util_1.default.validateModel(request);
4536
+ let query = {};
4537
+ query["ClientId"] = request.clientId;
4538
+ query["OwnerId"] = request.ownerId;
4539
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4540
+ query["ResourceOwnerId"] = request.resourceOwnerId;
5021
4541
  let req = new $OpenApi.OpenApiRequest({
4542
+ query: openapi_util_1.default.query(query),
5022
4543
  body: tea_util_1.default.toMap(request),
5023
4544
  });
5024
- return $tea.cast(await this.doRPCRequest("QueryVoipNumberBindInfos", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new QueryVoipNumberBindInfosResponse({}));
5025
- }
5026
- async queryVoipNumberBindInfos(request) {
5027
- let runtime = new $Util.RuntimeOptions({});
5028
- return await this.queryVoipNumberBindInfosWithOptions(request, runtime);
5029
- }
5030
- async reportVoipProblemsWithOptions(request, runtime) {
5031
- tea_util_1.default.validateModel(request);
5032
- let req = new $OpenApi.OpenApiRequest({
5033
- body: tea_util_1.default.toMap(request),
4545
+ let params = new $OpenApi.Params({
4546
+ action: "RefreshMqttToken",
4547
+ version: "2017-05-25",
4548
+ protocol: "HTTPS",
4549
+ pathname: "/",
4550
+ method: "POST",
4551
+ authType: "AK",
4552
+ style: "RPC",
4553
+ reqBodyType: "json",
4554
+ bodyType: "json",
5034
4555
  });
5035
- return $tea.cast(await this.doRPCRequest("ReportVoipProblems", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new ReportVoipProblemsResponse({}));
4556
+ return $tea.cast(await this.callApi(params, req, runtime), new RefreshMqttTokenResponse({}));
5036
4557
  }
5037
- async reportVoipProblems(request) {
4558
+ async refreshMqttToken(request) {
5038
4559
  let runtime = new $Util.RuntimeOptions({});
5039
- return await this.reportVoipProblemsWithOptions(request, runtime);
4560
+ return await this.refreshMqttTokenWithOptions(request, runtime);
5040
4561
  }
5041
4562
  async sendVerificationWithOptions(request, runtime) {
5042
4563
  tea_util_1.default.validateModel(request);
4564
+ let query = {};
4565
+ query["BizType"] = request.bizType;
4566
+ query["OwnerId"] = request.ownerId;
4567
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4568
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4569
+ query["Target"] = request.target;
4570
+ query["VerifyType"] = request.verifyType;
5043
4571
  let req = new $OpenApi.OpenApiRequest({
4572
+ query: openapi_util_1.default.query(query),
5044
4573
  body: tea_util_1.default.toMap(request),
5045
4574
  });
5046
- return $tea.cast(await this.doRPCRequest("SendVerification", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new SendVerificationResponse({}));
4575
+ let params = new $OpenApi.Params({
4576
+ action: "SendVerification",
4577
+ version: "2017-05-25",
4578
+ protocol: "HTTPS",
4579
+ pathname: "/",
4580
+ method: "POST",
4581
+ authType: "AK",
4582
+ style: "RPC",
4583
+ reqBodyType: "json",
4584
+ bodyType: "json",
4585
+ });
4586
+ return $tea.cast(await this.callApi(params, req, runtime), new SendVerificationResponse({}));
5047
4587
  }
5048
4588
  async sendVerification(request) {
5049
4589
  let runtime = new $Util.RuntimeOptions({});
@@ -5051,10 +4591,30 @@ class Client extends openapi_client_1.default {
5051
4591
  }
5052
4592
  async setTransferCalleePoolConfigWithOptions(request, runtime) {
5053
4593
  tea_util_1.default.validateModel(request);
4594
+ let query = {};
4595
+ query["CalledRouteMode"] = request.calledRouteMode;
4596
+ query["Details"] = request.details;
4597
+ query["OwnerId"] = request.ownerId;
4598
+ query["PhoneNumber"] = request.phoneNumber;
4599
+ query["QualificationId"] = request.qualificationId;
4600
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4601
+ query["ResourceOwnerId"] = request.resourceOwnerId;
5054
4602
  let req = new $OpenApi.OpenApiRequest({
4603
+ query: openapi_util_1.default.query(query),
5055
4604
  body: tea_util_1.default.toMap(request),
5056
4605
  });
5057
- return $tea.cast(await this.doRPCRequest("SetTransferCalleePoolConfig", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new SetTransferCalleePoolConfigResponse({}));
4606
+ let params = new $OpenApi.Params({
4607
+ action: "SetTransferCalleePoolConfig",
4608
+ version: "2017-05-25",
4609
+ protocol: "HTTPS",
4610
+ pathname: "/",
4611
+ method: "POST",
4612
+ authType: "AK",
4613
+ style: "RPC",
4614
+ reqBodyType: "json",
4615
+ bodyType: "json",
4616
+ });
4617
+ return $tea.cast(await this.callApi(params, req, runtime), new SetTransferCalleePoolConfigResponse({}));
5058
4618
  }
5059
4619
  async setTransferCalleePoolConfig(request) {
5060
4620
  let runtime = new $Util.RuntimeOptions({});
@@ -5062,10 +4622,34 @@ class Client extends openapi_client_1.default {
5062
4622
  }
5063
4623
  async singleCallByTtsWithOptions(request, runtime) {
5064
4624
  tea_util_1.default.validateModel(request);
4625
+ let query = {};
4626
+ query["CalledNumber"] = request.calledNumber;
4627
+ query["CalledShowNumber"] = request.calledShowNumber;
4628
+ query["OutId"] = request.outId;
4629
+ query["OwnerId"] = request.ownerId;
4630
+ query["PlayTimes"] = request.playTimes;
4631
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4632
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4633
+ query["Speed"] = request.speed;
4634
+ query["TtsCode"] = request.ttsCode;
4635
+ query["TtsParam"] = request.ttsParam;
4636
+ query["Volume"] = request.volume;
5065
4637
  let req = new $OpenApi.OpenApiRequest({
4638
+ query: openapi_util_1.default.query(query),
5066
4639
  body: tea_util_1.default.toMap(request),
5067
4640
  });
5068
- return $tea.cast(await this.doRPCRequest("SingleCallByTts", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new SingleCallByTtsResponse({}));
4641
+ let params = new $OpenApi.Params({
4642
+ action: "SingleCallByTts",
4643
+ version: "2017-05-25",
4644
+ protocol: "HTTPS",
4645
+ pathname: "/",
4646
+ method: "POST",
4647
+ authType: "AK",
4648
+ style: "RPC",
4649
+ reqBodyType: "json",
4650
+ bodyType: "json",
4651
+ });
4652
+ return $tea.cast(await this.callApi(params, req, runtime), new SingleCallByTtsResponse({}));
5069
4653
  }
5070
4654
  async singleCallByTts(request) {
5071
4655
  let runtime = new $Util.RuntimeOptions({});
@@ -5073,10 +4657,33 @@ class Client extends openapi_client_1.default {
5073
4657
  }
5074
4658
  async singleCallByVoiceWithOptions(request, runtime) {
5075
4659
  tea_util_1.default.validateModel(request);
4660
+ let query = {};
4661
+ query["CalledNumber"] = request.calledNumber;
4662
+ query["CalledShowNumber"] = request.calledShowNumber;
4663
+ query["OutId"] = request.outId;
4664
+ query["OwnerId"] = request.ownerId;
4665
+ query["PlayTimes"] = request.playTimes;
4666
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4667
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4668
+ query["Speed"] = request.speed;
4669
+ query["VoiceCode"] = request.voiceCode;
4670
+ query["Volume"] = request.volume;
5076
4671
  let req = new $OpenApi.OpenApiRequest({
4672
+ query: openapi_util_1.default.query(query),
5077
4673
  body: tea_util_1.default.toMap(request),
5078
4674
  });
5079
- return $tea.cast(await this.doRPCRequest("SingleCallByVoice", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new SingleCallByVoiceResponse({}));
4675
+ let params = new $OpenApi.Params({
4676
+ action: "SingleCallByVoice",
4677
+ version: "2017-05-25",
4678
+ protocol: "HTTPS",
4679
+ pathname: "/",
4680
+ method: "POST",
4681
+ authType: "AK",
4682
+ style: "RPC",
4683
+ reqBodyType: "json",
4684
+ bodyType: "json",
4685
+ });
4686
+ return $tea.cast(await this.callApi(params, req, runtime), new SingleCallByVoiceResponse({}));
5080
4687
  }
5081
4688
  async singleCallByVoice(request) {
5082
4689
  let runtime = new $Util.RuntimeOptions({});
@@ -5084,10 +4691,52 @@ class Client extends openapi_client_1.default {
5084
4691
  }
5085
4692
  async smartCallWithOptions(request, runtime) {
5086
4693
  tea_util_1.default.validateModel(request);
4694
+ let query = {};
4695
+ query["ActionCodeBreak"] = request.actionCodeBreak;
4696
+ query["ActionCodeTimeBreak"] = request.actionCodeTimeBreak;
4697
+ query["AsrBaseId"] = request.asrBaseId;
4698
+ query["AsrModelId"] = request.asrModelId;
4699
+ query["BackgroundFileCode"] = request.backgroundFileCode;
4700
+ query["BackgroundSpeed"] = request.backgroundSpeed;
4701
+ query["BackgroundVolume"] = request.backgroundVolume;
4702
+ query["CalledNumber"] = request.calledNumber;
4703
+ query["CalledShowNumber"] = request.calledShowNumber;
4704
+ query["DynamicId"] = request.dynamicId;
4705
+ query["EarlyMediaAsr"] = request.earlyMediaAsr;
4706
+ query["EnableITN"] = request.enableITN;
4707
+ query["MuteTime"] = request.muteTime;
4708
+ query["OutId"] = request.outId;
4709
+ query["OwnerId"] = request.ownerId;
4710
+ query["PauseTime"] = request.pauseTime;
4711
+ query["RecordFlag"] = request.recordFlag;
4712
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4713
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4714
+ query["SessionTimeout"] = request.sessionTimeout;
4715
+ query["Speed"] = request.speed;
4716
+ query["StreamAsr"] = request.streamAsr;
4717
+ query["TtsConf"] = request.ttsConf;
4718
+ query["TtsSpeed"] = request.ttsSpeed;
4719
+ query["TtsStyle"] = request.ttsStyle;
4720
+ query["TtsVolume"] = request.ttsVolume;
4721
+ query["VoiceCode"] = request.voiceCode;
4722
+ query["VoiceCodeParam"] = request.voiceCodeParam;
4723
+ query["Volume"] = request.volume;
5087
4724
  let req = new $OpenApi.OpenApiRequest({
4725
+ query: openapi_util_1.default.query(query),
5088
4726
  body: tea_util_1.default.toMap(request),
5089
4727
  });
5090
- return $tea.cast(await this.doRPCRequest("SmartCall", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new SmartCallResponse({}));
4728
+ let params = new $OpenApi.Params({
4729
+ action: "SmartCall",
4730
+ version: "2017-05-25",
4731
+ protocol: "HTTPS",
4732
+ pathname: "/",
4733
+ method: "POST",
4734
+ authType: "AK",
4735
+ style: "RPC",
4736
+ reqBodyType: "json",
4737
+ bodyType: "json",
4738
+ });
4739
+ return $tea.cast(await this.callApi(params, req, runtime), new SmartCallResponse({}));
5091
4740
  }
5092
4741
  async smartCall(request) {
5093
4742
  let runtime = new $Util.RuntimeOptions({});
@@ -5095,32 +4744,58 @@ class Client extends openapi_client_1.default {
5095
4744
  }
5096
4745
  async smartCallOperateWithOptions(request, runtime) {
5097
4746
  tea_util_1.default.validateModel(request);
4747
+ let query = {};
4748
+ query["CallId"] = request.callId;
4749
+ query["Command"] = request.command;
4750
+ query["OwnerId"] = request.ownerId;
4751
+ query["Param"] = request.param;
4752
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4753
+ query["ResourceOwnerId"] = request.resourceOwnerId;
5098
4754
  let req = new $OpenApi.OpenApiRequest({
4755
+ query: openapi_util_1.default.query(query),
5099
4756
  body: tea_util_1.default.toMap(request),
5100
4757
  });
5101
- return $tea.cast(await this.doRPCRequest("SmartCallOperate", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new SmartCallOperateResponse({}));
4758
+ let params = new $OpenApi.Params({
4759
+ action: "SmartCallOperate",
4760
+ version: "2017-05-25",
4761
+ protocol: "HTTPS",
4762
+ pathname: "/",
4763
+ method: "POST",
4764
+ authType: "AK",
4765
+ style: "RPC",
4766
+ reqBodyType: "json",
4767
+ bodyType: "json",
4768
+ });
4769
+ return $tea.cast(await this.callApi(params, req, runtime), new SmartCallOperateResponse({}));
5102
4770
  }
5103
4771
  async smartCallOperate(request) {
5104
4772
  let runtime = new $Util.RuntimeOptions({});
5105
4773
  return await this.smartCallOperateWithOptions(request, runtime);
5106
4774
  }
5107
- async startMicroOutboundWithOptions(request, runtime) {
5108
- tea_util_1.default.validateModel(request);
5109
- let req = new $OpenApi.OpenApiRequest({
5110
- body: tea_util_1.default.toMap(request),
5111
- });
5112
- return $tea.cast(await this.doRPCRequest("StartMicroOutbound", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new StartMicroOutboundResponse({}));
5113
- }
5114
- async startMicroOutbound(request) {
5115
- let runtime = new $Util.RuntimeOptions({});
5116
- return await this.startMicroOutboundWithOptions(request, runtime);
5117
- }
5118
4775
  async startRobotTaskWithOptions(request, runtime) {
5119
4776
  tea_util_1.default.validateModel(request);
4777
+ let query = {};
4778
+ query["OwnerId"] = request.ownerId;
4779
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4780
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4781
+ query["ScheduleTime"] = request.scheduleTime;
4782
+ query["TaskId"] = request.taskId;
5120
4783
  let req = new $OpenApi.OpenApiRequest({
4784
+ query: openapi_util_1.default.query(query),
5121
4785
  body: tea_util_1.default.toMap(request),
5122
4786
  });
5123
- return $tea.cast(await this.doRPCRequest("StartRobotTask", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new StartRobotTaskResponse({}));
4787
+ let params = new $OpenApi.Params({
4788
+ action: "StartRobotTask",
4789
+ version: "2017-05-25",
4790
+ protocol: "HTTPS",
4791
+ pathname: "/",
4792
+ method: "POST",
4793
+ authType: "AK",
4794
+ style: "RPC",
4795
+ reqBodyType: "json",
4796
+ bodyType: "json",
4797
+ });
4798
+ return $tea.cast(await this.callApi(params, req, runtime), new StartRobotTaskResponse({}));
5124
4799
  }
5125
4800
  async startRobotTask(request) {
5126
4801
  let runtime = new $Util.RuntimeOptions({});
@@ -5128,10 +4803,27 @@ class Client extends openapi_client_1.default {
5128
4803
  }
5129
4804
  async stopRobotTaskWithOptions(request, runtime) {
5130
4805
  tea_util_1.default.validateModel(request);
4806
+ let query = {};
4807
+ query["OwnerId"] = request.ownerId;
4808
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4809
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4810
+ query["TaskId"] = request.taskId;
5131
4811
  let req = new $OpenApi.OpenApiRequest({
4812
+ query: openapi_util_1.default.query(query),
5132
4813
  body: tea_util_1.default.toMap(request),
5133
4814
  });
5134
- return $tea.cast(await this.doRPCRequest("StopRobotTask", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new StopRobotTaskResponse({}));
4815
+ let params = new $OpenApi.Params({
4816
+ action: "StopRobotTask",
4817
+ version: "2017-05-25",
4818
+ protocol: "HTTPS",
4819
+ pathname: "/",
4820
+ method: "POST",
4821
+ authType: "AK",
4822
+ style: "RPC",
4823
+ reqBodyType: "json",
4824
+ bodyType: "json",
4825
+ });
4826
+ return $tea.cast(await this.callApi(params, req, runtime), new StopRobotTaskResponse({}));
5135
4827
  }
5136
4828
  async stopRobotTask(request) {
5137
4829
  let runtime = new $Util.RuntimeOptions({});
@@ -5139,70 +4831,72 @@ class Client extends openapi_client_1.default {
5139
4831
  }
5140
4832
  async submitHotlineTransferRegisterWithOptions(request, runtime) {
5141
4833
  tea_util_1.default.validateModel(request);
4834
+ let query = {};
4835
+ query["Agreement"] = request.agreement;
4836
+ query["HotlineNumber"] = request.hotlineNumber;
4837
+ query["OperatorIdentityCard"] = request.operatorIdentityCard;
4838
+ query["OperatorMail"] = request.operatorMail;
4839
+ query["OperatorMailVerifyCode"] = request.operatorMailVerifyCode;
4840
+ query["OperatorMobile"] = request.operatorMobile;
4841
+ query["OperatorMobileVerifyCode"] = request.operatorMobileVerifyCode;
4842
+ query["OperatorName"] = request.operatorName;
4843
+ query["OwnerId"] = request.ownerId;
4844
+ query["QualificationId"] = request.qualificationId;
4845
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4846
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4847
+ query["TransferPhoneNumberInfos"] = request.transferPhoneNumberInfos;
5142
4848
  let req = new $OpenApi.OpenApiRequest({
4849
+ query: openapi_util_1.default.query(query),
5143
4850
  body: tea_util_1.default.toMap(request),
5144
4851
  });
5145
- return $tea.cast(await this.doRPCRequest("SubmitHotlineTransferRegister", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new SubmitHotlineTransferRegisterResponse({}));
4852
+ let params = new $OpenApi.Params({
4853
+ action: "SubmitHotlineTransferRegister",
4854
+ version: "2017-05-25",
4855
+ protocol: "HTTPS",
4856
+ pathname: "/",
4857
+ method: "POST",
4858
+ authType: "AK",
4859
+ style: "RPC",
4860
+ reqBodyType: "json",
4861
+ bodyType: "json",
4862
+ });
4863
+ return $tea.cast(await this.callApi(params, req, runtime), new SubmitHotlineTransferRegisterResponse({}));
5146
4864
  }
5147
4865
  async submitHotlineTransferRegister(request) {
5148
4866
  let runtime = new $Util.RuntimeOptions({});
5149
4867
  return await this.submitHotlineTransferRegisterWithOptions(request, runtime);
5150
4868
  }
5151
- async unbindNumberAndVoipIdWithOptions(request, runtime) {
5152
- tea_util_1.default.validateModel(request);
5153
- let req = new $OpenApi.OpenApiRequest({
5154
- body: tea_util_1.default.toMap(request),
5155
- });
5156
- return $tea.cast(await this.doRPCRequest("UnbindNumberAndVoipId", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new UnbindNumberAndVoipIdResponse({}));
5157
- }
5158
- async unbindNumberAndVoipId(request) {
5159
- let runtime = new $Util.RuntimeOptions({});
5160
- return await this.unbindNumberAndVoipIdWithOptions(request, runtime);
5161
- }
5162
- async undoRtcNumberAuthWithOptions(request, runtime) {
5163
- tea_util_1.default.validateModel(request);
5164
- let req = new $OpenApi.OpenApiRequest({
5165
- body: tea_util_1.default.toMap(request),
5166
- });
5167
- return $tea.cast(await this.doRPCRequest("UndoRtcNumberAuth", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new UndoRtcNumberAuthResponse({}));
5168
- }
5169
- async undoRtcNumberAuth(request) {
5170
- let runtime = new $Util.RuntimeOptions({});
5171
- return await this.undoRtcNumberAuthWithOptions(request, runtime);
5172
- }
5173
4869
  async uploadRobotTaskCalledFileWithOptions(request, runtime) {
5174
4870
  tea_util_1.default.validateModel(request);
4871
+ let query = {};
4872
+ query["CalledNumber"] = request.calledNumber;
4873
+ query["Id"] = request.id;
4874
+ query["OwnerId"] = request.ownerId;
4875
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4876
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4877
+ query["TtsParam"] = request.ttsParam;
4878
+ query["TtsParamHead"] = request.ttsParamHead;
5175
4879
  let req = new $OpenApi.OpenApiRequest({
4880
+ query: openapi_util_1.default.query(query),
5176
4881
  body: tea_util_1.default.toMap(request),
5177
4882
  });
5178
- return $tea.cast(await this.doRPCRequest("UploadRobotTaskCalledFile", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new UploadRobotTaskCalledFileResponse({}));
4883
+ let params = new $OpenApi.Params({
4884
+ action: "UploadRobotTaskCalledFile",
4885
+ version: "2017-05-25",
4886
+ protocol: "HTTPS",
4887
+ pathname: "/",
4888
+ method: "POST",
4889
+ authType: "AK",
4890
+ style: "RPC",
4891
+ reqBodyType: "json",
4892
+ bodyType: "json",
4893
+ });
4894
+ return $tea.cast(await this.callApi(params, req, runtime), new UploadRobotTaskCalledFileResponse({}));
5179
4895
  }
5180
4896
  async uploadRobotTaskCalledFile(request) {
5181
4897
  let runtime = new $Util.RuntimeOptions({});
5182
4898
  return await this.uploadRobotTaskCalledFileWithOptions(request, runtime);
5183
4899
  }
5184
- async voipAddAccountWithOptions(request, runtime) {
5185
- tea_util_1.default.validateModel(request);
5186
- let req = new $OpenApi.OpenApiRequest({
5187
- body: tea_util_1.default.toMap(request),
5188
- });
5189
- return $tea.cast(await this.doRPCRequest("VoipAddAccount", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new VoipAddAccountResponse({}));
5190
- }
5191
- async voipAddAccount(request) {
5192
- let runtime = new $Util.RuntimeOptions({});
5193
- return await this.voipAddAccountWithOptions(request, runtime);
5194
- }
5195
- async voipGetTokenWithOptions(request, runtime) {
5196
- tea_util_1.default.validateModel(request);
5197
- let req = new $OpenApi.OpenApiRequest({
5198
- body: tea_util_1.default.toMap(request),
5199
- });
5200
- return $tea.cast(await this.doRPCRequest("VoipGetToken", "2017-05-25", "HTTPS", "POST", "AK", "json", req, runtime), new VoipGetTokenResponse({}));
5201
- }
5202
- async voipGetToken(request) {
5203
- let runtime = new $Util.RuntimeOptions({});
5204
- return await this.voipGetTokenWithOptions(request, runtime);
5205
- }
5206
4900
  }
5207
4901
  exports.default = Client;
5208
4902
  //# sourceMappingURL=client.js.map