@alicloud/dyvmsapi20170525 3.2.0 → 4.0.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 +102 -61
- package/dist/client.js +560 -103
- package/dist/client.js.map +1 -1
- package/dist/models/CloudCreateTaskRequest.d.ts +430 -0
- package/dist/models/CloudCreateTaskRequest.js +164 -0
- package/dist/models/CloudCreateTaskRequest.js.map +1 -0
- package/dist/models/CloudCreateTaskResponse.d.ts +19 -0
- package/dist/models/CloudCreateTaskResponse.js +69 -0
- package/dist/models/CloudCreateTaskResponse.js.map +1 -0
- package/dist/models/CloudCreateTaskResponseBody.d.ts +194 -0
- package/dist/models/CloudCreateTaskResponseBody.js +148 -0
- package/dist/models/CloudCreateTaskResponseBody.js.map +1 -0
- package/dist/models/CloudImportTaskTelRequest.d.ts +161 -0
- package/dist/models/CloudImportTaskTelRequest.js +114 -0
- package/dist/models/CloudImportTaskTelRequest.js.map +1 -0
- package/dist/models/{QueryVirtualNumberResponse.d.ts → CloudImportTaskTelResponse.d.ts} +3 -3
- package/dist/models/{QueryVirtualNumberResponse.js → CloudImportTaskTelResponse.js} +6 -6
- package/dist/models/{QueryVirtualNumberResponse.js.map → CloudImportTaskTelResponse.js.map} +1 -1
- package/dist/models/CloudImportTaskTelResponseBody.d.ts +82 -0
- package/dist/models/CloudImportTaskTelResponseBody.js +96 -0
- package/dist/models/CloudImportTaskTelResponseBody.js.map +1 -0
- package/dist/models/CloudImportTaskTelShrinkRequest.d.ts +101 -0
- package/dist/models/CloudImportTaskTelShrinkRequest.js +82 -0
- package/dist/models/CloudImportTaskTelShrinkRequest.js.map +1 -0
- package/dist/models/CloudStartTaskRequest.d.ts +36 -0
- package/dist/models/{QueryVirtualNumberRequest.js → CloudStartTaskRequest.js} +8 -12
- package/dist/models/CloudStartTaskRequest.js.map +1 -0
- package/dist/models/CloudStartTaskResponse.d.ts +19 -0
- package/dist/models/{QueryVirtualNumberResponseBody.js → CloudStartTaskResponse.js} +17 -10
- package/dist/models/CloudStartTaskResponse.js.map +1 -0
- package/dist/models/CloudStartTaskResponseBody.d.ts +50 -0
- package/dist/models/CloudStartTaskResponseBody.js +88 -0
- package/dist/models/CloudStartTaskResponseBody.js.map +1 -0
- package/dist/models/CloudUpdateTaskRequest.d.ts +404 -0
- package/dist/models/CloudUpdateTaskRequest.js +158 -0
- package/dist/models/CloudUpdateTaskRequest.js.map +1 -0
- package/dist/models/CloudUpdateTaskResponse.d.ts +19 -0
- package/dist/models/CloudUpdateTaskResponse.js +69 -0
- package/dist/models/CloudUpdateTaskResponse.js.map +1 -0
- package/dist/models/CloudUpdateTaskResponseBody.d.ts +192 -0
- package/dist/models/CloudUpdateTaskResponseBody.js +146 -0
- package/dist/models/CloudUpdateTaskResponseBody.js.map +1 -0
- package/dist/models/GetHotlineQualificationByOrderResponseBody.d.ts +0 -2
- package/dist/models/GetHotlineQualificationByOrderResponseBody.js +0 -2
- package/dist/models/GetHotlineQualificationByOrderResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +18 -3
- package/dist/models/model.js +41 -10
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +692 -112
- package/src/models/CloudCreateTaskRequest.ts +549 -0
- package/src/models/{QueryVirtualNumberResponse.ts → CloudCreateTaskResponse.ts} +4 -4
- package/src/models/CloudCreateTaskResponseBody.ts +286 -0
- package/src/models/CloudImportTaskTelRequest.ts +221 -0
- package/src/models/CloudImportTaskTelResponse.ts +40 -0
- package/src/models/CloudImportTaskTelResponseBody.ts +124 -0
- package/src/models/CloudImportTaskTelShrinkRequest.ts +138 -0
- package/src/models/{QueryVirtualNumberRequest.ts → CloudStartTaskRequest.ts} +14 -33
- package/src/models/CloudStartTaskResponse.ts +40 -0
- package/src/models/CloudStartTaskResponseBody.ts +84 -0
- package/src/models/CloudUpdateTaskRequest.ts +517 -0
- package/src/models/CloudUpdateTaskResponse.ts +40 -0
- package/src/models/CloudUpdateTaskResponseBody.ts +284 -0
- package/src/models/GetHotlineQualificationByOrderResponseBody.ts +0 -2
- package/src/models/model.ts +18 -3
- package/dist/models/QueryVirtualNumberRequest.d.ts +0 -51
- package/dist/models/QueryVirtualNumberRequest.js.map +0 -1
- package/dist/models/QueryVirtualNumberResponseBody.d.ts +0 -51
- package/dist/models/QueryVirtualNumberResponseBody.js.map +0 -1
- package/src/models/QueryVirtualNumberResponseBody.ts +0 -68
package/src/client.ts
CHANGED
|
@@ -30,7 +30,7 @@ export default class Client extends OpenApi {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Binds multiple real numbers to a service instance at a time.
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
36
|
* ### QPS limits
|
|
@@ -93,7 +93,7 @@ export default class Client extends OpenApi {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* Binds multiple real numbers to a service instance at a time.
|
|
97
97
|
*
|
|
98
98
|
* @remarks
|
|
99
99
|
* ### QPS limits
|
|
@@ -108,7 +108,7 @@ export default class Client extends OpenApi {
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
|
-
* Initiates
|
|
111
|
+
* Initiates outbound robocall tasks in a batch. You can set up to 100 numbers in a task.
|
|
112
112
|
*
|
|
113
113
|
* @remarks
|
|
114
114
|
* 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.
|
|
@@ -200,7 +200,7 @@ export default class Client extends OpenApi {
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
|
-
* Initiates
|
|
203
|
+
* Initiates outbound robocall tasks in a batch. You can set up to 100 numbers in a task.
|
|
204
204
|
*
|
|
205
205
|
* @remarks
|
|
206
206
|
* 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.
|
|
@@ -220,6 +220,8 @@ export default class Client extends OpenApi {
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
|
+
* Cancels the two-way call that is initiated by calling the ClickToDial operation.
|
|
224
|
+
*
|
|
223
225
|
* @param request - CancelCallRequest
|
|
224
226
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
225
227
|
* @returns CancelCallResponse
|
|
@@ -261,6 +263,8 @@ export default class Client extends OpenApi {
|
|
|
261
263
|
}
|
|
262
264
|
|
|
263
265
|
/**
|
|
266
|
+
* Cancels the two-way call that is initiated by calling the ClickToDial operation.
|
|
267
|
+
*
|
|
264
268
|
* @param request - CancelCallRequest
|
|
265
269
|
* @returns CancelCallResponse
|
|
266
270
|
*/
|
|
@@ -462,7 +466,657 @@ export default class Client extends OpenApi {
|
|
|
462
466
|
}
|
|
463
467
|
|
|
464
468
|
/**
|
|
465
|
-
*
|
|
469
|
+
* 新增任务
|
|
470
|
+
*
|
|
471
|
+
* @param request - CloudCreateTaskRequest
|
|
472
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
473
|
+
* @returns CloudCreateTaskResponse
|
|
474
|
+
*/
|
|
475
|
+
async cloudCreateTaskWithOptions(request: $_model.CloudCreateTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CloudCreateTaskResponse> {
|
|
476
|
+
request.validate();
|
|
477
|
+
let query = { };
|
|
478
|
+
if (!$dara.isNull(request.agentGroup)) {
|
|
479
|
+
query["AgentGroup"] = request.agentGroup;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
if (!$dara.isNull(request.agentTimeout)) {
|
|
483
|
+
query["AgentTimeout"] = request.agentTimeout;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
if (!$dara.isNull(request.answerRate)) {
|
|
487
|
+
query["AnswerRate"] = request.answerRate;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
if (!$dara.isNull(request.autoComplete)) {
|
|
491
|
+
query["AutoComplete"] = request.autoComplete;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
if (!$dara.isNull(request.autoDelete)) {
|
|
495
|
+
query["AutoDelete"] = request.autoDelete;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
if (!$dara.isNull(request.autoStart)) {
|
|
499
|
+
query["AutoStart"] = request.autoStart;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
if (!$dara.isNull(request.autoStartDay)) {
|
|
503
|
+
query["AutoStartDay"] = request.autoStartDay;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
if (!$dara.isNull(request.autoStartTime)) {
|
|
507
|
+
query["AutoStartTime"] = request.autoStartTime;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
if (!$dara.isNull(request.autoStop)) {
|
|
511
|
+
query["AutoStop"] = request.autoStop;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
if (!$dara.isNull(request.autoStopDay)) {
|
|
515
|
+
query["AutoStopDay"] = request.autoStopDay;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
if (!$dara.isNull(request.autoStopTime)) {
|
|
519
|
+
query["AutoStopTime"] = request.autoStopTime;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
if (!$dara.isNull(request.autoTaskType)) {
|
|
523
|
+
query["AutoTaskType"] = request.autoTaskType;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
if (!$dara.isNull(request.autoTriggerTimeStrategy)) {
|
|
527
|
+
query["AutoTriggerTimeStrategy"] = request.autoTriggerTimeStrategy;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
if (!$dara.isNull(request.callGroupType)) {
|
|
531
|
+
query["CallGroupType"] = request.callGroupType;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
if (!$dara.isNull(request.callLimitStrategy)) {
|
|
535
|
+
query["CallLimitStrategy"] = request.callLimitStrategy;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
if (!$dara.isNull(request.callPriorityStrategy)) {
|
|
539
|
+
query["CallPriorityStrategy"] = request.callPriorityStrategy;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
if (!$dara.isNull(request.callRouteStrategy)) {
|
|
543
|
+
query["CallRouteStrategy"] = request.callRouteStrategy;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
if (!$dara.isNull(request.callStrategy)) {
|
|
547
|
+
query["CallStrategy"] = request.callStrategy;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
if (!$dara.isNull(request.callVariables)) {
|
|
551
|
+
query["CallVariables"] = request.callVariables;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
if (!$dara.isNull(request.clidProperty)) {
|
|
555
|
+
query["ClidProperty"] = request.clidProperty;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
if (!$dara.isNull(request.cnos)) {
|
|
559
|
+
query["Cnos"] = request.cnos;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
if (!$dara.isNull(request.concurrency)) {
|
|
563
|
+
query["Concurrency"] = request.concurrency;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
if (!$dara.isNull(request.customerClidType)) {
|
|
567
|
+
query["CustomerClidType"] = request.customerClidType;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
if (!$dara.isNull(request.customerClidWeight)) {
|
|
571
|
+
query["CustomerClidWeight"] = request.customerClidWeight;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
if (!$dara.isNull(request.customerClidWeightFlag)) {
|
|
575
|
+
query["CustomerClidWeightFlag"] = request.customerClidWeightFlag;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
if (!$dara.isNull(request.customerClids)) {
|
|
579
|
+
query["CustomerClids"] = request.customerClids;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
if (!$dara.isNull(request.customerClidsCategory)) {
|
|
583
|
+
query["CustomerClidsCategory"] = request.customerClidsCategory;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
if (!$dara.isNull(request.customerClidsGroup)) {
|
|
587
|
+
query["CustomerClidsGroup"] = request.customerClidsGroup;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
if (!$dara.isNull(request.customerMoh)) {
|
|
591
|
+
query["CustomerMoh"] = request.customerMoh;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
if (!$dara.isNull(request.customerTimeout)) {
|
|
595
|
+
query["CustomerTimeout"] = request.customerTimeout;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
if (!$dara.isNull(request.customerVoice)) {
|
|
599
|
+
query["CustomerVoice"] = request.customerVoice;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
if (!$dara.isNull(request.description)) {
|
|
603
|
+
query["Description"] = request.description;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
if (!$dara.isNull(request.enterpriseId)) {
|
|
607
|
+
query["EnterpriseId"] = request.enterpriseId;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
if (!$dara.isNull(request.forceEndFlag)) {
|
|
611
|
+
query["ForceEndFlag"] = request.forceEndFlag;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
if (!$dara.isNull(request.isRewarm)) {
|
|
615
|
+
query["IsRewarm"] = request.isRewarm;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
if (!$dara.isNull(request.ivrId)) {
|
|
619
|
+
query["IvrId"] = request.ivrId;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
if (!$dara.isNull(request.ivrName)) {
|
|
623
|
+
query["IvrName"] = request.ivrName;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
if (!$dara.isNull(request.maxWaitTime)) {
|
|
627
|
+
query["MaxWaitTime"] = request.maxWaitTime;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
if (!$dara.isNull(request.minAvailableAgentCount)) {
|
|
631
|
+
query["MinAvailableAgentCount"] = request.minAvailableAgentCount;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
if (!$dara.isNull(request.name)) {
|
|
635
|
+
query["Name"] = request.name;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
639
|
+
query["OwnerId"] = request.ownerId;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
if (!$dara.isNull(request.predictAdjust)) {
|
|
643
|
+
query["PredictAdjust"] = request.predictAdjust;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
if (!$dara.isNull(request.quotiety)) {
|
|
647
|
+
query["Quotiety"] = request.quotiety;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
651
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
655
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
if (!$dara.isNull(request.retryStrategy)) {
|
|
659
|
+
query["RetryStrategy"] = request.retryStrategy;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
if (!$dara.isNull(request.retryStrategyOnlyToday)) {
|
|
663
|
+
query["RetryStrategyOnlyToday"] = request.retryStrategyOnlyToday;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
if (!$dara.isNull(request.retryStrategyTimeType)) {
|
|
667
|
+
query["RetryStrategyTimeType"] = request.retryStrategyTimeType;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
if (!$dara.isNull(request.templateName)) {
|
|
671
|
+
query["TemplateName"] = request.templateName;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
if (!$dara.isNull(request.timeStrategy)) {
|
|
675
|
+
query["TimeStrategy"] = request.timeStrategy;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
if (!$dara.isNull(request.type)) {
|
|
679
|
+
query["Type"] = request.type;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
if (!$dara.isNull(request.userFields)) {
|
|
683
|
+
query["UserFields"] = request.userFields;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
if (!$dara.isNull(request.warmUpDuration)) {
|
|
687
|
+
query["WarmUpDuration"] = request.warmUpDuration;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
if (!$dara.isNull(request.wrapup)) {
|
|
691
|
+
query["Wrapup"] = request.wrapup;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
695
|
+
query: OpenApiUtil.query(query),
|
|
696
|
+
});
|
|
697
|
+
let params = new $OpenApiUtil.Params({
|
|
698
|
+
action: "CloudCreateTask",
|
|
699
|
+
version: "2017-05-25",
|
|
700
|
+
protocol: "HTTPS",
|
|
701
|
+
pathname: "/",
|
|
702
|
+
method: "POST",
|
|
703
|
+
authType: "AK",
|
|
704
|
+
style: "RPC",
|
|
705
|
+
reqBodyType: "formData",
|
|
706
|
+
bodyType: "json",
|
|
707
|
+
});
|
|
708
|
+
return $dara.cast<$_model.CloudCreateTaskResponse>(await this.callApi(params, req, runtime), new $_model.CloudCreateTaskResponse({}));
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* 新增任务
|
|
713
|
+
*
|
|
714
|
+
* @param request - CloudCreateTaskRequest
|
|
715
|
+
* @returns CloudCreateTaskResponse
|
|
716
|
+
*/
|
|
717
|
+
async cloudCreateTask(request: $_model.CloudCreateTaskRequest): Promise<$_model.CloudCreateTaskResponse> {
|
|
718
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
719
|
+
return await this.cloudCreateTaskWithOptions(request, runtime);
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* 任务号码导入
|
|
724
|
+
*
|
|
725
|
+
* @param tmpReq - CloudImportTaskTelRequest
|
|
726
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
727
|
+
* @returns CloudImportTaskTelResponse
|
|
728
|
+
*/
|
|
729
|
+
async cloudImportTaskTelWithOptions(tmpReq: $_model.CloudImportTaskTelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CloudImportTaskTelResponse> {
|
|
730
|
+
tmpReq.validate();
|
|
731
|
+
let request = new $_model.CloudImportTaskTelShrinkRequest({ });
|
|
732
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
733
|
+
if (!$dara.isNull(tmpReq.taskTelList)) {
|
|
734
|
+
request.taskTelListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.taskTelList, "TaskTelList", "json");
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
let query = { };
|
|
738
|
+
if (!$dara.isNull(request.bridgeVoicePath)) {
|
|
739
|
+
query["BridgeVoicePath"] = request.bridgeVoicePath;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
if (!$dara.isNull(request.bridgeVoiceType)) {
|
|
743
|
+
query["BridgeVoiceType"] = request.bridgeVoiceType;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
if (!$dara.isNull(request.enterpriseId)) {
|
|
747
|
+
query["EnterpriseId"] = request.enterpriseId;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
if (!$dara.isNull(request.fileId)) {
|
|
751
|
+
query["FileId"] = request.fileId;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
if (!$dara.isNull(request.importTelAutoStart)) {
|
|
755
|
+
query["ImportTelAutoStart"] = request.importTelAutoStart;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
if (!$dara.isNull(request.isRepeat)) {
|
|
759
|
+
query["IsRepeat"] = request.isRepeat;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
if (!$dara.isNull(request.name)) {
|
|
763
|
+
query["Name"] = request.name;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
767
|
+
query["OwnerId"] = request.ownerId;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
if (!$dara.isNull(request.priority)) {
|
|
771
|
+
query["Priority"] = request.priority;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
775
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
779
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
if (!$dara.isNull(request.taskId)) {
|
|
783
|
+
query["TaskId"] = request.taskId;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
if (!$dara.isNull(request.taskTelListShrink)) {
|
|
787
|
+
query["TaskTelList"] = request.taskTelListShrink;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
791
|
+
query: OpenApiUtil.query(query),
|
|
792
|
+
});
|
|
793
|
+
let params = new $OpenApiUtil.Params({
|
|
794
|
+
action: "CloudImportTaskTel",
|
|
795
|
+
version: "2017-05-25",
|
|
796
|
+
protocol: "HTTPS",
|
|
797
|
+
pathname: "/",
|
|
798
|
+
method: "POST",
|
|
799
|
+
authType: "AK",
|
|
800
|
+
style: "RPC",
|
|
801
|
+
reqBodyType: "formData",
|
|
802
|
+
bodyType: "json",
|
|
803
|
+
});
|
|
804
|
+
return $dara.cast<$_model.CloudImportTaskTelResponse>(await this.callApi(params, req, runtime), new $_model.CloudImportTaskTelResponse({}));
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
/**
|
|
808
|
+
* 任务号码导入
|
|
809
|
+
*
|
|
810
|
+
* @param request - CloudImportTaskTelRequest
|
|
811
|
+
* @returns CloudImportTaskTelResponse
|
|
812
|
+
*/
|
|
813
|
+
async cloudImportTaskTel(request: $_model.CloudImportTaskTelRequest): Promise<$_model.CloudImportTaskTelResponse> {
|
|
814
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
815
|
+
return await this.cloudImportTaskTelWithOptions(request, runtime);
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* 任务启动
|
|
820
|
+
*
|
|
821
|
+
* @param request - CloudStartTaskRequest
|
|
822
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
823
|
+
* @returns CloudStartTaskResponse
|
|
824
|
+
*/
|
|
825
|
+
async cloudStartTaskWithOptions(request: $_model.CloudStartTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CloudStartTaskResponse> {
|
|
826
|
+
request.validate();
|
|
827
|
+
let query = { };
|
|
828
|
+
if (!$dara.isNull(request.enterpriseId)) {
|
|
829
|
+
query["EnterpriseId"] = request.enterpriseId;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
833
|
+
query["OwnerId"] = request.ownerId;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
837
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
841
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
if (!$dara.isNull(request.taskId)) {
|
|
845
|
+
query["TaskId"] = request.taskId;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
849
|
+
query: OpenApiUtil.query(query),
|
|
850
|
+
});
|
|
851
|
+
let params = new $OpenApiUtil.Params({
|
|
852
|
+
action: "CloudStartTask",
|
|
853
|
+
version: "2017-05-25",
|
|
854
|
+
protocol: "HTTPS",
|
|
855
|
+
pathname: "/",
|
|
856
|
+
method: "POST",
|
|
857
|
+
authType: "AK",
|
|
858
|
+
style: "RPC",
|
|
859
|
+
reqBodyType: "formData",
|
|
860
|
+
bodyType: "json",
|
|
861
|
+
});
|
|
862
|
+
return $dara.cast<$_model.CloudStartTaskResponse>(await this.callApi(params, req, runtime), new $_model.CloudStartTaskResponse({}));
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* 任务启动
|
|
867
|
+
*
|
|
868
|
+
* @param request - CloudStartTaskRequest
|
|
869
|
+
* @returns CloudStartTaskResponse
|
|
870
|
+
*/
|
|
871
|
+
async cloudStartTask(request: $_model.CloudStartTaskRequest): Promise<$_model.CloudStartTaskResponse> {
|
|
872
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
873
|
+
return await this.cloudStartTaskWithOptions(request, runtime);
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* 更新任务
|
|
878
|
+
*
|
|
879
|
+
* @param request - CloudUpdateTaskRequest
|
|
880
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
881
|
+
* @returns CloudUpdateTaskResponse
|
|
882
|
+
*/
|
|
883
|
+
async cloudUpdateTaskWithOptions(request: $_model.CloudUpdateTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CloudUpdateTaskResponse> {
|
|
884
|
+
request.validate();
|
|
885
|
+
let query = { };
|
|
886
|
+
if (!$dara.isNull(request.agentGroup)) {
|
|
887
|
+
query["AgentGroup"] = request.agentGroup;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
if (!$dara.isNull(request.agentTimeout)) {
|
|
891
|
+
query["AgentTimeout"] = request.agentTimeout;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
if (!$dara.isNull(request.answerRate)) {
|
|
895
|
+
query["AnswerRate"] = request.answerRate;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
if (!$dara.isNull(request.autoComplete)) {
|
|
899
|
+
query["AutoComplete"] = request.autoComplete;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
if (!$dara.isNull(request.autoStart)) {
|
|
903
|
+
query["AutoStart"] = request.autoStart;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
if (!$dara.isNull(request.autoStartDay)) {
|
|
907
|
+
query["AutoStartDay"] = request.autoStartDay;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
if (!$dara.isNull(request.autoStartTime)) {
|
|
911
|
+
query["AutoStartTime"] = request.autoStartTime;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
if (!$dara.isNull(request.autoStop)) {
|
|
915
|
+
query["AutoStop"] = request.autoStop;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
if (!$dara.isNull(request.autoStopDay)) {
|
|
919
|
+
query["AutoStopDay"] = request.autoStopDay;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
if (!$dara.isNull(request.autoStopTime)) {
|
|
923
|
+
query["AutoStopTime"] = request.autoStopTime;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
if (!$dara.isNull(request.autoTaskType)) {
|
|
927
|
+
query["AutoTaskType"] = request.autoTaskType;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
if (!$dara.isNull(request.autoTriggerTimeStrategy)) {
|
|
931
|
+
query["AutoTriggerTimeStrategy"] = request.autoTriggerTimeStrategy;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
if (!$dara.isNull(request.callLimitStrategy)) {
|
|
935
|
+
query["CallLimitStrategy"] = request.callLimitStrategy;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
if (!$dara.isNull(request.callPriorityStrategy)) {
|
|
939
|
+
query["CallPriorityStrategy"] = request.callPriorityStrategy;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
if (!$dara.isNull(request.callRouteStrategy)) {
|
|
943
|
+
query["CallRouteStrategy"] = request.callRouteStrategy;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
if (!$dara.isNull(request.callStrategy)) {
|
|
947
|
+
query["CallStrategy"] = request.callStrategy;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
if (!$dara.isNull(request.callVariables)) {
|
|
951
|
+
query["CallVariables"] = request.callVariables;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
if (!$dara.isNull(request.clidProperty)) {
|
|
955
|
+
query["ClidProperty"] = request.clidProperty;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
if (!$dara.isNull(request.cnos)) {
|
|
959
|
+
query["Cnos"] = request.cnos;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
if (!$dara.isNull(request.concurrency)) {
|
|
963
|
+
query["Concurrency"] = request.concurrency;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
if (!$dara.isNull(request.customerClidType)) {
|
|
967
|
+
query["CustomerClidType"] = request.customerClidType;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
if (!$dara.isNull(request.customerClidWeight)) {
|
|
971
|
+
query["CustomerClidWeight"] = request.customerClidWeight;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
if (!$dara.isNull(request.customerClidWeightFlag)) {
|
|
975
|
+
query["CustomerClidWeightFlag"] = request.customerClidWeightFlag;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
if (!$dara.isNull(request.customerClids)) {
|
|
979
|
+
query["CustomerClids"] = request.customerClids;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
if (!$dara.isNull(request.customerClidsCategory)) {
|
|
983
|
+
query["CustomerClidsCategory"] = request.customerClidsCategory;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
if (!$dara.isNull(request.customerClidsGroup)) {
|
|
987
|
+
query["CustomerClidsGroup"] = request.customerClidsGroup;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
if (!$dara.isNull(request.customerMoh)) {
|
|
991
|
+
query["CustomerMoh"] = request.customerMoh;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
if (!$dara.isNull(request.customerTimeout)) {
|
|
995
|
+
query["CustomerTimeout"] = request.customerTimeout;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
if (!$dara.isNull(request.customerVoice)) {
|
|
999
|
+
query["CustomerVoice"] = request.customerVoice;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
if (!$dara.isNull(request.description)) {
|
|
1003
|
+
query["Description"] = request.description;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
if (!$dara.isNull(request.enterpriseId)) {
|
|
1007
|
+
query["EnterpriseId"] = request.enterpriseId;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
if (!$dara.isNull(request.forceEndFlag)) {
|
|
1011
|
+
query["ForceEndFlag"] = request.forceEndFlag;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
if (!$dara.isNull(request.isRewarm)) {
|
|
1015
|
+
query["IsRewarm"] = request.isRewarm;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
if (!$dara.isNull(request.ivrId)) {
|
|
1019
|
+
query["IvrId"] = request.ivrId;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
if (!$dara.isNull(request.ivrName)) {
|
|
1023
|
+
query["IvrName"] = request.ivrName;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
if (!$dara.isNull(request.maxWaitTime)) {
|
|
1027
|
+
query["MaxWaitTime"] = request.maxWaitTime;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
if (!$dara.isNull(request.minAvailableAgentCount)) {
|
|
1031
|
+
query["MinAvailableAgentCount"] = request.minAvailableAgentCount;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
if (!$dara.isNull(request.name)) {
|
|
1035
|
+
query["Name"] = request.name;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
1039
|
+
query["OwnerId"] = request.ownerId;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
if (!$dara.isNull(request.predictAdjust)) {
|
|
1043
|
+
query["PredictAdjust"] = request.predictAdjust;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
if (!$dara.isNull(request.quotiety)) {
|
|
1047
|
+
query["Quotiety"] = request.quotiety;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
1051
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
1055
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
if (!$dara.isNull(request.retryStrategy)) {
|
|
1059
|
+
query["RetryStrategy"] = request.retryStrategy;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
if (!$dara.isNull(request.retryStrategyOnlyToday)) {
|
|
1063
|
+
query["RetryStrategyOnlyToday"] = request.retryStrategyOnlyToday;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
if (!$dara.isNull(request.retryStrategyTimeType)) {
|
|
1067
|
+
query["RetryStrategyTimeType"] = request.retryStrategyTimeType;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
if (!$dara.isNull(request.taskId)) {
|
|
1071
|
+
query["TaskId"] = request.taskId;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
if (!$dara.isNull(request.timeStrategy)) {
|
|
1075
|
+
query["TimeStrategy"] = request.timeStrategy;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
if (!$dara.isNull(request.userFields)) {
|
|
1079
|
+
query["UserFields"] = request.userFields;
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
if (!$dara.isNull(request.warmUpDuration)) {
|
|
1083
|
+
query["WarmUpDuration"] = request.warmUpDuration;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
if (!$dara.isNull(request.wrapup)) {
|
|
1087
|
+
query["Wrapup"] = request.wrapup;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1091
|
+
query: OpenApiUtil.query(query),
|
|
1092
|
+
});
|
|
1093
|
+
let params = new $OpenApiUtil.Params({
|
|
1094
|
+
action: "CloudUpdateTask",
|
|
1095
|
+
version: "2017-05-25",
|
|
1096
|
+
protocol: "HTTPS",
|
|
1097
|
+
pathname: "/",
|
|
1098
|
+
method: "POST",
|
|
1099
|
+
authType: "AK",
|
|
1100
|
+
style: "RPC",
|
|
1101
|
+
reqBodyType: "formData",
|
|
1102
|
+
bodyType: "json",
|
|
1103
|
+
});
|
|
1104
|
+
return $dara.cast<$_model.CloudUpdateTaskResponse>(await this.callApi(params, req, runtime), new $_model.CloudUpdateTaskResponse({}));
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* 更新任务
|
|
1109
|
+
*
|
|
1110
|
+
* @param request - CloudUpdateTaskRequest
|
|
1111
|
+
* @returns CloudUpdateTaskResponse
|
|
1112
|
+
*/
|
|
1113
|
+
async cloudUpdateTask(request: $_model.CloudUpdateTaskRequest): Promise<$_model.CloudUpdateTaskResponse> {
|
|
1114
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1115
|
+
return await this.cloudUpdateTaskWithOptions(request, runtime);
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* Uses a service instance to create a text-to-speech (TTS) task, a voice notification task, or a voice verification code task for multiple called numbers.
|
|
466
1120
|
*
|
|
467
1121
|
* @remarks
|
|
468
1122
|
* You can create up to 1,000 voice notifications for each task.
|
|
@@ -550,7 +1204,7 @@ export default class Client extends OpenApi {
|
|
|
550
1204
|
}
|
|
551
1205
|
|
|
552
1206
|
/**
|
|
553
|
-
*
|
|
1207
|
+
* Uses a service instance to create a text-to-speech (TTS) task, a voice notification task, or a voice verification code task for multiple called numbers.
|
|
554
1208
|
*
|
|
555
1209
|
* @remarks
|
|
556
1210
|
* You can create up to 1,000 voice notifications for each task.
|
|
@@ -666,7 +1320,7 @@ export default class Client extends OpenApi {
|
|
|
666
1320
|
}
|
|
667
1321
|
|
|
668
1322
|
/**
|
|
669
|
-
*
|
|
1323
|
+
* Downgrades from a video call to a voice call.
|
|
670
1324
|
*
|
|
671
1325
|
* @param request - DegradeVideoFileRequest
|
|
672
1326
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -721,7 +1375,7 @@ export default class Client extends OpenApi {
|
|
|
721
1375
|
}
|
|
722
1376
|
|
|
723
1377
|
/**
|
|
724
|
-
*
|
|
1378
|
+
* Downgrades from a video call to a voice call.
|
|
725
1379
|
*
|
|
726
1380
|
* @param request - DegradeVideoFileRequest
|
|
727
1381
|
* @returns DegradeVideoFileResponse
|
|
@@ -866,7 +1520,7 @@ export default class Client extends OpenApi {
|
|
|
866
1520
|
}
|
|
867
1521
|
|
|
868
1522
|
/**
|
|
869
|
-
*
|
|
1523
|
+
* Obtains the call type during a call.
|
|
870
1524
|
*
|
|
871
1525
|
* @param request - GetCallMediaTypeRequest
|
|
872
1526
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -913,7 +1567,7 @@ export default class Client extends OpenApi {
|
|
|
913
1567
|
}
|
|
914
1568
|
|
|
915
1569
|
/**
|
|
916
|
-
*
|
|
1570
|
+
* Obtains the call type during a call.
|
|
917
1571
|
*
|
|
918
1572
|
* @param request - GetCallMediaTypeRequest
|
|
919
1573
|
* @returns GetCallMediaTypeResponse
|
|
@@ -1044,7 +1698,7 @@ export default class Client extends OpenApi {
|
|
|
1044
1698
|
}
|
|
1045
1699
|
|
|
1046
1700
|
/**
|
|
1047
|
-
*
|
|
1701
|
+
* Obtains a temporary URL of a video or audio file. You can view the video or audio file immediately by using this temporary URL.
|
|
1048
1702
|
*
|
|
1049
1703
|
* @param request - GetTemporaryFileUrlRequest
|
|
1050
1704
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1087,7 +1741,7 @@ export default class Client extends OpenApi {
|
|
|
1087
1741
|
}
|
|
1088
1742
|
|
|
1089
1743
|
/**
|
|
1090
|
-
*
|
|
1744
|
+
* Obtains a temporary URL of a video or audio file. You can view the video or audio file immediately by using this temporary URL.
|
|
1091
1745
|
*
|
|
1092
1746
|
* @param request - GetTemporaryFileUrlRequest
|
|
1093
1747
|
* @returns GetTemporaryFileUrlResponse
|
|
@@ -1318,7 +1972,7 @@ export default class Client extends OpenApi {
|
|
|
1318
1972
|
}
|
|
1319
1973
|
|
|
1320
1974
|
/**
|
|
1321
|
-
* Queries task
|
|
1975
|
+
* Queries the information about a voice call task after the task is created, including the task ID, task status, and templates used by the task.
|
|
1322
1976
|
*
|
|
1323
1977
|
* @remarks
|
|
1324
1978
|
* ### QPS limits
|
|
@@ -1389,7 +2043,7 @@ export default class Client extends OpenApi {
|
|
|
1389
2043
|
}
|
|
1390
2044
|
|
|
1391
2045
|
/**
|
|
1392
|
-
* Queries task
|
|
2046
|
+
* Queries the information about a voice call task after the task is created, including the task ID, task status, and templates used by the task.
|
|
1393
2047
|
*
|
|
1394
2048
|
* @remarks
|
|
1395
2049
|
* ### QPS limits
|
|
@@ -1404,7 +2058,7 @@ export default class Client extends OpenApi {
|
|
|
1404
2058
|
}
|
|
1405
2059
|
|
|
1406
2060
|
/**
|
|
1407
|
-
* Queries the
|
|
2061
|
+
* Queries the details of call tasks based on task IDs after call tasks are complete.
|
|
1408
2062
|
*
|
|
1409
2063
|
* @remarks
|
|
1410
2064
|
* ### QPS limits
|
|
@@ -1467,7 +2121,7 @@ export default class Client extends OpenApi {
|
|
|
1467
2121
|
}
|
|
1468
2122
|
|
|
1469
2123
|
/**
|
|
1470
|
-
* Queries the
|
|
2124
|
+
* Queries the details of call tasks based on task IDs after call tasks are complete.
|
|
1471
2125
|
*
|
|
1472
2126
|
* @remarks
|
|
1473
2127
|
* ### QPS limits
|
|
@@ -1632,7 +2286,7 @@ export default class Client extends OpenApi {
|
|
|
1632
2286
|
}
|
|
1633
2287
|
|
|
1634
2288
|
/**
|
|
1635
|
-
*
|
|
2289
|
+
* Pauses video playback when a video file is played back during a voice call.
|
|
1636
2290
|
*
|
|
1637
2291
|
* @param request - PauseVideoFileRequest
|
|
1638
2292
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1679,7 +2333,7 @@ export default class Client extends OpenApi {
|
|
|
1679
2333
|
}
|
|
1680
2334
|
|
|
1681
2335
|
/**
|
|
1682
|
-
*
|
|
2336
|
+
* Pauses video playback when a video file is played back during a voice call.
|
|
1683
2337
|
*
|
|
1684
2338
|
* @param request - PauseVideoFileRequest
|
|
1685
2339
|
* @returns PauseVideoFileResponse
|
|
@@ -1690,7 +2344,7 @@ export default class Client extends OpenApi {
|
|
|
1690
2344
|
}
|
|
1691
2345
|
|
|
1692
2346
|
/**
|
|
1693
|
-
*
|
|
2347
|
+
* Plays back a video file during a voice call.
|
|
1694
2348
|
*
|
|
1695
2349
|
* @param request - PlayVideoFileRequest
|
|
1696
2350
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1749,7 +2403,7 @@ export default class Client extends OpenApi {
|
|
|
1749
2403
|
}
|
|
1750
2404
|
|
|
1751
2405
|
/**
|
|
1752
|
-
*
|
|
2406
|
+
* Plays back a video file during a voice call.
|
|
1753
2407
|
*
|
|
1754
2408
|
* @param request - PlayVideoFileRequest
|
|
1755
2409
|
* @returns PlayVideoFileResponse
|
|
@@ -2034,7 +2688,7 @@ export default class Client extends OpenApi {
|
|
|
2034
2688
|
}
|
|
2035
2689
|
|
|
2036
2690
|
/**
|
|
2037
|
-
* Queries a list of robots.
|
|
2691
|
+
* Queries a list of robots to obtain their details.
|
|
2038
2692
|
*
|
|
2039
2693
|
* @param request - QueryRobotInfoListRequest
|
|
2040
2694
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2077,7 +2731,7 @@ export default class Client extends OpenApi {
|
|
|
2077
2731
|
}
|
|
2078
2732
|
|
|
2079
2733
|
/**
|
|
2080
|
-
* Queries a list of robots.
|
|
2734
|
+
* Queries a list of robots to obtain their details.
|
|
2081
2735
|
*
|
|
2082
2736
|
* @param request - QueryRobotInfoListRequest
|
|
2083
2737
|
* @returns QueryRobotInfoListResponse
|
|
@@ -2088,7 +2742,7 @@ export default class Client extends OpenApi {
|
|
|
2088
2742
|
}
|
|
2089
2743
|
|
|
2090
2744
|
/**
|
|
2091
|
-
* Queries the call details of a called number
|
|
2745
|
+
* Queries the call details of a called number.
|
|
2092
2746
|
*
|
|
2093
2747
|
* @remarks
|
|
2094
2748
|
* ### QPS limits
|
|
@@ -2143,7 +2797,7 @@ export default class Client extends OpenApi {
|
|
|
2143
2797
|
}
|
|
2144
2798
|
|
|
2145
2799
|
/**
|
|
2146
|
-
* Queries the call details of a called number
|
|
2800
|
+
* Queries the call details of a called number.
|
|
2147
2801
|
*
|
|
2148
2802
|
* @remarks
|
|
2149
2803
|
* ### QPS limits
|
|
@@ -2454,7 +3108,7 @@ export default class Client extends OpenApi {
|
|
|
2454
3108
|
}
|
|
2455
3109
|
|
|
2456
3110
|
/**
|
|
2457
|
-
*
|
|
3111
|
+
* Queries the video playback progress after you play a video file during a voice call.
|
|
2458
3112
|
*
|
|
2459
3113
|
* @param request - QueryVideoPlayProgressRequest
|
|
2460
3114
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2501,7 +3155,7 @@ export default class Client extends OpenApi {
|
|
|
2501
3155
|
}
|
|
2502
3156
|
|
|
2503
3157
|
/**
|
|
2504
|
-
*
|
|
3158
|
+
* Queries the video playback progress after you play a video file during a voice call.
|
|
2505
3159
|
*
|
|
2506
3160
|
* @param request - QueryVideoPlayProgressRequest
|
|
2507
3161
|
* @returns QueryVideoPlayProgressResponse
|
|
@@ -2512,81 +3166,7 @@ export default class Client extends OpenApi {
|
|
|
2512
3166
|
}
|
|
2513
3167
|
|
|
2514
3168
|
/**
|
|
2515
|
-
*
|
|
2516
|
-
*
|
|
2517
|
-
* @remarks
|
|
2518
|
-
* ### QPS limits
|
|
2519
|
-
* You can call this operation up to 100 times per second per account.
|
|
2520
|
-
*
|
|
2521
|
-
* @param request - QueryVirtualNumberRequest
|
|
2522
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
2523
|
-
* @returns QueryVirtualNumberResponse
|
|
2524
|
-
*/
|
|
2525
|
-
async queryVirtualNumberWithOptions(request: $_model.QueryVirtualNumberRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryVirtualNumberResponse> {
|
|
2526
|
-
request.validate();
|
|
2527
|
-
let query = { };
|
|
2528
|
-
if (!$dara.isNull(request.ownerId)) {
|
|
2529
|
-
query["OwnerId"] = request.ownerId;
|
|
2530
|
-
}
|
|
2531
|
-
|
|
2532
|
-
if (!$dara.isNull(request.pageNo)) {
|
|
2533
|
-
query["PageNo"] = request.pageNo;
|
|
2534
|
-
}
|
|
2535
|
-
|
|
2536
|
-
if (!$dara.isNull(request.pageSize)) {
|
|
2537
|
-
query["PageSize"] = request.pageSize;
|
|
2538
|
-
}
|
|
2539
|
-
|
|
2540
|
-
if (!$dara.isNull(request.prodCode)) {
|
|
2541
|
-
query["ProdCode"] = request.prodCode;
|
|
2542
|
-
}
|
|
2543
|
-
|
|
2544
|
-
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2545
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2546
|
-
}
|
|
2547
|
-
|
|
2548
|
-
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2549
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2550
|
-
}
|
|
2551
|
-
|
|
2552
|
-
if (!$dara.isNull(request.routeType)) {
|
|
2553
|
-
query["RouteType"] = request.routeType;
|
|
2554
|
-
}
|
|
2555
|
-
|
|
2556
|
-
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2557
|
-
query: OpenApiUtil.query(query),
|
|
2558
|
-
});
|
|
2559
|
-
let params = new $OpenApiUtil.Params({
|
|
2560
|
-
action: "QueryVirtualNumber",
|
|
2561
|
-
version: "2017-05-25",
|
|
2562
|
-
protocol: "HTTPS",
|
|
2563
|
-
pathname: "/",
|
|
2564
|
-
method: "POST",
|
|
2565
|
-
authType: "AK",
|
|
2566
|
-
style: "RPC",
|
|
2567
|
-
reqBodyType: "formData",
|
|
2568
|
-
bodyType: "json",
|
|
2569
|
-
});
|
|
2570
|
-
return $dara.cast<$_model.QueryVirtualNumberResponse>(await this.callApi(params, req, runtime), new $_model.QueryVirtualNumberResponse({}));
|
|
2571
|
-
}
|
|
2572
|
-
|
|
2573
|
-
/**
|
|
2574
|
-
* Queries a list of virtual numbers.
|
|
2575
|
-
*
|
|
2576
|
-
* @remarks
|
|
2577
|
-
* ### QPS limits
|
|
2578
|
-
* You can call this operation up to 100 times per second per account.
|
|
2579
|
-
*
|
|
2580
|
-
* @param request - QueryVirtualNumberRequest
|
|
2581
|
-
* @returns QueryVirtualNumberResponse
|
|
2582
|
-
*/
|
|
2583
|
-
async queryVirtualNumber(request: $_model.QueryVirtualNumberRequest): Promise<$_model.QueryVirtualNumberResponse> {
|
|
2584
|
-
let runtime = new $dara.RuntimeOptions({ });
|
|
2585
|
-
return await this.queryVirtualNumberWithOptions(request, runtime);
|
|
2586
|
-
}
|
|
2587
|
-
|
|
2588
|
-
/**
|
|
2589
|
-
* Queries a list of associations between virtual numbers and real numbers.
|
|
3169
|
+
* Lists real numbers bound to service instances. The returned data includes the binding time, the number activation time, and the number of real numbers bound to a service instance.
|
|
2590
3170
|
*
|
|
2591
3171
|
* @remarks
|
|
2592
3172
|
* ### QPS limits
|
|
@@ -2665,7 +3245,7 @@ export default class Client extends OpenApi {
|
|
|
2665
3245
|
}
|
|
2666
3246
|
|
|
2667
3247
|
/**
|
|
2668
|
-
*
|
|
3248
|
+
* Lists real numbers bound to service instances. The returned data includes the binding time, the number activation time, and the number of real numbers bound to a service instance.
|
|
2669
3249
|
*
|
|
2670
3250
|
* @remarks
|
|
2671
3251
|
* ### QPS limits
|
|
@@ -2932,7 +3512,7 @@ export default class Client extends OpenApi {
|
|
|
2932
3512
|
}
|
|
2933
3513
|
|
|
2934
3514
|
/**
|
|
2935
|
-
*
|
|
3515
|
+
* Resumes video playback after you pause video playback during a voice call.
|
|
2936
3516
|
*
|
|
2937
3517
|
* @param request - ResumeVideoFileRequest
|
|
2938
3518
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2979,7 +3559,7 @@ export default class Client extends OpenApi {
|
|
|
2979
3559
|
}
|
|
2980
3560
|
|
|
2981
3561
|
/**
|
|
2982
|
-
*
|
|
3562
|
+
* Resumes video playback after you pause video playback during a voice call.
|
|
2983
3563
|
*
|
|
2984
3564
|
* @param request - ResumeVideoFileRequest
|
|
2985
3565
|
* @returns ResumeVideoFileResponse
|
|
@@ -3290,7 +3870,7 @@ export default class Client extends OpenApi {
|
|
|
3290
3870
|
}
|
|
3291
3871
|
|
|
3292
3872
|
/**
|
|
3293
|
-
*
|
|
3873
|
+
* Sends voice file notifications or video file notifications to a single called number.
|
|
3294
3874
|
*
|
|
3295
3875
|
* @param request - SingleCallByVideoRequest
|
|
3296
3876
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3361,7 +3941,7 @@ export default class Client extends OpenApi {
|
|
|
3361
3941
|
}
|
|
3362
3942
|
|
|
3363
3943
|
/**
|
|
3364
|
-
*
|
|
3944
|
+
* Sends voice file notifications or video file notifications to a single called number.
|
|
3365
3945
|
*
|
|
3366
3946
|
* @param request - SingleCallByVideoRequest
|
|
3367
3947
|
* @returns SingleCallByVideoResponse
|
|
@@ -3462,7 +4042,7 @@ export default class Client extends OpenApi {
|
|
|
3462
4042
|
}
|
|
3463
4043
|
|
|
3464
4044
|
/**
|
|
3465
|
-
*
|
|
4045
|
+
* Fast forwards or rewinds a video when you play the video.
|
|
3466
4046
|
*
|
|
3467
4047
|
* @param request - SkipVideoFileRequest
|
|
3468
4048
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3517,7 +4097,7 @@ export default class Client extends OpenApi {
|
|
|
3517
4097
|
}
|
|
3518
4098
|
|
|
3519
4099
|
/**
|
|
3520
|
-
*
|
|
4100
|
+
* Fast forwards or rewinds a video when you play the video.
|
|
3521
4101
|
*
|
|
3522
4102
|
* @param request - SkipVideoFileRequest
|
|
3523
4103
|
* @returns SkipVideoFileResponse
|
|
@@ -3956,7 +4536,7 @@ export default class Client extends OpenApi {
|
|
|
3956
4536
|
}
|
|
3957
4537
|
|
|
3958
4538
|
/**
|
|
3959
|
-
* Submits a
|
|
4539
|
+
* Submits a 400 number for registration.
|
|
3960
4540
|
*
|
|
3961
4541
|
* @remarks
|
|
3962
4542
|
* ### QPS limits
|
|
@@ -4039,7 +4619,7 @@ export default class Client extends OpenApi {
|
|
|
4039
4619
|
}
|
|
4040
4620
|
|
|
4041
4621
|
/**
|
|
4042
|
-
* Submits a
|
|
4622
|
+
* Submits a 400 number for registration.
|
|
4043
4623
|
*
|
|
4044
4624
|
* @remarks
|
|
4045
4625
|
* ### QPS limits
|
|
@@ -4054,7 +4634,7 @@ export default class Client extends OpenApi {
|
|
|
4054
4634
|
}
|
|
4055
4635
|
|
|
4056
4636
|
/**
|
|
4057
|
-
*
|
|
4637
|
+
* Upgrades from a voice call to a video call.
|
|
4058
4638
|
*
|
|
4059
4639
|
* @param request - UpgradeVideoFileRequest
|
|
4060
4640
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4109,7 +4689,7 @@ export default class Client extends OpenApi {
|
|
|
4109
4689
|
}
|
|
4110
4690
|
|
|
4111
4691
|
/**
|
|
4112
|
-
*
|
|
4692
|
+
* Upgrades from a voice call to a video call.
|
|
4113
4693
|
*
|
|
4114
4694
|
* @param request - UpgradeVideoFileRequest
|
|
4115
4695
|
* @returns UpgradeVideoFileResponse
|