@coscine/api-client 2.1.0 → 2.2.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/dist/index.js +23 -11
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +23 -11
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.Tree/api.js +28 -14
- package/dist/lib/Coscine.Api.Tree/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Tree/base.js +1 -1
- package/dist/types/Coscine.Api.Tree/api.d.ts +16 -8
- package/dist/types/apis.d.ts +2 -2
- package/dist/types/index.d.ts +4 -4
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -7463,7 +7463,7 @@
|
|
|
7463
7463
|
};
|
|
7464
7464
|
|
|
7465
7465
|
/* tslint:disable */
|
|
7466
|
-
const BASE_PATH$1 = "https://d-
|
|
7466
|
+
const BASE_PATH$1 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Tree".replace(/\/+$/, "");
|
|
7467
7467
|
/**
|
|
7468
7468
|
*
|
|
7469
7469
|
* @export
|
|
@@ -7559,10 +7559,11 @@
|
|
|
7559
7559
|
* @summary This method retrieves the metadata
|
|
7560
7560
|
* @param {string} resourceId Id of a resource
|
|
7561
7561
|
* @param {string} [path] Path to the file
|
|
7562
|
+
* @param {string} [mimeType] Requested MimeType of the metadata
|
|
7562
7563
|
* @param {*} [options] Override http request option.
|
|
7563
7564
|
* @throws {RequiredError}
|
|
7564
7565
|
*/
|
|
7565
|
-
treeGetMetadataWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7566
|
+
treeGetMetadataWithParameter: (resourceId, path, mimeType, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7566
7567
|
// verify required parameter 'resourceId' is not null or undefined
|
|
7567
7568
|
assertParamExists$1('treeGetMetadataWithParameter', 'resourceId', resourceId);
|
|
7568
7569
|
const localVarPath = `/Tree/{resourceId}`
|
|
@@ -7581,6 +7582,9 @@
|
|
|
7581
7582
|
if (path !== undefined) {
|
|
7582
7583
|
localVarQueryParameter['path'] = path;
|
|
7583
7584
|
}
|
|
7585
|
+
if (mimeType !== undefined) {
|
|
7586
|
+
localVarQueryParameter['mimeType'] = mimeType;
|
|
7587
|
+
}
|
|
7584
7588
|
setSearchParams$1(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7585
7589
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7586
7590
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7594,10 +7598,11 @@
|
|
|
7594
7598
|
* @summary This method stores the metadata of the file
|
|
7595
7599
|
* @param {string} resourceId Id of the resource
|
|
7596
7600
|
* @param {string} [path] Path to the file
|
|
7601
|
+
* @param {string} [mimeType] Requested MimeType of the metadata
|
|
7597
7602
|
* @param {*} [options] Override http request option.
|
|
7598
7603
|
* @throws {RequiredError}
|
|
7599
7604
|
*/
|
|
7600
|
-
treeStoreMetadataForFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7605
|
+
treeStoreMetadataForFileWithParameter: (resourceId, path, mimeType, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7601
7606
|
// verify required parameter 'resourceId' is not null or undefined
|
|
7602
7607
|
assertParamExists$1('treeStoreMetadataForFileWithParameter', 'resourceId', resourceId);
|
|
7603
7608
|
const localVarPath = `/Tree/{resourceId}`
|
|
@@ -7616,6 +7621,9 @@
|
|
|
7616
7621
|
if (path !== undefined) {
|
|
7617
7622
|
localVarQueryParameter['path'] = path;
|
|
7618
7623
|
}
|
|
7624
|
+
if (mimeType !== undefined) {
|
|
7625
|
+
localVarQueryParameter['mimeType'] = mimeType;
|
|
7626
|
+
}
|
|
7619
7627
|
setSearchParams$1(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7620
7628
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7621
7629
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7638,12 +7646,13 @@
|
|
|
7638
7646
|
* @summary This method retrieves the metadata
|
|
7639
7647
|
* @param {string} resourceId Id of a resource
|
|
7640
7648
|
* @param {string} [path] Path to the file
|
|
7649
|
+
* @param {string} [mimeType] Requested MimeType of the metadata
|
|
7641
7650
|
* @param {*} [options] Override http request option.
|
|
7642
7651
|
* @throws {RequiredError}
|
|
7643
7652
|
*/
|
|
7644
|
-
treeGetMetadataWithParameter(resourceId, path, options) {
|
|
7653
|
+
treeGetMetadataWithParameter(resourceId, path, mimeType, options) {
|
|
7645
7654
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7646
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.treeGetMetadataWithParameter(resourceId, path, options);
|
|
7655
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.treeGetMetadataWithParameter(resourceId, path, mimeType, options);
|
|
7647
7656
|
return createRequestFunction$1(localVarAxiosArgs, axios, BASE_PATH$1, configuration);
|
|
7648
7657
|
});
|
|
7649
7658
|
},
|
|
@@ -7652,12 +7661,13 @@
|
|
|
7652
7661
|
* @summary This method stores the metadata of the file
|
|
7653
7662
|
* @param {string} resourceId Id of the resource
|
|
7654
7663
|
* @param {string} [path] Path to the file
|
|
7664
|
+
* @param {string} [mimeType] Requested MimeType of the metadata
|
|
7655
7665
|
* @param {*} [options] Override http request option.
|
|
7656
7666
|
* @throws {RequiredError}
|
|
7657
7667
|
*/
|
|
7658
|
-
treeStoreMetadataForFileWithParameter(resourceId, path, options) {
|
|
7668
|
+
treeStoreMetadataForFileWithParameter(resourceId, path, mimeType, options) {
|
|
7659
7669
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7660
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.treeStoreMetadataForFileWithParameter(resourceId, path, options);
|
|
7670
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.treeStoreMetadataForFileWithParameter(resourceId, path, mimeType, options);
|
|
7661
7671
|
return createRequestFunction$1(localVarAxiosArgs, axios, BASE_PATH$1, configuration);
|
|
7662
7672
|
});
|
|
7663
7673
|
},
|
|
@@ -7675,22 +7685,24 @@
|
|
|
7675
7685
|
* @summary This method retrieves the metadata
|
|
7676
7686
|
* @param {string} resourceId Id of a resource
|
|
7677
7687
|
* @param {string} [path] Path to the file
|
|
7688
|
+
* @param {string} [mimeType] Requested MimeType of the metadata
|
|
7678
7689
|
* @param {*} [options] Override http request option.
|
|
7679
7690
|
* @throws {RequiredError}
|
|
7680
7691
|
*/
|
|
7681
|
-
treeGetMetadataWithParameter(resourceId, path, options) {
|
|
7682
|
-
return localVarFp.treeGetMetadataWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
|
|
7692
|
+
treeGetMetadataWithParameter(resourceId, path, mimeType, options) {
|
|
7693
|
+
return localVarFp.treeGetMetadataWithParameter(resourceId, path, mimeType, options).then((request) => request(axios, basePath));
|
|
7683
7694
|
},
|
|
7684
7695
|
/**
|
|
7685
7696
|
*
|
|
7686
7697
|
* @summary This method stores the metadata of the file
|
|
7687
7698
|
* @param {string} resourceId Id of the resource
|
|
7688
7699
|
* @param {string} [path] Path to the file
|
|
7700
|
+
* @param {string} [mimeType] Requested MimeType of the metadata
|
|
7689
7701
|
* @param {*} [options] Override http request option.
|
|
7690
7702
|
* @throws {RequiredError}
|
|
7691
7703
|
*/
|
|
7692
|
-
treeStoreMetadataForFileWithParameter(resourceId, path, options) {
|
|
7693
|
-
return localVarFp.treeStoreMetadataForFileWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
|
|
7704
|
+
treeStoreMetadataForFileWithParameter(resourceId, path, mimeType, options) {
|
|
7705
|
+
return localVarFp.treeStoreMetadataForFileWithParameter(resourceId, path, mimeType, options).then((request) => request(axios, basePath));
|
|
7694
7706
|
},
|
|
7695
7707
|
};
|
|
7696
7708
|
};
|