@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/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-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
|
/** ActionResponse */
|
package/dist/audio.js
CHANGED
|
@@ -1,187 +1,3 @@
|
|
|
1
|
-
|
|
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-3HS6725N.js';
|
|
2
|
+
import './chunk-OYD4PTWW.js';
|
|
2
3
|
import './chunk-KIEAFMKB.js';
|
|
3
|
-
|
|
4
|
-
// src/generated/audio.ts
|
|
5
|
-
var $createRecordingJournalChunk = { m: "POST", p: "/audio/recording-journal/chunks", d: "aidream", a: "guest", o: "required", n: "audio.create_recording_journal_chunk" };
|
|
6
|
-
function createRecordingJournalChunk(api, args, options) {
|
|
7
|
-
return api.call($createRecordingJournalChunk, args, options);
|
|
8
|
-
}
|
|
9
|
-
var $getRecordingJournals = { m: "GET", p: "/audio/recording-journal", d: "aidream", a: "guest", o: "optional", n: "audio.get_recording_journals" };
|
|
10
|
-
function getRecordingJournals(api, args, options) {
|
|
11
|
-
return api.call($getRecordingJournals, args, options);
|
|
12
|
-
}
|
|
13
|
-
var $getRecordingJournal = { m: "GET", p: "/audio/recording-journal/{recording_id}", d: "aidream", a: "guest", o: "optional", n: "audio.get_recording_journal" };
|
|
14
|
-
function getRecordingJournal(api, args, options) {
|
|
15
|
-
return api.call($getRecordingJournal, args, options);
|
|
16
|
-
}
|
|
17
|
-
var $deleteRecordingJournal = { m: "DELETE", p: "/audio/recording-journal/{recording_id}", d: "aidream", a: "guest", o: "required", n: "audio.delete_recording_journal" };
|
|
18
|
-
function deleteRecordingJournal(api, args, options) {
|
|
19
|
-
return api.call($deleteRecordingJournal, args, options);
|
|
20
|
-
}
|
|
21
|
-
var $completeRecordingJournal = { m: "POST", p: "/audio/recording-journal/{recording_id}/complete", d: "aidream", a: "guest", o: "required", n: "audio.complete_recording_journal" };
|
|
22
|
-
function completeRecordingJournal(api, args, options) {
|
|
23
|
-
return api.call($completeRecordingJournal, args, options);
|
|
24
|
-
}
|
|
25
|
-
var $transcribeUpload = { m: "POST", p: "/audio/transcribe", d: "aidream", a: "guest", o: "required", n: "audio.transcribe_upload" };
|
|
26
|
-
function transcribeUpload(api, args, options) {
|
|
27
|
-
return api.call($transcribeUpload, args, options);
|
|
28
|
-
}
|
|
29
|
-
var $transcribeUrl = { m: "POST", p: "/audio/transcribe-url", d: "aidream", a: "guest", o: "required", n: "audio.transcribe_url" };
|
|
30
|
-
function transcribeUrl(api, args, options) {
|
|
31
|
-
return api.call($transcribeUrl, args, options);
|
|
32
|
-
}
|
|
33
|
-
var $transcribeFile = { m: "POST", p: "/audio/transcribe-file", d: "aidream", a: "guest", o: "required", n: "audio.transcribe_file" };
|
|
34
|
-
function transcribeFile(api, args, options) {
|
|
35
|
-
return api.call($transcribeFile, args, options);
|
|
36
|
-
}
|
|
37
|
-
var $voicePreviewRoute = { m: "POST", p: "/audio/voice-preview", d: "aidream", a: "guest", o: "required", n: "audio.voice_preview_route" };
|
|
38
|
-
function voicePreviewRoute(api, args, options) {
|
|
39
|
-
return api.call($voicePreviewRoute, args, options);
|
|
40
|
-
}
|
|
41
|
-
var $textToSpeech = { m: "POST", p: "/audio/text-to-speech", d: "aidream", a: "guest", o: "required", n: "audio.text_to_speech" };
|
|
42
|
-
function textToSpeech(api, args, options) {
|
|
43
|
-
return api.call($textToSpeech, args, options);
|
|
44
|
-
}
|
|
45
|
-
var $youtubeTranscript = { m: "POST", p: "/media/youtube/transcript", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "audio.youtube_transcript" };
|
|
46
|
-
function youtubeTranscript(api, args, options) {
|
|
47
|
-
return openStream(api, $youtubeTranscript, args, options);
|
|
48
|
-
}
|
|
49
|
-
var $getStatus = { m: "GET", p: "/wake-word/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.get_status" };
|
|
50
|
-
function getStatus(api, args, options) {
|
|
51
|
-
return api.call($getStatus, args, options);
|
|
52
|
-
}
|
|
53
|
-
var $startWakeWord = { m: "POST", p: "/wake-word/start", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.start_wake_word" };
|
|
54
|
-
function startWakeWord(api, args, options) {
|
|
55
|
-
return api.call($startWakeWord, args, options);
|
|
56
|
-
}
|
|
57
|
-
var $stopWakeWord = { m: "POST", p: "/wake-word/stop", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.stop_wake_word" };
|
|
58
|
-
function stopWakeWord(api, args, options) {
|
|
59
|
-
return api.call($stopWakeWord, args, options);
|
|
60
|
-
}
|
|
61
|
-
var $muteWakeWord = { m: "POST", p: "/wake-word/mute", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.mute_wake_word" };
|
|
62
|
-
function muteWakeWord(api, args, options) {
|
|
63
|
-
return api.call($muteWakeWord, args, options);
|
|
64
|
-
}
|
|
65
|
-
var $unmuteWakeWord = { m: "POST", p: "/wake-word/unmute", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.unmute_wake_word" };
|
|
66
|
-
function unmuteWakeWord(api, args, options) {
|
|
67
|
-
return api.call($unmuteWakeWord, args, options);
|
|
68
|
-
}
|
|
69
|
-
var $dismissWakeWord = { m: "POST", p: "/wake-word/dismiss", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.dismiss_wake_word" };
|
|
70
|
-
function dismissWakeWord(api, args, options) {
|
|
71
|
-
return api.call($dismissWakeWord, args, options);
|
|
72
|
-
}
|
|
73
|
-
var $triggerWakeWord = { m: "POST", p: "/wake-word/trigger", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.trigger_wake_word" };
|
|
74
|
-
function triggerWakeWord(api, args, options) {
|
|
75
|
-
return api.call($triggerWakeWord, args, options);
|
|
76
|
-
}
|
|
77
|
-
var $configureWakeWord = { m: "POST", p: "/wake-word/configure", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.configure_wake_word" };
|
|
78
|
-
function configureWakeWord(api, args, options) {
|
|
79
|
-
return api.call($configureWakeWord, args, options);
|
|
80
|
-
}
|
|
81
|
-
var $eventStream = { m: "GET", p: "/wake-word/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "audio.event_stream" };
|
|
82
|
-
function eventStream(api, args, options) {
|
|
83
|
-
return openStream(api, $eventStream, args, options);
|
|
84
|
-
}
|
|
85
|
-
var $listModels = { m: "GET", p: "/wake-word/models", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.list_models" };
|
|
86
|
-
function listModels(api, args, options) {
|
|
87
|
-
return api.call($listModels, args, options);
|
|
88
|
-
}
|
|
89
|
-
var $downloadOwwModel = { m: "POST", p: "/wake-word/models/download", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.download_oww_model" };
|
|
90
|
-
function downloadOwwModel(api, args, options) {
|
|
91
|
-
return api.call($downloadOwwModel, args, options);
|
|
92
|
-
}
|
|
93
|
-
var $downloadModelWithProgress = { m: "POST", p: "/wake-word/models/download-stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "audio.download_model_with_progress" };
|
|
94
|
-
function downloadModelWithProgress(api, args, options) {
|
|
95
|
-
return openStream(api, $downloadModelWithProgress, args, options);
|
|
96
|
-
}
|
|
97
|
-
var $ttsStatus = { m: "GET", p: "/tts/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.tts_status" };
|
|
98
|
-
function ttsStatus(api, args, options) {
|
|
99
|
-
return api.call($ttsStatus, args, options);
|
|
100
|
-
}
|
|
101
|
-
var $listVoices = { m: "GET", p: "/tts/voices", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.list_voices" };
|
|
102
|
-
function listVoices(api, args, options) {
|
|
103
|
-
return api.call($listVoices, args, options);
|
|
104
|
-
}
|
|
105
|
-
var $downloadModel = { m: "POST", p: "/tts/download-model", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.download_model" };
|
|
106
|
-
function downloadModel(api, args, options) {
|
|
107
|
-
return api.call($downloadModel, args, options);
|
|
108
|
-
}
|
|
109
|
-
var $synthesize = { m: "POST", p: "/tts/synthesize", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.synthesize" };
|
|
110
|
-
function synthesize(api, args, options) {
|
|
111
|
-
return api.call($synthesize, args, options);
|
|
112
|
-
}
|
|
113
|
-
var $synthesizeStream = { m: "POST", p: "/tts/synthesize-stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "bytes", n: "audio.synthesize_stream" };
|
|
114
|
-
function synthesizeStream(api, args, options) {
|
|
115
|
-
return api.send($synthesizeStream, args, options).then((x) => x.response);
|
|
116
|
-
}
|
|
117
|
-
var $previewVoice = { m: "POST", p: "/tts/preview-voice", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.preview_voice" };
|
|
118
|
-
function previewVoice(api, args, options) {
|
|
119
|
-
return api.call($previewVoice, args, options);
|
|
120
|
-
}
|
|
121
|
-
var $unload = { m: "DELETE", p: "/tts/unload", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.unload" };
|
|
122
|
-
function unload(api, args, options) {
|
|
123
|
-
return api.call($unload, args, options);
|
|
124
|
-
}
|
|
125
|
-
var $blendPreview = { m: "POST", p: "/tts/blend/preview", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.blend_preview" };
|
|
126
|
-
function blendPreview(api, args, options) {
|
|
127
|
-
return api.call($blendPreview, args, options);
|
|
128
|
-
}
|
|
129
|
-
var $blendSave = { m: "POST", p: "/tts/blend/save", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.blend_save" };
|
|
130
|
-
function blendSave(api, args, options) {
|
|
131
|
-
return api.call($blendSave, args, options);
|
|
132
|
-
}
|
|
133
|
-
var $listCustomVoices = { m: "GET", p: "/tts/custom-voices", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.list_custom_voices" };
|
|
134
|
-
function listCustomVoices(api, args, options) {
|
|
135
|
-
return api.call($listCustomVoices, args, options);
|
|
136
|
-
}
|
|
137
|
-
var $renameCustomVoice = { m: "PATCH", p: "/tts/custom-voices/{voice_id}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.rename_custom_voice" };
|
|
138
|
-
function renameCustomVoice(api, args, options) {
|
|
139
|
-
return api.call($renameCustomVoice, args, options);
|
|
140
|
-
}
|
|
141
|
-
var $deleteCustomVoice = { m: "DELETE", p: "/tts/custom-voices/{voice_id}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.delete_custom_voice" };
|
|
142
|
-
function deleteCustomVoice(api, args, options) {
|
|
143
|
-
return api.call($deleteCustomVoice, args, options);
|
|
144
|
-
}
|
|
145
|
-
var $importVoiceFile = { m: "POST", p: "/tts/custom-voices/import", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.import_voice_file" };
|
|
146
|
-
function importVoiceFile(api, args, options) {
|
|
147
|
-
return api.call($importVoiceFile, args, options);
|
|
148
|
-
}
|
|
149
|
-
var TABLE = {
|
|
150
|
-
"POST /audio/recording-journal/chunks": $createRecordingJournalChunk,
|
|
151
|
-
"GET /audio/recording-journal": $getRecordingJournals,
|
|
152
|
-
"GET /audio/recording-journal/{recording_id}": $getRecordingJournal,
|
|
153
|
-
"DELETE /audio/recording-journal/{recording_id}": $deleteRecordingJournal,
|
|
154
|
-
"POST /audio/recording-journal/{recording_id}/complete": $completeRecordingJournal,
|
|
155
|
-
"POST /audio/transcribe": $transcribeUpload,
|
|
156
|
-
"POST /audio/transcribe-url": $transcribeUrl,
|
|
157
|
-
"POST /audio/transcribe-file": $transcribeFile,
|
|
158
|
-
"POST /audio/voice-preview": $voicePreviewRoute,
|
|
159
|
-
"POST /audio/text-to-speech": $textToSpeech,
|
|
160
|
-
"GET /wake-word/status": $getStatus,
|
|
161
|
-
"POST /wake-word/start": $startWakeWord,
|
|
162
|
-
"POST /wake-word/stop": $stopWakeWord,
|
|
163
|
-
"POST /wake-word/mute": $muteWakeWord,
|
|
164
|
-
"POST /wake-word/unmute": $unmuteWakeWord,
|
|
165
|
-
"POST /wake-word/dismiss": $dismissWakeWord,
|
|
166
|
-
"POST /wake-word/trigger": $triggerWakeWord,
|
|
167
|
-
"POST /wake-word/configure": $configureWakeWord,
|
|
168
|
-
"GET /wake-word/models": $listModels,
|
|
169
|
-
"POST /wake-word/models/download": $downloadOwwModel,
|
|
170
|
-
"GET /tts/status": $ttsStatus,
|
|
171
|
-
"GET /tts/voices": $listVoices,
|
|
172
|
-
"POST /tts/download-model": $downloadModel,
|
|
173
|
-
"POST /tts/synthesize": $synthesize,
|
|
174
|
-
"POST /tts/preview-voice": $previewVoice,
|
|
175
|
-
"DELETE /tts/unload": $unload,
|
|
176
|
-
"POST /tts/blend/preview": $blendPreview,
|
|
177
|
-
"POST /tts/blend/save": $blendSave,
|
|
178
|
-
"GET /tts/custom-voices": $listCustomVoices,
|
|
179
|
-
"PATCH /tts/custom-voices/{voice_id}": $renameCustomVoice,
|
|
180
|
-
"DELETE /tts/custom-voices/{voice_id}": $deleteCustomVoice,
|
|
181
|
-
"POST /tts/custom-voices/import": $importVoiceFile
|
|
182
|
-
};
|
|
183
|
-
function call(api, key, args, options) {
|
|
184
|
-
return api.call(TABLE[key], args, options);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
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 };
|
package/dist/chat.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/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 chunkHM5A33QV_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 chunkHM5A33QV_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 chunkHM5A33QV_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 chunkHM5A33QV_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 chunkHM5A33QV_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 chunkHM5A33QV_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 chunkHM5A33QV_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 chunkHM5A33QV_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 chunkHM5A33QV_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 chunkHM5A33QV_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-BluxzzHL.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 118778e288a723f4114c0f189d3f0d25d8f399fdb49d9bbac475b5fcb9d808f6
|
|
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-BluxzzHL.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 118778e288a723f4114c0f189d3f0d25d8f399fdb49d9bbac475b5fcb9d808f6
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** What the chooser sends. Only `provider` plus one of `resource_ref` / */
|
package/dist/chat.js
CHANGED
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { openStream } from './chunk-OYD4PTWW.js';
|
|
2
|
+
|
|
3
|
+
// src/generated/audio.ts
|
|
4
|
+
var $createRecordingJournalChunk = { m: "POST", p: "/audio/recording-journal/chunks", d: "aidream", a: "guest", o: "required", n: "audio.create_recording_journal_chunk" };
|
|
5
|
+
function createRecordingJournalChunk(api, args, options) {
|
|
6
|
+
return api.call($createRecordingJournalChunk, args, options);
|
|
7
|
+
}
|
|
8
|
+
var $getRecordingJournals = { m: "GET", p: "/audio/recording-journal", d: "aidream", a: "guest", o: "optional", n: "audio.get_recording_journals" };
|
|
9
|
+
function getRecordingJournals(api, args, options) {
|
|
10
|
+
return api.call($getRecordingJournals, args, options);
|
|
11
|
+
}
|
|
12
|
+
var $getRecordingJournal = { m: "GET", p: "/audio/recording-journal/{recording_id}", d: "aidream", a: "guest", o: "optional", n: "audio.get_recording_journal" };
|
|
13
|
+
function getRecordingJournal(api, args, options) {
|
|
14
|
+
return api.call($getRecordingJournal, args, options);
|
|
15
|
+
}
|
|
16
|
+
var $deleteRecordingJournal = { m: "DELETE", p: "/audio/recording-journal/{recording_id}", d: "aidream", a: "guest", o: "required", n: "audio.delete_recording_journal" };
|
|
17
|
+
function deleteRecordingJournal(api, args, options) {
|
|
18
|
+
return api.call($deleteRecordingJournal, args, options);
|
|
19
|
+
}
|
|
20
|
+
var $completeRecordingJournal = { m: "POST", p: "/audio/recording-journal/{recording_id}/complete", d: "aidream", a: "guest", o: "required", n: "audio.complete_recording_journal" };
|
|
21
|
+
function completeRecordingJournal(api, args, options) {
|
|
22
|
+
return api.call($completeRecordingJournal, args, options);
|
|
23
|
+
}
|
|
24
|
+
var $transcribeUpload = { m: "POST", p: "/audio/transcribe", d: "aidream", a: "guest", o: "required", n: "audio.transcribe_upload" };
|
|
25
|
+
function transcribeUpload(api, args, options) {
|
|
26
|
+
return api.call($transcribeUpload, args, options);
|
|
27
|
+
}
|
|
28
|
+
var $transcribeUrl = { m: "POST", p: "/audio/transcribe-url", d: "aidream", a: "guest", o: "required", n: "audio.transcribe_url" };
|
|
29
|
+
function transcribeUrl(api, args, options) {
|
|
30
|
+
return api.call($transcribeUrl, args, options);
|
|
31
|
+
}
|
|
32
|
+
var $transcribeFile = { m: "POST", p: "/audio/transcribe-file", d: "aidream", a: "guest", o: "required", n: "audio.transcribe_file" };
|
|
33
|
+
function transcribeFile(api, args, options) {
|
|
34
|
+
return api.call($transcribeFile, args, options);
|
|
35
|
+
}
|
|
36
|
+
var $voicePreviewRoute = { m: "POST", p: "/audio/voice-preview", d: "aidream", a: "guest", o: "required", n: "audio.voice_preview_route" };
|
|
37
|
+
function voicePreviewRoute(api, args, options) {
|
|
38
|
+
return api.call($voicePreviewRoute, args, options);
|
|
39
|
+
}
|
|
40
|
+
var $textToSpeech = { m: "POST", p: "/audio/text-to-speech", d: "aidream", a: "guest", o: "required", n: "audio.text_to_speech" };
|
|
41
|
+
function textToSpeech(api, args, options) {
|
|
42
|
+
return api.call($textToSpeech, args, options);
|
|
43
|
+
}
|
|
44
|
+
var $youtubeTranscript = { m: "POST", p: "/media/youtube/transcript", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "audio.youtube_transcript" };
|
|
45
|
+
function youtubeTranscript(api, args, options) {
|
|
46
|
+
return openStream(api, $youtubeTranscript, args, options);
|
|
47
|
+
}
|
|
48
|
+
var $getStatus = { m: "GET", p: "/wake-word/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.get_status" };
|
|
49
|
+
function getStatus(api, args, options) {
|
|
50
|
+
return api.call($getStatus, args, options);
|
|
51
|
+
}
|
|
52
|
+
var $startWakeWord = { m: "POST", p: "/wake-word/start", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.start_wake_word" };
|
|
53
|
+
function startWakeWord(api, args, options) {
|
|
54
|
+
return api.call($startWakeWord, args, options);
|
|
55
|
+
}
|
|
56
|
+
var $stopWakeWord = { m: "POST", p: "/wake-word/stop", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.stop_wake_word" };
|
|
57
|
+
function stopWakeWord(api, args, options) {
|
|
58
|
+
return api.call($stopWakeWord, args, options);
|
|
59
|
+
}
|
|
60
|
+
var $muteWakeWord = { m: "POST", p: "/wake-word/mute", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.mute_wake_word" };
|
|
61
|
+
function muteWakeWord(api, args, options) {
|
|
62
|
+
return api.call($muteWakeWord, args, options);
|
|
63
|
+
}
|
|
64
|
+
var $unmuteWakeWord = { m: "POST", p: "/wake-word/unmute", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.unmute_wake_word" };
|
|
65
|
+
function unmuteWakeWord(api, args, options) {
|
|
66
|
+
return api.call($unmuteWakeWord, args, options);
|
|
67
|
+
}
|
|
68
|
+
var $dismissWakeWord = { m: "POST", p: "/wake-word/dismiss", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.dismiss_wake_word" };
|
|
69
|
+
function dismissWakeWord(api, args, options) {
|
|
70
|
+
return api.call($dismissWakeWord, args, options);
|
|
71
|
+
}
|
|
72
|
+
var $triggerWakeWord = { m: "POST", p: "/wake-word/trigger", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.trigger_wake_word" };
|
|
73
|
+
function triggerWakeWord(api, args, options) {
|
|
74
|
+
return api.call($triggerWakeWord, args, options);
|
|
75
|
+
}
|
|
76
|
+
var $configureWakeWord = { m: "POST", p: "/wake-word/configure", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.configure_wake_word" };
|
|
77
|
+
function configureWakeWord(api, args, options) {
|
|
78
|
+
return api.call($configureWakeWord, args, options);
|
|
79
|
+
}
|
|
80
|
+
var $eventStream = { m: "GET", p: "/wake-word/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "audio.event_stream" };
|
|
81
|
+
function eventStream(api, args, options) {
|
|
82
|
+
return openStream(api, $eventStream, args, options);
|
|
83
|
+
}
|
|
84
|
+
var $listModels = { m: "GET", p: "/wake-word/models", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.list_models" };
|
|
85
|
+
function listModels(api, args, options) {
|
|
86
|
+
return api.call($listModels, args, options);
|
|
87
|
+
}
|
|
88
|
+
var $downloadOwwModel = { m: "POST", p: "/wake-word/models/download", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.download_oww_model" };
|
|
89
|
+
function downloadOwwModel(api, args, options) {
|
|
90
|
+
return api.call($downloadOwwModel, args, options);
|
|
91
|
+
}
|
|
92
|
+
var $downloadModelWithProgress = { m: "POST", p: "/wake-word/models/download-stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "audio.download_model_with_progress" };
|
|
93
|
+
function downloadModelWithProgress(api, args, options) {
|
|
94
|
+
return openStream(api, $downloadModelWithProgress, args, options);
|
|
95
|
+
}
|
|
96
|
+
var $ttsStatus = { m: "GET", p: "/tts/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.tts_status" };
|
|
97
|
+
function ttsStatus(api, args, options) {
|
|
98
|
+
return api.call($ttsStatus, args, options);
|
|
99
|
+
}
|
|
100
|
+
var $listVoices = { m: "GET", p: "/tts/voices", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.list_voices" };
|
|
101
|
+
function listVoices(api, args, options) {
|
|
102
|
+
return api.call($listVoices, args, options);
|
|
103
|
+
}
|
|
104
|
+
var $downloadModel = { m: "POST", p: "/tts/download-model", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.download_model" };
|
|
105
|
+
function downloadModel(api, args, options) {
|
|
106
|
+
return api.call($downloadModel, args, options);
|
|
107
|
+
}
|
|
108
|
+
var $synthesize = { m: "POST", p: "/tts/synthesize", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.synthesize" };
|
|
109
|
+
function synthesize(api, args, options) {
|
|
110
|
+
return api.call($synthesize, args, options);
|
|
111
|
+
}
|
|
112
|
+
var $synthesizeStream = { m: "POST", p: "/tts/synthesize-stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "bytes", n: "audio.synthesize_stream" };
|
|
113
|
+
function synthesizeStream(api, args, options) {
|
|
114
|
+
return api.send($synthesizeStream, args, options).then((x) => x.response);
|
|
115
|
+
}
|
|
116
|
+
var $previewVoice = { m: "POST", p: "/tts/preview-voice", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.preview_voice" };
|
|
117
|
+
function previewVoice(api, args, options) {
|
|
118
|
+
return api.call($previewVoice, args, options);
|
|
119
|
+
}
|
|
120
|
+
var $unload = { m: "DELETE", p: "/tts/unload", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.unload" };
|
|
121
|
+
function unload(api, args, options) {
|
|
122
|
+
return api.call($unload, args, options);
|
|
123
|
+
}
|
|
124
|
+
var $blendPreview = { m: "POST", p: "/tts/blend/preview", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.blend_preview" };
|
|
125
|
+
function blendPreview(api, args, options) {
|
|
126
|
+
return api.call($blendPreview, args, options);
|
|
127
|
+
}
|
|
128
|
+
var $blendSave = { m: "POST", p: "/tts/blend/save", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.blend_save" };
|
|
129
|
+
function blendSave(api, args, options) {
|
|
130
|
+
return api.call($blendSave, args, options);
|
|
131
|
+
}
|
|
132
|
+
var $listCustomVoices = { m: "GET", p: "/tts/custom-voices", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.list_custom_voices" };
|
|
133
|
+
function listCustomVoices(api, args, options) {
|
|
134
|
+
return api.call($listCustomVoices, args, options);
|
|
135
|
+
}
|
|
136
|
+
var $renameCustomVoice = { m: "PATCH", p: "/tts/custom-voices/{voice_id}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.rename_custom_voice" };
|
|
137
|
+
function renameCustomVoice(api, args, options) {
|
|
138
|
+
return api.call($renameCustomVoice, args, options);
|
|
139
|
+
}
|
|
140
|
+
var $deleteCustomVoice = { m: "DELETE", p: "/tts/custom-voices/{voice_id}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.delete_custom_voice" };
|
|
141
|
+
function deleteCustomVoice(api, args, options) {
|
|
142
|
+
return api.call($deleteCustomVoice, args, options);
|
|
143
|
+
}
|
|
144
|
+
var $importVoiceFile = { m: "POST", p: "/tts/custom-voices/import", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.import_voice_file" };
|
|
145
|
+
function importVoiceFile(api, args, options) {
|
|
146
|
+
return api.call($importVoiceFile, args, options);
|
|
147
|
+
}
|
|
148
|
+
var TABLE = {
|
|
149
|
+
"POST /audio/recording-journal/chunks": $createRecordingJournalChunk,
|
|
150
|
+
"GET /audio/recording-journal": $getRecordingJournals,
|
|
151
|
+
"GET /audio/recording-journal/{recording_id}": $getRecordingJournal,
|
|
152
|
+
"DELETE /audio/recording-journal/{recording_id}": $deleteRecordingJournal,
|
|
153
|
+
"POST /audio/recording-journal/{recording_id}/complete": $completeRecordingJournal,
|
|
154
|
+
"POST /audio/transcribe": $transcribeUpload,
|
|
155
|
+
"POST /audio/transcribe-url": $transcribeUrl,
|
|
156
|
+
"POST /audio/transcribe-file": $transcribeFile,
|
|
157
|
+
"POST /audio/voice-preview": $voicePreviewRoute,
|
|
158
|
+
"POST /audio/text-to-speech": $textToSpeech,
|
|
159
|
+
"GET /wake-word/status": $getStatus,
|
|
160
|
+
"POST /wake-word/start": $startWakeWord,
|
|
161
|
+
"POST /wake-word/stop": $stopWakeWord,
|
|
162
|
+
"POST /wake-word/mute": $muteWakeWord,
|
|
163
|
+
"POST /wake-word/unmute": $unmuteWakeWord,
|
|
164
|
+
"POST /wake-word/dismiss": $dismissWakeWord,
|
|
165
|
+
"POST /wake-word/trigger": $triggerWakeWord,
|
|
166
|
+
"POST /wake-word/configure": $configureWakeWord,
|
|
167
|
+
"GET /wake-word/models": $listModels,
|
|
168
|
+
"POST /wake-word/models/download": $downloadOwwModel,
|
|
169
|
+
"GET /tts/status": $ttsStatus,
|
|
170
|
+
"GET /tts/voices": $listVoices,
|
|
171
|
+
"POST /tts/download-model": $downloadModel,
|
|
172
|
+
"POST /tts/synthesize": $synthesize,
|
|
173
|
+
"POST /tts/preview-voice": $previewVoice,
|
|
174
|
+
"DELETE /tts/unload": $unload,
|
|
175
|
+
"POST /tts/blend/preview": $blendPreview,
|
|
176
|
+
"POST /tts/blend/save": $blendSave,
|
|
177
|
+
"GET /tts/custom-voices": $listCustomVoices,
|
|
178
|
+
"PATCH /tts/custom-voices/{voice_id}": $renameCustomVoice,
|
|
179
|
+
"DELETE /tts/custom-voices/{voice_id}": $deleteCustomVoice,
|
|
180
|
+
"POST /tts/custom-voices/import": $importVoiceFile
|
|
181
|
+
};
|
|
182
|
+
function call(api, key, args, options) {
|
|
183
|
+
return api.call(TABLE[key], args, options);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
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 };
|
|
@@ -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 = "118778e288a723f4114c0f189d3f0d25d8f399fdb49d9bbac475b5fcb9d808f6";
|
|
741
741
|
var DEPLOYMENTS = {
|
|
742
742
|
"files": {
|
|
743
743
|
"app": "files-standalone",
|