alibabacloud-ice20201109 6.5.1__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.
@@ -1 +1 @@
1
- __version__ = '6.5.1'
1
+ __version__ = '6.5.2'
@@ -6341,7 +6341,7 @@ class Client(OpenApiClient):
6341
6341
  runtime: util_models.RuntimeOptions,
6342
6342
  ) -> ice20201109_models.DeleteChannelResponse:
6343
6343
  """
6344
- @summary Deletes a channel in MediaWeaver.
6344
+ @summary Deletes a channel.
6345
6345
 
6346
6346
  @param request: DeleteChannelRequest
6347
6347
  @param runtime: runtime options for this request RuntimeOptions
@@ -6376,7 +6376,7 @@ class Client(OpenApiClient):
6376
6376
  runtime: util_models.RuntimeOptions,
6377
6377
  ) -> ice20201109_models.DeleteChannelResponse:
6378
6378
  """
6379
- @summary Deletes a channel in MediaWeaver.
6379
+ @summary Deletes a channel.
6380
6380
 
6381
6381
  @param request: DeleteChannelRequest
6382
6382
  @param runtime: runtime options for this request RuntimeOptions
@@ -6410,7 +6410,7 @@ class Client(OpenApiClient):
6410
6410
  request: ice20201109_models.DeleteChannelRequest,
6411
6411
  ) -> ice20201109_models.DeleteChannelResponse:
6412
6412
  """
6413
- @summary Deletes a channel in MediaWeaver.
6413
+ @summary Deletes a channel.
6414
6414
 
6415
6415
  @param request: DeleteChannelRequest
6416
6416
  @return: DeleteChannelResponse
@@ -6423,7 +6423,7 @@ class Client(OpenApiClient):
6423
6423
  request: ice20201109_models.DeleteChannelRequest,
6424
6424
  ) -> ice20201109_models.DeleteChannelResponse:
6425
6425
  """
6426
- @summary Deletes a channel in MediaWeaver.
6426
+ @summary Deletes a channel.
6427
6427
 
6428
6428
  @param request: DeleteChannelRequest
6429
6429
  @return: DeleteChannelResponse
@@ -17279,7 +17279,7 @@ class Client(OpenApiClient):
17279
17279
  runtime: util_models.RuntimeOptions,
17280
17280
  ) -> ice20201109_models.GetSourceResponse:
17281
17281
  """
17282
- @summary Queries a source in MediaWeaver.
17282
+ @summary Queries a source.
17283
17283
 
17284
17284
  @param request: GetSourceRequest
17285
17285
  @param runtime: runtime options for this request RuntimeOptions
@@ -17318,7 +17318,7 @@ class Client(OpenApiClient):
17318
17318
  runtime: util_models.RuntimeOptions,
17319
17319
  ) -> ice20201109_models.GetSourceResponse:
17320
17320
  """
17321
- @summary Queries a source in MediaWeaver.
17321
+ @summary Queries a source.
17322
17322
 
17323
17323
  @param request: GetSourceRequest
17324
17324
  @param runtime: runtime options for this request RuntimeOptions
@@ -17356,7 +17356,7 @@ class Client(OpenApiClient):
17356
17356
  request: ice20201109_models.GetSourceRequest,
17357
17357
  ) -> ice20201109_models.GetSourceResponse:
17358
17358
  """
17359
- @summary Queries a source in MediaWeaver.
17359
+ @summary Queries a source.
17360
17360
 
17361
17361
  @param request: GetSourceRequest
17362
17362
  @return: GetSourceResponse
@@ -17369,7 +17369,7 @@ class Client(OpenApiClient):
17369
17369
  request: ice20201109_models.GetSourceRequest,
17370
17370
  ) -> ice20201109_models.GetSourceResponse:
17371
17371
  """
17372
- @summary Queries a source in MediaWeaver.
17372
+ @summary Queries a source.
17373
17373
 
17374
17374
  @param request: GetSourceRequest
17375
17375
  @return: GetSourceResponse
@@ -29307,6 +29307,8 @@ class Client(OpenApiClient):
29307
29307
  query['InstanceId'] = request.instance_id
29308
29308
  if not UtilClient.is_unset(request.text):
29309
29309
  query['Text'] = request.text
29310
+ if not UtilClient.is_unset(request.type):
29311
+ query['Type'] = request.type
29310
29312
  req = open_api_models.OpenApiRequest(
29311
29313
  query=OpenApiUtilClient.query(query)
29312
29314
  )
@@ -29352,6 +29354,8 @@ class Client(OpenApiClient):
29352
29354
  query['InstanceId'] = request.instance_id
29353
29355
  if not UtilClient.is_unset(request.text):
29354
29356
  query['Text'] = request.text
29357
+ if not UtilClient.is_unset(request.type):
29358
+ query['Type'] = request.type
29355
29359
  req = open_api_models.OpenApiRequest(
29356
29360
  query=OpenApiUtilClient.query(query)
29357
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'])
@@ -76715,6 +76835,7 @@ class SendAIAgentSpeechRequest(TeaModel):
76715
76835
  enable_interrupt: bool = None,
76716
76836
  instance_id: str = None,
76717
76837
  text: str = None,
76838
+ type: str = None,
76718
76839
  ):
76719
76840
  # Specifies whether the broadcast can interrupt the ongoing speech. Default value: true
76720
76841
  self.enable_interrupt = enable_interrupt
@@ -76722,6 +76843,7 @@ class SendAIAgentSpeechRequest(TeaModel):
76722
76843
  self.instance_id = instance_id
76723
76844
  # This parameter is required.
76724
76845
  self.text = text
76846
+ self.type = type
76725
76847
 
76726
76848
  def validate(self):
76727
76849
  pass
@@ -76738,6 +76860,8 @@ class SendAIAgentSpeechRequest(TeaModel):
76738
76860
  result['InstanceId'] = self.instance_id
76739
76861
  if self.text is not None:
76740
76862
  result['Text'] = self.text
76863
+ if self.type is not None:
76864
+ result['Type'] = self.type
76741
76865
  return result
76742
76866
 
76743
76867
  def from_map(self, m: dict = None):
@@ -76748,6 +76872,8 @@ class SendAIAgentSpeechRequest(TeaModel):
76748
76872
  self.instance_id = m.get('InstanceId')
76749
76873
  if m.get('Text') is not None:
76750
76874
  self.text = m.get('Text')
76875
+ if m.get('Type') is not None:
76876
+ self.type = m.get('Type')
76751
76877
  return self
76752
76878
 
76753
76879
 
@@ -84675,6 +84801,7 @@ class SubmitMediaConvertJobResponseBodyJobConfig(TeaModel):
84675
84801
  ):
84676
84802
  # The inputs of the transcoding task.
84677
84803
  self.inputs = inputs
84804
+ # The name of the job.
84678
84805
  self.job_name = job_name
84679
84806
  # The output group configurations.
84680
84807
  self.output_groups = output_groups
@@ -84776,8 +84903,8 @@ class SubmitMediaConvertJobResponseBodyJob(TeaModel):
84776
84903
  #
84777
84904
  # * Inited: The task is initialized.
84778
84905
  # * Running
84779
- # * Success
84780
- # * Failed
84906
+ # * Complete
84907
+ # * Error
84781
84908
  # * Cancelled
84782
84909
  self.state = state
84783
84910
  # The user data.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-ice20201109
3
- Version: 6.5.1
3
+ Version: 6.5.2
4
4
  Summary: Alibaba Cloud ICE (20201109) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -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=-riEcj5iDT_Mg4Be9x7X9jK0InATgRTXi_Ugs8Pz03g,21
2
- alibabacloud_ice20201109/client.py,sha256=Gg1lzCher-VxCyUrxhXbi4omZTBc_w9wYT1Jklnh4Cs,1762274
3
- alibabacloud_ice20201109/models.py,sha256=feqBrJPC4xY3kZe5iUJrVhf72W9auTxFPLAUmaKsdNo,3578563
4
- alibabacloud_ice20201109-6.5.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- alibabacloud_ice20201109-6.5.1.dist-info/METADATA,sha256=nGv9x6ELDbtJtL43Owre_1R3mJgvGYkq6VIqGDw2hqE,2312
6
- alibabacloud_ice20201109-6.5.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
- alibabacloud_ice20201109-6.5.1.dist-info/top_level.txt,sha256=Tdq86hkGJfaKKyNwqChNx5I788aFI6e_iTUmQOYYPK8,25
8
- alibabacloud_ice20201109-6.5.1.dist-info/RECORD,,