@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.
- package/CHANGELOG.md +31 -0
- package/LICENSE +21 -0
- package/README.md +22 -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-5WJLKYH6.cjs +48 -0
- package/dist/chunk-FNIYADWI.cjs +59 -0
- package/dist/chunk-HER22VVH.cjs +1047 -0
- package/dist/chunk-KIEAFMKB.js +264 -0
- package/dist/chunk-TSHL7Z53.js +1012 -0
- package/dist/chunk-VTZKJMSY.js +43 -0
- package/dist/chunk-YTEOFGFC.js +57 -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 +2016 -0
- package/dist/index.d.cts +2069 -0
- package/dist/index.d.ts +2069 -0
- package/dist/index.js +1746 -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 +419 -4
package/dist/apps.js
ADDED
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
import { openStream } from './chunk-TSHL7Z53.js';
|
|
2
|
+
import './chunk-KIEAFMKB.js';
|
|
3
|
+
import './chunk-VTZKJMSY.js';
|
|
4
|
+
|
|
5
|
+
// src/generated/apps.ts
|
|
6
|
+
var $getAppCatalog = { m: "GET", p: "/catalogs/{app}", d: "aidream", a: "guest", o: "optional", n: "apps.get_app_catalog" };
|
|
7
|
+
function getAppCatalog(api, args, options) {
|
|
8
|
+
return api.call($getAppCatalog, args, options);
|
|
9
|
+
}
|
|
10
|
+
var $getAppCatalogKind = { m: "GET", p: "/catalogs/{app}/{kind}", d: "aidream", a: "guest", o: "optional", n: "apps.get_app_catalog_kind" };
|
|
11
|
+
function getAppCatalogKind(api, args, options) {
|
|
12
|
+
return api.call($getAppCatalogKind, args, options);
|
|
13
|
+
}
|
|
14
|
+
var $resolve = { m: "POST", p: "/catalog-resolver/resolve", d: "aidream", a: "admin", o: "required", n: "apps.resolve" };
|
|
15
|
+
function resolve(api, args, options) {
|
|
16
|
+
return api.call($resolve, args, options);
|
|
17
|
+
}
|
|
18
|
+
var $desktopInstancesListDesktopInstances = { m: "GET", p: "/desktop-instances/", d: "aidream", a: "user", o: "required", n: "apps.desktop_instances_list_desktop_instances" };
|
|
19
|
+
function desktopInstancesListDesktopInstances(api, args, options) {
|
|
20
|
+
return api.call($desktopInstancesListDesktopInstances, args, options);
|
|
21
|
+
}
|
|
22
|
+
var $desktopInstancesListDesktopInstancesGet = { m: "GET", p: "/desktop-instances", d: "aidream", a: "user", o: "required", n: "apps.desktop_instances_list_desktop_instances_get" };
|
|
23
|
+
function desktopInstancesListDesktopInstancesGet(api, args, options) {
|
|
24
|
+
return api.call($desktopInstancesListDesktopInstancesGet, args, options);
|
|
25
|
+
}
|
|
26
|
+
var $listAuthenticators = { m: "GET", p: "/authenticator", d: "aidream", a: "user", o: "required", n: "apps.list_authenticators" };
|
|
27
|
+
function listAuthenticators(api, args, options) {
|
|
28
|
+
return api.call($listAuthenticators, args, options);
|
|
29
|
+
}
|
|
30
|
+
var $getAuthenticator = { m: "GET", p: "/authenticator/{credential_item_id}", d: "aidream", a: "user", o: "required", n: "apps.get_authenticator" };
|
|
31
|
+
function getAuthenticator(api, args, options) {
|
|
32
|
+
return api.call($getAuthenticator, args, options);
|
|
33
|
+
}
|
|
34
|
+
var $deleteAuthenticator = { m: "DELETE", p: "/authenticator/{credential_item_id}", d: "aidream", a: "user", o: "required", n: "apps.delete_authenticator" };
|
|
35
|
+
function deleteAuthenticator(api, args, options) {
|
|
36
|
+
return api.call($deleteAuthenticator, args, options);
|
|
37
|
+
}
|
|
38
|
+
var $getAuthenticatorCode = { m: "GET", p: "/authenticator/{credential_item_id}/code", d: "aidream", a: "user", o: "required", n: "apps.get_authenticator_code" };
|
|
39
|
+
function getAuthenticatorCode(api, args, options) {
|
|
40
|
+
return api.call($getAuthenticatorCode, args, options);
|
|
41
|
+
}
|
|
42
|
+
var $enroll = { m: "POST", p: "/authenticator/enroll", d: "aidream", a: "user", o: "required", n: "apps.enroll" };
|
|
43
|
+
function enroll(api, args, options) {
|
|
44
|
+
return api.call($enroll, args, options);
|
|
45
|
+
}
|
|
46
|
+
var $enrollQr = { m: "POST", p: "/authenticator/enroll/qr", d: "aidream", a: "user", o: "required", n: "apps.enroll_qr" };
|
|
47
|
+
function enrollQr(api, args, options) {
|
|
48
|
+
return api.call($enrollQr, args, options);
|
|
49
|
+
}
|
|
50
|
+
var $setEnabled = { m: "PUT", p: "/authenticator/{credential_item_id}/enabled", d: "aidream", a: "user", o: "required", n: "apps.set_enabled" };
|
|
51
|
+
function setEnabled(api, args, options) {
|
|
52
|
+
return api.call($setEnabled, args, options);
|
|
53
|
+
}
|
|
54
|
+
var $adminStatus = { m: "GET", p: "/admin/status", d: "matrx-local", a: "loopback_open", o: "exempt", n: "apps.admin_status" };
|
|
55
|
+
function adminStatus(api, args, options) {
|
|
56
|
+
return api.call($adminStatus, args, options);
|
|
57
|
+
}
|
|
58
|
+
var $adminRecoveryStatus = { m: "GET", p: "/admin/recovery", d: "matrx-local", a: "loopback_open", o: "exempt", n: "apps.admin_recovery_status" };
|
|
59
|
+
function adminRecoveryStatus(api, args, options) {
|
|
60
|
+
return api.call($adminRecoveryStatus, args, options);
|
|
61
|
+
}
|
|
62
|
+
var $adminRecoverService = { m: "POST", p: "/admin/recovery/{service_name}", d: "matrx-local", a: "loopback_open", o: "exempt", n: "apps.admin_recover_service" };
|
|
63
|
+
function adminRecoverService(api, args, options) {
|
|
64
|
+
return api.call($adminRecoverService, args, options);
|
|
65
|
+
}
|
|
66
|
+
var $adminShutdown = { m: "POST", p: "/admin/shutdown", d: "matrx-local", a: "loopback_open", o: "exempt", n: "apps.admin_shutdown" };
|
|
67
|
+
function adminShutdown(api, args, options) {
|
|
68
|
+
return api.call($adminShutdown, args, options);
|
|
69
|
+
}
|
|
70
|
+
var $adminRefreshConfig = { m: "POST", p: "/admin/refresh-config", d: "matrx-local", a: "loopback_open", o: "exempt", n: "apps.admin_refresh_config" };
|
|
71
|
+
function adminRefreshConfig(api, args, options) {
|
|
72
|
+
return api.call($adminRefreshConfig, args, options);
|
|
73
|
+
}
|
|
74
|
+
var $adminRefreshCatalogs = { m: "POST", p: "/admin/refresh-catalogs", d: "matrx-local", a: "loopback_open", o: "exempt", n: "apps.admin_refresh_catalogs" };
|
|
75
|
+
function adminRefreshCatalogs(api, args, options) {
|
|
76
|
+
return api.call($adminRefreshCatalogs, args, options);
|
|
77
|
+
}
|
|
78
|
+
var $adminDiagnose = { m: "POST", p: "/admin/diagnose", d: "matrx-local", a: "loopback_open", o: "exempt", n: "apps.admin_diagnose" };
|
|
79
|
+
function adminDiagnose(api, args, options) {
|
|
80
|
+
return api.call($adminDiagnose, args, options);
|
|
81
|
+
}
|
|
82
|
+
var $getCatalogKind = { m: "GET", p: "/catalogs/{kind}", d: "matrx-local", a: "public", o: "exempt", n: "apps.get_catalog_kind" };
|
|
83
|
+
function getCatalogKind(api, args, options) {
|
|
84
|
+
return api.call($getCatalogKind, args, options);
|
|
85
|
+
}
|
|
86
|
+
var $root = { m: "GET", p: "/", d: "matrx-local", a: "public", o: "exempt", n: "apps.root" };
|
|
87
|
+
function root(api, args, options) {
|
|
88
|
+
return api.call($root, args, options);
|
|
89
|
+
}
|
|
90
|
+
var $health = { m: "GET", p: "/health", d: "matrx-local", a: "public", o: "exempt", n: "apps.health" };
|
|
91
|
+
function health(api, args, options) {
|
|
92
|
+
return api.call($health, args, options);
|
|
93
|
+
}
|
|
94
|
+
var $version = { m: "GET", p: "/version", d: "matrx-local", a: "public", o: "exempt", n: "apps.version" };
|
|
95
|
+
function version(api, args, options) {
|
|
96
|
+
return api.call($version, args, options);
|
|
97
|
+
}
|
|
98
|
+
var $triggerEvent = { m: "POST", p: "/trigger", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.trigger_event" };
|
|
99
|
+
function triggerEvent(api, args, options) {
|
|
100
|
+
return api.call($triggerEvent, args, options);
|
|
101
|
+
}
|
|
102
|
+
var $actionNeededSnapshots = { m: "GET", p: "/actions/needed", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.action_needed_snapshots" };
|
|
103
|
+
function actionNeededSnapshots(api, args, options) {
|
|
104
|
+
return api.call($actionNeededSnapshots, args, options);
|
|
105
|
+
}
|
|
106
|
+
var $getSettings = { m: "GET", p: "/settings", d: "matrx-local", a: "loopback_open", o: "exempt", n: "apps.get_settings" };
|
|
107
|
+
function getSettings(api, args, options) {
|
|
108
|
+
return api.call($getSettings, args, options);
|
|
109
|
+
}
|
|
110
|
+
var $updateSettings = { m: "PUT", p: "/settings", d: "matrx-local", a: "loopback_open", o: "exempt", n: "apps.update_settings" };
|
|
111
|
+
function updateSettings(api, args, options) {
|
|
112
|
+
return api.call($updateSettings, args, options);
|
|
113
|
+
}
|
|
114
|
+
var $getForbiddenUrls = { m: "GET", p: "/settings/forbidden-urls", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.get_forbidden_urls" };
|
|
115
|
+
function getForbiddenUrls(api, args, options) {
|
|
116
|
+
return api.call($getForbiddenUrls, args, options);
|
|
117
|
+
}
|
|
118
|
+
var $addForbiddenUrl = { m: "POST", p: "/settings/forbidden-urls", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.add_forbidden_url" };
|
|
119
|
+
function addForbiddenUrl(api, args, options) {
|
|
120
|
+
return api.call($addForbiddenUrl, args, options);
|
|
121
|
+
}
|
|
122
|
+
var $replaceForbiddenUrls = { m: "PUT", p: "/settings/forbidden-urls", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.replace_forbidden_urls" };
|
|
123
|
+
function replaceForbiddenUrls(api, args, options) {
|
|
124
|
+
return api.call($replaceForbiddenUrls, args, options);
|
|
125
|
+
}
|
|
126
|
+
var $removeForbiddenUrl = { m: "DELETE", p: "/settings/forbidden-urls/{url}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.remove_forbidden_url" };
|
|
127
|
+
function removeForbiddenUrl(api, args, options) {
|
|
128
|
+
return api.call($removeForbiddenUrl, args, options);
|
|
129
|
+
}
|
|
130
|
+
var $getWakeWordSettings = { m: "GET", p: "/settings/wake-word", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.get_wake_word_settings" };
|
|
131
|
+
function getWakeWordSettings(api, args, options) {
|
|
132
|
+
return api.call($getWakeWordSettings, args, options);
|
|
133
|
+
}
|
|
134
|
+
var $saveWakeWordSettings = { m: "PUT", p: "/settings/wake-word", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.save_wake_word_settings" };
|
|
135
|
+
function saveWakeWordSettings(api, args, options) {
|
|
136
|
+
return api.call($saveWakeWordSettings, args, options);
|
|
137
|
+
}
|
|
138
|
+
var $getPaths = { m: "GET", p: "/settings/paths", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.get_paths" };
|
|
139
|
+
function getPaths(api, args, options) {
|
|
140
|
+
return api.call($getPaths, args, options);
|
|
141
|
+
}
|
|
142
|
+
var $updatePath = { m: "PUT", p: "/settings/paths/{name}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.update_path" };
|
|
143
|
+
function updatePath(api, args, options) {
|
|
144
|
+
return api.call($updatePath, args, options);
|
|
145
|
+
}
|
|
146
|
+
var $resetPathToDefault = { m: "DELETE", p: "/settings/paths/{name}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.reset_path_to_default" };
|
|
147
|
+
function resetPathToDefault(api, args, options) {
|
|
148
|
+
return api.call($resetPathToDefault, args, options);
|
|
149
|
+
}
|
|
150
|
+
var $getPathStats = { m: "GET", p: "/settings/paths/{name}/stats", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.get_path_stats" };
|
|
151
|
+
function getPathStats(api, args, options) {
|
|
152
|
+
return api.call($getPathStats, args, options);
|
|
153
|
+
}
|
|
154
|
+
var $listApiKeyStatus = { m: "GET", p: "/settings/api-keys", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.list_api_key_status" };
|
|
155
|
+
function listApiKeyStatus(api, args, options) {
|
|
156
|
+
return api.call($listApiKeyStatus, args, options);
|
|
157
|
+
}
|
|
158
|
+
var $getHuggingfaceTokenValue = { m: "GET", p: "/settings/api-keys/huggingface/value", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.get_huggingface_token_value" };
|
|
159
|
+
function getHuggingfaceTokenValue(api, args, options) {
|
|
160
|
+
return api.call($getHuggingfaceTokenValue, args, options);
|
|
161
|
+
}
|
|
162
|
+
var $setApiKey = { m: "PUT", p: "/settings/api-keys/{provider}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.set_api_key" };
|
|
163
|
+
function setApiKey(api, args, options) {
|
|
164
|
+
return api.call($setApiKey, args, options);
|
|
165
|
+
}
|
|
166
|
+
var $deleteApiKey = { m: "DELETE", p: "/settings/api-keys/{provider}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.delete_api_key" };
|
|
167
|
+
function deleteApiKey(api, args, options) {
|
|
168
|
+
return api.call($deleteApiKey, args, options);
|
|
169
|
+
}
|
|
170
|
+
var $setApiKeysBulk = { m: "POST", p: "/settings/api-keys/bulk", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.set_api_keys_bulk" };
|
|
171
|
+
function setApiKeysBulk(api, args, options) {
|
|
172
|
+
return api.call($setApiKeysBulk, args, options);
|
|
173
|
+
}
|
|
174
|
+
var $validateApiKey = { m: "POST", p: "/settings/api-keys/{provider}/validate", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.validate_api_key" };
|
|
175
|
+
function validateApiKey(api, args, options) {
|
|
176
|
+
return api.call($validateApiKey, args, options);
|
|
177
|
+
}
|
|
178
|
+
var $validateAllApiKeys = { m: "POST", p: "/settings/api-keys/validate-all", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.validate_all_api_keys" };
|
|
179
|
+
function validateAllApiKeys(api, args, options) {
|
|
180
|
+
return api.call($validateAllApiKeys, args, options);
|
|
181
|
+
}
|
|
182
|
+
var $getVaultKeySource = { m: "GET", p: "/settings/api-keys/vault", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.get_vault_key_source" };
|
|
183
|
+
function getVaultKeySource(api, args, options) {
|
|
184
|
+
return api.call($getVaultKeySource, args, options);
|
|
185
|
+
}
|
|
186
|
+
var $refreshVaultKeySource = { m: "POST", p: "/settings/api-keys/vault/refresh", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.refresh_vault_key_source" };
|
|
187
|
+
function refreshVaultKeySource(api, args, options) {
|
|
188
|
+
return api.call($refreshVaultKeySource, args, options);
|
|
189
|
+
}
|
|
190
|
+
var $importVaultKey = { m: "POST", p: "/settings/api-keys/vault/import", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.import_vault_key" };
|
|
191
|
+
function importVaultKey(api, args, options) {
|
|
192
|
+
return api.call($importVaultKey, args, options);
|
|
193
|
+
}
|
|
194
|
+
var $accessHealth = { m: "GET", p: "/access/health", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.access_health" };
|
|
195
|
+
function accessHealth(api, args, options) {
|
|
196
|
+
return api.call($accessHealth, args, options);
|
|
197
|
+
}
|
|
198
|
+
var $accessRecheck = { m: "POST", p: "/access/recheck", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.access_recheck" };
|
|
199
|
+
function accessRecheck(api, args, options) {
|
|
200
|
+
return api.call($accessRecheck, args, options);
|
|
201
|
+
}
|
|
202
|
+
var $accessReset = { m: "POST", p: "/access/reset", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.access_reset" };
|
|
203
|
+
function accessReset(api, args, options) {
|
|
204
|
+
return api.call($accessReset, args, options);
|
|
205
|
+
}
|
|
206
|
+
var $getCapabilities = { m: "GET", p: "/capabilities", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.get_capabilities" };
|
|
207
|
+
function getCapabilities(api, args, options) {
|
|
208
|
+
return api.call($getCapabilities, args, options);
|
|
209
|
+
}
|
|
210
|
+
var $installCapability = { m: "POST", p: "/capabilities/install", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.install_capability" };
|
|
211
|
+
function installCapability(api, args, options) {
|
|
212
|
+
return api.call($installCapability, args, options);
|
|
213
|
+
}
|
|
214
|
+
var $getInstallStatus = { m: "GET", p: "/capabilities/install/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.get_install_status" };
|
|
215
|
+
function getInstallStatus(api, args, options) {
|
|
216
|
+
return api.call($getInstallStatus, args, options);
|
|
217
|
+
}
|
|
218
|
+
var $streamInstallProgress = { m: "GET", p: "/capabilities/install/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "apps.stream_install_progress" };
|
|
219
|
+
function streamInstallProgress(api, args, options) {
|
|
220
|
+
return openStream(api, $streamInstallProgress, args, options);
|
|
221
|
+
}
|
|
222
|
+
var $tunnelStatus = { m: "GET", p: "/tunnel/status", d: "matrx-local", a: "public", o: "exempt", n: "apps.tunnel_status" };
|
|
223
|
+
function tunnelStatus(api, args, options) {
|
|
224
|
+
return api.call($tunnelStatus, args, options);
|
|
225
|
+
}
|
|
226
|
+
var $tunnelStart = { m: "POST", p: "/tunnel/start", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.tunnel_start" };
|
|
227
|
+
function tunnelStart(api, args, options) {
|
|
228
|
+
return api.call($tunnelStart, args, options);
|
|
229
|
+
}
|
|
230
|
+
var $tunnelStop = { m: "POST", p: "/tunnel/stop", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.tunnel_stop" };
|
|
231
|
+
function tunnelStop(api, args, options) {
|
|
232
|
+
return api.call($tunnelStop, args, options);
|
|
233
|
+
}
|
|
234
|
+
var $getSetupStatus = { m: "GET", p: "/setup/status", d: "matrx-local", a: "loopback_open", o: "exempt", n: "apps.get_setup_status" };
|
|
235
|
+
function getSetupStatus(api, args, options) {
|
|
236
|
+
return api.call($getSetupStatus, args, options);
|
|
237
|
+
}
|
|
238
|
+
var $runInstall = { m: "POST", p: "/setup/install", d: "matrx-local", a: "loopback_open", o: "exempt", s: "sse", n: "apps.run_install" };
|
|
239
|
+
function runInstall(api, args, options) {
|
|
240
|
+
return openStream(api, $runInstall, args, options);
|
|
241
|
+
}
|
|
242
|
+
var $installTranscription = { m: "POST", p: "/setup/install-transcription", d: "matrx-local", a: "loopback_open", o: "exempt", s: "sse", n: "apps.install_transcription" };
|
|
243
|
+
function installTranscription(api, args, options) {
|
|
244
|
+
return openStream(api, $installTranscription, args, options);
|
|
245
|
+
}
|
|
246
|
+
var $streamLogs = { m: "GET", p: "/setup/logs", d: "matrx-local", a: "loopback_open", o: "exempt", s: "sse", n: "apps.stream_logs" };
|
|
247
|
+
function streamLogs(api, args, options) {
|
|
248
|
+
return openStream(api, $streamLogs, args, options);
|
|
249
|
+
}
|
|
250
|
+
var $debugState = { m: "GET", p: "/setup/debug", d: "matrx-local", a: "loopback_open", o: "exempt", n: "apps.debug_state" };
|
|
251
|
+
function debugState(api, args, options) {
|
|
252
|
+
return api.call($debugState, args, options);
|
|
253
|
+
}
|
|
254
|
+
var $getContext = { m: "GET", p: "/platform/context", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.get_context" };
|
|
255
|
+
function getContext(api, args, options) {
|
|
256
|
+
return api.call($getContext, args, options);
|
|
257
|
+
}
|
|
258
|
+
var $refreshContext = { m: "POST", p: "/platform/context/refresh", d: "matrx-local", a: "loopback_token", o: "exempt", n: "apps.refresh_context" };
|
|
259
|
+
function refreshContext(api, args, options) {
|
|
260
|
+
return api.call($refreshContext, args, options);
|
|
261
|
+
}
|
|
262
|
+
var TABLE = {
|
|
263
|
+
"GET /catalogs/{app}": $getAppCatalog,
|
|
264
|
+
"GET /catalogs/{app}/{kind}": $getAppCatalogKind,
|
|
265
|
+
"POST /catalog-resolver/resolve": $resolve,
|
|
266
|
+
"GET /desktop-instances/": $desktopInstancesListDesktopInstances,
|
|
267
|
+
"GET /desktop-instances": $desktopInstancesListDesktopInstancesGet,
|
|
268
|
+
"GET /authenticator": $listAuthenticators,
|
|
269
|
+
"GET /authenticator/{credential_item_id}": $getAuthenticator,
|
|
270
|
+
"DELETE /authenticator/{credential_item_id}": $deleteAuthenticator,
|
|
271
|
+
"GET /authenticator/{credential_item_id}/code": $getAuthenticatorCode,
|
|
272
|
+
"POST /authenticator/enroll": $enroll,
|
|
273
|
+
"POST /authenticator/enroll/qr": $enrollQr,
|
|
274
|
+
"PUT /authenticator/{credential_item_id}/enabled": $setEnabled,
|
|
275
|
+
"GET /admin/status": $adminStatus,
|
|
276
|
+
"GET /admin/recovery": $adminRecoveryStatus,
|
|
277
|
+
"POST /admin/recovery/{service_name}": $adminRecoverService,
|
|
278
|
+
"POST /admin/shutdown": $adminShutdown,
|
|
279
|
+
"POST /admin/refresh-config": $adminRefreshConfig,
|
|
280
|
+
"POST /admin/refresh-catalogs": $adminRefreshCatalogs,
|
|
281
|
+
"POST /admin/diagnose": $adminDiagnose,
|
|
282
|
+
"GET /catalogs/{kind}": $getCatalogKind,
|
|
283
|
+
"GET /": $root,
|
|
284
|
+
"GET /health": $health,
|
|
285
|
+
"GET /version": $version,
|
|
286
|
+
"POST /trigger": $triggerEvent,
|
|
287
|
+
"GET /actions/needed": $actionNeededSnapshots,
|
|
288
|
+
"GET /settings": $getSettings,
|
|
289
|
+
"PUT /settings": $updateSettings,
|
|
290
|
+
"GET /settings/forbidden-urls": $getForbiddenUrls,
|
|
291
|
+
"POST /settings/forbidden-urls": $addForbiddenUrl,
|
|
292
|
+
"PUT /settings/forbidden-urls": $replaceForbiddenUrls,
|
|
293
|
+
"DELETE /settings/forbidden-urls/{url}": $removeForbiddenUrl,
|
|
294
|
+
"GET /settings/wake-word": $getWakeWordSettings,
|
|
295
|
+
"PUT /settings/wake-word": $saveWakeWordSettings,
|
|
296
|
+
"GET /settings/paths": $getPaths,
|
|
297
|
+
"PUT /settings/paths/{name}": $updatePath,
|
|
298
|
+
"DELETE /settings/paths/{name}": $resetPathToDefault,
|
|
299
|
+
"GET /settings/paths/{name}/stats": $getPathStats,
|
|
300
|
+
"GET /settings/api-keys": $listApiKeyStatus,
|
|
301
|
+
"GET /settings/api-keys/huggingface/value": $getHuggingfaceTokenValue,
|
|
302
|
+
"PUT /settings/api-keys/{provider}": $setApiKey,
|
|
303
|
+
"DELETE /settings/api-keys/{provider}": $deleteApiKey,
|
|
304
|
+
"POST /settings/api-keys/bulk": $setApiKeysBulk,
|
|
305
|
+
"POST /settings/api-keys/{provider}/validate": $validateApiKey,
|
|
306
|
+
"POST /settings/api-keys/validate-all": $validateAllApiKeys,
|
|
307
|
+
"GET /settings/api-keys/vault": $getVaultKeySource,
|
|
308
|
+
"POST /settings/api-keys/vault/refresh": $refreshVaultKeySource,
|
|
309
|
+
"POST /settings/api-keys/vault/import": $importVaultKey,
|
|
310
|
+
"GET /access/health": $accessHealth,
|
|
311
|
+
"POST /access/recheck": $accessRecheck,
|
|
312
|
+
"POST /access/reset": $accessReset,
|
|
313
|
+
"GET /capabilities": $getCapabilities,
|
|
314
|
+
"POST /capabilities/install": $installCapability,
|
|
315
|
+
"GET /capabilities/install/status": $getInstallStatus,
|
|
316
|
+
"GET /tunnel/status": $tunnelStatus,
|
|
317
|
+
"POST /tunnel/start": $tunnelStart,
|
|
318
|
+
"POST /tunnel/stop": $tunnelStop,
|
|
319
|
+
"GET /setup/status": $getSetupStatus,
|
|
320
|
+
"GET /setup/debug": $debugState,
|
|
321
|
+
"GET /platform/context": $getContext,
|
|
322
|
+
"POST /platform/context/refresh": $refreshContext
|
|
323
|
+
};
|
|
324
|
+
function call(api, key, args, options) {
|
|
325
|
+
return api.call(TABLE[key], args, options);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export { accessHealth, accessRecheck, accessReset, actionNeededSnapshots, addForbiddenUrl, adminDiagnose, adminRecoverService, adminRecoveryStatus, adminRefreshCatalogs, adminRefreshConfig, adminShutdown, adminStatus, call, debugState, deleteApiKey, deleteAuthenticator, desktopInstancesListDesktopInstances, desktopInstancesListDesktopInstancesGet, enroll, enrollQr, getAppCatalog, getAppCatalogKind, getAuthenticator, getAuthenticatorCode, getCapabilities, getCatalogKind, getContext, getForbiddenUrls, getHuggingfaceTokenValue, getInstallStatus, getPathStats, getPaths, getSettings, getSetupStatus, getVaultKeySource, getWakeWordSettings, health, importVaultKey, installCapability, installTranscription, listApiKeyStatus, listAuthenticators, refreshContext, refreshVaultKeySource, removeForbiddenUrl, replaceForbiddenUrls, resetPathToDefault, resolve, root, runInstall, saveWakeWordSettings, setApiKey, setApiKeysBulk, setEnabled, streamInstallProgress, streamLogs, triggerEvent, tunnelStart, tunnelStatus, tunnelStop, updatePath, updateSettings, validateAllApiKeys, validateApiKey, version };
|