@ai-matrx/api 0.0.0-stage → 0.1.0
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/CHANGELOG.md +15 -0
- package/LICENSE +21 -0
- package/README.md +18 -2
- package/dist/account.cjs +670 -0
- package/dist/account.d.cts +3246 -0
- package/dist/account.d.ts +3246 -0
- package/dist/account.js +558 -0
- package/dist/agents.cjs +598 -0
- package/dist/agents.d.cts +3417 -0
- package/dist/agents.d.ts +3417 -0
- package/dist/agents.js +497 -0
- package/dist/ai.cjs +109 -0
- package/dist/ai.d.cts +493 -0
- package/dist/ai.d.ts +493 -0
- package/dist/ai.js +91 -0
- package/dist/apps.cjs +394 -0
- package/dist/apps.d.cts +1094 -0
- package/dist/apps.d.ts +1094 -0
- package/dist/apps.js +328 -0
- package/dist/architecture.cjs +1223 -0
- package/dist/architecture.d.cts +4701 -0
- package/dist/architecture.d.ts +4701 -0
- package/dist/architecture.js +1016 -0
- package/dist/audio.cjs +226 -0
- package/dist/audio.d.cts +723 -0
- package/dist/audio.d.ts +723 -0
- package/dist/audio.js +188 -0
- package/dist/chat.cjs +538 -0
- package/dist/chat.d.cts +2251 -0
- package/dist/chat.d.ts +2251 -0
- package/dist/chat.js +447 -0
- package/dist/chunk-2SXAAKGV.cjs +279 -0
- package/dist/chunk-AY5N6EA4.js +43 -0
- package/dist/chunk-BMQI7UET.cjs +48 -0
- package/dist/chunk-FNIYADWI.cjs +59 -0
- package/dist/chunk-KIEAFMKB.js +264 -0
- package/dist/chunk-UONBYRE4.js +1012 -0
- package/dist/chunk-YTEOFGFC.js +57 -0
- package/dist/chunk-YUDQWDCM.cjs +1047 -0
- package/dist/code.cjs +561 -0
- package/dist/code.d.cts +1976 -0
- package/dist/code.d.ts +1976 -0
- package/dist/code.js +467 -0
- package/dist/commerce.cjs +22 -0
- package/dist/commerce.d.cts +45 -0
- package/dist/commerce.d.ts +45 -0
- package/dist/commerce.js +18 -0
- package/dist/communications.cjs +215 -0
- package/dist/communications.d.cts +948 -0
- package/dist/communications.d.ts +948 -0
- package/dist/communications.js +179 -0
- package/dist/computer.cjs +330 -0
- package/dist/computer.d.cts +733 -0
- package/dist/computer.d.ts +733 -0
- package/dist/computer.js +275 -0
- package/dist/content.cjs +425 -0
- package/dist/content.d.cts +1796 -0
- package/dist/content.d.ts +1796 -0
- package/dist/content.js +354 -0
- package/dist/credentials.cjs +22 -0
- package/dist/credentials.d.cts +82 -0
- package/dist/credentials.d.ts +82 -0
- package/dist/credentials.js +1 -0
- package/dist/crm.cjs +271 -0
- package/dist/crm.d.cts +1731 -0
- package/dist/crm.d.ts +1731 -0
- package/dist/crm.js +226 -0
- package/dist/data.cjs +382 -0
- package/dist/data.d.cts +1860 -0
- package/dist/data.d.ts +1860 -0
- package/dist/data.js +318 -0
- package/dist/education.cjs +28 -0
- package/dist/education.d.cts +73 -0
- package/dist/education.d.ts +73 -0
- package/dist/education.js +23 -0
- package/dist/files.cjs +1330 -0
- package/dist/files.d.cts +4956 -0
- package/dist/files.d.ts +4956 -0
- package/dist/files.js +1104 -0
- package/dist/human-resources.cjs +178 -0
- package/dist/human-resources.d.cts +1208 -0
- package/dist/human-resources.d.ts +1208 -0
- package/dist/human-resources.js +148 -0
- package/dist/index-C2E-Cp19.d.ts +385 -0
- package/dist/index-wC2vtb70.d.cts +385 -0
- package/dist/index.cjs +1934 -0
- package/dist/index.d.cts +2006 -0
- package/dist/index.d.ts +2006 -0
- package/dist/index.js +1668 -0
- package/dist/integrations.cjs +5116 -0
- package/dist/integrations.d.cts +19213 -0
- package/dist/integrations.d.ts +19213 -0
- package/dist/integrations.js +4263 -0
- package/dist/intelligence.cjs +1305 -0
- package/dist/intelligence.d.cts +4658 -0
- package/dist/intelligence.d.ts +4658 -0
- package/dist/intelligence.js +1196 -0
- package/dist/knowledge.cjs +1113 -0
- package/dist/knowledge.d.cts +5427 -0
- package/dist/knowledge.d.ts +5427 -0
- package/dist/knowledge.js +921 -0
- package/dist/legal.cjs +225 -0
- package/dist/legal.d.cts +1038 -0
- package/dist/legal.d.ts +1038 -0
- package/dist/legal.js +187 -0
- package/dist/marketing.cjs +1155 -0
- package/dist/marketing.d.cts +7741 -0
- package/dist/marketing.d.ts +7741 -0
- package/dist/marketing.js +951 -0
- package/dist/masterwork.cjs +283 -0
- package/dist/masterwork.d.cts +1938 -0
- package/dist/masterwork.d.ts +1938 -0
- package/dist/masterwork.js +231 -0
- package/dist/media.cjs +610 -0
- package/dist/media.d.cts +2270 -0
- package/dist/media.d.ts +2270 -0
- package/dist/media.js +507 -0
- package/dist/net.cjs +67 -0
- package/dist/net.d.cts +204 -0
- package/dist/net.d.ts +204 -0
- package/dist/net.js +2 -0
- package/dist/platform.cjs +150 -0
- package/dist/platform.d.cts +572 -0
- package/dist/platform.d.ts +572 -0
- package/dist/platform.js +125 -0
- package/dist/publish.cjs +248 -0
- package/dist/publish.d.cts +1431 -0
- package/dist/publish.d.ts +1431 -0
- package/dist/publish.js +206 -0
- package/dist/schemas.cjs +2 -0
- package/dist/schemas.d.cts +1353 -0
- package/dist/schemas.d.ts +1353 -0
- package/dist/schemas.js +1 -0
- package/dist/stream.cjs +44 -0
- package/dist/stream.d.cts +2 -0
- package/dist/stream.d.ts +2 -0
- package/dist/stream.js +3 -0
- package/dist/web.cjs +1045 -0
- package/dist/web.d.cts +4186 -0
- package/dist/web.d.ts +4186 -0
- package/dist/web.js +867 -0
- package/dist/workflows.cjs +825 -0
- package/dist/workflows.d.cts +4699 -0
- package/dist/workflows.d.ts +4699 -0
- package/dist/workflows.js +686 -0
- package/package.json +418 -4
|
@@ -0,0 +1,948 @@
|
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-wC2vtb70.cjs';
|
|
2
|
+
import { JsonValue, CalendarCreateResult } from './schemas.cjs';
|
|
3
|
+
import './credentials.cjs';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
+
* CONTRACT_SHA256 50a790edb39e682b46e0fa9e674faf5ce2a0ba7de2cd01930a497fca4c47844a
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/** `POST /v1/meet/agenda-draft` — what the form holds right now (nothing is stored). */
|
|
11
|
+
type AgendaDraftRequest = {
|
|
12
|
+
organization_id?: string | null;
|
|
13
|
+
/** Optional associated project selected by the caller. */
|
|
14
|
+
project_id?: string | null;
|
|
15
|
+
/** Optional associated task selected by the caller. */
|
|
16
|
+
task_id?: string | null;
|
|
17
|
+
/** Stable application slug that initiated the request. */
|
|
18
|
+
source_app?: string | null;
|
|
19
|
+
/** Stable feature slug within the source application. */
|
|
20
|
+
source_feature?: string | null;
|
|
21
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
22
|
+
initiation?: ("user" | "auto") | null;
|
|
23
|
+
/** The meeting being edited — its series history is offered. */
|
|
24
|
+
meeting_id?: string | null;
|
|
25
|
+
title: string;
|
|
26
|
+
agenda?: string | null;
|
|
27
|
+
scheduled_for?: string | null;
|
|
28
|
+
time_zone?: string | null;
|
|
29
|
+
duration_minutes?: number | null;
|
|
30
|
+
recurrence_rule?: string | null;
|
|
31
|
+
guests?: PrepGuest[];
|
|
32
|
+
};
|
|
33
|
+
/** AgentDispatchResponse */
|
|
34
|
+
type AgentDispatchResponse = {
|
|
35
|
+
dispatched: boolean;
|
|
36
|
+
dispatch_id?: string | null;
|
|
37
|
+
/** Why the note-taker is or is not in the room. Never empty on a refusal. */
|
|
38
|
+
detail?: string;
|
|
39
|
+
};
|
|
40
|
+
/** BreakoutRoomIn */
|
|
41
|
+
type BreakoutRoomIn = {
|
|
42
|
+
name: string;
|
|
43
|
+
identities?: string[];
|
|
44
|
+
};
|
|
45
|
+
/** CaptionLineIn */
|
|
46
|
+
type CaptionLineIn = {
|
|
47
|
+
id: string;
|
|
48
|
+
text: string;
|
|
49
|
+
};
|
|
50
|
+
/** CaptionTranslateRequest */
|
|
51
|
+
type CaptionTranslateRequest = {
|
|
52
|
+
meeting_id: string;
|
|
53
|
+
target_language: string;
|
|
54
|
+
lines: CaptionLineIn[];
|
|
55
|
+
};
|
|
56
|
+
/** CaptionTranslateResponse */
|
|
57
|
+
type CaptionTranslateResponse = {
|
|
58
|
+
target_language: string;
|
|
59
|
+
translations: {
|
|
60
|
+
[key: string]: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
/** Exact Twilio-signed form material forwarded by the Next webhook edge. */
|
|
64
|
+
type ConversationRelayPreparationRequest = {
|
|
65
|
+
signed_url: string;
|
|
66
|
+
signature: string;
|
|
67
|
+
parameters: {
|
|
68
|
+
[key: string]: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
/** ConversationRelayPreparationResponse */
|
|
72
|
+
type ConversationRelayPreparationResponse = {
|
|
73
|
+
session_id: string;
|
|
74
|
+
chat_conversation_id: string;
|
|
75
|
+
session_reference: string;
|
|
76
|
+
expires_at: string;
|
|
77
|
+
};
|
|
78
|
+
/** Secret-free runtime facts for the public owner-beta relay edge. */
|
|
79
|
+
type ConversationRelayRuntimeReadiness = {
|
|
80
|
+
public_route_mounted?: boolean;
|
|
81
|
+
code_switch_enabled: boolean;
|
|
82
|
+
provider_switch_enabled: boolean;
|
|
83
|
+
program_switch_enabled: boolean;
|
|
84
|
+
owned_number_routed: boolean;
|
|
85
|
+
routing_configuration_ready: boolean;
|
|
86
|
+
owner_beta_ready: boolean;
|
|
87
|
+
};
|
|
88
|
+
/** `GET /v1/meet/meetings/{meeting_id}/follow-up` — the recap draft the host reviews. */
|
|
89
|
+
type FollowUpDraftResponse = {
|
|
90
|
+
subject: string;
|
|
91
|
+
body: string;
|
|
92
|
+
recipients: FollowUpRecipientOut[];
|
|
93
|
+
wrap_up_written: boolean;
|
|
94
|
+
last_sent?: FollowUpLastSent | null;
|
|
95
|
+
};
|
|
96
|
+
/** FollowUpLastSent */
|
|
97
|
+
type FollowUpLastSent = {
|
|
98
|
+
at: string;
|
|
99
|
+
count?: number;
|
|
100
|
+
};
|
|
101
|
+
/** FollowUpRecipientOut */
|
|
102
|
+
type FollowUpRecipientOut = {
|
|
103
|
+
key: string;
|
|
104
|
+
name: string;
|
|
105
|
+
email?: string | null;
|
|
106
|
+
user_id?: string | null;
|
|
107
|
+
sources?: ("invitee" | "attendee")[];
|
|
108
|
+
reachable?: boolean;
|
|
109
|
+
};
|
|
110
|
+
/** `POST /v1/meet/meetings/{meeting_id}/follow-up` — send what the host reviewed. */
|
|
111
|
+
type FollowUpSendRequest = {
|
|
112
|
+
subject: string;
|
|
113
|
+
body: string;
|
|
114
|
+
recipient_keys: string[];
|
|
115
|
+
dry_run?: boolean;
|
|
116
|
+
};
|
|
117
|
+
/** FollowUpSendResponse */
|
|
118
|
+
type FollowUpSendResponse = {
|
|
119
|
+
dry_run: boolean;
|
|
120
|
+
queued: string[];
|
|
121
|
+
skipped: FollowUpSkipped[];
|
|
122
|
+
};
|
|
123
|
+
/** FollowUpSkipped */
|
|
124
|
+
type FollowUpSkipped = {
|
|
125
|
+
key: string;
|
|
126
|
+
reason: string;
|
|
127
|
+
};
|
|
128
|
+
/** The resolved answer, and WHERE it came from — never just a word. */
|
|
129
|
+
type GuestRecordAccess = {
|
|
130
|
+
/** `none` | `summary` | `full`. */
|
|
131
|
+
level: string;
|
|
132
|
+
/** `meeting` when a host chose for this meeting; `organization` otherwise (the org knob, which itself falls back to the platform value). */
|
|
133
|
+
source: string;
|
|
134
|
+
};
|
|
135
|
+
/** What this server tells LiveKit it did with one callback. */
|
|
136
|
+
type LiveKitWebhookAck = {
|
|
137
|
+
/** Did the signed body verify? False means nothing was read or applied. */
|
|
138
|
+
accepted: boolean;
|
|
139
|
+
/** Did this server act on the event? False with accepted=True is the explicit ignore for an event outside HANDLED_EVENTS — never a silent drop. */
|
|
140
|
+
handled?: boolean;
|
|
141
|
+
/** The LiveKit event name. Empty only when the body never verified. */
|
|
142
|
+
event?: string;
|
|
143
|
+
/** Why the body was refused. Empty on every accepted callback. */
|
|
144
|
+
reason?: string;
|
|
145
|
+
};
|
|
146
|
+
/** MeetChatHistoryResponse */
|
|
147
|
+
type MeetChatHistoryResponse = {
|
|
148
|
+
messages: MeetChatMessage[];
|
|
149
|
+
saved?: boolean;
|
|
150
|
+
};
|
|
151
|
+
/** MeetChatMessage */
|
|
152
|
+
type MeetChatMessage = {
|
|
153
|
+
id: string;
|
|
154
|
+
meeting_id: string;
|
|
155
|
+
sender_identity: string;
|
|
156
|
+
sender_name: string;
|
|
157
|
+
body: string;
|
|
158
|
+
created_at: string;
|
|
159
|
+
saved?: boolean;
|
|
160
|
+
};
|
|
161
|
+
/** MeetChatSendRequest */
|
|
162
|
+
type MeetChatSendRequest = {
|
|
163
|
+
meeting_id: string;
|
|
164
|
+
body: string;
|
|
165
|
+
};
|
|
166
|
+
/** `POST /api/v1/meet/claim` — the guest's pass rides `x-meet-pass`. */
|
|
167
|
+
type MeetClaimRequest = {
|
|
168
|
+
meeting_id: string;
|
|
169
|
+
};
|
|
170
|
+
/** MeetClaimResponse */
|
|
171
|
+
type MeetClaimResponse = {
|
|
172
|
+
meeting_id: string;
|
|
173
|
+
slug: string;
|
|
174
|
+
claimed: boolean;
|
|
175
|
+
access: string;
|
|
176
|
+
};
|
|
177
|
+
/** MeetCollabRequest */
|
|
178
|
+
type MeetCollabRequest = {
|
|
179
|
+
meeting_id: string;
|
|
180
|
+
action: "poll_create" | "poll_update" | "poll_launch" | "poll_close" | "poll_share" | "poll_vote" | "poll_delete" | "question_ask" | "question_upvote" | "question_answer" | "question_reopen" | "question_dismiss" | "question_delete" | "stroke_add" | "stroke_erase" | "whiteboard_clear" | "breakout_open" | "breakout_update" | "breakout_broadcast" | "breakout_move" | "breakout_join" | "breakout_close" | "breakout_expire" | "focus_set";
|
|
181
|
+
item_id?: string | null;
|
|
182
|
+
question?: string | null;
|
|
183
|
+
options?: string[] | null;
|
|
184
|
+
multiple?: boolean | null;
|
|
185
|
+
anonymous?: boolean | null;
|
|
186
|
+
option_ids?: string[] | null;
|
|
187
|
+
text?: string | null;
|
|
188
|
+
stroke?: StrokeIn | null;
|
|
189
|
+
rooms?: BreakoutRoomIn[] | null;
|
|
190
|
+
allow_choose?: boolean | null;
|
|
191
|
+
minutes?: number | null;
|
|
192
|
+
identity?: string | null;
|
|
193
|
+
room_id?: string | null;
|
|
194
|
+
panel?: string | null;
|
|
195
|
+
section?: string | null;
|
|
196
|
+
};
|
|
197
|
+
/** MeetCollabResponse */
|
|
198
|
+
type MeetCollabResponse = {
|
|
199
|
+
action: string;
|
|
200
|
+
item?: {
|
|
201
|
+
[key: string]: unknown;
|
|
202
|
+
} | null;
|
|
203
|
+
removed?: string[];
|
|
204
|
+
message: string;
|
|
205
|
+
};
|
|
206
|
+
/** The resolved knobs for this meeting's organization — what controls EXIST. */
|
|
207
|
+
type MeetCollabSettings = {
|
|
208
|
+
polls_enabled: boolean;
|
|
209
|
+
poll_max_options: number;
|
|
210
|
+
qa_enabled: boolean;
|
|
211
|
+
qa_anonymous_allowed: boolean;
|
|
212
|
+
whiteboard_enabled: boolean;
|
|
213
|
+
breakouts_enabled: boolean;
|
|
214
|
+
breakout_max_rooms: number;
|
|
215
|
+
breakout_default_minutes: number;
|
|
216
|
+
caption_translation_enabled: boolean;
|
|
217
|
+
caption_translation_language: string;
|
|
218
|
+
};
|
|
219
|
+
/** MeetCollabState */
|
|
220
|
+
type MeetCollabState = {
|
|
221
|
+
polls: {
|
|
222
|
+
[key: string]: unknown;
|
|
223
|
+
}[];
|
|
224
|
+
questions: {
|
|
225
|
+
[key: string]: unknown;
|
|
226
|
+
}[];
|
|
227
|
+
strokes: {
|
|
228
|
+
[key: string]: unknown;
|
|
229
|
+
}[];
|
|
230
|
+
breakout: {
|
|
231
|
+
[key: string]: unknown;
|
|
232
|
+
} | null;
|
|
233
|
+
settings: MeetCollabSettings;
|
|
234
|
+
focus?: {
|
|
235
|
+
[key: string]: unknown;
|
|
236
|
+
} | null;
|
|
237
|
+
role: string;
|
|
238
|
+
identity: string;
|
|
239
|
+
};
|
|
240
|
+
/** MeetConsentRequest */
|
|
241
|
+
type MeetConsentRequest = {
|
|
242
|
+
meeting_id: string;
|
|
243
|
+
};
|
|
244
|
+
/** MeetConsentResponse */
|
|
245
|
+
type MeetConsentResponse = {
|
|
246
|
+
acknowledged_at: string;
|
|
247
|
+
session_id?: string | null;
|
|
248
|
+
};
|
|
249
|
+
/** `POST /v1/meet/leave` — beacon-callable: the pass may ride in the body. */
|
|
250
|
+
type MeetLeaveRequest = {
|
|
251
|
+
meeting_id: string;
|
|
252
|
+
intent?: "leave" | "withdraw";
|
|
253
|
+
connection?: string | null;
|
|
254
|
+
generation?: number | null;
|
|
255
|
+
meeting_pass?: string | null;
|
|
256
|
+
};
|
|
257
|
+
/** MeetLeaveResponse */
|
|
258
|
+
type MeetLeaveResponse = {
|
|
259
|
+
admission_state?: string | null;
|
|
260
|
+
ignored?: boolean;
|
|
261
|
+
reason?: string | null;
|
|
262
|
+
};
|
|
263
|
+
/** MeetModerationRequest */
|
|
264
|
+
type MeetModerationRequest = {
|
|
265
|
+
meeting_id: string;
|
|
266
|
+
action: "mute" | "stop_video" | "stop_screen" | "mute_all" | "ask_unmute" | "ask_all_unmute" | "spotlight" | "lower_hand" | "lower_all_hands" | "make_cohost" | "revoke_cohost" | "transfer_host" | "rename" | "remove" | "report";
|
|
267
|
+
identity?: string | null;
|
|
268
|
+
name?: string | null;
|
|
269
|
+
reason?: string | null;
|
|
270
|
+
};
|
|
271
|
+
/** MeetModerationResponse */
|
|
272
|
+
type MeetModerationResponse = {
|
|
273
|
+
action: string;
|
|
274
|
+
affected: string[];
|
|
275
|
+
message: string;
|
|
276
|
+
};
|
|
277
|
+
/** `POST /api/v1/meet/intelligence/ask` — a question and nothing else. */
|
|
278
|
+
type MeetQuestionRequest = {
|
|
279
|
+
meeting_id: string;
|
|
280
|
+
question: string;
|
|
281
|
+
};
|
|
282
|
+
/** `POST /api/v1/meet/record/access` — a host sets ONE meeting's level. */
|
|
283
|
+
type MeetRecordAccessRequest = {
|
|
284
|
+
meeting_id: string;
|
|
285
|
+
organization_id: string;
|
|
286
|
+
access: string;
|
|
287
|
+
};
|
|
288
|
+
/** MeetRecordAccessResponse */
|
|
289
|
+
type MeetRecordAccessResponse = {
|
|
290
|
+
meeting_id: string;
|
|
291
|
+
setting: string;
|
|
292
|
+
effective: GuestRecordAccess;
|
|
293
|
+
};
|
|
294
|
+
/** What `GET /v1/meet/record` returns. De-identified by construction. */
|
|
295
|
+
type MeetRecordResponse = {
|
|
296
|
+
meeting_id: string;
|
|
297
|
+
/** The resolved level: `summary` or `full`. */
|
|
298
|
+
access: string;
|
|
299
|
+
/** `meeting` or `organization`. */
|
|
300
|
+
access_source: string;
|
|
301
|
+
shared: {
|
|
302
|
+
[key: string]: boolean;
|
|
303
|
+
};
|
|
304
|
+
attendees: {
|
|
305
|
+
[key: string]: JsonValue;
|
|
306
|
+
}[];
|
|
307
|
+
notes: {
|
|
308
|
+
[key: string]: JsonValue;
|
|
309
|
+
}[];
|
|
310
|
+
transcript: {
|
|
311
|
+
[key: string]: JsonValue;
|
|
312
|
+
}[];
|
|
313
|
+
recordings: {
|
|
314
|
+
[key: string]: JsonValue;
|
|
315
|
+
}[];
|
|
316
|
+
recording_notice?: string;
|
|
317
|
+
session_id?: string | null;
|
|
318
|
+
runs?: {
|
|
319
|
+
[key: string]: JsonValue;
|
|
320
|
+
}[];
|
|
321
|
+
};
|
|
322
|
+
/** MeetStateConnection */
|
|
323
|
+
type MeetStateConnection = {
|
|
324
|
+
livekit_identity: string;
|
|
325
|
+
generation: number;
|
|
326
|
+
joined_at?: string | null;
|
|
327
|
+
left_at?: string | null;
|
|
328
|
+
exit_reason?: string | null;
|
|
329
|
+
};
|
|
330
|
+
/** `GET /v1/meet/state` — everything a person outside the room needs, from the rows. */
|
|
331
|
+
type MeetStateResponse = {
|
|
332
|
+
meeting_id: string;
|
|
333
|
+
person_key: string;
|
|
334
|
+
/** waiting_host · knocking · admitted · denied · expired · withdrawn · removed · ended, or null when this person never knocked. */
|
|
335
|
+
admission_state: string | null;
|
|
336
|
+
knock_expires_at?: string | null;
|
|
337
|
+
reknock_allowed?: boolean;
|
|
338
|
+
standing?: string | null;
|
|
339
|
+
role?: string | null;
|
|
340
|
+
admitters_present?: boolean;
|
|
341
|
+
session_phase: "not_started" | "live" | "ended";
|
|
342
|
+
meeting_phase: "live" | "ended" | "cancelled";
|
|
343
|
+
session_id?: string | null;
|
|
344
|
+
live_version?: number;
|
|
345
|
+
exit_reason?: string | null;
|
|
346
|
+
connections?: MeetStateConnection[];
|
|
347
|
+
poll_seconds?: number;
|
|
348
|
+
};
|
|
349
|
+
/** `POST /v1/meet/meetings/{meeting_id}/announce` — what bringing everyone up to date did. */
|
|
350
|
+
type MeetingAnnounceResponse = {
|
|
351
|
+
invitations: number;
|
|
352
|
+
updates: number;
|
|
353
|
+
cancellations: number;
|
|
354
|
+
already_current: number;
|
|
355
|
+
reminders_queued: number;
|
|
356
|
+
reminders_cancelled: number;
|
|
357
|
+
};
|
|
358
|
+
/** `POST /api/v1/meet/end` — see `endForEveryone` in the package. */
|
|
359
|
+
type MeetingEndRequest = {
|
|
360
|
+
meeting_id: string;
|
|
361
|
+
organization_id: string;
|
|
362
|
+
};
|
|
363
|
+
/** What `endForEveryone` reads back. */
|
|
364
|
+
type MeetingEndResponse = {
|
|
365
|
+
ended_at: string;
|
|
366
|
+
};
|
|
367
|
+
/** `POST /v1/meet/meetings/{meeting_id}/google-calendar` — the host's OWN */
|
|
368
|
+
type MeetingGoogleCalendarRequest = {
|
|
369
|
+
connection_id: string;
|
|
370
|
+
calendar_id?: string;
|
|
371
|
+
};
|
|
372
|
+
/** `POST /api/v1/meet/agent/start` — see `startNoteTaker` in the package. */
|
|
373
|
+
type NoteTakerStartRequest = {
|
|
374
|
+
meeting_id: string;
|
|
375
|
+
room_name: string;
|
|
376
|
+
organization_id: string;
|
|
377
|
+
};
|
|
378
|
+
/** NoteTakerStopRequest */
|
|
379
|
+
type NoteTakerStopRequest = {
|
|
380
|
+
meeting_id: string;
|
|
381
|
+
};
|
|
382
|
+
/** NotificationChannelReceipt */
|
|
383
|
+
type NotificationChannelReceipt = {
|
|
384
|
+
notification_id?: string | null;
|
|
385
|
+
channel: "in_app" | "sms";
|
|
386
|
+
state: "queued" | "deferred" | "skipped" | "accepted" | "delivered" | "failed";
|
|
387
|
+
reason?: string | null;
|
|
388
|
+
delivered_at?: string | null;
|
|
389
|
+
};
|
|
390
|
+
/** NotificationSubmissionReceipt */
|
|
391
|
+
type NotificationSubmissionReceipt = {
|
|
392
|
+
submission_id: string;
|
|
393
|
+
organization_id: string;
|
|
394
|
+
state: "accepted" | "refused";
|
|
395
|
+
notification_ids?: string[];
|
|
396
|
+
refusal?: string | null;
|
|
397
|
+
created_at: string;
|
|
398
|
+
updated_at: string;
|
|
399
|
+
channels?: NotificationChannelReceipt[];
|
|
400
|
+
};
|
|
401
|
+
/** OpenStaffThreadRequest */
|
|
402
|
+
type OpenStaffThreadRequest = {
|
|
403
|
+
/** Which door this is. `web` is a signed-in browser session; `native` is the phone or desktop client, which IS an approval-guarded channel because it is not a browser session with recent interactive auth */
|
|
404
|
+
channel?: "web" | "native";
|
|
405
|
+
};
|
|
406
|
+
/** PrepGuest */
|
|
407
|
+
type PrepGuest = {
|
|
408
|
+
user_id?: string | null;
|
|
409
|
+
email?: string | null;
|
|
410
|
+
name?: string | null;
|
|
411
|
+
cohost?: boolean;
|
|
412
|
+
};
|
|
413
|
+
/** RecordingStartRequest */
|
|
414
|
+
type RecordingStartRequest = {
|
|
415
|
+
meeting_id: string;
|
|
416
|
+
room_name: string;
|
|
417
|
+
};
|
|
418
|
+
/** RecordingStateResponse */
|
|
419
|
+
type RecordingStateResponse = {
|
|
420
|
+
recording_id: string;
|
|
421
|
+
state: string;
|
|
422
|
+
egress_id?: string | null;
|
|
423
|
+
};
|
|
424
|
+
/** RecordingStopRequest */
|
|
425
|
+
type RecordingStopRequest = {
|
|
426
|
+
meeting_id: string;
|
|
427
|
+
};
|
|
428
|
+
/** `POST /api/v1/meet/token` — see `createTokenClient` in the package. */
|
|
429
|
+
type RoomTokenRequest = {
|
|
430
|
+
room_name: string;
|
|
431
|
+
organization_id: string;
|
|
432
|
+
display_name: string;
|
|
433
|
+
device_id: string;
|
|
434
|
+
guest?: boolean;
|
|
435
|
+
meeting_id?: string | null;
|
|
436
|
+
slug?: string | null;
|
|
437
|
+
breakout_room_id?: string | null;
|
|
438
|
+
observe?: boolean;
|
|
439
|
+
};
|
|
440
|
+
/** What `parseRoomToken` reads. `expires_at` is not optional: without it the */
|
|
441
|
+
type RoomTokenResponse = {
|
|
442
|
+
token: string;
|
|
443
|
+
server_url: string;
|
|
444
|
+
identity: string;
|
|
445
|
+
display_name: string;
|
|
446
|
+
expires_at: string;
|
|
447
|
+
can_publish: boolean;
|
|
448
|
+
can_subscribe: boolean;
|
|
449
|
+
can_record: boolean;
|
|
450
|
+
is_host: boolean;
|
|
451
|
+
role: string;
|
|
452
|
+
standing: string;
|
|
453
|
+
lobby: boolean;
|
|
454
|
+
breakout_room_id?: string | null;
|
|
455
|
+
person_key: string;
|
|
456
|
+
connection_identity: string;
|
|
457
|
+
session_id?: string | null;
|
|
458
|
+
generation?: number;
|
|
459
|
+
live_version?: number;
|
|
460
|
+
admission_state?: string;
|
|
461
|
+
poll_seconds?: number;
|
|
462
|
+
meeting_pass?: string | null;
|
|
463
|
+
meeting_pass_expires_at?: string | null;
|
|
464
|
+
observers_visible_to?: string;
|
|
465
|
+
};
|
|
466
|
+
/** `POST /v1/meet/meetings/{id}/rsvp` — a signed-in invitee's Going? answer. */
|
|
467
|
+
type RsvpInAppRequest = {
|
|
468
|
+
answer: "accepted" | "declined" | "tentative";
|
|
469
|
+
note?: string | null;
|
|
470
|
+
};
|
|
471
|
+
/** RsvpInAppResponse */
|
|
472
|
+
type RsvpInAppResponse = {
|
|
473
|
+
ok: boolean;
|
|
474
|
+
rsvp_state: string;
|
|
475
|
+
host_notified?: boolean;
|
|
476
|
+
};
|
|
477
|
+
/** `POST /v1/meet/rsvp` — the answer given on the page an emailed Yes / No / */
|
|
478
|
+
type RsvpLinkRequest = {
|
|
479
|
+
secret: string;
|
|
480
|
+
answer: "accepted" | "declined" | "tentative";
|
|
481
|
+
note?: string | null;
|
|
482
|
+
};
|
|
483
|
+
/** What the RSVP page draws after the answer: the database door's own payload */
|
|
484
|
+
type RsvpLinkResponse = {
|
|
485
|
+
ok: boolean;
|
|
486
|
+
message?: string | null;
|
|
487
|
+
meeting?: {
|
|
488
|
+
[key: string]: JsonValue;
|
|
489
|
+
} | null;
|
|
490
|
+
invitee?: {
|
|
491
|
+
[key: string]: JsonValue;
|
|
492
|
+
} | null;
|
|
493
|
+
host_notified?: boolean;
|
|
494
|
+
};
|
|
495
|
+
/** SelfNotificationSendRequest */
|
|
496
|
+
type SelfNotificationSendRequest = {
|
|
497
|
+
event_key: "agent.work_completed" | "agent.work_failed" | "agent.action_required";
|
|
498
|
+
caller_key: string;
|
|
499
|
+
title: string;
|
|
500
|
+
message: string;
|
|
501
|
+
source: string;
|
|
502
|
+
};
|
|
503
|
+
/** Everything a client needs to render and run the person's staff thread. */
|
|
504
|
+
type StaffThread = {
|
|
505
|
+
/** The person's ONE staff conversation in this organization. The same id their texts and calls use. Deterministic: the client may hold it, and asking again always returns it. */
|
|
506
|
+
conversation_id: string;
|
|
507
|
+
/** The role the thread runs. Always `personal_staff.front_line`. */
|
|
508
|
+
mandate_key: string;
|
|
509
|
+
/** The resolved Holder's `agent.definition` id — what every attribution column is a foreign key to. NOT the version id. */
|
|
510
|
+
agent_id: string;
|
|
511
|
+
/** Set only when the Holder is pinned to a specific version. */
|
|
512
|
+
agent_version_id?: string | null;
|
|
513
|
+
/** For the header. Absent is honest, never a placeholder. */
|
|
514
|
+
agent_name?: string | null;
|
|
515
|
+
/** Which rung of the mandate ladder chose this Holder: system, org, user or run. An admin debugging 'why is this agent answering' reads this rather than guessing. */
|
|
516
|
+
holder_provenance: string;
|
|
517
|
+
/** True only on the very first open, when this door created the row. */
|
|
518
|
+
is_new: boolean;
|
|
519
|
+
/** The person's own box, now bound to this thread, so file and shell tools run in THEIR machine rather than on the server. Null means there is no box — and `sandbox_note` says why in words. */
|
|
520
|
+
sandbox_instance_id?: string | null;
|
|
521
|
+
/** Present exactly when `sandbox_instance_id` is null: one plain sentence a person can read, never a silent absence. */
|
|
522
|
+
sandbox_note?: string | null;
|
|
523
|
+
};
|
|
524
|
+
/** StrokeIn */
|
|
525
|
+
type StrokeIn = {
|
|
526
|
+
points: [number, number][];
|
|
527
|
+
color?: string;
|
|
528
|
+
width?: number;
|
|
529
|
+
tool?: "pen" | "highlighter";
|
|
530
|
+
};
|
|
531
|
+
/** TestHandsetInboxResponse */
|
|
532
|
+
type TestHandsetInboxResponse = {
|
|
533
|
+
messages: TestHandsetMessage[];
|
|
534
|
+
/** Every number this door can read, straight from the database. */
|
|
535
|
+
handsets: string[];
|
|
536
|
+
};
|
|
537
|
+
/** One message a test handset received. */
|
|
538
|
+
type TestHandsetMessage = {
|
|
539
|
+
id: string;
|
|
540
|
+
provider_message_sid: string;
|
|
541
|
+
direction: string;
|
|
542
|
+
from_number: string;
|
|
543
|
+
to_number: string;
|
|
544
|
+
body?: string | null;
|
|
545
|
+
num_media?: number;
|
|
546
|
+
received_at: string;
|
|
547
|
+
webhook_path: string;
|
|
548
|
+
};
|
|
549
|
+
type ConversationRelayPreparationArgs = {
|
|
550
|
+
body: ConversationRelayPreparationRequest;
|
|
551
|
+
};
|
|
552
|
+
type ConversationRelayPreparationResult = ConversationRelayPreparationResponse;
|
|
553
|
+
/** Conversation Relay Preparation */
|
|
554
|
+
/** `POST /communications/voice/conversation-relay/session-reference` · aidream · auth scoped · org required */
|
|
555
|
+
declare function conversationRelayPreparation(api: Api, args: ConversationRelayPreparationArgs, options?: CallOptions): Promise<ConversationRelayPreparationResult>;
|
|
556
|
+
type ConversationRelayReadinessArgs = {
|
|
557
|
+
[key: string]: never;
|
|
558
|
+
};
|
|
559
|
+
type ConversationRelayReadinessResult = ConversationRelayRuntimeReadiness;
|
|
560
|
+
/** Conversation Relay Readiness */
|
|
561
|
+
/** `GET /communications/voice/conversation-relay/readiness` · aidream · auth guest · org optional */
|
|
562
|
+
declare function conversationRelayReadiness(api: Api, args?: ConversationRelayReadinessArgs, options?: CallOptions): Promise<ConversationRelayReadinessResult>;
|
|
563
|
+
type SubmitSelfNotificationArgs = {
|
|
564
|
+
body: SelfNotificationSendRequest;
|
|
565
|
+
};
|
|
566
|
+
type SubmitSelfNotificationResult = NotificationSubmissionReceipt;
|
|
567
|
+
/** Submit Self Notification */
|
|
568
|
+
/** `POST /notifications/self` · aidream · auth user · org required */
|
|
569
|
+
declare function submitSelfNotification(api: Api, args: SubmitSelfNotificationArgs, options?: CallOptions): Promise<SubmitSelfNotificationResult>;
|
|
570
|
+
type OpenMyStaffArgs = {
|
|
571
|
+
body?: OpenStaffThreadRequest | null;
|
|
572
|
+
};
|
|
573
|
+
type OpenMyStaffResult = StaffThread;
|
|
574
|
+
/** Open My Staff */
|
|
575
|
+
/** `POST /personal-staff/open` · aidream · auth user · org required */
|
|
576
|
+
declare function openMyStaff(api: Api, args?: OpenMyStaffArgs, options?: CallOptions): Promise<OpenMyStaffResult>;
|
|
577
|
+
type JoinTokenArgs = {
|
|
578
|
+
body: RoomTokenRequest;
|
|
579
|
+
};
|
|
580
|
+
type JoinTokenResult = RoomTokenResponse;
|
|
581
|
+
/** Join Token */
|
|
582
|
+
/** `POST /v1/meet/token` · aidream · auth guest · org required */
|
|
583
|
+
declare function joinToken(api: Api, args: JoinTokenArgs, options?: CallOptions): Promise<JoinTokenResult>;
|
|
584
|
+
type MeetingStateArgs = {
|
|
585
|
+
query: {
|
|
586
|
+
meeting_id: string;
|
|
587
|
+
connection?: string | null;
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
type MeetingStateResult = MeetStateResponse;
|
|
591
|
+
/** Meeting State */
|
|
592
|
+
/** `GET /v1/meet/state` · aidream · auth scoped · org required */
|
|
593
|
+
declare function meetingState(api: Api, args: MeetingStateArgs, options?: CallOptions): Promise<MeetingStateResult>;
|
|
594
|
+
type MeetingLeaveArgs = {
|
|
595
|
+
body: MeetLeaveRequest;
|
|
596
|
+
};
|
|
597
|
+
type MeetingLeaveResult = MeetLeaveResponse;
|
|
598
|
+
/** Meeting Leave */
|
|
599
|
+
/** `POST /v1/meet/leave` · aidream · auth scoped · org required */
|
|
600
|
+
declare function meetingLeave(api: Api, args: MeetingLeaveArgs, options?: CallOptions): Promise<MeetingLeaveResult>;
|
|
601
|
+
type MeetingConsentArgs = {
|
|
602
|
+
body: MeetConsentRequest;
|
|
603
|
+
};
|
|
604
|
+
type MeetingConsentResult = MeetConsentResponse;
|
|
605
|
+
/** Meeting Consent */
|
|
606
|
+
/** `POST /v1/meet/consent` · aidream · auth scoped · org required */
|
|
607
|
+
declare function meetingConsent(api: Api, args: MeetingConsentArgs, options?: CallOptions): Promise<MeetingConsentResult>;
|
|
608
|
+
type RecordingStartArgs = {
|
|
609
|
+
body: RecordingStartRequest;
|
|
610
|
+
};
|
|
611
|
+
type RecordingStartResult = RecordingStateResponse;
|
|
612
|
+
/** Recording Start */
|
|
613
|
+
/** `POST /v1/meet/recording/start` · aidream · auth user · org required */
|
|
614
|
+
declare function recordingStart(api: Api, args: RecordingStartArgs, options?: CallOptions): Promise<RecordingStartResult>;
|
|
615
|
+
type RecordingStopArgs = {
|
|
616
|
+
body: RecordingStopRequest;
|
|
617
|
+
};
|
|
618
|
+
type RecordingStopResult = RecordingStateResponse;
|
|
619
|
+
/** Recording Stop */
|
|
620
|
+
/** `POST /v1/meet/recording/stop` · aidream · auth user · org required */
|
|
621
|
+
declare function recordingStop(api: Api, args: RecordingStopArgs, options?: CallOptions): Promise<RecordingStopResult>;
|
|
622
|
+
type MeetingEndArgs = {
|
|
623
|
+
body: MeetingEndRequest;
|
|
624
|
+
};
|
|
625
|
+
type MeetingEndResult = MeetingEndResponse;
|
|
626
|
+
/** Meeting End */
|
|
627
|
+
/** `POST /v1/meet/end` · aidream · auth user · org required */
|
|
628
|
+
declare function meetingEnd(api: Api, args: MeetingEndArgs, options?: CallOptions): Promise<MeetingEndResult>;
|
|
629
|
+
type AgentStartArgs = {
|
|
630
|
+
body: NoteTakerStartRequest;
|
|
631
|
+
};
|
|
632
|
+
type AgentStartResult = AgentDispatchResponse;
|
|
633
|
+
/** Agent Start */
|
|
634
|
+
/** `POST /v1/meet/agent/start` · aidream · auth user · org required */
|
|
635
|
+
declare function agentStart(api: Api, args: AgentStartArgs, options?: CallOptions): Promise<AgentStartResult>;
|
|
636
|
+
type AgentStopArgs = {
|
|
637
|
+
body: NoteTakerStopRequest;
|
|
638
|
+
};
|
|
639
|
+
type AgentStopResult = AgentDispatchResponse;
|
|
640
|
+
/** Agent Stop */
|
|
641
|
+
/** `POST /v1/meet/agent/stop` · aidream · auth user · org required */
|
|
642
|
+
declare function agentStop(api: Api, args: AgentStopArgs, options?: CallOptions): Promise<AgentStopResult>;
|
|
643
|
+
type IntelligenceAskArgs = {
|
|
644
|
+
body: MeetQuestionRequest;
|
|
645
|
+
};
|
|
646
|
+
type IntelligenceAskResult = unknown;
|
|
647
|
+
/** Intelligence Ask */
|
|
648
|
+
/** `POST /v1/meet/intelligence/ask` · aidream · auth scoped · org required · ndjson */
|
|
649
|
+
declare function intelligenceAsk(api: Api, args: IntelligenceAskArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
650
|
+
type MeetingRecordArgs = {
|
|
651
|
+
query?: {
|
|
652
|
+
meeting_id?: string | null;
|
|
653
|
+
slug?: string | null;
|
|
654
|
+
session_id?: string | null;
|
|
655
|
+
};
|
|
656
|
+
};
|
|
657
|
+
type MeetingRecordResult = MeetRecordResponse;
|
|
658
|
+
/** Meeting Record */
|
|
659
|
+
/** `GET /v1/meet/record` · aidream · auth scoped · org required */
|
|
660
|
+
declare function meetingRecord(api: Api, args?: MeetingRecordArgs, options?: CallOptions): Promise<MeetingRecordResult>;
|
|
661
|
+
type MeetingClaimArgs = {
|
|
662
|
+
body: MeetClaimRequest;
|
|
663
|
+
};
|
|
664
|
+
type MeetingClaimResult = MeetClaimResponse;
|
|
665
|
+
/** Meeting Claim */
|
|
666
|
+
/** `POST /v1/meet/claim` · aidream · auth user · org required */
|
|
667
|
+
declare function meetingClaim(api: Api, args: MeetingClaimArgs, options?: CallOptions): Promise<MeetingClaimResult>;
|
|
668
|
+
type MeetingRecordAccessArgs = {
|
|
669
|
+
body: MeetRecordAccessRequest;
|
|
670
|
+
};
|
|
671
|
+
type MeetingRecordAccessResult = MeetRecordAccessResponse;
|
|
672
|
+
/** Meeting Record Access */
|
|
673
|
+
/** `POST /v1/meet/record/access` · aidream · auth user · org required */
|
|
674
|
+
declare function meetingRecordAccess(api: Api, args: MeetingRecordAccessArgs, options?: CallOptions): Promise<MeetingRecordAccessResult>;
|
|
675
|
+
type MeetingAnnounceArgs = {
|
|
676
|
+
path: {
|
|
677
|
+
meeting_id: string;
|
|
678
|
+
};
|
|
679
|
+
};
|
|
680
|
+
type MeetingAnnounceResult = MeetingAnnounceResponse;
|
|
681
|
+
/** Meeting Announce */
|
|
682
|
+
/** `POST /v1/meet/meetings/{meeting_id}/announce` · aidream · auth user · org required */
|
|
683
|
+
declare function meetingAnnounce(api: Api, args: MeetingAnnounceArgs, options?: CallOptions): Promise<MeetingAnnounceResult>;
|
|
684
|
+
type MeetingFollowUpDraftArgs = {
|
|
685
|
+
path: {
|
|
686
|
+
meeting_id: string;
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
type MeetingFollowUpDraftResult = FollowUpDraftResponse;
|
|
690
|
+
/** Meeting Follow Up Draft */
|
|
691
|
+
/** `GET /v1/meet/meetings/{meeting_id}/follow-up` · aidream · auth guest · org optional */
|
|
692
|
+
declare function meetingFollowUpDraft(api: Api, args: MeetingFollowUpDraftArgs, options?: CallOptions): Promise<MeetingFollowUpDraftResult>;
|
|
693
|
+
type MeetingFollowUpSendArgs = {
|
|
694
|
+
path: {
|
|
695
|
+
meeting_id: string;
|
|
696
|
+
};
|
|
697
|
+
body: FollowUpSendRequest;
|
|
698
|
+
};
|
|
699
|
+
type MeetingFollowUpSendResult = FollowUpSendResponse;
|
|
700
|
+
/** Meeting Follow Up Send */
|
|
701
|
+
/** `POST /v1/meet/meetings/{meeting_id}/follow-up` · aidream · auth user · org required */
|
|
702
|
+
declare function meetingFollowUpSend(api: Api, args: MeetingFollowUpSendArgs, options?: CallOptions): Promise<MeetingFollowUpSendResult>;
|
|
703
|
+
type MeetingRsvpArgs = {
|
|
704
|
+
path: {
|
|
705
|
+
meeting_id: string;
|
|
706
|
+
};
|
|
707
|
+
body: RsvpInAppRequest;
|
|
708
|
+
};
|
|
709
|
+
type MeetingRsvpResult = RsvpInAppResponse;
|
|
710
|
+
/** Meeting Rsvp */
|
|
711
|
+
/** `POST /v1/meet/meetings/{meeting_id}/rsvp` · aidream · auth user · org required */
|
|
712
|
+
declare function meetingRsvp(api: Api, args: MeetingRsvpArgs, options?: CallOptions): Promise<MeetingRsvpResult>;
|
|
713
|
+
type RsvpByLinkArgs = {
|
|
714
|
+
body: RsvpLinkRequest;
|
|
715
|
+
};
|
|
716
|
+
type RsvpByLinkResult = RsvpLinkResponse;
|
|
717
|
+
/** Rsvp By Link */
|
|
718
|
+
/** `POST /v1/meet/rsvp` · aidream · auth scoped · org required */
|
|
719
|
+
declare function rsvpByLink(api: Api, args: RsvpByLinkArgs, options?: CallOptions): Promise<RsvpByLinkResult>;
|
|
720
|
+
type MeetingGoogleCalendarArgs = {
|
|
721
|
+
path: {
|
|
722
|
+
meeting_id: string;
|
|
723
|
+
};
|
|
724
|
+
body: MeetingGoogleCalendarRequest;
|
|
725
|
+
};
|
|
726
|
+
type MeetingGoogleCalendarResult = CalendarCreateResult;
|
|
727
|
+
/** Meeting Google Calendar */
|
|
728
|
+
/** `POST /v1/meet/meetings/{meeting_id}/google-calendar` · aidream · auth user · org required */
|
|
729
|
+
declare function meetingGoogleCalendar(api: Api, args: MeetingGoogleCalendarArgs, options?: CallOptions): Promise<MeetingGoogleCalendarResult>;
|
|
730
|
+
type MeetingBriefArgs = {
|
|
731
|
+
path: {
|
|
732
|
+
meeting_id: string;
|
|
733
|
+
};
|
|
734
|
+
};
|
|
735
|
+
type MeetingBriefResult = unknown;
|
|
736
|
+
/** Meeting Brief */
|
|
737
|
+
/** `POST /v1/meet/meetings/{meeting_id}/brief` · aidream · auth user · org required · ndjson */
|
|
738
|
+
declare function meetingBrief(api: Api, args: MeetingBriefArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
739
|
+
type AgendaDraftArgs = {
|
|
740
|
+
body: AgendaDraftRequest;
|
|
741
|
+
};
|
|
742
|
+
type AgendaDraftResult = unknown;
|
|
743
|
+
/** Agenda Draft */
|
|
744
|
+
/** `POST /v1/meet/agenda-draft` · aidream · auth user · org required · ndjson */
|
|
745
|
+
declare function agendaDraft(api: Api, args: AgendaDraftArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
746
|
+
type MeetingModerateArgs = {
|
|
747
|
+
body: MeetModerationRequest;
|
|
748
|
+
};
|
|
749
|
+
type MeetingModerateResult = MeetModerationResponse;
|
|
750
|
+
/** Meeting Moderate */
|
|
751
|
+
/** `POST /v1/meet/moderate` · aidream · auth scoped · org required */
|
|
752
|
+
declare function meetingModerate(api: Api, args: MeetingModerateArgs, options?: CallOptions): Promise<MeetingModerateResult>;
|
|
753
|
+
type MeetingChatHistoryArgs = {
|
|
754
|
+
query: {
|
|
755
|
+
meeting_id: string;
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
type MeetingChatHistoryResult = MeetChatHistoryResponse;
|
|
759
|
+
/** Meeting Chat History */
|
|
760
|
+
/** `GET /v1/meet/chat` · aidream · auth scoped · org exempt */
|
|
761
|
+
declare function meetingChatHistory(api: Api, args: MeetingChatHistoryArgs, options?: CallOptions): Promise<MeetingChatHistoryResult>;
|
|
762
|
+
type MeetingChatSendArgs = {
|
|
763
|
+
body: MeetChatSendRequest;
|
|
764
|
+
};
|
|
765
|
+
type MeetingChatSendResult = MeetChatMessage;
|
|
766
|
+
/** Meeting Chat Send */
|
|
767
|
+
/** `POST /v1/meet/chat` · aidream · auth scoped · org exempt */
|
|
768
|
+
declare function meetingChatSend(api: Api, args: MeetingChatSendArgs, options?: CallOptions): Promise<MeetingChatSendResult>;
|
|
769
|
+
type MeetingCollabStateArgs = {
|
|
770
|
+
query: {
|
|
771
|
+
meeting_id: string;
|
|
772
|
+
};
|
|
773
|
+
};
|
|
774
|
+
type MeetingCollabStateResult = MeetCollabState;
|
|
775
|
+
/** Meeting Collab State */
|
|
776
|
+
/** `GET /v1/meet/collab` · aidream · auth scoped · org exempt */
|
|
777
|
+
declare function meetingCollabState(api: Api, args: MeetingCollabStateArgs, options?: CallOptions): Promise<MeetingCollabStateResult>;
|
|
778
|
+
type MeetingCollabActionArgs = {
|
|
779
|
+
body: MeetCollabRequest;
|
|
780
|
+
};
|
|
781
|
+
type MeetingCollabActionResult = MeetCollabResponse;
|
|
782
|
+
/** Meeting Collab Action */
|
|
783
|
+
/** `POST /v1/meet/collab` · aidream · auth scoped · org exempt */
|
|
784
|
+
declare function meetingCollabAction(api: Api, args: MeetingCollabActionArgs, options?: CallOptions): Promise<MeetingCollabActionResult>;
|
|
785
|
+
type MeetingCaptionsTranslateArgs = {
|
|
786
|
+
body: CaptionTranslateRequest;
|
|
787
|
+
};
|
|
788
|
+
type MeetingCaptionsTranslateResult = CaptionTranslateResponse;
|
|
789
|
+
/** Meeting Captions Translate */
|
|
790
|
+
/** `POST /v1/meet/captions/translate` · aidream · auth scoped · org required */
|
|
791
|
+
declare function meetingCaptionsTranslate(api: Api, args: MeetingCaptionsTranslateArgs, options?: CallOptions): Promise<MeetingCaptionsTranslateResult>;
|
|
792
|
+
type LivekitWebhookArgs = {
|
|
793
|
+
[key: string]: never;
|
|
794
|
+
};
|
|
795
|
+
type LivekitWebhookResult = LiveKitWebhookAck;
|
|
796
|
+
/** Livekit Webhook */
|
|
797
|
+
/** `POST /v1/meet/webhooks/livekit` · aidream · auth public · org required */
|
|
798
|
+
declare function livekitWebhook(api: Api, args?: LivekitWebhookArgs, options?: CallOptions): Promise<LivekitWebhookResult>;
|
|
799
|
+
type ReadTestHandsetInboxArgs = {
|
|
800
|
+
query?: {
|
|
801
|
+
to_number?: string | null;
|
|
802
|
+
since?: string | null;
|
|
803
|
+
contains?: string | null;
|
|
804
|
+
limit?: number;
|
|
805
|
+
};
|
|
806
|
+
};
|
|
807
|
+
type ReadTestHandsetInboxResult = TestHandsetInboxResponse;
|
|
808
|
+
/** Read what a loopback test handset received */
|
|
809
|
+
/** `GET /communications/internal/test-handset-inbox` · aidream · auth user · org required */
|
|
810
|
+
declare function readTestHandsetInbox(api: Api, args?: ReadTestHandsetInboxArgs, options?: CallOptions): Promise<ReadTestHandsetInboxResult>;
|
|
811
|
+
type InboundSmsFallbackArgs = {
|
|
812
|
+
[key: string]: never;
|
|
813
|
+
};
|
|
814
|
+
type InboundSmsFallbackResult = unknown;
|
|
815
|
+
/** Inbound Sms Fallback */
|
|
816
|
+
/** `POST /communications/sms/inbound-fallback` · aidream · auth public · org required */
|
|
817
|
+
declare function inboundSmsFallback(api: Api, args?: InboundSmsFallbackArgs, options?: CallOptions): Promise<InboundSmsFallbackResult>;
|
|
818
|
+
/** Every JSON operation of this domain by `METHOD path` — for path-keyed calls. */
|
|
819
|
+
interface Operations {
|
|
820
|
+
"POST /communications/voice/conversation-relay/session-reference": {
|
|
821
|
+
args: ConversationRelayPreparationArgs;
|
|
822
|
+
result: ConversationRelayPreparationResult;
|
|
823
|
+
};
|
|
824
|
+
"GET /communications/voice/conversation-relay/readiness": {
|
|
825
|
+
args: ConversationRelayReadinessArgs;
|
|
826
|
+
result: ConversationRelayReadinessResult;
|
|
827
|
+
};
|
|
828
|
+
"POST /notifications/self": {
|
|
829
|
+
args: SubmitSelfNotificationArgs;
|
|
830
|
+
result: SubmitSelfNotificationResult;
|
|
831
|
+
};
|
|
832
|
+
"POST /personal-staff/open": {
|
|
833
|
+
args: OpenMyStaffArgs;
|
|
834
|
+
result: OpenMyStaffResult;
|
|
835
|
+
};
|
|
836
|
+
"POST /v1/meet/token": {
|
|
837
|
+
args: JoinTokenArgs;
|
|
838
|
+
result: JoinTokenResult;
|
|
839
|
+
};
|
|
840
|
+
"GET /v1/meet/state": {
|
|
841
|
+
args: MeetingStateArgs;
|
|
842
|
+
result: MeetingStateResult;
|
|
843
|
+
};
|
|
844
|
+
"POST /v1/meet/leave": {
|
|
845
|
+
args: MeetingLeaveArgs;
|
|
846
|
+
result: MeetingLeaveResult;
|
|
847
|
+
};
|
|
848
|
+
"POST /v1/meet/consent": {
|
|
849
|
+
args: MeetingConsentArgs;
|
|
850
|
+
result: MeetingConsentResult;
|
|
851
|
+
};
|
|
852
|
+
"POST /v1/meet/recording/start": {
|
|
853
|
+
args: RecordingStartArgs;
|
|
854
|
+
result: RecordingStartResult;
|
|
855
|
+
};
|
|
856
|
+
"POST /v1/meet/recording/stop": {
|
|
857
|
+
args: RecordingStopArgs;
|
|
858
|
+
result: RecordingStopResult;
|
|
859
|
+
};
|
|
860
|
+
"POST /v1/meet/end": {
|
|
861
|
+
args: MeetingEndArgs;
|
|
862
|
+
result: MeetingEndResult;
|
|
863
|
+
};
|
|
864
|
+
"POST /v1/meet/agent/start": {
|
|
865
|
+
args: AgentStartArgs;
|
|
866
|
+
result: AgentStartResult;
|
|
867
|
+
};
|
|
868
|
+
"POST /v1/meet/agent/stop": {
|
|
869
|
+
args: AgentStopArgs;
|
|
870
|
+
result: AgentStopResult;
|
|
871
|
+
};
|
|
872
|
+
"GET /v1/meet/record": {
|
|
873
|
+
args: MeetingRecordArgs;
|
|
874
|
+
result: MeetingRecordResult;
|
|
875
|
+
};
|
|
876
|
+
"POST /v1/meet/claim": {
|
|
877
|
+
args: MeetingClaimArgs;
|
|
878
|
+
result: MeetingClaimResult;
|
|
879
|
+
};
|
|
880
|
+
"POST /v1/meet/record/access": {
|
|
881
|
+
args: MeetingRecordAccessArgs;
|
|
882
|
+
result: MeetingRecordAccessResult;
|
|
883
|
+
};
|
|
884
|
+
"POST /v1/meet/meetings/{meeting_id}/announce": {
|
|
885
|
+
args: MeetingAnnounceArgs;
|
|
886
|
+
result: MeetingAnnounceResult;
|
|
887
|
+
};
|
|
888
|
+
"GET /v1/meet/meetings/{meeting_id}/follow-up": {
|
|
889
|
+
args: MeetingFollowUpDraftArgs;
|
|
890
|
+
result: MeetingFollowUpDraftResult;
|
|
891
|
+
};
|
|
892
|
+
"POST /v1/meet/meetings/{meeting_id}/follow-up": {
|
|
893
|
+
args: MeetingFollowUpSendArgs;
|
|
894
|
+
result: MeetingFollowUpSendResult;
|
|
895
|
+
};
|
|
896
|
+
"POST /v1/meet/meetings/{meeting_id}/rsvp": {
|
|
897
|
+
args: MeetingRsvpArgs;
|
|
898
|
+
result: MeetingRsvpResult;
|
|
899
|
+
};
|
|
900
|
+
"POST /v1/meet/rsvp": {
|
|
901
|
+
args: RsvpByLinkArgs;
|
|
902
|
+
result: RsvpByLinkResult;
|
|
903
|
+
};
|
|
904
|
+
"POST /v1/meet/meetings/{meeting_id}/google-calendar": {
|
|
905
|
+
args: MeetingGoogleCalendarArgs;
|
|
906
|
+
result: MeetingGoogleCalendarResult;
|
|
907
|
+
};
|
|
908
|
+
"POST /v1/meet/moderate": {
|
|
909
|
+
args: MeetingModerateArgs;
|
|
910
|
+
result: MeetingModerateResult;
|
|
911
|
+
};
|
|
912
|
+
"GET /v1/meet/chat": {
|
|
913
|
+
args: MeetingChatHistoryArgs;
|
|
914
|
+
result: MeetingChatHistoryResult;
|
|
915
|
+
};
|
|
916
|
+
"POST /v1/meet/chat": {
|
|
917
|
+
args: MeetingChatSendArgs;
|
|
918
|
+
result: MeetingChatSendResult;
|
|
919
|
+
};
|
|
920
|
+
"GET /v1/meet/collab": {
|
|
921
|
+
args: MeetingCollabStateArgs;
|
|
922
|
+
result: MeetingCollabStateResult;
|
|
923
|
+
};
|
|
924
|
+
"POST /v1/meet/collab": {
|
|
925
|
+
args: MeetingCollabActionArgs;
|
|
926
|
+
result: MeetingCollabActionResult;
|
|
927
|
+
};
|
|
928
|
+
"POST /v1/meet/captions/translate": {
|
|
929
|
+
args: MeetingCaptionsTranslateArgs;
|
|
930
|
+
result: MeetingCaptionsTranslateResult;
|
|
931
|
+
};
|
|
932
|
+
"POST /v1/meet/webhooks/livekit": {
|
|
933
|
+
args: LivekitWebhookArgs;
|
|
934
|
+
result: LivekitWebhookResult;
|
|
935
|
+
};
|
|
936
|
+
"GET /communications/internal/test-handset-inbox": {
|
|
937
|
+
args: ReadTestHandsetInboxArgs;
|
|
938
|
+
result: ReadTestHandsetInboxResult;
|
|
939
|
+
};
|
|
940
|
+
"POST /communications/sms/inbound-fallback": {
|
|
941
|
+
args: InboundSmsFallbackArgs;
|
|
942
|
+
result: InboundSmsFallbackResult;
|
|
943
|
+
};
|
|
944
|
+
}
|
|
945
|
+
/** Path-keyed call, scoped to this domain only (never a global path map). */
|
|
946
|
+
declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
|
|
947
|
+
|
|
948
|
+
export { type AgendaDraftArgs, type AgendaDraftRequest, type AgendaDraftResult, type AgentDispatchResponse, type AgentStartArgs, type AgentStartResult, type AgentStopArgs, type AgentStopResult, type BreakoutRoomIn, type CaptionLineIn, type CaptionTranslateRequest, type CaptionTranslateResponse, type ConversationRelayPreparationArgs, type ConversationRelayPreparationRequest, type ConversationRelayPreparationResponse, type ConversationRelayPreparationResult, type ConversationRelayReadinessArgs, type ConversationRelayReadinessResult, type ConversationRelayRuntimeReadiness, type FollowUpDraftResponse, type FollowUpLastSent, type FollowUpRecipientOut, type FollowUpSendRequest, type FollowUpSendResponse, type FollowUpSkipped, type GuestRecordAccess, type InboundSmsFallbackArgs, type InboundSmsFallbackResult, type IntelligenceAskArgs, type IntelligenceAskResult, type JoinTokenArgs, type JoinTokenResult, type LiveKitWebhookAck, type LivekitWebhookArgs, type LivekitWebhookResult, type MeetChatHistoryResponse, type MeetChatMessage, type MeetChatSendRequest, type MeetClaimRequest, type MeetClaimResponse, type MeetCollabRequest, type MeetCollabResponse, type MeetCollabSettings, type MeetCollabState, type MeetConsentRequest, type MeetConsentResponse, type MeetLeaveRequest, type MeetLeaveResponse, type MeetModerationRequest, type MeetModerationResponse, type MeetQuestionRequest, type MeetRecordAccessRequest, type MeetRecordAccessResponse, type MeetRecordResponse, type MeetStateConnection, type MeetStateResponse, type MeetingAnnounceArgs, type MeetingAnnounceResponse, type MeetingAnnounceResult, type MeetingBriefArgs, type MeetingBriefResult, type MeetingCaptionsTranslateArgs, type MeetingCaptionsTranslateResult, type MeetingChatHistoryArgs, type MeetingChatHistoryResult, type MeetingChatSendArgs, type MeetingChatSendResult, type MeetingClaimArgs, type MeetingClaimResult, type MeetingCollabActionArgs, type MeetingCollabActionResult, type MeetingCollabStateArgs, type MeetingCollabStateResult, type MeetingConsentArgs, type MeetingConsentResult, type MeetingEndArgs, type MeetingEndRequest, type MeetingEndResponse, type MeetingEndResult, type MeetingFollowUpDraftArgs, type MeetingFollowUpDraftResult, type MeetingFollowUpSendArgs, type MeetingFollowUpSendResult, type MeetingGoogleCalendarArgs, type MeetingGoogleCalendarRequest, type MeetingGoogleCalendarResult, type MeetingLeaveArgs, type MeetingLeaveResult, type MeetingModerateArgs, type MeetingModerateResult, type MeetingRecordAccessArgs, type MeetingRecordAccessResult, type MeetingRecordArgs, type MeetingRecordResult, type MeetingRsvpArgs, type MeetingRsvpResult, type MeetingStateArgs, type MeetingStateResult, type NoteTakerStartRequest, type NoteTakerStopRequest, type NotificationChannelReceipt, type NotificationSubmissionReceipt, type OpenMyStaffArgs, type OpenMyStaffResult, type OpenStaffThreadRequest, type Operations, type PrepGuest, type ReadTestHandsetInboxArgs, type ReadTestHandsetInboxResult, type RecordingStartArgs, type RecordingStartRequest, type RecordingStartResult, type RecordingStateResponse, type RecordingStopArgs, type RecordingStopRequest, type RecordingStopResult, type RoomTokenRequest, type RoomTokenResponse, type RsvpByLinkArgs, type RsvpByLinkResult, type RsvpInAppRequest, type RsvpInAppResponse, type RsvpLinkRequest, type RsvpLinkResponse, type SelfNotificationSendRequest, type StaffThread, type StrokeIn, type SubmitSelfNotificationArgs, type SubmitSelfNotificationResult, type TestHandsetInboxResponse, type TestHandsetMessage, agendaDraft, agentStart, agentStop, call, conversationRelayPreparation, conversationRelayReadiness, inboundSmsFallback, intelligenceAsk, joinToken, livekitWebhook, meetingAnnounce, meetingBrief, meetingCaptionsTranslate, meetingChatHistory, meetingChatSend, meetingClaim, meetingCollabAction, meetingCollabState, meetingConsent, meetingEnd, meetingFollowUpDraft, meetingFollowUpSend, meetingGoogleCalendar, meetingLeave, meetingModerate, meetingRecord, meetingRecordAccess, meetingRsvp, meetingState, openMyStaff, readTestHandsetInbox, recordingStart, recordingStop, rsvpByLink, submitSelfNotification };
|