@ai-matrx/api 0.1.24 → 0.1.25
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 +93 -41
- package/dist/architecture.d.cts +232 -40
- package/dist/architecture.d.ts +232 -40
- package/dist/architecture.js +72 -29
- 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-3HS6725N.js +186 -0
- package/dist/{chunk-ZOZOF5DN.cjs → chunk-HM5A33QV.cjs} +1 -1
- package/dist/chunk-HPR4EWCK.cjs +224 -0
- package/dist/chunk-OAPV5ZK5.js +1107 -0
- package/dist/{chunk-E3PGCGP7.js → chunk-OYD4PTWW.js} +1 -1
- package/dist/chunk-PFEPI7C3.js +128 -0
- package/dist/chunk-SZMLSYJK.cjs +1334 -0
- package/dist/chunk-UOIMSC67.cjs +154 -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 +2 -2
- package/dist/files.d.ts +2 -2
- 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-BluxzzHL.d.cts} +2 -2
- package/dist/{index-BgjdVvrS.d.ts → index-BluxzzHL.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 +15 -4
package/dist/platform.cjs
CHANGED
|
@@ -1,155 +1,108 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUOIMSC67_cjs = require('./chunk-UOIMSC67.cjs');
|
|
4
|
+
require('./chunk-HM5A33QV.cjs');
|
|
4
5
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
6
|
|
|
6
|
-
// src/generated/platform.ts
|
|
7
|
-
var $initiateOauth = { m: "GET", p: "/auth/aimatrx", d: "aidream", a: "public", o: "exempt", n: "platform.initiate_oauth" };
|
|
8
|
-
function initiateOauth(api, args, options) {
|
|
9
|
-
return api.call($initiateOauth, args, options);
|
|
10
|
-
}
|
|
11
|
-
var $oauthCallback = { m: "GET", p: "/auth/callback", d: "aidream", a: "public", o: "exempt", n: "platform.oauth_callback" };
|
|
12
|
-
function oauthCallback(api, args, options) {
|
|
13
|
-
return api.call($oauthCallback, args, options);
|
|
14
|
-
}
|
|
15
|
-
var $exchangeSessionHandoff = { m: "POST", p: "/auth/session/exchange", d: "aidream", a: "public", o: "exempt", n: "platform.exchange_session_handoff" };
|
|
16
|
-
function exchangeSessionHandoff(api, args, options) {
|
|
17
|
-
return api.call($exchangeSessionHandoff, args, options);
|
|
18
|
-
}
|
|
19
|
-
var $openGuestSession = { m: "POST", p: "/auth/guest/session", d: "aidream", a: "public", o: "exempt", n: "platform.open_guest_session" };
|
|
20
|
-
function openGuestSession(api, args, options) {
|
|
21
|
-
return api.call($openGuestSession, args, options);
|
|
22
|
-
}
|
|
23
|
-
var $reportOauthIncident = { m: "POST", p: "/auth/session/oauth-incident", d: "aidream", a: "public", o: "exempt", n: "platform.report_oauth_incident" };
|
|
24
|
-
function reportOauthIncident(api, args, options) {
|
|
25
|
-
return api.call($reportOauthIncident, args, options);
|
|
26
|
-
}
|
|
27
|
-
var $currentFileSessionStatus = { m: "GET", p: "/auth/file-session/status", d: "aidream", a: "guest", o: "exempt", n: "platform.current_file_session_status" };
|
|
28
|
-
function currentFileSessionStatus(api, args, options) {
|
|
29
|
-
return api.call($currentFileSessionStatus, args, options);
|
|
30
|
-
}
|
|
31
|
-
var $currentSessionStatus = { m: "GET", p: "/auth/session/status", d: "aidream", a: "guest", o: "exempt", n: "platform.current_session_status" };
|
|
32
|
-
function currentSessionStatus(api, args, options) {
|
|
33
|
-
return api.call($currentSessionStatus, args, options);
|
|
34
|
-
}
|
|
35
|
-
var $whoami = { m: "GET", p: "/auth/whoami", d: "aidream", a: "guest", o: "exempt", n: "platform.whoami" };
|
|
36
|
-
function whoami(api, args, options) {
|
|
37
|
-
return api.call($whoami, args, options);
|
|
38
|
-
}
|
|
39
|
-
var $listMyOrganizations = { m: "GET", p: "/auth/organizations", d: "aidream", a: "guest", o: "exempt", n: "platform.list_my_organizations" };
|
|
40
|
-
function listMyOrganizations(api, args, options) {
|
|
41
|
-
return api.call($listMyOrganizations, args, options);
|
|
42
|
-
}
|
|
43
|
-
var $getAppConfig = { m: "GET", p: "/app-config/{app}", d: "aidream", a: "guest", o: "optional", n: "platform.get_app_config" };
|
|
44
|
-
function getAppConfig(api, args, options) {
|
|
45
|
-
return api.call($getAppConfig, args, options);
|
|
46
|
-
}
|
|
47
|
-
var $publishDictionary = { m: "POST", p: "/dictionary/publish", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "platform.publish_dictionary" };
|
|
48
|
-
function publishDictionary(api, args, options) {
|
|
49
|
-
return chunkZOZOF5DN_cjs.openStream(api, $publishDictionary, args, options);
|
|
50
|
-
}
|
|
51
|
-
var $listPublications = { m: "GET", p: "/dictionary/publications", d: "aidream", a: "guest", o: "exempt", n: "platform.list_publications" };
|
|
52
|
-
function listPublications(api, args, options) {
|
|
53
|
-
return api.call($listPublications, args, options);
|
|
54
|
-
}
|
|
55
|
-
var $onSignIn = { m: "POST", p: "/auth/on-sign-in", d: "aidream", a: "guest", o: "exempt", n: "platform.on_sign_in" };
|
|
56
|
-
function onSignIn(api, args, options) {
|
|
57
|
-
return api.call($onSignIn, args, options);
|
|
58
|
-
}
|
|
59
|
-
var $devLoginAs = { m: "POST", p: "/dev/login-as", d: "aidream", a: "guest", o: "required", n: "platform.dev_login_as" };
|
|
60
|
-
function devLoginAs(api, args, options) {
|
|
61
|
-
return api.call($devLoginAs, args, options);
|
|
62
|
-
}
|
|
63
|
-
var $listChecks = { m: "GET", p: "/proof-runs/checks", d: "aidream", a: "admin", o: "optional", n: "platform.list_checks" };
|
|
64
|
-
function listChecks(api, args, options) {
|
|
65
|
-
return api.call($listChecks, args, options);
|
|
66
|
-
}
|
|
67
|
-
var $getCheck = { m: "GET", p: "/proof-runs/checks/{slug}", d: "aidream", a: "admin", o: "optional", n: "platform.get_check" };
|
|
68
|
-
function getCheck(api, args, options) {
|
|
69
|
-
return api.call($getCheck, args, options);
|
|
70
|
-
}
|
|
71
|
-
var $runCheck = { m: "POST", p: "/proof-runs/checks/{slug}/run", d: "aidream", a: "admin", o: "required", s: "ndjson", n: "platform.run_check" };
|
|
72
|
-
function runCheck(api, args, options) {
|
|
73
|
-
return chunkZOZOF5DN_cjs.openStream(api, $runCheck, args, options);
|
|
74
|
-
}
|
|
75
|
-
var $listRecentRuns = { m: "GET", p: "/proof-runs/runs", d: "aidream", a: "admin", o: "optional", n: "platform.list_recent_runs" };
|
|
76
|
-
function listRecentRuns(api, args, options) {
|
|
77
|
-
return api.call($listRecentRuns, args, options);
|
|
78
|
-
}
|
|
79
|
-
var $getRunDetail = { m: "GET", p: "/proof-runs/runs/{run_id}", d: "aidream", a: "admin", o: "optional", n: "platform.get_run_detail" };
|
|
80
|
-
function getRunDetail(api, args, options) {
|
|
81
|
-
return api.call($getRunDetail, args, options);
|
|
82
|
-
}
|
|
83
|
-
var $listScenarios = { m: "GET", p: "/proof-runs/scenarios", d: "aidream", a: "admin", o: "optional", n: "platform.list_scenarios" };
|
|
84
|
-
function listScenarios(api, args, options) {
|
|
85
|
-
return api.call($listScenarios, args, options);
|
|
86
|
-
}
|
|
87
|
-
var $saveScenario = { m: "PUT", p: "/proof-runs/scenarios/{slug}", d: "aidream", a: "admin", o: "required", n: "platform.save_scenario" };
|
|
88
|
-
function saveScenario(api, args, options) {
|
|
89
|
-
return api.call($saveScenario, args, options);
|
|
90
|
-
}
|
|
91
|
-
var $deleteScenario = { m: "DELETE", p: "/proof-runs/scenarios/{slug}", d: "aidream", a: "admin", o: "required", n: "platform.delete_scenario" };
|
|
92
|
-
function deleteScenario(api, args, options) {
|
|
93
|
-
return api.call($deleteScenario, args, options);
|
|
94
|
-
}
|
|
95
|
-
var $mandateCatalog = { m: "GET", p: "/proof-runs/mandate-catalog", d: "aidream", a: "admin", o: "optional", n: "platform.mandate_catalog" };
|
|
96
|
-
function mandateCatalog(api, args, options) {
|
|
97
|
-
return api.call($mandateCatalog, args, options);
|
|
98
|
-
}
|
|
99
|
-
var $sendRefreshRequired = { m: "POST", p: "/admin/client-directives/refresh-required", d: "aidream", a: "admin", o: "exempt", n: "platform.send_refresh_required" };
|
|
100
|
-
function sendRefreshRequired(api, args, options) {
|
|
101
|
-
return api.call($sendRefreshRequired, args, options);
|
|
102
|
-
}
|
|
103
|
-
var TABLE = {
|
|
104
|
-
"GET /auth/aimatrx": $initiateOauth,
|
|
105
|
-
"GET /auth/callback": $oauthCallback,
|
|
106
|
-
"POST /auth/session/exchange": $exchangeSessionHandoff,
|
|
107
|
-
"POST /auth/guest/session": $openGuestSession,
|
|
108
|
-
"POST /auth/session/oauth-incident": $reportOauthIncident,
|
|
109
|
-
"GET /auth/file-session/status": $currentFileSessionStatus,
|
|
110
|
-
"GET /auth/session/status": $currentSessionStatus,
|
|
111
|
-
"GET /auth/whoami": $whoami,
|
|
112
|
-
"GET /auth/organizations": $listMyOrganizations,
|
|
113
|
-
"GET /app-config/{app}": $getAppConfig,
|
|
114
|
-
"GET /dictionary/publications": $listPublications,
|
|
115
|
-
"POST /auth/on-sign-in": $onSignIn,
|
|
116
|
-
"POST /dev/login-as": $devLoginAs,
|
|
117
|
-
"GET /proof-runs/checks": $listChecks,
|
|
118
|
-
"GET /proof-runs/checks/{slug}": $getCheck,
|
|
119
|
-
"GET /proof-runs/runs": $listRecentRuns,
|
|
120
|
-
"GET /proof-runs/runs/{run_id}": $getRunDetail,
|
|
121
|
-
"GET /proof-runs/scenarios": $listScenarios,
|
|
122
|
-
"PUT /proof-runs/scenarios/{slug}": $saveScenario,
|
|
123
|
-
"DELETE /proof-runs/scenarios/{slug}": $deleteScenario,
|
|
124
|
-
"GET /proof-runs/mandate-catalog": $mandateCatalog,
|
|
125
|
-
"POST /admin/client-directives/refresh-required": $sendRefreshRequired
|
|
126
|
-
};
|
|
127
|
-
function call(api, key, args, options) {
|
|
128
|
-
return api.call(TABLE[key], args, options);
|
|
129
|
-
}
|
|
130
7
|
|
|
131
|
-
|
|
132
|
-
exports
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
exports
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
exports
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
exports
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
exports
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
exports
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "call", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkUOIMSC67_cjs.call; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "currentFileSessionStatus", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkUOIMSC67_cjs.currentFileSessionStatus; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "currentSessionStatus", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkUOIMSC67_cjs.currentSessionStatus; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "deleteScenario", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunkUOIMSC67_cjs.deleteScenario; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "devLoginAs", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunkUOIMSC67_cjs.devLoginAs; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "exchangeSessionHandoff", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return chunkUOIMSC67_cjs.exchangeSessionHandoff; }
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "getAppConfig", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return chunkUOIMSC67_cjs.getAppConfig; }
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "getCheck", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return chunkUOIMSC67_cjs.getCheck; }
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports, "getRunDetail", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function () { return chunkUOIMSC67_cjs.getRunDetail; }
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, "initiateOauth", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () { return chunkUOIMSC67_cjs.initiateOauth; }
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "listChecks", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () { return chunkUOIMSC67_cjs.listChecks; }
|
|
52
|
+
});
|
|
53
|
+
Object.defineProperty(exports, "listMyOrganizations", {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
get: function () { return chunkUOIMSC67_cjs.listMyOrganizations; }
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(exports, "listPublications", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () { return chunkUOIMSC67_cjs.listPublications; }
|
|
60
|
+
});
|
|
61
|
+
Object.defineProperty(exports, "listRecentRuns", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () { return chunkUOIMSC67_cjs.listRecentRuns; }
|
|
64
|
+
});
|
|
65
|
+
Object.defineProperty(exports, "listScenarios", {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () { return chunkUOIMSC67_cjs.listScenarios; }
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(exports, "mandateCatalog", {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
get: function () { return chunkUOIMSC67_cjs.mandateCatalog; }
|
|
72
|
+
});
|
|
73
|
+
Object.defineProperty(exports, "oauthCallback", {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () { return chunkUOIMSC67_cjs.oauthCallback; }
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(exports, "onSignIn", {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function () { return chunkUOIMSC67_cjs.onSignIn; }
|
|
80
|
+
});
|
|
81
|
+
Object.defineProperty(exports, "openGuestSession", {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function () { return chunkUOIMSC67_cjs.openGuestSession; }
|
|
84
|
+
});
|
|
85
|
+
Object.defineProperty(exports, "publishDictionary", {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
get: function () { return chunkUOIMSC67_cjs.publishDictionary; }
|
|
88
|
+
});
|
|
89
|
+
Object.defineProperty(exports, "reportOauthIncident", {
|
|
90
|
+
enumerable: true,
|
|
91
|
+
get: function () { return chunkUOIMSC67_cjs.reportOauthIncident; }
|
|
92
|
+
});
|
|
93
|
+
Object.defineProperty(exports, "runCheck", {
|
|
94
|
+
enumerable: true,
|
|
95
|
+
get: function () { return chunkUOIMSC67_cjs.runCheck; }
|
|
96
|
+
});
|
|
97
|
+
Object.defineProperty(exports, "saveScenario", {
|
|
98
|
+
enumerable: true,
|
|
99
|
+
get: function () { return chunkUOIMSC67_cjs.saveScenario; }
|
|
100
|
+
});
|
|
101
|
+
Object.defineProperty(exports, "sendRefreshRequired", {
|
|
102
|
+
enumerable: true,
|
|
103
|
+
get: function () { return chunkUOIMSC67_cjs.sendRefreshRequired; }
|
|
104
|
+
});
|
|
105
|
+
Object.defineProperty(exports, "whoami", {
|
|
106
|
+
enumerable: true,
|
|
107
|
+
get: function () { return chunkUOIMSC67_cjs.whoami; }
|
|
108
|
+
});
|
package/dist/platform.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BluxzzHL.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 118778e288a723f4114c0f189d3f0d25d8f399fdb49d9bbac475b5fcb9d808f6
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AppConfigResponse */
|
package/dist/platform.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BluxzzHL.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 118778e288a723f4114c0f189d3f0d25d8f399fdb49d9bbac475b5fcb9d808f6
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AppConfigResponse */
|
package/dist/platform.js
CHANGED
|
@@ -1,129 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
export { call, currentFileSessionStatus, currentSessionStatus, deleteScenario, devLoginAs, exchangeSessionHandoff, getAppConfig, getCheck, getRunDetail, initiateOauth, listChecks, listMyOrganizations, listPublications, listRecentRuns, listScenarios, mandateCatalog, oauthCallback, onSignIn, openGuestSession, publishDictionary, reportOauthIncident, runCheck, saveScenario, sendRefreshRequired, whoami } from './chunk-PFEPI7C3.js';
|
|
2
|
+
import './chunk-OYD4PTWW.js';
|
|
2
3
|
import './chunk-KIEAFMKB.js';
|
|
3
|
-
|
|
4
|
-
// src/generated/platform.ts
|
|
5
|
-
var $initiateOauth = { m: "GET", p: "/auth/aimatrx", d: "aidream", a: "public", o: "exempt", n: "platform.initiate_oauth" };
|
|
6
|
-
function initiateOauth(api, args, options) {
|
|
7
|
-
return api.call($initiateOauth, args, options);
|
|
8
|
-
}
|
|
9
|
-
var $oauthCallback = { m: "GET", p: "/auth/callback", d: "aidream", a: "public", o: "exempt", n: "platform.oauth_callback" };
|
|
10
|
-
function oauthCallback(api, args, options) {
|
|
11
|
-
return api.call($oauthCallback, args, options);
|
|
12
|
-
}
|
|
13
|
-
var $exchangeSessionHandoff = { m: "POST", p: "/auth/session/exchange", d: "aidream", a: "public", o: "exempt", n: "platform.exchange_session_handoff" };
|
|
14
|
-
function exchangeSessionHandoff(api, args, options) {
|
|
15
|
-
return api.call($exchangeSessionHandoff, args, options);
|
|
16
|
-
}
|
|
17
|
-
var $openGuestSession = { m: "POST", p: "/auth/guest/session", d: "aidream", a: "public", o: "exempt", n: "platform.open_guest_session" };
|
|
18
|
-
function openGuestSession(api, args, options) {
|
|
19
|
-
return api.call($openGuestSession, args, options);
|
|
20
|
-
}
|
|
21
|
-
var $reportOauthIncident = { m: "POST", p: "/auth/session/oauth-incident", d: "aidream", a: "public", o: "exempt", n: "platform.report_oauth_incident" };
|
|
22
|
-
function reportOauthIncident(api, args, options) {
|
|
23
|
-
return api.call($reportOauthIncident, args, options);
|
|
24
|
-
}
|
|
25
|
-
var $currentFileSessionStatus = { m: "GET", p: "/auth/file-session/status", d: "aidream", a: "guest", o: "exempt", n: "platform.current_file_session_status" };
|
|
26
|
-
function currentFileSessionStatus(api, args, options) {
|
|
27
|
-
return api.call($currentFileSessionStatus, args, options);
|
|
28
|
-
}
|
|
29
|
-
var $currentSessionStatus = { m: "GET", p: "/auth/session/status", d: "aidream", a: "guest", o: "exempt", n: "platform.current_session_status" };
|
|
30
|
-
function currentSessionStatus(api, args, options) {
|
|
31
|
-
return api.call($currentSessionStatus, args, options);
|
|
32
|
-
}
|
|
33
|
-
var $whoami = { m: "GET", p: "/auth/whoami", d: "aidream", a: "guest", o: "exempt", n: "platform.whoami" };
|
|
34
|
-
function whoami(api, args, options) {
|
|
35
|
-
return api.call($whoami, args, options);
|
|
36
|
-
}
|
|
37
|
-
var $listMyOrganizations = { m: "GET", p: "/auth/organizations", d: "aidream", a: "guest", o: "exempt", n: "platform.list_my_organizations" };
|
|
38
|
-
function listMyOrganizations(api, args, options) {
|
|
39
|
-
return api.call($listMyOrganizations, args, options);
|
|
40
|
-
}
|
|
41
|
-
var $getAppConfig = { m: "GET", p: "/app-config/{app}", d: "aidream", a: "guest", o: "optional", n: "platform.get_app_config" };
|
|
42
|
-
function getAppConfig(api, args, options) {
|
|
43
|
-
return api.call($getAppConfig, args, options);
|
|
44
|
-
}
|
|
45
|
-
var $publishDictionary = { m: "POST", p: "/dictionary/publish", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "platform.publish_dictionary" };
|
|
46
|
-
function publishDictionary(api, args, options) {
|
|
47
|
-
return openStream(api, $publishDictionary, args, options);
|
|
48
|
-
}
|
|
49
|
-
var $listPublications = { m: "GET", p: "/dictionary/publications", d: "aidream", a: "guest", o: "exempt", n: "platform.list_publications" };
|
|
50
|
-
function listPublications(api, args, options) {
|
|
51
|
-
return api.call($listPublications, args, options);
|
|
52
|
-
}
|
|
53
|
-
var $onSignIn = { m: "POST", p: "/auth/on-sign-in", d: "aidream", a: "guest", o: "exempt", n: "platform.on_sign_in" };
|
|
54
|
-
function onSignIn(api, args, options) {
|
|
55
|
-
return api.call($onSignIn, args, options);
|
|
56
|
-
}
|
|
57
|
-
var $devLoginAs = { m: "POST", p: "/dev/login-as", d: "aidream", a: "guest", o: "required", n: "platform.dev_login_as" };
|
|
58
|
-
function devLoginAs(api, args, options) {
|
|
59
|
-
return api.call($devLoginAs, args, options);
|
|
60
|
-
}
|
|
61
|
-
var $listChecks = { m: "GET", p: "/proof-runs/checks", d: "aidream", a: "admin", o: "optional", n: "platform.list_checks" };
|
|
62
|
-
function listChecks(api, args, options) {
|
|
63
|
-
return api.call($listChecks, args, options);
|
|
64
|
-
}
|
|
65
|
-
var $getCheck = { m: "GET", p: "/proof-runs/checks/{slug}", d: "aidream", a: "admin", o: "optional", n: "platform.get_check" };
|
|
66
|
-
function getCheck(api, args, options) {
|
|
67
|
-
return api.call($getCheck, args, options);
|
|
68
|
-
}
|
|
69
|
-
var $runCheck = { m: "POST", p: "/proof-runs/checks/{slug}/run", d: "aidream", a: "admin", o: "required", s: "ndjson", n: "platform.run_check" };
|
|
70
|
-
function runCheck(api, args, options) {
|
|
71
|
-
return openStream(api, $runCheck, args, options);
|
|
72
|
-
}
|
|
73
|
-
var $listRecentRuns = { m: "GET", p: "/proof-runs/runs", d: "aidream", a: "admin", o: "optional", n: "platform.list_recent_runs" };
|
|
74
|
-
function listRecentRuns(api, args, options) {
|
|
75
|
-
return api.call($listRecentRuns, args, options);
|
|
76
|
-
}
|
|
77
|
-
var $getRunDetail = { m: "GET", p: "/proof-runs/runs/{run_id}", d: "aidream", a: "admin", o: "optional", n: "platform.get_run_detail" };
|
|
78
|
-
function getRunDetail(api, args, options) {
|
|
79
|
-
return api.call($getRunDetail, args, options);
|
|
80
|
-
}
|
|
81
|
-
var $listScenarios = { m: "GET", p: "/proof-runs/scenarios", d: "aidream", a: "admin", o: "optional", n: "platform.list_scenarios" };
|
|
82
|
-
function listScenarios(api, args, options) {
|
|
83
|
-
return api.call($listScenarios, args, options);
|
|
84
|
-
}
|
|
85
|
-
var $saveScenario = { m: "PUT", p: "/proof-runs/scenarios/{slug}", d: "aidream", a: "admin", o: "required", n: "platform.save_scenario" };
|
|
86
|
-
function saveScenario(api, args, options) {
|
|
87
|
-
return api.call($saveScenario, args, options);
|
|
88
|
-
}
|
|
89
|
-
var $deleteScenario = { m: "DELETE", p: "/proof-runs/scenarios/{slug}", d: "aidream", a: "admin", o: "required", n: "platform.delete_scenario" };
|
|
90
|
-
function deleteScenario(api, args, options) {
|
|
91
|
-
return api.call($deleteScenario, args, options);
|
|
92
|
-
}
|
|
93
|
-
var $mandateCatalog = { m: "GET", p: "/proof-runs/mandate-catalog", d: "aidream", a: "admin", o: "optional", n: "platform.mandate_catalog" };
|
|
94
|
-
function mandateCatalog(api, args, options) {
|
|
95
|
-
return api.call($mandateCatalog, args, options);
|
|
96
|
-
}
|
|
97
|
-
var $sendRefreshRequired = { m: "POST", p: "/admin/client-directives/refresh-required", d: "aidream", a: "admin", o: "exempt", n: "platform.send_refresh_required" };
|
|
98
|
-
function sendRefreshRequired(api, args, options) {
|
|
99
|
-
return api.call($sendRefreshRequired, args, options);
|
|
100
|
-
}
|
|
101
|
-
var TABLE = {
|
|
102
|
-
"GET /auth/aimatrx": $initiateOauth,
|
|
103
|
-
"GET /auth/callback": $oauthCallback,
|
|
104
|
-
"POST /auth/session/exchange": $exchangeSessionHandoff,
|
|
105
|
-
"POST /auth/guest/session": $openGuestSession,
|
|
106
|
-
"POST /auth/session/oauth-incident": $reportOauthIncident,
|
|
107
|
-
"GET /auth/file-session/status": $currentFileSessionStatus,
|
|
108
|
-
"GET /auth/session/status": $currentSessionStatus,
|
|
109
|
-
"GET /auth/whoami": $whoami,
|
|
110
|
-
"GET /auth/organizations": $listMyOrganizations,
|
|
111
|
-
"GET /app-config/{app}": $getAppConfig,
|
|
112
|
-
"GET /dictionary/publications": $listPublications,
|
|
113
|
-
"POST /auth/on-sign-in": $onSignIn,
|
|
114
|
-
"POST /dev/login-as": $devLoginAs,
|
|
115
|
-
"GET /proof-runs/checks": $listChecks,
|
|
116
|
-
"GET /proof-runs/checks/{slug}": $getCheck,
|
|
117
|
-
"GET /proof-runs/runs": $listRecentRuns,
|
|
118
|
-
"GET /proof-runs/runs/{run_id}": $getRunDetail,
|
|
119
|
-
"GET /proof-runs/scenarios": $listScenarios,
|
|
120
|
-
"PUT /proof-runs/scenarios/{slug}": $saveScenario,
|
|
121
|
-
"DELETE /proof-runs/scenarios/{slug}": $deleteScenario,
|
|
122
|
-
"GET /proof-runs/mandate-catalog": $mandateCatalog,
|
|
123
|
-
"POST /admin/client-directives/refresh-required": $sendRefreshRequired
|
|
124
|
-
};
|
|
125
|
-
function call(api, key, args, options) {
|
|
126
|
-
return api.call(TABLE[key], args, options);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export { call, currentFileSessionStatus, currentSessionStatus, deleteScenario, devLoginAs, exchangeSessionHandoff, getAppConfig, getCheck, getRunDetail, initiateOauth, listChecks, listMyOrganizations, listPublications, listRecentRuns, listScenarios, mandateCatalog, oauthCallback, onSignIn, openGuestSession, publishDictionary, reportOauthIncident, runCheck, saveScenario, sendRefreshRequired, whoami };
|
package/dist/publish.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHM5A33QV_cjs = require('./chunk-HM5A33QV.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/publish.ts
|
|
@@ -126,19 +126,19 @@ function castPreviewEndpoint(api, args, options) {
|
|
|
126
126
|
}
|
|
127
127
|
var $generatePodcastEndpoint = { m: "POST", p: "/podcast/generate", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.generate_podcast_endpoint" };
|
|
128
128
|
function generatePodcastEndpoint(api, args, options) {
|
|
129
|
-
return
|
|
129
|
+
return chunkHM5A33QV_cjs.openStream(api, $generatePodcastEndpoint, args, options);
|
|
130
130
|
}
|
|
131
131
|
var $resumePodcastEndpoint = { m: "POST", p: "/podcast/resume/{run_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.resume_podcast_endpoint" };
|
|
132
132
|
function resumePodcastEndpoint(api, args, options) {
|
|
133
|
-
return
|
|
133
|
+
return chunkHM5A33QV_cjs.openStream(api, $resumePodcastEndpoint, args, options);
|
|
134
134
|
}
|
|
135
135
|
var $regenerateAsset = { m: "POST", p: "/podcast/runs/{run_id}/assets/regenerate", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.regenerate_asset" };
|
|
136
136
|
function regenerateAsset(api, args, options) {
|
|
137
|
-
return
|
|
137
|
+
return chunkHM5A33QV_cjs.openStream(api, $regenerateAsset, args, options);
|
|
138
138
|
}
|
|
139
139
|
var $addAsset = { m: "POST", p: "/podcast/runs/{run_id}/assets/add", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.add_asset" };
|
|
140
140
|
function addAsset(api, args, options) {
|
|
141
|
-
return
|
|
141
|
+
return chunkHM5A33QV_cjs.openStream(api, $addAsset, args, options);
|
|
142
142
|
}
|
|
143
143
|
var $reconcilePodcastRun = { m: "POST", p: "/podcast/runs/{run_id}/reconcile", d: "aidream", a: "guest", o: "required", n: "publish.reconcile_podcast_run" };
|
|
144
144
|
function reconcilePodcastRun(api, args, options) {
|
|
@@ -146,11 +146,11 @@ function reconcilePodcastRun(api, args, options) {
|
|
|
146
146
|
}
|
|
147
147
|
var $startRace = { m: "POST", p: "/podcast/races", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.start_race" };
|
|
148
148
|
function startRace(api, args, options) {
|
|
149
|
-
return
|
|
149
|
+
return chunkHM5A33QV_cjs.openStream(api, $startRace, args, options);
|
|
150
150
|
}
|
|
151
151
|
var $rerunRaceArm = { m: "POST", p: "/podcast/races/{race_id}/arms/{arm}/rerun", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.rerun_race_arm" };
|
|
152
152
|
function rerunRaceArm(api, args, options) {
|
|
153
|
-
return
|
|
153
|
+
return chunkHM5A33QV_cjs.openStream(api, $rerunRaceArm, args, options);
|
|
154
154
|
}
|
|
155
155
|
var $artifactContent = { m: "GET", p: "/artifacts/{artifact_id}/content", d: "matrx-local", a: "loopback_open", o: "exempt", n: "publish.artifact_content" };
|
|
156
156
|
function artifactContent(api, args, options) {
|
package/dist/publish.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BluxzzHL.cjs';
|
|
2
2
|
import { JsonValue, ContextAnchor, Asset } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 118778e288a723f4114c0f189d3f0d25d8f399fdb49d9bbac475b5fcb9d808f6
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AddAssetRequest */
|
package/dist/publish.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BluxzzHL.js';
|
|
2
2
|
import { JsonValue, ContextAnchor, Asset } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 118778e288a723f4114c0f189d3f0d25d8f399fdb49d9bbac475b5fcb9d808f6
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AddAssetRequest */
|
package/dist/publish.js
CHANGED