@openfilz-sdk/typescript-ee 1.7.5 → 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,326 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* openfilz-api
|
|
6
|
+
* API for Document Management System
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.AISettingsApi = exports.AISettingsApiFactory = exports.AISettingsApiFp = exports.AISettingsApiAxiosParamCreator = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const common_1 = require("../common");
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const base_1 = require("../base");
|
|
32
|
+
/**
|
|
33
|
+
* AISettingsApi - axios parameter creator
|
|
34
|
+
*/
|
|
35
|
+
const AISettingsApiAxiosParamCreator = function (configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
* Remove my chat-LLM override and go back to the server default model.
|
|
39
|
+
* @summary Reset my AI settings
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
deleteSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
44
|
+
const localVarPath = `/api/v1/settings/ai`;
|
|
45
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
47
|
+
let baseOptions;
|
|
48
|
+
if (configuration) {
|
|
49
|
+
baseOptions = configuration.baseOptions;
|
|
50
|
+
}
|
|
51
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
52
|
+
const localVarHeaderParameter = {};
|
|
53
|
+
const localVarQueryParameter = {};
|
|
54
|
+
// authentication keycloak_auth required
|
|
55
|
+
// http bearer authentication required
|
|
56
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
57
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
58
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
59
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
60
|
+
return {
|
|
61
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
62
|
+
options: localVarRequestOptions,
|
|
63
|
+
};
|
|
64
|
+
}),
|
|
65
|
+
/**
|
|
66
|
+
* Current user\'s chat-LLM override. The API key is never returned — only hasApiKey and its last characters.
|
|
67
|
+
* @summary Get my AI settings
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
getSettings1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
72
|
+
const localVarPath = `/api/v1/settings/ai`;
|
|
73
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
75
|
+
let baseOptions;
|
|
76
|
+
if (configuration) {
|
|
77
|
+
baseOptions = configuration.baseOptions;
|
|
78
|
+
}
|
|
79
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
80
|
+
const localVarHeaderParameter = {};
|
|
81
|
+
const localVarQueryParameter = {};
|
|
82
|
+
// authentication keycloak_auth required
|
|
83
|
+
// http bearer authentication required
|
|
84
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
85
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
86
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
87
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
88
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
89
|
+
return {
|
|
90
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
91
|
+
options: localVarRequestOptions,
|
|
92
|
+
};
|
|
93
|
+
}),
|
|
94
|
+
/**
|
|
95
|
+
* Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
|
|
96
|
+
* @summary Save my AI settings
|
|
97
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
*/
|
|
101
|
+
saveSettings1: (saveAiSettingsRequest_1, ...args_1) => __awaiter(this, [saveAiSettingsRequest_1, ...args_1], void 0, function* (saveAiSettingsRequest, options = {}) {
|
|
102
|
+
// verify required parameter 'saveAiSettingsRequest' is not null or undefined
|
|
103
|
+
(0, common_1.assertParamExists)('saveSettings1', 'saveAiSettingsRequest', saveAiSettingsRequest);
|
|
104
|
+
const localVarPath = `/api/v1/settings/ai`;
|
|
105
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
106
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
107
|
+
let baseOptions;
|
|
108
|
+
if (configuration) {
|
|
109
|
+
baseOptions = configuration.baseOptions;
|
|
110
|
+
}
|
|
111
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
112
|
+
const localVarHeaderParameter = {};
|
|
113
|
+
const localVarQueryParameter = {};
|
|
114
|
+
// authentication keycloak_auth required
|
|
115
|
+
// http bearer authentication required
|
|
116
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
117
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
118
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
119
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
120
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
121
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
122
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(saveAiSettingsRequest, localVarRequestOptions, configuration);
|
|
123
|
+
return {
|
|
124
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
125
|
+
options: localVarRequestOptions,
|
|
126
|
+
};
|
|
127
|
+
}),
|
|
128
|
+
/**
|
|
129
|
+
* Send a minimal completion request with the submitted settings (falls back to the stored key when apiKey is omitted).
|
|
130
|
+
* @summary Test AI provider connection
|
|
131
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
132
|
+
* @param {*} [options] Override http request option.
|
|
133
|
+
* @throws {RequiredError}
|
|
134
|
+
*/
|
|
135
|
+
testConnection: (saveAiSettingsRequest_1, ...args_1) => __awaiter(this, [saveAiSettingsRequest_1, ...args_1], void 0, function* (saveAiSettingsRequest, options = {}) {
|
|
136
|
+
// verify required parameter 'saveAiSettingsRequest' is not null or undefined
|
|
137
|
+
(0, common_1.assertParamExists)('testConnection', 'saveAiSettingsRequest', saveAiSettingsRequest);
|
|
138
|
+
const localVarPath = `/api/v1/settings/ai/test`;
|
|
139
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
140
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
141
|
+
let baseOptions;
|
|
142
|
+
if (configuration) {
|
|
143
|
+
baseOptions = configuration.baseOptions;
|
|
144
|
+
}
|
|
145
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
146
|
+
const localVarHeaderParameter = {};
|
|
147
|
+
const localVarQueryParameter = {};
|
|
148
|
+
// authentication keycloak_auth required
|
|
149
|
+
// http bearer authentication required
|
|
150
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
151
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
152
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
153
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
154
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
155
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
156
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(saveAiSettingsRequest, localVarRequestOptions, configuration);
|
|
157
|
+
return {
|
|
158
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
159
|
+
options: localVarRequestOptions,
|
|
160
|
+
};
|
|
161
|
+
}),
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
exports.AISettingsApiAxiosParamCreator = AISettingsApiAxiosParamCreator;
|
|
165
|
+
/**
|
|
166
|
+
* AISettingsApi - functional programming interface
|
|
167
|
+
*/
|
|
168
|
+
const AISettingsApiFp = function (configuration) {
|
|
169
|
+
const localVarAxiosParamCreator = (0, exports.AISettingsApiAxiosParamCreator)(configuration);
|
|
170
|
+
return {
|
|
171
|
+
/**
|
|
172
|
+
* Remove my chat-LLM override and go back to the server default model.
|
|
173
|
+
* @summary Reset my AI settings
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
deleteSettings(options) {
|
|
178
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
179
|
+
var _a, _b, _c;
|
|
180
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSettings(options);
|
|
181
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
182
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AISettingsApi.deleteSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
183
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
184
|
+
});
|
|
185
|
+
},
|
|
186
|
+
/**
|
|
187
|
+
* Current user\'s chat-LLM override. The API key is never returned — only hasApiKey and its last characters.
|
|
188
|
+
* @summary Get my AI settings
|
|
189
|
+
* @param {*} [options] Override http request option.
|
|
190
|
+
* @throws {RequiredError}
|
|
191
|
+
*/
|
|
192
|
+
getSettings1(options) {
|
|
193
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
194
|
+
var _a, _b, _c;
|
|
195
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSettings1(options);
|
|
196
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
197
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AISettingsApi.getSettings1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
198
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
199
|
+
});
|
|
200
|
+
},
|
|
201
|
+
/**
|
|
202
|
+
* Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
|
|
203
|
+
* @summary Save my AI settings
|
|
204
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
*/
|
|
208
|
+
saveSettings1(saveAiSettingsRequest, options) {
|
|
209
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
210
|
+
var _a, _b, _c;
|
|
211
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.saveSettings1(saveAiSettingsRequest, options);
|
|
212
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
213
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AISettingsApi.saveSettings1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
214
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
215
|
+
});
|
|
216
|
+
},
|
|
217
|
+
/**
|
|
218
|
+
* Send a minimal completion request with the submitted settings (falls back to the stored key when apiKey is omitted).
|
|
219
|
+
* @summary Test AI provider connection
|
|
220
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
221
|
+
* @param {*} [options] Override http request option.
|
|
222
|
+
* @throws {RequiredError}
|
|
223
|
+
*/
|
|
224
|
+
testConnection(saveAiSettingsRequest, options) {
|
|
225
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
226
|
+
var _a, _b, _c;
|
|
227
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.testConnection(saveAiSettingsRequest, options);
|
|
228
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
229
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AISettingsApi.testConnection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
230
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
231
|
+
});
|
|
232
|
+
},
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
exports.AISettingsApiFp = AISettingsApiFp;
|
|
236
|
+
/**
|
|
237
|
+
* AISettingsApi - factory interface
|
|
238
|
+
*/
|
|
239
|
+
const AISettingsApiFactory = function (configuration, basePath, axios) {
|
|
240
|
+
const localVarFp = (0, exports.AISettingsApiFp)(configuration);
|
|
241
|
+
return {
|
|
242
|
+
/**
|
|
243
|
+
* Remove my chat-LLM override and go back to the server default model.
|
|
244
|
+
* @summary Reset my AI settings
|
|
245
|
+
* @param {*} [options] Override http request option.
|
|
246
|
+
* @throws {RequiredError}
|
|
247
|
+
*/
|
|
248
|
+
deleteSettings(options) {
|
|
249
|
+
return localVarFp.deleteSettings(options).then((request) => request(axios, basePath));
|
|
250
|
+
},
|
|
251
|
+
/**
|
|
252
|
+
* Current user\'s chat-LLM override. The API key is never returned — only hasApiKey and its last characters.
|
|
253
|
+
* @summary Get my AI settings
|
|
254
|
+
* @param {*} [options] Override http request option.
|
|
255
|
+
* @throws {RequiredError}
|
|
256
|
+
*/
|
|
257
|
+
getSettings1(options) {
|
|
258
|
+
return localVarFp.getSettings1(options).then((request) => request(axios, basePath));
|
|
259
|
+
},
|
|
260
|
+
/**
|
|
261
|
+
* Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
|
|
262
|
+
* @summary Save my AI settings
|
|
263
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
*/
|
|
267
|
+
saveSettings1(saveAiSettingsRequest, options) {
|
|
268
|
+
return localVarFp.saveSettings1(saveAiSettingsRequest, options).then((request) => request(axios, basePath));
|
|
269
|
+
},
|
|
270
|
+
/**
|
|
271
|
+
* Send a minimal completion request with the submitted settings (falls back to the stored key when apiKey is omitted).
|
|
272
|
+
* @summary Test AI provider connection
|
|
273
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
274
|
+
* @param {*} [options] Override http request option.
|
|
275
|
+
* @throws {RequiredError}
|
|
276
|
+
*/
|
|
277
|
+
testConnection(saveAiSettingsRequest, options) {
|
|
278
|
+
return localVarFp.testConnection(saveAiSettingsRequest, options).then((request) => request(axios, basePath));
|
|
279
|
+
},
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
exports.AISettingsApiFactory = AISettingsApiFactory;
|
|
283
|
+
/**
|
|
284
|
+
* AISettingsApi - object-oriented interface
|
|
285
|
+
*/
|
|
286
|
+
class AISettingsApi extends base_1.BaseAPI {
|
|
287
|
+
/**
|
|
288
|
+
* Remove my chat-LLM override and go back to the server default model.
|
|
289
|
+
* @summary Reset my AI settings
|
|
290
|
+
* @param {*} [options] Override http request option.
|
|
291
|
+
* @throws {RequiredError}
|
|
292
|
+
*/
|
|
293
|
+
deleteSettings(options) {
|
|
294
|
+
return (0, exports.AISettingsApiFp)(this.configuration).deleteSettings(options).then((request) => request(this.axios, this.basePath));
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Current user\'s chat-LLM override. The API key is never returned — only hasApiKey and its last characters.
|
|
298
|
+
* @summary Get my AI settings
|
|
299
|
+
* @param {*} [options] Override http request option.
|
|
300
|
+
* @throws {RequiredError}
|
|
301
|
+
*/
|
|
302
|
+
getSettings1(options) {
|
|
303
|
+
return (0, exports.AISettingsApiFp)(this.configuration).getSettings1(options).then((request) => request(this.axios, this.basePath));
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
|
|
307
|
+
* @summary Save my AI settings
|
|
308
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
309
|
+
* @param {*} [options] Override http request option.
|
|
310
|
+
* @throws {RequiredError}
|
|
311
|
+
*/
|
|
312
|
+
saveSettings1(saveAiSettingsRequest, options) {
|
|
313
|
+
return (0, exports.AISettingsApiFp)(this.configuration).saveSettings1(saveAiSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Send a minimal completion request with the submitted settings (falls back to the stored key when apiKey is omitted).
|
|
317
|
+
* @summary Test AI provider connection
|
|
318
|
+
* @param {SaveAiSettingsRequest} saveAiSettingsRequest
|
|
319
|
+
* @param {*} [options] Override http request option.
|
|
320
|
+
* @throws {RequiredError}
|
|
321
|
+
*/
|
|
322
|
+
testConnection(saveAiSettingsRequest, options) {
|
|
323
|
+
return (0, exports.AISettingsApiFp)(this.configuration).testConnection(saveAiSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
exports.AISettingsApi = AISettingsApi;
|
|
@@ -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
|
}
|
|
@@ -59,5 +59,5 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
59
59
|
* @param {*} [options] Override http request option.
|
|
60
60
|
* @throws {RequiredError}
|
|
61
61
|
*/
|
|
62
|
-
getDashboardStatistics(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DashboardStatisticsResponse, any, {}>>;
|
|
62
|
+
getDashboardStatistics(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DashboardStatisticsResponse, any, {}, any>>;
|
|
63
63
|
}
|
|
@@ -169,7 +169,7 @@ export declare class DelegatedBrowseGrantsAdminApi extends BaseAPI {
|
|
|
169
169
|
* @param {*} [options] Override http request option.
|
|
170
170
|
* @throws {RequiredError}
|
|
171
171
|
*/
|
|
172
|
-
browseFolders(grantId: string, parent?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedFolderNode[], any, {}>>;
|
|
172
|
+
browseFolders(grantId: string, parent?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedFolderNode[], any, {}, any>>;
|
|
173
173
|
/**
|
|
174
174
|
* Flip an ACCEPTED grant to CONSUMED after using it to create a webhook. Single-use: subsequent browse calls return 410 Gone.
|
|
175
175
|
* @summary Mark grant as consumed
|
|
@@ -178,7 +178,7 @@ export declare class DelegatedBrowseGrantsAdminApi extends BaseAPI {
|
|
|
178
178
|
* @param {*} [options] Override http request option.
|
|
179
179
|
* @throws {RequiredError}
|
|
180
180
|
*/
|
|
181
|
-
consume(id: string, consumeDelegatedGrantRequest: ConsumeDelegatedGrantRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}>>;
|
|
181
|
+
consume(id: string, consumeDelegatedGrantRequest: ConsumeDelegatedGrantRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}, any>>;
|
|
182
182
|
/**
|
|
183
183
|
* Admin UI polls this after creation to learn when the grantor has accepted/declined. 404 if the grant isn\'t yours.
|
|
184
184
|
* @summary Poll grant status
|
|
@@ -186,7 +186,7 @@ export declare class DelegatedBrowseGrantsAdminApi extends BaseAPI {
|
|
|
186
186
|
* @param {*} [options] Override http request option.
|
|
187
187
|
* @throws {RequiredError}
|
|
188
188
|
*/
|
|
189
|
-
getGrant(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}>>;
|
|
189
|
+
getGrant(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}, any>>;
|
|
190
190
|
/**
|
|
191
191
|
* Optionally filter by ?status=PENDING|ACCEPTED|...
|
|
192
192
|
* @summary List grants I requested
|
|
@@ -194,7 +194,7 @@ export declare class DelegatedBrowseGrantsAdminApi extends BaseAPI {
|
|
|
194
194
|
* @param {*} [options] Override http request option.
|
|
195
195
|
* @throws {RequiredError}
|
|
196
196
|
*/
|
|
197
|
-
listMine(status?: ListMineStatusEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO[], any, {}>>;
|
|
197
|
+
listMine(status?: ListMineStatusEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO[], any, {}, any>>;
|
|
198
198
|
/**
|
|
199
199
|
* Create a PENDING grant. Notifies the grantor via in-app + email. Grantor has 15 min to accept or the grant auto-expires.
|
|
200
200
|
* @summary Request a grant
|
|
@@ -202,7 +202,7 @@ export declare class DelegatedBrowseGrantsAdminApi extends BaseAPI {
|
|
|
202
202
|
* @param {*} [options] Override http request option.
|
|
203
203
|
* @throws {RequiredError}
|
|
204
204
|
*/
|
|
205
|
-
requestGrant(createDelegatedGrantRequest: CreateDelegatedGrantRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}>>;
|
|
205
|
+
requestGrant(createDelegatedGrantRequest: CreateDelegatedGrantRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}, any>>;
|
|
206
206
|
}
|
|
207
207
|
export declare const ListMineStatusEnum: {
|
|
208
208
|
readonly Pending: "PENDING";
|
|
@@ -159,7 +159,7 @@ export declare class DelegatedBrowseGrantsEndUserApi extends BaseAPI {
|
|
|
159
159
|
* @param {*} [options] Override http request option.
|
|
160
160
|
* @throws {RequiredError}
|
|
161
161
|
*/
|
|
162
|
-
accept(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}>>;
|
|
162
|
+
accept(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}, any>>;
|
|
163
163
|
/**
|
|
164
164
|
*
|
|
165
165
|
* @summary Refuse a pending grant
|
|
@@ -167,7 +167,7 @@ export declare class DelegatedBrowseGrantsEndUserApi extends BaseAPI {
|
|
|
167
167
|
* @param {*} [options] Override http request option.
|
|
168
168
|
* @throws {RequiredError}
|
|
169
169
|
*/
|
|
170
|
-
decline(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}>>;
|
|
170
|
+
decline(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}, any>>;
|
|
171
171
|
/**
|
|
172
172
|
* Grantor-only consent withdrawal. Requires status = CONSUMED. Deletes the linked webhook subscription via webhooks-api; the grant row stays CONSUMED with consumedSubscriptionId preserved as an audit pointer. 409 if the grant is not CONSUMED or has no linked subscription id.
|
|
173
173
|
* @summary Disable the webhook created from this grant
|
|
@@ -175,7 +175,7 @@ export declare class DelegatedBrowseGrantsEndUserApi extends BaseAPI {
|
|
|
175
175
|
* @param {*} [options] Override http request option.
|
|
176
176
|
* @throws {RequiredError}
|
|
177
177
|
*/
|
|
178
|
-
disableLinkedWebhook(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}>>;
|
|
178
|
+
disableLinkedWebhook(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}, any>>;
|
|
179
179
|
/**
|
|
180
180
|
* Optionally filter by ?status=PENDING|ACCEPTED|...
|
|
181
181
|
* @summary List grants addressed to me
|
|
@@ -183,7 +183,7 @@ export declare class DelegatedBrowseGrantsEndUserApi extends BaseAPI {
|
|
|
183
183
|
* @param {*} [options] Override http request option.
|
|
184
184
|
* @throws {RequiredError}
|
|
185
185
|
*/
|
|
186
|
-
listIncoming(status?: ListIncomingStatusEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO[], any, {}>>;
|
|
186
|
+
listIncoming(status?: ListIncomingStatusEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO[], any, {}, any>>;
|
|
187
187
|
/**
|
|
188
188
|
* Flip ACCEPTED → REVOKED. Immediate — any in-flight admin browse becomes 410 on its next call.
|
|
189
189
|
* @summary Revoke an accepted grant
|
|
@@ -191,7 +191,7 @@ export declare class DelegatedBrowseGrantsEndUserApi extends BaseAPI {
|
|
|
191
191
|
* @param {*} [options] Override http request option.
|
|
192
192
|
* @throws {RequiredError}
|
|
193
193
|
*/
|
|
194
|
-
revoke(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}>>;
|
|
194
|
+
revoke(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}, any>>;
|
|
195
195
|
}
|
|
196
196
|
export declare const ListIncomingStatusEnum: {
|
|
197
197
|
readonly Pending: "PENDING";
|