BetaVoiceAgentsTelephonyOperations interface

音声エージェント電話管理のためのオペレーション。

プロパティ

cancelCallJob

耐久型アウトバウンドコールジョブのキャンセルを要請します。 接続された通話は終了が許されます。

createBinding

パスで指定されたボイスエージェントのために電話バインディングを作成します。

createCallJob

これにより、持続的なダイレクトアウトバウンドコールジョブが1つ作成されます。 最新のエージェント定義は各試みの実行時に解決されます。

deleteBinding

パスに名前が付けられたボイスエージェントが所有する電話バインディングを削除します。

endCall

パスで指定されたボイスエージェントが所有するアクティブな着信通話を終了します。

getBinding

パスに名前が載っているボイスエージェントが所有する電話バインディングを回収する。

getCall

パス上で指定されたボイスエージェントが所有する耐久性のある着信通話記録を取得します。

getCallJob

持続可能なダイレクトまたはキャンペーン作成のアウトバウンドコールジョブを取得します。

getTransferTargets

パスで指定されたボイスエージェントに設定されたすべての転送ターゲットを返します。

listBindings

パスに名前が載っているボイスエージェントが所有する電話バインディングを返却します。

listCalls

パスで指定されたボイスエージェントの持続的な着信通話履歴を返します。

replaceTransferTargets

パス上で指定された音声エージェントに設定されたすべての転送ターゲットを置き換えます。

transferCall

パス上で指定されたボイスエージェントの設定されたターゲットにアクティブなインバウンドコールを転送します。

updateBinding

パス上で名前が付けられたボイスエージェントが所有する電話バインディングを更新します。

プロパティの詳細

cancelCallJob

耐久型アウトバウンドコールジョブのキャンセルを要請します。 接続された通話は終了が許されます。

cancelCallJob: (agentName: string, callJobId: string, ifMatch: string, options?: BetaVoiceAgentsTelephonyCancelCallJobOptionalParams) => Promise<TelephonyCallJob>

プロパティ値

(agentName: string, callJobId: string, ifMatch: string, options?: BetaVoiceAgentsTelephonyCancelCallJobOptionalParams) => Promise<TelephonyCallJob>

createBinding

パスで指定されたボイスエージェントのために電話バインディングを作成します。

createBinding: (agentName: string, telephonyBinding: CreateTelephonyBindingRequestUnion, options?: BetaVoiceAgentsTelephonyCreateBindingOptionalParams) => Promise<TelephonyBindingUnion>

プロパティ値

(agentName: string, telephonyBinding: CreateTelephonyBindingRequestUnion, options?: BetaVoiceAgentsTelephonyCreateBindingOptionalParams) => Promise<TelephonyBindingUnion>

createCallJob

これにより、持続的なダイレクトアウトバウンドコールジョブが1つ作成されます。 最新のエージェント定義は各試みの実行時に解決されます。

createCallJob: (agentName: string, idempotencyKey: string, body: CreateTelephonyCallJobRequest, options?: BetaVoiceAgentsTelephonyCreateCallJobOptionalParams) => Promise<TelephonyCallJob>

プロパティ値

(agentName: string, idempotencyKey: string, body: CreateTelephonyCallJobRequest, options?: BetaVoiceAgentsTelephonyCreateCallJobOptionalParams) => Promise<TelephonyCallJob>

deleteBinding

パスに名前が付けられたボイスエージェントが所有する電話バインディングを削除します。

deleteBinding: (agentName: string, bindingId: string, ifMatch: string, options?: BetaVoiceAgentsTelephonyDeleteBindingOptionalParams) => Promise<void>

プロパティ値

(agentName: string, bindingId: string, ifMatch: string, options?: BetaVoiceAgentsTelephonyDeleteBindingOptionalParams) => Promise<void>

endCall

パスで指定されたボイスエージェントが所有するアクティブな着信通話を終了します。

endCall: (agentName: string, callId: string, options?: BetaVoiceAgentsTelephonyEndCallOptionalParams) => Promise<TelephonyCallRecord>

プロパティ値

(agentName: string, callId: string, options?: BetaVoiceAgentsTelephonyEndCallOptionalParams) => Promise<TelephonyCallRecord>

getBinding

パスに名前が載っているボイスエージェントが所有する電話バインディングを回収する。

getBinding: (agentName: string, bindingId: string, options?: BetaVoiceAgentsTelephonyGetBindingOptionalParams) => Promise<TelephonyBindingUnion>

プロパティ値

(agentName: string, bindingId: string, options?: BetaVoiceAgentsTelephonyGetBindingOptionalParams) => Promise<TelephonyBindingUnion>

getCall

パス上で指定されたボイスエージェントが所有する耐久性のある着信通話記録を取得します。

getCall: (agentName: string, callId: string, options?: BetaVoiceAgentsTelephonyGetCallOptionalParams) => Promise<TelephonyCallRecord>

プロパティ値

(agentName: string, callId: string, options?: BetaVoiceAgentsTelephonyGetCallOptionalParams) => Promise<TelephonyCallRecord>

getCallJob

持続可能なダイレクトまたはキャンペーン作成のアウトバウンドコールジョブを取得します。

getCallJob: (agentName: string, callJobId: string, options?: BetaVoiceAgentsTelephonyGetCallJobOptionalParams) => Promise<TelephonyCallJob>

プロパティ値

(agentName: string, callJobId: string, options?: BetaVoiceAgentsTelephonyGetCallJobOptionalParams) => Promise<TelephonyCallJob>

getTransferTargets

パスで指定されたボイスエージェントに設定されたすべての転送ターゲットを返します。

getTransferTargets: (agentName: string, options?: BetaVoiceAgentsTelephonyGetTransferTargetsOptionalParams) => Promise<TelephonyTransferTargets>

プロパティ値

(agentName: string, options?: BetaVoiceAgentsTelephonyGetTransferTargetsOptionalParams) => Promise<TelephonyTransferTargets>

listBindings

パスに名前が載っているボイスエージェントが所有する電話バインディングを返却します。

listBindings: (agentName: string, options?: BetaVoiceAgentsTelephonyListBindingsOptionalParams) => PagedAsyncIterableIterator<TelephonyBindingListItemUnion, TelephonyBindingListItemUnion[], PageSettings>

プロパティ値

(agentName: string, options?: BetaVoiceAgentsTelephonyListBindingsOptionalParams) => PagedAsyncIterableIterator<TelephonyBindingListItemUnion, TelephonyBindingListItemUnion[], PageSettings>

listCalls

パスで指定されたボイスエージェントの持続的な着信通話履歴を返します。

listCalls: (agentName: string, options?: BetaVoiceAgentsTelephonyListCallsOptionalParams) => PagedAsyncIterableIterator<TelephonyCallSummary, TelephonyCallSummary[], PageSettings>

プロパティ値

(agentName: string, options?: BetaVoiceAgentsTelephonyListCallsOptionalParams) => PagedAsyncIterableIterator<TelephonyCallSummary, TelephonyCallSummary[], PageSettings>

replaceTransferTargets

パス上で指定された音声エージェントに設定されたすべての転送ターゲットを置き換えます。

replaceTransferTargets: (agentName: string, ifMatch: string, transferTargets: TelephonyTransferTarget[], options?: BetaVoiceAgentsTelephonyReplaceTransferTargetsOptionalParams) => Promise<TelephonyTransferTargets>

プロパティ値

(agentName: string, ifMatch: string, transferTargets: TelephonyTransferTarget[], options?: BetaVoiceAgentsTelephonyReplaceTransferTargetsOptionalParams) => Promise<TelephonyTransferTargets>

transferCall

パス上で指定されたボイスエージェントの設定されたターゲットにアクティブなインバウンドコールを転送します。

transferCall: (agentName: string, callId: string, target: string, options?: BetaVoiceAgentsTelephonyTransferCallOptionalParams) => Promise<TelephonyCallRecord>

プロパティ値

(agentName: string, callId: string, target: string, options?: BetaVoiceAgentsTelephonyTransferCallOptionalParams) => Promise<TelephonyCallRecord>

updateBinding

パス上で名前が付けられたボイスエージェントが所有する電話バインディングを更新します。

updateBinding: (agentName: string, bindingId: string, ifMatch: string, body: UpdateTelephonyBindingRequest, options?: BetaVoiceAgentsTelephonyUpdateBindingOptionalParams) => Promise<TelephonyBindingUnion>

プロパティ値

(agentName: string, bindingId: string, ifMatch: string, body: UpdateTelephonyBindingRequest, options?: BetaVoiceAgentsTelephonyUpdateBindingOptionalParams) => Promise<TelephonyBindingUnion>