alibabacloud-ice20201109 6.5.0__py3-none-any.whl → 6.5.2__py3-none-any.whl
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.
- alibabacloud_ice20201109/__init__.py +1 -1
- alibabacloud_ice20201109/client.py +22 -15
- alibabacloud_ice20201109/models.py +135 -2
- {alibabacloud_ice20201109-6.5.0.dist-info → alibabacloud_ice20201109-6.5.2.dist-info}/METADATA +1 -1
- alibabacloud_ice20201109-6.5.2.dist-info/RECORD +8 -0
- alibabacloud_ice20201109-6.5.0.dist-info/RECORD +0 -8
- {alibabacloud_ice20201109-6.5.0.dist-info → alibabacloud_ice20201109-6.5.2.dist-info}/LICENSE +0 -0
- {alibabacloud_ice20201109-6.5.0.dist-info → alibabacloud_ice20201109-6.5.2.dist-info}/WHEEL +0 -0
- {alibabacloud_ice20201109-6.5.0.dist-info → alibabacloud_ice20201109-6.5.2.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '6.5.
|
|
1
|
+
__version__ = '6.5.2'
|
|
@@ -21,7 +21,6 @@ class Client(OpenApiClient):
|
|
|
21
21
|
config: open_api_models.Config,
|
|
22
22
|
):
|
|
23
23
|
super().__init__(config)
|
|
24
|
-
self._signature_algorithm = 'v2'
|
|
25
24
|
self._endpoint_rule = 'regional'
|
|
26
25
|
self._endpoint_map = {
|
|
27
26
|
'ap-northeast-1': 'ice.aliyuncs.com',
|
|
@@ -6342,7 +6341,7 @@ class Client(OpenApiClient):
|
|
|
6342
6341
|
runtime: util_models.RuntimeOptions,
|
|
6343
6342
|
) -> ice20201109_models.DeleteChannelResponse:
|
|
6344
6343
|
"""
|
|
6345
|
-
@summary Deletes a channel
|
|
6344
|
+
@summary Deletes a channel.
|
|
6346
6345
|
|
|
6347
6346
|
@param request: DeleteChannelRequest
|
|
6348
6347
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -6377,7 +6376,7 @@ class Client(OpenApiClient):
|
|
|
6377
6376
|
runtime: util_models.RuntimeOptions,
|
|
6378
6377
|
) -> ice20201109_models.DeleteChannelResponse:
|
|
6379
6378
|
"""
|
|
6380
|
-
@summary Deletes a channel
|
|
6379
|
+
@summary Deletes a channel.
|
|
6381
6380
|
|
|
6382
6381
|
@param request: DeleteChannelRequest
|
|
6383
6382
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -6411,7 +6410,7 @@ class Client(OpenApiClient):
|
|
|
6411
6410
|
request: ice20201109_models.DeleteChannelRequest,
|
|
6412
6411
|
) -> ice20201109_models.DeleteChannelResponse:
|
|
6413
6412
|
"""
|
|
6414
|
-
@summary Deletes a channel
|
|
6413
|
+
@summary Deletes a channel.
|
|
6415
6414
|
|
|
6416
6415
|
@param request: DeleteChannelRequest
|
|
6417
6416
|
@return: DeleteChannelResponse
|
|
@@ -6424,7 +6423,7 @@ class Client(OpenApiClient):
|
|
|
6424
6423
|
request: ice20201109_models.DeleteChannelRequest,
|
|
6425
6424
|
) -> ice20201109_models.DeleteChannelResponse:
|
|
6426
6425
|
"""
|
|
6427
|
-
@summary Deletes a channel
|
|
6426
|
+
@summary Deletes a channel.
|
|
6428
6427
|
|
|
6429
6428
|
@param request: DeleteChannelRequest
|
|
6430
6429
|
@return: DeleteChannelResponse
|
|
@@ -16906,7 +16905,7 @@ class Client(OpenApiClient):
|
|
|
16906
16905
|
)
|
|
16907
16906
|
return TeaCore.from_map(
|
|
16908
16907
|
ice20201109_models.GetPublicMediaInfoResponse(),
|
|
16909
|
-
self.
|
|
16908
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
16910
16909
|
)
|
|
16911
16910
|
|
|
16912
16911
|
async def get_public_media_info_with_options_async(
|
|
@@ -16941,7 +16940,7 @@ class Client(OpenApiClient):
|
|
|
16941
16940
|
)
|
|
16942
16941
|
return TeaCore.from_map(
|
|
16943
16942
|
ice20201109_models.GetPublicMediaInfoResponse(),
|
|
16944
|
-
await self.
|
|
16943
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
16945
16944
|
)
|
|
16946
16945
|
|
|
16947
16946
|
def get_public_media_info(
|
|
@@ -17280,7 +17279,7 @@ class Client(OpenApiClient):
|
|
|
17280
17279
|
runtime: util_models.RuntimeOptions,
|
|
17281
17280
|
) -> ice20201109_models.GetSourceResponse:
|
|
17282
17281
|
"""
|
|
17283
|
-
@summary Queries a source
|
|
17282
|
+
@summary Queries a source.
|
|
17284
17283
|
|
|
17285
17284
|
@param request: GetSourceRequest
|
|
17286
17285
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -17319,7 +17318,7 @@ class Client(OpenApiClient):
|
|
|
17319
17318
|
runtime: util_models.RuntimeOptions,
|
|
17320
17319
|
) -> ice20201109_models.GetSourceResponse:
|
|
17321
17320
|
"""
|
|
17322
|
-
@summary Queries a source
|
|
17321
|
+
@summary Queries a source.
|
|
17323
17322
|
|
|
17324
17323
|
@param request: GetSourceRequest
|
|
17325
17324
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -17357,7 +17356,7 @@ class Client(OpenApiClient):
|
|
|
17357
17356
|
request: ice20201109_models.GetSourceRequest,
|
|
17358
17357
|
) -> ice20201109_models.GetSourceResponse:
|
|
17359
17358
|
"""
|
|
17360
|
-
@summary Queries a source
|
|
17359
|
+
@summary Queries a source.
|
|
17361
17360
|
|
|
17362
17361
|
@param request: GetSourceRequest
|
|
17363
17362
|
@return: GetSourceResponse
|
|
@@ -17370,7 +17369,7 @@ class Client(OpenApiClient):
|
|
|
17370
17369
|
request: ice20201109_models.GetSourceRequest,
|
|
17371
17370
|
) -> ice20201109_models.GetSourceResponse:
|
|
17372
17371
|
"""
|
|
17373
|
-
@summary Queries a source
|
|
17372
|
+
@summary Queries a source.
|
|
17374
17373
|
|
|
17375
17374
|
@param request: GetSourceRequest
|
|
17376
17375
|
@return: GetSourceResponse
|
|
@@ -19560,7 +19559,7 @@ class Client(OpenApiClient):
|
|
|
19560
19559
|
)
|
|
19561
19560
|
return TeaCore.from_map(
|
|
19562
19561
|
ice20201109_models.ListAllPublicMediaTagsResponse(),
|
|
19563
|
-
self.
|
|
19562
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
19564
19563
|
)
|
|
19565
19564
|
|
|
19566
19565
|
async def list_all_public_media_tags_with_options_async(
|
|
@@ -19597,7 +19596,7 @@ class Client(OpenApiClient):
|
|
|
19597
19596
|
)
|
|
19598
19597
|
return TeaCore.from_map(
|
|
19599
19598
|
ice20201109_models.ListAllPublicMediaTagsResponse(),
|
|
19600
|
-
await self.
|
|
19599
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
19601
19600
|
)
|
|
19602
19601
|
|
|
19603
19602
|
def list_all_public_media_tags(
|
|
@@ -23702,7 +23701,7 @@ class Client(OpenApiClient):
|
|
|
23702
23701
|
)
|
|
23703
23702
|
return TeaCore.from_map(
|
|
23704
23703
|
ice20201109_models.ListPublicMediaBasicInfosResponse(),
|
|
23705
|
-
self.
|
|
23704
|
+
self.do_rpcrequest(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
23706
23705
|
)
|
|
23707
23706
|
|
|
23708
23707
|
async def list_public_media_basic_infos_with_options_async(
|
|
@@ -23749,7 +23748,7 @@ class Client(OpenApiClient):
|
|
|
23749
23748
|
)
|
|
23750
23749
|
return TeaCore.from_map(
|
|
23751
23750
|
ice20201109_models.ListPublicMediaBasicInfosResponse(),
|
|
23752
|
-
await self.
|
|
23751
|
+
await self.do_rpcrequest_async(params.action, params.version, params.protocol, params.method, params.auth_type, params.body_type, req, runtime)
|
|
23753
23752
|
)
|
|
23754
23753
|
|
|
23755
23754
|
def list_public_media_basic_infos(
|
|
@@ -27854,6 +27853,8 @@ class Client(OpenApiClient):
|
|
|
27854
27853
|
query['InputURL'] = request.input_url
|
|
27855
27854
|
if not UtilClient.is_unset(request.media_id):
|
|
27856
27855
|
query['MediaId'] = request.media_id
|
|
27856
|
+
if not UtilClient.is_unset(request.stream_tags):
|
|
27857
|
+
query['StreamTags'] = request.stream_tags
|
|
27857
27858
|
if not UtilClient.is_unset(request.user_data):
|
|
27858
27859
|
query['UserData'] = request.user_data
|
|
27859
27860
|
req = open_api_models.OpenApiRequest(
|
|
@@ -27895,6 +27896,8 @@ class Client(OpenApiClient):
|
|
|
27895
27896
|
query['InputURL'] = request.input_url
|
|
27896
27897
|
if not UtilClient.is_unset(request.media_id):
|
|
27897
27898
|
query['MediaId'] = request.media_id
|
|
27899
|
+
if not UtilClient.is_unset(request.stream_tags):
|
|
27900
|
+
query['StreamTags'] = request.stream_tags
|
|
27898
27901
|
if not UtilClient.is_unset(request.user_data):
|
|
27899
27902
|
query['UserData'] = request.user_data
|
|
27900
27903
|
req = open_api_models.OpenApiRequest(
|
|
@@ -29304,6 +29307,8 @@ class Client(OpenApiClient):
|
|
|
29304
29307
|
query['InstanceId'] = request.instance_id
|
|
29305
29308
|
if not UtilClient.is_unset(request.text):
|
|
29306
29309
|
query['Text'] = request.text
|
|
29310
|
+
if not UtilClient.is_unset(request.type):
|
|
29311
|
+
query['Type'] = request.type
|
|
29307
29312
|
req = open_api_models.OpenApiRequest(
|
|
29308
29313
|
query=OpenApiUtilClient.query(query)
|
|
29309
29314
|
)
|
|
@@ -29349,6 +29354,8 @@ class Client(OpenApiClient):
|
|
|
29349
29354
|
query['InstanceId'] = request.instance_id
|
|
29350
29355
|
if not UtilClient.is_unset(request.text):
|
|
29351
29356
|
query['Text'] = request.text
|
|
29357
|
+
if not UtilClient.is_unset(request.type):
|
|
29358
|
+
query['Type'] = request.type
|
|
29352
29359
|
req = open_api_models.OpenApiRequest(
|
|
29353
29360
|
query=OpenApiUtilClient.query(query)
|
|
29354
29361
|
)
|
|
@@ -4,6 +4,39 @@ from Tea.model import TeaModel
|
|
|
4
4
|
from typing import List, Any, Dict
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
class AIAgentConfigAmbientSoundConfig(TeaModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
resource_id: str = None,
|
|
11
|
+
volume: int = None,
|
|
12
|
+
):
|
|
13
|
+
self.resource_id = resource_id
|
|
14
|
+
self.volume = volume
|
|
15
|
+
|
|
16
|
+
def validate(self):
|
|
17
|
+
pass
|
|
18
|
+
|
|
19
|
+
def to_map(self):
|
|
20
|
+
_map = super().to_map()
|
|
21
|
+
if _map is not None:
|
|
22
|
+
return _map
|
|
23
|
+
|
|
24
|
+
result = dict()
|
|
25
|
+
if self.resource_id is not None:
|
|
26
|
+
result['ResourceId'] = self.resource_id
|
|
27
|
+
if self.volume is not None:
|
|
28
|
+
result['Volume'] = self.volume
|
|
29
|
+
return result
|
|
30
|
+
|
|
31
|
+
def from_map(self, m: dict = None):
|
|
32
|
+
m = m or dict()
|
|
33
|
+
if m.get('ResourceId') is not None:
|
|
34
|
+
self.resource_id = m.get('ResourceId')
|
|
35
|
+
if m.get('Volume') is not None:
|
|
36
|
+
self.volume = m.get('Volume')
|
|
37
|
+
return self
|
|
38
|
+
|
|
39
|
+
|
|
7
40
|
class AIAgentConfigAsrConfig(TeaModel):
|
|
8
41
|
def __init__(
|
|
9
42
|
self,
|
|
@@ -515,6 +548,33 @@ class AIAgentConfigVcrConfigInvalidFrameMotion(TeaModel):
|
|
|
515
548
|
return self
|
|
516
549
|
|
|
517
550
|
|
|
551
|
+
class AIAgentConfigVcrConfigLookAway(TeaModel):
|
|
552
|
+
def __init__(
|
|
553
|
+
self,
|
|
554
|
+
enabled: bool = None,
|
|
555
|
+
):
|
|
556
|
+
self.enabled = enabled
|
|
557
|
+
|
|
558
|
+
def validate(self):
|
|
559
|
+
pass
|
|
560
|
+
|
|
561
|
+
def to_map(self):
|
|
562
|
+
_map = super().to_map()
|
|
563
|
+
if _map is not None:
|
|
564
|
+
return _map
|
|
565
|
+
|
|
566
|
+
result = dict()
|
|
567
|
+
if self.enabled is not None:
|
|
568
|
+
result['Enabled'] = self.enabled
|
|
569
|
+
return result
|
|
570
|
+
|
|
571
|
+
def from_map(self, m: dict = None):
|
|
572
|
+
m = m or dict()
|
|
573
|
+
if m.get('Enabled') is not None:
|
|
574
|
+
self.enabled = m.get('Enabled')
|
|
575
|
+
return self
|
|
576
|
+
|
|
577
|
+
|
|
518
578
|
class AIAgentConfigVcrConfigPeopleCount(TeaModel):
|
|
519
579
|
def __init__(
|
|
520
580
|
self,
|
|
@@ -581,12 +641,14 @@ class AIAgentConfigVcrConfig(TeaModel):
|
|
|
581
641
|
equipment: AIAgentConfigVcrConfigEquipment = None,
|
|
582
642
|
head_motion: AIAgentConfigVcrConfigHeadMotion = None,
|
|
583
643
|
invalid_frame_motion: AIAgentConfigVcrConfigInvalidFrameMotion = None,
|
|
644
|
+
look_away: AIAgentConfigVcrConfigLookAway = None,
|
|
584
645
|
people_count: AIAgentConfigVcrConfigPeopleCount = None,
|
|
585
646
|
still_frame_motion: AIAgentConfigVcrConfigStillFrameMotion = None,
|
|
586
647
|
):
|
|
587
648
|
self.equipment = equipment
|
|
588
649
|
self.head_motion = head_motion
|
|
589
650
|
self.invalid_frame_motion = invalid_frame_motion
|
|
651
|
+
self.look_away = look_away
|
|
590
652
|
self.people_count = people_count
|
|
591
653
|
self.still_frame_motion = still_frame_motion
|
|
592
654
|
|
|
@@ -597,6 +659,8 @@ class AIAgentConfigVcrConfig(TeaModel):
|
|
|
597
659
|
self.head_motion.validate()
|
|
598
660
|
if self.invalid_frame_motion:
|
|
599
661
|
self.invalid_frame_motion.validate()
|
|
662
|
+
if self.look_away:
|
|
663
|
+
self.look_away.validate()
|
|
600
664
|
if self.people_count:
|
|
601
665
|
self.people_count.validate()
|
|
602
666
|
if self.still_frame_motion:
|
|
@@ -614,6 +678,8 @@ class AIAgentConfigVcrConfig(TeaModel):
|
|
|
614
678
|
result['HeadMotion'] = self.head_motion.to_map()
|
|
615
679
|
if self.invalid_frame_motion is not None:
|
|
616
680
|
result['InvalidFrameMotion'] = self.invalid_frame_motion.to_map()
|
|
681
|
+
if self.look_away is not None:
|
|
682
|
+
result['LookAway'] = self.look_away.to_map()
|
|
617
683
|
if self.people_count is not None:
|
|
618
684
|
result['PeopleCount'] = self.people_count.to_map()
|
|
619
685
|
if self.still_frame_motion is not None:
|
|
@@ -631,6 +697,9 @@ class AIAgentConfigVcrConfig(TeaModel):
|
|
|
631
697
|
if m.get('InvalidFrameMotion') is not None:
|
|
632
698
|
temp_model = AIAgentConfigVcrConfigInvalidFrameMotion()
|
|
633
699
|
self.invalid_frame_motion = temp_model.from_map(m['InvalidFrameMotion'])
|
|
700
|
+
if m.get('LookAway') is not None:
|
|
701
|
+
temp_model = AIAgentConfigVcrConfigLookAway()
|
|
702
|
+
self.look_away = temp_model.from_map(m['LookAway'])
|
|
634
703
|
if m.get('PeopleCount') is not None:
|
|
635
704
|
temp_model = AIAgentConfigVcrConfigPeopleCount()
|
|
636
705
|
self.people_count = temp_model.from_map(m['PeopleCount'])
|
|
@@ -676,6 +745,7 @@ class AIAgentConfigVoiceprintConfig(TeaModel):
|
|
|
676
745
|
class AIAgentConfig(TeaModel):
|
|
677
746
|
def __init__(
|
|
678
747
|
self,
|
|
748
|
+
ambient_sound_config: AIAgentConfigAmbientSoundConfig = None,
|
|
679
749
|
asr_config: AIAgentConfigAsrConfig = None,
|
|
680
750
|
avatar_config: AIAgentConfigAvatarConfig = None,
|
|
681
751
|
avatar_url: str = None,
|
|
@@ -698,6 +768,7 @@ class AIAgentConfig(TeaModel):
|
|
|
698
768
|
wake_up_query: str = None,
|
|
699
769
|
workflow_override_params: str = None,
|
|
700
770
|
):
|
|
771
|
+
self.ambient_sound_config = ambient_sound_config
|
|
701
772
|
self.asr_config = asr_config
|
|
702
773
|
self.avatar_config = avatar_config
|
|
703
774
|
self.avatar_url = avatar_url
|
|
@@ -721,6 +792,8 @@ class AIAgentConfig(TeaModel):
|
|
|
721
792
|
self.workflow_override_params = workflow_override_params
|
|
722
793
|
|
|
723
794
|
def validate(self):
|
|
795
|
+
if self.ambient_sound_config:
|
|
796
|
+
self.ambient_sound_config.validate()
|
|
724
797
|
if self.asr_config:
|
|
725
798
|
self.asr_config.validate()
|
|
726
799
|
if self.avatar_config:
|
|
@@ -744,6 +817,8 @@ class AIAgentConfig(TeaModel):
|
|
|
744
817
|
return _map
|
|
745
818
|
|
|
746
819
|
result = dict()
|
|
820
|
+
if self.ambient_sound_config is not None:
|
|
821
|
+
result['AmbientSoundConfig'] = self.ambient_sound_config.to_map()
|
|
747
822
|
if self.asr_config is not None:
|
|
748
823
|
result['AsrConfig'] = self.asr_config.to_map()
|
|
749
824
|
if self.avatar_config is not None:
|
|
@@ -790,6 +865,9 @@ class AIAgentConfig(TeaModel):
|
|
|
790
865
|
|
|
791
866
|
def from_map(self, m: dict = None):
|
|
792
867
|
m = m or dict()
|
|
868
|
+
if m.get('AmbientSoundConfig') is not None:
|
|
869
|
+
temp_model = AIAgentConfigAmbientSoundConfig()
|
|
870
|
+
self.ambient_sound_config = temp_model.from_map(m['AmbientSoundConfig'])
|
|
793
871
|
if m.get('AsrConfig') is not None:
|
|
794
872
|
temp_model = AIAgentConfigAsrConfig()
|
|
795
873
|
self.asr_config = temp_model.from_map(m['AsrConfig'])
|
|
@@ -843,6 +921,39 @@ class AIAgentConfig(TeaModel):
|
|
|
843
921
|
return self
|
|
844
922
|
|
|
845
923
|
|
|
924
|
+
class AIAgentOutboundCallConfigAmbientSoundConfig(TeaModel):
|
|
925
|
+
def __init__(
|
|
926
|
+
self,
|
|
927
|
+
resource_id: str = None,
|
|
928
|
+
volume: int = None,
|
|
929
|
+
):
|
|
930
|
+
self.resource_id = resource_id
|
|
931
|
+
self.volume = volume
|
|
932
|
+
|
|
933
|
+
def validate(self):
|
|
934
|
+
pass
|
|
935
|
+
|
|
936
|
+
def to_map(self):
|
|
937
|
+
_map = super().to_map()
|
|
938
|
+
if _map is not None:
|
|
939
|
+
return _map
|
|
940
|
+
|
|
941
|
+
result = dict()
|
|
942
|
+
if self.resource_id is not None:
|
|
943
|
+
result['ResourceId'] = self.resource_id
|
|
944
|
+
if self.volume is not None:
|
|
945
|
+
result['Volume'] = self.volume
|
|
946
|
+
return result
|
|
947
|
+
|
|
948
|
+
def from_map(self, m: dict = None):
|
|
949
|
+
m = m or dict()
|
|
950
|
+
if m.get('ResourceId') is not None:
|
|
951
|
+
self.resource_id = m.get('ResourceId')
|
|
952
|
+
if m.get('Volume') is not None:
|
|
953
|
+
self.volume = m.get('Volume')
|
|
954
|
+
return self
|
|
955
|
+
|
|
956
|
+
|
|
846
957
|
class AIAgentOutboundCallConfigAsrConfig(TeaModel):
|
|
847
958
|
def __init__(
|
|
848
959
|
self,
|
|
@@ -1243,6 +1354,7 @@ class AIAgentOutboundCallConfigTurnDetectionConfig(TeaModel):
|
|
|
1243
1354
|
class AIAgentOutboundCallConfig(TeaModel):
|
|
1244
1355
|
def __init__(
|
|
1245
1356
|
self,
|
|
1357
|
+
ambient_sound_config: AIAgentOutboundCallConfigAmbientSoundConfig = None,
|
|
1246
1358
|
asr_config: AIAgentOutboundCallConfigAsrConfig = None,
|
|
1247
1359
|
enable_intelligent_segment: bool = None,
|
|
1248
1360
|
greeting: str = None,
|
|
@@ -1252,6 +1364,7 @@ class AIAgentOutboundCallConfig(TeaModel):
|
|
|
1252
1364
|
tts_config: AIAgentOutboundCallConfigTtsConfig = None,
|
|
1253
1365
|
turn_detection_config: AIAgentOutboundCallConfigTurnDetectionConfig = None,
|
|
1254
1366
|
):
|
|
1367
|
+
self.ambient_sound_config = ambient_sound_config
|
|
1255
1368
|
self.asr_config = asr_config
|
|
1256
1369
|
self.enable_intelligent_segment = enable_intelligent_segment
|
|
1257
1370
|
self.greeting = greeting
|
|
@@ -1262,6 +1375,8 @@ class AIAgentOutboundCallConfig(TeaModel):
|
|
|
1262
1375
|
self.turn_detection_config = turn_detection_config
|
|
1263
1376
|
|
|
1264
1377
|
def validate(self):
|
|
1378
|
+
if self.ambient_sound_config:
|
|
1379
|
+
self.ambient_sound_config.validate()
|
|
1265
1380
|
if self.asr_config:
|
|
1266
1381
|
self.asr_config.validate()
|
|
1267
1382
|
if self.interrupt_config:
|
|
@@ -1279,6 +1394,8 @@ class AIAgentOutboundCallConfig(TeaModel):
|
|
|
1279
1394
|
return _map
|
|
1280
1395
|
|
|
1281
1396
|
result = dict()
|
|
1397
|
+
if self.ambient_sound_config is not None:
|
|
1398
|
+
result['AmbientSoundConfig'] = self.ambient_sound_config.to_map()
|
|
1282
1399
|
if self.asr_config is not None:
|
|
1283
1400
|
result['AsrConfig'] = self.asr_config.to_map()
|
|
1284
1401
|
if self.enable_intelligent_segment is not None:
|
|
@@ -1299,6 +1416,9 @@ class AIAgentOutboundCallConfig(TeaModel):
|
|
|
1299
1416
|
|
|
1300
1417
|
def from_map(self, m: dict = None):
|
|
1301
1418
|
m = m or dict()
|
|
1419
|
+
if m.get('AmbientSoundConfig') is not None:
|
|
1420
|
+
temp_model = AIAgentOutboundCallConfigAmbientSoundConfig()
|
|
1421
|
+
self.ambient_sound_config = temp_model.from_map(m['AmbientSoundConfig'])
|
|
1302
1422
|
if m.get('AsrConfig') is not None:
|
|
1303
1423
|
temp_model = AIAgentOutboundCallConfigAsrConfig()
|
|
1304
1424
|
self.asr_config = temp_model.from_map(m['AsrConfig'])
|
|
@@ -72424,6 +72544,7 @@ class RegisterMediaStreamRequest(TeaModel):
|
|
|
72424
72544
|
self,
|
|
72425
72545
|
input_url: str = None,
|
|
72426
72546
|
media_id: str = None,
|
|
72547
|
+
stream_tags: str = None,
|
|
72427
72548
|
user_data: str = None,
|
|
72428
72549
|
):
|
|
72429
72550
|
# The URL of the media asset in another service. The URL is associated with the ID of the media asset in IMS. The URL cannot be modified once registered.
|
|
@@ -72436,6 +72557,7 @@ class RegisterMediaStreamRequest(TeaModel):
|
|
|
72436
72557
|
self.input_url = input_url
|
|
72437
72558
|
# The ID of the media asset.
|
|
72438
72559
|
self.media_id = media_id
|
|
72560
|
+
self.stream_tags = stream_tags
|
|
72439
72561
|
# The user data.
|
|
72440
72562
|
self.user_data = user_data
|
|
72441
72563
|
|
|
@@ -72452,6 +72574,8 @@ class RegisterMediaStreamRequest(TeaModel):
|
|
|
72452
72574
|
result['InputURL'] = self.input_url
|
|
72453
72575
|
if self.media_id is not None:
|
|
72454
72576
|
result['MediaId'] = self.media_id
|
|
72577
|
+
if self.stream_tags is not None:
|
|
72578
|
+
result['StreamTags'] = self.stream_tags
|
|
72455
72579
|
if self.user_data is not None:
|
|
72456
72580
|
result['UserData'] = self.user_data
|
|
72457
72581
|
return result
|
|
@@ -72462,6 +72586,8 @@ class RegisterMediaStreamRequest(TeaModel):
|
|
|
72462
72586
|
self.input_url = m.get('InputURL')
|
|
72463
72587
|
if m.get('MediaId') is not None:
|
|
72464
72588
|
self.media_id = m.get('MediaId')
|
|
72589
|
+
if m.get('StreamTags') is not None:
|
|
72590
|
+
self.stream_tags = m.get('StreamTags')
|
|
72465
72591
|
if m.get('UserData') is not None:
|
|
72466
72592
|
self.user_data = m.get('UserData')
|
|
72467
72593
|
return self
|
|
@@ -76709,6 +76835,7 @@ class SendAIAgentSpeechRequest(TeaModel):
|
|
|
76709
76835
|
enable_interrupt: bool = None,
|
|
76710
76836
|
instance_id: str = None,
|
|
76711
76837
|
text: str = None,
|
|
76838
|
+
type: str = None,
|
|
76712
76839
|
):
|
|
76713
76840
|
# Specifies whether the broadcast can interrupt the ongoing speech. Default value: true
|
|
76714
76841
|
self.enable_interrupt = enable_interrupt
|
|
@@ -76716,6 +76843,7 @@ class SendAIAgentSpeechRequest(TeaModel):
|
|
|
76716
76843
|
self.instance_id = instance_id
|
|
76717
76844
|
# This parameter is required.
|
|
76718
76845
|
self.text = text
|
|
76846
|
+
self.type = type
|
|
76719
76847
|
|
|
76720
76848
|
def validate(self):
|
|
76721
76849
|
pass
|
|
@@ -76732,6 +76860,8 @@ class SendAIAgentSpeechRequest(TeaModel):
|
|
|
76732
76860
|
result['InstanceId'] = self.instance_id
|
|
76733
76861
|
if self.text is not None:
|
|
76734
76862
|
result['Text'] = self.text
|
|
76863
|
+
if self.type is not None:
|
|
76864
|
+
result['Type'] = self.type
|
|
76735
76865
|
return result
|
|
76736
76866
|
|
|
76737
76867
|
def from_map(self, m: dict = None):
|
|
@@ -76742,6 +76872,8 @@ class SendAIAgentSpeechRequest(TeaModel):
|
|
|
76742
76872
|
self.instance_id = m.get('InstanceId')
|
|
76743
76873
|
if m.get('Text') is not None:
|
|
76744
76874
|
self.text = m.get('Text')
|
|
76875
|
+
if m.get('Type') is not None:
|
|
76876
|
+
self.type = m.get('Type')
|
|
76745
76877
|
return self
|
|
76746
76878
|
|
|
76747
76879
|
|
|
@@ -84669,6 +84801,7 @@ class SubmitMediaConvertJobResponseBodyJobConfig(TeaModel):
|
|
|
84669
84801
|
):
|
|
84670
84802
|
# The inputs of the transcoding task.
|
|
84671
84803
|
self.inputs = inputs
|
|
84804
|
+
# The name of the job.
|
|
84672
84805
|
self.job_name = job_name
|
|
84673
84806
|
# The output group configurations.
|
|
84674
84807
|
self.output_groups = output_groups
|
|
@@ -84770,8 +84903,8 @@ class SubmitMediaConvertJobResponseBodyJob(TeaModel):
|
|
|
84770
84903
|
#
|
|
84771
84904
|
# * Inited: The task is initialized.
|
|
84772
84905
|
# * Running
|
|
84773
|
-
# *
|
|
84774
|
-
# *
|
|
84906
|
+
# * Complete
|
|
84907
|
+
# * Error
|
|
84775
84908
|
# * Cancelled
|
|
84776
84909
|
self.state = state
|
|
84777
84910
|
# The user data.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_ice20201109/__init__.py,sha256=1bShyOePxV8J_IMY3IJBmoyuiU5xxRQLJ8Pq7dR7PO0,21
|
|
2
|
+
alibabacloud_ice20201109/client.py,sha256=ZiiD-arwNe1lZZiLGeAoBRv5dt0Tw_pSKxGVTDzjTMs,1762336
|
|
3
|
+
alibabacloud_ice20201109/models.py,sha256=9qoA3Q6YOjW3-wD7-ArvvAUCZVOwbyAxPULKdZmUZDQ,3582611
|
|
4
|
+
alibabacloud_ice20201109-6.5.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_ice20201109-6.5.2.dist-info/METADATA,sha256=QcG7vAEyJRYPMz7afvwgVz5v-iAngC773hhlvzSxyzY,2312
|
|
6
|
+
alibabacloud_ice20201109-6.5.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_ice20201109-6.5.2.dist-info/top_level.txt,sha256=Tdq86hkGJfaKKyNwqChNx5I788aFI6e_iTUmQOYYPK8,25
|
|
8
|
+
alibabacloud_ice20201109-6.5.2.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_ice20201109/__init__.py,sha256=SZ780RZwN5CGkNBuyp3OapPDVus7WyUb2_m7bxnu6-A,21
|
|
2
|
-
alibabacloud_ice20201109/client.py,sha256=FohJ5UNQtrqBrMA3b6cVCabILP1ebrvJ3xMrgb3zTeI,1761517
|
|
3
|
-
alibabacloud_ice20201109/models.py,sha256=-8wZEvH8TUEk0RruYZ9ruTuXAit0bE_znEjo1Lz_Doc,3578303
|
|
4
|
-
alibabacloud_ice20201109-6.5.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_ice20201109-6.5.0.dist-info/METADATA,sha256=2Vcs6iwXzJ8PeH1bJIsk-K0TG1agJs-HnhyEHPqHkIM,2312
|
|
6
|
-
alibabacloud_ice20201109-6.5.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
-
alibabacloud_ice20201109-6.5.0.dist-info/top_level.txt,sha256=Tdq86hkGJfaKKyNwqChNx5I788aFI6e_iTUmQOYYPK8,25
|
|
8
|
-
alibabacloud_ice20201109-6.5.0.dist-info/RECORD,,
|
{alibabacloud_ice20201109-6.5.0.dist-info → alibabacloud_ice20201109-6.5.2.dist-info}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
{alibabacloud_ice20201109-6.5.0.dist-info → alibabacloud_ice20201109-6.5.2.dist-info}/top_level.txt
RENAMED
|
File without changes
|