@knowledge-stack/ksapi 1.40.1 → 1.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +8 -0
- package/README.md +18 -9
- package/dist/apis/ApiKeysApi.d.ts +187 -0
- package/dist/apis/ApiKeysApi.js +193 -0
- package/dist/apis/AuthApi.d.ts +6 -0
- package/dist/apis/AuthApi.js +6 -0
- package/dist/apis/ChunkLineagesApi.d.ts +9 -0
- package/dist/apis/ChunkLineagesApi.js +9 -0
- package/dist/apis/ChunksApi.d.ts +24 -0
- package/dist/apis/ChunksApi.js +24 -0
- package/dist/apis/DocumentVersionsApi.d.ts +21 -0
- package/dist/apis/DocumentVersionsApi.js +21 -0
- package/dist/apis/DocumentsApi.d.ts +21 -0
- package/dist/apis/DocumentsApi.js +21 -0
- package/dist/apis/FoldersApi.d.ts +21 -0
- package/dist/apis/FoldersApi.js +21 -0
- package/dist/apis/InvitesApi.d.ts +12 -0
- package/dist/apis/InvitesApi.js +12 -0
- package/dist/apis/PathPartsApi.d.ts +18 -0
- package/dist/apis/PathPartsApi.js +18 -0
- package/dist/apis/SectionsApi.d.ts +12 -0
- package/dist/apis/SectionsApi.js +12 -0
- package/dist/apis/TagsApi.d.ts +15 -0
- package/dist/apis/TagsApi.js +15 -0
- package/dist/apis/TenantsApi.d.ts +24 -0
- package/dist/apis/TenantsApi.js +24 -0
- package/dist/apis/ThreadMessagesApi.d.ts +9 -0
- package/dist/apis/ThreadMessagesApi.js +9 -0
- package/dist/apis/ThreadsApi.d.ts +21 -0
- package/dist/apis/ThreadsApi.js +21 -0
- package/dist/apis/UserPermissionsApi.d.ts +12 -0
- package/dist/apis/UserPermissionsApi.js +12 -0
- package/dist/apis/UsersApi.d.ts +6 -0
- package/dist/apis/UsersApi.js +6 -0
- package/dist/apis/WorkflowsApi.d.ts +9 -0
- package/dist/apis/WorkflowsApi.js +9 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ApiKeysApi.d.ts +187 -0
- package/dist/esm/apis/ApiKeysApi.js +189 -0
- package/dist/esm/apis/AuthApi.d.ts +6 -0
- package/dist/esm/apis/AuthApi.js +6 -0
- package/dist/esm/apis/ChunkLineagesApi.d.ts +9 -0
- package/dist/esm/apis/ChunkLineagesApi.js +9 -0
- package/dist/esm/apis/ChunksApi.d.ts +24 -0
- package/dist/esm/apis/ChunksApi.js +24 -0
- package/dist/esm/apis/DocumentVersionsApi.d.ts +21 -0
- package/dist/esm/apis/DocumentVersionsApi.js +21 -0
- package/dist/esm/apis/DocumentsApi.d.ts +21 -0
- package/dist/esm/apis/DocumentsApi.js +21 -0
- package/dist/esm/apis/FoldersApi.d.ts +21 -0
- package/dist/esm/apis/FoldersApi.js +21 -0
- package/dist/esm/apis/InvitesApi.d.ts +12 -0
- package/dist/esm/apis/InvitesApi.js +12 -0
- package/dist/esm/apis/PathPartsApi.d.ts +18 -0
- package/dist/esm/apis/PathPartsApi.js +18 -0
- package/dist/esm/apis/SectionsApi.d.ts +12 -0
- package/dist/esm/apis/SectionsApi.js +12 -0
- package/dist/esm/apis/TagsApi.d.ts +15 -0
- package/dist/esm/apis/TagsApi.js +15 -0
- package/dist/esm/apis/TenantsApi.d.ts +24 -0
- package/dist/esm/apis/TenantsApi.js +24 -0
- package/dist/esm/apis/ThreadMessagesApi.d.ts +9 -0
- package/dist/esm/apis/ThreadMessagesApi.js +9 -0
- package/dist/esm/apis/ThreadsApi.d.ts +21 -0
- package/dist/esm/apis/ThreadsApi.js +21 -0
- package/dist/esm/apis/UserPermissionsApi.d.ts +12 -0
- package/dist/esm/apis/UserPermissionsApi.js +12 -0
- package/dist/esm/apis/UsersApi.d.ts +6 -0
- package/dist/esm/apis/UsersApi.js +6 -0
- package/dist/esm/apis/WorkflowsApi.d.ts +9 -0
- package/dist/esm/apis/WorkflowsApi.js +9 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/ApiKeyResponse.d.ts +65 -0
- package/dist/esm/models/ApiKeyResponse.js +56 -0
- package/dist/esm/models/CreateApiKeyRequest.d.ts +47 -0
- package/dist/esm/models/CreateApiKeyRequest.js +49 -0
- package/dist/esm/models/CreateApiKeyResponse.d.ts +71 -0
- package/dist/esm/models/CreateApiKeyResponse.js +60 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/models/ApiKeyResponse.d.ts +65 -0
- package/dist/models/ApiKeyResponse.js +64 -0
- package/dist/models/CreateApiKeyRequest.d.ts +47 -0
- package/dist/models/CreateApiKeyRequest.js +57 -0
- package/dist/models/CreateApiKeyResponse.d.ts +71 -0
- package/dist/models/CreateApiKeyResponse.js +68 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/docs/ApiKeyResponse.md +41 -0
- package/docs/ApiKeysApi.md +293 -0
- package/docs/AuthApi.md +8 -2
- package/docs/ChunkLineagesApi.md +12 -3
- package/docs/ChunksApi.md +32 -8
- package/docs/CreateApiKeyRequest.md +35 -0
- package/docs/CreateApiKeyResponse.md +43 -0
- package/docs/DocumentVersionsApi.md +28 -7
- package/docs/DocumentsApi.md +28 -7
- package/docs/FoldersApi.md +28 -7
- package/docs/InvitesApi.md +16 -4
- package/docs/PathPartsApi.md +24 -6
- package/docs/SectionsApi.md +16 -4
- package/docs/TagsApi.md +20 -5
- package/docs/TenantsApi.md +32 -8
- package/docs/ThreadMessagesApi.md +12 -3
- package/docs/ThreadsApi.md +28 -7
- package/docs/UserPermissionsApi.md +16 -4
- package/docs/UsersApi.md +8 -2
- package/docs/WorkflowsApi.md +12 -3
- package/package.json +1 -1
- package/src/apis/ApiKeysApi.ts +350 -0
- package/src/apis/AuthApi.ts +14 -0
- package/src/apis/ChunkLineagesApi.ts +21 -0
- package/src/apis/ChunksApi.ts +56 -0
- package/src/apis/DocumentVersionsApi.ts +49 -0
- package/src/apis/DocumentsApi.ts +49 -0
- package/src/apis/FoldersApi.ts +49 -0
- package/src/apis/InvitesApi.ts +28 -0
- package/src/apis/PathPartsApi.ts +42 -0
- package/src/apis/SectionsApi.ts +28 -0
- package/src/apis/TagsApi.ts +35 -0
- package/src/apis/TenantsApi.ts +56 -0
- package/src/apis/ThreadMessagesApi.ts +21 -0
- package/src/apis/ThreadsApi.ts +49 -0
- package/src/apis/UserPermissionsApi.ts +28 -0
- package/src/apis/UsersApi.ts +14 -0
- package/src/apis/WorkflowsApi.ts +21 -0
- package/src/apis/index.ts +1 -0
- package/src/models/ApiKeyResponse.ts +110 -0
- package/src/models/CreateApiKeyRequest.ts +87 -0
- package/src/models/CreateApiKeyResponse.ts +119 -0
- package/src/models/index.ts +3 -0
|
@@ -13,37 +13,45 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { ChunkBulkResponse, ChunkResponse, ChunkSearchRequest, CreateChunkRequest, ScoredChunkResponse, UpdateChunkContentRequest, UpdateChunkMetadataRequest, VersionChunkIdsResponse } from '../models/index';
|
|
14
14
|
export interface CreateChunkOperationRequest {
|
|
15
15
|
createChunkRequest: CreateChunkRequest;
|
|
16
|
+
authorization?: string | null;
|
|
16
17
|
ksUat?: string | null;
|
|
17
18
|
}
|
|
18
19
|
export interface DeleteChunkRequest {
|
|
19
20
|
chunkId: string;
|
|
21
|
+
authorization?: string | null;
|
|
20
22
|
ksUat?: string | null;
|
|
21
23
|
}
|
|
22
24
|
export interface GetChunkRequest {
|
|
23
25
|
chunkId: string;
|
|
24
26
|
withDocument?: boolean;
|
|
27
|
+
authorization?: string | null;
|
|
25
28
|
ksUat?: string | null;
|
|
26
29
|
}
|
|
27
30
|
export interface GetChunksBulkRequest {
|
|
28
31
|
chunkIds?: Array<string> | null;
|
|
32
|
+
authorization?: string | null;
|
|
29
33
|
ksUat?: string | null;
|
|
30
34
|
}
|
|
31
35
|
export interface GetVersionChunkIdsRequest {
|
|
32
36
|
documentVersionId: string;
|
|
37
|
+
authorization?: string | null;
|
|
33
38
|
ksUat?: string | null;
|
|
34
39
|
}
|
|
35
40
|
export interface SearchChunksRequest {
|
|
36
41
|
chunkSearchRequest: ChunkSearchRequest;
|
|
42
|
+
authorization?: string | null;
|
|
37
43
|
ksUat?: string | null;
|
|
38
44
|
}
|
|
39
45
|
export interface UpdateChunkContentOperationRequest {
|
|
40
46
|
chunkId: string;
|
|
41
47
|
updateChunkContentRequest: UpdateChunkContentRequest;
|
|
48
|
+
authorization?: string | null;
|
|
42
49
|
ksUat?: string | null;
|
|
43
50
|
}
|
|
44
51
|
export interface UpdateChunkMetadataOperationRequest {
|
|
45
52
|
chunkId: string;
|
|
46
53
|
updateChunkMetadataRequest: UpdateChunkMetadataRequest;
|
|
54
|
+
authorization?: string | null;
|
|
47
55
|
ksUat?: string | null;
|
|
48
56
|
}
|
|
49
57
|
/**
|
|
@@ -56,6 +64,7 @@ export interface ChunksApiInterface {
|
|
|
56
64
|
/**
|
|
57
65
|
* Creates request options for createChunk without sending the request
|
|
58
66
|
* @param {CreateChunkRequest} createChunkRequest
|
|
67
|
+
* @param {string} [authorization]
|
|
59
68
|
* @param {string} [ksUat]
|
|
60
69
|
* @throws {RequiredError}
|
|
61
70
|
* @memberof ChunksApiInterface
|
|
@@ -65,6 +74,7 @@ export interface ChunksApiInterface {
|
|
|
65
74
|
* Create a new chunk with content. The chunk is created as a child of the specified parent (must be DOCUMENT_VERSION or SECTION). Content is deduplicated by SHA256 hash.
|
|
66
75
|
* @summary Create Chunk Handler
|
|
67
76
|
* @param {CreateChunkRequest} createChunkRequest
|
|
77
|
+
* @param {string} [authorization]
|
|
68
78
|
* @param {string} [ksUat]
|
|
69
79
|
* @param {*} [options] Override http request option.
|
|
70
80
|
* @throws {RequiredError}
|
|
@@ -79,6 +89,7 @@ export interface ChunksApiInterface {
|
|
|
79
89
|
/**
|
|
80
90
|
* Creates request options for deleteChunk without sending the request
|
|
81
91
|
* @param {string} chunkId
|
|
92
|
+
* @param {string} [authorization]
|
|
82
93
|
* @param {string} [ksUat]
|
|
83
94
|
* @throws {RequiredError}
|
|
84
95
|
* @memberof ChunksApiInterface
|
|
@@ -88,6 +99,7 @@ export interface ChunksApiInterface {
|
|
|
88
99
|
* Delete a chunk. The chunk is deleted via its PathPart (cascading delete). The associated ChunkContent may remain if shared by other chunks.
|
|
89
100
|
* @summary Delete Chunk Handler
|
|
90
101
|
* @param {string} chunkId
|
|
102
|
+
* @param {string} [authorization]
|
|
91
103
|
* @param {string} [ksUat]
|
|
92
104
|
* @param {*} [options] Override http request option.
|
|
93
105
|
* @throws {RequiredError}
|
|
@@ -103,6 +115,7 @@ export interface ChunksApiInterface {
|
|
|
103
115
|
* Creates request options for getChunk without sending the request
|
|
104
116
|
* @param {string} chunkId
|
|
105
117
|
* @param {boolean} [withDocument] Include ancestor document_id and document_version_id (default: false)
|
|
118
|
+
* @param {string} [authorization]
|
|
106
119
|
* @param {string} [ksUat]
|
|
107
120
|
* @throws {RequiredError}
|
|
108
121
|
* @memberof ChunksApiInterface
|
|
@@ -113,6 +126,7 @@ export interface ChunksApiInterface {
|
|
|
113
126
|
* @summary Get Chunk Handler
|
|
114
127
|
* @param {string} chunkId
|
|
115
128
|
* @param {boolean} [withDocument] Include ancestor document_id and document_version_id (default: false)
|
|
129
|
+
* @param {string} [authorization]
|
|
116
130
|
* @param {string} [ksUat]
|
|
117
131
|
* @param {*} [options] Override http request option.
|
|
118
132
|
* @throws {RequiredError}
|
|
@@ -127,6 +141,7 @@ export interface ChunksApiInterface {
|
|
|
127
141
|
/**
|
|
128
142
|
* Creates request options for getChunksBulk without sending the request
|
|
129
143
|
* @param {Array<string>} [chunkIds] Chunk IDs to resolve (max 200)
|
|
144
|
+
* @param {string} [authorization]
|
|
130
145
|
* @param {string} [ksUat]
|
|
131
146
|
* @throws {RequiredError}
|
|
132
147
|
* @memberof ChunksApiInterface
|
|
@@ -136,6 +151,7 @@ export interface ChunksApiInterface {
|
|
|
136
151
|
* Batch-fetch chunks with their full ancestor path part IDs. Returns standard chunk data plus path_part_id_segments (the ordered ancestor chain from root to chunk) for each requested chunk. Non-existent IDs are silently skipped. Limited to 200 IDs per call.
|
|
137
152
|
* @summary Get Chunks Bulk Handler
|
|
138
153
|
* @param {Array<string>} [chunkIds] Chunk IDs to resolve (max 200)
|
|
154
|
+
* @param {string} [authorization]
|
|
139
155
|
* @param {string} [ksUat]
|
|
140
156
|
* @param {*} [options] Override http request option.
|
|
141
157
|
* @throws {RequiredError}
|
|
@@ -150,6 +166,7 @@ export interface ChunksApiInterface {
|
|
|
150
166
|
/**
|
|
151
167
|
* Creates request options for getVersionChunkIds without sending the request
|
|
152
168
|
* @param {string} documentVersionId Document version ID
|
|
169
|
+
* @param {string} [authorization]
|
|
153
170
|
* @param {string} [ksUat]
|
|
154
171
|
* @throws {RequiredError}
|
|
155
172
|
* @memberof ChunksApiInterface
|
|
@@ -159,6 +176,7 @@ export interface ChunksApiInterface {
|
|
|
159
176
|
* Get all chunk IDs belonging to a document version. Used by the embedding pipeline to discover chunks for a version.
|
|
160
177
|
* @summary Get Version Chunk Ids Handler
|
|
161
178
|
* @param {string} documentVersionId Document version ID
|
|
179
|
+
* @param {string} [authorization]
|
|
162
180
|
* @param {string} [ksUat]
|
|
163
181
|
* @param {*} [options] Override http request option.
|
|
164
182
|
* @throws {RequiredError}
|
|
@@ -173,6 +191,7 @@ export interface ChunksApiInterface {
|
|
|
173
191
|
/**
|
|
174
192
|
* Creates request options for searchChunks without sending the request
|
|
175
193
|
* @param {ChunkSearchRequest} chunkSearchRequest
|
|
194
|
+
* @param {string} [authorization]
|
|
176
195
|
* @param {string} [ksUat]
|
|
177
196
|
* @throws {RequiredError}
|
|
178
197
|
* @memberof ChunksApiInterface
|
|
@@ -182,6 +201,7 @@ export interface ChunksApiInterface {
|
|
|
182
201
|
* Search over chunks using dense vector similarity or BM25 full-text. Combines vector/keyword search with path-based authorization and optional metadata filters. Uses Qdrant for search and hydrates results from Postgres.
|
|
183
202
|
* @summary Search Chunks Handler
|
|
184
203
|
* @param {ChunkSearchRequest} chunkSearchRequest
|
|
204
|
+
* @param {string} [authorization]
|
|
185
205
|
* @param {string} [ksUat]
|
|
186
206
|
* @param {*} [options] Override http request option.
|
|
187
207
|
* @throws {RequiredError}
|
|
@@ -197,6 +217,7 @@ export interface ChunksApiInterface {
|
|
|
197
217
|
* Creates request options for updateChunkContent without sending the request
|
|
198
218
|
* @param {string} chunkId
|
|
199
219
|
* @param {UpdateChunkContentRequest} updateChunkContentRequest
|
|
220
|
+
* @param {string} [authorization]
|
|
200
221
|
* @param {string} [ksUat]
|
|
201
222
|
* @throws {RequiredError}
|
|
202
223
|
* @memberof ChunksApiInterface
|
|
@@ -207,6 +228,7 @@ export interface ChunksApiInterface {
|
|
|
207
228
|
* @summary Update Chunk Content Handler
|
|
208
229
|
* @param {string} chunkId
|
|
209
230
|
* @param {UpdateChunkContentRequest} updateChunkContentRequest
|
|
231
|
+
* @param {string} [authorization]
|
|
210
232
|
* @param {string} [ksUat]
|
|
211
233
|
* @param {*} [options] Override http request option.
|
|
212
234
|
* @throws {RequiredError}
|
|
@@ -222,6 +244,7 @@ export interface ChunksApiInterface {
|
|
|
222
244
|
* Creates request options for updateChunkMetadata without sending the request
|
|
223
245
|
* @param {string} chunkId
|
|
224
246
|
* @param {UpdateChunkMetadataRequest} updateChunkMetadataRequest
|
|
247
|
+
* @param {string} [authorization]
|
|
225
248
|
* @param {string} [ksUat]
|
|
226
249
|
* @throws {RequiredError}
|
|
227
250
|
* @memberof ChunksApiInterface
|
|
@@ -232,6 +255,7 @@ export interface ChunksApiInterface {
|
|
|
232
255
|
* @summary Update Chunk Metadata Handler
|
|
233
256
|
* @param {string} chunkId
|
|
234
257
|
* @param {UpdateChunkMetadataRequest} updateChunkMetadataRequest
|
|
258
|
+
* @param {string} [authorization]
|
|
235
259
|
* @param {string} [ksUat]
|
|
236
260
|
* @param {*} [options] Override http request option.
|
|
237
261
|
* @throws {RequiredError}
|
|
@@ -37,6 +37,9 @@ export class ChunksApi extends runtime.BaseAPI {
|
|
|
37
37
|
const queryParameters = {};
|
|
38
38
|
const headerParameters = {};
|
|
39
39
|
headerParameters['Content-Type'] = 'application/json';
|
|
40
|
+
if (requestParameters['authorization'] != null) {
|
|
41
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
42
|
+
}
|
|
40
43
|
let urlPath = `/v1/chunks`;
|
|
41
44
|
return {
|
|
42
45
|
path: urlPath,
|
|
@@ -78,6 +81,9 @@ export class ChunksApi extends runtime.BaseAPI {
|
|
|
78
81
|
}
|
|
79
82
|
const queryParameters = {};
|
|
80
83
|
const headerParameters = {};
|
|
84
|
+
if (requestParameters['authorization'] != null) {
|
|
85
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
86
|
+
}
|
|
81
87
|
let urlPath = `/v1/chunks/{chunk_id}`;
|
|
82
88
|
urlPath = urlPath.replace(`{${"chunk_id"}}`, encodeURIComponent(String(requestParameters['chunkId'])));
|
|
83
89
|
return {
|
|
@@ -121,6 +127,9 @@ export class ChunksApi extends runtime.BaseAPI {
|
|
|
121
127
|
queryParameters['with_document'] = requestParameters['withDocument'];
|
|
122
128
|
}
|
|
123
129
|
const headerParameters = {};
|
|
130
|
+
if (requestParameters['authorization'] != null) {
|
|
131
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
132
|
+
}
|
|
124
133
|
let urlPath = `/v1/chunks/{chunk_id}`;
|
|
125
134
|
urlPath = urlPath.replace(`{${"chunk_id"}}`, encodeURIComponent(String(requestParameters['chunkId'])));
|
|
126
135
|
return {
|
|
@@ -162,6 +171,9 @@ export class ChunksApi extends runtime.BaseAPI {
|
|
|
162
171
|
queryParameters['chunk_ids'] = requestParameters['chunkIds'];
|
|
163
172
|
}
|
|
164
173
|
const headerParameters = {};
|
|
174
|
+
if (requestParameters['authorization'] != null) {
|
|
175
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
176
|
+
}
|
|
165
177
|
let urlPath = `/v1/chunks/bulk`;
|
|
166
178
|
return {
|
|
167
179
|
path: urlPath,
|
|
@@ -205,6 +217,9 @@ export class ChunksApi extends runtime.BaseAPI {
|
|
|
205
217
|
queryParameters['document_version_id'] = requestParameters['documentVersionId'];
|
|
206
218
|
}
|
|
207
219
|
const headerParameters = {};
|
|
220
|
+
if (requestParameters['authorization'] != null) {
|
|
221
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
222
|
+
}
|
|
208
223
|
let urlPath = `/v1/chunks/version-chunk-ids`;
|
|
209
224
|
return {
|
|
210
225
|
path: urlPath,
|
|
@@ -246,6 +261,9 @@ export class ChunksApi extends runtime.BaseAPI {
|
|
|
246
261
|
const queryParameters = {};
|
|
247
262
|
const headerParameters = {};
|
|
248
263
|
headerParameters['Content-Type'] = 'application/json';
|
|
264
|
+
if (requestParameters['authorization'] != null) {
|
|
265
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
266
|
+
}
|
|
249
267
|
let urlPath = `/v1/chunks/search`;
|
|
250
268
|
return {
|
|
251
269
|
path: urlPath,
|
|
@@ -291,6 +309,9 @@ export class ChunksApi extends runtime.BaseAPI {
|
|
|
291
309
|
const queryParameters = {};
|
|
292
310
|
const headerParameters = {};
|
|
293
311
|
headerParameters['Content-Type'] = 'application/json';
|
|
312
|
+
if (requestParameters['authorization'] != null) {
|
|
313
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
314
|
+
}
|
|
294
315
|
let urlPath = `/v1/chunks/{chunk_id}/content`;
|
|
295
316
|
urlPath = urlPath.replace(`{${"chunk_id"}}`, encodeURIComponent(String(requestParameters['chunkId'])));
|
|
296
317
|
return {
|
|
@@ -337,6 +358,9 @@ export class ChunksApi extends runtime.BaseAPI {
|
|
|
337
358
|
const queryParameters = {};
|
|
338
359
|
const headerParameters = {};
|
|
339
360
|
headerParameters['Content-Type'] = 'application/json';
|
|
361
|
+
if (requestParameters['authorization'] != null) {
|
|
362
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
363
|
+
}
|
|
340
364
|
let urlPath = `/v1/chunks/{chunk_id}`;
|
|
341
365
|
urlPath = urlPath.replace(`{${"chunk_id"}}`, encodeURIComponent(String(requestParameters['chunkId'])));
|
|
342
366
|
return {
|
|
@@ -13,18 +13,22 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { ClearVersionContentsResponse, DocumentVersionMetadataUpdate, DocumentVersionResponse, PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator, PaginatedResponseDocumentVersionResponse } from '../models/index';
|
|
14
14
|
export interface ClearDocumentVersionContentsRequest {
|
|
15
15
|
versionId: string;
|
|
16
|
+
authorization?: string | null;
|
|
16
17
|
ksUat?: string | null;
|
|
17
18
|
}
|
|
18
19
|
export interface CreateDocumentVersionRequest {
|
|
19
20
|
documentId: string;
|
|
21
|
+
authorization?: string | null;
|
|
20
22
|
ksUat?: string | null;
|
|
21
23
|
}
|
|
22
24
|
export interface DeleteDocumentVersionRequest {
|
|
23
25
|
versionId: string;
|
|
26
|
+
authorization?: string | null;
|
|
24
27
|
ksUat?: string | null;
|
|
25
28
|
}
|
|
26
29
|
export interface GetDocumentVersionRequest {
|
|
27
30
|
versionId: string;
|
|
31
|
+
authorization?: string | null;
|
|
28
32
|
ksUat?: string | null;
|
|
29
33
|
}
|
|
30
34
|
export interface GetDocumentVersionContentsRequest {
|
|
@@ -32,17 +36,20 @@ export interface GetDocumentVersionContentsRequest {
|
|
|
32
36
|
sectionId?: string | null;
|
|
33
37
|
limit?: number;
|
|
34
38
|
offset?: number;
|
|
39
|
+
authorization?: string | null;
|
|
35
40
|
ksUat?: string | null;
|
|
36
41
|
}
|
|
37
42
|
export interface ListDocumentVersionsRequest {
|
|
38
43
|
documentId: string;
|
|
39
44
|
limit?: number;
|
|
40
45
|
offset?: number;
|
|
46
|
+
authorization?: string | null;
|
|
41
47
|
ksUat?: string | null;
|
|
42
48
|
}
|
|
43
49
|
export interface UpdateDocumentVersionMetadataRequest {
|
|
44
50
|
versionId: string;
|
|
45
51
|
documentVersionMetadataUpdate: DocumentVersionMetadataUpdate;
|
|
52
|
+
authorization?: string | null;
|
|
46
53
|
ksUat?: string | null;
|
|
47
54
|
}
|
|
48
55
|
/**
|
|
@@ -55,6 +62,7 @@ export interface DocumentVersionsApiInterface {
|
|
|
55
62
|
/**
|
|
56
63
|
* Creates request options for clearDocumentVersionContents without sending the request
|
|
57
64
|
* @param {string} versionId DocumentVersion ID
|
|
65
|
+
* @param {string} [authorization]
|
|
58
66
|
* @param {string} [ksUat]
|
|
59
67
|
* @throws {RequiredError}
|
|
60
68
|
* @memberof DocumentVersionsApiInterface
|
|
@@ -64,6 +72,7 @@ export interface DocumentVersionsApiInterface {
|
|
|
64
72
|
* Delete all sections and chunks under a document version. Removes all content (sections and chunks) from the version while keeping the version itself intact. Used by the ingestion pipeline for idempotent re-processing.
|
|
65
73
|
* @summary Clear Document Version Contents Handler
|
|
66
74
|
* @param {string} versionId DocumentVersion ID
|
|
75
|
+
* @param {string} [authorization]
|
|
67
76
|
* @param {string} [ksUat]
|
|
68
77
|
* @param {*} [options] Override http request option.
|
|
69
78
|
* @throws {RequiredError}
|
|
@@ -78,6 +87,7 @@ export interface DocumentVersionsApiInterface {
|
|
|
78
87
|
/**
|
|
79
88
|
* Creates request options for createDocumentVersion without sending the request
|
|
80
89
|
* @param {string} documentId Document ID
|
|
90
|
+
* @param {string} [authorization]
|
|
81
91
|
* @param {string} [ksUat]
|
|
82
92
|
* @throws {RequiredError}
|
|
83
93
|
* @memberof DocumentVersionsApiInterface
|
|
@@ -87,6 +97,7 @@ export interface DocumentVersionsApiInterface {
|
|
|
87
97
|
* Create a new version for a document. The version number is automatically incremented from the highest existing version.
|
|
88
98
|
* @summary Create Document Version Handler
|
|
89
99
|
* @param {string} documentId Document ID
|
|
100
|
+
* @param {string} [authorization]
|
|
90
101
|
* @param {string} [ksUat]
|
|
91
102
|
* @param {*} [options] Override http request option.
|
|
92
103
|
* @throws {RequiredError}
|
|
@@ -101,6 +112,7 @@ export interface DocumentVersionsApiInterface {
|
|
|
101
112
|
/**
|
|
102
113
|
* Creates request options for deleteDocumentVersion without sending the request
|
|
103
114
|
* @param {string} versionId DocumentVersion ID
|
|
115
|
+
* @param {string} [authorization]
|
|
104
116
|
* @param {string} [ksUat]
|
|
105
117
|
* @throws {RequiredError}
|
|
106
118
|
* @memberof DocumentVersionsApiInterface
|
|
@@ -110,6 +122,7 @@ export interface DocumentVersionsApiInterface {
|
|
|
110
122
|
* Delete a document version by its ID. Cannot delete the active version of a document.
|
|
111
123
|
* @summary Delete Document Version Handler
|
|
112
124
|
* @param {string} versionId DocumentVersion ID
|
|
125
|
+
* @param {string} [authorization]
|
|
113
126
|
* @param {string} [ksUat]
|
|
114
127
|
* @param {*} [options] Override http request option.
|
|
115
128
|
* @throws {RequiredError}
|
|
@@ -124,6 +137,7 @@ export interface DocumentVersionsApiInterface {
|
|
|
124
137
|
/**
|
|
125
138
|
* Creates request options for getDocumentVersion without sending the request
|
|
126
139
|
* @param {string} versionId DocumentVersion ID
|
|
140
|
+
* @param {string} [authorization]
|
|
127
141
|
* @param {string} [ksUat]
|
|
128
142
|
* @throws {RequiredError}
|
|
129
143
|
* @memberof DocumentVersionsApiInterface
|
|
@@ -133,6 +147,7 @@ export interface DocumentVersionsApiInterface {
|
|
|
133
147
|
* Get a document version by its ID.
|
|
134
148
|
* @summary Get Document Version Handler
|
|
135
149
|
* @param {string} versionId DocumentVersion ID
|
|
150
|
+
* @param {string} [authorization]
|
|
136
151
|
* @param {string} [ksUat]
|
|
137
152
|
* @param {*} [options] Override http request option.
|
|
138
153
|
* @throws {RequiredError}
|
|
@@ -150,6 +165,7 @@ export interface DocumentVersionsApiInterface {
|
|
|
150
165
|
* @param {string} [sectionId] Optional section ID to scope traversal to a subtree
|
|
151
166
|
* @param {number} [limit] Number of items per page
|
|
152
167
|
* @param {number} [offset] Number of items to skip
|
|
168
|
+
* @param {string} [authorization]
|
|
153
169
|
* @param {string} [ksUat]
|
|
154
170
|
* @throws {RequiredError}
|
|
155
171
|
* @memberof DocumentVersionsApiInterface
|
|
@@ -162,6 +178,7 @@ export interface DocumentVersionsApiInterface {
|
|
|
162
178
|
* @param {string} [sectionId] Optional section ID to scope traversal to a subtree
|
|
163
179
|
* @param {number} [limit] Number of items per page
|
|
164
180
|
* @param {number} [offset] Number of items to skip
|
|
181
|
+
* @param {string} [authorization]
|
|
165
182
|
* @param {string} [ksUat]
|
|
166
183
|
* @param {*} [options] Override http request option.
|
|
167
184
|
* @throws {RequiredError}
|
|
@@ -178,6 +195,7 @@ export interface DocumentVersionsApiInterface {
|
|
|
178
195
|
* @param {string} documentId Document ID to list versions for
|
|
179
196
|
* @param {number} [limit] Number of items per page
|
|
180
197
|
* @param {number} [offset] Number of items to skip
|
|
198
|
+
* @param {string} [authorization]
|
|
181
199
|
* @param {string} [ksUat]
|
|
182
200
|
* @throws {RequiredError}
|
|
183
201
|
* @memberof DocumentVersionsApiInterface
|
|
@@ -189,6 +207,7 @@ export interface DocumentVersionsApiInterface {
|
|
|
189
207
|
* @param {string} documentId Document ID to list versions for
|
|
190
208
|
* @param {number} [limit] Number of items per page
|
|
191
209
|
* @param {number} [offset] Number of items to skip
|
|
210
|
+
* @param {string} [authorization]
|
|
192
211
|
* @param {string} [ksUat]
|
|
193
212
|
* @param {*} [options] Override http request option.
|
|
194
213
|
* @throws {RequiredError}
|
|
@@ -204,6 +223,7 @@ export interface DocumentVersionsApiInterface {
|
|
|
204
223
|
* Creates request options for updateDocumentVersionMetadata without sending the request
|
|
205
224
|
* @param {string} versionId DocumentVersion ID
|
|
206
225
|
* @param {DocumentVersionMetadataUpdate} documentVersionMetadataUpdate
|
|
226
|
+
* @param {string} [authorization]
|
|
207
227
|
* @param {string} [ksUat]
|
|
208
228
|
* @throws {RequiredError}
|
|
209
229
|
* @memberof DocumentVersionsApiInterface
|
|
@@ -214,6 +234,7 @@ export interface DocumentVersionsApiInterface {
|
|
|
214
234
|
* @summary Update Document Version Metadata Handler
|
|
215
235
|
* @param {string} versionId DocumentVersion ID
|
|
216
236
|
* @param {DocumentVersionMetadataUpdate} documentVersionMetadataUpdate
|
|
237
|
+
* @param {string} [authorization]
|
|
217
238
|
* @param {string} [ksUat]
|
|
218
239
|
* @param {*} [options] Override http request option.
|
|
219
240
|
* @throws {RequiredError}
|
|
@@ -36,6 +36,9 @@ export class DocumentVersionsApi extends runtime.BaseAPI {
|
|
|
36
36
|
}
|
|
37
37
|
const queryParameters = {};
|
|
38
38
|
const headerParameters = {};
|
|
39
|
+
if (requestParameters['authorization'] != null) {
|
|
40
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
41
|
+
}
|
|
39
42
|
let urlPath = `/v1/document_versions/{version_id}/contents`;
|
|
40
43
|
urlPath = urlPath.replace(`{${"version_id"}}`, encodeURIComponent(String(requestParameters['versionId'])));
|
|
41
44
|
return {
|
|
@@ -77,6 +80,9 @@ export class DocumentVersionsApi extends runtime.BaseAPI {
|
|
|
77
80
|
}
|
|
78
81
|
const queryParameters = {};
|
|
79
82
|
const headerParameters = {};
|
|
83
|
+
if (requestParameters['authorization'] != null) {
|
|
84
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
85
|
+
}
|
|
80
86
|
let urlPath = `/v1/documents/{document_id}/versions`;
|
|
81
87
|
urlPath = urlPath.replace(`{${"document_id"}}`, encodeURIComponent(String(requestParameters['documentId'])));
|
|
82
88
|
return {
|
|
@@ -118,6 +124,9 @@ export class DocumentVersionsApi extends runtime.BaseAPI {
|
|
|
118
124
|
}
|
|
119
125
|
const queryParameters = {};
|
|
120
126
|
const headerParameters = {};
|
|
127
|
+
if (requestParameters['authorization'] != null) {
|
|
128
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
129
|
+
}
|
|
121
130
|
let urlPath = `/v1/document_versions/{version_id}`;
|
|
122
131
|
urlPath = urlPath.replace(`{${"version_id"}}`, encodeURIComponent(String(requestParameters['versionId'])));
|
|
123
132
|
return {
|
|
@@ -158,6 +167,9 @@ export class DocumentVersionsApi extends runtime.BaseAPI {
|
|
|
158
167
|
}
|
|
159
168
|
const queryParameters = {};
|
|
160
169
|
const headerParameters = {};
|
|
170
|
+
if (requestParameters['authorization'] != null) {
|
|
171
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
172
|
+
}
|
|
161
173
|
let urlPath = `/v1/document_versions/{version_id}`;
|
|
162
174
|
urlPath = urlPath.replace(`{${"version_id"}}`, encodeURIComponent(String(requestParameters['versionId'])));
|
|
163
175
|
return {
|
|
@@ -208,6 +220,9 @@ export class DocumentVersionsApi extends runtime.BaseAPI {
|
|
|
208
220
|
queryParameters['offset'] = requestParameters['offset'];
|
|
209
221
|
}
|
|
210
222
|
const headerParameters = {};
|
|
223
|
+
if (requestParameters['authorization'] != null) {
|
|
224
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
225
|
+
}
|
|
211
226
|
let urlPath = `/v1/document_versions/{version_id}/contents`;
|
|
212
227
|
urlPath = urlPath.replace(`{${"version_id"}}`, encodeURIComponent(String(requestParameters['versionId'])));
|
|
213
228
|
return {
|
|
@@ -258,6 +273,9 @@ export class DocumentVersionsApi extends runtime.BaseAPI {
|
|
|
258
273
|
queryParameters['offset'] = requestParameters['offset'];
|
|
259
274
|
}
|
|
260
275
|
const headerParameters = {};
|
|
276
|
+
if (requestParameters['authorization'] != null) {
|
|
277
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
278
|
+
}
|
|
261
279
|
let urlPath = `/v1/document_versions`;
|
|
262
280
|
return {
|
|
263
281
|
path: urlPath,
|
|
@@ -302,6 +320,9 @@ export class DocumentVersionsApi extends runtime.BaseAPI {
|
|
|
302
320
|
const queryParameters = {};
|
|
303
321
|
const headerParameters = {};
|
|
304
322
|
headerParameters['Content-Type'] = 'application/json';
|
|
323
|
+
if (requestParameters['authorization'] != null) {
|
|
324
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
325
|
+
}
|
|
305
326
|
let urlPath = `/v1/document_versions/{version_id}/metadata`;
|
|
306
327
|
urlPath = urlPath.replace(`{${"version_id"}}`, encodeURIComponent(String(requestParameters['versionId'])));
|
|
307
328
|
return {
|
|
@@ -13,20 +13,24 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { ChunkType, CreateDocumentRequest, DocumentResponse, IngestDocumentResponse, IngestionMode, PaginatedResponseDocumentResponse, PathOrder, UpdateDocumentRequest } from '../models/index';
|
|
14
14
|
export interface CreateDocumentOperationRequest {
|
|
15
15
|
createDocumentRequest: CreateDocumentRequest;
|
|
16
|
+
authorization?: string | null;
|
|
16
17
|
ksUat?: string | null;
|
|
17
18
|
}
|
|
18
19
|
export interface DeleteDocumentRequest {
|
|
19
20
|
documentId: string;
|
|
21
|
+
authorization?: string | null;
|
|
20
22
|
ksUat?: string | null;
|
|
21
23
|
}
|
|
22
24
|
export interface GetDocumentRequest {
|
|
23
25
|
documentId: string;
|
|
24
26
|
withTags?: boolean;
|
|
27
|
+
authorization?: string | null;
|
|
25
28
|
ksUat?: string | null;
|
|
26
29
|
}
|
|
27
30
|
export interface IngestDocumentRequest {
|
|
28
31
|
file: Blob;
|
|
29
32
|
pathPartId: string;
|
|
33
|
+
authorization?: string | null;
|
|
30
34
|
ksUat?: string | null;
|
|
31
35
|
name?: string | null;
|
|
32
36
|
ingestionMode?: IngestionMode;
|
|
@@ -36,6 +40,7 @@ export interface IngestDocumentRequest {
|
|
|
36
40
|
export interface IngestDocumentVersionRequest {
|
|
37
41
|
documentId: string;
|
|
38
42
|
file: Blob;
|
|
43
|
+
authorization?: string | null;
|
|
39
44
|
ksUat?: string | null;
|
|
40
45
|
ingestionMode?: IngestionMode;
|
|
41
46
|
chunkType?: ChunkType;
|
|
@@ -47,11 +52,13 @@ export interface ListDocumentsRequest {
|
|
|
47
52
|
withTags?: boolean;
|
|
48
53
|
limit?: number;
|
|
49
54
|
offset?: number;
|
|
55
|
+
authorization?: string | null;
|
|
50
56
|
ksUat?: string | null;
|
|
51
57
|
}
|
|
52
58
|
export interface UpdateDocumentOperationRequest {
|
|
53
59
|
documentId: string;
|
|
54
60
|
updateDocumentRequest: UpdateDocumentRequest;
|
|
61
|
+
authorization?: string | null;
|
|
55
62
|
ksUat?: string | null;
|
|
56
63
|
}
|
|
57
64
|
/**
|
|
@@ -64,6 +71,7 @@ export interface DocumentsApiInterface {
|
|
|
64
71
|
/**
|
|
65
72
|
* Creates request options for createDocument without sending the request
|
|
66
73
|
* @param {CreateDocumentRequest} createDocumentRequest
|
|
74
|
+
* @param {string} [authorization]
|
|
67
75
|
* @param {string} [ksUat]
|
|
68
76
|
* @throws {RequiredError}
|
|
69
77
|
* @memberof DocumentsApiInterface
|
|
@@ -73,6 +81,7 @@ export interface DocumentsApiInterface {
|
|
|
73
81
|
* Create a new document with initial v0 version. The document is created as a child of the specified parent folder. An initial version (v0) is automatically created.
|
|
74
82
|
* @summary Create Document Handler
|
|
75
83
|
* @param {CreateDocumentRequest} createDocumentRequest
|
|
84
|
+
* @param {string} [authorization]
|
|
76
85
|
* @param {string} [ksUat]
|
|
77
86
|
* @param {*} [options] Override http request option.
|
|
78
87
|
* @throws {RequiredError}
|
|
@@ -87,6 +96,7 @@ export interface DocumentsApiInterface {
|
|
|
87
96
|
/**
|
|
88
97
|
* Creates request options for deleteDocument without sending the request
|
|
89
98
|
* @param {string} documentId
|
|
99
|
+
* @param {string} [authorization]
|
|
90
100
|
* @param {string} [ksUat]
|
|
91
101
|
* @throws {RequiredError}
|
|
92
102
|
* @memberof DocumentsApiInterface
|
|
@@ -96,6 +106,7 @@ export interface DocumentsApiInterface {
|
|
|
96
106
|
* Delete a document and all its contents. WARNING: This cascades to all children (versions, sections, chunks, etc.) due to parent_id ON DELETE CASCADE.
|
|
97
107
|
* @summary Delete Document Handler
|
|
98
108
|
* @param {string} documentId
|
|
109
|
+
* @param {string} [authorization]
|
|
99
110
|
* @param {string} [ksUat]
|
|
100
111
|
* @param {*} [options] Override http request option.
|
|
101
112
|
* @throws {RequiredError}
|
|
@@ -111,6 +122,7 @@ export interface DocumentsApiInterface {
|
|
|
111
122
|
* Creates request options for getDocument without sending the request
|
|
112
123
|
* @param {string} documentId
|
|
113
124
|
* @param {boolean} [withTags] Include tags in the response (default: false)
|
|
125
|
+
* @param {string} [authorization]
|
|
114
126
|
* @param {string} [ksUat]
|
|
115
127
|
* @throws {RequiredError}
|
|
116
128
|
* @memberof DocumentsApiInterface
|
|
@@ -121,6 +133,7 @@ export interface DocumentsApiInterface {
|
|
|
121
133
|
* @summary Get Document Handler
|
|
122
134
|
* @param {string} documentId
|
|
123
135
|
* @param {boolean} [withTags] Include tags in the response (default: false)
|
|
136
|
+
* @param {string} [authorization]
|
|
124
137
|
* @param {string} [ksUat]
|
|
125
138
|
* @param {*} [options] Override http request option.
|
|
126
139
|
* @throws {RequiredError}
|
|
@@ -136,6 +149,7 @@ export interface DocumentsApiInterface {
|
|
|
136
149
|
* Creates request options for ingestDocument without sending the request
|
|
137
150
|
* @param {Blob} file
|
|
138
151
|
* @param {string} pathPartId Parent path part ID (must be a FOLDER type)
|
|
152
|
+
* @param {string} [authorization]
|
|
139
153
|
* @param {string} [ksUat]
|
|
140
154
|
* @param {string} [name] Document name (defaults to filename)
|
|
141
155
|
* @param {IngestionMode} [ingestionMode]
|
|
@@ -150,6 +164,7 @@ export interface DocumentsApiInterface {
|
|
|
150
164
|
* @summary Ingest Document Handler
|
|
151
165
|
* @param {Blob} file
|
|
152
166
|
* @param {string} pathPartId Parent path part ID (must be a FOLDER type)
|
|
167
|
+
* @param {string} [authorization]
|
|
153
168
|
* @param {string} [ksUat]
|
|
154
169
|
* @param {string} [name] Document name (defaults to filename)
|
|
155
170
|
* @param {IngestionMode} [ingestionMode]
|
|
@@ -169,6 +184,7 @@ export interface DocumentsApiInterface {
|
|
|
169
184
|
* Creates request options for ingestDocumentVersion without sending the request
|
|
170
185
|
* @param {string} documentId Document ID
|
|
171
186
|
* @param {Blob} file
|
|
187
|
+
* @param {string} [authorization]
|
|
172
188
|
* @param {string} [ksUat]
|
|
173
189
|
* @param {IngestionMode} [ingestionMode]
|
|
174
190
|
* @param {ChunkType} [chunkType]
|
|
@@ -182,6 +198,7 @@ export interface DocumentsApiInterface {
|
|
|
182
198
|
* @summary Ingest Document Version Handler
|
|
183
199
|
* @param {string} documentId Document ID
|
|
184
200
|
* @param {Blob} file
|
|
201
|
+
* @param {string} [authorization]
|
|
185
202
|
* @param {string} [ksUat]
|
|
186
203
|
* @param {IngestionMode} [ingestionMode]
|
|
187
204
|
* @param {ChunkType} [chunkType]
|
|
@@ -203,6 +220,7 @@ export interface DocumentsApiInterface {
|
|
|
203
220
|
* @param {boolean} [withTags] Include tags in the response (default: false)
|
|
204
221
|
* @param {number} [limit] Number of items per page
|
|
205
222
|
* @param {number} [offset] Number of items to skip
|
|
223
|
+
* @param {string} [authorization]
|
|
206
224
|
* @param {string} [ksUat]
|
|
207
225
|
* @throws {RequiredError}
|
|
208
226
|
* @memberof DocumentsApiInterface
|
|
@@ -216,6 +234,7 @@ export interface DocumentsApiInterface {
|
|
|
216
234
|
* @param {boolean} [withTags] Include tags in the response (default: false)
|
|
217
235
|
* @param {number} [limit] Number of items per page
|
|
218
236
|
* @param {number} [offset] Number of items to skip
|
|
237
|
+
* @param {string} [authorization]
|
|
219
238
|
* @param {string} [ksUat]
|
|
220
239
|
* @param {*} [options] Override http request option.
|
|
221
240
|
* @throws {RequiredError}
|
|
@@ -231,6 +250,7 @@ export interface DocumentsApiInterface {
|
|
|
231
250
|
* Creates request options for updateDocument without sending the request
|
|
232
251
|
* @param {string} documentId
|
|
233
252
|
* @param {UpdateDocumentRequest} updateDocumentRequest
|
|
253
|
+
* @param {string} [authorization]
|
|
234
254
|
* @param {string} [ksUat]
|
|
235
255
|
* @throws {RequiredError}
|
|
236
256
|
* @memberof DocumentsApiInterface
|
|
@@ -241,6 +261,7 @@ export interface DocumentsApiInterface {
|
|
|
241
261
|
* @summary Update Document Handler
|
|
242
262
|
* @param {string} documentId
|
|
243
263
|
* @param {UpdateDocumentRequest} updateDocumentRequest
|
|
264
|
+
* @param {string} [authorization]
|
|
244
265
|
* @param {string} [ksUat]
|
|
245
266
|
* @param {*} [options] Override http request option.
|
|
246
267
|
* @throws {RequiredError}
|