UNPKG

@azure/communication-call-automation

Version:
1,738 lines (1,737 loc) 118 kB
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export const CreateCallRequest = { type: { name: "Composite", className: "CreateCallRequest", modelProperties: { targets: { serializedName: "targets", required: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "CommunicationIdentifierModel", }, }, }, }, sourceCallerIdNumber: { serializedName: "sourceCallerIdNumber", type: { name: "Composite", className: "PhoneNumberIdentifierModel", }, }, sourceDisplayName: { serializedName: "sourceDisplayName", type: { name: "String", }, }, source: { serializedName: "source", type: { name: "Composite", className: "CommunicationUserIdentifierModel", }, }, operationContext: { serializedName: "operationContext", type: { name: "String", }, }, callbackUri: { serializedName: "callbackUri", required: true, type: { name: "String", }, }, callIntelligenceOptions: { serializedName: "callIntelligenceOptions", type: { name: "Composite", className: "CallIntelligenceOptionsInternal", }, }, mediaStreamingOptions: { serializedName: "mediaStreamingOptions", type: { name: "Composite", className: "MediaStreamingOptionsInternal", }, }, transcriptionOptions: { serializedName: "transcriptionOptions", type: { name: "Composite", className: "TranscriptionOptionsInternal", }, }, teamsAppSource: { serializedName: "teamsAppSource", type: { name: "Composite", className: "MicrosoftTeamsAppIdentifierModel", }, }, }, }, }; export const CommunicationIdentifierModel = { type: { name: "Composite", className: "CommunicationIdentifierModel", modelProperties: { kind: { serializedName: "kind", type: { name: "String", }, }, rawId: { serializedName: "rawId", type: { name: "String", }, }, communicationUser: { serializedName: "communicationUser", type: { name: "Composite", className: "CommunicationUserIdentifierModel", }, }, phoneNumber: { serializedName: "phoneNumber", type: { name: "Composite", className: "PhoneNumberIdentifierModel", }, }, microsoftTeamsUser: { serializedName: "microsoftTeamsUser", type: { name: "Composite", className: "MicrosoftTeamsUserIdentifierModel", }, }, microsoftTeamsApp: { serializedName: "microsoftTeamsApp", type: { name: "Composite", className: "MicrosoftTeamsAppIdentifierModel", }, }, teamsExtensionUser: { serializedName: "teamsExtensionUser", type: { name: "Composite", className: "TeamsExtensionUserIdentifierModel", }, }, }, }, }; export const CommunicationUserIdentifierModel = { type: { name: "Composite", className: "CommunicationUserIdentifierModel", modelProperties: { id: { serializedName: "id", required: true, type: { name: "String", }, }, }, }, }; export const PhoneNumberIdentifierModel = { type: { name: "Composite", className: "PhoneNumberIdentifierModel", modelProperties: { value: { serializedName: "value", required: true, type: { name: "String", }, }, isAnonymous: { serializedName: "isAnonymous", type: { name: "Boolean", }, }, assertedId: { serializedName: "assertedId", type: { name: "String", }, }, }, }, }; export const MicrosoftTeamsUserIdentifierModel = { type: { name: "Composite", className: "MicrosoftTeamsUserIdentifierModel", modelProperties: { userId: { serializedName: "userId", required: true, type: { name: "String", }, }, isAnonymous: { serializedName: "isAnonymous", type: { name: "Boolean", }, }, cloud: { serializedName: "cloud", type: { name: "String", }, }, }, }, }; export const MicrosoftTeamsAppIdentifierModel = { type: { name: "Composite", className: "MicrosoftTeamsAppIdentifierModel", modelProperties: { appId: { serializedName: "appId", required: true, type: { name: "String", }, }, cloud: { serializedName: "cloud", type: { name: "String", }, }, }, }, }; export const TeamsExtensionUserIdentifierModel = { type: { name: "Composite", className: "TeamsExtensionUserIdentifierModel", modelProperties: { userId: { serializedName: "userId", required: true, type: { name: "String", }, }, tenantId: { serializedName: "tenantId", required: true, type: { name: "String", }, }, resourceId: { serializedName: "resourceId", required: true, type: { name: "String", }, }, cloud: { serializedName: "cloud", type: { name: "String", }, }, }, }, }; export const CallIntelligenceOptionsInternal = { type: { name: "Composite", className: "CallIntelligenceOptionsInternal", modelProperties: { cognitiveServicesEndpoint: { serializedName: "cognitiveServicesEndpoint", type: { name: "String", }, }, }, }, }; export const MediaStreamingOptionsInternal = { type: { name: "Composite", className: "MediaStreamingOptionsInternal", uberParent: "MediaStreamingOptionsInternal", polymorphicDiscriminator: { serializedName: "transportType", clientName: "transportType", }, modelProperties: { transportType: { serializedName: "transportType", required: true, type: { name: "String", }, }, audioChannelType: { serializedName: "audioChannelType", required: true, type: { name: "String", }, }, }, }, }; export const TranscriptionOptionsInternal = { type: { name: "Composite", className: "TranscriptionOptionsInternal", uberParent: "TranscriptionOptionsInternal", polymorphicDiscriminator: { serializedName: "transportType", clientName: "transportType", }, modelProperties: { transportType: { serializedName: "transportType", required: true, type: { name: "String", }, }, locale: { serializedName: "locale", required: true, type: { name: "String", }, }, }, }, }; export const CallConnectionPropertiesInternal = { type: { name: "Composite", className: "CallConnectionPropertiesInternal", modelProperties: { callConnectionId: { serializedName: "callConnectionId", type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", type: { name: "String", }, }, targets: { serializedName: "targets", type: { name: "Sequence", element: { type: { name: "Composite", className: "CommunicationIdentifierModel", }, }, }, }, callConnectionState: { serializedName: "callConnectionState", type: { name: "String", }, }, callbackUri: { serializedName: "callbackUri", type: { name: "String", }, }, sourceCallerIdNumber: { serializedName: "sourceCallerIdNumber", type: { name: "Composite", className: "PhoneNumberIdentifierModel", }, }, sourceDisplayName: { serializedName: "sourceDisplayName", type: { name: "String", }, }, source: { serializedName: "source", type: { name: "Composite", className: "CommunicationIdentifierModel", }, }, correlationId: { serializedName: "correlationId", type: { name: "String", }, }, answeredBy: { serializedName: "answeredBy", type: { name: "Composite", className: "CommunicationUserIdentifierModel", }, }, mediaStreamingSubscription: { serializedName: "mediaStreamingSubscription", type: { name: "Composite", className: "MediaStreamingSubscription", }, }, transcriptionSubscription: { serializedName: "transcriptionSubscription", type: { name: "Composite", className: "TranscriptionSubscription", }, }, answeredFor: { serializedName: "answeredFor", type: { name: "Composite", className: "PhoneNumberIdentifierModel", }, }, }, }, }; export const MediaStreamingSubscription = { type: { name: "Composite", className: "MediaStreamingSubscription", modelProperties: { id: { serializedName: "id", type: { name: "String", }, }, state: { serializedName: "state", type: { name: "String", }, }, subscribedContentTypes: { serializedName: "subscribedContentTypes", type: { name: "Sequence", element: { type: { name: "String", }, }, }, }, }, }, }; export const TranscriptionSubscription = { type: { name: "Composite", className: "TranscriptionSubscription", modelProperties: { id: { serializedName: "id", type: { name: "String", }, }, state: { serializedName: "state", type: { name: "String", }, }, subscribedResultStates: { serializedName: "subscribedResultTypes", type: { name: "Sequence", element: { type: { name: "String", }, }, }, }, locale: { serializedName: "locale", type: { name: "String", }, }, }, }, }; export const CommunicationErrorResponse = { type: { name: "Composite", className: "CommunicationErrorResponse", modelProperties: { error: { serializedName: "error", type: { name: "Composite", className: "CommunicationError", }, }, }, }, }; export const CommunicationError = { type: { name: "Composite", className: "CommunicationError", modelProperties: { code: { serializedName: "code", required: true, type: { name: "String", }, }, message: { serializedName: "message", required: true, type: { name: "String", }, }, target: { serializedName: "target", readOnly: true, type: { name: "String", }, }, details: { serializedName: "details", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "CommunicationError", }, }, }, }, innerError: { serializedName: "innererror", type: { name: "Composite", className: "CommunicationError", }, }, }, }, }; export const AnswerCallRequest = { type: { name: "Composite", className: "AnswerCallRequest", modelProperties: { incomingCallContext: { serializedName: "incomingCallContext", required: true, type: { name: "String", }, }, callbackUri: { serializedName: "callbackUri", required: true, type: { name: "String", }, }, operationContext: { serializedName: "operationContext", type: { name: "String", }, }, callIntelligenceOptions: { serializedName: "callIntelligenceOptions", type: { name: "Composite", className: "CallIntelligenceOptionsInternal", }, }, answeredBy: { serializedName: "answeredBy", type: { name: "Composite", className: "CommunicationUserIdentifierModel", }, }, mediaStreamingOptions: { serializedName: "mediaStreamingOptions", type: { name: "Composite", className: "MediaStreamingOptionsInternal", }, }, transcriptionOptions: { serializedName: "transcriptionOptions", type: { name: "Composite", className: "TranscriptionOptionsInternal", }, }, }, }, }; export const RedirectCallRequest = { type: { name: "Composite", className: "RedirectCallRequest", modelProperties: { incomingCallContext: { serializedName: "incomingCallContext", required: true, type: { name: "String", }, }, target: { serializedName: "target", type: { name: "Composite", className: "CommunicationIdentifierModel", }, }, }, }, }; export const RejectCallRequest = { type: { name: "Composite", className: "RejectCallRequest", modelProperties: { incomingCallContext: { serializedName: "incomingCallContext", required: true, type: { name: "String", }, }, callRejectReason: { serializedName: "callRejectReason", type: { name: "String", }, }, }, }, }; export const ConnectRequest = { type: { name: "Composite", className: "ConnectRequest", modelProperties: { callLocator: { serializedName: "callLocator", type: { name: "Composite", className: "CallLocator", }, }, callbackUri: { serializedName: "callbackUri", required: true, type: { name: "String", }, }, operationContext: { serializedName: "operationContext", type: { name: "String", }, }, callIntelligenceOptions: { serializedName: "callIntelligenceOptions", type: { name: "Composite", className: "CallIntelligenceOptionsInternal", }, }, mediaStreamingOptions: { serializedName: "mediaStreamingOptions", type: { name: "Composite", className: "MediaStreamingOptionsInternal", }, }, transcriptionOptions: { serializedName: "transcriptionOptions", type: { name: "Composite", className: "TranscriptionOptionsInternal", }, }, }, }, }; export const CallLocator = { type: { name: "Composite", className: "CallLocator", modelProperties: { groupCallId: { serializedName: "groupCallId", type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", type: { name: "String", }, }, roomId: { serializedName: "roomId", type: { name: "String", }, }, kind: { serializedName: "kind", type: { name: "String", }, }, }, }, }; export const TransferToParticipantRequest = { type: { name: "Composite", className: "TransferToParticipantRequest", modelProperties: { targetParticipant: { serializedName: "targetParticipant", type: { name: "Composite", className: "CommunicationIdentifierModel", }, }, operationContext: { serializedName: "operationContext", type: { name: "String", }, }, transferee: { serializedName: "transferee", type: { name: "Composite", className: "CommunicationIdentifierModel", }, }, operationCallbackUri: { serializedName: "operationCallbackUri", type: { name: "String", }, }, customCallingContext: { serializedName: "customCallingContext", type: { name: "Composite", className: "CustomCallingContextInternal", }, }, sourceCallerIdNumber: { serializedName: "sourceCallerIdNumber", type: { name: "Composite", className: "PhoneNumberIdentifierModel", }, }, }, }, }; export const CustomCallingContextInternal = { type: { name: "Composite", className: "CustomCallingContextInternal", modelProperties: { voipHeaders: { serializedName: "voipHeaders", type: { name: "Dictionary", value: { type: { name: "String" } }, }, }, sipHeaders: { serializedName: "sipHeaders", type: { name: "Dictionary", value: { type: { name: "String" } }, }, }, teamsPhoneCallDetails: { serializedName: "teamsPhoneCallDetails", type: { name: "Composite", className: "TeamsPhoneCallDetailsInternal", }, }, }, }, }; export const TeamsPhoneCallDetailsInternal = { type: { name: "Composite", className: "TeamsPhoneCallDetailsInternal", modelProperties: { teamsPhoneCallerDetails: { serializedName: "teamsPhoneCallerDetails", type: { name: "Composite", className: "TeamsPhoneCallerDetailsInternal", }, }, teamsPhoneSourceDetails: { serializedName: "teamsPhoneSourceDetails", type: { name: "Composite", className: "TeamsPhoneSourceDetailsInternal", }, }, sessionId: { serializedName: "sessionId", type: { name: "String", }, }, intent: { serializedName: "intent", type: { name: "String", }, }, callTopic: { serializedName: "callTopic", type: { name: "String", }, }, callContext: { serializedName: "callContext", type: { name: "String", }, }, transcriptUrl: { serializedName: "transcriptUrl", type: { name: "String", }, }, callSentiment: { serializedName: "callSentiment", type: { name: "String", }, }, suggestedActions: { serializedName: "suggestedActions", type: { name: "String", }, }, }, }, }; export const TeamsPhoneCallerDetailsInternal = { type: { name: "Composite", className: "TeamsPhoneCallerDetailsInternal", modelProperties: { caller: { serializedName: "caller", type: { name: "Composite", className: "CommunicationIdentifierModel", }, }, name: { serializedName: "name", required: true, type: { name: "String", }, }, phoneNumber: { serializedName: "phoneNumber", required: true, type: { name: "String", }, }, recordId: { serializedName: "recordId", type: { name: "String", }, }, screenPopUrl: { serializedName: "screenPopUrl", type: { name: "String", }, }, isAuthenticated: { serializedName: "isAuthenticated", type: { name: "Boolean", }, }, additionalCallerInformation: { serializedName: "additionalCallerInformation", type: { name: "Dictionary", value: { type: { name: "String" } }, }, }, }, }, }; export const TeamsPhoneSourceDetailsInternal = { type: { name: "Composite", className: "TeamsPhoneSourceDetailsInternal", modelProperties: { source: { serializedName: "source", type: { name: "Composite", className: "CommunicationIdentifierModel", }, }, language: { serializedName: "language", required: true, type: { name: "String", }, }, status: { serializedName: "status", required: true, type: { name: "String", }, }, intendedTargets: { serializedName: "intendedTargets", type: { name: "Dictionary", value: { type: { name: "Composite", className: "CommunicationIdentifierModel", }, }, }, }, }, }, }; export const TransferCallResponse = { type: { name: "Composite", className: "TransferCallResponse", modelProperties: { operationContext: { serializedName: "operationContext", type: { name: "String", }, }, }, }, }; export const PlayRequest = { type: { name: "Composite", className: "PlayRequest", modelProperties: { playSources: { serializedName: "playSources", required: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "PlaySourceInternal", }, }, }, }, playTo: { serializedName: "playTo", type: { name: "Sequence", element: { type: { name: "Composite", className: "CommunicationIdentifierModel", }, }, }, }, interruptCallMediaOperation: { serializedName: "interruptCallMediaOperation", type: { name: "Boolean", }, }, playOptions: { serializedName: "playOptions", type: { name: "Composite", className: "PlayOptionsInternal", }, }, operationContext: { serializedName: "operationContext", type: { name: "String", }, }, operationCallbackUri: { serializedName: "operationCallbackUri", type: { name: "String", }, }, }, }, }; export const PlaySourceInternal = { type: { name: "Composite", className: "PlaySourceInternal", modelProperties: { kind: { serializedName: "kind", required: true, type: { name: "String", }, }, playSourceCacheId: { serializedName: "playSourceCacheId", type: { name: "String", }, }, file: { serializedName: "file", type: { name: "Composite", className: "FileSourceInternal", }, }, text: { serializedName: "text", type: { name: "Composite", className: "TextSourceInternal", }, }, ssml: { serializedName: "ssml", type: { name: "Composite", className: "SsmlSourceInternal", }, }, }, }, }; export const FileSourceInternal = { type: { name: "Composite", className: "FileSourceInternal", modelProperties: { uri: { serializedName: "uri", required: true, type: { name: "String", }, }, }, }, }; export const TextSourceInternal = { type: { name: "Composite", className: "TextSourceInternal", modelProperties: { text: { serializedName: "text", required: true, type: { name: "String", }, }, sourceLocale: { serializedName: "sourceLocale", type: { name: "String", }, }, voiceKind: { serializedName: "voiceKind", type: { name: "String", }, }, voiceName: { serializedName: "voiceName", type: { name: "String", }, }, customVoiceEndpointId: { serializedName: "customVoiceEndpointId", type: { name: "String", }, }, }, }, }; export const SsmlSourceInternal = { type: { name: "Composite", className: "SsmlSourceInternal", modelProperties: { ssmlText: { serializedName: "ssmlText", required: true, type: { name: "String", }, }, customVoiceEndpointId: { serializedName: "customVoiceEndpointId", type: { name: "String", }, }, }, }, }; export const PlayOptionsInternal = { type: { name: "Composite", className: "PlayOptionsInternal", modelProperties: { loop: { serializedName: "loop", required: true, type: { name: "Boolean", }, }, }, }, }; export const StartTranscriptionRequest = { type: { name: "Composite", className: "StartTranscriptionRequest", modelProperties: { locale: { serializedName: "locale", type: { name: "String", }, }, speechModelEndpointId: { serializedName: "speechModelEndpointId", type: { name: "String", }, }, operationContext: { serializedName: "operationContext", type: { name: "String", }, }, operationCallbackUri: { serializedName: "operationCallbackUri", type: { name: "String", }, }, }, }, }; export const StopTranscriptionRequest = { type: { name: "Composite", className: "StopTranscriptionRequest", modelProperties: { operationContext: { serializedName: "operationContext", type: { name: "String", }, }, operationCallbackUri: { serializedName: "operationCallbackUri", type: { name: "String", }, }, }, }, }; export const UpdateTranscriptionRequest = { type: { name: "Composite", className: "UpdateTranscriptionRequest", modelProperties: { locale: { serializedName: "locale", type: { name: "String", }, }, speechModelEndpointId: { serializedName: "speechModelEndpointId", type: { name: "String", }, }, operationContext: { serializedName: "operationContext", type: { name: "String", }, }, operationCallbackUri: { serializedName: "operationCallbackUri", type: { name: "String", }, }, }, }, }; export const RecognizeRequest = { type: { name: "Composite", className: "RecognizeRequest", modelProperties: { recognizeInputType: { serializedName: "recognizeInputType", required: true, type: { name: "String", }, }, playPrompt: { serializedName: "playPrompt", type: { name: "Composite", className: "PlaySourceInternal", }, }, playPrompts: { serializedName: "playPrompts", type: { name: "Sequence", element: { type: { name: "Composite", className: "PlaySourceInternal", }, }, }, }, interruptCallMediaOperation: { serializedName: "interruptCallMediaOperation", type: { name: "Boolean", }, }, recognizeOptions: { serializedName: "recognizeOptions", type: { name: "Composite", className: "RecognizeOptions", }, }, operationContext: { serializedName: "operationContext", type: { name: "String", }, }, operationCallbackUri: { serializedName: "operationCallbackUri", type: { name: "String", }, }, }, }, }; export const RecognizeOptions = { type: { name: "Composite", className: "RecognizeOptions", modelProperties: { interruptPrompt: { serializedName: "interruptPrompt", type: { name: "Boolean", }, }, initialSilenceTimeoutInSeconds: { constraints: { InclusiveMaximum: 300, InclusiveMinimum: 0, }, serializedName: "initialSilenceTimeoutInSeconds", type: { name: "Number", }, }, targetParticipant: { serializedName: "targetParticipant", type: { name: "Composite", className: "CommunicationIdentifierModel", }, }, speechLanguage: { serializedName: "speechLanguage", type: { name: "String", }, }, speechRecognitionModelEndpointId: { serializedName: "speechRecognitionModelEndpointId", type: { name: "String", }, }, dtmfOptions: { serializedName: "dtmfOptions", type: { name: "Composite", className: "DtmfOptions", }, }, choices: { serializedName: "choices", type: { name: "Sequence", element: { type: { name: "Composite", className: "Choice", }, }, }, }, speechOptions: { serializedName: "speechOptions", type: { name: "Composite", className: "SpeechOptions", }, }, }, }, }; export const DtmfOptions = { type: { name: "Composite", className: "DtmfOptions", modelProperties: { interToneTimeoutInSeconds: { constraints: { InclusiveMaximum: 60, InclusiveMinimum: 1, }, serializedName: "interToneTimeoutInSeconds", type: { name: "Number", }, }, maxTonesToCollect: { serializedName: "maxTonesToCollect", type: { name: "Number", }, }, stopTones: { serializedName: "stopTones", type: { name: "Sequence", element: { type: { name: "String", }, }, }, }, }, }, }; export const Choice = { type: { name: "Composite", className: "Choice", modelProperties: { label: { serializedName: "label", required: true, type: { name: "String", }, }, phrases: { serializedName: "phrases", required: true, type: { name: "Sequence", element: { type: { name: "String", }, }, }, }, tone: { serializedName: "tone", type: { name: "String", }, }, }, }, }; export const SpeechOptions = { type: { name: "Composite", className: "SpeechOptions", modelProperties: { endSilenceTimeoutInMs: { serializedName: "endSilenceTimeoutInMs", type: { name: "Number", }, }, }, }, }; export const ContinuousDtmfRecognitionRequest = { type: { name: "Composite", className: "ContinuousDtmfRecognitionRequest", modelProperties: { targetParticipant: { serializedName: "targetParticipant", type: { name: "Composite", className: "CommunicationIdentifierModel", }, }, operationContext: { serializedName: "operationContext", type: { name: "String", }, }, operationCallbackUri: { serializedName: "operationCallbackUri", type: { name: "String", }, }, }, }, }; export const SendDtmfTonesRequest = { type: { name: "Composite", className: "SendDtmfTonesRequest", modelProperties: { tones: { serializedName: "tones", required: true, type: { name: "Sequence", element: { type: { name: "String", }, }, }, }, targetParticipant: { serializedName: "targetParticipant", type: { name: "Composite", className: "CommunicationIdentifierModel", }, }, operationContext: { serializedName: "operationContext", type: { name: "String", }, }, operationCallbackUri: { serializedName: "operationCallbackUri", type: { name: "String", }, }, }, }, }; export const SendDtmfTonesResult = { type: { name: "Composite", className: "SendDtmfTonesResult", modelProperties: { operationContext: { serializedName: "operationContext", type: { name: "String", }, }, }, }, }; export const HoldRequest = { type: { name: "Composite", className: "HoldRequest", modelProperties: { targetParticipant: { serializedName: "targetParticipant", type: { name: "Composite", className: "CommunicationIdentifierModel", }, }, playSourceInfo: { serializedName: "playSourceInfo", type: { name: "Composite", className: "PlaySourceInternal", }, }, operationContext: { serializedName: "operationContext", type: { name: "String", }, }, operationCallbackUri: { serializedName: "operationCallbackUri", type: { name: "String", }, }, }, }, }; export const UnholdRequest = { type: { name: "Composite", className: "UnholdRequest", modelProperties: { targetParticipant: { serializedName: "targetParticipant", type: { name: "Composite", className: "CommunicationIdentifierModel", }, }, operationContext: { serializedName: "operationContext", type: { name: "String", }, }, operationCallbackUri: { serializedName: "operationCallbackUri", type: { name: "String", }, }, }, }, }; export const StartMediaStreamingRequest = { type: { name: "Composite", className: "StartMediaStreamingRequest", modelProperties: { operationCallbackUri: { serializedName: "operationCallbackUri", type: { name: "String", }, }, operationContext: { serializedName: "operationContext", type: { name: "String", }, }, }, }, }; export const StopMediaStreamingRequest = { type: { name: "Composite", className: "StopMediaStreamingRequest", modelProperties: { operationCallbackUri: { serializedName: "operationCallbackUri", type: { name: "String", }, }, operationContext: { serializedName: "operationContext", type: { name: "String", }, }, }, }, }; export const GetParticipantsResponse = { type: { name: "Composite", className: "GetParticipantsResponse", modelProperties: { value: { serializedName: "value", required: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "CallParticipantInternal", }, }, }, }, nextLink: { serializedName: "nextLink", type: { name: "String", }, }, }, }, }; export const CallParticipantInternal = { type: { name: "Composite", className: "CallParticipantInternal", modelProperties: { identifier: { serializedName: "identifier", type: { name: "Composite", className: "CommunicationIdentifierModel", }, }, isMuted: { serializedName: "isMuted", type: { name: "Boolean", }, }, isOnHold: { serializedName: "isOnHold", type: { name: "Boolean", }, }, }, }, }; export const AddParticipantRequest = { type: { name: "Composite", className: "AddParticipantRequest", modelProperties: { sourceCallerIdNumber: { serializedName: "sourceCallerIdNumber", type: { name: "Composite", className: "PhoneNumberIdentifierModel", }, }, sourceDisplayName: { serializedName: "sourceDisplayName", type: { name: "String", }, }, participantToAdd: { serializedName: "participantToAdd", type: {