@ai-matrx/api 0.1.12 → 0.1.13
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 +2 -2
- package/dist/account.d.cts +2 -2
- package/dist/account.d.ts +2 -2
- package/dist/agents.cjs +11 -11
- package/dist/agents.d.cts +2 -2
- package/dist/agents.d.ts +2 -2
- package/dist/agents.js +1 -1
- package/dist/ai.cjs +2 -2
- package/dist/ai.d.cts +2 -2
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +1 -1
- package/dist/apps.cjs +5 -5
- package/dist/apps.d.cts +23 -4
- package/dist/apps.d.ts +23 -4
- package/dist/apps.js +1 -1
- package/dist/architecture.cjs +17 -17
- package/dist/architecture.d.cts +9 -9
- package/dist/architecture.d.ts +9 -9
- package/dist/architecture.js +8 -8
- package/dist/audio.cjs +4 -4
- package/dist/audio.d.cts +2 -2
- package/dist/audio.d.ts +2 -2
- package/dist/audio.js +1 -1
- package/dist/chat.cjs +11 -11
- package/dist/chat.d.cts +2 -2
- package/dist/chat.d.ts +2 -2
- package/dist/chat.js +1 -1
- package/dist/{chunk-U63KIQSS.cjs → chunk-3DHXXNJP.cjs} +1 -1
- package/dist/{chunk-ILLQUHLF.js → chunk-YLAE6EOH.js} +1 -1
- package/dist/code.cjs +6 -6
- package/dist/code.d.cts +2 -2
- package/dist/code.d.ts +2 -2
- package/dist/code.js +1 -1
- package/dist/commerce.d.cts +2 -2
- package/dist/commerce.d.ts +2 -2
- package/dist/communications.cjs +4 -4
- package/dist/communications.d.cts +2 -2
- package/dist/communications.d.ts +2 -2
- package/dist/communications.js +1 -1
- package/dist/computer.cjs +104 -3
- package/dist/computer.d.cts +368 -5
- package/dist/computer.d.ts +368 -5
- package/dist/computer.js +86 -2
- package/dist/content.cjs +4 -4
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +1 -1
- package/dist/crm.cjs +2 -2
- package/dist/crm.d.cts +2 -2
- package/dist/crm.d.ts +2 -2
- package/dist/crm.js +1 -1
- package/dist/data.cjs +3 -3
- package/dist/data.d.cts +2 -2
- package/dist/data.d.ts +2 -2
- package/dist/data.js +1 -1
- package/dist/education.cjs +4 -4
- package/dist/education.d.cts +2 -2
- package/dist/education.d.ts +2 -2
- package/dist/education.js +1 -1
- package/dist/files.cjs +20 -20
- package/dist/files.d.cts +2 -2
- package/dist/files.d.ts +2 -2
- package/dist/files.js +1 -1
- package/dist/human-resources.d.cts +2 -2
- package/dist/human-resources.d.ts +2 -2
- package/dist/{index-BSrN3TFD.d.cts → index-YFW4xNti.d.cts} +2 -2
- package/dist/{index-BSrN3TFD.d.ts → index-YFW4xNti.d.ts} +2 -2
- package/dist/index.cjs +69 -69
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/integrations.cjs +3 -3
- package/dist/integrations.d.cts +2 -2
- package/dist/integrations.d.ts +2 -2
- package/dist/integrations.js +1 -1
- package/dist/intelligence.cjs +6 -6
- package/dist/intelligence.d.cts +2 -2
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +1 -1
- package/dist/knowledge.cjs +42 -42
- package/dist/knowledge.d.cts +2 -2
- package/dist/knowledge.d.ts +2 -2
- package/dist/knowledge.js +1 -1
- package/dist/legal.cjs +6 -6
- package/dist/legal.d.cts +2 -2
- package/dist/legal.d.ts +2 -2
- package/dist/legal.js +1 -1
- package/dist/marketing.cjs +76 -76
- package/dist/marketing.d.cts +2 -2
- package/dist/marketing.d.ts +2 -2
- package/dist/marketing.js +1 -1
- package/dist/masterwork.cjs +32 -32
- package/dist/masterwork.d.cts +2 -2
- package/dist/masterwork.d.ts +2 -2
- package/dist/masterwork.js +1 -1
- package/dist/media.cjs +11 -11
- package/dist/media.d.cts +2 -2
- package/dist/media.d.ts +2 -2
- package/dist/media.js +1 -1
- package/dist/platform.cjs +3 -3
- package/dist/platform.d.cts +2 -2
- package/dist/platform.d.ts +2 -2
- package/dist/platform.js +1 -1
- package/dist/publish.cjs +7 -7
- package/dist/publish.d.cts +2 -2
- package/dist/publish.d.ts +2 -2
- package/dist/publish.js +1 -1
- package/dist/schemas.d.cts +1 -1
- package/dist/schemas.d.ts +1 -1
- package/dist/stream.cjs +10 -10
- package/dist/stream.d.cts +1 -1
- package/dist/stream.d.ts +1 -1
- package/dist/stream.js +1 -1
- package/dist/types.d.cts +412 -17
- package/dist/types.d.ts +412 -17
- package/dist/web.cjs +26 -26
- package/dist/web.d.cts +41 -12
- package/dist/web.d.ts +41 -12
- package/dist/web.js +1 -1
- package/dist/workflows.cjs +13 -13
- package/dist/workflows.d.cts +2 -2
- package/dist/workflows.d.ts +2 -2
- package/dist/workflows.js +1 -1
- package/package.json +2 -2
package/dist/computer.d.cts
CHANGED
|
@@ -1,15 +1,31 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-YFW4xNti.cjs';
|
|
2
|
+
import { TextPart } from './schemas.cjs';
|
|
2
3
|
import '@ai-matrx/auth/credentials';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
6
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 d1dd65662e3a41431aaf8b122d973c58c27ce4310caeb89ba3abd72b229a7383
|
|
7
8
|
*/
|
|
8
9
|
|
|
10
|
+
/** AccessLogsResponse */
|
|
11
|
+
type AccessLogsResponse = {
|
|
12
|
+
entries: {
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
/** AccountSelection */
|
|
17
|
+
type AccountSelection = {
|
|
18
|
+
account_ref: string;
|
|
19
|
+
};
|
|
9
20
|
/** CapturePhotoRequest */
|
|
10
21
|
type CapturePhotoRequest = {
|
|
11
22
|
device_index?: number | null;
|
|
12
23
|
};
|
|
24
|
+
/** ChatSelection */
|
|
25
|
+
type ChatSelection = {
|
|
26
|
+
chat_id: string;
|
|
27
|
+
selected?: boolean;
|
|
28
|
+
};
|
|
13
29
|
/** ContactSearchRequest */
|
|
14
30
|
type ContactSearchRequest_MatrxLocal = {
|
|
15
31
|
query?: string | null;
|
|
@@ -43,6 +59,12 @@ type HardwareResponse = {
|
|
|
43
59
|
cached: boolean;
|
|
44
60
|
detected_at?: string | null;
|
|
45
61
|
};
|
|
62
|
+
/** NativeCleanupConfirmation */
|
|
63
|
+
type NativeCleanupConfirmation = {
|
|
64
|
+
expected_revision: number;
|
|
65
|
+
client_label: string;
|
|
66
|
+
approval_removed: boolean;
|
|
67
|
+
};
|
|
46
68
|
/** NotifyRequest */
|
|
47
69
|
type NotifyRequest = {
|
|
48
70
|
/** Notification title. */
|
|
@@ -54,6 +76,147 @@ type NotifyRequest = {
|
|
|
54
76
|
/** Severity: info | success | warning | error */
|
|
55
77
|
level?: string;
|
|
56
78
|
};
|
|
79
|
+
/** OutboxEntry */
|
|
80
|
+
type OutboxEntry = {
|
|
81
|
+
client_id: string;
|
|
82
|
+
state: "pending" | "dispatching" | "accepted" | "unknown" | "failed" | "cancelled";
|
|
83
|
+
pending_message_id?: string | null;
|
|
84
|
+
final_message_id?: string | null;
|
|
85
|
+
network_status?: ("SUCCESS" | "PENDING" | "FAIL_RETRIABLE" | "FAIL_PERMANENT") | null;
|
|
86
|
+
network_timestamp?: string | null;
|
|
87
|
+
delivered?: boolean | null;
|
|
88
|
+
seen?: boolean | null;
|
|
89
|
+
error_code?: string | null;
|
|
90
|
+
created_at: string;
|
|
91
|
+
updated_at: string;
|
|
92
|
+
draft_text: string;
|
|
93
|
+
};
|
|
94
|
+
/** PermissionsResponse */
|
|
95
|
+
type PermissionsResponse = {
|
|
96
|
+
permissions: {
|
|
97
|
+
[key: string]: unknown;
|
|
98
|
+
}[];
|
|
99
|
+
platform: string;
|
|
100
|
+
cached: boolean;
|
|
101
|
+
age_seconds: number;
|
|
102
|
+
};
|
|
103
|
+
/** PersonalAccountSummary */
|
|
104
|
+
type PersonalAccountSummary = {
|
|
105
|
+
account_ref: string;
|
|
106
|
+
name: string;
|
|
107
|
+
status: string;
|
|
108
|
+
bridge_provider: "cloud" | "local";
|
|
109
|
+
};
|
|
110
|
+
/** PersonalActivation */
|
|
111
|
+
type PersonalActivation = {
|
|
112
|
+
grant: PublicGrantStatus;
|
|
113
|
+
removed_chat_ids: string[];
|
|
114
|
+
};
|
|
115
|
+
/** PersonalAttachmentSummary */
|
|
116
|
+
type PersonalAttachmentSummary = {
|
|
117
|
+
index: number;
|
|
118
|
+
revision: string;
|
|
119
|
+
name: string;
|
|
120
|
+
size_bytes?: number | null;
|
|
121
|
+
mime_type?: string | null;
|
|
122
|
+
available: boolean;
|
|
123
|
+
};
|
|
124
|
+
/** PersonalChatPage */
|
|
125
|
+
type PersonalChatPage = {
|
|
126
|
+
items: PersonalChatSummary[];
|
|
127
|
+
has_more: boolean;
|
|
128
|
+
oldest_cursor: string;
|
|
129
|
+
newest_cursor: string;
|
|
130
|
+
};
|
|
131
|
+
/** PersonalChatSummary */
|
|
132
|
+
type PersonalChatSummary = {
|
|
133
|
+
id: string;
|
|
134
|
+
title: string;
|
|
135
|
+
selected: boolean;
|
|
136
|
+
};
|
|
137
|
+
/** PersonalConsentRequest */
|
|
138
|
+
type PersonalConsentRequest = {
|
|
139
|
+
request_profile?: "read" | "read_write";
|
|
140
|
+
max_duration_seconds?: 86400 | 2592000;
|
|
141
|
+
};
|
|
142
|
+
/** PersonalConsentStart */
|
|
143
|
+
type PersonalConsentStart = {
|
|
144
|
+
authorization_url: string;
|
|
145
|
+
grant: PublicGrantStatus;
|
|
146
|
+
required_duration: "one_day" | "thirty_days";
|
|
147
|
+
};
|
|
148
|
+
/** PersonalMessage */
|
|
149
|
+
type PersonalMessage = {
|
|
150
|
+
id: string;
|
|
151
|
+
account_id: string;
|
|
152
|
+
chat_id: string;
|
|
153
|
+
sender_id: string;
|
|
154
|
+
sender_name: string | null;
|
|
155
|
+
direction: "inbound" | "outbound" | "unknown";
|
|
156
|
+
created_at: string;
|
|
157
|
+
content: PersonalMessageContent;
|
|
158
|
+
deleted: boolean;
|
|
159
|
+
attachment_count: number;
|
|
160
|
+
attachment_access: ("beeper_only" | "local_device") | null;
|
|
161
|
+
attachments?: PersonalAttachmentSummary[];
|
|
162
|
+
};
|
|
163
|
+
/** PersonalMessageContent */
|
|
164
|
+
type PersonalMessageContent = {
|
|
165
|
+
parts: TextPart[];
|
|
166
|
+
};
|
|
167
|
+
/** PersonalMessageLookup */
|
|
168
|
+
type PersonalMessageLookup = {
|
|
169
|
+
message: PersonalMessage | null;
|
|
170
|
+
};
|
|
171
|
+
/** PersonalMessagePage */
|
|
172
|
+
type PersonalMessagePage = {
|
|
173
|
+
items: PersonalMessage[];
|
|
174
|
+
has_more: boolean;
|
|
175
|
+
oldest_cursor: string;
|
|
176
|
+
newest_cursor: string;
|
|
177
|
+
history_coverage: "available_in_beeper";
|
|
178
|
+
refresh_supported?: false;
|
|
179
|
+
renewal?: "reauthorization";
|
|
180
|
+
};
|
|
181
|
+
/** PersonalSendBinding */
|
|
182
|
+
type PersonalSendBinding = {
|
|
183
|
+
chat_id: string;
|
|
184
|
+
client_id: string;
|
|
185
|
+
grant_id: string;
|
|
186
|
+
generation: number;
|
|
187
|
+
};
|
|
188
|
+
/** PersonalSendRequest */
|
|
189
|
+
type PersonalSendRequest = {
|
|
190
|
+
chat_id: string;
|
|
191
|
+
client_id: string;
|
|
192
|
+
grant_id: string;
|
|
193
|
+
generation: number;
|
|
194
|
+
text: string;
|
|
195
|
+
};
|
|
196
|
+
/** PublicGrantStatus */
|
|
197
|
+
type PublicGrantStatus = {
|
|
198
|
+
id?: string | null;
|
|
199
|
+
generation?: number | null;
|
|
200
|
+
revision?: number | null;
|
|
201
|
+
status: "not_connected" | "pending_local" | "pending_credential" | "active" | "needs_attention" | "revoking" | "retired";
|
|
202
|
+
account_ref?: string | null;
|
|
203
|
+
selected_chat_ids?: string[];
|
|
204
|
+
request_profile?: "read" | "read_write";
|
|
205
|
+
max_duration_seconds?: 86400 | 2592000;
|
|
206
|
+
scopes?: ("read" | "write")[];
|
|
207
|
+
expires_at?: string | null;
|
|
208
|
+
connection_id?: string | null;
|
|
209
|
+
bridge_provider?: ("cloud" | "local") | null;
|
|
210
|
+
resources_generation?: number | null;
|
|
211
|
+
recovery_required?: boolean;
|
|
212
|
+
cleanup_client_label?: string | null;
|
|
213
|
+
cleanup_confirmation?: "owner_attested" | null;
|
|
214
|
+
cleanup_confirmation_generation?: number | null;
|
|
215
|
+
refresh_supported?: false;
|
|
216
|
+
renewal?: "reauthorization";
|
|
217
|
+
provider_revoke_pending?: boolean;
|
|
218
|
+
cloud_retirement_pending?: boolean;
|
|
219
|
+
};
|
|
57
220
|
/** RecordAudioRequest */
|
|
58
221
|
type RecordAudioRequest = {
|
|
59
222
|
device_index?: number | null;
|
|
@@ -183,7 +346,7 @@ type GetAccessLogsArgs = {
|
|
|
183
346
|
n?: number;
|
|
184
347
|
};
|
|
185
348
|
};
|
|
186
|
-
type GetAccessLogsResult =
|
|
349
|
+
type GetAccessLogsResult = AccessLogsResponse;
|
|
187
350
|
/** Get Access Logs */
|
|
188
351
|
/** `GET /logs/access` · matrx-local · auth loopback_token · org exempt */
|
|
189
352
|
declare function getAccessLogs(api: Api, args?: GetAccessLogsArgs, options?: CallOptions): Promise<GetAccessLogsResult>;
|
|
@@ -208,12 +371,148 @@ type PushNotificationResult = unknown;
|
|
|
208
371
|
/** Push Notification */
|
|
209
372
|
/** `POST /notify` · matrx-local · auth loopback_token · org exempt */
|
|
210
373
|
declare function pushNotification(api: Api, args: PushNotificationArgs, options?: CallOptions): Promise<PushNotificationResult>;
|
|
374
|
+
type StatusArgs = {
|
|
375
|
+
[key: string]: never;
|
|
376
|
+
};
|
|
377
|
+
type StatusResult = PublicGrantStatus;
|
|
378
|
+
/** Status */
|
|
379
|
+
/** `GET /personal-messaging/beeper/status` · matrx-local · auth loopback_token · org exempt */
|
|
380
|
+
declare function status(api: Api, args?: StatusArgs, options?: CallOptions): Promise<StatusResult>;
|
|
381
|
+
type StartArgs = {
|
|
382
|
+
body: PersonalConsentRequest;
|
|
383
|
+
};
|
|
384
|
+
type StartResult = PersonalConsentStart;
|
|
385
|
+
/** Start */
|
|
386
|
+
/** `POST /personal-messaging/beeper/start` · matrx-local · auth loopback_token · org exempt */
|
|
387
|
+
declare function start(api: Api, args: StartArgs, options?: CallOptions): Promise<StartResult>;
|
|
388
|
+
type AccountsArgs = {
|
|
389
|
+
[key: string]: never;
|
|
390
|
+
};
|
|
391
|
+
type AccountsResult = PersonalAccountSummary[];
|
|
392
|
+
/** Accounts */
|
|
393
|
+
/** `GET /personal-messaging/beeper/accounts` · matrx-local · auth loopback_token · org exempt */
|
|
394
|
+
declare function accounts(api: Api, args?: AccountsArgs, options?: CallOptions): Promise<AccountsResult>;
|
|
395
|
+
type SelectAccountArgs = {
|
|
396
|
+
body: AccountSelection;
|
|
397
|
+
};
|
|
398
|
+
type SelectAccountResult = PersonalActivation;
|
|
399
|
+
/** Select Account */
|
|
400
|
+
/** `POST /personal-messaging/beeper/select-account` · matrx-local · auth loopback_token · org exempt */
|
|
401
|
+
declare function selectAccount(api: Api, args: SelectAccountArgs, options?: CallOptions): Promise<SelectAccountResult>;
|
|
402
|
+
type ChatsArgs = {
|
|
403
|
+
query?: {
|
|
404
|
+
cursor?: string | null;
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
type ChatsResult = PersonalChatPage;
|
|
408
|
+
/** Chats */
|
|
409
|
+
/** `GET /personal-messaging/beeper/chats` · matrx-local · auth loopback_token · org exempt */
|
|
410
|
+
declare function chats(api: Api, args?: ChatsArgs, options?: CallOptions): Promise<ChatsResult>;
|
|
411
|
+
type SelectChatArgs = {
|
|
412
|
+
body: ChatSelection;
|
|
413
|
+
};
|
|
414
|
+
type SelectChatResult = PublicGrantStatus;
|
|
415
|
+
/** Select Chat */
|
|
416
|
+
/** `POST /personal-messaging/beeper/select-chat` · matrx-local · auth loopback_token · org exempt */
|
|
417
|
+
declare function selectChat(api: Api, args: SelectChatArgs, options?: CallOptions): Promise<SelectChatResult>;
|
|
418
|
+
type MessagesArgs = {
|
|
419
|
+
query: {
|
|
420
|
+
chat_id: string;
|
|
421
|
+
cursor?: string | null;
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
type MessagesResult = PersonalMessagePage;
|
|
425
|
+
/** Messages */
|
|
426
|
+
/** `GET /personal-messaging/beeper/messages` · matrx-local · auth loopback_token · org exempt */
|
|
427
|
+
declare function messages(api: Api, args: MessagesArgs, options?: CallOptions): Promise<MessagesResult>;
|
|
428
|
+
type EventsArgs = {
|
|
429
|
+
query: {
|
|
430
|
+
chat_id: string;
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
type EventsResult = unknown;
|
|
434
|
+
/** Events */
|
|
435
|
+
/** `GET /personal-messaging/beeper/events` · matrx-local · auth loopback_token · org exempt · ndjson */
|
|
436
|
+
declare function events(api: Api, args: EventsArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
437
|
+
type MessageArgs = {
|
|
438
|
+
query: {
|
|
439
|
+
chat_id: string;
|
|
440
|
+
message_id: string;
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
type MessageResult = PersonalMessageLookup;
|
|
444
|
+
/** Message */
|
|
445
|
+
/** `GET /personal-messaging/beeper/message` · matrx-local · auth loopback_token · org exempt */
|
|
446
|
+
declare function message(api: Api, args: MessageArgs, options?: CallOptions): Promise<MessageResult>;
|
|
447
|
+
type AttachmentArgs = {
|
|
448
|
+
query: {
|
|
449
|
+
chat_id: string;
|
|
450
|
+
message_id: string;
|
|
451
|
+
attachment_index: number;
|
|
452
|
+
revision: string;
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
type AttachmentResult = unknown;
|
|
456
|
+
/** Attachment */
|
|
457
|
+
/** `GET /personal-messaging/beeper/attachment` · matrx-local · auth loopback_token · org exempt */
|
|
458
|
+
declare function attachment(api: Api, args: AttachmentArgs, options?: CallOptions): Promise<AttachmentResult>;
|
|
459
|
+
type ReconcileArgs = {
|
|
460
|
+
[key: string]: never;
|
|
461
|
+
};
|
|
462
|
+
type ReconcileResult = PersonalActivation;
|
|
463
|
+
/** Reconcile */
|
|
464
|
+
/** `POST /personal-messaging/beeper/reconcile` · matrx-local · auth loopback_token · org exempt */
|
|
465
|
+
declare function reconcile(api: Api, args?: ReconcileArgs, options?: CallOptions): Promise<ReconcileResult>;
|
|
466
|
+
type RefreshArgs = {
|
|
467
|
+
[key: string]: never;
|
|
468
|
+
};
|
|
469
|
+
type RefreshResult = PublicGrantStatus;
|
|
470
|
+
/** Refresh */
|
|
471
|
+
/** `POST /personal-messaging/beeper/refresh` · matrx-local · auth loopback_token · org exempt */
|
|
472
|
+
declare function refresh(api: Api, args?: RefreshArgs, options?: CallOptions): Promise<RefreshResult>;
|
|
473
|
+
type DisconnectArgs = {
|
|
474
|
+
[key: string]: never;
|
|
475
|
+
};
|
|
476
|
+
type DisconnectResult = PublicGrantStatus;
|
|
477
|
+
/** Disconnect */
|
|
478
|
+
/** `POST /personal-messaging/beeper/disconnect` · matrx-local · auth loopback_token · org exempt */
|
|
479
|
+
declare function disconnect(api: Api, args?: DisconnectArgs, options?: CallOptions): Promise<DisconnectResult>;
|
|
480
|
+
type ConfirmNativeCleanupArgs = {
|
|
481
|
+
body: NativeCleanupConfirmation;
|
|
482
|
+
};
|
|
483
|
+
type ConfirmNativeCleanupResult = PublicGrantStatus;
|
|
484
|
+
/** Confirm Native Cleanup */
|
|
485
|
+
/** `POST /personal-messaging/beeper/confirm-native-cleanup` · matrx-local · auth loopback_token · org exempt */
|
|
486
|
+
declare function confirmNativeCleanup(api: Api, args: ConfirmNativeCleanupArgs, options?: CallOptions): Promise<ConfirmNativeCleanupResult>;
|
|
487
|
+
type SendArgs = {
|
|
488
|
+
body: PersonalSendRequest;
|
|
489
|
+
};
|
|
490
|
+
type SendResult = OutboxEntry;
|
|
491
|
+
/** Send */
|
|
492
|
+
/** `POST /personal-messaging/beeper/send` · matrx-local · auth loopback_token · org exempt */
|
|
493
|
+
declare function send(api: Api, args: SendArgs, options?: CallOptions): Promise<SendResult>;
|
|
494
|
+
type OutboxArgs = {
|
|
495
|
+
query: {
|
|
496
|
+
chat_id: string;
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
type OutboxResult = OutboxEntry[];
|
|
500
|
+
/** Outbox */
|
|
501
|
+
/** `GET /personal-messaging/beeper/outbox` · matrx-local · auth loopback_token · org exempt */
|
|
502
|
+
declare function outbox(api: Api, args: OutboxArgs, options?: CallOptions): Promise<OutboxResult>;
|
|
503
|
+
type CancelUnsubmittedArgs = {
|
|
504
|
+
body: PersonalSendBinding;
|
|
505
|
+
};
|
|
506
|
+
type CancelUnsubmittedResult = OutboxEntry;
|
|
507
|
+
/** Cancel Unsubmitted */
|
|
508
|
+
/** `POST /personal-messaging/beeper/cancel-unsubmitted` · matrx-local · auth loopback_token · org exempt */
|
|
509
|
+
declare function cancelUnsubmitted(api: Api, args: CancelUnsubmittedArgs, options?: CallOptions): Promise<CancelUnsubmittedResult>;
|
|
211
510
|
type GetPermissionsArgs = {
|
|
212
511
|
query?: {
|
|
213
512
|
force_refresh?: boolean;
|
|
214
513
|
};
|
|
215
514
|
};
|
|
216
|
-
type GetPermissionsResult =
|
|
515
|
+
type GetPermissionsResult = PermissionsResponse;
|
|
217
516
|
/** Get Permissions */
|
|
218
517
|
/** `GET /devices/permissions` · matrx-local · auth loopback_open · org exempt */
|
|
219
518
|
declare function getPermissions(api: Api, args?: GetPermissionsArgs, options?: CallOptions): Promise<GetPermissionsResult>;
|
|
@@ -570,6 +869,70 @@ interface Operations {
|
|
|
570
869
|
args: PushNotificationArgs;
|
|
571
870
|
result: PushNotificationResult;
|
|
572
871
|
};
|
|
872
|
+
"GET /personal-messaging/beeper/status": {
|
|
873
|
+
args: StatusArgs;
|
|
874
|
+
result: StatusResult;
|
|
875
|
+
};
|
|
876
|
+
"POST /personal-messaging/beeper/start": {
|
|
877
|
+
args: StartArgs;
|
|
878
|
+
result: StartResult;
|
|
879
|
+
};
|
|
880
|
+
"GET /personal-messaging/beeper/accounts": {
|
|
881
|
+
args: AccountsArgs;
|
|
882
|
+
result: AccountsResult;
|
|
883
|
+
};
|
|
884
|
+
"POST /personal-messaging/beeper/select-account": {
|
|
885
|
+
args: SelectAccountArgs;
|
|
886
|
+
result: SelectAccountResult;
|
|
887
|
+
};
|
|
888
|
+
"GET /personal-messaging/beeper/chats": {
|
|
889
|
+
args: ChatsArgs;
|
|
890
|
+
result: ChatsResult;
|
|
891
|
+
};
|
|
892
|
+
"POST /personal-messaging/beeper/select-chat": {
|
|
893
|
+
args: SelectChatArgs;
|
|
894
|
+
result: SelectChatResult;
|
|
895
|
+
};
|
|
896
|
+
"GET /personal-messaging/beeper/messages": {
|
|
897
|
+
args: MessagesArgs;
|
|
898
|
+
result: MessagesResult;
|
|
899
|
+
};
|
|
900
|
+
"GET /personal-messaging/beeper/message": {
|
|
901
|
+
args: MessageArgs;
|
|
902
|
+
result: MessageResult;
|
|
903
|
+
};
|
|
904
|
+
"GET /personal-messaging/beeper/attachment": {
|
|
905
|
+
args: AttachmentArgs;
|
|
906
|
+
result: AttachmentResult;
|
|
907
|
+
};
|
|
908
|
+
"POST /personal-messaging/beeper/reconcile": {
|
|
909
|
+
args: ReconcileArgs;
|
|
910
|
+
result: ReconcileResult;
|
|
911
|
+
};
|
|
912
|
+
"POST /personal-messaging/beeper/refresh": {
|
|
913
|
+
args: RefreshArgs;
|
|
914
|
+
result: RefreshResult;
|
|
915
|
+
};
|
|
916
|
+
"POST /personal-messaging/beeper/disconnect": {
|
|
917
|
+
args: DisconnectArgs;
|
|
918
|
+
result: DisconnectResult;
|
|
919
|
+
};
|
|
920
|
+
"POST /personal-messaging/beeper/confirm-native-cleanup": {
|
|
921
|
+
args: ConfirmNativeCleanupArgs;
|
|
922
|
+
result: ConfirmNativeCleanupResult;
|
|
923
|
+
};
|
|
924
|
+
"POST /personal-messaging/beeper/send": {
|
|
925
|
+
args: SendArgs;
|
|
926
|
+
result: SendResult;
|
|
927
|
+
};
|
|
928
|
+
"GET /personal-messaging/beeper/outbox": {
|
|
929
|
+
args: OutboxArgs;
|
|
930
|
+
result: OutboxResult;
|
|
931
|
+
};
|
|
932
|
+
"POST /personal-messaging/beeper/cancel-unsubmitted": {
|
|
933
|
+
args: CancelUnsubmittedArgs;
|
|
934
|
+
result: CancelUnsubmittedResult;
|
|
935
|
+
};
|
|
573
936
|
"GET /devices/permissions": {
|
|
574
937
|
args: GetPermissionsArgs;
|
|
575
938
|
result: GetPermissionsResult;
|
|
@@ -730,4 +1093,4 @@ interface Operations {
|
|
|
730
1093
|
/** Path-keyed call, scoped to this domain only (never a global path map). */
|
|
731
1094
|
declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
|
|
732
1095
|
|
|
733
|
-
export { type CapturePhotoArgs, type CapturePhotoRequest, type CapturePhotoResult, type ContactSearchRequest_MatrxLocal, type CreateCalendarEventArgs, type CreateCalendarEventResult, type CreateEventRequest, type CreateReminderArgs, type CreateReminderRequest, type CreateReminderResult, type GetAccessLogsArgs, type GetAccessLogsResult, type GetAudioDevicesArgs, type GetAudioDevicesResult, type GetBluetoothDevicesArgs, type GetBluetoothDevicesResult, type GetCameraDevicesArgs, type GetCameraDevicesResult, type GetConnectedDevicesArgs, type GetConnectedDevicesResult, type GetContactArgs, type GetContactResult, type GetCurrentLocationArgs, type GetCurrentLocationResult, type GetHardwareArgs, type GetHardwareResult, type GetLocationArgs, type GetLocationResult, type GetLogsArgs, type GetLogsResult, type GetMailAccountsArgs, type GetMailAccountsResult, type GetNetworkInfoArgs, type GetNetworkInfoResult, type GetPermissionArgs, type GetPermissionResult, type GetPermissionsArgs, type GetPermissionsResult, type GetPhotoArgs, type GetPhotoResult, type GetScreensArgs, type GetScreensResult, type GetSystemResourcesArgs, type GetSystemResourcesResult, type GetWifiNetworksArgs, type GetWifiNetworksResult, type GrantPermissionsArgs, type GrantPermissionsRequest, type GrantPermissionsResult, type HardwareResponse, type ListCalendarEventsArgs, type ListCalendarEventsResult, type ListContactsArgs, type ListContactsResult, type ListConversationsEndpointArgs, type ListConversationsEndpointResult, type ListMailArgs, type ListMailResult, type ListMessagesEndpointArgs, type ListMessagesEndpointResult, type ListPhotosArgs, type ListPhotosResult, type ListRemindersArgs, type ListRemindersResult, type ListSpeechLocalesArgs, type ListSpeechLocalesResult, type LocalProxyProxyToLocalPcArgs, type LocalProxyProxyToLocalPcDeleteArgs, type LocalProxyProxyToLocalPcDeleteResult, type LocalProxyProxyToLocalPcPatchArgs, type LocalProxyProxyToLocalPcPatchResult, type LocalProxyProxyToLocalPcPostArgs, type LocalProxyProxyToLocalPcPostResult, type LocalProxyProxyToLocalPcPutArgs, type LocalProxyProxyToLocalPcPutResult, type LocalProxyProxyToLocalPcResult, type NotifyRequest, type OpenSystemFolderArgs, type OpenSystemFolderResult, type Operations, type PortsArgs, type PortsResult, type PushNotificationArgs, type PushNotificationResult, type RecordAudioArgs, type RecordAudioRequest, type RecordAudioResult, type RecordScreenArgs, type RecordScreenRequest, type RecordScreenResult, type RecordVideoArgs, type RecordVideoRequest, type RecordVideoResult, type RefreshHardwareArgs, type RefreshHardwareResult, type RequestPermissionArgs, type RequestPermissionResult, type RequestScreenRecordingPermissionArgs, type RequestScreenRecordingPermissionResult, type SearchContactsArgs, type SearchContactsResult, type SendEmailRequest, type SendMailArgs, type SendMailResult, type SendMessageEndpointArgs, type SendMessageEndpointResult, type SendMessageRequest, type StreamAccessLogArgs, type StreamAccessLogResult, type StreamSystemLogArgs, type StreamSystemLogResult, type SystemInfoArgs, type SystemInfoResult, type SystemPathsArgs, type SystemPathsResult, type TakeScreenshotArgs, type TakeScreenshotResult, type TranscribeSpeechRequest, type TranscribeWithSpeechArgs, type TranscribeWithSpeechResult, call, capturePhoto, createCalendarEvent, createReminder, getAccessLogs, getAudioDevices, getBluetoothDevices, getCameraDevices, getConnectedDevices, getContact, getCurrentLocation, getHardware, getLocation, getLogs, getMailAccounts, getNetworkInfo, getPermission, getPermissions, getPhoto, getScreens, getSystemResources, getWifiNetworks, grantPermissions, listCalendarEvents, listContacts, listConversationsEndpoint, listMail, listMessagesEndpoint, listPhotos, listReminders, listSpeechLocales, localProxyProxyToLocalPc, localProxyProxyToLocalPcDelete, localProxyProxyToLocalPcPatch, localProxyProxyToLocalPcPost, localProxyProxyToLocalPcPut, openSystemFolder, ports, pushNotification, recordAudio, recordScreen, recordVideo, refreshHardware, requestPermission, requestScreenRecordingPermission, searchContacts, sendMail, sendMessageEndpoint, streamAccessLog, streamSystemLog, systemInfo, systemPaths, takeScreenshot, transcribeWithSpeech };
|
|
1096
|
+
export { type AccessLogsResponse, type AccountSelection, type AccountsArgs, type AccountsResult, type AttachmentArgs, type AttachmentResult, type CancelUnsubmittedArgs, type CancelUnsubmittedResult, type CapturePhotoArgs, type CapturePhotoRequest, type CapturePhotoResult, type ChatSelection, type ChatsArgs, type ChatsResult, type ConfirmNativeCleanupArgs, type ConfirmNativeCleanupResult, type ContactSearchRequest_MatrxLocal, type CreateCalendarEventArgs, type CreateCalendarEventResult, type CreateEventRequest, type CreateReminderArgs, type CreateReminderRequest, type CreateReminderResult, type DisconnectArgs, type DisconnectResult, type EventsArgs, type EventsResult, type GetAccessLogsArgs, type GetAccessLogsResult, type GetAudioDevicesArgs, type GetAudioDevicesResult, type GetBluetoothDevicesArgs, type GetBluetoothDevicesResult, type GetCameraDevicesArgs, type GetCameraDevicesResult, type GetConnectedDevicesArgs, type GetConnectedDevicesResult, type GetContactArgs, type GetContactResult, type GetCurrentLocationArgs, type GetCurrentLocationResult, type GetHardwareArgs, type GetHardwareResult, type GetLocationArgs, type GetLocationResult, type GetLogsArgs, type GetLogsResult, type GetMailAccountsArgs, type GetMailAccountsResult, type GetNetworkInfoArgs, type GetNetworkInfoResult, type GetPermissionArgs, type GetPermissionResult, type GetPermissionsArgs, type GetPermissionsResult, type GetPhotoArgs, type GetPhotoResult, type GetScreensArgs, type GetScreensResult, type GetSystemResourcesArgs, type GetSystemResourcesResult, type GetWifiNetworksArgs, type GetWifiNetworksResult, type GrantPermissionsArgs, type GrantPermissionsRequest, type GrantPermissionsResult, type HardwareResponse, type ListCalendarEventsArgs, type ListCalendarEventsResult, type ListContactsArgs, type ListContactsResult, type ListConversationsEndpointArgs, type ListConversationsEndpointResult, type ListMailArgs, type ListMailResult, type ListMessagesEndpointArgs, type ListMessagesEndpointResult, type ListPhotosArgs, type ListPhotosResult, type ListRemindersArgs, type ListRemindersResult, type ListSpeechLocalesArgs, type ListSpeechLocalesResult, type LocalProxyProxyToLocalPcArgs, type LocalProxyProxyToLocalPcDeleteArgs, type LocalProxyProxyToLocalPcDeleteResult, type LocalProxyProxyToLocalPcPatchArgs, type LocalProxyProxyToLocalPcPatchResult, type LocalProxyProxyToLocalPcPostArgs, type LocalProxyProxyToLocalPcPostResult, type LocalProxyProxyToLocalPcPutArgs, type LocalProxyProxyToLocalPcPutResult, type LocalProxyProxyToLocalPcResult, type MessageArgs, type MessageResult, type MessagesArgs, type MessagesResult, type NativeCleanupConfirmation, type NotifyRequest, type OpenSystemFolderArgs, type OpenSystemFolderResult, type Operations, type OutboxArgs, type OutboxEntry, type OutboxResult, type PermissionsResponse, type PersonalAccountSummary, type PersonalActivation, type PersonalAttachmentSummary, type PersonalChatPage, type PersonalChatSummary, type PersonalConsentRequest, type PersonalConsentStart, type PersonalMessage, type PersonalMessageContent, type PersonalMessageLookup, type PersonalMessagePage, type PersonalSendBinding, type PersonalSendRequest, type PortsArgs, type PortsResult, type PublicGrantStatus, type PushNotificationArgs, type PushNotificationResult, type ReconcileArgs, type ReconcileResult, type RecordAudioArgs, type RecordAudioRequest, type RecordAudioResult, type RecordScreenArgs, type RecordScreenRequest, type RecordScreenResult, type RecordVideoArgs, type RecordVideoRequest, type RecordVideoResult, type RefreshArgs, type RefreshHardwareArgs, type RefreshHardwareResult, type RefreshResult, type RequestPermissionArgs, type RequestPermissionResult, type RequestScreenRecordingPermissionArgs, type RequestScreenRecordingPermissionResult, type SearchContactsArgs, type SearchContactsResult, type SelectAccountArgs, type SelectAccountResult, type SelectChatArgs, type SelectChatResult, type SendArgs, type SendEmailRequest, type SendMailArgs, type SendMailResult, type SendMessageEndpointArgs, type SendMessageEndpointResult, type SendMessageRequest, type SendResult, type StartArgs, type StartResult, type StatusArgs, type StatusResult, type StreamAccessLogArgs, type StreamAccessLogResult, type StreamSystemLogArgs, type StreamSystemLogResult, type SystemInfoArgs, type SystemInfoResult, type SystemPathsArgs, type SystemPathsResult, type TakeScreenshotArgs, type TakeScreenshotResult, type TranscribeSpeechRequest, type TranscribeWithSpeechArgs, type TranscribeWithSpeechResult, accounts, attachment, call, cancelUnsubmitted, capturePhoto, chats, confirmNativeCleanup, createCalendarEvent, createReminder, disconnect, events, getAccessLogs, getAudioDevices, getBluetoothDevices, getCameraDevices, getConnectedDevices, getContact, getCurrentLocation, getHardware, getLocation, getLogs, getMailAccounts, getNetworkInfo, getPermission, getPermissions, getPhoto, getScreens, getSystemResources, getWifiNetworks, grantPermissions, listCalendarEvents, listContacts, listConversationsEndpoint, listMail, listMessagesEndpoint, listPhotos, listReminders, listSpeechLocales, localProxyProxyToLocalPc, localProxyProxyToLocalPcDelete, localProxyProxyToLocalPcPatch, localProxyProxyToLocalPcPost, localProxyProxyToLocalPcPut, message, messages, openSystemFolder, outbox, ports, pushNotification, reconcile, recordAudio, recordScreen, recordVideo, refresh, refreshHardware, requestPermission, requestScreenRecordingPermission, searchContacts, selectAccount, selectChat, send, sendMail, sendMessageEndpoint, start, status, streamAccessLog, streamSystemLog, systemInfo, systemPaths, takeScreenshot, transcribeWithSpeech };
|