Skip to content

Commit 8370120

Browse files
committed
updating swagger
1 parent 38cb0df commit 8370120

File tree

4 files changed

+34
-29
lines changed

4 files changed

+34
-29
lines changed

sdk/communication/azure-communication-callautomation/azure/communication/callautomation/_generated/models/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
TeamsPhoneCallerDetails,
115115
TeamsPhoneSourceDetails,
116116
TextSource,
117-
TranscriptionCallSummaryUpdate,
117+
TranscriptionCallSummaryUpdated,
118118
TranscriptionFailed,
119119
TranscriptionOptions,
120120
TranscriptionStarted,
@@ -265,7 +265,7 @@
265265
"TeamsPhoneCallerDetails",
266266
"TeamsPhoneSourceDetails",
267267
"TextSource",
268-
"TranscriptionCallSummaryUpdate",
268+
"TranscriptionCallSummaryUpdated",
269269
"TranscriptionFailed",
270270
"TranscriptionOptions",
271271
"TranscriptionStarted",

sdk/communication/azure-communication-callautomation/azure/communication/callautomation/_generated/models/_enums.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ class RecordingStorageKind(str, Enum, metaclass=CaseInsensitiveEnumMeta):
214214

215215

216216
class RedactionType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
217-
"""Gets or sets the type of PII redaction to be used."""
217+
"""Value indicating the PII redaction type to be used."""
218218

219219
MASK_WITH_CHARACTER = "maskWithCharacter"
220220

@@ -242,7 +242,7 @@ class TranscriptionStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
242242
TRANSCRIPTION_RESUMED = "transcriptionResumed"
243243
TRANSCRIPTION_UPDATED = "transcriptionUpdated"
244244
TRANSCRIPTION_STOPPED = "transcriptionStopped"
245-
CALL_SUMMARY_UPDATE = "callSummaryUpdate"
245+
CALL_SUMMARY_UPDATED = "callSummaryUpdated"
246246
UNSPECIFIED_ERROR = "unspecifiedError"
247247

248248

sdk/communication/azure-communication-callautomation/azure/communication/callautomation/_generated/models/_models.py

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3198,9 +3198,9 @@ def __init__(
31983198
class PiiRedactionOptions(_serialization.Model):
31993199
"""PII redaction configuration options.
32003200
3201-
:ivar enable: Gets or sets a value indicating whether PII redaction is enabled.
3201+
:ivar enable: Value indicating if PII redaction is enabled.
32023202
:vartype enable: bool
3203-
:ivar redaction_type: Gets or sets the type of PII redaction to be used. "maskWithCharacter"
3203+
:ivar redaction_type: Value indicating the PII redaction type to be used. "maskWithCharacter"
32043204
:vartype redaction_type: str or ~azure.communication.callautomation.models.RedactionType
32053205
"""
32063206

@@ -3217,9 +3217,10 @@ def __init__(
32173217
**kwargs: Any
32183218
) -> None:
32193219
"""
3220-
:keyword enable: Gets or sets a value indicating whether PII redaction is enabled.
3220+
:keyword enable: Value indicating if PII redaction is enabled.
32213221
:paramtype enable: bool
3222-
:keyword redaction_type: Gets or sets the type of PII redaction to be used. "maskWithCharacter"
3222+
:keyword redaction_type: Value indicating the PII redaction type to be used.
3223+
"maskWithCharacter"
32233224
:paramtype redaction_type: str or ~azure.communication.callautomation.models.RedactionType
32243225
"""
32253226
super().__init__(**kwargs)
@@ -3854,10 +3855,10 @@ class RecognizeOptions(_serialization.Model):
38543855
~azure.communication.callautomation.models.CommunicationIdentifierModel
38553856
:ivar speech_language: Speech language to be recognized, If not set default is en-US.
38563857
:vartype speech_language: str
3857-
:ivar speech_languages: Gets or sets a list of languages for Language Identification.
3858+
:ivar speech_languages: List of locales for Language Identification.
3859+
Supports upto 4 locales in the format: ["en-us", "fr-fr", "hi-in"] etc.
38583860
:vartype speech_languages: list[str]
3859-
:ivar enable_sentiment_analysis: Gets or sets a value indicating if sentiment analysis should
3860-
be used.
3861+
:ivar enable_sentiment_analysis: Value indicating if sentiment analysis should be used.
38613862
:vartype enable_sentiment_analysis: bool
38623863
:ivar speech_recognition_model_endpoint_id: Endpoint where the custom model was deployed.
38633864
:vartype speech_recognition_model_endpoint_id: str
@@ -3913,10 +3914,10 @@ def __init__(
39133914
~azure.communication.callautomation.models.CommunicationIdentifierModel
39143915
:keyword speech_language: Speech language to be recognized, If not set default is en-US.
39153916
:paramtype speech_language: str
3916-
:keyword speech_languages: Gets or sets a list of languages for Language Identification.
3917+
:keyword speech_languages: List of locales for Language Identification.
3918+
Supports upto 4 locales in the format: ["en-us", "fr-fr", "hi-in"] etc.
39173919
:paramtype speech_languages: list[str]
3918-
:keyword enable_sentiment_analysis: Gets or sets a value indicating if sentiment analysis
3919-
should be used.
3920+
:keyword enable_sentiment_analysis: Value indicating if sentiment analysis should be used.
39203921
:paramtype enable_sentiment_analysis: bool
39213922
:keyword speech_recognition_model_endpoint_id: Endpoint where the custom model was deployed.
39223923
:paramtype speech_recognition_model_endpoint_id: str
@@ -4718,9 +4719,10 @@ def __init__(self, *, sentiment: Optional[str] = None, **kwargs: Any) -> None:
47184719
class SipDiagnosticInfo(_serialization.Model):
47194720
"""SipDiagnosticInfo.
47204721
4721-
:ivar code:
4722+
:ivar code: Represents the diagnostic code returned by the SIP service, used for identifying
4723+
specific issues or statuses.
47224724
:vartype code: int
4723-
:ivar message:
4725+
:ivar message: Message associated with the code for diagnosing.
47244726
:vartype message: str
47254727
"""
47264728

@@ -4731,9 +4733,10 @@ class SipDiagnosticInfo(_serialization.Model):
47314733

47324734
def __init__(self, *, code: Optional[int] = None, message: Optional[str] = None, **kwargs: Any) -> None:
47334735
"""
4734-
:keyword code:
4736+
:keyword code: Represents the diagnostic code returned by the SIP service, used for identifying
4737+
specific issues or statuses.
47354738
:paramtype code: int
4736-
:keyword message:
4739+
:keyword message: Message associated with the code for diagnosing.
47374740
:paramtype message: str
47384741
"""
47394742
super().__init__(**kwargs)
@@ -5675,8 +5678,8 @@ def __init__(
56755678
self.custom_voice_endpoint_id = custom_voice_endpoint_id
56765679

56775680

5678-
class TranscriptionCallSummaryUpdate(_serialization.Model):
5679-
"""TranscriptionCallSummaryUpdate.
5681+
class TranscriptionCallSummaryUpdated(_serialization.Model):
5682+
"""TranscriptionCallSummaryUpdated.
56805683
56815684
Variables are only populated by the server, and will be ignored when sending a request.
56825685
@@ -6040,7 +6043,7 @@ class TranscriptionUpdate(_serialization.Model):
60406043
"""TranscriptionUpdate.
60416044
60426045
:ivar transcription_status: Known values are: "transcriptionStarted", "transcriptionFailed",
6043-
"transcriptionResumed", "transcriptionUpdated", "transcriptionStopped", "callSummaryUpdate",
6046+
"transcriptionResumed", "transcriptionUpdated", "transcriptionStopped", "callSummaryUpdated",
60446047
and "unspecifiedError".
60456048
:vartype transcription_status: str or
60466049
~azure.communication.callautomation.models.TranscriptionStatus
@@ -6052,7 +6055,7 @@ class TranscriptionUpdate(_serialization.Model):
60526055
"callSummarySuccess", and "callSummaryFailure".
60536056
:vartype transcription_status_details: str or
60546057
~azure.communication.callautomation.models.TranscriptionStatusDetails
6055-
:ivar message:
6058+
:ivar message: Optional message providing additional context about the transcription update.
60566059
:vartype message: str
60576060
"""
60586061

@@ -6072,7 +6075,7 @@ def __init__(
60726075
) -> None:
60736076
"""
60746077
:keyword transcription_status: Known values are: "transcriptionStarted", "transcriptionFailed",
6075-
"transcriptionResumed", "transcriptionUpdated", "transcriptionStopped", "callSummaryUpdate",
6078+
"transcriptionResumed", "transcriptionUpdated", "transcriptionStopped", "callSummaryUpdated",
60766079
and "unspecifiedError".
60776080
:paramtype transcription_status: str or
60786081
~azure.communication.callautomation.models.TranscriptionStatus
@@ -6084,7 +6087,7 @@ def __init__(
60846087
"callSummarySuccess", and "callSummaryFailure".
60856088
:paramtype transcription_status_details: str or
60866089
~azure.communication.callautomation.models.TranscriptionStatusDetails
6087-
:keyword message:
6090+
:keyword message: Optional message providing additional context about the transcription update.
60886091
:paramtype message: str
60896092
"""
60906093
super().__init__(**kwargs)
@@ -6511,9 +6514,10 @@ class WebSocketTranscriptionOptions(TranscriptionOptions):
65116514
:vartype enable_intermediate_results: bool
65126515
:ivar pii_redaction_options: PII redaction configuration options.
65136516
:vartype pii_redaction_options: ~azure.communication.callautomation.models.PiiRedactionOptions
6514-
:ivar enable_sentiment_analysis: Indicating if sentiment analysis should be used.
6517+
:ivar enable_sentiment_analysis: Indicating if sentiment analysis should be enabled.
65156518
:vartype enable_sentiment_analysis: bool
6516-
:ivar locales: List of languages for Language Identification.
6519+
:ivar locales: List of locales for Language Identification.
6520+
Supports upto 4 locales in the format: ["en-us", "fr-fr", "hi-in"] etc.
65176521
:vartype locales: list[str]
65186522
:ivar summarization_options: Summarization configuration options.
65196523
:vartype summarization_options: ~azure.communication.callautomation.models.SummarizationOptions
@@ -6566,9 +6570,10 @@ def __init__(
65666570
:keyword pii_redaction_options: PII redaction configuration options.
65676571
:paramtype pii_redaction_options:
65686572
~azure.communication.callautomation.models.PiiRedactionOptions
6569-
:keyword enable_sentiment_analysis: Indicating if sentiment analysis should be used.
6573+
:keyword enable_sentiment_analysis: Indicating if sentiment analysis should be enabled.
65706574
:paramtype enable_sentiment_analysis: bool
6571-
:keyword locales: List of languages for Language Identification.
6575+
:keyword locales: List of locales for Language Identification.
6576+
Supports upto 4 locales in the format: ["en-us", "fr-fr", "hi-in"] etc.
65726577
:paramtype locales: list[str]
65736578
:keyword summarization_options: Summarization configuration options.
65746579
:paramtype summarization_options:

sdk/communication/azure-communication-callautomation/swagger/SWAGGER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ autorest SWAGGER.md
1717

1818
```yaml
1919
tag: package-2025-08-15-preview
20-
require: https://github.com/Azure/azure-rest-api-specs/blob/93a3c3fa9f684918d36c640fc915fc0ca8a49326/specification/communication/data-plane/CallAutomation/readme.md
20+
require: https://github.com/Azure/azure-rest-api-specs/blob/c14ed5b1211b521987bffcd64dcca98a773977ec/specification/communication/data-plane/CallAutomation/readme.md
2121
output-folder: ../azure/communication/callautomation/_generated
2222
models-mode: msrest
2323
namespace: azure.communication.callautomation

0 commit comments

Comments
 (0)