Skip to main content

Interface: TelephonyCallTransaction

Defined in: packages/agentos/src/io/channels/telephony/types.ts:520

One provider/account partition's locked call state and alias index.

Methods​

find()​

find(providerIdentity): Promise<CallRecord | undefined>

Defined in: packages/agentos/src/io/channels/telephony/types.ts:524

Finds by call id or the namespaced request alias.

Parameters​

providerIdentity​

string

Returns​

Promise<CallRecord | undefined>


get()​

get(callId): Promise<CallRecord | undefined>

Defined in: packages/agentos/src/io/channels/telephony/types.ts:522

Reads a detached record by its internal id.

Parameters​

callId​

string

Returns​

Promise<CallRecord | undefined>


put()​

put(call): Promise<void>

Defined in: packages/agentos/src/io/channels/telephony/types.ts:526

Atomically stores state, processed ids and unique request/call aliases.

Parameters​

call​

CallRecord

Returns​

Promise<void>