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