VoiceAgentsTelephonyOperations interface

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

プロパティ

cancelCallJob

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

createBinding

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

createCallJob

1つの永続的なアウトバウンド CallJob を作成します。 各試行ごとに、エージェントエンドポイントの実行バージョンと音声セッションがピン留めされます。

deleteBinding

パスで指定されたボイスエージェントが所有する電話バインディングを削除します。

deleteCallJob

通話をキャンセルしたりキャンペーン結果/通話履歴を削除したりせずに、端末の照合ジョブ(通常は409)を削除します。 Later GET は 404 を返します。繰り返し DELETE は 204 を返します。 SIPコールジョブを削除するには、 VoiceAgents=V1Preview オプトインが必要です。

endCall

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

getBinding

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

getCall

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

getCallJob

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

getTransferTargets

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

listBindings

パスで指定されたボイスエージェントが所有する電話バインディングを返します。

listCallJobs

削除された、または上書きされたラウンドを除き、現在のダイレクト/キャンペーン職を一覧にしています。 ページは公開されています。 キャンペーンカーソルは境界削除/キャンセルを通過しますが、置き換えや名前の再利用はできません(400 invalid_cursor)。

listCalls

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

replaceTransferTargets

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

transferCall

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

updateBinding

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

プロパティの詳細

cancelCallJob

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

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

プロパティ値

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

createBinding

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

createBinding: (agentName: string, binding: TelephonyBindingCreateUnion, options?: VoiceAgentsTelephonyCreateBindingOptionalParams) => Promise<TelephonyBindingUnion>

プロパティ値

(agentName: string, binding: TelephonyBindingCreateUnion, options?: VoiceAgentsTelephonyCreateBindingOptionalParams) => Promise<TelephonyBindingUnion>

createCallJob

1つの永続的なアウトバウンド CallJob を作成します。 各試行ごとに、エージェントエンドポイントの実行バージョンと音声セッションがピン留めされます。

createCallJob: (agentName: string, idempotencyKey: string, job: TelephonyCallJobCreate, options?: VoiceAgentsTelephonyCreateCallJobOptionalParams) => Promise<TelephonyCallJob>

プロパティ値

(agentName: string, idempotencyKey: string, job: TelephonyCallJobCreate, options?: VoiceAgentsTelephonyCreateCallJobOptionalParams) => Promise<TelephonyCallJob>

deleteBinding

パスで指定されたボイスエージェントが所有する電話バインディングを削除します。

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

プロパティ値

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

deleteCallJob

通話をキャンセルしたりキャンペーン結果/通話履歴を削除したりせずに、端末の照合ジョブ(通常は409)を削除します。 Later GET は 404 を返します。繰り返し DELETE は 204 を返します。 SIPコールジョブを削除するには、 VoiceAgents=V1Preview オプトインが必要です。

deleteCallJob: (agentName: string, callJobId: string, options?: VoiceAgentsTelephonyDeleteCallJobOptionalParams) => Promise<void>

プロパティ値

(agentName: string, callJobId: string, options?: VoiceAgentsTelephonyDeleteCallJobOptionalParams) => Promise<void>

endCall

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

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

プロパティ値

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

getBinding

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

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

プロパティ値

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

getCall

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

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

プロパティ値

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

getCallJob

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

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

プロパティ値

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

getTransferTargets

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

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

プロパティ値

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

listBindings

パスで指定されたボイスエージェントが所有する電話バインディングを返します。

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

プロパティ値

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

listCallJobs

削除された、または上書きされたラウンドを除き、現在のダイレクト/キャンペーン職を一覧にしています。 ページは公開されています。 キャンペーンカーソルは境界削除/キャンセルを通過しますが、置き換えや名前の再利用はできません(400 invalid_cursor)。

listCallJobs: (agentName: string, options?: VoiceAgentsTelephonyListCallJobsOptionalParams) => PagedAsyncIterableIterator<TelephonyCallJob, TelephonyCallJob[], PageSettings>

プロパティ値

(agentName: string, options?: VoiceAgentsTelephonyListCallJobsOptionalParams) => PagedAsyncIterableIterator<TelephonyCallJob, TelephonyCallJob[], PageSettings>

listCalls

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

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

プロパティ値

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

replaceTransferTargets

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

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

プロパティ値

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

transferCall

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

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

プロパティ値

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

updateBinding

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

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

プロパティ値

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