@openfilz-sdk/typescript-ee 1.3.5 → 1.4.1
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 +32 -6
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +36 -7
- package/api/{audit-controller-api.ts → collaboration-audit-controller-api.ts} +42 -42
- package/api/delegated-browse-grants-admin-api.ts +452 -0
- package/api/delegated-browse-grants-end-user-api.ts +426 -0
- package/api/upload-token-controller-api.ts +219 -0
- package/api/user-privacy-api.ts +196 -0
- package/api/webhook-proxy-controller-api.ts +523 -0
- package/api.ts +6 -1
- package/dist/api/{audit-controller-api.d.ts → collaboration-audit-controller-api.d.ts} +35 -35
- package/dist/api/{audit-controller-api.js → collaboration-audit-controller-api.js} +41 -41
- package/dist/api/delegated-browse-grants-admin-api.d.ts +215 -0
- package/dist/api/delegated-browse-grants-admin-api.js +434 -0
- package/dist/api/delegated-browse-grants-end-user-api.d.ts +204 -0
- package/dist/api/delegated-browse-grants-end-user-api.js +416 -0
- package/dist/api/upload-token-controller-api.d.ts +105 -0
- package/dist/api/upload-token-controller-api.js +214 -0
- package/dist/api/user-privacy-api.d.ts +96 -0
- package/dist/api/user-privacy-api.js +195 -0
- package/dist/api/webhook-proxy-controller-api.d.ts +230 -0
- package/dist/api/webhook-proxy-controller-api.js +511 -0
- package/dist/api.d.ts +6 -1
- package/dist/api.js +6 -1
- package/dist/esm/api/{audit-controller-api.d.ts → collaboration-audit-controller-api.d.ts} +35 -35
- package/dist/esm/api/{audit-controller-api.js → collaboration-audit-controller-api.js} +36 -36
- package/dist/esm/api/delegated-browse-grants-admin-api.d.ts +215 -0
- package/dist/esm/api/delegated-browse-grants-admin-api.js +427 -0
- package/dist/esm/api/delegated-browse-grants-end-user-api.d.ts +204 -0
- package/dist/esm/api/delegated-browse-grants-end-user-api.js +409 -0
- package/dist/esm/api/upload-token-controller-api.d.ts +105 -0
- package/dist/esm/api/upload-token-controller-api.js +207 -0
- package/dist/esm/api/user-privacy-api.d.ts +96 -0
- package/dist/esm/api/user-privacy-api.js +188 -0
- package/dist/esm/api/webhook-proxy-controller-api.d.ts +230 -0
- package/dist/esm/api/webhook-proxy-controller-api.js +504 -0
- package/dist/esm/api.d.ts +6 -1
- package/dist/esm/api.js +6 -1
- package/dist/esm/models/consume-delegated-grant-request.d.ts +15 -0
- package/dist/esm/models/create-delegated-grant-request.d.ts +21 -0
- package/dist/esm/models/create-delegated-grant-request.js +16 -0
- package/dist/esm/models/delegated-folder-node.d.ts +16 -0
- package/dist/esm/models/delegated-folder-node.js +14 -0
- package/dist/esm/models/delegated-grant-dto.d.ts +43 -0
- package/dist/esm/models/delegated-grant-dto.js +24 -0
- package/dist/esm/models/{audit-log-details-one-of.d.ts → enriched-audit-log-details.d.ts} +2 -2
- package/dist/esm/models/enriched-audit-log-details.js +14 -0
- package/dist/esm/models/{audit-log.d.ts → enriched-audit-log.d.ts} +27 -16
- package/dist/{models/audit-log.js → esm/models/enriched-audit-log.js} +17 -11
- package/dist/esm/models/index.d.ts +10 -2
- package/dist/esm/models/index.js +10 -2
- package/dist/esm/models/mint-upload-token-request.d.ts +17 -0
- package/dist/esm/models/mint-upload-token-request.js +14 -0
- package/dist/esm/models/notification-dto.d.ts +3 -0
- package/dist/esm/models/notification-dto.js +4 -1
- package/dist/esm/models/search-by-audit-log-request.d.ts +15 -6
- package/dist/esm/models/search-by-audit-log-request.js +15 -6
- package/dist/esm/models/update-user-privacy-request.d.ts +14 -0
- package/dist/esm/models/update-user-privacy-request.js +14 -0
- package/dist/esm/models/upload-token-response.d.ts +18 -0
- package/dist/esm/models/upload-token-response.js +14 -0
- package/dist/esm/models/user-privacy-dto.d.ts +14 -0
- package/dist/esm/models/user-privacy-dto.js +14 -0
- package/dist/models/consume-delegated-grant-request.d.ts +15 -0
- package/dist/models/create-delegated-grant-request.d.ts +21 -0
- package/dist/models/create-delegated-grant-request.js +19 -0
- package/dist/models/delegated-folder-node.d.ts +16 -0
- package/dist/models/delegated-folder-node.js +15 -0
- package/dist/models/delegated-grant-dto.d.ts +43 -0
- package/dist/models/delegated-grant-dto.js +27 -0
- package/dist/models/{audit-log-details-one-of.d.ts → enriched-audit-log-details.d.ts} +2 -2
- package/dist/models/enriched-audit-log-details.js +15 -0
- package/dist/models/{audit-log.d.ts → enriched-audit-log.d.ts} +27 -16
- package/dist/{esm/models/audit-log.js → models/enriched-audit-log.js} +20 -8
- package/dist/models/index.d.ts +10 -2
- package/dist/models/index.js +10 -2
- package/dist/models/mint-upload-token-request.d.ts +17 -0
- package/dist/models/mint-upload-token-request.js +15 -0
- package/dist/models/notification-dto.d.ts +3 -0
- package/dist/models/notification-dto.js +4 -1
- package/dist/models/search-by-audit-log-request.d.ts +15 -6
- package/dist/models/search-by-audit-log-request.js +15 -6
- package/dist/models/update-user-privacy-request.d.ts +14 -0
- package/dist/models/update-user-privacy-request.js +15 -0
- package/dist/models/upload-token-response.d.ts +18 -0
- package/dist/models/upload-token-response.js +15 -0
- package/dist/models/user-privacy-dto.d.ts +14 -0
- package/dist/models/user-privacy-dto.js +15 -0
- package/docs/{AuditControllerApi.md → CollaborationAuditControllerApi.md} +16 -16
- package/docs/ConsumeDelegatedGrantRequest.md +22 -0
- package/docs/CreateDelegatedGrantRequest.md +26 -0
- package/docs/DelegatedBrowseGrantsAdminApi.md +275 -0
- package/docs/DelegatedBrowseGrantsEndUserApi.md +266 -0
- package/docs/DelegatedFolderNode.md +24 -0
- package/docs/DelegatedGrantDTO.md +52 -0
- package/docs/{AuditLog.md → EnrichedAuditLog.md} +9 -5
- package/docs/{AuditLogDetailsOneOf.md → EnrichedAuditLogDetails.md} +3 -3
- package/docs/MintUploadTokenRequest.md +26 -0
- package/docs/UpdateUserPrivacyRequest.md +20 -0
- package/docs/UploadTokenControllerApi.md +115 -0
- package/docs/UploadTokenResponse.md +28 -0
- package/docs/UserPrivacyApi.md +104 -0
- package/docs/UserPrivacyDTO.md +20 -0
- package/docs/WebhookProxyControllerApi.md +364 -0
- package/models/consume-delegated-grant-request.ts +21 -0
- package/models/create-delegated-grant-request.ts +30 -0
- package/models/delegated-folder-node.ts +22 -0
- package/models/delegated-grant-dto.ts +53 -0
- package/models/{audit-log-details-one-of.ts → enriched-audit-log-details.ts} +2 -20
- package/models/{audit-log.ts → enriched-audit-log.ts} +27 -16
- package/models/index.ts +10 -2
- package/models/mint-upload-token-request.ts +23 -0
- package/models/notification-dto.ts +4 -1
- package/models/search-by-audit-log-request.ts +15 -6
- package/models/update-user-privacy-request.ts +20 -0
- package/models/upload-token-response.ts +24 -0
- package/models/user-privacy-dto.ts +20 -0
- package/package.json +1 -1
- /package/dist/esm/models/{audit-log-details-one-of.js → consume-delegated-grant-request.js} +0 -0
- /package/dist/models/{audit-log-details-one-of.js → consume-delegated-grant-request.js} +0 -0
|
@@ -0,0 +1,523 @@
|
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
/**
|
|
25
|
+
* WebhookProxyControllerApi - axios parameter creator
|
|
26
|
+
*/
|
|
27
|
+
export const WebhookProxyControllerApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
28
|
+
return {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @param {string} [body]
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
proxy: async (body?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36
|
+
const localVarPath = `/api/v1/webhooks/**`;
|
|
37
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39
|
+
let baseOptions;
|
|
40
|
+
if (configuration) {
|
|
41
|
+
baseOptions = configuration.baseOptions;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
45
|
+
const localVarHeaderParameter = {} as any;
|
|
46
|
+
const localVarQueryParameter = {} as any;
|
|
47
|
+
|
|
48
|
+
// authentication keycloak_auth required
|
|
49
|
+
// http bearer authentication required
|
|
50
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
51
|
+
|
|
52
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
53
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
54
|
+
|
|
55
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
58
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
url: toPathString(localVarUrlObj),
|
|
62
|
+
options: localVarRequestOptions,
|
|
63
|
+
};
|
|
64
|
+
},
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @param {string} [body]
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
proxy1: async (body?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
72
|
+
const localVarPath = `/api/v1/webhooks/**`;
|
|
73
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75
|
+
let baseOptions;
|
|
76
|
+
if (configuration) {
|
|
77
|
+
baseOptions = configuration.baseOptions;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
81
|
+
const localVarHeaderParameter = {} as any;
|
|
82
|
+
const localVarQueryParameter = {} as any;
|
|
83
|
+
|
|
84
|
+
// authentication keycloak_auth required
|
|
85
|
+
// http bearer authentication required
|
|
86
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
87
|
+
|
|
88
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
89
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
90
|
+
|
|
91
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
92
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
93
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
94
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
95
|
+
|
|
96
|
+
return {
|
|
97
|
+
url: toPathString(localVarUrlObj),
|
|
98
|
+
options: localVarRequestOptions,
|
|
99
|
+
};
|
|
100
|
+
},
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @param {string} [body]
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
proxy2: async (body?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
108
|
+
const localVarPath = `/api/v1/webhooks/**`;
|
|
109
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
110
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
111
|
+
let baseOptions;
|
|
112
|
+
if (configuration) {
|
|
113
|
+
baseOptions = configuration.baseOptions;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
117
|
+
const localVarHeaderParameter = {} as any;
|
|
118
|
+
const localVarQueryParameter = {} as any;
|
|
119
|
+
|
|
120
|
+
// authentication keycloak_auth required
|
|
121
|
+
// http bearer authentication required
|
|
122
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
123
|
+
|
|
124
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
125
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
126
|
+
|
|
127
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
128
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
129
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
130
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
131
|
+
|
|
132
|
+
return {
|
|
133
|
+
url: toPathString(localVarUrlObj),
|
|
134
|
+
options: localVarRequestOptions,
|
|
135
|
+
};
|
|
136
|
+
},
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @param {string} [body]
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
*/
|
|
143
|
+
proxy3: async (body?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
144
|
+
const localVarPath = `/api/v1/webhooks/**`;
|
|
145
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
147
|
+
let baseOptions;
|
|
148
|
+
if (configuration) {
|
|
149
|
+
baseOptions = configuration.baseOptions;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
153
|
+
const localVarHeaderParameter = {} as any;
|
|
154
|
+
const localVarQueryParameter = {} as any;
|
|
155
|
+
|
|
156
|
+
// authentication keycloak_auth required
|
|
157
|
+
// http bearer authentication required
|
|
158
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
159
|
+
|
|
160
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
161
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
162
|
+
|
|
163
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
164
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
165
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
166
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
167
|
+
|
|
168
|
+
return {
|
|
169
|
+
url: toPathString(localVarUrlObj),
|
|
170
|
+
options: localVarRequestOptions,
|
|
171
|
+
};
|
|
172
|
+
},
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @param {string} [body]
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
proxy4: async (body?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
180
|
+
const localVarPath = `/api/v1/webhooks/**`;
|
|
181
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
182
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
183
|
+
let baseOptions;
|
|
184
|
+
if (configuration) {
|
|
185
|
+
baseOptions = configuration.baseOptions;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
189
|
+
const localVarHeaderParameter = {} as any;
|
|
190
|
+
const localVarQueryParameter = {} as any;
|
|
191
|
+
|
|
192
|
+
// authentication keycloak_auth required
|
|
193
|
+
// http bearer authentication required
|
|
194
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
195
|
+
|
|
196
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
197
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
198
|
+
|
|
199
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
200
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
201
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
202
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
203
|
+
|
|
204
|
+
return {
|
|
205
|
+
url: toPathString(localVarUrlObj),
|
|
206
|
+
options: localVarRequestOptions,
|
|
207
|
+
};
|
|
208
|
+
},
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* @param {string} [body]
|
|
212
|
+
* @param {*} [options] Override http request option.
|
|
213
|
+
* @throws {RequiredError}
|
|
214
|
+
*/
|
|
215
|
+
proxy5: async (body?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
216
|
+
const localVarPath = `/api/v1/webhooks/**`;
|
|
217
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
218
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
219
|
+
let baseOptions;
|
|
220
|
+
if (configuration) {
|
|
221
|
+
baseOptions = configuration.baseOptions;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options};
|
|
225
|
+
const localVarHeaderParameter = {} as any;
|
|
226
|
+
const localVarQueryParameter = {} as any;
|
|
227
|
+
|
|
228
|
+
// authentication keycloak_auth required
|
|
229
|
+
// http bearer authentication required
|
|
230
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
231
|
+
|
|
232
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
233
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
234
|
+
|
|
235
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
236
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
237
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
238
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
239
|
+
|
|
240
|
+
return {
|
|
241
|
+
url: toPathString(localVarUrlObj),
|
|
242
|
+
options: localVarRequestOptions,
|
|
243
|
+
};
|
|
244
|
+
},
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @param {string} [body]
|
|
248
|
+
* @param {*} [options] Override http request option.
|
|
249
|
+
* @throws {RequiredError}
|
|
250
|
+
*/
|
|
251
|
+
proxy6: async (body?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
252
|
+
const localVarPath = `/api/v1/webhooks/**`;
|
|
253
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
254
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
255
|
+
let baseOptions;
|
|
256
|
+
if (configuration) {
|
|
257
|
+
baseOptions = configuration.baseOptions;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
const localVarRequestOptions = { method: 'OPTIONS', ...baseOptions, ...options};
|
|
261
|
+
const localVarHeaderParameter = {} as any;
|
|
262
|
+
const localVarQueryParameter = {} as any;
|
|
263
|
+
|
|
264
|
+
// authentication keycloak_auth required
|
|
265
|
+
// http bearer authentication required
|
|
266
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
267
|
+
|
|
268
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
269
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
270
|
+
|
|
271
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
272
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
273
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
274
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
275
|
+
|
|
276
|
+
return {
|
|
277
|
+
url: toPathString(localVarUrlObj),
|
|
278
|
+
options: localVarRequestOptions,
|
|
279
|
+
};
|
|
280
|
+
},
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* WebhookProxyControllerApi - functional programming interface
|
|
286
|
+
*/
|
|
287
|
+
export const WebhookProxyControllerApiFp = function(configuration?: Configuration) {
|
|
288
|
+
const localVarAxiosParamCreator = WebhookProxyControllerApiAxiosParamCreator(configuration)
|
|
289
|
+
return {
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @param {string} [body]
|
|
293
|
+
* @param {*} [options] Override http request option.
|
|
294
|
+
* @throws {RequiredError}
|
|
295
|
+
*/
|
|
296
|
+
async proxy(body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
297
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.proxy(body, options);
|
|
298
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
299
|
+
const localVarOperationServerBasePath = operationServerMap['WebhookProxyControllerApi.proxy']?.[localVarOperationServerIndex]?.url;
|
|
300
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
301
|
+
},
|
|
302
|
+
/**
|
|
303
|
+
*
|
|
304
|
+
* @param {string} [body]
|
|
305
|
+
* @param {*} [options] Override http request option.
|
|
306
|
+
* @throws {RequiredError}
|
|
307
|
+
*/
|
|
308
|
+
async proxy1(body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
309
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.proxy1(body, options);
|
|
310
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
311
|
+
const localVarOperationServerBasePath = operationServerMap['WebhookProxyControllerApi.proxy1']?.[localVarOperationServerIndex]?.url;
|
|
312
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
313
|
+
},
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @param {string} [body]
|
|
317
|
+
* @param {*} [options] Override http request option.
|
|
318
|
+
* @throws {RequiredError}
|
|
319
|
+
*/
|
|
320
|
+
async proxy2(body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
321
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.proxy2(body, options);
|
|
322
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
323
|
+
const localVarOperationServerBasePath = operationServerMap['WebhookProxyControllerApi.proxy2']?.[localVarOperationServerIndex]?.url;
|
|
324
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
325
|
+
},
|
|
326
|
+
/**
|
|
327
|
+
*
|
|
328
|
+
* @param {string} [body]
|
|
329
|
+
* @param {*} [options] Override http request option.
|
|
330
|
+
* @throws {RequiredError}
|
|
331
|
+
*/
|
|
332
|
+
async proxy3(body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
333
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.proxy3(body, options);
|
|
334
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
335
|
+
const localVarOperationServerBasePath = operationServerMap['WebhookProxyControllerApi.proxy3']?.[localVarOperationServerIndex]?.url;
|
|
336
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
337
|
+
},
|
|
338
|
+
/**
|
|
339
|
+
*
|
|
340
|
+
* @param {string} [body]
|
|
341
|
+
* @param {*} [options] Override http request option.
|
|
342
|
+
* @throws {RequiredError}
|
|
343
|
+
*/
|
|
344
|
+
async proxy4(body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
345
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.proxy4(body, options);
|
|
346
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
347
|
+
const localVarOperationServerBasePath = operationServerMap['WebhookProxyControllerApi.proxy4']?.[localVarOperationServerIndex]?.url;
|
|
348
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
349
|
+
},
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @param {string} [body]
|
|
353
|
+
* @param {*} [options] Override http request option.
|
|
354
|
+
* @throws {RequiredError}
|
|
355
|
+
*/
|
|
356
|
+
async proxy5(body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
357
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.proxy5(body, options);
|
|
358
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
359
|
+
const localVarOperationServerBasePath = operationServerMap['WebhookProxyControllerApi.proxy5']?.[localVarOperationServerIndex]?.url;
|
|
360
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
361
|
+
},
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @param {string} [body]
|
|
365
|
+
* @param {*} [options] Override http request option.
|
|
366
|
+
* @throws {RequiredError}
|
|
367
|
+
*/
|
|
368
|
+
async proxy6(body?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
369
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.proxy6(body, options);
|
|
370
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
371
|
+
const localVarOperationServerBasePath = operationServerMap['WebhookProxyControllerApi.proxy6']?.[localVarOperationServerIndex]?.url;
|
|
372
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
373
|
+
},
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* WebhookProxyControllerApi - factory interface
|
|
379
|
+
*/
|
|
380
|
+
export const WebhookProxyControllerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
381
|
+
const localVarFp = WebhookProxyControllerApiFp(configuration)
|
|
382
|
+
return {
|
|
383
|
+
/**
|
|
384
|
+
*
|
|
385
|
+
* @param {string} [body]
|
|
386
|
+
* @param {*} [options] Override http request option.
|
|
387
|
+
* @throws {RequiredError}
|
|
388
|
+
*/
|
|
389
|
+
proxy(body?: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
390
|
+
return localVarFp.proxy(body, options).then((request) => request(axios, basePath));
|
|
391
|
+
},
|
|
392
|
+
/**
|
|
393
|
+
*
|
|
394
|
+
* @param {string} [body]
|
|
395
|
+
* @param {*} [options] Override http request option.
|
|
396
|
+
* @throws {RequiredError}
|
|
397
|
+
*/
|
|
398
|
+
proxy1(body?: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
399
|
+
return localVarFp.proxy1(body, options).then((request) => request(axios, basePath));
|
|
400
|
+
},
|
|
401
|
+
/**
|
|
402
|
+
*
|
|
403
|
+
* @param {string} [body]
|
|
404
|
+
* @param {*} [options] Override http request option.
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
*/
|
|
407
|
+
proxy2(body?: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
408
|
+
return localVarFp.proxy2(body, options).then((request) => request(axios, basePath));
|
|
409
|
+
},
|
|
410
|
+
/**
|
|
411
|
+
*
|
|
412
|
+
* @param {string} [body]
|
|
413
|
+
* @param {*} [options] Override http request option.
|
|
414
|
+
* @throws {RequiredError}
|
|
415
|
+
*/
|
|
416
|
+
proxy3(body?: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
417
|
+
return localVarFp.proxy3(body, options).then((request) => request(axios, basePath));
|
|
418
|
+
},
|
|
419
|
+
/**
|
|
420
|
+
*
|
|
421
|
+
* @param {string} [body]
|
|
422
|
+
* @param {*} [options] Override http request option.
|
|
423
|
+
* @throws {RequiredError}
|
|
424
|
+
*/
|
|
425
|
+
proxy4(body?: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
426
|
+
return localVarFp.proxy4(body, options).then((request) => request(axios, basePath));
|
|
427
|
+
},
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @param {string} [body]
|
|
431
|
+
* @param {*} [options] Override http request option.
|
|
432
|
+
* @throws {RequiredError}
|
|
433
|
+
*/
|
|
434
|
+
proxy5(body?: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
435
|
+
return localVarFp.proxy5(body, options).then((request) => request(axios, basePath));
|
|
436
|
+
},
|
|
437
|
+
/**
|
|
438
|
+
*
|
|
439
|
+
* @param {string} [body]
|
|
440
|
+
* @param {*} [options] Override http request option.
|
|
441
|
+
* @throws {RequiredError}
|
|
442
|
+
*/
|
|
443
|
+
proxy6(body?: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
444
|
+
return localVarFp.proxy6(body, options).then((request) => request(axios, basePath));
|
|
445
|
+
},
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* WebhookProxyControllerApi - object-oriented interface
|
|
451
|
+
*/
|
|
452
|
+
export class WebhookProxyControllerApi extends BaseAPI {
|
|
453
|
+
/**
|
|
454
|
+
*
|
|
455
|
+
* @param {string} [body]
|
|
456
|
+
* @param {*} [options] Override http request option.
|
|
457
|
+
* @throws {RequiredError}
|
|
458
|
+
*/
|
|
459
|
+
public proxy(body?: string, options?: RawAxiosRequestConfig) {
|
|
460
|
+
return WebhookProxyControllerApiFp(this.configuration).proxy(body, options).then((request) => request(this.axios, this.basePath));
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
*
|
|
465
|
+
* @param {string} [body]
|
|
466
|
+
* @param {*} [options] Override http request option.
|
|
467
|
+
* @throws {RequiredError}
|
|
468
|
+
*/
|
|
469
|
+
public proxy1(body?: string, options?: RawAxiosRequestConfig) {
|
|
470
|
+
return WebhookProxyControllerApiFp(this.configuration).proxy1(body, options).then((request) => request(this.axios, this.basePath));
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
*
|
|
475
|
+
* @param {string} [body]
|
|
476
|
+
* @param {*} [options] Override http request option.
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
*/
|
|
479
|
+
public proxy2(body?: string, options?: RawAxiosRequestConfig) {
|
|
480
|
+
return WebhookProxyControllerApiFp(this.configuration).proxy2(body, options).then((request) => request(this.axios, this.basePath));
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
*
|
|
485
|
+
* @param {string} [body]
|
|
486
|
+
* @param {*} [options] Override http request option.
|
|
487
|
+
* @throws {RequiredError}
|
|
488
|
+
*/
|
|
489
|
+
public proxy3(body?: string, options?: RawAxiosRequestConfig) {
|
|
490
|
+
return WebhookProxyControllerApiFp(this.configuration).proxy3(body, options).then((request) => request(this.axios, this.basePath));
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
*
|
|
495
|
+
* @param {string} [body]
|
|
496
|
+
* @param {*} [options] Override http request option.
|
|
497
|
+
* @throws {RequiredError}
|
|
498
|
+
*/
|
|
499
|
+
public proxy4(body?: string, options?: RawAxiosRequestConfig) {
|
|
500
|
+
return WebhookProxyControllerApiFp(this.configuration).proxy4(body, options).then((request) => request(this.axios, this.basePath));
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* @param {string} [body]
|
|
506
|
+
* @param {*} [options] Override http request option.
|
|
507
|
+
* @throws {RequiredError}
|
|
508
|
+
*/
|
|
509
|
+
public proxy5(body?: string, options?: RawAxiosRequestConfig) {
|
|
510
|
+
return WebhookProxyControllerApiFp(this.configuration).proxy5(body, options).then((request) => request(this.axios, this.basePath));
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
*
|
|
515
|
+
* @param {string} [body]
|
|
516
|
+
* @param {*} [options] Override http request option.
|
|
517
|
+
* @throws {RequiredError}
|
|
518
|
+
*/
|
|
519
|
+
public proxy6(body?: string, options?: RawAxiosRequestConfig) {
|
|
520
|
+
return WebhookProxyControllerApiFp(this.configuration).proxy6(body, options).then((request) => request(this.axios, this.basePath));
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
|
package/api.ts
CHANGED
|
@@ -14,10 +14,12 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
export * from './api/audit-controller-api';
|
|
17
|
+
export * from './api/collaboration-audit-controller-api';
|
|
18
18
|
export * from './api/collaboration-controller-api';
|
|
19
19
|
export * from './api/comments-api';
|
|
20
20
|
export * from './api/dashboard-api';
|
|
21
|
+
export * from './api/delegated-browse-grants-admin-api';
|
|
22
|
+
export * from './api/delegated-browse-grants-end-user-api';
|
|
21
23
|
export * from './api/document-controller-api';
|
|
22
24
|
export * from './api/document-suggestion-controller-api';
|
|
23
25
|
export * from './api/favorites-api';
|
|
@@ -29,4 +31,7 @@ export * from './api/scanner-proxy-api';
|
|
|
29
31
|
export * from './api/search-administration-api';
|
|
30
32
|
export * from './api/settings-api';
|
|
31
33
|
export * from './api/tus-controller-api';
|
|
34
|
+
export * from './api/upload-token-controller-api';
|
|
35
|
+
export * from './api/user-privacy-api';
|
|
36
|
+
export * from './api/webhook-proxy-controller-api';
|
|
32
37
|
|