@@ -2024,8 +2024,9 @@ class CreateCallRequest(_serialization.Model):
20242024 :ivar call_intelligence_options: AI options for the call.
20252025 :vartype call_intelligence_options:
20262026 ~azure.communication.callautomation.models.CallIntelligenceOptions
2027- :ivar ops_source: The identifier of the source in an OPS call.
2028- :vartype ops_source:
2027+ :ivar teams_app_source: The identifier of the source for creating call with Teams resource
2028+ account ID.
2029+ :vartype teams_app_source:
20292030 ~azure.communication.callautomation.models.MicrosoftTeamsAppIdentifierModel
20302031 :ivar custom_calling_context: Used by customer to send custom calling context to targets.
20312032 :vartype custom_calling_context:
@@ -2050,7 +2051,7 @@ class CreateCallRequest(_serialization.Model):
20502051 "operation_context" : {"key" : "operationContext" , "type" : "str" },
20512052 "callback_uri" : {"key" : "callbackUri" , "type" : "str" },
20522053 "call_intelligence_options" : {"key" : "callIntelligenceOptions" , "type" : "CallIntelligenceOptions" },
2053- "ops_source " : {"key" : "opsSource " , "type" : "MicrosoftTeamsAppIdentifierModel" },
2054+ "teams_app_source " : {"key" : "teamsAppSource " , "type" : "MicrosoftTeamsAppIdentifierModel" },
20542055 "custom_calling_context" : {"key" : "customCallingContext" , "type" : "CustomCallingContext" },
20552056 "media_streaming_options" : {"key" : "mediaStreamingOptions" , "type" : "MediaStreamingOptions" },
20562057 "transcription_options" : {"key" : "transcriptionOptions" , "type" : "TranscriptionOptions" },
@@ -2066,7 +2067,7 @@ def __init__(
20662067 source : Optional ["_models.CommunicationUserIdentifierModel" ] = None ,
20672068 operation_context : Optional [str ] = None ,
20682069 call_intelligence_options : Optional ["_models.CallIntelligenceOptions" ] = None ,
2069- ops_source : Optional ["_models.MicrosoftTeamsAppIdentifierModel" ] = None ,
2070+ teams_app_source : Optional ["_models.MicrosoftTeamsAppIdentifierModel" ] = None ,
20702071 custom_calling_context : Optional ["_models.CustomCallingContext" ] = None ,
20712072 media_streaming_options : Optional ["_models.MediaStreamingOptions" ] = None ,
20722073 transcription_options : Optional ["_models.TranscriptionOptions" ] = None ,
@@ -2092,8 +2093,9 @@ def __init__(
20922093 :keyword call_intelligence_options: AI options for the call.
20932094 :paramtype call_intelligence_options:
20942095 ~azure.communication.callautomation.models.CallIntelligenceOptions
2095- :keyword ops_source: The identifier of the source in an OPS call.
2096- :paramtype ops_source:
2096+ :keyword teams_app_source: The identifier of the source for creating call with Teams resource
2097+ account ID.
2098+ :paramtype teams_app_source:
20972099 ~azure.communication.callautomation.models.MicrosoftTeamsAppIdentifierModel
20982100 :keyword custom_calling_context: Used by customer to send custom calling context to targets.
20992101 :paramtype custom_calling_context:
@@ -2113,7 +2115,7 @@ def __init__(
21132115 self .operation_context = operation_context
21142116 self .callback_uri = callback_uri
21152117 self .call_intelligence_options = call_intelligence_options
2116- self .ops_source = ops_source
2118+ self .teams_app_source = teams_app_source
21172119 self .custom_calling_context = custom_calling_context
21182120 self .media_streaming_options = media_streaming_options
21192121 self .transcription_options = transcription_options
@@ -3435,6 +3437,67 @@ def __init__(
34353437 self .operation_callback_uri = operation_callback_uri
34363438
34373439
3440+ class IncomingCall (_serialization .Model ):
3441+ """The incoming call event.
3442+
3443+ Variables are only populated by the server, and will be ignored when sending a request.
3444+
3445+ :ivar to: The communication identifier of the target user.
3446+ :vartype to: ~azure.communication.callautomation.models.CommunicationIdentifierModel
3447+ :ivar from_property: The communication identifier of the user who initiated the call.
3448+ :vartype from_property: ~azure.communication.callautomation.models.CommunicationIdentifierModel
3449+ :ivar caller_display_name: Display name of caller.
3450+ :vartype caller_display_name: str
3451+ :ivar server_call_id: The server call id.
3452+ :vartype server_call_id: str
3453+ :ivar custom_context: Custom Context of Incoming Call.
3454+ :vartype custom_context: ~azure.communication.callautomation.models.CustomCallingContext
3455+ :ivar incoming_call_context: Incoming call context.
3456+ :vartype incoming_call_context: str
3457+ :ivar on_behalf_of_callee: The communication identifier of the user on behalf of whom the call
3458+ is made.
3459+ :vartype on_behalf_of_callee:
3460+ ~azure.communication.callautomation.models.CommunicationIdentifierModel
3461+ :ivar correlation_id: Correlation ID for event to call correlation. Also called ChainId for
3462+ skype chain ID.
3463+ :vartype correlation_id: str
3464+ """
3465+
3466+ _validation = {
3467+ "to" : {"readonly" : True },
3468+ "from_property" : {"readonly" : True },
3469+ "caller_display_name" : {"readonly" : True },
3470+ "server_call_id" : {"readonly" : True },
3471+ "custom_context" : {"readonly" : True },
3472+ "incoming_call_context" : {"readonly" : True },
3473+ "on_behalf_of_callee" : {"readonly" : True },
3474+ "correlation_id" : {"readonly" : True },
3475+ }
3476+
3477+ _attribute_map = {
3478+ "to" : {"key" : "to" , "type" : "CommunicationIdentifierModel" },
3479+ "from_property" : {"key" : "from" , "type" : "CommunicationIdentifierModel" },
3480+ "caller_display_name" : {"key" : "callerDisplayName" , "type" : "str" },
3481+ "server_call_id" : {"key" : "serverCallId" , "type" : "str" },
3482+ "custom_context" : {"key" : "customContext" , "type" : "CustomCallingContext" },
3483+ "incoming_call_context" : {"key" : "incomingCallContext" , "type" : "str" },
3484+ "on_behalf_of_callee" : {"key" : "onBehalfOfCallee" , "type" : "CommunicationIdentifierModel" },
3485+ "correlation_id" : {"key" : "correlationId" , "type" : "str" },
3486+ }
3487+
3488+ def __init__ (self , ** kwargs : Any ) -> None :
3489+ """ """
3490+ super ().__init__ (** kwargs )
3491+ self .to = None
3492+ self .from_property = None
3493+ self .caller_display_name = None
3494+ self .server_call_id = None
3495+ self .custom_context = None
3496+ self .incoming_call_context = None
3497+ self .on_behalf_of_callee = None
3498+ self .correlation_id = None
3499+
3500+
34383501class InterruptAudioAndAnnounceRequest (_serialization .Model ):
34393502 """InterruptAudioAndAnnounceRequest.
34403503
0 commit comments