@coscine/api-client 2.12.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/dist/index.js +4603 -4213
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +4611 -4220
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api/api.js +7682 -0
- package/dist/lib/Coscine.Api/api.js.map +1 -0
- package/dist/lib/{Coscine.Api.Notices → Coscine.Api}/base.js +5 -5
- package/dist/lib/Coscine.Api/base.js.map +1 -0
- package/dist/lib/{Coscine.Api.Blob → Coscine.Api}/common.js +4 -4
- package/dist/lib/Coscine.Api/common.js.map +1 -0
- package/dist/lib/{Coscine.Api.Blob → Coscine.Api}/configuration.js +4 -4
- package/dist/lib/Coscine.Api/configuration.js.map +1 -0
- package/dist/lib/{Coscine.Api.Organization → Coscine.Api}/index.js +4 -4
- package/dist/lib/Coscine.Api/index.js.map +1 -0
- package/dist/lib/apis.js +65 -63
- package/dist/lib/apis.js.map +1 -1
- package/dist/lib/index.js +10 -9
- package/dist/lib/index.js.map +1 -1
- package/dist/types/Coscine.Api/api.d.ts +7872 -0
- package/dist/types/{Coscine.Api.Organization → Coscine.Api}/base.d.ts +4 -4
- package/dist/types/{Coscine.Api.Notices → Coscine.Api}/common.d.ts +4 -4
- package/dist/types/{Coscine.Api.Blob → Coscine.Api}/configuration.d.ts +4 -4
- package/dist/types/Coscine.Api/index.d.ts +13 -0
- package/dist/types/apis.d.ts +114 -93
- package/dist/types/index.d.ts +229 -187
- package/package.json +3 -3
- package/dist/lib/Coscine.Api.Blob/api.js +0 -301
- package/dist/lib/Coscine.Api.Blob/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Blob/base.js +0 -65
- package/dist/lib/Coscine.Api.Blob/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Blob/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Blob/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Blob/index.js +0 -32
- package/dist/lib/Coscine.Api.Blob/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Metadata/api.js +0 -450
- package/dist/lib/Coscine.Api.Metadata/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Metadata/base.js +0 -65
- package/dist/lib/Coscine.Api.Metadata/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Metadata/common.js +0 -153
- package/dist/lib/Coscine.Api.Metadata/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Metadata/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Metadata/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Metadata/index.js +0 -32
- package/dist/lib/Coscine.Api.Metadata/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Notices/api.js +0 -207
- package/dist/lib/Coscine.Api.Notices/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Notices/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Notices/common.js +0 -153
- package/dist/lib/Coscine.Api.Notices/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Notices/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Notices/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Notices/index.js +0 -32
- package/dist/lib/Coscine.Api.Notices/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Organization/api.js +0 -398
- package/dist/lib/Coscine.Api.Organization/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Organization/base.js +0 -65
- package/dist/lib/Coscine.Api.Organization/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Organization/common.js +0 -153
- package/dist/lib/Coscine.Api.Organization/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Organization/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Organization/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Organization/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Pid/api.js +0 -204
- package/dist/lib/Coscine.Api.Pid/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Pid/base.js +0 -65
- package/dist/lib/Coscine.Api.Pid/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Pid/common.js +0 -153
- package/dist/lib/Coscine.Api.Pid/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Pid/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Pid/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Pid/index.js +0 -32
- package/dist/lib/Coscine.Api.Pid/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Project/api.js +0 -2117
- package/dist/lib/Coscine.Api.Project/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Project/base.js +0 -65
- package/dist/lib/Coscine.Api.Project/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Project/common.js +0 -153
- package/dist/lib/Coscine.Api.Project/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Project/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Project/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Project/index.js +0 -32
- package/dist/lib/Coscine.Api.Project/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Resources/api.js +0 -1307
- package/dist/lib/Coscine.Api.Resources/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Resources/base.js +0 -65
- package/dist/lib/Coscine.Api.Resources/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Resources/common.js +0 -153
- package/dist/lib/Coscine.Api.Resources/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Resources/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Resources/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Resources/index.js +0 -32
- package/dist/lib/Coscine.Api.Resources/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Token/api.js +0 -385
- package/dist/lib/Coscine.Api.Token/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Token/base.js +0 -65
- package/dist/lib/Coscine.Api.Token/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Token/common.js +0 -153
- package/dist/lib/Coscine.Api.Token/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Token/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Token/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Token/index.js +0 -32
- package/dist/lib/Coscine.Api.Token/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Tree/api.js +0 -231
- package/dist/lib/Coscine.Api.Tree/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Tree/base.js +0 -65
- package/dist/lib/Coscine.Api.Tree/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Tree/common.js +0 -153
- package/dist/lib/Coscine.Api.Tree/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Tree/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Tree/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Tree/index.js +0 -32
- package/dist/lib/Coscine.Api.Tree/index.js.map +0 -1
- package/dist/lib/Coscine.Api.User/api.js +0 -965
- package/dist/lib/Coscine.Api.User/api.js.map +0 -1
- package/dist/lib/Coscine.Api.User/base.js +0 -65
- package/dist/lib/Coscine.Api.User/base.js.map +0 -1
- package/dist/lib/Coscine.Api.User/common.js +0 -153
- package/dist/lib/Coscine.Api.User/common.js.map +0 -1
- package/dist/lib/Coscine.Api.User/configuration.js +0 -43
- package/dist/lib/Coscine.Api.User/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.User/index.js +0 -32
- package/dist/lib/Coscine.Api.User/index.js.map +0 -1
- package/dist/types/Coscine.Api.Blob/api.d.ts +0 -155
- package/dist/types/Coscine.Api.Blob/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Blob/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Blob/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Metadata/api.d.ts +0 -299
- package/dist/types/Coscine.Api.Metadata/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Metadata/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Metadata/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Metadata/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Notices/api.d.ts +0 -153
- package/dist/types/Coscine.Api.Notices/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Notices/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Notices/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Organization/api.d.ts +0 -256
- package/dist/types/Coscine.Api.Organization/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Organization/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Organization/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Pid/api.d.ts +0 -149
- package/dist/types/Coscine.Api.Pid/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Pid/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Pid/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Pid/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Project/api.d.ts +0 -1876
- package/dist/types/Coscine.Api.Project/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Project/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Project/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Project/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Resources/api.d.ts +0 -1733
- package/dist/types/Coscine.Api.Resources/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Resources/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Resources/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Resources/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Token/api.d.ts +0 -316
- package/dist/types/Coscine.Api.Token/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Token/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Token/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Token/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Tree/api.d.ts +0 -122
- package/dist/types/Coscine.Api.Tree/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Tree/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Tree/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Tree/index.d.ts +0 -13
- package/dist/types/Coscine.Api.User/api.d.ts +0 -745
- package/dist/types/Coscine.Api.User/base.d.ts +0 -55
- package/dist/types/Coscine.Api.User/common.d.ts +0 -65
- package/dist/types/Coscine.Api.User/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.User/index.d.ts +0 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coscine/api-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "This project contains the generated api connection classes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"coscine",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"rimraf": "^3.0.2",
|
|
111
111
|
"rollup": "^2.56.3",
|
|
112
112
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
113
|
-
"rollup-plugin-typescript2": "^0.
|
|
113
|
+
"rollup-plugin-typescript2": "^0.35.0",
|
|
114
114
|
"semantic-release": "^17.4.7",
|
|
115
115
|
"shelljs": "^0.8.4",
|
|
116
116
|
"ts-jest": "^27.0.5",
|
|
@@ -122,5 +122,5 @@
|
|
|
122
122
|
"dependencies": {
|
|
123
123
|
"axios": "^0.21.1"
|
|
124
124
|
},
|
|
125
|
-
"packageManager": "yarn@3.
|
|
125
|
+
"packageManager": "yarn@3.6.3"
|
|
126
126
|
}
|
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Coscine.Api.Blob
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 3.2.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
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.BlobApi = exports.BlobApiFactory = exports.BlobApiFp = exports.BlobApiAxiosParamCreator = void 0;
|
|
29
|
-
const axios_1 = __importDefault(require("axios"));
|
|
30
|
-
// Some imports not used depending on template conditions
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
const common_1 = require("./common");
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
const base_1 = require("./base");
|
|
35
|
-
/**
|
|
36
|
-
* BlobApi - axios parameter creator
|
|
37
|
-
* @export
|
|
38
|
-
*/
|
|
39
|
-
const BlobApiAxiosParamCreator = function (configuration) {
|
|
40
|
-
return {
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @summary This method deletes a given file
|
|
44
|
-
* @param {string} resourceId Id of the resource
|
|
45
|
-
* @param {string} [path] Path to the file
|
|
46
|
-
* @param {*} [options] Override http request option.
|
|
47
|
-
* @throws {RequiredError}
|
|
48
|
-
*/
|
|
49
|
-
blobDeleteFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
50
|
-
// verify required parameter 'resourceId' is not null or undefined
|
|
51
|
-
(0, common_1.assertParamExists)('blobDeleteFileWithParameter', 'resourceId', resourceId);
|
|
52
|
-
const localVarPath = `/Blob/{resourceId}`
|
|
53
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
54
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
55
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
56
|
-
let baseOptions;
|
|
57
|
-
if (configuration) {
|
|
58
|
-
baseOptions = configuration.baseOptions;
|
|
59
|
-
}
|
|
60
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
61
|
-
const localVarHeaderParameter = {};
|
|
62
|
-
const localVarQueryParameter = {};
|
|
63
|
-
// authentication JWT token required
|
|
64
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
65
|
-
if (path !== undefined) {
|
|
66
|
-
localVarQueryParameter['path'] = path;
|
|
67
|
-
}
|
|
68
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
69
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
71
|
-
return {
|
|
72
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
73
|
-
options: localVarRequestOptions,
|
|
74
|
-
};
|
|
75
|
-
}),
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @summary This method checks if the given file exists and returns it
|
|
79
|
-
* @param {string} resourceId Id of the resource
|
|
80
|
-
* @param {string} [path] Path to the file
|
|
81
|
-
* @param {*} [options] Override http request option.
|
|
82
|
-
* @throws {RequiredError}
|
|
83
|
-
*/
|
|
84
|
-
blobGetFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
85
|
-
// verify required parameter 'resourceId' is not null or undefined
|
|
86
|
-
(0, common_1.assertParamExists)('blobGetFileWithParameter', 'resourceId', resourceId);
|
|
87
|
-
const localVarPath = `/Blob/{resourceId}`
|
|
88
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
89
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
90
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
91
|
-
let baseOptions;
|
|
92
|
-
if (configuration) {
|
|
93
|
-
baseOptions = configuration.baseOptions;
|
|
94
|
-
}
|
|
95
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
96
|
-
const localVarHeaderParameter = {};
|
|
97
|
-
const localVarQueryParameter = {};
|
|
98
|
-
// authentication JWT token required
|
|
99
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
100
|
-
if (path !== undefined) {
|
|
101
|
-
localVarQueryParameter['path'] = path;
|
|
102
|
-
}
|
|
103
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
104
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
105
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
106
|
-
return {
|
|
107
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
108
|
-
options: localVarRequestOptions,
|
|
109
|
-
};
|
|
110
|
-
}),
|
|
111
|
-
/**
|
|
112
|
-
*
|
|
113
|
-
* @summary This method uploads a given File
|
|
114
|
-
* @param {string} resourceId Id of the resource
|
|
115
|
-
* @param {string} [path] Path to the file
|
|
116
|
-
* @param {Array<any>} [files]
|
|
117
|
-
* @param {*} [options] Override http request option.
|
|
118
|
-
* @throws {RequiredError}
|
|
119
|
-
*/
|
|
120
|
-
blobUploadFileWithParameter: (resourceId, path, files, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
121
|
-
// verify required parameter 'resourceId' is not null or undefined
|
|
122
|
-
(0, common_1.assertParamExists)('blobUploadFileWithParameter', 'resourceId', resourceId);
|
|
123
|
-
const localVarPath = `/Blob/{resourceId}`
|
|
124
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
125
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
126
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
127
|
-
let baseOptions;
|
|
128
|
-
if (configuration) {
|
|
129
|
-
baseOptions = configuration.baseOptions;
|
|
130
|
-
}
|
|
131
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
132
|
-
const localVarHeaderParameter = {};
|
|
133
|
-
const localVarQueryParameter = {};
|
|
134
|
-
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
135
|
-
// authentication JWT token required
|
|
136
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
137
|
-
if (path !== undefined) {
|
|
138
|
-
localVarQueryParameter['path'] = path;
|
|
139
|
-
}
|
|
140
|
-
if (files) {
|
|
141
|
-
files.forEach((element) => {
|
|
142
|
-
localVarFormParams.append('files', element);
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
146
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
147
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
148
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
149
|
-
localVarRequestOptions.data = localVarFormParams;
|
|
150
|
-
return {
|
|
151
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
152
|
-
options: localVarRequestOptions,
|
|
153
|
-
};
|
|
154
|
-
}),
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
exports.BlobApiAxiosParamCreator = BlobApiAxiosParamCreator;
|
|
158
|
-
/**
|
|
159
|
-
* BlobApi - functional programming interface
|
|
160
|
-
* @export
|
|
161
|
-
*/
|
|
162
|
-
const BlobApiFp = function (configuration) {
|
|
163
|
-
const localVarAxiosParamCreator = (0, exports.BlobApiAxiosParamCreator)(configuration);
|
|
164
|
-
return {
|
|
165
|
-
/**
|
|
166
|
-
*
|
|
167
|
-
* @summary This method deletes a given file
|
|
168
|
-
* @param {string} resourceId Id of the resource
|
|
169
|
-
* @param {string} [path] Path to the file
|
|
170
|
-
* @param {*} [options] Override http request option.
|
|
171
|
-
* @throws {RequiredError}
|
|
172
|
-
*/
|
|
173
|
-
blobDeleteFileWithParameter(resourceId, path, options) {
|
|
174
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
175
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobDeleteFileWithParameter(resourceId, path, options);
|
|
176
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
177
|
-
});
|
|
178
|
-
},
|
|
179
|
-
/**
|
|
180
|
-
*
|
|
181
|
-
* @summary This method checks if the given file exists and returns it
|
|
182
|
-
* @param {string} resourceId Id of the resource
|
|
183
|
-
* @param {string} [path] Path to the file
|
|
184
|
-
* @param {*} [options] Override http request option.
|
|
185
|
-
* @throws {RequiredError}
|
|
186
|
-
*/
|
|
187
|
-
blobGetFileWithParameter(resourceId, path, options) {
|
|
188
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
189
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobGetFileWithParameter(resourceId, path, options);
|
|
190
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
191
|
-
});
|
|
192
|
-
},
|
|
193
|
-
/**
|
|
194
|
-
*
|
|
195
|
-
* @summary This method uploads a given File
|
|
196
|
-
* @param {string} resourceId Id of the resource
|
|
197
|
-
* @param {string} [path] Path to the file
|
|
198
|
-
* @param {Array<any>} [files]
|
|
199
|
-
* @param {*} [options] Override http request option.
|
|
200
|
-
* @throws {RequiredError}
|
|
201
|
-
*/
|
|
202
|
-
blobUploadFileWithParameter(resourceId, path, files, options) {
|
|
203
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
204
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobUploadFileWithParameter(resourceId, path, files, options);
|
|
205
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
206
|
-
});
|
|
207
|
-
},
|
|
208
|
-
};
|
|
209
|
-
};
|
|
210
|
-
exports.BlobApiFp = BlobApiFp;
|
|
211
|
-
/**
|
|
212
|
-
* BlobApi - factory interface
|
|
213
|
-
* @export
|
|
214
|
-
*/
|
|
215
|
-
const BlobApiFactory = function (configuration, basePath, axios) {
|
|
216
|
-
const localVarFp = (0, exports.BlobApiFp)(configuration);
|
|
217
|
-
return {
|
|
218
|
-
/**
|
|
219
|
-
*
|
|
220
|
-
* @summary This method deletes a given file
|
|
221
|
-
* @param {string} resourceId Id of the resource
|
|
222
|
-
* @param {string} [path] Path to the file
|
|
223
|
-
* @param {*} [options] Override http request option.
|
|
224
|
-
* @throws {RequiredError}
|
|
225
|
-
*/
|
|
226
|
-
blobDeleteFileWithParameter(resourceId, path, options) {
|
|
227
|
-
return localVarFp.blobDeleteFileWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
|
|
228
|
-
},
|
|
229
|
-
/**
|
|
230
|
-
*
|
|
231
|
-
* @summary This method checks if the given file exists and returns it
|
|
232
|
-
* @param {string} resourceId Id of the resource
|
|
233
|
-
* @param {string} [path] Path to the file
|
|
234
|
-
* @param {*} [options] Override http request option.
|
|
235
|
-
* @throws {RequiredError}
|
|
236
|
-
*/
|
|
237
|
-
blobGetFileWithParameter(resourceId, path, options) {
|
|
238
|
-
return localVarFp.blobGetFileWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
|
|
239
|
-
},
|
|
240
|
-
/**
|
|
241
|
-
*
|
|
242
|
-
* @summary This method uploads a given File
|
|
243
|
-
* @param {string} resourceId Id of the resource
|
|
244
|
-
* @param {string} [path] Path to the file
|
|
245
|
-
* @param {Array<any>} [files]
|
|
246
|
-
* @param {*} [options] Override http request option.
|
|
247
|
-
* @throws {RequiredError}
|
|
248
|
-
*/
|
|
249
|
-
blobUploadFileWithParameter(resourceId, path, files, options) {
|
|
250
|
-
return localVarFp.blobUploadFileWithParameter(resourceId, path, files, options).then((request) => request(axios, basePath));
|
|
251
|
-
},
|
|
252
|
-
};
|
|
253
|
-
};
|
|
254
|
-
exports.BlobApiFactory = BlobApiFactory;
|
|
255
|
-
/**
|
|
256
|
-
* BlobApi - object-oriented interface
|
|
257
|
-
* @export
|
|
258
|
-
* @class BlobApi
|
|
259
|
-
* @extends {BaseAPI}
|
|
260
|
-
*/
|
|
261
|
-
class BlobApi extends base_1.BaseAPI {
|
|
262
|
-
/**
|
|
263
|
-
*
|
|
264
|
-
* @summary This method deletes a given file
|
|
265
|
-
* @param {string} resourceId Id of the resource
|
|
266
|
-
* @param {string} [path] Path to the file
|
|
267
|
-
* @param {*} [options] Override http request option.
|
|
268
|
-
* @throws {RequiredError}
|
|
269
|
-
* @memberof BlobApi
|
|
270
|
-
*/
|
|
271
|
-
blobDeleteFileWithParameter(resourceId, path, options) {
|
|
272
|
-
return (0, exports.BlobApiFp)(this.configuration).blobDeleteFileWithParameter(resourceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
273
|
-
}
|
|
274
|
-
/**
|
|
275
|
-
*
|
|
276
|
-
* @summary This method checks if the given file exists and returns it
|
|
277
|
-
* @param {string} resourceId Id of the resource
|
|
278
|
-
* @param {string} [path] Path to the file
|
|
279
|
-
* @param {*} [options] Override http request option.
|
|
280
|
-
* @throws {RequiredError}
|
|
281
|
-
* @memberof BlobApi
|
|
282
|
-
*/
|
|
283
|
-
blobGetFileWithParameter(resourceId, path, options) {
|
|
284
|
-
return (0, exports.BlobApiFp)(this.configuration).blobGetFileWithParameter(resourceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
285
|
-
}
|
|
286
|
-
/**
|
|
287
|
-
*
|
|
288
|
-
* @summary This method uploads a given File
|
|
289
|
-
* @param {string} resourceId Id of the resource
|
|
290
|
-
* @param {string} [path] Path to the file
|
|
291
|
-
* @param {Array<any>} [files]
|
|
292
|
-
* @param {*} [options] Override http request option.
|
|
293
|
-
* @throws {RequiredError}
|
|
294
|
-
* @memberof BlobApi
|
|
295
|
-
*/
|
|
296
|
-
blobUploadFileWithParameter(resourceId, path, files, options) {
|
|
297
|
-
return (0, exports.BlobApiFp)(this.configuration).blobUploadFileWithParameter(resourceId, path, files, options).then((request) => request(this.axios, this.basePath));
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
exports.BlobApi = BlobApi;
|
|
301
|
-
//# sourceMappingURL=api.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Blob/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;AAIH,kDAAiE;AACjE,yDAAyD;AACzD,aAAa;AACb,qCAA4N;AAC5N,aAAa;AACb,iCAA4F;AAG5F;;;GAGG;AACI,MAAM,wBAAwB,GAAG,UAAU,aAA6B;IAC3E,OAAO;QACH;;;;;;;WAOG;QACH,2BAA2B,EAAE,CAAO,UAAkB,EAAE,IAAa,EAAE,UAAe,EAAE,EAAwB,EAAE;YAC9G,kEAAkE;YAClE,IAAA,0BAAiB,EAAC,6BAA6B,EAAE,YAAY,EAAE,UAAU,CAAC,CAAA;YA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MAAa,OAAQ,SAAQ,cAAO;IAChC;;;;;;;;OAQG;IACI,2BAA2B,CAAC,UAAkB,EAAE,IAAa,EAAE,OAAa;QAC/E,OAAO,IAAA,iBAAS,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,2BAA2B,CAAC,UAAU,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACtJ,CAAC;IAED;;;;;;;;OAQG;IACI,wBAAwB,CAAC,UAAkB,EAAE,IAAa,EAAE,OAAa;QAC5E,OAAO,IAAA,iBAAS,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,wBAAwB,CAAC,UAAU,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACnJ,CAAC;IAED;;;;;;;;;OASG;IACI,2BAA2B,CAAC,UAAkB,EAAE,IAAa,EAAE,KAAkB,EAAE,OAAa;QACnG,OAAO,IAAA,iBAAS,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,2BAA2B,CAAC,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC7J,CAAC;CACJ;AAxCD,0BAwCC"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Coscine.Api.Blob
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 3.2.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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
-
};
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
20
|
-
// Some imports not used depending on template conditions
|
|
21
|
-
// @ts-ignore
|
|
22
|
-
const axios_1 = __importDefault(require("axios"));
|
|
23
|
-
exports.BASE_PATH = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
*/
|
|
28
|
-
exports.COLLECTION_FORMATS = {
|
|
29
|
-
csv: ",",
|
|
30
|
-
ssv: " ",
|
|
31
|
-
tsv: "\t",
|
|
32
|
-
pipes: "|",
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
|
-
class BaseAPI {
|
|
40
|
-
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
|
|
41
|
-
this.basePath = basePath;
|
|
42
|
-
this.axios = axios;
|
|
43
|
-
if (configuration) {
|
|
44
|
-
this.configuration = configuration;
|
|
45
|
-
this.basePath = configuration.basePath || this.basePath;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
exports.BaseAPI = BaseAPI;
|
|
50
|
-
;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @export
|
|
54
|
-
* @class RequiredError
|
|
55
|
-
* @extends {Error}
|
|
56
|
-
*/
|
|
57
|
-
class RequiredError extends Error {
|
|
58
|
-
constructor(field, msg) {
|
|
59
|
-
super(msg);
|
|
60
|
-
this.field = field;
|
|
61
|
-
this.name = "RequiredError";
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
exports.RequiredError = RequiredError;
|
|
65
|
-
//# sourceMappingURL=base.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Blob/base.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAIH,yDAAyD;AACzD,aAAa;AACb,kDAAiE;AAEpD,QAAA,SAAS,GAAG,0EAA0E,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAExH;;;GAGG;AACU,QAAA,kBAAkB,GAAG;IAC9B,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,IAAI;IACT,KAAK,EAAE,GAAG;CACb,CAAC;AAYF;;;;GAIG;AACH,MAAa,OAAO;IAGhB,YAAY,aAA6B,EAAY,WAAmB,iBAAS,EAAY,QAAuB,eAAW;QAA1E,aAAQ,GAAR,QAAQ,CAAoB;QAAY,UAAK,GAAL,KAAK,CAA6B;QAC3H,IAAI,aAAa,EAAE;YACf,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;YACnC,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC;SAC3D;IACL,CAAC;CACJ;AATD,0BASC;AAAA,CAAC;AAEF;;;;;GAKG;AACH,MAAa,aAAc,SAAQ,KAAK;IAEpC,YAAmB,KAAa,EAAE,GAAY;QAC1C,KAAK,CAAC,GAAG,CAAC,CAAC;QADI,UAAK,GAAL,KAAK,CAAQ;QADhC,SAAI,GAAoB,eAAe,CAAC;IAG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2EC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Coscine.Api.Blob
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 3.2.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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
-
if (k2 === undefined) k2 = k;
|
|
17
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
-
}
|
|
21
|
-
Object.defineProperty(o, k2, desc);
|
|
22
|
-
}) : (function(o, m, k, k2) {
|
|
23
|
-
if (k2 === undefined) k2 = k;
|
|
24
|
-
o[k2] = m[k];
|
|
25
|
-
}));
|
|
26
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
27
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
|
-
};
|
|
29
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
__exportStar(require("./api"), exports);
|
|
31
|
-
__exportStar(require("./configuration"), exports);
|
|
32
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Blob/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAGH,wCAAsB;AACtB,kDAAgC"}
|