@ai-matrx/api 0.0.0-stage → 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.
Files changed (146) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/LICENSE +21 -0
  3. package/README.md +22 -2
  4. package/dist/account.cjs +670 -0
  5. package/dist/account.d.cts +3246 -0
  6. package/dist/account.d.ts +3246 -0
  7. package/dist/account.js +558 -0
  8. package/dist/agents.cjs +598 -0
  9. package/dist/agents.d.cts +3417 -0
  10. package/dist/agents.d.ts +3417 -0
  11. package/dist/agents.js +497 -0
  12. package/dist/ai.cjs +109 -0
  13. package/dist/ai.d.cts +493 -0
  14. package/dist/ai.d.ts +493 -0
  15. package/dist/ai.js +91 -0
  16. package/dist/apps.cjs +394 -0
  17. package/dist/apps.d.cts +1094 -0
  18. package/dist/apps.d.ts +1094 -0
  19. package/dist/apps.js +328 -0
  20. package/dist/architecture.cjs +1223 -0
  21. package/dist/architecture.d.cts +4701 -0
  22. package/dist/architecture.d.ts +4701 -0
  23. package/dist/architecture.js +1016 -0
  24. package/dist/audio.cjs +226 -0
  25. package/dist/audio.d.cts +723 -0
  26. package/dist/audio.d.ts +723 -0
  27. package/dist/audio.js +188 -0
  28. package/dist/chat.cjs +538 -0
  29. package/dist/chat.d.cts +2251 -0
  30. package/dist/chat.d.ts +2251 -0
  31. package/dist/chat.js +447 -0
  32. package/dist/chunk-2SXAAKGV.cjs +279 -0
  33. package/dist/chunk-5WJLKYH6.cjs +48 -0
  34. package/dist/chunk-FNIYADWI.cjs +59 -0
  35. package/dist/chunk-HER22VVH.cjs +1047 -0
  36. package/dist/chunk-KIEAFMKB.js +264 -0
  37. package/dist/chunk-TSHL7Z53.js +1012 -0
  38. package/dist/chunk-VTZKJMSY.js +43 -0
  39. package/dist/chunk-YTEOFGFC.js +57 -0
  40. package/dist/code.cjs +561 -0
  41. package/dist/code.d.cts +1976 -0
  42. package/dist/code.d.ts +1976 -0
  43. package/dist/code.js +467 -0
  44. package/dist/commerce.cjs +22 -0
  45. package/dist/commerce.d.cts +45 -0
  46. package/dist/commerce.d.ts +45 -0
  47. package/dist/commerce.js +18 -0
  48. package/dist/communications.cjs +215 -0
  49. package/dist/communications.d.cts +948 -0
  50. package/dist/communications.d.ts +948 -0
  51. package/dist/communications.js +179 -0
  52. package/dist/computer.cjs +330 -0
  53. package/dist/computer.d.cts +733 -0
  54. package/dist/computer.d.ts +733 -0
  55. package/dist/computer.js +275 -0
  56. package/dist/content.cjs +425 -0
  57. package/dist/content.d.cts +1796 -0
  58. package/dist/content.d.ts +1796 -0
  59. package/dist/content.js +354 -0
  60. package/dist/credentials.cjs +22 -0
  61. package/dist/credentials.d.cts +82 -0
  62. package/dist/credentials.d.ts +82 -0
  63. package/dist/credentials.js +1 -0
  64. package/dist/crm.cjs +271 -0
  65. package/dist/crm.d.cts +1731 -0
  66. package/dist/crm.d.ts +1731 -0
  67. package/dist/crm.js +226 -0
  68. package/dist/data.cjs +382 -0
  69. package/dist/data.d.cts +1860 -0
  70. package/dist/data.d.ts +1860 -0
  71. package/dist/data.js +318 -0
  72. package/dist/education.cjs +28 -0
  73. package/dist/education.d.cts +73 -0
  74. package/dist/education.d.ts +73 -0
  75. package/dist/education.js +23 -0
  76. package/dist/files.cjs +1330 -0
  77. package/dist/files.d.cts +4956 -0
  78. package/dist/files.d.ts +4956 -0
  79. package/dist/files.js +1104 -0
  80. package/dist/human-resources.cjs +178 -0
  81. package/dist/human-resources.d.cts +1208 -0
  82. package/dist/human-resources.d.ts +1208 -0
  83. package/dist/human-resources.js +148 -0
  84. package/dist/index-C2E-Cp19.d.ts +385 -0
  85. package/dist/index-wC2vtb70.d.cts +385 -0
  86. package/dist/index.cjs +2016 -0
  87. package/dist/index.d.cts +2069 -0
  88. package/dist/index.d.ts +2069 -0
  89. package/dist/index.js +1746 -0
  90. package/dist/integrations.cjs +5116 -0
  91. package/dist/integrations.d.cts +19213 -0
  92. package/dist/integrations.d.ts +19213 -0
  93. package/dist/integrations.js +4263 -0
  94. package/dist/intelligence.cjs +1305 -0
  95. package/dist/intelligence.d.cts +4658 -0
  96. package/dist/intelligence.d.ts +4658 -0
  97. package/dist/intelligence.js +1196 -0
  98. package/dist/knowledge.cjs +1113 -0
  99. package/dist/knowledge.d.cts +5427 -0
  100. package/dist/knowledge.d.ts +5427 -0
  101. package/dist/knowledge.js +921 -0
  102. package/dist/legal.cjs +225 -0
  103. package/dist/legal.d.cts +1038 -0
  104. package/dist/legal.d.ts +1038 -0
  105. package/dist/legal.js +187 -0
  106. package/dist/marketing.cjs +1155 -0
  107. package/dist/marketing.d.cts +7741 -0
  108. package/dist/marketing.d.ts +7741 -0
  109. package/dist/marketing.js +951 -0
  110. package/dist/masterwork.cjs +283 -0
  111. package/dist/masterwork.d.cts +1938 -0
  112. package/dist/masterwork.d.ts +1938 -0
  113. package/dist/masterwork.js +231 -0
  114. package/dist/media.cjs +610 -0
  115. package/dist/media.d.cts +2270 -0
  116. package/dist/media.d.ts +2270 -0
  117. package/dist/media.js +507 -0
  118. package/dist/net.cjs +67 -0
  119. package/dist/net.d.cts +204 -0
  120. package/dist/net.d.ts +204 -0
  121. package/dist/net.js +2 -0
  122. package/dist/platform.cjs +150 -0
  123. package/dist/platform.d.cts +572 -0
  124. package/dist/platform.d.ts +572 -0
  125. package/dist/platform.js +125 -0
  126. package/dist/publish.cjs +248 -0
  127. package/dist/publish.d.cts +1431 -0
  128. package/dist/publish.d.ts +1431 -0
  129. package/dist/publish.js +206 -0
  130. package/dist/schemas.cjs +2 -0
  131. package/dist/schemas.d.cts +1353 -0
  132. package/dist/schemas.d.ts +1353 -0
  133. package/dist/schemas.js +1 -0
  134. package/dist/stream.cjs +44 -0
  135. package/dist/stream.d.cts +2 -0
  136. package/dist/stream.d.ts +2 -0
  137. package/dist/stream.js +3 -0
  138. package/dist/web.cjs +1045 -0
  139. package/dist/web.d.cts +4186 -0
  140. package/dist/web.d.ts +4186 -0
  141. package/dist/web.js +867 -0
  142. package/dist/workflows.cjs +825 -0
  143. package/dist/workflows.d.cts +4699 -0
  144. package/dist/workflows.d.ts +4699 -0
  145. package/dist/workflows.js +686 -0
  146. package/package.json +419 -4
@@ -0,0 +1,733 @@
1
+ import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-wC2vtb70.cjs';
2
+ import './credentials.cjs';
3
+
4
+ /**
5
+ * GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
6
+ * CONTRACT_SHA256 50a790edb39e682b46e0fa9e674faf5ce2a0ba7de2cd01930a497fca4c47844a
7
+ */
8
+
9
+ /** CapturePhotoRequest */
10
+ type CapturePhotoRequest = {
11
+ device_index?: number | null;
12
+ };
13
+ /** ContactSearchRequest */
14
+ type ContactSearchRequest_MatrxLocal = {
15
+ query?: string | null;
16
+ limit?: number;
17
+ };
18
+ /** CreateEventRequest */
19
+ type CreateEventRequest = {
20
+ title: string;
21
+ start: string;
22
+ end: string;
23
+ notes?: string | null;
24
+ calendar?: string | null;
25
+ all_day?: boolean;
26
+ };
27
+ /** CreateReminderRequest */
28
+ type CreateReminderRequest = {
29
+ title: string;
30
+ notes?: string | null;
31
+ due?: string | null;
32
+ list_name?: string | null;
33
+ };
34
+ /** GrantPermissionsRequest */
35
+ type GrantPermissionsRequest = {
36
+ permissions: string[];
37
+ };
38
+ /** HardwareResponse */
39
+ type HardwareResponse = {
40
+ profile: {
41
+ [key: string]: unknown;
42
+ };
43
+ cached: boolean;
44
+ detected_at?: string | null;
45
+ };
46
+ /** NotifyRequest */
47
+ type NotifyRequest = {
48
+ /** Notification title. */
49
+ title: string;
50
+ /** Notification body text. */
51
+ message: string;
52
+ /** OS popup display seconds. */
53
+ timeout?: number;
54
+ /** Severity: info | success | warning | error */
55
+ level?: string;
56
+ };
57
+ /** RecordAudioRequest */
58
+ type RecordAudioRequest = {
59
+ device_index?: number | null;
60
+ duration_seconds?: number;
61
+ };
62
+ /** RecordScreenRequest */
63
+ type RecordScreenRequest = {
64
+ screen_index?: number | null;
65
+ duration_seconds?: number;
66
+ };
67
+ /** RecordVideoRequest */
68
+ type RecordVideoRequest = {
69
+ device_index?: number | null;
70
+ duration_seconds?: number;
71
+ };
72
+ /** SendEmailRequest */
73
+ type SendEmailRequest = {
74
+ to: string;
75
+ subject: string;
76
+ body: string;
77
+ cc?: string | null;
78
+ bcc?: string | null;
79
+ };
80
+ /** SendMessageRequest */
81
+ type SendMessageRequest = {
82
+ recipient: string;
83
+ body: string;
84
+ service?: string;
85
+ };
86
+ /** TranscribeSpeechRequest */
87
+ type TranscribeSpeechRequest = {
88
+ audio_path: string;
89
+ locale?: string;
90
+ timeout?: number;
91
+ };
92
+ type LocalProxyProxyToLocalPcArgs = {
93
+ path: {
94
+ app_instance_id: string;
95
+ path: string;
96
+ };
97
+ };
98
+ type LocalProxyProxyToLocalPcResult = unknown;
99
+ /** Sandbox-shape call to the user's Matrx 2 desktop, through the device relay. */
100
+ /** `GET /local-proxy/{app_instance_id}/{path}` · aidream · auth guest · org required */
101
+ declare function localProxyProxyToLocalPc(api: Api, args: LocalProxyProxyToLocalPcArgs, options?: CallOptions): Promise<LocalProxyProxyToLocalPcResult>;
102
+ type LocalProxyProxyToLocalPcPostArgs = {
103
+ path: {
104
+ app_instance_id: string;
105
+ path: string;
106
+ };
107
+ };
108
+ type LocalProxyProxyToLocalPcPostResult = unknown;
109
+ /** Sandbox-shape call to the user's Matrx 2 desktop, through the device relay. */
110
+ /** `POST /local-proxy/{app_instance_id}/{path}` · aidream · auth guest · org required */
111
+ declare function localProxyProxyToLocalPcPost(api: Api, args: LocalProxyProxyToLocalPcPostArgs, options?: CallOptions): Promise<LocalProxyProxyToLocalPcPostResult>;
112
+ type LocalProxyProxyToLocalPcPutArgs = {
113
+ path: {
114
+ app_instance_id: string;
115
+ path: string;
116
+ };
117
+ };
118
+ type LocalProxyProxyToLocalPcPutResult = unknown;
119
+ /** Sandbox-shape call to the user's Matrx 2 desktop, through the device relay. */
120
+ /** `PUT /local-proxy/{app_instance_id}/{path}` · aidream · auth guest · org required */
121
+ declare function localProxyProxyToLocalPcPut(api: Api, args: LocalProxyProxyToLocalPcPutArgs, options?: CallOptions): Promise<LocalProxyProxyToLocalPcPutResult>;
122
+ type LocalProxyProxyToLocalPcPatchArgs = {
123
+ path: {
124
+ app_instance_id: string;
125
+ path: string;
126
+ };
127
+ };
128
+ type LocalProxyProxyToLocalPcPatchResult = unknown;
129
+ /** Sandbox-shape call to the user's Matrx 2 desktop, through the device relay. */
130
+ /** `PATCH /local-proxy/{app_instance_id}/{path}` · aidream · auth guest · org required */
131
+ declare function localProxyProxyToLocalPcPatch(api: Api, args: LocalProxyProxyToLocalPcPatchArgs, options?: CallOptions): Promise<LocalProxyProxyToLocalPcPatchResult>;
132
+ type LocalProxyProxyToLocalPcDeleteArgs = {
133
+ path: {
134
+ app_instance_id: string;
135
+ path: string;
136
+ };
137
+ };
138
+ type LocalProxyProxyToLocalPcDeleteResult = unknown;
139
+ /** Sandbox-shape call to the user's Matrx 2 desktop, through the device relay. */
140
+ /** `DELETE /local-proxy/{app_instance_id}/{path}` · aidream · auth guest · org required */
141
+ declare function localProxyProxyToLocalPcDelete(api: Api, args: LocalProxyProxyToLocalPcDeleteArgs, options?: CallOptions): Promise<LocalProxyProxyToLocalPcDeleteResult>;
142
+ type PortsArgs = {
143
+ [key: string]: never;
144
+ };
145
+ type PortsResult = unknown;
146
+ /** Ports */
147
+ /** `GET /ports` · matrx-local · auth public · org exempt */
148
+ declare function ports(api: Api, args?: PortsArgs, options?: CallOptions): Promise<PortsResult>;
149
+ type SystemInfoArgs = {
150
+ [key: string]: never;
151
+ };
152
+ type SystemInfoResult = unknown;
153
+ /** System Info */
154
+ /** `GET /system/info` · matrx-local · auth loopback_token · org exempt */
155
+ declare function systemInfo(api: Api, args?: SystemInfoArgs, options?: CallOptions): Promise<SystemInfoResult>;
156
+ type SystemPathsArgs = {
157
+ [key: string]: never;
158
+ };
159
+ type SystemPathsResult = unknown;
160
+ /** System Paths */
161
+ /** `GET /system/paths` · matrx-local · auth loopback_token · org exempt */
162
+ declare function systemPaths(api: Api, args?: SystemPathsArgs, options?: CallOptions): Promise<SystemPathsResult>;
163
+ type OpenSystemFolderArgs = {
164
+ body: {
165
+ [key: string]: unknown;
166
+ };
167
+ };
168
+ type OpenSystemFolderResult = unknown;
169
+ /** Open System Folder */
170
+ /** `POST /system/open-folder` · matrx-local · auth loopback_token · org exempt */
171
+ declare function openSystemFolder(api: Api, args: OpenSystemFolderArgs, options?: CallOptions): Promise<OpenSystemFolderResult>;
172
+ type GetLogsArgs = {
173
+ query?: {
174
+ n?: number;
175
+ };
176
+ };
177
+ type GetLogsResult = unknown;
178
+ /** Get Logs */
179
+ /** `GET /logs` · matrx-local · auth loopback_token · org exempt */
180
+ declare function getLogs(api: Api, args?: GetLogsArgs, options?: CallOptions): Promise<GetLogsResult>;
181
+ type GetAccessLogsArgs = {
182
+ query?: {
183
+ n?: number;
184
+ };
185
+ };
186
+ type GetAccessLogsResult = unknown;
187
+ /** Get Access Logs */
188
+ /** `GET /logs/access` · matrx-local · auth loopback_token · org exempt */
189
+ declare function getAccessLogs(api: Api, args?: GetAccessLogsArgs, options?: CallOptions): Promise<GetAccessLogsResult>;
190
+ type StreamSystemLogArgs = {
191
+ [key: string]: never;
192
+ };
193
+ type StreamSystemLogResult = unknown;
194
+ /** Stream System Log */
195
+ /** `GET /logs/stream` · matrx-local · auth loopback_token · org exempt · sse */
196
+ declare function streamSystemLog(api: Api, args?: StreamSystemLogArgs, options?: CallOptions): Promise<ApiStream<SseEvent>>;
197
+ type StreamAccessLogArgs = {
198
+ [key: string]: never;
199
+ };
200
+ type StreamAccessLogResult = unknown;
201
+ /** Stream Access Log */
202
+ /** `GET /logs/access/stream` · matrx-local · auth loopback_token · org exempt · sse */
203
+ declare function streamAccessLog(api: Api, args?: StreamAccessLogArgs, options?: CallOptions): Promise<ApiStream<SseEvent>>;
204
+ type PushNotificationArgs = {
205
+ body: NotifyRequest;
206
+ };
207
+ type PushNotificationResult = unknown;
208
+ /** Push Notification */
209
+ /** `POST /notify` · matrx-local · auth loopback_token · org exempt */
210
+ declare function pushNotification(api: Api, args: PushNotificationArgs, options?: CallOptions): Promise<PushNotificationResult>;
211
+ type GetPermissionsArgs = {
212
+ query?: {
213
+ force_refresh?: boolean;
214
+ };
215
+ };
216
+ type GetPermissionsResult = unknown;
217
+ /** Get Permissions */
218
+ /** `GET /devices/permissions` · matrx-local · auth loopback_open · org exempt */
219
+ declare function getPermissions(api: Api, args?: GetPermissionsArgs, options?: CallOptions): Promise<GetPermissionsResult>;
220
+ type GrantPermissionsArgs = {
221
+ body: GrantPermissionsRequest;
222
+ };
223
+ type GrantPermissionsResult = unknown;
224
+ /** Grant Permissions */
225
+ /** `POST /devices/permissions/grant` · matrx-local · auth loopback_open · org exempt */
226
+ declare function grantPermissions(api: Api, args: GrantPermissionsArgs, options?: CallOptions): Promise<GrantPermissionsResult>;
227
+ type RequestScreenRecordingPermissionArgs = {
228
+ [key: string]: never;
229
+ };
230
+ type RequestScreenRecordingPermissionResult = unknown;
231
+ /** Request Screen Recording Permission */
232
+ /** `POST /devices/permissions/request/screen-recording` · matrx-local · auth loopback_open · org exempt */
233
+ declare function requestScreenRecordingPermission(api: Api, args?: RequestScreenRecordingPermissionArgs, options?: CallOptions): Promise<RequestScreenRecordingPermissionResult>;
234
+ type RequestPermissionArgs = {
235
+ path: {
236
+ name: string;
237
+ };
238
+ };
239
+ type RequestPermissionResult = unknown;
240
+ /** Request Permission */
241
+ /** `POST /devices/permissions/request/{name}` · matrx-local · auth loopback_open · org exempt */
242
+ declare function requestPermission(api: Api, args: RequestPermissionArgs, options?: CallOptions): Promise<RequestPermissionResult>;
243
+ type GetPermissionArgs = {
244
+ path: {
245
+ name: string;
246
+ };
247
+ };
248
+ type GetPermissionResult = unknown;
249
+ /** Get Permission */
250
+ /** `GET /devices/permissions/{name}` · matrx-local · auth loopback_open · org exempt */
251
+ declare function getPermission(api: Api, args: GetPermissionArgs, options?: CallOptions): Promise<GetPermissionResult>;
252
+ type GetAudioDevicesArgs = {
253
+ [key: string]: never;
254
+ };
255
+ type GetAudioDevicesResult = unknown;
256
+ /** Get Audio Devices */
257
+ /** `GET /devices/audio` · matrx-local · auth loopback_open · org exempt */
258
+ declare function getAudioDevices(api: Api, args?: GetAudioDevicesArgs, options?: CallOptions): Promise<GetAudioDevicesResult>;
259
+ type GetBluetoothDevicesArgs = {
260
+ [key: string]: never;
261
+ };
262
+ type GetBluetoothDevicesResult = unknown;
263
+ /** Get Bluetooth Devices */
264
+ /** `GET /devices/bluetooth` · matrx-local · auth loopback_open · org exempt */
265
+ declare function getBluetoothDevices(api: Api, args?: GetBluetoothDevicesArgs, options?: CallOptions): Promise<GetBluetoothDevicesResult>;
266
+ type GetWifiNetworksArgs = {
267
+ [key: string]: never;
268
+ };
269
+ type GetWifiNetworksResult = unknown;
270
+ /** Get Wifi Networks */
271
+ /** `GET /devices/wifi` · matrx-local · auth loopback_open · org exempt */
272
+ declare function getWifiNetworks(api: Api, args?: GetWifiNetworksArgs, options?: CallOptions): Promise<GetWifiNetworksResult>;
273
+ type GetNetworkInfoArgs = {
274
+ [key: string]: never;
275
+ };
276
+ type GetNetworkInfoResult = unknown;
277
+ /** Get Network Info */
278
+ /** `GET /devices/network` · matrx-local · auth loopback_open · org exempt */
279
+ declare function getNetworkInfo(api: Api, args?: GetNetworkInfoArgs, options?: CallOptions): Promise<GetNetworkInfoResult>;
280
+ type GetConnectedDevicesArgs = {
281
+ [key: string]: never;
282
+ };
283
+ type GetConnectedDevicesResult = unknown;
284
+ /** Get Connected Devices */
285
+ /** `GET /devices/connected` · matrx-local · auth loopback_open · org exempt */
286
+ declare function getConnectedDevices(api: Api, args?: GetConnectedDevicesArgs, options?: CallOptions): Promise<GetConnectedDevicesResult>;
287
+ type GetCameraDevicesArgs = {
288
+ [key: string]: never;
289
+ };
290
+ type GetCameraDevicesResult = unknown;
291
+ /** Get Camera Devices */
292
+ /** `GET /devices/camera` · matrx-local · auth loopback_open · org exempt */
293
+ declare function getCameraDevices(api: Api, args?: GetCameraDevicesArgs, options?: CallOptions): Promise<GetCameraDevicesResult>;
294
+ type GetScreensArgs = {
295
+ [key: string]: never;
296
+ };
297
+ type GetScreensResult = unknown;
298
+ /** Get Screens */
299
+ /** `GET /devices/screens` · matrx-local · auth loopback_open · org exempt */
300
+ declare function getScreens(api: Api, args?: GetScreensArgs, options?: CallOptions): Promise<GetScreensResult>;
301
+ type TakeScreenshotArgs = {
302
+ query?: {
303
+ monitor?: string;
304
+ };
305
+ };
306
+ type TakeScreenshotResult = unknown;
307
+ /** Take Screenshot */
308
+ /** `GET /devices/screenshot` · matrx-local · auth loopback_open · org exempt */
309
+ declare function takeScreenshot(api: Api, args?: TakeScreenshotArgs, options?: CallOptions): Promise<TakeScreenshotResult>;
310
+ type GetLocationArgs = {
311
+ [key: string]: never;
312
+ };
313
+ type GetLocationResult = unknown;
314
+ /** Get Location */
315
+ /** `GET /devices/location` · matrx-local · auth loopback_open · org exempt */
316
+ declare function getLocation(api: Api, args?: GetLocationArgs, options?: CallOptions): Promise<GetLocationResult>;
317
+ type RecordAudioArgs = {
318
+ body: RecordAudioRequest;
319
+ };
320
+ type RecordAudioResult = unknown;
321
+ /** Record Audio */
322
+ /** `POST /devices/record-audio` · matrx-local · auth loopback_open · org exempt */
323
+ declare function recordAudio(api: Api, args: RecordAudioArgs, options?: CallOptions): Promise<RecordAudioResult>;
324
+ type CapturePhotoArgs = {
325
+ body: CapturePhotoRequest;
326
+ };
327
+ type CapturePhotoResult = unknown;
328
+ /** Capture Photo */
329
+ /** `POST /devices/capture-photo` · matrx-local · auth loopback_open · org exempt */
330
+ declare function capturePhoto(api: Api, args: CapturePhotoArgs, options?: CallOptions): Promise<CapturePhotoResult>;
331
+ type RecordVideoArgs = {
332
+ body: RecordVideoRequest;
333
+ };
334
+ type RecordVideoResult = unknown;
335
+ /** Record Video */
336
+ /** `POST /devices/record-video` · matrx-local · auth loopback_open · org exempt */
337
+ declare function recordVideo(api: Api, args: RecordVideoArgs, options?: CallOptions): Promise<RecordVideoResult>;
338
+ type RecordScreenArgs = {
339
+ body: RecordScreenRequest;
340
+ };
341
+ type RecordScreenResult = unknown;
342
+ /** Record Screen */
343
+ /** `POST /devices/record-screen` · matrx-local · auth loopback_open · org exempt */
344
+ declare function recordScreen(api: Api, args: RecordScreenArgs, options?: CallOptions): Promise<RecordScreenResult>;
345
+ type GetSystemResourcesArgs = {
346
+ [key: string]: never;
347
+ };
348
+ type GetSystemResourcesResult = unknown;
349
+ /** Get System Resources */
350
+ /** `GET /devices/system` · matrx-local · auth loopback_open · org exempt */
351
+ declare function getSystemResources(api: Api, args?: GetSystemResourcesArgs, options?: CallOptions): Promise<GetSystemResourcesResult>;
352
+ type ListContactsArgs = {
353
+ query?: {
354
+ limit?: number;
355
+ };
356
+ };
357
+ type ListContactsResult = unknown;
358
+ /** List Contacts */
359
+ /** `GET /devices/contacts` · matrx-local · auth loopback_open · org exempt */
360
+ declare function listContacts(api: Api, args?: ListContactsArgs, options?: CallOptions): Promise<ListContactsResult>;
361
+ type SearchContactsArgs = {
362
+ body: ContactSearchRequest_MatrxLocal;
363
+ };
364
+ type SearchContactsResult = unknown;
365
+ /** Search Contacts */
366
+ /** `POST /devices/contacts/search` · matrx-local · auth loopback_open · org exempt */
367
+ declare function searchContacts(api: Api, args: SearchContactsArgs, options?: CallOptions): Promise<SearchContactsResult>;
368
+ type GetContactArgs = {
369
+ path: {
370
+ identifier: string;
371
+ };
372
+ };
373
+ type GetContactResult = unknown;
374
+ /** Get Contact */
375
+ /** `GET /devices/contacts/{identifier}` · matrx-local · auth loopback_open · org exempt */
376
+ declare function getContact(api: Api, args: GetContactArgs, options?: CallOptions): Promise<GetContactResult>;
377
+ type ListCalendarEventsArgs = {
378
+ query?: {
379
+ days_ahead?: number;
380
+ limit?: number;
381
+ };
382
+ };
383
+ type ListCalendarEventsResult = unknown;
384
+ /** List Calendar Events */
385
+ /** `GET /devices/calendar/events` · matrx-local · auth loopback_open · org exempt */
386
+ declare function listCalendarEvents(api: Api, args?: ListCalendarEventsArgs, options?: CallOptions): Promise<ListCalendarEventsResult>;
387
+ type CreateCalendarEventArgs = {
388
+ body: CreateEventRequest;
389
+ };
390
+ type CreateCalendarEventResult = unknown;
391
+ /** Create Calendar Event */
392
+ /** `POST /devices/calendar/events` · matrx-local · auth loopback_open · org exempt */
393
+ declare function createCalendarEvent(api: Api, args: CreateCalendarEventArgs, options?: CallOptions): Promise<CreateCalendarEventResult>;
394
+ type ListRemindersArgs = {
395
+ query?: {
396
+ include_completed?: boolean;
397
+ limit?: number;
398
+ };
399
+ };
400
+ type ListRemindersResult = unknown;
401
+ /** List Reminders */
402
+ /** `GET /devices/calendar/reminders` · matrx-local · auth loopback_open · org exempt */
403
+ declare function listReminders(api: Api, args?: ListRemindersArgs, options?: CallOptions): Promise<ListRemindersResult>;
404
+ type CreateReminderArgs = {
405
+ body: CreateReminderRequest;
406
+ };
407
+ type CreateReminderResult = unknown;
408
+ /** Create Reminder */
409
+ /** `POST /devices/calendar/reminders` · matrx-local · auth loopback_open · org exempt */
410
+ declare function createReminder(api: Api, args: CreateReminderArgs, options?: CallOptions): Promise<CreateReminderResult>;
411
+ type ListPhotosArgs = {
412
+ query?: {
413
+ media_type?: string;
414
+ limit?: number;
415
+ favorites_only?: boolean;
416
+ };
417
+ };
418
+ type ListPhotosResult = unknown;
419
+ /** List Photos */
420
+ /** `GET /devices/photos` · matrx-local · auth loopback_open · org exempt */
421
+ declare function listPhotos(api: Api, args?: ListPhotosArgs, options?: CallOptions): Promise<ListPhotosResult>;
422
+ type GetPhotoArgs = {
423
+ path: {
424
+ identifier: string;
425
+ };
426
+ query?: {
427
+ thumbnail_size?: number;
428
+ };
429
+ };
430
+ type GetPhotoResult = unknown;
431
+ /** Get Photo */
432
+ /** `GET /devices/photos/{identifier}` · matrx-local · auth loopback_open · org exempt */
433
+ declare function getPhoto(api: Api, args: GetPhotoArgs, options?: CallOptions): Promise<GetPhotoResult>;
434
+ type GetCurrentLocationArgs = {
435
+ query?: {
436
+ timeout?: number;
437
+ };
438
+ };
439
+ type GetCurrentLocationResult = unknown;
440
+ /** Get Current Location */
441
+ /** `GET /devices/location/current` · matrx-local · auth loopback_open · org exempt */
442
+ declare function getCurrentLocation(api: Api, args?: GetCurrentLocationArgs, options?: CallOptions): Promise<GetCurrentLocationResult>;
443
+ type ListMessagesEndpointArgs = {
444
+ query?: {
445
+ limit?: number;
446
+ contact?: string | null;
447
+ unread_only?: boolean;
448
+ };
449
+ };
450
+ type ListMessagesEndpointResult = unknown;
451
+ /** List Messages Endpoint */
452
+ /** `GET /devices/messages` · matrx-local · auth loopback_open · org exempt */
453
+ declare function listMessagesEndpoint(api: Api, args?: ListMessagesEndpointArgs, options?: CallOptions): Promise<ListMessagesEndpointResult>;
454
+ type ListConversationsEndpointArgs = {
455
+ query?: {
456
+ limit?: number;
457
+ };
458
+ };
459
+ type ListConversationsEndpointResult = unknown;
460
+ /** List Conversations Endpoint */
461
+ /** `GET /devices/messages/conversations` · matrx-local · auth loopback_open · org exempt */
462
+ declare function listConversationsEndpoint(api: Api, args?: ListConversationsEndpointArgs, options?: CallOptions): Promise<ListConversationsEndpointResult>;
463
+ type SendMessageEndpointArgs = {
464
+ body: SendMessageRequest;
465
+ };
466
+ type SendMessageEndpointResult = unknown;
467
+ /** Send Message Endpoint */
468
+ /** `POST /devices/messages/send` · matrx-local · auth loopback_open · org exempt */
469
+ declare function sendMessageEndpoint(api: Api, args: SendMessageEndpointArgs, options?: CallOptions): Promise<SendMessageEndpointResult>;
470
+ type GetMailAccountsArgs = {
471
+ [key: string]: never;
472
+ };
473
+ type GetMailAccountsResult = unknown;
474
+ /** Get Mail Accounts */
475
+ /** `GET /devices/mail/accounts` · matrx-local · auth loopback_open · org exempt */
476
+ declare function getMailAccounts(api: Api, args?: GetMailAccountsArgs, options?: CallOptions): Promise<GetMailAccountsResult>;
477
+ type ListMailArgs = {
478
+ query?: {
479
+ mailbox?: string;
480
+ limit?: number;
481
+ unread_only?: boolean;
482
+ };
483
+ };
484
+ type ListMailResult = unknown;
485
+ /** List Mail */
486
+ /** `GET /devices/mail` · matrx-local · auth loopback_open · org exempt */
487
+ declare function listMail(api: Api, args?: ListMailArgs, options?: CallOptions): Promise<ListMailResult>;
488
+ type SendMailArgs = {
489
+ body: SendEmailRequest;
490
+ };
491
+ type SendMailResult = unknown;
492
+ /** Send Mail */
493
+ /** `POST /devices/mail/send` · matrx-local · auth loopback_open · org exempt */
494
+ declare function sendMail(api: Api, args: SendMailArgs, options?: CallOptions): Promise<SendMailResult>;
495
+ type TranscribeWithSpeechArgs = {
496
+ body: TranscribeSpeechRequest;
497
+ };
498
+ type TranscribeWithSpeechResult = unknown;
499
+ /** Transcribe With Speech */
500
+ /** `POST /devices/speech/transcribe` · matrx-local · auth loopback_open · org exempt */
501
+ declare function transcribeWithSpeech(api: Api, args: TranscribeWithSpeechArgs, options?: CallOptions): Promise<TranscribeWithSpeechResult>;
502
+ type ListSpeechLocalesArgs = {
503
+ [key: string]: never;
504
+ };
505
+ type ListSpeechLocalesResult = unknown;
506
+ /** List Speech Locales */
507
+ /** `GET /devices/speech/locales` · matrx-local · auth loopback_open · org exempt */
508
+ declare function listSpeechLocales(api: Api, args?: ListSpeechLocalesArgs, options?: CallOptions): Promise<ListSpeechLocalesResult>;
509
+ type GetHardwareArgs = {
510
+ [key: string]: never;
511
+ };
512
+ type GetHardwareResult = HardwareResponse;
513
+ /** Get Hardware */
514
+ /** `GET /hardware` · matrx-local · auth loopback_token · org exempt */
515
+ declare function getHardware(api: Api, args?: GetHardwareArgs, options?: CallOptions): Promise<GetHardwareResult>;
516
+ type RefreshHardwareArgs = {
517
+ [key: string]: never;
518
+ };
519
+ type RefreshHardwareResult = HardwareResponse;
520
+ /** Refresh Hardware */
521
+ /** `POST /hardware/refresh` · matrx-local · auth loopback_token · org exempt */
522
+ declare function refreshHardware(api: Api, args?: RefreshHardwareArgs, options?: CallOptions): Promise<RefreshHardwareResult>;
523
+ /** Every JSON operation of this domain by `METHOD path` — for path-keyed calls. */
524
+ interface Operations {
525
+ "GET /local-proxy/{app_instance_id}/{path}": {
526
+ args: LocalProxyProxyToLocalPcArgs;
527
+ result: LocalProxyProxyToLocalPcResult;
528
+ };
529
+ "POST /local-proxy/{app_instance_id}/{path}": {
530
+ args: LocalProxyProxyToLocalPcPostArgs;
531
+ result: LocalProxyProxyToLocalPcPostResult;
532
+ };
533
+ "PUT /local-proxy/{app_instance_id}/{path}": {
534
+ args: LocalProxyProxyToLocalPcPutArgs;
535
+ result: LocalProxyProxyToLocalPcPutResult;
536
+ };
537
+ "PATCH /local-proxy/{app_instance_id}/{path}": {
538
+ args: LocalProxyProxyToLocalPcPatchArgs;
539
+ result: LocalProxyProxyToLocalPcPatchResult;
540
+ };
541
+ "DELETE /local-proxy/{app_instance_id}/{path}": {
542
+ args: LocalProxyProxyToLocalPcDeleteArgs;
543
+ result: LocalProxyProxyToLocalPcDeleteResult;
544
+ };
545
+ "GET /ports": {
546
+ args: PortsArgs;
547
+ result: PortsResult;
548
+ };
549
+ "GET /system/info": {
550
+ args: SystemInfoArgs;
551
+ result: SystemInfoResult;
552
+ };
553
+ "GET /system/paths": {
554
+ args: SystemPathsArgs;
555
+ result: SystemPathsResult;
556
+ };
557
+ "POST /system/open-folder": {
558
+ args: OpenSystemFolderArgs;
559
+ result: OpenSystemFolderResult;
560
+ };
561
+ "GET /logs": {
562
+ args: GetLogsArgs;
563
+ result: GetLogsResult;
564
+ };
565
+ "GET /logs/access": {
566
+ args: GetAccessLogsArgs;
567
+ result: GetAccessLogsResult;
568
+ };
569
+ "POST /notify": {
570
+ args: PushNotificationArgs;
571
+ result: PushNotificationResult;
572
+ };
573
+ "GET /devices/permissions": {
574
+ args: GetPermissionsArgs;
575
+ result: GetPermissionsResult;
576
+ };
577
+ "POST /devices/permissions/grant": {
578
+ args: GrantPermissionsArgs;
579
+ result: GrantPermissionsResult;
580
+ };
581
+ "POST /devices/permissions/request/screen-recording": {
582
+ args: RequestScreenRecordingPermissionArgs;
583
+ result: RequestScreenRecordingPermissionResult;
584
+ };
585
+ "POST /devices/permissions/request/{name}": {
586
+ args: RequestPermissionArgs;
587
+ result: RequestPermissionResult;
588
+ };
589
+ "GET /devices/permissions/{name}": {
590
+ args: GetPermissionArgs;
591
+ result: GetPermissionResult;
592
+ };
593
+ "GET /devices/audio": {
594
+ args: GetAudioDevicesArgs;
595
+ result: GetAudioDevicesResult;
596
+ };
597
+ "GET /devices/bluetooth": {
598
+ args: GetBluetoothDevicesArgs;
599
+ result: GetBluetoothDevicesResult;
600
+ };
601
+ "GET /devices/wifi": {
602
+ args: GetWifiNetworksArgs;
603
+ result: GetWifiNetworksResult;
604
+ };
605
+ "GET /devices/network": {
606
+ args: GetNetworkInfoArgs;
607
+ result: GetNetworkInfoResult;
608
+ };
609
+ "GET /devices/connected": {
610
+ args: GetConnectedDevicesArgs;
611
+ result: GetConnectedDevicesResult;
612
+ };
613
+ "GET /devices/camera": {
614
+ args: GetCameraDevicesArgs;
615
+ result: GetCameraDevicesResult;
616
+ };
617
+ "GET /devices/screens": {
618
+ args: GetScreensArgs;
619
+ result: GetScreensResult;
620
+ };
621
+ "GET /devices/screenshot": {
622
+ args: TakeScreenshotArgs;
623
+ result: TakeScreenshotResult;
624
+ };
625
+ "GET /devices/location": {
626
+ args: GetLocationArgs;
627
+ result: GetLocationResult;
628
+ };
629
+ "POST /devices/record-audio": {
630
+ args: RecordAudioArgs;
631
+ result: RecordAudioResult;
632
+ };
633
+ "POST /devices/capture-photo": {
634
+ args: CapturePhotoArgs;
635
+ result: CapturePhotoResult;
636
+ };
637
+ "POST /devices/record-video": {
638
+ args: RecordVideoArgs;
639
+ result: RecordVideoResult;
640
+ };
641
+ "POST /devices/record-screen": {
642
+ args: RecordScreenArgs;
643
+ result: RecordScreenResult;
644
+ };
645
+ "GET /devices/system": {
646
+ args: GetSystemResourcesArgs;
647
+ result: GetSystemResourcesResult;
648
+ };
649
+ "GET /devices/contacts": {
650
+ args: ListContactsArgs;
651
+ result: ListContactsResult;
652
+ };
653
+ "POST /devices/contacts/search": {
654
+ args: SearchContactsArgs;
655
+ result: SearchContactsResult;
656
+ };
657
+ "GET /devices/contacts/{identifier}": {
658
+ args: GetContactArgs;
659
+ result: GetContactResult;
660
+ };
661
+ "GET /devices/calendar/events": {
662
+ args: ListCalendarEventsArgs;
663
+ result: ListCalendarEventsResult;
664
+ };
665
+ "POST /devices/calendar/events": {
666
+ args: CreateCalendarEventArgs;
667
+ result: CreateCalendarEventResult;
668
+ };
669
+ "GET /devices/calendar/reminders": {
670
+ args: ListRemindersArgs;
671
+ result: ListRemindersResult;
672
+ };
673
+ "POST /devices/calendar/reminders": {
674
+ args: CreateReminderArgs;
675
+ result: CreateReminderResult;
676
+ };
677
+ "GET /devices/photos": {
678
+ args: ListPhotosArgs;
679
+ result: ListPhotosResult;
680
+ };
681
+ "GET /devices/photos/{identifier}": {
682
+ args: GetPhotoArgs;
683
+ result: GetPhotoResult;
684
+ };
685
+ "GET /devices/location/current": {
686
+ args: GetCurrentLocationArgs;
687
+ result: GetCurrentLocationResult;
688
+ };
689
+ "GET /devices/messages": {
690
+ args: ListMessagesEndpointArgs;
691
+ result: ListMessagesEndpointResult;
692
+ };
693
+ "GET /devices/messages/conversations": {
694
+ args: ListConversationsEndpointArgs;
695
+ result: ListConversationsEndpointResult;
696
+ };
697
+ "POST /devices/messages/send": {
698
+ args: SendMessageEndpointArgs;
699
+ result: SendMessageEndpointResult;
700
+ };
701
+ "GET /devices/mail/accounts": {
702
+ args: GetMailAccountsArgs;
703
+ result: GetMailAccountsResult;
704
+ };
705
+ "GET /devices/mail": {
706
+ args: ListMailArgs;
707
+ result: ListMailResult;
708
+ };
709
+ "POST /devices/mail/send": {
710
+ args: SendMailArgs;
711
+ result: SendMailResult;
712
+ };
713
+ "POST /devices/speech/transcribe": {
714
+ args: TranscribeWithSpeechArgs;
715
+ result: TranscribeWithSpeechResult;
716
+ };
717
+ "GET /devices/speech/locales": {
718
+ args: ListSpeechLocalesArgs;
719
+ result: ListSpeechLocalesResult;
720
+ };
721
+ "GET /hardware": {
722
+ args: GetHardwareArgs;
723
+ result: GetHardwareResult;
724
+ };
725
+ "POST /hardware/refresh": {
726
+ args: RefreshHardwareArgs;
727
+ result: RefreshHardwareResult;
728
+ };
729
+ }
730
+ /** Path-keyed call, scoped to this domain only (never a global path map). */
731
+ declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
732
+
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 };