@ai-matrx/api 0.1.31 → 0.1.32
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 +22 -1
- package/dist/account.d.cts +2 -2
- package/dist/account.d.ts +2 -2
- package/dist/agents.cjs +91 -13
- package/dist/agents.d.cts +444 -16
- package/dist/agents.d.ts +444 -16
- package/dist/agents.js +67 -2
- 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 +30 -12
- package/dist/architecture.d.cts +103 -5
- package/dist/architecture.d.ts +103 -5
- package/dist/architecture.js +17 -2
- package/dist/audio.cjs +39 -39
- package/dist/audio.d.cts +2 -2
- package/dist/audio.d.ts +2 -2
- package/dist/audio.js +2 -2
- 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-45PIBJ3K.cjs → chunk-27ZEEIXM.cjs} +1 -1
- package/dist/{chunk-MY5RKVCY.js → chunk-5TRUQNVW.js} +1 -1
- package/dist/{chunk-YRZAOYRE.js → chunk-DKJGWA5L.js} +1 -1
- package/dist/{chunk-7GMHDVF5.js → chunk-LYHAZQX5.js} +1 -1
- package/dist/{chunk-BO5HWECS.cjs → chunk-LYRANVIS.cjs} +3 -3
- package/dist/{chunk-QDFU72YV.cjs → chunk-TMEGWPWE.cjs} +37 -37
- package/dist/{chunk-FHHE5FNM.cjs → chunk-VK5BH6FK.cjs} +4 -4
- package/dist/{chunk-YK5KJICX.js → chunk-X75SKCDS.js} +1 -1
- package/dist/code.cjs +6 -6
- package/dist/code.d.cts +2 -2
- package/dist/code.d.ts +2 -2
- package/dist/code.js +1 -1
- package/dist/commerce.d.cts +2 -2
- package/dist/commerce.d.ts +2 -2
- package/dist/communications.cjs +4 -4
- package/dist/communications.d.cts +2 -2
- package/dist/communications.d.ts +2 -2
- package/dist/communications.js +1 -1
- package/dist/computer.cjs +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 +4 -4
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +1 -1
- package/dist/crm.cjs +2 -2
- package/dist/crm.d.cts +2 -2
- package/dist/crm.d.ts +2 -2
- package/dist/crm.js +1 -1
- package/dist/data.cjs +4 -4
- package/dist/data.d.cts +4 -2
- package/dist/data.d.ts +4 -2
- package/dist/data.js +1 -1
- package/dist/education.cjs +4 -4
- package/dist/education.d.cts +2 -2
- package/dist/education.d.ts +2 -2
- package/dist/education.js +1 -1
- package/dist/files.cjs +228 -228
- package/dist/files.d.cts +2 -2
- package/dist/files.d.ts +2 -2
- package/dist/files.js +2 -2
- package/dist/human-resources.d.cts +2 -2
- package/dist/human-resources.d.ts +2 -2
- package/dist/{index-BneRZdQz.d.cts → index-A1nOdg4F.d.cts} +2 -2
- package/dist/{index-BneRZdQz.d.ts → index-A1nOdg4F.d.ts} +2 -2
- package/dist/index.cjs +69 -59
- package/dist/index.d.cts +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +13 -3
- package/dist/integrations.cjs +5 -5
- package/dist/integrations.d.cts +2 -2
- package/dist/integrations.d.ts +2 -2
- package/dist/integrations.js +1 -1
- package/dist/intelligence.cjs +7 -7
- package/dist/intelligence.d.cts +2 -2
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +1 -1
- package/dist/knowledge.cjs +42 -42
- package/dist/knowledge.d.cts +2 -2
- package/dist/knowledge.d.ts +2 -2
- package/dist/knowledge.js +1 -1
- package/dist/legal.cjs +6 -6
- package/dist/legal.d.cts +2 -2
- package/dist/legal.d.ts +2 -2
- package/dist/legal.js +1 -1
- package/dist/marketing.cjs +82 -82
- package/dist/marketing.d.cts +2 -2
- package/dist/marketing.d.ts +2 -2
- package/dist/marketing.js +1 -1
- package/dist/masterwork.cjs +32 -32
- package/dist/masterwork.d.cts +2 -2
- package/dist/masterwork.d.ts +2 -2
- package/dist/masterwork.js +1 -1
- package/dist/media.cjs +11 -11
- package/dist/media.d.cts +2 -2
- package/dist/media.d.ts +2 -2
- package/dist/media.js +1 -1
- package/dist/platform.cjs +27 -27
- package/dist/platform.d.cts +2 -2
- package/dist/platform.d.ts +2 -2
- package/dist/platform.js +2 -2
- 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 +17 -17
- package/dist/recording.js +4 -4
- package/dist/schemas.d.cts +1 -1
- package/dist/schemas.d.ts +1 -1
- package/dist/stream.cjs +10 -10
- package/dist/stream.d.cts +1 -1
- package/dist/stream.d.ts +1 -1
- package/dist/stream.js +1 -1
- package/dist/types.d.cts +375 -6
- package/dist/types.d.ts +375 -6
- package/dist/web.cjs +27 -27
- package/dist/web.d.cts +2 -2
- package/dist/web.d.ts +2 -2
- package/dist/web.js +1 -1
- package/dist/workflows.cjs +13 -13
- package/dist/workflows.d.cts +2 -2
- package/dist/workflows.d.ts +2 -2
- package/dist/workflows.js +1 -1
- package/package.json +4 -4
package/dist/audio.cjs
CHANGED
|
@@ -1,156 +1,156 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkVK5BH6FK_cjs = require('./chunk-VK5BH6FK.cjs');
|
|
4
|
+
require('./chunk-27ZEEIXM.cjs');
|
|
5
5
|
require('./chunk-2SXAAKGV.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "blendPreview", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkVK5BH6FK_cjs.blendPreview; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "blendSave", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkVK5BH6FK_cjs.blendSave; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "call", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkVK5BH6FK_cjs.call; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "completeRecordingJournal", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkVK5BH6FK_cjs.completeRecordingJournal; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "configureWakeWord", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkVK5BH6FK_cjs.configureWakeWord; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "createRecordingJournalChunk", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkVK5BH6FK_cjs.createRecordingJournalChunk; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "deleteCustomVoice", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkVK5BH6FK_cjs.deleteCustomVoice; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "deleteRecordingJournal", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkVK5BH6FK_cjs.deleteRecordingJournal; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "dismissWakeWord", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkVK5BH6FK_cjs.dismissWakeWord; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "downloadModel", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkVK5BH6FK_cjs.downloadModel; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "downloadModelWithProgress", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkVK5BH6FK_cjs.downloadModelWithProgress; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "downloadOwwModel", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkVK5BH6FK_cjs.downloadOwwModel; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "eventStream", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkVK5BH6FK_cjs.eventStream; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "getRecordingJournal", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkVK5BH6FK_cjs.getRecordingJournal; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "getRecordingJournals", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkVK5BH6FK_cjs.getRecordingJournals; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "getStatus", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkVK5BH6FK_cjs.getStatus; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "importVoiceFile", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkVK5BH6FK_cjs.importVoiceFile; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "listCustomVoices", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkVK5BH6FK_cjs.listCustomVoices; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "listModels", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkVK5BH6FK_cjs.listModels; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "listVoices", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkVK5BH6FK_cjs.listVoices; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "muteWakeWord", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkVK5BH6FK_cjs.muteWakeWord; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "previewVoice", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkVK5BH6FK_cjs.previewVoice; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "renameCustomVoice", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkVK5BH6FK_cjs.renameCustomVoice; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "startWakeWord", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkVK5BH6FK_cjs.startWakeWord; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "stopWakeWord", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkVK5BH6FK_cjs.stopWakeWord; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "synthesize", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkVK5BH6FK_cjs.synthesize; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "synthesizeStream", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkVK5BH6FK_cjs.synthesizeStream; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "textToSpeech", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkVK5BH6FK_cjs.textToSpeech; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "transcribeFile", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkVK5BH6FK_cjs.transcribeFile; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "transcribeUpload", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkVK5BH6FK_cjs.transcribeUpload; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "transcribeUrl", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkVK5BH6FK_cjs.transcribeUrl; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "triggerWakeWord", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkVK5BH6FK_cjs.triggerWakeWord; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "ttsStatus", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkVK5BH6FK_cjs.ttsStatus; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "unload", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkVK5BH6FK_cjs.unload; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "unmuteWakeWord", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkVK5BH6FK_cjs.unmuteWakeWord; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "voicePreviewRoute", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkVK5BH6FK_cjs.voicePreviewRoute; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "youtubeTranscript", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkVK5BH6FK_cjs.youtubeTranscript; }
|
|
156
156
|
});
|
package/dist/audio.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent, N as NdjsonEvent } from './index-A1nOdg4F.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 c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** ActionResponse */
|
package/dist/audio.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent, N as NdjsonEvent } from './index-A1nOdg4F.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 c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** ActionResponse */
|
package/dist/audio.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { blendPreview, blendSave, call, completeRecordingJournal, configureWakeWord, createRecordingJournalChunk, deleteCustomVoice, deleteRecordingJournal, dismissWakeWord, downloadModel, downloadModelWithProgress, downloadOwwModel, eventStream, getRecordingJournal, getRecordingJournals, getStatus, importVoiceFile, listCustomVoices, listModels, listVoices, muteWakeWord, previewVoice, renameCustomVoice, startWakeWord, stopWakeWord, synthesize, synthesizeStream, textToSpeech, transcribeFile, transcribeUpload, transcribeUrl, triggerWakeWord, ttsStatus, unload, unmuteWakeWord, voicePreviewRoute, youtubeTranscript } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { blendPreview, blendSave, call, completeRecordingJournal, configureWakeWord, createRecordingJournalChunk, deleteCustomVoice, deleteRecordingJournal, dismissWakeWord, downloadModel, downloadModelWithProgress, downloadOwwModel, eventStream, getRecordingJournal, getRecordingJournals, getStatus, importVoiceFile, listCustomVoices, listModels, listVoices, muteWakeWord, previewVoice, renameCustomVoice, startWakeWord, stopWakeWord, synthesize, synthesizeStream, textToSpeech, transcribeFile, transcribeUpload, transcribeUrl, triggerWakeWord, ttsStatus, unload, unmuteWakeWord, voicePreviewRoute, youtubeTranscript } from './chunk-5TRUQNVW.js';
|
|
2
|
+
import './chunk-X75SKCDS.js';
|
|
3
3
|
import './chunk-KIEAFMKB.js';
|
package/dist/chat.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk27ZEEIXM_cjs = require('./chunk-27ZEEIXM.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/chat.ts
|
|
@@ -14,27 +14,27 @@ function conversationsWarmConversationPost(api, args, options) {
|
|
|
14
14
|
}
|
|
15
15
|
var $chat = { m: "POST", p: "/ai/manual", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "chat.chat" };
|
|
16
16
|
function chat(api, args, options) {
|
|
17
|
-
return
|
|
17
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $chat, args, options);
|
|
18
18
|
}
|
|
19
19
|
var $chatPost = { m: "POST", p: "/ai/chat", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "chat.chat_post" };
|
|
20
20
|
function chatPost(api, args, options) {
|
|
21
|
-
return
|
|
21
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $chatPost, args, options);
|
|
22
22
|
}
|
|
23
23
|
var $conversationsContinueConversation = { m: "POST", p: "/ai/conversation/{conversation_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_continue_conversation" };
|
|
24
24
|
function conversationsContinueConversation(api, args, options) {
|
|
25
|
-
return
|
|
25
|
+
return chunk27ZEEIXM_cjs.openStream(api, $conversationsContinueConversation, args, options);
|
|
26
26
|
}
|
|
27
27
|
var $conversationsContinueConversationPost = { m: "POST", p: "/ai/conversations/{conversation_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_continue_conversation_post" };
|
|
28
28
|
function conversationsContinueConversationPost(api, args, options) {
|
|
29
|
-
return
|
|
29
|
+
return chunk27ZEEIXM_cjs.openStream(api, $conversationsContinueConversationPost, args, options);
|
|
30
30
|
}
|
|
31
31
|
var $conversationsForkAndRun = { m: "POST", p: "/ai/conversation/{conversation_id}/fork-and-run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_fork_and_run" };
|
|
32
32
|
function conversationsForkAndRun(api, args, options) {
|
|
33
|
-
return
|
|
33
|
+
return chunk27ZEEIXM_cjs.openStream(api, $conversationsForkAndRun, args, options);
|
|
34
34
|
}
|
|
35
35
|
var $conversationsForkAndRunPost = { m: "POST", p: "/ai/conversations/{conversation_id}/fork-and-run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_fork_and_run_post" };
|
|
36
36
|
function conversationsForkAndRunPost(api, args, options) {
|
|
37
|
-
return
|
|
37
|
+
return chunk27ZEEIXM_cjs.openStream(api, $conversationsForkAndRunPost, args, options);
|
|
38
38
|
}
|
|
39
39
|
var $conversationsSubmitToolResults = { m: "POST", p: "/ai/conversation/{conversation_id}/tool_results", d: "aidream", a: "guest", o: "required", n: "chat.conversations_submit_tool_results" };
|
|
40
40
|
function conversationsSubmitToolResults(api, args, options) {
|
|
@@ -90,11 +90,11 @@ function conversationsCancelInboxItemDelete(api, args, options) {
|
|
|
90
90
|
}
|
|
91
91
|
var $conversationsResumeConversation = { m: "POST", p: "/ai/conversation/{conversation_id}/resume", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_resume_conversation" };
|
|
92
92
|
function conversationsResumeConversation(api, args, options) {
|
|
93
|
-
return
|
|
93
|
+
return chunk27ZEEIXM_cjs.openStream(api, $conversationsResumeConversation, args, options);
|
|
94
94
|
}
|
|
95
95
|
var $conversationsResumeConversationPost = { m: "POST", p: "/ai/conversations/{conversation_id}/resume", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_resume_conversation_post" };
|
|
96
96
|
function conversationsResumeConversationPost(api, args, options) {
|
|
97
|
-
return
|
|
97
|
+
return chunk27ZEEIXM_cjs.openStream(api, $conversationsResumeConversationPost, args, options);
|
|
98
98
|
}
|
|
99
99
|
var $conversationsGetConversationSandbox = { m: "GET", p: "/ai/conversation/{conversation_id}/sandbox", d: "aidream", a: "guest", o: "optional", n: "chat.conversations_get_conversation_sandbox" };
|
|
100
100
|
function conversationsGetConversationSandbox(api, args, options) {
|
|
@@ -146,11 +146,11 @@ function warmHealthRoute(api, args, options) {
|
|
|
146
146
|
}
|
|
147
147
|
var $directChat = { m: "POST", p: "/ai/chat/direct-chat", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.direct_chat" };
|
|
148
148
|
function directChat(api, args, options) {
|
|
149
|
-
return
|
|
149
|
+
return chunk27ZEEIXM_cjs.openStream(api, $directChat, args, options);
|
|
150
150
|
}
|
|
151
151
|
var $promptExecution = { m: "POST", p: "/ai/chat/prompt-execution", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.prompt_execution" };
|
|
152
152
|
function promptExecution(api, args, options) {
|
|
153
|
-
return
|
|
153
|
+
return chunk27ZEEIXM_cjs.openStream(api, $promptExecution, args, options);
|
|
154
154
|
}
|
|
155
155
|
var $readSessionOffer = { m: "GET", p: "/ai/sessions/offers/{offer_id}", d: "aidream", a: "guest", o: "required", n: "chat.read_session_offer" };
|
|
156
156
|
function readSessionOffer(api, args, options) {
|
package/dist/chat.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, J as JsonOrStream, N as NdjsonEvent, a as ApiStream } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, J as JsonOrStream, N as NdjsonEvent, a as ApiStream } from './index-A1nOdg4F.cjs';
|
|
2
2
|
import { JsonValue, ResponseFormatText, ResponseFormatJsonObject, ResponseFormatJsonSchema, TtsVoiceSpeaker, TtsDialogueTurn, MediaRef, ImageLora, CustomTool, CompactionSettings, DictionaryConfig, ContextAnchor, ChatMessageInput, RegisteredToolSpec, InlineToolSpec, AgentToolSpec, ClientContext, UserOverrides, LLMParams, ResourceContextPolicy, IdeState, SandboxBindingRequest, PageContext, CacheBypass, TextPart, ThinkingPart, ToolCallPart, ToolResultPart, UserImageMediaPart, UserAudioMediaPart, UserVideoMediaPart, UserDocumentMediaPart, UserYouTubeMediaPart, CodeExecPart, CodeResultPart, WebSearchPart, WebpageInputPart, NotesInputPart, TaskInputPart, AgentInputPart, ProjectInputPart, AgentAppInputPart, TranscriptInputPart, TranscriptSessionInputPart, WorkbookInputPart, DocumentInputPart, TableInputPart, ListInputPart, DataInputPart, ContextInputPart, RemarksInputPart, DecisionQuestionsPart, DecisionAnswersPart, SpeechScriptPart, HostTurn, ActionNeeded } 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 c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** What the chooser sends. Only `provider` plus one of `resource_ref` / */
|
package/dist/chat.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, J as JsonOrStream, N as NdjsonEvent, a as ApiStream } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, J as JsonOrStream, N as NdjsonEvent, a as ApiStream } from './index-A1nOdg4F.js';
|
|
2
2
|
import { JsonValue, ResponseFormatText, ResponseFormatJsonObject, ResponseFormatJsonSchema, TtsVoiceSpeaker, TtsDialogueTurn, MediaRef, ImageLora, CustomTool, CompactionSettings, DictionaryConfig, ContextAnchor, ChatMessageInput, RegisteredToolSpec, InlineToolSpec, AgentToolSpec, ClientContext, UserOverrides, LLMParams, ResourceContextPolicy, IdeState, SandboxBindingRequest, PageContext, CacheBypass, TextPart, ThinkingPart, ToolCallPart, ToolResultPart, UserImageMediaPart, UserAudioMediaPart, UserVideoMediaPart, UserDocumentMediaPart, UserYouTubeMediaPart, CodeExecPart, CodeResultPart, WebSearchPart, WebpageInputPart, NotesInputPart, TaskInputPart, AgentInputPart, ProjectInputPart, AgentAppInputPart, TranscriptInputPart, TranscriptSessionInputPart, WorkbookInputPart, DocumentInputPart, TableInputPart, ListInputPart, DataInputPart, ContextInputPart, RemarksInputPart, DecisionQuestionsPart, DecisionAnswersPart, SpeechScriptPart, HostTurn, ActionNeeded } 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 c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** What the chooser sends. Only `provider` plus one of `resource_ref` / */
|
package/dist/chat.js
CHANGED
|
@@ -737,7 +737,7 @@ async function* readMatrxSseStream(stream, options = {}) {
|
|
|
737
737
|
}
|
|
738
738
|
|
|
739
739
|
// src/deployments.generated.ts
|
|
740
|
-
var CONTRACT_SHA256 = "
|
|
740
|
+
var CONTRACT_SHA256 = "c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640";
|
|
741
741
|
var DEPLOYMENTS = {
|
|
742
742
|
"files": {
|
|
743
743
|
"app": "files-standalone",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
1
|
+
import { openStream } from './chunk-X75SKCDS.js';
|
|
2
2
|
|
|
3
3
|
// src/generated/audio.ts
|
|
4
4
|
var $createRecordingJournalChunk = { m: "POST", p: "/audio/recording-journal/chunks", d: "aidream", a: "guest", o: "required", n: "audio.create_recording_journal_chunk" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openJsonOrStream, openStream } from './chunk-
|
|
1
|
+
import { openJsonOrStream, openStream } from './chunk-X75SKCDS.js';
|
|
2
2
|
|
|
3
3
|
// src/generated/files.ts
|
|
4
4
|
var $compressPdf = { m: "POST", p: "/utilities/pdf/compress", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.compress_pdf" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk27ZEEIXM_cjs = require('./chunk-27ZEEIXM.cjs');
|
|
4
4
|
|
|
5
5
|
// src/generated/platform.ts
|
|
6
6
|
var $initiateOauth = { m: "GET", p: "/auth/aimatrx", d: "aidream", a: "public", o: "exempt", n: "platform.initiate_oauth" };
|
|
@@ -45,7 +45,7 @@ function getAppConfig(api, args, options) {
|
|
|
45
45
|
}
|
|
46
46
|
var $publishDictionary = { m: "POST", p: "/dictionary/publish", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "platform.publish_dictionary" };
|
|
47
47
|
function publishDictionary(api, args, options) {
|
|
48
|
-
return
|
|
48
|
+
return chunk27ZEEIXM_cjs.openStream(api, $publishDictionary, args, options);
|
|
49
49
|
}
|
|
50
50
|
var $listPublications = { m: "GET", p: "/dictionary/publications", d: "aidream", a: "guest", o: "exempt", n: "platform.list_publications" };
|
|
51
51
|
function listPublications(api, args, options) {
|
|
@@ -69,7 +69,7 @@ function getCheck(api, args, options) {
|
|
|
69
69
|
}
|
|
70
70
|
var $runCheck = { m: "POST", p: "/proof-runs/checks/{slug}/run", d: "aidream", a: "admin", o: "required", s: "ndjson", n: "platform.run_check" };
|
|
71
71
|
function runCheck(api, args, options) {
|
|
72
|
-
return
|
|
72
|
+
return chunk27ZEEIXM_cjs.openStream(api, $runCheck, args, options);
|
|
73
73
|
}
|
|
74
74
|
var $listRecentRuns = { m: "GET", p: "/proof-runs/runs", d: "aidream", a: "admin", o: "optional", n: "platform.list_recent_runs" };
|
|
75
75
|
function listRecentRuns(api, args, options) {
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk27ZEEIXM_cjs = require('./chunk-27ZEEIXM.cjs');
|
|
4
4
|
|
|
5
5
|
// src/generated/files.ts
|
|
6
6
|
var $compressPdf = { m: "POST", p: "/utilities/pdf/compress", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.compress_pdf" };
|
|
7
7
|
function compressPdf(api, args, options) {
|
|
8
|
-
return
|
|
8
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $compressPdf, args, options);
|
|
9
9
|
}
|
|
10
10
|
var $extractTextFromPdf = { m: "POST", p: "/utilities/pdf/extract-text", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_text_from_pdf" };
|
|
11
11
|
function extractTextFromPdf(api, args, options) {
|
|
12
|
-
return
|
|
12
|
+
return chunk27ZEEIXM_cjs.openStream(api, $extractTextFromPdf, args, options);
|
|
13
13
|
}
|
|
14
14
|
var $extractPages = { m: "POST", p: "/utilities/pdf/extract-pages", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.extract_pages" };
|
|
15
15
|
function extractPages(api, args, options) {
|
|
16
|
-
return
|
|
16
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $extractPages, args, options);
|
|
17
17
|
}
|
|
18
18
|
var $cropPages = { m: "POST", p: "/utilities/pdf/crop-pages", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.crop_pages" };
|
|
19
19
|
function cropPages(api, args, options) {
|
|
20
|
-
return
|
|
20
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $cropPages, args, options);
|
|
21
21
|
}
|
|
22
22
|
var $rotatePages = { m: "POST", p: "/utilities/pdf/rotate-pages", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.rotate_pages" };
|
|
23
23
|
function rotatePages(api, args, options) {
|
|
24
|
-
return
|
|
24
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $rotatePages, args, options);
|
|
25
25
|
}
|
|
26
26
|
var $deletePages = { m: "POST", p: "/utilities/pdf/delete-pages", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.delete_pages" };
|
|
27
27
|
function deletePages(api, args, options) {
|
|
28
|
-
return
|
|
28
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $deletePages, args, options);
|
|
29
29
|
}
|
|
30
30
|
var $mergePdfs = { m: "POST", p: "/utilities/pdf/merge", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.merge_pdfs" };
|
|
31
31
|
function mergePdfs(api, args, options) {
|
|
32
|
-
return
|
|
32
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $mergePdfs, args, options);
|
|
33
33
|
}
|
|
34
34
|
var $splitPdf = { m: "POST", p: "/utilities/pdf/split", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.split_pdf" };
|
|
35
35
|
function splitPdf(api, args, options) {
|
|
36
|
-
return
|
|
36
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $splitPdf, args, options);
|
|
37
37
|
}
|
|
38
38
|
var $reorderPages = { m: "POST", p: "/utilities/pdf/reorder-pages", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.reorder_pages" };
|
|
39
39
|
function reorderPages(api, args, options) {
|
|
40
|
-
return
|
|
40
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $reorderPages, args, options);
|
|
41
41
|
}
|
|
42
42
|
var $insertPages = { m: "POST", p: "/utilities/pdf/insert-pages", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.insert_pages" };
|
|
43
43
|
function insertPages(api, args, options) {
|
|
44
|
-
return
|
|
44
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $insertPages, args, options);
|
|
45
45
|
}
|
|
46
46
|
var $duplicatePages = { m: "POST", p: "/utilities/pdf/duplicate-pages", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.duplicate_pages" };
|
|
47
47
|
function duplicatePages(api, args, options) {
|
|
48
|
-
return
|
|
48
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $duplicatePages, args, options);
|
|
49
49
|
}
|
|
50
50
|
var $renderPage = { m: "POST", p: "/utilities/pdf/render-page", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.render_page" };
|
|
51
51
|
function renderPage(api, args, options) {
|
|
52
|
-
return
|
|
52
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $renderPage, args, options);
|
|
53
53
|
}
|
|
54
54
|
var $renderAllPages = { m: "POST", p: "/utilities/pdf/render-all", d: "aidream", a: "guest", o: "required", s: "bytes", n: "files.render_all_pages" };
|
|
55
55
|
function renderAllPages(api, args, options) {
|
|
@@ -57,7 +57,7 @@ function renderAllPages(api, args, options) {
|
|
|
57
57
|
}
|
|
58
58
|
var $renderThumbnail = { m: "POST", p: "/utilities/pdf/render-thumbnail", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.render_thumbnail" };
|
|
59
59
|
function renderThumbnail(api, args, options) {
|
|
60
|
-
return
|
|
60
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $renderThumbnail, args, options);
|
|
61
61
|
}
|
|
62
62
|
var $studioPresets = { m: "GET", p: "/utilities/pdf/studio/presets", d: "aidream", a: "guest", o: "optional", n: "files.studio_presets" };
|
|
63
63
|
function studioPresets(api, args, options) {
|
|
@@ -69,19 +69,19 @@ function studioRender(api, args, options) {
|
|
|
69
69
|
}
|
|
70
70
|
var $detectRepeatedRegionsEndpoint = { m: "POST", p: "/utilities/pdf/detect-repeated-regions", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.detect_repeated_regions_endpoint" };
|
|
71
71
|
function detectRepeatedRegionsEndpoint(api, args, options) {
|
|
72
|
-
return
|
|
72
|
+
return chunk27ZEEIXM_cjs.openStream(api, $detectRepeatedRegionsEndpoint, args, options);
|
|
73
73
|
}
|
|
74
74
|
var $stripRepeatedRegionsEndpoint = { m: "POST", p: "/utilities/pdf/strip-repeated-regions", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.strip_repeated_regions_endpoint" };
|
|
75
75
|
function stripRepeatedRegionsEndpoint(api, args, options) {
|
|
76
|
-
return
|
|
76
|
+
return chunk27ZEEIXM_cjs.openStream(api, $stripRepeatedRegionsEndpoint, args, options);
|
|
77
77
|
}
|
|
78
78
|
var $classifyPagesEndpoint = { m: "POST", p: "/utilities/pdf/classify-pages", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.classify_pages_endpoint" };
|
|
79
79
|
function classifyPagesEndpoint(api, args, options) {
|
|
80
|
-
return
|
|
80
|
+
return chunk27ZEEIXM_cjs.openStream(api, $classifyPagesEndpoint, args, options);
|
|
81
81
|
}
|
|
82
82
|
var $extractReadingOrderEndpoint = { m: "POST", p: "/utilities/pdf/extract-reading-order", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_reading_order_endpoint" };
|
|
83
83
|
function extractReadingOrderEndpoint(api, args, options) {
|
|
84
|
-
return
|
|
84
|
+
return chunk27ZEEIXM_cjs.openStream(api, $extractReadingOrderEndpoint, args, options);
|
|
85
85
|
}
|
|
86
86
|
var $redactPatternsCatalog = { m: "GET", p: "/utilities/pdf/redact/patterns", d: "aidream", a: "guest", o: "optional", n: "files.redact_patterns_catalog" };
|
|
87
87
|
function redactPatternsCatalog(api, args, options) {
|
|
@@ -89,55 +89,55 @@ function redactPatternsCatalog(api, args, options) {
|
|
|
89
89
|
}
|
|
90
90
|
var $redactRegionsEndpoint = { m: "POST", p: "/utilities/pdf/redact-regions", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.redact_regions_endpoint" };
|
|
91
91
|
function redactRegionsEndpoint(api, args, options) {
|
|
92
|
-
return
|
|
92
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $redactRegionsEndpoint, args, options);
|
|
93
93
|
}
|
|
94
94
|
var $redactPatternEndpoint = { m: "POST", p: "/utilities/pdf/redact-pattern", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.redact_pattern_endpoint" };
|
|
95
95
|
function redactPatternEndpoint(api, args, options) {
|
|
96
|
-
return
|
|
96
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $redactPatternEndpoint, args, options);
|
|
97
97
|
}
|
|
98
98
|
var $redactRepeatedRegionsEndpoint = { m: "POST", p: "/utilities/pdf/redact-repeated-regions", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.redact_repeated_regions_endpoint" };
|
|
99
99
|
function redactRepeatedRegionsEndpoint(api, args, options) {
|
|
100
|
-
return
|
|
100
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $redactRepeatedRegionsEndpoint, args, options);
|
|
101
101
|
}
|
|
102
102
|
var $stripMetadataEndpoint = { m: "POST", p: "/utilities/pdf/strip-metadata", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.strip_metadata_endpoint" };
|
|
103
103
|
function stripMetadataEndpoint(api, args, options) {
|
|
104
|
-
return
|
|
104
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $stripMetadataEndpoint, args, options);
|
|
105
105
|
}
|
|
106
106
|
var $scrubEndpoint = { m: "POST", p: "/utilities/pdf/scrub", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.scrub_endpoint" };
|
|
107
107
|
function scrubEndpoint(api, args, options) {
|
|
108
|
-
return
|
|
108
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $scrubEndpoint, args, options);
|
|
109
109
|
}
|
|
110
110
|
var $flattenAnnotationsEndpoint = { m: "POST", p: "/utilities/pdf/flatten-annotations", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.flatten_annotations_endpoint" };
|
|
111
111
|
function flattenAnnotationsEndpoint(api, args, options) {
|
|
112
|
-
return
|
|
112
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $flattenAnnotationsEndpoint, args, options);
|
|
113
113
|
}
|
|
114
114
|
var $extractTextRemote = { m: "POST", p: "/utilities/pdf/extract-text-remote", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_text_remote" };
|
|
115
115
|
function extractTextRemote(api, args, options) {
|
|
116
|
-
return
|
|
116
|
+
return chunk27ZEEIXM_cjs.openStream(api, $extractTextRemote, args, options);
|
|
117
117
|
}
|
|
118
118
|
var $extractTables = { m: "POST", p: "/utilities/pdf/extract-tables", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_tables" };
|
|
119
119
|
function extractTables(api, args, options) {
|
|
120
|
-
return
|
|
120
|
+
return chunk27ZEEIXM_cjs.openStream(api, $extractTables, args, options);
|
|
121
121
|
}
|
|
122
122
|
var $processWithAi = { m: "POST", p: "/utilities/pdf/process-with-ai", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.process_with_ai" };
|
|
123
123
|
function processWithAi(api, args, options) {
|
|
124
|
-
return
|
|
124
|
+
return chunk27ZEEIXM_cjs.openStream(api, $processWithAi, args, options);
|
|
125
125
|
}
|
|
126
126
|
var $fullPipeline = { m: "POST", p: "/utilities/pdf/full-pipeline", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.full_pipeline" };
|
|
127
127
|
function fullPipeline(api, args, options) {
|
|
128
|
-
return
|
|
128
|
+
return chunk27ZEEIXM_cjs.openStream(api, $fullPipeline, args, options);
|
|
129
129
|
}
|
|
130
130
|
var $batchExtract = { m: "POST", p: "/utilities/pdf/batch-extract", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.batch_extract" };
|
|
131
131
|
function batchExtract(api, args, options) {
|
|
132
|
-
return
|
|
132
|
+
return chunk27ZEEIXM_cjs.openStream(api, $batchExtract, args, options);
|
|
133
133
|
}
|
|
134
134
|
var $pdfFromImages = { m: "POST", p: "/utilities/pdf/from-images", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.pdf_from_images" };
|
|
135
135
|
function pdfFromImages(api, args, options) {
|
|
136
|
-
return
|
|
136
|
+
return chunk27ZEEIXM_cjs.openStream(api, $pdfFromImages, args, options);
|
|
137
137
|
}
|
|
138
138
|
var $cleanDocumentContent = { m: "POST", p: "/utilities/pdf/clean-content/{doc_id}", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "files.clean_document_content" };
|
|
139
139
|
function cleanDocumentContent(api, args, options) {
|
|
140
|
-
return
|
|
140
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $cleanDocumentContent, args, options);
|
|
141
141
|
}
|
|
142
142
|
var $listDocuments = { m: "GET", p: "/utilities/pdf/documents", d: "aidream", a: "guest", o: "optional", n: "files.list_documents" };
|
|
143
143
|
function listDocuments(api, args, options) {
|
|
@@ -405,15 +405,15 @@ function getFileLineageSummary(api, args, options) {
|
|
|
405
405
|
}
|
|
406
406
|
var $ingestFileForRag = { m: "POST", p: "/files/{file_id}/ingest", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.ingest_file_for_rag" };
|
|
407
407
|
function ingestFileForRag(api, args, options) {
|
|
408
|
-
return
|
|
408
|
+
return chunk27ZEEIXM_cjs.openStream(api, $ingestFileForRag, args, options);
|
|
409
409
|
}
|
|
410
410
|
var $ingestFileForRagStream = { m: "POST", p: "/files/{file_id}/ingest/stream", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.ingest_file_for_rag_stream" };
|
|
411
411
|
function ingestFileForRagStream(api, args, options) {
|
|
412
|
-
return
|
|
412
|
+
return chunk27ZEEIXM_cjs.openStream(api, $ingestFileForRagStream, args, options);
|
|
413
413
|
}
|
|
414
414
|
var $refreshFileRag = { m: "POST", p: "/files/{file_id}/refresh", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.refresh_file_rag" };
|
|
415
415
|
function refreshFileRag(api, args, options) {
|
|
416
|
-
return
|
|
416
|
+
return chunk27ZEEIXM_cjs.openStream(api, $refreshFileRag, args, options);
|
|
417
417
|
}
|
|
418
418
|
var $versionsListVersions = { m: "GET", p: "/files/{file_id}/versions", d: "aidream", a: "guest", o: "required", n: "files.versions_list_versions" };
|
|
419
419
|
function versionsListVersions(api, args, options) {
|
|
@@ -545,7 +545,7 @@ function fetchAnalysis(api, args, options) {
|
|
|
545
545
|
}
|
|
546
546
|
var $refreshAnalysis = { m: "POST", p: "/files/{file_id}/analysis/refresh", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.refresh_analysis" };
|
|
547
547
|
function refreshAnalysis(api, args, options) {
|
|
548
|
-
return
|
|
548
|
+
return chunk27ZEEIXM_cjs.openStream(api, $refreshAnalysis, args, options);
|
|
549
549
|
}
|
|
550
550
|
var $redactMask = { m: "POST", p: "/files/{file_id}/redact/mask", d: "aidream", a: "guest", o: "required", n: "files.redact_mask" };
|
|
551
551
|
function redactMask(api, args, options) {
|
|
@@ -653,7 +653,7 @@ function listOverridesEndpoint(api, args, options) {
|
|
|
653
653
|
}
|
|
654
654
|
var $searchEndpoint = { m: "POST", p: "/files/{file_id}/search", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.search_endpoint" };
|
|
655
655
|
function searchEndpoint(api, args, options) {
|
|
656
|
-
return
|
|
656
|
+
return chunk27ZEEIXM_cjs.openStream(api, $searchEndpoint, args, options);
|
|
657
657
|
}
|
|
658
658
|
var $extractRegionEndpoint = { m: "POST", p: "/files/{file_id}/regions/extract", d: "aidream", a: "guest", o: "required", n: "files.extract_region_endpoint" };
|
|
659
659
|
function extractRegionEndpoint(api, args, options) {
|
|
@@ -881,7 +881,7 @@ function searchSemantic(api, args, options) {
|
|
|
881
881
|
}
|
|
882
882
|
var $downloadStream = { m: "GET", p: "/downloads/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "files.download_stream" };
|
|
883
883
|
function downloadStream(api, args, options) {
|
|
884
|
-
return
|
|
884
|
+
return chunk27ZEEIXM_cjs.openStream(api, $downloadStream, args, options);
|
|
885
885
|
}
|
|
886
886
|
var $listDownloads = { m: "GET", p: "/downloads", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.list_downloads" };
|
|
887
887
|
function listDownloads(api, args, options) {
|