@alicloud/dyvmsapi20170525 3.1.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 +117 -61
- package/dist/client.js +625 -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/ListServiceInstanceForPageRequest.d.ts +77 -0
- package/dist/models/ListServiceInstanceForPageRequest.js +96 -0
- package/dist/models/ListServiceInstanceForPageRequest.js.map +1 -0
- package/dist/models/ListServiceInstanceForPageResponse.d.ts +19 -0
- package/dist/models/ListServiceInstanceForPageResponse.js +69 -0
- package/dist/models/ListServiceInstanceForPageResponse.js.map +1 -0
- package/dist/models/ListServiceInstanceForPageResponseBody.d.ts +200 -0
- package/dist/models/ListServiceInstanceForPageResponseBody.js +142 -0
- package/dist/models/ListServiceInstanceForPageResponseBody.js.map +1 -0
- package/dist/models/{QueryVirtualNumberRequest.d.ts → ListServiceInstanceForPageShrinkRequest.d.ts} +17 -19
- package/dist/models/ListServiceInstanceForPageShrinkRequest.js +72 -0
- package/dist/models/ListServiceInstanceForPageShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +25 -3
- package/dist/models/model.js +55 -10
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +768 -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/CloudStartTaskRequest.ts +57 -0
- 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/ListServiceInstanceForPageRequest.ts +119 -0
- package/src/models/ListServiceInstanceForPageResponse.ts +40 -0
- package/src/models/ListServiceInstanceForPageResponseBody.ts +279 -0
- package/src/models/{QueryVirtualNumberRequest.ts → ListServiceInstanceForPageShrinkRequest.ts} +27 -27
- package/src/models/model.ts +25 -3
- 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
|
|
@@ -1556,7 +2210,83 @@ export default class Client extends OpenApi {
|
|
|
1556
2210
|
}
|
|
1557
2211
|
|
|
1558
2212
|
/**
|
|
1559
|
-
*
|
|
2213
|
+
* 分页查询服务实例列表
|
|
2214
|
+
*
|
|
2215
|
+
* @param tmpReq - ListServiceInstanceForPageRequest
|
|
2216
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2217
|
+
* @returns ListServiceInstanceForPageResponse
|
|
2218
|
+
*/
|
|
2219
|
+
async listServiceInstanceForPageWithOptions(tmpReq: $_model.ListServiceInstanceForPageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListServiceInstanceForPageResponse> {
|
|
2220
|
+
tmpReq.validate();
|
|
2221
|
+
let request = new $_model.ListServiceInstanceForPageShrinkRequest({ });
|
|
2222
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
2223
|
+
if (!$dara.isNull(tmpReq.pager)) {
|
|
2224
|
+
request.pagerShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.pager, "Pager", "json");
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
let query = { };
|
|
2228
|
+
if (!$dara.isNull(request.code)) {
|
|
2229
|
+
query["Code"] = request.code;
|
|
2230
|
+
}
|
|
2231
|
+
|
|
2232
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
2233
|
+
query["OwnerId"] = request.ownerId;
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2236
|
+
if (!$dara.isNull(request.pagerShrink)) {
|
|
2237
|
+
query["Pager"] = request.pagerShrink;
|
|
2238
|
+
}
|
|
2239
|
+
|
|
2240
|
+
if (!$dara.isNull(request.relationNumber)) {
|
|
2241
|
+
query["RelationNumber"] = request.relationNumber;
|
|
2242
|
+
}
|
|
2243
|
+
|
|
2244
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2245
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2249
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2252
|
+
if (!$dara.isNull(request.sceneId)) {
|
|
2253
|
+
query["SceneId"] = request.sceneId;
|
|
2254
|
+
}
|
|
2255
|
+
|
|
2256
|
+
if (!$dara.isNull(request.usageId)) {
|
|
2257
|
+
query["UsageId"] = request.usageId;
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2260
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2261
|
+
query: OpenApiUtil.query(query),
|
|
2262
|
+
});
|
|
2263
|
+
let params = new $OpenApiUtil.Params({
|
|
2264
|
+
action: "ListServiceInstanceForPage",
|
|
2265
|
+
version: "2017-05-25",
|
|
2266
|
+
protocol: "HTTPS",
|
|
2267
|
+
pathname: "/",
|
|
2268
|
+
method: "POST",
|
|
2269
|
+
authType: "AK",
|
|
2270
|
+
style: "RPC",
|
|
2271
|
+
reqBodyType: "formData",
|
|
2272
|
+
bodyType: "json",
|
|
2273
|
+
});
|
|
2274
|
+
return $dara.cast<$_model.ListServiceInstanceForPageResponse>(await this.callApi(params, req, runtime), new $_model.ListServiceInstanceForPageResponse({}));
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
/**
|
|
2278
|
+
* 分页查询服务实例列表
|
|
2279
|
+
*
|
|
2280
|
+
* @param request - ListServiceInstanceForPageRequest
|
|
2281
|
+
* @returns ListServiceInstanceForPageResponse
|
|
2282
|
+
*/
|
|
2283
|
+
async listServiceInstanceForPage(request: $_model.ListServiceInstanceForPageRequest): Promise<$_model.ListServiceInstanceForPageResponse> {
|
|
2284
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2285
|
+
return await this.listServiceInstanceForPageWithOptions(request, runtime);
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
/**
|
|
2289
|
+
* Pauses video playback when a video file is played back during a voice call.
|
|
1560
2290
|
*
|
|
1561
2291
|
* @param request - PauseVideoFileRequest
|
|
1562
2292
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1603,7 +2333,7 @@ export default class Client extends OpenApi {
|
|
|
1603
2333
|
}
|
|
1604
2334
|
|
|
1605
2335
|
/**
|
|
1606
|
-
*
|
|
2336
|
+
* Pauses video playback when a video file is played back during a voice call.
|
|
1607
2337
|
*
|
|
1608
2338
|
* @param request - PauseVideoFileRequest
|
|
1609
2339
|
* @returns PauseVideoFileResponse
|
|
@@ -1614,7 +2344,7 @@ export default class Client extends OpenApi {
|
|
|
1614
2344
|
}
|
|
1615
2345
|
|
|
1616
2346
|
/**
|
|
1617
|
-
*
|
|
2347
|
+
* Plays back a video file during a voice call.
|
|
1618
2348
|
*
|
|
1619
2349
|
* @param request - PlayVideoFileRequest
|
|
1620
2350
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1673,7 +2403,7 @@ export default class Client extends OpenApi {
|
|
|
1673
2403
|
}
|
|
1674
2404
|
|
|
1675
2405
|
/**
|
|
1676
|
-
*
|
|
2406
|
+
* Plays back a video file during a voice call.
|
|
1677
2407
|
*
|
|
1678
2408
|
* @param request - PlayVideoFileRequest
|
|
1679
2409
|
* @returns PlayVideoFileResponse
|
|
@@ -1958,7 +2688,7 @@ export default class Client extends OpenApi {
|
|
|
1958
2688
|
}
|
|
1959
2689
|
|
|
1960
2690
|
/**
|
|
1961
|
-
* Queries a list of robots.
|
|
2691
|
+
* Queries a list of robots to obtain their details.
|
|
1962
2692
|
*
|
|
1963
2693
|
* @param request - QueryRobotInfoListRequest
|
|
1964
2694
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2001,7 +2731,7 @@ export default class Client extends OpenApi {
|
|
|
2001
2731
|
}
|
|
2002
2732
|
|
|
2003
2733
|
/**
|
|
2004
|
-
* Queries a list of robots.
|
|
2734
|
+
* Queries a list of robots to obtain their details.
|
|
2005
2735
|
*
|
|
2006
2736
|
* @param request - QueryRobotInfoListRequest
|
|
2007
2737
|
* @returns QueryRobotInfoListResponse
|
|
@@ -2012,7 +2742,7 @@ export default class Client extends OpenApi {
|
|
|
2012
2742
|
}
|
|
2013
2743
|
|
|
2014
2744
|
/**
|
|
2015
|
-
* Queries the call details of a called number
|
|
2745
|
+
* Queries the call details of a called number.
|
|
2016
2746
|
*
|
|
2017
2747
|
* @remarks
|
|
2018
2748
|
* ### QPS limits
|
|
@@ -2067,7 +2797,7 @@ export default class Client extends OpenApi {
|
|
|
2067
2797
|
}
|
|
2068
2798
|
|
|
2069
2799
|
/**
|
|
2070
|
-
* Queries the call details of a called number
|
|
2800
|
+
* Queries the call details of a called number.
|
|
2071
2801
|
*
|
|
2072
2802
|
* @remarks
|
|
2073
2803
|
* ### QPS limits
|
|
@@ -2378,7 +3108,7 @@ export default class Client extends OpenApi {
|
|
|
2378
3108
|
}
|
|
2379
3109
|
|
|
2380
3110
|
/**
|
|
2381
|
-
*
|
|
3111
|
+
* Queries the video playback progress after you play a video file during a voice call.
|
|
2382
3112
|
*
|
|
2383
3113
|
* @param request - QueryVideoPlayProgressRequest
|
|
2384
3114
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2425,7 +3155,7 @@ export default class Client extends OpenApi {
|
|
|
2425
3155
|
}
|
|
2426
3156
|
|
|
2427
3157
|
/**
|
|
2428
|
-
*
|
|
3158
|
+
* Queries the video playback progress after you play a video file during a voice call.
|
|
2429
3159
|
*
|
|
2430
3160
|
* @param request - QueryVideoPlayProgressRequest
|
|
2431
3161
|
* @returns QueryVideoPlayProgressResponse
|
|
@@ -2436,81 +3166,7 @@ export default class Client extends OpenApi {
|
|
|
2436
3166
|
}
|
|
2437
3167
|
|
|
2438
3168
|
/**
|
|
2439
|
-
*
|
|
2440
|
-
*
|
|
2441
|
-
* @remarks
|
|
2442
|
-
* ### QPS limits
|
|
2443
|
-
* You can call this operation up to 100 times per second per account.
|
|
2444
|
-
*
|
|
2445
|
-
* @param request - QueryVirtualNumberRequest
|
|
2446
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
2447
|
-
* @returns QueryVirtualNumberResponse
|
|
2448
|
-
*/
|
|
2449
|
-
async queryVirtualNumberWithOptions(request: $_model.QueryVirtualNumberRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryVirtualNumberResponse> {
|
|
2450
|
-
request.validate();
|
|
2451
|
-
let query = { };
|
|
2452
|
-
if (!$dara.isNull(request.ownerId)) {
|
|
2453
|
-
query["OwnerId"] = request.ownerId;
|
|
2454
|
-
}
|
|
2455
|
-
|
|
2456
|
-
if (!$dara.isNull(request.pageNo)) {
|
|
2457
|
-
query["PageNo"] = request.pageNo;
|
|
2458
|
-
}
|
|
2459
|
-
|
|
2460
|
-
if (!$dara.isNull(request.pageSize)) {
|
|
2461
|
-
query["PageSize"] = request.pageSize;
|
|
2462
|
-
}
|
|
2463
|
-
|
|
2464
|
-
if (!$dara.isNull(request.prodCode)) {
|
|
2465
|
-
query["ProdCode"] = request.prodCode;
|
|
2466
|
-
}
|
|
2467
|
-
|
|
2468
|
-
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2469
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2470
|
-
}
|
|
2471
|
-
|
|
2472
|
-
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2473
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2474
|
-
}
|
|
2475
|
-
|
|
2476
|
-
if (!$dara.isNull(request.routeType)) {
|
|
2477
|
-
query["RouteType"] = request.routeType;
|
|
2478
|
-
}
|
|
2479
|
-
|
|
2480
|
-
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2481
|
-
query: OpenApiUtil.query(query),
|
|
2482
|
-
});
|
|
2483
|
-
let params = new $OpenApiUtil.Params({
|
|
2484
|
-
action: "QueryVirtualNumber",
|
|
2485
|
-
version: "2017-05-25",
|
|
2486
|
-
protocol: "HTTPS",
|
|
2487
|
-
pathname: "/",
|
|
2488
|
-
method: "POST",
|
|
2489
|
-
authType: "AK",
|
|
2490
|
-
style: "RPC",
|
|
2491
|
-
reqBodyType: "formData",
|
|
2492
|
-
bodyType: "json",
|
|
2493
|
-
});
|
|
2494
|
-
return $dara.cast<$_model.QueryVirtualNumberResponse>(await this.callApi(params, req, runtime), new $_model.QueryVirtualNumberResponse({}));
|
|
2495
|
-
}
|
|
2496
|
-
|
|
2497
|
-
/**
|
|
2498
|
-
* Queries a list of virtual numbers.
|
|
2499
|
-
*
|
|
2500
|
-
* @remarks
|
|
2501
|
-
* ### QPS limits
|
|
2502
|
-
* You can call this operation up to 100 times per second per account.
|
|
2503
|
-
*
|
|
2504
|
-
* @param request - QueryVirtualNumberRequest
|
|
2505
|
-
* @returns QueryVirtualNumberResponse
|
|
2506
|
-
*/
|
|
2507
|
-
async queryVirtualNumber(request: $_model.QueryVirtualNumberRequest): Promise<$_model.QueryVirtualNumberResponse> {
|
|
2508
|
-
let runtime = new $dara.RuntimeOptions({ });
|
|
2509
|
-
return await this.queryVirtualNumberWithOptions(request, runtime);
|
|
2510
|
-
}
|
|
2511
|
-
|
|
2512
|
-
/**
|
|
2513
|
-
* 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.
|
|
2514
3170
|
*
|
|
2515
3171
|
* @remarks
|
|
2516
3172
|
* ### QPS limits
|
|
@@ -2589,7 +3245,7 @@ export default class Client extends OpenApi {
|
|
|
2589
3245
|
}
|
|
2590
3246
|
|
|
2591
3247
|
/**
|
|
2592
|
-
*
|
|
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.
|
|
2593
3249
|
*
|
|
2594
3250
|
* @remarks
|
|
2595
3251
|
* ### QPS limits
|
|
@@ -2856,7 +3512,7 @@ export default class Client extends OpenApi {
|
|
|
2856
3512
|
}
|
|
2857
3513
|
|
|
2858
3514
|
/**
|
|
2859
|
-
*
|
|
3515
|
+
* Resumes video playback after you pause video playback during a voice call.
|
|
2860
3516
|
*
|
|
2861
3517
|
* @param request - ResumeVideoFileRequest
|
|
2862
3518
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2903,7 +3559,7 @@ export default class Client extends OpenApi {
|
|
|
2903
3559
|
}
|
|
2904
3560
|
|
|
2905
3561
|
/**
|
|
2906
|
-
*
|
|
3562
|
+
* Resumes video playback after you pause video playback during a voice call.
|
|
2907
3563
|
*
|
|
2908
3564
|
* @param request - ResumeVideoFileRequest
|
|
2909
3565
|
* @returns ResumeVideoFileResponse
|
|
@@ -3214,7 +3870,7 @@ export default class Client extends OpenApi {
|
|
|
3214
3870
|
}
|
|
3215
3871
|
|
|
3216
3872
|
/**
|
|
3217
|
-
*
|
|
3873
|
+
* Sends voice file notifications or video file notifications to a single called number.
|
|
3218
3874
|
*
|
|
3219
3875
|
* @param request - SingleCallByVideoRequest
|
|
3220
3876
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3285,7 +3941,7 @@ export default class Client extends OpenApi {
|
|
|
3285
3941
|
}
|
|
3286
3942
|
|
|
3287
3943
|
/**
|
|
3288
|
-
*
|
|
3944
|
+
* Sends voice file notifications or video file notifications to a single called number.
|
|
3289
3945
|
*
|
|
3290
3946
|
* @param request - SingleCallByVideoRequest
|
|
3291
3947
|
* @returns SingleCallByVideoResponse
|
|
@@ -3386,7 +4042,7 @@ export default class Client extends OpenApi {
|
|
|
3386
4042
|
}
|
|
3387
4043
|
|
|
3388
4044
|
/**
|
|
3389
|
-
*
|
|
4045
|
+
* Fast forwards or rewinds a video when you play the video.
|
|
3390
4046
|
*
|
|
3391
4047
|
* @param request - SkipVideoFileRequest
|
|
3392
4048
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3441,7 +4097,7 @@ export default class Client extends OpenApi {
|
|
|
3441
4097
|
}
|
|
3442
4098
|
|
|
3443
4099
|
/**
|
|
3444
|
-
*
|
|
4100
|
+
* Fast forwards or rewinds a video when you play the video.
|
|
3445
4101
|
*
|
|
3446
4102
|
* @param request - SkipVideoFileRequest
|
|
3447
4103
|
* @returns SkipVideoFileResponse
|
|
@@ -3880,7 +4536,7 @@ export default class Client extends OpenApi {
|
|
|
3880
4536
|
}
|
|
3881
4537
|
|
|
3882
4538
|
/**
|
|
3883
|
-
* Submits a
|
|
4539
|
+
* Submits a 400 number for registration.
|
|
3884
4540
|
*
|
|
3885
4541
|
* @remarks
|
|
3886
4542
|
* ### QPS limits
|
|
@@ -3963,7 +4619,7 @@ export default class Client extends OpenApi {
|
|
|
3963
4619
|
}
|
|
3964
4620
|
|
|
3965
4621
|
/**
|
|
3966
|
-
* Submits a
|
|
4622
|
+
* Submits a 400 number for registration.
|
|
3967
4623
|
*
|
|
3968
4624
|
* @remarks
|
|
3969
4625
|
* ### QPS limits
|
|
@@ -3978,7 +4634,7 @@ export default class Client extends OpenApi {
|
|
|
3978
4634
|
}
|
|
3979
4635
|
|
|
3980
4636
|
/**
|
|
3981
|
-
*
|
|
4637
|
+
* Upgrades from a voice call to a video call.
|
|
3982
4638
|
*
|
|
3983
4639
|
* @param request - UpgradeVideoFileRequest
|
|
3984
4640
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4033,7 +4689,7 @@ export default class Client extends OpenApi {
|
|
|
4033
4689
|
}
|
|
4034
4690
|
|
|
4035
4691
|
/**
|
|
4036
|
-
*
|
|
4692
|
+
* Upgrades from a voice call to a video call.
|
|
4037
4693
|
*
|
|
4038
4694
|
* @param request - UpgradeVideoFileRequest
|
|
4039
4695
|
* @returns UpgradeVideoFileResponse
|