@frequencytalk/agent 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -306,11 +306,19 @@ declare class Chat {
306
306
  * Calls (contract §16): a call is an ephemeral frequency. Place one to a contact, answer one
307
307
  * that rings, hang up. Audio on the call is the native session tuned to the call's frequency.
308
308
  */
309
+ /**
310
+ * What `POST /v1/calls` (201) and `POST /v1/calls/{id}/accept` (200) answer. The call's id is
311
+ * `callId` (0.1.1: 0.1.0 declared `id` and `ringUntil`, which the wire never carried, so a hang-up
312
+ * by `call.id` was a hang-up of `undefined`). Audio on the call: `agent.session(frequencyId)` with
313
+ * `transmitIntent: true`, then `session.listen(channelId)` to hear the other side.
314
+ */
309
315
  interface PlacedCall {
310
- id: string;
316
+ callId: string;
311
317
  frequencyId: string;
312
318
  channelId: string;
313
- ringUntil?: string;
319
+ audioMode?: string;
320
+ /** Placing only: when the ring expires. */
321
+ expiresAt?: number | string;
314
322
  participants?: unknown[];
315
323
  ringback?: string;
316
324
  }