BetaVoiceAgentsTelephonyOperations interface
Opérations pour la gestion de la téléphonie des agents vocaux.
Propriétés
| cancel |
Demande l’annulation d’un appel sortant durable (overbound call). Un appel connecté est autorisé à se terminer. |
| create |
Crée une liaison téléphonique pour l’agent vocal nommé dans le chemin. |
| create |
Cela crée un travail durable d’appel sortant direct. La dernière définition d’agent est résolue à chaque tentative d’exécution. |
| delete |
Supprime un lien téléphonique appartenant à l’agent vocal nommé sur le chemin. |
| end |
Termine un appel entrant actif appartenant à l’agent vocal nommé sur le chemin. |
| get |
Récupère un lien téléphonique appartenant à l’agent vocal nommé sur le chemin. |
| get |
Récupère un enregistrement d’appel entrant durable détenu par l’agent vocal nommé sur le chemin. |
| get |
Récupère un appel sortant durable direct ou créé par une campagne. |
| get |
Retourne toutes les cibles de transfert configurées pour l’agent vocal nommé dans le chemin. |
| list |
Rend les liaisons téléphoniques appartenant à l’agent vocal nommé sur le chemin. |
| list |
Retourne l’historique durable des appels entrants pour l’agent vocal nommé dans le chemin. |
| replace |
Remplace toutes les cibles de transfert configurées pour l’agent vocal nommé dans le chemin. |
| transfer |
Transfert d’un appel entrant actif vers une cible configurée pour l’agent vocal nommé dans le chemin. |
| update |
Mise à jour un lien téléphonique appartenant à l’agent vocal nommé dans le chemin. |
Détails de la propriété
cancelCallJob
Demande l’annulation d’un appel sortant durable (overbound call). Un appel connecté est autorisé à se terminer.
cancelCallJob: (agentName: string, callJobId: string, ifMatch: string, options?: BetaVoiceAgentsTelephonyCancelCallJobOptionalParams) => Promise<TelephonyCallJob>
Valeur de propriété
(agentName: string, callJobId: string, ifMatch: string, options?: BetaVoiceAgentsTelephonyCancelCallJobOptionalParams) => Promise<TelephonyCallJob>
createBinding
Crée une liaison téléphonique pour l’agent vocal nommé dans le chemin.
createBinding: (agentName: string, telephonyBinding: CreateTelephonyBindingRequestUnion, options?: BetaVoiceAgentsTelephonyCreateBindingOptionalParams) => Promise<TelephonyBindingUnion>
Valeur de propriété
(agentName: string, telephonyBinding: CreateTelephonyBindingRequestUnion, options?: BetaVoiceAgentsTelephonyCreateBindingOptionalParams) => Promise<TelephonyBindingUnion>
createCallJob
Cela crée un travail durable d’appel sortant direct. La dernière définition d’agent est résolue à chaque tentative d’exécution.
createCallJob: (agentName: string, idempotencyKey: string, body: CreateTelephonyCallJobRequest, options?: BetaVoiceAgentsTelephonyCreateCallJobOptionalParams) => Promise<TelephonyCallJob>
Valeur de propriété
(agentName: string, idempotencyKey: string, body: CreateTelephonyCallJobRequest, options?: BetaVoiceAgentsTelephonyCreateCallJobOptionalParams) => Promise<TelephonyCallJob>
deleteBinding
Supprime un lien téléphonique appartenant à l’agent vocal nommé sur le chemin.
deleteBinding: (agentName: string, bindingId: string, ifMatch: string, options?: BetaVoiceAgentsTelephonyDeleteBindingOptionalParams) => Promise<void>
Valeur de propriété
(agentName: string, bindingId: string, ifMatch: string, options?: BetaVoiceAgentsTelephonyDeleteBindingOptionalParams) => Promise<void>
endCall
Termine un appel entrant actif appartenant à l’agent vocal nommé sur le chemin.
endCall: (agentName: string, callId: string, options?: BetaVoiceAgentsTelephonyEndCallOptionalParams) => Promise<TelephonyCallRecord>
Valeur de propriété
(agentName: string, callId: string, options?: BetaVoiceAgentsTelephonyEndCallOptionalParams) => Promise<TelephonyCallRecord>
getBinding
Récupère un lien téléphonique appartenant à l’agent vocal nommé sur le chemin.
getBinding: (agentName: string, bindingId: string, options?: BetaVoiceAgentsTelephonyGetBindingOptionalParams) => Promise<TelephonyBindingUnion>
Valeur de propriété
(agentName: string, bindingId: string, options?: BetaVoiceAgentsTelephonyGetBindingOptionalParams) => Promise<TelephonyBindingUnion>
getCall
Récupère un enregistrement d’appel entrant durable détenu par l’agent vocal nommé sur le chemin.
getCall: (agentName: string, callId: string, options?: BetaVoiceAgentsTelephonyGetCallOptionalParams) => Promise<TelephonyCallRecord>
Valeur de propriété
(agentName: string, callId: string, options?: BetaVoiceAgentsTelephonyGetCallOptionalParams) => Promise<TelephonyCallRecord>
getCallJob
Récupère un appel sortant durable direct ou créé par une campagne.
getCallJob: (agentName: string, callJobId: string, options?: BetaVoiceAgentsTelephonyGetCallJobOptionalParams) => Promise<TelephonyCallJob>
Valeur de propriété
(agentName: string, callJobId: string, options?: BetaVoiceAgentsTelephonyGetCallJobOptionalParams) => Promise<TelephonyCallJob>
getTransferTargets
Retourne toutes les cibles de transfert configurées pour l’agent vocal nommé dans le chemin.
getTransferTargets: (agentName: string, options?: BetaVoiceAgentsTelephonyGetTransferTargetsOptionalParams) => Promise<TelephonyTransferTargets>
Valeur de propriété
(agentName: string, options?: BetaVoiceAgentsTelephonyGetTransferTargetsOptionalParams) => Promise<TelephonyTransferTargets>
listBindings
Rend les liaisons téléphoniques appartenant à l’agent vocal nommé sur le chemin.
listBindings: (agentName: string, options?: BetaVoiceAgentsTelephonyListBindingsOptionalParams) => PagedAsyncIterableIterator<TelephonyBindingListItemUnion, TelephonyBindingListItemUnion[], PageSettings>
Valeur de propriété
(agentName: string, options?: BetaVoiceAgentsTelephonyListBindingsOptionalParams) => PagedAsyncIterableIterator<TelephonyBindingListItemUnion, TelephonyBindingListItemUnion[], PageSettings>
listCalls
Retourne l’historique durable des appels entrants pour l’agent vocal nommé dans le chemin.
listCalls: (agentName: string, options?: BetaVoiceAgentsTelephonyListCallsOptionalParams) => PagedAsyncIterableIterator<TelephonyCallSummary, TelephonyCallSummary[], PageSettings>
Valeur de propriété
(agentName: string, options?: BetaVoiceAgentsTelephonyListCallsOptionalParams) => PagedAsyncIterableIterator<TelephonyCallSummary, TelephonyCallSummary[], PageSettings>
replaceTransferTargets
Remplace toutes les cibles de transfert configurées pour l’agent vocal nommé dans le chemin.
replaceTransferTargets: (agentName: string, ifMatch: string, transferTargets: TelephonyTransferTarget[], options?: BetaVoiceAgentsTelephonyReplaceTransferTargetsOptionalParams) => Promise<TelephonyTransferTargets>
Valeur de propriété
(agentName: string, ifMatch: string, transferTargets: TelephonyTransferTarget[], options?: BetaVoiceAgentsTelephonyReplaceTransferTargetsOptionalParams) => Promise<TelephonyTransferTargets>
transferCall
Transfert d’un appel entrant actif vers une cible configurée pour l’agent vocal nommé dans le chemin.
transferCall: (agentName: string, callId: string, target: string, options?: BetaVoiceAgentsTelephonyTransferCallOptionalParams) => Promise<TelephonyCallRecord>
Valeur de propriété
(agentName: string, callId: string, target: string, options?: BetaVoiceAgentsTelephonyTransferCallOptionalParams) => Promise<TelephonyCallRecord>
updateBinding
Mise à jour un lien téléphonique appartenant à l’agent vocal nommé dans le chemin.
updateBinding: (agentName: string, bindingId: string, ifMatch: string, body: UpdateTelephonyBindingRequest, options?: BetaVoiceAgentsTelephonyUpdateBindingOptionalParams) => Promise<TelephonyBindingUnion>
Valeur de propriété
(agentName: string, bindingId: string, ifMatch: string, body: UpdateTelephonyBindingRequest, options?: BetaVoiceAgentsTelephonyUpdateBindingOptionalParams) => Promise<TelephonyBindingUnion>