@alicloud/dyvmsapi20170525 2.1.2 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -8,84 +8,6 @@ import OpenApiUtil from '@alicloud/openapi-util';
8
8
  import EndpointUtil from '@alicloud/endpoint-util';
9
9
  import * as $tea from '@alicloud/tea-typescript';
10
10
 
11
- export class AddRtcAccountRequest extends $tea.Model {
12
- deviceId?: string;
13
- ownerId?: number;
14
- resourceOwnerAccount?: string;
15
- resourceOwnerId?: number;
16
- static names(): { [key: string]: string } {
17
- return {
18
- deviceId: 'DeviceId',
19
- ownerId: 'OwnerId',
20
- resourceOwnerAccount: 'ResourceOwnerAccount',
21
- resourceOwnerId: 'ResourceOwnerId',
22
- };
23
- }
24
-
25
- static types(): { [key: string]: any } {
26
- return {
27
- deviceId: 'string',
28
- ownerId: 'number',
29
- resourceOwnerAccount: 'string',
30
- resourceOwnerId: 'number',
31
- };
32
- }
33
-
34
- constructor(map?: { [key: string]: any }) {
35
- super(map);
36
- }
37
- }
38
-
39
- export class AddRtcAccountResponseBody extends $tea.Model {
40
- code?: string;
41
- message?: string;
42
- module?: string;
43
- requestId?: string;
44
- static names(): { [key: string]: string } {
45
- return {
46
- code: 'Code',
47
- message: 'Message',
48
- module: 'Module',
49
- requestId: 'RequestId',
50
- };
51
- }
52
-
53
- static types(): { [key: string]: any } {
54
- return {
55
- code: 'string',
56
- message: 'string',
57
- module: 'string',
58
- requestId: 'string',
59
- };
60
- }
61
-
62
- constructor(map?: { [key: string]: any }) {
63
- super(map);
64
- }
65
- }
66
-
67
- export class AddRtcAccountResponse extends $tea.Model {
68
- headers: { [key: string]: string };
69
- body: AddRtcAccountResponseBody;
70
- static names(): { [key: string]: string } {
71
- return {
72
- headers: 'headers',
73
- body: 'body',
74
- };
75
- }
76
-
77
- static types(): { [key: string]: any } {
78
- return {
79
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
80
- body: AddRtcAccountResponseBody,
81
- };
82
- }
83
-
84
- constructor(map?: { [key: string]: any }) {
85
- super(map);
86
- }
87
- }
88
-
89
11
  export class AddVirtualNumberRelationRequest extends $tea.Model {
90
12
  corpNameList?: string;
91
13
  numberList?: string;
@@ -155,11 +77,13 @@ export class AddVirtualNumberRelationResponseBody extends $tea.Model {
155
77
  }
156
78
 
157
79
  export class AddVirtualNumberRelationResponse extends $tea.Model {
158
- headers: { [key: string]: string };
159
- body: AddVirtualNumberRelationResponseBody;
80
+ headers?: { [key: string]: string };
81
+ statusCode?: number;
82
+ body?: AddVirtualNumberRelationResponseBody;
160
83
  static names(): { [key: string]: string } {
161
84
  return {
162
85
  headers: 'headers',
86
+ statusCode: 'statusCode',
163
87
  body: 'body',
164
88
  };
165
89
  }
@@ -167,6 +91,7 @@ export class AddVirtualNumberRelationResponse extends $tea.Model {
167
91
  static types(): { [key: string]: any } {
168
92
  return {
169
93
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
94
+ statusCode: 'number',
170
95
  body: AddVirtualNumberRelationResponseBody,
171
96
  };
172
97
  }
@@ -263,11 +188,13 @@ export class BatchRobotSmartCallResponseBody extends $tea.Model {
263
188
  }
264
189
 
265
190
  export class BatchRobotSmartCallResponse extends $tea.Model {
266
- headers: { [key: string]: string };
267
- body: BatchRobotSmartCallResponseBody;
191
+ headers?: { [key: string]: string };
192
+ statusCode?: number;
193
+ body?: BatchRobotSmartCallResponseBody;
268
194
  static names(): { [key: string]: string } {
269
195
  return {
270
196
  headers: 'headers',
197
+ statusCode: 'statusCode',
271
198
  body: 'body',
272
199
  };
273
200
  }
@@ -275,6 +202,7 @@ export class BatchRobotSmartCallResponse extends $tea.Model {
275
202
  static types(): { [key: string]: any } {
276
203
  return {
277
204
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
205
+ statusCode: 'number',
278
206
  body: BatchRobotSmartCallResponseBody,
279
207
  };
280
208
  }
@@ -284,84 +212,6 @@ export class BatchRobotSmartCallResponse extends $tea.Model {
284
212
  }
285
213
  }
286
214
 
287
- export class CancelCallRequest extends $tea.Model {
288
- callId?: string;
289
- ownerId?: number;
290
- resourceOwnerAccount?: string;
291
- resourceOwnerId?: number;
292
- static names(): { [key: string]: string } {
293
- return {
294
- callId: 'CallId',
295
- ownerId: 'OwnerId',
296
- resourceOwnerAccount: 'ResourceOwnerAccount',
297
- resourceOwnerId: 'ResourceOwnerId',
298
- };
299
- }
300
-
301
- static types(): { [key: string]: any } {
302
- return {
303
- callId: 'string',
304
- ownerId: 'number',
305
- resourceOwnerAccount: 'string',
306
- resourceOwnerId: 'number',
307
- };
308
- }
309
-
310
- constructor(map?: { [key: string]: any }) {
311
- super(map);
312
- }
313
- }
314
-
315
- export class CancelCallResponseBody extends $tea.Model {
316
- code?: string;
317
- message?: string;
318
- requestId?: string;
319
- status?: boolean;
320
- static names(): { [key: string]: string } {
321
- return {
322
- code: 'Code',
323
- message: 'Message',
324
- requestId: 'RequestId',
325
- status: 'Status',
326
- };
327
- }
328
-
329
- static types(): { [key: string]: any } {
330
- return {
331
- code: 'string',
332
- message: 'string',
333
- requestId: 'string',
334
- status: 'boolean',
335
- };
336
- }
337
-
338
- constructor(map?: { [key: string]: any }) {
339
- super(map);
340
- }
341
- }
342
-
343
- export class CancelCallResponse extends $tea.Model {
344
- headers: { [key: string]: string };
345
- body: CancelCallResponseBody;
346
- static names(): { [key: string]: string } {
347
- return {
348
- headers: 'headers',
349
- body: 'body',
350
- };
351
- }
352
-
353
- static types(): { [key: string]: any } {
354
- return {
355
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
356
- body: CancelCallResponseBody,
357
- };
358
- }
359
-
360
- constructor(map?: { [key: string]: any }) {
361
- super(map);
362
- }
363
- }
364
-
365
215
  export class CancelOrderRobotTaskRequest extends $tea.Model {
366
216
  ownerId?: number;
367
217
  resourceOwnerAccount?: string;
@@ -419,11 +269,13 @@ export class CancelOrderRobotTaskResponseBody extends $tea.Model {
419
269
  }
420
270
 
421
271
  export class CancelOrderRobotTaskResponse extends $tea.Model {
422
- headers: { [key: string]: string };
423
- body: CancelOrderRobotTaskResponseBody;
272
+ headers?: { [key: string]: string };
273
+ statusCode?: number;
274
+ body?: CancelOrderRobotTaskResponseBody;
424
275
  static names(): { [key: string]: string } {
425
276
  return {
426
277
  headers: 'headers',
278
+ statusCode: 'statusCode',
427
279
  body: 'body',
428
280
  };
429
281
  }
@@ -431,6 +283,7 @@ export class CancelOrderRobotTaskResponse extends $tea.Model {
431
283
  static types(): { [key: string]: any } {
432
284
  return {
433
285
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
286
+ statusCode: 'number',
434
287
  body: CancelOrderRobotTaskResponseBody,
435
288
  };
436
289
  }
@@ -497,11 +350,13 @@ export class CancelRobotTaskResponseBody extends $tea.Model {
497
350
  }
498
351
 
499
352
  export class CancelRobotTaskResponse extends $tea.Model {
500
- headers: { [key: string]: string };
501
- body: CancelRobotTaskResponseBody;
353
+ headers?: { [key: string]: string };
354
+ statusCode?: number;
355
+ body?: CancelRobotTaskResponseBody;
502
356
  static names(): { [key: string]: string } {
503
357
  return {
504
358
  headers: 'headers',
359
+ statusCode: 'statusCode',
505
360
  body: 'body',
506
361
  };
507
362
  }
@@ -509,6 +364,7 @@ export class CancelRobotTaskResponse extends $tea.Model {
509
364
  static types(): { [key: string]: any } {
510
365
  return {
511
366
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
367
+ statusCode: 'number',
512
368
  body: CancelRobotTaskResponseBody,
513
369
  };
514
370
  }
@@ -518,50 +374,35 @@ export class CancelRobotTaskResponse extends $tea.Model {
518
374
  }
519
375
  }
520
376
 
521
- export class ClickToDialRequest extends $tea.Model {
522
- asrFlag?: boolean;
523
- asrModelId?: string;
524
- calledNumber?: string;
525
- calledShowNumber?: string;
526
- callerNumber?: string;
527
- callerShowNumber?: string;
377
+ export class ChangeMediaTypeRequest extends $tea.Model {
378
+ callId?: string;
379
+ calledNum?: string;
380
+ mediaType?: string;
528
381
  outId?: string;
529
382
  ownerId?: number;
530
- recordFlag?: boolean;
531
383
  resourceOwnerAccount?: string;
532
384
  resourceOwnerId?: number;
533
- sessionTimeout?: number;
534
385
  static names(): { [key: string]: string } {
535
386
  return {
536
- asrFlag: 'AsrFlag',
537
- asrModelId: 'AsrModelId',
538
- calledNumber: 'CalledNumber',
539
- calledShowNumber: 'CalledShowNumber',
540
- callerNumber: 'CallerNumber',
541
- callerShowNumber: 'CallerShowNumber',
387
+ callId: 'CallId',
388
+ calledNum: 'CalledNum',
389
+ mediaType: 'MediaType',
542
390
  outId: 'OutId',
543
391
  ownerId: 'OwnerId',
544
- recordFlag: 'RecordFlag',
545
392
  resourceOwnerAccount: 'ResourceOwnerAccount',
546
393
  resourceOwnerId: 'ResourceOwnerId',
547
- sessionTimeout: 'SessionTimeout',
548
394
  };
549
395
  }
550
396
 
551
397
  static types(): { [key: string]: any } {
552
398
  return {
553
- asrFlag: 'boolean',
554
- asrModelId: 'string',
555
- calledNumber: 'string',
556
- calledShowNumber: 'string',
557
- callerNumber: 'string',
558
- callerShowNumber: 'string',
399
+ callId: 'string',
400
+ calledNum: 'string',
401
+ mediaType: 'string',
559
402
  outId: 'string',
560
403
  ownerId: 'number',
561
- recordFlag: 'boolean',
562
404
  resourceOwnerAccount: 'string',
563
405
  resourceOwnerId: 'number',
564
- sessionTimeout: 'number',
565
406
  };
566
407
  }
567
408
 
@@ -570,26 +411,29 @@ export class ClickToDialRequest extends $tea.Model {
570
411
  }
571
412
  }
572
413
 
573
- export class ClickToDialResponseBody extends $tea.Model {
574
- callId?: string;
414
+ export class ChangeMediaTypeResponseBody extends $tea.Model {
415
+ accessDeniedDetail?: string;
575
416
  code?: string;
576
417
  message?: string;
577
- requestId?: string;
418
+ model?: boolean;
419
+ success?: boolean;
578
420
  static names(): { [key: string]: string } {
579
421
  return {
580
- callId: 'CallId',
422
+ accessDeniedDetail: 'AccessDeniedDetail',
581
423
  code: 'Code',
582
424
  message: 'Message',
583
- requestId: 'RequestId',
425
+ model: 'Model',
426
+ success: 'Success',
584
427
  };
585
428
  }
586
429
 
587
430
  static types(): { [key: string]: any } {
588
431
  return {
589
- callId: 'string',
432
+ accessDeniedDetail: 'string',
590
433
  code: 'string',
591
434
  message: 'string',
592
- requestId: 'string',
435
+ model: 'boolean',
436
+ success: 'boolean',
593
437
  };
594
438
  }
595
439
 
@@ -598,12 +442,14 @@ export class ClickToDialResponseBody extends $tea.Model {
598
442
  }
599
443
  }
600
444
 
601
- export class ClickToDialResponse extends $tea.Model {
602
- headers: { [key: string]: string };
603
- body: ClickToDialResponseBody;
445
+ export class ChangeMediaTypeResponse extends $tea.Model {
446
+ headers?: { [key: string]: string };
447
+ statusCode?: number;
448
+ body?: ChangeMediaTypeResponseBody;
604
449
  static names(): { [key: string]: string } {
605
450
  return {
606
451
  headers: 'headers',
452
+ statusCode: 'statusCode',
607
453
  body: 'body',
608
454
  };
609
455
  }
@@ -611,7 +457,8 @@ export class ClickToDialResponse extends $tea.Model {
611
457
  static types(): { [key: string]: any } {
612
458
  return {
613
459
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
614
- body: ClickToDialResponseBody,
460
+ statusCode: 'number',
461
+ body: ChangeMediaTypeResponseBody,
615
462
  };
616
463
  }
617
464
 
@@ -704,11 +551,13 @@ export class CreateCallTaskResponseBody extends $tea.Model {
704
551
  }
705
552
 
706
553
  export class CreateCallTaskResponse extends $tea.Model {
707
- headers: { [key: string]: string };
708
- body: CreateCallTaskResponseBody;
554
+ headers?: { [key: string]: string };
555
+ statusCode?: number;
556
+ body?: CreateCallTaskResponseBody;
709
557
  static names(): { [key: string]: string } {
710
558
  return {
711
559
  headers: 'headers',
560
+ statusCode: 'statusCode',
712
561
  body: 'body',
713
562
  };
714
563
  }
@@ -716,6 +565,7 @@ export class CreateCallTaskResponse extends $tea.Model {
716
565
  static types(): { [key: string]: any } {
717
566
  return {
718
567
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
568
+ statusCode: 'number',
719
569
  body: CreateCallTaskResponseBody,
720
570
  };
721
571
  }
@@ -809,11 +659,13 @@ export class CreateRobotTaskResponseBody extends $tea.Model {
809
659
  }
810
660
 
811
661
  export class CreateRobotTaskResponse extends $tea.Model {
812
- headers: { [key: string]: string };
813
- body: CreateRobotTaskResponseBody;
662
+ headers?: { [key: string]: string };
663
+ statusCode?: number;
664
+ body?: CreateRobotTaskResponseBody;
814
665
  static names(): { [key: string]: string } {
815
666
  return {
816
667
  headers: 'headers',
668
+ statusCode: 'statusCode',
817
669
  body: 'body',
818
670
  };
819
671
  }
@@ -821,6 +673,7 @@ export class CreateRobotTaskResponse extends $tea.Model {
821
673
  static types(): { [key: string]: any } {
822
674
  return {
823
675
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
676
+ statusCode: 'number',
824
677
  body: CreateRobotTaskResponseBody,
825
678
  };
826
679
  }
@@ -830,26 +683,35 @@ export class CreateRobotTaskResponse extends $tea.Model {
830
683
  }
831
684
  }
832
685
 
833
- export class DeleteRobotTaskRequest extends $tea.Model {
686
+ export class DegradeVideoFileRequest extends $tea.Model {
687
+ callId?: string;
688
+ calledNumber?: string;
689
+ mediaType?: string;
690
+ outId?: string;
834
691
  ownerId?: number;
835
692
  resourceOwnerAccount?: string;
836
693
  resourceOwnerId?: number;
837
- taskId?: number;
838
694
  static names(): { [key: string]: string } {
839
695
  return {
696
+ callId: 'CallId',
697
+ calledNumber: 'CalledNumber',
698
+ mediaType: 'MediaType',
699
+ outId: 'OutId',
840
700
  ownerId: 'OwnerId',
841
701
  resourceOwnerAccount: 'ResourceOwnerAccount',
842
702
  resourceOwnerId: 'ResourceOwnerId',
843
- taskId: 'TaskId',
844
703
  };
845
704
  }
846
705
 
847
706
  static types(): { [key: string]: any } {
848
707
  return {
708
+ callId: 'string',
709
+ calledNumber: 'string',
710
+ mediaType: 'string',
711
+ outId: 'string',
849
712
  ownerId: 'number',
850
713
  resourceOwnerAccount: 'string',
851
714
  resourceOwnerId: 'number',
852
- taskId: 'number',
853
715
  };
854
716
  }
855
717
 
@@ -858,26 +720,29 @@ export class DeleteRobotTaskRequest extends $tea.Model {
858
720
  }
859
721
  }
860
722
 
861
- export class DeleteRobotTaskResponseBody extends $tea.Model {
723
+ export class DegradeVideoFileResponseBody extends $tea.Model {
724
+ accessDeniedDetail?: string;
862
725
  code?: string;
863
- data?: string;
726
+ data?: { [key: string]: any };
864
727
  message?: string;
865
- requestId?: string;
728
+ success?: boolean;
866
729
  static names(): { [key: string]: string } {
867
730
  return {
731
+ accessDeniedDetail: 'AccessDeniedDetail',
868
732
  code: 'Code',
869
733
  data: 'Data',
870
734
  message: 'Message',
871
- requestId: 'RequestId',
735
+ success: 'Success',
872
736
  };
873
737
  }
874
738
 
875
739
  static types(): { [key: string]: any } {
876
740
  return {
741
+ accessDeniedDetail: 'string',
877
742
  code: 'string',
878
- data: 'string',
743
+ data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
879
744
  message: 'string',
880
- requestId: 'string',
745
+ success: 'boolean',
881
746
  };
882
747
  }
883
748
 
@@ -886,12 +751,14 @@ export class DeleteRobotTaskResponseBody extends $tea.Model {
886
751
  }
887
752
  }
888
753
 
889
- export class DeleteRobotTaskResponse extends $tea.Model {
890
- headers: { [key: string]: string };
891
- body: DeleteRobotTaskResponseBody;
754
+ export class DegradeVideoFileResponse extends $tea.Model {
755
+ headers?: { [key: string]: string };
756
+ statusCode?: number;
757
+ body?: DegradeVideoFileResponseBody;
892
758
  static names(): { [key: string]: string } {
893
759
  return {
894
760
  headers: 'headers',
761
+ statusCode: 'statusCode',
895
762
  body: 'body',
896
763
  };
897
764
  }
@@ -899,7 +766,8 @@ export class DeleteRobotTaskResponse extends $tea.Model {
899
766
  static types(): { [key: string]: any } {
900
767
  return {
901
768
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
902
- body: DeleteRobotTaskResponseBody,
769
+ statusCode: 'number',
770
+ body: DegradeVideoFileResponseBody,
903
771
  };
904
772
  }
905
773
 
@@ -908,31 +776,25 @@ export class DeleteRobotTaskResponse extends $tea.Model {
908
776
  }
909
777
  }
910
778
 
911
- export class ExecuteCallTaskRequest extends $tea.Model {
912
- fireTime?: string;
779
+ export class DeleteRobotTaskRequest extends $tea.Model {
913
780
  ownerId?: number;
914
781
  resourceOwnerAccount?: string;
915
782
  resourceOwnerId?: number;
916
- status?: string;
917
783
  taskId?: number;
918
784
  static names(): { [key: string]: string } {
919
785
  return {
920
- fireTime: 'FireTime',
921
786
  ownerId: 'OwnerId',
922
787
  resourceOwnerAccount: 'ResourceOwnerAccount',
923
788
  resourceOwnerId: 'ResourceOwnerId',
924
- status: 'Status',
925
789
  taskId: 'TaskId',
926
790
  };
927
791
  }
928
792
 
929
793
  static types(): { [key: string]: any } {
930
794
  return {
931
- fireTime: 'string',
932
795
  ownerId: 'number',
933
796
  resourceOwnerAccount: 'string',
934
797
  resourceOwnerId: 'number',
935
- status: 'string',
936
798
  taskId: 'number',
937
799
  };
938
800
  }
@@ -942,14 +804,16 @@ export class ExecuteCallTaskRequest extends $tea.Model {
942
804
  }
943
805
  }
944
806
 
945
- export class ExecuteCallTaskResponseBody extends $tea.Model {
807
+ export class DeleteRobotTaskResponseBody extends $tea.Model {
946
808
  code?: string;
947
- data?: boolean;
809
+ data?: string;
810
+ message?: string;
948
811
  requestId?: string;
949
812
  static names(): { [key: string]: string } {
950
813
  return {
951
814
  code: 'Code',
952
815
  data: 'Data',
816
+ message: 'Message',
953
817
  requestId: 'RequestId',
954
818
  };
955
819
  }
@@ -957,7 +821,8 @@ export class ExecuteCallTaskResponseBody extends $tea.Model {
957
821
  static types(): { [key: string]: any } {
958
822
  return {
959
823
  code: 'string',
960
- data: 'boolean',
824
+ data: 'string',
825
+ message: 'string',
961
826
  requestId: 'string',
962
827
  };
963
828
  }
@@ -967,12 +832,14 @@ export class ExecuteCallTaskResponseBody extends $tea.Model {
967
832
  }
968
833
  }
969
834
 
970
- export class ExecuteCallTaskResponse extends $tea.Model {
971
- headers: { [key: string]: string };
972
- body: ExecuteCallTaskResponseBody;
835
+ export class DeleteRobotTaskResponse extends $tea.Model {
836
+ headers?: { [key: string]: string };
837
+ statusCode?: number;
838
+ body?: DeleteRobotTaskResponseBody;
973
839
  static names(): { [key: string]: string } {
974
840
  return {
975
841
  headers: 'headers',
842
+ statusCode: 'statusCode',
976
843
  body: 'body',
977
844
  };
978
845
  }
@@ -980,7 +847,8 @@ export class ExecuteCallTaskResponse extends $tea.Model {
980
847
  static types(): { [key: string]: any } {
981
848
  return {
982
849
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
983
- body: ExecuteCallTaskResponseBody,
850
+ statusCode: 'number',
851
+ body: DeleteRobotTaskResponseBody,
984
852
  };
985
853
  }
986
854
 
@@ -989,26 +857,32 @@ export class ExecuteCallTaskResponse extends $tea.Model {
989
857
  }
990
858
  }
991
859
 
992
- export class GetCallInfoRequest extends $tea.Model {
860
+ export class ExecuteCallTaskRequest extends $tea.Model {
861
+ fireTime?: string;
993
862
  ownerId?: number;
994
863
  resourceOwnerAccount?: string;
995
864
  resourceOwnerId?: number;
996
- rtcId?: string;
865
+ status?: string;
866
+ taskId?: number;
997
867
  static names(): { [key: string]: string } {
998
868
  return {
869
+ fireTime: 'FireTime',
999
870
  ownerId: 'OwnerId',
1000
871
  resourceOwnerAccount: 'ResourceOwnerAccount',
1001
872
  resourceOwnerId: 'ResourceOwnerId',
1002
- rtcId: 'RtcId',
873
+ status: 'Status',
874
+ taskId: 'TaskId',
1003
875
  };
1004
876
  }
1005
877
 
1006
878
  static types(): { [key: string]: any } {
1007
879
  return {
880
+ fireTime: 'string',
1008
881
  ownerId: 'number',
1009
882
  resourceOwnerAccount: 'string',
1010
883
  resourceOwnerId: 'number',
1011
- rtcId: 'string',
884
+ status: 'string',
885
+ taskId: 'number',
1012
886
  };
1013
887
  }
1014
888
 
@@ -1017,16 +891,14 @@ export class GetCallInfoRequest extends $tea.Model {
1017
891
  }
1018
892
  }
1019
893
 
1020
- export class GetCallInfoResponseBody extends $tea.Model {
894
+ export class ExecuteCallTaskResponseBody extends $tea.Model {
1021
895
  code?: string;
1022
- data?: GetCallInfoResponseBodyData;
1023
- message?: string;
896
+ data?: boolean;
1024
897
  requestId?: string;
1025
898
  static names(): { [key: string]: string } {
1026
899
  return {
1027
900
  code: 'Code',
1028
901
  data: 'Data',
1029
- message: 'Message',
1030
902
  requestId: 'RequestId',
1031
903
  };
1032
904
  }
@@ -1034,8 +906,7 @@ export class GetCallInfoResponseBody extends $tea.Model {
1034
906
  static types(): { [key: string]: any } {
1035
907
  return {
1036
908
  code: 'string',
1037
- data: GetCallInfoResponseBodyData,
1038
- message: 'string',
909
+ data: 'boolean',
1039
910
  requestId: 'string',
1040
911
  };
1041
912
  }
@@ -1045,12 +916,14 @@ export class GetCallInfoResponseBody extends $tea.Model {
1045
916
  }
1046
917
  }
1047
918
 
1048
- export class GetCallInfoResponse extends $tea.Model {
1049
- headers: { [key: string]: string };
1050
- body: GetCallInfoResponseBody;
919
+ export class ExecuteCallTaskResponse extends $tea.Model {
920
+ headers?: { [key: string]: string };
921
+ statusCode?: number;
922
+ body?: ExecuteCallTaskResponseBody;
1051
923
  static names(): { [key: string]: string } {
1052
924
  return {
1053
925
  headers: 'headers',
926
+ statusCode: 'statusCode',
1054
927
  body: 'body',
1055
928
  };
1056
929
  }
@@ -1058,7 +931,8 @@ export class GetCallInfoResponse extends $tea.Model {
1058
931
  static types(): { [key: string]: any } {
1059
932
  return {
1060
933
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1061
- body: GetCallInfoResponseBody,
934
+ statusCode: 'number',
935
+ body: ExecuteCallTaskResponseBody,
1062
936
  };
1063
937
  }
1064
938
 
@@ -1067,14 +941,16 @@ export class GetCallInfoResponse extends $tea.Model {
1067
941
  }
1068
942
  }
1069
943
 
1070
- export class GetHotlineQualificationByOrderRequest extends $tea.Model {
1071
- orderId?: string;
944
+ export class GetCallProgressRequest extends $tea.Model {
945
+ callId?: string;
946
+ calledNum?: string;
1072
947
  ownerId?: number;
1073
948
  resourceOwnerAccount?: string;
1074
949
  resourceOwnerId?: number;
1075
950
  static names(): { [key: string]: string } {
1076
951
  return {
1077
- orderId: 'OrderId',
952
+ callId: 'CallId',
953
+ calledNum: 'CalledNum',
1078
954
  ownerId: 'OwnerId',
1079
955
  resourceOwnerAccount: 'ResourceOwnerAccount',
1080
956
  resourceOwnerId: 'ResourceOwnerId',
@@ -1083,7 +959,8 @@ export class GetHotlineQualificationByOrderRequest extends $tea.Model {
1083
959
 
1084
960
  static types(): { [key: string]: any } {
1085
961
  return {
1086
- orderId: 'string',
962
+ callId: 'string',
963
+ calledNum: 'string',
1087
964
  ownerId: 'number',
1088
965
  resourceOwnerAccount: 'string',
1089
966
  resourceOwnerId: 'number',
@@ -1095,26 +972,29 @@ export class GetHotlineQualificationByOrderRequest extends $tea.Model {
1095
972
  }
1096
973
  }
1097
974
 
1098
- export class GetHotlineQualificationByOrderResponseBody extends $tea.Model {
975
+ export class GetCallProgressResponseBody extends $tea.Model {
976
+ accessDeniedDetail?: string;
1099
977
  code?: string;
1100
- data?: GetHotlineQualificationByOrderResponseBodyData;
1101
978
  message?: string;
1102
- requestId?: string;
979
+ model?: { [key: string]: any };
980
+ success?: boolean;
1103
981
  static names(): { [key: string]: string } {
1104
982
  return {
983
+ accessDeniedDetail: 'AccessDeniedDetail',
1105
984
  code: 'Code',
1106
- data: 'Data',
1107
985
  message: 'Message',
1108
- requestId: 'RequestId',
986
+ model: 'Model',
987
+ success: 'Success',
1109
988
  };
1110
989
  }
1111
990
 
1112
991
  static types(): { [key: string]: any } {
1113
992
  return {
993
+ accessDeniedDetail: 'string',
1114
994
  code: 'string',
1115
- data: GetHotlineQualificationByOrderResponseBodyData,
1116
995
  message: 'string',
1117
- requestId: 'string',
996
+ model: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
997
+ success: 'boolean',
1118
998
  };
1119
999
  }
1120
1000
 
@@ -1123,12 +1003,14 @@ export class GetHotlineQualificationByOrderResponseBody extends $tea.Model {
1123
1003
  }
1124
1004
  }
1125
1005
 
1126
- export class GetHotlineQualificationByOrderResponse extends $tea.Model {
1127
- headers: { [key: string]: string };
1128
- body: GetHotlineQualificationByOrderResponseBody;
1006
+ export class GetCallProgressResponse extends $tea.Model {
1007
+ headers?: { [key: string]: string };
1008
+ statusCode?: number;
1009
+ body?: GetCallProgressResponseBody;
1129
1010
  static names(): { [key: string]: string } {
1130
1011
  return {
1131
1012
  headers: 'headers',
1013
+ statusCode: 'statusCode',
1132
1014
  body: 'body',
1133
1015
  };
1134
1016
  }
@@ -1136,7 +1018,8 @@ export class GetHotlineQualificationByOrderResponse extends $tea.Model {
1136
1018
  static types(): { [key: string]: any } {
1137
1019
  return {
1138
1020
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1139
- body: GetHotlineQualificationByOrderResponseBody,
1021
+ statusCode: 'number',
1022
+ body: GetCallProgressResponseBody,
1140
1023
  };
1141
1024
  }
1142
1025
 
@@ -1145,12 +1028,14 @@ export class GetHotlineQualificationByOrderResponse extends $tea.Model {
1145
1028
  }
1146
1029
  }
1147
1030
 
1148
- export class GetMqttTokenRequest extends $tea.Model {
1031
+ export class GetHotlineQualificationByOrderRequest extends $tea.Model {
1032
+ orderId?: string;
1149
1033
  ownerId?: number;
1150
1034
  resourceOwnerAccount?: string;
1151
1035
  resourceOwnerId?: number;
1152
1036
  static names(): { [key: string]: string } {
1153
1037
  return {
1038
+ orderId: 'OrderId',
1154
1039
  ownerId: 'OwnerId',
1155
1040
  resourceOwnerAccount: 'ResourceOwnerAccount',
1156
1041
  resourceOwnerId: 'ResourceOwnerId',
@@ -1159,6 +1044,7 @@ export class GetMqttTokenRequest extends $tea.Model {
1159
1044
 
1160
1045
  static types(): { [key: string]: any } {
1161
1046
  return {
1047
+ orderId: 'string',
1162
1048
  ownerId: 'number',
1163
1049
  resourceOwnerAccount: 'string',
1164
1050
  resourceOwnerId: 'number',
@@ -1170,9 +1056,9 @@ export class GetMqttTokenRequest extends $tea.Model {
1170
1056
  }
1171
1057
  }
1172
1058
 
1173
- export class GetMqttTokenResponseBody extends $tea.Model {
1059
+ export class GetHotlineQualificationByOrderResponseBody extends $tea.Model {
1174
1060
  code?: string;
1175
- data?: GetMqttTokenResponseBodyData;
1061
+ data?: GetHotlineQualificationByOrderResponseBodyData;
1176
1062
  message?: string;
1177
1063
  requestId?: string;
1178
1064
  static names(): { [key: string]: string } {
@@ -1187,7 +1073,7 @@ export class GetMqttTokenResponseBody extends $tea.Model {
1187
1073
  static types(): { [key: string]: any } {
1188
1074
  return {
1189
1075
  code: 'string',
1190
- data: GetMqttTokenResponseBodyData,
1076
+ data: GetHotlineQualificationByOrderResponseBodyData,
1191
1077
  message: 'string',
1192
1078
  requestId: 'string',
1193
1079
  };
@@ -1198,12 +1084,14 @@ export class GetMqttTokenResponseBody extends $tea.Model {
1198
1084
  }
1199
1085
  }
1200
1086
 
1201
- export class GetMqttTokenResponse extends $tea.Model {
1202
- headers: { [key: string]: string };
1203
- body: GetMqttTokenResponseBody;
1087
+ export class GetHotlineQualificationByOrderResponse extends $tea.Model {
1088
+ headers?: { [key: string]: string };
1089
+ statusCode?: number;
1090
+ body?: GetHotlineQualificationByOrderResponseBody;
1204
1091
  static names(): { [key: string]: string } {
1205
1092
  return {
1206
1093
  headers: 'headers',
1094
+ statusCode: 'statusCode',
1207
1095
  body: 'body',
1208
1096
  };
1209
1097
  }
@@ -1211,7 +1099,8 @@ export class GetMqttTokenResponse extends $tea.Model {
1211
1099
  static types(): { [key: string]: any } {
1212
1100
  return {
1213
1101
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1214
- body: GetMqttTokenResponseBody,
1102
+ statusCode: 'number',
1103
+ body: GetHotlineQualificationByOrderResponseBody,
1215
1104
  };
1216
1105
  }
1217
1106
 
@@ -1220,32 +1109,26 @@ export class GetMqttTokenResponse extends $tea.Model {
1220
1109
  }
1221
1110
  }
1222
1111
 
1223
- export class GetRtcTokenRequest extends $tea.Model {
1224
- deviceId?: string;
1225
- isCustomAccount?: boolean;
1112
+ export class GetTokenRequest extends $tea.Model {
1226
1113
  ownerId?: number;
1227
1114
  resourceOwnerAccount?: string;
1228
1115
  resourceOwnerId?: number;
1229
- userId?: string;
1116
+ tokenType?: string;
1230
1117
  static names(): { [key: string]: string } {
1231
1118
  return {
1232
- deviceId: 'DeviceId',
1233
- isCustomAccount: 'IsCustomAccount',
1234
1119
  ownerId: 'OwnerId',
1235
1120
  resourceOwnerAccount: 'ResourceOwnerAccount',
1236
1121
  resourceOwnerId: 'ResourceOwnerId',
1237
- userId: 'UserId',
1122
+ tokenType: 'TokenType',
1238
1123
  };
1239
1124
  }
1240
1125
 
1241
1126
  static types(): { [key: string]: any } {
1242
1127
  return {
1243
- deviceId: 'string',
1244
- isCustomAccount: 'boolean',
1245
1128
  ownerId: 'number',
1246
1129
  resourceOwnerAccount: 'string',
1247
1130
  resourceOwnerId: 'number',
1248
- userId: 'string',
1131
+ tokenType: 'string',
1249
1132
  };
1250
1133
  }
1251
1134
 
@@ -1254,17 +1137,19 @@ export class GetRtcTokenRequest extends $tea.Model {
1254
1137
  }
1255
1138
  }
1256
1139
 
1257
- export class GetRtcTokenResponseBody extends $tea.Model {
1140
+ export class GetTokenResponseBody extends $tea.Model {
1258
1141
  code?: string;
1259
1142
  message?: string;
1260
- module?: string;
1261
1143
  requestId?: string;
1144
+ success?: boolean;
1145
+ token?: string;
1262
1146
  static names(): { [key: string]: string } {
1263
1147
  return {
1264
1148
  code: 'Code',
1265
1149
  message: 'Message',
1266
- module: 'Module',
1267
1150
  requestId: 'RequestId',
1151
+ success: 'Success',
1152
+ token: 'Token',
1268
1153
  };
1269
1154
  }
1270
1155
 
@@ -1272,8 +1157,9 @@ export class GetRtcTokenResponseBody extends $tea.Model {
1272
1157
  return {
1273
1158
  code: 'string',
1274
1159
  message: 'string',
1275
- module: 'string',
1276
1160
  requestId: 'string',
1161
+ success: 'boolean',
1162
+ token: 'string',
1277
1163
  };
1278
1164
  }
1279
1165
 
@@ -1282,12 +1168,14 @@ export class GetRtcTokenResponseBody extends $tea.Model {
1282
1168
  }
1283
1169
  }
1284
1170
 
1285
- export class GetRtcTokenResponse extends $tea.Model {
1286
- headers: { [key: string]: string };
1287
- body: GetRtcTokenResponseBody;
1171
+ export class GetTokenResponse extends $tea.Model {
1172
+ headers?: { [key: string]: string };
1173
+ statusCode?: number;
1174
+ body?: GetTokenResponseBody;
1288
1175
  static names(): { [key: string]: string } {
1289
1176
  return {
1290
1177
  headers: 'headers',
1178
+ statusCode: 'statusCode',
1291
1179
  body: 'body',
1292
1180
  };
1293
1181
  }
@@ -1295,7 +1183,8 @@ export class GetRtcTokenResponse extends $tea.Model {
1295
1183
  static types(): { [key: string]: any } {
1296
1184
  return {
1297
1185
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1298
- body: GetRtcTokenResponseBody,
1186
+ statusCode: 'number',
1187
+ body: GetTokenResponseBody,
1299
1188
  };
1300
1189
  }
1301
1190
 
@@ -1304,17 +1193,17 @@ export class GetRtcTokenResponse extends $tea.Model {
1304
1193
  }
1305
1194
  }
1306
1195
 
1307
- export class GetTokenRequest extends $tea.Model {
1196
+ export class GetVideoFieldUrlRequest extends $tea.Model {
1308
1197
  ownerId?: number;
1309
1198
  resourceOwnerAccount?: string;
1310
1199
  resourceOwnerId?: number;
1311
- tokenType?: string;
1200
+ videoFile?: string;
1312
1201
  static names(): { [key: string]: string } {
1313
1202
  return {
1314
1203
  ownerId: 'OwnerId',
1315
1204
  resourceOwnerAccount: 'ResourceOwnerAccount',
1316
1205
  resourceOwnerId: 'ResourceOwnerId',
1317
- tokenType: 'TokenType',
1206
+ videoFile: 'VideoFile',
1318
1207
  };
1319
1208
  }
1320
1209
 
@@ -1323,7 +1212,7 @@ export class GetTokenRequest extends $tea.Model {
1323
1212
  ownerId: 'number',
1324
1213
  resourceOwnerAccount: 'string',
1325
1214
  resourceOwnerId: 'number',
1326
- tokenType: 'string',
1215
+ videoFile: 'string',
1327
1216
  };
1328
1217
  }
1329
1218
 
@@ -1332,29 +1221,29 @@ export class GetTokenRequest extends $tea.Model {
1332
1221
  }
1333
1222
  }
1334
1223
 
1335
- export class GetTokenResponseBody extends $tea.Model {
1224
+ export class GetVideoFieldUrlResponseBody extends $tea.Model {
1225
+ accessDeniedDetail?: string;
1336
1226
  code?: string;
1337
1227
  message?: string;
1338
- requestId?: string;
1228
+ model?: { [key: string]: any };
1339
1229
  success?: boolean;
1340
- token?: string;
1341
1230
  static names(): { [key: string]: string } {
1342
1231
  return {
1232
+ accessDeniedDetail: 'AccessDeniedDetail',
1343
1233
  code: 'Code',
1344
1234
  message: 'Message',
1345
- requestId: 'RequestId',
1235
+ model: 'Model',
1346
1236
  success: 'Success',
1347
- token: 'Token',
1348
1237
  };
1349
1238
  }
1350
1239
 
1351
1240
  static types(): { [key: string]: any } {
1352
1241
  return {
1242
+ accessDeniedDetail: 'string',
1353
1243
  code: 'string',
1354
1244
  message: 'string',
1355
- requestId: 'string',
1245
+ model: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1356
1246
  success: 'boolean',
1357
- token: 'string',
1358
1247
  };
1359
1248
  }
1360
1249
 
@@ -1363,12 +1252,14 @@ export class GetTokenResponseBody extends $tea.Model {
1363
1252
  }
1364
1253
  }
1365
1254
 
1366
- export class GetTokenResponse extends $tea.Model {
1367
- headers: { [key: string]: string };
1368
- body: GetTokenResponseBody;
1255
+ export class GetVideoFieldUrlResponse extends $tea.Model {
1256
+ headers?: { [key: string]: string };
1257
+ statusCode?: number;
1258
+ body?: GetVideoFieldUrlResponseBody;
1369
1259
  static names(): { [key: string]: string } {
1370
1260
  return {
1371
1261
  headers: 'headers',
1262
+ statusCode: 'statusCode',
1372
1263
  body: 'body',
1373
1264
  };
1374
1265
  }
@@ -1376,7 +1267,8 @@ export class GetTokenResponse extends $tea.Model {
1376
1267
  static types(): { [key: string]: any } {
1377
1268
  return {
1378
1269
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1379
- body: GetTokenResponseBody,
1270
+ statusCode: 'number',
1271
+ body: GetVideoFieldUrlResponseBody,
1380
1272
  };
1381
1273
  }
1382
1274
 
@@ -1469,11 +1361,13 @@ export class IvrCallResponseBody extends $tea.Model {
1469
1361
  }
1470
1362
 
1471
1363
  export class IvrCallResponse extends $tea.Model {
1472
- headers: { [key: string]: string };
1473
- body: IvrCallResponseBody;
1364
+ headers?: { [key: string]: string };
1365
+ statusCode?: number;
1366
+ body?: IvrCallResponseBody;
1474
1367
  static names(): { [key: string]: string } {
1475
1368
  return {
1476
1369
  headers: 'headers',
1370
+ statusCode: 'statusCode',
1477
1371
  body: 'body',
1478
1372
  };
1479
1373
  }
@@ -1481,6 +1375,7 @@ export class IvrCallResponse extends $tea.Model {
1481
1375
  static types(): { [key: string]: any } {
1482
1376
  return {
1483
1377
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1378
+ statusCode: 'number',
1484
1379
  body: IvrCallResponseBody,
1485
1380
  };
1486
1381
  }
@@ -1571,11 +1466,13 @@ export class ListCallTaskResponseBody extends $tea.Model {
1571
1466
  }
1572
1467
 
1573
1468
  export class ListCallTaskResponse extends $tea.Model {
1574
- headers: { [key: string]: string };
1575
- body: ListCallTaskResponseBody;
1469
+ headers?: { [key: string]: string };
1470
+ statusCode?: number;
1471
+ body?: ListCallTaskResponseBody;
1576
1472
  static names(): { [key: string]: string } {
1577
1473
  return {
1578
1474
  headers: 'headers',
1475
+ statusCode: 'statusCode',
1579
1476
  body: 'body',
1580
1477
  };
1581
1478
  }
@@ -1583,6 +1480,7 @@ export class ListCallTaskResponse extends $tea.Model {
1583
1480
  static types(): { [key: string]: any } {
1584
1481
  return {
1585
1482
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1483
+ statusCode: 'number',
1586
1484
  body: ListCallTaskResponseBody,
1587
1485
  };
1588
1486
  }
@@ -1670,11 +1568,13 @@ export class ListCallTaskDetailResponseBody extends $tea.Model {
1670
1568
  }
1671
1569
 
1672
1570
  export class ListCallTaskDetailResponse extends $tea.Model {
1673
- headers: { [key: string]: string };
1674
- body: ListCallTaskDetailResponseBody;
1571
+ headers?: { [key: string]: string };
1572
+ statusCode?: number;
1573
+ body?: ListCallTaskDetailResponseBody;
1675
1574
  static names(): { [key: string]: string } {
1676
1575
  return {
1677
1576
  headers: 'headers',
1577
+ statusCode: 'statusCode',
1678
1578
  body: 'body',
1679
1579
  };
1680
1580
  }
@@ -1682,6 +1582,7 @@ export class ListCallTaskDetailResponse extends $tea.Model {
1682
1582
  static types(): { [key: string]: any } {
1683
1583
  return {
1684
1584
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1585
+ statusCode: 'number',
1685
1586
  body: ListCallTaskDetailResponseBody,
1686
1587
  };
1687
1588
  }
@@ -1757,11 +1658,13 @@ export class ListHotlineTransferNumberResponseBody extends $tea.Model {
1757
1658
  }
1758
1659
 
1759
1660
  export class ListHotlineTransferNumberResponse extends $tea.Model {
1760
- headers: { [key: string]: string };
1761
- body: ListHotlineTransferNumberResponseBody;
1661
+ headers?: { [key: string]: string };
1662
+ statusCode?: number;
1663
+ body?: ListHotlineTransferNumberResponseBody;
1762
1664
  static names(): { [key: string]: string } {
1763
1665
  return {
1764
1666
  headers: 'headers',
1667
+ statusCode: 'statusCode',
1765
1668
  body: 'body',
1766
1669
  };
1767
1670
  }
@@ -1769,6 +1672,7 @@ export class ListHotlineTransferNumberResponse extends $tea.Model {
1769
1672
  static types(): { [key: string]: any } {
1770
1673
  return {
1771
1674
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1675
+ statusCode: 'number',
1772
1676
  body: ListHotlineTransferNumberResponseBody,
1773
1677
  };
1774
1678
  }
@@ -1844,11 +1748,13 @@ export class ListHotlineTransferRegisterFileResponseBody extends $tea.Model {
1844
1748
  }
1845
1749
 
1846
1750
  export class ListHotlineTransferRegisterFileResponse extends $tea.Model {
1847
- headers: { [key: string]: string };
1848
- body: ListHotlineTransferRegisterFileResponseBody;
1751
+ headers?: { [key: string]: string };
1752
+ statusCode?: number;
1753
+ body?: ListHotlineTransferRegisterFileResponseBody;
1849
1754
  static names(): { [key: string]: string } {
1850
1755
  return {
1851
1756
  headers: 'headers',
1757
+ statusCode: 'statusCode',
1852
1758
  body: 'body',
1853
1759
  };
1854
1760
  }
@@ -1856,6 +1762,7 @@ export class ListHotlineTransferRegisterFileResponse extends $tea.Model {
1856
1762
  static types(): { [key: string]: any } {
1857
1763
  return {
1858
1764
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1765
+ statusCode: 'number',
1859
1766
  body: ListHotlineTransferRegisterFileResponseBody,
1860
1767
  };
1861
1768
  }
@@ -1865,6 +1772,186 @@ export class ListHotlineTransferRegisterFileResponse extends $tea.Model {
1865
1772
  }
1866
1773
  }
1867
1774
 
1775
+ export class PauseVideoFileRequest extends $tea.Model {
1776
+ callId?: string;
1777
+ calledNumber?: string;
1778
+ ownerId?: number;
1779
+ resourceOwnerAccount?: string;
1780
+ resourceOwnerId?: number;
1781
+ static names(): { [key: string]: string } {
1782
+ return {
1783
+ callId: 'CallId',
1784
+ calledNumber: 'CalledNumber',
1785
+ ownerId: 'OwnerId',
1786
+ resourceOwnerAccount: 'ResourceOwnerAccount',
1787
+ resourceOwnerId: 'ResourceOwnerId',
1788
+ };
1789
+ }
1790
+
1791
+ static types(): { [key: string]: any } {
1792
+ return {
1793
+ callId: 'string',
1794
+ calledNumber: 'string',
1795
+ ownerId: 'number',
1796
+ resourceOwnerAccount: 'string',
1797
+ resourceOwnerId: 'number',
1798
+ };
1799
+ }
1800
+
1801
+ constructor(map?: { [key: string]: any }) {
1802
+ super(map);
1803
+ }
1804
+ }
1805
+
1806
+ export class PauseVideoFileResponseBody extends $tea.Model {
1807
+ accessDeniedDetail?: string;
1808
+ code?: string;
1809
+ data?: { [key: string]: any };
1810
+ message?: string;
1811
+ success?: boolean;
1812
+ static names(): { [key: string]: string } {
1813
+ return {
1814
+ accessDeniedDetail: 'AccessDeniedDetail',
1815
+ code: 'Code',
1816
+ data: 'Data',
1817
+ message: 'Message',
1818
+ success: 'Success',
1819
+ };
1820
+ }
1821
+
1822
+ static types(): { [key: string]: any } {
1823
+ return {
1824
+ accessDeniedDetail: 'string',
1825
+ code: 'string',
1826
+ data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1827
+ message: 'string',
1828
+ success: 'boolean',
1829
+ };
1830
+ }
1831
+
1832
+ constructor(map?: { [key: string]: any }) {
1833
+ super(map);
1834
+ }
1835
+ }
1836
+
1837
+ export class PauseVideoFileResponse extends $tea.Model {
1838
+ headers?: { [key: string]: string };
1839
+ statusCode?: number;
1840
+ body?: PauseVideoFileResponseBody;
1841
+ static names(): { [key: string]: string } {
1842
+ return {
1843
+ headers: 'headers',
1844
+ statusCode: 'statusCode',
1845
+ body: 'body',
1846
+ };
1847
+ }
1848
+
1849
+ static types(): { [key: string]: any } {
1850
+ return {
1851
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1852
+ statusCode: 'number',
1853
+ body: PauseVideoFileResponseBody,
1854
+ };
1855
+ }
1856
+
1857
+ constructor(map?: { [key: string]: any }) {
1858
+ super(map);
1859
+ }
1860
+ }
1861
+
1862
+ export class PlayVideoFileRequest extends $tea.Model {
1863
+ callId?: string;
1864
+ calledNumber?: string;
1865
+ outId?: string;
1866
+ ownerId?: number;
1867
+ resourceOwnerAccount?: string;
1868
+ resourceOwnerId?: number;
1869
+ videoId?: string;
1870
+ static names(): { [key: string]: string } {
1871
+ return {
1872
+ callId: 'CallId',
1873
+ calledNumber: 'CalledNumber',
1874
+ outId: 'OutId',
1875
+ ownerId: 'OwnerId',
1876
+ resourceOwnerAccount: 'ResourceOwnerAccount',
1877
+ resourceOwnerId: 'ResourceOwnerId',
1878
+ videoId: 'VideoId',
1879
+ };
1880
+ }
1881
+
1882
+ static types(): { [key: string]: any } {
1883
+ return {
1884
+ callId: 'string',
1885
+ calledNumber: 'string',
1886
+ outId: 'string',
1887
+ ownerId: 'number',
1888
+ resourceOwnerAccount: 'string',
1889
+ resourceOwnerId: 'number',
1890
+ videoId: 'string',
1891
+ };
1892
+ }
1893
+
1894
+ constructor(map?: { [key: string]: any }) {
1895
+ super(map);
1896
+ }
1897
+ }
1898
+
1899
+ export class PlayVideoFileResponseBody extends $tea.Model {
1900
+ accessDeniedDetail?: string;
1901
+ code?: string;
1902
+ message?: string;
1903
+ model?: boolean;
1904
+ success?: boolean;
1905
+ static names(): { [key: string]: string } {
1906
+ return {
1907
+ accessDeniedDetail: 'AccessDeniedDetail',
1908
+ code: 'Code',
1909
+ message: 'Message',
1910
+ model: 'Model',
1911
+ success: 'Success',
1912
+ };
1913
+ }
1914
+
1915
+ static types(): { [key: string]: any } {
1916
+ return {
1917
+ accessDeniedDetail: 'string',
1918
+ code: 'string',
1919
+ message: 'string',
1920
+ model: 'boolean',
1921
+ success: 'boolean',
1922
+ };
1923
+ }
1924
+
1925
+ constructor(map?: { [key: string]: any }) {
1926
+ super(map);
1927
+ }
1928
+ }
1929
+
1930
+ export class PlayVideoFileResponse extends $tea.Model {
1931
+ headers?: { [key: string]: string };
1932
+ statusCode?: number;
1933
+ body?: PlayVideoFileResponseBody;
1934
+ static names(): { [key: string]: string } {
1935
+ return {
1936
+ headers: 'headers',
1937
+ statusCode: 'statusCode',
1938
+ body: 'body',
1939
+ };
1940
+ }
1941
+
1942
+ static types(): { [key: string]: any } {
1943
+ return {
1944
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1945
+ statusCode: 'number',
1946
+ body: PlayVideoFileResponseBody,
1947
+ };
1948
+ }
1949
+
1950
+ constructor(map?: { [key: string]: any }) {
1951
+ super(map);
1952
+ }
1953
+ }
1954
+
1868
1955
  export class QueryCallDetailByCallIdRequest extends $tea.Model {
1869
1956
  callId?: string;
1870
1957
  ownerId?: number;
@@ -1928,11 +2015,13 @@ export class QueryCallDetailByCallIdResponseBody extends $tea.Model {
1928
2015
  }
1929
2016
 
1930
2017
  export class QueryCallDetailByCallIdResponse extends $tea.Model {
1931
- headers: { [key: string]: string };
1932
- body: QueryCallDetailByCallIdResponseBody;
2018
+ headers?: { [key: string]: string };
2019
+ statusCode?: number;
2020
+ body?: QueryCallDetailByCallIdResponseBody;
1933
2021
  static names(): { [key: string]: string } {
1934
2022
  return {
1935
2023
  headers: 'headers',
2024
+ statusCode: 'statusCode',
1936
2025
  body: 'body',
1937
2026
  };
1938
2027
  }
@@ -1940,6 +2029,7 @@ export class QueryCallDetailByCallIdResponse extends $tea.Model {
1940
2029
  static types(): { [key: string]: any } {
1941
2030
  return {
1942
2031
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2032
+ statusCode: 'number',
1943
2033
  body: QueryCallDetailByCallIdResponseBody,
1944
2034
  };
1945
2035
  }
@@ -2012,11 +2102,13 @@ export class QueryCallDetailByTaskIdResponseBody extends $tea.Model {
2012
2102
  }
2013
2103
 
2014
2104
  export class QueryCallDetailByTaskIdResponse extends $tea.Model {
2015
- headers: { [key: string]: string };
2016
- body: QueryCallDetailByTaskIdResponseBody;
2105
+ headers?: { [key: string]: string };
2106
+ statusCode?: number;
2107
+ body?: QueryCallDetailByTaskIdResponseBody;
2017
2108
  static names(): { [key: string]: string } {
2018
2109
  return {
2019
2110
  headers: 'headers',
2111
+ statusCode: 'statusCode',
2020
2112
  body: 'body',
2021
2113
  };
2022
2114
  }
@@ -2024,6 +2116,7 @@ export class QueryCallDetailByTaskIdResponse extends $tea.Model {
2024
2116
  static types(): { [key: string]: any } {
2025
2117
  return {
2026
2118
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2119
+ statusCode: 'number',
2027
2120
  body: QueryCallDetailByTaskIdResponseBody,
2028
2121
  };
2029
2122
  }
@@ -2090,11 +2183,13 @@ export class QueryCallInPoolTransferConfigResponseBody extends $tea.Model {
2090
2183
  }
2091
2184
 
2092
2185
  export class QueryCallInPoolTransferConfigResponse extends $tea.Model {
2093
- headers: { [key: string]: string };
2094
- body: QueryCallInPoolTransferConfigResponseBody;
2186
+ headers?: { [key: string]: string };
2187
+ statusCode?: number;
2188
+ body?: QueryCallInPoolTransferConfigResponseBody;
2095
2189
  static names(): { [key: string]: string } {
2096
2190
  return {
2097
2191
  headers: 'headers',
2192
+ statusCode: 'statusCode',
2098
2193
  body: 'body',
2099
2194
  };
2100
2195
  }
@@ -2102,6 +2197,7 @@ export class QueryCallInPoolTransferConfigResponse extends $tea.Model {
2102
2197
  static types(): { [key: string]: any } {
2103
2198
  return {
2104
2199
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2200
+ statusCode: 'number',
2105
2201
  body: QueryCallInPoolTransferConfigResponseBody,
2106
2202
  };
2107
2203
  }
@@ -2180,11 +2276,13 @@ export class QueryCallInTransferRecordResponseBody extends $tea.Model {
2180
2276
  }
2181
2277
 
2182
2278
  export class QueryCallInTransferRecordResponse extends $tea.Model {
2183
- headers: { [key: string]: string };
2184
- body: QueryCallInTransferRecordResponseBody;
2279
+ headers?: { [key: string]: string };
2280
+ statusCode?: number;
2281
+ body?: QueryCallInTransferRecordResponseBody;
2185
2282
  static names(): { [key: string]: string } {
2186
2283
  return {
2187
2284
  headers: 'headers',
2285
+ statusCode: 'statusCode',
2188
2286
  body: 'body',
2189
2287
  };
2190
2288
  }
@@ -2192,6 +2290,7 @@ export class QueryCallInTransferRecordResponse extends $tea.Model {
2192
2290
  static types(): { [key: string]: any } {
2193
2291
  return {
2194
2292
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2293
+ statusCode: 'number',
2195
2294
  body: QueryCallInTransferRecordResponseBody,
2196
2295
  };
2197
2296
  }
@@ -2258,11 +2357,13 @@ export class QueryRobotInfoListResponseBody extends $tea.Model {
2258
2357
  }
2259
2358
 
2260
2359
  export class QueryRobotInfoListResponse extends $tea.Model {
2261
- headers: { [key: string]: string };
2262
- body: QueryRobotInfoListResponseBody;
2360
+ headers?: { [key: string]: string };
2361
+ statusCode?: number;
2362
+ body?: QueryRobotInfoListResponseBody;
2263
2363
  static names(): { [key: string]: string } {
2264
2364
  return {
2265
2365
  headers: 'headers',
2366
+ statusCode: 'statusCode',
2266
2367
  body: 'body',
2267
2368
  };
2268
2369
  }
@@ -2270,6 +2371,7 @@ export class QueryRobotInfoListResponse extends $tea.Model {
2270
2371
  static types(): { [key: string]: any } {
2271
2372
  return {
2272
2373
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2374
+ statusCode: 'number',
2273
2375
  body: QueryRobotInfoListResponseBody,
2274
2376
  };
2275
2377
  }
@@ -2342,11 +2444,13 @@ export class QueryRobotTaskCallDetailResponseBody extends $tea.Model {
2342
2444
  }
2343
2445
 
2344
2446
  export class QueryRobotTaskCallDetailResponse extends $tea.Model {
2345
- headers: { [key: string]: string };
2346
- body: QueryRobotTaskCallDetailResponseBody;
2447
+ headers?: { [key: string]: string };
2448
+ statusCode?: number;
2449
+ body?: QueryRobotTaskCallDetailResponseBody;
2347
2450
  static names(): { [key: string]: string } {
2348
2451
  return {
2349
2452
  headers: 'headers',
2453
+ statusCode: 'statusCode',
2350
2454
  body: 'body',
2351
2455
  };
2352
2456
  }
@@ -2354,6 +2458,7 @@ export class QueryRobotTaskCallDetailResponse extends $tea.Model {
2354
2458
  static types(): { [key: string]: any } {
2355
2459
  return {
2356
2460
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2461
+ statusCode: 'number',
2357
2462
  body: QueryRobotTaskCallDetailResponseBody,
2358
2463
  };
2359
2464
  }
@@ -2447,11 +2552,13 @@ export class QueryRobotTaskCallListResponseBody extends $tea.Model {
2447
2552
  }
2448
2553
 
2449
2554
  export class QueryRobotTaskCallListResponse extends $tea.Model {
2450
- headers: { [key: string]: string };
2451
- body: QueryRobotTaskCallListResponseBody;
2555
+ headers?: { [key: string]: string };
2556
+ statusCode?: number;
2557
+ body?: QueryRobotTaskCallListResponseBody;
2452
2558
  static names(): { [key: string]: string } {
2453
2559
  return {
2454
2560
  headers: 'headers',
2561
+ statusCode: 'statusCode',
2455
2562
  body: 'body',
2456
2563
  };
2457
2564
  }
@@ -2459,6 +2566,7 @@ export class QueryRobotTaskCallListResponse extends $tea.Model {
2459
2566
  static types(): { [key: string]: any } {
2460
2567
  return {
2461
2568
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2569
+ statusCode: 'number',
2462
2570
  body: QueryRobotTaskCallListResponseBody,
2463
2571
  };
2464
2572
  }
@@ -2525,11 +2633,13 @@ export class QueryRobotTaskDetailResponseBody extends $tea.Model {
2525
2633
  }
2526
2634
 
2527
2635
  export class QueryRobotTaskDetailResponse extends $tea.Model {
2528
- headers: { [key: string]: string };
2529
- body: QueryRobotTaskDetailResponseBody;
2636
+ headers?: { [key: string]: string };
2637
+ statusCode?: number;
2638
+ body?: QueryRobotTaskDetailResponseBody;
2530
2639
  static names(): { [key: string]: string } {
2531
2640
  return {
2532
2641
  headers: 'headers',
2642
+ statusCode: 'statusCode',
2533
2643
  body: 'body',
2534
2644
  };
2535
2645
  }
@@ -2537,6 +2647,7 @@ export class QueryRobotTaskDetailResponse extends $tea.Model {
2537
2647
  static types(): { [key: string]: any } {
2538
2648
  return {
2539
2649
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2650
+ statusCode: 'number',
2540
2651
  body: QueryRobotTaskDetailResponseBody,
2541
2652
  };
2542
2653
  }
@@ -2624,11 +2735,13 @@ export class QueryRobotTaskListResponseBody extends $tea.Model {
2624
2735
  }
2625
2736
 
2626
2737
  export class QueryRobotTaskListResponse extends $tea.Model {
2627
- headers: { [key: string]: string };
2628
- body: QueryRobotTaskListResponseBody;
2738
+ headers?: { [key: string]: string };
2739
+ statusCode?: number;
2740
+ body?: QueryRobotTaskListResponseBody;
2629
2741
  static names(): { [key: string]: string } {
2630
2742
  return {
2631
2743
  headers: 'headers',
2744
+ statusCode: 'statusCode',
2632
2745
  body: 'body',
2633
2746
  };
2634
2747
  }
@@ -2636,6 +2749,7 @@ export class QueryRobotTaskListResponse extends $tea.Model {
2636
2749
  static types(): { [key: string]: any } {
2637
2750
  return {
2638
2751
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2752
+ statusCode: 'number',
2639
2753
  body: QueryRobotTaskListResponseBody,
2640
2754
  };
2641
2755
  }
@@ -2699,11 +2813,13 @@ export class QueryRobotv2AllListResponseBody extends $tea.Model {
2699
2813
  }
2700
2814
 
2701
2815
  export class QueryRobotv2AllListResponse extends $tea.Model {
2702
- headers: { [key: string]: string };
2703
- body: QueryRobotv2AllListResponseBody;
2816
+ headers?: { [key: string]: string };
2817
+ statusCode?: number;
2818
+ body?: QueryRobotv2AllListResponseBody;
2704
2819
  static names(): { [key: string]: string } {
2705
2820
  return {
2706
2821
  headers: 'headers',
2822
+ statusCode: 'statusCode',
2707
2823
  body: 'body',
2708
2824
  };
2709
2825
  }
@@ -2711,6 +2827,7 @@ export class QueryRobotv2AllListResponse extends $tea.Model {
2711
2827
  static types(): { [key: string]: any } {
2712
2828
  return {
2713
2829
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2830
+ statusCode: 'number',
2714
2831
  body: QueryRobotv2AllListResponseBody,
2715
2832
  };
2716
2833
  }
@@ -2720,6 +2837,93 @@ export class QueryRobotv2AllListResponse extends $tea.Model {
2720
2837
  }
2721
2838
  }
2722
2839
 
2840
+ export class QueryVideoPlayProgressRequest extends $tea.Model {
2841
+ callId?: string;
2842
+ calledNumber?: string;
2843
+ ownerId?: number;
2844
+ resourceOwnerAccount?: string;
2845
+ resourceOwnerId?: number;
2846
+ static names(): { [key: string]: string } {
2847
+ return {
2848
+ callId: 'CallId',
2849
+ calledNumber: 'CalledNumber',
2850
+ ownerId: 'OwnerId',
2851
+ resourceOwnerAccount: 'ResourceOwnerAccount',
2852
+ resourceOwnerId: 'ResourceOwnerId',
2853
+ };
2854
+ }
2855
+
2856
+ static types(): { [key: string]: any } {
2857
+ return {
2858
+ callId: 'string',
2859
+ calledNumber: 'string',
2860
+ ownerId: 'number',
2861
+ resourceOwnerAccount: 'string',
2862
+ resourceOwnerId: 'number',
2863
+ };
2864
+ }
2865
+
2866
+ constructor(map?: { [key: string]: any }) {
2867
+ super(map);
2868
+ }
2869
+ }
2870
+
2871
+ export class QueryVideoPlayProgressResponseBody extends $tea.Model {
2872
+ accessDeniedDetail?: string;
2873
+ code?: string;
2874
+ data?: { [key: string]: any };
2875
+ message?: string;
2876
+ success?: boolean;
2877
+ static names(): { [key: string]: string } {
2878
+ return {
2879
+ accessDeniedDetail: 'AccessDeniedDetail',
2880
+ code: 'Code',
2881
+ data: 'Data',
2882
+ message: 'Message',
2883
+ success: 'Success',
2884
+ };
2885
+ }
2886
+
2887
+ static types(): { [key: string]: any } {
2888
+ return {
2889
+ accessDeniedDetail: 'string',
2890
+ code: 'string',
2891
+ data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
2892
+ message: 'string',
2893
+ success: 'boolean',
2894
+ };
2895
+ }
2896
+
2897
+ constructor(map?: { [key: string]: any }) {
2898
+ super(map);
2899
+ }
2900
+ }
2901
+
2902
+ export class QueryVideoPlayProgressResponse extends $tea.Model {
2903
+ headers?: { [key: string]: string };
2904
+ statusCode?: number;
2905
+ body?: QueryVideoPlayProgressResponseBody;
2906
+ static names(): { [key: string]: string } {
2907
+ return {
2908
+ headers: 'headers',
2909
+ statusCode: 'statusCode',
2910
+ body: 'body',
2911
+ };
2912
+ }
2913
+
2914
+ static types(): { [key: string]: any } {
2915
+ return {
2916
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2917
+ statusCode: 'number',
2918
+ body: QueryVideoPlayProgressResponseBody,
2919
+ };
2920
+ }
2921
+
2922
+ constructor(map?: { [key: string]: any }) {
2923
+ super(map);
2924
+ }
2925
+ }
2926
+
2723
2927
  export class QueryVirtualNumberRequest extends $tea.Model {
2724
2928
  ownerId?: number;
2725
2929
  pageNo?: number;
@@ -2783,11 +2987,13 @@ export class QueryVirtualNumberResponseBody extends $tea.Model {
2783
2987
  }
2784
2988
 
2785
2989
  export class QueryVirtualNumberResponse extends $tea.Model {
2786
- headers: { [key: string]: string };
2787
- body: QueryVirtualNumberResponseBody;
2990
+ headers?: { [key: string]: string };
2991
+ statusCode?: number;
2992
+ body?: QueryVirtualNumberResponseBody;
2788
2993
  static names(): { [key: string]: string } {
2789
2994
  return {
2790
2995
  headers: 'headers',
2996
+ statusCode: 'statusCode',
2791
2997
  body: 'body',
2792
2998
  };
2793
2999
  }
@@ -2795,6 +3001,7 @@ export class QueryVirtualNumberResponse extends $tea.Model {
2795
3001
  static types(): { [key: string]: any } {
2796
3002
  return {
2797
3003
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3004
+ statusCode: 'number',
2798
3005
  body: QueryVirtualNumberResponseBody,
2799
3006
  };
2800
3007
  }
@@ -2882,11 +3089,13 @@ export class QueryVirtualNumberRelationResponseBody extends $tea.Model {
2882
3089
  }
2883
3090
 
2884
3091
  export class QueryVirtualNumberRelationResponse extends $tea.Model {
2885
- headers: { [key: string]: string };
2886
- body: QueryVirtualNumberRelationResponseBody;
3092
+ headers?: { [key: string]: string };
3093
+ statusCode?: number;
3094
+ body?: QueryVirtualNumberRelationResponseBody;
2887
3095
  static names(): { [key: string]: string } {
2888
3096
  return {
2889
3097
  headers: 'headers',
3098
+ statusCode: 'statusCode',
2890
3099
  body: 'body',
2891
3100
  };
2892
3101
  }
@@ -2894,6 +3103,7 @@ export class QueryVirtualNumberRelationResponse extends $tea.Model {
2894
3103
  static types(): { [key: string]: any } {
2895
3104
  return {
2896
3105
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3106
+ statusCode: 'number',
2897
3107
  body: QueryVirtualNumberRelationResponseBody,
2898
3108
  };
2899
3109
  }
@@ -2963,11 +3173,13 @@ export class QueryVoiceFileAuditInfoResponseBody extends $tea.Model {
2963
3173
  }
2964
3174
 
2965
3175
  export class QueryVoiceFileAuditInfoResponse extends $tea.Model {
2966
- headers: { [key: string]: string };
2967
- body: QueryVoiceFileAuditInfoResponseBody;
3176
+ headers?: { [key: string]: string };
3177
+ statusCode?: number;
3178
+ body?: QueryVoiceFileAuditInfoResponseBody;
2968
3179
  static names(): { [key: string]: string } {
2969
3180
  return {
2970
3181
  headers: 'headers',
3182
+ statusCode: 'statusCode',
2971
3183
  body: 'body',
2972
3184
  };
2973
3185
  }
@@ -2975,6 +3187,7 @@ export class QueryVoiceFileAuditInfoResponse extends $tea.Model {
2975
3187
  static types(): { [key: string]: any } {
2976
3188
  return {
2977
3189
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3190
+ statusCode: 'number',
2978
3191
  body: QueryVoiceFileAuditInfoResponseBody,
2979
3192
  };
2980
3193
  }
@@ -2984,14 +3197,14 @@ export class QueryVoiceFileAuditInfoResponse extends $tea.Model {
2984
3197
  }
2985
3198
  }
2986
3199
 
2987
- export class RefreshMqttTokenRequest extends $tea.Model {
2988
- clientId?: string;
3200
+ export class RecoverCallInConfigRequest extends $tea.Model {
3201
+ number?: string;
2989
3202
  ownerId?: number;
2990
3203
  resourceOwnerAccount?: string;
2991
3204
  resourceOwnerId?: number;
2992
3205
  static names(): { [key: string]: string } {
2993
3206
  return {
2994
- clientId: 'ClientId',
3207
+ number: 'Number',
2995
3208
  ownerId: 'OwnerId',
2996
3209
  resourceOwnerAccount: 'ResourceOwnerAccount',
2997
3210
  resourceOwnerId: 'ResourceOwnerId',
@@ -3000,7 +3213,7 @@ export class RefreshMqttTokenRequest extends $tea.Model {
3000
3213
 
3001
3214
  static types(): { [key: string]: any } {
3002
3215
  return {
3003
- clientId: 'string',
3216
+ number: 'string',
3004
3217
  ownerId: 'number',
3005
3218
  resourceOwnerAccount: 'string',
3006
3219
  resourceOwnerId: 'number',
@@ -3012,9 +3225,9 @@ export class RefreshMqttTokenRequest extends $tea.Model {
3012
3225
  }
3013
3226
  }
3014
3227
 
3015
- export class RefreshMqttTokenResponseBody extends $tea.Model {
3228
+ export class RecoverCallInConfigResponseBody extends $tea.Model {
3016
3229
  code?: string;
3017
- data?: RefreshMqttTokenResponseBodyData;
3230
+ data?: boolean;
3018
3231
  message?: string;
3019
3232
  requestId?: string;
3020
3233
  static names(): { [key: string]: string } {
@@ -3029,7 +3242,7 @@ export class RefreshMqttTokenResponseBody extends $tea.Model {
3029
3242
  static types(): { [key: string]: any } {
3030
3243
  return {
3031
3244
  code: 'string',
3032
- data: RefreshMqttTokenResponseBodyData,
3245
+ data: 'boolean',
3033
3246
  message: 'string',
3034
3247
  requestId: 'string',
3035
3248
  };
@@ -3040,12 +3253,14 @@ export class RefreshMqttTokenResponseBody extends $tea.Model {
3040
3253
  }
3041
3254
  }
3042
3255
 
3043
- export class RefreshMqttTokenResponse extends $tea.Model {
3044
- headers: { [key: string]: string };
3045
- body: RefreshMqttTokenResponseBody;
3256
+ export class RecoverCallInConfigResponse extends $tea.Model {
3257
+ headers?: { [key: string]: string };
3258
+ statusCode?: number;
3259
+ body?: RecoverCallInConfigResponseBody;
3046
3260
  static names(): { [key: string]: string } {
3047
3261
  return {
3048
3262
  headers: 'headers',
3263
+ statusCode: 'statusCode',
3049
3264
  body: 'body',
3050
3265
  };
3051
3266
  }
@@ -3053,7 +3268,8 @@ export class RefreshMqttTokenResponse extends $tea.Model {
3053
3268
  static types(): { [key: string]: any } {
3054
3269
  return {
3055
3270
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3056
- body: RefreshMqttTokenResponseBody,
3271
+ statusCode: 'number',
3272
+ body: RecoverCallInConfigResponseBody,
3057
3273
  };
3058
3274
  }
3059
3275
 
@@ -3062,7 +3278,184 @@ export class RefreshMqttTokenResponse extends $tea.Model {
3062
3278
  }
3063
3279
  }
3064
3280
 
3065
- export class SendVerificationRequest extends $tea.Model {
3281
+ export class ResumeVideoFileRequest extends $tea.Model {
3282
+ callId?: string;
3283
+ calledNumber?: string;
3284
+ ownerId?: number;
3285
+ resourceOwnerAccount?: string;
3286
+ resourceOwnerId?: number;
3287
+ static names(): { [key: string]: string } {
3288
+ return {
3289
+ callId: 'CallId',
3290
+ calledNumber: 'CalledNumber',
3291
+ ownerId: 'OwnerId',
3292
+ resourceOwnerAccount: 'ResourceOwnerAccount',
3293
+ resourceOwnerId: 'ResourceOwnerId',
3294
+ };
3295
+ }
3296
+
3297
+ static types(): { [key: string]: any } {
3298
+ return {
3299
+ callId: 'string',
3300
+ calledNumber: 'string',
3301
+ ownerId: 'number',
3302
+ resourceOwnerAccount: 'string',
3303
+ resourceOwnerId: 'number',
3304
+ };
3305
+ }
3306
+
3307
+ constructor(map?: { [key: string]: any }) {
3308
+ super(map);
3309
+ }
3310
+ }
3311
+
3312
+ export class ResumeVideoFileResponseBody extends $tea.Model {
3313
+ accessDeniedDetail?: string;
3314
+ code?: string;
3315
+ data?: { [key: string]: any };
3316
+ message?: string;
3317
+ success?: boolean;
3318
+ static names(): { [key: string]: string } {
3319
+ return {
3320
+ accessDeniedDetail: 'AccessDeniedDetail',
3321
+ code: 'Code',
3322
+ data: 'Data',
3323
+ message: 'Message',
3324
+ success: 'Success',
3325
+ };
3326
+ }
3327
+
3328
+ static types(): { [key: string]: any } {
3329
+ return {
3330
+ accessDeniedDetail: 'string',
3331
+ code: 'string',
3332
+ data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
3333
+ message: 'string',
3334
+ success: 'boolean',
3335
+ };
3336
+ }
3337
+
3338
+ constructor(map?: { [key: string]: any }) {
3339
+ super(map);
3340
+ }
3341
+ }
3342
+
3343
+ export class ResumeVideoFileResponse extends $tea.Model {
3344
+ headers?: { [key: string]: string };
3345
+ statusCode?: number;
3346
+ body?: ResumeVideoFileResponseBody;
3347
+ static names(): { [key: string]: string } {
3348
+ return {
3349
+ headers: 'headers',
3350
+ statusCode: 'statusCode',
3351
+ body: 'body',
3352
+ };
3353
+ }
3354
+
3355
+ static types(): { [key: string]: any } {
3356
+ return {
3357
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3358
+ statusCode: 'number',
3359
+ body: ResumeVideoFileResponseBody,
3360
+ };
3361
+ }
3362
+
3363
+ constructor(map?: { [key: string]: any }) {
3364
+ super(map);
3365
+ }
3366
+ }
3367
+
3368
+ export class SeekVideoFileRequest extends $tea.Model {
3369
+ callId?: string;
3370
+ calledNumber?: string;
3371
+ ownerId?: number;
3372
+ resourceOwnerAccount?: string;
3373
+ resourceOwnerId?: number;
3374
+ seekTimes?: number;
3375
+ static names(): { [key: string]: string } {
3376
+ return {
3377
+ callId: 'CallId',
3378
+ calledNumber: 'CalledNumber',
3379
+ ownerId: 'OwnerId',
3380
+ resourceOwnerAccount: 'ResourceOwnerAccount',
3381
+ resourceOwnerId: 'ResourceOwnerId',
3382
+ seekTimes: 'SeekTimes',
3383
+ };
3384
+ }
3385
+
3386
+ static types(): { [key: string]: any } {
3387
+ return {
3388
+ callId: 'string',
3389
+ calledNumber: 'string',
3390
+ ownerId: 'number',
3391
+ resourceOwnerAccount: 'string',
3392
+ resourceOwnerId: 'number',
3393
+ seekTimes: 'number',
3394
+ };
3395
+ }
3396
+
3397
+ constructor(map?: { [key: string]: any }) {
3398
+ super(map);
3399
+ }
3400
+ }
3401
+
3402
+ export class SeekVideoFileResponseBody extends $tea.Model {
3403
+ accessDeniedDetail?: string;
3404
+ code?: string;
3405
+ data?: { [key: string]: any };
3406
+ message?: string;
3407
+ success?: boolean;
3408
+ static names(): { [key: string]: string } {
3409
+ return {
3410
+ accessDeniedDetail: 'AccessDeniedDetail',
3411
+ code: 'Code',
3412
+ data: 'Data',
3413
+ message: 'Message',
3414
+ success: 'Success',
3415
+ };
3416
+ }
3417
+
3418
+ static types(): { [key: string]: any } {
3419
+ return {
3420
+ accessDeniedDetail: 'string',
3421
+ code: 'string',
3422
+ data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
3423
+ message: 'string',
3424
+ success: 'boolean',
3425
+ };
3426
+ }
3427
+
3428
+ constructor(map?: { [key: string]: any }) {
3429
+ super(map);
3430
+ }
3431
+ }
3432
+
3433
+ export class SeekVideoFileResponse extends $tea.Model {
3434
+ headers?: { [key: string]: string };
3435
+ statusCode?: number;
3436
+ body?: SeekVideoFileResponseBody;
3437
+ static names(): { [key: string]: string } {
3438
+ return {
3439
+ headers: 'headers',
3440
+ statusCode: 'statusCode',
3441
+ body: 'body',
3442
+ };
3443
+ }
3444
+
3445
+ static types(): { [key: string]: any } {
3446
+ return {
3447
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3448
+ statusCode: 'number',
3449
+ body: SeekVideoFileResponseBody,
3450
+ };
3451
+ }
3452
+
3453
+ constructor(map?: { [key: string]: any }) {
3454
+ super(map);
3455
+ }
3456
+ }
3457
+
3458
+ export class SendVerificationRequest extends $tea.Model {
3066
3459
  bizType?: string;
3067
3460
  ownerId?: number;
3068
3461
  resourceOwnerAccount?: string;
@@ -3125,11 +3518,13 @@ export class SendVerificationResponseBody extends $tea.Model {
3125
3518
  }
3126
3519
 
3127
3520
  export class SendVerificationResponse extends $tea.Model {
3128
- headers: { [key: string]: string };
3129
- body: SendVerificationResponseBody;
3521
+ headers?: { [key: string]: string };
3522
+ statusCode?: number;
3523
+ body?: SendVerificationResponseBody;
3130
3524
  static names(): { [key: string]: string } {
3131
3525
  return {
3132
3526
  headers: 'headers',
3527
+ statusCode: 'statusCode',
3133
3528
  body: 'body',
3134
3529
  };
3135
3530
  }
@@ -3137,6 +3532,7 @@ export class SendVerificationResponse extends $tea.Model {
3137
3532
  static types(): { [key: string]: any } {
3138
3533
  return {
3139
3534
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3535
+ statusCode: 'number',
3140
3536
  body: SendVerificationResponseBody,
3141
3537
  };
3142
3538
  }
@@ -3212,11 +3608,13 @@ export class SetTransferCalleePoolConfigResponseBody extends $tea.Model {
3212
3608
  }
3213
3609
 
3214
3610
  export class SetTransferCalleePoolConfigResponse extends $tea.Model {
3215
- headers: { [key: string]: string };
3216
- body: SetTransferCalleePoolConfigResponseBody;
3611
+ headers?: { [key: string]: string };
3612
+ statusCode?: number;
3613
+ body?: SetTransferCalleePoolConfigResponseBody;
3217
3614
  static names(): { [key: string]: string } {
3218
3615
  return {
3219
3616
  headers: 'headers',
3617
+ statusCode: 'statusCode',
3220
3618
  body: 'body',
3221
3619
  };
3222
3620
  }
@@ -3224,6 +3622,7 @@ export class SetTransferCalleePoolConfigResponse extends $tea.Model {
3224
3622
  static types(): { [key: string]: any } {
3225
3623
  return {
3226
3624
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3625
+ statusCode: 'number',
3227
3626
  body: SetTransferCalleePoolConfigResponseBody,
3228
3627
  };
3229
3628
  }
@@ -3311,11 +3710,13 @@ export class SingleCallByTtsResponseBody extends $tea.Model {
3311
3710
  }
3312
3711
 
3313
3712
  export class SingleCallByTtsResponse extends $tea.Model {
3314
- headers: { [key: string]: string };
3315
- body: SingleCallByTtsResponseBody;
3713
+ headers?: { [key: string]: string };
3714
+ statusCode?: number;
3715
+ body?: SingleCallByTtsResponseBody;
3316
3716
  static names(): { [key: string]: string } {
3317
3717
  return {
3318
3718
  headers: 'headers',
3719
+ statusCode: 'statusCode',
3319
3720
  body: 'body',
3320
3721
  };
3321
3722
  }
@@ -3323,6 +3724,7 @@ export class SingleCallByTtsResponse extends $tea.Model {
3323
3724
  static types(): { [key: string]: any } {
3324
3725
  return {
3325
3726
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3727
+ statusCode: 'number',
3326
3728
  body: SingleCallByTtsResponseBody,
3327
3729
  };
3328
3730
  }
@@ -3332,6 +3734,108 @@ export class SingleCallByTtsResponse extends $tea.Model {
3332
3734
  }
3333
3735
  }
3334
3736
 
3737
+ export class SingleCallByVideoRequest extends $tea.Model {
3738
+ calledNumber?: string;
3739
+ calledShowNumber?: string;
3740
+ outId?: string;
3741
+ ownerId?: number;
3742
+ playTimes?: number;
3743
+ resourceOwnerAccount?: string;
3744
+ resourceOwnerId?: number;
3745
+ speed?: number;
3746
+ videoCode?: string;
3747
+ voiceCode?: string;
3748
+ volume?: number;
3749
+ static names(): { [key: string]: string } {
3750
+ return {
3751
+ calledNumber: 'CalledNumber',
3752
+ calledShowNumber: 'CalledShowNumber',
3753
+ outId: 'OutId',
3754
+ ownerId: 'OwnerId',
3755
+ playTimes: 'PlayTimes',
3756
+ resourceOwnerAccount: 'ResourceOwnerAccount',
3757
+ resourceOwnerId: 'ResourceOwnerId',
3758
+ speed: 'Speed',
3759
+ videoCode: 'VideoCode',
3760
+ voiceCode: 'VoiceCode',
3761
+ volume: 'Volume',
3762
+ };
3763
+ }
3764
+
3765
+ static types(): { [key: string]: any } {
3766
+ return {
3767
+ calledNumber: 'string',
3768
+ calledShowNumber: 'string',
3769
+ outId: 'string',
3770
+ ownerId: 'number',
3771
+ playTimes: 'number',
3772
+ resourceOwnerAccount: 'string',
3773
+ resourceOwnerId: 'number',
3774
+ speed: 'number',
3775
+ videoCode: 'string',
3776
+ voiceCode: 'string',
3777
+ volume: 'number',
3778
+ };
3779
+ }
3780
+
3781
+ constructor(map?: { [key: string]: any }) {
3782
+ super(map);
3783
+ }
3784
+ }
3785
+
3786
+ export class SingleCallByVideoResponseBody extends $tea.Model {
3787
+ callId?: string;
3788
+ code?: string;
3789
+ message?: string;
3790
+ requestId?: string;
3791
+ static names(): { [key: string]: string } {
3792
+ return {
3793
+ callId: 'CallId',
3794
+ code: 'Code',
3795
+ message: 'Message',
3796
+ requestId: 'RequestId',
3797
+ };
3798
+ }
3799
+
3800
+ static types(): { [key: string]: any } {
3801
+ return {
3802
+ callId: 'string',
3803
+ code: 'string',
3804
+ message: 'string',
3805
+ requestId: 'string',
3806
+ };
3807
+ }
3808
+
3809
+ constructor(map?: { [key: string]: any }) {
3810
+ super(map);
3811
+ }
3812
+ }
3813
+
3814
+ export class SingleCallByVideoResponse extends $tea.Model {
3815
+ headers?: { [key: string]: string };
3816
+ statusCode?: number;
3817
+ body?: SingleCallByVideoResponseBody;
3818
+ static names(): { [key: string]: string } {
3819
+ return {
3820
+ headers: 'headers',
3821
+ statusCode: 'statusCode',
3822
+ body: 'body',
3823
+ };
3824
+ }
3825
+
3826
+ static types(): { [key: string]: any } {
3827
+ return {
3828
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3829
+ statusCode: 'number',
3830
+ body: SingleCallByVideoResponseBody,
3831
+ };
3832
+ }
3833
+
3834
+ constructor(map?: { [key: string]: any }) {
3835
+ super(map);
3836
+ }
3837
+ }
3838
+
3335
3839
  export class SingleCallByVoiceRequest extends $tea.Model {
3336
3840
  calledNumber?: string;
3337
3841
  calledShowNumber?: string;
@@ -3407,11 +3911,13 @@ export class SingleCallByVoiceResponseBody extends $tea.Model {
3407
3911
  }
3408
3912
 
3409
3913
  export class SingleCallByVoiceResponse extends $tea.Model {
3410
- headers: { [key: string]: string };
3411
- body: SingleCallByVoiceResponseBody;
3914
+ headers?: { [key: string]: string };
3915
+ statusCode?: number;
3916
+ body?: SingleCallByVoiceResponseBody;
3412
3917
  static names(): { [key: string]: string } {
3413
3918
  return {
3414
3919
  headers: 'headers',
3920
+ statusCode: 'statusCode',
3415
3921
  body: 'body',
3416
3922
  };
3417
3923
  }
@@ -3419,6 +3925,7 @@ export class SingleCallByVoiceResponse extends $tea.Model {
3419
3925
  static types(): { [key: string]: any } {
3420
3926
  return {
3421
3927
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3928
+ statusCode: 'number',
3422
3929
  body: SingleCallByVoiceResponseBody,
3423
3930
  };
3424
3931
  }
@@ -3428,6 +3935,99 @@ export class SingleCallByVoiceResponse extends $tea.Model {
3428
3935
  }
3429
3936
  }
3430
3937
 
3938
+ export class SkipVideoFileRequest extends $tea.Model {
3939
+ callId?: string;
3940
+ calledNumber?: string;
3941
+ outId?: string;
3942
+ ownerId?: number;
3943
+ resourceOwnerAccount?: string;
3944
+ resourceOwnerId?: number;
3945
+ skipTimes?: number;
3946
+ static names(): { [key: string]: string } {
3947
+ return {
3948
+ callId: 'CallId',
3949
+ calledNumber: 'CalledNumber',
3950
+ outId: 'OutId',
3951
+ ownerId: 'OwnerId',
3952
+ resourceOwnerAccount: 'ResourceOwnerAccount',
3953
+ resourceOwnerId: 'ResourceOwnerId',
3954
+ skipTimes: 'SkipTimes',
3955
+ };
3956
+ }
3957
+
3958
+ static types(): { [key: string]: any } {
3959
+ return {
3960
+ callId: 'string',
3961
+ calledNumber: 'string',
3962
+ outId: 'string',
3963
+ ownerId: 'number',
3964
+ resourceOwnerAccount: 'string',
3965
+ resourceOwnerId: 'number',
3966
+ skipTimes: 'number',
3967
+ };
3968
+ }
3969
+
3970
+ constructor(map?: { [key: string]: any }) {
3971
+ super(map);
3972
+ }
3973
+ }
3974
+
3975
+ export class SkipVideoFileResponseBody extends $tea.Model {
3976
+ accessDeniedDetail?: string;
3977
+ code?: string;
3978
+ data?: boolean;
3979
+ message?: string;
3980
+ success?: boolean;
3981
+ static names(): { [key: string]: string } {
3982
+ return {
3983
+ accessDeniedDetail: 'AccessDeniedDetail',
3984
+ code: 'Code',
3985
+ data: 'Data',
3986
+ message: 'Message',
3987
+ success: 'Success',
3988
+ };
3989
+ }
3990
+
3991
+ static types(): { [key: string]: any } {
3992
+ return {
3993
+ accessDeniedDetail: 'string',
3994
+ code: 'string',
3995
+ data: 'boolean',
3996
+ message: 'string',
3997
+ success: 'boolean',
3998
+ };
3999
+ }
4000
+
4001
+ constructor(map?: { [key: string]: any }) {
4002
+ super(map);
4003
+ }
4004
+ }
4005
+
4006
+ export class SkipVideoFileResponse extends $tea.Model {
4007
+ headers?: { [key: string]: string };
4008
+ statusCode?: number;
4009
+ body?: SkipVideoFileResponseBody;
4010
+ static names(): { [key: string]: string } {
4011
+ return {
4012
+ headers: 'headers',
4013
+ statusCode: 'statusCode',
4014
+ body: 'body',
4015
+ };
4016
+ }
4017
+
4018
+ static types(): { [key: string]: any } {
4019
+ return {
4020
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4021
+ statusCode: 'number',
4022
+ body: SkipVideoFileResponseBody,
4023
+ };
4024
+ }
4025
+
4026
+ constructor(map?: { [key: string]: any }) {
4027
+ super(map);
4028
+ }
4029
+ }
4030
+
3431
4031
  export class SmartCallRequest extends $tea.Model {
3432
4032
  actionCodeBreak?: boolean;
3433
4033
  actionCodeTimeBreak?: number;
@@ -3442,6 +4042,7 @@ export class SmartCallRequest extends $tea.Model {
3442
4042
  earlyMediaAsr?: boolean;
3443
4043
  enableITN?: boolean;
3444
4044
  muteTime?: number;
4045
+ noiseThreshold?: number;
3445
4046
  outId?: string;
3446
4047
  ownerId?: number;
3447
4048
  pauseTime?: number;
@@ -3473,6 +4074,7 @@ export class SmartCallRequest extends $tea.Model {
3473
4074
  earlyMediaAsr: 'EarlyMediaAsr',
3474
4075
  enableITN: 'EnableITN',
3475
4076
  muteTime: 'MuteTime',
4077
+ noiseThreshold: 'NoiseThreshold',
3476
4078
  outId: 'OutId',
3477
4079
  ownerId: 'OwnerId',
3478
4080
  pauseTime: 'PauseTime',
@@ -3507,6 +4109,7 @@ export class SmartCallRequest extends $tea.Model {
3507
4109
  earlyMediaAsr: 'boolean',
3508
4110
  enableITN: 'boolean',
3509
4111
  muteTime: 'number',
4112
+ noiseThreshold: 'number',
3510
4113
  outId: 'string',
3511
4114
  ownerId: 'number',
3512
4115
  pauseTime: 'number',
@@ -3560,11 +4163,13 @@ export class SmartCallResponseBody extends $tea.Model {
3560
4163
  }
3561
4164
 
3562
4165
  export class SmartCallResponse extends $tea.Model {
3563
- headers: { [key: string]: string };
3564
- body: SmartCallResponseBody;
4166
+ headers?: { [key: string]: string };
4167
+ statusCode?: number;
4168
+ body?: SmartCallResponseBody;
3565
4169
  static names(): { [key: string]: string } {
3566
4170
  return {
3567
4171
  headers: 'headers',
4172
+ statusCode: 'statusCode',
3568
4173
  body: 'body',
3569
4174
  };
3570
4175
  }
@@ -3572,6 +4177,7 @@ export class SmartCallResponse extends $tea.Model {
3572
4177
  static types(): { [key: string]: any } {
3573
4178
  return {
3574
4179
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4180
+ statusCode: 'number',
3575
4181
  body: SmartCallResponseBody,
3576
4182
  };
3577
4183
  }
@@ -3644,11 +4250,13 @@ export class SmartCallOperateResponseBody extends $tea.Model {
3644
4250
  }
3645
4251
 
3646
4252
  export class SmartCallOperateResponse extends $tea.Model {
3647
- headers: { [key: string]: string };
3648
- body: SmartCallOperateResponseBody;
4253
+ headers?: { [key: string]: string };
4254
+ statusCode?: number;
4255
+ body?: SmartCallOperateResponseBody;
3649
4256
  static names(): { [key: string]: string } {
3650
4257
  return {
3651
4258
  headers: 'headers',
4259
+ statusCode: 'statusCode',
3652
4260
  body: 'body',
3653
4261
  };
3654
4262
  }
@@ -3656,6 +4264,7 @@ export class SmartCallOperateResponse extends $tea.Model {
3656
4264
  static types(): { [key: string]: any } {
3657
4265
  return {
3658
4266
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4267
+ statusCode: 'number',
3659
4268
  body: SmartCallOperateResponseBody,
3660
4269
  };
3661
4270
  }
@@ -3725,11 +4334,13 @@ export class StartRobotTaskResponseBody extends $tea.Model {
3725
4334
  }
3726
4335
 
3727
4336
  export class StartRobotTaskResponse extends $tea.Model {
3728
- headers: { [key: string]: string };
3729
- body: StartRobotTaskResponseBody;
4337
+ headers?: { [key: string]: string };
4338
+ statusCode?: number;
4339
+ body?: StartRobotTaskResponseBody;
3730
4340
  static names(): { [key: string]: string } {
3731
4341
  return {
3732
4342
  headers: 'headers',
4343
+ statusCode: 'statusCode',
3733
4344
  body: 'body',
3734
4345
  };
3735
4346
  }
@@ -3737,6 +4348,7 @@ export class StartRobotTaskResponse extends $tea.Model {
3737
4348
  static types(): { [key: string]: any } {
3738
4349
  return {
3739
4350
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4351
+ statusCode: 'number',
3740
4352
  body: StartRobotTaskResponseBody,
3741
4353
  };
3742
4354
  }
@@ -3746,6 +4358,87 @@ export class StartRobotTaskResponse extends $tea.Model {
3746
4358
  }
3747
4359
  }
3748
4360
 
4361
+ export class StopCallInConfigRequest extends $tea.Model {
4362
+ number?: string;
4363
+ ownerId?: number;
4364
+ resourceOwnerAccount?: string;
4365
+ resourceOwnerId?: number;
4366
+ static names(): { [key: string]: string } {
4367
+ return {
4368
+ number: 'Number',
4369
+ ownerId: 'OwnerId',
4370
+ resourceOwnerAccount: 'ResourceOwnerAccount',
4371
+ resourceOwnerId: 'ResourceOwnerId',
4372
+ };
4373
+ }
4374
+
4375
+ static types(): { [key: string]: any } {
4376
+ return {
4377
+ number: 'string',
4378
+ ownerId: 'number',
4379
+ resourceOwnerAccount: 'string',
4380
+ resourceOwnerId: 'number',
4381
+ };
4382
+ }
4383
+
4384
+ constructor(map?: { [key: string]: any }) {
4385
+ super(map);
4386
+ }
4387
+ }
4388
+
4389
+ export class StopCallInConfigResponseBody extends $tea.Model {
4390
+ code?: string;
4391
+ data?: boolean;
4392
+ message?: string;
4393
+ requestId?: string;
4394
+ static names(): { [key: string]: string } {
4395
+ return {
4396
+ code: 'Code',
4397
+ data: 'Data',
4398
+ message: 'Message',
4399
+ requestId: 'RequestId',
4400
+ };
4401
+ }
4402
+
4403
+ static types(): { [key: string]: any } {
4404
+ return {
4405
+ code: 'string',
4406
+ data: 'boolean',
4407
+ message: 'string',
4408
+ requestId: 'string',
4409
+ };
4410
+ }
4411
+
4412
+ constructor(map?: { [key: string]: any }) {
4413
+ super(map);
4414
+ }
4415
+ }
4416
+
4417
+ export class StopCallInConfigResponse extends $tea.Model {
4418
+ headers?: { [key: string]: string };
4419
+ statusCode?: number;
4420
+ body?: StopCallInConfigResponseBody;
4421
+ static names(): { [key: string]: string } {
4422
+ return {
4423
+ headers: 'headers',
4424
+ statusCode: 'statusCode',
4425
+ body: 'body',
4426
+ };
4427
+ }
4428
+
4429
+ static types(): { [key: string]: any } {
4430
+ return {
4431
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4432
+ statusCode: 'number',
4433
+ body: StopCallInConfigResponseBody,
4434
+ };
4435
+ }
4436
+
4437
+ constructor(map?: { [key: string]: any }) {
4438
+ super(map);
4439
+ }
4440
+ }
4441
+
3749
4442
  export class StopRobotTaskRequest extends $tea.Model {
3750
4443
  ownerId?: number;
3751
4444
  resourceOwnerAccount?: string;
@@ -3803,11 +4496,13 @@ export class StopRobotTaskResponseBody extends $tea.Model {
3803
4496
  }
3804
4497
 
3805
4498
  export class StopRobotTaskResponse extends $tea.Model {
3806
- headers: { [key: string]: string };
3807
- body: StopRobotTaskResponseBody;
4499
+ headers?: { [key: string]: string };
4500
+ statusCode?: number;
4501
+ body?: StopRobotTaskResponseBody;
3808
4502
  static names(): { [key: string]: string } {
3809
4503
  return {
3810
4504
  headers: 'headers',
4505
+ statusCode: 'statusCode',
3811
4506
  body: 'body',
3812
4507
  };
3813
4508
  }
@@ -3815,6 +4510,7 @@ export class StopRobotTaskResponse extends $tea.Model {
3815
4510
  static types(): { [key: string]: any } {
3816
4511
  return {
3817
4512
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4513
+ statusCode: 'number',
3818
4514
  body: StopRobotTaskResponseBody,
3819
4515
  };
3820
4516
  }
@@ -3867,10 +4563,100 @@ export class SubmitHotlineTransferRegisterRequest extends $tea.Model {
3867
4563
  operatorMobileVerifyCode: 'string',
3868
4564
  operatorName: 'string',
3869
4565
  ownerId: 'number',
3870
- qualificationId: 'string',
4566
+ qualificationId: 'string',
4567
+ resourceOwnerAccount: 'string',
4568
+ resourceOwnerId: 'number',
4569
+ transferPhoneNumberInfos: { 'type': 'array', 'itemType': SubmitHotlineTransferRegisterRequestTransferPhoneNumberInfos },
4570
+ };
4571
+ }
4572
+
4573
+ constructor(map?: { [key: string]: any }) {
4574
+ super(map);
4575
+ }
4576
+ }
4577
+
4578
+ export class SubmitHotlineTransferRegisterResponseBody extends $tea.Model {
4579
+ code?: string;
4580
+ data?: number;
4581
+ message?: string;
4582
+ requestId?: string;
4583
+ static names(): { [key: string]: string } {
4584
+ return {
4585
+ code: 'Code',
4586
+ data: 'Data',
4587
+ message: 'Message',
4588
+ requestId: 'RequestId',
4589
+ };
4590
+ }
4591
+
4592
+ static types(): { [key: string]: any } {
4593
+ return {
4594
+ code: 'string',
4595
+ data: 'number',
4596
+ message: 'string',
4597
+ requestId: 'string',
4598
+ };
4599
+ }
4600
+
4601
+ constructor(map?: { [key: string]: any }) {
4602
+ super(map);
4603
+ }
4604
+ }
4605
+
4606
+ export class SubmitHotlineTransferRegisterResponse extends $tea.Model {
4607
+ headers?: { [key: string]: string };
4608
+ statusCode?: number;
4609
+ body?: SubmitHotlineTransferRegisterResponseBody;
4610
+ static names(): { [key: string]: string } {
4611
+ return {
4612
+ headers: 'headers',
4613
+ statusCode: 'statusCode',
4614
+ body: 'body',
4615
+ };
4616
+ }
4617
+
4618
+ static types(): { [key: string]: any } {
4619
+ return {
4620
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4621
+ statusCode: 'number',
4622
+ body: SubmitHotlineTransferRegisterResponseBody,
4623
+ };
4624
+ }
4625
+
4626
+ constructor(map?: { [key: string]: any }) {
4627
+ super(map);
4628
+ }
4629
+ }
4630
+
4631
+ export class UpgradeVideoFileRequest extends $tea.Model {
4632
+ callId?: string;
4633
+ calledNumber?: string;
4634
+ mediaType?: string;
4635
+ outId?: string;
4636
+ ownerId?: number;
4637
+ resourceOwnerAccount?: string;
4638
+ resourceOwnerId?: number;
4639
+ static names(): { [key: string]: string } {
4640
+ return {
4641
+ callId: 'CallId',
4642
+ calledNumber: 'CalledNumber',
4643
+ mediaType: 'MediaType',
4644
+ outId: 'OutId',
4645
+ ownerId: 'OwnerId',
4646
+ resourceOwnerAccount: 'ResourceOwnerAccount',
4647
+ resourceOwnerId: 'ResourceOwnerId',
4648
+ };
4649
+ }
4650
+
4651
+ static types(): { [key: string]: any } {
4652
+ return {
4653
+ callId: 'string',
4654
+ calledNumber: 'string',
4655
+ mediaType: 'string',
4656
+ outId: 'string',
4657
+ ownerId: 'number',
3871
4658
  resourceOwnerAccount: 'string',
3872
4659
  resourceOwnerId: 'number',
3873
- transferPhoneNumberInfos: { 'type': 'array', 'itemType': SubmitHotlineTransferRegisterRequestTransferPhoneNumberInfos },
3874
4660
  };
3875
4661
  }
3876
4662
 
@@ -3879,26 +4665,29 @@ export class SubmitHotlineTransferRegisterRequest extends $tea.Model {
3879
4665
  }
3880
4666
  }
3881
4667
 
3882
- export class SubmitHotlineTransferRegisterResponseBody extends $tea.Model {
4668
+ export class UpgradeVideoFileResponseBody extends $tea.Model {
4669
+ accessDeniedDetail?: string;
3883
4670
  code?: string;
3884
- data?: number;
4671
+ data?: { [key: string]: any };
3885
4672
  message?: string;
3886
- requestId?: string;
4673
+ success?: boolean;
3887
4674
  static names(): { [key: string]: string } {
3888
4675
  return {
4676
+ accessDeniedDetail: 'AccessDeniedDetail',
3889
4677
  code: 'Code',
3890
4678
  data: 'Data',
3891
4679
  message: 'Message',
3892
- requestId: 'RequestId',
4680
+ success: 'Success',
3893
4681
  };
3894
4682
  }
3895
4683
 
3896
4684
  static types(): { [key: string]: any } {
3897
4685
  return {
4686
+ accessDeniedDetail: 'string',
3898
4687
  code: 'string',
3899
- data: 'number',
4688
+ data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
3900
4689
  message: 'string',
3901
- requestId: 'string',
4690
+ success: 'boolean',
3902
4691
  };
3903
4692
  }
3904
4693
 
@@ -3907,12 +4696,14 @@ export class SubmitHotlineTransferRegisterResponseBody extends $tea.Model {
3907
4696
  }
3908
4697
  }
3909
4698
 
3910
- export class SubmitHotlineTransferRegisterResponse extends $tea.Model {
3911
- headers: { [key: string]: string };
3912
- body: SubmitHotlineTransferRegisterResponseBody;
4699
+ export class UpgradeVideoFileResponse extends $tea.Model {
4700
+ headers?: { [key: string]: string };
4701
+ statusCode?: number;
4702
+ body?: UpgradeVideoFileResponseBody;
3913
4703
  static names(): { [key: string]: string } {
3914
4704
  return {
3915
4705
  headers: 'headers',
4706
+ statusCode: 'statusCode',
3916
4707
  body: 'body',
3917
4708
  };
3918
4709
  }
@@ -3920,7 +4711,8 @@ export class SubmitHotlineTransferRegisterResponse extends $tea.Model {
3920
4711
  static types(): { [key: string]: any } {
3921
4712
  return {
3922
4713
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3923
- body: SubmitHotlineTransferRegisterResponseBody,
4714
+ statusCode: 'number',
4715
+ body: UpgradeVideoFileResponseBody,
3924
4716
  };
3925
4717
  }
3926
4718
 
@@ -3995,11 +4787,13 @@ export class UploadRobotTaskCalledFileResponseBody extends $tea.Model {
3995
4787
  }
3996
4788
 
3997
4789
  export class UploadRobotTaskCalledFileResponse extends $tea.Model {
3998
- headers: { [key: string]: string };
3999
- body: UploadRobotTaskCalledFileResponseBody;
4790
+ headers?: { [key: string]: string };
4791
+ statusCode?: number;
4792
+ body?: UploadRobotTaskCalledFileResponseBody;
4000
4793
  static names(): { [key: string]: string } {
4001
4794
  return {
4002
4795
  headers: 'headers',
4796
+ statusCode: 'statusCode',
4003
4797
  body: 'body',
4004
4798
  };
4005
4799
  }
@@ -4007,6 +4801,7 @@ export class UploadRobotTaskCalledFileResponse extends $tea.Model {
4007
4801
  static types(): { [key: string]: any } {
4008
4802
  return {
4009
4803
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4804
+ statusCode: 'number',
4010
4805
  body: UploadRobotTaskCalledFileResponseBody,
4011
4806
  };
4012
4807
  }
@@ -4016,28 +4811,6 @@ export class UploadRobotTaskCalledFileResponse extends $tea.Model {
4016
4811
  }
4017
4812
  }
4018
4813
 
4019
- export class GetCallInfoResponseBodyData extends $tea.Model {
4020
- channelId?: string;
4021
- status?: string;
4022
- static names(): { [key: string]: string } {
4023
- return {
4024
- channelId: 'ChannelId',
4025
- status: 'Status',
4026
- };
4027
- }
4028
-
4029
- static types(): { [key: string]: any } {
4030
- return {
4031
- channelId: 'string',
4032
- status: 'string',
4033
- };
4034
- }
4035
-
4036
- constructor(map?: { [key: string]: any }) {
4037
- super(map);
4038
- }
4039
- }
4040
-
4041
4814
  export class GetHotlineQualificationByOrderResponseBodyData extends $tea.Model {
4042
4815
  orderId?: string;
4043
4816
  qualificationId?: string;
@@ -4063,46 +4836,6 @@ export class GetHotlineQualificationByOrderResponseBodyData extends $tea.Model {
4063
4836
  }
4064
4837
  }
4065
4838
 
4066
- export class GetMqttTokenResponseBodyData extends $tea.Model {
4067
- clientId?: string;
4068
- expireTime?: string;
4069
- host?: string;
4070
- instanceId?: string;
4071
- p2pTopic?: string;
4072
- serverId?: string;
4073
- token?: string;
4074
- username?: string;
4075
- static names(): { [key: string]: string } {
4076
- return {
4077
- clientId: 'ClientId',
4078
- expireTime: 'ExpireTime',
4079
- host: 'Host',
4080
- instanceId: 'InstanceId',
4081
- p2pTopic: 'P2pTopic',
4082
- serverId: 'ServerId',
4083
- token: 'Token',
4084
- username: 'Username',
4085
- };
4086
- }
4087
-
4088
- static types(): { [key: string]: any } {
4089
- return {
4090
- clientId: 'string',
4091
- expireTime: 'string',
4092
- host: 'string',
4093
- instanceId: 'string',
4094
- p2pTopic: 'string',
4095
- serverId: 'string',
4096
- token: 'string',
4097
- username: 'string',
4098
- };
4099
- }
4100
-
4101
- constructor(map?: { [key: string]: any }) {
4102
- super(map);
4103
- }
4104
- }
4105
-
4106
4839
  export class IvrCallRequestMenuKeyMap extends $tea.Model {
4107
4840
  code?: string;
4108
4841
  key?: string;
@@ -4487,46 +5220,6 @@ export class QueryVoiceFileAuditInfoResponseBodyData extends $tea.Model {
4487
5220
  }
4488
5221
  }
4489
5222
 
4490
- export class RefreshMqttTokenResponseBodyData extends $tea.Model {
4491
- clientId?: string;
4492
- expireTime?: string;
4493
- host?: string;
4494
- instanceId?: string;
4495
- p2pTopic?: string;
4496
- serverId?: string;
4497
- token?: string;
4498
- username?: string;
4499
- static names(): { [key: string]: string } {
4500
- return {
4501
- clientId: 'ClientId',
4502
- expireTime: 'ExpireTime',
4503
- host: 'Host',
4504
- instanceId: 'InstanceId',
4505
- p2pTopic: 'P2pTopic',
4506
- serverId: 'ServerId',
4507
- token: 'Token',
4508
- username: 'Username',
4509
- };
4510
- }
4511
-
4512
- static types(): { [key: string]: any } {
4513
- return {
4514
- clientId: 'string',
4515
- expireTime: 'string',
4516
- host: 'string',
4517
- instanceId: 'string',
4518
- p2pTopic: 'string',
4519
- serverId: 'string',
4520
- token: 'string',
4521
- username: 'string',
4522
- };
4523
- }
4524
-
4525
- constructor(map?: { [key: string]: any }) {
4526
- super(map);
4527
- }
4528
- }
4529
-
4530
5223
  export class SetTransferCalleePoolConfigRequestDetails extends $tea.Model {
4531
5224
  called?: string;
4532
5225
  caller?: string;
@@ -4597,47 +5290,14 @@ export default class Client extends OpenApi {
4597
5290
  return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
4598
5291
  }
4599
5292
 
4600
- async addRtcAccountWithOptions(request: AddRtcAccountRequest, runtime: $Util.RuntimeOptions): Promise<AddRtcAccountResponse> {
4601
- Util.validateModel(request);
4602
- let query = { };
4603
- if (!Util.isUnset(request.deviceId)) {
4604
- query["DeviceId"] = request.deviceId;
4605
- }
4606
-
4607
- if (!Util.isUnset(request.ownerId)) {
4608
- query["OwnerId"] = request.ownerId;
4609
- }
4610
-
4611
- if (!Util.isUnset(request.resourceOwnerAccount)) {
4612
- query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4613
- }
4614
-
4615
- if (!Util.isUnset(request.resourceOwnerId)) {
4616
- query["ResourceOwnerId"] = request.resourceOwnerId;
4617
- }
4618
-
4619
- let req = new $OpenApi.OpenApiRequest({
4620
- query: OpenApiUtil.query(query),
4621
- });
4622
- let params = new $OpenApi.Params({
4623
- action: "AddRtcAccount",
4624
- version: "2017-05-25",
4625
- protocol: "HTTPS",
4626
- pathname: "/",
4627
- method: "POST",
4628
- authType: "AK",
4629
- style: "RPC",
4630
- reqBodyType: "formData",
4631
- bodyType: "json",
4632
- });
4633
- return $tea.cast<AddRtcAccountResponse>(await this.callApi(params, req, runtime), new AddRtcAccountResponse({}));
4634
- }
4635
-
4636
- async addRtcAccount(request: AddRtcAccountRequest): Promise<AddRtcAccountResponse> {
4637
- let runtime = new $Util.RuntimeOptions({ });
4638
- return await this.addRtcAccountWithOptions(request, runtime);
4639
- }
4640
-
5293
+ /**
5294
+ * ### QPS limits
5295
+ * You can call this operation up to 200 times per second per account.
5296
+ *
5297
+ * @param request AddVirtualNumberRelationRequest
5298
+ * @param runtime runtime options for this request RuntimeOptions
5299
+ * @return AddVirtualNumberRelationResponse
5300
+ */
4641
5301
  async addVirtualNumberRelationWithOptions(request: AddVirtualNumberRelationRequest, runtime: $Util.RuntimeOptions): Promise<AddVirtualNumberRelationResponse> {
4642
5302
  Util.validateModel(request);
4643
5303
  let query = { };
@@ -4690,11 +5350,31 @@ export default class Client extends OpenApi {
4690
5350
  return $tea.cast<AddVirtualNumberRelationResponse>(await this.callApi(params, req, runtime), new AddVirtualNumberRelationResponse({}));
4691
5351
  }
4692
5352
 
5353
+ /**
5354
+ * ### QPS limits
5355
+ * You can call this operation up to 200 times per second per account.
5356
+ *
5357
+ * @param request AddVirtualNumberRelationRequest
5358
+ * @return AddVirtualNumberRelationResponse
5359
+ */
4693
5360
  async addVirtualNumberRelation(request: AddVirtualNumberRelationRequest): Promise<AddVirtualNumberRelationResponse> {
4694
5361
  let runtime = new $Util.RuntimeOptions({ });
4695
5362
  return await this.addVirtualNumberRelationWithOptions(request, runtime);
4696
5363
  }
4697
5364
 
5365
+ /**
5366
+ * * In an intelligent speech interaction task, you can use the robot communication scripts preset in the Voice Messaging Service console, or invoke the callback function to return the response mode configured by the business party in each call.
5367
+ * * The BatchRobotSmartCall operation is used to initiate an outbound robocall task by using the robot communication scripts preset in the Voice Messaging Service console.
5368
+ * ## Prerequisites
5369
+ * * You have passed the real-name verification for an enterprise user and passed the enterprise qualification review.
5370
+ * * You have purchased numbers in the [Voice Messaging Service console](https://dyvms.console.aliyun.com/dyvms.htm#/number/normal).
5371
+ * * You have added communication scripts on the [Communication script management](https://dyvms.console.aliyun.com/dyvms.htm#/smart-call/saas/robot/list) page, and the communication scripts have been approved.
5372
+ * > Before you call this operation, make sure that you are familiar with the [billing](https://www.aliyun.com/price/product#/vms/detail) of Voice Messaging Service (VMS).
5373
+ *
5374
+ * @param request BatchRobotSmartCallRequest
5375
+ * @param runtime runtime options for this request RuntimeOptions
5376
+ * @return BatchRobotSmartCallResponse
5377
+ */
4698
5378
  async batchRobotSmartCallWithOptions(request: BatchRobotSmartCallRequest, runtime: $Util.RuntimeOptions): Promise<BatchRobotSmartCallResponse> {
4699
5379
  Util.validateModel(request);
4700
5380
  let query = { };
@@ -4771,52 +5451,31 @@ export default class Client extends OpenApi {
4771
5451
  return $tea.cast<BatchRobotSmartCallResponse>(await this.callApi(params, req, runtime), new BatchRobotSmartCallResponse({}));
4772
5452
  }
4773
5453
 
5454
+ /**
5455
+ * * In an intelligent speech interaction task, you can use the robot communication scripts preset in the Voice Messaging Service console, or invoke the callback function to return the response mode configured by the business party in each call.
5456
+ * * The BatchRobotSmartCall operation is used to initiate an outbound robocall task by using the robot communication scripts preset in the Voice Messaging Service console.
5457
+ * ## Prerequisites
5458
+ * * You have passed the real-name verification for an enterprise user and passed the enterprise qualification review.
5459
+ * * You have purchased numbers in the [Voice Messaging Service console](https://dyvms.console.aliyun.com/dyvms.htm#/number/normal).
5460
+ * * You have added communication scripts on the [Communication script management](https://dyvms.console.aliyun.com/dyvms.htm#/smart-call/saas/robot/list) page, and the communication scripts have been approved.
5461
+ * > Before you call this operation, make sure that you are familiar with the [billing](https://www.aliyun.com/price/product#/vms/detail) of Voice Messaging Service (VMS).
5462
+ *
5463
+ * @param request BatchRobotSmartCallRequest
5464
+ * @return BatchRobotSmartCallResponse
5465
+ */
4774
5466
  async batchRobotSmartCall(request: BatchRobotSmartCallRequest): Promise<BatchRobotSmartCallResponse> {
4775
5467
  let runtime = new $Util.RuntimeOptions({ });
4776
5468
  return await this.batchRobotSmartCallWithOptions(request, runtime);
4777
5469
  }
4778
5470
 
4779
- async cancelCallWithOptions(request: CancelCallRequest, runtime: $Util.RuntimeOptions): Promise<CancelCallResponse> {
4780
- Util.validateModel(request);
4781
- let query = { };
4782
- if (!Util.isUnset(request.callId)) {
4783
- query["CallId"] = request.callId;
4784
- }
4785
-
4786
- if (!Util.isUnset(request.ownerId)) {
4787
- query["OwnerId"] = request.ownerId;
4788
- }
4789
-
4790
- if (!Util.isUnset(request.resourceOwnerAccount)) {
4791
- query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4792
- }
4793
-
4794
- if (!Util.isUnset(request.resourceOwnerId)) {
4795
- query["ResourceOwnerId"] = request.resourceOwnerId;
4796
- }
4797
-
4798
- let req = new $OpenApi.OpenApiRequest({
4799
- query: OpenApiUtil.query(query),
4800
- });
4801
- let params = new $OpenApi.Params({
4802
- action: "CancelCall",
4803
- version: "2017-05-25",
4804
- protocol: "HTTPS",
4805
- pathname: "/",
4806
- method: "POST",
4807
- authType: "AK",
4808
- style: "RPC",
4809
- reqBodyType: "formData",
4810
- bodyType: "json",
4811
- });
4812
- return $tea.cast<CancelCallResponse>(await this.callApi(params, req, runtime), new CancelCallResponse({}));
4813
- }
4814
-
4815
- async cancelCall(request: CancelCallRequest): Promise<CancelCallResponse> {
4816
- let runtime = new $Util.RuntimeOptions({ });
4817
- return await this.cancelCallWithOptions(request, runtime);
4818
- }
4819
-
5471
+ /**
5472
+ * ### QPS limits
5473
+ * You can call this operation up to 100 times per second per account.
5474
+ *
5475
+ * @param request CancelOrderRobotTaskRequest
5476
+ * @param runtime runtime options for this request RuntimeOptions
5477
+ * @return CancelOrderRobotTaskResponse
5478
+ */
4820
5479
  async cancelOrderRobotTaskWithOptions(request: CancelOrderRobotTaskRequest, runtime: $Util.RuntimeOptions): Promise<CancelOrderRobotTaskResponse> {
4821
5480
  Util.validateModel(request);
4822
5481
  let query = { };
@@ -4853,11 +5512,27 @@ export default class Client extends OpenApi {
4853
5512
  return $tea.cast<CancelOrderRobotTaskResponse>(await this.callApi(params, req, runtime), new CancelOrderRobotTaskResponse({}));
4854
5513
  }
4855
5514
 
5515
+ /**
5516
+ * ### QPS limits
5517
+ * You can call this operation up to 100 times per second per account.
5518
+ *
5519
+ * @param request CancelOrderRobotTaskRequest
5520
+ * @return CancelOrderRobotTaskResponse
5521
+ */
4856
5522
  async cancelOrderRobotTask(request: CancelOrderRobotTaskRequest): Promise<CancelOrderRobotTaskResponse> {
4857
5523
  let runtime = new $Util.RuntimeOptions({ });
4858
5524
  return await this.cancelOrderRobotTaskWithOptions(request, runtime);
4859
5525
  }
4860
5526
 
5527
+ /**
5528
+ * Only a task in progress can be terminated by calling the CancelRobotTask operation, and the task cannot be resumed after it is terminated.
5529
+ * ### QPS limits
5530
+ * You can call this operation up to 100 times per second per account.
5531
+ *
5532
+ * @param request CancelRobotTaskRequest
5533
+ * @param runtime runtime options for this request RuntimeOptions
5534
+ * @return CancelRobotTaskResponse
5535
+ */
4861
5536
  async cancelRobotTaskWithOptions(request: CancelRobotTaskRequest, runtime: $Util.RuntimeOptions): Promise<CancelRobotTaskResponse> {
4862
5537
  Util.validateModel(request);
4863
5538
  let query = { };
@@ -4894,36 +5569,32 @@ export default class Client extends OpenApi {
4894
5569
  return $tea.cast<CancelRobotTaskResponse>(await this.callApi(params, req, runtime), new CancelRobotTaskResponse({}));
4895
5570
  }
4896
5571
 
5572
+ /**
5573
+ * Only a task in progress can be terminated by calling the CancelRobotTask operation, and the task cannot be resumed after it is terminated.
5574
+ * ### QPS limits
5575
+ * You can call this operation up to 100 times per second per account.
5576
+ *
5577
+ * @param request CancelRobotTaskRequest
5578
+ * @return CancelRobotTaskResponse
5579
+ */
4897
5580
  async cancelRobotTask(request: CancelRobotTaskRequest): Promise<CancelRobotTaskResponse> {
4898
5581
  let runtime = new $Util.RuntimeOptions({ });
4899
5582
  return await this.cancelRobotTaskWithOptions(request, runtime);
4900
5583
  }
4901
5584
 
4902
- async clickToDialWithOptions(request: ClickToDialRequest, runtime: $Util.RuntimeOptions): Promise<ClickToDialResponse> {
5585
+ async changeMediaTypeWithOptions(request: ChangeMediaTypeRequest, runtime: $Util.RuntimeOptions): Promise<ChangeMediaTypeResponse> {
4903
5586
  Util.validateModel(request);
4904
5587
  let query = { };
4905
- if (!Util.isUnset(request.asrFlag)) {
4906
- query["AsrFlag"] = request.asrFlag;
4907
- }
4908
-
4909
- if (!Util.isUnset(request.asrModelId)) {
4910
- query["AsrModelId"] = request.asrModelId;
4911
- }
4912
-
4913
- if (!Util.isUnset(request.calledNumber)) {
4914
- query["CalledNumber"] = request.calledNumber;
4915
- }
4916
-
4917
- if (!Util.isUnset(request.calledShowNumber)) {
4918
- query["CalledShowNumber"] = request.calledShowNumber;
5588
+ if (!Util.isUnset(request.callId)) {
5589
+ query["CallId"] = request.callId;
4919
5590
  }
4920
5591
 
4921
- if (!Util.isUnset(request.callerNumber)) {
4922
- query["CallerNumber"] = request.callerNumber;
5592
+ if (!Util.isUnset(request.calledNum)) {
5593
+ query["CalledNum"] = request.calledNum;
4923
5594
  }
4924
5595
 
4925
- if (!Util.isUnset(request.callerShowNumber)) {
4926
- query["CallerShowNumber"] = request.callerShowNumber;
5596
+ if (!Util.isUnset(request.mediaType)) {
5597
+ query["MediaType"] = request.mediaType;
4927
5598
  }
4928
5599
 
4929
5600
  if (!Util.isUnset(request.outId)) {
@@ -4934,10 +5605,6 @@ export default class Client extends OpenApi {
4934
5605
  query["OwnerId"] = request.ownerId;
4935
5606
  }
4936
5607
 
4937
- if (!Util.isUnset(request.recordFlag)) {
4938
- query["RecordFlag"] = request.recordFlag;
4939
- }
4940
-
4941
5608
  if (!Util.isUnset(request.resourceOwnerAccount)) {
4942
5609
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4943
5610
  }
@@ -4946,15 +5613,11 @@ export default class Client extends OpenApi {
4946
5613
  query["ResourceOwnerId"] = request.resourceOwnerId;
4947
5614
  }
4948
5615
 
4949
- if (!Util.isUnset(request.sessionTimeout)) {
4950
- query["SessionTimeout"] = request.sessionTimeout;
4951
- }
4952
-
4953
5616
  let req = new $OpenApi.OpenApiRequest({
4954
5617
  query: OpenApiUtil.query(query),
4955
5618
  });
4956
5619
  let params = new $OpenApi.Params({
4957
- action: "ClickToDial",
5620
+ action: "ChangeMediaType",
4958
5621
  version: "2017-05-25",
4959
5622
  protocol: "HTTPS",
4960
5623
  pathname: "/",
@@ -4964,14 +5627,23 @@ export default class Client extends OpenApi {
4964
5627
  reqBodyType: "formData",
4965
5628
  bodyType: "json",
4966
5629
  });
4967
- return $tea.cast<ClickToDialResponse>(await this.callApi(params, req, runtime), new ClickToDialResponse({}));
5630
+ return $tea.cast<ChangeMediaTypeResponse>(await this.callApi(params, req, runtime), new ChangeMediaTypeResponse({}));
4968
5631
  }
4969
5632
 
4970
- async clickToDial(request: ClickToDialRequest): Promise<ClickToDialResponse> {
5633
+ async changeMediaType(request: ChangeMediaTypeRequest): Promise<ChangeMediaTypeResponse> {
4971
5634
  let runtime = new $Util.RuntimeOptions({ });
4972
- return await this.clickToDialWithOptions(request, runtime);
4973
- }
4974
-
5635
+ return await this.changeMediaTypeWithOptions(request, runtime);
5636
+ }
5637
+
5638
+ /**
5639
+ * You can create up to 1,000 voice notifications for each task.
5640
+ * ### QPS limits
5641
+ * You can call this operation up to 100 times per second per account.
5642
+ *
5643
+ * @param request CreateCallTaskRequest
5644
+ * @param runtime runtime options for this request RuntimeOptions
5645
+ * @return CreateCallTaskResponse
5646
+ */
4975
5647
  async createCallTaskWithOptions(request: CreateCallTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateCallTaskResponse> {
4976
5648
  Util.validateModel(request);
4977
5649
  let query = { };
@@ -5048,11 +5720,28 @@ export default class Client extends OpenApi {
5048
5720
  return $tea.cast<CreateCallTaskResponse>(await this.callApi(params, req, runtime), new CreateCallTaskResponse({}));
5049
5721
  }
5050
5722
 
5723
+ /**
5724
+ * You can create up to 1,000 voice notifications for each task.
5725
+ * ### QPS limits
5726
+ * You can call this operation up to 100 times per second per account.
5727
+ *
5728
+ * @param request CreateCallTaskRequest
5729
+ * @return CreateCallTaskResponse
5730
+ */
5051
5731
  async createCallTask(request: CreateCallTaskRequest): Promise<CreateCallTaskResponse> {
5052
5732
  let runtime = new $Util.RuntimeOptions({ });
5053
5733
  return await this.createCallTaskWithOptions(request, runtime);
5054
5734
  }
5055
5735
 
5736
+ /**
5737
+ * You can call this operation to initiate an outbound robocall task by using the robot communication scripts preset in the Voice Messaging Service console. In an intelligent speech interaction task, you can use the robot communication scripts preset in the Voice Messaging Service console, or invoke the callback function to return the response mode configured by the business party in each call.
5738
+ * ### QPS limits
5739
+ * You can call this operation up to 100 times per second per account.
5740
+ *
5741
+ * @param request CreateRobotTaskRequest
5742
+ * @param runtime runtime options for this request RuntimeOptions
5743
+ * @return CreateRobotTaskResponse
5744
+ */
5056
5745
  async createRobotTaskWithOptions(request: CreateRobotTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateRobotTaskResponse> {
5057
5746
  Util.validateModel(request);
5058
5747
  let query = { };
@@ -5125,14 +5814,38 @@ export default class Client extends OpenApi {
5125
5814
  return $tea.cast<CreateRobotTaskResponse>(await this.callApi(params, req, runtime), new CreateRobotTaskResponse({}));
5126
5815
  }
5127
5816
 
5817
+ /**
5818
+ * You can call this operation to initiate an outbound robocall task by using the robot communication scripts preset in the Voice Messaging Service console. In an intelligent speech interaction task, you can use the robot communication scripts preset in the Voice Messaging Service console, or invoke the callback function to return the response mode configured by the business party in each call.
5819
+ * ### QPS limits
5820
+ * You can call this operation up to 100 times per second per account.
5821
+ *
5822
+ * @param request CreateRobotTaskRequest
5823
+ * @return CreateRobotTaskResponse
5824
+ */
5128
5825
  async createRobotTask(request: CreateRobotTaskRequest): Promise<CreateRobotTaskResponse> {
5129
5826
  let runtime = new $Util.RuntimeOptions({ });
5130
5827
  return await this.createRobotTaskWithOptions(request, runtime);
5131
5828
  }
5132
5829
 
5133
- async deleteRobotTaskWithOptions(request: DeleteRobotTaskRequest, runtime: $Util.RuntimeOptions): Promise<DeleteRobotTaskResponse> {
5830
+ async degradeVideoFileWithOptions(request: DegradeVideoFileRequest, runtime: $Util.RuntimeOptions): Promise<DegradeVideoFileResponse> {
5134
5831
  Util.validateModel(request);
5135
5832
  let query = { };
5833
+ if (!Util.isUnset(request.callId)) {
5834
+ query["CallId"] = request.callId;
5835
+ }
5836
+
5837
+ if (!Util.isUnset(request.calledNumber)) {
5838
+ query["CalledNumber"] = request.calledNumber;
5839
+ }
5840
+
5841
+ if (!Util.isUnset(request.mediaType)) {
5842
+ query["MediaType"] = request.mediaType;
5843
+ }
5844
+
5845
+ if (!Util.isUnset(request.outId)) {
5846
+ query["OutId"] = request.outId;
5847
+ }
5848
+
5136
5849
  if (!Util.isUnset(request.ownerId)) {
5137
5850
  query["OwnerId"] = request.ownerId;
5138
5851
  }
@@ -5145,15 +5858,11 @@ export default class Client extends OpenApi {
5145
5858
  query["ResourceOwnerId"] = request.resourceOwnerId;
5146
5859
  }
5147
5860
 
5148
- if (!Util.isUnset(request.taskId)) {
5149
- query["TaskId"] = request.taskId;
5150
- }
5151
-
5152
5861
  let req = new $OpenApi.OpenApiRequest({
5153
5862
  query: OpenApiUtil.query(query),
5154
5863
  });
5155
5864
  let params = new $OpenApi.Params({
5156
- action: "DeleteRobotTask",
5865
+ action: "DegradeVideoFile",
5157
5866
  version: "2017-05-25",
5158
5867
  protocol: "HTTPS",
5159
5868
  pathname: "/",
@@ -5163,21 +5872,26 @@ export default class Client extends OpenApi {
5163
5872
  reqBodyType: "formData",
5164
5873
  bodyType: "json",
5165
5874
  });
5166
- return $tea.cast<DeleteRobotTaskResponse>(await this.callApi(params, req, runtime), new DeleteRobotTaskResponse({}));
5875
+ return $tea.cast<DegradeVideoFileResponse>(await this.callApi(params, req, runtime), new DegradeVideoFileResponse({}));
5167
5876
  }
5168
5877
 
5169
- async deleteRobotTask(request: DeleteRobotTaskRequest): Promise<DeleteRobotTaskResponse> {
5878
+ async degradeVideoFile(request: DegradeVideoFileRequest): Promise<DegradeVideoFileResponse> {
5170
5879
  let runtime = new $Util.RuntimeOptions({ });
5171
- return await this.deleteRobotTaskWithOptions(request, runtime);
5172
- }
5173
-
5174
- async executeCallTaskWithOptions(request: ExecuteCallTaskRequest, runtime: $Util.RuntimeOptions): Promise<ExecuteCallTaskResponse> {
5880
+ return await this.degradeVideoFileWithOptions(request, runtime);
5881
+ }
5882
+
5883
+ /**
5884
+ * You can call this operation to delete only tasks that are not started, that are completed, and that are terminated.
5885
+ * ### QPS limits
5886
+ * You can call this operation up to 100 times per second per account.
5887
+ *
5888
+ * @param request DeleteRobotTaskRequest
5889
+ * @param runtime runtime options for this request RuntimeOptions
5890
+ * @return DeleteRobotTaskResponse
5891
+ */
5892
+ async deleteRobotTaskWithOptions(request: DeleteRobotTaskRequest, runtime: $Util.RuntimeOptions): Promise<DeleteRobotTaskResponse> {
5175
5893
  Util.validateModel(request);
5176
5894
  let query = { };
5177
- if (!Util.isUnset(request.fireTime)) {
5178
- query["FireTime"] = request.fireTime;
5179
- }
5180
-
5181
5895
  if (!Util.isUnset(request.ownerId)) {
5182
5896
  query["OwnerId"] = request.ownerId;
5183
5897
  }
@@ -5190,10 +5904,6 @@ export default class Client extends OpenApi {
5190
5904
  query["ResourceOwnerId"] = request.resourceOwnerId;
5191
5905
  }
5192
5906
 
5193
- if (!Util.isUnset(request.status)) {
5194
- query["Status"] = request.status;
5195
- }
5196
-
5197
5907
  if (!Util.isUnset(request.taskId)) {
5198
5908
  query["TaskId"] = request.taskId;
5199
5909
  }
@@ -5202,7 +5912,7 @@ export default class Client extends OpenApi {
5202
5912
  query: OpenApiUtil.query(query),
5203
5913
  });
5204
5914
  let params = new $OpenApi.Params({
5205
- action: "ExecuteCallTask",
5915
+ action: "DeleteRobotTask",
5206
5916
  version: "2017-05-25",
5207
5917
  protocol: "HTTPS",
5208
5918
  pathname: "/",
@@ -5212,17 +5922,37 @@ export default class Client extends OpenApi {
5212
5922
  reqBodyType: "formData",
5213
5923
  bodyType: "json",
5214
5924
  });
5215
- return $tea.cast<ExecuteCallTaskResponse>(await this.callApi(params, req, runtime), new ExecuteCallTaskResponse({}));
5925
+ return $tea.cast<DeleteRobotTaskResponse>(await this.callApi(params, req, runtime), new DeleteRobotTaskResponse({}));
5216
5926
  }
5217
5927
 
5218
- async executeCallTask(request: ExecuteCallTaskRequest): Promise<ExecuteCallTaskResponse> {
5928
+ /**
5929
+ * You can call this operation to delete only tasks that are not started, that are completed, and that are terminated.
5930
+ * ### QPS limits
5931
+ * You can call this operation up to 100 times per second per account.
5932
+ *
5933
+ * @param request DeleteRobotTaskRequest
5934
+ * @return DeleteRobotTaskResponse
5935
+ */
5936
+ async deleteRobotTask(request: DeleteRobotTaskRequest): Promise<DeleteRobotTaskResponse> {
5219
5937
  let runtime = new $Util.RuntimeOptions({ });
5220
- return await this.executeCallTaskWithOptions(request, runtime);
5938
+ return await this.deleteRobotTaskWithOptions(request, runtime);
5221
5939
  }
5222
5940
 
5223
- async getCallInfoWithOptions(request: GetCallInfoRequest, runtime: $Util.RuntimeOptions): Promise<GetCallInfoResponse> {
5941
+ /**
5942
+ * ### QPS limits
5943
+ * You can call this operation up to 100 times per second per account.
5944
+ *
5945
+ * @param request ExecuteCallTaskRequest
5946
+ * @param runtime runtime options for this request RuntimeOptions
5947
+ * @return ExecuteCallTaskResponse
5948
+ */
5949
+ async executeCallTaskWithOptions(request: ExecuteCallTaskRequest, runtime: $Util.RuntimeOptions): Promise<ExecuteCallTaskResponse> {
5224
5950
  Util.validateModel(request);
5225
5951
  let query = { };
5952
+ if (!Util.isUnset(request.fireTime)) {
5953
+ query["FireTime"] = request.fireTime;
5954
+ }
5955
+
5226
5956
  if (!Util.isUnset(request.ownerId)) {
5227
5957
  query["OwnerId"] = request.ownerId;
5228
5958
  }
@@ -5235,15 +5965,19 @@ export default class Client extends OpenApi {
5235
5965
  query["ResourceOwnerId"] = request.resourceOwnerId;
5236
5966
  }
5237
5967
 
5238
- if (!Util.isUnset(request.rtcId)) {
5239
- query["RtcId"] = request.rtcId;
5968
+ if (!Util.isUnset(request.status)) {
5969
+ query["Status"] = request.status;
5970
+ }
5971
+
5972
+ if (!Util.isUnset(request.taskId)) {
5973
+ query["TaskId"] = request.taskId;
5240
5974
  }
5241
5975
 
5242
5976
  let req = new $OpenApi.OpenApiRequest({
5243
5977
  query: OpenApiUtil.query(query),
5244
5978
  });
5245
5979
  let params = new $OpenApi.Params({
5246
- action: "GetCallInfo",
5980
+ action: "ExecuteCallTask",
5247
5981
  version: "2017-05-25",
5248
5982
  protocol: "HTTPS",
5249
5983
  pathname: "/",
@@ -5253,19 +5987,30 @@ export default class Client extends OpenApi {
5253
5987
  reqBodyType: "formData",
5254
5988
  bodyType: "json",
5255
5989
  });
5256
- return $tea.cast<GetCallInfoResponse>(await this.callApi(params, req, runtime), new GetCallInfoResponse({}));
5990
+ return $tea.cast<ExecuteCallTaskResponse>(await this.callApi(params, req, runtime), new ExecuteCallTaskResponse({}));
5257
5991
  }
5258
5992
 
5259
- async getCallInfo(request: GetCallInfoRequest): Promise<GetCallInfoResponse> {
5993
+ /**
5994
+ * ### QPS limits
5995
+ * You can call this operation up to 100 times per second per account.
5996
+ *
5997
+ * @param request ExecuteCallTaskRequest
5998
+ * @return ExecuteCallTaskResponse
5999
+ */
6000
+ async executeCallTask(request: ExecuteCallTaskRequest): Promise<ExecuteCallTaskResponse> {
5260
6001
  let runtime = new $Util.RuntimeOptions({ });
5261
- return await this.getCallInfoWithOptions(request, runtime);
6002
+ return await this.executeCallTaskWithOptions(request, runtime);
5262
6003
  }
5263
6004
 
5264
- async getHotlineQualificationByOrderWithOptions(request: GetHotlineQualificationByOrderRequest, runtime: $Util.RuntimeOptions): Promise<GetHotlineQualificationByOrderResponse> {
6005
+ async getCallProgressWithOptions(request: GetCallProgressRequest, runtime: $Util.RuntimeOptions): Promise<GetCallProgressResponse> {
5265
6006
  Util.validateModel(request);
5266
6007
  let query = { };
5267
- if (!Util.isUnset(request.orderId)) {
5268
- query["OrderId"] = request.orderId;
6008
+ if (!Util.isUnset(request.callId)) {
6009
+ query["CallId"] = request.callId;
6010
+ }
6011
+
6012
+ if (!Util.isUnset(request.calledNum)) {
6013
+ query["CalledNum"] = request.calledNum;
5269
6014
  }
5270
6015
 
5271
6016
  if (!Util.isUnset(request.ownerId)) {
@@ -5284,7 +6029,7 @@ export default class Client extends OpenApi {
5284
6029
  query: OpenApiUtil.query(query),
5285
6030
  });
5286
6031
  let params = new $OpenApi.Params({
5287
- action: "GetHotlineQualificationByOrder",
6032
+ action: "GetCallProgress",
5288
6033
  version: "2017-05-25",
5289
6034
  protocol: "HTTPS",
5290
6035
  pathname: "/",
@@ -5294,17 +6039,29 @@ export default class Client extends OpenApi {
5294
6039
  reqBodyType: "formData",
5295
6040
  bodyType: "json",
5296
6041
  });
5297
- return $tea.cast<GetHotlineQualificationByOrderResponse>(await this.callApi(params, req, runtime), new GetHotlineQualificationByOrderResponse({}));
6042
+ return $tea.cast<GetCallProgressResponse>(await this.callApi(params, req, runtime), new GetCallProgressResponse({}));
5298
6043
  }
5299
6044
 
5300
- async getHotlineQualificationByOrder(request: GetHotlineQualificationByOrderRequest): Promise<GetHotlineQualificationByOrderResponse> {
6045
+ async getCallProgress(request: GetCallProgressRequest): Promise<GetCallProgressResponse> {
5301
6046
  let runtime = new $Util.RuntimeOptions({ });
5302
- return await this.getHotlineQualificationByOrderWithOptions(request, runtime);
6047
+ return await this.getCallProgressWithOptions(request, runtime);
5303
6048
  }
5304
6049
 
5305
- async getMqttTokenWithOptions(request: GetMqttTokenRequest, runtime: $Util.RuntimeOptions): Promise<GetMqttTokenResponse> {
6050
+ /**
6051
+ * ### QPS limits
6052
+ * You can call this operation up to 100 times per second per account.
6053
+ *
6054
+ * @param request GetHotlineQualificationByOrderRequest
6055
+ * @param runtime runtime options for this request RuntimeOptions
6056
+ * @return GetHotlineQualificationByOrderResponse
6057
+ */
6058
+ async getHotlineQualificationByOrderWithOptions(request: GetHotlineQualificationByOrderRequest, runtime: $Util.RuntimeOptions): Promise<GetHotlineQualificationByOrderResponse> {
5306
6059
  Util.validateModel(request);
5307
6060
  let query = { };
6061
+ if (!Util.isUnset(request.orderId)) {
6062
+ query["OrderId"] = request.orderId;
6063
+ }
6064
+
5308
6065
  if (!Util.isUnset(request.ownerId)) {
5309
6066
  query["OwnerId"] = request.ownerId;
5310
6067
  }
@@ -5321,7 +6078,7 @@ export default class Client extends OpenApi {
5321
6078
  query: OpenApiUtil.query(query),
5322
6079
  });
5323
6080
  let params = new $OpenApi.Params({
5324
- action: "GetMqttToken",
6081
+ action: "GetHotlineQualificationByOrder",
5325
6082
  version: "2017-05-25",
5326
6083
  protocol: "HTTPS",
5327
6084
  pathname: "/",
@@ -5331,25 +6088,32 @@ export default class Client extends OpenApi {
5331
6088
  reqBodyType: "formData",
5332
6089
  bodyType: "json",
5333
6090
  });
5334
- return $tea.cast<GetMqttTokenResponse>(await this.callApi(params, req, runtime), new GetMqttTokenResponse({}));
6091
+ return $tea.cast<GetHotlineQualificationByOrderResponse>(await this.callApi(params, req, runtime), new GetHotlineQualificationByOrderResponse({}));
5335
6092
  }
5336
6093
 
5337
- async getMqttToken(request: GetMqttTokenRequest): Promise<GetMqttTokenResponse> {
6094
+ /**
6095
+ * ### QPS limits
6096
+ * You can call this operation up to 100 times per second per account.
6097
+ *
6098
+ * @param request GetHotlineQualificationByOrderRequest
6099
+ * @return GetHotlineQualificationByOrderResponse
6100
+ */
6101
+ async getHotlineQualificationByOrder(request: GetHotlineQualificationByOrderRequest): Promise<GetHotlineQualificationByOrderResponse> {
5338
6102
  let runtime = new $Util.RuntimeOptions({ });
5339
- return await this.getMqttTokenWithOptions(request, runtime);
6103
+ return await this.getHotlineQualificationByOrderWithOptions(request, runtime);
5340
6104
  }
5341
6105
 
5342
- async getRtcTokenWithOptions(request: GetRtcTokenRequest, runtime: $Util.RuntimeOptions): Promise<GetRtcTokenResponse> {
6106
+ /**
6107
+ * ### QPS limits
6108
+ * You can call this operation up to five times per second per account.
6109
+ *
6110
+ * @param request GetTokenRequest
6111
+ * @param runtime runtime options for this request RuntimeOptions
6112
+ * @return GetTokenResponse
6113
+ */
6114
+ async getTokenWithOptions(request: GetTokenRequest, runtime: $Util.RuntimeOptions): Promise<GetTokenResponse> {
5343
6115
  Util.validateModel(request);
5344
6116
  let query = { };
5345
- if (!Util.isUnset(request.deviceId)) {
5346
- query["DeviceId"] = request.deviceId;
5347
- }
5348
-
5349
- if (!Util.isUnset(request.isCustomAccount)) {
5350
- query["IsCustomAccount"] = request.isCustomAccount;
5351
- }
5352
-
5353
6117
  if (!Util.isUnset(request.ownerId)) {
5354
6118
  query["OwnerId"] = request.ownerId;
5355
6119
  }
@@ -5362,15 +6126,15 @@ export default class Client extends OpenApi {
5362
6126
  query["ResourceOwnerId"] = request.resourceOwnerId;
5363
6127
  }
5364
6128
 
5365
- if (!Util.isUnset(request.userId)) {
5366
- query["UserId"] = request.userId;
6129
+ if (!Util.isUnset(request.tokenType)) {
6130
+ query["TokenType"] = request.tokenType;
5367
6131
  }
5368
6132
 
5369
6133
  let req = new $OpenApi.OpenApiRequest({
5370
6134
  query: OpenApiUtil.query(query),
5371
6135
  });
5372
6136
  let params = new $OpenApi.Params({
5373
- action: "GetRtcToken",
6137
+ action: "GetToken",
5374
6138
  version: "2017-05-25",
5375
6139
  protocol: "HTTPS",
5376
6140
  pathname: "/",
@@ -5380,15 +6144,22 @@ export default class Client extends OpenApi {
5380
6144
  reqBodyType: "formData",
5381
6145
  bodyType: "json",
5382
6146
  });
5383
- return $tea.cast<GetRtcTokenResponse>(await this.callApi(params, req, runtime), new GetRtcTokenResponse({}));
6147
+ return $tea.cast<GetTokenResponse>(await this.callApi(params, req, runtime), new GetTokenResponse({}));
5384
6148
  }
5385
6149
 
5386
- async getRtcToken(request: GetRtcTokenRequest): Promise<GetRtcTokenResponse> {
6150
+ /**
6151
+ * ### QPS limits
6152
+ * You can call this operation up to five times per second per account.
6153
+ *
6154
+ * @param request GetTokenRequest
6155
+ * @return GetTokenResponse
6156
+ */
6157
+ async getToken(request: GetTokenRequest): Promise<GetTokenResponse> {
5387
6158
  let runtime = new $Util.RuntimeOptions({ });
5388
- return await this.getRtcTokenWithOptions(request, runtime);
6159
+ return await this.getTokenWithOptions(request, runtime);
5389
6160
  }
5390
6161
 
5391
- async getTokenWithOptions(request: GetTokenRequest, runtime: $Util.RuntimeOptions): Promise<GetTokenResponse> {
6162
+ async getVideoFieldUrlWithOptions(request: GetVideoFieldUrlRequest, runtime: $Util.RuntimeOptions): Promise<GetVideoFieldUrlResponse> {
5392
6163
  Util.validateModel(request);
5393
6164
  let query = { };
5394
6165
  if (!Util.isUnset(request.ownerId)) {
@@ -5403,15 +6174,15 @@ export default class Client extends OpenApi {
5403
6174
  query["ResourceOwnerId"] = request.resourceOwnerId;
5404
6175
  }
5405
6176
 
5406
- if (!Util.isUnset(request.tokenType)) {
5407
- query["TokenType"] = request.tokenType;
6177
+ if (!Util.isUnset(request.videoFile)) {
6178
+ query["VideoFile"] = request.videoFile;
5408
6179
  }
5409
6180
 
5410
6181
  let req = new $OpenApi.OpenApiRequest({
5411
6182
  query: OpenApiUtil.query(query),
5412
6183
  });
5413
6184
  let params = new $OpenApi.Params({
5414
- action: "GetToken",
6185
+ action: "GetVideoFieldUrl",
5415
6186
  version: "2017-05-25",
5416
6187
  protocol: "HTTPS",
5417
6188
  pathname: "/",
@@ -5421,14 +6192,25 @@ export default class Client extends OpenApi {
5421
6192
  reqBodyType: "formData",
5422
6193
  bodyType: "json",
5423
6194
  });
5424
- return $tea.cast<GetTokenResponse>(await this.callApi(params, req, runtime), new GetTokenResponse({}));
6195
+ return $tea.cast<GetVideoFieldUrlResponse>(await this.callApi(params, req, runtime), new GetVideoFieldUrlResponse({}));
5425
6196
  }
5426
6197
 
5427
- async getToken(request: GetTokenRequest): Promise<GetTokenResponse> {
6198
+ async getVideoFieldUrl(request: GetVideoFieldUrlRequest): Promise<GetVideoFieldUrlResponse> {
5428
6199
  let runtime = new $Util.RuntimeOptions({ });
5429
- return await this.getTokenWithOptions(request, runtime);
5430
- }
5431
-
6200
+ return await this.getVideoFieldUrlWithOptions(request, runtime);
6201
+ }
6202
+
6203
+ /**
6204
+ * * Your enterprise qualification is approved. For more information, see [Submit enterprise qualifications](~~149795~~).
6205
+ * * Voice numbers are purchased. For more information, see [Purchase numbers](~~149794~~).
6206
+ * * When the subscriber answers the call, the subscriber hears a voice that instructs the subscriber to press a key as needed. If the [message receipt](~~112503~~) feature is enabled, the Voice Messaging Service (VMS) platform returns the information about the key pressed by the subscriber to the business system. The key information includes the order confirmation, questionnaire survey, and satisfaction survey completed by the subscriber.
6207
+ * ## QPS limits
6208
+ * You can call this operation up to 100 times per second per account.
6209
+ *
6210
+ * @param request IvrCallRequest
6211
+ * @param runtime runtime options for this request RuntimeOptions
6212
+ * @return IvrCallResponse
6213
+ */
5432
6214
  async ivrCallWithOptions(request: IvrCallRequest, runtime: $Util.RuntimeOptions): Promise<IvrCallResponse> {
5433
6215
  Util.validateModel(request);
5434
6216
  let query = { };
@@ -5501,11 +6283,29 @@ export default class Client extends OpenApi {
5501
6283
  return $tea.cast<IvrCallResponse>(await this.callApi(params, req, runtime), new IvrCallResponse({}));
5502
6284
  }
5503
6285
 
6286
+ /**
6287
+ * * Your enterprise qualification is approved. For more information, see [Submit enterprise qualifications](~~149795~~).
6288
+ * * Voice numbers are purchased. For more information, see [Purchase numbers](~~149794~~).
6289
+ * * When the subscriber answers the call, the subscriber hears a voice that instructs the subscriber to press a key as needed. If the [message receipt](~~112503~~) feature is enabled, the Voice Messaging Service (VMS) platform returns the information about the key pressed by the subscriber to the business system. The key information includes the order confirmation, questionnaire survey, and satisfaction survey completed by the subscriber.
6290
+ * ## QPS limits
6291
+ * You can call this operation up to 100 times per second per account.
6292
+ *
6293
+ * @param request IvrCallRequest
6294
+ * @return IvrCallResponse
6295
+ */
5504
6296
  async ivrCall(request: IvrCallRequest): Promise<IvrCallResponse> {
5505
6297
  let runtime = new $Util.RuntimeOptions({ });
5506
6298
  return await this.ivrCallWithOptions(request, runtime);
5507
6299
  }
5508
6300
 
6301
+ /**
6302
+ * ### QPS limits
6303
+ * You can call this operation up to 100 times per second per account.
6304
+ *
6305
+ * @param request ListCallTaskRequest
6306
+ * @param runtime runtime options for this request RuntimeOptions
6307
+ * @return ListCallTaskResponse
6308
+ */
5509
6309
  async listCallTaskWithOptions(request: ListCallTaskRequest, runtime: $Util.RuntimeOptions): Promise<ListCallTaskResponse> {
5510
6310
  Util.validateModel(request);
5511
6311
  let query = { };
@@ -5566,11 +6366,26 @@ export default class Client extends OpenApi {
5566
6366
  return $tea.cast<ListCallTaskResponse>(await this.callApi(params, req, runtime), new ListCallTaskResponse({}));
5567
6367
  }
5568
6368
 
6369
+ /**
6370
+ * ### QPS limits
6371
+ * You can call this operation up to 100 times per second per account.
6372
+ *
6373
+ * @param request ListCallTaskRequest
6374
+ * @return ListCallTaskResponse
6375
+ */
5569
6376
  async listCallTask(request: ListCallTaskRequest): Promise<ListCallTaskResponse> {
5570
6377
  let runtime = new $Util.RuntimeOptions({ });
5571
6378
  return await this.listCallTaskWithOptions(request, runtime);
5572
6379
  }
5573
6380
 
6381
+ /**
6382
+ * ### QPS limits
6383
+ * You can call this operation up to 100 times per second per account.
6384
+ *
6385
+ * @param request ListCallTaskDetailRequest
6386
+ * @param runtime runtime options for this request RuntimeOptions
6387
+ * @return ListCallTaskDetailResponse
6388
+ */
5574
6389
  async listCallTaskDetailWithOptions(request: ListCallTaskDetailRequest, runtime: $Util.RuntimeOptions): Promise<ListCallTaskDetailResponse> {
5575
6390
  Util.validateModel(request);
5576
6391
  let query = { };
@@ -5623,11 +6438,26 @@ export default class Client extends OpenApi {
5623
6438
  return $tea.cast<ListCallTaskDetailResponse>(await this.callApi(params, req, runtime), new ListCallTaskDetailResponse({}));
5624
6439
  }
5625
6440
 
6441
+ /**
6442
+ * ### QPS limits
6443
+ * You can call this operation up to 100 times per second per account.
6444
+ *
6445
+ * @param request ListCallTaskDetailRequest
6446
+ * @return ListCallTaskDetailResponse
6447
+ */
5626
6448
  async listCallTaskDetail(request: ListCallTaskDetailRequest): Promise<ListCallTaskDetailResponse> {
5627
6449
  let runtime = new $Util.RuntimeOptions({ });
5628
6450
  return await this.listCallTaskDetailWithOptions(request, runtime);
5629
6451
  }
5630
6452
 
6453
+ /**
6454
+ * ### QPS limits
6455
+ * You can call this operation up to 100 times per second per account.
6456
+ *
6457
+ * @param request ListHotlineTransferNumberRequest
6458
+ * @param runtime runtime options for this request RuntimeOptions
6459
+ * @return ListHotlineTransferNumberResponse
6460
+ */
5631
6461
  async listHotlineTransferNumberWithOptions(request: ListHotlineTransferNumberRequest, runtime: $Util.RuntimeOptions): Promise<ListHotlineTransferNumberResponse> {
5632
6462
  Util.validateModel(request);
5633
6463
  let query = { };
@@ -5676,11 +6506,26 @@ export default class Client extends OpenApi {
5676
6506
  return $tea.cast<ListHotlineTransferNumberResponse>(await this.callApi(params, req, runtime), new ListHotlineTransferNumberResponse({}));
5677
6507
  }
5678
6508
 
6509
+ /**
6510
+ * ### QPS limits
6511
+ * You can call this operation up to 100 times per second per account.
6512
+ *
6513
+ * @param request ListHotlineTransferNumberRequest
6514
+ * @return ListHotlineTransferNumberResponse
6515
+ */
5679
6516
  async listHotlineTransferNumber(request: ListHotlineTransferNumberRequest): Promise<ListHotlineTransferNumberResponse> {
5680
6517
  let runtime = new $Util.RuntimeOptions({ });
5681
6518
  return await this.listHotlineTransferNumberWithOptions(request, runtime);
5682
6519
  }
5683
6520
 
6521
+ /**
6522
+ * ### QPS limits
6523
+ * You can call this operation up to 100 times per second per account.
6524
+ *
6525
+ * @param request ListHotlineTransferRegisterFileRequest
6526
+ * @param runtime runtime options for this request RuntimeOptions
6527
+ * @return ListHotlineTransferRegisterFileResponse
6528
+ */
5684
6529
  async listHotlineTransferRegisterFileWithOptions(request: ListHotlineTransferRegisterFileRequest, runtime: $Util.RuntimeOptions): Promise<ListHotlineTransferRegisterFileResponse> {
5685
6530
  Util.validateModel(request);
5686
6531
  let query = { };
@@ -5729,11 +6574,125 @@ export default class Client extends OpenApi {
5729
6574
  return $tea.cast<ListHotlineTransferRegisterFileResponse>(await this.callApi(params, req, runtime), new ListHotlineTransferRegisterFileResponse({}));
5730
6575
  }
5731
6576
 
6577
+ /**
6578
+ * ### QPS limits
6579
+ * You can call this operation up to 100 times per second per account.
6580
+ *
6581
+ * @param request ListHotlineTransferRegisterFileRequest
6582
+ * @return ListHotlineTransferRegisterFileResponse
6583
+ */
5732
6584
  async listHotlineTransferRegisterFile(request: ListHotlineTransferRegisterFileRequest): Promise<ListHotlineTransferRegisterFileResponse> {
5733
6585
  let runtime = new $Util.RuntimeOptions({ });
5734
6586
  return await this.listHotlineTransferRegisterFileWithOptions(request, runtime);
5735
6587
  }
5736
6588
 
6589
+ async pauseVideoFileWithOptions(request: PauseVideoFileRequest, runtime: $Util.RuntimeOptions): Promise<PauseVideoFileResponse> {
6590
+ Util.validateModel(request);
6591
+ let query = { };
6592
+ if (!Util.isUnset(request.callId)) {
6593
+ query["CallId"] = request.callId;
6594
+ }
6595
+
6596
+ if (!Util.isUnset(request.calledNumber)) {
6597
+ query["CalledNumber"] = request.calledNumber;
6598
+ }
6599
+
6600
+ if (!Util.isUnset(request.ownerId)) {
6601
+ query["OwnerId"] = request.ownerId;
6602
+ }
6603
+
6604
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
6605
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
6606
+ }
6607
+
6608
+ if (!Util.isUnset(request.resourceOwnerId)) {
6609
+ query["ResourceOwnerId"] = request.resourceOwnerId;
6610
+ }
6611
+
6612
+ let req = new $OpenApi.OpenApiRequest({
6613
+ query: OpenApiUtil.query(query),
6614
+ });
6615
+ let params = new $OpenApi.Params({
6616
+ action: "PauseVideoFile",
6617
+ version: "2017-05-25",
6618
+ protocol: "HTTPS",
6619
+ pathname: "/",
6620
+ method: "POST",
6621
+ authType: "AK",
6622
+ style: "RPC",
6623
+ reqBodyType: "formData",
6624
+ bodyType: "json",
6625
+ });
6626
+ return $tea.cast<PauseVideoFileResponse>(await this.callApi(params, req, runtime), new PauseVideoFileResponse({}));
6627
+ }
6628
+
6629
+ async pauseVideoFile(request: PauseVideoFileRequest): Promise<PauseVideoFileResponse> {
6630
+ let runtime = new $Util.RuntimeOptions({ });
6631
+ return await this.pauseVideoFileWithOptions(request, runtime);
6632
+ }
6633
+
6634
+ async playVideoFileWithOptions(request: PlayVideoFileRequest, runtime: $Util.RuntimeOptions): Promise<PlayVideoFileResponse> {
6635
+ Util.validateModel(request);
6636
+ let query = { };
6637
+ if (!Util.isUnset(request.callId)) {
6638
+ query["CallId"] = request.callId;
6639
+ }
6640
+
6641
+ if (!Util.isUnset(request.calledNumber)) {
6642
+ query["CalledNumber"] = request.calledNumber;
6643
+ }
6644
+
6645
+ if (!Util.isUnset(request.outId)) {
6646
+ query["OutId"] = request.outId;
6647
+ }
6648
+
6649
+ if (!Util.isUnset(request.ownerId)) {
6650
+ query["OwnerId"] = request.ownerId;
6651
+ }
6652
+
6653
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
6654
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
6655
+ }
6656
+
6657
+ if (!Util.isUnset(request.resourceOwnerId)) {
6658
+ query["ResourceOwnerId"] = request.resourceOwnerId;
6659
+ }
6660
+
6661
+ if (!Util.isUnset(request.videoId)) {
6662
+ query["VideoId"] = request.videoId;
6663
+ }
6664
+
6665
+ let req = new $OpenApi.OpenApiRequest({
6666
+ query: OpenApiUtil.query(query),
6667
+ });
6668
+ let params = new $OpenApi.Params({
6669
+ action: "PlayVideoFile",
6670
+ version: "2017-05-25",
6671
+ protocol: "HTTPS",
6672
+ pathname: "/",
6673
+ method: "POST",
6674
+ authType: "AK",
6675
+ style: "RPC",
6676
+ reqBodyType: "formData",
6677
+ bodyType: "json",
6678
+ });
6679
+ return $tea.cast<PlayVideoFileResponse>(await this.callApi(params, req, runtime), new PlayVideoFileResponse({}));
6680
+ }
6681
+
6682
+ async playVideoFile(request: PlayVideoFileRequest): Promise<PlayVideoFileResponse> {
6683
+ let runtime = new $Util.RuntimeOptions({ });
6684
+ return await this.playVideoFileWithOptions(request, runtime);
6685
+ }
6686
+
6687
+ /**
6688
+ * QueryCallDetailByCallId is a common query operation. You can call this operation to query the details of a voice notification, voice verification code, interactive voice response (IVR), intelligent inbound voice call, intelligent outbound voice call, or intelligent robocall.
6689
+ * ### QPS limits
6690
+ * You can call this operation up to 100 times per second per account.
6691
+ *
6692
+ * @param request QueryCallDetailByCallIdRequest
6693
+ * @param runtime runtime options for this request RuntimeOptions
6694
+ * @return QueryCallDetailByCallIdResponse
6695
+ */
5737
6696
  async queryCallDetailByCallIdWithOptions(request: QueryCallDetailByCallIdRequest, runtime: $Util.RuntimeOptions): Promise<QueryCallDetailByCallIdResponse> {
5738
6697
  Util.validateModel(request);
5739
6698
  let query = { };
@@ -5778,6 +6737,14 @@ export default class Client extends OpenApi {
5778
6737
  return $tea.cast<QueryCallDetailByCallIdResponse>(await this.callApi(params, req, runtime), new QueryCallDetailByCallIdResponse({}));
5779
6738
  }
5780
6739
 
6740
+ /**
6741
+ * QueryCallDetailByCallId is a common query operation. You can call this operation to query the details of a voice notification, voice verification code, interactive voice response (IVR), intelligent inbound voice call, intelligent outbound voice call, or intelligent robocall.
6742
+ * ### QPS limits
6743
+ * You can call this operation up to 100 times per second per account.
6744
+ *
6745
+ * @param request QueryCallDetailByCallIdRequest
6746
+ * @return QueryCallDetailByCallIdResponse
6747
+ */
5781
6748
  async queryCallDetailByCallId(request: QueryCallDetailByCallIdRequest): Promise<QueryCallDetailByCallIdResponse> {
5782
6749
  let runtime = new $Util.RuntimeOptions({ });
5783
6750
  return await this.queryCallDetailByCallIdWithOptions(request, runtime);
@@ -5832,6 +6799,14 @@ export default class Client extends OpenApi {
5832
6799
  return await this.queryCallDetailByTaskIdWithOptions(request, runtime);
5833
6800
  }
5834
6801
 
6802
+ /**
6803
+ * ### QPS limits
6804
+ * You can call this operation up to 100 times per second per account.
6805
+ *
6806
+ * @param request QueryCallInPoolTransferConfigRequest
6807
+ * @param runtime runtime options for this request RuntimeOptions
6808
+ * @return QueryCallInPoolTransferConfigResponse
6809
+ */
5835
6810
  async queryCallInPoolTransferConfigWithOptions(request: QueryCallInPoolTransferConfigRequest, runtime: $Util.RuntimeOptions): Promise<QueryCallInPoolTransferConfigResponse> {
5836
6811
  Util.validateModel(request);
5837
6812
  let query = { };
@@ -5868,11 +6843,26 @@ export default class Client extends OpenApi {
5868
6843
  return $tea.cast<QueryCallInPoolTransferConfigResponse>(await this.callApi(params, req, runtime), new QueryCallInPoolTransferConfigResponse({}));
5869
6844
  }
5870
6845
 
6846
+ /**
6847
+ * ### QPS limits
6848
+ * You can call this operation up to 100 times per second per account.
6849
+ *
6850
+ * @param request QueryCallInPoolTransferConfigRequest
6851
+ * @return QueryCallInPoolTransferConfigResponse
6852
+ */
5871
6853
  async queryCallInPoolTransferConfig(request: QueryCallInPoolTransferConfigRequest): Promise<QueryCallInPoolTransferConfigResponse> {
5872
6854
  let runtime = new $Util.RuntimeOptions({ });
5873
6855
  return await this.queryCallInPoolTransferConfigWithOptions(request, runtime);
5874
6856
  }
5875
6857
 
6858
+ /**
6859
+ * ### QPS limits
6860
+ * You can call this operation up to 100 times per second per account.
6861
+ *
6862
+ * @param request QueryCallInTransferRecordRequest
6863
+ * @param runtime runtime options for this request RuntimeOptions
6864
+ * @return QueryCallInTransferRecordResponse
6865
+ */
5876
6866
  async queryCallInTransferRecordWithOptions(request: QueryCallInTransferRecordRequest, runtime: $Util.RuntimeOptions): Promise<QueryCallInTransferRecordResponse> {
5877
6867
  Util.validateModel(request);
5878
6868
  let query = { };
@@ -5925,6 +6915,13 @@ export default class Client extends OpenApi {
5925
6915
  return $tea.cast<QueryCallInTransferRecordResponse>(await this.callApi(params, req, runtime), new QueryCallInTransferRecordResponse({}));
5926
6916
  }
5927
6917
 
6918
+ /**
6919
+ * ### QPS limits
6920
+ * You can call this operation up to 100 times per second per account.
6921
+ *
6922
+ * @param request QueryCallInTransferRecordRequest
6923
+ * @return QueryCallInTransferRecordResponse
6924
+ */
5928
6925
  async queryCallInTransferRecord(request: QueryCallInTransferRecordRequest): Promise<QueryCallInTransferRecordResponse> {
5929
6926
  let runtime = new $Util.RuntimeOptions({ });
5930
6927
  return await this.queryCallInTransferRecordWithOptions(request, runtime);
@@ -5971,6 +6968,14 @@ export default class Client extends OpenApi {
5971
6968
  return await this.queryRobotInfoListWithOptions(request, runtime);
5972
6969
  }
5973
6970
 
6971
+ /**
6972
+ * ### QPS limits
6973
+ * You can call this operation up to 100 times per second per account.
6974
+ *
6975
+ * @param request QueryRobotTaskCallDetailRequest
6976
+ * @param runtime runtime options for this request RuntimeOptions
6977
+ * @return QueryRobotTaskCallDetailResponse
6978
+ */
5974
6979
  async queryRobotTaskCallDetailWithOptions(request: QueryRobotTaskCallDetailRequest, runtime: $Util.RuntimeOptions): Promise<QueryRobotTaskCallDetailResponse> {
5975
6980
  Util.validateModel(request);
5976
6981
  let query = { };
@@ -6015,11 +7020,26 @@ export default class Client extends OpenApi {
6015
7020
  return $tea.cast<QueryRobotTaskCallDetailResponse>(await this.callApi(params, req, runtime), new QueryRobotTaskCallDetailResponse({}));
6016
7021
  }
6017
7022
 
7023
+ /**
7024
+ * ### QPS limits
7025
+ * You can call this operation up to 100 times per second per account.
7026
+ *
7027
+ * @param request QueryRobotTaskCallDetailRequest
7028
+ * @return QueryRobotTaskCallDetailResponse
7029
+ */
6018
7030
  async queryRobotTaskCallDetail(request: QueryRobotTaskCallDetailRequest): Promise<QueryRobotTaskCallDetailResponse> {
6019
7031
  let runtime = new $Util.RuntimeOptions({ });
6020
7032
  return await this.queryRobotTaskCallDetailWithOptions(request, runtime);
6021
7033
  }
6022
7034
 
7035
+ /**
7036
+ * ### QPS limits
7037
+ * You can call this operation up to 100 times per second per account.
7038
+ *
7039
+ * @param request QueryRobotTaskCallListRequest
7040
+ * @param runtime runtime options for this request RuntimeOptions
7041
+ * @return QueryRobotTaskCallListResponse
7042
+ */
6023
7043
  async queryRobotTaskCallListWithOptions(request: QueryRobotTaskCallListRequest, runtime: $Util.RuntimeOptions): Promise<QueryRobotTaskCallListResponse> {
6024
7044
  Util.validateModel(request);
6025
7045
  let query = { };
@@ -6092,11 +7112,26 @@ export default class Client extends OpenApi {
6092
7112
  return $tea.cast<QueryRobotTaskCallListResponse>(await this.callApi(params, req, runtime), new QueryRobotTaskCallListResponse({}));
6093
7113
  }
6094
7114
 
7115
+ /**
7116
+ * ### QPS limits
7117
+ * You can call this operation up to 100 times per second per account.
7118
+ *
7119
+ * @param request QueryRobotTaskCallListRequest
7120
+ * @return QueryRobotTaskCallListResponse
7121
+ */
6095
7122
  async queryRobotTaskCallList(request: QueryRobotTaskCallListRequest): Promise<QueryRobotTaskCallListResponse> {
6096
7123
  let runtime = new $Util.RuntimeOptions({ });
6097
7124
  return await this.queryRobotTaskCallListWithOptions(request, runtime);
6098
7125
  }
6099
7126
 
7127
+ /**
7128
+ * ### QPS limits
7129
+ * You can call this operation up to 100 times per second per account.
7130
+ *
7131
+ * @param request QueryRobotTaskDetailRequest
7132
+ * @param runtime runtime options for this request RuntimeOptions
7133
+ * @return QueryRobotTaskDetailResponse
7134
+ */
6100
7135
  async queryRobotTaskDetailWithOptions(request: QueryRobotTaskDetailRequest, runtime: $Util.RuntimeOptions): Promise<QueryRobotTaskDetailResponse> {
6101
7136
  Util.validateModel(request);
6102
7137
  let query = { };
@@ -6133,11 +7168,26 @@ export default class Client extends OpenApi {
6133
7168
  return $tea.cast<QueryRobotTaskDetailResponse>(await this.callApi(params, req, runtime), new QueryRobotTaskDetailResponse({}));
6134
7169
  }
6135
7170
 
7171
+ /**
7172
+ * ### QPS limits
7173
+ * You can call this operation up to 100 times per second per account.
7174
+ *
7175
+ * @param request QueryRobotTaskDetailRequest
7176
+ * @return QueryRobotTaskDetailResponse
7177
+ */
6136
7178
  async queryRobotTaskDetail(request: QueryRobotTaskDetailRequest): Promise<QueryRobotTaskDetailResponse> {
6137
7179
  let runtime = new $Util.RuntimeOptions({ });
6138
7180
  return await this.queryRobotTaskDetailWithOptions(request, runtime);
6139
7181
  }
6140
7182
 
7183
+ /**
7184
+ * ### QPS limits
7185
+ * You can call this operation up to 100 times per second per account.
7186
+ *
7187
+ * @param request QueryRobotTaskListRequest
7188
+ * @param runtime runtime options for this request RuntimeOptions
7189
+ * @return QueryRobotTaskListResponse
7190
+ */
6141
7191
  async queryRobotTaskListWithOptions(request: QueryRobotTaskListRequest, runtime: $Util.RuntimeOptions): Promise<QueryRobotTaskListResponse> {
6142
7192
  Util.validateModel(request);
6143
7193
  let query = { };
@@ -6190,11 +7240,26 @@ export default class Client extends OpenApi {
6190
7240
  return $tea.cast<QueryRobotTaskListResponse>(await this.callApi(params, req, runtime), new QueryRobotTaskListResponse({}));
6191
7241
  }
6192
7242
 
7243
+ /**
7244
+ * ### QPS limits
7245
+ * You can call this operation up to 100 times per second per account.
7246
+ *
7247
+ * @param request QueryRobotTaskListRequest
7248
+ * @return QueryRobotTaskListResponse
7249
+ */
6193
7250
  async queryRobotTaskList(request: QueryRobotTaskListRequest): Promise<QueryRobotTaskListResponse> {
6194
7251
  let runtime = new $Util.RuntimeOptions({ });
6195
7252
  return await this.queryRobotTaskListWithOptions(request, runtime);
6196
7253
  }
6197
7254
 
7255
+ /**
7256
+ * ### QPS limits
7257
+ * You can call this operation up to 100 times per second per account.
7258
+ *
7259
+ * @param request QueryRobotv2AllListRequest
7260
+ * @param runtime runtime options for this request RuntimeOptions
7261
+ * @return QueryRobotv2AllListResponse
7262
+ */
6198
7263
  async queryRobotv2AllListWithOptions(request: QueryRobotv2AllListRequest, runtime: $Util.RuntimeOptions): Promise<QueryRobotv2AllListResponse> {
6199
7264
  Util.validateModel(request);
6200
7265
  let query = { };
@@ -6227,11 +7292,71 @@ export default class Client extends OpenApi {
6227
7292
  return $tea.cast<QueryRobotv2AllListResponse>(await this.callApi(params, req, runtime), new QueryRobotv2AllListResponse({}));
6228
7293
  }
6229
7294
 
7295
+ /**
7296
+ * ### QPS limits
7297
+ * You can call this operation up to 100 times per second per account.
7298
+ *
7299
+ * @param request QueryRobotv2AllListRequest
7300
+ * @return QueryRobotv2AllListResponse
7301
+ */
6230
7302
  async queryRobotv2AllList(request: QueryRobotv2AllListRequest): Promise<QueryRobotv2AllListResponse> {
6231
7303
  let runtime = new $Util.RuntimeOptions({ });
6232
7304
  return await this.queryRobotv2AllListWithOptions(request, runtime);
6233
7305
  }
6234
7306
 
7307
+ async queryVideoPlayProgressWithOptions(request: QueryVideoPlayProgressRequest, runtime: $Util.RuntimeOptions): Promise<QueryVideoPlayProgressResponse> {
7308
+ Util.validateModel(request);
7309
+ let query = { };
7310
+ if (!Util.isUnset(request.callId)) {
7311
+ query["CallId"] = request.callId;
7312
+ }
7313
+
7314
+ if (!Util.isUnset(request.calledNumber)) {
7315
+ query["CalledNumber"] = request.calledNumber;
7316
+ }
7317
+
7318
+ if (!Util.isUnset(request.ownerId)) {
7319
+ query["OwnerId"] = request.ownerId;
7320
+ }
7321
+
7322
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
7323
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
7324
+ }
7325
+
7326
+ if (!Util.isUnset(request.resourceOwnerId)) {
7327
+ query["ResourceOwnerId"] = request.resourceOwnerId;
7328
+ }
7329
+
7330
+ let req = new $OpenApi.OpenApiRequest({
7331
+ query: OpenApiUtil.query(query),
7332
+ });
7333
+ let params = new $OpenApi.Params({
7334
+ action: "QueryVideoPlayProgress",
7335
+ version: "2017-05-25",
7336
+ protocol: "HTTPS",
7337
+ pathname: "/",
7338
+ method: "POST",
7339
+ authType: "AK",
7340
+ style: "RPC",
7341
+ reqBodyType: "formData",
7342
+ bodyType: "json",
7343
+ });
7344
+ return $tea.cast<QueryVideoPlayProgressResponse>(await this.callApi(params, req, runtime), new QueryVideoPlayProgressResponse({}));
7345
+ }
7346
+
7347
+ async queryVideoPlayProgress(request: QueryVideoPlayProgressRequest): Promise<QueryVideoPlayProgressResponse> {
7348
+ let runtime = new $Util.RuntimeOptions({ });
7349
+ return await this.queryVideoPlayProgressWithOptions(request, runtime);
7350
+ }
7351
+
7352
+ /**
7353
+ * ### QPS limits
7354
+ * You can call this operation up to 100 times per second per account.
7355
+ *
7356
+ * @param request QueryVirtualNumberRequest
7357
+ * @param runtime runtime options for this request RuntimeOptions
7358
+ * @return QueryVirtualNumberResponse
7359
+ */
6235
7360
  async queryVirtualNumberWithOptions(request: QueryVirtualNumberRequest, runtime: $Util.RuntimeOptions): Promise<QueryVirtualNumberResponse> {
6236
7361
  Util.validateModel(request);
6237
7362
  let query = { };
@@ -6280,44 +7405,160 @@ export default class Client extends OpenApi {
6280
7405
  return $tea.cast<QueryVirtualNumberResponse>(await this.callApi(params, req, runtime), new QueryVirtualNumberResponse({}));
6281
7406
  }
6282
7407
 
6283
- async queryVirtualNumber(request: QueryVirtualNumberRequest): Promise<QueryVirtualNumberResponse> {
7408
+ /**
7409
+ * ### QPS limits
7410
+ * You can call this operation up to 100 times per second per account.
7411
+ *
7412
+ * @param request QueryVirtualNumberRequest
7413
+ * @return QueryVirtualNumberResponse
7414
+ */
7415
+ async queryVirtualNumber(request: QueryVirtualNumberRequest): Promise<QueryVirtualNumberResponse> {
7416
+ let runtime = new $Util.RuntimeOptions({ });
7417
+ return await this.queryVirtualNumberWithOptions(request, runtime);
7418
+ }
7419
+
7420
+ /**
7421
+ * ### QPS limits
7422
+ * You can call this operation up to 200 times per second per account.
7423
+ *
7424
+ * @param request QueryVirtualNumberRelationRequest
7425
+ * @param runtime runtime options for this request RuntimeOptions
7426
+ * @return QueryVirtualNumberRelationResponse
7427
+ */
7428
+ async queryVirtualNumberRelationWithOptions(request: QueryVirtualNumberRelationRequest, runtime: $Util.RuntimeOptions): Promise<QueryVirtualNumberRelationResponse> {
7429
+ Util.validateModel(request);
7430
+ let query = { };
7431
+ if (!Util.isUnset(request.ownerId)) {
7432
+ query["OwnerId"] = request.ownerId;
7433
+ }
7434
+
7435
+ if (!Util.isUnset(request.pageNo)) {
7436
+ query["PageNo"] = request.pageNo;
7437
+ }
7438
+
7439
+ if (!Util.isUnset(request.pageSize)) {
7440
+ query["PageSize"] = request.pageSize;
7441
+ }
7442
+
7443
+ if (!Util.isUnset(request.phoneNum)) {
7444
+ query["PhoneNum"] = request.phoneNum;
7445
+ }
7446
+
7447
+ if (!Util.isUnset(request.prodCode)) {
7448
+ query["ProdCode"] = request.prodCode;
7449
+ }
7450
+
7451
+ if (!Util.isUnset(request.qualificationId)) {
7452
+ query["QualificationId"] = request.qualificationId;
7453
+ }
7454
+
7455
+ if (!Util.isUnset(request.regionNameCity)) {
7456
+ query["RegionNameCity"] = request.regionNameCity;
7457
+ }
7458
+
7459
+ if (!Util.isUnset(request.relatedNum)) {
7460
+ query["RelatedNum"] = request.relatedNum;
7461
+ }
7462
+
7463
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
7464
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
7465
+ }
7466
+
7467
+ if (!Util.isUnset(request.resourceOwnerId)) {
7468
+ query["ResourceOwnerId"] = request.resourceOwnerId;
7469
+ }
7470
+
7471
+ if (!Util.isUnset(request.routeType)) {
7472
+ query["RouteType"] = request.routeType;
7473
+ }
7474
+
7475
+ if (!Util.isUnset(request.specId)) {
7476
+ query["SpecId"] = request.specId;
7477
+ }
7478
+
7479
+ let req = new $OpenApi.OpenApiRequest({
7480
+ query: OpenApiUtil.query(query),
7481
+ });
7482
+ let params = new $OpenApi.Params({
7483
+ action: "QueryVirtualNumberRelation",
7484
+ version: "2017-05-25",
7485
+ protocol: "HTTPS",
7486
+ pathname: "/",
7487
+ method: "POST",
7488
+ authType: "AK",
7489
+ style: "RPC",
7490
+ reqBodyType: "formData",
7491
+ bodyType: "json",
7492
+ });
7493
+ return $tea.cast<QueryVirtualNumberRelationResponse>(await this.callApi(params, req, runtime), new QueryVirtualNumberRelationResponse({}));
7494
+ }
7495
+
7496
+ /**
7497
+ * ### QPS limits
7498
+ * You can call this operation up to 200 times per second per account.
7499
+ *
7500
+ * @param request QueryVirtualNumberRelationRequest
7501
+ * @return QueryVirtualNumberRelationResponse
7502
+ */
7503
+ async queryVirtualNumberRelation(request: QueryVirtualNumberRelationRequest): Promise<QueryVirtualNumberRelationResponse> {
7504
+ let runtime = new $Util.RuntimeOptions({ });
7505
+ return await this.queryVirtualNumberRelationWithOptions(request, runtime);
7506
+ }
7507
+
7508
+ async queryVoiceFileAuditInfoWithOptions(request: QueryVoiceFileAuditInfoRequest, runtime: $Util.RuntimeOptions): Promise<QueryVoiceFileAuditInfoResponse> {
7509
+ Util.validateModel(request);
7510
+ let query = { };
7511
+ if (!Util.isUnset(request.businessType)) {
7512
+ query["BusinessType"] = request.businessType;
7513
+ }
7514
+
7515
+ if (!Util.isUnset(request.ownerId)) {
7516
+ query["OwnerId"] = request.ownerId;
7517
+ }
7518
+
7519
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
7520
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
7521
+ }
7522
+
7523
+ if (!Util.isUnset(request.resourceOwnerId)) {
7524
+ query["ResourceOwnerId"] = request.resourceOwnerId;
7525
+ }
7526
+
7527
+ if (!Util.isUnset(request.voiceCodes)) {
7528
+ query["VoiceCodes"] = request.voiceCodes;
7529
+ }
7530
+
7531
+ let req = new $OpenApi.OpenApiRequest({
7532
+ query: OpenApiUtil.query(query),
7533
+ });
7534
+ let params = new $OpenApi.Params({
7535
+ action: "QueryVoiceFileAuditInfo",
7536
+ version: "2017-05-25",
7537
+ protocol: "HTTPS",
7538
+ pathname: "/",
7539
+ method: "POST",
7540
+ authType: "AK",
7541
+ style: "RPC",
7542
+ reqBodyType: "formData",
7543
+ bodyType: "json",
7544
+ });
7545
+ return $tea.cast<QueryVoiceFileAuditInfoResponse>(await this.callApi(params, req, runtime), new QueryVoiceFileAuditInfoResponse({}));
7546
+ }
7547
+
7548
+ async queryVoiceFileAuditInfo(request: QueryVoiceFileAuditInfoRequest): Promise<QueryVoiceFileAuditInfoResponse> {
6284
7549
  let runtime = new $Util.RuntimeOptions({ });
6285
- return await this.queryVirtualNumberWithOptions(request, runtime);
7550
+ return await this.queryVoiceFileAuditInfoWithOptions(request, runtime);
6286
7551
  }
6287
7552
 
6288
- async queryVirtualNumberRelationWithOptions(request: QueryVirtualNumberRelationRequest, runtime: $Util.RuntimeOptions): Promise<QueryVirtualNumberRelationResponse> {
7553
+ async recoverCallInConfigWithOptions(request: RecoverCallInConfigRequest, runtime: $Util.RuntimeOptions): Promise<RecoverCallInConfigResponse> {
6289
7554
  Util.validateModel(request);
6290
7555
  let query = { };
6291
- if (!Util.isUnset(request.ownerId)) {
6292
- query["OwnerId"] = request.ownerId;
6293
- }
6294
-
6295
- if (!Util.isUnset(request.pageNo)) {
6296
- query["PageNo"] = request.pageNo;
6297
- }
6298
-
6299
- if (!Util.isUnset(request.pageSize)) {
6300
- query["PageSize"] = request.pageSize;
6301
- }
6302
-
6303
- if (!Util.isUnset(request.phoneNum)) {
6304
- query["PhoneNum"] = request.phoneNum;
6305
- }
6306
-
6307
- if (!Util.isUnset(request.prodCode)) {
6308
- query["ProdCode"] = request.prodCode;
6309
- }
6310
-
6311
- if (!Util.isUnset(request.qualificationId)) {
6312
- query["QualificationId"] = request.qualificationId;
6313
- }
6314
-
6315
- if (!Util.isUnset(request.regionNameCity)) {
6316
- query["RegionNameCity"] = request.regionNameCity;
7556
+ if (!Util.isUnset(request.number)) {
7557
+ query["Number"] = request.number;
6317
7558
  }
6318
7559
 
6319
- if (!Util.isUnset(request.relatedNum)) {
6320
- query["RelatedNum"] = request.relatedNum;
7560
+ if (!Util.isUnset(request.ownerId)) {
7561
+ query["OwnerId"] = request.ownerId;
6321
7562
  }
6322
7563
 
6323
7564
  if (!Util.isUnset(request.resourceOwnerAccount)) {
@@ -6328,19 +7569,11 @@ export default class Client extends OpenApi {
6328
7569
  query["ResourceOwnerId"] = request.resourceOwnerId;
6329
7570
  }
6330
7571
 
6331
- if (!Util.isUnset(request.routeType)) {
6332
- query["RouteType"] = request.routeType;
6333
- }
6334
-
6335
- if (!Util.isUnset(request.specId)) {
6336
- query["SpecId"] = request.specId;
6337
- }
6338
-
6339
7572
  let req = new $OpenApi.OpenApiRequest({
6340
7573
  query: OpenApiUtil.query(query),
6341
7574
  });
6342
7575
  let params = new $OpenApi.Params({
6343
- action: "QueryVirtualNumberRelation",
7576
+ action: "RecoverCallInConfig",
6344
7577
  version: "2017-05-25",
6345
7578
  protocol: "HTTPS",
6346
7579
  pathname: "/",
@@ -6350,19 +7583,23 @@ export default class Client extends OpenApi {
6350
7583
  reqBodyType: "formData",
6351
7584
  bodyType: "json",
6352
7585
  });
6353
- return $tea.cast<QueryVirtualNumberRelationResponse>(await this.callApi(params, req, runtime), new QueryVirtualNumberRelationResponse({}));
7586
+ return $tea.cast<RecoverCallInConfigResponse>(await this.callApi(params, req, runtime), new RecoverCallInConfigResponse({}));
6354
7587
  }
6355
7588
 
6356
- async queryVirtualNumberRelation(request: QueryVirtualNumberRelationRequest): Promise<QueryVirtualNumberRelationResponse> {
7589
+ async recoverCallInConfig(request: RecoverCallInConfigRequest): Promise<RecoverCallInConfigResponse> {
6357
7590
  let runtime = new $Util.RuntimeOptions({ });
6358
- return await this.queryVirtualNumberRelationWithOptions(request, runtime);
7591
+ return await this.recoverCallInConfigWithOptions(request, runtime);
6359
7592
  }
6360
7593
 
6361
- async queryVoiceFileAuditInfoWithOptions(request: QueryVoiceFileAuditInfoRequest, runtime: $Util.RuntimeOptions): Promise<QueryVoiceFileAuditInfoResponse> {
7594
+ async resumeVideoFileWithOptions(request: ResumeVideoFileRequest, runtime: $Util.RuntimeOptions): Promise<ResumeVideoFileResponse> {
6362
7595
  Util.validateModel(request);
6363
7596
  let query = { };
6364
- if (!Util.isUnset(request.businessType)) {
6365
- query["BusinessType"] = request.businessType;
7597
+ if (!Util.isUnset(request.callId)) {
7598
+ query["CallId"] = request.callId;
7599
+ }
7600
+
7601
+ if (!Util.isUnset(request.calledNumber)) {
7602
+ query["CalledNumber"] = request.calledNumber;
6366
7603
  }
6367
7604
 
6368
7605
  if (!Util.isUnset(request.ownerId)) {
@@ -6377,15 +7614,11 @@ export default class Client extends OpenApi {
6377
7614
  query["ResourceOwnerId"] = request.resourceOwnerId;
6378
7615
  }
6379
7616
 
6380
- if (!Util.isUnset(request.voiceCodes)) {
6381
- query["VoiceCodes"] = request.voiceCodes;
6382
- }
6383
-
6384
7617
  let req = new $OpenApi.OpenApiRequest({
6385
7618
  query: OpenApiUtil.query(query),
6386
7619
  });
6387
7620
  let params = new $OpenApi.Params({
6388
- action: "QueryVoiceFileAuditInfo",
7621
+ action: "ResumeVideoFile",
6389
7622
  version: "2017-05-25",
6390
7623
  protocol: "HTTPS",
6391
7624
  pathname: "/",
@@ -6395,19 +7628,23 @@ export default class Client extends OpenApi {
6395
7628
  reqBodyType: "formData",
6396
7629
  bodyType: "json",
6397
7630
  });
6398
- return $tea.cast<QueryVoiceFileAuditInfoResponse>(await this.callApi(params, req, runtime), new QueryVoiceFileAuditInfoResponse({}));
7631
+ return $tea.cast<ResumeVideoFileResponse>(await this.callApi(params, req, runtime), new ResumeVideoFileResponse({}));
6399
7632
  }
6400
7633
 
6401
- async queryVoiceFileAuditInfo(request: QueryVoiceFileAuditInfoRequest): Promise<QueryVoiceFileAuditInfoResponse> {
7634
+ async resumeVideoFile(request: ResumeVideoFileRequest): Promise<ResumeVideoFileResponse> {
6402
7635
  let runtime = new $Util.RuntimeOptions({ });
6403
- return await this.queryVoiceFileAuditInfoWithOptions(request, runtime);
7636
+ return await this.resumeVideoFileWithOptions(request, runtime);
6404
7637
  }
6405
7638
 
6406
- async refreshMqttTokenWithOptions(request: RefreshMqttTokenRequest, runtime: $Util.RuntimeOptions): Promise<RefreshMqttTokenResponse> {
7639
+ async seekVideoFileWithOptions(request: SeekVideoFileRequest, runtime: $Util.RuntimeOptions): Promise<SeekVideoFileResponse> {
6407
7640
  Util.validateModel(request);
6408
7641
  let query = { };
6409
- if (!Util.isUnset(request.clientId)) {
6410
- query["ClientId"] = request.clientId;
7642
+ if (!Util.isUnset(request.callId)) {
7643
+ query["CallId"] = request.callId;
7644
+ }
7645
+
7646
+ if (!Util.isUnset(request.calledNumber)) {
7647
+ query["CalledNumber"] = request.calledNumber;
6411
7648
  }
6412
7649
 
6413
7650
  if (!Util.isUnset(request.ownerId)) {
@@ -6422,11 +7659,15 @@ export default class Client extends OpenApi {
6422
7659
  query["ResourceOwnerId"] = request.resourceOwnerId;
6423
7660
  }
6424
7661
 
7662
+ if (!Util.isUnset(request.seekTimes)) {
7663
+ query["SeekTimes"] = request.seekTimes;
7664
+ }
7665
+
6425
7666
  let req = new $OpenApi.OpenApiRequest({
6426
7667
  query: OpenApiUtil.query(query),
6427
7668
  });
6428
7669
  let params = new $OpenApi.Params({
6429
- action: "RefreshMqttToken",
7670
+ action: "SeekVideoFile",
6430
7671
  version: "2017-05-25",
6431
7672
  protocol: "HTTPS",
6432
7673
  pathname: "/",
@@ -6436,14 +7677,22 @@ export default class Client extends OpenApi {
6436
7677
  reqBodyType: "formData",
6437
7678
  bodyType: "json",
6438
7679
  });
6439
- return $tea.cast<RefreshMqttTokenResponse>(await this.callApi(params, req, runtime), new RefreshMqttTokenResponse({}));
7680
+ return $tea.cast<SeekVideoFileResponse>(await this.callApi(params, req, runtime), new SeekVideoFileResponse({}));
6440
7681
  }
6441
7682
 
6442
- async refreshMqttToken(request: RefreshMqttTokenRequest): Promise<RefreshMqttTokenResponse> {
7683
+ async seekVideoFile(request: SeekVideoFileRequest): Promise<SeekVideoFileResponse> {
6443
7684
  let runtime = new $Util.RuntimeOptions({ });
6444
- return await this.refreshMqttTokenWithOptions(request, runtime);
7685
+ return await this.seekVideoFileWithOptions(request, runtime);
6445
7686
  }
6446
7687
 
7688
+ /**
7689
+ * ### QPS limits
7690
+ * You can call this operation up to 100 times per second per account.
7691
+ *
7692
+ * @param request SendVerificationRequest
7693
+ * @param runtime runtime options for this request RuntimeOptions
7694
+ * @return SendVerificationResponse
7695
+ */
6447
7696
  async sendVerificationWithOptions(request: SendVerificationRequest, runtime: $Util.RuntimeOptions): Promise<SendVerificationResponse> {
6448
7697
  Util.validateModel(request);
6449
7698
  let query = { };
@@ -6488,11 +7737,26 @@ export default class Client extends OpenApi {
6488
7737
  return $tea.cast<SendVerificationResponse>(await this.callApi(params, req, runtime), new SendVerificationResponse({}));
6489
7738
  }
6490
7739
 
7740
+ /**
7741
+ * ### QPS limits
7742
+ * You can call this operation up to 100 times per second per account.
7743
+ *
7744
+ * @param request SendVerificationRequest
7745
+ * @return SendVerificationResponse
7746
+ */
6491
7747
  async sendVerification(request: SendVerificationRequest): Promise<SendVerificationResponse> {
6492
7748
  let runtime = new $Util.RuntimeOptions({ });
6493
7749
  return await this.sendVerificationWithOptions(request, runtime);
6494
7750
  }
6495
7751
 
7752
+ /**
7753
+ * ### QPS limits
7754
+ * You can call this operation up to 100 times per second per account.
7755
+ *
7756
+ * @param request SetTransferCalleePoolConfigRequest
7757
+ * @param runtime runtime options for this request RuntimeOptions
7758
+ * @return SetTransferCalleePoolConfigResponse
7759
+ */
6496
7760
  async setTransferCalleePoolConfigWithOptions(request: SetTransferCalleePoolConfigRequest, runtime: $Util.RuntimeOptions): Promise<SetTransferCalleePoolConfigResponse> {
6497
7761
  Util.validateModel(request);
6498
7762
  let query = { };
@@ -6541,11 +7805,28 @@ export default class Client extends OpenApi {
6541
7805
  return $tea.cast<SetTransferCalleePoolConfigResponse>(await this.callApi(params, req, runtime), new SetTransferCalleePoolConfigResponse({}));
6542
7806
  }
6543
7807
 
7808
+ /**
7809
+ * ### QPS limits
7810
+ * You can call this operation up to 100 times per second per account.
7811
+ *
7812
+ * @param request SetTransferCalleePoolConfigRequest
7813
+ * @return SetTransferCalleePoolConfigResponse
7814
+ */
6544
7815
  async setTransferCalleePoolConfig(request: SetTransferCalleePoolConfigRequest): Promise<SetTransferCalleePoolConfigResponse> {
6545
7816
  let runtime = new $Util.RuntimeOptions({ });
6546
7817
  return await this.setTransferCalleePoolConfigWithOptions(request, runtime);
6547
7818
  }
6548
7819
 
7820
+ /**
7821
+ * * Due to business adjustments, the updates of the voice notification and voice verification code services have been stopped in regions outside the Chinese mainland and the services have been discontinued since March 2022. Only qualified customers can continue using the voice notification and voice verification code services.
7822
+ * * For more information about voice plans or voice service billing, see [Pricing of VMS on China site (aliyun.com)](~~150083~~).
7823
+ * ### QPS limits
7824
+ * You can call this operation up to 1,000 times per second per account.
7825
+ *
7826
+ * @param request SingleCallByTtsRequest
7827
+ * @param runtime runtime options for this request RuntimeOptions
7828
+ * @return SingleCallByTtsResponse
7829
+ */
6549
7830
  async singleCallByTtsWithOptions(request: SingleCallByTtsRequest, runtime: $Util.RuntimeOptions): Promise<SingleCallByTtsResponse> {
6550
7831
  Util.validateModel(request);
6551
7832
  let query = { };
@@ -6610,11 +7891,99 @@ export default class Client extends OpenApi {
6610
7891
  return $tea.cast<SingleCallByTtsResponse>(await this.callApi(params, req, runtime), new SingleCallByTtsResponse({}));
6611
7892
  }
6612
7893
 
7894
+ /**
7895
+ * * Due to business adjustments, the updates of the voice notification and voice verification code services have been stopped in regions outside the Chinese mainland and the services have been discontinued since March 2022. Only qualified customers can continue using the voice notification and voice verification code services.
7896
+ * * For more information about voice plans or voice service billing, see [Pricing of VMS on China site (aliyun.com)](~~150083~~).
7897
+ * ### QPS limits
7898
+ * You can call this operation up to 1,000 times per second per account.
7899
+ *
7900
+ * @param request SingleCallByTtsRequest
7901
+ * @return SingleCallByTtsResponse
7902
+ */
6613
7903
  async singleCallByTts(request: SingleCallByTtsRequest): Promise<SingleCallByTtsResponse> {
6614
7904
  let runtime = new $Util.RuntimeOptions({ });
6615
7905
  return await this.singleCallByTtsWithOptions(request, runtime);
6616
7906
  }
6617
7907
 
7908
+ async singleCallByVideoWithOptions(request: SingleCallByVideoRequest, runtime: $Util.RuntimeOptions): Promise<SingleCallByVideoResponse> {
7909
+ Util.validateModel(request);
7910
+ let query = { };
7911
+ if (!Util.isUnset(request.calledNumber)) {
7912
+ query["CalledNumber"] = request.calledNumber;
7913
+ }
7914
+
7915
+ if (!Util.isUnset(request.calledShowNumber)) {
7916
+ query["CalledShowNumber"] = request.calledShowNumber;
7917
+ }
7918
+
7919
+ if (!Util.isUnset(request.outId)) {
7920
+ query["OutId"] = request.outId;
7921
+ }
7922
+
7923
+ if (!Util.isUnset(request.ownerId)) {
7924
+ query["OwnerId"] = request.ownerId;
7925
+ }
7926
+
7927
+ if (!Util.isUnset(request.playTimes)) {
7928
+ query["PlayTimes"] = request.playTimes;
7929
+ }
7930
+
7931
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
7932
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
7933
+ }
7934
+
7935
+ if (!Util.isUnset(request.resourceOwnerId)) {
7936
+ query["ResourceOwnerId"] = request.resourceOwnerId;
7937
+ }
7938
+
7939
+ if (!Util.isUnset(request.speed)) {
7940
+ query["Speed"] = request.speed;
7941
+ }
7942
+
7943
+ if (!Util.isUnset(request.videoCode)) {
7944
+ query["VideoCode"] = request.videoCode;
7945
+ }
7946
+
7947
+ if (!Util.isUnset(request.voiceCode)) {
7948
+ query["VoiceCode"] = request.voiceCode;
7949
+ }
7950
+
7951
+ if (!Util.isUnset(request.volume)) {
7952
+ query["Volume"] = request.volume;
7953
+ }
7954
+
7955
+ let req = new $OpenApi.OpenApiRequest({
7956
+ query: OpenApiUtil.query(query),
7957
+ });
7958
+ let params = new $OpenApi.Params({
7959
+ action: "SingleCallByVideo",
7960
+ version: "2017-05-25",
7961
+ protocol: "HTTPS",
7962
+ pathname: "/",
7963
+ method: "POST",
7964
+ authType: "AK",
7965
+ style: "RPC",
7966
+ reqBodyType: "formData",
7967
+ bodyType: "json",
7968
+ });
7969
+ return $tea.cast<SingleCallByVideoResponse>(await this.callApi(params, req, runtime), new SingleCallByVideoResponse({}));
7970
+ }
7971
+
7972
+ async singleCallByVideo(request: SingleCallByVideoRequest): Promise<SingleCallByVideoResponse> {
7973
+ let runtime = new $Util.RuntimeOptions({ });
7974
+ return await this.singleCallByVideoWithOptions(request, runtime);
7975
+ }
7976
+
7977
+ /**
7978
+ * > Due to business adjustments, the updates of the voice notification and voice verification code services have been stopped in regions outside the Chinese mainland and the services have been discontinued since March 2022. Only qualified customers can continue using the voice notification and voice verification code services.
7979
+ * You can call the [SingleCallByTts](~~393519~~) operation to send voice notifications with variables.
7980
+ * ### QPS limits
7981
+ * You can call this operation up to 1,200 times per second per account.
7982
+ *
7983
+ * @param request SingleCallByVoiceRequest
7984
+ * @param runtime runtime options for this request RuntimeOptions
7985
+ * @return SingleCallByVoiceResponse
7986
+ */
6618
7987
  async singleCallByVoiceWithOptions(request: SingleCallByVoiceRequest, runtime: $Util.RuntimeOptions): Promise<SingleCallByVoiceResponse> {
6619
7988
  Util.validateModel(request);
6620
7989
  let query = { };
@@ -6675,11 +8044,83 @@ export default class Client extends OpenApi {
6675
8044
  return $tea.cast<SingleCallByVoiceResponse>(await this.callApi(params, req, runtime), new SingleCallByVoiceResponse({}));
6676
8045
  }
6677
8046
 
8047
+ /**
8048
+ * > Due to business adjustments, the updates of the voice notification and voice verification code services have been stopped in regions outside the Chinese mainland and the services have been discontinued since March 2022. Only qualified customers can continue using the voice notification and voice verification code services.
8049
+ * You can call the [SingleCallByTts](~~393519~~) operation to send voice notifications with variables.
8050
+ * ### QPS limits
8051
+ * You can call this operation up to 1,200 times per second per account.
8052
+ *
8053
+ * @param request SingleCallByVoiceRequest
8054
+ * @return SingleCallByVoiceResponse
8055
+ */
6678
8056
  async singleCallByVoice(request: SingleCallByVoiceRequest): Promise<SingleCallByVoiceResponse> {
6679
8057
  let runtime = new $Util.RuntimeOptions({ });
6680
8058
  return await this.singleCallByVoiceWithOptions(request, runtime);
6681
8059
  }
6682
8060
 
8061
+ async skipVideoFileWithOptions(request: SkipVideoFileRequest, runtime: $Util.RuntimeOptions): Promise<SkipVideoFileResponse> {
8062
+ Util.validateModel(request);
8063
+ let query = { };
8064
+ if (!Util.isUnset(request.callId)) {
8065
+ query["CallId"] = request.callId;
8066
+ }
8067
+
8068
+ if (!Util.isUnset(request.calledNumber)) {
8069
+ query["CalledNumber"] = request.calledNumber;
8070
+ }
8071
+
8072
+ if (!Util.isUnset(request.outId)) {
8073
+ query["OutId"] = request.outId;
8074
+ }
8075
+
8076
+ if (!Util.isUnset(request.ownerId)) {
8077
+ query["OwnerId"] = request.ownerId;
8078
+ }
8079
+
8080
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
8081
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
8082
+ }
8083
+
8084
+ if (!Util.isUnset(request.resourceOwnerId)) {
8085
+ query["ResourceOwnerId"] = request.resourceOwnerId;
8086
+ }
8087
+
8088
+ if (!Util.isUnset(request.skipTimes)) {
8089
+ query["SkipTimes"] = request.skipTimes;
8090
+ }
8091
+
8092
+ let req = new $OpenApi.OpenApiRequest({
8093
+ query: OpenApiUtil.query(query),
8094
+ });
8095
+ let params = new $OpenApi.Params({
8096
+ action: "SkipVideoFile",
8097
+ version: "2017-05-25",
8098
+ protocol: "HTTPS",
8099
+ pathname: "/",
8100
+ method: "POST",
8101
+ authType: "AK",
8102
+ style: "RPC",
8103
+ reqBodyType: "formData",
8104
+ bodyType: "json",
8105
+ });
8106
+ return $tea.cast<SkipVideoFileResponse>(await this.callApi(params, req, runtime), new SkipVideoFileResponse({}));
8107
+ }
8108
+
8109
+ async skipVideoFile(request: SkipVideoFileRequest): Promise<SkipVideoFileResponse> {
8110
+ let runtime = new $Util.RuntimeOptions({ });
8111
+ return await this.skipVideoFileWithOptions(request, runtime);
8112
+ }
8113
+
8114
+ /**
8115
+ * * The SmartCall operation must be used together with the [intelligent outbound HTTP operation](~~112703~~). After the call initiated by the Voice Messaging Service (VMS) platform is connected, the VMS platform sends the text converted from speech back to the business side, and the business side then returns the follow-up action to the VMS platform.
8116
+ * * The SmartCall operation does not support the following characters: `@ = : "" $ { } ^ * ¥`.
8117
+ * ### QPS limits
8118
+ * You can call this operation up to 1,000 times per second per account.
8119
+ *
8120
+ * @param request SmartCallRequest
8121
+ * @param runtime runtime options for this request RuntimeOptions
8122
+ * @return SmartCallResponse
8123
+ */
6683
8124
  async smartCallWithOptions(request: SmartCallRequest, runtime: $Util.RuntimeOptions): Promise<SmartCallResponse> {
6684
8125
  Util.validateModel(request);
6685
8126
  let query = { };
@@ -6735,6 +8176,10 @@ export default class Client extends OpenApi {
6735
8176
  query["MuteTime"] = request.muteTime;
6736
8177
  }
6737
8178
 
8179
+ if (!Util.isUnset(request.noiseThreshold)) {
8180
+ query["NoiseThreshold"] = request.noiseThreshold;
8181
+ }
8182
+
6738
8183
  if (!Util.isUnset(request.outId)) {
6739
8184
  query["OutId"] = request.outId;
6740
8185
  }
@@ -6816,11 +8261,30 @@ export default class Client extends OpenApi {
6816
8261
  return $tea.cast<SmartCallResponse>(await this.callApi(params, req, runtime), new SmartCallResponse({}));
6817
8262
  }
6818
8263
 
8264
+ /**
8265
+ * * The SmartCall operation must be used together with the [intelligent outbound HTTP operation](~~112703~~). After the call initiated by the Voice Messaging Service (VMS) platform is connected, the VMS platform sends the text converted from speech back to the business side, and the business side then returns the follow-up action to the VMS platform.
8266
+ * * The SmartCall operation does not support the following characters: `@ = : "" $ { } ^ * ¥`.
8267
+ * ### QPS limits
8268
+ * You can call this operation up to 1,000 times per second per account.
8269
+ *
8270
+ * @param request SmartCallRequest
8271
+ * @return SmartCallResponse
8272
+ */
6819
8273
  async smartCall(request: SmartCallRequest): Promise<SmartCallResponse> {
6820
8274
  let runtime = new $Util.RuntimeOptions({ });
6821
8275
  return await this.smartCallWithOptions(request, runtime);
6822
8276
  }
6823
8277
 
8278
+ /**
8279
+ * You can call this operation to initiate a specified action on the called number of an outbound robocall when the call is transferred to an agent of the call center.
8280
+ * > You can only initiate the action of bridging a called number and an agent of the call center.
8281
+ * ### QPS limits
8282
+ * You can call this operation up to 100 times per second per account.
8283
+ *
8284
+ * @param request SmartCallOperateRequest
8285
+ * @param runtime runtime options for this request RuntimeOptions
8286
+ * @return SmartCallOperateResponse
8287
+ */
6824
8288
  async smartCallOperateWithOptions(request: SmartCallOperateRequest, runtime: $Util.RuntimeOptions): Promise<SmartCallOperateResponse> {
6825
8289
  Util.validateModel(request);
6826
8290
  let query = { };
@@ -6865,11 +8329,28 @@ export default class Client extends OpenApi {
6865
8329
  return $tea.cast<SmartCallOperateResponse>(await this.callApi(params, req, runtime), new SmartCallOperateResponse({}));
6866
8330
  }
6867
8331
 
8332
+ /**
8333
+ * You can call this operation to initiate a specified action on the called number of an outbound robocall when the call is transferred to an agent of the call center.
8334
+ * > You can only initiate the action of bridging a called number and an agent of the call center.
8335
+ * ### QPS limits
8336
+ * You can call this operation up to 100 times per second per account.
8337
+ *
8338
+ * @param request SmartCallOperateRequest
8339
+ * @return SmartCallOperateResponse
8340
+ */
6868
8341
  async smartCallOperate(request: SmartCallOperateRequest): Promise<SmartCallOperateResponse> {
6869
8342
  let runtime = new $Util.RuntimeOptions({ });
6870
8343
  return await this.smartCallOperateWithOptions(request, runtime);
6871
8344
  }
6872
8345
 
8346
+ /**
8347
+ * ### QPS limits
8348
+ * You can call this operation up to 100 times per second per account.
8349
+ *
8350
+ * @param request StartRobotTaskRequest
8351
+ * @param runtime runtime options for this request RuntimeOptions
8352
+ * @return StartRobotTaskResponse
8353
+ */
6873
8354
  async startRobotTaskWithOptions(request: StartRobotTaskRequest, runtime: $Util.RuntimeOptions): Promise<StartRobotTaskResponse> {
6874
8355
  Util.validateModel(request);
6875
8356
  let query = { };
@@ -6910,11 +8391,68 @@ export default class Client extends OpenApi {
6910
8391
  return $tea.cast<StartRobotTaskResponse>(await this.callApi(params, req, runtime), new StartRobotTaskResponse({}));
6911
8392
  }
6912
8393
 
8394
+ /**
8395
+ * ### QPS limits
8396
+ * You can call this operation up to 100 times per second per account.
8397
+ *
8398
+ * @param request StartRobotTaskRequest
8399
+ * @return StartRobotTaskResponse
8400
+ */
6913
8401
  async startRobotTask(request: StartRobotTaskRequest): Promise<StartRobotTaskResponse> {
6914
8402
  let runtime = new $Util.RuntimeOptions({ });
6915
8403
  return await this.startRobotTaskWithOptions(request, runtime);
6916
8404
  }
6917
8405
 
8406
+ async stopCallInConfigWithOptions(request: StopCallInConfigRequest, runtime: $Util.RuntimeOptions): Promise<StopCallInConfigResponse> {
8407
+ Util.validateModel(request);
8408
+ let query = { };
8409
+ if (!Util.isUnset(request.number)) {
8410
+ query["Number"] = request.number;
8411
+ }
8412
+
8413
+ if (!Util.isUnset(request.ownerId)) {
8414
+ query["OwnerId"] = request.ownerId;
8415
+ }
8416
+
8417
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
8418
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
8419
+ }
8420
+
8421
+ if (!Util.isUnset(request.resourceOwnerId)) {
8422
+ query["ResourceOwnerId"] = request.resourceOwnerId;
8423
+ }
8424
+
8425
+ let req = new $OpenApi.OpenApiRequest({
8426
+ query: OpenApiUtil.query(query),
8427
+ });
8428
+ let params = new $OpenApi.Params({
8429
+ action: "StopCallInConfig",
8430
+ version: "2017-05-25",
8431
+ protocol: "HTTPS",
8432
+ pathname: "/",
8433
+ method: "POST",
8434
+ authType: "AK",
8435
+ style: "RPC",
8436
+ reqBodyType: "formData",
8437
+ bodyType: "json",
8438
+ });
8439
+ return $tea.cast<StopCallInConfigResponse>(await this.callApi(params, req, runtime), new StopCallInConfigResponse({}));
8440
+ }
8441
+
8442
+ async stopCallInConfig(request: StopCallInConfigRequest): Promise<StopCallInConfigResponse> {
8443
+ let runtime = new $Util.RuntimeOptions({ });
8444
+ return await this.stopCallInConfigWithOptions(request, runtime);
8445
+ }
8446
+
8447
+ /**
8448
+ * After you stop a robocall task, you can call the [StartRobotTask](~~StartRobotTask~~) operation to start it again.
8449
+ * ### QPS limits
8450
+ * You can call this operation up to 100 times per second per account.
8451
+ *
8452
+ * @param request StopRobotTaskRequest
8453
+ * @param runtime runtime options for this request RuntimeOptions
8454
+ * @return StopRobotTaskResponse
8455
+ */
6918
8456
  async stopRobotTaskWithOptions(request: StopRobotTaskRequest, runtime: $Util.RuntimeOptions): Promise<StopRobotTaskResponse> {
6919
8457
  Util.validateModel(request);
6920
8458
  let query = { };
@@ -6951,11 +8489,27 @@ export default class Client extends OpenApi {
6951
8489
  return $tea.cast<StopRobotTaskResponse>(await this.callApi(params, req, runtime), new StopRobotTaskResponse({}));
6952
8490
  }
6953
8491
 
8492
+ /**
8493
+ * After you stop a robocall task, you can call the [StartRobotTask](~~StartRobotTask~~) operation to start it again.
8494
+ * ### QPS limits
8495
+ * You can call this operation up to 100 times per second per account.
8496
+ *
8497
+ * @param request StopRobotTaskRequest
8498
+ * @return StopRobotTaskResponse
8499
+ */
6954
8500
  async stopRobotTask(request: StopRobotTaskRequest): Promise<StopRobotTaskResponse> {
6955
8501
  let runtime = new $Util.RuntimeOptions({ });
6956
8502
  return await this.stopRobotTaskWithOptions(request, runtime);
6957
8503
  }
6958
8504
 
8505
+ /**
8506
+ * ### QPS limits
8507
+ * You can call this operation up to 100 times per second per account.
8508
+ *
8509
+ * @param request SubmitHotlineTransferRegisterRequest
8510
+ * @param runtime runtime options for this request RuntimeOptions
8511
+ * @return SubmitHotlineTransferRegisterResponse
8512
+ */
6959
8513
  async submitHotlineTransferRegisterWithOptions(request: SubmitHotlineTransferRegisterRequest, runtime: $Util.RuntimeOptions): Promise<SubmitHotlineTransferRegisterResponse> {
6960
8514
  Util.validateModel(request);
6961
8515
  let query = { };
@@ -7028,11 +8582,79 @@ export default class Client extends OpenApi {
7028
8582
  return $tea.cast<SubmitHotlineTransferRegisterResponse>(await this.callApi(params, req, runtime), new SubmitHotlineTransferRegisterResponse({}));
7029
8583
  }
7030
8584
 
8585
+ /**
8586
+ * ### QPS limits
8587
+ * You can call this operation up to 100 times per second per account.
8588
+ *
8589
+ * @param request SubmitHotlineTransferRegisterRequest
8590
+ * @return SubmitHotlineTransferRegisterResponse
8591
+ */
7031
8592
  async submitHotlineTransferRegister(request: SubmitHotlineTransferRegisterRequest): Promise<SubmitHotlineTransferRegisterResponse> {
7032
8593
  let runtime = new $Util.RuntimeOptions({ });
7033
8594
  return await this.submitHotlineTransferRegisterWithOptions(request, runtime);
7034
8595
  }
7035
8596
 
8597
+ async upgradeVideoFileWithOptions(request: UpgradeVideoFileRequest, runtime: $Util.RuntimeOptions): Promise<UpgradeVideoFileResponse> {
8598
+ Util.validateModel(request);
8599
+ let query = { };
8600
+ if (!Util.isUnset(request.callId)) {
8601
+ query["CallId"] = request.callId;
8602
+ }
8603
+
8604
+ if (!Util.isUnset(request.calledNumber)) {
8605
+ query["CalledNumber"] = request.calledNumber;
8606
+ }
8607
+
8608
+ if (!Util.isUnset(request.mediaType)) {
8609
+ query["MediaType"] = request.mediaType;
8610
+ }
8611
+
8612
+ if (!Util.isUnset(request.outId)) {
8613
+ query["OutId"] = request.outId;
8614
+ }
8615
+
8616
+ if (!Util.isUnset(request.ownerId)) {
8617
+ query["OwnerId"] = request.ownerId;
8618
+ }
8619
+
8620
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
8621
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
8622
+ }
8623
+
8624
+ if (!Util.isUnset(request.resourceOwnerId)) {
8625
+ query["ResourceOwnerId"] = request.resourceOwnerId;
8626
+ }
8627
+
8628
+ let req = new $OpenApi.OpenApiRequest({
8629
+ query: OpenApiUtil.query(query),
8630
+ });
8631
+ let params = new $OpenApi.Params({
8632
+ action: "UpgradeVideoFile",
8633
+ version: "2017-05-25",
8634
+ protocol: "HTTPS",
8635
+ pathname: "/",
8636
+ method: "POST",
8637
+ authType: "AK",
8638
+ style: "RPC",
8639
+ reqBodyType: "formData",
8640
+ bodyType: "json",
8641
+ });
8642
+ return $tea.cast<UpgradeVideoFileResponse>(await this.callApi(params, req, runtime), new UpgradeVideoFileResponse({}));
8643
+ }
8644
+
8645
+ async upgradeVideoFile(request: UpgradeVideoFileRequest): Promise<UpgradeVideoFileResponse> {
8646
+ let runtime = new $Util.RuntimeOptions({ });
8647
+ return await this.upgradeVideoFileWithOptions(request, runtime);
8648
+ }
8649
+
8650
+ /**
8651
+ * ### QPS limits
8652
+ * You can call this operation up to 100 times per second per account.
8653
+ *
8654
+ * @param request UploadRobotTaskCalledFileRequest
8655
+ * @param runtime runtime options for this request RuntimeOptions
8656
+ * @return UploadRobotTaskCalledFileResponse
8657
+ */
7036
8658
  async uploadRobotTaskCalledFileWithOptions(request: UploadRobotTaskCalledFileRequest, runtime: $Util.RuntimeOptions): Promise<UploadRobotTaskCalledFileResponse> {
7037
8659
  Util.validateModel(request);
7038
8660
  let query = { };
@@ -7081,6 +8703,13 @@ export default class Client extends OpenApi {
7081
8703
  return $tea.cast<UploadRobotTaskCalledFileResponse>(await this.callApi(params, req, runtime), new UploadRobotTaskCalledFileResponse({}));
7082
8704
  }
7083
8705
 
8706
+ /**
8707
+ * ### QPS limits
8708
+ * You can call this operation up to 100 times per second per account.
8709
+ *
8710
+ * @param request UploadRobotTaskCalledFileRequest
8711
+ * @return UploadRobotTaskCalledFileResponse
8712
+ */
7084
8713
  async uploadRobotTaskCalledFile(request: UploadRobotTaskCalledFileRequest): Promise<UploadRobotTaskCalledFileResponse> {
7085
8714
  let runtime = new $Util.RuntimeOptions({ });
7086
8715
  return await this.uploadRobotTaskCalledFileWithOptions(request, runtime);