@ai-matrx/api 0.0.0-stage → 0.1.1

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