@openfilz-sdk/typescript 1.1.5-SNAPSHOT → 1.1.7
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 +118 -76
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -0
- package/README.md +113 -2
- package/api/audit-controller-api.ts +4 -17
- package/api/dashboard-api.ts +2 -9
- package/api/document-controller-api.ts +21 -53
- package/api/document-suggestion-controller-api.ts +2 -9
- package/api/favorites-api.ts +3 -15
- package/api/file-controller-api.ts +3 -19
- package/api/folder-controller-api.ts +5 -26
- package/api/settings-api.ts +2 -9
- package/api/tus-controller-api.ts +8 -30
- package/base.ts +0 -24
- package/common.ts +19 -42
- package/configuration.ts +24 -18
- package/dist/api/audit-controller-api.d.ts +0 -12
- package/dist/api/audit-controller-api.js +3 -12
- package/dist/api/dashboard-api.d.ts +0 -7
- package/dist/api/dashboard-api.js +1 -7
- package/dist/api/document-controller-api.d.ts +0 -21
- package/dist/api/document-controller-api.js +14 -21
- package/dist/api/document-suggestion-controller-api.d.ts +0 -7
- package/dist/api/document-suggestion-controller-api.js +1 -7
- package/dist/api/favorites-api.d.ts +0 -10
- package/dist/api/favorites-api.js +2 -10
- package/dist/api/file-controller-api.d.ts +0 -10
- package/dist/api/file-controller-api.js +2 -10
- package/dist/api/folder-controller-api.d.ts +0 -13
- package/dist/api/folder-controller-api.js +4 -13
- package/dist/api/settings-api.d.ts +0 -7
- package/dist/api/settings-api.js +1 -7
- package/dist/api/tus-controller-api.d.ts +0 -15
- package/dist/api/tus-controller-api.js +7 -18
- package/dist/base.d.ts +0 -24
- package/dist/base.js +0 -19
- package/dist/common.d.ts +4 -35
- package/dist/common.js +16 -38
- package/dist/configuration.d.ts +24 -17
- package/dist/configuration.js +1 -1
- package/dist/esm/api/audit-controller-api.d.ts +0 -12
- package/dist/esm/api/audit-controller-api.js +3 -12
- package/dist/esm/api/dashboard-api.d.ts +0 -7
- package/dist/esm/api/dashboard-api.js +1 -7
- package/dist/esm/api/document-controller-api.d.ts +0 -21
- package/dist/esm/api/document-controller-api.js +14 -21
- package/dist/esm/api/document-suggestion-controller-api.d.ts +0 -7
- package/dist/esm/api/document-suggestion-controller-api.js +1 -7
- package/dist/esm/api/favorites-api.d.ts +0 -10
- package/dist/esm/api/favorites-api.js +2 -10
- package/dist/esm/api/file-controller-api.d.ts +0 -10
- package/dist/esm/api/file-controller-api.js +2 -10
- package/dist/esm/api/folder-controller-api.d.ts +0 -13
- package/dist/esm/api/folder-controller-api.js +4 -13
- package/dist/esm/api/settings-api.d.ts +0 -7
- package/dist/esm/api/settings-api.js +1 -7
- package/dist/esm/api/tus-controller-api.d.ts +0 -15
- package/dist/esm/api/tus-controller-api.js +8 -19
- package/dist/esm/base.d.ts +0 -24
- package/dist/esm/base.js +0 -19
- package/dist/esm/common.d.ts +4 -35
- package/dist/esm/common.js +14 -37
- package/dist/esm/configuration.d.ts +24 -17
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/models/ancestor-info.d.ts +0 -20
- package/dist/esm/models/audit-log-details-one-of.d.ts +29 -29
- package/dist/esm/models/audit-log-details.d.ts +3 -14
- package/dist/esm/models/audit-log.d.ts +2 -44
- package/dist/esm/models/audit-verification-result.d.ts +2 -29
- package/dist/esm/models/broken-link.d.ts +0 -20
- package/dist/esm/models/copy-audit.d.ts +3 -28
- package/dist/esm/models/copy-request.d.ts +0 -11
- package/dist/esm/models/copy-response.d.ts +0 -9
- package/dist/esm/models/create-blank-document-request.d.ts +0 -14
- package/dist/esm/models/create-folder-audit.d.ts +3 -23
- package/dist/esm/models/create-folder-request.d.ts +0 -12
- package/dist/esm/models/dashboard-statistics-response.d.ts +4 -29
- package/dist/esm/models/delete-audit.d.ts +3 -16
- package/dist/esm/models/delete-metadata-audit.d.ts +3 -16
- package/dist/esm/models/delete-metadata-request.d.ts +0 -7
- package/dist/esm/models/delete-request.d.ts +0 -7
- package/dist/esm/models/document-info.d.ts +0 -17
- package/dist/esm/models/document-position.d.ts +0 -25
- package/dist/esm/models/element-info.d.ts +0 -20
- package/dist/esm/models/file-type-stats.d.ts +0 -20
- package/dist/esm/models/filter-input.d.ts +0 -15
- package/dist/esm/models/folder-element-info.d.ts +0 -11
- package/dist/esm/models/folder-response.d.ts +0 -20
- package/dist/esm/models/index.d.ts +0 -11
- package/dist/esm/models/index.js +0 -11
- package/dist/esm/models/move-audit.d.ts +3 -16
- package/dist/esm/models/move-request.d.ts +0 -11
- package/dist/esm/models/rename-audit.d.ts +3 -16
- package/dist/esm/models/rename-request.d.ts +0 -10
- package/dist/esm/models/replace-audit.d.ts +3 -24
- package/dist/esm/models/search-by-audit-log-request.d.ts +0 -12
- package/dist/esm/models/search-by-metadata-request.d.ts +0 -12
- package/dist/esm/models/search-metadata-request.d.ts +0 -7
- package/dist/esm/models/settings.d.ts +0 -30
- package/dist/esm/models/sort-input.d.ts +0 -15
- package/dist/esm/models/storage-breakdown.d.ts +2 -22
- package/dist/esm/models/suggest.d.ts +0 -20
- package/dist/esm/models/tus-config-response.d.ts +0 -30
- package/dist/esm/models/tus-finalize-request.d.ts +0 -25
- package/dist/esm/models/tus-upload-info.d.ts +0 -30
- package/dist/esm/models/update-metadata-audit.d.ts +3 -18
- package/dist/esm/models/update-metadata-request.d.ts +0 -7
- package/dist/esm/models/upload-audit.d.ts +3 -30
- package/dist/esm/models/upload-response.d.ts +0 -35
- package/dist/models/ancestor-info.d.ts +0 -20
- package/dist/models/audit-log-details-one-of.d.ts +29 -29
- package/dist/models/audit-log-details.d.ts +3 -14
- package/dist/models/audit-log.d.ts +2 -44
- package/dist/models/audit-verification-result.d.ts +2 -29
- package/dist/models/broken-link.d.ts +0 -20
- package/dist/models/copy-audit.d.ts +3 -28
- package/dist/models/copy-request.d.ts +0 -11
- package/dist/models/copy-response.d.ts +0 -9
- package/dist/models/create-blank-document-request.d.ts +0 -14
- package/dist/models/create-folder-audit.d.ts +3 -23
- package/dist/models/create-folder-request.d.ts +0 -12
- package/dist/models/dashboard-statistics-response.d.ts +4 -29
- package/dist/models/delete-audit.d.ts +3 -16
- package/dist/models/delete-metadata-audit.d.ts +3 -16
- package/dist/models/delete-metadata-request.d.ts +0 -7
- package/dist/models/delete-request.d.ts +0 -7
- package/dist/models/document-info.d.ts +0 -17
- package/dist/models/document-position.d.ts +0 -25
- package/dist/models/element-info.d.ts +0 -20
- package/dist/models/file-type-stats.d.ts +0 -20
- package/dist/models/filter-input.d.ts +0 -15
- package/dist/models/folder-element-info.d.ts +0 -11
- package/dist/models/folder-response.d.ts +0 -20
- package/dist/models/index.d.ts +0 -11
- package/dist/models/index.js +0 -11
- package/dist/models/move-audit.d.ts +3 -16
- package/dist/models/move-request.d.ts +0 -11
- package/dist/models/rename-audit.d.ts +3 -16
- package/dist/models/rename-request.d.ts +0 -10
- package/dist/models/replace-audit.d.ts +3 -24
- package/dist/models/search-by-audit-log-request.d.ts +0 -12
- package/dist/models/search-by-metadata-request.d.ts +0 -12
- package/dist/models/search-metadata-request.d.ts +0 -7
- package/dist/models/settings.d.ts +0 -30
- package/dist/models/sort-input.d.ts +0 -15
- package/dist/models/storage-breakdown.d.ts +2 -22
- package/dist/models/suggest.d.ts +0 -20
- package/dist/models/tus-config-response.d.ts +0 -30
- package/dist/models/tus-finalize-request.d.ts +0 -25
- package/dist/models/tus-upload-info.d.ts +0 -30
- package/dist/models/update-metadata-audit.d.ts +3 -18
- package/dist/models/update-metadata-request.d.ts +0 -7
- package/dist/models/upload-audit.d.ts +3 -30
- package/dist/models/upload-response.d.ts +0 -35
- package/docs/AncestorInfo.md +24 -0
- package/docs/AuditControllerApi.md +160 -0
- package/docs/AuditLog.md +35 -0
- package/docs/AuditLogDetails.md +20 -0
- package/docs/AuditLogDetailsOneOf.md +42 -0
- package/docs/AuditVerificationResult.md +29 -0
- package/docs/BrokenLink.md +24 -0
- package/docs/CopyAudit.md +25 -0
- package/docs/CopyRequest.md +24 -0
- package/docs/CopyResponse.md +22 -0
- package/docs/CreateBlankDocumentRequest.md +24 -0
- package/docs/CreateFolderAudit.md +23 -0
- package/docs/CreateFolderRequest.md +22 -0
- package/docs/DashboardApi.md +52 -0
- package/docs/DashboardStatisticsResponse.md +26 -0
- package/docs/DeleteAudit.md +21 -0
- package/docs/DeleteMetadataAudit.md +21 -0
- package/docs/DeleteMetadataRequest.md +20 -0
- package/docs/DeleteRequest.md +20 -0
- package/docs/DocumentControllerApi.md +834 -0
- package/docs/DocumentInfo.md +30 -0
- package/docs/DocumentPosition.md +26 -0
- package/docs/DocumentSuggestionControllerApi.md +65 -0
- package/docs/ElementInfo.md +24 -0
- package/docs/FavoritesApi.md +215 -0
- package/docs/FileControllerApi.md +222 -0
- package/docs/FileTypeStats.md +24 -0
- package/docs/FilterInput.md +22 -0
- package/docs/FolderControllerApi.md +385 -0
- package/docs/FolderElementInfo.md +24 -0
- package/docs/FolderResponse.md +24 -0
- package/docs/MoveAudit.md +21 -0
- package/docs/MoveRequest.md +24 -0
- package/docs/RenameAudit.md +21 -0
- package/docs/RenameRequest.md +20 -0
- package/docs/ReplaceAudit.md +23 -0
- package/docs/SearchByAuditLogRequest.md +29 -0
- package/docs/SearchByMetadataRequest.md +29 -0
- package/docs/SearchMetadataRequest.md +20 -0
- package/docs/Settings.md +28 -0
- package/docs/SettingsApi.md +52 -0
- package/docs/SortInput.md +22 -0
- package/docs/StorageBreakdown.md +24 -0
- package/docs/Suggest.md +24 -0
- package/docs/TusConfigResponse.md +28 -0
- package/docs/TusControllerApi.md +493 -0
- package/docs/TusFinalizeRequest.md +26 -0
- package/docs/TusUploadInfo.md +28 -0
- package/docs/UpdateMetadataAudit.md +21 -0
- package/docs/UpdateMetadataRequest.md +20 -0
- package/docs/UploadAudit.md +25 -0
- package/docs/UploadResponse.md +30 -0
- package/graphql/document-search.graphqls +44 -44
- package/graphql/document.graphqls +114 -114
- package/models/ancestor-info.ts +0 -20
- package/models/audit-log-details-one-of.ts +33 -29
- package/models/audit-log-details.ts +3 -36
- package/models/audit-log.ts +2 -44
- package/models/audit-verification-result.ts +2 -29
- package/models/broken-link.ts +0 -20
- package/models/copy-audit.ts +6 -28
- package/models/copy-request.ts +0 -11
- package/models/copy-response.ts +0 -9
- package/models/create-blank-document-request.ts +0 -14
- package/models/create-folder-audit.ts +6 -22
- package/models/create-folder-request.ts +0 -12
- package/models/dashboard-statistics-response.ts +4 -29
- package/models/delete-audit.ts +6 -16
- package/models/delete-metadata-audit.ts +6 -16
- package/models/delete-metadata-request.ts +0 -7
- package/models/delete-request.ts +0 -7
- package/models/document-info.ts +0 -17
- package/models/document-position.ts +0 -25
- package/models/element-info.ts +0 -20
- package/models/file-type-stats.ts +0 -20
- package/models/filter-input.ts +0 -15
- package/models/folder-element-info.ts +0 -11
- package/models/folder-response.ts +0 -20
- package/models/index.ts +0 -11
- package/models/move-audit.ts +6 -16
- package/models/move-request.ts +0 -11
- package/models/rename-audit.ts +6 -16
- package/models/rename-request.ts +0 -10
- package/models/replace-audit.ts +6 -22
- package/models/search-by-audit-log-request.ts +0 -12
- package/models/search-by-metadata-request.ts +0 -12
- package/models/search-metadata-request.ts +0 -7
- package/models/settings.ts +0 -30
- package/models/sort-input.ts +0 -15
- package/models/storage-breakdown.ts +2 -22
- package/models/suggest.ts +0 -20
- package/models/tus-config-response.ts +0 -30
- package/models/tus-finalize-request.ts +0 -25
- package/models/tus-upload-info.ts +0 -30
- package/models/update-metadata-audit.ts +6 -16
- package/models/update-metadata-request.ts +0 -7
- package/models/upload-audit.ts +6 -28
- package/models/upload-response.ts +0 -35
- package/package.json +2 -2
- package/.openapi-generator/openfilz-api.json-generate-typescript-sdk.sha256 +0 -1
- package/dist/esm/models/audit-log-details-one-of1.d.ts +0 -37
- package/dist/esm/models/audit-log-details-one-of1.js +0 -14
- package/dist/esm/models/audit-log-details-one-of2.d.ts +0 -30
- package/dist/esm/models/audit-log-details-one-of2.js +0 -14
- package/dist/esm/models/audit-log-details-one-of3.d.ts +0 -30
- package/dist/esm/models/audit-log-details-one-of3.js +0 -14
- package/dist/esm/models/audit-log-details-one-of4.d.ts +0 -30
- package/dist/esm/models/audit-log-details-one-of4.js +0 -14
- package/dist/esm/models/audit-log-details-one-of5.d.ts +0 -30
- package/dist/esm/models/audit-log-details-one-of5.js +0 -14
- package/dist/esm/models/audit-log-details-one-of6.d.ts +0 -38
- package/dist/esm/models/audit-log-details-one-of6.js +0 -14
- package/dist/esm/models/audit-log-details-one-of7.d.ts +0 -32
- package/dist/esm/models/audit-log-details-one-of7.js +0 -14
- package/dist/esm/models/audit-log-details-one-of8.d.ts +0 -44
- package/dist/esm/models/audit-log-details-one-of8.js +0 -14
- package/dist/esm/models/audit-verification-result-broken-link.d.ts +0 -36
- package/dist/esm/models/audit-verification-result-broken-link.js +0 -14
- package/dist/esm/models/dashboard-statistics-response-storage-file-type-breakdown-inner.d.ts +0 -36
- package/dist/esm/models/dashboard-statistics-response-storage-file-type-breakdown-inner.js +0 -14
- package/dist/esm/models/dashboard-statistics-response-storage.d.ts +0 -37
- package/dist/esm/models/dashboard-statistics-response-storage.js +0 -14
- package/dist/models/audit-log-details-one-of1.d.ts +0 -37
- package/dist/models/audit-log-details-one-of1.js +0 -15
- package/dist/models/audit-log-details-one-of2.d.ts +0 -30
- package/dist/models/audit-log-details-one-of2.js +0 -15
- package/dist/models/audit-log-details-one-of3.d.ts +0 -30
- package/dist/models/audit-log-details-one-of3.js +0 -15
- package/dist/models/audit-log-details-one-of4.d.ts +0 -30
- package/dist/models/audit-log-details-one-of4.js +0 -15
- package/dist/models/audit-log-details-one-of5.d.ts +0 -30
- package/dist/models/audit-log-details-one-of5.js +0 -15
- package/dist/models/audit-log-details-one-of6.d.ts +0 -38
- package/dist/models/audit-log-details-one-of6.js +0 -15
- package/dist/models/audit-log-details-one-of7.d.ts +0 -32
- package/dist/models/audit-log-details-one-of7.js +0 -15
- package/dist/models/audit-log-details-one-of8.d.ts +0 -44
- package/dist/models/audit-log-details-one-of8.js +0 -15
- package/dist/models/audit-verification-result-broken-link.d.ts +0 -36
- package/dist/models/audit-verification-result-broken-link.js +0 -15
- package/dist/models/dashboard-statistics-response-storage-file-type-breakdown-inner.d.ts +0 -36
- package/dist/models/dashboard-statistics-response-storage-file-type-breakdown-inner.js +0 -15
- package/dist/models/dashboard-statistics-response-storage.d.ts +0 -37
- package/dist/models/dashboard-statistics-response-storage.js +0 -15
- package/models/audit-log-details-one-of1.ts +0 -45
- package/models/audit-log-details-one-of2.ts +0 -36
- package/models/audit-log-details-one-of3.ts +0 -36
- package/models/audit-log-details-one-of4.ts +0 -36
- package/models/audit-log-details-one-of5.ts +0 -36
- package/models/audit-log-details-one-of6.ts +0 -42
- package/models/audit-log-details-one-of7.ts +0 -36
- package/models/audit-log-details-one-of8.ts +0 -48
- package/models/audit-verification-result-broken-link.ts +0 -42
- package/models/dashboard-statistics-response-storage-file-type-breakdown-inner.ts +0 -42
- package/models/dashboard-statistics-response-storage.ts +0 -45
|
@@ -23,12 +23,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
import globalAxios from 'axios';
|
|
24
24
|
// Some imports not used depending on template conditions
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
29
|
/**
|
|
30
30
|
* TusControllerApi - axios parameter creator
|
|
31
|
-
* @export
|
|
32
31
|
*/
|
|
33
32
|
export const TusControllerApiAxiosParamCreator = function (configuration) {
|
|
34
33
|
return {
|
|
@@ -119,7 +118,7 @@ export const TusControllerApiAxiosParamCreator = function (configuration) {
|
|
|
119
118
|
if (uploadLength != null) {
|
|
120
119
|
localVarHeaderParameter['Upload-Length'] = typeof uploadLength === 'string'
|
|
121
120
|
? uploadLength
|
|
122
|
-
: JSON.stringify(uploadLength);
|
|
121
|
+
: JSON.stringify(uploadLength, replaceWithSerializableTypeIfNeeded);
|
|
123
122
|
}
|
|
124
123
|
if (uploadMetadata != null) {
|
|
125
124
|
localVarHeaderParameter['Upload-Metadata'] = String(uploadMetadata);
|
|
@@ -160,6 +159,7 @@ export const TusControllerApiAxiosParamCreator = function (configuration) {
|
|
|
160
159
|
// http bearer authentication required
|
|
161
160
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
162
161
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
162
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
163
163
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
164
164
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
165
165
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -189,6 +189,7 @@ export const TusControllerApiAxiosParamCreator = function (configuration) {
|
|
|
189
189
|
// authentication keycloak_auth required
|
|
190
190
|
// http bearer authentication required
|
|
191
191
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
192
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
192
193
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
193
194
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
194
195
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -221,6 +222,7 @@ export const TusControllerApiAxiosParamCreator = function (configuration) {
|
|
|
221
222
|
// authentication keycloak_auth required
|
|
222
223
|
// http bearer authentication required
|
|
223
224
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
225
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
224
226
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
225
227
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
226
228
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -285,6 +287,7 @@ export const TusControllerApiAxiosParamCreator = function (configuration) {
|
|
|
285
287
|
// authentication keycloak_auth required
|
|
286
288
|
// http bearer authentication required
|
|
287
289
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
290
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
288
291
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
289
292
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
290
293
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -328,12 +331,12 @@ export const TusControllerApiAxiosParamCreator = function (configuration) {
|
|
|
328
331
|
if (uploadOffset != null) {
|
|
329
332
|
localVarHeaderParameter['Upload-Offset'] = typeof uploadOffset === 'string'
|
|
330
333
|
? uploadOffset
|
|
331
|
-
: JSON.stringify(uploadOffset);
|
|
334
|
+
: JSON.stringify(uploadOffset, replaceWithSerializableTypeIfNeeded);
|
|
332
335
|
}
|
|
333
336
|
if (contentLength != null) {
|
|
334
337
|
localVarHeaderParameter['Content-Length'] = typeof contentLength === 'string'
|
|
335
338
|
? contentLength
|
|
336
|
-
: JSON.stringify(contentLength);
|
|
339
|
+
: JSON.stringify(contentLength, replaceWithSerializableTypeIfNeeded);
|
|
337
340
|
}
|
|
338
341
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
339
342
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -348,7 +351,6 @@ export const TusControllerApiAxiosParamCreator = function (configuration) {
|
|
|
348
351
|
};
|
|
349
352
|
/**
|
|
350
353
|
* TusControllerApi - functional programming interface
|
|
351
|
-
* @export
|
|
352
354
|
*/
|
|
353
355
|
export const TusControllerApiFp = function (configuration) {
|
|
354
356
|
const localVarAxiosParamCreator = TusControllerApiAxiosParamCreator(configuration);
|
|
@@ -504,7 +506,6 @@ export const TusControllerApiFp = function (configuration) {
|
|
|
504
506
|
};
|
|
505
507
|
/**
|
|
506
508
|
* TusControllerApi - factory interface
|
|
507
|
-
* @export
|
|
508
509
|
*/
|
|
509
510
|
export const TusControllerApiFactory = function (configuration, basePath, axios) {
|
|
510
511
|
const localVarFp = TusControllerApiFp(configuration);
|
|
@@ -606,9 +607,6 @@ export const TusControllerApiFactory = function (configuration, basePath, axios)
|
|
|
606
607
|
};
|
|
607
608
|
/**
|
|
608
609
|
* TusControllerApi - object-oriented interface
|
|
609
|
-
* @export
|
|
610
|
-
* @class TusControllerApi
|
|
611
|
-
* @extends {BaseAPI}
|
|
612
610
|
*/
|
|
613
611
|
export class TusControllerApi extends BaseAPI {
|
|
614
612
|
/**
|
|
@@ -616,7 +614,6 @@ export class TusControllerApi extends BaseAPI {
|
|
|
616
614
|
* @summary TUS capability discovery
|
|
617
615
|
* @param {*} [options] Override http request option.
|
|
618
616
|
* @throws {RequiredError}
|
|
619
|
-
* @memberof TusControllerApi
|
|
620
617
|
*/
|
|
621
618
|
_options(options) {
|
|
622
619
|
return TusControllerApiFp(this.configuration)._options(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -627,7 +624,6 @@ export class TusControllerApi extends BaseAPI {
|
|
|
627
624
|
* @param {string} uploadId Upload identifier
|
|
628
625
|
* @param {*} [options] Override http request option.
|
|
629
626
|
* @throws {RequiredError}
|
|
630
|
-
* @memberof TusControllerApi
|
|
631
627
|
*/
|
|
632
628
|
cancelUpload(uploadId, options) {
|
|
633
629
|
return TusControllerApiFp(this.configuration).cancelUpload(uploadId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -639,7 +635,6 @@ export class TusControllerApi extends BaseAPI {
|
|
|
639
635
|
* @param {string} [uploadMetadata]
|
|
640
636
|
* @param {*} [options] Override http request option.
|
|
641
637
|
* @throws {RequiredError}
|
|
642
|
-
* @memberof TusControllerApi
|
|
643
638
|
*/
|
|
644
639
|
createUpload(uploadLength, uploadMetadata, options) {
|
|
645
640
|
return TusControllerApiFp(this.configuration).createUpload(uploadLength, uploadMetadata, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -651,7 +646,6 @@ export class TusControllerApi extends BaseAPI {
|
|
|
651
646
|
* @param {TusFinalizeRequest} tusFinalizeRequest
|
|
652
647
|
* @param {*} [options] Override http request option.
|
|
653
648
|
* @throws {RequiredError}
|
|
654
|
-
* @memberof TusControllerApi
|
|
655
649
|
*/
|
|
656
650
|
finalizeUpload(uploadId, tusFinalizeRequest, options) {
|
|
657
651
|
return TusControllerApiFp(this.configuration).finalizeUpload(uploadId, tusFinalizeRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -661,7 +655,6 @@ export class TusControllerApi extends BaseAPI {
|
|
|
661
655
|
* @summary Get TUS configuration
|
|
662
656
|
* @param {*} [options] Override http request option.
|
|
663
657
|
* @throws {RequiredError}
|
|
664
|
-
* @memberof TusControllerApi
|
|
665
658
|
*/
|
|
666
659
|
getConfig(options) {
|
|
667
660
|
return TusControllerApiFp(this.configuration).getConfig(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -672,7 +665,6 @@ export class TusControllerApi extends BaseAPI {
|
|
|
672
665
|
* @param {string} uploadId Upload identifier
|
|
673
666
|
* @param {*} [options] Override http request option.
|
|
674
667
|
* @throws {RequiredError}
|
|
675
|
-
* @memberof TusControllerApi
|
|
676
668
|
*/
|
|
677
669
|
getUploadInfo(uploadId, options) {
|
|
678
670
|
return TusControllerApiFp(this.configuration).getUploadInfo(uploadId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -683,7 +675,6 @@ export class TusControllerApi extends BaseAPI {
|
|
|
683
675
|
* @param {string} uploadId Upload identifier
|
|
684
676
|
* @param {*} [options] Override http request option.
|
|
685
677
|
* @throws {RequiredError}
|
|
686
|
-
* @memberof TusControllerApi
|
|
687
678
|
*/
|
|
688
679
|
getUploadOffset(uploadId, options) {
|
|
689
680
|
return TusControllerApiFp(this.configuration).getUploadOffset(uploadId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -694,7 +685,6 @@ export class TusControllerApi extends BaseAPI {
|
|
|
694
685
|
* @param {string} uploadId Upload identifier
|
|
695
686
|
* @param {*} [options] Override http request option.
|
|
696
687
|
* @throws {RequiredError}
|
|
697
|
-
* @memberof TusControllerApi
|
|
698
688
|
*/
|
|
699
689
|
isUploadComplete(uploadId, options) {
|
|
700
690
|
return TusControllerApiFp(this.configuration).isUploadComplete(uploadId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -708,7 +698,6 @@ export class TusControllerApi extends BaseAPI {
|
|
|
708
698
|
* @param {number} [contentLength]
|
|
709
699
|
* @param {*} [options] Override http request option.
|
|
710
700
|
* @throws {RequiredError}
|
|
711
|
-
* @memberof TusControllerApi
|
|
712
701
|
*/
|
|
713
702
|
uploadChunk(uploadId, uploadOffset, requestBody, contentLength, options) {
|
|
714
703
|
return TusControllerApiFp(this.configuration).uploadChunk(uploadId, uploadOffset, requestBody, contentLength, options).then((request) => request(this.axios, this.basePath));
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -12,42 +12,22 @@
|
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const COLLECTION_FORMATS: {
|
|
20
16
|
csv: string;
|
|
21
17
|
ssv: string;
|
|
22
18
|
tsv: string;
|
|
23
19
|
pipes: string;
|
|
24
20
|
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
21
|
export interface RequestArgs {
|
|
31
22
|
url: string;
|
|
32
23
|
options: RawAxiosRequestConfig;
|
|
33
24
|
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
25
|
export declare class BaseAPI {
|
|
40
26
|
protected basePath: string;
|
|
41
27
|
protected axios: AxiosInstance;
|
|
42
28
|
protected configuration: Configuration | undefined;
|
|
43
29
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
30
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
31
|
export declare class RequiredError extends Error {
|
|
52
32
|
field: string;
|
|
53
33
|
constructor(field: string, msg?: string);
|
|
@@ -58,9 +38,5 @@ interface ServerMap {
|
|
|
58
38
|
description: string;
|
|
59
39
|
}[];
|
|
60
40
|
}
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
41
|
export declare const operationServerMap: ServerMap;
|
|
66
42
|
export {};
|
package/dist/esm/base.js
CHANGED
|
@@ -13,21 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import globalAxios from 'axios';
|
|
15
15
|
export const BASE_PATH = "http://localhost:8081".replace(/\/+$/, "");
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
16
|
export const COLLECTION_FORMATS = {
|
|
21
17
|
csv: ",",
|
|
22
18
|
ssv: " ",
|
|
23
19
|
tsv: "\t",
|
|
24
20
|
pipes: "|",
|
|
25
21
|
};
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
* @class BaseAPI
|
|
30
|
-
*/
|
|
31
22
|
export class BaseAPI {
|
|
32
23
|
constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
|
|
33
24
|
var _a;
|
|
@@ -40,12 +31,6 @@ export class BaseAPI {
|
|
|
40
31
|
}
|
|
41
32
|
}
|
|
42
33
|
;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @export
|
|
46
|
-
* @class RequiredError
|
|
47
|
-
* @extends {Error}
|
|
48
|
-
*/
|
|
49
34
|
export class RequiredError extends Error {
|
|
50
35
|
constructor(field, msg) {
|
|
51
36
|
super(msg);
|
|
@@ -53,8 +38,4 @@ export class RequiredError extends Error {
|
|
|
53
38
|
this.name = "RequiredError";
|
|
54
39
|
}
|
|
55
40
|
}
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
41
|
export const operationServerMap = {};
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -12,54 +12,23 @@
|
|
|
12
12
|
import type { Configuration } from "./configuration";
|
|
13
13
|
import type { RequestArgs } from "./base";
|
|
14
14
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
20
16
|
/**
|
|
21
17
|
*
|
|
22
18
|
* @throws {RequiredError}
|
|
23
|
-
* @export
|
|
24
19
|
*/
|
|
25
20
|
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
21
|
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
*/
|
|
35
22
|
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
23
|
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @export
|
|
44
|
-
*/
|
|
45
24
|
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @export
|
|
49
|
-
*/
|
|
50
25
|
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
26
|
/**
|
|
52
|
-
*
|
|
53
|
-
*
|
|
27
|
+
* JSON serialization helper function which replaces instances of unserializable types with serializable ones.
|
|
28
|
+
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
29
|
+
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
54
30
|
*/
|
|
31
|
+
export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
|
|
55
32
|
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
33
|
export declare const toPathString: (url: URL) => string;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
34
|
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
package/dist/esm/common.js
CHANGED
|
@@ -21,25 +21,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import { RequiredError } from "./base";
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
*/
|
|
28
24
|
export const DUMMY_BASE_URL = 'https://example.com';
|
|
29
25
|
/**
|
|
30
26
|
*
|
|
31
27
|
* @throws {RequiredError}
|
|
32
|
-
* @export
|
|
33
28
|
*/
|
|
34
29
|
export const assertParamExists = function (functionName, paramName, paramValue) {
|
|
35
30
|
if (paramValue === null || paramValue === undefined) {
|
|
36
31
|
throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
37
32
|
}
|
|
38
33
|
};
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @export
|
|
42
|
-
*/
|
|
43
34
|
export const setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
44
35
|
return __awaiter(this, void 0, void 0, function* () {
|
|
45
36
|
if (configuration && configuration.apiKey) {
|
|
@@ -50,19 +41,11 @@ export const setApiKeyToObject = function (object, keyParamName, configuration)
|
|
|
50
41
|
}
|
|
51
42
|
});
|
|
52
43
|
};
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @export
|
|
56
|
-
*/
|
|
57
44
|
export const setBasicAuthToObject = function (object, configuration) {
|
|
58
45
|
if (configuration && (configuration.username || configuration.password)) {
|
|
59
46
|
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
60
47
|
}
|
|
61
48
|
};
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @export
|
|
65
|
-
*/
|
|
66
49
|
export const setBearerAuthToObject = function (object, configuration) {
|
|
67
50
|
return __awaiter(this, void 0, void 0, function* () {
|
|
68
51
|
if (configuration && configuration.accessToken) {
|
|
@@ -73,10 +56,6 @@ export const setBearerAuthToObject = function (object, configuration) {
|
|
|
73
56
|
}
|
|
74
57
|
});
|
|
75
58
|
};
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @export
|
|
79
|
-
*/
|
|
80
59
|
export const setOAuthToObject = function (object, name, scopes, configuration) {
|
|
81
60
|
return __awaiter(this, void 0, void 0, function* () {
|
|
82
61
|
if (configuration && configuration.accessToken) {
|
|
@@ -91,7 +70,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
91
70
|
if (parameter == null)
|
|
92
71
|
return;
|
|
93
72
|
if (typeof parameter === "object") {
|
|
94
|
-
if (Array.isArray(parameter)) {
|
|
73
|
+
if (Array.isArray(parameter) || parameter instanceof Set) {
|
|
95
74
|
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
96
75
|
}
|
|
97
76
|
else {
|
|
@@ -107,39 +86,37 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
107
86
|
}
|
|
108
87
|
}
|
|
109
88
|
}
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
112
|
-
* @export
|
|
113
|
-
*/
|
|
114
89
|
export const setSearchParams = function (url, ...objects) {
|
|
115
90
|
const searchParams = new URLSearchParams(url.search);
|
|
116
91
|
setFlattenedQueryParams(searchParams, objects);
|
|
117
92
|
url.search = searchParams.toString();
|
|
118
93
|
};
|
|
119
94
|
/**
|
|
120
|
-
*
|
|
121
|
-
*
|
|
95
|
+
* JSON serialization helper function which replaces instances of unserializable types with serializable ones.
|
|
96
|
+
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
97
|
+
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
122
98
|
*/
|
|
99
|
+
// @ts-ignore
|
|
100
|
+
export const replaceWithSerializableTypeIfNeeded = function (key, value) {
|
|
101
|
+
if (value instanceof Set) {
|
|
102
|
+
return Array.from(value);
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
return value;
|
|
106
|
+
}
|
|
107
|
+
};
|
|
123
108
|
export const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
124
109
|
const nonString = typeof value !== 'string';
|
|
125
110
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
126
111
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
127
112
|
: nonString;
|
|
128
113
|
return needsSerialization
|
|
129
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
114
|
+
? JSON.stringify(value !== undefined ? value : {}, replaceWithSerializableTypeIfNeeded)
|
|
130
115
|
: (value || "");
|
|
131
116
|
};
|
|
132
|
-
/**
|
|
133
|
-
*
|
|
134
|
-
* @export
|
|
135
|
-
*/
|
|
136
117
|
export const toPathString = function (url) {
|
|
137
118
|
return url.pathname + url.search + url.hash;
|
|
138
119
|
};
|
|
139
|
-
/**
|
|
140
|
-
*
|
|
141
|
-
* @export
|
|
142
|
-
*/
|
|
143
120
|
export const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
144
121
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
145
122
|
var _a;
|
|
@@ -9,11 +9,23 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
interface AWSv4Configuration {
|
|
13
|
+
options?: {
|
|
14
|
+
region?: string;
|
|
15
|
+
service?: string;
|
|
16
|
+
};
|
|
17
|
+
credentials?: {
|
|
18
|
+
accessKeyId?: string;
|
|
19
|
+
secretAccessKey?: string;
|
|
20
|
+
sessionToken?: string;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
12
23
|
export interface ConfigurationParameters {
|
|
13
24
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
25
|
username?: string;
|
|
15
26
|
password?: string;
|
|
16
27
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
28
|
+
awsv4?: AWSv4Configuration;
|
|
17
29
|
basePath?: string;
|
|
18
30
|
serverIndex?: number;
|
|
19
31
|
baseOptions?: any;
|
|
@@ -23,49 +35,43 @@ export declare class Configuration {
|
|
|
23
35
|
/**
|
|
24
36
|
* parameter for apiKey security
|
|
25
37
|
* @param name security name
|
|
26
|
-
* @memberof Configuration
|
|
27
38
|
*/
|
|
28
39
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
40
|
/**
|
|
30
41
|
* parameter for basic security
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Configuration
|
|
34
42
|
*/
|
|
35
43
|
username?: string;
|
|
36
44
|
/**
|
|
37
45
|
* parameter for basic security
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Configuration
|
|
41
46
|
*/
|
|
42
47
|
password?: string;
|
|
43
48
|
/**
|
|
44
49
|
* parameter for oauth2 security
|
|
45
50
|
* @param name security name
|
|
46
51
|
* @param scopes oauth2 scope
|
|
47
|
-
* @memberof Configuration
|
|
48
52
|
*/
|
|
49
53
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
54
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* @
|
|
55
|
+
* parameter for aws4 signature security
|
|
56
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
57
|
+
* @param {string} options.region - aws region
|
|
58
|
+
* @param {string} options.service - name of the service.
|
|
59
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
60
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
61
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
54
62
|
* @memberof Configuration
|
|
55
63
|
*/
|
|
64
|
+
awsv4?: AWSv4Configuration;
|
|
65
|
+
/**
|
|
66
|
+
* override base path
|
|
67
|
+
*/
|
|
56
68
|
basePath?: string;
|
|
57
69
|
/**
|
|
58
70
|
* override server index
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof Configuration
|
|
62
71
|
*/
|
|
63
72
|
serverIndex?: number;
|
|
64
73
|
/**
|
|
65
74
|
* base options for axios calls
|
|
66
|
-
*
|
|
67
|
-
* @type {any}
|
|
68
|
-
* @memberof Configuration
|
|
69
75
|
*/
|
|
70
76
|
baseOptions?: any;
|
|
71
77
|
/**
|
|
@@ -89,3 +95,4 @@ export declare class Configuration {
|
|
|
89
95
|
*/
|
|
90
96
|
isJsonMime(mime: string): boolean;
|
|
91
97
|
}
|
|
98
|
+
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
2
|
/**
|
|
4
3
|
* openfilz-api
|
|
5
4
|
* API for Document Management System
|
|
@@ -18,6 +17,7 @@ export class Configuration {
|
|
|
18
17
|
this.username = param.username;
|
|
19
18
|
this.password = param.password;
|
|
20
19
|
this.accessToken = param.accessToken;
|
|
20
|
+
this.awsv4 = param.awsv4;
|
|
21
21
|
this.basePath = param.basePath;
|
|
22
22
|
this.serverIndex = param.serverIndex;
|
|
23
23
|
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
@@ -9,28 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AncestorInfo
|
|
16
|
-
*/
|
|
17
12
|
export interface AncestorInfo {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AncestorInfo
|
|
22
|
-
*/
|
|
23
13
|
'id'?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AncestorInfo
|
|
28
|
-
*/
|
|
29
14
|
'name'?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AncestorInfo
|
|
34
|
-
*/
|
|
35
15
|
'type'?: string;
|
|
36
16
|
}
|
|
@@ -9,34 +9,34 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { CopyAudit } from './copy-audit';
|
|
13
|
+
import type { CreateFolderAudit } from './create-folder-audit';
|
|
14
|
+
import type { DeleteAudit } from './delete-audit';
|
|
15
|
+
import type { DeleteMetadataAudit } from './delete-metadata-audit';
|
|
16
|
+
import type { MoveAudit } from './move-audit';
|
|
17
|
+
import type { RenameAudit } from './rename-audit';
|
|
18
|
+
import type { ReplaceAudit } from './replace-audit';
|
|
19
|
+
import type { UpdateMetadataAudit } from './update-metadata-audit';
|
|
20
|
+
import type { UploadAudit } from './upload-audit';
|
|
12
21
|
/**
|
|
13
|
-
* type
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AuditLogDetailsOneOf
|
|
22
|
+
* @type AuditLogDetailsOneOf
|
|
16
23
|
*/
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof AuditLogDetailsOneOf
|
|
40
|
-
*/
|
|
41
|
-
'sourceFolderId'?: string;
|
|
42
|
-
}
|
|
24
|
+
export type AuditLogDetailsOneOf = {
|
|
25
|
+
type: 'CopyAudit';
|
|
26
|
+
} & CopyAudit | {
|
|
27
|
+
type: 'CreateFolderAudit';
|
|
28
|
+
} & CreateFolderAudit | {
|
|
29
|
+
type: 'DeleteAudit';
|
|
30
|
+
} & DeleteAudit | {
|
|
31
|
+
type: 'DeleteMetadataAudit';
|
|
32
|
+
} & DeleteMetadataAudit | {
|
|
33
|
+
type: 'MoveAudit';
|
|
34
|
+
} & MoveAudit | {
|
|
35
|
+
type: 'RenameAudit';
|
|
36
|
+
} & RenameAudit | {
|
|
37
|
+
type: 'ReplaceAudit';
|
|
38
|
+
} & ReplaceAudit | {
|
|
39
|
+
type: 'UpdateMetadataAudit';
|
|
40
|
+
} & UpdateMetadataAudit | {
|
|
41
|
+
type: 'UploadAudit';
|
|
42
|
+
} & UploadAudit;
|
|
@@ -9,17 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
import type { AuditLogDetailsOneOf3 } from './audit-log-details-one-of3';
|
|
16
|
-
import type { AuditLogDetailsOneOf4 } from './audit-log-details-one-of4';
|
|
17
|
-
import type { AuditLogDetailsOneOf5 } from './audit-log-details-one-of5';
|
|
18
|
-
import type { AuditLogDetailsOneOf6 } from './audit-log-details-one-of6';
|
|
19
|
-
import type { AuditLogDetailsOneOf7 } from './audit-log-details-one-of7';
|
|
20
|
-
import type { AuditLogDetailsOneOf8 } from './audit-log-details-one-of8';
|
|
21
|
-
/**
|
|
22
|
-
* @type AuditLogDetails
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
export type AuditLogDetails = AuditLogDetailsOneOf | AuditLogDetailsOneOf1 | AuditLogDetailsOneOf2 | AuditLogDetailsOneOf3 | AuditLogDetailsOneOf4 | AuditLogDetailsOneOf5 | AuditLogDetailsOneOf6 | AuditLogDetailsOneOf7 | AuditLogDetailsOneOf8;
|
|
12
|
+
export interface AuditLogDetails {
|
|
13
|
+
'type': string;
|
|
14
|
+
}
|