@ai-matrx/api 0.1.32 → 0.1.33
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/agents.cjs +13 -13
- package/dist/agents.js +1 -1
- package/dist/ai.cjs +2 -2
- package/dist/ai.js +1 -1
- package/dist/apps.cjs +5 -5
- package/dist/apps.js +1 -1
- package/dist/architecture.cjs +12 -12
- package/dist/architecture.js +1 -1
- package/dist/audio.cjs +39 -39
- package/dist/audio.js +2 -2
- package/dist/chat.cjs +11 -11
- package/dist/chat.js +1 -1
- package/dist/{chunk-27ZEEIXM.cjs → chunk-2XQZ7UUM.cjs} +7 -1
- package/dist/{chunk-LYHAZQX5.js → chunk-4DIKNTZ5.js} +1 -1
- package/dist/{chunk-TMEGWPWE.cjs → chunk-BO4DXT4E.cjs} +37 -37
- package/dist/{chunk-X75SKCDS.js → chunk-DVYCIFMH.js} +7 -1
- package/dist/{chunk-VK5BH6FK.cjs → chunk-EC2LWEXH.cjs} +4 -4
- package/dist/{chunk-LYRANVIS.cjs → chunk-N72EQZ4X.cjs} +3 -3
- package/dist/{chunk-DKJGWA5L.js → chunk-PVQZBXTU.js} +1 -1
- package/dist/{chunk-5TRUQNVW.js → chunk-QGHXBN6P.js} +1 -1
- package/dist/code.cjs +6 -6
- package/dist/code.js +1 -1
- package/dist/communications.cjs +4 -4
- package/dist/communications.js +1 -1
- package/dist/computer.cjs +4 -4
- package/dist/computer.js +1 -1
- package/dist/content.cjs +4 -4
- package/dist/content.js +1 -1
- package/dist/crm.cjs +2 -2
- package/dist/crm.js +1 -1
- package/dist/data.cjs +4 -4
- package/dist/data.js +1 -1
- package/dist/education.cjs +4 -4
- package/dist/education.js +1 -1
- package/dist/files.cjs +228 -228
- package/dist/files.js +2 -2
- package/dist/index.cjs +58 -58
- package/dist/index.js +2 -2
- package/dist/integrations.cjs +5 -5
- package/dist/integrations.js +1 -1
- package/dist/intelligence.cjs +7 -7
- package/dist/intelligence.js +1 -1
- package/dist/knowledge.cjs +42 -42
- package/dist/knowledge.js +1 -1
- package/dist/legal.cjs +6 -6
- package/dist/legal.js +1 -1
- package/dist/marketing.cjs +82 -82
- package/dist/marketing.js +1 -1
- package/dist/masterwork.cjs +32 -32
- package/dist/masterwork.js +1 -1
- package/dist/media.cjs +11 -11
- package/dist/media.js +1 -1
- package/dist/platform.cjs +27 -27
- package/dist/platform.js +2 -2
- package/dist/publish.cjs +7 -7
- package/dist/publish.js +1 -1
- package/dist/recording.cjs +17 -17
- package/dist/recording.js +4 -4
- package/dist/stream.cjs +10 -10
- package/dist/stream.js +1 -1
- package/dist/web.cjs +27 -27
- package/dist/web.js +1 -1
- package/dist/workflows.cjs +13 -13
- package/dist/workflows.js +1 -1
- package/package.json +4 -4
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2XQZ7UUM_cjs = require('./chunk-2XQZ7UUM.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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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) {
|
|
@@ -90,6 +90,12 @@ async function parseHttpError(response) {
|
|
|
90
90
|
}
|
|
91
91
|
return parseHttpErrorBody(body, status);
|
|
92
92
|
}
|
|
93
|
+
function honestUserMessage(userMessage, message) {
|
|
94
|
+
if (!isGenericUserMessage(userMessage)) return userMessage;
|
|
95
|
+
const m = typeof message === "string" ? message.trim() : "";
|
|
96
|
+
if (!m || /^[[{(<]/.test(m) || isGenericUserMessage(m) || !/\s/.test(m)) return userMessage;
|
|
97
|
+
return m;
|
|
98
|
+
}
|
|
93
99
|
function parseHttpErrorBody(body, status) {
|
|
94
100
|
if (!body) {
|
|
95
101
|
return new BackendApiError({
|
|
@@ -103,7 +109,7 @@ function parseHttpErrorBody(body, status) {
|
|
|
103
109
|
return new BackendApiError({
|
|
104
110
|
code: body.error,
|
|
105
111
|
detail: body.message || `HTTP ${status}`,
|
|
106
|
-
userMessage: body.user_message,
|
|
112
|
+
userMessage: honestUserMessage(body.user_message, body.message),
|
|
107
113
|
details: body.details ?? null,
|
|
108
114
|
requestId: typeof body.request_id === "string" ? body.request_id : void 0,
|
|
109
115
|
status
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2XQZ7UUM_cjs = require('./chunk-2XQZ7UUM.cjs');
|
|
4
4
|
|
|
5
5
|
// src/generated/audio.ts
|
|
6
6
|
var $createRecordingJournalChunk = { m: "POST", p: "/audio/recording-journal/chunks", d: "aidream", a: "guest", o: "required", n: "audio.create_recording_journal_chunk" };
|
|
@@ -45,7 +45,7 @@ function textToSpeech(api, args, options) {
|
|
|
45
45
|
}
|
|
46
46
|
var $youtubeTranscript = { m: "POST", p: "/media/youtube/transcript", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "audio.youtube_transcript" };
|
|
47
47
|
function youtubeTranscript(api, args, options) {
|
|
48
|
-
return
|
|
48
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $youtubeTranscript, args, options);
|
|
49
49
|
}
|
|
50
50
|
var $getStatus = { m: "GET", p: "/wake-word/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.get_status" };
|
|
51
51
|
function getStatus(api, args, options) {
|
|
@@ -81,7 +81,7 @@ function configureWakeWord(api, args, options) {
|
|
|
81
81
|
}
|
|
82
82
|
var $eventStream = { m: "GET", p: "/wake-word/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "audio.event_stream" };
|
|
83
83
|
function eventStream(api, args, options) {
|
|
84
|
-
return
|
|
84
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $eventStream, args, options);
|
|
85
85
|
}
|
|
86
86
|
var $listModels = { m: "GET", p: "/wake-word/models", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.list_models" };
|
|
87
87
|
function listModels(api, args, options) {
|
|
@@ -93,7 +93,7 @@ function downloadOwwModel(api, args, options) {
|
|
|
93
93
|
}
|
|
94
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
95
|
function downloadModelWithProgress(api, args, options) {
|
|
96
|
-
return
|
|
96
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $downloadModelWithProgress, args, options);
|
|
97
97
|
}
|
|
98
98
|
var $ttsStatus = { m: "GET", p: "/tts/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.tts_status" };
|
|
99
99
|
function ttsStatus(api, args, options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2XQZ7UUM_cjs = require('./chunk-2XQZ7UUM.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 chunk2XQZ7UUM_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 chunk2XQZ7UUM_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,4 +1,4 @@
|
|
|
1
|
-
import { openJsonOrStream, openStream } from './chunk-
|
|
1
|
+
import { openJsonOrStream, openStream } from './chunk-DVYCIFMH.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,4 +1,4 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
1
|
+
import { openStream } from './chunk-DVYCIFMH.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" };
|
package/dist/code.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2XQZ7UUM_cjs = require('./chunk-2XQZ7UUM.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/code.ts
|
|
@@ -46,7 +46,7 @@ function claudeManagedCapabilities(api, args, options) {
|
|
|
46
46
|
}
|
|
47
47
|
var $claudeManagedStream = { m: "POST", p: "/coding-sessions/claude/stream", d: "aidream", a: "user", o: "required", s: "ndjson", n: "code.claude_managed_stream" };
|
|
48
48
|
function claudeManagedStream(api, args, options) {
|
|
49
|
-
return
|
|
49
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $claudeManagedStream, args, options);
|
|
50
50
|
}
|
|
51
51
|
var $cancelClaudeManagedRuntime = { m: "POST", p: "/coding-sessions/claude/runtimes/{runtime_id}/cancel", d: "aidream", a: "user", o: "required", n: "code.cancel_claude_managed_runtime" };
|
|
52
52
|
function cancelClaudeManagedRuntime(api, args, options) {
|
|
@@ -58,7 +58,7 @@ function codexManagedCapabilities(api, args, options) {
|
|
|
58
58
|
}
|
|
59
59
|
var $codexManagedStream = { m: "POST", p: "/coding-sessions/codex/stream", d: "aidream", a: "user", o: "required", s: "ndjson", n: "code.codex_managed_stream" };
|
|
60
60
|
function codexManagedStream(api, args, options) {
|
|
61
|
-
return
|
|
61
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $codexManagedStream, args, options);
|
|
62
62
|
}
|
|
63
63
|
var $cancelCodexManagedRuntime = { m: "POST", p: "/coding-sessions/codex/runtimes/{runtime_id}/cancel", d: "aidream", a: "user", o: "required", n: "code.cancel_codex_managed_runtime" };
|
|
64
64
|
function cancelCodexManagedRuntime(api, args, options) {
|
|
@@ -138,7 +138,7 @@ function claudeManagedCapabilitiesOnHostedBox(api, args, options) {
|
|
|
138
138
|
}
|
|
139
139
|
var $claudeManagedStreamOnHostedBox = { m: "POST", p: "/coding-sessions/claude/stream", d: "hosted-box", a: "user", o: "required", s: "ndjson", n: "code.claude_managed_stream" };
|
|
140
140
|
function claudeManagedStreamOnHostedBox(api, args, options) {
|
|
141
|
-
return
|
|
141
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $claudeManagedStreamOnHostedBox, args, options);
|
|
142
142
|
}
|
|
143
143
|
var $cancelClaudeManagedRuntimeOnHostedBox = { m: "POST", p: "/coding-sessions/claude/runtimes/{runtime_id}/cancel", d: "hosted-box", a: "user", o: "required", n: "code.cancel_claude_managed_runtime" };
|
|
144
144
|
function cancelClaudeManagedRuntimeOnHostedBox(api, args, options) {
|
|
@@ -150,7 +150,7 @@ function codexManagedCapabilitiesOnHostedBox(api, args, options) {
|
|
|
150
150
|
}
|
|
151
151
|
var $codexManagedStreamOnHostedBox = { m: "POST", p: "/coding-sessions/codex/stream", d: "hosted-box", a: "user", o: "required", s: "ndjson", n: "code.codex_managed_stream" };
|
|
152
152
|
function codexManagedStreamOnHostedBox(api, args, options) {
|
|
153
|
-
return
|
|
153
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $codexManagedStreamOnHostedBox, args, options);
|
|
154
154
|
}
|
|
155
155
|
var $cancelCodexManagedRuntimeOnHostedBox = { m: "POST", p: "/coding-sessions/codex/runtimes/{runtime_id}/cancel", d: "hosted-box", a: "user", o: "required", n: "code.cancel_codex_managed_runtime" };
|
|
156
156
|
function cancelCodexManagedRuntimeOnHostedBox(api, args, options) {
|
|
@@ -378,7 +378,7 @@ function runtimeResumable(api, args, options) {
|
|
|
378
378
|
}
|
|
379
379
|
var $runtimeEvents = { m: "GET", p: "/coding-session/runtime/{runtime_id}/events", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "code.runtime_events" };
|
|
380
380
|
function runtimeEvents(api, args, options) {
|
|
381
|
-
return
|
|
381
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $runtimeEvents, args, options);
|
|
382
382
|
}
|
|
383
383
|
var $getCodexUsageAllowance = { m: "GET", p: "/codex-usage/allowance", d: "matrx-local", a: "loopback_token", o: "exempt", n: "code.get_codex_usage_allowance" };
|
|
384
384
|
function getCodexUsageAllowance(api, args, options) {
|
package/dist/code.js
CHANGED
package/dist/communications.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2XQZ7UUM_cjs = require('./chunk-2XQZ7UUM.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/communications.ts
|
|
@@ -102,7 +102,7 @@ function agentStop(api, args, options) {
|
|
|
102
102
|
}
|
|
103
103
|
var $intelligenceAsk = { m: "POST", p: "/v1/meet/intelligence/ask", d: "aidream", a: "scoped", o: "required", s: "ndjson", n: "communications.intelligence_ask" };
|
|
104
104
|
function intelligenceAsk(api, args, options) {
|
|
105
|
-
return
|
|
105
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $intelligenceAsk, args, options);
|
|
106
106
|
}
|
|
107
107
|
var $meetingRecord = { m: "GET", p: "/v1/meet/record", d: "aidream", a: "scoped", o: "required", n: "communications.meeting_record" };
|
|
108
108
|
function meetingRecord(api, args, options) {
|
|
@@ -142,11 +142,11 @@ function meetingGoogleCalendar(api, args, options) {
|
|
|
142
142
|
}
|
|
143
143
|
var $meetingBrief = { m: "POST", p: "/v1/meet/meetings/{meeting_id}/brief", d: "aidream", a: "user", o: "required", s: "ndjson", n: "communications.meeting_brief" };
|
|
144
144
|
function meetingBrief(api, args, options) {
|
|
145
|
-
return
|
|
145
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $meetingBrief, args, options);
|
|
146
146
|
}
|
|
147
147
|
var $agendaDraft = { m: "POST", p: "/v1/meet/agenda-draft", d: "aidream", a: "user", o: "required", s: "ndjson", n: "communications.agenda_draft" };
|
|
148
148
|
function agendaDraft(api, args, options) {
|
|
149
|
-
return
|
|
149
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $agendaDraft, args, options);
|
|
150
150
|
}
|
|
151
151
|
var $meetingModerate = { m: "POST", p: "/v1/meet/moderate", d: "aidream", a: "scoped", o: "required", n: "communications.meeting_moderate" };
|
|
152
152
|
function meetingModerate(api, args, options) {
|
package/dist/communications.js
CHANGED
package/dist/computer.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2XQZ7UUM_cjs = require('./chunk-2XQZ7UUM.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/computer.ts
|
|
@@ -50,11 +50,11 @@ function getAccessLogs(api, args, options) {
|
|
|
50
50
|
}
|
|
51
51
|
var $streamSystemLog = { m: "GET", p: "/logs/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "computer.stream_system_log" };
|
|
52
52
|
function streamSystemLog(api, args, options) {
|
|
53
|
-
return
|
|
53
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $streamSystemLog, args, options);
|
|
54
54
|
}
|
|
55
55
|
var $streamAccessLog = { m: "GET", p: "/logs/access/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "computer.stream_access_log" };
|
|
56
56
|
function streamAccessLog(api, args, options) {
|
|
57
|
-
return
|
|
57
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $streamAccessLog, args, options);
|
|
58
58
|
}
|
|
59
59
|
var $pushNotification = { m: "POST", p: "/notify", d: "matrx-local", a: "loopback_token", o: "exempt", n: "computer.push_notification" };
|
|
60
60
|
function pushNotification(api, args, options) {
|
|
@@ -90,7 +90,7 @@ function messages(api, args, options) {
|
|
|
90
90
|
}
|
|
91
91
|
var $events = { m: "GET", p: "/personal-messaging/beeper/events", d: "matrx-local", a: "loopback_token", o: "exempt", s: "ndjson", n: "computer.events" };
|
|
92
92
|
function events(api, args, options) {
|
|
93
|
-
return
|
|
93
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $events, args, options);
|
|
94
94
|
}
|
|
95
95
|
var $message = { m: "GET", p: "/personal-messaging/beeper/message", d: "matrx-local", a: "loopback_token", o: "exempt", n: "computer.message" };
|
|
96
96
|
function message(api, args, options) {
|
package/dist/computer.js
CHANGED
package/dist/content.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2XQZ7UUM_cjs = require('./chunk-2XQZ7UUM.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/content.ts
|
|
@@ -122,15 +122,15 @@ function processBlocks(api, args, options) {
|
|
|
122
122
|
}
|
|
123
123
|
var $processBlocksStream = { m: "POST", p: "/utilities/block-processing/process/stream", d: "aidream", a: "guest", o: "exempt", s: "ndjson", n: "content.process_blocks_stream" };
|
|
124
124
|
function processBlocksStream(api, args, options) {
|
|
125
|
-
return
|
|
125
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $processBlocksStream, args, options);
|
|
126
126
|
}
|
|
127
127
|
var $simulateProviderRetryStream = { m: "POST", p: "/utilities/block-processing/simulate/provider-retry", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "content.simulate_provider_retry_stream" };
|
|
128
128
|
function simulateProviderRetryStream(api, args, options) {
|
|
129
|
-
return
|
|
129
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $simulateProviderRetryStream, args, options);
|
|
130
130
|
}
|
|
131
131
|
var $processFile = { m: "POST", p: "/content-processing/{cld_file_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "content.process_file" };
|
|
132
132
|
function processFile(api, args, options) {
|
|
133
|
-
return
|
|
133
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $processFile, args, options);
|
|
134
134
|
}
|
|
135
135
|
var $generateOffice = { m: "POST", p: "/office/generate", d: "aidream", a: "guest", o: "required", n: "content.generate_office" };
|
|
136
136
|
function generateOffice(api, args, options) {
|
package/dist/content.js
CHANGED
package/dist/crm.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2XQZ7UUM_cjs = require('./chunk-2XQZ7UUM.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/crm.ts
|
|
@@ -134,7 +134,7 @@ function mediaResearchPreviewDoor(api, args, options) {
|
|
|
134
134
|
}
|
|
135
135
|
var $mediaResearchRunDoor = { m: "POST", p: "/crm/outreach-lists/{list_id}/media-research/run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "crm.media_research_run_door" };
|
|
136
136
|
function mediaResearchRunDoor(api, args, options) {
|
|
137
|
-
return
|
|
137
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $mediaResearchRunDoor, args, options);
|
|
138
138
|
}
|
|
139
139
|
var $previewBulkEnrichment = { m: "POST", p: "/crm/enrichment/bulk/preview", d: "aidream", a: "guest", o: "required", n: "crm.preview_bulk_enrichment" };
|
|
140
140
|
function previewBulkEnrichment(api, args, options) {
|
package/dist/crm.js
CHANGED
package/dist/data.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2XQZ7UUM_cjs = require('./chunk-2XQZ7UUM.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/data.ts
|
|
@@ -198,7 +198,7 @@ function listSources(api, args, options) {
|
|
|
198
198
|
}
|
|
199
199
|
var $fetch = { m: "POST", p: "/data-sources/fetch", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "data.fetch" };
|
|
200
200
|
function fetch(api, args, options) {
|
|
201
|
-
return
|
|
201
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $fetch, args, options);
|
|
202
202
|
}
|
|
203
203
|
var $ingestRows = { m: "POST", p: "/data-sources/ingest-rows", d: "aidream", a: "guest", o: "required", n: "data.ingest_rows" };
|
|
204
204
|
function ingestRows(api, args, options) {
|
|
@@ -214,7 +214,7 @@ function getJobChanges(api, args, options) {
|
|
|
214
214
|
}
|
|
215
215
|
var $refresh = { m: "POST", p: "/data-sources/tables/{table_id}/refresh", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "data.refresh" };
|
|
216
216
|
function refresh(api, args, options) {
|
|
217
|
-
return
|
|
217
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $refresh, args, options);
|
|
218
218
|
}
|
|
219
219
|
var $unlockQuote = { m: "GET", p: "/data-sources/unlock/quote", d: "aidream", a: "user", o: "required", n: "data.unlock_quote" };
|
|
220
220
|
function unlockQuote(api, args, options) {
|
|
@@ -246,7 +246,7 @@ function quote(api, args, options) {
|
|
|
246
246
|
}
|
|
247
247
|
var $run = { m: "POST", p: "/comparison/run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "data.run" };
|
|
248
248
|
function run(api, args, options) {
|
|
249
|
-
return
|
|
249
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $run, args, options);
|
|
250
250
|
}
|
|
251
251
|
var $receiveAutomationWebhook = { m: "POST", p: "/automations/hooks/{automation_id}/{secret}", d: "aidream", a: "scoped", o: "required", n: "data.receive_automation_webhook" };
|
|
252
252
|
function receiveAutomationWebhook(api, args, options) {
|
package/dist/data.js
CHANGED
package/dist/education.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2XQZ7UUM_cjs = require('./chunk-2XQZ7UUM.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/education.ts
|
|
7
7
|
var $sourceCard = { m: "POST", p: "/education/images/source-card", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.source_card" };
|
|
8
8
|
function sourceCard(api, args, options) {
|
|
9
|
-
return
|
|
9
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $sourceCard, args, options);
|
|
10
10
|
}
|
|
11
11
|
var $generateCard = { m: "POST", p: "/education/images/generate-card", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.generate_card" };
|
|
12
12
|
function generateCard(api, args, options) {
|
|
13
|
-
return
|
|
13
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $generateCard, args, options);
|
|
14
14
|
}
|
|
15
15
|
var $sourceSet = { m: "POST", p: "/education/images/source-set", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.source_set" };
|
|
16
16
|
function sourceSet(api, args, options) {
|
|
17
|
-
return
|
|
17
|
+
return chunk2XQZ7UUM_cjs.openStream(api, $sourceSet, args, options);
|
|
18
18
|
}
|
|
19
19
|
var TABLE = {};
|
|
20
20
|
function call(api, key, args, options) {
|
package/dist/education.js
CHANGED