@openfilz-sdk/typescript-ee 1.7.4 → 1.8.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 +16 -1
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +16 -2
- package/api/aichat-api.ts +341 -0
- package/api/aisettings-api.ts +335 -0
- package/api.ts +2 -0
- package/common.ts +2 -2
- package/dist/api/aichat-api.d.ts +161 -0
- package/dist/api/aichat-api.js +332 -0
- package/dist/api/aisettings-api.d.ts +157 -0
- package/dist/api/aisettings-api.js +326 -0
- package/dist/api/collaboration-audit-controller-api.d.ts +3 -3
- package/dist/api/collaboration-controller-api.d.ts +15 -15
- package/dist/api/comments-api.d.ts +3 -3
- package/dist/api/dashboard-api.d.ts +1 -1
- package/dist/api/delegated-browse-grants-admin-api.d.ts +5 -5
- package/dist/api/delegated-browse-grants-end-user-api.d.ts +5 -5
- package/dist/api/digital-signature-api.d.ts +6 -6
- package/dist/api/digital-signature-public-api.d.ts +5 -5
- package/dist/api/document-controller-api.d.ts +15 -15
- package/dist/api/document-suggestion-controller-api.d.ts +1 -1
- package/dist/api/document-version-controller-api.d.ts +3 -3
- package/dist/api/favorites-api.d.ts +4 -4
- package/dist/api/file-controller-api.d.ts +4 -4
- package/dist/api/folder-controller-api.d.ts +7 -7
- package/dist/api/notifications-api.d.ts +5 -5
- package/dist/api/scan-agent-api.d.ts +2 -2
- package/dist/api/scanner-proxy-api.d.ts +5 -5
- package/dist/api/search-administration-api.d.ts +4 -4
- package/dist/api/settings-api.d.ts +2 -2
- package/dist/api/tus-controller-api.d.ts +9 -9
- package/dist/api/upload-token-controller-api.d.ts +2 -2
- package/dist/api/user-privacy-api.d.ts +2 -2
- package/dist/api/webhook-proxy-controller-api.d.ts +7 -7
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/esm/api/aichat-api.d.ts +161 -0
- package/dist/esm/api/aichat-api.js +325 -0
- package/dist/esm/api/aisettings-api.d.ts +157 -0
- package/dist/esm/api/aisettings-api.js +319 -0
- package/dist/esm/api/collaboration-audit-controller-api.d.ts +3 -3
- package/dist/esm/api/collaboration-controller-api.d.ts +15 -15
- package/dist/esm/api/comments-api.d.ts +3 -3
- package/dist/esm/api/dashboard-api.d.ts +1 -1
- package/dist/esm/api/delegated-browse-grants-admin-api.d.ts +5 -5
- package/dist/esm/api/delegated-browse-grants-end-user-api.d.ts +5 -5
- package/dist/esm/api/digital-signature-api.d.ts +6 -6
- package/dist/esm/api/digital-signature-public-api.d.ts +5 -5
- package/dist/esm/api/document-controller-api.d.ts +15 -15
- package/dist/esm/api/document-suggestion-controller-api.d.ts +1 -1
- package/dist/esm/api/document-version-controller-api.d.ts +3 -3
- package/dist/esm/api/favorites-api.d.ts +4 -4
- package/dist/esm/api/file-controller-api.d.ts +4 -4
- package/dist/esm/api/folder-controller-api.d.ts +7 -7
- package/dist/esm/api/notifications-api.d.ts +5 -5
- package/dist/esm/api/scan-agent-api.d.ts +2 -2
- package/dist/esm/api/scanner-proxy-api.d.ts +5 -5
- package/dist/esm/api/search-administration-api.d.ts +4 -4
- package/dist/esm/api/settings-api.d.ts +2 -2
- package/dist/esm/api/tus-controller-api.d.ts +9 -9
- package/dist/esm/api/upload-token-controller-api.d.ts +2 -2
- package/dist/esm/api/user-privacy-api.d.ts +2 -2
- package/dist/esm/api/webhook-proxy-controller-api.d.ts +7 -7
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/models/ai-chat-conversation.d.ts +18 -0
- package/dist/esm/models/ai-chat-conversation.js +14 -0
- package/dist/esm/models/ai-chat-request.d.ts +15 -0
- package/dist/esm/models/ai-chat-request.js +14 -0
- package/dist/esm/models/ai-chat-response.d.ts +23 -0
- package/dist/esm/models/ai-chat-response.js +18 -0
- package/dist/esm/models/ai-connection-test-result.d.ts +16 -0
- package/dist/esm/models/ai-connection-test-result.js +14 -0
- package/dist/esm/models/ai-settings-response.d.ts +21 -0
- package/dist/esm/models/ai-settings-response.js +14 -0
- package/dist/esm/models/index.d.ts +6 -0
- package/dist/esm/models/index.js +6 -0
- package/dist/esm/models/save-ai-settings-request.d.ts +36 -0
- package/dist/esm/models/save-ai-settings-request.js +19 -0
- package/dist/esm/models/settings.d.ts +2 -0
- package/dist/models/ai-chat-conversation.d.ts +18 -0
- package/dist/models/ai-chat-conversation.js +15 -0
- package/dist/models/ai-chat-request.d.ts +15 -0
- package/dist/models/ai-chat-request.js +15 -0
- package/dist/models/ai-chat-response.d.ts +23 -0
- package/dist/models/ai-chat-response.js +21 -0
- package/dist/models/ai-connection-test-result.d.ts +16 -0
- package/dist/models/ai-connection-test-result.js +15 -0
- package/dist/models/ai-settings-response.d.ts +21 -0
- package/dist/models/ai-settings-response.js +15 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/models/save-ai-settings-request.d.ts +36 -0
- package/dist/models/save-ai-settings-request.js +22 -0
- package/dist/models/settings.d.ts +2 -0
- package/docs/AIChatApi.md +209 -0
- package/docs/AISettingsApi.md +203 -0
- package/docs/AiChatConversation.md +28 -0
- package/docs/AiChatRequest.md +22 -0
- package/docs/AiChatResponse.md +26 -0
- package/docs/AiConnectionTestResult.md +24 -0
- package/docs/AiSettingsResponse.md +34 -0
- package/docs/SaveAiSettingsRequest.md +26 -0
- package/docs/Settings.md +4 -0
- package/models/ai-chat-conversation.ts +24 -0
- package/models/ai-chat-request.ts +21 -0
- package/models/ai-chat-response.ts +32 -0
- package/models/ai-connection-test-result.ts +22 -0
- package/models/ai-settings-response.ts +27 -0
- package/models/index.ts +6 -0
- package/models/save-ai-settings-request.ts +45 -0
- package/models/settings.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { AiConnectionTestResult } from '../models';
|
|
16
|
+
import type { AiSettingsResponse } from '../models';
|
|
17
|
+
import type { SaveAiSettingsRequest } from '../models';
|
|
18
|
+
/**
|
|
19
|
+
* AISettingsApi - axios parameter creator
|
|
20
|
+
*/
|
|
21
|
+
export declare const AISettingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
* Remove my chat-LLM override and go back to the server default model.
|
|
24
|
+
* @summary Reset my AI settings
|
|
25
|
+
* @param {*} [options] Override http request option.
|
|
26
|
+
* @throws {RequiredError}
|
|
27
|
+
*/
|
|
28
|
+
deleteSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
|
+
/**
|
|
30
|
+
* Current user\'s chat-LLM override. The API key is never returned — only hasApiKey and its last characters.
|
|
31
|
+
* @summary Get my AI settings
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
getSettings1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
/**
|
|
37
|
+
* Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
|
|
38
|
+
* @summary Save my AI settings
|
|
39
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
saveSettings1: (saveAiSettingsRequest: SaveAiSettingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
|
+
/**
|
|
45
|
+
* Send a minimal completion request with the submitted settings (falls back to the stored key when apiKey is omitted).
|
|
46
|
+
* @summary Test AI provider connection
|
|
47
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
testConnection: (saveAiSettingsRequest: SaveAiSettingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* AISettingsApi - functional programming interface
|
|
55
|
+
*/
|
|
56
|
+
export declare const AISettingsApiFp: (configuration?: Configuration) => {
|
|
57
|
+
/**
|
|
58
|
+
* Remove my chat-LLM override and go back to the server default model.
|
|
59
|
+
* @summary Reset my AI settings
|
|
60
|
+
* @param {*} [options] Override http request option.
|
|
61
|
+
* @throws {RequiredError}
|
|
62
|
+
*/
|
|
63
|
+
deleteSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
64
|
+
/**
|
|
65
|
+
* Current user\'s chat-LLM override. The API key is never returned — only hasApiKey and its last characters.
|
|
66
|
+
* @summary Get my AI settings
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
getSettings1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiSettingsResponse>>;
|
|
71
|
+
/**
|
|
72
|
+
* Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
|
|
73
|
+
* @summary Save my AI settings
|
|
74
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
saveSettings1(saveAiSettingsRequest: SaveAiSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiSettingsResponse>>;
|
|
79
|
+
/**
|
|
80
|
+
* Send a minimal completion request with the submitted settings (falls back to the stored key when apiKey is omitted).
|
|
81
|
+
* @summary Test AI provider connection
|
|
82
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
testConnection(saveAiSettingsRequest: SaveAiSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiConnectionTestResult>>;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* AISettingsApi - factory interface
|
|
90
|
+
*/
|
|
91
|
+
export declare const AISettingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
92
|
+
/**
|
|
93
|
+
* Remove my chat-LLM override and go back to the server default model.
|
|
94
|
+
* @summary Reset my AI settings
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
deleteSettings(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
99
|
+
/**
|
|
100
|
+
* Current user\'s chat-LLM override. The API key is never returned — only hasApiKey and its last characters.
|
|
101
|
+
* @summary Get my AI settings
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
getSettings1(options?: RawAxiosRequestConfig): AxiosPromise<AiSettingsResponse>;
|
|
106
|
+
/**
|
|
107
|
+
* Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
|
|
108
|
+
* @summary Save my AI settings
|
|
109
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
saveSettings1(saveAiSettingsRequest: SaveAiSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiSettingsResponse>;
|
|
114
|
+
/**
|
|
115
|
+
* Send a minimal completion request with the submitted settings (falls back to the stored key when apiKey is omitted).
|
|
116
|
+
* @summary Test AI provider connection
|
|
117
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
testConnection(saveAiSettingsRequest: SaveAiSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiConnectionTestResult>;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* AISettingsApi - object-oriented interface
|
|
125
|
+
*/
|
|
126
|
+
export declare class AISettingsApi extends BaseAPI {
|
|
127
|
+
/**
|
|
128
|
+
* Remove my chat-LLM override and go back to the server default model.
|
|
129
|
+
* @summary Reset my AI settings
|
|
130
|
+
* @param {*} [options] Override http request option.
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
*/
|
|
133
|
+
deleteSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
134
|
+
/**
|
|
135
|
+
* Current user\'s chat-LLM override. The API key is never returned — only hasApiKey and its last characters.
|
|
136
|
+
* @summary Get my AI settings
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
getSettings1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiSettingsResponse, any, {}, any>>;
|
|
141
|
+
/**
|
|
142
|
+
* Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
|
|
143
|
+
* @summary Save my AI settings
|
|
144
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
145
|
+
* @param {*} [options] Override http request option.
|
|
146
|
+
* @throws {RequiredError}
|
|
147
|
+
*/
|
|
148
|
+
saveSettings1(saveAiSettingsRequest: SaveAiSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiSettingsResponse, any, {}, any>>;
|
|
149
|
+
/**
|
|
150
|
+
* Send a minimal completion request with the submitted settings (falls back to the stored key when apiKey is omitted).
|
|
151
|
+
* @summary Test AI provider connection
|
|
152
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
testConnection(saveAiSettingsRequest: SaveAiSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiConnectionTestResult, any, {}, any>>;
|
|
157
|
+
}
|
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import globalAxios from 'axios';
|
|
24
|
+
// Some imports not used depending on template conditions
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
|
+
/**
|
|
30
|
+
* AISettingsApi - axios parameter creator
|
|
31
|
+
*/
|
|
32
|
+
export const AISettingsApiAxiosParamCreator = function (configuration) {
|
|
33
|
+
return {
|
|
34
|
+
/**
|
|
35
|
+
* Remove my chat-LLM override and go back to the server default model.
|
|
36
|
+
* @summary Reset my AI settings
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
deleteSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
41
|
+
const localVarPath = `/api/v1/settings/ai`;
|
|
42
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44
|
+
let baseOptions;
|
|
45
|
+
if (configuration) {
|
|
46
|
+
baseOptions = configuration.baseOptions;
|
|
47
|
+
}
|
|
48
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
49
|
+
const localVarHeaderParameter = {};
|
|
50
|
+
const localVarQueryParameter = {};
|
|
51
|
+
// authentication keycloak_auth required
|
|
52
|
+
// http bearer authentication required
|
|
53
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
54
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
55
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
56
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
57
|
+
return {
|
|
58
|
+
url: toPathString(localVarUrlObj),
|
|
59
|
+
options: localVarRequestOptions,
|
|
60
|
+
};
|
|
61
|
+
}),
|
|
62
|
+
/**
|
|
63
|
+
* Current user\'s chat-LLM override. The API key is never returned — only hasApiKey and its last characters.
|
|
64
|
+
* @summary Get my AI settings
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
getSettings1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
69
|
+
const localVarPath = `/api/v1/settings/ai`;
|
|
70
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
71
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
72
|
+
let baseOptions;
|
|
73
|
+
if (configuration) {
|
|
74
|
+
baseOptions = configuration.baseOptions;
|
|
75
|
+
}
|
|
76
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
77
|
+
const localVarHeaderParameter = {};
|
|
78
|
+
const localVarQueryParameter = {};
|
|
79
|
+
// authentication keycloak_auth required
|
|
80
|
+
// http bearer authentication required
|
|
81
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
82
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
83
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
84
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
85
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
86
|
+
return {
|
|
87
|
+
url: toPathString(localVarUrlObj),
|
|
88
|
+
options: localVarRequestOptions,
|
|
89
|
+
};
|
|
90
|
+
}),
|
|
91
|
+
/**
|
|
92
|
+
* Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
|
|
93
|
+
* @summary Save my AI settings
|
|
94
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
saveSettings1: (saveAiSettingsRequest_1, ...args_1) => __awaiter(this, [saveAiSettingsRequest_1, ...args_1], void 0, function* (saveAiSettingsRequest, options = {}) {
|
|
99
|
+
// verify required parameter 'saveAiSettingsRequest' is not null or undefined
|
|
100
|
+
assertParamExists('saveSettings1', 'saveAiSettingsRequest', saveAiSettingsRequest);
|
|
101
|
+
const localVarPath = `/api/v1/settings/ai`;
|
|
102
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104
|
+
let baseOptions;
|
|
105
|
+
if (configuration) {
|
|
106
|
+
baseOptions = configuration.baseOptions;
|
|
107
|
+
}
|
|
108
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
109
|
+
const localVarHeaderParameter = {};
|
|
110
|
+
const localVarQueryParameter = {};
|
|
111
|
+
// authentication keycloak_auth required
|
|
112
|
+
// http bearer authentication required
|
|
113
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
114
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
115
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
116
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
118
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
119
|
+
localVarRequestOptions.data = serializeDataIfNeeded(saveAiSettingsRequest, localVarRequestOptions, configuration);
|
|
120
|
+
return {
|
|
121
|
+
url: toPathString(localVarUrlObj),
|
|
122
|
+
options: localVarRequestOptions,
|
|
123
|
+
};
|
|
124
|
+
}),
|
|
125
|
+
/**
|
|
126
|
+
* Send a minimal completion request with the submitted settings (falls back to the stored key when apiKey is omitted).
|
|
127
|
+
* @summary Test AI provider connection
|
|
128
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
129
|
+
* @param {*} [options] Override http request option.
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
*/
|
|
132
|
+
testConnection: (saveAiSettingsRequest_1, ...args_1) => __awaiter(this, [saveAiSettingsRequest_1, ...args_1], void 0, function* (saveAiSettingsRequest, options = {}) {
|
|
133
|
+
// verify required parameter 'saveAiSettingsRequest' is not null or undefined
|
|
134
|
+
assertParamExists('testConnection', 'saveAiSettingsRequest', saveAiSettingsRequest);
|
|
135
|
+
const localVarPath = `/api/v1/settings/ai/test`;
|
|
136
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
137
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
138
|
+
let baseOptions;
|
|
139
|
+
if (configuration) {
|
|
140
|
+
baseOptions = configuration.baseOptions;
|
|
141
|
+
}
|
|
142
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
143
|
+
const localVarHeaderParameter = {};
|
|
144
|
+
const localVarQueryParameter = {};
|
|
145
|
+
// authentication keycloak_auth required
|
|
146
|
+
// http bearer authentication required
|
|
147
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
148
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
149
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
150
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
151
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
152
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
153
|
+
localVarRequestOptions.data = serializeDataIfNeeded(saveAiSettingsRequest, localVarRequestOptions, configuration);
|
|
154
|
+
return {
|
|
155
|
+
url: toPathString(localVarUrlObj),
|
|
156
|
+
options: localVarRequestOptions,
|
|
157
|
+
};
|
|
158
|
+
}),
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* AISettingsApi - functional programming interface
|
|
163
|
+
*/
|
|
164
|
+
export const AISettingsApiFp = function (configuration) {
|
|
165
|
+
const localVarAxiosParamCreator = AISettingsApiAxiosParamCreator(configuration);
|
|
166
|
+
return {
|
|
167
|
+
/**
|
|
168
|
+
* Remove my chat-LLM override and go back to the server default model.
|
|
169
|
+
* @summary Reset my AI settings
|
|
170
|
+
* @param {*} [options] Override http request option.
|
|
171
|
+
* @throws {RequiredError}
|
|
172
|
+
*/
|
|
173
|
+
deleteSettings(options) {
|
|
174
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
175
|
+
var _a, _b, _c;
|
|
176
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSettings(options);
|
|
177
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
178
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISettingsApi.deleteSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
179
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
180
|
+
});
|
|
181
|
+
},
|
|
182
|
+
/**
|
|
183
|
+
* Current user\'s chat-LLM override. The API key is never returned — only hasApiKey and its last characters.
|
|
184
|
+
* @summary Get my AI settings
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
getSettings1(options) {
|
|
189
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
190
|
+
var _a, _b, _c;
|
|
191
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSettings1(options);
|
|
192
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
193
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISettingsApi.getSettings1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
194
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
195
|
+
});
|
|
196
|
+
},
|
|
197
|
+
/**
|
|
198
|
+
* Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
|
|
199
|
+
* @summary Save my AI settings
|
|
200
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
saveSettings1(saveAiSettingsRequest, options) {
|
|
205
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
206
|
+
var _a, _b, _c;
|
|
207
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.saveSettings1(saveAiSettingsRequest, options);
|
|
208
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
209
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISettingsApi.saveSettings1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
210
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
211
|
+
});
|
|
212
|
+
},
|
|
213
|
+
/**
|
|
214
|
+
* Send a minimal completion request with the submitted settings (falls back to the stored key when apiKey is omitted).
|
|
215
|
+
* @summary Test AI provider connection
|
|
216
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
217
|
+
* @param {*} [options] Override http request option.
|
|
218
|
+
* @throws {RequiredError}
|
|
219
|
+
*/
|
|
220
|
+
testConnection(saveAiSettingsRequest, options) {
|
|
221
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
222
|
+
var _a, _b, _c;
|
|
223
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.testConnection(saveAiSettingsRequest, options);
|
|
224
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
225
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISettingsApi.testConnection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
226
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
227
|
+
});
|
|
228
|
+
},
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* AISettingsApi - factory interface
|
|
233
|
+
*/
|
|
234
|
+
export const AISettingsApiFactory = function (configuration, basePath, axios) {
|
|
235
|
+
const localVarFp = AISettingsApiFp(configuration);
|
|
236
|
+
return {
|
|
237
|
+
/**
|
|
238
|
+
* Remove my chat-LLM override and go back to the server default model.
|
|
239
|
+
* @summary Reset my AI settings
|
|
240
|
+
* @param {*} [options] Override http request option.
|
|
241
|
+
* @throws {RequiredError}
|
|
242
|
+
*/
|
|
243
|
+
deleteSettings(options) {
|
|
244
|
+
return localVarFp.deleteSettings(options).then((request) => request(axios, basePath));
|
|
245
|
+
},
|
|
246
|
+
/**
|
|
247
|
+
* Current user\'s chat-LLM override. The API key is never returned — only hasApiKey and its last characters.
|
|
248
|
+
* @summary Get my AI settings
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
*/
|
|
252
|
+
getSettings1(options) {
|
|
253
|
+
return localVarFp.getSettings1(options).then((request) => request(axios, basePath));
|
|
254
|
+
},
|
|
255
|
+
/**
|
|
256
|
+
* Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
|
|
257
|
+
* @summary Save my AI settings
|
|
258
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
*/
|
|
262
|
+
saveSettings1(saveAiSettingsRequest, options) {
|
|
263
|
+
return localVarFp.saveSettings1(saveAiSettingsRequest, options).then((request) => request(axios, basePath));
|
|
264
|
+
},
|
|
265
|
+
/**
|
|
266
|
+
* Send a minimal completion request with the submitted settings (falls back to the stored key when apiKey is omitted).
|
|
267
|
+
* @summary Test AI provider connection
|
|
268
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
269
|
+
* @param {*} [options] Override http request option.
|
|
270
|
+
* @throws {RequiredError}
|
|
271
|
+
*/
|
|
272
|
+
testConnection(saveAiSettingsRequest, options) {
|
|
273
|
+
return localVarFp.testConnection(saveAiSettingsRequest, options).then((request) => request(axios, basePath));
|
|
274
|
+
},
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
/**
|
|
278
|
+
* AISettingsApi - object-oriented interface
|
|
279
|
+
*/
|
|
280
|
+
export class AISettingsApi extends BaseAPI {
|
|
281
|
+
/**
|
|
282
|
+
* Remove my chat-LLM override and go back to the server default model.
|
|
283
|
+
* @summary Reset my AI settings
|
|
284
|
+
* @param {*} [options] Override http request option.
|
|
285
|
+
* @throws {RequiredError}
|
|
286
|
+
*/
|
|
287
|
+
deleteSettings(options) {
|
|
288
|
+
return AISettingsApiFp(this.configuration).deleteSettings(options).then((request) => request(this.axios, this.basePath));
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* Current user\'s chat-LLM override. The API key is never returned — only hasApiKey and its last characters.
|
|
292
|
+
* @summary Get my AI settings
|
|
293
|
+
* @param {*} [options] Override http request option.
|
|
294
|
+
* @throws {RequiredError}
|
|
295
|
+
*/
|
|
296
|
+
getSettings1(options) {
|
|
297
|
+
return AISettingsApiFp(this.configuration).getSettings1(options).then((request) => request(this.axios, this.basePath));
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
|
|
301
|
+
* @summary Save my AI settings
|
|
302
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
303
|
+
* @param {*} [options] Override http request option.
|
|
304
|
+
* @throws {RequiredError}
|
|
305
|
+
*/
|
|
306
|
+
saveSettings1(saveAiSettingsRequest, options) {
|
|
307
|
+
return AISettingsApiFp(this.configuration).saveSettings1(saveAiSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* Send a minimal completion request with the submitted settings (falls back to the stored key when apiKey is omitted).
|
|
311
|
+
* @summary Test AI provider connection
|
|
312
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
313
|
+
* @param {*} [options] Override http request option.
|
|
314
|
+
* @throws {RequiredError}
|
|
315
|
+
*/
|
|
316
|
+
testConnection(saveAiSettingsRequest, options) {
|
|
317
|
+
return AISettingsApiFp(this.configuration).testConnection(saveAiSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
318
|
+
}
|
|
319
|
+
}
|
|
@@ -114,7 +114,7 @@ export declare class CollaborationAuditControllerApi extends BaseAPI {
|
|
|
114
114
|
* @param {*} [options] Override http request option.
|
|
115
115
|
* @throws {RequiredError}
|
|
116
116
|
*/
|
|
117
|
-
getAuditTrail(id: string, sort?: GetAuditTrailSortEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnrichedAuditLog[], any, {}>>;
|
|
117
|
+
getAuditTrail(id: string, sort?: GetAuditTrailSortEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnrichedAuditLog[], any, {}, any>>;
|
|
118
118
|
/**
|
|
119
119
|
* EE variant — same as core, returns rows enriched with actor azp.
|
|
120
120
|
* @summary Search audit trail (enriched with actor azp)
|
|
@@ -122,14 +122,14 @@ export declare class CollaborationAuditControllerApi extends BaseAPI {
|
|
|
122
122
|
* @param {*} [options] Override http request option.
|
|
123
123
|
* @throws {RequiredError}
|
|
124
124
|
*/
|
|
125
|
-
searchAuditTrail(searchByAuditLogRequest: SearchByAuditLogRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnrichedAuditLog[], any, {}>>;
|
|
125
|
+
searchAuditTrail(searchByAuditLogRequest: SearchByAuditLogRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnrichedAuditLog[], any, {}, any>>;
|
|
126
126
|
/**
|
|
127
127
|
* Verifies the cryptographic hash chain of the audit log. Identical to the core variant — actor enrichment is read-side only and does not affect chain hashes.
|
|
128
128
|
* @summary Verify audit chain integrity
|
|
129
129
|
* @param {*} [options] Override http request option.
|
|
130
130
|
* @throws {RequiredError}
|
|
131
131
|
*/
|
|
132
|
-
verifyChain(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuditVerificationResult, any, {}>>;
|
|
132
|
+
verifyChain(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuditVerificationResult, any, {}, any>>;
|
|
133
133
|
}
|
|
134
134
|
export declare const GetAuditTrailSortEnum: {
|
|
135
135
|
readonly Asc: "ASC";
|
|
@@ -415,7 +415,7 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
415
415
|
* @param {*} [options] Override http request option.
|
|
416
416
|
* @throws {RequiredError}
|
|
417
417
|
*/
|
|
418
|
-
acceptShareRequest(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any, {}>>;
|
|
418
|
+
acceptShareRequest(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any, {}, any>>;
|
|
419
419
|
/**
|
|
420
420
|
* Adds users to a team. Requires ADMIN_USERS role.
|
|
421
421
|
* @summary Add team members
|
|
@@ -424,7 +424,7 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
424
424
|
* @param {*} [options] Override http request option.
|
|
425
425
|
* @throws {RequiredError}
|
|
426
426
|
*/
|
|
427
|
-
addTeamMembers(teamId: string, requestBody: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
427
|
+
addTeamMembers(teamId: string, requestBody: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
428
428
|
/**
|
|
429
429
|
* Creates new Shared document(s) with users. Returns 200 when all items are processed successfully. Returns 207 when there is a mix of successes, share requests, and/or errors. Error codes in response: - SHARE_ERR_USER_DEACTIVATED: Cannot share with a deactivated user in read-only mode - SHARE_ERR_USER_NOT_LICENSED: User must have a license to be shared with in editor or commenter mode - SHARE_ERR_PARENT_AND_CHILD: A folder and its children cannot both be in the share list - SHARE_ERR_ALREADY_EXISTS: A share already exists for this document and user
|
|
430
430
|
* @summary Create Share for document(s)
|
|
@@ -432,7 +432,7 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
432
432
|
* @param {*} [options] Override http request option.
|
|
433
433
|
* @throws {RequiredError}
|
|
434
434
|
*/
|
|
435
|
-
createSharedDocuments(shareRequest: ShareRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShareResultResponse, any, {}>>;
|
|
435
|
+
createSharedDocuments(shareRequest: ShareRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShareResultResponse, any, {}, any>>;
|
|
436
436
|
/**
|
|
437
437
|
* Creates a new team. Requires ADMIN_USERS role.
|
|
438
438
|
* @summary Create a team
|
|
@@ -440,7 +440,7 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
440
440
|
* @param {*} [options] Override http request option.
|
|
441
441
|
* @throws {RequiredError}
|
|
442
442
|
*/
|
|
443
|
-
createTeam(createTeamRequest: CreateTeamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
443
|
+
createTeam(createTeamRequest: CreateTeamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}, any>>;
|
|
444
444
|
/**
|
|
445
445
|
* Create a new user to share documents with
|
|
446
446
|
* @summary Create a new user
|
|
@@ -448,7 +448,7 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
448
448
|
* @param {*} [options] Override http request option.
|
|
449
449
|
* @throws {RequiredError}
|
|
450
450
|
*/
|
|
451
|
-
createUser(userRegistrationRequest: UserRegistrationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
451
|
+
createUser(userRegistrationRequest: UserRegistrationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}, any>>;
|
|
452
452
|
/**
|
|
453
453
|
* Deactivates a user. Requires ADMIN_USERS role.
|
|
454
454
|
* @summary Deactivate a user
|
|
@@ -456,7 +456,7 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
456
456
|
* @param {*} [options] Override http request option.
|
|
457
457
|
* @throws {RequiredError}
|
|
458
458
|
*/
|
|
459
|
-
deactivateUser(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
459
|
+
deactivateUser(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
460
460
|
/**
|
|
461
461
|
* Deletes existing Shared document(s) with users. Returns 200 when all items are processed successfully. Returns 207 when there is a mix of successes, share requests, and/or errors. Error codes in response: - SHARE_ERR_NOT_ALREADY_SHARED: No existing share found for this document and user
|
|
462
462
|
* @summary Delete Share for document(s)
|
|
@@ -464,7 +464,7 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
464
464
|
* @param {*} [options] Override http request option.
|
|
465
465
|
* @throws {RequiredError}
|
|
466
466
|
*/
|
|
467
|
-
deleteSharedDocuments(deleteShareRequest: DeleteShareRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShareResultResponse, any, {}>>;
|
|
467
|
+
deleteSharedDocuments(deleteShareRequest: DeleteShareRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShareResultResponse, any, {}, any>>;
|
|
468
468
|
/**
|
|
469
469
|
* Deletes a team. Requires ADMIN_USERS role.
|
|
470
470
|
* @summary Delete a team
|
|
@@ -472,7 +472,7 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
472
472
|
* @param {*} [options] Override http request option.
|
|
473
473
|
* @throws {RequiredError}
|
|
474
474
|
*/
|
|
475
|
-
deleteTeam(teamId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
475
|
+
deleteTeam(teamId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
476
476
|
/**
|
|
477
477
|
* Lists all members of a team. Requires ADMIN_USERS role.
|
|
478
478
|
* @summary Get team members
|
|
@@ -480,14 +480,14 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
480
480
|
* @param {*} [options] Override http request option.
|
|
481
481
|
* @throws {RequiredError}
|
|
482
482
|
*/
|
|
483
|
-
getTeamMembers(teamId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeamMemberInfo[], any, {}>>;
|
|
483
|
+
getTeamMembers(teamId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeamMemberInfo[], any, {}, any>>;
|
|
484
484
|
/**
|
|
485
485
|
* Confirms the current user exists in the local database. User sync happens during JWT authentication, so this endpoint simply confirms authentication was successful.
|
|
486
486
|
* @summary Check user status
|
|
487
487
|
* @param {*} [options] Override http request option.
|
|
488
488
|
* @throws {RequiredError}
|
|
489
489
|
*/
|
|
490
|
-
getUserStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
490
|
+
getUserStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
491
491
|
/**
|
|
492
492
|
* Rejects and deletes a share request. Accessible only by users with EDIT_SHARE role.
|
|
493
493
|
* @summary Reject a share request
|
|
@@ -495,7 +495,7 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
495
495
|
* @param {*} [options] Override http request option.
|
|
496
496
|
* @throws {RequiredError}
|
|
497
497
|
*/
|
|
498
|
-
rejectShareRequest(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
498
|
+
rejectShareRequest(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
499
499
|
/**
|
|
500
500
|
* Removes users from a team. Requires ADMIN_USERS role.
|
|
501
501
|
* @summary Remove team members
|
|
@@ -504,7 +504,7 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
504
504
|
* @param {*} [options] Override http request option.
|
|
505
505
|
* @throws {RequiredError}
|
|
506
506
|
*/
|
|
507
|
-
removeTeamMembers(teamId: string, requestBody: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
507
|
+
removeTeamMembers(teamId: string, requestBody: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
508
508
|
/**
|
|
509
509
|
* Updates existing Shared document(s) with users. Returns 200 when all items are processed successfully. Returns 207 when there is a mix of successes, share requests, and/or errors. Error codes in response: - SHARE_ERR_USER_DEACTIVATED: Cannot share with a deactivated user in read-only mode - SHARE_ERR_USER_NOT_LICENSED: User must have a license to be shared with in editor or commenter mode - SHARE_ERR_PARENT_AND_CHILD: A folder and its children cannot both be in the share list - SHARE_ERR_NOT_ALREADY_SHARED: No existing share found for this document and user
|
|
510
510
|
* @summary Update Share for document(s)
|
|
@@ -512,7 +512,7 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
512
512
|
* @param {*} [options] Override http request option.
|
|
513
513
|
* @throws {RequiredError}
|
|
514
514
|
*/
|
|
515
|
-
updateSharedDocuments(shareRequest: ShareRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShareResultResponse, any, {}>>;
|
|
515
|
+
updateSharedDocuments(shareRequest: ShareRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShareResultResponse, any, {}, any>>;
|
|
516
516
|
/**
|
|
517
517
|
* Updates team name and email. Requires ADMIN_USERS role.
|
|
518
518
|
* @summary Update a team
|
|
@@ -521,7 +521,7 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
521
521
|
* @param {*} [options] Override http request option.
|
|
522
522
|
* @throws {RequiredError}
|
|
523
523
|
*/
|
|
524
|
-
updateTeam(teamId: string, updateTeamRequest: UpdateTeamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
524
|
+
updateTeam(teamId: string, updateTeamRequest: UpdateTeamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
525
525
|
/**
|
|
526
526
|
* Updates user name, email and/or status. Requires ADMIN_USERS role. Status changes also require ASSIGN_LICENSES.
|
|
527
527
|
* @summary Update a user
|
|
@@ -530,5 +530,5 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
530
530
|
* @param {*} [options] Override http request option.
|
|
531
531
|
* @throws {RequiredError}
|
|
532
532
|
*/
|
|
533
|
-
updateUser(userId: string, updateUserRequest: UpdateUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
533
|
+
updateUser(userId: string, updateUserRequest: UpdateUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
534
534
|
}
|
|
@@ -116,7 +116,7 @@ export declare class CommentsApi extends BaseAPI {
|
|
|
116
116
|
* @param {*} [options] Override http request option.
|
|
117
117
|
* @throws {RequiredError}
|
|
118
118
|
*/
|
|
119
|
-
createComment(createCommentRequest: CreateCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommentDTO, any, {}>>;
|
|
119
|
+
createComment(createCommentRequest: CreateCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommentDTO, any, {}, any>>;
|
|
120
120
|
/**
|
|
121
121
|
* Delete an existing comment. Only the comment creator can delete their comment.
|
|
122
122
|
* @summary Delete a comment
|
|
@@ -124,7 +124,7 @@ export declare class CommentsApi extends BaseAPI {
|
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
*/
|
|
127
|
-
deleteComment(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
127
|
+
deleteComment(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
128
128
|
/**
|
|
129
129
|
* Update an existing comment. Only the comment creator can update their comment.
|
|
130
130
|
* @summary Update a comment
|
|
@@ -133,5 +133,5 @@ export declare class CommentsApi extends BaseAPI {
|
|
|
133
133
|
* @param {*} [options] Override http request option.
|
|
134
134
|
* @throws {RequiredError}
|
|
135
135
|
*/
|
|
136
|
-
updateComment(id: string, updateCommentRequest: UpdateCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommentDTO, any, {}>>;
|
|
136
|
+
updateComment(id: string, updateCommentRequest: UpdateCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommentDTO, any, {}, any>>;
|
|
137
137
|
}
|