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