@ai-matrx/api 0.1.23 → 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 +35 -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 +63 -67
- package/dist/index.d.cts +3 -11
- package/dist/index.d.ts +3 -11
- package/dist/index.js +8 -12
- 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
|
@@ -0,0 +1,1107 @@
|
|
|
1
|
+
import { openStream, openJsonOrStream } from './chunk-OYD4PTWW.js';
|
|
2
|
+
|
|
3
|
+
// src/generated/files.ts
|
|
4
|
+
var $compressPdf = { m: "POST", p: "/utilities/pdf/compress", d: "aidream", a: "guest", o: "required", n: "files.compress_pdf" };
|
|
5
|
+
function compressPdf(api, args, options) {
|
|
6
|
+
return api.call($compressPdf, args, options);
|
|
7
|
+
}
|
|
8
|
+
var $extractTextFromPdf = { m: "POST", p: "/utilities/pdf/extract-text", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_text_from_pdf" };
|
|
9
|
+
function extractTextFromPdf(api, args, options) {
|
|
10
|
+
return openStream(api, $extractTextFromPdf, args, options);
|
|
11
|
+
}
|
|
12
|
+
var $extractPages = { m: "POST", p: "/utilities/pdf/extract-pages", d: "aidream", a: "guest", o: "required", n: "files.extract_pages" };
|
|
13
|
+
function extractPages(api, args, options) {
|
|
14
|
+
return api.call($extractPages, args, options);
|
|
15
|
+
}
|
|
16
|
+
var $cropPages = { m: "POST", p: "/utilities/pdf/crop-pages", d: "aidream", a: "guest", o: "required", n: "files.crop_pages" };
|
|
17
|
+
function cropPages(api, args, options) {
|
|
18
|
+
return api.call($cropPages, args, options);
|
|
19
|
+
}
|
|
20
|
+
var $rotatePages = { m: "POST", p: "/utilities/pdf/rotate-pages", d: "aidream", a: "guest", o: "required", n: "files.rotate_pages" };
|
|
21
|
+
function rotatePages(api, args, options) {
|
|
22
|
+
return api.call($rotatePages, args, options);
|
|
23
|
+
}
|
|
24
|
+
var $deletePages = { m: "POST", p: "/utilities/pdf/delete-pages", d: "aidream", a: "guest", o: "required", n: "files.delete_pages" };
|
|
25
|
+
function deletePages(api, args, options) {
|
|
26
|
+
return api.call($deletePages, args, options);
|
|
27
|
+
}
|
|
28
|
+
var $mergePdfs = { m: "POST", p: "/utilities/pdf/merge", d: "aidream", a: "guest", o: "required", n: "files.merge_pdfs" };
|
|
29
|
+
function mergePdfs(api, args, options) {
|
|
30
|
+
return api.call($mergePdfs, args, options);
|
|
31
|
+
}
|
|
32
|
+
var $splitPdf = { m: "POST", p: "/utilities/pdf/split", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.split_pdf" };
|
|
33
|
+
function splitPdf(api, args, options) {
|
|
34
|
+
return openJsonOrStream(api, $splitPdf, args, options);
|
|
35
|
+
}
|
|
36
|
+
var $reorderPages = { m: "POST", p: "/utilities/pdf/reorder-pages", d: "aidream", a: "guest", o: "required", n: "files.reorder_pages" };
|
|
37
|
+
function reorderPages(api, args, options) {
|
|
38
|
+
return api.call($reorderPages, args, options);
|
|
39
|
+
}
|
|
40
|
+
var $insertPages = { m: "POST", p: "/utilities/pdf/insert-pages", d: "aidream", a: "guest", o: "required", n: "files.insert_pages" };
|
|
41
|
+
function insertPages(api, args, options) {
|
|
42
|
+
return api.call($insertPages, args, options);
|
|
43
|
+
}
|
|
44
|
+
var $duplicatePages = { m: "POST", p: "/utilities/pdf/duplicate-pages", d: "aidream", a: "guest", o: "required", n: "files.duplicate_pages" };
|
|
45
|
+
function duplicatePages(api, args, options) {
|
|
46
|
+
return api.call($duplicatePages, args, options);
|
|
47
|
+
}
|
|
48
|
+
var $renderPage = { m: "POST", p: "/utilities/pdf/render-page", d: "aidream", a: "guest", o: "required", n: "files.render_page" };
|
|
49
|
+
function renderPage(api, args, options) {
|
|
50
|
+
return api.call($renderPage, args, options);
|
|
51
|
+
}
|
|
52
|
+
var $renderAllPages = { m: "POST", p: "/utilities/pdf/render-all", d: "aidream", a: "guest", o: "required", s: "bytes", n: "files.render_all_pages" };
|
|
53
|
+
function renderAllPages(api, args, options) {
|
|
54
|
+
return api.send($renderAllPages, args, options).then((x) => x.response);
|
|
55
|
+
}
|
|
56
|
+
var $renderThumbnail = { m: "POST", p: "/utilities/pdf/render-thumbnail", d: "aidream", a: "guest", o: "required", n: "files.render_thumbnail" };
|
|
57
|
+
function renderThumbnail(api, args, options) {
|
|
58
|
+
return api.call($renderThumbnail, args, options);
|
|
59
|
+
}
|
|
60
|
+
var $studioPresets = { m: "GET", p: "/utilities/pdf/studio/presets", d: "aidream", a: "guest", o: "optional", n: "files.studio_presets" };
|
|
61
|
+
function studioPresets(api, args, options) {
|
|
62
|
+
return api.call($studioPresets, args, options);
|
|
63
|
+
}
|
|
64
|
+
var $studioRender = { m: "POST", p: "/utilities/pdf/studio/render", d: "aidream", a: "guest", o: "required", s: "bytes", n: "files.studio_render" };
|
|
65
|
+
function studioRender(api, args, options) {
|
|
66
|
+
return api.send($studioRender, args, options).then((x) => x.response);
|
|
67
|
+
}
|
|
68
|
+
var $detectRepeatedRegionsEndpoint = { m: "POST", p: "/utilities/pdf/detect-repeated-regions", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.detect_repeated_regions_endpoint" };
|
|
69
|
+
function detectRepeatedRegionsEndpoint(api, args, options) {
|
|
70
|
+
return openStream(api, $detectRepeatedRegionsEndpoint, args, options);
|
|
71
|
+
}
|
|
72
|
+
var $stripRepeatedRegionsEndpoint = { m: "POST", p: "/utilities/pdf/strip-repeated-regions", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.strip_repeated_regions_endpoint" };
|
|
73
|
+
function stripRepeatedRegionsEndpoint(api, args, options) {
|
|
74
|
+
return openStream(api, $stripRepeatedRegionsEndpoint, args, options);
|
|
75
|
+
}
|
|
76
|
+
var $classifyPagesEndpoint = { m: "POST", p: "/utilities/pdf/classify-pages", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.classify_pages_endpoint" };
|
|
77
|
+
function classifyPagesEndpoint(api, args, options) {
|
|
78
|
+
return openStream(api, $classifyPagesEndpoint, args, options);
|
|
79
|
+
}
|
|
80
|
+
var $extractReadingOrderEndpoint = { m: "POST", p: "/utilities/pdf/extract-reading-order", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_reading_order_endpoint" };
|
|
81
|
+
function extractReadingOrderEndpoint(api, args, options) {
|
|
82
|
+
return openStream(api, $extractReadingOrderEndpoint, args, options);
|
|
83
|
+
}
|
|
84
|
+
var $redactPatternsCatalog = { m: "GET", p: "/utilities/pdf/redact/patterns", d: "aidream", a: "guest", o: "optional", n: "files.redact_patterns_catalog" };
|
|
85
|
+
function redactPatternsCatalog(api, args, options) {
|
|
86
|
+
return api.call($redactPatternsCatalog, args, options);
|
|
87
|
+
}
|
|
88
|
+
var $redactRegionsEndpoint = { m: "POST", p: "/utilities/pdf/redact-regions", d: "aidream", a: "guest", o: "required", n: "files.redact_regions_endpoint" };
|
|
89
|
+
function redactRegionsEndpoint(api, args, options) {
|
|
90
|
+
return api.call($redactRegionsEndpoint, args, options);
|
|
91
|
+
}
|
|
92
|
+
var $redactPatternEndpoint = { m: "POST", p: "/utilities/pdf/redact-pattern", d: "aidream", a: "guest", o: "required", n: "files.redact_pattern_endpoint" };
|
|
93
|
+
function redactPatternEndpoint(api, args, options) {
|
|
94
|
+
return api.call($redactPatternEndpoint, args, options);
|
|
95
|
+
}
|
|
96
|
+
var $redactRepeatedRegionsEndpoint = { m: "POST", p: "/utilities/pdf/redact-repeated-regions", d: "aidream", a: "guest", o: "required", n: "files.redact_repeated_regions_endpoint" };
|
|
97
|
+
function redactRepeatedRegionsEndpoint(api, args, options) {
|
|
98
|
+
return api.call($redactRepeatedRegionsEndpoint, args, options);
|
|
99
|
+
}
|
|
100
|
+
var $stripMetadataEndpoint = { m: "POST", p: "/utilities/pdf/strip-metadata", d: "aidream", a: "guest", o: "required", n: "files.strip_metadata_endpoint" };
|
|
101
|
+
function stripMetadataEndpoint(api, args, options) {
|
|
102
|
+
return api.call($stripMetadataEndpoint, args, options);
|
|
103
|
+
}
|
|
104
|
+
var $scrubEndpoint = { m: "POST", p: "/utilities/pdf/scrub", d: "aidream", a: "guest", o: "required", n: "files.scrub_endpoint" };
|
|
105
|
+
function scrubEndpoint(api, args, options) {
|
|
106
|
+
return api.call($scrubEndpoint, args, options);
|
|
107
|
+
}
|
|
108
|
+
var $flattenAnnotationsEndpoint = { m: "POST", p: "/utilities/pdf/flatten-annotations", d: "aidream", a: "guest", o: "required", n: "files.flatten_annotations_endpoint" };
|
|
109
|
+
function flattenAnnotationsEndpoint(api, args, options) {
|
|
110
|
+
return api.call($flattenAnnotationsEndpoint, args, options);
|
|
111
|
+
}
|
|
112
|
+
var $extractTextRemote = { m: "POST", p: "/utilities/pdf/extract-text-remote", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_text_remote" };
|
|
113
|
+
function extractTextRemote(api, args, options) {
|
|
114
|
+
return openStream(api, $extractTextRemote, args, options);
|
|
115
|
+
}
|
|
116
|
+
var $extractTables = { m: "POST", p: "/utilities/pdf/extract-tables", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_tables" };
|
|
117
|
+
function extractTables(api, args, options) {
|
|
118
|
+
return openStream(api, $extractTables, args, options);
|
|
119
|
+
}
|
|
120
|
+
var $processWithAi = { m: "POST", p: "/utilities/pdf/process-with-ai", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.process_with_ai" };
|
|
121
|
+
function processWithAi(api, args, options) {
|
|
122
|
+
return openStream(api, $processWithAi, args, options);
|
|
123
|
+
}
|
|
124
|
+
var $fullPipeline = { m: "POST", p: "/utilities/pdf/full-pipeline", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.full_pipeline" };
|
|
125
|
+
function fullPipeline(api, args, options) {
|
|
126
|
+
return openStream(api, $fullPipeline, args, options);
|
|
127
|
+
}
|
|
128
|
+
var $batchExtract = { m: "POST", p: "/utilities/pdf/batch-extract", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.batch_extract" };
|
|
129
|
+
function batchExtract(api, args, options) {
|
|
130
|
+
return openStream(api, $batchExtract, args, options);
|
|
131
|
+
}
|
|
132
|
+
var $pdfFromImages = { m: "POST", p: "/utilities/pdf/from-images", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.pdf_from_images" };
|
|
133
|
+
function pdfFromImages(api, args, options) {
|
|
134
|
+
return openStream(api, $pdfFromImages, args, options);
|
|
135
|
+
}
|
|
136
|
+
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" };
|
|
137
|
+
function cleanDocumentContent(api, args, options) {
|
|
138
|
+
return openJsonOrStream(api, $cleanDocumentContent, args, options);
|
|
139
|
+
}
|
|
140
|
+
var $listDocuments = { m: "GET", p: "/utilities/pdf/documents", d: "aidream", a: "guest", o: "optional", n: "files.list_documents" };
|
|
141
|
+
function listDocuments(api, args, options) {
|
|
142
|
+
return api.call($listDocuments, args, options);
|
|
143
|
+
}
|
|
144
|
+
var $getDocument = { m: "GET", p: "/utilities/pdf/documents/{doc_id}", d: "aidream", a: "guest", o: "optional", n: "files.get_document" };
|
|
145
|
+
function getDocument(api, args, options) {
|
|
146
|
+
return api.call($getDocument, args, options);
|
|
147
|
+
}
|
|
148
|
+
var $browseProviderFolder = { m: "POST", p: "/storage-sources/browse", d: "aidream", a: "guest", o: "required", n: "files.browse_provider_folder" };
|
|
149
|
+
function browseProviderFolder(api, args, options) {
|
|
150
|
+
return api.call($browseProviderFolder, args, options);
|
|
151
|
+
}
|
|
152
|
+
var $importProviderFile = { m: "POST", p: "/storage-sources/import", d: "aidream", a: "guest", o: "required", n: "files.import_provider_file" };
|
|
153
|
+
function importProviderFile(api, args, options) {
|
|
154
|
+
return api.call($importProviderFile, args, options);
|
|
155
|
+
}
|
|
156
|
+
var $authorizeStorage = { m: "POST", p: "/storage-oauth/{provider}/authorize", d: "aidream", a: "user", o: "required", n: "files.authorize_storage" };
|
|
157
|
+
function authorizeStorage(api, args, options) {
|
|
158
|
+
return api.call($authorizeStorage, args, options);
|
|
159
|
+
}
|
|
160
|
+
var $dropboxCallback = { m: "GET", p: "/dropbox/oauth/callback", d: "aidream", a: "public", o: "required", n: "files.dropbox_callback" };
|
|
161
|
+
function dropboxCallback(api, args, options) {
|
|
162
|
+
return api.call($dropboxCallback, args, options);
|
|
163
|
+
}
|
|
164
|
+
var $boxCallback = { m: "GET", p: "/box/oauth/callback", d: "aidream", a: "public", o: "required", n: "files.box_callback" };
|
|
165
|
+
function boxCallback(api, args, options) {
|
|
166
|
+
return api.call($boxCallback, args, options);
|
|
167
|
+
}
|
|
168
|
+
var $refreshStorage = { m: "POST", p: "/storage-oauth/{provider}/refresh", d: "aidream", a: "user", o: "required", n: "files.refresh_storage" };
|
|
169
|
+
function refreshStorage(api, args, options) {
|
|
170
|
+
return api.call($refreshStorage, args, options);
|
|
171
|
+
}
|
|
172
|
+
var $disconnectStorage = { m: "POST", p: "/storage-oauth/{provider}/disconnect", d: "aidream", a: "user", o: "required", n: "files.disconnect_storage" };
|
|
173
|
+
function disconnectStorage(api, args, options) {
|
|
174
|
+
return api.call($disconnectStorage, args, options);
|
|
175
|
+
}
|
|
176
|
+
var $listPresets = { m: "GET", p: "/assets/presets", d: "files", a: "guest", o: "optional", n: "files.list_presets" };
|
|
177
|
+
function listPresets(api, args, options) {
|
|
178
|
+
return api.call($listPresets, args, options);
|
|
179
|
+
}
|
|
180
|
+
var $uploadAsset = { m: "POST", p: "/assets", d: "files", a: "guest", o: "required", n: "files.upload_asset" };
|
|
181
|
+
function uploadAsset(api, args, options) {
|
|
182
|
+
return api.call($uploadAsset, args, options);
|
|
183
|
+
}
|
|
184
|
+
var $getAsset = { m: "GET", p: "/assets/{file_id}", d: "files", a: "guest", o: "optional", n: "files.get_asset" };
|
|
185
|
+
function getAsset(api, args, options) {
|
|
186
|
+
return api.call($getAsset, args, options);
|
|
187
|
+
}
|
|
188
|
+
var $patchAsset = { m: "PATCH", p: "/assets/{file_id}", d: "aidream", a: "guest", o: "required", n: "files.patch_asset" };
|
|
189
|
+
function patchAsset(api, args, options) {
|
|
190
|
+
return api.call($patchAsset, args, options);
|
|
191
|
+
}
|
|
192
|
+
var $renderMoreVariants = { m: "POST", p: "/assets/{file_id}/variants", d: "aidream", a: "guest", o: "required", n: "files.render_more_variants" };
|
|
193
|
+
function renderMoreVariants(api, args, options) {
|
|
194
|
+
return api.call($renderMoreVariants, args, options);
|
|
195
|
+
}
|
|
196
|
+
var $assetsPreview = { m: "POST", p: "/assets/preview", d: "files", a: "guest", o: "required", n: "files.assets_preview" };
|
|
197
|
+
function assetsPreview(api, args, options) {
|
|
198
|
+
return api.call($assetsPreview, args, options);
|
|
199
|
+
}
|
|
200
|
+
var $assetsPreviewMultipart = { m: "POST", p: "/assets/preview/multipart", d: "files", a: "guest", o: "required", n: "files.assets_preview_multipart" };
|
|
201
|
+
function assetsPreviewMultipart(api, args, options) {
|
|
202
|
+
return api.call($assetsPreviewMultipart, args, options);
|
|
203
|
+
}
|
|
204
|
+
var $assetsPdfCompress = { m: "POST", p: "/assets/pdf-compress", d: "files", a: "guest", o: "required", n: "files.assets_pdf_compress" };
|
|
205
|
+
function assetsPdfCompress(api, args, options) {
|
|
206
|
+
return api.call($assetsPdfCompress, args, options);
|
|
207
|
+
}
|
|
208
|
+
var $assetsPdfCompressMultipart = { m: "POST", p: "/assets/pdf-compress/multipart", d: "files", a: "guest", o: "required", n: "files.assets_pdf_compress_multipart" };
|
|
209
|
+
function assetsPdfCompressMultipart(api, args, options) {
|
|
210
|
+
return api.call($assetsPdfCompressMultipart, args, options);
|
|
211
|
+
}
|
|
212
|
+
var $mintFileSession = { m: "POST", p: "/files/session", d: "aidream", a: "guest", o: "exempt", n: "files.mint_file_session" };
|
|
213
|
+
function mintFileSession(api, args, options) {
|
|
214
|
+
return api.call($mintFileSession, args, options);
|
|
215
|
+
}
|
|
216
|
+
var $uploadFile = { m: "POST", p: "/files/upload", d: "files", a: "guest", o: "required", n: "files.upload_file" };
|
|
217
|
+
function uploadFile(api, args, options) {
|
|
218
|
+
return api.call($uploadFile, args, options);
|
|
219
|
+
}
|
|
220
|
+
var $filesListFiles = { m: "GET", p: "/files", d: "aidream", a: "guest", o: "required", n: "files.files_list_files" };
|
|
221
|
+
function filesListFiles(api, args, options) {
|
|
222
|
+
return api.call($filesListFiles, args, options);
|
|
223
|
+
}
|
|
224
|
+
var $getFileTree = { m: "GET", p: "/files/tree", d: "aidream", a: "guest", o: "required", n: "files.get_file_tree" };
|
|
225
|
+
function getFileTree(api, args, options) {
|
|
226
|
+
return api.call($getFileTree, args, options);
|
|
227
|
+
}
|
|
228
|
+
var $listFolders = { m: "GET", p: "/files/folders", d: "aidream", a: "guest", o: "required", n: "files.list_folders" };
|
|
229
|
+
function listFolders(api, args, options) {
|
|
230
|
+
return api.call($listFolders, args, options);
|
|
231
|
+
}
|
|
232
|
+
var $getStorageUsage = { m: "GET", p: "/files/usage", d: "aidream", a: "guest", o: "required", n: "files.get_storage_usage" };
|
|
233
|
+
function getStorageUsage(api, args, options) {
|
|
234
|
+
return api.call($getStorageUsage, args, options);
|
|
235
|
+
}
|
|
236
|
+
var $listTrash = { m: "GET", p: "/files/trash", d: "aidream", a: "guest", o: "required", n: "files.list_trash" };
|
|
237
|
+
function listTrash(api, args, options) {
|
|
238
|
+
return api.call($listTrash, args, options);
|
|
239
|
+
}
|
|
240
|
+
var $createPresignedUpload = { m: "POST", p: "/files/upload/presigned", d: "aidream", a: "guest", o: "required", n: "files.create_presigned_upload" };
|
|
241
|
+
function createPresignedUpload(api, args, options) {
|
|
242
|
+
return api.call($createPresignedUpload, args, options);
|
|
243
|
+
}
|
|
244
|
+
var $finalizePresignedUpload = { m: "POST", p: "/files/finalize-upload", d: "aidream", a: "guest", o: "required", n: "files.finalize_presigned_upload" };
|
|
245
|
+
function finalizePresignedUpload(api, args, options) {
|
|
246
|
+
return api.call($finalizePresignedUpload, args, options);
|
|
247
|
+
}
|
|
248
|
+
var $searchFiles = { m: "GET", p: "/files/search", d: "aidream", a: "guest", o: "required", n: "files.search_files" };
|
|
249
|
+
function searchFiles(api, args, options) {
|
|
250
|
+
return api.call($searchFiles, args, options);
|
|
251
|
+
}
|
|
252
|
+
var $getFileByPath = { m: "GET", p: "/files/by-path/{file_path}", d: "aidream", a: "guest", o: "required", n: "files.get_file_by_path" };
|
|
253
|
+
function getFileByPath(api, args, options) {
|
|
254
|
+
return api.call($getFileByPath, args, options);
|
|
255
|
+
}
|
|
256
|
+
var $bulkOpDiscriminator = { m: "POST", p: "/files/bulk", d: "files", a: "guest", o: "required", n: "files.bulk_op_discriminator" };
|
|
257
|
+
function bulkOpDiscriminator(api, args, options) {
|
|
258
|
+
return api.call($bulkOpDiscriminator, args, options);
|
|
259
|
+
}
|
|
260
|
+
var $bulkDeleteFiles = { m: "DELETE", p: "/files/bulk", d: "aidream", a: "guest", o: "required", n: "files.bulk_delete_files" };
|
|
261
|
+
function bulkDeleteFiles(api, args, options) {
|
|
262
|
+
return api.call($bulkDeleteFiles, args, options);
|
|
263
|
+
}
|
|
264
|
+
var $bulkMoveFiles = { m: "POST", p: "/files/bulk/move", d: "aidream", a: "guest", o: "required", n: "files.bulk_move_files" };
|
|
265
|
+
function bulkMoveFiles(api, args, options) {
|
|
266
|
+
return api.call($bulkMoveFiles, args, options);
|
|
267
|
+
}
|
|
268
|
+
var $filesGetFile = { m: "GET", p: "/files/{file_id}", d: "files", a: "guest", o: "required", n: "files.files_get_file" };
|
|
269
|
+
function filesGetFile(api, args, options) {
|
|
270
|
+
return api.call($filesGetFile, args, options);
|
|
271
|
+
}
|
|
272
|
+
var $updateFileMetadata = { m: "PATCH", p: "/files/{file_id}", d: "files", a: "guest", o: "required", n: "files.update_file_metadata" };
|
|
273
|
+
function updateFileMetadata(api, args, options) {
|
|
274
|
+
return api.call($updateFileMetadata, args, options);
|
|
275
|
+
}
|
|
276
|
+
var $filesDeleteFile = { m: "DELETE", p: "/files/{file_id}", d: "files", a: "guest", o: "required", n: "files.files_delete_file" };
|
|
277
|
+
function filesDeleteFile(api, args, options) {
|
|
278
|
+
return api.call($filesDeleteFile, args, options);
|
|
279
|
+
}
|
|
280
|
+
var $restoreFile = { m: "POST", p: "/files/{file_id}/restore", d: "files", a: "guest", o: "required", n: "files.restore_file" };
|
|
281
|
+
function restoreFile(api, args, options) {
|
|
282
|
+
return api.call($restoreFile, args, options);
|
|
283
|
+
}
|
|
284
|
+
var $renameFile = { m: "POST", p: "/files/{file_id}/rename", d: "aidream", a: "guest", o: "required", n: "files.rename_file" };
|
|
285
|
+
function renameFile(api, args, options) {
|
|
286
|
+
return api.call($renameFile, args, options);
|
|
287
|
+
}
|
|
288
|
+
var $copyFile = { m: "POST", p: "/files/{file_id}/copy", d: "aidream", a: "guest", o: "required", n: "files.copy_file" };
|
|
289
|
+
function copyFile(api, args, options) {
|
|
290
|
+
return api.call($copyFile, args, options);
|
|
291
|
+
}
|
|
292
|
+
var $selectPdfPages = { m: "POST", p: "/files/{file_id}/pdf-pages", d: "files", a: "guest", o: "required", n: "files.select_pdf_pages" };
|
|
293
|
+
function selectPdfPages(api, args, options) {
|
|
294
|
+
return api.call($selectPdfPages, args, options);
|
|
295
|
+
}
|
|
296
|
+
var $extractAudio = { m: "POST", p: "/files/{file_id}/extract-audio", d: "aidream", a: "guest", o: "required", n: "files.extract_audio" };
|
|
297
|
+
function extractAudio(api, args, options) {
|
|
298
|
+
return api.call($extractAudio, args, options);
|
|
299
|
+
}
|
|
300
|
+
var $downloadFile = { m: "GET", p: "/files/{file_id}/download", d: "files", a: "guest", o: "required", s: "bytes", n: "files.download_file" };
|
|
301
|
+
function downloadFile(api, args, options) {
|
|
302
|
+
return api.send($downloadFile, args, options).then((x) => x.response);
|
|
303
|
+
}
|
|
304
|
+
var $getFileAsAsset = { m: "GET", p: "/files/{file_id}/asset", d: "aidream", a: "guest", o: "required", n: "files.get_file_as_asset" };
|
|
305
|
+
function getFileAsAsset(api, args, options) {
|
|
306
|
+
return api.call($getFileAsAsset, args, options);
|
|
307
|
+
}
|
|
308
|
+
var $createFolder = { m: "POST", p: "/folders", d: "aidream", a: "guest", o: "required", n: "files.create_folder" };
|
|
309
|
+
function createFolder(api, args, options) {
|
|
310
|
+
return api.call($createFolder, args, options);
|
|
311
|
+
}
|
|
312
|
+
var $getFolder = { m: "GET", p: "/folders/{folder_id}", d: "aidream", a: "guest", o: "required", n: "files.get_folder" };
|
|
313
|
+
function getFolder(api, args, options) {
|
|
314
|
+
return api.call($getFolder, args, options);
|
|
315
|
+
}
|
|
316
|
+
var $patchFolder = { m: "PATCH", p: "/folders/{folder_id}", d: "aidream", a: "guest", o: "required", n: "files.patch_folder" };
|
|
317
|
+
function patchFolder(api, args, options) {
|
|
318
|
+
return api.call($patchFolder, args, options);
|
|
319
|
+
}
|
|
320
|
+
var $deleteFolder = { m: "DELETE", p: "/folders/{folder_id}", d: "aidream", a: "guest", o: "required", n: "files.delete_folder" };
|
|
321
|
+
function deleteFolder(api, args, options) {
|
|
322
|
+
return api.call($deleteFolder, args, options);
|
|
323
|
+
}
|
|
324
|
+
var $bulkMoveFolders = { m: "POST", p: "/folders/bulk/move", d: "aidream", a: "guest", o: "required", n: "files.bulk_move_folders" };
|
|
325
|
+
function bulkMoveFolders(api, args, options) {
|
|
326
|
+
return api.call($bulkMoveFolders, args, options);
|
|
327
|
+
}
|
|
328
|
+
var $listGroupsIndex = { m: "GET", p: "/files/groups", d: "aidream", a: "guest", o: "required", n: "files.list_groups_index" };
|
|
329
|
+
function listGroupsIndex(api, args, options) {
|
|
330
|
+
return api.call($listGroupsIndex, args, options);
|
|
331
|
+
}
|
|
332
|
+
var $createGroup = { m: "POST", p: "/files/groups", d: "aidream", a: "guest", o: "required", n: "files.create_group" };
|
|
333
|
+
function createGroup(api, args, options) {
|
|
334
|
+
return api.call($createGroup, args, options);
|
|
335
|
+
}
|
|
336
|
+
var $listGroupMembers = { m: "GET", p: "/files/groups/{group_id}/members", d: "aidream", a: "guest", o: "required", n: "files.list_group_members" };
|
|
337
|
+
function listGroupMembers(api, args, options) {
|
|
338
|
+
return api.call($listGroupMembers, args, options);
|
|
339
|
+
}
|
|
340
|
+
var $addGroupMember = { m: "POST", p: "/files/groups/{group_id}/members", d: "aidream", a: "guest", o: "required", n: "files.add_group_member" };
|
|
341
|
+
function addGroupMember(api, args, options) {
|
|
342
|
+
return api.call($addGroupMember, args, options);
|
|
343
|
+
}
|
|
344
|
+
var $removeGroupMember = { m: "DELETE", p: "/files/groups/{group_id}/members/{member_user_id}", d: "aidream", a: "guest", o: "required", n: "files.remove_group_member" };
|
|
345
|
+
function removeGroupMember(api, args, options) {
|
|
346
|
+
return api.call($removeGroupMember, args, options);
|
|
347
|
+
}
|
|
348
|
+
var $deactivateShareLink = { m: "DELETE", p: "/files/share-links/{token}", d: "aidream", a: "guest", o: "required", n: "files.deactivate_share_link" };
|
|
349
|
+
function deactivateShareLink(api, args, options) {
|
|
350
|
+
return api.call($deactivateShareLink, args, options);
|
|
351
|
+
}
|
|
352
|
+
var $listFilePermissions = { m: "GET", p: "/files/{file_id}/permissions", d: "aidream", a: "guest", o: "required", n: "files.list_file_permissions" };
|
|
353
|
+
function listFilePermissions(api, args, options) {
|
|
354
|
+
return api.call($listFilePermissions, args, options);
|
|
355
|
+
}
|
|
356
|
+
var $grantFilePermission = { m: "POST", p: "/files/{file_id}/permissions", d: "aidream", a: "guest", o: "required", n: "files.grant_file_permission" };
|
|
357
|
+
function grantFilePermission(api, args, options) {
|
|
358
|
+
return api.call($grantFilePermission, args, options);
|
|
359
|
+
}
|
|
360
|
+
var $revokeFilePermission = { m: "DELETE", p: "/files/{file_id}/permissions/{grantee_id}", d: "aidream", a: "guest", o: "required", n: "files.revoke_file_permission" };
|
|
361
|
+
function revokeFilePermission(api, args, options) {
|
|
362
|
+
return api.call($revokeFilePermission, args, options);
|
|
363
|
+
}
|
|
364
|
+
var $listFolderPermissions = { m: "GET", p: "/folders/{folder_id}/permissions", d: "aidream", a: "guest", o: "required", n: "files.list_folder_permissions" };
|
|
365
|
+
function listFolderPermissions(api, args, options) {
|
|
366
|
+
return api.call($listFolderPermissions, args, options);
|
|
367
|
+
}
|
|
368
|
+
var $grantFolderPermission = { m: "POST", p: "/folders/{folder_id}/permissions", d: "aidream", a: "guest", o: "required", n: "files.grant_folder_permission" };
|
|
369
|
+
function grantFolderPermission(api, args, options) {
|
|
370
|
+
return api.call($grantFolderPermission, args, options);
|
|
371
|
+
}
|
|
372
|
+
var $revokeFolderPermission = { m: "DELETE", p: "/folders/{folder_id}/permissions/{grantee_id}", d: "aidream", a: "guest", o: "required", n: "files.revoke_folder_permission" };
|
|
373
|
+
function revokeFolderPermission(api, args, options) {
|
|
374
|
+
return api.call($revokeFolderPermission, args, options);
|
|
375
|
+
}
|
|
376
|
+
var $listFileShareLinks = { m: "GET", p: "/files/{file_id}/share-links", d: "files", a: "guest", o: "required", n: "files.list_file_share_links" };
|
|
377
|
+
function listFileShareLinks(api, args, options) {
|
|
378
|
+
return api.call($listFileShareLinks, args, options);
|
|
379
|
+
}
|
|
380
|
+
var $createFileShareLink = { m: "POST", p: "/files/{file_id}/share-links", d: "files", a: "guest", o: "required", n: "files.create_file_share_link" };
|
|
381
|
+
function createFileShareLink(api, args, options) {
|
|
382
|
+
return api.call($createFileShareLink, args, options);
|
|
383
|
+
}
|
|
384
|
+
var $listFolderShareLinks = { m: "GET", p: "/folders/{folder_id}/share-links", d: "aidream", a: "guest", o: "required", n: "files.list_folder_share_links" };
|
|
385
|
+
function listFolderShareLinks(api, args, options) {
|
|
386
|
+
return api.call($listFolderShareLinks, args, options);
|
|
387
|
+
}
|
|
388
|
+
var $createFolderShareLink = { m: "POST", p: "/folders/{folder_id}/share-links", d: "aidream", a: "guest", o: "required", n: "files.create_folder_share_link" };
|
|
389
|
+
function createFolderShareLink(api, args, options) {
|
|
390
|
+
return api.call($createFolderShareLink, args, options);
|
|
391
|
+
}
|
|
392
|
+
var $getFileDocument = { m: "GET", p: "/files/{file_id}/document", d: "aidream", a: "guest", o: "required", n: "files.get_file_document" };
|
|
393
|
+
function getFileDocument(api, args, options) {
|
|
394
|
+
return api.call($getFileDocument, args, options);
|
|
395
|
+
}
|
|
396
|
+
var $getFileRagStatus = { m: "GET", p: "/files/{file_id}/rag-status", d: "aidream", a: "guest", o: "required", n: "files.get_file_rag_status" };
|
|
397
|
+
function getFileRagStatus(api, args, options) {
|
|
398
|
+
return api.call($getFileRagStatus, args, options);
|
|
399
|
+
}
|
|
400
|
+
var $getFileLineageSummary = { m: "GET", p: "/files/{file_id}/lineage-summary", d: "aidream", a: "guest", o: "required", n: "files.get_file_lineage_summary" };
|
|
401
|
+
function getFileLineageSummary(api, args, options) {
|
|
402
|
+
return api.call($getFileLineageSummary, args, options);
|
|
403
|
+
}
|
|
404
|
+
var $ingestFileForRag = { m: "POST", p: "/files/{file_id}/ingest", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.ingest_file_for_rag" };
|
|
405
|
+
function ingestFileForRag(api, args, options) {
|
|
406
|
+
return openStream(api, $ingestFileForRag, args, options);
|
|
407
|
+
}
|
|
408
|
+
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" };
|
|
409
|
+
function ingestFileForRagStream(api, args, options) {
|
|
410
|
+
return openStream(api, $ingestFileForRagStream, args, options);
|
|
411
|
+
}
|
|
412
|
+
var $refreshFileRag = { m: "POST", p: "/files/{file_id}/refresh", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.refresh_file_rag" };
|
|
413
|
+
function refreshFileRag(api, args, options) {
|
|
414
|
+
return openStream(api, $refreshFileRag, args, options);
|
|
415
|
+
}
|
|
416
|
+
var $versionsListVersions = { m: "GET", p: "/files/{file_id}/versions", d: "aidream", a: "guest", o: "required", n: "files.versions_list_versions" };
|
|
417
|
+
function versionsListVersions(api, args, options) {
|
|
418
|
+
return api.call($versionsListVersions, args, options);
|
|
419
|
+
}
|
|
420
|
+
var $saveNewVersion = { m: "POST", p: "/files/{file_id}/versions", d: "aidream", a: "guest", o: "required", n: "files.save_new_version" };
|
|
421
|
+
function saveNewVersion(api, args, options) {
|
|
422
|
+
return api.call($saveNewVersion, args, options);
|
|
423
|
+
}
|
|
424
|
+
var $getVersion = { m: "GET", p: "/files/{file_id}/versions/{version_number}", d: "aidream", a: "guest", o: "required", n: "files.get_version" };
|
|
425
|
+
function getVersion(api, args, options) {
|
|
426
|
+
return api.call($getVersion, args, options);
|
|
427
|
+
}
|
|
428
|
+
var $downloadVersion = { m: "GET", p: "/files/{file_id}/versions/{version_number}/download", d: "aidream", a: "guest", o: "required", s: "bytes", n: "files.download_version" };
|
|
429
|
+
function downloadVersion(api, args, options) {
|
|
430
|
+
return api.send($downloadVersion, args, options).then((x) => x.response);
|
|
431
|
+
}
|
|
432
|
+
var $versionsRestoreVersion = { m: "POST", p: "/files/{file_id}/versions/{version_number}/restore", d: "aidream", a: "guest", o: "required", n: "files.versions_restore_version" };
|
|
433
|
+
function versionsRestoreVersion(api, args, options) {
|
|
434
|
+
return api.call($versionsRestoreVersion, args, options);
|
|
435
|
+
}
|
|
436
|
+
var $downloadSharedFile = { m: "GET", p: "/share/{token}", d: "files", a: "scoped", o: "required", s: "bytes", n: "files.download_shared_file" };
|
|
437
|
+
function downloadSharedFile(api, args, options) {
|
|
438
|
+
return api.send($downloadSharedFile, args, options).then((x) => x.response);
|
|
439
|
+
}
|
|
440
|
+
var $downloadSharedChildFile = { m: "GET", p: "/share/{token}/files/{file_id}", d: "aidream", a: "scoped", o: "required", s: "bytes", n: "files.download_shared_child_file" };
|
|
441
|
+
function downloadSharedChildFile(api, args, options) {
|
|
442
|
+
return api.send($downloadSharedChildFile, args, options).then((x) => x.response);
|
|
443
|
+
}
|
|
444
|
+
var $tusCreate = { m: "POST", p: "/files/upload/tus", d: "aidream", a: "guest", o: "required", n: "files.tus_create" };
|
|
445
|
+
function tusCreate(api, args, options) {
|
|
446
|
+
return api.call($tusCreate, args, options);
|
|
447
|
+
}
|
|
448
|
+
var $tusOptions = { m: "OPTIONS", p: "/files/upload/tus", d: "aidream", a: "guest", o: "required", n: "files.tus_options" };
|
|
449
|
+
function tusOptions(api, args, options) {
|
|
450
|
+
return api.call($tusOptions, args, options);
|
|
451
|
+
}
|
|
452
|
+
var $tusPatch = { m: "PATCH", p: "/files/upload/tus/{upload_id}", d: "aidream", a: "guest", o: "required", n: "files.tus_patch" };
|
|
453
|
+
function tusPatch(api, args, options) {
|
|
454
|
+
return api.call($tusPatch, args, options);
|
|
455
|
+
}
|
|
456
|
+
var $tusDelete = { m: "DELETE", p: "/files/upload/tus/{upload_id}", d: "aidream", a: "guest", o: "required", n: "files.tus_delete" };
|
|
457
|
+
function tusDelete(api, args, options) {
|
|
458
|
+
return api.call($tusDelete, args, options);
|
|
459
|
+
}
|
|
460
|
+
var $tusHead = { m: "HEAD", p: "/files/upload/tus/{upload_id}", d: "aidream", a: "guest", o: "required", n: "files.tus_head" };
|
|
461
|
+
function tusHead(api, args, options) {
|
|
462
|
+
return api.call($tusHead, args, options);
|
|
463
|
+
}
|
|
464
|
+
var $listAdapters = { m: "GET", p: "/virtual", d: "aidream", a: "guest", o: "required", n: "files.list_adapters" };
|
|
465
|
+
function listAdapters(api, args, options) {
|
|
466
|
+
return api.call($listAdapters, args, options);
|
|
467
|
+
}
|
|
468
|
+
var $resolve = { m: "POST", p: "/virtual/resolve", d: "aidream", a: "guest", o: "required", n: "files.resolve" };
|
|
469
|
+
function resolve(api, args, options) {
|
|
470
|
+
return api.call($resolve, args, options);
|
|
471
|
+
}
|
|
472
|
+
var $listNodes = { m: "GET", p: "/virtual/{adapter_id}/list", d: "aidream", a: "guest", o: "required", n: "files.list_nodes" };
|
|
473
|
+
function listNodes(api, args, options) {
|
|
474
|
+
return api.call($listNodes, args, options);
|
|
475
|
+
}
|
|
476
|
+
var $readContent = { m: "GET", p: "/virtual/{adapter_id}/{vid}/content", d: "aidream", a: "guest", o: "required", n: "files.read_content" };
|
|
477
|
+
function readContent(api, args, options) {
|
|
478
|
+
return api.call($readContent, args, options);
|
|
479
|
+
}
|
|
480
|
+
var $saveContent = { m: "POST", p: "/virtual/{adapter_id}/{vid}/save", d: "aidream", a: "guest", o: "required", n: "files.save_content" };
|
|
481
|
+
function saveContent(api, args, options) {
|
|
482
|
+
return api.call($saveContent, args, options);
|
|
483
|
+
}
|
|
484
|
+
var $renameNode = { m: "POST", p: "/virtual/{adapter_id}/{vid}/rename", d: "aidream", a: "guest", o: "required", n: "files.rename_node" };
|
|
485
|
+
function renameNode(api, args, options) {
|
|
486
|
+
return api.call($renameNode, args, options);
|
|
487
|
+
}
|
|
488
|
+
var $moveNode = { m: "POST", p: "/virtual/{adapter_id}/{vid}/move", d: "aidream", a: "guest", o: "required", n: "files.move_node" };
|
|
489
|
+
function moveNode(api, args, options) {
|
|
490
|
+
return api.call($moveNode, args, options);
|
|
491
|
+
}
|
|
492
|
+
var $deleteNode = { m: "DELETE", p: "/virtual/{adapter_id}/{vid}", d: "aidream", a: "guest", o: "required", n: "files.delete_node" };
|
|
493
|
+
function deleteNode(api, args, options) {
|
|
494
|
+
return api.call($deleteNode, args, options);
|
|
495
|
+
}
|
|
496
|
+
var $createNode = { m: "POST", p: "/virtual/{adapter_id}/create", d: "aidream", a: "guest", o: "required", n: "files.create_node" };
|
|
497
|
+
function createNode(api, args, options) {
|
|
498
|
+
return api.call($createNode, args, options);
|
|
499
|
+
}
|
|
500
|
+
var $virtualListVersions = { m: "GET", p: "/virtual/{adapter_id}/{vid}/versions", d: "aidream", a: "guest", o: "required", n: "files.virtual_list_versions" };
|
|
501
|
+
function virtualListVersions(api, args, options) {
|
|
502
|
+
return api.call($virtualListVersions, args, options);
|
|
503
|
+
}
|
|
504
|
+
var $virtualRestoreVersion = { m: "POST", p: "/virtual/{adapter_id}/{vid}/versions/{n}/restore", d: "aidream", a: "guest", o: "required", n: "files.virtual_restore_version" };
|
|
505
|
+
function virtualRestoreVersion(api, args, options) {
|
|
506
|
+
return api.call($virtualRestoreVersion, args, options);
|
|
507
|
+
}
|
|
508
|
+
var $cloudFilesBridgeListFiles = { m: "GET", p: "/cloud-files/list", d: "aidream", a: "service", o: "required", n: "files.cloud_files_bridge_list_files" };
|
|
509
|
+
function cloudFilesBridgeListFiles(api, args, options) {
|
|
510
|
+
return api.call($cloudFilesBridgeListFiles, args, options);
|
|
511
|
+
}
|
|
512
|
+
var $cloudFilesBridgeGetFile = { m: "GET", p: "/cloud-files/get", d: "aidream", a: "service", o: "required", n: "files.cloud_files_bridge_get_file" };
|
|
513
|
+
function cloudFilesBridgeGetFile(api, args, options) {
|
|
514
|
+
return api.call($cloudFilesBridgeGetFile, args, options);
|
|
515
|
+
}
|
|
516
|
+
var $putFile = { m: "PUT", p: "/cloud-files/put", d: "aidream", a: "service", o: "required", n: "files.put_file" };
|
|
517
|
+
function putFile(api, args, options) {
|
|
518
|
+
return api.call($putFile, args, options);
|
|
519
|
+
}
|
|
520
|
+
var $cloudFilesBridgeDeleteFile = { m: "DELETE", p: "/cloud-files/delete", d: "aidream", a: "service", o: "required", n: "files.cloud_files_bridge_delete_file" };
|
|
521
|
+
function cloudFilesBridgeDeleteFile(api, args, options) {
|
|
522
|
+
return api.call($cloudFilesBridgeDeleteFile, args, options);
|
|
523
|
+
}
|
|
524
|
+
var $getQuota = { m: "GET", p: "/cloud-files/quota", d: "aidream", a: "service", o: "required", n: "files.get_quota" };
|
|
525
|
+
function getQuota(api, args, options) {
|
|
526
|
+
return api.call($getQuota, args, options);
|
|
527
|
+
}
|
|
528
|
+
var $listChanges = { m: "GET", p: "/cloud-files/changes", d: "aidream", a: "service", o: "required", n: "files.list_changes" };
|
|
529
|
+
function listChanges(api, args, options) {
|
|
530
|
+
return api.call($listChanges, args, options);
|
|
531
|
+
}
|
|
532
|
+
var $integrationsAidream = { m: "GET", p: "/cloud-files/integrations.aidream", d: "aidream", a: "public", o: "required", n: "files.integrations_aidream" };
|
|
533
|
+
function integrationsAidream(api, args, options) {
|
|
534
|
+
return api.call($integrationsAidream, args, options);
|
|
535
|
+
}
|
|
536
|
+
var $drainMediaHealQueue = { m: "POST", p: "/media-heal/drain", d: "aidream", a: "service", o: "required", n: "files.drain_media_heal_queue" };
|
|
537
|
+
function drainMediaHealQueue(api, args, options) {
|
|
538
|
+
return api.call($drainMediaHealQueue, args, options);
|
|
539
|
+
}
|
|
540
|
+
var $fetchAnalysis = { m: "GET", p: "/files/{file_id}/analysis", d: "aidream", a: "guest", o: "optional", n: "files.fetch_analysis" };
|
|
541
|
+
function fetchAnalysis(api, args, options) {
|
|
542
|
+
return api.call($fetchAnalysis, args, options);
|
|
543
|
+
}
|
|
544
|
+
var $refreshAnalysis = { m: "POST", p: "/files/{file_id}/analysis/refresh", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.refresh_analysis" };
|
|
545
|
+
function refreshAnalysis(api, args, options) {
|
|
546
|
+
return openStream(api, $refreshAnalysis, args, options);
|
|
547
|
+
}
|
|
548
|
+
var $redactMask = { m: "POST", p: "/files/{file_id}/redact/mask", d: "aidream", a: "guest", o: "required", n: "files.redact_mask" };
|
|
549
|
+
function redactMask(api, args, options) {
|
|
550
|
+
return api.call($redactMask, args, options);
|
|
551
|
+
}
|
|
552
|
+
var $redactRestore = { m: "POST", p: "/redact/restore", d: "aidream", a: "guest", o: "required", n: "files.redact_restore" };
|
|
553
|
+
function redactRestore(api, args, options) {
|
|
554
|
+
return api.call($redactRestore, args, options);
|
|
555
|
+
}
|
|
556
|
+
var $revokeSession = { m: "POST", p: "/redact/sessions/{session_id}/revoke", d: "aidream", a: "guest", o: "required", n: "files.revoke_session" };
|
|
557
|
+
function revokeSession(api, args, options) {
|
|
558
|
+
return api.call($revokeSession, args, options);
|
|
559
|
+
}
|
|
560
|
+
var $escrowWrappingKey = { m: "GET", p: "/redact/escrow/wrapping-key", d: "aidream", a: "guest", o: "optional", n: "files.escrow_wrapping_key" };
|
|
561
|
+
function escrowWrappingKey(api, args, options) {
|
|
562
|
+
return api.call($escrowWrappingKey, args, options);
|
|
563
|
+
}
|
|
564
|
+
var $escrowRecover = { m: "POST", p: "/redact/escrow/recover", d: "aidream", a: "guest", o: "required", n: "files.escrow_recover" };
|
|
565
|
+
function escrowRecover(api, args, options) {
|
|
566
|
+
return api.call($escrowRecover, args, options);
|
|
567
|
+
}
|
|
568
|
+
var $extractedTextEndpoint = { m: "GET", p: "/files/{file_id}/extracted-text", d: "aidream", a: "guest", o: "optional", n: "files.extracted_text_endpoint" };
|
|
569
|
+
function extractedTextEndpoint(api, args, options) {
|
|
570
|
+
return api.call($extractedTextEndpoint, args, options);
|
|
571
|
+
}
|
|
572
|
+
var $getAnalysisPreferences = { m: "GET", p: "/files/analysis/preferences", d: "aidream", a: "guest", o: "optional", n: "files.get_analysis_preferences" };
|
|
573
|
+
function getAnalysisPreferences(api, args, options) {
|
|
574
|
+
return api.call($getAnalysisPreferences, args, options);
|
|
575
|
+
}
|
|
576
|
+
var $putAnalysisPreferences = { m: "PUT", p: "/files/analysis/preferences", d: "aidream", a: "guest", o: "required", n: "files.put_analysis_preferences" };
|
|
577
|
+
function putAnalysisPreferences(api, args, options) {
|
|
578
|
+
return api.call($putAnalysisPreferences, args, options);
|
|
579
|
+
}
|
|
580
|
+
var $fetchLabelCatalog = { m: "GET", p: "/annotations/label-catalog", d: "aidream", a: "guest", o: "optional", n: "files.fetch_label_catalog" };
|
|
581
|
+
function fetchLabelCatalog(api, args, options) {
|
|
582
|
+
return api.call($fetchLabelCatalog, args, options);
|
|
583
|
+
}
|
|
584
|
+
var $extractAtBboxEndpoint = { m: "POST", p: "/files/{file_id}/annotations/extract-at-bbox", d: "aidream", a: "guest", o: "required", n: "files.extract_at_bbox_endpoint" };
|
|
585
|
+
function extractAtBboxEndpoint(api, args, options) {
|
|
586
|
+
return api.call($extractAtBboxEndpoint, args, options);
|
|
587
|
+
}
|
|
588
|
+
var $listAnnotationsEndpoint = { m: "GET", p: "/files/{file_id}/annotations", d: "aidream", a: "guest", o: "optional", n: "files.list_annotations_endpoint" };
|
|
589
|
+
function listAnnotationsEndpoint(api, args, options) {
|
|
590
|
+
return api.call($listAnnotationsEndpoint, args, options);
|
|
591
|
+
}
|
|
592
|
+
var $createAnnotationEndpoint = { m: "POST", p: "/files/{file_id}/annotations", d: "aidream", a: "guest", o: "required", n: "files.create_annotation_endpoint" };
|
|
593
|
+
function createAnnotationEndpoint(api, args, options) {
|
|
594
|
+
return api.call($createAnnotationEndpoint, args, options);
|
|
595
|
+
}
|
|
596
|
+
var $updateAnnotationEndpoint = { m: "PUT", p: "/files/{file_id}/annotations/{annotation_id}", d: "aidream", a: "guest", o: "required", n: "files.update_annotation_endpoint" };
|
|
597
|
+
function updateAnnotationEndpoint(api, args, options) {
|
|
598
|
+
return api.call($updateAnnotationEndpoint, args, options);
|
|
599
|
+
}
|
|
600
|
+
var $deleteAnnotationEndpoint = { m: "DELETE", p: "/files/{file_id}/annotations/{annotation_id}", d: "aidream", a: "guest", o: "required", n: "files.delete_annotation_endpoint" };
|
|
601
|
+
function deleteAnnotationEndpoint(api, args, options) {
|
|
602
|
+
return api.call($deleteAnnotationEndpoint, args, options);
|
|
603
|
+
}
|
|
604
|
+
var $keyFindingsEndpoint = { m: "GET", p: "/files/{file_id}/key-findings", d: "aidream", a: "guest", o: "optional", n: "files.key_findings_endpoint" };
|
|
605
|
+
function keyFindingsEndpoint(api, args, options) {
|
|
606
|
+
return api.call($keyFindingsEndpoint, args, options);
|
|
607
|
+
}
|
|
608
|
+
var $manifestEndpoint = { m: "GET", p: "/files/{file_id}/annotations/manifest", d: "aidream", a: "guest", o: "optional", n: "files.manifest_endpoint" };
|
|
609
|
+
function manifestEndpoint(api, args, options) {
|
|
610
|
+
return api.call($manifestEndpoint, args, options);
|
|
611
|
+
}
|
|
612
|
+
var $snapBboxEndpoint = { m: "POST", p: "/files/{file_id}/annotations/snap-bbox", d: "aidream", a: "guest", o: "required", n: "files.snap_bbox_endpoint" };
|
|
613
|
+
function snapBboxEndpoint(api, args, options) {
|
|
614
|
+
return api.call($snapBboxEndpoint, args, options);
|
|
615
|
+
}
|
|
616
|
+
var $bulkFromCandidatesEndpoint = { m: "POST", p: "/files/{file_id}/annotations/bulk-from-candidates", d: "aidream", a: "guest", o: "required", n: "files.bulk_from_candidates_endpoint" };
|
|
617
|
+
function bulkFromCandidatesEndpoint(api, args, options) {
|
|
618
|
+
return api.call($bulkFromCandidatesEndpoint, args, options);
|
|
619
|
+
}
|
|
620
|
+
var $listPagesEndpoint = { m: "GET", p: "/files/{file_id}/pages", d: "aidream", a: "guest", o: "optional", n: "files.list_pages_endpoint" };
|
|
621
|
+
function listPagesEndpoint(api, args, options) {
|
|
622
|
+
return api.call($listPagesEndpoint, args, options);
|
|
623
|
+
}
|
|
624
|
+
var $activePagesEndpoint = { m: "GET", p: "/files/{file_id}/active-pages", d: "aidream", a: "guest", o: "optional", n: "files.active_pages_endpoint" };
|
|
625
|
+
function activePagesEndpoint(api, args, options) {
|
|
626
|
+
return api.call($activePagesEndpoint, args, options);
|
|
627
|
+
}
|
|
628
|
+
var $getPageEndpoint = { m: "GET", p: "/files/{file_id}/pages/{page_id}", d: "aidream", a: "guest", o: "optional", n: "files.get_page_endpoint" };
|
|
629
|
+
function getPageEndpoint(api, args, options) {
|
|
630
|
+
return api.call($getPageEndpoint, args, options);
|
|
631
|
+
}
|
|
632
|
+
var $excludePageEndpoint = { m: "POST", p: "/files/{file_id}/pages/{page_id}/exclude", d: "aidream", a: "guest", o: "required", n: "files.exclude_page_endpoint" };
|
|
633
|
+
function excludePageEndpoint(api, args, options) {
|
|
634
|
+
return api.call($excludePageEndpoint, args, options);
|
|
635
|
+
}
|
|
636
|
+
var $includePageEndpoint = { m: "POST", p: "/files/{file_id}/pages/{page_id}/include", d: "aidream", a: "guest", o: "required", n: "files.include_page_endpoint" };
|
|
637
|
+
function includePageEndpoint(api, args, options) {
|
|
638
|
+
return api.call($includePageEndpoint, args, options);
|
|
639
|
+
}
|
|
640
|
+
var $rotatePageEndpoint = { m: "POST", p: "/files/{file_id}/pages/{page_id}/rotate", d: "aidream", a: "guest", o: "required", n: "files.rotate_page_endpoint" };
|
|
641
|
+
function rotatePageEndpoint(api, args, options) {
|
|
642
|
+
return api.call($rotatePageEndpoint, args, options);
|
|
643
|
+
}
|
|
644
|
+
var $overridePageTextEndpoint = { m: "POST", p: "/files/{file_id}/pages/{page_id}/override-text", d: "aidream", a: "guest", o: "required", n: "files.override_page_text_endpoint" };
|
|
645
|
+
function overridePageTextEndpoint(api, args, options) {
|
|
646
|
+
return api.call($overridePageTextEndpoint, args, options);
|
|
647
|
+
}
|
|
648
|
+
var $listOverridesEndpoint = { m: "GET", p: "/files/{file_id}/overrides", d: "aidream", a: "guest", o: "optional", n: "files.list_overrides_endpoint" };
|
|
649
|
+
function listOverridesEndpoint(api, args, options) {
|
|
650
|
+
return api.call($listOverridesEndpoint, args, options);
|
|
651
|
+
}
|
|
652
|
+
var $searchEndpoint = { m: "POST", p: "/files/{file_id}/search", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.search_endpoint" };
|
|
653
|
+
function searchEndpoint(api, args, options) {
|
|
654
|
+
return openStream(api, $searchEndpoint, args, options);
|
|
655
|
+
}
|
|
656
|
+
var $extractRegionEndpoint = { m: "POST", p: "/files/{file_id}/regions/extract", d: "aidream", a: "guest", o: "required", n: "files.extract_region_endpoint" };
|
|
657
|
+
function extractRegionEndpoint(api, args, options) {
|
|
658
|
+
return api.call($extractRegionEndpoint, args, options);
|
|
659
|
+
}
|
|
660
|
+
var $renderPageWithOverlayEndpoint = { m: "POST", p: "/files/{file_id}/render-page-with-overlay", d: "aidream", a: "guest", o: "required", n: "files.render_page_with_overlay_endpoint" };
|
|
661
|
+
function renderPageWithOverlayEndpoint(api, args, options) {
|
|
662
|
+
return api.call($renderPageWithOverlayEndpoint, args, options);
|
|
663
|
+
}
|
|
664
|
+
var $listEntitiesEndpoint = { m: "GET", p: "/files/{file_id}/entities", d: "aidream", a: "guest", o: "optional", n: "files.list_entities_endpoint" };
|
|
665
|
+
function listEntitiesEndpoint(api, args, options) {
|
|
666
|
+
return api.call($listEntitiesEndpoint, args, options);
|
|
667
|
+
}
|
|
668
|
+
var $createEntityEndpoint = { m: "POST", p: "/files/{file_id}/entities", d: "aidream", a: "guest", o: "required", n: "files.create_entity_endpoint" };
|
|
669
|
+
function createEntityEndpoint(api, args, options) {
|
|
670
|
+
return api.call($createEntityEndpoint, args, options);
|
|
671
|
+
}
|
|
672
|
+
var $updateEntityEndpoint = { m: "PUT", p: "/files/{file_id}/entities/{entity_id}", d: "aidream", a: "guest", o: "required", n: "files.update_entity_endpoint" };
|
|
673
|
+
function updateEntityEndpoint(api, args, options) {
|
|
674
|
+
return api.call($updateEntityEndpoint, args, options);
|
|
675
|
+
}
|
|
676
|
+
var $deleteEntityEndpoint = { m: "DELETE", p: "/files/{file_id}/entities/{entity_id}", d: "aidream", a: "guest", o: "required", n: "files.delete_entity_endpoint" };
|
|
677
|
+
function deleteEntityEndpoint(api, args, options) {
|
|
678
|
+
return api.call($deleteEntityEndpoint, args, options);
|
|
679
|
+
}
|
|
680
|
+
var $promoteToEntityEndpoint = { m: "POST", p: "/files/{file_id}/annotations/{annotation_id}/promote-to-entity", d: "aidream", a: "guest", o: "required", n: "files.promote_to_entity_endpoint" };
|
|
681
|
+
function promoteToEntityEndpoint(api, args, options) {
|
|
682
|
+
return api.call($promoteToEntityEndpoint, args, options);
|
|
683
|
+
}
|
|
684
|
+
var $findSimilarEndpoint = { m: "POST", p: "/files/{file_id}/entities/find-similar", d: "aidream", a: "guest", o: "required", n: "files.find_similar_endpoint" };
|
|
685
|
+
function findSimilarEndpoint(api, args, options) {
|
|
686
|
+
return api.call($findSimilarEndpoint, args, options);
|
|
687
|
+
}
|
|
688
|
+
var $health = { m: "GET", p: "/files-service/health", d: "files", a: "public", o: "exempt", n: "files.health" };
|
|
689
|
+
function health(api, args, options) {
|
|
690
|
+
return api.call($health, args, options);
|
|
691
|
+
}
|
|
692
|
+
var $readiness = { m: "GET", p: "/files-service/ready", d: "files", a: "public", o: "exempt", n: "files.readiness" };
|
|
693
|
+
function readiness(api, args, options) {
|
|
694
|
+
return api.call($readiness, args, options);
|
|
695
|
+
}
|
|
696
|
+
var $mintFileSessionOnFiles = { m: "POST", p: "/files/session", d: "files", a: "user", o: "exempt", n: "files.mint_file_session" };
|
|
697
|
+
function mintFileSessionOnFiles(api, args, options) {
|
|
698
|
+
return api.call($mintFileSessionOnFiles, args, options);
|
|
699
|
+
}
|
|
700
|
+
var $syncChanges = { m: "GET", p: "/files/sync/changes", d: "files", a: "user", o: "required", n: "files.sync_changes" };
|
|
701
|
+
function syncChanges(api, args, options) {
|
|
702
|
+
return api.call($syncChanges, args, options);
|
|
703
|
+
}
|
|
704
|
+
var $syncFolders = { m: "GET", p: "/files/sync/folders", d: "files", a: "user", o: "required", n: "files.sync_folders" };
|
|
705
|
+
function syncFolders(api, args, options) {
|
|
706
|
+
return api.call($syncFolders, args, options);
|
|
707
|
+
}
|
|
708
|
+
var $convertOfficePdf = { m: "POST", p: "/files/{file_id}/office-pdf", d: "files", a: "user", o: "required", n: "files.convert_office_pdf" };
|
|
709
|
+
function convertOfficePdf(api, args, options) {
|
|
710
|
+
return api.call($convertOfficePdf, args, options);
|
|
711
|
+
}
|
|
712
|
+
var $extractAudioOnFiles = { m: "POST", p: "/files/{file_id}/extract-audio", d: "files", a: "user", o: "required", n: "files.extract_audio" };
|
|
713
|
+
function extractAudioOnFiles(api, args, options) {
|
|
714
|
+
return api.call($extractAudioOnFiles, args, options);
|
|
715
|
+
}
|
|
716
|
+
var $getFileAsAssetOnFiles = { m: "GET", p: "/files/{file_id}/asset", d: "files", a: "user", o: "optional", n: "files.get_file_as_asset" };
|
|
717
|
+
function getFileAsAssetOnFiles(api, args, options) {
|
|
718
|
+
return api.call($getFileAsAssetOnFiles, args, options);
|
|
719
|
+
}
|
|
720
|
+
var $listMappings = { m: "GET", p: "/files/sync/mappings", d: "files", a: "user", o: "required", n: "files.list_mappings" };
|
|
721
|
+
function listMappings(api, args, options) {
|
|
722
|
+
return api.call($listMappings, args, options);
|
|
723
|
+
}
|
|
724
|
+
var $createMapping = { m: "POST", p: "/files/sync/mappings", d: "files", a: "user", o: "required", n: "files.create_mapping" };
|
|
725
|
+
function createMapping(api, args, options) {
|
|
726
|
+
return api.call($createMapping, args, options);
|
|
727
|
+
}
|
|
728
|
+
var $reportObservation = { m: "PATCH", p: "/files/sync/mappings/{mapping_id}", d: "files", a: "user", o: "required", n: "files.report_observation" };
|
|
729
|
+
function reportObservation(api, args, options) {
|
|
730
|
+
return api.call($reportObservation, args, options);
|
|
731
|
+
}
|
|
732
|
+
var $deleteMapping = { m: "DELETE", p: "/files/sync/mappings/{mapping_id}", d: "files", a: "user", o: "required", n: "files.delete_mapping" };
|
|
733
|
+
function deleteMapping(api, args, options) {
|
|
734
|
+
return api.call($deleteMapping, args, options);
|
|
735
|
+
}
|
|
736
|
+
var $tusCreateOnFiles = { m: "POST", p: "/files/upload/tus", d: "files", a: "user", o: "required", n: "files.tus_create" };
|
|
737
|
+
function tusCreateOnFiles(api, args, options) {
|
|
738
|
+
return api.call($tusCreateOnFiles, args, options);
|
|
739
|
+
}
|
|
740
|
+
var $tusOptionsOnFiles = { m: "OPTIONS", p: "/files/upload/tus", d: "files", a: "public", o: "required", n: "files.tus_options" };
|
|
741
|
+
function tusOptionsOnFiles(api, args, options) {
|
|
742
|
+
return api.call($tusOptionsOnFiles, args, options);
|
|
743
|
+
}
|
|
744
|
+
var $tusPatchOnFiles = { m: "PATCH", p: "/files/upload/tus/{upload_id}", d: "files", a: "user", o: "required", n: "files.tus_patch" };
|
|
745
|
+
function tusPatchOnFiles(api, args, options) {
|
|
746
|
+
return api.call($tusPatchOnFiles, args, options);
|
|
747
|
+
}
|
|
748
|
+
var $tusDeleteOnFiles = { m: "DELETE", p: "/files/upload/tus/{upload_id}", d: "files", a: "user", o: "required", n: "files.tus_delete" };
|
|
749
|
+
function tusDeleteOnFiles(api, args, options) {
|
|
750
|
+
return api.call($tusDeleteOnFiles, args, options);
|
|
751
|
+
}
|
|
752
|
+
var $tusHeadOnFiles = { m: "HEAD", p: "/files/upload/tus/{upload_id}", d: "files", a: "user", o: "required", n: "files.tus_head" };
|
|
753
|
+
function tusHeadOnFiles(api, args, options) {
|
|
754
|
+
return api.call($tusHeadOnFiles, args, options);
|
|
755
|
+
}
|
|
756
|
+
var $childFileShare = { m: "GET", p: "/share/{token}/files/{file_id}", d: "files", a: "scoped", o: "exempt", s: "bytes", n: "files.child_file_share" };
|
|
757
|
+
function childFileShare(api, args, options) {
|
|
758
|
+
return api.send($childFileShare, args, options).then((x) => x.response);
|
|
759
|
+
}
|
|
760
|
+
var $downloadShare = { m: "GET", p: "/share/{token}/download", d: "files", a: "scoped", o: "exempt", n: "files.download_share" };
|
|
761
|
+
function downloadShare(api, args, options) {
|
|
762
|
+
return api.call($downloadShare, args, options);
|
|
763
|
+
}
|
|
764
|
+
var $listFiles = { m: "GET", p: "/files", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.list_files" };
|
|
765
|
+
function listFiles(api, args, options) {
|
|
766
|
+
return api.call($listFiles, args, options);
|
|
767
|
+
}
|
|
768
|
+
var $appGenerateDirectoryStructure = { m: "POST", p: "/generate-directory-structure/text", d: "matrx-local", a: "loopback_token", o: "exempt", s: "bytes", n: "files.app_generate_directory_structure" };
|
|
769
|
+
function appGenerateDirectoryStructure(api, args, options) {
|
|
770
|
+
return api.send($appGenerateDirectoryStructure, args, options).then((x) => x.response);
|
|
771
|
+
}
|
|
772
|
+
var $generateDirectoryStructureJson = { m: "POST", p: "/generate-directory-structure/json", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.generate_directory_structure_json" };
|
|
773
|
+
function generateDirectoryStructureJson(api, args, options) {
|
|
774
|
+
return api.call($generateDirectoryStructureJson, args, options);
|
|
775
|
+
}
|
|
776
|
+
var $appGenerateDirectoryStructurePost = { m: "POST", p: "/generate-directory-structure/zip", d: "matrx-local", a: "loopback_token", o: "exempt", s: "bytes", n: "files.app_generate_directory_structure_post" };
|
|
777
|
+
function appGenerateDirectoryStructurePost(api, args, options) {
|
|
778
|
+
return api.send($appGenerateDirectoryStructurePost, args, options).then((x) => x.response);
|
|
779
|
+
}
|
|
780
|
+
var $configureSync = { m: "POST", p: "/cloud/configure", d: "matrx-local", a: "loopback_open", o: "exempt", n: "files.configure_sync" };
|
|
781
|
+
function configureSync(api, args, options) {
|
|
782
|
+
return api.call($configureSync, args, options);
|
|
783
|
+
}
|
|
784
|
+
var $reconfigureSync = { m: "POST", p: "/cloud/reconfigure", d: "matrx-local", a: "loopback_open", o: "exempt", n: "files.reconfigure_sync" };
|
|
785
|
+
function reconfigureSync(api, args, options) {
|
|
786
|
+
return api.call($reconfigureSync, args, options);
|
|
787
|
+
}
|
|
788
|
+
var $getCloudSettings = { m: "GET", p: "/cloud/settings", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.get_cloud_settings" };
|
|
789
|
+
function getCloudSettings(api, args, options) {
|
|
790
|
+
return api.call($getCloudSettings, args, options);
|
|
791
|
+
}
|
|
792
|
+
var $updateCloudSettings = { m: "PUT", p: "/cloud/settings", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.update_cloud_settings" };
|
|
793
|
+
function updateCloudSettings(api, args, options) {
|
|
794
|
+
return api.call($updateCloudSettings, args, options);
|
|
795
|
+
}
|
|
796
|
+
var $resetSettings = { m: "POST", p: "/cloud/settings/reset", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.reset_settings" };
|
|
797
|
+
function resetSettings(api, args, options) {
|
|
798
|
+
return api.call($resetSettings, args, options);
|
|
799
|
+
}
|
|
800
|
+
var $triggerSync = { m: "POST", p: "/cloud/sync", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.trigger_sync" };
|
|
801
|
+
function triggerSync(api, args, options) {
|
|
802
|
+
return api.call($triggerSync, args, options);
|
|
803
|
+
}
|
|
804
|
+
var $pushSettings = { m: "POST", p: "/cloud/sync/push", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.push_settings" };
|
|
805
|
+
function pushSettings(api, args, options) {
|
|
806
|
+
return api.call($pushSettings, args, options);
|
|
807
|
+
}
|
|
808
|
+
var $pullSettings = { m: "POST", p: "/cloud/sync/pull", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.pull_settings" };
|
|
809
|
+
function pullSettings(api, args, options) {
|
|
810
|
+
return api.call($pullSettings, args, options);
|
|
811
|
+
}
|
|
812
|
+
var $getInstanceInfo = { m: "GET", p: "/cloud/instance", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.get_instance_info" };
|
|
813
|
+
function getInstanceInfo(api, args, options) {
|
|
814
|
+
return api.call($getInstanceInfo, args, options);
|
|
815
|
+
}
|
|
816
|
+
var $listInstances = { m: "GET", p: "/cloud/instances", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.list_instances" };
|
|
817
|
+
function listInstances(api, args, options) {
|
|
818
|
+
return api.call($listInstances, args, options);
|
|
819
|
+
}
|
|
820
|
+
var $updateInstanceName = { m: "PUT", p: "/cloud/instance/name", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.update_instance_name" };
|
|
821
|
+
function updateInstanceName(api, args, options) {
|
|
822
|
+
return api.call($updateInstanceName, args, options);
|
|
823
|
+
}
|
|
824
|
+
var $heartbeat = { m: "POST", p: "/cloud/heartbeat", d: "matrx-local", a: "public", o: "exempt", n: "files.heartbeat" };
|
|
825
|
+
function heartbeat(api, args, options) {
|
|
826
|
+
return api.call($heartbeat, args, options);
|
|
827
|
+
}
|
|
828
|
+
var $cloudDebug = { m: "GET", p: "/cloud/debug", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.cloud_debug" };
|
|
829
|
+
function cloudDebug(api, args, options) {
|
|
830
|
+
return api.call($cloudDebug, args, options);
|
|
831
|
+
}
|
|
832
|
+
var $cloudInstanceDryRun = { m: "GET", p: "/cloud/instance/dry-run", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.cloud_instance_dry_run" };
|
|
833
|
+
function cloudInstanceDryRun(api, args, options) {
|
|
834
|
+
return api.call($cloudInstanceDryRun, args, options);
|
|
835
|
+
}
|
|
836
|
+
var $getPlaces = { m: "GET", p: "/filesystem/places", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.get_places" };
|
|
837
|
+
function getPlaces(api, args, options) {
|
|
838
|
+
return api.call($getPlaces, args, options);
|
|
839
|
+
}
|
|
840
|
+
var $updatePriorityRoots = { m: "PUT", p: "/filesystem/priority-roots", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.update_priority_roots" };
|
|
841
|
+
function updatePriorityRoots(api, args, options) {
|
|
842
|
+
return api.call($updatePriorityRoots, args, options);
|
|
843
|
+
}
|
|
844
|
+
var $getIndexingSettings = { m: "GET", p: "/filesystem/indexing-settings", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.get_indexing_settings" };
|
|
845
|
+
function getIndexingSettings(api, args, options) {
|
|
846
|
+
return api.call($getIndexingSettings, args, options);
|
|
847
|
+
}
|
|
848
|
+
var $updateIndexingSettings = { m: "PUT", p: "/filesystem/indexing-settings", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.update_indexing_settings" };
|
|
849
|
+
function updateIndexingSettings(api, args, options) {
|
|
850
|
+
return api.call($updateIndexingSettings, args, options);
|
|
851
|
+
}
|
|
852
|
+
var $listDirectory = { m: "GET", p: "/filesystem/list", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.list_directory" };
|
|
853
|
+
function listDirectory(api, args, options) {
|
|
854
|
+
return api.call($listDirectory, args, options);
|
|
855
|
+
}
|
|
856
|
+
var $prepareOpen = { m: "POST", p: "/filesystem/prepare-open", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.prepare_open" };
|
|
857
|
+
function prepareOpen(api, args, options) {
|
|
858
|
+
return api.call($prepareOpen, args, options);
|
|
859
|
+
}
|
|
860
|
+
var $findPaths = { m: "GET", p: "/filesystem/find", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.find_paths" };
|
|
861
|
+
function findPaths(api, args, options) {
|
|
862
|
+
return api.call($findPaths, args, options);
|
|
863
|
+
}
|
|
864
|
+
var $filesystemStatus = { m: "GET", p: "/filesystem/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.filesystem_status" };
|
|
865
|
+
function filesystemStatus(api, args, options) {
|
|
866
|
+
return api.call($filesystemStatus, args, options);
|
|
867
|
+
}
|
|
868
|
+
var $filesystemIndexAction = { m: "POST", p: "/filesystem/index/action", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.filesystem_index_action" };
|
|
869
|
+
function filesystemIndexAction(api, args, options) {
|
|
870
|
+
return api.call($filesystemIndexAction, args, options);
|
|
871
|
+
}
|
|
872
|
+
var $searchContent = { m: "GET", p: "/filesystem/search-content", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.search_content" };
|
|
873
|
+
function searchContent(api, args, options) {
|
|
874
|
+
return api.call($searchContent, args, options);
|
|
875
|
+
}
|
|
876
|
+
var $searchSemantic = { m: "GET", p: "/filesystem/search-semantic", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.search_semantic" };
|
|
877
|
+
function searchSemantic(api, args, options) {
|
|
878
|
+
return api.call($searchSemantic, args, options);
|
|
879
|
+
}
|
|
880
|
+
var $downloadStream = { m: "GET", p: "/downloads/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "files.download_stream" };
|
|
881
|
+
function downloadStream(api, args, options) {
|
|
882
|
+
return openStream(api, $downloadStream, args, options);
|
|
883
|
+
}
|
|
884
|
+
var $listDownloads = { m: "GET", p: "/downloads", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.list_downloads" };
|
|
885
|
+
function listDownloads(api, args, options) {
|
|
886
|
+
return api.call($listDownloads, args, options);
|
|
887
|
+
}
|
|
888
|
+
var $enqueueDownload = { m: "POST", p: "/downloads", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.enqueue_download" };
|
|
889
|
+
function enqueueDownload(api, args, options) {
|
|
890
|
+
return api.call($enqueueDownload, args, options);
|
|
891
|
+
}
|
|
892
|
+
var $getDownload = { m: "GET", p: "/downloads/{download_id}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.get_download" };
|
|
893
|
+
function getDownload(api, args, options) {
|
|
894
|
+
return api.call($getDownload, args, options);
|
|
895
|
+
}
|
|
896
|
+
var $cancelDownload = { m: "DELETE", p: "/downloads/{download_id}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.cancel_download" };
|
|
897
|
+
function cancelDownload(api, args, options) {
|
|
898
|
+
return api.call($cancelDownload, args, options);
|
|
899
|
+
}
|
|
900
|
+
var $dismissDownload = { m: "POST", p: "/downloads/{download_id}/dismiss", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.dismiss_download" };
|
|
901
|
+
function dismissDownload(api, args, options) {
|
|
902
|
+
return api.call($dismissDownload, args, options);
|
|
903
|
+
}
|
|
904
|
+
var TABLE = {
|
|
905
|
+
"POST /utilities/pdf/compress": $compressPdf,
|
|
906
|
+
"POST /utilities/pdf/extract-pages": $extractPages,
|
|
907
|
+
"POST /utilities/pdf/crop-pages": $cropPages,
|
|
908
|
+
"POST /utilities/pdf/rotate-pages": $rotatePages,
|
|
909
|
+
"POST /utilities/pdf/delete-pages": $deletePages,
|
|
910
|
+
"POST /utilities/pdf/merge": $mergePdfs,
|
|
911
|
+
"POST /utilities/pdf/reorder-pages": $reorderPages,
|
|
912
|
+
"POST /utilities/pdf/insert-pages": $insertPages,
|
|
913
|
+
"POST /utilities/pdf/duplicate-pages": $duplicatePages,
|
|
914
|
+
"POST /utilities/pdf/render-page": $renderPage,
|
|
915
|
+
"POST /utilities/pdf/render-thumbnail": $renderThumbnail,
|
|
916
|
+
"GET /utilities/pdf/studio/presets": $studioPresets,
|
|
917
|
+
"GET /utilities/pdf/redact/patterns": $redactPatternsCatalog,
|
|
918
|
+
"POST /utilities/pdf/redact-regions": $redactRegionsEndpoint,
|
|
919
|
+
"POST /utilities/pdf/redact-pattern": $redactPatternEndpoint,
|
|
920
|
+
"POST /utilities/pdf/redact-repeated-regions": $redactRepeatedRegionsEndpoint,
|
|
921
|
+
"POST /utilities/pdf/strip-metadata": $stripMetadataEndpoint,
|
|
922
|
+
"POST /utilities/pdf/scrub": $scrubEndpoint,
|
|
923
|
+
"POST /utilities/pdf/flatten-annotations": $flattenAnnotationsEndpoint,
|
|
924
|
+
"GET /utilities/pdf/documents": $listDocuments,
|
|
925
|
+
"GET /utilities/pdf/documents/{doc_id}": $getDocument,
|
|
926
|
+
"POST /storage-sources/browse": $browseProviderFolder,
|
|
927
|
+
"POST /storage-sources/import": $importProviderFile,
|
|
928
|
+
"POST /storage-oauth/{provider}/authorize": $authorizeStorage,
|
|
929
|
+
"GET /dropbox/oauth/callback": $dropboxCallback,
|
|
930
|
+
"GET /box/oauth/callback": $boxCallback,
|
|
931
|
+
"POST /storage-oauth/{provider}/refresh": $refreshStorage,
|
|
932
|
+
"POST /storage-oauth/{provider}/disconnect": $disconnectStorage,
|
|
933
|
+
"GET /assets/presets": $listPresets,
|
|
934
|
+
"POST /assets": $uploadAsset,
|
|
935
|
+
"GET /assets/{file_id}": $getAsset,
|
|
936
|
+
"PATCH /assets/{file_id}": $patchAsset,
|
|
937
|
+
"POST /assets/{file_id}/variants": $renderMoreVariants,
|
|
938
|
+
"POST /assets/preview": $assetsPreview,
|
|
939
|
+
"POST /assets/preview/multipart": $assetsPreviewMultipart,
|
|
940
|
+
"POST /assets/pdf-compress": $assetsPdfCompress,
|
|
941
|
+
"POST /assets/pdf-compress/multipart": $assetsPdfCompressMultipart,
|
|
942
|
+
"POST /files/session": $mintFileSession,
|
|
943
|
+
"POST /files/upload": $uploadFile,
|
|
944
|
+
"GET /files": $filesListFiles,
|
|
945
|
+
"GET /files/tree": $getFileTree,
|
|
946
|
+
"GET /files/folders": $listFolders,
|
|
947
|
+
"GET /files/usage": $getStorageUsage,
|
|
948
|
+
"GET /files/trash": $listTrash,
|
|
949
|
+
"POST /files/upload/presigned": $createPresignedUpload,
|
|
950
|
+
"POST /files/finalize-upload": $finalizePresignedUpload,
|
|
951
|
+
"GET /files/search": $searchFiles,
|
|
952
|
+
"GET /files/by-path/{file_path}": $getFileByPath,
|
|
953
|
+
"POST /files/bulk": $bulkOpDiscriminator,
|
|
954
|
+
"DELETE /files/bulk": $bulkDeleteFiles,
|
|
955
|
+
"POST /files/bulk/move": $bulkMoveFiles,
|
|
956
|
+
"GET /files/{file_id}": $filesGetFile,
|
|
957
|
+
"PATCH /files/{file_id}": $updateFileMetadata,
|
|
958
|
+
"DELETE /files/{file_id}": $filesDeleteFile,
|
|
959
|
+
"POST /files/{file_id}/restore": $restoreFile,
|
|
960
|
+
"POST /files/{file_id}/rename": $renameFile,
|
|
961
|
+
"POST /files/{file_id}/copy": $copyFile,
|
|
962
|
+
"POST /files/{file_id}/pdf-pages": $selectPdfPages,
|
|
963
|
+
"POST /files/{file_id}/extract-audio": $extractAudio,
|
|
964
|
+
"GET /files/{file_id}/asset": $getFileAsAsset,
|
|
965
|
+
"POST /folders": $createFolder,
|
|
966
|
+
"GET /folders/{folder_id}": $getFolder,
|
|
967
|
+
"PATCH /folders/{folder_id}": $patchFolder,
|
|
968
|
+
"DELETE /folders/{folder_id}": $deleteFolder,
|
|
969
|
+
"POST /folders/bulk/move": $bulkMoveFolders,
|
|
970
|
+
"GET /files/groups": $listGroupsIndex,
|
|
971
|
+
"POST /files/groups": $createGroup,
|
|
972
|
+
"GET /files/groups/{group_id}/members": $listGroupMembers,
|
|
973
|
+
"POST /files/groups/{group_id}/members": $addGroupMember,
|
|
974
|
+
"DELETE /files/groups/{group_id}/members/{member_user_id}": $removeGroupMember,
|
|
975
|
+
"DELETE /files/share-links/{token}": $deactivateShareLink,
|
|
976
|
+
"GET /files/{file_id}/permissions": $listFilePermissions,
|
|
977
|
+
"POST /files/{file_id}/permissions": $grantFilePermission,
|
|
978
|
+
"DELETE /files/{file_id}/permissions/{grantee_id}": $revokeFilePermission,
|
|
979
|
+
"GET /folders/{folder_id}/permissions": $listFolderPermissions,
|
|
980
|
+
"POST /folders/{folder_id}/permissions": $grantFolderPermission,
|
|
981
|
+
"DELETE /folders/{folder_id}/permissions/{grantee_id}": $revokeFolderPermission,
|
|
982
|
+
"GET /files/{file_id}/share-links": $listFileShareLinks,
|
|
983
|
+
"POST /files/{file_id}/share-links": $createFileShareLink,
|
|
984
|
+
"GET /folders/{folder_id}/share-links": $listFolderShareLinks,
|
|
985
|
+
"POST /folders/{folder_id}/share-links": $createFolderShareLink,
|
|
986
|
+
"GET /files/{file_id}/document": $getFileDocument,
|
|
987
|
+
"GET /files/{file_id}/rag-status": $getFileRagStatus,
|
|
988
|
+
"GET /files/{file_id}/lineage-summary": $getFileLineageSummary,
|
|
989
|
+
"GET /files/{file_id}/versions": $versionsListVersions,
|
|
990
|
+
"POST /files/{file_id}/versions": $saveNewVersion,
|
|
991
|
+
"GET /files/{file_id}/versions/{version_number}": $getVersion,
|
|
992
|
+
"POST /files/{file_id}/versions/{version_number}/restore": $versionsRestoreVersion,
|
|
993
|
+
"POST /files/upload/tus": $tusCreate,
|
|
994
|
+
"OPTIONS /files/upload/tus": $tusOptions,
|
|
995
|
+
"PATCH /files/upload/tus/{upload_id}": $tusPatch,
|
|
996
|
+
"DELETE /files/upload/tus/{upload_id}": $tusDelete,
|
|
997
|
+
"HEAD /files/upload/tus/{upload_id}": $tusHead,
|
|
998
|
+
"GET /virtual": $listAdapters,
|
|
999
|
+
"POST /virtual/resolve": $resolve,
|
|
1000
|
+
"GET /virtual/{adapter_id}/list": $listNodes,
|
|
1001
|
+
"GET /virtual/{adapter_id}/{vid}/content": $readContent,
|
|
1002
|
+
"POST /virtual/{adapter_id}/{vid}/save": $saveContent,
|
|
1003
|
+
"POST /virtual/{adapter_id}/{vid}/rename": $renameNode,
|
|
1004
|
+
"POST /virtual/{adapter_id}/{vid}/move": $moveNode,
|
|
1005
|
+
"DELETE /virtual/{adapter_id}/{vid}": $deleteNode,
|
|
1006
|
+
"POST /virtual/{adapter_id}/create": $createNode,
|
|
1007
|
+
"GET /virtual/{adapter_id}/{vid}/versions": $virtualListVersions,
|
|
1008
|
+
"POST /virtual/{adapter_id}/{vid}/versions/{n}/restore": $virtualRestoreVersion,
|
|
1009
|
+
"GET /cloud-files/list": $cloudFilesBridgeListFiles,
|
|
1010
|
+
"GET /cloud-files/get": $cloudFilesBridgeGetFile,
|
|
1011
|
+
"PUT /cloud-files/put": $putFile,
|
|
1012
|
+
"DELETE /cloud-files/delete": $cloudFilesBridgeDeleteFile,
|
|
1013
|
+
"GET /cloud-files/quota": $getQuota,
|
|
1014
|
+
"GET /cloud-files/changes": $listChanges,
|
|
1015
|
+
"GET /cloud-files/integrations.aidream": $integrationsAidream,
|
|
1016
|
+
"POST /media-heal/drain": $drainMediaHealQueue,
|
|
1017
|
+
"GET /files/{file_id}/analysis": $fetchAnalysis,
|
|
1018
|
+
"POST /files/{file_id}/redact/mask": $redactMask,
|
|
1019
|
+
"POST /redact/restore": $redactRestore,
|
|
1020
|
+
"POST /redact/sessions/{session_id}/revoke": $revokeSession,
|
|
1021
|
+
"GET /redact/escrow/wrapping-key": $escrowWrappingKey,
|
|
1022
|
+
"POST /redact/escrow/recover": $escrowRecover,
|
|
1023
|
+
"GET /files/{file_id}/extracted-text": $extractedTextEndpoint,
|
|
1024
|
+
"GET /files/analysis/preferences": $getAnalysisPreferences,
|
|
1025
|
+
"PUT /files/analysis/preferences": $putAnalysisPreferences,
|
|
1026
|
+
"GET /annotations/label-catalog": $fetchLabelCatalog,
|
|
1027
|
+
"POST /files/{file_id}/annotations/extract-at-bbox": $extractAtBboxEndpoint,
|
|
1028
|
+
"GET /files/{file_id}/annotations": $listAnnotationsEndpoint,
|
|
1029
|
+
"POST /files/{file_id}/annotations": $createAnnotationEndpoint,
|
|
1030
|
+
"PUT /files/{file_id}/annotations/{annotation_id}": $updateAnnotationEndpoint,
|
|
1031
|
+
"DELETE /files/{file_id}/annotations/{annotation_id}": $deleteAnnotationEndpoint,
|
|
1032
|
+
"GET /files/{file_id}/key-findings": $keyFindingsEndpoint,
|
|
1033
|
+
"GET /files/{file_id}/annotations/manifest": $manifestEndpoint,
|
|
1034
|
+
"POST /files/{file_id}/annotations/snap-bbox": $snapBboxEndpoint,
|
|
1035
|
+
"POST /files/{file_id}/annotations/bulk-from-candidates": $bulkFromCandidatesEndpoint,
|
|
1036
|
+
"GET /files/{file_id}/pages": $listPagesEndpoint,
|
|
1037
|
+
"GET /files/{file_id}/active-pages": $activePagesEndpoint,
|
|
1038
|
+
"GET /files/{file_id}/pages/{page_id}": $getPageEndpoint,
|
|
1039
|
+
"POST /files/{file_id}/pages/{page_id}/exclude": $excludePageEndpoint,
|
|
1040
|
+
"POST /files/{file_id}/pages/{page_id}/include": $includePageEndpoint,
|
|
1041
|
+
"POST /files/{file_id}/pages/{page_id}/rotate": $rotatePageEndpoint,
|
|
1042
|
+
"POST /files/{file_id}/pages/{page_id}/override-text": $overridePageTextEndpoint,
|
|
1043
|
+
"GET /files/{file_id}/overrides": $listOverridesEndpoint,
|
|
1044
|
+
"POST /files/{file_id}/regions/extract": $extractRegionEndpoint,
|
|
1045
|
+
"POST /files/{file_id}/render-page-with-overlay": $renderPageWithOverlayEndpoint,
|
|
1046
|
+
"GET /files/{file_id}/entities": $listEntitiesEndpoint,
|
|
1047
|
+
"POST /files/{file_id}/entities": $createEntityEndpoint,
|
|
1048
|
+
"PUT /files/{file_id}/entities/{entity_id}": $updateEntityEndpoint,
|
|
1049
|
+
"DELETE /files/{file_id}/entities/{entity_id}": $deleteEntityEndpoint,
|
|
1050
|
+
"POST /files/{file_id}/annotations/{annotation_id}/promote-to-entity": $promoteToEntityEndpoint,
|
|
1051
|
+
"POST /files/{file_id}/entities/find-similar": $findSimilarEndpoint,
|
|
1052
|
+
"GET /files-service/health": $health,
|
|
1053
|
+
"GET /files-service/ready": $readiness,
|
|
1054
|
+
"POST /files/session @files": $mintFileSessionOnFiles,
|
|
1055
|
+
"GET /files/sync/changes": $syncChanges,
|
|
1056
|
+
"GET /files/sync/folders": $syncFolders,
|
|
1057
|
+
"POST /files/{file_id}/office-pdf": $convertOfficePdf,
|
|
1058
|
+
"POST /files/{file_id}/extract-audio @files": $extractAudioOnFiles,
|
|
1059
|
+
"GET /files/{file_id}/asset @files": $getFileAsAssetOnFiles,
|
|
1060
|
+
"GET /files/sync/mappings": $listMappings,
|
|
1061
|
+
"POST /files/sync/mappings": $createMapping,
|
|
1062
|
+
"PATCH /files/sync/mappings/{mapping_id}": $reportObservation,
|
|
1063
|
+
"DELETE /files/sync/mappings/{mapping_id}": $deleteMapping,
|
|
1064
|
+
"POST /files/upload/tus @files": $tusCreateOnFiles,
|
|
1065
|
+
"OPTIONS /files/upload/tus @files": $tusOptionsOnFiles,
|
|
1066
|
+
"PATCH /files/upload/tus/{upload_id} @files": $tusPatchOnFiles,
|
|
1067
|
+
"DELETE /files/upload/tus/{upload_id} @files": $tusDeleteOnFiles,
|
|
1068
|
+
"HEAD /files/upload/tus/{upload_id} @files": $tusHeadOnFiles,
|
|
1069
|
+
"GET /share/{token}/download": $downloadShare,
|
|
1070
|
+
"GET /files @matrx-local": $listFiles,
|
|
1071
|
+
"POST /generate-directory-structure/json": $generateDirectoryStructureJson,
|
|
1072
|
+
"POST /cloud/configure": $configureSync,
|
|
1073
|
+
"POST /cloud/reconfigure": $reconfigureSync,
|
|
1074
|
+
"GET /cloud/settings": $getCloudSettings,
|
|
1075
|
+
"PUT /cloud/settings": $updateCloudSettings,
|
|
1076
|
+
"POST /cloud/settings/reset": $resetSettings,
|
|
1077
|
+
"POST /cloud/sync": $triggerSync,
|
|
1078
|
+
"POST /cloud/sync/push": $pushSettings,
|
|
1079
|
+
"POST /cloud/sync/pull": $pullSettings,
|
|
1080
|
+
"GET /cloud/instance": $getInstanceInfo,
|
|
1081
|
+
"GET /cloud/instances": $listInstances,
|
|
1082
|
+
"PUT /cloud/instance/name": $updateInstanceName,
|
|
1083
|
+
"POST /cloud/heartbeat": $heartbeat,
|
|
1084
|
+
"GET /cloud/debug": $cloudDebug,
|
|
1085
|
+
"GET /cloud/instance/dry-run": $cloudInstanceDryRun,
|
|
1086
|
+
"GET /filesystem/places": $getPlaces,
|
|
1087
|
+
"PUT /filesystem/priority-roots": $updatePriorityRoots,
|
|
1088
|
+
"GET /filesystem/indexing-settings": $getIndexingSettings,
|
|
1089
|
+
"PUT /filesystem/indexing-settings": $updateIndexingSettings,
|
|
1090
|
+
"GET /filesystem/list": $listDirectory,
|
|
1091
|
+
"POST /filesystem/prepare-open": $prepareOpen,
|
|
1092
|
+
"GET /filesystem/find": $findPaths,
|
|
1093
|
+
"GET /filesystem/status": $filesystemStatus,
|
|
1094
|
+
"POST /filesystem/index/action": $filesystemIndexAction,
|
|
1095
|
+
"GET /filesystem/search-content": $searchContent,
|
|
1096
|
+
"GET /filesystem/search-semantic": $searchSemantic,
|
|
1097
|
+
"GET /downloads": $listDownloads,
|
|
1098
|
+
"POST /downloads": $enqueueDownload,
|
|
1099
|
+
"GET /downloads/{download_id}": $getDownload,
|
|
1100
|
+
"DELETE /downloads/{download_id}": $cancelDownload,
|
|
1101
|
+
"POST /downloads/{download_id}/dismiss": $dismissDownload
|
|
1102
|
+
};
|
|
1103
|
+
function call(api, key, args, options) {
|
|
1104
|
+
return api.call(TABLE[key], args, options);
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
export { activePagesEndpoint, addGroupMember, appGenerateDirectoryStructure, appGenerateDirectoryStructurePost, assetsPdfCompress, assetsPdfCompressMultipart, assetsPreview, assetsPreviewMultipart, authorizeStorage, batchExtract, boxCallback, browseProviderFolder, bulkDeleteFiles, bulkFromCandidatesEndpoint, bulkMoveFiles, bulkMoveFolders, bulkOpDiscriminator, call, cancelDownload, childFileShare, classifyPagesEndpoint, cleanDocumentContent, cloudDebug, cloudFilesBridgeDeleteFile, cloudFilesBridgeGetFile, cloudFilesBridgeListFiles, cloudInstanceDryRun, compressPdf, configureSync, convertOfficePdf, copyFile, createAnnotationEndpoint, createEntityEndpoint, createFileShareLink, createFolder, createFolderShareLink, createGroup, createMapping, createNode, createPresignedUpload, cropPages, deactivateShareLink, deleteAnnotationEndpoint, deleteEntityEndpoint, deleteFolder, deleteMapping, deleteNode, deletePages, detectRepeatedRegionsEndpoint, disconnectStorage, dismissDownload, downloadFile, downloadShare, downloadSharedChildFile, downloadSharedFile, downloadStream, downloadVersion, drainMediaHealQueue, dropboxCallback, duplicatePages, enqueueDownload, escrowRecover, escrowWrappingKey, excludePageEndpoint, extractAtBboxEndpoint, extractAudio, extractAudioOnFiles, extractPages, extractReadingOrderEndpoint, extractRegionEndpoint, extractTables, extractTextFromPdf, extractTextRemote, extractedTextEndpoint, fetchAnalysis, fetchLabelCatalog, filesDeleteFile, filesGetFile, filesListFiles, filesystemIndexAction, filesystemStatus, finalizePresignedUpload, findPaths, findSimilarEndpoint, flattenAnnotationsEndpoint, fullPipeline, generateDirectoryStructureJson, getAnalysisPreferences, getAsset, getCloudSettings, getDocument, getDownload, getFileAsAsset, getFileAsAssetOnFiles, getFileByPath, getFileDocument, getFileLineageSummary, getFileRagStatus, getFileTree, getFolder, getIndexingSettings, getInstanceInfo, getPageEndpoint, getPlaces, getQuota, getStorageUsage, getVersion, grantFilePermission, grantFolderPermission, health, heartbeat, importProviderFile, includePageEndpoint, ingestFileForRag, ingestFileForRagStream, insertPages, integrationsAidream, keyFindingsEndpoint, listAdapters, listAnnotationsEndpoint, listChanges, listDirectory, listDocuments, listDownloads, listEntitiesEndpoint, listFilePermissions, listFileShareLinks, listFiles, listFolderPermissions, listFolderShareLinks, listFolders, listGroupMembers, listGroupsIndex, listInstances, listMappings, listNodes, listOverridesEndpoint, listPagesEndpoint, listPresets, listTrash, manifestEndpoint, mergePdfs, mintFileSession, mintFileSessionOnFiles, moveNode, overridePageTextEndpoint, patchAsset, patchFolder, pdfFromImages, prepareOpen, processWithAi, promoteToEntityEndpoint, pullSettings, pushSettings, putAnalysisPreferences, putFile, readContent, readiness, reconfigureSync, redactMask, redactPatternEndpoint, redactPatternsCatalog, redactRegionsEndpoint, redactRepeatedRegionsEndpoint, redactRestore, refreshAnalysis, refreshFileRag, refreshStorage, removeGroupMember, renameFile, renameNode, renderAllPages, renderMoreVariants, renderPage, renderPageWithOverlayEndpoint, renderThumbnail, reorderPages, reportObservation, resetSettings, resolve, restoreFile, revokeFilePermission, revokeFolderPermission, revokeSession, rotatePageEndpoint, rotatePages, saveContent, saveNewVersion, scrubEndpoint, searchContent, searchEndpoint, searchFiles, searchSemantic, selectPdfPages, snapBboxEndpoint, splitPdf, stripMetadataEndpoint, stripRepeatedRegionsEndpoint, studioPresets, studioRender, syncChanges, syncFolders, triggerSync, tusCreate, tusCreateOnFiles, tusDelete, tusDeleteOnFiles, tusHead, tusHeadOnFiles, tusOptions, tusOptionsOnFiles, tusPatch, tusPatchOnFiles, updateAnnotationEndpoint, updateCloudSettings, updateEntityEndpoint, updateFileMetadata, updateIndexingSettings, updateInstanceName, updatePriorityRoots, uploadAsset, uploadFile, versionsListVersions, versionsRestoreVersion, virtualListVersions, virtualRestoreVersion };
|