VoiceAgentsTelephonyOperations interface
音声エージェント電話管理のためのオペレーション。
プロパティ
| cancel |
耐久型アウトバウンドコールジョブのキャンセルを要請します。 接続された通話は終了が許されます。 |
| create |
パスで指定されたボイス エージェントのためにテレフォニー バインディングを作成します。 |
| create |
1つの永続的なアウトバウンド CallJob を作成します。 各試行ごとに、エージェントエンドポイントの実行バージョンと音声セッションがピン留めされます。 |
| delete |
パスで指定されたボイスエージェントが所有する電話バインディングを削除します。 |
| delete |
通話をキャンセルしたりキャンペーン結果/通話履歴を削除したりせずに、端末の照合ジョブ(通常は409)を削除します。 Later GET は 404 を返します。繰り返し DELETE は 204 を返します。 SIPコールジョブを削除するには、 |
| end |
パスで指定されたボイスエージェントが所有するアクティブな着信通話を終了します。 |
| get |
パスに名前が載っているボイスエージェントが所有する電話バインディングを回収する。 |
| get |
パス上で指定されたボイスエージェントが所有する耐久性のある着信通話記録を取得します。 |
| get |
持続可能なダイレクトまたはキャンペーン作成のアウトバウンドコールジョブを取得します。 |
| get |
パスで指定されたボイスエージェントに設定されたすべての転送ターゲットを返します。 |
| list |
パスで指定されたボイスエージェントが所有する電話バインディングを返します。 |
| list |
削除された、または上書きされたラウンドを除き、現在のダイレクト/キャンペーン職を一覧にしています。 ページは公開されています。 キャンペーンカーソルは境界削除/キャンセルを通過しますが、置き換えや名前の再利用はできません(400 invalid_cursor)。 |
| list |
パスで指定されたボイスエージェントの持続的な着信通話履歴を返します。 |
| replace |
パス上で指定された音声エージェントに設定されたすべての転送ターゲットを置き換えます。 |
| transfer |
パスで指定されたボイスエージェントの設定されたターゲットにアクティブなインバウンドコールを転送します。 |
| update |
パスで指定された名前のボイスエージェントが所有する電話バインディングを更新します。 |
プロパティの詳細
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>