@knowledge-stack/ksapi 2.14.2 → 2.14.4
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/README.md +2 -2
- package/dist/apis/ApiConnectionsApi.d.ts +8 -8
- package/dist/apis/ApiConnectionsApi.js +4 -4
- package/dist/apis/DataSourcesApi.d.ts +4 -4
- package/dist/apis/DataSourcesApi.js +2 -2
- package/dist/esm/apis/ApiConnectionsApi.d.ts +8 -8
- package/dist/esm/apis/ApiConnectionsApi.js +4 -4
- package/dist/esm/apis/DataSourcesApi.d.ts +4 -4
- package/dist/esm/apis/DataSourcesApi.js +2 -2
- package/docs/ApiConnectionsApi.md +2 -2
- package/docs/DataSourcesApi.md +1 -1
- package/package.json +1 -1
- package/src/apis/ApiConnectionsApi.ts +8 -8
- package/src/apis/DataSourcesApi.ts +4 -4
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @knowledge-stack/ksapi@2.14.
|
|
1
|
+
# @knowledge-stack/ksapi@2.14.4
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -725,7 +725,7 @@ and is automatically generated by the
|
|
|
725
725
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
726
726
|
|
|
727
727
|
- API version: `0.1.0`
|
|
728
|
-
- Package version: `2.14.
|
|
728
|
+
- Package version: `2.14.4`
|
|
729
729
|
- Generator version: `7.21.0`
|
|
730
730
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
731
731
|
|
|
@@ -91,7 +91,7 @@ export interface ApiConnectionsApiInterface {
|
|
|
91
91
|
*/
|
|
92
92
|
deleteApiConnectionRequestOpts(requestParameters: DeleteApiConnectionRequest): Promise<runtime.RequestOpts>;
|
|
93
93
|
/**
|
|
94
|
-
* Move a connection to trash
|
|
94
|
+
* Move a connection to trash; requires ``can_delete``.
|
|
95
95
|
* @summary Delete Api Connection Handler
|
|
96
96
|
* @param {string} connectionId
|
|
97
97
|
* @param {*} [options] Override http request option.
|
|
@@ -100,7 +100,7 @@ export interface ApiConnectionsApiInterface {
|
|
|
100
100
|
*/
|
|
101
101
|
deleteApiConnectionRaw(requestParameters: DeleteApiConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
102
102
|
/**
|
|
103
|
-
* Move a connection to trash
|
|
103
|
+
* Move a connection to trash; requires ``can_delete``.
|
|
104
104
|
* Delete Api Connection Handler
|
|
105
105
|
*/
|
|
106
106
|
deleteApiConnection(requestParameters: DeleteApiConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -157,7 +157,7 @@ export interface ApiConnectionsApiInterface {
|
|
|
157
157
|
*/
|
|
158
158
|
updateApiConnectionRequestOpts(requestParameters: UpdateApiConnectionOperationRequest): Promise<runtime.RequestOpts>;
|
|
159
159
|
/**
|
|
160
|
-
* Update a connection
|
|
160
|
+
* Update a connection; changing its egress envelope needs Admin/Owner.
|
|
161
161
|
* @summary Update Api Connection Handler
|
|
162
162
|
* @param {string} connectionId
|
|
163
163
|
* @param {UpdateApiConnectionRequest} updateApiConnectionRequest
|
|
@@ -167,7 +167,7 @@ export interface ApiConnectionsApiInterface {
|
|
|
167
167
|
*/
|
|
168
168
|
updateApiConnectionRaw(requestParameters: UpdateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiConnectionResponse>>;
|
|
169
169
|
/**
|
|
170
|
-
* Update a connection
|
|
170
|
+
* Update a connection; changing its egress envelope needs Admin/Owner.
|
|
171
171
|
* Update Api Connection Handler
|
|
172
172
|
*/
|
|
173
173
|
updateApiConnection(requestParameters: UpdateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiConnectionResponse>;
|
|
@@ -209,12 +209,12 @@ export declare class ApiConnectionsApi extends runtime.BaseAPI implements ApiCon
|
|
|
209
209
|
*/
|
|
210
210
|
deleteApiConnectionRequestOpts(requestParameters: DeleteApiConnectionRequest): Promise<runtime.RequestOpts>;
|
|
211
211
|
/**
|
|
212
|
-
* Move a connection to trash
|
|
212
|
+
* Move a connection to trash; requires ``can_delete``.
|
|
213
213
|
* Delete Api Connection Handler
|
|
214
214
|
*/
|
|
215
215
|
deleteApiConnectionRaw(requestParameters: DeleteApiConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
216
216
|
/**
|
|
217
|
-
* Move a connection to trash
|
|
217
|
+
* Move a connection to trash; requires ``can_delete``.
|
|
218
218
|
* Delete Api Connection Handler
|
|
219
219
|
*/
|
|
220
220
|
deleteApiConnection(requestParameters: DeleteApiConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -251,12 +251,12 @@ export declare class ApiConnectionsApi extends runtime.BaseAPI implements ApiCon
|
|
|
251
251
|
*/
|
|
252
252
|
updateApiConnectionRequestOpts(requestParameters: UpdateApiConnectionOperationRequest): Promise<runtime.RequestOpts>;
|
|
253
253
|
/**
|
|
254
|
-
* Update a connection
|
|
254
|
+
* Update a connection; changing its egress envelope needs Admin/Owner.
|
|
255
255
|
* Update Api Connection Handler
|
|
256
256
|
*/
|
|
257
257
|
updateApiConnectionRaw(requestParameters: UpdateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiConnectionResponse>>;
|
|
258
258
|
/**
|
|
259
|
-
* Update a connection
|
|
259
|
+
* Update a connection; changing its egress envelope needs Admin/Owner.
|
|
260
260
|
* Update Api Connection Handler
|
|
261
261
|
*/
|
|
262
262
|
updateApiConnection(requestParameters: UpdateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiConnectionResponse>;
|
|
@@ -192,7 +192,7 @@ class ApiConnectionsApi extends runtime.BaseAPI {
|
|
|
192
192
|
});
|
|
193
193
|
}
|
|
194
194
|
/**
|
|
195
|
-
* Move a connection to trash
|
|
195
|
+
* Move a connection to trash; requires ``can_delete``.
|
|
196
196
|
* Delete Api Connection Handler
|
|
197
197
|
*/
|
|
198
198
|
deleteApiConnectionRaw(requestParameters, initOverrides) {
|
|
@@ -203,7 +203,7 @@ class ApiConnectionsApi extends runtime.BaseAPI {
|
|
|
203
203
|
});
|
|
204
204
|
}
|
|
205
205
|
/**
|
|
206
|
-
* Move a connection to trash
|
|
206
|
+
* Move a connection to trash; requires ``can_delete``.
|
|
207
207
|
* Delete Api Connection Handler
|
|
208
208
|
*/
|
|
209
209
|
deleteApiConnection(requestParameters, initOverrides) {
|
|
@@ -345,7 +345,7 @@ class ApiConnectionsApi extends runtime.BaseAPI {
|
|
|
345
345
|
});
|
|
346
346
|
}
|
|
347
347
|
/**
|
|
348
|
-
* Update a connection
|
|
348
|
+
* Update a connection; changing its egress envelope needs Admin/Owner.
|
|
349
349
|
* Update Api Connection Handler
|
|
350
350
|
*/
|
|
351
351
|
updateApiConnectionRaw(requestParameters, initOverrides) {
|
|
@@ -356,7 +356,7 @@ class ApiConnectionsApi extends runtime.BaseAPI {
|
|
|
356
356
|
});
|
|
357
357
|
}
|
|
358
358
|
/**
|
|
359
|
-
* Update a connection
|
|
359
|
+
* Update a connection; changing its egress envelope needs Admin/Owner.
|
|
360
360
|
* Update Api Connection Handler
|
|
361
361
|
*/
|
|
362
362
|
updateApiConnection(requestParameters, initOverrides) {
|
|
@@ -414,7 +414,7 @@ export interface DataSourcesApiInterface {
|
|
|
414
414
|
*/
|
|
415
415
|
updateDataSourceRequestOpts(requestParameters: UpdateDataSourceOperationRequest): Promise<runtime.RequestOpts>;
|
|
416
416
|
/**
|
|
417
|
-
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
417
|
+
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
418
418
|
* @summary Update Data Source Handler
|
|
419
419
|
* @param {string} dataSourceId
|
|
420
420
|
* @param {UpdateDataSourceRequest} updateDataSourceRequest
|
|
@@ -424,7 +424,7 @@ export interface DataSourcesApiInterface {
|
|
|
424
424
|
*/
|
|
425
425
|
updateDataSourceRaw(requestParameters: UpdateDataSourceOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataSourceResponse>>;
|
|
426
426
|
/**
|
|
427
|
-
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
427
|
+
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
428
428
|
* Update Data Source Handler
|
|
429
429
|
*/
|
|
430
430
|
updateDataSource(requestParameters: UpdateDataSourceOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataSourceResponse>;
|
|
@@ -673,12 +673,12 @@ export declare class DataSourcesApi extends runtime.BaseAPI implements DataSourc
|
|
|
673
673
|
*/
|
|
674
674
|
updateDataSourceRequestOpts(requestParameters: UpdateDataSourceOperationRequest): Promise<runtime.RequestOpts>;
|
|
675
675
|
/**
|
|
676
|
-
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
676
|
+
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
677
677
|
* Update Data Source Handler
|
|
678
678
|
*/
|
|
679
679
|
updateDataSourceRaw(requestParameters: UpdateDataSourceOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataSourceResponse>>;
|
|
680
680
|
/**
|
|
681
|
-
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
681
|
+
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
682
682
|
* Update Data Source Handler
|
|
683
683
|
*/
|
|
684
684
|
updateDataSource(requestParameters: UpdateDataSourceOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataSourceResponse>;
|
|
@@ -840,7 +840,7 @@ class DataSourcesApi extends runtime.BaseAPI {
|
|
|
840
840
|
});
|
|
841
841
|
}
|
|
842
842
|
/**
|
|
843
|
-
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
843
|
+
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
844
844
|
* Update Data Source Handler
|
|
845
845
|
*/
|
|
846
846
|
updateDataSourceRaw(requestParameters, initOverrides) {
|
|
@@ -851,7 +851,7 @@ class DataSourcesApi extends runtime.BaseAPI {
|
|
|
851
851
|
});
|
|
852
852
|
}
|
|
853
853
|
/**
|
|
854
|
-
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
854
|
+
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
855
855
|
* Update Data Source Handler
|
|
856
856
|
*/
|
|
857
857
|
updateDataSource(requestParameters, initOverrides) {
|
|
@@ -91,7 +91,7 @@ export interface ApiConnectionsApiInterface {
|
|
|
91
91
|
*/
|
|
92
92
|
deleteApiConnectionRequestOpts(requestParameters: DeleteApiConnectionRequest): Promise<runtime.RequestOpts>;
|
|
93
93
|
/**
|
|
94
|
-
* Move a connection to trash
|
|
94
|
+
* Move a connection to trash; requires ``can_delete``.
|
|
95
95
|
* @summary Delete Api Connection Handler
|
|
96
96
|
* @param {string} connectionId
|
|
97
97
|
* @param {*} [options] Override http request option.
|
|
@@ -100,7 +100,7 @@ export interface ApiConnectionsApiInterface {
|
|
|
100
100
|
*/
|
|
101
101
|
deleteApiConnectionRaw(requestParameters: DeleteApiConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
102
102
|
/**
|
|
103
|
-
* Move a connection to trash
|
|
103
|
+
* Move a connection to trash; requires ``can_delete``.
|
|
104
104
|
* Delete Api Connection Handler
|
|
105
105
|
*/
|
|
106
106
|
deleteApiConnection(requestParameters: DeleteApiConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -157,7 +157,7 @@ export interface ApiConnectionsApiInterface {
|
|
|
157
157
|
*/
|
|
158
158
|
updateApiConnectionRequestOpts(requestParameters: UpdateApiConnectionOperationRequest): Promise<runtime.RequestOpts>;
|
|
159
159
|
/**
|
|
160
|
-
* Update a connection
|
|
160
|
+
* Update a connection; changing its egress envelope needs Admin/Owner.
|
|
161
161
|
* @summary Update Api Connection Handler
|
|
162
162
|
* @param {string} connectionId
|
|
163
163
|
* @param {UpdateApiConnectionRequest} updateApiConnectionRequest
|
|
@@ -167,7 +167,7 @@ export interface ApiConnectionsApiInterface {
|
|
|
167
167
|
*/
|
|
168
168
|
updateApiConnectionRaw(requestParameters: UpdateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiConnectionResponse>>;
|
|
169
169
|
/**
|
|
170
|
-
* Update a connection
|
|
170
|
+
* Update a connection; changing its egress envelope needs Admin/Owner.
|
|
171
171
|
* Update Api Connection Handler
|
|
172
172
|
*/
|
|
173
173
|
updateApiConnection(requestParameters: UpdateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiConnectionResponse>;
|
|
@@ -209,12 +209,12 @@ export declare class ApiConnectionsApi extends runtime.BaseAPI implements ApiCon
|
|
|
209
209
|
*/
|
|
210
210
|
deleteApiConnectionRequestOpts(requestParameters: DeleteApiConnectionRequest): Promise<runtime.RequestOpts>;
|
|
211
211
|
/**
|
|
212
|
-
* Move a connection to trash
|
|
212
|
+
* Move a connection to trash; requires ``can_delete``.
|
|
213
213
|
* Delete Api Connection Handler
|
|
214
214
|
*/
|
|
215
215
|
deleteApiConnectionRaw(requestParameters: DeleteApiConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
216
216
|
/**
|
|
217
|
-
* Move a connection to trash
|
|
217
|
+
* Move a connection to trash; requires ``can_delete``.
|
|
218
218
|
* Delete Api Connection Handler
|
|
219
219
|
*/
|
|
220
220
|
deleteApiConnection(requestParameters: DeleteApiConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -251,12 +251,12 @@ export declare class ApiConnectionsApi extends runtime.BaseAPI implements ApiCon
|
|
|
251
251
|
*/
|
|
252
252
|
updateApiConnectionRequestOpts(requestParameters: UpdateApiConnectionOperationRequest): Promise<runtime.RequestOpts>;
|
|
253
253
|
/**
|
|
254
|
-
* Update a connection
|
|
254
|
+
* Update a connection; changing its egress envelope needs Admin/Owner.
|
|
255
255
|
* Update Api Connection Handler
|
|
256
256
|
*/
|
|
257
257
|
updateApiConnectionRaw(requestParameters: UpdateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiConnectionResponse>>;
|
|
258
258
|
/**
|
|
259
|
-
* Update a connection
|
|
259
|
+
* Update a connection; changing its egress envelope needs Admin/Owner.
|
|
260
260
|
* Update Api Connection Handler
|
|
261
261
|
*/
|
|
262
262
|
updateApiConnection(requestParameters: UpdateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiConnectionResponse>;
|
|
@@ -156,7 +156,7 @@ export class ApiConnectionsApi extends runtime.BaseAPI {
|
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
158
|
/**
|
|
159
|
-
* Move a connection to trash
|
|
159
|
+
* Move a connection to trash; requires ``can_delete``.
|
|
160
160
|
* Delete Api Connection Handler
|
|
161
161
|
*/
|
|
162
162
|
deleteApiConnectionRaw(requestParameters, initOverrides) {
|
|
@@ -167,7 +167,7 @@ export class ApiConnectionsApi extends runtime.BaseAPI {
|
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
169
|
/**
|
|
170
|
-
* Move a connection to trash
|
|
170
|
+
* Move a connection to trash; requires ``can_delete``.
|
|
171
171
|
* Delete Api Connection Handler
|
|
172
172
|
*/
|
|
173
173
|
deleteApiConnection(requestParameters, initOverrides) {
|
|
@@ -309,7 +309,7 @@ export class ApiConnectionsApi extends runtime.BaseAPI {
|
|
|
309
309
|
});
|
|
310
310
|
}
|
|
311
311
|
/**
|
|
312
|
-
* Update a connection
|
|
312
|
+
* Update a connection; changing its egress envelope needs Admin/Owner.
|
|
313
313
|
* Update Api Connection Handler
|
|
314
314
|
*/
|
|
315
315
|
updateApiConnectionRaw(requestParameters, initOverrides) {
|
|
@@ -320,7 +320,7 @@ export class ApiConnectionsApi extends runtime.BaseAPI {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
/**
|
|
323
|
-
* Update a connection
|
|
323
|
+
* Update a connection; changing its egress envelope needs Admin/Owner.
|
|
324
324
|
* Update Api Connection Handler
|
|
325
325
|
*/
|
|
326
326
|
updateApiConnection(requestParameters, initOverrides) {
|
|
@@ -414,7 +414,7 @@ export interface DataSourcesApiInterface {
|
|
|
414
414
|
*/
|
|
415
415
|
updateDataSourceRequestOpts(requestParameters: UpdateDataSourceOperationRequest): Promise<runtime.RequestOpts>;
|
|
416
416
|
/**
|
|
417
|
-
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
417
|
+
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
418
418
|
* @summary Update Data Source Handler
|
|
419
419
|
* @param {string} dataSourceId
|
|
420
420
|
* @param {UpdateDataSourceRequest} updateDataSourceRequest
|
|
@@ -424,7 +424,7 @@ export interface DataSourcesApiInterface {
|
|
|
424
424
|
*/
|
|
425
425
|
updateDataSourceRaw(requestParameters: UpdateDataSourceOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataSourceResponse>>;
|
|
426
426
|
/**
|
|
427
|
-
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
427
|
+
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
428
428
|
* Update Data Source Handler
|
|
429
429
|
*/
|
|
430
430
|
updateDataSource(requestParameters: UpdateDataSourceOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataSourceResponse>;
|
|
@@ -673,12 +673,12 @@ export declare class DataSourcesApi extends runtime.BaseAPI implements DataSourc
|
|
|
673
673
|
*/
|
|
674
674
|
updateDataSourceRequestOpts(requestParameters: UpdateDataSourceOperationRequest): Promise<runtime.RequestOpts>;
|
|
675
675
|
/**
|
|
676
|
-
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
676
|
+
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
677
677
|
* Update Data Source Handler
|
|
678
678
|
*/
|
|
679
679
|
updateDataSourceRaw(requestParameters: UpdateDataSourceOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataSourceResponse>>;
|
|
680
680
|
/**
|
|
681
|
-
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
681
|
+
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
682
682
|
* Update Data Source Handler
|
|
683
683
|
*/
|
|
684
684
|
updateDataSource(requestParameters: UpdateDataSourceOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataSourceResponse>;
|
|
@@ -804,7 +804,7 @@ export class DataSourcesApi extends runtime.BaseAPI {
|
|
|
804
804
|
});
|
|
805
805
|
}
|
|
806
806
|
/**
|
|
807
|
-
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
807
|
+
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
808
808
|
* Update Data Source Handler
|
|
809
809
|
*/
|
|
810
810
|
updateDataSourceRaw(requestParameters, initOverrides) {
|
|
@@ -815,7 +815,7 @@ export class DataSourcesApi extends runtime.BaseAPI {
|
|
|
815
815
|
});
|
|
816
816
|
}
|
|
817
817
|
/**
|
|
818
|
-
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
818
|
+
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
819
819
|
* Update Data Source Handler
|
|
820
820
|
*/
|
|
821
821
|
updateDataSource(requestParameters, initOverrides) {
|
|
@@ -172,7 +172,7 @@ example().catch(console.error);
|
|
|
172
172
|
|
|
173
173
|
Delete Api Connection Handler
|
|
174
174
|
|
|
175
|
-
Move a connection to trash
|
|
175
|
+
Move a connection to trash; requires ``can_delete``.
|
|
176
176
|
|
|
177
177
|
### Example
|
|
178
178
|
|
|
@@ -400,7 +400,7 @@ example().catch(console.error);
|
|
|
400
400
|
|
|
401
401
|
Update Api Connection Handler
|
|
402
402
|
|
|
403
|
-
Update a connection
|
|
403
|
+
Update a connection; changing its egress envelope needs Admin/Owner.
|
|
404
404
|
|
|
405
405
|
### Example
|
|
406
406
|
|
package/docs/DataSourcesApi.md
CHANGED
|
@@ -1173,7 +1173,7 @@ example().catch(console.error);
|
|
|
1173
1173
|
|
|
1174
1174
|
Update Data Source Handler
|
|
1175
1175
|
|
|
1176
|
-
Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
1176
|
+
Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
1177
1177
|
|
|
1178
1178
|
### Example
|
|
1179
1179
|
|
package/package.json
CHANGED
|
@@ -136,7 +136,7 @@ export interface ApiConnectionsApiInterface {
|
|
|
136
136
|
deleteApiConnectionRequestOpts(requestParameters: DeleteApiConnectionRequest): Promise<runtime.RequestOpts>;
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
|
-
* Move a connection to trash
|
|
139
|
+
* Move a connection to trash; requires ``can_delete``.
|
|
140
140
|
* @summary Delete Api Connection Handler
|
|
141
141
|
* @param {string} connectionId
|
|
142
142
|
* @param {*} [options] Override http request option.
|
|
@@ -146,7 +146,7 @@ export interface ApiConnectionsApiInterface {
|
|
|
146
146
|
deleteApiConnectionRaw(requestParameters: DeleteApiConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
* Move a connection to trash
|
|
149
|
+
* Move a connection to trash; requires ``can_delete``.
|
|
150
150
|
* Delete Api Connection Handler
|
|
151
151
|
*/
|
|
152
152
|
deleteApiConnection(requestParameters: DeleteApiConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -211,7 +211,7 @@ export interface ApiConnectionsApiInterface {
|
|
|
211
211
|
updateApiConnectionRequestOpts(requestParameters: UpdateApiConnectionOperationRequest): Promise<runtime.RequestOpts>;
|
|
212
212
|
|
|
213
213
|
/**
|
|
214
|
-
* Update a connection
|
|
214
|
+
* Update a connection; changing its egress envelope needs Admin/Owner.
|
|
215
215
|
* @summary Update Api Connection Handler
|
|
216
216
|
* @param {string} connectionId
|
|
217
217
|
* @param {UpdateApiConnectionRequest} updateApiConnectionRequest
|
|
@@ -222,7 +222,7 @@ export interface ApiConnectionsApiInterface {
|
|
|
222
222
|
updateApiConnectionRaw(requestParameters: UpdateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiConnectionResponse>>;
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
|
-
* Update a connection
|
|
225
|
+
* Update a connection; changing its egress envelope needs Admin/Owner.
|
|
226
226
|
* Update Api Connection Handler
|
|
227
227
|
*/
|
|
228
228
|
updateApiConnection(requestParameters: UpdateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiConnectionResponse>;
|
|
@@ -392,7 +392,7 @@ export class ApiConnectionsApi extends runtime.BaseAPI implements ApiConnections
|
|
|
392
392
|
}
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
|
-
* Move a connection to trash
|
|
395
|
+
* Move a connection to trash; requires ``can_delete``.
|
|
396
396
|
* Delete Api Connection Handler
|
|
397
397
|
*/
|
|
398
398
|
async deleteApiConnectionRaw(requestParameters: DeleteApiConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -403,7 +403,7 @@ export class ApiConnectionsApi extends runtime.BaseAPI implements ApiConnections
|
|
|
403
403
|
}
|
|
404
404
|
|
|
405
405
|
/**
|
|
406
|
-
* Move a connection to trash
|
|
406
|
+
* Move a connection to trash; requires ``can_delete``.
|
|
407
407
|
* Delete Api Connection Handler
|
|
408
408
|
*/
|
|
409
409
|
async deleteApiConnection(requestParameters: DeleteApiConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -576,7 +576,7 @@ export class ApiConnectionsApi extends runtime.BaseAPI implements ApiConnections
|
|
|
576
576
|
}
|
|
577
577
|
|
|
578
578
|
/**
|
|
579
|
-
* Update a connection
|
|
579
|
+
* Update a connection; changing its egress envelope needs Admin/Owner.
|
|
580
580
|
* Update Api Connection Handler
|
|
581
581
|
*/
|
|
582
582
|
async updateApiConnectionRaw(requestParameters: UpdateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiConnectionResponse>> {
|
|
@@ -587,7 +587,7 @@ export class ApiConnectionsApi extends runtime.BaseAPI implements ApiConnections
|
|
|
587
587
|
}
|
|
588
588
|
|
|
589
589
|
/**
|
|
590
|
-
* Update a connection
|
|
590
|
+
* Update a connection; changing its egress envelope needs Admin/Owner.
|
|
591
591
|
* Update Api Connection Handler
|
|
592
592
|
*/
|
|
593
593
|
async updateApiConnection(requestParameters: UpdateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiConnectionResponse> {
|
|
@@ -548,7 +548,7 @@ export interface DataSourcesApiInterface {
|
|
|
548
548
|
updateDataSourceRequestOpts(requestParameters: UpdateDataSourceOperationRequest): Promise<runtime.RequestOpts>;
|
|
549
549
|
|
|
550
550
|
/**
|
|
551
|
-
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
551
|
+
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
552
552
|
* @summary Update Data Source Handler
|
|
553
553
|
* @param {string} dataSourceId
|
|
554
554
|
* @param {UpdateDataSourceRequest} updateDataSourceRequest
|
|
@@ -559,7 +559,7 @@ export interface DataSourcesApiInterface {
|
|
|
559
559
|
updateDataSourceRaw(requestParameters: UpdateDataSourceOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataSourceResponse>>;
|
|
560
560
|
|
|
561
561
|
/**
|
|
562
|
-
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
562
|
+
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
563
563
|
* Update Data Source Handler
|
|
564
564
|
*/
|
|
565
565
|
updateDataSource(requestParameters: UpdateDataSourceOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataSourceResponse>;
|
|
@@ -1522,7 +1522,7 @@ export class DataSourcesApi extends runtime.BaseAPI implements DataSourcesApiInt
|
|
|
1522
1522
|
}
|
|
1523
1523
|
|
|
1524
1524
|
/**
|
|
1525
|
-
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
1525
|
+
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
1526
1526
|
* Update Data Source Handler
|
|
1527
1527
|
*/
|
|
1528
1528
|
async updateDataSourceRaw(requestParameters: UpdateDataSourceOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataSourceResponse>> {
|
|
@@ -1533,7 +1533,7 @@ export class DataSourcesApi extends runtime.BaseAPI implements DataSourcesApiInt
|
|
|
1533
1533
|
}
|
|
1534
1534
|
|
|
1535
1535
|
/**
|
|
1536
|
-
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move). Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
1536
|
+
* Rename, move, and/or re-credential a connector. Requires ``can_write`` on the connector (and on the destination folder for a move); supplying ``connection_config`` additionally requires OWNER/ADMIN. Fresh ``connection_config`` is re-validated against the DB before persisting (bad creds → 400, consistent with create); creds are never echoed back. ``engine`` is immutable.
|
|
1537
1537
|
* Update Data Source Handler
|
|
1538
1538
|
*/
|
|
1539
1539
|
async updateDataSource(requestParameters: UpdateDataSourceOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataSourceResponse> {
|