@ai-matrx/api 0.0.0-stage → 0.1.0
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 +15 -0
- package/LICENSE +21 -0
- package/README.md +18 -2
- package/dist/account.cjs +670 -0
- package/dist/account.d.cts +3246 -0
- package/dist/account.d.ts +3246 -0
- package/dist/account.js +558 -0
- package/dist/agents.cjs +598 -0
- package/dist/agents.d.cts +3417 -0
- package/dist/agents.d.ts +3417 -0
- package/dist/agents.js +497 -0
- package/dist/ai.cjs +109 -0
- package/dist/ai.d.cts +493 -0
- package/dist/ai.d.ts +493 -0
- package/dist/ai.js +91 -0
- package/dist/apps.cjs +394 -0
- package/dist/apps.d.cts +1094 -0
- package/dist/apps.d.ts +1094 -0
- package/dist/apps.js +328 -0
- package/dist/architecture.cjs +1223 -0
- package/dist/architecture.d.cts +4701 -0
- package/dist/architecture.d.ts +4701 -0
- package/dist/architecture.js +1016 -0
- package/dist/audio.cjs +226 -0
- package/dist/audio.d.cts +723 -0
- package/dist/audio.d.ts +723 -0
- package/dist/audio.js +188 -0
- package/dist/chat.cjs +538 -0
- package/dist/chat.d.cts +2251 -0
- package/dist/chat.d.ts +2251 -0
- package/dist/chat.js +447 -0
- package/dist/chunk-2SXAAKGV.cjs +279 -0
- package/dist/chunk-AY5N6EA4.js +43 -0
- package/dist/chunk-BMQI7UET.cjs +48 -0
- package/dist/chunk-FNIYADWI.cjs +59 -0
- package/dist/chunk-KIEAFMKB.js +264 -0
- package/dist/chunk-UONBYRE4.js +1012 -0
- package/dist/chunk-YTEOFGFC.js +57 -0
- package/dist/chunk-YUDQWDCM.cjs +1047 -0
- package/dist/code.cjs +561 -0
- package/dist/code.d.cts +1976 -0
- package/dist/code.d.ts +1976 -0
- package/dist/code.js +467 -0
- package/dist/commerce.cjs +22 -0
- package/dist/commerce.d.cts +45 -0
- package/dist/commerce.d.ts +45 -0
- package/dist/commerce.js +18 -0
- package/dist/communications.cjs +215 -0
- package/dist/communications.d.cts +948 -0
- package/dist/communications.d.ts +948 -0
- package/dist/communications.js +179 -0
- package/dist/computer.cjs +330 -0
- package/dist/computer.d.cts +733 -0
- package/dist/computer.d.ts +733 -0
- package/dist/computer.js +275 -0
- package/dist/content.cjs +425 -0
- package/dist/content.d.cts +1796 -0
- package/dist/content.d.ts +1796 -0
- package/dist/content.js +354 -0
- package/dist/credentials.cjs +22 -0
- package/dist/credentials.d.cts +82 -0
- package/dist/credentials.d.ts +82 -0
- package/dist/credentials.js +1 -0
- package/dist/crm.cjs +271 -0
- package/dist/crm.d.cts +1731 -0
- package/dist/crm.d.ts +1731 -0
- package/dist/crm.js +226 -0
- package/dist/data.cjs +382 -0
- package/dist/data.d.cts +1860 -0
- package/dist/data.d.ts +1860 -0
- package/dist/data.js +318 -0
- package/dist/education.cjs +28 -0
- package/dist/education.d.cts +73 -0
- package/dist/education.d.ts +73 -0
- package/dist/education.js +23 -0
- package/dist/files.cjs +1330 -0
- package/dist/files.d.cts +4956 -0
- package/dist/files.d.ts +4956 -0
- package/dist/files.js +1104 -0
- package/dist/human-resources.cjs +178 -0
- package/dist/human-resources.d.cts +1208 -0
- package/dist/human-resources.d.ts +1208 -0
- package/dist/human-resources.js +148 -0
- package/dist/index-C2E-Cp19.d.ts +385 -0
- package/dist/index-wC2vtb70.d.cts +385 -0
- package/dist/index.cjs +1934 -0
- package/dist/index.d.cts +2006 -0
- package/dist/index.d.ts +2006 -0
- package/dist/index.js +1668 -0
- package/dist/integrations.cjs +5116 -0
- package/dist/integrations.d.cts +19213 -0
- package/dist/integrations.d.ts +19213 -0
- package/dist/integrations.js +4263 -0
- package/dist/intelligence.cjs +1305 -0
- package/dist/intelligence.d.cts +4658 -0
- package/dist/intelligence.d.ts +4658 -0
- package/dist/intelligence.js +1196 -0
- package/dist/knowledge.cjs +1113 -0
- package/dist/knowledge.d.cts +5427 -0
- package/dist/knowledge.d.ts +5427 -0
- package/dist/knowledge.js +921 -0
- package/dist/legal.cjs +225 -0
- package/dist/legal.d.cts +1038 -0
- package/dist/legal.d.ts +1038 -0
- package/dist/legal.js +187 -0
- package/dist/marketing.cjs +1155 -0
- package/dist/marketing.d.cts +7741 -0
- package/dist/marketing.d.ts +7741 -0
- package/dist/marketing.js +951 -0
- package/dist/masterwork.cjs +283 -0
- package/dist/masterwork.d.cts +1938 -0
- package/dist/masterwork.d.ts +1938 -0
- package/dist/masterwork.js +231 -0
- package/dist/media.cjs +610 -0
- package/dist/media.d.cts +2270 -0
- package/dist/media.d.ts +2270 -0
- package/dist/media.js +507 -0
- package/dist/net.cjs +67 -0
- package/dist/net.d.cts +204 -0
- package/dist/net.d.ts +204 -0
- package/dist/net.js +2 -0
- package/dist/platform.cjs +150 -0
- package/dist/platform.d.cts +572 -0
- package/dist/platform.d.ts +572 -0
- package/dist/platform.js +125 -0
- package/dist/publish.cjs +248 -0
- package/dist/publish.d.cts +1431 -0
- package/dist/publish.d.ts +1431 -0
- package/dist/publish.js +206 -0
- package/dist/schemas.cjs +2 -0
- package/dist/schemas.d.cts +1353 -0
- package/dist/schemas.d.ts +1353 -0
- package/dist/schemas.js +1 -0
- package/dist/stream.cjs +44 -0
- package/dist/stream.d.cts +2 -0
- package/dist/stream.d.ts +2 -0
- package/dist/stream.js +3 -0
- package/dist/web.cjs +1045 -0
- package/dist/web.d.cts +4186 -0
- package/dist/web.d.ts +4186 -0
- package/dist/web.js +867 -0
- package/dist/workflows.cjs +825 -0
- package/dist/workflows.d.cts +4699 -0
- package/dist/workflows.d.ts +4699 -0
- package/dist/workflows.js +686 -0
- package/package.json +418 -4
package/dist/audio.js
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { openStream } from './chunk-UONBYRE4.js';
|
|
2
|
+
import './chunk-KIEAFMKB.js';
|
|
3
|
+
import './chunk-AY5N6EA4.js';
|
|
4
|
+
|
|
5
|
+
// src/generated/audio.ts
|
|
6
|
+
var $createRecordingJournalChunk = { m: "POST", p: "/audio/recording-journal/chunks", d: "aidream", a: "guest", o: "required", n: "audio.create_recording_journal_chunk" };
|
|
7
|
+
function createRecordingJournalChunk(api, args, options) {
|
|
8
|
+
return api.call($createRecordingJournalChunk, args, options);
|
|
9
|
+
}
|
|
10
|
+
var $getRecordingJournals = { m: "GET", p: "/audio/recording-journal", d: "aidream", a: "guest", o: "optional", n: "audio.get_recording_journals" };
|
|
11
|
+
function getRecordingJournals(api, args, options) {
|
|
12
|
+
return api.call($getRecordingJournals, args, options);
|
|
13
|
+
}
|
|
14
|
+
var $getRecordingJournal = { m: "GET", p: "/audio/recording-journal/{recording_id}", d: "aidream", a: "guest", o: "optional", n: "audio.get_recording_journal" };
|
|
15
|
+
function getRecordingJournal(api, args, options) {
|
|
16
|
+
return api.call($getRecordingJournal, args, options);
|
|
17
|
+
}
|
|
18
|
+
var $deleteRecordingJournal = { m: "DELETE", p: "/audio/recording-journal/{recording_id}", d: "aidream", a: "guest", o: "required", n: "audio.delete_recording_journal" };
|
|
19
|
+
function deleteRecordingJournal(api, args, options) {
|
|
20
|
+
return api.call($deleteRecordingJournal, args, options);
|
|
21
|
+
}
|
|
22
|
+
var $completeRecordingJournal = { m: "POST", p: "/audio/recording-journal/{recording_id}/complete", d: "aidream", a: "guest", o: "required", n: "audio.complete_recording_journal" };
|
|
23
|
+
function completeRecordingJournal(api, args, options) {
|
|
24
|
+
return api.call($completeRecordingJournal, args, options);
|
|
25
|
+
}
|
|
26
|
+
var $transcribeUpload = { m: "POST", p: "/audio/transcribe", d: "aidream", a: "guest", o: "required", n: "audio.transcribe_upload" };
|
|
27
|
+
function transcribeUpload(api, args, options) {
|
|
28
|
+
return api.call($transcribeUpload, args, options);
|
|
29
|
+
}
|
|
30
|
+
var $transcribeUrl = { m: "POST", p: "/audio/transcribe-url", d: "aidream", a: "guest", o: "required", n: "audio.transcribe_url" };
|
|
31
|
+
function transcribeUrl(api, args, options) {
|
|
32
|
+
return api.call($transcribeUrl, args, options);
|
|
33
|
+
}
|
|
34
|
+
var $transcribeFile = { m: "POST", p: "/audio/transcribe-file", d: "aidream", a: "guest", o: "required", n: "audio.transcribe_file" };
|
|
35
|
+
function transcribeFile(api, args, options) {
|
|
36
|
+
return api.call($transcribeFile, args, options);
|
|
37
|
+
}
|
|
38
|
+
var $voicePreviewRoute = { m: "POST", p: "/audio/voice-preview", d: "aidream", a: "guest", o: "required", n: "audio.voice_preview_route" };
|
|
39
|
+
function voicePreviewRoute(api, args, options) {
|
|
40
|
+
return api.call($voicePreviewRoute, args, options);
|
|
41
|
+
}
|
|
42
|
+
var $textToSpeech = { m: "POST", p: "/audio/text-to-speech", d: "aidream", a: "guest", o: "required", n: "audio.text_to_speech" };
|
|
43
|
+
function textToSpeech(api, args, options) {
|
|
44
|
+
return api.call($textToSpeech, args, options);
|
|
45
|
+
}
|
|
46
|
+
var $youtubeTranscript = { m: "POST", p: "/media/youtube/transcript", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "audio.youtube_transcript" };
|
|
47
|
+
function youtubeTranscript(api, args, options) {
|
|
48
|
+
return openStream(api, $youtubeTranscript, args, options);
|
|
49
|
+
}
|
|
50
|
+
var $getStatus = { m: "GET", p: "/wake-word/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.get_status" };
|
|
51
|
+
function getStatus(api, args, options) {
|
|
52
|
+
return api.call($getStatus, args, options);
|
|
53
|
+
}
|
|
54
|
+
var $startWakeWord = { m: "POST", p: "/wake-word/start", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.start_wake_word" };
|
|
55
|
+
function startWakeWord(api, args, options) {
|
|
56
|
+
return api.call($startWakeWord, args, options);
|
|
57
|
+
}
|
|
58
|
+
var $stopWakeWord = { m: "POST", p: "/wake-word/stop", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.stop_wake_word" };
|
|
59
|
+
function stopWakeWord(api, args, options) {
|
|
60
|
+
return api.call($stopWakeWord, args, options);
|
|
61
|
+
}
|
|
62
|
+
var $muteWakeWord = { m: "POST", p: "/wake-word/mute", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.mute_wake_word" };
|
|
63
|
+
function muteWakeWord(api, args, options) {
|
|
64
|
+
return api.call($muteWakeWord, args, options);
|
|
65
|
+
}
|
|
66
|
+
var $unmuteWakeWord = { m: "POST", p: "/wake-word/unmute", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.unmute_wake_word" };
|
|
67
|
+
function unmuteWakeWord(api, args, options) {
|
|
68
|
+
return api.call($unmuteWakeWord, args, options);
|
|
69
|
+
}
|
|
70
|
+
var $dismissWakeWord = { m: "POST", p: "/wake-word/dismiss", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.dismiss_wake_word" };
|
|
71
|
+
function dismissWakeWord(api, args, options) {
|
|
72
|
+
return api.call($dismissWakeWord, args, options);
|
|
73
|
+
}
|
|
74
|
+
var $triggerWakeWord = { m: "POST", p: "/wake-word/trigger", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.trigger_wake_word" };
|
|
75
|
+
function triggerWakeWord(api, args, options) {
|
|
76
|
+
return api.call($triggerWakeWord, args, options);
|
|
77
|
+
}
|
|
78
|
+
var $configureWakeWord = { m: "POST", p: "/wake-word/configure", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.configure_wake_word" };
|
|
79
|
+
function configureWakeWord(api, args, options) {
|
|
80
|
+
return api.call($configureWakeWord, args, options);
|
|
81
|
+
}
|
|
82
|
+
var $eventStream = { m: "GET", p: "/wake-word/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "audio.event_stream" };
|
|
83
|
+
function eventStream(api, args, options) {
|
|
84
|
+
return openStream(api, $eventStream, args, options);
|
|
85
|
+
}
|
|
86
|
+
var $listModels = { m: "GET", p: "/wake-word/models", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.list_models" };
|
|
87
|
+
function listModels(api, args, options) {
|
|
88
|
+
return api.call($listModels, args, options);
|
|
89
|
+
}
|
|
90
|
+
var $downloadOwwModel = { m: "POST", p: "/wake-word/models/download", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.download_oww_model" };
|
|
91
|
+
function downloadOwwModel(api, args, options) {
|
|
92
|
+
return api.call($downloadOwwModel, args, options);
|
|
93
|
+
}
|
|
94
|
+
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" };
|
|
95
|
+
function downloadModelWithProgress(api, args, options) {
|
|
96
|
+
return openStream(api, $downloadModelWithProgress, args, options);
|
|
97
|
+
}
|
|
98
|
+
var $ttsStatus = { m: "GET", p: "/tts/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.tts_status" };
|
|
99
|
+
function ttsStatus(api, args, options) {
|
|
100
|
+
return api.call($ttsStatus, args, options);
|
|
101
|
+
}
|
|
102
|
+
var $listVoices = { m: "GET", p: "/tts/voices", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.list_voices" };
|
|
103
|
+
function listVoices(api, args, options) {
|
|
104
|
+
return api.call($listVoices, args, options);
|
|
105
|
+
}
|
|
106
|
+
var $downloadModel = { m: "POST", p: "/tts/download-model", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.download_model" };
|
|
107
|
+
function downloadModel(api, args, options) {
|
|
108
|
+
return api.call($downloadModel, args, options);
|
|
109
|
+
}
|
|
110
|
+
var $synthesize = { m: "POST", p: "/tts/synthesize", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.synthesize" };
|
|
111
|
+
function synthesize(api, args, options) {
|
|
112
|
+
return api.call($synthesize, args, options);
|
|
113
|
+
}
|
|
114
|
+
var $synthesizeStream = { m: "POST", p: "/tts/synthesize-stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "bytes", n: "audio.synthesize_stream" };
|
|
115
|
+
function synthesizeStream(api, args, options) {
|
|
116
|
+
return api.send($synthesizeStream, args, options).then((x) => x.response);
|
|
117
|
+
}
|
|
118
|
+
var $previewVoice = { m: "POST", p: "/tts/preview-voice", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.preview_voice" };
|
|
119
|
+
function previewVoice(api, args, options) {
|
|
120
|
+
return api.call($previewVoice, args, options);
|
|
121
|
+
}
|
|
122
|
+
var $unload = { m: "DELETE", p: "/tts/unload", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.unload" };
|
|
123
|
+
function unload(api, args, options) {
|
|
124
|
+
return api.call($unload, args, options);
|
|
125
|
+
}
|
|
126
|
+
var $blendPreview = { m: "POST", p: "/tts/blend/preview", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.blend_preview" };
|
|
127
|
+
function blendPreview(api, args, options) {
|
|
128
|
+
return api.call($blendPreview, args, options);
|
|
129
|
+
}
|
|
130
|
+
var $blendSave = { m: "POST", p: "/tts/blend/save", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.blend_save" };
|
|
131
|
+
function blendSave(api, args, options) {
|
|
132
|
+
return api.call($blendSave, args, options);
|
|
133
|
+
}
|
|
134
|
+
var $listCustomVoices = { m: "GET", p: "/tts/custom-voices", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.list_custom_voices" };
|
|
135
|
+
function listCustomVoices(api, args, options) {
|
|
136
|
+
return api.call($listCustomVoices, args, options);
|
|
137
|
+
}
|
|
138
|
+
var $renameCustomVoice = { m: "PATCH", p: "/tts/custom-voices/{voice_id}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.rename_custom_voice" };
|
|
139
|
+
function renameCustomVoice(api, args, options) {
|
|
140
|
+
return api.call($renameCustomVoice, args, options);
|
|
141
|
+
}
|
|
142
|
+
var $deleteCustomVoice = { m: "DELETE", p: "/tts/custom-voices/{voice_id}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.delete_custom_voice" };
|
|
143
|
+
function deleteCustomVoice(api, args, options) {
|
|
144
|
+
return api.call($deleteCustomVoice, args, options);
|
|
145
|
+
}
|
|
146
|
+
var $importVoiceFile = { m: "POST", p: "/tts/custom-voices/import", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.import_voice_file" };
|
|
147
|
+
function importVoiceFile(api, args, options) {
|
|
148
|
+
return api.call($importVoiceFile, args, options);
|
|
149
|
+
}
|
|
150
|
+
var TABLE = {
|
|
151
|
+
"POST /audio/recording-journal/chunks": $createRecordingJournalChunk,
|
|
152
|
+
"GET /audio/recording-journal": $getRecordingJournals,
|
|
153
|
+
"GET /audio/recording-journal/{recording_id}": $getRecordingJournal,
|
|
154
|
+
"DELETE /audio/recording-journal/{recording_id}": $deleteRecordingJournal,
|
|
155
|
+
"POST /audio/recording-journal/{recording_id}/complete": $completeRecordingJournal,
|
|
156
|
+
"POST /audio/transcribe": $transcribeUpload,
|
|
157
|
+
"POST /audio/transcribe-url": $transcribeUrl,
|
|
158
|
+
"POST /audio/transcribe-file": $transcribeFile,
|
|
159
|
+
"POST /audio/voice-preview": $voicePreviewRoute,
|
|
160
|
+
"POST /audio/text-to-speech": $textToSpeech,
|
|
161
|
+
"GET /wake-word/status": $getStatus,
|
|
162
|
+
"POST /wake-word/start": $startWakeWord,
|
|
163
|
+
"POST /wake-word/stop": $stopWakeWord,
|
|
164
|
+
"POST /wake-word/mute": $muteWakeWord,
|
|
165
|
+
"POST /wake-word/unmute": $unmuteWakeWord,
|
|
166
|
+
"POST /wake-word/dismiss": $dismissWakeWord,
|
|
167
|
+
"POST /wake-word/trigger": $triggerWakeWord,
|
|
168
|
+
"POST /wake-word/configure": $configureWakeWord,
|
|
169
|
+
"GET /wake-word/models": $listModels,
|
|
170
|
+
"POST /wake-word/models/download": $downloadOwwModel,
|
|
171
|
+
"GET /tts/status": $ttsStatus,
|
|
172
|
+
"GET /tts/voices": $listVoices,
|
|
173
|
+
"POST /tts/download-model": $downloadModel,
|
|
174
|
+
"POST /tts/synthesize": $synthesize,
|
|
175
|
+
"POST /tts/preview-voice": $previewVoice,
|
|
176
|
+
"DELETE /tts/unload": $unload,
|
|
177
|
+
"POST /tts/blend/preview": $blendPreview,
|
|
178
|
+
"POST /tts/blend/save": $blendSave,
|
|
179
|
+
"GET /tts/custom-voices": $listCustomVoices,
|
|
180
|
+
"PATCH /tts/custom-voices/{voice_id}": $renameCustomVoice,
|
|
181
|
+
"DELETE /tts/custom-voices/{voice_id}": $deleteCustomVoice,
|
|
182
|
+
"POST /tts/custom-voices/import": $importVoiceFile
|
|
183
|
+
};
|
|
184
|
+
function call(api, key, args, options) {
|
|
185
|
+
return api.call(TABLE[key], args, options);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
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 };
|