@alicloud/dyvmsapi20170525 2.1.3 → 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/dist/client.d.ts +1182 -228
- package/dist/client.js +2291 -835
- package/dist/client.js.map +1 -1
- package/package.json +9 -9
- package/src/client.ts +2184 -499
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
|
|
159
|
-
|
|
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
|
|
267
|
-
|
|
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
|
}
|
|
@@ -341,11 +269,13 @@ export class CancelOrderRobotTaskResponseBody extends $tea.Model {
|
|
|
341
269
|
}
|
|
342
270
|
|
|
343
271
|
export class CancelOrderRobotTaskResponse extends $tea.Model {
|
|
344
|
-
headers
|
|
345
|
-
|
|
272
|
+
headers?: { [key: string]: string };
|
|
273
|
+
statusCode?: number;
|
|
274
|
+
body?: CancelOrderRobotTaskResponseBody;
|
|
346
275
|
static names(): { [key: string]: string } {
|
|
347
276
|
return {
|
|
348
277
|
headers: 'headers',
|
|
278
|
+
statusCode: 'statusCode',
|
|
349
279
|
body: 'body',
|
|
350
280
|
};
|
|
351
281
|
}
|
|
@@ -353,6 +283,7 @@ export class CancelOrderRobotTaskResponse extends $tea.Model {
|
|
|
353
283
|
static types(): { [key: string]: any } {
|
|
354
284
|
return {
|
|
355
285
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
286
|
+
statusCode: 'number',
|
|
356
287
|
body: CancelOrderRobotTaskResponseBody,
|
|
357
288
|
};
|
|
358
289
|
}
|
|
@@ -419,11 +350,13 @@ export class CancelRobotTaskResponseBody extends $tea.Model {
|
|
|
419
350
|
}
|
|
420
351
|
|
|
421
352
|
export class CancelRobotTaskResponse extends $tea.Model {
|
|
422
|
-
headers
|
|
423
|
-
|
|
353
|
+
headers?: { [key: string]: string };
|
|
354
|
+
statusCode?: number;
|
|
355
|
+
body?: CancelRobotTaskResponseBody;
|
|
424
356
|
static names(): { [key: string]: string } {
|
|
425
357
|
return {
|
|
426
358
|
headers: 'headers',
|
|
359
|
+
statusCode: 'statusCode',
|
|
427
360
|
body: 'body',
|
|
428
361
|
};
|
|
429
362
|
}
|
|
@@ -431,6 +364,7 @@ export class CancelRobotTaskResponse extends $tea.Model {
|
|
|
431
364
|
static types(): { [key: string]: any } {
|
|
432
365
|
return {
|
|
433
366
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
367
|
+
statusCode: 'number',
|
|
434
368
|
body: CancelRobotTaskResponseBody,
|
|
435
369
|
};
|
|
436
370
|
}
|
|
@@ -440,6 +374,99 @@ export class CancelRobotTaskResponse extends $tea.Model {
|
|
|
440
374
|
}
|
|
441
375
|
}
|
|
442
376
|
|
|
377
|
+
export class ChangeMediaTypeRequest extends $tea.Model {
|
|
378
|
+
callId?: string;
|
|
379
|
+
calledNum?: string;
|
|
380
|
+
mediaType?: string;
|
|
381
|
+
outId?: string;
|
|
382
|
+
ownerId?: number;
|
|
383
|
+
resourceOwnerAccount?: string;
|
|
384
|
+
resourceOwnerId?: number;
|
|
385
|
+
static names(): { [key: string]: string } {
|
|
386
|
+
return {
|
|
387
|
+
callId: 'CallId',
|
|
388
|
+
calledNum: 'CalledNum',
|
|
389
|
+
mediaType: 'MediaType',
|
|
390
|
+
outId: 'OutId',
|
|
391
|
+
ownerId: 'OwnerId',
|
|
392
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
393
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
394
|
+
};
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
static types(): { [key: string]: any } {
|
|
398
|
+
return {
|
|
399
|
+
callId: 'string',
|
|
400
|
+
calledNum: 'string',
|
|
401
|
+
mediaType: 'string',
|
|
402
|
+
outId: 'string',
|
|
403
|
+
ownerId: 'number',
|
|
404
|
+
resourceOwnerAccount: 'string',
|
|
405
|
+
resourceOwnerId: 'number',
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
constructor(map?: { [key: string]: any }) {
|
|
410
|
+
super(map);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
export class ChangeMediaTypeResponseBody extends $tea.Model {
|
|
415
|
+
accessDeniedDetail?: string;
|
|
416
|
+
code?: string;
|
|
417
|
+
message?: string;
|
|
418
|
+
model?: boolean;
|
|
419
|
+
success?: boolean;
|
|
420
|
+
static names(): { [key: string]: string } {
|
|
421
|
+
return {
|
|
422
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
423
|
+
code: 'Code',
|
|
424
|
+
message: 'Message',
|
|
425
|
+
model: 'Model',
|
|
426
|
+
success: 'Success',
|
|
427
|
+
};
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
static types(): { [key: string]: any } {
|
|
431
|
+
return {
|
|
432
|
+
accessDeniedDetail: 'string',
|
|
433
|
+
code: 'string',
|
|
434
|
+
message: 'string',
|
|
435
|
+
model: 'boolean',
|
|
436
|
+
success: 'boolean',
|
|
437
|
+
};
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
constructor(map?: { [key: string]: any }) {
|
|
441
|
+
super(map);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export class ChangeMediaTypeResponse extends $tea.Model {
|
|
446
|
+
headers?: { [key: string]: string };
|
|
447
|
+
statusCode?: number;
|
|
448
|
+
body?: ChangeMediaTypeResponseBody;
|
|
449
|
+
static names(): { [key: string]: string } {
|
|
450
|
+
return {
|
|
451
|
+
headers: 'headers',
|
|
452
|
+
statusCode: 'statusCode',
|
|
453
|
+
body: 'body',
|
|
454
|
+
};
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
static types(): { [key: string]: any } {
|
|
458
|
+
return {
|
|
459
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
460
|
+
statusCode: 'number',
|
|
461
|
+
body: ChangeMediaTypeResponseBody,
|
|
462
|
+
};
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
constructor(map?: { [key: string]: any }) {
|
|
466
|
+
super(map);
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
|
|
443
470
|
export class CreateCallTaskRequest extends $tea.Model {
|
|
444
471
|
bizType?: string;
|
|
445
472
|
data?: string;
|
|
@@ -524,11 +551,13 @@ export class CreateCallTaskResponseBody extends $tea.Model {
|
|
|
524
551
|
}
|
|
525
552
|
|
|
526
553
|
export class CreateCallTaskResponse extends $tea.Model {
|
|
527
|
-
headers
|
|
528
|
-
|
|
554
|
+
headers?: { [key: string]: string };
|
|
555
|
+
statusCode?: number;
|
|
556
|
+
body?: CreateCallTaskResponseBody;
|
|
529
557
|
static names(): { [key: string]: string } {
|
|
530
558
|
return {
|
|
531
559
|
headers: 'headers',
|
|
560
|
+
statusCode: 'statusCode',
|
|
532
561
|
body: 'body',
|
|
533
562
|
};
|
|
534
563
|
}
|
|
@@ -536,6 +565,7 @@ export class CreateCallTaskResponse extends $tea.Model {
|
|
|
536
565
|
static types(): { [key: string]: any } {
|
|
537
566
|
return {
|
|
538
567
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
568
|
+
statusCode: 'number',
|
|
539
569
|
body: CreateCallTaskResponseBody,
|
|
540
570
|
};
|
|
541
571
|
}
|
|
@@ -629,11 +659,13 @@ export class CreateRobotTaskResponseBody extends $tea.Model {
|
|
|
629
659
|
}
|
|
630
660
|
|
|
631
661
|
export class CreateRobotTaskResponse extends $tea.Model {
|
|
632
|
-
headers
|
|
633
|
-
|
|
662
|
+
headers?: { [key: string]: string };
|
|
663
|
+
statusCode?: number;
|
|
664
|
+
body?: CreateRobotTaskResponseBody;
|
|
634
665
|
static names(): { [key: string]: string } {
|
|
635
666
|
return {
|
|
636
667
|
headers: 'headers',
|
|
668
|
+
statusCode: 'statusCode',
|
|
637
669
|
body: 'body',
|
|
638
670
|
};
|
|
639
671
|
}
|
|
@@ -641,6 +673,7 @@ export class CreateRobotTaskResponse extends $tea.Model {
|
|
|
641
673
|
static types(): { [key: string]: any } {
|
|
642
674
|
return {
|
|
643
675
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
676
|
+
statusCode: 'number',
|
|
644
677
|
body: CreateRobotTaskResponseBody,
|
|
645
678
|
};
|
|
646
679
|
}
|
|
@@ -650,26 +683,35 @@ export class CreateRobotTaskResponse extends $tea.Model {
|
|
|
650
683
|
}
|
|
651
684
|
}
|
|
652
685
|
|
|
653
|
-
export class
|
|
686
|
+
export class DegradeVideoFileRequest extends $tea.Model {
|
|
687
|
+
callId?: string;
|
|
688
|
+
calledNumber?: string;
|
|
689
|
+
mediaType?: string;
|
|
690
|
+
outId?: string;
|
|
654
691
|
ownerId?: number;
|
|
655
692
|
resourceOwnerAccount?: string;
|
|
656
693
|
resourceOwnerId?: number;
|
|
657
|
-
taskId?: number;
|
|
658
694
|
static names(): { [key: string]: string } {
|
|
659
695
|
return {
|
|
696
|
+
callId: 'CallId',
|
|
697
|
+
calledNumber: 'CalledNumber',
|
|
698
|
+
mediaType: 'MediaType',
|
|
699
|
+
outId: 'OutId',
|
|
660
700
|
ownerId: 'OwnerId',
|
|
661
701
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
662
702
|
resourceOwnerId: 'ResourceOwnerId',
|
|
663
|
-
taskId: 'TaskId',
|
|
664
703
|
};
|
|
665
704
|
}
|
|
666
705
|
|
|
667
706
|
static types(): { [key: string]: any } {
|
|
668
707
|
return {
|
|
708
|
+
callId: 'string',
|
|
709
|
+
calledNumber: 'string',
|
|
710
|
+
mediaType: 'string',
|
|
711
|
+
outId: 'string',
|
|
669
712
|
ownerId: 'number',
|
|
670
713
|
resourceOwnerAccount: 'string',
|
|
671
714
|
resourceOwnerId: 'number',
|
|
672
|
-
taskId: 'number',
|
|
673
715
|
};
|
|
674
716
|
}
|
|
675
717
|
|
|
@@ -678,26 +720,29 @@ export class DeleteRobotTaskRequest extends $tea.Model {
|
|
|
678
720
|
}
|
|
679
721
|
}
|
|
680
722
|
|
|
681
|
-
export class
|
|
723
|
+
export class DegradeVideoFileResponseBody extends $tea.Model {
|
|
724
|
+
accessDeniedDetail?: string;
|
|
682
725
|
code?: string;
|
|
683
|
-
data?: string;
|
|
726
|
+
data?: { [key: string]: any };
|
|
684
727
|
message?: string;
|
|
685
|
-
|
|
728
|
+
success?: boolean;
|
|
686
729
|
static names(): { [key: string]: string } {
|
|
687
730
|
return {
|
|
731
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
688
732
|
code: 'Code',
|
|
689
733
|
data: 'Data',
|
|
690
734
|
message: 'Message',
|
|
691
|
-
|
|
735
|
+
success: 'Success',
|
|
692
736
|
};
|
|
693
737
|
}
|
|
694
738
|
|
|
695
739
|
static types(): { [key: string]: any } {
|
|
696
740
|
return {
|
|
741
|
+
accessDeniedDetail: 'string',
|
|
697
742
|
code: 'string',
|
|
698
|
-
data: 'string',
|
|
743
|
+
data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
699
744
|
message: 'string',
|
|
700
|
-
|
|
745
|
+
success: 'boolean',
|
|
701
746
|
};
|
|
702
747
|
}
|
|
703
748
|
|
|
@@ -706,12 +751,14 @@ export class DeleteRobotTaskResponseBody extends $tea.Model {
|
|
|
706
751
|
}
|
|
707
752
|
}
|
|
708
753
|
|
|
709
|
-
export class
|
|
710
|
-
headers
|
|
711
|
-
|
|
754
|
+
export class DegradeVideoFileResponse extends $tea.Model {
|
|
755
|
+
headers?: { [key: string]: string };
|
|
756
|
+
statusCode?: number;
|
|
757
|
+
body?: DegradeVideoFileResponseBody;
|
|
712
758
|
static names(): { [key: string]: string } {
|
|
713
759
|
return {
|
|
714
760
|
headers: 'headers',
|
|
761
|
+
statusCode: 'statusCode',
|
|
715
762
|
body: 'body',
|
|
716
763
|
};
|
|
717
764
|
}
|
|
@@ -719,7 +766,8 @@ export class DeleteRobotTaskResponse extends $tea.Model {
|
|
|
719
766
|
static types(): { [key: string]: any } {
|
|
720
767
|
return {
|
|
721
768
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
722
|
-
|
|
769
|
+
statusCode: 'number',
|
|
770
|
+
body: DegradeVideoFileResponseBody,
|
|
723
771
|
};
|
|
724
772
|
}
|
|
725
773
|
|
|
@@ -728,31 +776,25 @@ export class DeleteRobotTaskResponse extends $tea.Model {
|
|
|
728
776
|
}
|
|
729
777
|
}
|
|
730
778
|
|
|
731
|
-
export class
|
|
732
|
-
fireTime?: string;
|
|
779
|
+
export class DeleteRobotTaskRequest extends $tea.Model {
|
|
733
780
|
ownerId?: number;
|
|
734
781
|
resourceOwnerAccount?: string;
|
|
735
782
|
resourceOwnerId?: number;
|
|
736
|
-
status?: string;
|
|
737
783
|
taskId?: number;
|
|
738
784
|
static names(): { [key: string]: string } {
|
|
739
785
|
return {
|
|
740
|
-
fireTime: 'FireTime',
|
|
741
786
|
ownerId: 'OwnerId',
|
|
742
787
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
743
788
|
resourceOwnerId: 'ResourceOwnerId',
|
|
744
|
-
status: 'Status',
|
|
745
789
|
taskId: 'TaskId',
|
|
746
790
|
};
|
|
747
791
|
}
|
|
748
792
|
|
|
749
793
|
static types(): { [key: string]: any } {
|
|
750
794
|
return {
|
|
751
|
-
fireTime: 'string',
|
|
752
795
|
ownerId: 'number',
|
|
753
796
|
resourceOwnerAccount: 'string',
|
|
754
797
|
resourceOwnerId: 'number',
|
|
755
|
-
status: 'string',
|
|
756
798
|
taskId: 'number',
|
|
757
799
|
};
|
|
758
800
|
}
|
|
@@ -762,14 +804,16 @@ export class ExecuteCallTaskRequest extends $tea.Model {
|
|
|
762
804
|
}
|
|
763
805
|
}
|
|
764
806
|
|
|
765
|
-
export class
|
|
807
|
+
export class DeleteRobotTaskResponseBody extends $tea.Model {
|
|
766
808
|
code?: string;
|
|
767
|
-
data?:
|
|
809
|
+
data?: string;
|
|
810
|
+
message?: string;
|
|
768
811
|
requestId?: string;
|
|
769
812
|
static names(): { [key: string]: string } {
|
|
770
813
|
return {
|
|
771
814
|
code: 'Code',
|
|
772
815
|
data: 'Data',
|
|
816
|
+
message: 'Message',
|
|
773
817
|
requestId: 'RequestId',
|
|
774
818
|
};
|
|
775
819
|
}
|
|
@@ -777,7 +821,8 @@ export class ExecuteCallTaskResponseBody extends $tea.Model {
|
|
|
777
821
|
static types(): { [key: string]: any } {
|
|
778
822
|
return {
|
|
779
823
|
code: 'string',
|
|
780
|
-
data: '
|
|
824
|
+
data: 'string',
|
|
825
|
+
message: 'string',
|
|
781
826
|
requestId: 'string',
|
|
782
827
|
};
|
|
783
828
|
}
|
|
@@ -787,12 +832,14 @@ export class ExecuteCallTaskResponseBody extends $tea.Model {
|
|
|
787
832
|
}
|
|
788
833
|
}
|
|
789
834
|
|
|
790
|
-
export class
|
|
791
|
-
headers
|
|
792
|
-
|
|
835
|
+
export class DeleteRobotTaskResponse extends $tea.Model {
|
|
836
|
+
headers?: { [key: string]: string };
|
|
837
|
+
statusCode?: number;
|
|
838
|
+
body?: DeleteRobotTaskResponseBody;
|
|
793
839
|
static names(): { [key: string]: string } {
|
|
794
840
|
return {
|
|
795
841
|
headers: 'headers',
|
|
842
|
+
statusCode: 'statusCode',
|
|
796
843
|
body: 'body',
|
|
797
844
|
};
|
|
798
845
|
}
|
|
@@ -800,7 +847,8 @@ export class ExecuteCallTaskResponse extends $tea.Model {
|
|
|
800
847
|
static types(): { [key: string]: any } {
|
|
801
848
|
return {
|
|
802
849
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
803
|
-
|
|
850
|
+
statusCode: 'number',
|
|
851
|
+
body: DeleteRobotTaskResponseBody,
|
|
804
852
|
};
|
|
805
853
|
}
|
|
806
854
|
|
|
@@ -809,26 +857,32 @@ export class ExecuteCallTaskResponse extends $tea.Model {
|
|
|
809
857
|
}
|
|
810
858
|
}
|
|
811
859
|
|
|
812
|
-
export class
|
|
860
|
+
export class ExecuteCallTaskRequest extends $tea.Model {
|
|
861
|
+
fireTime?: string;
|
|
813
862
|
ownerId?: number;
|
|
814
863
|
resourceOwnerAccount?: string;
|
|
815
864
|
resourceOwnerId?: number;
|
|
816
|
-
|
|
865
|
+
status?: string;
|
|
866
|
+
taskId?: number;
|
|
817
867
|
static names(): { [key: string]: string } {
|
|
818
868
|
return {
|
|
869
|
+
fireTime: 'FireTime',
|
|
819
870
|
ownerId: 'OwnerId',
|
|
820
871
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
821
872
|
resourceOwnerId: 'ResourceOwnerId',
|
|
822
|
-
|
|
873
|
+
status: 'Status',
|
|
874
|
+
taskId: 'TaskId',
|
|
823
875
|
};
|
|
824
876
|
}
|
|
825
877
|
|
|
826
878
|
static types(): { [key: string]: any } {
|
|
827
879
|
return {
|
|
880
|
+
fireTime: 'string',
|
|
828
881
|
ownerId: 'number',
|
|
829
882
|
resourceOwnerAccount: 'string',
|
|
830
883
|
resourceOwnerId: 'number',
|
|
831
|
-
|
|
884
|
+
status: 'string',
|
|
885
|
+
taskId: 'number',
|
|
832
886
|
};
|
|
833
887
|
}
|
|
834
888
|
|
|
@@ -837,16 +891,14 @@ export class GetCallInfoRequest extends $tea.Model {
|
|
|
837
891
|
}
|
|
838
892
|
}
|
|
839
893
|
|
|
840
|
-
export class
|
|
894
|
+
export class ExecuteCallTaskResponseBody extends $tea.Model {
|
|
841
895
|
code?: string;
|
|
842
|
-
data?:
|
|
843
|
-
message?: string;
|
|
896
|
+
data?: boolean;
|
|
844
897
|
requestId?: string;
|
|
845
898
|
static names(): { [key: string]: string } {
|
|
846
899
|
return {
|
|
847
900
|
code: 'Code',
|
|
848
901
|
data: 'Data',
|
|
849
|
-
message: 'Message',
|
|
850
902
|
requestId: 'RequestId',
|
|
851
903
|
};
|
|
852
904
|
}
|
|
@@ -854,8 +906,7 @@ export class GetCallInfoResponseBody extends $tea.Model {
|
|
|
854
906
|
static types(): { [key: string]: any } {
|
|
855
907
|
return {
|
|
856
908
|
code: 'string',
|
|
857
|
-
data:
|
|
858
|
-
message: 'string',
|
|
909
|
+
data: 'boolean',
|
|
859
910
|
requestId: 'string',
|
|
860
911
|
};
|
|
861
912
|
}
|
|
@@ -865,12 +916,14 @@ export class GetCallInfoResponseBody extends $tea.Model {
|
|
|
865
916
|
}
|
|
866
917
|
}
|
|
867
918
|
|
|
868
|
-
export class
|
|
869
|
-
headers
|
|
870
|
-
|
|
919
|
+
export class ExecuteCallTaskResponse extends $tea.Model {
|
|
920
|
+
headers?: { [key: string]: string };
|
|
921
|
+
statusCode?: number;
|
|
922
|
+
body?: ExecuteCallTaskResponseBody;
|
|
871
923
|
static names(): { [key: string]: string } {
|
|
872
924
|
return {
|
|
873
925
|
headers: 'headers',
|
|
926
|
+
statusCode: 'statusCode',
|
|
874
927
|
body: 'body',
|
|
875
928
|
};
|
|
876
929
|
}
|
|
@@ -878,7 +931,8 @@ export class GetCallInfoResponse extends $tea.Model {
|
|
|
878
931
|
static types(): { [key: string]: any } {
|
|
879
932
|
return {
|
|
880
933
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
881
|
-
|
|
934
|
+
statusCode: 'number',
|
|
935
|
+
body: ExecuteCallTaskResponseBody,
|
|
882
936
|
};
|
|
883
937
|
}
|
|
884
938
|
|
|
@@ -887,14 +941,16 @@ export class GetCallInfoResponse extends $tea.Model {
|
|
|
887
941
|
}
|
|
888
942
|
}
|
|
889
943
|
|
|
890
|
-
export class
|
|
891
|
-
|
|
944
|
+
export class GetCallProgressRequest extends $tea.Model {
|
|
945
|
+
callId?: string;
|
|
946
|
+
calledNum?: string;
|
|
892
947
|
ownerId?: number;
|
|
893
948
|
resourceOwnerAccount?: string;
|
|
894
949
|
resourceOwnerId?: number;
|
|
895
950
|
static names(): { [key: string]: string } {
|
|
896
951
|
return {
|
|
897
|
-
|
|
952
|
+
callId: 'CallId',
|
|
953
|
+
calledNum: 'CalledNum',
|
|
898
954
|
ownerId: 'OwnerId',
|
|
899
955
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
900
956
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -903,7 +959,8 @@ export class GetHotlineQualificationByOrderRequest extends $tea.Model {
|
|
|
903
959
|
|
|
904
960
|
static types(): { [key: string]: any } {
|
|
905
961
|
return {
|
|
906
|
-
|
|
962
|
+
callId: 'string',
|
|
963
|
+
calledNum: 'string',
|
|
907
964
|
ownerId: 'number',
|
|
908
965
|
resourceOwnerAccount: 'string',
|
|
909
966
|
resourceOwnerId: 'number',
|
|
@@ -915,26 +972,29 @@ export class GetHotlineQualificationByOrderRequest extends $tea.Model {
|
|
|
915
972
|
}
|
|
916
973
|
}
|
|
917
974
|
|
|
918
|
-
export class
|
|
975
|
+
export class GetCallProgressResponseBody extends $tea.Model {
|
|
976
|
+
accessDeniedDetail?: string;
|
|
919
977
|
code?: string;
|
|
920
|
-
data?: GetHotlineQualificationByOrderResponseBodyData;
|
|
921
978
|
message?: string;
|
|
922
|
-
|
|
979
|
+
model?: { [key: string]: any };
|
|
980
|
+
success?: boolean;
|
|
923
981
|
static names(): { [key: string]: string } {
|
|
924
982
|
return {
|
|
983
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
925
984
|
code: 'Code',
|
|
926
|
-
data: 'Data',
|
|
927
985
|
message: 'Message',
|
|
928
|
-
|
|
986
|
+
model: 'Model',
|
|
987
|
+
success: 'Success',
|
|
929
988
|
};
|
|
930
989
|
}
|
|
931
990
|
|
|
932
991
|
static types(): { [key: string]: any } {
|
|
933
992
|
return {
|
|
993
|
+
accessDeniedDetail: 'string',
|
|
934
994
|
code: 'string',
|
|
935
|
-
data: GetHotlineQualificationByOrderResponseBodyData,
|
|
936
995
|
message: 'string',
|
|
937
|
-
|
|
996
|
+
model: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
997
|
+
success: 'boolean',
|
|
938
998
|
};
|
|
939
999
|
}
|
|
940
1000
|
|
|
@@ -943,12 +1003,14 @@ export class GetHotlineQualificationByOrderResponseBody extends $tea.Model {
|
|
|
943
1003
|
}
|
|
944
1004
|
}
|
|
945
1005
|
|
|
946
|
-
export class
|
|
947
|
-
headers
|
|
948
|
-
|
|
1006
|
+
export class GetCallProgressResponse extends $tea.Model {
|
|
1007
|
+
headers?: { [key: string]: string };
|
|
1008
|
+
statusCode?: number;
|
|
1009
|
+
body?: GetCallProgressResponseBody;
|
|
949
1010
|
static names(): { [key: string]: string } {
|
|
950
1011
|
return {
|
|
951
1012
|
headers: 'headers',
|
|
1013
|
+
statusCode: 'statusCode',
|
|
952
1014
|
body: 'body',
|
|
953
1015
|
};
|
|
954
1016
|
}
|
|
@@ -956,7 +1018,8 @@ export class GetHotlineQualificationByOrderResponse extends $tea.Model {
|
|
|
956
1018
|
static types(): { [key: string]: any } {
|
|
957
1019
|
return {
|
|
958
1020
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
959
|
-
|
|
1021
|
+
statusCode: 'number',
|
|
1022
|
+
body: GetCallProgressResponseBody,
|
|
960
1023
|
};
|
|
961
1024
|
}
|
|
962
1025
|
|
|
@@ -965,12 +1028,14 @@ export class GetHotlineQualificationByOrderResponse extends $tea.Model {
|
|
|
965
1028
|
}
|
|
966
1029
|
}
|
|
967
1030
|
|
|
968
|
-
export class
|
|
1031
|
+
export class GetHotlineQualificationByOrderRequest extends $tea.Model {
|
|
1032
|
+
orderId?: string;
|
|
969
1033
|
ownerId?: number;
|
|
970
1034
|
resourceOwnerAccount?: string;
|
|
971
1035
|
resourceOwnerId?: number;
|
|
972
1036
|
static names(): { [key: string]: string } {
|
|
973
1037
|
return {
|
|
1038
|
+
orderId: 'OrderId',
|
|
974
1039
|
ownerId: 'OwnerId',
|
|
975
1040
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
976
1041
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -979,6 +1044,7 @@ export class GetMqttTokenRequest extends $tea.Model {
|
|
|
979
1044
|
|
|
980
1045
|
static types(): { [key: string]: any } {
|
|
981
1046
|
return {
|
|
1047
|
+
orderId: 'string',
|
|
982
1048
|
ownerId: 'number',
|
|
983
1049
|
resourceOwnerAccount: 'string',
|
|
984
1050
|
resourceOwnerId: 'number',
|
|
@@ -990,9 +1056,9 @@ export class GetMqttTokenRequest extends $tea.Model {
|
|
|
990
1056
|
}
|
|
991
1057
|
}
|
|
992
1058
|
|
|
993
|
-
export class
|
|
1059
|
+
export class GetHotlineQualificationByOrderResponseBody extends $tea.Model {
|
|
994
1060
|
code?: string;
|
|
995
|
-
data?:
|
|
1061
|
+
data?: GetHotlineQualificationByOrderResponseBodyData;
|
|
996
1062
|
message?: string;
|
|
997
1063
|
requestId?: string;
|
|
998
1064
|
static names(): { [key: string]: string } {
|
|
@@ -1007,7 +1073,7 @@ export class GetMqttTokenResponseBody extends $tea.Model {
|
|
|
1007
1073
|
static types(): { [key: string]: any } {
|
|
1008
1074
|
return {
|
|
1009
1075
|
code: 'string',
|
|
1010
|
-
data:
|
|
1076
|
+
data: GetHotlineQualificationByOrderResponseBodyData,
|
|
1011
1077
|
message: 'string',
|
|
1012
1078
|
requestId: 'string',
|
|
1013
1079
|
};
|
|
@@ -1018,12 +1084,14 @@ export class GetMqttTokenResponseBody extends $tea.Model {
|
|
|
1018
1084
|
}
|
|
1019
1085
|
}
|
|
1020
1086
|
|
|
1021
|
-
export class
|
|
1022
|
-
headers
|
|
1023
|
-
|
|
1087
|
+
export class GetHotlineQualificationByOrderResponse extends $tea.Model {
|
|
1088
|
+
headers?: { [key: string]: string };
|
|
1089
|
+
statusCode?: number;
|
|
1090
|
+
body?: GetHotlineQualificationByOrderResponseBody;
|
|
1024
1091
|
static names(): { [key: string]: string } {
|
|
1025
1092
|
return {
|
|
1026
1093
|
headers: 'headers',
|
|
1094
|
+
statusCode: 'statusCode',
|
|
1027
1095
|
body: 'body',
|
|
1028
1096
|
};
|
|
1029
1097
|
}
|
|
@@ -1031,7 +1099,8 @@ export class GetMqttTokenResponse extends $tea.Model {
|
|
|
1031
1099
|
static types(): { [key: string]: any } {
|
|
1032
1100
|
return {
|
|
1033
1101
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1034
|
-
|
|
1102
|
+
statusCode: 'number',
|
|
1103
|
+
body: GetHotlineQualificationByOrderResponseBody,
|
|
1035
1104
|
};
|
|
1036
1105
|
}
|
|
1037
1106
|
|
|
@@ -1040,32 +1109,26 @@ export class GetMqttTokenResponse extends $tea.Model {
|
|
|
1040
1109
|
}
|
|
1041
1110
|
}
|
|
1042
1111
|
|
|
1043
|
-
export class
|
|
1044
|
-
deviceId?: string;
|
|
1045
|
-
isCustomAccount?: boolean;
|
|
1112
|
+
export class GetTokenRequest extends $tea.Model {
|
|
1046
1113
|
ownerId?: number;
|
|
1047
1114
|
resourceOwnerAccount?: string;
|
|
1048
1115
|
resourceOwnerId?: number;
|
|
1049
|
-
|
|
1116
|
+
tokenType?: string;
|
|
1050
1117
|
static names(): { [key: string]: string } {
|
|
1051
1118
|
return {
|
|
1052
|
-
deviceId: 'DeviceId',
|
|
1053
|
-
isCustomAccount: 'IsCustomAccount',
|
|
1054
1119
|
ownerId: 'OwnerId',
|
|
1055
1120
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1056
1121
|
resourceOwnerId: 'ResourceOwnerId',
|
|
1057
|
-
|
|
1122
|
+
tokenType: 'TokenType',
|
|
1058
1123
|
};
|
|
1059
1124
|
}
|
|
1060
1125
|
|
|
1061
1126
|
static types(): { [key: string]: any } {
|
|
1062
1127
|
return {
|
|
1063
|
-
deviceId: 'string',
|
|
1064
|
-
isCustomAccount: 'boolean',
|
|
1065
1128
|
ownerId: 'number',
|
|
1066
1129
|
resourceOwnerAccount: 'string',
|
|
1067
1130
|
resourceOwnerId: 'number',
|
|
1068
|
-
|
|
1131
|
+
tokenType: 'string',
|
|
1069
1132
|
};
|
|
1070
1133
|
}
|
|
1071
1134
|
|
|
@@ -1074,17 +1137,19 @@ export class GetRtcTokenRequest extends $tea.Model {
|
|
|
1074
1137
|
}
|
|
1075
1138
|
}
|
|
1076
1139
|
|
|
1077
|
-
export class
|
|
1140
|
+
export class GetTokenResponseBody extends $tea.Model {
|
|
1078
1141
|
code?: string;
|
|
1079
1142
|
message?: string;
|
|
1080
|
-
module?: string;
|
|
1081
1143
|
requestId?: string;
|
|
1144
|
+
success?: boolean;
|
|
1145
|
+
token?: string;
|
|
1082
1146
|
static names(): { [key: string]: string } {
|
|
1083
1147
|
return {
|
|
1084
1148
|
code: 'Code',
|
|
1085
1149
|
message: 'Message',
|
|
1086
|
-
module: 'Module',
|
|
1087
1150
|
requestId: 'RequestId',
|
|
1151
|
+
success: 'Success',
|
|
1152
|
+
token: 'Token',
|
|
1088
1153
|
};
|
|
1089
1154
|
}
|
|
1090
1155
|
|
|
@@ -1092,8 +1157,9 @@ export class GetRtcTokenResponseBody extends $tea.Model {
|
|
|
1092
1157
|
return {
|
|
1093
1158
|
code: 'string',
|
|
1094
1159
|
message: 'string',
|
|
1095
|
-
module: 'string',
|
|
1096
1160
|
requestId: 'string',
|
|
1161
|
+
success: 'boolean',
|
|
1162
|
+
token: 'string',
|
|
1097
1163
|
};
|
|
1098
1164
|
}
|
|
1099
1165
|
|
|
@@ -1102,12 +1168,14 @@ export class GetRtcTokenResponseBody extends $tea.Model {
|
|
|
1102
1168
|
}
|
|
1103
1169
|
}
|
|
1104
1170
|
|
|
1105
|
-
export class
|
|
1106
|
-
headers
|
|
1107
|
-
|
|
1171
|
+
export class GetTokenResponse extends $tea.Model {
|
|
1172
|
+
headers?: { [key: string]: string };
|
|
1173
|
+
statusCode?: number;
|
|
1174
|
+
body?: GetTokenResponseBody;
|
|
1108
1175
|
static names(): { [key: string]: string } {
|
|
1109
1176
|
return {
|
|
1110
1177
|
headers: 'headers',
|
|
1178
|
+
statusCode: 'statusCode',
|
|
1111
1179
|
body: 'body',
|
|
1112
1180
|
};
|
|
1113
1181
|
}
|
|
@@ -1115,7 +1183,8 @@ export class GetRtcTokenResponse extends $tea.Model {
|
|
|
1115
1183
|
static types(): { [key: string]: any } {
|
|
1116
1184
|
return {
|
|
1117
1185
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1118
|
-
|
|
1186
|
+
statusCode: 'number',
|
|
1187
|
+
body: GetTokenResponseBody,
|
|
1119
1188
|
};
|
|
1120
1189
|
}
|
|
1121
1190
|
|
|
@@ -1124,17 +1193,17 @@ export class GetRtcTokenResponse extends $tea.Model {
|
|
|
1124
1193
|
}
|
|
1125
1194
|
}
|
|
1126
1195
|
|
|
1127
|
-
export class
|
|
1196
|
+
export class GetVideoFieldUrlRequest extends $tea.Model {
|
|
1128
1197
|
ownerId?: number;
|
|
1129
1198
|
resourceOwnerAccount?: string;
|
|
1130
1199
|
resourceOwnerId?: number;
|
|
1131
|
-
|
|
1200
|
+
videoFile?: string;
|
|
1132
1201
|
static names(): { [key: string]: string } {
|
|
1133
1202
|
return {
|
|
1134
1203
|
ownerId: 'OwnerId',
|
|
1135
1204
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1136
1205
|
resourceOwnerId: 'ResourceOwnerId',
|
|
1137
|
-
|
|
1206
|
+
videoFile: 'VideoFile',
|
|
1138
1207
|
};
|
|
1139
1208
|
}
|
|
1140
1209
|
|
|
@@ -1143,7 +1212,7 @@ export class GetTokenRequest extends $tea.Model {
|
|
|
1143
1212
|
ownerId: 'number',
|
|
1144
1213
|
resourceOwnerAccount: 'string',
|
|
1145
1214
|
resourceOwnerId: 'number',
|
|
1146
|
-
|
|
1215
|
+
videoFile: 'string',
|
|
1147
1216
|
};
|
|
1148
1217
|
}
|
|
1149
1218
|
|
|
@@ -1152,29 +1221,29 @@ export class GetTokenRequest extends $tea.Model {
|
|
|
1152
1221
|
}
|
|
1153
1222
|
}
|
|
1154
1223
|
|
|
1155
|
-
export class
|
|
1224
|
+
export class GetVideoFieldUrlResponseBody extends $tea.Model {
|
|
1225
|
+
accessDeniedDetail?: string;
|
|
1156
1226
|
code?: string;
|
|
1157
1227
|
message?: string;
|
|
1158
|
-
|
|
1228
|
+
model?: { [key: string]: any };
|
|
1159
1229
|
success?: boolean;
|
|
1160
|
-
token?: string;
|
|
1161
1230
|
static names(): { [key: string]: string } {
|
|
1162
1231
|
return {
|
|
1232
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1163
1233
|
code: 'Code',
|
|
1164
1234
|
message: 'Message',
|
|
1165
|
-
|
|
1235
|
+
model: 'Model',
|
|
1166
1236
|
success: 'Success',
|
|
1167
|
-
token: 'Token',
|
|
1168
1237
|
};
|
|
1169
1238
|
}
|
|
1170
1239
|
|
|
1171
1240
|
static types(): { [key: string]: any } {
|
|
1172
1241
|
return {
|
|
1242
|
+
accessDeniedDetail: 'string',
|
|
1173
1243
|
code: 'string',
|
|
1174
1244
|
message: 'string',
|
|
1175
|
-
|
|
1245
|
+
model: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1176
1246
|
success: 'boolean',
|
|
1177
|
-
token: 'string',
|
|
1178
1247
|
};
|
|
1179
1248
|
}
|
|
1180
1249
|
|
|
@@ -1183,12 +1252,14 @@ export class GetTokenResponseBody extends $tea.Model {
|
|
|
1183
1252
|
}
|
|
1184
1253
|
}
|
|
1185
1254
|
|
|
1186
|
-
export class
|
|
1187
|
-
headers
|
|
1188
|
-
|
|
1255
|
+
export class GetVideoFieldUrlResponse extends $tea.Model {
|
|
1256
|
+
headers?: { [key: string]: string };
|
|
1257
|
+
statusCode?: number;
|
|
1258
|
+
body?: GetVideoFieldUrlResponseBody;
|
|
1189
1259
|
static names(): { [key: string]: string } {
|
|
1190
1260
|
return {
|
|
1191
1261
|
headers: 'headers',
|
|
1262
|
+
statusCode: 'statusCode',
|
|
1192
1263
|
body: 'body',
|
|
1193
1264
|
};
|
|
1194
1265
|
}
|
|
@@ -1196,7 +1267,8 @@ export class GetTokenResponse extends $tea.Model {
|
|
|
1196
1267
|
static types(): { [key: string]: any } {
|
|
1197
1268
|
return {
|
|
1198
1269
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1199
|
-
|
|
1270
|
+
statusCode: 'number',
|
|
1271
|
+
body: GetVideoFieldUrlResponseBody,
|
|
1200
1272
|
};
|
|
1201
1273
|
}
|
|
1202
1274
|
|
|
@@ -1289,11 +1361,13 @@ export class IvrCallResponseBody extends $tea.Model {
|
|
|
1289
1361
|
}
|
|
1290
1362
|
|
|
1291
1363
|
export class IvrCallResponse extends $tea.Model {
|
|
1292
|
-
headers
|
|
1293
|
-
|
|
1364
|
+
headers?: { [key: string]: string };
|
|
1365
|
+
statusCode?: number;
|
|
1366
|
+
body?: IvrCallResponseBody;
|
|
1294
1367
|
static names(): { [key: string]: string } {
|
|
1295
1368
|
return {
|
|
1296
1369
|
headers: 'headers',
|
|
1370
|
+
statusCode: 'statusCode',
|
|
1297
1371
|
body: 'body',
|
|
1298
1372
|
};
|
|
1299
1373
|
}
|
|
@@ -1301,6 +1375,7 @@ export class IvrCallResponse extends $tea.Model {
|
|
|
1301
1375
|
static types(): { [key: string]: any } {
|
|
1302
1376
|
return {
|
|
1303
1377
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1378
|
+
statusCode: 'number',
|
|
1304
1379
|
body: IvrCallResponseBody,
|
|
1305
1380
|
};
|
|
1306
1381
|
}
|
|
@@ -1391,11 +1466,13 @@ export class ListCallTaskResponseBody extends $tea.Model {
|
|
|
1391
1466
|
}
|
|
1392
1467
|
|
|
1393
1468
|
export class ListCallTaskResponse extends $tea.Model {
|
|
1394
|
-
headers
|
|
1395
|
-
|
|
1469
|
+
headers?: { [key: string]: string };
|
|
1470
|
+
statusCode?: number;
|
|
1471
|
+
body?: ListCallTaskResponseBody;
|
|
1396
1472
|
static names(): { [key: string]: string } {
|
|
1397
1473
|
return {
|
|
1398
1474
|
headers: 'headers',
|
|
1475
|
+
statusCode: 'statusCode',
|
|
1399
1476
|
body: 'body',
|
|
1400
1477
|
};
|
|
1401
1478
|
}
|
|
@@ -1403,6 +1480,7 @@ export class ListCallTaskResponse extends $tea.Model {
|
|
|
1403
1480
|
static types(): { [key: string]: any } {
|
|
1404
1481
|
return {
|
|
1405
1482
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1483
|
+
statusCode: 'number',
|
|
1406
1484
|
body: ListCallTaskResponseBody,
|
|
1407
1485
|
};
|
|
1408
1486
|
}
|
|
@@ -1490,11 +1568,13 @@ export class ListCallTaskDetailResponseBody extends $tea.Model {
|
|
|
1490
1568
|
}
|
|
1491
1569
|
|
|
1492
1570
|
export class ListCallTaskDetailResponse extends $tea.Model {
|
|
1493
|
-
headers
|
|
1494
|
-
|
|
1571
|
+
headers?: { [key: string]: string };
|
|
1572
|
+
statusCode?: number;
|
|
1573
|
+
body?: ListCallTaskDetailResponseBody;
|
|
1495
1574
|
static names(): { [key: string]: string } {
|
|
1496
1575
|
return {
|
|
1497
1576
|
headers: 'headers',
|
|
1577
|
+
statusCode: 'statusCode',
|
|
1498
1578
|
body: 'body',
|
|
1499
1579
|
};
|
|
1500
1580
|
}
|
|
@@ -1502,6 +1582,7 @@ export class ListCallTaskDetailResponse extends $tea.Model {
|
|
|
1502
1582
|
static types(): { [key: string]: any } {
|
|
1503
1583
|
return {
|
|
1504
1584
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1585
|
+
statusCode: 'number',
|
|
1505
1586
|
body: ListCallTaskDetailResponseBody,
|
|
1506
1587
|
};
|
|
1507
1588
|
}
|
|
@@ -1577,11 +1658,13 @@ export class ListHotlineTransferNumberResponseBody extends $tea.Model {
|
|
|
1577
1658
|
}
|
|
1578
1659
|
|
|
1579
1660
|
export class ListHotlineTransferNumberResponse extends $tea.Model {
|
|
1580
|
-
headers
|
|
1581
|
-
|
|
1661
|
+
headers?: { [key: string]: string };
|
|
1662
|
+
statusCode?: number;
|
|
1663
|
+
body?: ListHotlineTransferNumberResponseBody;
|
|
1582
1664
|
static names(): { [key: string]: string } {
|
|
1583
1665
|
return {
|
|
1584
1666
|
headers: 'headers',
|
|
1667
|
+
statusCode: 'statusCode',
|
|
1585
1668
|
body: 'body',
|
|
1586
1669
|
};
|
|
1587
1670
|
}
|
|
@@ -1589,6 +1672,7 @@ export class ListHotlineTransferNumberResponse extends $tea.Model {
|
|
|
1589
1672
|
static types(): { [key: string]: any } {
|
|
1590
1673
|
return {
|
|
1591
1674
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1675
|
+
statusCode: 'number',
|
|
1592
1676
|
body: ListHotlineTransferNumberResponseBody,
|
|
1593
1677
|
};
|
|
1594
1678
|
}
|
|
@@ -1664,11 +1748,13 @@ export class ListHotlineTransferRegisterFileResponseBody extends $tea.Model {
|
|
|
1664
1748
|
}
|
|
1665
1749
|
|
|
1666
1750
|
export class ListHotlineTransferRegisterFileResponse extends $tea.Model {
|
|
1667
|
-
headers
|
|
1668
|
-
|
|
1751
|
+
headers?: { [key: string]: string };
|
|
1752
|
+
statusCode?: number;
|
|
1753
|
+
body?: ListHotlineTransferRegisterFileResponseBody;
|
|
1669
1754
|
static names(): { [key: string]: string } {
|
|
1670
1755
|
return {
|
|
1671
1756
|
headers: 'headers',
|
|
1757
|
+
statusCode: 'statusCode',
|
|
1672
1758
|
body: 'body',
|
|
1673
1759
|
};
|
|
1674
1760
|
}
|
|
@@ -1676,6 +1762,7 @@ export class ListHotlineTransferRegisterFileResponse extends $tea.Model {
|
|
|
1676
1762
|
static types(): { [key: string]: any } {
|
|
1677
1763
|
return {
|
|
1678
1764
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1765
|
+
statusCode: 'number',
|
|
1679
1766
|
body: ListHotlineTransferRegisterFileResponseBody,
|
|
1680
1767
|
};
|
|
1681
1768
|
}
|
|
@@ -1685,6 +1772,186 @@ export class ListHotlineTransferRegisterFileResponse extends $tea.Model {
|
|
|
1685
1772
|
}
|
|
1686
1773
|
}
|
|
1687
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
|
+
|
|
1688
1955
|
export class QueryCallDetailByCallIdRequest extends $tea.Model {
|
|
1689
1956
|
callId?: string;
|
|
1690
1957
|
ownerId?: number;
|
|
@@ -1748,11 +2015,13 @@ export class QueryCallDetailByCallIdResponseBody extends $tea.Model {
|
|
|
1748
2015
|
}
|
|
1749
2016
|
|
|
1750
2017
|
export class QueryCallDetailByCallIdResponse extends $tea.Model {
|
|
1751
|
-
headers
|
|
1752
|
-
|
|
2018
|
+
headers?: { [key: string]: string };
|
|
2019
|
+
statusCode?: number;
|
|
2020
|
+
body?: QueryCallDetailByCallIdResponseBody;
|
|
1753
2021
|
static names(): { [key: string]: string } {
|
|
1754
2022
|
return {
|
|
1755
2023
|
headers: 'headers',
|
|
2024
|
+
statusCode: 'statusCode',
|
|
1756
2025
|
body: 'body',
|
|
1757
2026
|
};
|
|
1758
2027
|
}
|
|
@@ -1760,6 +2029,7 @@ export class QueryCallDetailByCallIdResponse extends $tea.Model {
|
|
|
1760
2029
|
static types(): { [key: string]: any } {
|
|
1761
2030
|
return {
|
|
1762
2031
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2032
|
+
statusCode: 'number',
|
|
1763
2033
|
body: QueryCallDetailByCallIdResponseBody,
|
|
1764
2034
|
};
|
|
1765
2035
|
}
|
|
@@ -1832,11 +2102,13 @@ export class QueryCallDetailByTaskIdResponseBody extends $tea.Model {
|
|
|
1832
2102
|
}
|
|
1833
2103
|
|
|
1834
2104
|
export class QueryCallDetailByTaskIdResponse extends $tea.Model {
|
|
1835
|
-
headers
|
|
1836
|
-
|
|
2105
|
+
headers?: { [key: string]: string };
|
|
2106
|
+
statusCode?: number;
|
|
2107
|
+
body?: QueryCallDetailByTaskIdResponseBody;
|
|
1837
2108
|
static names(): { [key: string]: string } {
|
|
1838
2109
|
return {
|
|
1839
2110
|
headers: 'headers',
|
|
2111
|
+
statusCode: 'statusCode',
|
|
1840
2112
|
body: 'body',
|
|
1841
2113
|
};
|
|
1842
2114
|
}
|
|
@@ -1844,6 +2116,7 @@ export class QueryCallDetailByTaskIdResponse extends $tea.Model {
|
|
|
1844
2116
|
static types(): { [key: string]: any } {
|
|
1845
2117
|
return {
|
|
1846
2118
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2119
|
+
statusCode: 'number',
|
|
1847
2120
|
body: QueryCallDetailByTaskIdResponseBody,
|
|
1848
2121
|
};
|
|
1849
2122
|
}
|
|
@@ -1910,11 +2183,13 @@ export class QueryCallInPoolTransferConfigResponseBody extends $tea.Model {
|
|
|
1910
2183
|
}
|
|
1911
2184
|
|
|
1912
2185
|
export class QueryCallInPoolTransferConfigResponse extends $tea.Model {
|
|
1913
|
-
headers
|
|
1914
|
-
|
|
2186
|
+
headers?: { [key: string]: string };
|
|
2187
|
+
statusCode?: number;
|
|
2188
|
+
body?: QueryCallInPoolTransferConfigResponseBody;
|
|
1915
2189
|
static names(): { [key: string]: string } {
|
|
1916
2190
|
return {
|
|
1917
2191
|
headers: 'headers',
|
|
2192
|
+
statusCode: 'statusCode',
|
|
1918
2193
|
body: 'body',
|
|
1919
2194
|
};
|
|
1920
2195
|
}
|
|
@@ -1922,6 +2197,7 @@ export class QueryCallInPoolTransferConfigResponse extends $tea.Model {
|
|
|
1922
2197
|
static types(): { [key: string]: any } {
|
|
1923
2198
|
return {
|
|
1924
2199
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2200
|
+
statusCode: 'number',
|
|
1925
2201
|
body: QueryCallInPoolTransferConfigResponseBody,
|
|
1926
2202
|
};
|
|
1927
2203
|
}
|
|
@@ -2000,11 +2276,13 @@ export class QueryCallInTransferRecordResponseBody extends $tea.Model {
|
|
|
2000
2276
|
}
|
|
2001
2277
|
|
|
2002
2278
|
export class QueryCallInTransferRecordResponse extends $tea.Model {
|
|
2003
|
-
headers
|
|
2004
|
-
|
|
2279
|
+
headers?: { [key: string]: string };
|
|
2280
|
+
statusCode?: number;
|
|
2281
|
+
body?: QueryCallInTransferRecordResponseBody;
|
|
2005
2282
|
static names(): { [key: string]: string } {
|
|
2006
2283
|
return {
|
|
2007
2284
|
headers: 'headers',
|
|
2285
|
+
statusCode: 'statusCode',
|
|
2008
2286
|
body: 'body',
|
|
2009
2287
|
};
|
|
2010
2288
|
}
|
|
@@ -2012,6 +2290,7 @@ export class QueryCallInTransferRecordResponse extends $tea.Model {
|
|
|
2012
2290
|
static types(): { [key: string]: any } {
|
|
2013
2291
|
return {
|
|
2014
2292
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2293
|
+
statusCode: 'number',
|
|
2015
2294
|
body: QueryCallInTransferRecordResponseBody,
|
|
2016
2295
|
};
|
|
2017
2296
|
}
|
|
@@ -2078,11 +2357,13 @@ export class QueryRobotInfoListResponseBody extends $tea.Model {
|
|
|
2078
2357
|
}
|
|
2079
2358
|
|
|
2080
2359
|
export class QueryRobotInfoListResponse extends $tea.Model {
|
|
2081
|
-
headers
|
|
2082
|
-
|
|
2360
|
+
headers?: { [key: string]: string };
|
|
2361
|
+
statusCode?: number;
|
|
2362
|
+
body?: QueryRobotInfoListResponseBody;
|
|
2083
2363
|
static names(): { [key: string]: string } {
|
|
2084
2364
|
return {
|
|
2085
2365
|
headers: 'headers',
|
|
2366
|
+
statusCode: 'statusCode',
|
|
2086
2367
|
body: 'body',
|
|
2087
2368
|
};
|
|
2088
2369
|
}
|
|
@@ -2090,6 +2371,7 @@ export class QueryRobotInfoListResponse extends $tea.Model {
|
|
|
2090
2371
|
static types(): { [key: string]: any } {
|
|
2091
2372
|
return {
|
|
2092
2373
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2374
|
+
statusCode: 'number',
|
|
2093
2375
|
body: QueryRobotInfoListResponseBody,
|
|
2094
2376
|
};
|
|
2095
2377
|
}
|
|
@@ -2162,11 +2444,13 @@ export class QueryRobotTaskCallDetailResponseBody extends $tea.Model {
|
|
|
2162
2444
|
}
|
|
2163
2445
|
|
|
2164
2446
|
export class QueryRobotTaskCallDetailResponse extends $tea.Model {
|
|
2165
|
-
headers
|
|
2166
|
-
|
|
2447
|
+
headers?: { [key: string]: string };
|
|
2448
|
+
statusCode?: number;
|
|
2449
|
+
body?: QueryRobotTaskCallDetailResponseBody;
|
|
2167
2450
|
static names(): { [key: string]: string } {
|
|
2168
2451
|
return {
|
|
2169
2452
|
headers: 'headers',
|
|
2453
|
+
statusCode: 'statusCode',
|
|
2170
2454
|
body: 'body',
|
|
2171
2455
|
};
|
|
2172
2456
|
}
|
|
@@ -2174,6 +2458,7 @@ export class QueryRobotTaskCallDetailResponse extends $tea.Model {
|
|
|
2174
2458
|
static types(): { [key: string]: any } {
|
|
2175
2459
|
return {
|
|
2176
2460
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2461
|
+
statusCode: 'number',
|
|
2177
2462
|
body: QueryRobotTaskCallDetailResponseBody,
|
|
2178
2463
|
};
|
|
2179
2464
|
}
|
|
@@ -2267,11 +2552,13 @@ export class QueryRobotTaskCallListResponseBody extends $tea.Model {
|
|
|
2267
2552
|
}
|
|
2268
2553
|
|
|
2269
2554
|
export class QueryRobotTaskCallListResponse extends $tea.Model {
|
|
2270
|
-
headers
|
|
2271
|
-
|
|
2555
|
+
headers?: { [key: string]: string };
|
|
2556
|
+
statusCode?: number;
|
|
2557
|
+
body?: QueryRobotTaskCallListResponseBody;
|
|
2272
2558
|
static names(): { [key: string]: string } {
|
|
2273
2559
|
return {
|
|
2274
2560
|
headers: 'headers',
|
|
2561
|
+
statusCode: 'statusCode',
|
|
2275
2562
|
body: 'body',
|
|
2276
2563
|
};
|
|
2277
2564
|
}
|
|
@@ -2279,6 +2566,7 @@ export class QueryRobotTaskCallListResponse extends $tea.Model {
|
|
|
2279
2566
|
static types(): { [key: string]: any } {
|
|
2280
2567
|
return {
|
|
2281
2568
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2569
|
+
statusCode: 'number',
|
|
2282
2570
|
body: QueryRobotTaskCallListResponseBody,
|
|
2283
2571
|
};
|
|
2284
2572
|
}
|
|
@@ -2345,11 +2633,13 @@ export class QueryRobotTaskDetailResponseBody extends $tea.Model {
|
|
|
2345
2633
|
}
|
|
2346
2634
|
|
|
2347
2635
|
export class QueryRobotTaskDetailResponse extends $tea.Model {
|
|
2348
|
-
headers
|
|
2349
|
-
|
|
2636
|
+
headers?: { [key: string]: string };
|
|
2637
|
+
statusCode?: number;
|
|
2638
|
+
body?: QueryRobotTaskDetailResponseBody;
|
|
2350
2639
|
static names(): { [key: string]: string } {
|
|
2351
2640
|
return {
|
|
2352
2641
|
headers: 'headers',
|
|
2642
|
+
statusCode: 'statusCode',
|
|
2353
2643
|
body: 'body',
|
|
2354
2644
|
};
|
|
2355
2645
|
}
|
|
@@ -2357,6 +2647,7 @@ export class QueryRobotTaskDetailResponse extends $tea.Model {
|
|
|
2357
2647
|
static types(): { [key: string]: any } {
|
|
2358
2648
|
return {
|
|
2359
2649
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2650
|
+
statusCode: 'number',
|
|
2360
2651
|
body: QueryRobotTaskDetailResponseBody,
|
|
2361
2652
|
};
|
|
2362
2653
|
}
|
|
@@ -2444,11 +2735,13 @@ export class QueryRobotTaskListResponseBody extends $tea.Model {
|
|
|
2444
2735
|
}
|
|
2445
2736
|
|
|
2446
2737
|
export class QueryRobotTaskListResponse extends $tea.Model {
|
|
2447
|
-
headers
|
|
2448
|
-
|
|
2738
|
+
headers?: { [key: string]: string };
|
|
2739
|
+
statusCode?: number;
|
|
2740
|
+
body?: QueryRobotTaskListResponseBody;
|
|
2449
2741
|
static names(): { [key: string]: string } {
|
|
2450
2742
|
return {
|
|
2451
2743
|
headers: 'headers',
|
|
2744
|
+
statusCode: 'statusCode',
|
|
2452
2745
|
body: 'body',
|
|
2453
2746
|
};
|
|
2454
2747
|
}
|
|
@@ -2456,6 +2749,7 @@ export class QueryRobotTaskListResponse extends $tea.Model {
|
|
|
2456
2749
|
static types(): { [key: string]: any } {
|
|
2457
2750
|
return {
|
|
2458
2751
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2752
|
+
statusCode: 'number',
|
|
2459
2753
|
body: QueryRobotTaskListResponseBody,
|
|
2460
2754
|
};
|
|
2461
2755
|
}
|
|
@@ -2519,11 +2813,13 @@ export class QueryRobotv2AllListResponseBody extends $tea.Model {
|
|
|
2519
2813
|
}
|
|
2520
2814
|
|
|
2521
2815
|
export class QueryRobotv2AllListResponse extends $tea.Model {
|
|
2522
|
-
headers
|
|
2523
|
-
|
|
2816
|
+
headers?: { [key: string]: string };
|
|
2817
|
+
statusCode?: number;
|
|
2818
|
+
body?: QueryRobotv2AllListResponseBody;
|
|
2524
2819
|
static names(): { [key: string]: string } {
|
|
2525
2820
|
return {
|
|
2526
2821
|
headers: 'headers',
|
|
2822
|
+
statusCode: 'statusCode',
|
|
2527
2823
|
body: 'body',
|
|
2528
2824
|
};
|
|
2529
2825
|
}
|
|
@@ -2531,6 +2827,7 @@ export class QueryRobotv2AllListResponse extends $tea.Model {
|
|
|
2531
2827
|
static types(): { [key: string]: any } {
|
|
2532
2828
|
return {
|
|
2533
2829
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2830
|
+
statusCode: 'number',
|
|
2534
2831
|
body: QueryRobotv2AllListResponseBody,
|
|
2535
2832
|
};
|
|
2536
2833
|
}
|
|
@@ -2540,6 +2837,93 @@ export class QueryRobotv2AllListResponse extends $tea.Model {
|
|
|
2540
2837
|
}
|
|
2541
2838
|
}
|
|
2542
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
|
+
|
|
2543
2927
|
export class QueryVirtualNumberRequest extends $tea.Model {
|
|
2544
2928
|
ownerId?: number;
|
|
2545
2929
|
pageNo?: number;
|
|
@@ -2603,11 +2987,13 @@ export class QueryVirtualNumberResponseBody extends $tea.Model {
|
|
|
2603
2987
|
}
|
|
2604
2988
|
|
|
2605
2989
|
export class QueryVirtualNumberResponse extends $tea.Model {
|
|
2606
|
-
headers
|
|
2607
|
-
|
|
2990
|
+
headers?: { [key: string]: string };
|
|
2991
|
+
statusCode?: number;
|
|
2992
|
+
body?: QueryVirtualNumberResponseBody;
|
|
2608
2993
|
static names(): { [key: string]: string } {
|
|
2609
2994
|
return {
|
|
2610
2995
|
headers: 'headers',
|
|
2996
|
+
statusCode: 'statusCode',
|
|
2611
2997
|
body: 'body',
|
|
2612
2998
|
};
|
|
2613
2999
|
}
|
|
@@ -2615,6 +3001,7 @@ export class QueryVirtualNumberResponse extends $tea.Model {
|
|
|
2615
3001
|
static types(): { [key: string]: any } {
|
|
2616
3002
|
return {
|
|
2617
3003
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3004
|
+
statusCode: 'number',
|
|
2618
3005
|
body: QueryVirtualNumberResponseBody,
|
|
2619
3006
|
};
|
|
2620
3007
|
}
|
|
@@ -2702,11 +3089,13 @@ export class QueryVirtualNumberRelationResponseBody extends $tea.Model {
|
|
|
2702
3089
|
}
|
|
2703
3090
|
|
|
2704
3091
|
export class QueryVirtualNumberRelationResponse extends $tea.Model {
|
|
2705
|
-
headers
|
|
2706
|
-
|
|
3092
|
+
headers?: { [key: string]: string };
|
|
3093
|
+
statusCode?: number;
|
|
3094
|
+
body?: QueryVirtualNumberRelationResponseBody;
|
|
2707
3095
|
static names(): { [key: string]: string } {
|
|
2708
3096
|
return {
|
|
2709
3097
|
headers: 'headers',
|
|
3098
|
+
statusCode: 'statusCode',
|
|
2710
3099
|
body: 'body',
|
|
2711
3100
|
};
|
|
2712
3101
|
}
|
|
@@ -2714,6 +3103,7 @@ export class QueryVirtualNumberRelationResponse extends $tea.Model {
|
|
|
2714
3103
|
static types(): { [key: string]: any } {
|
|
2715
3104
|
return {
|
|
2716
3105
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3106
|
+
statusCode: 'number',
|
|
2717
3107
|
body: QueryVirtualNumberRelationResponseBody,
|
|
2718
3108
|
};
|
|
2719
3109
|
}
|
|
@@ -2783,11 +3173,13 @@ export class QueryVoiceFileAuditInfoResponseBody extends $tea.Model {
|
|
|
2783
3173
|
}
|
|
2784
3174
|
|
|
2785
3175
|
export class QueryVoiceFileAuditInfoResponse extends $tea.Model {
|
|
2786
|
-
headers
|
|
2787
|
-
|
|
3176
|
+
headers?: { [key: string]: string };
|
|
3177
|
+
statusCode?: number;
|
|
3178
|
+
body?: QueryVoiceFileAuditInfoResponseBody;
|
|
2788
3179
|
static names(): { [key: string]: string } {
|
|
2789
3180
|
return {
|
|
2790
3181
|
headers: 'headers',
|
|
3182
|
+
statusCode: 'statusCode',
|
|
2791
3183
|
body: 'body',
|
|
2792
3184
|
};
|
|
2793
3185
|
}
|
|
@@ -2795,6 +3187,7 @@ export class QueryVoiceFileAuditInfoResponse extends $tea.Model {
|
|
|
2795
3187
|
static types(): { [key: string]: any } {
|
|
2796
3188
|
return {
|
|
2797
3189
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3190
|
+
statusCode: 'number',
|
|
2798
3191
|
body: QueryVoiceFileAuditInfoResponseBody,
|
|
2799
3192
|
};
|
|
2800
3193
|
}
|
|
@@ -2861,11 +3254,13 @@ export class RecoverCallInConfigResponseBody extends $tea.Model {
|
|
|
2861
3254
|
}
|
|
2862
3255
|
|
|
2863
3256
|
export class RecoverCallInConfigResponse extends $tea.Model {
|
|
2864
|
-
headers
|
|
2865
|
-
|
|
3257
|
+
headers?: { [key: string]: string };
|
|
3258
|
+
statusCode?: number;
|
|
3259
|
+
body?: RecoverCallInConfigResponseBody;
|
|
2866
3260
|
static names(): { [key: string]: string } {
|
|
2867
3261
|
return {
|
|
2868
3262
|
headers: 'headers',
|
|
3263
|
+
statusCode: 'statusCode',
|
|
2869
3264
|
body: 'body',
|
|
2870
3265
|
};
|
|
2871
3266
|
}
|
|
@@ -2873,6 +3268,7 @@ export class RecoverCallInConfigResponse extends $tea.Model {
|
|
|
2873
3268
|
static types(): { [key: string]: any } {
|
|
2874
3269
|
return {
|
|
2875
3270
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3271
|
+
statusCode: 'number',
|
|
2876
3272
|
body: RecoverCallInConfigResponseBody,
|
|
2877
3273
|
};
|
|
2878
3274
|
}
|
|
@@ -2882,14 +3278,16 @@ export class RecoverCallInConfigResponse extends $tea.Model {
|
|
|
2882
3278
|
}
|
|
2883
3279
|
}
|
|
2884
3280
|
|
|
2885
|
-
export class
|
|
2886
|
-
|
|
3281
|
+
export class ResumeVideoFileRequest extends $tea.Model {
|
|
3282
|
+
callId?: string;
|
|
3283
|
+
calledNumber?: string;
|
|
2887
3284
|
ownerId?: number;
|
|
2888
3285
|
resourceOwnerAccount?: string;
|
|
2889
3286
|
resourceOwnerId?: number;
|
|
2890
3287
|
static names(): { [key: string]: string } {
|
|
2891
3288
|
return {
|
|
2892
|
-
|
|
3289
|
+
callId: 'CallId',
|
|
3290
|
+
calledNumber: 'CalledNumber',
|
|
2893
3291
|
ownerId: 'OwnerId',
|
|
2894
3292
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
2895
3293
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -2898,7 +3296,8 @@ export class RefreshMqttTokenRequest extends $tea.Model {
|
|
|
2898
3296
|
|
|
2899
3297
|
static types(): { [key: string]: any } {
|
|
2900
3298
|
return {
|
|
2901
|
-
|
|
3299
|
+
callId: 'string',
|
|
3300
|
+
calledNumber: 'string',
|
|
2902
3301
|
ownerId: 'number',
|
|
2903
3302
|
resourceOwnerAccount: 'string',
|
|
2904
3303
|
resourceOwnerId: 'number',
|
|
@@ -2910,26 +3309,29 @@ export class RefreshMqttTokenRequest extends $tea.Model {
|
|
|
2910
3309
|
}
|
|
2911
3310
|
}
|
|
2912
3311
|
|
|
2913
|
-
export class
|
|
3312
|
+
export class ResumeVideoFileResponseBody extends $tea.Model {
|
|
3313
|
+
accessDeniedDetail?: string;
|
|
2914
3314
|
code?: string;
|
|
2915
|
-
data?:
|
|
3315
|
+
data?: { [key: string]: any };
|
|
2916
3316
|
message?: string;
|
|
2917
|
-
|
|
3317
|
+
success?: boolean;
|
|
2918
3318
|
static names(): { [key: string]: string } {
|
|
2919
3319
|
return {
|
|
3320
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2920
3321
|
code: 'Code',
|
|
2921
3322
|
data: 'Data',
|
|
2922
3323
|
message: 'Message',
|
|
2923
|
-
|
|
3324
|
+
success: 'Success',
|
|
2924
3325
|
};
|
|
2925
3326
|
}
|
|
2926
3327
|
|
|
2927
3328
|
static types(): { [key: string]: any } {
|
|
2928
3329
|
return {
|
|
3330
|
+
accessDeniedDetail: 'string',
|
|
2929
3331
|
code: 'string',
|
|
2930
|
-
data:
|
|
3332
|
+
data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
2931
3333
|
message: 'string',
|
|
2932
|
-
|
|
3334
|
+
success: 'boolean',
|
|
2933
3335
|
};
|
|
2934
3336
|
}
|
|
2935
3337
|
|
|
@@ -2938,12 +3340,14 @@ export class RefreshMqttTokenResponseBody extends $tea.Model {
|
|
|
2938
3340
|
}
|
|
2939
3341
|
}
|
|
2940
3342
|
|
|
2941
|
-
export class
|
|
2942
|
-
headers
|
|
2943
|
-
|
|
3343
|
+
export class ResumeVideoFileResponse extends $tea.Model {
|
|
3344
|
+
headers?: { [key: string]: string };
|
|
3345
|
+
statusCode?: number;
|
|
3346
|
+
body?: ResumeVideoFileResponseBody;
|
|
2944
3347
|
static names(): { [key: string]: string } {
|
|
2945
3348
|
return {
|
|
2946
3349
|
headers: 'headers',
|
|
3350
|
+
statusCode: 'statusCode',
|
|
2947
3351
|
body: 'body',
|
|
2948
3352
|
};
|
|
2949
3353
|
}
|
|
@@ -2951,7 +3355,8 @@ export class RefreshMqttTokenResponse extends $tea.Model {
|
|
|
2951
3355
|
static types(): { [key: string]: any } {
|
|
2952
3356
|
return {
|
|
2953
3357
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2954
|
-
|
|
3358
|
+
statusCode: 'number',
|
|
3359
|
+
body: ResumeVideoFileResponseBody,
|
|
2955
3360
|
};
|
|
2956
3361
|
}
|
|
2957
3362
|
|
|
@@ -2960,32 +3365,32 @@ export class RefreshMqttTokenResponse extends $tea.Model {
|
|
|
2960
3365
|
}
|
|
2961
3366
|
}
|
|
2962
3367
|
|
|
2963
|
-
export class
|
|
2964
|
-
|
|
3368
|
+
export class SeekVideoFileRequest extends $tea.Model {
|
|
3369
|
+
callId?: string;
|
|
3370
|
+
calledNumber?: string;
|
|
2965
3371
|
ownerId?: number;
|
|
2966
3372
|
resourceOwnerAccount?: string;
|
|
2967
3373
|
resourceOwnerId?: number;
|
|
2968
|
-
|
|
2969
|
-
verifyType?: string;
|
|
3374
|
+
seekTimes?: number;
|
|
2970
3375
|
static names(): { [key: string]: string } {
|
|
2971
3376
|
return {
|
|
2972
|
-
|
|
3377
|
+
callId: 'CallId',
|
|
3378
|
+
calledNumber: 'CalledNumber',
|
|
2973
3379
|
ownerId: 'OwnerId',
|
|
2974
3380
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
2975
3381
|
resourceOwnerId: 'ResourceOwnerId',
|
|
2976
|
-
|
|
2977
|
-
verifyType: 'VerifyType',
|
|
3382
|
+
seekTimes: 'SeekTimes',
|
|
2978
3383
|
};
|
|
2979
3384
|
}
|
|
2980
3385
|
|
|
2981
3386
|
static types(): { [key: string]: any } {
|
|
2982
3387
|
return {
|
|
2983
|
-
|
|
3388
|
+
callId: 'string',
|
|
3389
|
+
calledNumber: 'string',
|
|
2984
3390
|
ownerId: 'number',
|
|
2985
3391
|
resourceOwnerAccount: 'string',
|
|
2986
3392
|
resourceOwnerId: 'number',
|
|
2987
|
-
|
|
2988
|
-
verifyType: 'string',
|
|
3393
|
+
seekTimes: 'number',
|
|
2989
3394
|
};
|
|
2990
3395
|
}
|
|
2991
3396
|
|
|
@@ -2994,9 +3399,99 @@ export class SendVerificationRequest extends $tea.Model {
|
|
|
2994
3399
|
}
|
|
2995
3400
|
}
|
|
2996
3401
|
|
|
2997
|
-
export class
|
|
3402
|
+
export class SeekVideoFileResponseBody extends $tea.Model {
|
|
3403
|
+
accessDeniedDetail?: string;
|
|
2998
3404
|
code?: string;
|
|
2999
|
-
data?:
|
|
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 {
|
|
3459
|
+
bizType?: string;
|
|
3460
|
+
ownerId?: number;
|
|
3461
|
+
resourceOwnerAccount?: string;
|
|
3462
|
+
resourceOwnerId?: number;
|
|
3463
|
+
target?: string;
|
|
3464
|
+
verifyType?: string;
|
|
3465
|
+
static names(): { [key: string]: string } {
|
|
3466
|
+
return {
|
|
3467
|
+
bizType: 'BizType',
|
|
3468
|
+
ownerId: 'OwnerId',
|
|
3469
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3470
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3471
|
+
target: 'Target',
|
|
3472
|
+
verifyType: 'VerifyType',
|
|
3473
|
+
};
|
|
3474
|
+
}
|
|
3475
|
+
|
|
3476
|
+
static types(): { [key: string]: any } {
|
|
3477
|
+
return {
|
|
3478
|
+
bizType: 'string',
|
|
3479
|
+
ownerId: 'number',
|
|
3480
|
+
resourceOwnerAccount: 'string',
|
|
3481
|
+
resourceOwnerId: 'number',
|
|
3482
|
+
target: 'string',
|
|
3483
|
+
verifyType: 'string',
|
|
3484
|
+
};
|
|
3485
|
+
}
|
|
3486
|
+
|
|
3487
|
+
constructor(map?: { [key: string]: any }) {
|
|
3488
|
+
super(map);
|
|
3489
|
+
}
|
|
3490
|
+
}
|
|
3491
|
+
|
|
3492
|
+
export class SendVerificationResponseBody extends $tea.Model {
|
|
3493
|
+
code?: string;
|
|
3494
|
+
data?: boolean;
|
|
3000
3495
|
message?: string;
|
|
3001
3496
|
requestId?: string;
|
|
3002
3497
|
static names(): { [key: string]: string } {
|
|
@@ -3023,11 +3518,13 @@ export class SendVerificationResponseBody extends $tea.Model {
|
|
|
3023
3518
|
}
|
|
3024
3519
|
|
|
3025
3520
|
export class SendVerificationResponse extends $tea.Model {
|
|
3026
|
-
headers
|
|
3027
|
-
|
|
3521
|
+
headers?: { [key: string]: string };
|
|
3522
|
+
statusCode?: number;
|
|
3523
|
+
body?: SendVerificationResponseBody;
|
|
3028
3524
|
static names(): { [key: string]: string } {
|
|
3029
3525
|
return {
|
|
3030
3526
|
headers: 'headers',
|
|
3527
|
+
statusCode: 'statusCode',
|
|
3031
3528
|
body: 'body',
|
|
3032
3529
|
};
|
|
3033
3530
|
}
|
|
@@ -3035,6 +3532,7 @@ export class SendVerificationResponse extends $tea.Model {
|
|
|
3035
3532
|
static types(): { [key: string]: any } {
|
|
3036
3533
|
return {
|
|
3037
3534
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3535
|
+
statusCode: 'number',
|
|
3038
3536
|
body: SendVerificationResponseBody,
|
|
3039
3537
|
};
|
|
3040
3538
|
}
|
|
@@ -3110,11 +3608,13 @@ export class SetTransferCalleePoolConfigResponseBody extends $tea.Model {
|
|
|
3110
3608
|
}
|
|
3111
3609
|
|
|
3112
3610
|
export class SetTransferCalleePoolConfigResponse extends $tea.Model {
|
|
3113
|
-
headers
|
|
3114
|
-
|
|
3611
|
+
headers?: { [key: string]: string };
|
|
3612
|
+
statusCode?: number;
|
|
3613
|
+
body?: SetTransferCalleePoolConfigResponseBody;
|
|
3115
3614
|
static names(): { [key: string]: string } {
|
|
3116
3615
|
return {
|
|
3117
3616
|
headers: 'headers',
|
|
3617
|
+
statusCode: 'statusCode',
|
|
3118
3618
|
body: 'body',
|
|
3119
3619
|
};
|
|
3120
3620
|
}
|
|
@@ -3122,6 +3622,7 @@ export class SetTransferCalleePoolConfigResponse extends $tea.Model {
|
|
|
3122
3622
|
static types(): { [key: string]: any } {
|
|
3123
3623
|
return {
|
|
3124
3624
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3625
|
+
statusCode: 'number',
|
|
3125
3626
|
body: SetTransferCalleePoolConfigResponseBody,
|
|
3126
3627
|
};
|
|
3127
3628
|
}
|
|
@@ -3209,11 +3710,13 @@ export class SingleCallByTtsResponseBody extends $tea.Model {
|
|
|
3209
3710
|
}
|
|
3210
3711
|
|
|
3211
3712
|
export class SingleCallByTtsResponse extends $tea.Model {
|
|
3212
|
-
headers
|
|
3213
|
-
|
|
3713
|
+
headers?: { [key: string]: string };
|
|
3714
|
+
statusCode?: number;
|
|
3715
|
+
body?: SingleCallByTtsResponseBody;
|
|
3214
3716
|
static names(): { [key: string]: string } {
|
|
3215
3717
|
return {
|
|
3216
3718
|
headers: 'headers',
|
|
3719
|
+
statusCode: 'statusCode',
|
|
3217
3720
|
body: 'body',
|
|
3218
3721
|
};
|
|
3219
3722
|
}
|
|
@@ -3221,6 +3724,7 @@ export class SingleCallByTtsResponse extends $tea.Model {
|
|
|
3221
3724
|
static types(): { [key: string]: any } {
|
|
3222
3725
|
return {
|
|
3223
3726
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3727
|
+
statusCode: 'number',
|
|
3224
3728
|
body: SingleCallByTtsResponseBody,
|
|
3225
3729
|
};
|
|
3226
3730
|
}
|
|
@@ -3230,6 +3734,108 @@ export class SingleCallByTtsResponse extends $tea.Model {
|
|
|
3230
3734
|
}
|
|
3231
3735
|
}
|
|
3232
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
|
+
|
|
3233
3839
|
export class SingleCallByVoiceRequest extends $tea.Model {
|
|
3234
3840
|
calledNumber?: string;
|
|
3235
3841
|
calledShowNumber?: string;
|
|
@@ -3305,11 +3911,13 @@ export class SingleCallByVoiceResponseBody extends $tea.Model {
|
|
|
3305
3911
|
}
|
|
3306
3912
|
|
|
3307
3913
|
export class SingleCallByVoiceResponse extends $tea.Model {
|
|
3308
|
-
headers
|
|
3309
|
-
|
|
3914
|
+
headers?: { [key: string]: string };
|
|
3915
|
+
statusCode?: number;
|
|
3916
|
+
body?: SingleCallByVoiceResponseBody;
|
|
3310
3917
|
static names(): { [key: string]: string } {
|
|
3311
3918
|
return {
|
|
3312
3919
|
headers: 'headers',
|
|
3920
|
+
statusCode: 'statusCode',
|
|
3313
3921
|
body: 'body',
|
|
3314
3922
|
};
|
|
3315
3923
|
}
|
|
@@ -3317,6 +3925,7 @@ export class SingleCallByVoiceResponse extends $tea.Model {
|
|
|
3317
3925
|
static types(): { [key: string]: any } {
|
|
3318
3926
|
return {
|
|
3319
3927
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3928
|
+
statusCode: 'number',
|
|
3320
3929
|
body: SingleCallByVoiceResponseBody,
|
|
3321
3930
|
};
|
|
3322
3931
|
}
|
|
@@ -3326,6 +3935,99 @@ export class SingleCallByVoiceResponse extends $tea.Model {
|
|
|
3326
3935
|
}
|
|
3327
3936
|
}
|
|
3328
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
|
+
|
|
3329
4031
|
export class SmartCallRequest extends $tea.Model {
|
|
3330
4032
|
actionCodeBreak?: boolean;
|
|
3331
4033
|
actionCodeTimeBreak?: number;
|
|
@@ -3340,6 +4042,7 @@ export class SmartCallRequest extends $tea.Model {
|
|
|
3340
4042
|
earlyMediaAsr?: boolean;
|
|
3341
4043
|
enableITN?: boolean;
|
|
3342
4044
|
muteTime?: number;
|
|
4045
|
+
noiseThreshold?: number;
|
|
3343
4046
|
outId?: string;
|
|
3344
4047
|
ownerId?: number;
|
|
3345
4048
|
pauseTime?: number;
|
|
@@ -3371,6 +4074,7 @@ export class SmartCallRequest extends $tea.Model {
|
|
|
3371
4074
|
earlyMediaAsr: 'EarlyMediaAsr',
|
|
3372
4075
|
enableITN: 'EnableITN',
|
|
3373
4076
|
muteTime: 'MuteTime',
|
|
4077
|
+
noiseThreshold: 'NoiseThreshold',
|
|
3374
4078
|
outId: 'OutId',
|
|
3375
4079
|
ownerId: 'OwnerId',
|
|
3376
4080
|
pauseTime: 'PauseTime',
|
|
@@ -3405,6 +4109,7 @@ export class SmartCallRequest extends $tea.Model {
|
|
|
3405
4109
|
earlyMediaAsr: 'boolean',
|
|
3406
4110
|
enableITN: 'boolean',
|
|
3407
4111
|
muteTime: 'number',
|
|
4112
|
+
noiseThreshold: 'number',
|
|
3408
4113
|
outId: 'string',
|
|
3409
4114
|
ownerId: 'number',
|
|
3410
4115
|
pauseTime: 'number',
|
|
@@ -3458,11 +4163,13 @@ export class SmartCallResponseBody extends $tea.Model {
|
|
|
3458
4163
|
}
|
|
3459
4164
|
|
|
3460
4165
|
export class SmartCallResponse extends $tea.Model {
|
|
3461
|
-
headers
|
|
3462
|
-
|
|
4166
|
+
headers?: { [key: string]: string };
|
|
4167
|
+
statusCode?: number;
|
|
4168
|
+
body?: SmartCallResponseBody;
|
|
3463
4169
|
static names(): { [key: string]: string } {
|
|
3464
4170
|
return {
|
|
3465
4171
|
headers: 'headers',
|
|
4172
|
+
statusCode: 'statusCode',
|
|
3466
4173
|
body: 'body',
|
|
3467
4174
|
};
|
|
3468
4175
|
}
|
|
@@ -3470,6 +4177,7 @@ export class SmartCallResponse extends $tea.Model {
|
|
|
3470
4177
|
static types(): { [key: string]: any } {
|
|
3471
4178
|
return {
|
|
3472
4179
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4180
|
+
statusCode: 'number',
|
|
3473
4181
|
body: SmartCallResponseBody,
|
|
3474
4182
|
};
|
|
3475
4183
|
}
|
|
@@ -3542,11 +4250,13 @@ export class SmartCallOperateResponseBody extends $tea.Model {
|
|
|
3542
4250
|
}
|
|
3543
4251
|
|
|
3544
4252
|
export class SmartCallOperateResponse extends $tea.Model {
|
|
3545
|
-
headers
|
|
3546
|
-
|
|
4253
|
+
headers?: { [key: string]: string };
|
|
4254
|
+
statusCode?: number;
|
|
4255
|
+
body?: SmartCallOperateResponseBody;
|
|
3547
4256
|
static names(): { [key: string]: string } {
|
|
3548
4257
|
return {
|
|
3549
4258
|
headers: 'headers',
|
|
4259
|
+
statusCode: 'statusCode',
|
|
3550
4260
|
body: 'body',
|
|
3551
4261
|
};
|
|
3552
4262
|
}
|
|
@@ -3554,6 +4264,7 @@ export class SmartCallOperateResponse extends $tea.Model {
|
|
|
3554
4264
|
static types(): { [key: string]: any } {
|
|
3555
4265
|
return {
|
|
3556
4266
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4267
|
+
statusCode: 'number',
|
|
3557
4268
|
body: SmartCallOperateResponseBody,
|
|
3558
4269
|
};
|
|
3559
4270
|
}
|
|
@@ -3623,11 +4334,13 @@ export class StartRobotTaskResponseBody extends $tea.Model {
|
|
|
3623
4334
|
}
|
|
3624
4335
|
|
|
3625
4336
|
export class StartRobotTaskResponse extends $tea.Model {
|
|
3626
|
-
headers
|
|
3627
|
-
|
|
4337
|
+
headers?: { [key: string]: string };
|
|
4338
|
+
statusCode?: number;
|
|
4339
|
+
body?: StartRobotTaskResponseBody;
|
|
3628
4340
|
static names(): { [key: string]: string } {
|
|
3629
4341
|
return {
|
|
3630
4342
|
headers: 'headers',
|
|
4343
|
+
statusCode: 'statusCode',
|
|
3631
4344
|
body: 'body',
|
|
3632
4345
|
};
|
|
3633
4346
|
}
|
|
@@ -3635,6 +4348,7 @@ export class StartRobotTaskResponse extends $tea.Model {
|
|
|
3635
4348
|
static types(): { [key: string]: any } {
|
|
3636
4349
|
return {
|
|
3637
4350
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4351
|
+
statusCode: 'number',
|
|
3638
4352
|
body: StartRobotTaskResponseBody,
|
|
3639
4353
|
};
|
|
3640
4354
|
}
|
|
@@ -3701,11 +4415,13 @@ export class StopCallInConfigResponseBody extends $tea.Model {
|
|
|
3701
4415
|
}
|
|
3702
4416
|
|
|
3703
4417
|
export class StopCallInConfigResponse extends $tea.Model {
|
|
3704
|
-
headers
|
|
3705
|
-
|
|
4418
|
+
headers?: { [key: string]: string };
|
|
4419
|
+
statusCode?: number;
|
|
4420
|
+
body?: StopCallInConfigResponseBody;
|
|
3706
4421
|
static names(): { [key: string]: string } {
|
|
3707
4422
|
return {
|
|
3708
4423
|
headers: 'headers',
|
|
4424
|
+
statusCode: 'statusCode',
|
|
3709
4425
|
body: 'body',
|
|
3710
4426
|
};
|
|
3711
4427
|
}
|
|
@@ -3713,6 +4429,7 @@ export class StopCallInConfigResponse extends $tea.Model {
|
|
|
3713
4429
|
static types(): { [key: string]: any } {
|
|
3714
4430
|
return {
|
|
3715
4431
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4432
|
+
statusCode: 'number',
|
|
3716
4433
|
body: StopCallInConfigResponseBody,
|
|
3717
4434
|
};
|
|
3718
4435
|
}
|
|
@@ -3779,11 +4496,13 @@ export class StopRobotTaskResponseBody extends $tea.Model {
|
|
|
3779
4496
|
}
|
|
3780
4497
|
|
|
3781
4498
|
export class StopRobotTaskResponse extends $tea.Model {
|
|
3782
|
-
headers
|
|
3783
|
-
|
|
4499
|
+
headers?: { [key: string]: string };
|
|
4500
|
+
statusCode?: number;
|
|
4501
|
+
body?: StopRobotTaskResponseBody;
|
|
3784
4502
|
static names(): { [key: string]: string } {
|
|
3785
4503
|
return {
|
|
3786
4504
|
headers: 'headers',
|
|
4505
|
+
statusCode: 'statusCode',
|
|
3787
4506
|
body: 'body',
|
|
3788
4507
|
};
|
|
3789
4508
|
}
|
|
@@ -3791,6 +4510,7 @@ export class StopRobotTaskResponse extends $tea.Model {
|
|
|
3791
4510
|
static types(): { [key: string]: any } {
|
|
3792
4511
|
return {
|
|
3793
4512
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4513
|
+
statusCode: 'number',
|
|
3794
4514
|
body: StopRobotTaskResponseBody,
|
|
3795
4515
|
};
|
|
3796
4516
|
}
|
|
@@ -3884,11 +4604,13 @@ export class SubmitHotlineTransferRegisterResponseBody extends $tea.Model {
|
|
|
3884
4604
|
}
|
|
3885
4605
|
|
|
3886
4606
|
export class SubmitHotlineTransferRegisterResponse extends $tea.Model {
|
|
3887
|
-
headers
|
|
3888
|
-
|
|
4607
|
+
headers?: { [key: string]: string };
|
|
4608
|
+
statusCode?: number;
|
|
4609
|
+
body?: SubmitHotlineTransferRegisterResponseBody;
|
|
3889
4610
|
static names(): { [key: string]: string } {
|
|
3890
4611
|
return {
|
|
3891
4612
|
headers: 'headers',
|
|
4613
|
+
statusCode: 'statusCode',
|
|
3892
4614
|
body: 'body',
|
|
3893
4615
|
};
|
|
3894
4616
|
}
|
|
@@ -3896,6 +4618,7 @@ export class SubmitHotlineTransferRegisterResponse extends $tea.Model {
|
|
|
3896
4618
|
static types(): { [key: string]: any } {
|
|
3897
4619
|
return {
|
|
3898
4620
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4621
|
+
statusCode: 'number',
|
|
3899
4622
|
body: SubmitHotlineTransferRegisterResponseBody,
|
|
3900
4623
|
};
|
|
3901
4624
|
}
|
|
@@ -3905,35 +4628,35 @@ export class SubmitHotlineTransferRegisterResponse extends $tea.Model {
|
|
|
3905
4628
|
}
|
|
3906
4629
|
}
|
|
3907
4630
|
|
|
3908
|
-
export class
|
|
4631
|
+
export class UpgradeVideoFileRequest extends $tea.Model {
|
|
4632
|
+
callId?: string;
|
|
3909
4633
|
calledNumber?: string;
|
|
3910
|
-
|
|
4634
|
+
mediaType?: string;
|
|
4635
|
+
outId?: string;
|
|
3911
4636
|
ownerId?: number;
|
|
3912
4637
|
resourceOwnerAccount?: string;
|
|
3913
4638
|
resourceOwnerId?: number;
|
|
3914
|
-
ttsParam?: string;
|
|
3915
|
-
ttsParamHead?: string;
|
|
3916
4639
|
static names(): { [key: string]: string } {
|
|
3917
4640
|
return {
|
|
4641
|
+
callId: 'CallId',
|
|
3918
4642
|
calledNumber: 'CalledNumber',
|
|
3919
|
-
|
|
4643
|
+
mediaType: 'MediaType',
|
|
4644
|
+
outId: 'OutId',
|
|
3920
4645
|
ownerId: 'OwnerId',
|
|
3921
4646
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3922
4647
|
resourceOwnerId: 'ResourceOwnerId',
|
|
3923
|
-
ttsParam: 'TtsParam',
|
|
3924
|
-
ttsParamHead: 'TtsParamHead',
|
|
3925
4648
|
};
|
|
3926
4649
|
}
|
|
3927
4650
|
|
|
3928
4651
|
static types(): { [key: string]: any } {
|
|
3929
4652
|
return {
|
|
4653
|
+
callId: 'string',
|
|
3930
4654
|
calledNumber: 'string',
|
|
3931
|
-
|
|
4655
|
+
mediaType: 'string',
|
|
4656
|
+
outId: 'string',
|
|
3932
4657
|
ownerId: 'number',
|
|
3933
4658
|
resourceOwnerAccount: 'string',
|
|
3934
4659
|
resourceOwnerId: 'number',
|
|
3935
|
-
ttsParam: 'string',
|
|
3936
|
-
ttsParamHead: 'string',
|
|
3937
4660
|
};
|
|
3938
4661
|
}
|
|
3939
4662
|
|
|
@@ -3942,26 +4665,29 @@ export class UploadRobotTaskCalledFileRequest extends $tea.Model {
|
|
|
3942
4665
|
}
|
|
3943
4666
|
}
|
|
3944
4667
|
|
|
3945
|
-
export class
|
|
4668
|
+
export class UpgradeVideoFileResponseBody extends $tea.Model {
|
|
4669
|
+
accessDeniedDetail?: string;
|
|
3946
4670
|
code?: string;
|
|
3947
|
-
data?: string;
|
|
4671
|
+
data?: { [key: string]: any };
|
|
3948
4672
|
message?: string;
|
|
3949
|
-
|
|
4673
|
+
success?: boolean;
|
|
3950
4674
|
static names(): { [key: string]: string } {
|
|
3951
4675
|
return {
|
|
4676
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
3952
4677
|
code: 'Code',
|
|
3953
4678
|
data: 'Data',
|
|
3954
4679
|
message: 'Message',
|
|
3955
|
-
|
|
4680
|
+
success: 'Success',
|
|
3956
4681
|
};
|
|
3957
4682
|
}
|
|
3958
4683
|
|
|
3959
4684
|
static types(): { [key: string]: any } {
|
|
3960
4685
|
return {
|
|
4686
|
+
accessDeniedDetail: 'string',
|
|
3961
4687
|
code: 'string',
|
|
3962
|
-
data: 'string',
|
|
4688
|
+
data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
3963
4689
|
message: 'string',
|
|
3964
|
-
|
|
4690
|
+
success: 'boolean',
|
|
3965
4691
|
};
|
|
3966
4692
|
}
|
|
3967
4693
|
|
|
@@ -3970,12 +4696,14 @@ export class UploadRobotTaskCalledFileResponseBody extends $tea.Model {
|
|
|
3970
4696
|
}
|
|
3971
4697
|
}
|
|
3972
4698
|
|
|
3973
|
-
export class
|
|
3974
|
-
headers
|
|
3975
|
-
|
|
4699
|
+
export class UpgradeVideoFileResponse extends $tea.Model {
|
|
4700
|
+
headers?: { [key: string]: string };
|
|
4701
|
+
statusCode?: number;
|
|
4702
|
+
body?: UpgradeVideoFileResponseBody;
|
|
3976
4703
|
static names(): { [key: string]: string } {
|
|
3977
4704
|
return {
|
|
3978
4705
|
headers: 'headers',
|
|
4706
|
+
statusCode: 'statusCode',
|
|
3979
4707
|
body: 'body',
|
|
3980
4708
|
};
|
|
3981
4709
|
}
|
|
@@ -3983,7 +4711,8 @@ export class UploadRobotTaskCalledFileResponse extends $tea.Model {
|
|
|
3983
4711
|
static types(): { [key: string]: any } {
|
|
3984
4712
|
return {
|
|
3985
4713
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3986
|
-
|
|
4714
|
+
statusCode: 'number',
|
|
4715
|
+
body: UpgradeVideoFileResponseBody,
|
|
3987
4716
|
};
|
|
3988
4717
|
}
|
|
3989
4718
|
|
|
@@ -3992,20 +4721,35 @@ export class UploadRobotTaskCalledFileResponse extends $tea.Model {
|
|
|
3992
4721
|
}
|
|
3993
4722
|
}
|
|
3994
4723
|
|
|
3995
|
-
export class
|
|
3996
|
-
|
|
3997
|
-
|
|
4724
|
+
export class UploadRobotTaskCalledFileRequest extends $tea.Model {
|
|
4725
|
+
calledNumber?: string;
|
|
4726
|
+
id?: number;
|
|
4727
|
+
ownerId?: number;
|
|
4728
|
+
resourceOwnerAccount?: string;
|
|
4729
|
+
resourceOwnerId?: number;
|
|
4730
|
+
ttsParam?: string;
|
|
4731
|
+
ttsParamHead?: string;
|
|
3998
4732
|
static names(): { [key: string]: string } {
|
|
3999
4733
|
return {
|
|
4000
|
-
|
|
4001
|
-
|
|
4734
|
+
calledNumber: 'CalledNumber',
|
|
4735
|
+
id: 'Id',
|
|
4736
|
+
ownerId: 'OwnerId',
|
|
4737
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4738
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
4739
|
+
ttsParam: 'TtsParam',
|
|
4740
|
+
ttsParamHead: 'TtsParamHead',
|
|
4002
4741
|
};
|
|
4003
4742
|
}
|
|
4004
4743
|
|
|
4005
4744
|
static types(): { [key: string]: any } {
|
|
4006
4745
|
return {
|
|
4007
|
-
|
|
4008
|
-
|
|
4746
|
+
calledNumber: 'string',
|
|
4747
|
+
id: 'number',
|
|
4748
|
+
ownerId: 'number',
|
|
4749
|
+
resourceOwnerAccount: 'string',
|
|
4750
|
+
resourceOwnerId: 'number',
|
|
4751
|
+
ttsParam: 'string',
|
|
4752
|
+
ttsParamHead: 'string',
|
|
4009
4753
|
};
|
|
4010
4754
|
}
|
|
4011
4755
|
|
|
@@ -4014,23 +4758,26 @@ export class GetCallInfoResponseBodyData extends $tea.Model {
|
|
|
4014
4758
|
}
|
|
4015
4759
|
}
|
|
4016
4760
|
|
|
4017
|
-
export class
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4761
|
+
export class UploadRobotTaskCalledFileResponseBody extends $tea.Model {
|
|
4762
|
+
code?: string;
|
|
4763
|
+
data?: string;
|
|
4764
|
+
message?: string;
|
|
4765
|
+
requestId?: string;
|
|
4021
4766
|
static names(): { [key: string]: string } {
|
|
4022
4767
|
return {
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4768
|
+
code: 'Code',
|
|
4769
|
+
data: 'Data',
|
|
4770
|
+
message: 'Message',
|
|
4771
|
+
requestId: 'RequestId',
|
|
4026
4772
|
};
|
|
4027
4773
|
}
|
|
4028
4774
|
|
|
4029
4775
|
static types(): { [key: string]: any } {
|
|
4030
4776
|
return {
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4777
|
+
code: 'string',
|
|
4778
|
+
data: 'string',
|
|
4779
|
+
message: 'string',
|
|
4780
|
+
requestId: 'string',
|
|
4034
4781
|
};
|
|
4035
4782
|
}
|
|
4036
4783
|
|
|
@@ -4039,38 +4786,48 @@ export class GetHotlineQualificationByOrderResponseBodyData extends $tea.Model {
|
|
|
4039
4786
|
}
|
|
4040
4787
|
}
|
|
4041
4788
|
|
|
4042
|
-
export class
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
instanceId?: string;
|
|
4047
|
-
p2pTopic?: string;
|
|
4048
|
-
serverId?: string;
|
|
4049
|
-
token?: string;
|
|
4050
|
-
username?: string;
|
|
4789
|
+
export class UploadRobotTaskCalledFileResponse extends $tea.Model {
|
|
4790
|
+
headers?: { [key: string]: string };
|
|
4791
|
+
statusCode?: number;
|
|
4792
|
+
body?: UploadRobotTaskCalledFileResponseBody;
|
|
4051
4793
|
static names(): { [key: string]: string } {
|
|
4052
4794
|
return {
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
instanceId: 'InstanceId',
|
|
4057
|
-
p2pTopic: 'P2pTopic',
|
|
4058
|
-
serverId: 'ServerId',
|
|
4059
|
-
token: 'Token',
|
|
4060
|
-
username: 'Username',
|
|
4795
|
+
headers: 'headers',
|
|
4796
|
+
statusCode: 'statusCode',
|
|
4797
|
+
body: 'body',
|
|
4061
4798
|
};
|
|
4062
4799
|
}
|
|
4063
4800
|
|
|
4064
4801
|
static types(): { [key: string]: any } {
|
|
4065
4802
|
return {
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4803
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4804
|
+
statusCode: 'number',
|
|
4805
|
+
body: UploadRobotTaskCalledFileResponseBody,
|
|
4806
|
+
};
|
|
4807
|
+
}
|
|
4808
|
+
|
|
4809
|
+
constructor(map?: { [key: string]: any }) {
|
|
4810
|
+
super(map);
|
|
4811
|
+
}
|
|
4812
|
+
}
|
|
4813
|
+
|
|
4814
|
+
export class GetHotlineQualificationByOrderResponseBodyData extends $tea.Model {
|
|
4815
|
+
orderId?: string;
|
|
4816
|
+
qualificationId?: string;
|
|
4817
|
+
status?: string;
|
|
4818
|
+
static names(): { [key: string]: string } {
|
|
4819
|
+
return {
|
|
4820
|
+
orderId: 'OrderId',
|
|
4821
|
+
qualificationId: 'QualificationId',
|
|
4822
|
+
status: 'Status',
|
|
4823
|
+
};
|
|
4824
|
+
}
|
|
4825
|
+
|
|
4826
|
+
static types(): { [key: string]: any } {
|
|
4827
|
+
return {
|
|
4828
|
+
orderId: 'string',
|
|
4829
|
+
qualificationId: 'string',
|
|
4830
|
+
status: 'string',
|
|
4074
4831
|
};
|
|
4075
4832
|
}
|
|
4076
4833
|
|
|
@@ -4463,46 +5220,6 @@ export class QueryVoiceFileAuditInfoResponseBodyData extends $tea.Model {
|
|
|
4463
5220
|
}
|
|
4464
5221
|
}
|
|
4465
5222
|
|
|
4466
|
-
export class RefreshMqttTokenResponseBodyData extends $tea.Model {
|
|
4467
|
-
clientId?: string;
|
|
4468
|
-
expireTime?: string;
|
|
4469
|
-
host?: string;
|
|
4470
|
-
instanceId?: string;
|
|
4471
|
-
p2pTopic?: string;
|
|
4472
|
-
serverId?: string;
|
|
4473
|
-
token?: string;
|
|
4474
|
-
username?: string;
|
|
4475
|
-
static names(): { [key: string]: string } {
|
|
4476
|
-
return {
|
|
4477
|
-
clientId: 'ClientId',
|
|
4478
|
-
expireTime: 'ExpireTime',
|
|
4479
|
-
host: 'Host',
|
|
4480
|
-
instanceId: 'InstanceId',
|
|
4481
|
-
p2pTopic: 'P2pTopic',
|
|
4482
|
-
serverId: 'ServerId',
|
|
4483
|
-
token: 'Token',
|
|
4484
|
-
username: 'Username',
|
|
4485
|
-
};
|
|
4486
|
-
}
|
|
4487
|
-
|
|
4488
|
-
static types(): { [key: string]: any } {
|
|
4489
|
-
return {
|
|
4490
|
-
clientId: 'string',
|
|
4491
|
-
expireTime: 'string',
|
|
4492
|
-
host: 'string',
|
|
4493
|
-
instanceId: 'string',
|
|
4494
|
-
p2pTopic: 'string',
|
|
4495
|
-
serverId: 'string',
|
|
4496
|
-
token: 'string',
|
|
4497
|
-
username: 'string',
|
|
4498
|
-
};
|
|
4499
|
-
}
|
|
4500
|
-
|
|
4501
|
-
constructor(map?: { [key: string]: any }) {
|
|
4502
|
-
super(map);
|
|
4503
|
-
}
|
|
4504
|
-
}
|
|
4505
|
-
|
|
4506
5223
|
export class SetTransferCalleePoolConfigRequestDetails extends $tea.Model {
|
|
4507
5224
|
called?: string;
|
|
4508
5225
|
caller?: string;
|
|
@@ -4573,47 +5290,14 @@ export default class Client extends OpenApi {
|
|
|
4573
5290
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
4574
5291
|
}
|
|
4575
5292
|
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
query["OwnerId"] = request.ownerId;
|
|
4585
|
-
}
|
|
4586
|
-
|
|
4587
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
4588
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4589
|
-
}
|
|
4590
|
-
|
|
4591
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
4592
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4593
|
-
}
|
|
4594
|
-
|
|
4595
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
4596
|
-
query: OpenApiUtil.query(query),
|
|
4597
|
-
});
|
|
4598
|
-
let params = new $OpenApi.Params({
|
|
4599
|
-
action: "AddRtcAccount",
|
|
4600
|
-
version: "2017-05-25",
|
|
4601
|
-
protocol: "HTTPS",
|
|
4602
|
-
pathname: "/",
|
|
4603
|
-
method: "POST",
|
|
4604
|
-
authType: "AK",
|
|
4605
|
-
style: "RPC",
|
|
4606
|
-
reqBodyType: "formData",
|
|
4607
|
-
bodyType: "json",
|
|
4608
|
-
});
|
|
4609
|
-
return $tea.cast<AddRtcAccountResponse>(await this.callApi(params, req, runtime), new AddRtcAccountResponse({}));
|
|
4610
|
-
}
|
|
4611
|
-
|
|
4612
|
-
async addRtcAccount(request: AddRtcAccountRequest): Promise<AddRtcAccountResponse> {
|
|
4613
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
4614
|
-
return await this.addRtcAccountWithOptions(request, runtime);
|
|
4615
|
-
}
|
|
4616
|
-
|
|
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
|
+
*/
|
|
4617
5301
|
async addVirtualNumberRelationWithOptions(request: AddVirtualNumberRelationRequest, runtime: $Util.RuntimeOptions): Promise<AddVirtualNumberRelationResponse> {
|
|
4618
5302
|
Util.validateModel(request);
|
|
4619
5303
|
let query = { };
|
|
@@ -4666,11 +5350,31 @@ export default class Client extends OpenApi {
|
|
|
4666
5350
|
return $tea.cast<AddVirtualNumberRelationResponse>(await this.callApi(params, req, runtime), new AddVirtualNumberRelationResponse({}));
|
|
4667
5351
|
}
|
|
4668
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
|
+
*/
|
|
4669
5360
|
async addVirtualNumberRelation(request: AddVirtualNumberRelationRequest): Promise<AddVirtualNumberRelationResponse> {
|
|
4670
5361
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4671
5362
|
return await this.addVirtualNumberRelationWithOptions(request, runtime);
|
|
4672
5363
|
}
|
|
4673
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
|
+
*/
|
|
4674
5378
|
async batchRobotSmartCallWithOptions(request: BatchRobotSmartCallRequest, runtime: $Util.RuntimeOptions): Promise<BatchRobotSmartCallResponse> {
|
|
4675
5379
|
Util.validateModel(request);
|
|
4676
5380
|
let query = { };
|
|
@@ -4747,11 +5451,31 @@ export default class Client extends OpenApi {
|
|
|
4747
5451
|
return $tea.cast<BatchRobotSmartCallResponse>(await this.callApi(params, req, runtime), new BatchRobotSmartCallResponse({}));
|
|
4748
5452
|
}
|
|
4749
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
|
+
*/
|
|
4750
5466
|
async batchRobotSmartCall(request: BatchRobotSmartCallRequest): Promise<BatchRobotSmartCallResponse> {
|
|
4751
5467
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4752
5468
|
return await this.batchRobotSmartCallWithOptions(request, runtime);
|
|
4753
5469
|
}
|
|
4754
5470
|
|
|
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
|
+
*/
|
|
4755
5479
|
async cancelOrderRobotTaskWithOptions(request: CancelOrderRobotTaskRequest, runtime: $Util.RuntimeOptions): Promise<CancelOrderRobotTaskResponse> {
|
|
4756
5480
|
Util.validateModel(request);
|
|
4757
5481
|
let query = { };
|
|
@@ -4788,11 +5512,27 @@ export default class Client extends OpenApi {
|
|
|
4788
5512
|
return $tea.cast<CancelOrderRobotTaskResponse>(await this.callApi(params, req, runtime), new CancelOrderRobotTaskResponse({}));
|
|
4789
5513
|
}
|
|
4790
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
|
+
*/
|
|
4791
5522
|
async cancelOrderRobotTask(request: CancelOrderRobotTaskRequest): Promise<CancelOrderRobotTaskResponse> {
|
|
4792
5523
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4793
5524
|
return await this.cancelOrderRobotTaskWithOptions(request, runtime);
|
|
4794
5525
|
}
|
|
4795
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
|
+
*/
|
|
4796
5536
|
async cancelRobotTaskWithOptions(request: CancelRobotTaskRequest, runtime: $Util.RuntimeOptions): Promise<CancelRobotTaskResponse> {
|
|
4797
5537
|
Util.validateModel(request);
|
|
4798
5538
|
let query = { };
|
|
@@ -4829,11 +5569,81 @@ export default class Client extends OpenApi {
|
|
|
4829
5569
|
return $tea.cast<CancelRobotTaskResponse>(await this.callApi(params, req, runtime), new CancelRobotTaskResponse({}));
|
|
4830
5570
|
}
|
|
4831
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
|
+
*/
|
|
4832
5580
|
async cancelRobotTask(request: CancelRobotTaskRequest): Promise<CancelRobotTaskResponse> {
|
|
4833
5581
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4834
5582
|
return await this.cancelRobotTaskWithOptions(request, runtime);
|
|
4835
5583
|
}
|
|
4836
5584
|
|
|
5585
|
+
async changeMediaTypeWithOptions(request: ChangeMediaTypeRequest, runtime: $Util.RuntimeOptions): Promise<ChangeMediaTypeResponse> {
|
|
5586
|
+
Util.validateModel(request);
|
|
5587
|
+
let query = { };
|
|
5588
|
+
if (!Util.isUnset(request.callId)) {
|
|
5589
|
+
query["CallId"] = request.callId;
|
|
5590
|
+
}
|
|
5591
|
+
|
|
5592
|
+
if (!Util.isUnset(request.calledNum)) {
|
|
5593
|
+
query["CalledNum"] = request.calledNum;
|
|
5594
|
+
}
|
|
5595
|
+
|
|
5596
|
+
if (!Util.isUnset(request.mediaType)) {
|
|
5597
|
+
query["MediaType"] = request.mediaType;
|
|
5598
|
+
}
|
|
5599
|
+
|
|
5600
|
+
if (!Util.isUnset(request.outId)) {
|
|
5601
|
+
query["OutId"] = request.outId;
|
|
5602
|
+
}
|
|
5603
|
+
|
|
5604
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
5605
|
+
query["OwnerId"] = request.ownerId;
|
|
5606
|
+
}
|
|
5607
|
+
|
|
5608
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
5609
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
5610
|
+
}
|
|
5611
|
+
|
|
5612
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
5613
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5614
|
+
}
|
|
5615
|
+
|
|
5616
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5617
|
+
query: OpenApiUtil.query(query),
|
|
5618
|
+
});
|
|
5619
|
+
let params = new $OpenApi.Params({
|
|
5620
|
+
action: "ChangeMediaType",
|
|
5621
|
+
version: "2017-05-25",
|
|
5622
|
+
protocol: "HTTPS",
|
|
5623
|
+
pathname: "/",
|
|
5624
|
+
method: "POST",
|
|
5625
|
+
authType: "AK",
|
|
5626
|
+
style: "RPC",
|
|
5627
|
+
reqBodyType: "formData",
|
|
5628
|
+
bodyType: "json",
|
|
5629
|
+
});
|
|
5630
|
+
return $tea.cast<ChangeMediaTypeResponse>(await this.callApi(params, req, runtime), new ChangeMediaTypeResponse({}));
|
|
5631
|
+
}
|
|
5632
|
+
|
|
5633
|
+
async changeMediaType(request: ChangeMediaTypeRequest): Promise<ChangeMediaTypeResponse> {
|
|
5634
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
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
|
+
*/
|
|
4837
5647
|
async createCallTaskWithOptions(request: CreateCallTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateCallTaskResponse> {
|
|
4838
5648
|
Util.validateModel(request);
|
|
4839
5649
|
let query = { };
|
|
@@ -4910,11 +5720,28 @@ export default class Client extends OpenApi {
|
|
|
4910
5720
|
return $tea.cast<CreateCallTaskResponse>(await this.callApi(params, req, runtime), new CreateCallTaskResponse({}));
|
|
4911
5721
|
}
|
|
4912
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
|
+
*/
|
|
4913
5731
|
async createCallTask(request: CreateCallTaskRequest): Promise<CreateCallTaskResponse> {
|
|
4914
5732
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4915
5733
|
return await this.createCallTaskWithOptions(request, runtime);
|
|
4916
5734
|
}
|
|
4917
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
|
+
*/
|
|
4918
5745
|
async createRobotTaskWithOptions(request: CreateRobotTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateRobotTaskResponse> {
|
|
4919
5746
|
Util.validateModel(request);
|
|
4920
5747
|
let query = { };
|
|
@@ -4987,14 +5814,38 @@ export default class Client extends OpenApi {
|
|
|
4987
5814
|
return $tea.cast<CreateRobotTaskResponse>(await this.callApi(params, req, runtime), new CreateRobotTaskResponse({}));
|
|
4988
5815
|
}
|
|
4989
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
|
+
*/
|
|
4990
5825
|
async createRobotTask(request: CreateRobotTaskRequest): Promise<CreateRobotTaskResponse> {
|
|
4991
5826
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4992
5827
|
return await this.createRobotTaskWithOptions(request, runtime);
|
|
4993
5828
|
}
|
|
4994
5829
|
|
|
4995
|
-
async
|
|
5830
|
+
async degradeVideoFileWithOptions(request: DegradeVideoFileRequest, runtime: $Util.RuntimeOptions): Promise<DegradeVideoFileResponse> {
|
|
4996
5831
|
Util.validateModel(request);
|
|
4997
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
|
+
|
|
4998
5849
|
if (!Util.isUnset(request.ownerId)) {
|
|
4999
5850
|
query["OwnerId"] = request.ownerId;
|
|
5000
5851
|
}
|
|
@@ -5007,15 +5858,11 @@ export default class Client extends OpenApi {
|
|
|
5007
5858
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5008
5859
|
}
|
|
5009
5860
|
|
|
5010
|
-
if (!Util.isUnset(request.taskId)) {
|
|
5011
|
-
query["TaskId"] = request.taskId;
|
|
5012
|
-
}
|
|
5013
|
-
|
|
5014
5861
|
let req = new $OpenApi.OpenApiRequest({
|
|
5015
5862
|
query: OpenApiUtil.query(query),
|
|
5016
5863
|
});
|
|
5017
5864
|
let params = new $OpenApi.Params({
|
|
5018
|
-
action: "
|
|
5865
|
+
action: "DegradeVideoFile",
|
|
5019
5866
|
version: "2017-05-25",
|
|
5020
5867
|
protocol: "HTTPS",
|
|
5021
5868
|
pathname: "/",
|
|
@@ -5025,21 +5872,26 @@ export default class Client extends OpenApi {
|
|
|
5025
5872
|
reqBodyType: "formData",
|
|
5026
5873
|
bodyType: "json",
|
|
5027
5874
|
});
|
|
5028
|
-
return $tea.cast<
|
|
5875
|
+
return $tea.cast<DegradeVideoFileResponse>(await this.callApi(params, req, runtime), new DegradeVideoFileResponse({}));
|
|
5029
5876
|
}
|
|
5030
5877
|
|
|
5031
|
-
async
|
|
5878
|
+
async degradeVideoFile(request: DegradeVideoFileRequest): Promise<DegradeVideoFileResponse> {
|
|
5032
5879
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5033
|
-
return await this.
|
|
5034
|
-
}
|
|
5035
|
-
|
|
5036
|
-
|
|
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> {
|
|
5037
5893
|
Util.validateModel(request);
|
|
5038
5894
|
let query = { };
|
|
5039
|
-
if (!Util.isUnset(request.fireTime)) {
|
|
5040
|
-
query["FireTime"] = request.fireTime;
|
|
5041
|
-
}
|
|
5042
|
-
|
|
5043
5895
|
if (!Util.isUnset(request.ownerId)) {
|
|
5044
5896
|
query["OwnerId"] = request.ownerId;
|
|
5045
5897
|
}
|
|
@@ -5052,10 +5904,6 @@ export default class Client extends OpenApi {
|
|
|
5052
5904
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5053
5905
|
}
|
|
5054
5906
|
|
|
5055
|
-
if (!Util.isUnset(request.status)) {
|
|
5056
|
-
query["Status"] = request.status;
|
|
5057
|
-
}
|
|
5058
|
-
|
|
5059
5907
|
if (!Util.isUnset(request.taskId)) {
|
|
5060
5908
|
query["TaskId"] = request.taskId;
|
|
5061
5909
|
}
|
|
@@ -5064,7 +5912,7 @@ export default class Client extends OpenApi {
|
|
|
5064
5912
|
query: OpenApiUtil.query(query),
|
|
5065
5913
|
});
|
|
5066
5914
|
let params = new $OpenApi.Params({
|
|
5067
|
-
action: "
|
|
5915
|
+
action: "DeleteRobotTask",
|
|
5068
5916
|
version: "2017-05-25",
|
|
5069
5917
|
protocol: "HTTPS",
|
|
5070
5918
|
pathname: "/",
|
|
@@ -5074,17 +5922,37 @@ export default class Client extends OpenApi {
|
|
|
5074
5922
|
reqBodyType: "formData",
|
|
5075
5923
|
bodyType: "json",
|
|
5076
5924
|
});
|
|
5077
|
-
return $tea.cast<
|
|
5925
|
+
return $tea.cast<DeleteRobotTaskResponse>(await this.callApi(params, req, runtime), new DeleteRobotTaskResponse({}));
|
|
5078
5926
|
}
|
|
5079
5927
|
|
|
5080
|
-
|
|
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> {
|
|
5081
5937
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5082
|
-
return await this.
|
|
5938
|
+
return await this.deleteRobotTaskWithOptions(request, runtime);
|
|
5083
5939
|
}
|
|
5084
5940
|
|
|
5085
|
-
|
|
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> {
|
|
5086
5950
|
Util.validateModel(request);
|
|
5087
5951
|
let query = { };
|
|
5952
|
+
if (!Util.isUnset(request.fireTime)) {
|
|
5953
|
+
query["FireTime"] = request.fireTime;
|
|
5954
|
+
}
|
|
5955
|
+
|
|
5088
5956
|
if (!Util.isUnset(request.ownerId)) {
|
|
5089
5957
|
query["OwnerId"] = request.ownerId;
|
|
5090
5958
|
}
|
|
@@ -5097,15 +5965,19 @@ export default class Client extends OpenApi {
|
|
|
5097
5965
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5098
5966
|
}
|
|
5099
5967
|
|
|
5100
|
-
if (!Util.isUnset(request.
|
|
5101
|
-
query["
|
|
5968
|
+
if (!Util.isUnset(request.status)) {
|
|
5969
|
+
query["Status"] = request.status;
|
|
5970
|
+
}
|
|
5971
|
+
|
|
5972
|
+
if (!Util.isUnset(request.taskId)) {
|
|
5973
|
+
query["TaskId"] = request.taskId;
|
|
5102
5974
|
}
|
|
5103
5975
|
|
|
5104
5976
|
let req = new $OpenApi.OpenApiRequest({
|
|
5105
5977
|
query: OpenApiUtil.query(query),
|
|
5106
5978
|
});
|
|
5107
5979
|
let params = new $OpenApi.Params({
|
|
5108
|
-
action: "
|
|
5980
|
+
action: "ExecuteCallTask",
|
|
5109
5981
|
version: "2017-05-25",
|
|
5110
5982
|
protocol: "HTTPS",
|
|
5111
5983
|
pathname: "/",
|
|
@@ -5115,19 +5987,30 @@ export default class Client extends OpenApi {
|
|
|
5115
5987
|
reqBodyType: "formData",
|
|
5116
5988
|
bodyType: "json",
|
|
5117
5989
|
});
|
|
5118
|
-
return $tea.cast<
|
|
5990
|
+
return $tea.cast<ExecuteCallTaskResponse>(await this.callApi(params, req, runtime), new ExecuteCallTaskResponse({}));
|
|
5119
5991
|
}
|
|
5120
5992
|
|
|
5121
|
-
|
|
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> {
|
|
5122
6001
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5123
|
-
return await this.
|
|
6002
|
+
return await this.executeCallTaskWithOptions(request, runtime);
|
|
5124
6003
|
}
|
|
5125
6004
|
|
|
5126
|
-
async
|
|
6005
|
+
async getCallProgressWithOptions(request: GetCallProgressRequest, runtime: $Util.RuntimeOptions): Promise<GetCallProgressResponse> {
|
|
5127
6006
|
Util.validateModel(request);
|
|
5128
6007
|
let query = { };
|
|
5129
|
-
if (!Util.isUnset(request.
|
|
5130
|
-
query["
|
|
6008
|
+
if (!Util.isUnset(request.callId)) {
|
|
6009
|
+
query["CallId"] = request.callId;
|
|
6010
|
+
}
|
|
6011
|
+
|
|
6012
|
+
if (!Util.isUnset(request.calledNum)) {
|
|
6013
|
+
query["CalledNum"] = request.calledNum;
|
|
5131
6014
|
}
|
|
5132
6015
|
|
|
5133
6016
|
if (!Util.isUnset(request.ownerId)) {
|
|
@@ -5146,7 +6029,7 @@ export default class Client extends OpenApi {
|
|
|
5146
6029
|
query: OpenApiUtil.query(query),
|
|
5147
6030
|
});
|
|
5148
6031
|
let params = new $OpenApi.Params({
|
|
5149
|
-
action: "
|
|
6032
|
+
action: "GetCallProgress",
|
|
5150
6033
|
version: "2017-05-25",
|
|
5151
6034
|
protocol: "HTTPS",
|
|
5152
6035
|
pathname: "/",
|
|
@@ -5156,17 +6039,29 @@ export default class Client extends OpenApi {
|
|
|
5156
6039
|
reqBodyType: "formData",
|
|
5157
6040
|
bodyType: "json",
|
|
5158
6041
|
});
|
|
5159
|
-
return $tea.cast<
|
|
6042
|
+
return $tea.cast<GetCallProgressResponse>(await this.callApi(params, req, runtime), new GetCallProgressResponse({}));
|
|
5160
6043
|
}
|
|
5161
6044
|
|
|
5162
|
-
async
|
|
6045
|
+
async getCallProgress(request: GetCallProgressRequest): Promise<GetCallProgressResponse> {
|
|
5163
6046
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5164
|
-
return await this.
|
|
6047
|
+
return await this.getCallProgressWithOptions(request, runtime);
|
|
5165
6048
|
}
|
|
5166
6049
|
|
|
5167
|
-
|
|
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> {
|
|
5168
6059
|
Util.validateModel(request);
|
|
5169
6060
|
let query = { };
|
|
6061
|
+
if (!Util.isUnset(request.orderId)) {
|
|
6062
|
+
query["OrderId"] = request.orderId;
|
|
6063
|
+
}
|
|
6064
|
+
|
|
5170
6065
|
if (!Util.isUnset(request.ownerId)) {
|
|
5171
6066
|
query["OwnerId"] = request.ownerId;
|
|
5172
6067
|
}
|
|
@@ -5183,7 +6078,7 @@ export default class Client extends OpenApi {
|
|
|
5183
6078
|
query: OpenApiUtil.query(query),
|
|
5184
6079
|
});
|
|
5185
6080
|
let params = new $OpenApi.Params({
|
|
5186
|
-
action: "
|
|
6081
|
+
action: "GetHotlineQualificationByOrder",
|
|
5187
6082
|
version: "2017-05-25",
|
|
5188
6083
|
protocol: "HTTPS",
|
|
5189
6084
|
pathname: "/",
|
|
@@ -5193,25 +6088,32 @@ export default class Client extends OpenApi {
|
|
|
5193
6088
|
reqBodyType: "formData",
|
|
5194
6089
|
bodyType: "json",
|
|
5195
6090
|
});
|
|
5196
|
-
return $tea.cast<
|
|
6091
|
+
return $tea.cast<GetHotlineQualificationByOrderResponse>(await this.callApi(params, req, runtime), new GetHotlineQualificationByOrderResponse({}));
|
|
5197
6092
|
}
|
|
5198
6093
|
|
|
5199
|
-
|
|
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> {
|
|
5200
6102
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5201
|
-
return await this.
|
|
6103
|
+
return await this.getHotlineQualificationByOrderWithOptions(request, runtime);
|
|
5202
6104
|
}
|
|
5203
6105
|
|
|
5204
|
-
|
|
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> {
|
|
5205
6115
|
Util.validateModel(request);
|
|
5206
6116
|
let query = { };
|
|
5207
|
-
if (!Util.isUnset(request.deviceId)) {
|
|
5208
|
-
query["DeviceId"] = request.deviceId;
|
|
5209
|
-
}
|
|
5210
|
-
|
|
5211
|
-
if (!Util.isUnset(request.isCustomAccount)) {
|
|
5212
|
-
query["IsCustomAccount"] = request.isCustomAccount;
|
|
5213
|
-
}
|
|
5214
|
-
|
|
5215
6117
|
if (!Util.isUnset(request.ownerId)) {
|
|
5216
6118
|
query["OwnerId"] = request.ownerId;
|
|
5217
6119
|
}
|
|
@@ -5224,15 +6126,15 @@ export default class Client extends OpenApi {
|
|
|
5224
6126
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5225
6127
|
}
|
|
5226
6128
|
|
|
5227
|
-
if (!Util.isUnset(request.
|
|
5228
|
-
query["
|
|
6129
|
+
if (!Util.isUnset(request.tokenType)) {
|
|
6130
|
+
query["TokenType"] = request.tokenType;
|
|
5229
6131
|
}
|
|
5230
6132
|
|
|
5231
6133
|
let req = new $OpenApi.OpenApiRequest({
|
|
5232
6134
|
query: OpenApiUtil.query(query),
|
|
5233
6135
|
});
|
|
5234
6136
|
let params = new $OpenApi.Params({
|
|
5235
|
-
action: "
|
|
6137
|
+
action: "GetToken",
|
|
5236
6138
|
version: "2017-05-25",
|
|
5237
6139
|
protocol: "HTTPS",
|
|
5238
6140
|
pathname: "/",
|
|
@@ -5242,15 +6144,22 @@ export default class Client extends OpenApi {
|
|
|
5242
6144
|
reqBodyType: "formData",
|
|
5243
6145
|
bodyType: "json",
|
|
5244
6146
|
});
|
|
5245
|
-
return $tea.cast<
|
|
6147
|
+
return $tea.cast<GetTokenResponse>(await this.callApi(params, req, runtime), new GetTokenResponse({}));
|
|
5246
6148
|
}
|
|
5247
6149
|
|
|
5248
|
-
|
|
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> {
|
|
5249
6158
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5250
|
-
return await this.
|
|
6159
|
+
return await this.getTokenWithOptions(request, runtime);
|
|
5251
6160
|
}
|
|
5252
6161
|
|
|
5253
|
-
async
|
|
6162
|
+
async getVideoFieldUrlWithOptions(request: GetVideoFieldUrlRequest, runtime: $Util.RuntimeOptions): Promise<GetVideoFieldUrlResponse> {
|
|
5254
6163
|
Util.validateModel(request);
|
|
5255
6164
|
let query = { };
|
|
5256
6165
|
if (!Util.isUnset(request.ownerId)) {
|
|
@@ -5265,15 +6174,15 @@ export default class Client extends OpenApi {
|
|
|
5265
6174
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5266
6175
|
}
|
|
5267
6176
|
|
|
5268
|
-
if (!Util.isUnset(request.
|
|
5269
|
-
query["
|
|
6177
|
+
if (!Util.isUnset(request.videoFile)) {
|
|
6178
|
+
query["VideoFile"] = request.videoFile;
|
|
5270
6179
|
}
|
|
5271
6180
|
|
|
5272
6181
|
let req = new $OpenApi.OpenApiRequest({
|
|
5273
6182
|
query: OpenApiUtil.query(query),
|
|
5274
6183
|
});
|
|
5275
6184
|
let params = new $OpenApi.Params({
|
|
5276
|
-
action: "
|
|
6185
|
+
action: "GetVideoFieldUrl",
|
|
5277
6186
|
version: "2017-05-25",
|
|
5278
6187
|
protocol: "HTTPS",
|
|
5279
6188
|
pathname: "/",
|
|
@@ -5283,14 +6192,25 @@ export default class Client extends OpenApi {
|
|
|
5283
6192
|
reqBodyType: "formData",
|
|
5284
6193
|
bodyType: "json",
|
|
5285
6194
|
});
|
|
5286
|
-
return $tea.cast<
|
|
6195
|
+
return $tea.cast<GetVideoFieldUrlResponse>(await this.callApi(params, req, runtime), new GetVideoFieldUrlResponse({}));
|
|
5287
6196
|
}
|
|
5288
6197
|
|
|
5289
|
-
async
|
|
6198
|
+
async getVideoFieldUrl(request: GetVideoFieldUrlRequest): Promise<GetVideoFieldUrlResponse> {
|
|
5290
6199
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5291
|
-
return await this.
|
|
5292
|
-
}
|
|
5293
|
-
|
|
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
|
+
*/
|
|
5294
6214
|
async ivrCallWithOptions(request: IvrCallRequest, runtime: $Util.RuntimeOptions): Promise<IvrCallResponse> {
|
|
5295
6215
|
Util.validateModel(request);
|
|
5296
6216
|
let query = { };
|
|
@@ -5363,11 +6283,29 @@ export default class Client extends OpenApi {
|
|
|
5363
6283
|
return $tea.cast<IvrCallResponse>(await this.callApi(params, req, runtime), new IvrCallResponse({}));
|
|
5364
6284
|
}
|
|
5365
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
|
+
*/
|
|
5366
6296
|
async ivrCall(request: IvrCallRequest): Promise<IvrCallResponse> {
|
|
5367
6297
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5368
6298
|
return await this.ivrCallWithOptions(request, runtime);
|
|
5369
6299
|
}
|
|
5370
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
|
+
*/
|
|
5371
6309
|
async listCallTaskWithOptions(request: ListCallTaskRequest, runtime: $Util.RuntimeOptions): Promise<ListCallTaskResponse> {
|
|
5372
6310
|
Util.validateModel(request);
|
|
5373
6311
|
let query = { };
|
|
@@ -5428,11 +6366,26 @@ export default class Client extends OpenApi {
|
|
|
5428
6366
|
return $tea.cast<ListCallTaskResponse>(await this.callApi(params, req, runtime), new ListCallTaskResponse({}));
|
|
5429
6367
|
}
|
|
5430
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
|
+
*/
|
|
5431
6376
|
async listCallTask(request: ListCallTaskRequest): Promise<ListCallTaskResponse> {
|
|
5432
6377
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5433
6378
|
return await this.listCallTaskWithOptions(request, runtime);
|
|
5434
6379
|
}
|
|
5435
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
|
+
*/
|
|
5436
6389
|
async listCallTaskDetailWithOptions(request: ListCallTaskDetailRequest, runtime: $Util.RuntimeOptions): Promise<ListCallTaskDetailResponse> {
|
|
5437
6390
|
Util.validateModel(request);
|
|
5438
6391
|
let query = { };
|
|
@@ -5485,11 +6438,26 @@ export default class Client extends OpenApi {
|
|
|
5485
6438
|
return $tea.cast<ListCallTaskDetailResponse>(await this.callApi(params, req, runtime), new ListCallTaskDetailResponse({}));
|
|
5486
6439
|
}
|
|
5487
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
|
+
*/
|
|
5488
6448
|
async listCallTaskDetail(request: ListCallTaskDetailRequest): Promise<ListCallTaskDetailResponse> {
|
|
5489
6449
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5490
6450
|
return await this.listCallTaskDetailWithOptions(request, runtime);
|
|
5491
6451
|
}
|
|
5492
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
|
+
*/
|
|
5493
6461
|
async listHotlineTransferNumberWithOptions(request: ListHotlineTransferNumberRequest, runtime: $Util.RuntimeOptions): Promise<ListHotlineTransferNumberResponse> {
|
|
5494
6462
|
Util.validateModel(request);
|
|
5495
6463
|
let query = { };
|
|
@@ -5538,11 +6506,26 @@ export default class Client extends OpenApi {
|
|
|
5538
6506
|
return $tea.cast<ListHotlineTransferNumberResponse>(await this.callApi(params, req, runtime), new ListHotlineTransferNumberResponse({}));
|
|
5539
6507
|
}
|
|
5540
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
|
+
*/
|
|
5541
6516
|
async listHotlineTransferNumber(request: ListHotlineTransferNumberRequest): Promise<ListHotlineTransferNumberResponse> {
|
|
5542
6517
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5543
6518
|
return await this.listHotlineTransferNumberWithOptions(request, runtime);
|
|
5544
6519
|
}
|
|
5545
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
|
+
*/
|
|
5546
6529
|
async listHotlineTransferRegisterFileWithOptions(request: ListHotlineTransferRegisterFileRequest, runtime: $Util.RuntimeOptions): Promise<ListHotlineTransferRegisterFileResponse> {
|
|
5547
6530
|
Util.validateModel(request);
|
|
5548
6531
|
let query = { };
|
|
@@ -5558,12 +6541,113 @@ export default class Client extends OpenApi {
|
|
|
5558
6541
|
query["PageNo"] = request.pageNo;
|
|
5559
6542
|
}
|
|
5560
6543
|
|
|
5561
|
-
if (!Util.isUnset(request.pageSize)) {
|
|
5562
|
-
query["PageSize"] = request.pageSize;
|
|
6544
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
6545
|
+
query["PageSize"] = request.pageSize;
|
|
6546
|
+
}
|
|
6547
|
+
|
|
6548
|
+
if (!Util.isUnset(request.qualificationId)) {
|
|
6549
|
+
query["QualificationId"] = request.qualificationId;
|
|
6550
|
+
}
|
|
6551
|
+
|
|
6552
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
6553
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6554
|
+
}
|
|
6555
|
+
|
|
6556
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
6557
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6558
|
+
}
|
|
6559
|
+
|
|
6560
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6561
|
+
query: OpenApiUtil.query(query),
|
|
6562
|
+
});
|
|
6563
|
+
let params = new $OpenApi.Params({
|
|
6564
|
+
action: "ListHotlineTransferRegisterFile",
|
|
6565
|
+
version: "2017-05-25",
|
|
6566
|
+
protocol: "HTTPS",
|
|
6567
|
+
pathname: "/",
|
|
6568
|
+
method: "POST",
|
|
6569
|
+
authType: "AK",
|
|
6570
|
+
style: "RPC",
|
|
6571
|
+
reqBodyType: "formData",
|
|
6572
|
+
bodyType: "json",
|
|
6573
|
+
});
|
|
6574
|
+
return $tea.cast<ListHotlineTransferRegisterFileResponse>(await this.callApi(params, req, runtime), new ListHotlineTransferRegisterFileResponse({}));
|
|
6575
|
+
}
|
|
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
|
+
*/
|
|
6584
|
+
async listHotlineTransferRegisterFile(request: ListHotlineTransferRegisterFileRequest): Promise<ListHotlineTransferRegisterFileResponse> {
|
|
6585
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
6586
|
+
return await this.listHotlineTransferRegisterFileWithOptions(request, runtime);
|
|
6587
|
+
}
|
|
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;
|
|
5563
6647
|
}
|
|
5564
6648
|
|
|
5565
|
-
if (!Util.isUnset(request.
|
|
5566
|
-
query["
|
|
6649
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
6650
|
+
query["OwnerId"] = request.ownerId;
|
|
5567
6651
|
}
|
|
5568
6652
|
|
|
5569
6653
|
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
@@ -5574,11 +6658,15 @@ export default class Client extends OpenApi {
|
|
|
5574
6658
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5575
6659
|
}
|
|
5576
6660
|
|
|
6661
|
+
if (!Util.isUnset(request.videoId)) {
|
|
6662
|
+
query["VideoId"] = request.videoId;
|
|
6663
|
+
}
|
|
6664
|
+
|
|
5577
6665
|
let req = new $OpenApi.OpenApiRequest({
|
|
5578
6666
|
query: OpenApiUtil.query(query),
|
|
5579
6667
|
});
|
|
5580
6668
|
let params = new $OpenApi.Params({
|
|
5581
|
-
action: "
|
|
6669
|
+
action: "PlayVideoFile",
|
|
5582
6670
|
version: "2017-05-25",
|
|
5583
6671
|
protocol: "HTTPS",
|
|
5584
6672
|
pathname: "/",
|
|
@@ -5588,14 +6676,23 @@ export default class Client extends OpenApi {
|
|
|
5588
6676
|
reqBodyType: "formData",
|
|
5589
6677
|
bodyType: "json",
|
|
5590
6678
|
});
|
|
5591
|
-
return $tea.cast<
|
|
6679
|
+
return $tea.cast<PlayVideoFileResponse>(await this.callApi(params, req, runtime), new PlayVideoFileResponse({}));
|
|
5592
6680
|
}
|
|
5593
6681
|
|
|
5594
|
-
async
|
|
6682
|
+
async playVideoFile(request: PlayVideoFileRequest): Promise<PlayVideoFileResponse> {
|
|
5595
6683
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5596
|
-
return await this.
|
|
5597
|
-
}
|
|
5598
|
-
|
|
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
|
+
*/
|
|
5599
6696
|
async queryCallDetailByCallIdWithOptions(request: QueryCallDetailByCallIdRequest, runtime: $Util.RuntimeOptions): Promise<QueryCallDetailByCallIdResponse> {
|
|
5600
6697
|
Util.validateModel(request);
|
|
5601
6698
|
let query = { };
|
|
@@ -5640,6 +6737,14 @@ export default class Client extends OpenApi {
|
|
|
5640
6737
|
return $tea.cast<QueryCallDetailByCallIdResponse>(await this.callApi(params, req, runtime), new QueryCallDetailByCallIdResponse({}));
|
|
5641
6738
|
}
|
|
5642
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
|
+
*/
|
|
5643
6748
|
async queryCallDetailByCallId(request: QueryCallDetailByCallIdRequest): Promise<QueryCallDetailByCallIdResponse> {
|
|
5644
6749
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5645
6750
|
return await this.queryCallDetailByCallIdWithOptions(request, runtime);
|
|
@@ -5694,6 +6799,14 @@ export default class Client extends OpenApi {
|
|
|
5694
6799
|
return await this.queryCallDetailByTaskIdWithOptions(request, runtime);
|
|
5695
6800
|
}
|
|
5696
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
|
+
*/
|
|
5697
6810
|
async queryCallInPoolTransferConfigWithOptions(request: QueryCallInPoolTransferConfigRequest, runtime: $Util.RuntimeOptions): Promise<QueryCallInPoolTransferConfigResponse> {
|
|
5698
6811
|
Util.validateModel(request);
|
|
5699
6812
|
let query = { };
|
|
@@ -5730,11 +6843,26 @@ export default class Client extends OpenApi {
|
|
|
5730
6843
|
return $tea.cast<QueryCallInPoolTransferConfigResponse>(await this.callApi(params, req, runtime), new QueryCallInPoolTransferConfigResponse({}));
|
|
5731
6844
|
}
|
|
5732
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
|
+
*/
|
|
5733
6853
|
async queryCallInPoolTransferConfig(request: QueryCallInPoolTransferConfigRequest): Promise<QueryCallInPoolTransferConfigResponse> {
|
|
5734
6854
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5735
6855
|
return await this.queryCallInPoolTransferConfigWithOptions(request, runtime);
|
|
5736
6856
|
}
|
|
5737
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
|
+
*/
|
|
5738
6866
|
async queryCallInTransferRecordWithOptions(request: QueryCallInTransferRecordRequest, runtime: $Util.RuntimeOptions): Promise<QueryCallInTransferRecordResponse> {
|
|
5739
6867
|
Util.validateModel(request);
|
|
5740
6868
|
let query = { };
|
|
@@ -5787,6 +6915,13 @@ export default class Client extends OpenApi {
|
|
|
5787
6915
|
return $tea.cast<QueryCallInTransferRecordResponse>(await this.callApi(params, req, runtime), new QueryCallInTransferRecordResponse({}));
|
|
5788
6916
|
}
|
|
5789
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
|
+
*/
|
|
5790
6925
|
async queryCallInTransferRecord(request: QueryCallInTransferRecordRequest): Promise<QueryCallInTransferRecordResponse> {
|
|
5791
6926
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5792
6927
|
return await this.queryCallInTransferRecordWithOptions(request, runtime);
|
|
@@ -5833,6 +6968,14 @@ export default class Client extends OpenApi {
|
|
|
5833
6968
|
return await this.queryRobotInfoListWithOptions(request, runtime);
|
|
5834
6969
|
}
|
|
5835
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
|
+
*/
|
|
5836
6979
|
async queryRobotTaskCallDetailWithOptions(request: QueryRobotTaskCallDetailRequest, runtime: $Util.RuntimeOptions): Promise<QueryRobotTaskCallDetailResponse> {
|
|
5837
6980
|
Util.validateModel(request);
|
|
5838
6981
|
let query = { };
|
|
@@ -5877,11 +7020,26 @@ export default class Client extends OpenApi {
|
|
|
5877
7020
|
return $tea.cast<QueryRobotTaskCallDetailResponse>(await this.callApi(params, req, runtime), new QueryRobotTaskCallDetailResponse({}));
|
|
5878
7021
|
}
|
|
5879
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
|
+
*/
|
|
5880
7030
|
async queryRobotTaskCallDetail(request: QueryRobotTaskCallDetailRequest): Promise<QueryRobotTaskCallDetailResponse> {
|
|
5881
7031
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5882
7032
|
return await this.queryRobotTaskCallDetailWithOptions(request, runtime);
|
|
5883
7033
|
}
|
|
5884
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
|
+
*/
|
|
5885
7043
|
async queryRobotTaskCallListWithOptions(request: QueryRobotTaskCallListRequest, runtime: $Util.RuntimeOptions): Promise<QueryRobotTaskCallListResponse> {
|
|
5886
7044
|
Util.validateModel(request);
|
|
5887
7045
|
let query = { };
|
|
@@ -5954,11 +7112,26 @@ export default class Client extends OpenApi {
|
|
|
5954
7112
|
return $tea.cast<QueryRobotTaskCallListResponse>(await this.callApi(params, req, runtime), new QueryRobotTaskCallListResponse({}));
|
|
5955
7113
|
}
|
|
5956
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
|
+
*/
|
|
5957
7122
|
async queryRobotTaskCallList(request: QueryRobotTaskCallListRequest): Promise<QueryRobotTaskCallListResponse> {
|
|
5958
7123
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5959
7124
|
return await this.queryRobotTaskCallListWithOptions(request, runtime);
|
|
5960
7125
|
}
|
|
5961
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
|
+
*/
|
|
5962
7135
|
async queryRobotTaskDetailWithOptions(request: QueryRobotTaskDetailRequest, runtime: $Util.RuntimeOptions): Promise<QueryRobotTaskDetailResponse> {
|
|
5963
7136
|
Util.validateModel(request);
|
|
5964
7137
|
let query = { };
|
|
@@ -5995,11 +7168,26 @@ export default class Client extends OpenApi {
|
|
|
5995
7168
|
return $tea.cast<QueryRobotTaskDetailResponse>(await this.callApi(params, req, runtime), new QueryRobotTaskDetailResponse({}));
|
|
5996
7169
|
}
|
|
5997
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
|
+
*/
|
|
5998
7178
|
async queryRobotTaskDetail(request: QueryRobotTaskDetailRequest): Promise<QueryRobotTaskDetailResponse> {
|
|
5999
7179
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6000
7180
|
return await this.queryRobotTaskDetailWithOptions(request, runtime);
|
|
6001
7181
|
}
|
|
6002
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
|
+
*/
|
|
6003
7191
|
async queryRobotTaskListWithOptions(request: QueryRobotTaskListRequest, runtime: $Util.RuntimeOptions): Promise<QueryRobotTaskListResponse> {
|
|
6004
7192
|
Util.validateModel(request);
|
|
6005
7193
|
let query = { };
|
|
@@ -6052,11 +7240,26 @@ export default class Client extends OpenApi {
|
|
|
6052
7240
|
return $tea.cast<QueryRobotTaskListResponse>(await this.callApi(params, req, runtime), new QueryRobotTaskListResponse({}));
|
|
6053
7241
|
}
|
|
6054
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
|
+
*/
|
|
6055
7250
|
async queryRobotTaskList(request: QueryRobotTaskListRequest): Promise<QueryRobotTaskListResponse> {
|
|
6056
7251
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6057
7252
|
return await this.queryRobotTaskListWithOptions(request, runtime);
|
|
6058
7253
|
}
|
|
6059
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
|
+
*/
|
|
6060
7263
|
async queryRobotv2AllListWithOptions(request: QueryRobotv2AllListRequest, runtime: $Util.RuntimeOptions): Promise<QueryRobotv2AllListResponse> {
|
|
6061
7264
|
Util.validateModel(request);
|
|
6062
7265
|
let query = { };
|
|
@@ -6089,11 +7292,71 @@ export default class Client extends OpenApi {
|
|
|
6089
7292
|
return $tea.cast<QueryRobotv2AllListResponse>(await this.callApi(params, req, runtime), new QueryRobotv2AllListResponse({}));
|
|
6090
7293
|
}
|
|
6091
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
|
+
*/
|
|
6092
7302
|
async queryRobotv2AllList(request: QueryRobotv2AllListRequest): Promise<QueryRobotv2AllListResponse> {
|
|
6093
7303
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6094
7304
|
return await this.queryRobotv2AllListWithOptions(request, runtime);
|
|
6095
7305
|
}
|
|
6096
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
|
+
*/
|
|
6097
7360
|
async queryVirtualNumberWithOptions(request: QueryVirtualNumberRequest, runtime: $Util.RuntimeOptions): Promise<QueryVirtualNumberResponse> {
|
|
6098
7361
|
Util.validateModel(request);
|
|
6099
7362
|
let query = { };
|
|
@@ -6142,11 +7405,26 @@ export default class Client extends OpenApi {
|
|
|
6142
7405
|
return $tea.cast<QueryVirtualNumberResponse>(await this.callApi(params, req, runtime), new QueryVirtualNumberResponse({}));
|
|
6143
7406
|
}
|
|
6144
7407
|
|
|
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
|
+
*/
|
|
6145
7415
|
async queryVirtualNumber(request: QueryVirtualNumberRequest): Promise<QueryVirtualNumberResponse> {
|
|
6146
7416
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6147
7417
|
return await this.queryVirtualNumberWithOptions(request, runtime);
|
|
6148
7418
|
}
|
|
6149
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
|
+
*/
|
|
6150
7428
|
async queryVirtualNumberRelationWithOptions(request: QueryVirtualNumberRelationRequest, runtime: $Util.RuntimeOptions): Promise<QueryVirtualNumberRelationResponse> {
|
|
6151
7429
|
Util.validateModel(request);
|
|
6152
7430
|
let query = { };
|
|
@@ -6215,6 +7493,13 @@ export default class Client extends OpenApi {
|
|
|
6215
7493
|
return $tea.cast<QueryVirtualNumberRelationResponse>(await this.callApi(params, req, runtime), new QueryVirtualNumberRelationResponse({}));
|
|
6216
7494
|
}
|
|
6217
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
|
+
*/
|
|
6218
7503
|
async queryVirtualNumberRelation(request: QueryVirtualNumberRelationRequest): Promise<QueryVirtualNumberRelationResponse> {
|
|
6219
7504
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6220
7505
|
return await this.queryVirtualNumberRelationWithOptions(request, runtime);
|
|
@@ -6306,11 +7591,60 @@ export default class Client extends OpenApi {
|
|
|
6306
7591
|
return await this.recoverCallInConfigWithOptions(request, runtime);
|
|
6307
7592
|
}
|
|
6308
7593
|
|
|
6309
|
-
async
|
|
7594
|
+
async resumeVideoFileWithOptions(request: ResumeVideoFileRequest, runtime: $Util.RuntimeOptions): Promise<ResumeVideoFileResponse> {
|
|
7595
|
+
Util.validateModel(request);
|
|
7596
|
+
let query = { };
|
|
7597
|
+
if (!Util.isUnset(request.callId)) {
|
|
7598
|
+
query["CallId"] = request.callId;
|
|
7599
|
+
}
|
|
7600
|
+
|
|
7601
|
+
if (!Util.isUnset(request.calledNumber)) {
|
|
7602
|
+
query["CalledNumber"] = request.calledNumber;
|
|
7603
|
+
}
|
|
7604
|
+
|
|
7605
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
7606
|
+
query["OwnerId"] = request.ownerId;
|
|
7607
|
+
}
|
|
7608
|
+
|
|
7609
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
7610
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
7611
|
+
}
|
|
7612
|
+
|
|
7613
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
7614
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
7615
|
+
}
|
|
7616
|
+
|
|
7617
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7618
|
+
query: OpenApiUtil.query(query),
|
|
7619
|
+
});
|
|
7620
|
+
let params = new $OpenApi.Params({
|
|
7621
|
+
action: "ResumeVideoFile",
|
|
7622
|
+
version: "2017-05-25",
|
|
7623
|
+
protocol: "HTTPS",
|
|
7624
|
+
pathname: "/",
|
|
7625
|
+
method: "POST",
|
|
7626
|
+
authType: "AK",
|
|
7627
|
+
style: "RPC",
|
|
7628
|
+
reqBodyType: "formData",
|
|
7629
|
+
bodyType: "json",
|
|
7630
|
+
});
|
|
7631
|
+
return $tea.cast<ResumeVideoFileResponse>(await this.callApi(params, req, runtime), new ResumeVideoFileResponse({}));
|
|
7632
|
+
}
|
|
7633
|
+
|
|
7634
|
+
async resumeVideoFile(request: ResumeVideoFileRequest): Promise<ResumeVideoFileResponse> {
|
|
7635
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7636
|
+
return await this.resumeVideoFileWithOptions(request, runtime);
|
|
7637
|
+
}
|
|
7638
|
+
|
|
7639
|
+
async seekVideoFileWithOptions(request: SeekVideoFileRequest, runtime: $Util.RuntimeOptions): Promise<SeekVideoFileResponse> {
|
|
6310
7640
|
Util.validateModel(request);
|
|
6311
7641
|
let query = { };
|
|
6312
|
-
if (!Util.isUnset(request.
|
|
6313
|
-
query["
|
|
7642
|
+
if (!Util.isUnset(request.callId)) {
|
|
7643
|
+
query["CallId"] = request.callId;
|
|
7644
|
+
}
|
|
7645
|
+
|
|
7646
|
+
if (!Util.isUnset(request.calledNumber)) {
|
|
7647
|
+
query["CalledNumber"] = request.calledNumber;
|
|
6314
7648
|
}
|
|
6315
7649
|
|
|
6316
7650
|
if (!Util.isUnset(request.ownerId)) {
|
|
@@ -6325,11 +7659,15 @@ export default class Client extends OpenApi {
|
|
|
6325
7659
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6326
7660
|
}
|
|
6327
7661
|
|
|
7662
|
+
if (!Util.isUnset(request.seekTimes)) {
|
|
7663
|
+
query["SeekTimes"] = request.seekTimes;
|
|
7664
|
+
}
|
|
7665
|
+
|
|
6328
7666
|
let req = new $OpenApi.OpenApiRequest({
|
|
6329
7667
|
query: OpenApiUtil.query(query),
|
|
6330
7668
|
});
|
|
6331
7669
|
let params = new $OpenApi.Params({
|
|
6332
|
-
action: "
|
|
7670
|
+
action: "SeekVideoFile",
|
|
6333
7671
|
version: "2017-05-25",
|
|
6334
7672
|
protocol: "HTTPS",
|
|
6335
7673
|
pathname: "/",
|
|
@@ -6339,14 +7677,22 @@ export default class Client extends OpenApi {
|
|
|
6339
7677
|
reqBodyType: "formData",
|
|
6340
7678
|
bodyType: "json",
|
|
6341
7679
|
});
|
|
6342
|
-
return $tea.cast<
|
|
7680
|
+
return $tea.cast<SeekVideoFileResponse>(await this.callApi(params, req, runtime), new SeekVideoFileResponse({}));
|
|
6343
7681
|
}
|
|
6344
7682
|
|
|
6345
|
-
async
|
|
7683
|
+
async seekVideoFile(request: SeekVideoFileRequest): Promise<SeekVideoFileResponse> {
|
|
6346
7684
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6347
|
-
return await this.
|
|
7685
|
+
return await this.seekVideoFileWithOptions(request, runtime);
|
|
6348
7686
|
}
|
|
6349
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
|
+
*/
|
|
6350
7696
|
async sendVerificationWithOptions(request: SendVerificationRequest, runtime: $Util.RuntimeOptions): Promise<SendVerificationResponse> {
|
|
6351
7697
|
Util.validateModel(request);
|
|
6352
7698
|
let query = { };
|
|
@@ -6391,11 +7737,26 @@ export default class Client extends OpenApi {
|
|
|
6391
7737
|
return $tea.cast<SendVerificationResponse>(await this.callApi(params, req, runtime), new SendVerificationResponse({}));
|
|
6392
7738
|
}
|
|
6393
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
|
+
*/
|
|
6394
7747
|
async sendVerification(request: SendVerificationRequest): Promise<SendVerificationResponse> {
|
|
6395
7748
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6396
7749
|
return await this.sendVerificationWithOptions(request, runtime);
|
|
6397
7750
|
}
|
|
6398
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
|
+
*/
|
|
6399
7760
|
async setTransferCalleePoolConfigWithOptions(request: SetTransferCalleePoolConfigRequest, runtime: $Util.RuntimeOptions): Promise<SetTransferCalleePoolConfigResponse> {
|
|
6400
7761
|
Util.validateModel(request);
|
|
6401
7762
|
let query = { };
|
|
@@ -6444,11 +7805,28 @@ export default class Client extends OpenApi {
|
|
|
6444
7805
|
return $tea.cast<SetTransferCalleePoolConfigResponse>(await this.callApi(params, req, runtime), new SetTransferCalleePoolConfigResponse({}));
|
|
6445
7806
|
}
|
|
6446
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
|
+
*/
|
|
6447
7815
|
async setTransferCalleePoolConfig(request: SetTransferCalleePoolConfigRequest): Promise<SetTransferCalleePoolConfigResponse> {
|
|
6448
7816
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6449
7817
|
return await this.setTransferCalleePoolConfigWithOptions(request, runtime);
|
|
6450
7818
|
}
|
|
6451
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
|
+
*/
|
|
6452
7830
|
async singleCallByTtsWithOptions(request: SingleCallByTtsRequest, runtime: $Util.RuntimeOptions): Promise<SingleCallByTtsResponse> {
|
|
6453
7831
|
Util.validateModel(request);
|
|
6454
7832
|
let query = { };
|
|
@@ -6513,11 +7891,99 @@ export default class Client extends OpenApi {
|
|
|
6513
7891
|
return $tea.cast<SingleCallByTtsResponse>(await this.callApi(params, req, runtime), new SingleCallByTtsResponse({}));
|
|
6514
7892
|
}
|
|
6515
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
|
+
*/
|
|
6516
7903
|
async singleCallByTts(request: SingleCallByTtsRequest): Promise<SingleCallByTtsResponse> {
|
|
6517
7904
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6518
7905
|
return await this.singleCallByTtsWithOptions(request, runtime);
|
|
6519
7906
|
}
|
|
6520
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
|
+
*/
|
|
6521
7987
|
async singleCallByVoiceWithOptions(request: SingleCallByVoiceRequest, runtime: $Util.RuntimeOptions): Promise<SingleCallByVoiceResponse> {
|
|
6522
7988
|
Util.validateModel(request);
|
|
6523
7989
|
let query = { };
|
|
@@ -6578,11 +8044,83 @@ export default class Client extends OpenApi {
|
|
|
6578
8044
|
return $tea.cast<SingleCallByVoiceResponse>(await this.callApi(params, req, runtime), new SingleCallByVoiceResponse({}));
|
|
6579
8045
|
}
|
|
6580
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
|
+
*/
|
|
6581
8056
|
async singleCallByVoice(request: SingleCallByVoiceRequest): Promise<SingleCallByVoiceResponse> {
|
|
6582
8057
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6583
8058
|
return await this.singleCallByVoiceWithOptions(request, runtime);
|
|
6584
8059
|
}
|
|
6585
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
|
+
*/
|
|
6586
8124
|
async smartCallWithOptions(request: SmartCallRequest, runtime: $Util.RuntimeOptions): Promise<SmartCallResponse> {
|
|
6587
8125
|
Util.validateModel(request);
|
|
6588
8126
|
let query = { };
|
|
@@ -6638,6 +8176,10 @@ export default class Client extends OpenApi {
|
|
|
6638
8176
|
query["MuteTime"] = request.muteTime;
|
|
6639
8177
|
}
|
|
6640
8178
|
|
|
8179
|
+
if (!Util.isUnset(request.noiseThreshold)) {
|
|
8180
|
+
query["NoiseThreshold"] = request.noiseThreshold;
|
|
8181
|
+
}
|
|
8182
|
+
|
|
6641
8183
|
if (!Util.isUnset(request.outId)) {
|
|
6642
8184
|
query["OutId"] = request.outId;
|
|
6643
8185
|
}
|
|
@@ -6719,11 +8261,30 @@ export default class Client extends OpenApi {
|
|
|
6719
8261
|
return $tea.cast<SmartCallResponse>(await this.callApi(params, req, runtime), new SmartCallResponse({}));
|
|
6720
8262
|
}
|
|
6721
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
|
+
*/
|
|
6722
8273
|
async smartCall(request: SmartCallRequest): Promise<SmartCallResponse> {
|
|
6723
8274
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6724
8275
|
return await this.smartCallWithOptions(request, runtime);
|
|
6725
8276
|
}
|
|
6726
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
|
+
*/
|
|
6727
8288
|
async smartCallOperateWithOptions(request: SmartCallOperateRequest, runtime: $Util.RuntimeOptions): Promise<SmartCallOperateResponse> {
|
|
6728
8289
|
Util.validateModel(request);
|
|
6729
8290
|
let query = { };
|
|
@@ -6768,11 +8329,28 @@ export default class Client extends OpenApi {
|
|
|
6768
8329
|
return $tea.cast<SmartCallOperateResponse>(await this.callApi(params, req, runtime), new SmartCallOperateResponse({}));
|
|
6769
8330
|
}
|
|
6770
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
|
+
*/
|
|
6771
8341
|
async smartCallOperate(request: SmartCallOperateRequest): Promise<SmartCallOperateResponse> {
|
|
6772
8342
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6773
8343
|
return await this.smartCallOperateWithOptions(request, runtime);
|
|
6774
8344
|
}
|
|
6775
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
|
+
*/
|
|
6776
8354
|
async startRobotTaskWithOptions(request: StartRobotTaskRequest, runtime: $Util.RuntimeOptions): Promise<StartRobotTaskResponse> {
|
|
6777
8355
|
Util.validateModel(request);
|
|
6778
8356
|
let query = { };
|
|
@@ -6813,6 +8391,13 @@ export default class Client extends OpenApi {
|
|
|
6813
8391
|
return $tea.cast<StartRobotTaskResponse>(await this.callApi(params, req, runtime), new StartRobotTaskResponse({}));
|
|
6814
8392
|
}
|
|
6815
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
|
+
*/
|
|
6816
8401
|
async startRobotTask(request: StartRobotTaskRequest): Promise<StartRobotTaskResponse> {
|
|
6817
8402
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6818
8403
|
return await this.startRobotTaskWithOptions(request, runtime);
|
|
@@ -6859,6 +8444,15 @@ export default class Client extends OpenApi {
|
|
|
6859
8444
|
return await this.stopCallInConfigWithOptions(request, runtime);
|
|
6860
8445
|
}
|
|
6861
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
|
+
*/
|
|
6862
8456
|
async stopRobotTaskWithOptions(request: StopRobotTaskRequest, runtime: $Util.RuntimeOptions): Promise<StopRobotTaskResponse> {
|
|
6863
8457
|
Util.validateModel(request);
|
|
6864
8458
|
let query = { };
|
|
@@ -6895,11 +8489,27 @@ export default class Client extends OpenApi {
|
|
|
6895
8489
|
return $tea.cast<StopRobotTaskResponse>(await this.callApi(params, req, runtime), new StopRobotTaskResponse({}));
|
|
6896
8490
|
}
|
|
6897
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
|
+
*/
|
|
6898
8500
|
async stopRobotTask(request: StopRobotTaskRequest): Promise<StopRobotTaskResponse> {
|
|
6899
8501
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6900
8502
|
return await this.stopRobotTaskWithOptions(request, runtime);
|
|
6901
8503
|
}
|
|
6902
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
|
+
*/
|
|
6903
8513
|
async submitHotlineTransferRegisterWithOptions(request: SubmitHotlineTransferRegisterRequest, runtime: $Util.RuntimeOptions): Promise<SubmitHotlineTransferRegisterResponse> {
|
|
6904
8514
|
Util.validateModel(request);
|
|
6905
8515
|
let query = { };
|
|
@@ -6972,11 +8582,79 @@ export default class Client extends OpenApi {
|
|
|
6972
8582
|
return $tea.cast<SubmitHotlineTransferRegisterResponse>(await this.callApi(params, req, runtime), new SubmitHotlineTransferRegisterResponse({}));
|
|
6973
8583
|
}
|
|
6974
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
|
+
*/
|
|
6975
8592
|
async submitHotlineTransferRegister(request: SubmitHotlineTransferRegisterRequest): Promise<SubmitHotlineTransferRegisterResponse> {
|
|
6976
8593
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6977
8594
|
return await this.submitHotlineTransferRegisterWithOptions(request, runtime);
|
|
6978
8595
|
}
|
|
6979
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
|
+
*/
|
|
6980
8658
|
async uploadRobotTaskCalledFileWithOptions(request: UploadRobotTaskCalledFileRequest, runtime: $Util.RuntimeOptions): Promise<UploadRobotTaskCalledFileResponse> {
|
|
6981
8659
|
Util.validateModel(request);
|
|
6982
8660
|
let query = { };
|
|
@@ -7025,6 +8703,13 @@ export default class Client extends OpenApi {
|
|
|
7025
8703
|
return $tea.cast<UploadRobotTaskCalledFileResponse>(await this.callApi(params, req, runtime), new UploadRobotTaskCalledFileResponse({}));
|
|
7026
8704
|
}
|
|
7027
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
|
+
*/
|
|
7028
8713
|
async uploadRobotTaskCalledFile(request: UploadRobotTaskCalledFileRequest): Promise<UploadRobotTaskCalledFileResponse> {
|
|
7029
8714
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7030
8715
|
return await this.uploadRobotTaskCalledFileWithOptions(request, runtime);
|