@coscine/api-client 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +70 -70
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +70 -70
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.Blob/api.js +52 -52
- package/dist/lib/Coscine.Api.Blob/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Blob/base.js +1 -1
- package/dist/lib/Coscine.Api.Blob/common.js +1 -1
- package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Blob/index.js +1 -1
- package/dist/lib/Coscine.Api.Tree/api.js +35 -35
- package/dist/lib/Coscine.Api.Tree/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Tree/base.js +1 -1
- package/dist/lib/Coscine.Api.Tree/common.js +1 -1
- package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Tree/index.js +1 -1
- package/dist/types/Coscine.Api.Blob/api.d.ts +25 -25
- package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/api.d.ts +17 -17
- package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
- package/dist/types/apis.d.ts +5 -5
- package/dist/types/index.d.ts +10 -10
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Coscine.Api.Blob
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.5.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -42,18 +42,15 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
42
42
|
*
|
|
43
43
|
* @summary This method deletes a given file
|
|
44
44
|
* @param {string} resourceId Id of the resource
|
|
45
|
-
* @param {string} path Path to the file
|
|
45
|
+
* @param {string} [path] Path to the file
|
|
46
46
|
* @param {*} [options] Override http request option.
|
|
47
47
|
* @throws {RequiredError}
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
blobDeleteFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
50
50
|
// verify required parameter 'resourceId' is not null or undefined
|
|
51
|
-
(0, common_1.assertParamExists)('
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
const localVarPath = `/Blob/{resourceId}/{path}`
|
|
55
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
56
|
-
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
51
|
+
(0, common_1.assertParamExists)('blobDeleteFileWithParameter', 'resourceId', resourceId);
|
|
52
|
+
const localVarPath = `/Blob/{resourceId}`
|
|
53
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
57
54
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58
55
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
59
56
|
let baseOptions;
|
|
@@ -65,6 +62,9 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
65
62
|
const localVarQueryParameter = {};
|
|
66
63
|
// authentication JWT token required
|
|
67
64
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
65
|
+
if (path !== undefined) {
|
|
66
|
+
localVarQueryParameter['path'] = path;
|
|
67
|
+
}
|
|
68
68
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
69
69
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70
70
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -77,18 +77,15 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
77
77
|
*
|
|
78
78
|
* @summary This method checks if the given file exists and returns it
|
|
79
79
|
* @param {string} resourceId Id of the resource
|
|
80
|
-
* @param {string} path Path to the file
|
|
80
|
+
* @param {string} [path] Path to the file
|
|
81
81
|
* @param {*} [options] Override http request option.
|
|
82
82
|
* @throws {RequiredError}
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
blobGetFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
85
85
|
// verify required parameter 'resourceId' is not null or undefined
|
|
86
|
-
(0, common_1.assertParamExists)('
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
const localVarPath = `/Blob/{resourceId}/{path}`
|
|
90
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
91
|
-
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
86
|
+
(0, common_1.assertParamExists)('blobGetFileWithParameter', 'resourceId', resourceId);
|
|
87
|
+
const localVarPath = `/Blob/{resourceId}`
|
|
88
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
92
89
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
93
90
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
94
91
|
let baseOptions;
|
|
@@ -100,6 +97,9 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
100
97
|
const localVarQueryParameter = {};
|
|
101
98
|
// authentication JWT token required
|
|
102
99
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
100
|
+
if (path !== undefined) {
|
|
101
|
+
localVarQueryParameter['path'] = path;
|
|
102
|
+
}
|
|
103
103
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
104
104
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
105
105
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -175,19 +175,16 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
175
175
|
*
|
|
176
176
|
* @summary This method uploads a given File
|
|
177
177
|
* @param {string} resourceId Id of the resource
|
|
178
|
-
* @param {string} path Path to the file
|
|
178
|
+
* @param {string} [path] Path to the file
|
|
179
179
|
* @param {Array<any>} [files]
|
|
180
180
|
* @param {*} [options] Override http request option.
|
|
181
181
|
* @throws {RequiredError}
|
|
182
182
|
*/
|
|
183
|
-
|
|
183
|
+
blobUploadFileWithParameter: (resourceId, path, files, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
184
184
|
// verify required parameter 'resourceId' is not null or undefined
|
|
185
|
-
(0, common_1.assertParamExists)('
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
const localVarPath = `/Blob/{resourceId}/{path}`
|
|
189
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
190
|
-
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
185
|
+
(0, common_1.assertParamExists)('blobUploadFileWithParameter', 'resourceId', resourceId);
|
|
186
|
+
const localVarPath = `/Blob/{resourceId}`
|
|
187
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
191
188
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
192
189
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
193
190
|
let baseOptions;
|
|
@@ -200,6 +197,9 @@ const BlobApiAxiosParamCreator = function (configuration) {
|
|
|
200
197
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
201
198
|
// authentication JWT token required
|
|
202
199
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
200
|
+
if (path !== undefined) {
|
|
201
|
+
localVarQueryParameter['path'] = path;
|
|
202
|
+
}
|
|
203
203
|
if (files) {
|
|
204
204
|
files.forEach((element) => {
|
|
205
205
|
localVarFormParams.append('files', element);
|
|
@@ -229,13 +229,13 @@ const BlobApiFp = function (configuration) {
|
|
|
229
229
|
*
|
|
230
230
|
* @summary This method deletes a given file
|
|
231
231
|
* @param {string} resourceId Id of the resource
|
|
232
|
-
* @param {string} path Path to the file
|
|
232
|
+
* @param {string} [path] Path to the file
|
|
233
233
|
* @param {*} [options] Override http request option.
|
|
234
234
|
* @throws {RequiredError}
|
|
235
235
|
*/
|
|
236
|
-
|
|
236
|
+
blobDeleteFileWithParameter(resourceId, path, options) {
|
|
237
237
|
return __awaiter(this, void 0, void 0, function* () {
|
|
238
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
238
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobDeleteFileWithParameter(resourceId, path, options);
|
|
239
239
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
240
240
|
});
|
|
241
241
|
},
|
|
@@ -243,13 +243,13 @@ const BlobApiFp = function (configuration) {
|
|
|
243
243
|
*
|
|
244
244
|
* @summary This method checks if the given file exists and returns it
|
|
245
245
|
* @param {string} resourceId Id of the resource
|
|
246
|
-
* @param {string} path Path to the file
|
|
246
|
+
* @param {string} [path] Path to the file
|
|
247
247
|
* @param {*} [options] Override http request option.
|
|
248
248
|
* @throws {RequiredError}
|
|
249
249
|
*/
|
|
250
|
-
|
|
250
|
+
blobGetFileWithParameter(resourceId, path, options) {
|
|
251
251
|
return __awaiter(this, void 0, void 0, function* () {
|
|
252
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
252
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobGetFileWithParameter(resourceId, path, options);
|
|
253
253
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
254
254
|
});
|
|
255
255
|
},
|
|
@@ -283,14 +283,14 @@ const BlobApiFp = function (configuration) {
|
|
|
283
283
|
*
|
|
284
284
|
* @summary This method uploads a given File
|
|
285
285
|
* @param {string} resourceId Id of the resource
|
|
286
|
-
* @param {string} path Path to the file
|
|
286
|
+
* @param {string} [path] Path to the file
|
|
287
287
|
* @param {Array<any>} [files]
|
|
288
288
|
* @param {*} [options] Override http request option.
|
|
289
289
|
* @throws {RequiredError}
|
|
290
290
|
*/
|
|
291
|
-
|
|
291
|
+
blobUploadFileWithParameter(resourceId, path, files, options) {
|
|
292
292
|
return __awaiter(this, void 0, void 0, function* () {
|
|
293
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
293
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobUploadFileWithParameter(resourceId, path, files, options);
|
|
294
294
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
295
295
|
});
|
|
296
296
|
},
|
|
@@ -308,23 +308,23 @@ const BlobApiFactory = function (configuration, basePath, axios) {
|
|
|
308
308
|
*
|
|
309
309
|
* @summary This method deletes a given file
|
|
310
310
|
* @param {string} resourceId Id of the resource
|
|
311
|
-
* @param {string} path Path to the file
|
|
311
|
+
* @param {string} [path] Path to the file
|
|
312
312
|
* @param {*} [options] Override http request option.
|
|
313
313
|
* @throws {RequiredError}
|
|
314
314
|
*/
|
|
315
|
-
|
|
316
|
-
return localVarFp.
|
|
315
|
+
blobDeleteFileWithParameter(resourceId, path, options) {
|
|
316
|
+
return localVarFp.blobDeleteFileWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
|
|
317
317
|
},
|
|
318
318
|
/**
|
|
319
319
|
*
|
|
320
320
|
* @summary This method checks if the given file exists and returns it
|
|
321
321
|
* @param {string} resourceId Id of the resource
|
|
322
|
-
* @param {string} path Path to the file
|
|
322
|
+
* @param {string} [path] Path to the file
|
|
323
323
|
* @param {*} [options] Override http request option.
|
|
324
324
|
* @throws {RequiredError}
|
|
325
325
|
*/
|
|
326
|
-
|
|
327
|
-
return localVarFp.
|
|
326
|
+
blobGetFileWithParameter(resourceId, path, options) {
|
|
327
|
+
return localVarFp.blobGetFileWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
|
|
328
328
|
},
|
|
329
329
|
/**
|
|
330
330
|
*
|
|
@@ -350,13 +350,13 @@ const BlobApiFactory = function (configuration, basePath, axios) {
|
|
|
350
350
|
*
|
|
351
351
|
* @summary This method uploads a given File
|
|
352
352
|
* @param {string} resourceId Id of the resource
|
|
353
|
-
* @param {string} path Path to the file
|
|
353
|
+
* @param {string} [path] Path to the file
|
|
354
354
|
* @param {Array<any>} [files]
|
|
355
355
|
* @param {*} [options] Override http request option.
|
|
356
356
|
* @throws {RequiredError}
|
|
357
357
|
*/
|
|
358
|
-
|
|
359
|
-
return localVarFp.
|
|
358
|
+
blobUploadFileWithParameter(resourceId, path, files, options) {
|
|
359
|
+
return localVarFp.blobUploadFileWithParameter(resourceId, path, files, options).then((request) => request(axios, basePath));
|
|
360
360
|
},
|
|
361
361
|
};
|
|
362
362
|
};
|
|
@@ -372,25 +372,25 @@ class BlobApi extends base_1.BaseAPI {
|
|
|
372
372
|
*
|
|
373
373
|
* @summary This method deletes a given file
|
|
374
374
|
* @param {string} resourceId Id of the resource
|
|
375
|
-
* @param {string} path Path to the file
|
|
375
|
+
* @param {string} [path] Path to the file
|
|
376
376
|
* @param {*} [options] Override http request option.
|
|
377
377
|
* @throws {RequiredError}
|
|
378
378
|
* @memberof BlobApi
|
|
379
379
|
*/
|
|
380
|
-
|
|
381
|
-
return (0, exports.BlobApiFp)(this.configuration).
|
|
380
|
+
blobDeleteFileWithParameter(resourceId, path, options) {
|
|
381
|
+
return (0, exports.BlobApiFp)(this.configuration).blobDeleteFileWithParameter(resourceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
382
382
|
}
|
|
383
383
|
/**
|
|
384
384
|
*
|
|
385
385
|
* @summary This method checks if the given file exists and returns it
|
|
386
386
|
* @param {string} resourceId Id of the resource
|
|
387
|
-
* @param {string} path Path to the file
|
|
387
|
+
* @param {string} [path] Path to the file
|
|
388
388
|
* @param {*} [options] Override http request option.
|
|
389
389
|
* @throws {RequiredError}
|
|
390
390
|
* @memberof BlobApi
|
|
391
391
|
*/
|
|
392
|
-
|
|
393
|
-
return (0, exports.BlobApiFp)(this.configuration).
|
|
392
|
+
blobGetFileWithParameter(resourceId, path, options) {
|
|
393
|
+
return (0, exports.BlobApiFp)(this.configuration).blobGetFileWithParameter(resourceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
394
394
|
}
|
|
395
395
|
/**
|
|
396
396
|
*
|
|
@@ -418,14 +418,14 @@ class BlobApi extends base_1.BaseAPI {
|
|
|
418
418
|
*
|
|
419
419
|
* @summary This method uploads a given File
|
|
420
420
|
* @param {string} resourceId Id of the resource
|
|
421
|
-
* @param {string} path Path to the file
|
|
421
|
+
* @param {string} [path] Path to the file
|
|
422
422
|
* @param {Array<any>} [files]
|
|
423
423
|
* @param {*} [options] Override http request option.
|
|
424
424
|
* @throws {RequiredError}
|
|
425
425
|
* @memberof BlobApi
|
|
426
426
|
*/
|
|
427
|
-
|
|
428
|
-
return (0, exports.BlobApiFp)(this.configuration).
|
|
427
|
+
blobUploadFileWithParameter(resourceId, path, files, options) {
|
|
428
|
+
return (0, exports.BlobApiFp)(this.configuration).blobUploadFileWithParameter(resourceId, path, files, options).then((request) => request(this.axios, this.basePath));
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
431
|
exports.BlobApi = BlobApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Blob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AO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACjI,CAAC;IAED;;;;;;;OAOG;IACI,mBAAmB,CAAC,IAAS,EAAE,OAAa;QAC/C,OAAO,IAAA,iBAAS,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAClI,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;AAhED,0BAgEC"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Coscine.Api.Blob
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.5.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Coscine.Api.Blob
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.5.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Coscine.Api.Blob
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.5.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Coscine.Api.Blob
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.
|
|
8
|
+
* The version of the OpenAPI document: 2.5.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Coscine.Api.Tree
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.4.
|
|
8
|
+
* The version of the OpenAPI document: 2.4.3
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -42,18 +42,15 @@ const TreeApiAxiosParamCreator = function (configuration) {
|
|
|
42
42
|
*
|
|
43
43
|
* @summary This method retrieves the metadata
|
|
44
44
|
* @param {string} resourceId Id of a resource
|
|
45
|
-
* @param {string} path Path to the file
|
|
45
|
+
* @param {string} [path] Path to the file
|
|
46
46
|
* @param {*} [options] Override http request option.
|
|
47
47
|
* @throws {RequiredError}
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
treeGetMetadataWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
50
50
|
// verify required parameter 'resourceId' is not null or undefined
|
|
51
|
-
(0, common_1.assertParamExists)('
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
const localVarPath = `/Tree/{resourceId}/{path}`
|
|
55
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
56
|
-
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
51
|
+
(0, common_1.assertParamExists)('treeGetMetadataWithParameter', 'resourceId', resourceId);
|
|
52
|
+
const localVarPath = `/Tree/{resourceId}`
|
|
53
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
57
54
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58
55
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
59
56
|
let baseOptions;
|
|
@@ -65,6 +62,9 @@ const TreeApiAxiosParamCreator = function (configuration) {
|
|
|
65
62
|
const localVarQueryParameter = {};
|
|
66
63
|
// authentication JWT token required
|
|
67
64
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
65
|
+
if (path !== undefined) {
|
|
66
|
+
localVarQueryParameter['path'] = path;
|
|
67
|
+
}
|
|
68
68
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
69
69
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70
70
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -77,18 +77,15 @@ const TreeApiAxiosParamCreator = function (configuration) {
|
|
|
77
77
|
*
|
|
78
78
|
* @summary This method stores the metadata of the file
|
|
79
79
|
* @param {string} resourceId Id of the resource
|
|
80
|
-
* @param {string} path Path to the file
|
|
80
|
+
* @param {string} [path] Path to the file
|
|
81
81
|
* @param {*} [options] Override http request option.
|
|
82
82
|
* @throws {RequiredError}
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
treeStoreMetadataForFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
85
85
|
// verify required parameter 'resourceId' is not null or undefined
|
|
86
|
-
(0, common_1.assertParamExists)('
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
const localVarPath = `/Tree/{resourceId}/{path}`
|
|
90
|
-
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
91
|
-
.replace(`{${"path"}}`, encodeURIComponent(String(path)));
|
|
86
|
+
(0, common_1.assertParamExists)('treeStoreMetadataForFileWithParameter', 'resourceId', resourceId);
|
|
87
|
+
const localVarPath = `/Tree/{resourceId}`
|
|
88
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
92
89
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
93
90
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
94
91
|
let baseOptions;
|
|
@@ -100,6 +97,9 @@ const TreeApiAxiosParamCreator = function (configuration) {
|
|
|
100
97
|
const localVarQueryParameter = {};
|
|
101
98
|
// authentication JWT token required
|
|
102
99
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
100
|
+
if (path !== undefined) {
|
|
101
|
+
localVarQueryParameter['path'] = path;
|
|
102
|
+
}
|
|
103
103
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
104
104
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
105
105
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -122,13 +122,13 @@ const TreeApiFp = function (configuration) {
|
|
|
122
122
|
*
|
|
123
123
|
* @summary This method retrieves the metadata
|
|
124
124
|
* @param {string} resourceId Id of a resource
|
|
125
|
-
* @param {string} path Path to the file
|
|
125
|
+
* @param {string} [path] Path to the file
|
|
126
126
|
* @param {*} [options] Override http request option.
|
|
127
127
|
* @throws {RequiredError}
|
|
128
128
|
*/
|
|
129
|
-
|
|
129
|
+
treeGetMetadataWithParameter(resourceId, path, options) {
|
|
130
130
|
return __awaiter(this, void 0, void 0, function* () {
|
|
131
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
131
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.treeGetMetadataWithParameter(resourceId, path, options);
|
|
132
132
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
133
133
|
});
|
|
134
134
|
},
|
|
@@ -136,13 +136,13 @@ const TreeApiFp = function (configuration) {
|
|
|
136
136
|
*
|
|
137
137
|
* @summary This method stores the metadata of the file
|
|
138
138
|
* @param {string} resourceId Id of the resource
|
|
139
|
-
* @param {string} path Path to the file
|
|
139
|
+
* @param {string} [path] Path to the file
|
|
140
140
|
* @param {*} [options] Override http request option.
|
|
141
141
|
* @throws {RequiredError}
|
|
142
142
|
*/
|
|
143
|
-
|
|
143
|
+
treeStoreMetadataForFileWithParameter(resourceId, path, options) {
|
|
144
144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
145
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
145
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.treeStoreMetadataForFileWithParameter(resourceId, path, options);
|
|
146
146
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
147
147
|
});
|
|
148
148
|
},
|
|
@@ -160,23 +160,23 @@ const TreeApiFactory = function (configuration, basePath, axios) {
|
|
|
160
160
|
*
|
|
161
161
|
* @summary This method retrieves the metadata
|
|
162
162
|
* @param {string} resourceId Id of a resource
|
|
163
|
-
* @param {string} path Path to the file
|
|
163
|
+
* @param {string} [path] Path to the file
|
|
164
164
|
* @param {*} [options] Override http request option.
|
|
165
165
|
* @throws {RequiredError}
|
|
166
166
|
*/
|
|
167
|
-
|
|
168
|
-
return localVarFp.
|
|
167
|
+
treeGetMetadataWithParameter(resourceId, path, options) {
|
|
168
|
+
return localVarFp.treeGetMetadataWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
|
|
169
169
|
},
|
|
170
170
|
/**
|
|
171
171
|
*
|
|
172
172
|
* @summary This method stores the metadata of the file
|
|
173
173
|
* @param {string} resourceId Id of the resource
|
|
174
|
-
* @param {string} path Path to the file
|
|
174
|
+
* @param {string} [path] Path to the file
|
|
175
175
|
* @param {*} [options] Override http request option.
|
|
176
176
|
* @throws {RequiredError}
|
|
177
177
|
*/
|
|
178
|
-
|
|
179
|
-
return localVarFp.
|
|
178
|
+
treeStoreMetadataForFileWithParameter(resourceId, path, options) {
|
|
179
|
+
return localVarFp.treeStoreMetadataForFileWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
|
|
180
180
|
},
|
|
181
181
|
};
|
|
182
182
|
};
|
|
@@ -192,25 +192,25 @@ class TreeApi extends base_1.BaseAPI {
|
|
|
192
192
|
*
|
|
193
193
|
* @summary This method retrieves the metadata
|
|
194
194
|
* @param {string} resourceId Id of a resource
|
|
195
|
-
* @param {string} path Path to the file
|
|
195
|
+
* @param {string} [path] Path to the file
|
|
196
196
|
* @param {*} [options] Override http request option.
|
|
197
197
|
* @throws {RequiredError}
|
|
198
198
|
* @memberof TreeApi
|
|
199
199
|
*/
|
|
200
|
-
|
|
201
|
-
return (0, exports.TreeApiFp)(this.configuration).
|
|
200
|
+
treeGetMetadataWithParameter(resourceId, path, options) {
|
|
201
|
+
return (0, exports.TreeApiFp)(this.configuration).treeGetMetadataWithParameter(resourceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
202
202
|
}
|
|
203
203
|
/**
|
|
204
204
|
*
|
|
205
205
|
* @summary This method stores the metadata of the file
|
|
206
206
|
* @param {string} resourceId Id of the resource
|
|
207
|
-
* @param {string} path Path to the file
|
|
207
|
+
* @param {string} [path] Path to the file
|
|
208
208
|
* @param {*} [options] Override http request option.
|
|
209
209
|
* @throws {RequiredError}
|
|
210
210
|
* @memberof TreeApi
|
|
211
211
|
*/
|
|
212
|
-
|
|
213
|
-
return (0, exports.TreeApiFp)(this.configuration).
|
|
212
|
+
treeStoreMetadataForFileWithParameter(resourceId, path, options) {
|
|
213
|
+
return (0, exports.TreeApiFp)(this.configuration).treeStoreMetadataForFileWithParameter(resourceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
exports.TreeApi = TreeApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Tree/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,
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Tree/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,4BAA4B,EAAE,CAAO,UAAkB,EAAE,IAAa,EAAE,UAAe,EAAE,EAAwB,EAAE;YAC/G,kEAAkE;YAClE,IAAA,0BAAiB,EAAC,8BAA8B,EAAE,YAAY,EAAE,UAAU,CAAC,CAAA;YAC3E,MAAM,YAAY,GAAG,oBAAoB;iBACp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CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;QACnI,CAAC;KACJ,CAAC;AACN,CAAC,CAAC;AA1BW,QAAA,cAAc,kBA0BzB;AAEF;;;;;GAKG;AACH,MAAa,OAAQ,SAAQ,cAAO;IAChC;;;;;;;;OAQG;IACI,4BAA4B,CAAC,UAAkB,EAAE,IAAa,EAAE,OAAa;QAChF,OAAO,IAAA,iBAAS,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,4BAA4B,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;IACvJ,CAAC;IAED;;;;;;;;OAQG;IACI,qCAAqC,CAAC,UAAkB,EAAE,IAAa,EAAE,OAAa;QACzF,OAAO,IAAA,iBAAS,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,qCAAqC,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;IAChK,CAAC;CACJ;AA1BD,0BA0BC"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Coscine.Api.Tree
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.4.
|
|
8
|
+
* The version of the OpenAPI document: 2.4.3
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Coscine.Api.Tree
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.4.
|
|
8
|
+
* The version of the OpenAPI document: 2.4.3
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Coscine.Api.Tree
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.4.
|
|
8
|
+
* The version of the OpenAPI document: 2.4.3
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Coscine.Api.Tree
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.4.
|
|
8
|
+
* The version of the OpenAPI document: 2.4.3
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|