@ai-matrx/api 0.1.24 → 0.1.26
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 +10 -1
- 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 +2 -2
- package/dist/apps.d.ts +2 -2
- package/dist/apps.js +1 -1
- package/dist/architecture.cjs +92 -40
- package/dist/architecture.d.cts +236 -40
- package/dist/architecture.d.ts +236 -40
- package/dist/architecture.js +71 -28
- package/dist/audio.cjs +151 -220
- package/dist/audio.d.cts +2 -2
- package/dist/audio.d.ts +2 -2
- package/dist/audio.js +2 -186
- 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-6GYZDL2H.js +186 -0
- package/dist/chunk-76S6F7O3.cjs +224 -0
- package/dist/{chunk-ZOZOF5DN.cjs → chunk-BHSHMV22.cjs} +1 -1
- package/dist/chunk-G6FXF44G.js +128 -0
- package/dist/{chunk-E3PGCGP7.js → chunk-MFZXWYK6.js} +1 -1
- package/dist/chunk-MKN4EXSQ.cjs +1317 -0
- package/dist/chunk-OVQM6CSX.cjs +154 -0
- package/dist/chunk-OWI6FDHV.js +1090 -0
- package/dist/code.cjs +6 -6
- package/dist/code.d.cts +5 -4
- package/dist/code.d.ts +5 -4
- 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 +4 -2
- package/dist/communications.d.ts +4 -2
- package/dist/communications.js +1 -1
- package/dist/computer.cjs +4 -4
- package/dist/computer.d.cts +2 -2
- package/dist/computer.d.ts +2 -2
- package/dist/computer.js +1 -1
- package/dist/content.cjs +10 -4
- package/dist/content.d.cts +14 -3
- package/dist/content.d.ts +14 -3
- package/dist/content.js +7 -2
- 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 +50 -3
- package/dist/data.d.cts +199 -3
- package/dist/data.d.ts +199 -3
- package/dist/data.js +41 -2
- 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 +907 -1330
- package/dist/files.d.cts +36 -104
- package/dist/files.d.ts +36 -104
- package/dist/files.js +2 -1107
- package/dist/human-resources.d.cts +2 -2
- package/dist/human-resources.d.ts +2 -2
- package/dist/{index-BgjdVvrS.d.cts → index-DseWSnYe.d.cts} +2 -2
- package/dist/{index-BgjdVvrS.d.ts → index-DseWSnYe.d.ts} +2 -2
- package/dist/index.cjs +62 -58
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -3
- package/dist/integrations.cjs +51 -5
- package/dist/integrations.d.cts +136 -4
- package/dist/integrations.d.ts +136 -4
- package/dist/integrations.js +42 -4
- 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 +3 -3
- package/dist/knowledge.d.ts +3 -3
- 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 +97 -81
- package/dist/marketing.d.cts +81 -8
- package/dist/marketing.d.ts +81 -8
- package/dist/marketing.js +19 -6
- 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 +9 -9
- package/dist/media.d.ts +9 -9
- package/dist/media.js +1 -1
- package/dist/platform.cjs +103 -150
- package/dist/platform.d.cts +2 -2
- package/dist/platform.d.ts +2 -2
- package/dist/platform.js +2 -128
- 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/recording.cjs +278 -0
- package/dist/recording.d.cts +44 -0
- package/dist/recording.d.ts +44 -0
- package/dist/recording.js +275 -0
- package/dist/schemas.d.cts +4 -1
- package/dist/schemas.d.ts +4 -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 +735 -32
- package/dist/types.d.ts +735 -32
- package/dist/web.cjs +26 -26
- package/dist/web.d.cts +2 -2
- package/dist/web.d.ts +2 -2
- package/dist/web.js +1 -1
- package/dist/workflows.cjs +32 -14
- package/dist/workflows.d.cts +132 -40
- package/dist/workflows.d.ts +132 -40
- package/dist/workflows.js +18 -3
- package/package.json +14 -3
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkBHSHMV22_cjs = require('./chunk-BHSHMV22.cjs');
|
|
4
|
+
|
|
5
|
+
// src/generated/platform.ts
|
|
6
|
+
var $initiateOauth = { m: "GET", p: "/auth/aimatrx", d: "aidream", a: "public", o: "exempt", n: "platform.initiate_oauth" };
|
|
7
|
+
function initiateOauth(api, args, options) {
|
|
8
|
+
return api.call($initiateOauth, args, options);
|
|
9
|
+
}
|
|
10
|
+
var $oauthCallback = { m: "GET", p: "/auth/callback", d: "aidream", a: "public", o: "exempt", n: "platform.oauth_callback" };
|
|
11
|
+
function oauthCallback(api, args, options) {
|
|
12
|
+
return api.call($oauthCallback, args, options);
|
|
13
|
+
}
|
|
14
|
+
var $exchangeSessionHandoff = { m: "POST", p: "/auth/session/exchange", d: "aidream", a: "public", o: "exempt", n: "platform.exchange_session_handoff" };
|
|
15
|
+
function exchangeSessionHandoff(api, args, options) {
|
|
16
|
+
return api.call($exchangeSessionHandoff, args, options);
|
|
17
|
+
}
|
|
18
|
+
var $openGuestSession = { m: "POST", p: "/auth/guest/session", d: "aidream", a: "public", o: "exempt", n: "platform.open_guest_session" };
|
|
19
|
+
function openGuestSession(api, args, options) {
|
|
20
|
+
return api.call($openGuestSession, args, options);
|
|
21
|
+
}
|
|
22
|
+
var $reportOauthIncident = { m: "POST", p: "/auth/session/oauth-incident", d: "aidream", a: "public", o: "exempt", n: "platform.report_oauth_incident" };
|
|
23
|
+
function reportOauthIncident(api, args, options) {
|
|
24
|
+
return api.call($reportOauthIncident, args, options);
|
|
25
|
+
}
|
|
26
|
+
var $currentFileSessionStatus = { m: "GET", p: "/auth/file-session/status", d: "aidream", a: "guest", o: "exempt", n: "platform.current_file_session_status" };
|
|
27
|
+
function currentFileSessionStatus(api, args, options) {
|
|
28
|
+
return api.call($currentFileSessionStatus, args, options);
|
|
29
|
+
}
|
|
30
|
+
var $currentSessionStatus = { m: "GET", p: "/auth/session/status", d: "aidream", a: "guest", o: "exempt", n: "platform.current_session_status" };
|
|
31
|
+
function currentSessionStatus(api, args, options) {
|
|
32
|
+
return api.call($currentSessionStatus, args, options);
|
|
33
|
+
}
|
|
34
|
+
var $whoami = { m: "GET", p: "/auth/whoami", d: "aidream", a: "guest", o: "exempt", n: "platform.whoami" };
|
|
35
|
+
function whoami(api, args, options) {
|
|
36
|
+
return api.call($whoami, args, options);
|
|
37
|
+
}
|
|
38
|
+
var $listMyOrganizations = { m: "GET", p: "/auth/organizations", d: "aidream", a: "guest", o: "exempt", n: "platform.list_my_organizations" };
|
|
39
|
+
function listMyOrganizations(api, args, options) {
|
|
40
|
+
return api.call($listMyOrganizations, args, options);
|
|
41
|
+
}
|
|
42
|
+
var $getAppConfig = { m: "GET", p: "/app-config/{app}", d: "aidream", a: "guest", o: "optional", n: "platform.get_app_config" };
|
|
43
|
+
function getAppConfig(api, args, options) {
|
|
44
|
+
return api.call($getAppConfig, args, options);
|
|
45
|
+
}
|
|
46
|
+
var $publishDictionary = { m: "POST", p: "/dictionary/publish", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "platform.publish_dictionary" };
|
|
47
|
+
function publishDictionary(api, args, options) {
|
|
48
|
+
return chunkBHSHMV22_cjs.openStream(api, $publishDictionary, args, options);
|
|
49
|
+
}
|
|
50
|
+
var $listPublications = { m: "GET", p: "/dictionary/publications", d: "aidream", a: "guest", o: "exempt", n: "platform.list_publications" };
|
|
51
|
+
function listPublications(api, args, options) {
|
|
52
|
+
return api.call($listPublications, args, options);
|
|
53
|
+
}
|
|
54
|
+
var $onSignIn = { m: "POST", p: "/auth/on-sign-in", d: "aidream", a: "guest", o: "exempt", n: "platform.on_sign_in" };
|
|
55
|
+
function onSignIn(api, args, options) {
|
|
56
|
+
return api.call($onSignIn, args, options);
|
|
57
|
+
}
|
|
58
|
+
var $devLoginAs = { m: "POST", p: "/dev/login-as", d: "aidream", a: "guest", o: "required", n: "platform.dev_login_as" };
|
|
59
|
+
function devLoginAs(api, args, options) {
|
|
60
|
+
return api.call($devLoginAs, args, options);
|
|
61
|
+
}
|
|
62
|
+
var $listChecks = { m: "GET", p: "/proof-runs/checks", d: "aidream", a: "admin", o: "optional", n: "platform.list_checks" };
|
|
63
|
+
function listChecks(api, args, options) {
|
|
64
|
+
return api.call($listChecks, args, options);
|
|
65
|
+
}
|
|
66
|
+
var $getCheck = { m: "GET", p: "/proof-runs/checks/{slug}", d: "aidream", a: "admin", o: "optional", n: "platform.get_check" };
|
|
67
|
+
function getCheck(api, args, options) {
|
|
68
|
+
return api.call($getCheck, args, options);
|
|
69
|
+
}
|
|
70
|
+
var $runCheck = { m: "POST", p: "/proof-runs/checks/{slug}/run", d: "aidream", a: "admin", o: "required", s: "ndjson", n: "platform.run_check" };
|
|
71
|
+
function runCheck(api, args, options) {
|
|
72
|
+
return chunkBHSHMV22_cjs.openStream(api, $runCheck, args, options);
|
|
73
|
+
}
|
|
74
|
+
var $listRecentRuns = { m: "GET", p: "/proof-runs/runs", d: "aidream", a: "admin", o: "optional", n: "platform.list_recent_runs" };
|
|
75
|
+
function listRecentRuns(api, args, options) {
|
|
76
|
+
return api.call($listRecentRuns, args, options);
|
|
77
|
+
}
|
|
78
|
+
var $getRunDetail = { m: "GET", p: "/proof-runs/runs/{run_id}", d: "aidream", a: "admin", o: "optional", n: "platform.get_run_detail" };
|
|
79
|
+
function getRunDetail(api, args, options) {
|
|
80
|
+
return api.call($getRunDetail, args, options);
|
|
81
|
+
}
|
|
82
|
+
var $listScenarios = { m: "GET", p: "/proof-runs/scenarios", d: "aidream", a: "admin", o: "optional", n: "platform.list_scenarios" };
|
|
83
|
+
function listScenarios(api, args, options) {
|
|
84
|
+
return api.call($listScenarios, args, options);
|
|
85
|
+
}
|
|
86
|
+
var $saveScenario = { m: "PUT", p: "/proof-runs/scenarios/{slug}", d: "aidream", a: "admin", o: "required", n: "platform.save_scenario" };
|
|
87
|
+
function saveScenario(api, args, options) {
|
|
88
|
+
return api.call($saveScenario, args, options);
|
|
89
|
+
}
|
|
90
|
+
var $deleteScenario = { m: "DELETE", p: "/proof-runs/scenarios/{slug}", d: "aidream", a: "admin", o: "required", n: "platform.delete_scenario" };
|
|
91
|
+
function deleteScenario(api, args, options) {
|
|
92
|
+
return api.call($deleteScenario, args, options);
|
|
93
|
+
}
|
|
94
|
+
var $mandateCatalog = { m: "GET", p: "/proof-runs/mandate-catalog", d: "aidream", a: "admin", o: "optional", n: "platform.mandate_catalog" };
|
|
95
|
+
function mandateCatalog(api, args, options) {
|
|
96
|
+
return api.call($mandateCatalog, args, options);
|
|
97
|
+
}
|
|
98
|
+
var $sendRefreshRequired = { m: "POST", p: "/admin/client-directives/refresh-required", d: "aidream", a: "admin", o: "exempt", n: "platform.send_refresh_required" };
|
|
99
|
+
function sendRefreshRequired(api, args, options) {
|
|
100
|
+
return api.call($sendRefreshRequired, args, options);
|
|
101
|
+
}
|
|
102
|
+
var TABLE = {
|
|
103
|
+
"GET /auth/aimatrx": $initiateOauth,
|
|
104
|
+
"GET /auth/callback": $oauthCallback,
|
|
105
|
+
"POST /auth/session/exchange": $exchangeSessionHandoff,
|
|
106
|
+
"POST /auth/guest/session": $openGuestSession,
|
|
107
|
+
"POST /auth/session/oauth-incident": $reportOauthIncident,
|
|
108
|
+
"GET /auth/file-session/status": $currentFileSessionStatus,
|
|
109
|
+
"GET /auth/session/status": $currentSessionStatus,
|
|
110
|
+
"GET /auth/whoami": $whoami,
|
|
111
|
+
"GET /auth/organizations": $listMyOrganizations,
|
|
112
|
+
"GET /app-config/{app}": $getAppConfig,
|
|
113
|
+
"GET /dictionary/publications": $listPublications,
|
|
114
|
+
"POST /auth/on-sign-in": $onSignIn,
|
|
115
|
+
"POST /dev/login-as": $devLoginAs,
|
|
116
|
+
"GET /proof-runs/checks": $listChecks,
|
|
117
|
+
"GET /proof-runs/checks/{slug}": $getCheck,
|
|
118
|
+
"GET /proof-runs/runs": $listRecentRuns,
|
|
119
|
+
"GET /proof-runs/runs/{run_id}": $getRunDetail,
|
|
120
|
+
"GET /proof-runs/scenarios": $listScenarios,
|
|
121
|
+
"PUT /proof-runs/scenarios/{slug}": $saveScenario,
|
|
122
|
+
"DELETE /proof-runs/scenarios/{slug}": $deleteScenario,
|
|
123
|
+
"GET /proof-runs/mandate-catalog": $mandateCatalog,
|
|
124
|
+
"POST /admin/client-directives/refresh-required": $sendRefreshRequired
|
|
125
|
+
};
|
|
126
|
+
function call(api, key, args, options) {
|
|
127
|
+
return api.call(TABLE[key], args, options);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
exports.call = call;
|
|
131
|
+
exports.currentFileSessionStatus = currentFileSessionStatus;
|
|
132
|
+
exports.currentSessionStatus = currentSessionStatus;
|
|
133
|
+
exports.deleteScenario = deleteScenario;
|
|
134
|
+
exports.devLoginAs = devLoginAs;
|
|
135
|
+
exports.exchangeSessionHandoff = exchangeSessionHandoff;
|
|
136
|
+
exports.getAppConfig = getAppConfig;
|
|
137
|
+
exports.getCheck = getCheck;
|
|
138
|
+
exports.getRunDetail = getRunDetail;
|
|
139
|
+
exports.initiateOauth = initiateOauth;
|
|
140
|
+
exports.listChecks = listChecks;
|
|
141
|
+
exports.listMyOrganizations = listMyOrganizations;
|
|
142
|
+
exports.listPublications = listPublications;
|
|
143
|
+
exports.listRecentRuns = listRecentRuns;
|
|
144
|
+
exports.listScenarios = listScenarios;
|
|
145
|
+
exports.mandateCatalog = mandateCatalog;
|
|
146
|
+
exports.oauthCallback = oauthCallback;
|
|
147
|
+
exports.onSignIn = onSignIn;
|
|
148
|
+
exports.openGuestSession = openGuestSession;
|
|
149
|
+
exports.publishDictionary = publishDictionary;
|
|
150
|
+
exports.reportOauthIncident = reportOauthIncident;
|
|
151
|
+
exports.runCheck = runCheck;
|
|
152
|
+
exports.saveScenario = saveScenario;
|
|
153
|
+
exports.sendRefreshRequired = sendRefreshRequired;
|
|
154
|
+
exports.whoami = whoami;
|