@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/dist/client.js
CHANGED
|
@@ -62,7 +62,7 @@ class Client extends openapi_core_1.default {
|
|
|
62
62
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* Binds multiple real numbers to a service instance at a time.
|
|
66
66
|
*
|
|
67
67
|
* @remarks
|
|
68
68
|
* ### QPS limits
|
|
@@ -116,7 +116,7 @@ class Client extends openapi_core_1.default {
|
|
|
116
116
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddVirtualNumberRelationResponse({}));
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Binds multiple real numbers to a service instance at a time.
|
|
120
120
|
*
|
|
121
121
|
* @remarks
|
|
122
122
|
* ### QPS limits
|
|
@@ -130,7 +130,7 @@ class Client extends openapi_core_1.default {
|
|
|
130
130
|
return await this.addVirtualNumberRelationWithOptions(request, runtime);
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
|
-
* Initiates
|
|
133
|
+
* Initiates outbound robocall tasks in a batch. You can set up to 100 numbers in a task.
|
|
134
134
|
*
|
|
135
135
|
* @remarks
|
|
136
136
|
* 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.
|
|
@@ -207,7 +207,7 @@ class Client extends openapi_core_1.default {
|
|
|
207
207
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchRobotSmartCallResponse({}));
|
|
208
208
|
}
|
|
209
209
|
/**
|
|
210
|
-
* Initiates
|
|
210
|
+
* Initiates outbound robocall tasks in a batch. You can set up to 100 numbers in a task.
|
|
211
211
|
*
|
|
212
212
|
* @remarks
|
|
213
213
|
* 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.
|
|
@@ -226,6 +226,8 @@ class Client extends openapi_core_1.default {
|
|
|
226
226
|
return await this.batchRobotSmartCallWithOptions(request, runtime);
|
|
227
227
|
}
|
|
228
228
|
/**
|
|
229
|
+
* Cancels the two-way call that is initiated by calling the ClickToDial operation.
|
|
230
|
+
*
|
|
229
231
|
* @param request - CancelCallRequest
|
|
230
232
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
231
233
|
* @returns CancelCallResponse
|
|
@@ -262,6 +264,8 @@ class Client extends openapi_core_1.default {
|
|
|
262
264
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CancelCallResponse({}));
|
|
263
265
|
}
|
|
264
266
|
/**
|
|
267
|
+
* Cancels the two-way call that is initiated by calling the ClickToDial operation.
|
|
268
|
+
*
|
|
265
269
|
* @param request - CancelCallRequest
|
|
266
270
|
* @returns CancelCallResponse
|
|
267
271
|
*/
|
|
@@ -441,7 +445,525 @@ class Client extends openapi_core_1.default {
|
|
|
441
445
|
return await this.changeMediaTypeWithOptions(request, runtime);
|
|
442
446
|
}
|
|
443
447
|
/**
|
|
444
|
-
*
|
|
448
|
+
* 新增任务
|
|
449
|
+
*
|
|
450
|
+
* @param request - CloudCreateTaskRequest
|
|
451
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
452
|
+
* @returns CloudCreateTaskResponse
|
|
453
|
+
*/
|
|
454
|
+
async cloudCreateTaskWithOptions(request, runtime) {
|
|
455
|
+
request.validate();
|
|
456
|
+
let query = {};
|
|
457
|
+
if (!$dara.isNull(request.agentGroup)) {
|
|
458
|
+
query["AgentGroup"] = request.agentGroup;
|
|
459
|
+
}
|
|
460
|
+
if (!$dara.isNull(request.agentTimeout)) {
|
|
461
|
+
query["AgentTimeout"] = request.agentTimeout;
|
|
462
|
+
}
|
|
463
|
+
if (!$dara.isNull(request.answerRate)) {
|
|
464
|
+
query["AnswerRate"] = request.answerRate;
|
|
465
|
+
}
|
|
466
|
+
if (!$dara.isNull(request.autoComplete)) {
|
|
467
|
+
query["AutoComplete"] = request.autoComplete;
|
|
468
|
+
}
|
|
469
|
+
if (!$dara.isNull(request.autoDelete)) {
|
|
470
|
+
query["AutoDelete"] = request.autoDelete;
|
|
471
|
+
}
|
|
472
|
+
if (!$dara.isNull(request.autoStart)) {
|
|
473
|
+
query["AutoStart"] = request.autoStart;
|
|
474
|
+
}
|
|
475
|
+
if (!$dara.isNull(request.autoStartDay)) {
|
|
476
|
+
query["AutoStartDay"] = request.autoStartDay;
|
|
477
|
+
}
|
|
478
|
+
if (!$dara.isNull(request.autoStartTime)) {
|
|
479
|
+
query["AutoStartTime"] = request.autoStartTime;
|
|
480
|
+
}
|
|
481
|
+
if (!$dara.isNull(request.autoStop)) {
|
|
482
|
+
query["AutoStop"] = request.autoStop;
|
|
483
|
+
}
|
|
484
|
+
if (!$dara.isNull(request.autoStopDay)) {
|
|
485
|
+
query["AutoStopDay"] = request.autoStopDay;
|
|
486
|
+
}
|
|
487
|
+
if (!$dara.isNull(request.autoStopTime)) {
|
|
488
|
+
query["AutoStopTime"] = request.autoStopTime;
|
|
489
|
+
}
|
|
490
|
+
if (!$dara.isNull(request.autoTaskType)) {
|
|
491
|
+
query["AutoTaskType"] = request.autoTaskType;
|
|
492
|
+
}
|
|
493
|
+
if (!$dara.isNull(request.autoTriggerTimeStrategy)) {
|
|
494
|
+
query["AutoTriggerTimeStrategy"] = request.autoTriggerTimeStrategy;
|
|
495
|
+
}
|
|
496
|
+
if (!$dara.isNull(request.callGroupType)) {
|
|
497
|
+
query["CallGroupType"] = request.callGroupType;
|
|
498
|
+
}
|
|
499
|
+
if (!$dara.isNull(request.callLimitStrategy)) {
|
|
500
|
+
query["CallLimitStrategy"] = request.callLimitStrategy;
|
|
501
|
+
}
|
|
502
|
+
if (!$dara.isNull(request.callPriorityStrategy)) {
|
|
503
|
+
query["CallPriorityStrategy"] = request.callPriorityStrategy;
|
|
504
|
+
}
|
|
505
|
+
if (!$dara.isNull(request.callRouteStrategy)) {
|
|
506
|
+
query["CallRouteStrategy"] = request.callRouteStrategy;
|
|
507
|
+
}
|
|
508
|
+
if (!$dara.isNull(request.callStrategy)) {
|
|
509
|
+
query["CallStrategy"] = request.callStrategy;
|
|
510
|
+
}
|
|
511
|
+
if (!$dara.isNull(request.callVariables)) {
|
|
512
|
+
query["CallVariables"] = request.callVariables;
|
|
513
|
+
}
|
|
514
|
+
if (!$dara.isNull(request.clidProperty)) {
|
|
515
|
+
query["ClidProperty"] = request.clidProperty;
|
|
516
|
+
}
|
|
517
|
+
if (!$dara.isNull(request.cnos)) {
|
|
518
|
+
query["Cnos"] = request.cnos;
|
|
519
|
+
}
|
|
520
|
+
if (!$dara.isNull(request.concurrency)) {
|
|
521
|
+
query["Concurrency"] = request.concurrency;
|
|
522
|
+
}
|
|
523
|
+
if (!$dara.isNull(request.customerClidType)) {
|
|
524
|
+
query["CustomerClidType"] = request.customerClidType;
|
|
525
|
+
}
|
|
526
|
+
if (!$dara.isNull(request.customerClidWeight)) {
|
|
527
|
+
query["CustomerClidWeight"] = request.customerClidWeight;
|
|
528
|
+
}
|
|
529
|
+
if (!$dara.isNull(request.customerClidWeightFlag)) {
|
|
530
|
+
query["CustomerClidWeightFlag"] = request.customerClidWeightFlag;
|
|
531
|
+
}
|
|
532
|
+
if (!$dara.isNull(request.customerClids)) {
|
|
533
|
+
query["CustomerClids"] = request.customerClids;
|
|
534
|
+
}
|
|
535
|
+
if (!$dara.isNull(request.customerClidsCategory)) {
|
|
536
|
+
query["CustomerClidsCategory"] = request.customerClidsCategory;
|
|
537
|
+
}
|
|
538
|
+
if (!$dara.isNull(request.customerClidsGroup)) {
|
|
539
|
+
query["CustomerClidsGroup"] = request.customerClidsGroup;
|
|
540
|
+
}
|
|
541
|
+
if (!$dara.isNull(request.customerMoh)) {
|
|
542
|
+
query["CustomerMoh"] = request.customerMoh;
|
|
543
|
+
}
|
|
544
|
+
if (!$dara.isNull(request.customerTimeout)) {
|
|
545
|
+
query["CustomerTimeout"] = request.customerTimeout;
|
|
546
|
+
}
|
|
547
|
+
if (!$dara.isNull(request.customerVoice)) {
|
|
548
|
+
query["CustomerVoice"] = request.customerVoice;
|
|
549
|
+
}
|
|
550
|
+
if (!$dara.isNull(request.description)) {
|
|
551
|
+
query["Description"] = request.description;
|
|
552
|
+
}
|
|
553
|
+
if (!$dara.isNull(request.enterpriseId)) {
|
|
554
|
+
query["EnterpriseId"] = request.enterpriseId;
|
|
555
|
+
}
|
|
556
|
+
if (!$dara.isNull(request.forceEndFlag)) {
|
|
557
|
+
query["ForceEndFlag"] = request.forceEndFlag;
|
|
558
|
+
}
|
|
559
|
+
if (!$dara.isNull(request.isRewarm)) {
|
|
560
|
+
query["IsRewarm"] = request.isRewarm;
|
|
561
|
+
}
|
|
562
|
+
if (!$dara.isNull(request.ivrId)) {
|
|
563
|
+
query["IvrId"] = request.ivrId;
|
|
564
|
+
}
|
|
565
|
+
if (!$dara.isNull(request.ivrName)) {
|
|
566
|
+
query["IvrName"] = request.ivrName;
|
|
567
|
+
}
|
|
568
|
+
if (!$dara.isNull(request.maxWaitTime)) {
|
|
569
|
+
query["MaxWaitTime"] = request.maxWaitTime;
|
|
570
|
+
}
|
|
571
|
+
if (!$dara.isNull(request.minAvailableAgentCount)) {
|
|
572
|
+
query["MinAvailableAgentCount"] = request.minAvailableAgentCount;
|
|
573
|
+
}
|
|
574
|
+
if (!$dara.isNull(request.name)) {
|
|
575
|
+
query["Name"] = request.name;
|
|
576
|
+
}
|
|
577
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
578
|
+
query["OwnerId"] = request.ownerId;
|
|
579
|
+
}
|
|
580
|
+
if (!$dara.isNull(request.predictAdjust)) {
|
|
581
|
+
query["PredictAdjust"] = request.predictAdjust;
|
|
582
|
+
}
|
|
583
|
+
if (!$dara.isNull(request.quotiety)) {
|
|
584
|
+
query["Quotiety"] = request.quotiety;
|
|
585
|
+
}
|
|
586
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
587
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
588
|
+
}
|
|
589
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
590
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
591
|
+
}
|
|
592
|
+
if (!$dara.isNull(request.retryStrategy)) {
|
|
593
|
+
query["RetryStrategy"] = request.retryStrategy;
|
|
594
|
+
}
|
|
595
|
+
if (!$dara.isNull(request.retryStrategyOnlyToday)) {
|
|
596
|
+
query["RetryStrategyOnlyToday"] = request.retryStrategyOnlyToday;
|
|
597
|
+
}
|
|
598
|
+
if (!$dara.isNull(request.retryStrategyTimeType)) {
|
|
599
|
+
query["RetryStrategyTimeType"] = request.retryStrategyTimeType;
|
|
600
|
+
}
|
|
601
|
+
if (!$dara.isNull(request.templateName)) {
|
|
602
|
+
query["TemplateName"] = request.templateName;
|
|
603
|
+
}
|
|
604
|
+
if (!$dara.isNull(request.timeStrategy)) {
|
|
605
|
+
query["TimeStrategy"] = request.timeStrategy;
|
|
606
|
+
}
|
|
607
|
+
if (!$dara.isNull(request.type)) {
|
|
608
|
+
query["Type"] = request.type;
|
|
609
|
+
}
|
|
610
|
+
if (!$dara.isNull(request.userFields)) {
|
|
611
|
+
query["UserFields"] = request.userFields;
|
|
612
|
+
}
|
|
613
|
+
if (!$dara.isNull(request.warmUpDuration)) {
|
|
614
|
+
query["WarmUpDuration"] = request.warmUpDuration;
|
|
615
|
+
}
|
|
616
|
+
if (!$dara.isNull(request.wrapup)) {
|
|
617
|
+
query["Wrapup"] = request.wrapup;
|
|
618
|
+
}
|
|
619
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
620
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
621
|
+
});
|
|
622
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
623
|
+
action: "CloudCreateTask",
|
|
624
|
+
version: "2017-05-25",
|
|
625
|
+
protocol: "HTTPS",
|
|
626
|
+
pathname: "/",
|
|
627
|
+
method: "POST",
|
|
628
|
+
authType: "AK",
|
|
629
|
+
style: "RPC",
|
|
630
|
+
reqBodyType: "formData",
|
|
631
|
+
bodyType: "json",
|
|
632
|
+
});
|
|
633
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CloudCreateTaskResponse({}));
|
|
634
|
+
}
|
|
635
|
+
/**
|
|
636
|
+
* 新增任务
|
|
637
|
+
*
|
|
638
|
+
* @param request - CloudCreateTaskRequest
|
|
639
|
+
* @returns CloudCreateTaskResponse
|
|
640
|
+
*/
|
|
641
|
+
async cloudCreateTask(request) {
|
|
642
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
643
|
+
return await this.cloudCreateTaskWithOptions(request, runtime);
|
|
644
|
+
}
|
|
645
|
+
/**
|
|
646
|
+
* 任务号码导入
|
|
647
|
+
*
|
|
648
|
+
* @param tmpReq - CloudImportTaskTelRequest
|
|
649
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
650
|
+
* @returns CloudImportTaskTelResponse
|
|
651
|
+
*/
|
|
652
|
+
async cloudImportTaskTelWithOptions(tmpReq, runtime) {
|
|
653
|
+
tmpReq.validate();
|
|
654
|
+
let request = new $_model.CloudImportTaskTelShrinkRequest({});
|
|
655
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
656
|
+
if (!$dara.isNull(tmpReq.taskTelList)) {
|
|
657
|
+
request.taskTelListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.taskTelList, "TaskTelList", "json");
|
|
658
|
+
}
|
|
659
|
+
let query = {};
|
|
660
|
+
if (!$dara.isNull(request.bridgeVoicePath)) {
|
|
661
|
+
query["BridgeVoicePath"] = request.bridgeVoicePath;
|
|
662
|
+
}
|
|
663
|
+
if (!$dara.isNull(request.bridgeVoiceType)) {
|
|
664
|
+
query["BridgeVoiceType"] = request.bridgeVoiceType;
|
|
665
|
+
}
|
|
666
|
+
if (!$dara.isNull(request.enterpriseId)) {
|
|
667
|
+
query["EnterpriseId"] = request.enterpriseId;
|
|
668
|
+
}
|
|
669
|
+
if (!$dara.isNull(request.fileId)) {
|
|
670
|
+
query["FileId"] = request.fileId;
|
|
671
|
+
}
|
|
672
|
+
if (!$dara.isNull(request.importTelAutoStart)) {
|
|
673
|
+
query["ImportTelAutoStart"] = request.importTelAutoStart;
|
|
674
|
+
}
|
|
675
|
+
if (!$dara.isNull(request.isRepeat)) {
|
|
676
|
+
query["IsRepeat"] = request.isRepeat;
|
|
677
|
+
}
|
|
678
|
+
if (!$dara.isNull(request.name)) {
|
|
679
|
+
query["Name"] = request.name;
|
|
680
|
+
}
|
|
681
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
682
|
+
query["OwnerId"] = request.ownerId;
|
|
683
|
+
}
|
|
684
|
+
if (!$dara.isNull(request.priority)) {
|
|
685
|
+
query["Priority"] = request.priority;
|
|
686
|
+
}
|
|
687
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
688
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
689
|
+
}
|
|
690
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
691
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
692
|
+
}
|
|
693
|
+
if (!$dara.isNull(request.taskId)) {
|
|
694
|
+
query["TaskId"] = request.taskId;
|
|
695
|
+
}
|
|
696
|
+
if (!$dara.isNull(request.taskTelListShrink)) {
|
|
697
|
+
query["TaskTelList"] = request.taskTelListShrink;
|
|
698
|
+
}
|
|
699
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
700
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
701
|
+
});
|
|
702
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
703
|
+
action: "CloudImportTaskTel",
|
|
704
|
+
version: "2017-05-25",
|
|
705
|
+
protocol: "HTTPS",
|
|
706
|
+
pathname: "/",
|
|
707
|
+
method: "POST",
|
|
708
|
+
authType: "AK",
|
|
709
|
+
style: "RPC",
|
|
710
|
+
reqBodyType: "formData",
|
|
711
|
+
bodyType: "json",
|
|
712
|
+
});
|
|
713
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CloudImportTaskTelResponse({}));
|
|
714
|
+
}
|
|
715
|
+
/**
|
|
716
|
+
* 任务号码导入
|
|
717
|
+
*
|
|
718
|
+
* @param request - CloudImportTaskTelRequest
|
|
719
|
+
* @returns CloudImportTaskTelResponse
|
|
720
|
+
*/
|
|
721
|
+
async cloudImportTaskTel(request) {
|
|
722
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
723
|
+
return await this.cloudImportTaskTelWithOptions(request, runtime);
|
|
724
|
+
}
|
|
725
|
+
/**
|
|
726
|
+
* 任务启动
|
|
727
|
+
*
|
|
728
|
+
* @param request - CloudStartTaskRequest
|
|
729
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
730
|
+
* @returns CloudStartTaskResponse
|
|
731
|
+
*/
|
|
732
|
+
async cloudStartTaskWithOptions(request, runtime) {
|
|
733
|
+
request.validate();
|
|
734
|
+
let query = {};
|
|
735
|
+
if (!$dara.isNull(request.enterpriseId)) {
|
|
736
|
+
query["EnterpriseId"] = request.enterpriseId;
|
|
737
|
+
}
|
|
738
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
739
|
+
query["OwnerId"] = request.ownerId;
|
|
740
|
+
}
|
|
741
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
742
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
743
|
+
}
|
|
744
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
745
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
746
|
+
}
|
|
747
|
+
if (!$dara.isNull(request.taskId)) {
|
|
748
|
+
query["TaskId"] = request.taskId;
|
|
749
|
+
}
|
|
750
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
751
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
752
|
+
});
|
|
753
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
754
|
+
action: "CloudStartTask",
|
|
755
|
+
version: "2017-05-25",
|
|
756
|
+
protocol: "HTTPS",
|
|
757
|
+
pathname: "/",
|
|
758
|
+
method: "POST",
|
|
759
|
+
authType: "AK",
|
|
760
|
+
style: "RPC",
|
|
761
|
+
reqBodyType: "formData",
|
|
762
|
+
bodyType: "json",
|
|
763
|
+
});
|
|
764
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CloudStartTaskResponse({}));
|
|
765
|
+
}
|
|
766
|
+
/**
|
|
767
|
+
* 任务启动
|
|
768
|
+
*
|
|
769
|
+
* @param request - CloudStartTaskRequest
|
|
770
|
+
* @returns CloudStartTaskResponse
|
|
771
|
+
*/
|
|
772
|
+
async cloudStartTask(request) {
|
|
773
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
774
|
+
return await this.cloudStartTaskWithOptions(request, runtime);
|
|
775
|
+
}
|
|
776
|
+
/**
|
|
777
|
+
* 更新任务
|
|
778
|
+
*
|
|
779
|
+
* @param request - CloudUpdateTaskRequest
|
|
780
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
781
|
+
* @returns CloudUpdateTaskResponse
|
|
782
|
+
*/
|
|
783
|
+
async cloudUpdateTaskWithOptions(request, runtime) {
|
|
784
|
+
request.validate();
|
|
785
|
+
let query = {};
|
|
786
|
+
if (!$dara.isNull(request.agentGroup)) {
|
|
787
|
+
query["AgentGroup"] = request.agentGroup;
|
|
788
|
+
}
|
|
789
|
+
if (!$dara.isNull(request.agentTimeout)) {
|
|
790
|
+
query["AgentTimeout"] = request.agentTimeout;
|
|
791
|
+
}
|
|
792
|
+
if (!$dara.isNull(request.answerRate)) {
|
|
793
|
+
query["AnswerRate"] = request.answerRate;
|
|
794
|
+
}
|
|
795
|
+
if (!$dara.isNull(request.autoComplete)) {
|
|
796
|
+
query["AutoComplete"] = request.autoComplete;
|
|
797
|
+
}
|
|
798
|
+
if (!$dara.isNull(request.autoStart)) {
|
|
799
|
+
query["AutoStart"] = request.autoStart;
|
|
800
|
+
}
|
|
801
|
+
if (!$dara.isNull(request.autoStartDay)) {
|
|
802
|
+
query["AutoStartDay"] = request.autoStartDay;
|
|
803
|
+
}
|
|
804
|
+
if (!$dara.isNull(request.autoStartTime)) {
|
|
805
|
+
query["AutoStartTime"] = request.autoStartTime;
|
|
806
|
+
}
|
|
807
|
+
if (!$dara.isNull(request.autoStop)) {
|
|
808
|
+
query["AutoStop"] = request.autoStop;
|
|
809
|
+
}
|
|
810
|
+
if (!$dara.isNull(request.autoStopDay)) {
|
|
811
|
+
query["AutoStopDay"] = request.autoStopDay;
|
|
812
|
+
}
|
|
813
|
+
if (!$dara.isNull(request.autoStopTime)) {
|
|
814
|
+
query["AutoStopTime"] = request.autoStopTime;
|
|
815
|
+
}
|
|
816
|
+
if (!$dara.isNull(request.autoTaskType)) {
|
|
817
|
+
query["AutoTaskType"] = request.autoTaskType;
|
|
818
|
+
}
|
|
819
|
+
if (!$dara.isNull(request.autoTriggerTimeStrategy)) {
|
|
820
|
+
query["AutoTriggerTimeStrategy"] = request.autoTriggerTimeStrategy;
|
|
821
|
+
}
|
|
822
|
+
if (!$dara.isNull(request.callLimitStrategy)) {
|
|
823
|
+
query["CallLimitStrategy"] = request.callLimitStrategy;
|
|
824
|
+
}
|
|
825
|
+
if (!$dara.isNull(request.callPriorityStrategy)) {
|
|
826
|
+
query["CallPriorityStrategy"] = request.callPriorityStrategy;
|
|
827
|
+
}
|
|
828
|
+
if (!$dara.isNull(request.callRouteStrategy)) {
|
|
829
|
+
query["CallRouteStrategy"] = request.callRouteStrategy;
|
|
830
|
+
}
|
|
831
|
+
if (!$dara.isNull(request.callStrategy)) {
|
|
832
|
+
query["CallStrategy"] = request.callStrategy;
|
|
833
|
+
}
|
|
834
|
+
if (!$dara.isNull(request.callVariables)) {
|
|
835
|
+
query["CallVariables"] = request.callVariables;
|
|
836
|
+
}
|
|
837
|
+
if (!$dara.isNull(request.clidProperty)) {
|
|
838
|
+
query["ClidProperty"] = request.clidProperty;
|
|
839
|
+
}
|
|
840
|
+
if (!$dara.isNull(request.cnos)) {
|
|
841
|
+
query["Cnos"] = request.cnos;
|
|
842
|
+
}
|
|
843
|
+
if (!$dara.isNull(request.concurrency)) {
|
|
844
|
+
query["Concurrency"] = request.concurrency;
|
|
845
|
+
}
|
|
846
|
+
if (!$dara.isNull(request.customerClidType)) {
|
|
847
|
+
query["CustomerClidType"] = request.customerClidType;
|
|
848
|
+
}
|
|
849
|
+
if (!$dara.isNull(request.customerClidWeight)) {
|
|
850
|
+
query["CustomerClidWeight"] = request.customerClidWeight;
|
|
851
|
+
}
|
|
852
|
+
if (!$dara.isNull(request.customerClidWeightFlag)) {
|
|
853
|
+
query["CustomerClidWeightFlag"] = request.customerClidWeightFlag;
|
|
854
|
+
}
|
|
855
|
+
if (!$dara.isNull(request.customerClids)) {
|
|
856
|
+
query["CustomerClids"] = request.customerClids;
|
|
857
|
+
}
|
|
858
|
+
if (!$dara.isNull(request.customerClidsCategory)) {
|
|
859
|
+
query["CustomerClidsCategory"] = request.customerClidsCategory;
|
|
860
|
+
}
|
|
861
|
+
if (!$dara.isNull(request.customerClidsGroup)) {
|
|
862
|
+
query["CustomerClidsGroup"] = request.customerClidsGroup;
|
|
863
|
+
}
|
|
864
|
+
if (!$dara.isNull(request.customerMoh)) {
|
|
865
|
+
query["CustomerMoh"] = request.customerMoh;
|
|
866
|
+
}
|
|
867
|
+
if (!$dara.isNull(request.customerTimeout)) {
|
|
868
|
+
query["CustomerTimeout"] = request.customerTimeout;
|
|
869
|
+
}
|
|
870
|
+
if (!$dara.isNull(request.customerVoice)) {
|
|
871
|
+
query["CustomerVoice"] = request.customerVoice;
|
|
872
|
+
}
|
|
873
|
+
if (!$dara.isNull(request.description)) {
|
|
874
|
+
query["Description"] = request.description;
|
|
875
|
+
}
|
|
876
|
+
if (!$dara.isNull(request.enterpriseId)) {
|
|
877
|
+
query["EnterpriseId"] = request.enterpriseId;
|
|
878
|
+
}
|
|
879
|
+
if (!$dara.isNull(request.forceEndFlag)) {
|
|
880
|
+
query["ForceEndFlag"] = request.forceEndFlag;
|
|
881
|
+
}
|
|
882
|
+
if (!$dara.isNull(request.isRewarm)) {
|
|
883
|
+
query["IsRewarm"] = request.isRewarm;
|
|
884
|
+
}
|
|
885
|
+
if (!$dara.isNull(request.ivrId)) {
|
|
886
|
+
query["IvrId"] = request.ivrId;
|
|
887
|
+
}
|
|
888
|
+
if (!$dara.isNull(request.ivrName)) {
|
|
889
|
+
query["IvrName"] = request.ivrName;
|
|
890
|
+
}
|
|
891
|
+
if (!$dara.isNull(request.maxWaitTime)) {
|
|
892
|
+
query["MaxWaitTime"] = request.maxWaitTime;
|
|
893
|
+
}
|
|
894
|
+
if (!$dara.isNull(request.minAvailableAgentCount)) {
|
|
895
|
+
query["MinAvailableAgentCount"] = request.minAvailableAgentCount;
|
|
896
|
+
}
|
|
897
|
+
if (!$dara.isNull(request.name)) {
|
|
898
|
+
query["Name"] = request.name;
|
|
899
|
+
}
|
|
900
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
901
|
+
query["OwnerId"] = request.ownerId;
|
|
902
|
+
}
|
|
903
|
+
if (!$dara.isNull(request.predictAdjust)) {
|
|
904
|
+
query["PredictAdjust"] = request.predictAdjust;
|
|
905
|
+
}
|
|
906
|
+
if (!$dara.isNull(request.quotiety)) {
|
|
907
|
+
query["Quotiety"] = request.quotiety;
|
|
908
|
+
}
|
|
909
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
910
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
911
|
+
}
|
|
912
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
913
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
914
|
+
}
|
|
915
|
+
if (!$dara.isNull(request.retryStrategy)) {
|
|
916
|
+
query["RetryStrategy"] = request.retryStrategy;
|
|
917
|
+
}
|
|
918
|
+
if (!$dara.isNull(request.retryStrategyOnlyToday)) {
|
|
919
|
+
query["RetryStrategyOnlyToday"] = request.retryStrategyOnlyToday;
|
|
920
|
+
}
|
|
921
|
+
if (!$dara.isNull(request.retryStrategyTimeType)) {
|
|
922
|
+
query["RetryStrategyTimeType"] = request.retryStrategyTimeType;
|
|
923
|
+
}
|
|
924
|
+
if (!$dara.isNull(request.taskId)) {
|
|
925
|
+
query["TaskId"] = request.taskId;
|
|
926
|
+
}
|
|
927
|
+
if (!$dara.isNull(request.timeStrategy)) {
|
|
928
|
+
query["TimeStrategy"] = request.timeStrategy;
|
|
929
|
+
}
|
|
930
|
+
if (!$dara.isNull(request.userFields)) {
|
|
931
|
+
query["UserFields"] = request.userFields;
|
|
932
|
+
}
|
|
933
|
+
if (!$dara.isNull(request.warmUpDuration)) {
|
|
934
|
+
query["WarmUpDuration"] = request.warmUpDuration;
|
|
935
|
+
}
|
|
936
|
+
if (!$dara.isNull(request.wrapup)) {
|
|
937
|
+
query["Wrapup"] = request.wrapup;
|
|
938
|
+
}
|
|
939
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
940
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
941
|
+
});
|
|
942
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
943
|
+
action: "CloudUpdateTask",
|
|
944
|
+
version: "2017-05-25",
|
|
945
|
+
protocol: "HTTPS",
|
|
946
|
+
pathname: "/",
|
|
947
|
+
method: "POST",
|
|
948
|
+
authType: "AK",
|
|
949
|
+
style: "RPC",
|
|
950
|
+
reqBodyType: "formData",
|
|
951
|
+
bodyType: "json",
|
|
952
|
+
});
|
|
953
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CloudUpdateTaskResponse({}));
|
|
954
|
+
}
|
|
955
|
+
/**
|
|
956
|
+
* 更新任务
|
|
957
|
+
*
|
|
958
|
+
* @param request - CloudUpdateTaskRequest
|
|
959
|
+
* @returns CloudUpdateTaskResponse
|
|
960
|
+
*/
|
|
961
|
+
async cloudUpdateTask(request) {
|
|
962
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
963
|
+
return await this.cloudUpdateTaskWithOptions(request, runtime);
|
|
964
|
+
}
|
|
965
|
+
/**
|
|
966
|
+
* 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.
|
|
445
967
|
*
|
|
446
968
|
* @remarks
|
|
447
969
|
* You can create up to 1,000 voice notifications for each task.
|
|
@@ -514,7 +1036,7 @@ class Client extends openapi_core_1.default {
|
|
|
514
1036
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCallTaskResponse({}));
|
|
515
1037
|
}
|
|
516
1038
|
/**
|
|
517
|
-
*
|
|
1039
|
+
* 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.
|
|
518
1040
|
*
|
|
519
1041
|
* @remarks
|
|
520
1042
|
* You can create up to 1,000 voice notifications for each task.
|
|
@@ -614,7 +1136,7 @@ class Client extends openapi_core_1.default {
|
|
|
614
1136
|
return await this.createRobotTaskWithOptions(request, runtime);
|
|
615
1137
|
}
|
|
616
1138
|
/**
|
|
617
|
-
*
|
|
1139
|
+
* Downgrades from a video call to a voice call.
|
|
618
1140
|
*
|
|
619
1141
|
* @param request - DegradeVideoFileRequest
|
|
620
1142
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -661,7 +1183,7 @@ class Client extends openapi_core_1.default {
|
|
|
661
1183
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DegradeVideoFileResponse({}));
|
|
662
1184
|
}
|
|
663
1185
|
/**
|
|
664
|
-
*
|
|
1186
|
+
* Downgrades from a video call to a voice call.
|
|
665
1187
|
*
|
|
666
1188
|
* @param request - DegradeVideoFileRequest
|
|
667
1189
|
* @returns DegradeVideoFileResponse
|
|
@@ -791,7 +1313,7 @@ class Client extends openapi_core_1.default {
|
|
|
791
1313
|
return await this.executeCallTaskWithOptions(request, runtime);
|
|
792
1314
|
}
|
|
793
1315
|
/**
|
|
794
|
-
*
|
|
1316
|
+
* Obtains the call type during a call.
|
|
795
1317
|
*
|
|
796
1318
|
* @param request - GetCallMediaTypeRequest
|
|
797
1319
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -832,7 +1354,7 @@ class Client extends openapi_core_1.default {
|
|
|
832
1354
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCallMediaTypeResponse({}));
|
|
833
1355
|
}
|
|
834
1356
|
/**
|
|
835
|
-
*
|
|
1357
|
+
* Obtains the call type during a call.
|
|
836
1358
|
*
|
|
837
1359
|
* @param request - GetCallMediaTypeRequest
|
|
838
1360
|
* @returns GetCallMediaTypeResponse
|
|
@@ -949,7 +1471,7 @@ class Client extends openapi_core_1.default {
|
|
|
949
1471
|
return await this.getHotlineQualificationByOrderWithOptions(request, runtime);
|
|
950
1472
|
}
|
|
951
1473
|
/**
|
|
952
|
-
*
|
|
1474
|
+
* Obtains a temporary URL of a video or audio file. You can view the video or audio file immediately by using this temporary URL.
|
|
953
1475
|
*
|
|
954
1476
|
* @param request - GetTemporaryFileUrlRequest
|
|
955
1477
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -987,7 +1509,7 @@ class Client extends openapi_core_1.default {
|
|
|
987
1509
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTemporaryFileUrlResponse({}));
|
|
988
1510
|
}
|
|
989
1511
|
/**
|
|
990
|
-
*
|
|
1512
|
+
* Obtains a temporary URL of a video or audio file. You can view the video or audio file immediately by using this temporary URL.
|
|
991
1513
|
*
|
|
992
1514
|
* @param request - GetTemporaryFileUrlRequest
|
|
993
1515
|
* @returns GetTemporaryFileUrlResponse
|
|
@@ -1190,7 +1712,7 @@ class Client extends openapi_core_1.default {
|
|
|
1190
1712
|
return await this.ivrCallWithOptions(request, runtime);
|
|
1191
1713
|
}
|
|
1192
1714
|
/**
|
|
1193
|
-
* Queries task
|
|
1715
|
+
* 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.
|
|
1194
1716
|
*
|
|
1195
1717
|
* @remarks
|
|
1196
1718
|
* ### QPS limits
|
|
@@ -1250,7 +1772,7 @@ class Client extends openapi_core_1.default {
|
|
|
1250
1772
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCallTaskResponse({}));
|
|
1251
1773
|
}
|
|
1252
1774
|
/**
|
|
1253
|
-
* Queries task
|
|
1775
|
+
* 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.
|
|
1254
1776
|
*
|
|
1255
1777
|
* @remarks
|
|
1256
1778
|
* ### QPS limits
|
|
@@ -1264,7 +1786,7 @@ class Client extends openapi_core_1.default {
|
|
|
1264
1786
|
return await this.listCallTaskWithOptions(request, runtime);
|
|
1265
1787
|
}
|
|
1266
1788
|
/**
|
|
1267
|
-
* Queries the
|
|
1789
|
+
* Queries the details of call tasks based on task IDs after call tasks are complete.
|
|
1268
1790
|
*
|
|
1269
1791
|
* @remarks
|
|
1270
1792
|
* ### QPS limits
|
|
@@ -1318,7 +1840,7 @@ class Client extends openapi_core_1.default {
|
|
|
1318
1840
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCallTaskDetailResponse({}));
|
|
1319
1841
|
}
|
|
1320
1842
|
/**
|
|
1321
|
-
* Queries the
|
|
1843
|
+
* Queries the details of call tasks based on task IDs after call tasks are complete.
|
|
1322
1844
|
*
|
|
1323
1845
|
* @remarks
|
|
1324
1846
|
* ### QPS limits
|
|
@@ -1462,7 +1984,7 @@ class Client extends openapi_core_1.default {
|
|
|
1462
1984
|
return await this.listServiceInstanceForPageWithOptions(request, runtime);
|
|
1463
1985
|
}
|
|
1464
1986
|
/**
|
|
1465
|
-
*
|
|
1987
|
+
* Pauses video playback when a video file is played back during a voice call.
|
|
1466
1988
|
*
|
|
1467
1989
|
* @param request - PauseVideoFileRequest
|
|
1468
1990
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1503,7 +2025,7 @@ class Client extends openapi_core_1.default {
|
|
|
1503
2025
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PauseVideoFileResponse({}));
|
|
1504
2026
|
}
|
|
1505
2027
|
/**
|
|
1506
|
-
*
|
|
2028
|
+
* Pauses video playback when a video file is played back during a voice call.
|
|
1507
2029
|
*
|
|
1508
2030
|
* @param request - PauseVideoFileRequest
|
|
1509
2031
|
* @returns PauseVideoFileResponse
|
|
@@ -1513,7 +2035,7 @@ class Client extends openapi_core_1.default {
|
|
|
1513
2035
|
return await this.pauseVideoFileWithOptions(request, runtime);
|
|
1514
2036
|
}
|
|
1515
2037
|
/**
|
|
1516
|
-
*
|
|
2038
|
+
* Plays back a video file during a voice call.
|
|
1517
2039
|
*
|
|
1518
2040
|
* @param request - PlayVideoFileRequest
|
|
1519
2041
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1563,7 +2085,7 @@ class Client extends openapi_core_1.default {
|
|
|
1563
2085
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PlayVideoFileResponse({}));
|
|
1564
2086
|
}
|
|
1565
2087
|
/**
|
|
1566
|
-
*
|
|
2088
|
+
* Plays back a video file during a voice call.
|
|
1567
2089
|
*
|
|
1568
2090
|
* @param request - PlayVideoFileRequest
|
|
1569
2091
|
* @returns PlayVideoFileResponse
|
|
@@ -1815,7 +2337,7 @@ class Client extends openapi_core_1.default {
|
|
|
1815
2337
|
return await this.queryCallInTransferRecordWithOptions(request, runtime);
|
|
1816
2338
|
}
|
|
1817
2339
|
/**
|
|
1818
|
-
* Queries a list of robots.
|
|
2340
|
+
* Queries a list of robots to obtain their details.
|
|
1819
2341
|
*
|
|
1820
2342
|
* @param request - QueryRobotInfoListRequest
|
|
1821
2343
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1853,7 +2375,7 @@ class Client extends openapi_core_1.default {
|
|
|
1853
2375
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryRobotInfoListResponse({}));
|
|
1854
2376
|
}
|
|
1855
2377
|
/**
|
|
1856
|
-
* Queries a list of robots.
|
|
2378
|
+
* Queries a list of robots to obtain their details.
|
|
1857
2379
|
*
|
|
1858
2380
|
* @param request - QueryRobotInfoListRequest
|
|
1859
2381
|
* @returns QueryRobotInfoListResponse
|
|
@@ -1863,7 +2385,7 @@ class Client extends openapi_core_1.default {
|
|
|
1863
2385
|
return await this.queryRobotInfoListWithOptions(request, runtime);
|
|
1864
2386
|
}
|
|
1865
2387
|
/**
|
|
1866
|
-
* Queries the call details of a called number
|
|
2388
|
+
* Queries the call details of a called number.
|
|
1867
2389
|
*
|
|
1868
2390
|
* @remarks
|
|
1869
2391
|
* ### QPS limits
|
|
@@ -1911,7 +2433,7 @@ class Client extends openapi_core_1.default {
|
|
|
1911
2433
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryRobotTaskCallDetailResponse({}));
|
|
1912
2434
|
}
|
|
1913
2435
|
/**
|
|
1914
|
-
* Queries the call details of a called number
|
|
2436
|
+
* Queries the call details of a called number.
|
|
1915
2437
|
*
|
|
1916
2438
|
* @remarks
|
|
1917
2439
|
* ### QPS limits
|
|
@@ -2185,7 +2707,7 @@ class Client extends openapi_core_1.default {
|
|
|
2185
2707
|
return await this.queryRobotv2AllListWithOptions(request, runtime);
|
|
2186
2708
|
}
|
|
2187
2709
|
/**
|
|
2188
|
-
*
|
|
2710
|
+
* Queries the video playback progress after you play a video file during a voice call.
|
|
2189
2711
|
*
|
|
2190
2712
|
* @param request - QueryVideoPlayProgressRequest
|
|
2191
2713
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2226,7 +2748,7 @@ class Client extends openapi_core_1.default {
|
|
|
2226
2748
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryVideoPlayProgressResponse({}));
|
|
2227
2749
|
}
|
|
2228
2750
|
/**
|
|
2229
|
-
*
|
|
2751
|
+
* Queries the video playback progress after you play a video file during a voice call.
|
|
2230
2752
|
*
|
|
2231
2753
|
* @param request - QueryVideoPlayProgressRequest
|
|
2232
2754
|
* @returns QueryVideoPlayProgressResponse
|
|
@@ -2236,72 +2758,7 @@ class Client extends openapi_core_1.default {
|
|
|
2236
2758
|
return await this.queryVideoPlayProgressWithOptions(request, runtime);
|
|
2237
2759
|
}
|
|
2238
2760
|
/**
|
|
2239
|
-
*
|
|
2240
|
-
*
|
|
2241
|
-
* @remarks
|
|
2242
|
-
* ### QPS limits
|
|
2243
|
-
* You can call this operation up to 100 times per second per account.
|
|
2244
|
-
*
|
|
2245
|
-
* @param request - QueryVirtualNumberRequest
|
|
2246
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
2247
|
-
* @returns QueryVirtualNumberResponse
|
|
2248
|
-
*/
|
|
2249
|
-
async queryVirtualNumberWithOptions(request, runtime) {
|
|
2250
|
-
request.validate();
|
|
2251
|
-
let query = {};
|
|
2252
|
-
if (!$dara.isNull(request.ownerId)) {
|
|
2253
|
-
query["OwnerId"] = request.ownerId;
|
|
2254
|
-
}
|
|
2255
|
-
if (!$dara.isNull(request.pageNo)) {
|
|
2256
|
-
query["PageNo"] = request.pageNo;
|
|
2257
|
-
}
|
|
2258
|
-
if (!$dara.isNull(request.pageSize)) {
|
|
2259
|
-
query["PageSize"] = request.pageSize;
|
|
2260
|
-
}
|
|
2261
|
-
if (!$dara.isNull(request.prodCode)) {
|
|
2262
|
-
query["ProdCode"] = request.prodCode;
|
|
2263
|
-
}
|
|
2264
|
-
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2265
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2266
|
-
}
|
|
2267
|
-
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2268
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2269
|
-
}
|
|
2270
|
-
if (!$dara.isNull(request.routeType)) {
|
|
2271
|
-
query["RouteType"] = request.routeType;
|
|
2272
|
-
}
|
|
2273
|
-
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2274
|
-
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2275
|
-
});
|
|
2276
|
-
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2277
|
-
action: "QueryVirtualNumber",
|
|
2278
|
-
version: "2017-05-25",
|
|
2279
|
-
protocol: "HTTPS",
|
|
2280
|
-
pathname: "/",
|
|
2281
|
-
method: "POST",
|
|
2282
|
-
authType: "AK",
|
|
2283
|
-
style: "RPC",
|
|
2284
|
-
reqBodyType: "formData",
|
|
2285
|
-
bodyType: "json",
|
|
2286
|
-
});
|
|
2287
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryVirtualNumberResponse({}));
|
|
2288
|
-
}
|
|
2289
|
-
/**
|
|
2290
|
-
* Queries a list of virtual numbers.
|
|
2291
|
-
*
|
|
2292
|
-
* @remarks
|
|
2293
|
-
* ### QPS limits
|
|
2294
|
-
* You can call this operation up to 100 times per second per account.
|
|
2295
|
-
*
|
|
2296
|
-
* @param request - QueryVirtualNumberRequest
|
|
2297
|
-
* @returns QueryVirtualNumberResponse
|
|
2298
|
-
*/
|
|
2299
|
-
async queryVirtualNumber(request) {
|
|
2300
|
-
let runtime = new $dara.RuntimeOptions({});
|
|
2301
|
-
return await this.queryVirtualNumberWithOptions(request, runtime);
|
|
2302
|
-
}
|
|
2303
|
-
/**
|
|
2304
|
-
* Queries a list of associations between virtual numbers and real numbers.
|
|
2761
|
+
* 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.
|
|
2305
2762
|
*
|
|
2306
2763
|
* @remarks
|
|
2307
2764
|
* ### QPS limits
|
|
@@ -2367,7 +2824,7 @@ class Client extends openapi_core_1.default {
|
|
|
2367
2824
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryVirtualNumberRelationResponse({}));
|
|
2368
2825
|
}
|
|
2369
2826
|
/**
|
|
2370
|
-
*
|
|
2827
|
+
* 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.
|
|
2371
2828
|
*
|
|
2372
2829
|
* @remarks
|
|
2373
2830
|
* ### QPS limits
|
|
@@ -2600,7 +3057,7 @@ class Client extends openapi_core_1.default {
|
|
|
2600
3057
|
return await this.recoverCallInConfigWithOptions(request, runtime);
|
|
2601
3058
|
}
|
|
2602
3059
|
/**
|
|
2603
|
-
*
|
|
3060
|
+
* Resumes video playback after you pause video playback during a voice call.
|
|
2604
3061
|
*
|
|
2605
3062
|
* @param request - ResumeVideoFileRequest
|
|
2606
3063
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2641,7 +3098,7 @@ class Client extends openapi_core_1.default {
|
|
|
2641
3098
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResumeVideoFileResponse({}));
|
|
2642
3099
|
}
|
|
2643
3100
|
/**
|
|
2644
|
-
*
|
|
3101
|
+
* Resumes video playback after you pause video playback during a voice call.
|
|
2645
3102
|
*
|
|
2646
3103
|
* @param request - ResumeVideoFileRequest
|
|
2647
3104
|
* @returns ResumeVideoFileResponse
|
|
@@ -2913,7 +3370,7 @@ class Client extends openapi_core_1.default {
|
|
|
2913
3370
|
return await this.singleCallByTtsWithOptions(request, runtime);
|
|
2914
3371
|
}
|
|
2915
3372
|
/**
|
|
2916
|
-
*
|
|
3373
|
+
* Sends voice file notifications or video file notifications to a single called number.
|
|
2917
3374
|
*
|
|
2918
3375
|
* @param request - SingleCallByVideoRequest
|
|
2919
3376
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2972,7 +3429,7 @@ class Client extends openapi_core_1.default {
|
|
|
2972
3429
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SingleCallByVideoResponse({}));
|
|
2973
3430
|
}
|
|
2974
3431
|
/**
|
|
2975
|
-
*
|
|
3432
|
+
* Sends voice file notifications or video file notifications to a single called number.
|
|
2976
3433
|
*
|
|
2977
3434
|
* @param request - SingleCallByVideoRequest
|
|
2978
3435
|
* @returns SingleCallByVideoResponse
|
|
@@ -3060,7 +3517,7 @@ class Client extends openapi_core_1.default {
|
|
|
3060
3517
|
return await this.singleCallByVoiceWithOptions(request, runtime);
|
|
3061
3518
|
}
|
|
3062
3519
|
/**
|
|
3063
|
-
*
|
|
3520
|
+
* Fast forwards or rewinds a video when you play the video.
|
|
3064
3521
|
*
|
|
3065
3522
|
* @param request - SkipVideoFileRequest
|
|
3066
3523
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3107,7 +3564,7 @@ class Client extends openapi_core_1.default {
|
|
|
3107
3564
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SkipVideoFileResponse({}));
|
|
3108
3565
|
}
|
|
3109
3566
|
/**
|
|
3110
|
-
*
|
|
3567
|
+
* Fast forwards or rewinds a video when you play the video.
|
|
3111
3568
|
*
|
|
3112
3569
|
* @param request - SkipVideoFileRequest
|
|
3113
3570
|
* @returns SkipVideoFileResponse
|
|
@@ -3486,7 +3943,7 @@ class Client extends openapi_core_1.default {
|
|
|
3486
3943
|
return await this.stopRobotTaskWithOptions(request, runtime);
|
|
3487
3944
|
}
|
|
3488
3945
|
/**
|
|
3489
|
-
* Submits a
|
|
3946
|
+
* Submits a 400 number for registration.
|
|
3490
3947
|
*
|
|
3491
3948
|
* @remarks
|
|
3492
3949
|
* ### QPS limits
|
|
@@ -3555,7 +4012,7 @@ class Client extends openapi_core_1.default {
|
|
|
3555
4012
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SubmitHotlineTransferRegisterResponse({}));
|
|
3556
4013
|
}
|
|
3557
4014
|
/**
|
|
3558
|
-
* Submits a
|
|
4015
|
+
* Submits a 400 number for registration.
|
|
3559
4016
|
*
|
|
3560
4017
|
* @remarks
|
|
3561
4018
|
* ### QPS limits
|
|
@@ -3569,7 +4026,7 @@ class Client extends openapi_core_1.default {
|
|
|
3569
4026
|
return await this.submitHotlineTransferRegisterWithOptions(request, runtime);
|
|
3570
4027
|
}
|
|
3571
4028
|
/**
|
|
3572
|
-
*
|
|
4029
|
+
* Upgrades from a voice call to a video call.
|
|
3573
4030
|
*
|
|
3574
4031
|
* @param request - UpgradeVideoFileRequest
|
|
3575
4032
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3616,7 +4073,7 @@ class Client extends openapi_core_1.default {
|
|
|
3616
4073
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeVideoFileResponse({}));
|
|
3617
4074
|
}
|
|
3618
4075
|
/**
|
|
3619
|
-
*
|
|
4076
|
+
* Upgrades from a voice call to a video call.
|
|
3620
4077
|
*
|
|
3621
4078
|
* @param request - UpgradeVideoFileRequest
|
|
3622
4079
|
* @returns UpgradeVideoFileResponse
|