@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 CHANGED
@@ -7457,7 +7457,7 @@ const TokenApiFactory = function (configuration, basePath, axios) {
7457
7457
  };
7458
7458
 
7459
7459
  /* tslint:disable */
7460
- const BASE_PATH$1 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Tree".replace(/\/+$/, "");
7460
+ const BASE_PATH$1 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Tree".replace(/\/+$/, "");
7461
7461
  /**
7462
7462
  *
7463
7463
  * @export
@@ -7553,10 +7553,11 @@ const TreeApiAxiosParamCreator = function (configuration) {
7553
7553
  * @summary This method retrieves the metadata
7554
7554
  * @param {string} resourceId Id of a resource
7555
7555
  * @param {string} [path] Path to the file
7556
+ * @param {string} [mimeType] Requested MimeType of the metadata
7556
7557
  * @param {*} [options] Override http request option.
7557
7558
  * @throws {RequiredError}
7558
7559
  */
7559
- treeGetMetadataWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
7560
+ treeGetMetadataWithParameter: (resourceId, path, mimeType, options = {}) => __awaiter(this, void 0, void 0, function* () {
7560
7561
  // verify required parameter 'resourceId' is not null or undefined
7561
7562
  assertParamExists$1('treeGetMetadataWithParameter', 'resourceId', resourceId);
7562
7563
  const localVarPath = `/Tree/{resourceId}`
@@ -7575,6 +7576,9 @@ const TreeApiAxiosParamCreator = function (configuration) {
7575
7576
  if (path !== undefined) {
7576
7577
  localVarQueryParameter['path'] = path;
7577
7578
  }
7579
+ if (mimeType !== undefined) {
7580
+ localVarQueryParameter['mimeType'] = mimeType;
7581
+ }
7578
7582
  setSearchParams$1(localVarUrlObj, localVarQueryParameter, options.query);
7579
7583
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7580
7584
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7588,10 +7592,11 @@ const TreeApiAxiosParamCreator = function (configuration) {
7588
7592
  * @summary This method stores the metadata of the file
7589
7593
  * @param {string} resourceId Id of the resource
7590
7594
  * @param {string} [path] Path to the file
7595
+ * @param {string} [mimeType] Requested MimeType of the metadata
7591
7596
  * @param {*} [options] Override http request option.
7592
7597
  * @throws {RequiredError}
7593
7598
  */
7594
- treeStoreMetadataForFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
7599
+ treeStoreMetadataForFileWithParameter: (resourceId, path, mimeType, options = {}) => __awaiter(this, void 0, void 0, function* () {
7595
7600
  // verify required parameter 'resourceId' is not null or undefined
7596
7601
  assertParamExists$1('treeStoreMetadataForFileWithParameter', 'resourceId', resourceId);
7597
7602
  const localVarPath = `/Tree/{resourceId}`
@@ -7610,6 +7615,9 @@ const TreeApiAxiosParamCreator = function (configuration) {
7610
7615
  if (path !== undefined) {
7611
7616
  localVarQueryParameter['path'] = path;
7612
7617
  }
7618
+ if (mimeType !== undefined) {
7619
+ localVarQueryParameter['mimeType'] = mimeType;
7620
+ }
7613
7621
  setSearchParams$1(localVarUrlObj, localVarQueryParameter, options.query);
7614
7622
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7615
7623
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7632,12 +7640,13 @@ const TreeApiFp = function (configuration) {
7632
7640
  * @summary This method retrieves the metadata
7633
7641
  * @param {string} resourceId Id of a resource
7634
7642
  * @param {string} [path] Path to the file
7643
+ * @param {string} [mimeType] Requested MimeType of the metadata
7635
7644
  * @param {*} [options] Override http request option.
7636
7645
  * @throws {RequiredError}
7637
7646
  */
7638
- treeGetMetadataWithParameter(resourceId, path, options) {
7647
+ treeGetMetadataWithParameter(resourceId, path, mimeType, options) {
7639
7648
  return __awaiter(this, void 0, void 0, function* () {
7640
- const localVarAxiosArgs = yield localVarAxiosParamCreator.treeGetMetadataWithParameter(resourceId, path, options);
7649
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.treeGetMetadataWithParameter(resourceId, path, mimeType, options);
7641
7650
  return createRequestFunction$1(localVarAxiosArgs, axios, BASE_PATH$1, configuration);
7642
7651
  });
7643
7652
  },
@@ -7646,12 +7655,13 @@ const TreeApiFp = function (configuration) {
7646
7655
  * @summary This method stores the metadata of the file
7647
7656
  * @param {string} resourceId Id of the resource
7648
7657
  * @param {string} [path] Path to the file
7658
+ * @param {string} [mimeType] Requested MimeType of the metadata
7649
7659
  * @param {*} [options] Override http request option.
7650
7660
  * @throws {RequiredError}
7651
7661
  */
7652
- treeStoreMetadataForFileWithParameter(resourceId, path, options) {
7662
+ treeStoreMetadataForFileWithParameter(resourceId, path, mimeType, options) {
7653
7663
  return __awaiter(this, void 0, void 0, function* () {
7654
- const localVarAxiosArgs = yield localVarAxiosParamCreator.treeStoreMetadataForFileWithParameter(resourceId, path, options);
7664
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.treeStoreMetadataForFileWithParameter(resourceId, path, mimeType, options);
7655
7665
  return createRequestFunction$1(localVarAxiosArgs, axios, BASE_PATH$1, configuration);
7656
7666
  });
7657
7667
  },
@@ -7669,22 +7679,24 @@ const TreeApiFactory = function (configuration, basePath, axios) {
7669
7679
  * @summary This method retrieves the metadata
7670
7680
  * @param {string} resourceId Id of a resource
7671
7681
  * @param {string} [path] Path to the file
7682
+ * @param {string} [mimeType] Requested MimeType of the metadata
7672
7683
  * @param {*} [options] Override http request option.
7673
7684
  * @throws {RequiredError}
7674
7685
  */
7675
- treeGetMetadataWithParameter(resourceId, path, options) {
7676
- return localVarFp.treeGetMetadataWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
7686
+ treeGetMetadataWithParameter(resourceId, path, mimeType, options) {
7687
+ return localVarFp.treeGetMetadataWithParameter(resourceId, path, mimeType, options).then((request) => request(axios, basePath));
7677
7688
  },
7678
7689
  /**
7679
7690
  *
7680
7691
  * @summary This method stores the metadata of the file
7681
7692
  * @param {string} resourceId Id of the resource
7682
7693
  * @param {string} [path] Path to the file
7694
+ * @param {string} [mimeType] Requested MimeType of the metadata
7683
7695
  * @param {*} [options] Override http request option.
7684
7696
  * @throws {RequiredError}
7685
7697
  */
7686
- treeStoreMetadataForFileWithParameter(resourceId, path, options) {
7687
- return localVarFp.treeStoreMetadataForFileWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
7698
+ treeStoreMetadataForFileWithParameter(resourceId, path, mimeType, options) {
7699
+ return localVarFp.treeStoreMetadataForFileWithParameter(resourceId, path, mimeType, options).then((request) => request(axios, basePath));
7688
7700
  },
7689
7701
  };
7690
7702
  };