@alicloud/dyvmsapi20170525 2.3.1 → 2.3.2
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 +5071 -430
- package/dist/client.js +891 -430
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +5077 -430
package/dist/client.js
CHANGED
|
@@ -32,7 +32,6 @@ exports.StopCallInConfigResponse = exports.StopCallInConfigResponseBody = export
|
|
|
32
32
|
exports.SubmitHotlineTransferRegisterRequestTransferPhoneNumberInfos = exports.SetTransferCalleePoolConfigRequestDetails = exports.QueryVoiceFileAuditInfoResponseBodyData = exports.QueryCallInTransferRecordResponseBodyData = exports.QueryCallInTransferRecordResponseBodyDataValues = exports.QueryCallInPoolTransferConfigResponseBodyData = exports.QueryCallInPoolTransferConfigResponseBodyDataDetails = exports.ListHotlineTransferRegisterFileResponseBodyData = exports.ListHotlineTransferRegisterFileResponseBodyDataValues = exports.ListHotlineTransferNumberResponseBodyData = exports.ListHotlineTransferNumberResponseBodyDataValues = exports.ListCallTaskDetailResponseBodyData = exports.ListCallTaskResponseBodyData = exports.IvrCallRequestMenuKeyMap = exports.GetHotlineQualificationByOrderResponseBodyData = exports.UploadRobotTaskCalledFileResponse = exports.UploadRobotTaskCalledFileResponseBody = exports.UploadRobotTaskCalledFileRequest = exports.UpgradeVideoFileResponse = exports.UpgradeVideoFileResponseBody = exports.UpgradeVideoFileRequest = exports.SubmitHotlineTransferRegisterResponse = exports.SubmitHotlineTransferRegisterResponseBody = exports.SubmitHotlineTransferRegisterRequest = exports.StopRobotTaskResponse = exports.StopRobotTaskResponseBody = exports.StopRobotTaskRequest = void 0;
|
|
33
33
|
// This file is auto-generated, don't edit it
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
36
35
|
*/
|
|
37
36
|
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
|
|
38
37
|
const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
|
|
@@ -1614,6 +1613,7 @@ class PlayVideoFileRequest extends $tea.Model {
|
|
|
1614
1613
|
return {
|
|
1615
1614
|
callId: 'CallId',
|
|
1616
1615
|
calledNumber: 'CalledNumber',
|
|
1616
|
+
onlyPhone: 'OnlyPhone',
|
|
1617
1617
|
outId: 'OutId',
|
|
1618
1618
|
ownerId: 'OwnerId',
|
|
1619
1619
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
@@ -1625,6 +1625,7 @@ class PlayVideoFileRequest extends $tea.Model {
|
|
|
1625
1625
|
return {
|
|
1626
1626
|
callId: 'string',
|
|
1627
1627
|
calledNumber: 'string',
|
|
1628
|
+
onlyPhone: 'boolean',
|
|
1628
1629
|
outId: 'string',
|
|
1629
1630
|
ownerId: 'number',
|
|
1630
1631
|
resourceOwnerAccount: 'string',
|
|
@@ -4268,12 +4269,15 @@ class Client extends openapi_client_1.default {
|
|
|
4268
4269
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
4269
4270
|
}
|
|
4270
4271
|
/**
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4272
|
+
* Adds the association relationship between a virtual number and real numbers in batches.
|
|
4273
|
+
*
|
|
4274
|
+
* @remarks
|
|
4275
|
+
* ### QPS limits
|
|
4276
|
+
* You can call this operation up to 200 times per second per account.
|
|
4277
|
+
*
|
|
4278
|
+
* @param request - AddVirtualNumberRelationRequest
|
|
4279
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4280
|
+
* @returns AddVirtualNumberRelationResponse
|
|
4277
4281
|
*/
|
|
4278
4282
|
async addVirtualNumberRelationWithOptions(request, runtime) {
|
|
4279
4283
|
tea_util_1.default.validateModel(request);
|
|
@@ -4319,28 +4323,34 @@ class Client extends openapi_client_1.default {
|
|
|
4319
4323
|
return $tea.cast(await this.callApi(params, req, runtime), new AddVirtualNumberRelationResponse({}));
|
|
4320
4324
|
}
|
|
4321
4325
|
/**
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4326
|
+
* Adds the association relationship between a virtual number and real numbers in batches.
|
|
4327
|
+
*
|
|
4328
|
+
* @remarks
|
|
4329
|
+
* ### QPS limits
|
|
4330
|
+
* You can call this operation up to 200 times per second per account.
|
|
4331
|
+
*
|
|
4332
|
+
* @param request - AddVirtualNumberRelationRequest
|
|
4333
|
+
* @returns AddVirtualNumberRelationResponse
|
|
4327
4334
|
*/
|
|
4328
4335
|
async addVirtualNumberRelation(request) {
|
|
4329
4336
|
let runtime = new $Util.RuntimeOptions({});
|
|
4330
4337
|
return await this.addVirtualNumberRelationWithOptions(request, runtime);
|
|
4331
4338
|
}
|
|
4332
4339
|
/**
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4340
|
+
* Initiates an outbound robocall task.
|
|
4341
|
+
*
|
|
4342
|
+
* @remarks
|
|
4343
|
+
* 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.
|
|
4344
|
+
* * The BatchRobotSmartCall operation is used to initiate an outbound robocall task by using the robot communication scripts preset in the Voice Messaging Service console.
|
|
4345
|
+
* ## Prerequisites
|
|
4346
|
+
* * You have passed the real-name verification for an enterprise user and passed the enterprise qualification review.
|
|
4347
|
+
* * You have purchased numbers in the [Voice Messaging Service console](https://dyvms.console.aliyun.com/dyvms.htm#/number/normal).
|
|
4348
|
+
* * You have added communication scripts on the [Communication script management](https://dyvms.console.aliyun.com/dyvms.htm#/smart-call/saas/robot/list) page, and the communication scripts have been approved.
|
|
4349
|
+
* > Before you call this operation, make sure that you are familiar with the [billing](https://www.aliyun.com/price/product#/vms/detail) of Voice Messaging Service (VMS).
|
|
4350
|
+
*
|
|
4351
|
+
* @param request - BatchRobotSmartCallRequest
|
|
4352
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4353
|
+
* @returns BatchRobotSmartCallResponse
|
|
4344
4354
|
*/
|
|
4345
4355
|
async batchRobotSmartCallWithOptions(request, runtime) {
|
|
4346
4356
|
tea_util_1.default.validateModel(request);
|
|
@@ -4404,28 +4414,34 @@ class Client extends openapi_client_1.default {
|
|
|
4404
4414
|
return $tea.cast(await this.callApi(params, req, runtime), new BatchRobotSmartCallResponse({}));
|
|
4405
4415
|
}
|
|
4406
4416
|
/**
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
+
* Initiates an outbound robocall task.
|
|
4418
|
+
*
|
|
4419
|
+
* @remarks
|
|
4420
|
+
* 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.
|
|
4421
|
+
* * The BatchRobotSmartCall operation is used to initiate an outbound robocall task by using the robot communication scripts preset in the Voice Messaging Service console.
|
|
4422
|
+
* ## Prerequisites
|
|
4423
|
+
* * You have passed the real-name verification for an enterprise user and passed the enterprise qualification review.
|
|
4424
|
+
* * You have purchased numbers in the [Voice Messaging Service console](https://dyvms.console.aliyun.com/dyvms.htm#/number/normal).
|
|
4425
|
+
* * You have added communication scripts on the [Communication script management](https://dyvms.console.aliyun.com/dyvms.htm#/smart-call/saas/robot/list) page, and the communication scripts have been approved.
|
|
4426
|
+
* > Before you call this operation, make sure that you are familiar with the [billing](https://www.aliyun.com/price/product#/vms/detail) of Voice Messaging Service (VMS).
|
|
4427
|
+
*
|
|
4428
|
+
* @param request - BatchRobotSmartCallRequest
|
|
4429
|
+
* @returns BatchRobotSmartCallResponse
|
|
4417
4430
|
*/
|
|
4418
4431
|
async batchRobotSmartCall(request) {
|
|
4419
4432
|
let runtime = new $Util.RuntimeOptions({});
|
|
4420
4433
|
return await this.batchRobotSmartCallWithOptions(request, runtime);
|
|
4421
4434
|
}
|
|
4422
4435
|
/**
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4436
|
+
* Cancels a robocall task that has not been started.
|
|
4437
|
+
*
|
|
4438
|
+
* @remarks
|
|
4439
|
+
* ### QPS limits
|
|
4440
|
+
* You can call this operation up to 100 times per second per account.
|
|
4441
|
+
*
|
|
4442
|
+
* @param request - CancelOrderRobotTaskRequest
|
|
4443
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4444
|
+
* @returns CancelOrderRobotTaskResponse
|
|
4429
4445
|
*/
|
|
4430
4446
|
async cancelOrderRobotTaskWithOptions(request, runtime) {
|
|
4431
4447
|
tea_util_1.default.validateModel(request);
|
|
@@ -4459,24 +4475,30 @@ class Client extends openapi_client_1.default {
|
|
|
4459
4475
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelOrderRobotTaskResponse({}));
|
|
4460
4476
|
}
|
|
4461
4477
|
/**
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4478
|
+
* Cancels a robocall task that has not been started.
|
|
4479
|
+
*
|
|
4480
|
+
* @remarks
|
|
4481
|
+
* ### QPS limits
|
|
4482
|
+
* You can call this operation up to 100 times per second per account.
|
|
4483
|
+
*
|
|
4484
|
+
* @param request - CancelOrderRobotTaskRequest
|
|
4485
|
+
* @returns CancelOrderRobotTaskResponse
|
|
4467
4486
|
*/
|
|
4468
4487
|
async cancelOrderRobotTask(request) {
|
|
4469
4488
|
let runtime = new $Util.RuntimeOptions({});
|
|
4470
4489
|
return await this.cancelOrderRobotTaskWithOptions(request, runtime);
|
|
4471
4490
|
}
|
|
4472
4491
|
/**
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4492
|
+
* Terminates a robocall task.
|
|
4493
|
+
*
|
|
4494
|
+
* @remarks
|
|
4495
|
+
* Only a task in progress can be terminated by calling the CancelRobotTask operation, and the task cannot be resumed after it is terminated.
|
|
4496
|
+
* ### QPS limits
|
|
4497
|
+
* You can call this operation up to 100 times per second per account.
|
|
4498
|
+
*
|
|
4499
|
+
* @param request - CancelRobotTaskRequest
|
|
4500
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4501
|
+
* @returns CancelRobotTaskResponse
|
|
4480
4502
|
*/
|
|
4481
4503
|
async cancelRobotTaskWithOptions(request, runtime) {
|
|
4482
4504
|
tea_util_1.default.validateModel(request);
|
|
@@ -4510,17 +4532,27 @@ class Client extends openapi_client_1.default {
|
|
|
4510
4532
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelRobotTaskResponse({}));
|
|
4511
4533
|
}
|
|
4512
4534
|
/**
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4535
|
+
* Terminates a robocall task.
|
|
4536
|
+
*
|
|
4537
|
+
* @remarks
|
|
4538
|
+
* Only a task in progress can be terminated by calling the CancelRobotTask operation, and the task cannot be resumed after it is terminated.
|
|
4539
|
+
* ### QPS limits
|
|
4540
|
+
* You can call this operation up to 100 times per second per account.
|
|
4541
|
+
*
|
|
4542
|
+
* @param request - CancelRobotTaskRequest
|
|
4543
|
+
* @returns CancelRobotTaskResponse
|
|
4519
4544
|
*/
|
|
4520
4545
|
async cancelRobotTask(request) {
|
|
4521
4546
|
let runtime = new $Util.RuntimeOptions({});
|
|
4522
4547
|
return await this.cancelRobotTaskWithOptions(request, runtime);
|
|
4523
4548
|
}
|
|
4549
|
+
/**
|
|
4550
|
+
* ChangeMediaType
|
|
4551
|
+
*
|
|
4552
|
+
* @param request - ChangeMediaTypeRequest
|
|
4553
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4554
|
+
* @returns ChangeMediaTypeResponse
|
|
4555
|
+
*/
|
|
4524
4556
|
async changeMediaTypeWithOptions(request, runtime) {
|
|
4525
4557
|
tea_util_1.default.validateModel(request);
|
|
4526
4558
|
let query = {};
|
|
@@ -4561,18 +4593,27 @@ class Client extends openapi_client_1.default {
|
|
|
4561
4593
|
});
|
|
4562
4594
|
return $tea.cast(await this.callApi(params, req, runtime), new ChangeMediaTypeResponse({}));
|
|
4563
4595
|
}
|
|
4596
|
+
/**
|
|
4597
|
+
* ChangeMediaType
|
|
4598
|
+
*
|
|
4599
|
+
* @param request - ChangeMediaTypeRequest
|
|
4600
|
+
* @returns ChangeMediaTypeResponse
|
|
4601
|
+
*/
|
|
4564
4602
|
async changeMediaType(request) {
|
|
4565
4603
|
let runtime = new $Util.RuntimeOptions({});
|
|
4566
4604
|
return await this.changeMediaTypeWithOptions(request, runtime);
|
|
4567
4605
|
}
|
|
4568
4606
|
/**
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4607
|
+
* Creates a task for sending voice notifications or voice verification codes.
|
|
4608
|
+
*
|
|
4609
|
+
* @remarks
|
|
4610
|
+
* You can create up to 1,000 voice notifications for each task.
|
|
4611
|
+
* ### QPS limits
|
|
4612
|
+
* You can call this operation up to 100 times per second per account.
|
|
4613
|
+
*
|
|
4614
|
+
* @param request - CreateCallTaskRequest
|
|
4615
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4616
|
+
* @returns CreateCallTaskResponse
|
|
4576
4617
|
*/
|
|
4577
4618
|
async createCallTaskWithOptions(request, runtime) {
|
|
4578
4619
|
tea_util_1.default.validateModel(request);
|
|
@@ -4636,25 +4677,31 @@ class Client extends openapi_client_1.default {
|
|
|
4636
4677
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateCallTaskResponse({}));
|
|
4637
4678
|
}
|
|
4638
4679
|
/**
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4680
|
+
* Creates a task for sending voice notifications or voice verification codes.
|
|
4681
|
+
*
|
|
4682
|
+
* @remarks
|
|
4683
|
+
* You can create up to 1,000 voice notifications for each task.
|
|
4684
|
+
* ### QPS limits
|
|
4685
|
+
* You can call this operation up to 100 times per second per account.
|
|
4686
|
+
*
|
|
4687
|
+
* @param request - CreateCallTaskRequest
|
|
4688
|
+
* @returns CreateCallTaskResponse
|
|
4645
4689
|
*/
|
|
4646
4690
|
async createCallTask(request) {
|
|
4647
4691
|
let runtime = new $Util.RuntimeOptions({});
|
|
4648
4692
|
return await this.createCallTaskWithOptions(request, runtime);
|
|
4649
4693
|
}
|
|
4650
4694
|
/**
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4695
|
+
* Initiates an outbound robocall task.
|
|
4696
|
+
*
|
|
4697
|
+
* @remarks
|
|
4698
|
+
* You can call this operation to initiate an outbound robocall task by using the robot communication scripts preset in the Voice Messaging Service console. In an intelligent speech interaction task, you can use the robot communication scripts preset in the Voice Messaging Service console, or invoke the callback function to return the response mode configured by the business party in each call.
|
|
4699
|
+
* ### QPS limits
|
|
4700
|
+
* You can call this operation up to 100 times per second per account.
|
|
4701
|
+
*
|
|
4702
|
+
* @param request - CreateRobotTaskRequest
|
|
4703
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4704
|
+
* @returns CreateRobotTaskResponse
|
|
4658
4705
|
*/
|
|
4659
4706
|
async createRobotTaskWithOptions(request, runtime) {
|
|
4660
4707
|
tea_util_1.default.validateModel(request);
|
|
@@ -4715,17 +4762,27 @@ class Client extends openapi_client_1.default {
|
|
|
4715
4762
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateRobotTaskResponse({}));
|
|
4716
4763
|
}
|
|
4717
4764
|
/**
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4765
|
+
* Initiates an outbound robocall task.
|
|
4766
|
+
*
|
|
4767
|
+
* @remarks
|
|
4768
|
+
* You can call this operation to initiate an outbound robocall task by using the robot communication scripts preset in the Voice Messaging Service console. In an intelligent speech interaction task, you can use the robot communication scripts preset in the Voice Messaging Service console, or invoke the callback function to return the response mode configured by the business party in each call.
|
|
4769
|
+
* ### QPS limits
|
|
4770
|
+
* You can call this operation up to 100 times per second per account.
|
|
4771
|
+
*
|
|
4772
|
+
* @param request - CreateRobotTaskRequest
|
|
4773
|
+
* @returns CreateRobotTaskResponse
|
|
4724
4774
|
*/
|
|
4725
4775
|
async createRobotTask(request) {
|
|
4726
4776
|
let runtime = new $Util.RuntimeOptions({});
|
|
4727
4777
|
return await this.createRobotTaskWithOptions(request, runtime);
|
|
4728
4778
|
}
|
|
4779
|
+
/**
|
|
4780
|
+
* DegradeVideoFile
|
|
4781
|
+
*
|
|
4782
|
+
* @param request - DegradeVideoFileRequest
|
|
4783
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4784
|
+
* @returns DegradeVideoFileResponse
|
|
4785
|
+
*/
|
|
4729
4786
|
async degradeVideoFileWithOptions(request, runtime) {
|
|
4730
4787
|
tea_util_1.default.validateModel(request);
|
|
4731
4788
|
let query = {};
|
|
@@ -4766,18 +4823,27 @@ class Client extends openapi_client_1.default {
|
|
|
4766
4823
|
});
|
|
4767
4824
|
return $tea.cast(await this.callApi(params, req, runtime), new DegradeVideoFileResponse({}));
|
|
4768
4825
|
}
|
|
4826
|
+
/**
|
|
4827
|
+
* DegradeVideoFile
|
|
4828
|
+
*
|
|
4829
|
+
* @param request - DegradeVideoFileRequest
|
|
4830
|
+
* @returns DegradeVideoFileResponse
|
|
4831
|
+
*/
|
|
4769
4832
|
async degradeVideoFile(request) {
|
|
4770
4833
|
let runtime = new $Util.RuntimeOptions({});
|
|
4771
4834
|
return await this.degradeVideoFileWithOptions(request, runtime);
|
|
4772
4835
|
}
|
|
4773
4836
|
/**
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4837
|
+
* Deletes a robocall task.
|
|
4838
|
+
*
|
|
4839
|
+
* @remarks
|
|
4840
|
+
* You can call this operation to delete only tasks that are not started, that are completed, and that are terminated.
|
|
4841
|
+
* ### QPS limits
|
|
4842
|
+
* You can call this operation up to 100 times per second per account.
|
|
4843
|
+
*
|
|
4844
|
+
* @param request - DeleteRobotTaskRequest
|
|
4845
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4846
|
+
* @returns DeleteRobotTaskResponse
|
|
4781
4847
|
*/
|
|
4782
4848
|
async deleteRobotTaskWithOptions(request, runtime) {
|
|
4783
4849
|
tea_util_1.default.validateModel(request);
|
|
@@ -4811,24 +4877,30 @@ class Client extends openapi_client_1.default {
|
|
|
4811
4877
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteRobotTaskResponse({}));
|
|
4812
4878
|
}
|
|
4813
4879
|
/**
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4880
|
+
* Deletes a robocall task.
|
|
4881
|
+
*
|
|
4882
|
+
* @remarks
|
|
4883
|
+
* You can call this operation to delete only tasks that are not started, that are completed, and that are terminated.
|
|
4884
|
+
* ### QPS limits
|
|
4885
|
+
* You can call this operation up to 100 times per second per account.
|
|
4886
|
+
*
|
|
4887
|
+
* @param request - DeleteRobotTaskRequest
|
|
4888
|
+
* @returns DeleteRobotTaskResponse
|
|
4820
4889
|
*/
|
|
4821
4890
|
async deleteRobotTask(request) {
|
|
4822
4891
|
let runtime = new $Util.RuntimeOptions({});
|
|
4823
4892
|
return await this.deleteRobotTaskWithOptions(request, runtime);
|
|
4824
4893
|
}
|
|
4825
4894
|
/**
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4895
|
+
* Executes a call task.
|
|
4896
|
+
*
|
|
4897
|
+
* @remarks
|
|
4898
|
+
* ### QPS limits
|
|
4899
|
+
* You can call this operation up to 100 times per second per account.
|
|
4900
|
+
*
|
|
4901
|
+
* @param request - ExecuteCallTaskRequest
|
|
4902
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4903
|
+
* @returns ExecuteCallTaskResponse
|
|
4832
4904
|
*/
|
|
4833
4905
|
async executeCallTaskWithOptions(request, runtime) {
|
|
4834
4906
|
tea_util_1.default.validateModel(request);
|
|
@@ -4868,16 +4940,26 @@ class Client extends openapi_client_1.default {
|
|
|
4868
4940
|
return $tea.cast(await this.callApi(params, req, runtime), new ExecuteCallTaskResponse({}));
|
|
4869
4941
|
}
|
|
4870
4942
|
/**
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4943
|
+
* Executes a call task.
|
|
4944
|
+
*
|
|
4945
|
+
* @remarks
|
|
4946
|
+
* ### QPS limits
|
|
4947
|
+
* You can call this operation up to 100 times per second per account.
|
|
4948
|
+
*
|
|
4949
|
+
* @param request - ExecuteCallTaskRequest
|
|
4950
|
+
* @returns ExecuteCallTaskResponse
|
|
4876
4951
|
*/
|
|
4877
4952
|
async executeCallTask(request) {
|
|
4878
4953
|
let runtime = new $Util.RuntimeOptions({});
|
|
4879
4954
|
return await this.executeCallTaskWithOptions(request, runtime);
|
|
4880
4955
|
}
|
|
4956
|
+
/**
|
|
4957
|
+
* GetCallMediaType
|
|
4958
|
+
*
|
|
4959
|
+
* @param request - GetCallMediaTypeRequest
|
|
4960
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4961
|
+
* @returns GetCallMediaTypeResponse
|
|
4962
|
+
*/
|
|
4881
4963
|
async getCallMediaTypeWithOptions(request, runtime) {
|
|
4882
4964
|
tea_util_1.default.validateModel(request);
|
|
4883
4965
|
let query = {};
|
|
@@ -4912,10 +4994,23 @@ class Client extends openapi_client_1.default {
|
|
|
4912
4994
|
});
|
|
4913
4995
|
return $tea.cast(await this.callApi(params, req, runtime), new GetCallMediaTypeResponse({}));
|
|
4914
4996
|
}
|
|
4997
|
+
/**
|
|
4998
|
+
* GetCallMediaType
|
|
4999
|
+
*
|
|
5000
|
+
* @param request - GetCallMediaTypeRequest
|
|
5001
|
+
* @returns GetCallMediaTypeResponse
|
|
5002
|
+
*/
|
|
4915
5003
|
async getCallMediaType(request) {
|
|
4916
5004
|
let runtime = new $Util.RuntimeOptions({});
|
|
4917
5005
|
return await this.getCallMediaTypeWithOptions(request, runtime);
|
|
4918
5006
|
}
|
|
5007
|
+
/**
|
|
5008
|
+
* GetCallProgress
|
|
5009
|
+
*
|
|
5010
|
+
* @param request - GetCallProgressRequest
|
|
5011
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5012
|
+
* @returns GetCallProgressResponse
|
|
5013
|
+
*/
|
|
4919
5014
|
async getCallProgressWithOptions(request, runtime) {
|
|
4920
5015
|
tea_util_1.default.validateModel(request);
|
|
4921
5016
|
let query = {};
|
|
@@ -4950,17 +5045,26 @@ class Client extends openapi_client_1.default {
|
|
|
4950
5045
|
});
|
|
4951
5046
|
return $tea.cast(await this.callApi(params, req, runtime), new GetCallProgressResponse({}));
|
|
4952
5047
|
}
|
|
5048
|
+
/**
|
|
5049
|
+
* GetCallProgress
|
|
5050
|
+
*
|
|
5051
|
+
* @param request - GetCallProgressRequest
|
|
5052
|
+
* @returns GetCallProgressResponse
|
|
5053
|
+
*/
|
|
4953
5054
|
async getCallProgress(request) {
|
|
4954
5055
|
let runtime = new $Util.RuntimeOptions({});
|
|
4955
5056
|
return await this.getCallProgressWithOptions(request, runtime);
|
|
4956
5057
|
}
|
|
4957
5058
|
/**
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
5059
|
+
* Obtains the qualification ID based on the ID of a qualification application ticket.
|
|
5060
|
+
*
|
|
5061
|
+
* @remarks
|
|
5062
|
+
* ### QPS limits
|
|
5063
|
+
* You can call this operation up to 100 times per second per account.
|
|
5064
|
+
*
|
|
5065
|
+
* @param request - GetHotlineQualificationByOrderRequest
|
|
5066
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5067
|
+
* @returns GetHotlineQualificationByOrderResponse
|
|
4964
5068
|
*/
|
|
4965
5069
|
async getHotlineQualificationByOrderWithOptions(request, runtime) {
|
|
4966
5070
|
tea_util_1.default.validateModel(request);
|
|
@@ -4994,16 +5098,26 @@ class Client extends openapi_client_1.default {
|
|
|
4994
5098
|
return $tea.cast(await this.callApi(params, req, runtime), new GetHotlineQualificationByOrderResponse({}));
|
|
4995
5099
|
}
|
|
4996
5100
|
/**
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5101
|
+
* Obtains the qualification ID based on the ID of a qualification application ticket.
|
|
5102
|
+
*
|
|
5103
|
+
* @remarks
|
|
5104
|
+
* ### QPS limits
|
|
5105
|
+
* You can call this operation up to 100 times per second per account.
|
|
5106
|
+
*
|
|
5107
|
+
* @param request - GetHotlineQualificationByOrderRequest
|
|
5108
|
+
* @returns GetHotlineQualificationByOrderResponse
|
|
5002
5109
|
*/
|
|
5003
5110
|
async getHotlineQualificationByOrder(request) {
|
|
5004
5111
|
let runtime = new $Util.RuntimeOptions({});
|
|
5005
5112
|
return await this.getHotlineQualificationByOrderWithOptions(request, runtime);
|
|
5006
5113
|
}
|
|
5114
|
+
/**
|
|
5115
|
+
* GetTemporaryFileUrl
|
|
5116
|
+
*
|
|
5117
|
+
* @param request - GetTemporaryFileUrlRequest
|
|
5118
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5119
|
+
* @returns GetTemporaryFileUrlResponse
|
|
5120
|
+
*/
|
|
5007
5121
|
async getTemporaryFileUrlWithOptions(request, runtime) {
|
|
5008
5122
|
tea_util_1.default.validateModel(request);
|
|
5009
5123
|
let query = {};
|
|
@@ -5035,17 +5149,26 @@ class Client extends openapi_client_1.default {
|
|
|
5035
5149
|
});
|
|
5036
5150
|
return $tea.cast(await this.callApi(params, req, runtime), new GetTemporaryFileUrlResponse({}));
|
|
5037
5151
|
}
|
|
5152
|
+
/**
|
|
5153
|
+
* GetTemporaryFileUrl
|
|
5154
|
+
*
|
|
5155
|
+
* @param request - GetTemporaryFileUrlRequest
|
|
5156
|
+
* @returns GetTemporaryFileUrlResponse
|
|
5157
|
+
*/
|
|
5038
5158
|
async getTemporaryFileUrl(request) {
|
|
5039
5159
|
let runtime = new $Util.RuntimeOptions({});
|
|
5040
5160
|
return await this.getTemporaryFileUrlWithOptions(request, runtime);
|
|
5041
5161
|
}
|
|
5042
5162
|
/**
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5163
|
+
* Obtains the token for authentication.
|
|
5164
|
+
*
|
|
5165
|
+
* @remarks
|
|
5166
|
+
* ### QPS limits
|
|
5167
|
+
* You can call this operation up to five times per second per account.
|
|
5168
|
+
*
|
|
5169
|
+
* @param request - GetTokenRequest
|
|
5170
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5171
|
+
* @returns GetTokenResponse
|
|
5049
5172
|
*/
|
|
5050
5173
|
async getTokenWithOptions(request, runtime) {
|
|
5051
5174
|
tea_util_1.default.validateModel(request);
|
|
@@ -5079,16 +5202,26 @@ class Client extends openapi_client_1.default {
|
|
|
5079
5202
|
return $tea.cast(await this.callApi(params, req, runtime), new GetTokenResponse({}));
|
|
5080
5203
|
}
|
|
5081
5204
|
/**
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5205
|
+
* Obtains the token for authentication.
|
|
5206
|
+
*
|
|
5207
|
+
* @remarks
|
|
5208
|
+
* ### QPS limits
|
|
5209
|
+
* You can call this operation up to five times per second per account.
|
|
5210
|
+
*
|
|
5211
|
+
* @param request - GetTokenRequest
|
|
5212
|
+
* @returns GetTokenResponse
|
|
5087
5213
|
*/
|
|
5088
5214
|
async getToken(request) {
|
|
5089
5215
|
let runtime = new $Util.RuntimeOptions({});
|
|
5090
5216
|
return await this.getTokenWithOptions(request, runtime);
|
|
5091
5217
|
}
|
|
5218
|
+
/**
|
|
5219
|
+
* GetVideoFieldUrl
|
|
5220
|
+
*
|
|
5221
|
+
* @param request - GetVideoFieldUrlRequest
|
|
5222
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5223
|
+
* @returns GetVideoFieldUrlResponse
|
|
5224
|
+
*/
|
|
5092
5225
|
async getVideoFieldUrlWithOptions(request, runtime) {
|
|
5093
5226
|
tea_util_1.default.validateModel(request);
|
|
5094
5227
|
let query = {};
|
|
@@ -5120,20 +5253,29 @@ class Client extends openapi_client_1.default {
|
|
|
5120
5253
|
});
|
|
5121
5254
|
return $tea.cast(await this.callApi(params, req, runtime), new GetVideoFieldUrlResponse({}));
|
|
5122
5255
|
}
|
|
5256
|
+
/**
|
|
5257
|
+
* GetVideoFieldUrl
|
|
5258
|
+
*
|
|
5259
|
+
* @param request - GetVideoFieldUrlRequest
|
|
5260
|
+
* @returns GetVideoFieldUrlResponse
|
|
5261
|
+
*/
|
|
5123
5262
|
async getVideoFieldUrl(request) {
|
|
5124
5263
|
let runtime = new $Util.RuntimeOptions({});
|
|
5125
5264
|
return await this.getVideoFieldUrlWithOptions(request, runtime);
|
|
5126
5265
|
}
|
|
5127
5266
|
/**
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5267
|
+
* Initiates an interactive voice response (IVR) call to a specified number.
|
|
5268
|
+
*
|
|
5269
|
+
* @remarks
|
|
5270
|
+
* Your enterprise qualification is approved. For more information, see [Submit enterprise qualifications](https://help.aliyun.com/document_detail/149795.html).
|
|
5271
|
+
* * Voice numbers are purchased. For more information, see [Purchase numbers](https://help.aliyun.com/document_detail/149794.html).
|
|
5272
|
+
* * When the subscriber answers the call, the subscriber hears a voice that instructs the subscriber to press a key as needed. If the [message receipt](https://help.aliyun.com/document_detail/112503.html) feature is enabled, the Voice Messaging Service (VMS) platform returns the information about the key pressed by the subscriber to the business system. The key information includes the order confirmation, questionnaire survey, and satisfaction survey completed by the subscriber.
|
|
5273
|
+
* ## QPS limits
|
|
5274
|
+
* You can call this operation up to 100 times per second per account.
|
|
5275
|
+
*
|
|
5276
|
+
* @param request - IvrCallRequest
|
|
5277
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5278
|
+
* @returns IvrCallResponse
|
|
5137
5279
|
*/
|
|
5138
5280
|
async ivrCallWithOptions(request, runtime) {
|
|
5139
5281
|
tea_util_1.default.validateModel(request);
|
|
@@ -5194,26 +5336,32 @@ class Client extends openapi_client_1.default {
|
|
|
5194
5336
|
return $tea.cast(await this.callApi(params, req, runtime), new IvrCallResponse({}));
|
|
5195
5337
|
}
|
|
5196
5338
|
/**
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5339
|
+
* Initiates an interactive voice response (IVR) call to a specified number.
|
|
5340
|
+
*
|
|
5341
|
+
* @remarks
|
|
5342
|
+
* Your enterprise qualification is approved. For more information, see [Submit enterprise qualifications](https://help.aliyun.com/document_detail/149795.html).
|
|
5343
|
+
* * Voice numbers are purchased. For more information, see [Purchase numbers](https://help.aliyun.com/document_detail/149794.html).
|
|
5344
|
+
* * When the subscriber answers the call, the subscriber hears a voice that instructs the subscriber to press a key as needed. If the [message receipt](https://help.aliyun.com/document_detail/112503.html) feature is enabled, the Voice Messaging Service (VMS) platform returns the information about the key pressed by the subscriber to the business system. The key information includes the order confirmation, questionnaire survey, and satisfaction survey completed by the subscriber.
|
|
5345
|
+
* ## QPS limits
|
|
5346
|
+
* You can call this operation up to 100 times per second per account.
|
|
5347
|
+
*
|
|
5348
|
+
* @param request - IvrCallRequest
|
|
5349
|
+
* @returns IvrCallResponse
|
|
5205
5350
|
*/
|
|
5206
5351
|
async ivrCall(request) {
|
|
5207
5352
|
let runtime = new $Util.RuntimeOptions({});
|
|
5208
5353
|
return await this.ivrCallWithOptions(request, runtime);
|
|
5209
5354
|
}
|
|
5210
5355
|
/**
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5356
|
+
* Queries task information.
|
|
5357
|
+
*
|
|
5358
|
+
* @remarks
|
|
5359
|
+
* ### QPS limits
|
|
5360
|
+
* You can call this operation up to 100 times per second per account.
|
|
5361
|
+
*
|
|
5362
|
+
* @param request - ListCallTaskRequest
|
|
5363
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5364
|
+
* @returns ListCallTaskResponse
|
|
5217
5365
|
*/
|
|
5218
5366
|
async listCallTaskWithOptions(request, runtime) {
|
|
5219
5367
|
tea_util_1.default.validateModel(request);
|
|
@@ -5265,23 +5413,29 @@ class Client extends openapi_client_1.default {
|
|
|
5265
5413
|
return $tea.cast(await this.callApi(params, req, runtime), new ListCallTaskResponse({}));
|
|
5266
5414
|
}
|
|
5267
5415
|
/**
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5416
|
+
* Queries task information.
|
|
5417
|
+
*
|
|
5418
|
+
* @remarks
|
|
5419
|
+
* ### QPS limits
|
|
5420
|
+
* You can call this operation up to 100 times per second per account.
|
|
5421
|
+
*
|
|
5422
|
+
* @param request - ListCallTaskRequest
|
|
5423
|
+
* @returns ListCallTaskResponse
|
|
5273
5424
|
*/
|
|
5274
5425
|
async listCallTask(request) {
|
|
5275
5426
|
let runtime = new $Util.RuntimeOptions({});
|
|
5276
5427
|
return await this.listCallTaskWithOptions(request, runtime);
|
|
5277
5428
|
}
|
|
5278
5429
|
/**
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5430
|
+
* Queries the information about a task based on the task ID.
|
|
5431
|
+
*
|
|
5432
|
+
* @remarks
|
|
5433
|
+
* ### QPS limits
|
|
5434
|
+
* You can call this operation up to 100 times per second per account.
|
|
5435
|
+
*
|
|
5436
|
+
* @param request - ListCallTaskDetailRequest
|
|
5437
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5438
|
+
* @returns ListCallTaskDetailResponse
|
|
5285
5439
|
*/
|
|
5286
5440
|
async listCallTaskDetailWithOptions(request, runtime) {
|
|
5287
5441
|
tea_util_1.default.validateModel(request);
|
|
@@ -5327,23 +5481,29 @@ class Client extends openapi_client_1.default {
|
|
|
5327
5481
|
return $tea.cast(await this.callApi(params, req, runtime), new ListCallTaskDetailResponse({}));
|
|
5328
5482
|
}
|
|
5329
5483
|
/**
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5484
|
+
* Queries the information about a task based on the task ID.
|
|
5485
|
+
*
|
|
5486
|
+
* @remarks
|
|
5487
|
+
* ### QPS limits
|
|
5488
|
+
* You can call this operation up to 100 times per second per account.
|
|
5489
|
+
*
|
|
5490
|
+
* @param request - ListCallTaskDetailRequest
|
|
5491
|
+
* @returns ListCallTaskDetailResponse
|
|
5335
5492
|
*/
|
|
5336
5493
|
async listCallTaskDetail(request) {
|
|
5337
5494
|
let runtime = new $Util.RuntimeOptions({});
|
|
5338
5495
|
return await this.listCallTaskDetailWithOptions(request, runtime);
|
|
5339
5496
|
}
|
|
5340
5497
|
/**
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5498
|
+
* Queries a list of registered phone numbers that are used to transfer calls.
|
|
5499
|
+
*
|
|
5500
|
+
* @remarks
|
|
5501
|
+
* ### QPS limits
|
|
5502
|
+
* You can call this operation up to 100 times per second per account.
|
|
5503
|
+
*
|
|
5504
|
+
* @param request - ListHotlineTransferNumberRequest
|
|
5505
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5506
|
+
* @returns ListHotlineTransferNumberResponse
|
|
5347
5507
|
*/
|
|
5348
5508
|
async listHotlineTransferNumberWithOptions(request, runtime) {
|
|
5349
5509
|
tea_util_1.default.validateModel(request);
|
|
@@ -5386,23 +5546,29 @@ class Client extends openapi_client_1.default {
|
|
|
5386
5546
|
return $tea.cast(await this.callApi(params, req, runtime), new ListHotlineTransferNumberResponse({}));
|
|
5387
5547
|
}
|
|
5388
5548
|
/**
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5549
|
+
* Queries a list of registered phone numbers that are used to transfer calls.
|
|
5550
|
+
*
|
|
5551
|
+
* @remarks
|
|
5552
|
+
* ### QPS limits
|
|
5553
|
+
* You can call this operation up to 100 times per second per account.
|
|
5554
|
+
*
|
|
5555
|
+
* @param request - ListHotlineTransferNumberRequest
|
|
5556
|
+
* @returns ListHotlineTransferNumberResponse
|
|
5394
5557
|
*/
|
|
5395
5558
|
async listHotlineTransferNumber(request) {
|
|
5396
5559
|
let runtime = new $Util.RuntimeOptions({});
|
|
5397
5560
|
return await this.listHotlineTransferNumberWithOptions(request, runtime);
|
|
5398
5561
|
}
|
|
5399
5562
|
/**
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5563
|
+
* Queries the registration information about a China 400 number.
|
|
5564
|
+
*
|
|
5565
|
+
* @remarks
|
|
5566
|
+
* ### QPS limits
|
|
5567
|
+
* You can call this operation up to 100 times per second per account.
|
|
5568
|
+
*
|
|
5569
|
+
* @param request - ListHotlineTransferRegisterFileRequest
|
|
5570
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5571
|
+
* @returns ListHotlineTransferRegisterFileResponse
|
|
5406
5572
|
*/
|
|
5407
5573
|
async listHotlineTransferRegisterFileWithOptions(request, runtime) {
|
|
5408
5574
|
tea_util_1.default.validateModel(request);
|
|
@@ -5445,16 +5611,26 @@ class Client extends openapi_client_1.default {
|
|
|
5445
5611
|
return $tea.cast(await this.callApi(params, req, runtime), new ListHotlineTransferRegisterFileResponse({}));
|
|
5446
5612
|
}
|
|
5447
5613
|
/**
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5614
|
+
* Queries the registration information about a China 400 number.
|
|
5615
|
+
*
|
|
5616
|
+
* @remarks
|
|
5617
|
+
* ### QPS limits
|
|
5618
|
+
* You can call this operation up to 100 times per second per account.
|
|
5619
|
+
*
|
|
5620
|
+
* @param request - ListHotlineTransferRegisterFileRequest
|
|
5621
|
+
* @returns ListHotlineTransferRegisterFileResponse
|
|
5453
5622
|
*/
|
|
5454
5623
|
async listHotlineTransferRegisterFile(request) {
|
|
5455
5624
|
let runtime = new $Util.RuntimeOptions({});
|
|
5456
5625
|
return await this.listHotlineTransferRegisterFileWithOptions(request, runtime);
|
|
5457
5626
|
}
|
|
5627
|
+
/**
|
|
5628
|
+
* PauseVideoFile
|
|
5629
|
+
*
|
|
5630
|
+
* @param request - PauseVideoFileRequest
|
|
5631
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5632
|
+
* @returns PauseVideoFileResponse
|
|
5633
|
+
*/
|
|
5458
5634
|
async pauseVideoFileWithOptions(request, runtime) {
|
|
5459
5635
|
tea_util_1.default.validateModel(request);
|
|
5460
5636
|
let query = {};
|
|
@@ -5489,10 +5665,23 @@ class Client extends openapi_client_1.default {
|
|
|
5489
5665
|
});
|
|
5490
5666
|
return $tea.cast(await this.callApi(params, req, runtime), new PauseVideoFileResponse({}));
|
|
5491
5667
|
}
|
|
5668
|
+
/**
|
|
5669
|
+
* PauseVideoFile
|
|
5670
|
+
*
|
|
5671
|
+
* @param request - PauseVideoFileRequest
|
|
5672
|
+
* @returns PauseVideoFileResponse
|
|
5673
|
+
*/
|
|
5492
5674
|
async pauseVideoFile(request) {
|
|
5493
5675
|
let runtime = new $Util.RuntimeOptions({});
|
|
5494
5676
|
return await this.pauseVideoFileWithOptions(request, runtime);
|
|
5495
5677
|
}
|
|
5678
|
+
/**
|
|
5679
|
+
* PlayVideoFile
|
|
5680
|
+
*
|
|
5681
|
+
* @param request - PlayVideoFileRequest
|
|
5682
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5683
|
+
* @returns PlayVideoFileResponse
|
|
5684
|
+
*/
|
|
5496
5685
|
async playVideoFileWithOptions(request, runtime) {
|
|
5497
5686
|
tea_util_1.default.validateModel(request);
|
|
5498
5687
|
let query = {};
|
|
@@ -5502,6 +5691,9 @@ class Client extends openapi_client_1.default {
|
|
|
5502
5691
|
if (!tea_util_1.default.isUnset(request.calledNumber)) {
|
|
5503
5692
|
query["CalledNumber"] = request.calledNumber;
|
|
5504
5693
|
}
|
|
5694
|
+
if (!tea_util_1.default.isUnset(request.onlyPhone)) {
|
|
5695
|
+
query["OnlyPhone"] = request.onlyPhone;
|
|
5696
|
+
}
|
|
5505
5697
|
if (!tea_util_1.default.isUnset(request.outId)) {
|
|
5506
5698
|
query["OutId"] = request.outId;
|
|
5507
5699
|
}
|
|
@@ -5533,18 +5725,27 @@ class Client extends openapi_client_1.default {
|
|
|
5533
5725
|
});
|
|
5534
5726
|
return $tea.cast(await this.callApi(params, req, runtime), new PlayVideoFileResponse({}));
|
|
5535
5727
|
}
|
|
5728
|
+
/**
|
|
5729
|
+
* PlayVideoFile
|
|
5730
|
+
*
|
|
5731
|
+
* @param request - PlayVideoFileRequest
|
|
5732
|
+
* @returns PlayVideoFileResponse
|
|
5733
|
+
*/
|
|
5536
5734
|
async playVideoFile(request) {
|
|
5537
5735
|
let runtime = new $Util.RuntimeOptions({});
|
|
5538
5736
|
return await this.playVideoFileWithOptions(request, runtime);
|
|
5539
5737
|
}
|
|
5540
5738
|
/**
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5739
|
+
* Queries the details of a call.
|
|
5740
|
+
*
|
|
5741
|
+
* @remarks
|
|
5742
|
+
* QueryCallDetailByCallId is a common query operation. You can call this operation to query the details of a voice notification, voice verification code, interactive voice response (IVR), intelligent inbound voice call, intelligent outbound voice call, or intelligent robocall.
|
|
5743
|
+
* ### QPS limits
|
|
5744
|
+
* You can call this operation up to 100 times per second per account.
|
|
5745
|
+
*
|
|
5746
|
+
* @param request - QueryCallDetailByCallIdRequest
|
|
5747
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5748
|
+
* @returns QueryCallDetailByCallIdResponse
|
|
5548
5749
|
*/
|
|
5549
5750
|
async queryCallDetailByCallIdWithOptions(request, runtime) {
|
|
5550
5751
|
tea_util_1.default.validateModel(request);
|
|
@@ -5584,17 +5785,27 @@ class Client extends openapi_client_1.default {
|
|
|
5584
5785
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryCallDetailByCallIdResponse({}));
|
|
5585
5786
|
}
|
|
5586
5787
|
/**
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5788
|
+
* Queries the details of a call.
|
|
5789
|
+
*
|
|
5790
|
+
* @remarks
|
|
5791
|
+
* QueryCallDetailByCallId is a common query operation. You can call this operation to query the details of a voice notification, voice verification code, interactive voice response (IVR), intelligent inbound voice call, intelligent outbound voice call, or intelligent robocall.
|
|
5792
|
+
* ### QPS limits
|
|
5793
|
+
* You can call this operation up to 100 times per second per account.
|
|
5794
|
+
*
|
|
5795
|
+
* @param request - QueryCallDetailByCallIdRequest
|
|
5796
|
+
* @returns QueryCallDetailByCallIdResponse
|
|
5593
5797
|
*/
|
|
5594
5798
|
async queryCallDetailByCallId(request) {
|
|
5595
5799
|
let runtime = new $Util.RuntimeOptions({});
|
|
5596
5800
|
return await this.queryCallDetailByCallIdWithOptions(request, runtime);
|
|
5597
5801
|
}
|
|
5802
|
+
/**
|
|
5803
|
+
* Queries the call details of an outbound robocall task.
|
|
5804
|
+
*
|
|
5805
|
+
* @param request - QueryCallDetailByTaskIdRequest
|
|
5806
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5807
|
+
* @returns QueryCallDetailByTaskIdResponse
|
|
5808
|
+
*/
|
|
5598
5809
|
async queryCallDetailByTaskIdWithOptions(request, runtime) {
|
|
5599
5810
|
tea_util_1.default.validateModel(request);
|
|
5600
5811
|
let query = {};
|
|
@@ -5632,17 +5843,26 @@ class Client extends openapi_client_1.default {
|
|
|
5632
5843
|
});
|
|
5633
5844
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryCallDetailByTaskIdResponse({}));
|
|
5634
5845
|
}
|
|
5846
|
+
/**
|
|
5847
|
+
* Queries the call details of an outbound robocall task.
|
|
5848
|
+
*
|
|
5849
|
+
* @param request - QueryCallDetailByTaskIdRequest
|
|
5850
|
+
* @returns QueryCallDetailByTaskIdResponse
|
|
5851
|
+
*/
|
|
5635
5852
|
async queryCallDetailByTaskId(request) {
|
|
5636
5853
|
let runtime = new $Util.RuntimeOptions({});
|
|
5637
5854
|
return await this.queryCallDetailByTaskIdWithOptions(request, runtime);
|
|
5638
5855
|
}
|
|
5639
5856
|
/**
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5857
|
+
* Queries the configuration of the phone number used to transfer a call.
|
|
5858
|
+
*
|
|
5859
|
+
* @remarks
|
|
5860
|
+
* ### QPS limits
|
|
5861
|
+
* You can call this operation up to 100 times per second per account.
|
|
5862
|
+
*
|
|
5863
|
+
* @param request - QueryCallInPoolTransferConfigRequest
|
|
5864
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5865
|
+
* @returns QueryCallInPoolTransferConfigResponse
|
|
5646
5866
|
*/
|
|
5647
5867
|
async queryCallInPoolTransferConfigWithOptions(request, runtime) {
|
|
5648
5868
|
tea_util_1.default.validateModel(request);
|
|
@@ -5676,23 +5896,29 @@ class Client extends openapi_client_1.default {
|
|
|
5676
5896
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryCallInPoolTransferConfigResponse({}));
|
|
5677
5897
|
}
|
|
5678
5898
|
/**
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5899
|
+
* Queries the configuration of the phone number used to transfer a call.
|
|
5900
|
+
*
|
|
5901
|
+
* @remarks
|
|
5902
|
+
* ### QPS limits
|
|
5903
|
+
* You can call this operation up to 100 times per second per account.
|
|
5904
|
+
*
|
|
5905
|
+
* @param request - QueryCallInPoolTransferConfigRequest
|
|
5906
|
+
* @returns QueryCallInPoolTransferConfigResponse
|
|
5684
5907
|
*/
|
|
5685
5908
|
async queryCallInPoolTransferConfig(request) {
|
|
5686
5909
|
let runtime = new $Util.RuntimeOptions({});
|
|
5687
5910
|
return await this.queryCallInPoolTransferConfigWithOptions(request, runtime);
|
|
5688
5911
|
}
|
|
5689
5912
|
/**
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5913
|
+
* Queries call transfer records.
|
|
5914
|
+
*
|
|
5915
|
+
* @remarks
|
|
5916
|
+
* ### QPS limits
|
|
5917
|
+
* You can call this operation up to 100 times per second per account.
|
|
5918
|
+
*
|
|
5919
|
+
* @param request - QueryCallInTransferRecordRequest
|
|
5920
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5921
|
+
* @returns QueryCallInTransferRecordResponse
|
|
5696
5922
|
*/
|
|
5697
5923
|
async queryCallInTransferRecordWithOptions(request, runtime) {
|
|
5698
5924
|
tea_util_1.default.validateModel(request);
|
|
@@ -5738,16 +5964,26 @@ class Client extends openapi_client_1.default {
|
|
|
5738
5964
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryCallInTransferRecordResponse({}));
|
|
5739
5965
|
}
|
|
5740
5966
|
/**
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5967
|
+
* Queries call transfer records.
|
|
5968
|
+
*
|
|
5969
|
+
* @remarks
|
|
5970
|
+
* ### QPS limits
|
|
5971
|
+
* You can call this operation up to 100 times per second per account.
|
|
5972
|
+
*
|
|
5973
|
+
* @param request - QueryCallInTransferRecordRequest
|
|
5974
|
+
* @returns QueryCallInTransferRecordResponse
|
|
5746
5975
|
*/
|
|
5747
5976
|
async queryCallInTransferRecord(request) {
|
|
5748
5977
|
let runtime = new $Util.RuntimeOptions({});
|
|
5749
5978
|
return await this.queryCallInTransferRecordWithOptions(request, runtime);
|
|
5750
5979
|
}
|
|
5980
|
+
/**
|
|
5981
|
+
* Queries a list of robots.
|
|
5982
|
+
*
|
|
5983
|
+
* @param request - QueryRobotInfoListRequest
|
|
5984
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5985
|
+
* @returns QueryRobotInfoListResponse
|
|
5986
|
+
*/
|
|
5751
5987
|
async queryRobotInfoListWithOptions(request, runtime) {
|
|
5752
5988
|
tea_util_1.default.validateModel(request);
|
|
5753
5989
|
let query = {};
|
|
@@ -5779,17 +6015,26 @@ class Client extends openapi_client_1.default {
|
|
|
5779
6015
|
});
|
|
5780
6016
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryRobotInfoListResponse({}));
|
|
5781
6017
|
}
|
|
6018
|
+
/**
|
|
6019
|
+
* Queries a list of robots.
|
|
6020
|
+
*
|
|
6021
|
+
* @param request - QueryRobotInfoListRequest
|
|
6022
|
+
* @returns QueryRobotInfoListResponse
|
|
6023
|
+
*/
|
|
5782
6024
|
async queryRobotInfoList(request) {
|
|
5783
6025
|
let runtime = new $Util.RuntimeOptions({});
|
|
5784
6026
|
return await this.queryRobotInfoListWithOptions(request, runtime);
|
|
5785
6027
|
}
|
|
5786
6028
|
/**
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
6029
|
+
* Queries the call details of a called number in a robocall task.
|
|
6030
|
+
*
|
|
6031
|
+
* @remarks
|
|
6032
|
+
* ### QPS limits
|
|
6033
|
+
* You can call this operation up to 100 times per second per account.
|
|
6034
|
+
*
|
|
6035
|
+
* @param request - QueryRobotTaskCallDetailRequest
|
|
6036
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6037
|
+
* @returns QueryRobotTaskCallDetailResponse
|
|
5793
6038
|
*/
|
|
5794
6039
|
async queryRobotTaskCallDetailWithOptions(request, runtime) {
|
|
5795
6040
|
tea_util_1.default.validateModel(request);
|
|
@@ -5829,23 +6074,29 @@ class Client extends openapi_client_1.default {
|
|
|
5829
6074
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryRobotTaskCallDetailResponse({}));
|
|
5830
6075
|
}
|
|
5831
6076
|
/**
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
6077
|
+
* Queries the call details of a called number in a robocall task.
|
|
6078
|
+
*
|
|
6079
|
+
* @remarks
|
|
6080
|
+
* ### QPS limits
|
|
6081
|
+
* You can call this operation up to 100 times per second per account.
|
|
6082
|
+
*
|
|
6083
|
+
* @param request - QueryRobotTaskCallDetailRequest
|
|
6084
|
+
* @returns QueryRobotTaskCallDetailResponse
|
|
5837
6085
|
*/
|
|
5838
6086
|
async queryRobotTaskCallDetail(request) {
|
|
5839
6087
|
let runtime = new $Util.RuntimeOptions({});
|
|
5840
6088
|
return await this.queryRobotTaskCallDetailWithOptions(request, runtime);
|
|
5841
6089
|
}
|
|
5842
6090
|
/**
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
6091
|
+
* Queries the information about a robocall task.
|
|
6092
|
+
*
|
|
6093
|
+
* @remarks
|
|
6094
|
+
* ### QPS limits
|
|
6095
|
+
* You can call this operation up to 100 times per second per account.
|
|
6096
|
+
*
|
|
6097
|
+
* @param request - QueryRobotTaskCallListRequest
|
|
6098
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6099
|
+
* @returns QueryRobotTaskCallListResponse
|
|
5849
6100
|
*/
|
|
5850
6101
|
async queryRobotTaskCallListWithOptions(request, runtime) {
|
|
5851
6102
|
tea_util_1.default.validateModel(request);
|
|
@@ -5906,23 +6157,29 @@ class Client extends openapi_client_1.default {
|
|
|
5906
6157
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryRobotTaskCallListResponse({}));
|
|
5907
6158
|
}
|
|
5908
6159
|
/**
|
|
5909
|
-
|
|
5910
|
-
|
|
5911
|
-
|
|
5912
|
-
|
|
5913
|
-
|
|
6160
|
+
* Queries the information about a robocall task.
|
|
6161
|
+
*
|
|
6162
|
+
* @remarks
|
|
6163
|
+
* ### QPS limits
|
|
6164
|
+
* You can call this operation up to 100 times per second per account.
|
|
6165
|
+
*
|
|
6166
|
+
* @param request - QueryRobotTaskCallListRequest
|
|
6167
|
+
* @returns QueryRobotTaskCallListResponse
|
|
5914
6168
|
*/
|
|
5915
6169
|
async queryRobotTaskCallList(request) {
|
|
5916
6170
|
let runtime = new $Util.RuntimeOptions({});
|
|
5917
6171
|
return await this.queryRobotTaskCallListWithOptions(request, runtime);
|
|
5918
6172
|
}
|
|
5919
6173
|
/**
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
6174
|
+
* Queries the details of a robocall task.
|
|
6175
|
+
*
|
|
6176
|
+
* @remarks
|
|
6177
|
+
* ### QPS limits
|
|
6178
|
+
* You can call this operation up to 100 times per second per account.
|
|
6179
|
+
*
|
|
6180
|
+
* @param request - QueryRobotTaskDetailRequest
|
|
6181
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6182
|
+
* @returns QueryRobotTaskDetailResponse
|
|
5926
6183
|
*/
|
|
5927
6184
|
async queryRobotTaskDetailWithOptions(request, runtime) {
|
|
5928
6185
|
tea_util_1.default.validateModel(request);
|
|
@@ -5956,23 +6213,29 @@ class Client extends openapi_client_1.default {
|
|
|
5956
6213
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryRobotTaskDetailResponse({}));
|
|
5957
6214
|
}
|
|
5958
6215
|
/**
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
6216
|
+
* Queries the details of a robocall task.
|
|
6217
|
+
*
|
|
6218
|
+
* @remarks
|
|
6219
|
+
* ### QPS limits
|
|
6220
|
+
* You can call this operation up to 100 times per second per account.
|
|
6221
|
+
*
|
|
6222
|
+
* @param request - QueryRobotTaskDetailRequest
|
|
6223
|
+
* @returns QueryRobotTaskDetailResponse
|
|
5964
6224
|
*/
|
|
5965
6225
|
async queryRobotTaskDetail(request) {
|
|
5966
6226
|
let runtime = new $Util.RuntimeOptions({});
|
|
5967
6227
|
return await this.queryRobotTaskDetailWithOptions(request, runtime);
|
|
5968
6228
|
}
|
|
5969
6229
|
/**
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
6230
|
+
* Queries the information about all robocall tasks.
|
|
6231
|
+
*
|
|
6232
|
+
* @remarks
|
|
6233
|
+
* ### QPS limits
|
|
6234
|
+
* You can call this operation up to 100 times per second per account.
|
|
6235
|
+
*
|
|
6236
|
+
* @param request - QueryRobotTaskListRequest
|
|
6237
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6238
|
+
* @returns QueryRobotTaskListResponse
|
|
5976
6239
|
*/
|
|
5977
6240
|
async queryRobotTaskListWithOptions(request, runtime) {
|
|
5978
6241
|
tea_util_1.default.validateModel(request);
|
|
@@ -6018,23 +6281,29 @@ class Client extends openapi_client_1.default {
|
|
|
6018
6281
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryRobotTaskListResponse({}));
|
|
6019
6282
|
}
|
|
6020
6283
|
/**
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6284
|
+
* Queries the information about all robocall tasks.
|
|
6285
|
+
*
|
|
6286
|
+
* @remarks
|
|
6287
|
+
* ### QPS limits
|
|
6288
|
+
* You can call this operation up to 100 times per second per account.
|
|
6289
|
+
*
|
|
6290
|
+
* @param request - QueryRobotTaskListRequest
|
|
6291
|
+
* @returns QueryRobotTaskListResponse
|
|
6026
6292
|
*/
|
|
6027
6293
|
async queryRobotTaskList(request) {
|
|
6028
6294
|
let runtime = new $Util.RuntimeOptions({});
|
|
6029
6295
|
return await this.queryRobotTaskListWithOptions(request, runtime);
|
|
6030
6296
|
}
|
|
6031
6297
|
/**
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6298
|
+
* Queries a list of robot communication scripts.
|
|
6299
|
+
*
|
|
6300
|
+
* @remarks
|
|
6301
|
+
* ### QPS limits
|
|
6302
|
+
* You can call this operation up to 100 times per second per account.
|
|
6303
|
+
*
|
|
6304
|
+
* @param request - QueryRobotv2AllListRequest
|
|
6305
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6306
|
+
* @returns QueryRobotv2AllListResponse
|
|
6038
6307
|
*/
|
|
6039
6308
|
async queryRobotv2AllListWithOptions(request, runtime) {
|
|
6040
6309
|
tea_util_1.default.validateModel(request);
|
|
@@ -6065,16 +6334,26 @@ class Client extends openapi_client_1.default {
|
|
|
6065
6334
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryRobotv2AllListResponse({}));
|
|
6066
6335
|
}
|
|
6067
6336
|
/**
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6337
|
+
* Queries a list of robot communication scripts.
|
|
6338
|
+
*
|
|
6339
|
+
* @remarks
|
|
6340
|
+
* ### QPS limits
|
|
6341
|
+
* You can call this operation up to 100 times per second per account.
|
|
6342
|
+
*
|
|
6343
|
+
* @param request - QueryRobotv2AllListRequest
|
|
6344
|
+
* @returns QueryRobotv2AllListResponse
|
|
6073
6345
|
*/
|
|
6074
6346
|
async queryRobotv2AllList(request) {
|
|
6075
6347
|
let runtime = new $Util.RuntimeOptions({});
|
|
6076
6348
|
return await this.queryRobotv2AllListWithOptions(request, runtime);
|
|
6077
6349
|
}
|
|
6350
|
+
/**
|
|
6351
|
+
* QueryVideoPlayProgress
|
|
6352
|
+
*
|
|
6353
|
+
* @param request - QueryVideoPlayProgressRequest
|
|
6354
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6355
|
+
* @returns QueryVideoPlayProgressResponse
|
|
6356
|
+
*/
|
|
6078
6357
|
async queryVideoPlayProgressWithOptions(request, runtime) {
|
|
6079
6358
|
tea_util_1.default.validateModel(request);
|
|
6080
6359
|
let query = {};
|
|
@@ -6109,17 +6388,26 @@ class Client extends openapi_client_1.default {
|
|
|
6109
6388
|
});
|
|
6110
6389
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryVideoPlayProgressResponse({}));
|
|
6111
6390
|
}
|
|
6391
|
+
/**
|
|
6392
|
+
* QueryVideoPlayProgress
|
|
6393
|
+
*
|
|
6394
|
+
* @param request - QueryVideoPlayProgressRequest
|
|
6395
|
+
* @returns QueryVideoPlayProgressResponse
|
|
6396
|
+
*/
|
|
6112
6397
|
async queryVideoPlayProgress(request) {
|
|
6113
6398
|
let runtime = new $Util.RuntimeOptions({});
|
|
6114
6399
|
return await this.queryVideoPlayProgressWithOptions(request, runtime);
|
|
6115
6400
|
}
|
|
6116
6401
|
/**
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6402
|
+
* Queries a list of virtual numbers.
|
|
6403
|
+
*
|
|
6404
|
+
* @remarks
|
|
6405
|
+
* ### QPS limits
|
|
6406
|
+
* You can call this operation up to 100 times per second per account.
|
|
6407
|
+
*
|
|
6408
|
+
* @param request - QueryVirtualNumberRequest
|
|
6409
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6410
|
+
* @returns QueryVirtualNumberResponse
|
|
6123
6411
|
*/
|
|
6124
6412
|
async queryVirtualNumberWithOptions(request, runtime) {
|
|
6125
6413
|
tea_util_1.default.validateModel(request);
|
|
@@ -6162,23 +6450,29 @@ class Client extends openapi_client_1.default {
|
|
|
6162
6450
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryVirtualNumberResponse({}));
|
|
6163
6451
|
}
|
|
6164
6452
|
/**
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6453
|
+
* Queries a list of virtual numbers.
|
|
6454
|
+
*
|
|
6455
|
+
* @remarks
|
|
6456
|
+
* ### QPS limits
|
|
6457
|
+
* You can call this operation up to 100 times per second per account.
|
|
6458
|
+
*
|
|
6459
|
+
* @param request - QueryVirtualNumberRequest
|
|
6460
|
+
* @returns QueryVirtualNumberResponse
|
|
6170
6461
|
*/
|
|
6171
6462
|
async queryVirtualNumber(request) {
|
|
6172
6463
|
let runtime = new $Util.RuntimeOptions({});
|
|
6173
6464
|
return await this.queryVirtualNumberWithOptions(request, runtime);
|
|
6174
6465
|
}
|
|
6175
6466
|
/**
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6467
|
+
* Queries a list of associations between virtual numbers and real numbers.
|
|
6468
|
+
*
|
|
6469
|
+
* @remarks
|
|
6470
|
+
* ### QPS limits
|
|
6471
|
+
* You can call this operation up to 200 times per second per account.
|
|
6472
|
+
*
|
|
6473
|
+
* @param request - QueryVirtualNumberRelationRequest
|
|
6474
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6475
|
+
* @returns QueryVirtualNumberRelationResponse
|
|
6182
6476
|
*/
|
|
6183
6477
|
async queryVirtualNumberRelationWithOptions(request, runtime) {
|
|
6184
6478
|
tea_util_1.default.validateModel(request);
|
|
@@ -6236,16 +6530,26 @@ class Client extends openapi_client_1.default {
|
|
|
6236
6530
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryVirtualNumberRelationResponse({}));
|
|
6237
6531
|
}
|
|
6238
6532
|
/**
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
|
|
6533
|
+
* Queries a list of associations between virtual numbers and real numbers.
|
|
6534
|
+
*
|
|
6535
|
+
* @remarks
|
|
6536
|
+
* ### QPS limits
|
|
6537
|
+
* You can call this operation up to 200 times per second per account.
|
|
6538
|
+
*
|
|
6539
|
+
* @param request - QueryVirtualNumberRelationRequest
|
|
6540
|
+
* @returns QueryVirtualNumberRelationResponse
|
|
6244
6541
|
*/
|
|
6245
6542
|
async queryVirtualNumberRelation(request) {
|
|
6246
6543
|
let runtime = new $Util.RuntimeOptions({});
|
|
6247
6544
|
return await this.queryVirtualNumberRelationWithOptions(request, runtime);
|
|
6248
6545
|
}
|
|
6546
|
+
/**
|
|
6547
|
+
* Queries the review state of a voice file.
|
|
6548
|
+
*
|
|
6549
|
+
* @param request - QueryVoiceFileAuditInfoRequest
|
|
6550
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6551
|
+
* @returns QueryVoiceFileAuditInfoResponse
|
|
6552
|
+
*/
|
|
6249
6553
|
async queryVoiceFileAuditInfoWithOptions(request, runtime) {
|
|
6250
6554
|
tea_util_1.default.validateModel(request);
|
|
6251
6555
|
let query = {};
|
|
@@ -6280,10 +6584,23 @@ class Client extends openapi_client_1.default {
|
|
|
6280
6584
|
});
|
|
6281
6585
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryVoiceFileAuditInfoResponse({}));
|
|
6282
6586
|
}
|
|
6587
|
+
/**
|
|
6588
|
+
* Queries the review state of a voice file.
|
|
6589
|
+
*
|
|
6590
|
+
* @param request - QueryVoiceFileAuditInfoRequest
|
|
6591
|
+
* @returns QueryVoiceFileAuditInfoResponse
|
|
6592
|
+
*/
|
|
6283
6593
|
async queryVoiceFileAuditInfo(request) {
|
|
6284
6594
|
let runtime = new $Util.RuntimeOptions({});
|
|
6285
6595
|
return await this.queryVoiceFileAuditInfoWithOptions(request, runtime);
|
|
6286
6596
|
}
|
|
6597
|
+
/**
|
|
6598
|
+
* Resumes the inbound call that is transferred by using a China 400 number.
|
|
6599
|
+
*
|
|
6600
|
+
* @param request - RecoverCallInConfigRequest
|
|
6601
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6602
|
+
* @returns RecoverCallInConfigResponse
|
|
6603
|
+
*/
|
|
6287
6604
|
async recoverCallInConfigWithOptions(request, runtime) {
|
|
6288
6605
|
tea_util_1.default.validateModel(request);
|
|
6289
6606
|
let query = {};
|
|
@@ -6315,10 +6632,23 @@ class Client extends openapi_client_1.default {
|
|
|
6315
6632
|
});
|
|
6316
6633
|
return $tea.cast(await this.callApi(params, req, runtime), new RecoverCallInConfigResponse({}));
|
|
6317
6634
|
}
|
|
6635
|
+
/**
|
|
6636
|
+
* Resumes the inbound call that is transferred by using a China 400 number.
|
|
6637
|
+
*
|
|
6638
|
+
* @param request - RecoverCallInConfigRequest
|
|
6639
|
+
* @returns RecoverCallInConfigResponse
|
|
6640
|
+
*/
|
|
6318
6641
|
async recoverCallInConfig(request) {
|
|
6319
6642
|
let runtime = new $Util.RuntimeOptions({});
|
|
6320
6643
|
return await this.recoverCallInConfigWithOptions(request, runtime);
|
|
6321
6644
|
}
|
|
6645
|
+
/**
|
|
6646
|
+
* ResumeVideoFile
|
|
6647
|
+
*
|
|
6648
|
+
* @param request - ResumeVideoFileRequest
|
|
6649
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6650
|
+
* @returns ResumeVideoFileResponse
|
|
6651
|
+
*/
|
|
6322
6652
|
async resumeVideoFileWithOptions(request, runtime) {
|
|
6323
6653
|
tea_util_1.default.validateModel(request);
|
|
6324
6654
|
let query = {};
|
|
@@ -6353,10 +6683,23 @@ class Client extends openapi_client_1.default {
|
|
|
6353
6683
|
});
|
|
6354
6684
|
return $tea.cast(await this.callApi(params, req, runtime), new ResumeVideoFileResponse({}));
|
|
6355
6685
|
}
|
|
6686
|
+
/**
|
|
6687
|
+
* ResumeVideoFile
|
|
6688
|
+
*
|
|
6689
|
+
* @param request - ResumeVideoFileRequest
|
|
6690
|
+
* @returns ResumeVideoFileResponse
|
|
6691
|
+
*/
|
|
6356
6692
|
async resumeVideoFile(request) {
|
|
6357
6693
|
let runtime = new $Util.RuntimeOptions({});
|
|
6358
6694
|
return await this.resumeVideoFileWithOptions(request, runtime);
|
|
6359
6695
|
}
|
|
6696
|
+
/**
|
|
6697
|
+
* SeekVideoFile
|
|
6698
|
+
*
|
|
6699
|
+
* @param request - SeekVideoFileRequest
|
|
6700
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6701
|
+
* @returns SeekVideoFileResponse
|
|
6702
|
+
*/
|
|
6360
6703
|
async seekVideoFileWithOptions(request, runtime) {
|
|
6361
6704
|
tea_util_1.default.validateModel(request);
|
|
6362
6705
|
let query = {};
|
|
@@ -6394,17 +6737,26 @@ class Client extends openapi_client_1.default {
|
|
|
6394
6737
|
});
|
|
6395
6738
|
return $tea.cast(await this.callApi(params, req, runtime), new SeekVideoFileResponse({}));
|
|
6396
6739
|
}
|
|
6740
|
+
/**
|
|
6741
|
+
* SeekVideoFile
|
|
6742
|
+
*
|
|
6743
|
+
* @param request - SeekVideoFileRequest
|
|
6744
|
+
* @returns SeekVideoFileResponse
|
|
6745
|
+
*/
|
|
6397
6746
|
async seekVideoFile(request) {
|
|
6398
6747
|
let runtime = new $Util.RuntimeOptions({});
|
|
6399
6748
|
return await this.seekVideoFileWithOptions(request, runtime);
|
|
6400
6749
|
}
|
|
6401
6750
|
/**
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
|
|
6751
|
+
* Sends an SMS verification code.
|
|
6752
|
+
*
|
|
6753
|
+
* @remarks
|
|
6754
|
+
* ### QPS limits
|
|
6755
|
+
* You can call this operation up to 100 times per second per account.
|
|
6756
|
+
*
|
|
6757
|
+
* @param request - SendVerificationRequest
|
|
6758
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6759
|
+
* @returns SendVerificationResponse
|
|
6408
6760
|
*/
|
|
6409
6761
|
async sendVerificationWithOptions(request, runtime) {
|
|
6410
6762
|
tea_util_1.default.validateModel(request);
|
|
@@ -6444,23 +6796,29 @@ class Client extends openapi_client_1.default {
|
|
|
6444
6796
|
return $tea.cast(await this.callApi(params, req, runtime), new SendVerificationResponse({}));
|
|
6445
6797
|
}
|
|
6446
6798
|
/**
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6799
|
+
* Sends an SMS verification code.
|
|
6800
|
+
*
|
|
6801
|
+
* @remarks
|
|
6802
|
+
* ### QPS limits
|
|
6803
|
+
* You can call this operation up to 100 times per second per account.
|
|
6804
|
+
*
|
|
6805
|
+
* @param request - SendVerificationRequest
|
|
6806
|
+
* @returns SendVerificationResponse
|
|
6452
6807
|
*/
|
|
6453
6808
|
async sendVerification(request) {
|
|
6454
6809
|
let runtime = new $Util.RuntimeOptions({});
|
|
6455
6810
|
return await this.sendVerificationWithOptions(request, runtime);
|
|
6456
6811
|
}
|
|
6457
6812
|
/**
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6813
|
+
* Sets the phone numbers for transferring a call.
|
|
6814
|
+
*
|
|
6815
|
+
* @remarks
|
|
6816
|
+
* ### QPS limits
|
|
6817
|
+
* You can call this operation up to 100 times per second per account.
|
|
6818
|
+
*
|
|
6819
|
+
* @param request - SetTransferCalleePoolConfigRequest
|
|
6820
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6821
|
+
* @returns SetTransferCalleePoolConfigResponse
|
|
6464
6822
|
*/
|
|
6465
6823
|
async setTransferCalleePoolConfigWithOptions(request, runtime) {
|
|
6466
6824
|
tea_util_1.default.validateModel(request);
|
|
@@ -6503,25 +6861,31 @@ class Client extends openapi_client_1.default {
|
|
|
6503
6861
|
return $tea.cast(await this.callApi(params, req, runtime), new SetTransferCalleePoolConfigResponse({}));
|
|
6504
6862
|
}
|
|
6505
6863
|
/**
|
|
6506
|
-
|
|
6507
|
-
|
|
6508
|
-
|
|
6509
|
-
|
|
6510
|
-
|
|
6864
|
+
* Sets the phone numbers for transferring a call.
|
|
6865
|
+
*
|
|
6866
|
+
* @remarks
|
|
6867
|
+
* ### QPS limits
|
|
6868
|
+
* You can call this operation up to 100 times per second per account.
|
|
6869
|
+
*
|
|
6870
|
+
* @param request - SetTransferCalleePoolConfigRequest
|
|
6871
|
+
* @returns SetTransferCalleePoolConfigResponse
|
|
6511
6872
|
*/
|
|
6512
6873
|
async setTransferCalleePoolConfig(request) {
|
|
6513
6874
|
let runtime = new $Util.RuntimeOptions({});
|
|
6514
6875
|
return await this.setTransferCalleePoolConfigWithOptions(request, runtime);
|
|
6515
6876
|
}
|
|
6516
6877
|
/**
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6521
|
-
|
|
6522
|
-
|
|
6523
|
-
|
|
6524
|
-
|
|
6878
|
+
* Sends a voice verification code or a voice notification with variables to a specified phone number.
|
|
6879
|
+
*
|
|
6880
|
+
* @remarks
|
|
6881
|
+
* Due to business adjustments, the updates of the voice notification and voice verification code services have been stopped in regions outside the Chinese mainland and the services have been discontinued since March 2022. Only qualified customers can continue using the voice notification and voice verification code services.
|
|
6882
|
+
* * For more information about voice plans or voice service billing, see [Pricing of VMS on China site (aliyun.com)](https://help.aliyun.com/document_detail/150083.html).
|
|
6883
|
+
* ### QPS limits
|
|
6884
|
+
* You can call this operation up to 1,000 times per second per account.
|
|
6885
|
+
*
|
|
6886
|
+
* @param request - SingleCallByTtsRequest
|
|
6887
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6888
|
+
* @returns SingleCallByTtsResponse
|
|
6525
6889
|
*/
|
|
6526
6890
|
async singleCallByTtsWithOptions(request, runtime) {
|
|
6527
6891
|
tea_util_1.default.validateModel(request);
|
|
@@ -6576,18 +6940,28 @@ class Client extends openapi_client_1.default {
|
|
|
6576
6940
|
return $tea.cast(await this.callApi(params, req, runtime), new SingleCallByTtsResponse({}));
|
|
6577
6941
|
}
|
|
6578
6942
|
/**
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
|
|
6943
|
+
* Sends a voice verification code or a voice notification with variables to a specified phone number.
|
|
6944
|
+
*
|
|
6945
|
+
* @remarks
|
|
6946
|
+
* Due to business adjustments, the updates of the voice notification and voice verification code services have been stopped in regions outside the Chinese mainland and the services have been discontinued since March 2022. Only qualified customers can continue using the voice notification and voice verification code services.
|
|
6947
|
+
* * For more information about voice plans or voice service billing, see [Pricing of VMS on China site (aliyun.com)](https://help.aliyun.com/document_detail/150083.html).
|
|
6948
|
+
* ### QPS limits
|
|
6949
|
+
* You can call this operation up to 1,000 times per second per account.
|
|
6950
|
+
*
|
|
6951
|
+
* @param request - SingleCallByTtsRequest
|
|
6952
|
+
* @returns SingleCallByTtsResponse
|
|
6586
6953
|
*/
|
|
6587
6954
|
async singleCallByTts(request) {
|
|
6588
6955
|
let runtime = new $Util.RuntimeOptions({});
|
|
6589
6956
|
return await this.singleCallByTtsWithOptions(request, runtime);
|
|
6590
6957
|
}
|
|
6958
|
+
/**
|
|
6959
|
+
* 语音视频单呼接口
|
|
6960
|
+
*
|
|
6961
|
+
* @param request - SingleCallByVideoRequest
|
|
6962
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6963
|
+
* @returns SingleCallByVideoResponse
|
|
6964
|
+
*/
|
|
6591
6965
|
async singleCallByVideoWithOptions(request, runtime) {
|
|
6592
6966
|
tea_util_1.default.validateModel(request);
|
|
6593
6967
|
let query = {};
|
|
@@ -6640,19 +7014,28 @@ class Client extends openapi_client_1.default {
|
|
|
6640
7014
|
});
|
|
6641
7015
|
return $tea.cast(await this.callApi(params, req, runtime), new SingleCallByVideoResponse({}));
|
|
6642
7016
|
}
|
|
7017
|
+
/**
|
|
7018
|
+
* 语音视频单呼接口
|
|
7019
|
+
*
|
|
7020
|
+
* @param request - SingleCallByVideoRequest
|
|
7021
|
+
* @returns SingleCallByVideoResponse
|
|
7022
|
+
*/
|
|
6643
7023
|
async singleCallByVideo(request) {
|
|
6644
7024
|
let runtime = new $Util.RuntimeOptions({});
|
|
6645
7025
|
return await this.singleCallByVideoWithOptions(request, runtime);
|
|
6646
7026
|
}
|
|
6647
7027
|
/**
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
7028
|
+
* Sends a voice notification to a phone number by using a voice notification file.
|
|
7029
|
+
*
|
|
7030
|
+
* @remarks
|
|
7031
|
+
* > Due to business adjustments, the updates of the voice notification and voice verification code services have been stopped in regions outside the Chinese mainland and the services have been discontinued since March 2022. Only qualified customers can continue using the voice notification and voice verification code services.
|
|
7032
|
+
* You can call the [SingleCallByTts](https://help.aliyun.com/document_detail/393519.html) operation to send voice notifications with variables.
|
|
7033
|
+
* ### QPS limits
|
|
7034
|
+
* You can call this operation up to 1,200 times per second per account.
|
|
7035
|
+
*
|
|
7036
|
+
* @param request - SingleCallByVoiceRequest
|
|
7037
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7038
|
+
* @returns SingleCallByVoiceResponse
|
|
6656
7039
|
*/
|
|
6657
7040
|
async singleCallByVoiceWithOptions(request, runtime) {
|
|
6658
7041
|
tea_util_1.default.validateModel(request);
|
|
@@ -6704,18 +7087,28 @@ class Client extends openapi_client_1.default {
|
|
|
6704
7087
|
return $tea.cast(await this.callApi(params, req, runtime), new SingleCallByVoiceResponse({}));
|
|
6705
7088
|
}
|
|
6706
7089
|
/**
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
-
|
|
6713
|
-
|
|
7090
|
+
* Sends a voice notification to a phone number by using a voice notification file.
|
|
7091
|
+
*
|
|
7092
|
+
* @remarks
|
|
7093
|
+
* > Due to business adjustments, the updates of the voice notification and voice verification code services have been stopped in regions outside the Chinese mainland and the services have been discontinued since March 2022. Only qualified customers can continue using the voice notification and voice verification code services.
|
|
7094
|
+
* You can call the [SingleCallByTts](https://help.aliyun.com/document_detail/393519.html) operation to send voice notifications with variables.
|
|
7095
|
+
* ### QPS limits
|
|
7096
|
+
* You can call this operation up to 1,200 times per second per account.
|
|
7097
|
+
*
|
|
7098
|
+
* @param request - SingleCallByVoiceRequest
|
|
7099
|
+
* @returns SingleCallByVoiceResponse
|
|
6714
7100
|
*/
|
|
6715
7101
|
async singleCallByVoice(request) {
|
|
6716
7102
|
let runtime = new $Util.RuntimeOptions({});
|
|
6717
7103
|
return await this.singleCallByVoiceWithOptions(request, runtime);
|
|
6718
7104
|
}
|
|
7105
|
+
/**
|
|
7106
|
+
* SkipVideoFile
|
|
7107
|
+
*
|
|
7108
|
+
* @param request - SkipVideoFileRequest
|
|
7109
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7110
|
+
* @returns SkipVideoFileResponse
|
|
7111
|
+
*/
|
|
6719
7112
|
async skipVideoFileWithOptions(request, runtime) {
|
|
6720
7113
|
tea_util_1.default.validateModel(request);
|
|
6721
7114
|
let query = {};
|
|
@@ -6756,19 +7149,28 @@ class Client extends openapi_client_1.default {
|
|
|
6756
7149
|
});
|
|
6757
7150
|
return $tea.cast(await this.callApi(params, req, runtime), new SkipVideoFileResponse({}));
|
|
6758
7151
|
}
|
|
7152
|
+
/**
|
|
7153
|
+
* SkipVideoFile
|
|
7154
|
+
*
|
|
7155
|
+
* @param request - SkipVideoFileRequest
|
|
7156
|
+
* @returns SkipVideoFileResponse
|
|
7157
|
+
*/
|
|
6759
7158
|
async skipVideoFile(request) {
|
|
6760
7159
|
let runtime = new $Util.RuntimeOptions({});
|
|
6761
7160
|
return await this.skipVideoFileWithOptions(request, runtime);
|
|
6762
7161
|
}
|
|
6763
7162
|
/**
|
|
6764
|
-
|
|
6765
|
-
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
7163
|
+
* Initiates an intelligent voice call.
|
|
7164
|
+
*
|
|
7165
|
+
* @remarks
|
|
7166
|
+
* The SmartCall operation must be used together with the [intelligent outbound HTTP operation](https://help.aliyun.com/document_detail/112703.html). After the call initiated by the Voice Messaging Service (VMS) platform is connected, the VMS platform sends the text converted from speech back to the business side, and the business side then returns the follow-up action to the VMS platform.
|
|
7167
|
+
* * The SmartCall operation does not support the following characters: `@ = : "" $ { } ^ * ¥`.
|
|
7168
|
+
* ### QPS limits
|
|
7169
|
+
* You can call this operation up to 1,000 times per second per account.
|
|
7170
|
+
*
|
|
7171
|
+
* @param request - SmartCallRequest
|
|
7172
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7173
|
+
* @returns SmartCallResponse
|
|
6772
7174
|
*/
|
|
6773
7175
|
async smartCallWithOptions(request, runtime) {
|
|
6774
7176
|
tea_util_1.default.validateModel(request);
|
|
@@ -6880,27 +7282,33 @@ class Client extends openapi_client_1.default {
|
|
|
6880
7282
|
return $tea.cast(await this.callApi(params, req, runtime), new SmartCallResponse({}));
|
|
6881
7283
|
}
|
|
6882
7284
|
/**
|
|
6883
|
-
|
|
6884
|
-
|
|
6885
|
-
|
|
6886
|
-
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
|
|
7285
|
+
* Initiates an intelligent voice call.
|
|
7286
|
+
*
|
|
7287
|
+
* @remarks
|
|
7288
|
+
* The SmartCall operation must be used together with the [intelligent outbound HTTP operation](https://help.aliyun.com/document_detail/112703.html). After the call initiated by the Voice Messaging Service (VMS) platform is connected, the VMS platform sends the text converted from speech back to the business side, and the business side then returns the follow-up action to the VMS platform.
|
|
7289
|
+
* * The SmartCall operation does not support the following characters: `@ = : "" $ { } ^ * ¥`.
|
|
7290
|
+
* ### QPS limits
|
|
7291
|
+
* You can call this operation up to 1,000 times per second per account.
|
|
7292
|
+
*
|
|
7293
|
+
* @param request - SmartCallRequest
|
|
7294
|
+
* @returns SmartCallResponse
|
|
6890
7295
|
*/
|
|
6891
7296
|
async smartCall(request) {
|
|
6892
7297
|
let runtime = new $Util.RuntimeOptions({});
|
|
6893
7298
|
return await this.smartCallWithOptions(request, runtime);
|
|
6894
7299
|
}
|
|
6895
7300
|
/**
|
|
6896
|
-
|
|
6897
|
-
|
|
6898
|
-
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
|
|
6903
|
-
|
|
7301
|
+
* Initiates an action in an outbound robocall. This operation is applicable only when the robocall is transferred to an agent or an agent is listening in on the conversation between the robot and the user.
|
|
7302
|
+
*
|
|
7303
|
+
* @remarks
|
|
7304
|
+
* You can call this operation to initiate a specified action on the called number of an outbound robocall when the call is transferred to an agent of the call center.
|
|
7305
|
+
* > You can only initiate the action of bridging a called number and an agent of the call center.
|
|
7306
|
+
* ### QPS limits
|
|
7307
|
+
* You can call this operation up to 100 times per second per account.
|
|
7308
|
+
*
|
|
7309
|
+
* @param request - SmartCallOperateRequest
|
|
7310
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7311
|
+
* @returns SmartCallOperateResponse
|
|
6904
7312
|
*/
|
|
6905
7313
|
async smartCallOperateWithOptions(request, runtime) {
|
|
6906
7314
|
tea_util_1.default.validateModel(request);
|
|
@@ -6940,25 +7348,31 @@ class Client extends openapi_client_1.default {
|
|
|
6940
7348
|
return $tea.cast(await this.callApi(params, req, runtime), new SmartCallOperateResponse({}));
|
|
6941
7349
|
}
|
|
6942
7350
|
/**
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
|
|
6947
|
-
|
|
6948
|
-
|
|
6949
|
-
|
|
7351
|
+
* Initiates an action in an outbound robocall. This operation is applicable only when the robocall is transferred to an agent or an agent is listening in on the conversation between the robot and the user.
|
|
7352
|
+
*
|
|
7353
|
+
* @remarks
|
|
7354
|
+
* You can call this operation to initiate a specified action on the called number of an outbound robocall when the call is transferred to an agent of the call center.
|
|
7355
|
+
* > You can only initiate the action of bridging a called number and an agent of the call center.
|
|
7356
|
+
* ### QPS limits
|
|
7357
|
+
* You can call this operation up to 100 times per second per account.
|
|
7358
|
+
*
|
|
7359
|
+
* @param request - SmartCallOperateRequest
|
|
7360
|
+
* @returns SmartCallOperateResponse
|
|
6950
7361
|
*/
|
|
6951
7362
|
async smartCallOperate(request) {
|
|
6952
7363
|
let runtime = new $Util.RuntimeOptions({});
|
|
6953
7364
|
return await this.smartCallOperateWithOptions(request, runtime);
|
|
6954
7365
|
}
|
|
6955
7366
|
/**
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
|
|
7367
|
+
* Starts a robocall task immediately or at a scheduled time.
|
|
7368
|
+
*
|
|
7369
|
+
* @remarks
|
|
7370
|
+
* ### QPS limits
|
|
7371
|
+
* You can call this operation up to 100 times per second per account.
|
|
7372
|
+
*
|
|
7373
|
+
* @param request - StartRobotTaskRequest
|
|
7374
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7375
|
+
* @returns StartRobotTaskResponse
|
|
6962
7376
|
*/
|
|
6963
7377
|
async startRobotTaskWithOptions(request, runtime) {
|
|
6964
7378
|
tea_util_1.default.validateModel(request);
|
|
@@ -6995,16 +7409,26 @@ class Client extends openapi_client_1.default {
|
|
|
6995
7409
|
return $tea.cast(await this.callApi(params, req, runtime), new StartRobotTaskResponse({}));
|
|
6996
7410
|
}
|
|
6997
7411
|
/**
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7412
|
+
* Starts a robocall task immediately or at a scheduled time.
|
|
7413
|
+
*
|
|
7414
|
+
* @remarks
|
|
7415
|
+
* ### QPS limits
|
|
7416
|
+
* You can call this operation up to 100 times per second per account.
|
|
7417
|
+
*
|
|
7418
|
+
* @param request - StartRobotTaskRequest
|
|
7419
|
+
* @returns StartRobotTaskResponse
|
|
7003
7420
|
*/
|
|
7004
7421
|
async startRobotTask(request) {
|
|
7005
7422
|
let runtime = new $Util.RuntimeOptions({});
|
|
7006
7423
|
return await this.startRobotTaskWithOptions(request, runtime);
|
|
7007
7424
|
}
|
|
7425
|
+
/**
|
|
7426
|
+
* Stops the inbound call that is transferred from a China 400 number.
|
|
7427
|
+
*
|
|
7428
|
+
* @param request - StopCallInConfigRequest
|
|
7429
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7430
|
+
* @returns StopCallInConfigResponse
|
|
7431
|
+
*/
|
|
7008
7432
|
async stopCallInConfigWithOptions(request, runtime) {
|
|
7009
7433
|
tea_util_1.default.validateModel(request);
|
|
7010
7434
|
let query = {};
|
|
@@ -7036,18 +7460,27 @@ class Client extends openapi_client_1.default {
|
|
|
7036
7460
|
});
|
|
7037
7461
|
return $tea.cast(await this.callApi(params, req, runtime), new StopCallInConfigResponse({}));
|
|
7038
7462
|
}
|
|
7463
|
+
/**
|
|
7464
|
+
* Stops the inbound call that is transferred from a China 400 number.
|
|
7465
|
+
*
|
|
7466
|
+
* @param request - StopCallInConfigRequest
|
|
7467
|
+
* @returns StopCallInConfigResponse
|
|
7468
|
+
*/
|
|
7039
7469
|
async stopCallInConfig(request) {
|
|
7040
7470
|
let runtime = new $Util.RuntimeOptions({});
|
|
7041
7471
|
return await this.stopCallInConfigWithOptions(request, runtime);
|
|
7042
7472
|
}
|
|
7043
7473
|
/**
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7474
|
+
* Stops a robocall task that is in progress.
|
|
7475
|
+
*
|
|
7476
|
+
* @remarks
|
|
7477
|
+
* After you stop a robocall task, you can call the [StartRobotTask](~~StartRobotTask~~) operation to start it again.
|
|
7478
|
+
* ### QPS limits
|
|
7479
|
+
* You can call this operation up to 100 times per second per account.
|
|
7480
|
+
*
|
|
7481
|
+
* @param request - StopRobotTaskRequest
|
|
7482
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7483
|
+
* @returns StopRobotTaskResponse
|
|
7051
7484
|
*/
|
|
7052
7485
|
async stopRobotTaskWithOptions(request, runtime) {
|
|
7053
7486
|
tea_util_1.default.validateModel(request);
|
|
@@ -7081,24 +7514,30 @@ class Client extends openapi_client_1.default {
|
|
|
7081
7514
|
return $tea.cast(await this.callApi(params, req, runtime), new StopRobotTaskResponse({}));
|
|
7082
7515
|
}
|
|
7083
7516
|
/**
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7517
|
+
* Stops a robocall task that is in progress.
|
|
7518
|
+
*
|
|
7519
|
+
* @remarks
|
|
7520
|
+
* After you stop a robocall task, you can call the [StartRobotTask](~~StartRobotTask~~) operation to start it again.
|
|
7521
|
+
* ### QPS limits
|
|
7522
|
+
* You can call this operation up to 100 times per second per account.
|
|
7523
|
+
*
|
|
7524
|
+
* @param request - StopRobotTaskRequest
|
|
7525
|
+
* @returns StopRobotTaskResponse
|
|
7090
7526
|
*/
|
|
7091
7527
|
async stopRobotTask(request) {
|
|
7092
7528
|
let runtime = new $Util.RuntimeOptions({});
|
|
7093
7529
|
return await this.stopRobotTaskWithOptions(request, runtime);
|
|
7094
7530
|
}
|
|
7095
7531
|
/**
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7532
|
+
* Submits a China 400 number for registration.
|
|
7533
|
+
*
|
|
7534
|
+
* @remarks
|
|
7535
|
+
* ### QPS limits
|
|
7536
|
+
* You can call this operation up to 100 times per second per account.
|
|
7537
|
+
*
|
|
7538
|
+
* @param request - SubmitHotlineTransferRegisterRequest
|
|
7539
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7540
|
+
* @returns SubmitHotlineTransferRegisterResponse
|
|
7102
7541
|
*/
|
|
7103
7542
|
async submitHotlineTransferRegisterWithOptions(request, runtime) {
|
|
7104
7543
|
tea_util_1.default.validateModel(request);
|
|
@@ -7159,16 +7598,26 @@ class Client extends openapi_client_1.default {
|
|
|
7159
7598
|
return $tea.cast(await this.callApi(params, req, runtime), new SubmitHotlineTransferRegisterResponse({}));
|
|
7160
7599
|
}
|
|
7161
7600
|
/**
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
7601
|
+
* Submits a China 400 number for registration.
|
|
7602
|
+
*
|
|
7603
|
+
* @remarks
|
|
7604
|
+
* ### QPS limits
|
|
7605
|
+
* You can call this operation up to 100 times per second per account.
|
|
7606
|
+
*
|
|
7607
|
+
* @param request - SubmitHotlineTransferRegisterRequest
|
|
7608
|
+
* @returns SubmitHotlineTransferRegisterResponse
|
|
7167
7609
|
*/
|
|
7168
7610
|
async submitHotlineTransferRegister(request) {
|
|
7169
7611
|
let runtime = new $Util.RuntimeOptions({});
|
|
7170
7612
|
return await this.submitHotlineTransferRegisterWithOptions(request, runtime);
|
|
7171
7613
|
}
|
|
7614
|
+
/**
|
|
7615
|
+
* UpgradeVideoFile
|
|
7616
|
+
*
|
|
7617
|
+
* @param request - UpgradeVideoFileRequest
|
|
7618
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7619
|
+
* @returns UpgradeVideoFileResponse
|
|
7620
|
+
*/
|
|
7172
7621
|
async upgradeVideoFileWithOptions(request, runtime) {
|
|
7173
7622
|
tea_util_1.default.validateModel(request);
|
|
7174
7623
|
let query = {};
|
|
@@ -7209,17 +7658,26 @@ class Client extends openapi_client_1.default {
|
|
|
7209
7658
|
});
|
|
7210
7659
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeVideoFileResponse({}));
|
|
7211
7660
|
}
|
|
7661
|
+
/**
|
|
7662
|
+
* UpgradeVideoFile
|
|
7663
|
+
*
|
|
7664
|
+
* @param request - UpgradeVideoFileRequest
|
|
7665
|
+
* @returns UpgradeVideoFileResponse
|
|
7666
|
+
*/
|
|
7212
7667
|
async upgradeVideoFile(request) {
|
|
7213
7668
|
let runtime = new $Util.RuntimeOptions({});
|
|
7214
7669
|
return await this.upgradeVideoFileWithOptions(request, runtime);
|
|
7215
7670
|
}
|
|
7216
7671
|
/**
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7672
|
+
* Uploads the called numbers of a robocall task.
|
|
7673
|
+
*
|
|
7674
|
+
* @remarks
|
|
7675
|
+
* ### QPS limits
|
|
7676
|
+
* You can call this operation up to 100 times per second per account.
|
|
7677
|
+
*
|
|
7678
|
+
* @param request - UploadRobotTaskCalledFileRequest
|
|
7679
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7680
|
+
* @returns UploadRobotTaskCalledFileResponse
|
|
7223
7681
|
*/
|
|
7224
7682
|
async uploadRobotTaskCalledFileWithOptions(request, runtime) {
|
|
7225
7683
|
tea_util_1.default.validateModel(request);
|
|
@@ -7262,11 +7720,14 @@ class Client extends openapi_client_1.default {
|
|
|
7262
7720
|
return $tea.cast(await this.callApi(params, req, runtime), new UploadRobotTaskCalledFileResponse({}));
|
|
7263
7721
|
}
|
|
7264
7722
|
/**
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7723
|
+
* Uploads the called numbers of a robocall task.
|
|
7724
|
+
*
|
|
7725
|
+
* @remarks
|
|
7726
|
+
* ### QPS limits
|
|
7727
|
+
* You can call this operation up to 100 times per second per account.
|
|
7728
|
+
*
|
|
7729
|
+
* @param request - UploadRobotTaskCalledFileRequest
|
|
7730
|
+
* @returns UploadRobotTaskCalledFileResponse
|
|
7270
7731
|
*/
|
|
7271
7732
|
async uploadRobotTaskCalledFile(request) {
|
|
7272
7733
|
let runtime = new $Util.RuntimeOptions({});
|