@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.
@@ -43,10 +43,11 @@ const TreeApiAxiosParamCreator = function (configuration) {
43
43
  * @summary This method retrieves the metadata
44
44
  * @param {string} resourceId Id of a resource
45
45
  * @param {string} [path] Path to the file
46
+ * @param {string} [mimeType] Requested MimeType of the metadata
46
47
  * @param {*} [options] Override http request option.
47
48
  * @throws {RequiredError}
48
49
  */
49
- treeGetMetadataWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
50
+ treeGetMetadataWithParameter: (resourceId, path, mimeType, options = {}) => __awaiter(this, void 0, void 0, function* () {
50
51
  // verify required parameter 'resourceId' is not null or undefined
51
52
  (0, common_1.assertParamExists)('treeGetMetadataWithParameter', 'resourceId', resourceId);
52
53
  const localVarPath = `/Tree/{resourceId}`
@@ -65,6 +66,9 @@ const TreeApiAxiosParamCreator = function (configuration) {
65
66
  if (path !== undefined) {
66
67
  localVarQueryParameter['path'] = path;
67
68
  }
69
+ if (mimeType !== undefined) {
70
+ localVarQueryParameter['mimeType'] = mimeType;
71
+ }
68
72
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
69
73
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
70
74
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -78,10 +82,11 @@ const TreeApiAxiosParamCreator = function (configuration) {
78
82
  * @summary This method stores the metadata of the file
79
83
  * @param {string} resourceId Id of the resource
80
84
  * @param {string} [path] Path to the file
85
+ * @param {string} [mimeType] Requested MimeType of the metadata
81
86
  * @param {*} [options] Override http request option.
82
87
  * @throws {RequiredError}
83
88
  */
84
- treeStoreMetadataForFileWithParameter: (resourceId, path, options = {}) => __awaiter(this, void 0, void 0, function* () {
89
+ treeStoreMetadataForFileWithParameter: (resourceId, path, mimeType, options = {}) => __awaiter(this, void 0, void 0, function* () {
85
90
  // verify required parameter 'resourceId' is not null or undefined
86
91
  (0, common_1.assertParamExists)('treeStoreMetadataForFileWithParameter', 'resourceId', resourceId);
87
92
  const localVarPath = `/Tree/{resourceId}`
@@ -100,6 +105,9 @@ const TreeApiAxiosParamCreator = function (configuration) {
100
105
  if (path !== undefined) {
101
106
  localVarQueryParameter['path'] = path;
102
107
  }
108
+ if (mimeType !== undefined) {
109
+ localVarQueryParameter['mimeType'] = mimeType;
110
+ }
103
111
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
104
112
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
105
113
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -123,12 +131,13 @@ const TreeApiFp = function (configuration) {
123
131
  * @summary This method retrieves the metadata
124
132
  * @param {string} resourceId Id of a resource
125
133
  * @param {string} [path] Path to the file
134
+ * @param {string} [mimeType] Requested MimeType of the metadata
126
135
  * @param {*} [options] Override http request option.
127
136
  * @throws {RequiredError}
128
137
  */
129
- treeGetMetadataWithParameter(resourceId, path, options) {
138
+ treeGetMetadataWithParameter(resourceId, path, mimeType, options) {
130
139
  return __awaiter(this, void 0, void 0, function* () {
131
- const localVarAxiosArgs = yield localVarAxiosParamCreator.treeGetMetadataWithParameter(resourceId, path, options);
140
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.treeGetMetadataWithParameter(resourceId, path, mimeType, options);
132
141
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
133
142
  });
134
143
  },
@@ -137,12 +146,13 @@ const TreeApiFp = function (configuration) {
137
146
  * @summary This method stores the metadata of the file
138
147
  * @param {string} resourceId Id of the resource
139
148
  * @param {string} [path] Path to the file
149
+ * @param {string} [mimeType] Requested MimeType of the metadata
140
150
  * @param {*} [options] Override http request option.
141
151
  * @throws {RequiredError}
142
152
  */
143
- treeStoreMetadataForFileWithParameter(resourceId, path, options) {
153
+ treeStoreMetadataForFileWithParameter(resourceId, path, mimeType, options) {
144
154
  return __awaiter(this, void 0, void 0, function* () {
145
- const localVarAxiosArgs = yield localVarAxiosParamCreator.treeStoreMetadataForFileWithParameter(resourceId, path, options);
155
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.treeStoreMetadataForFileWithParameter(resourceId, path, mimeType, options);
146
156
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
147
157
  });
148
158
  },
@@ -161,22 +171,24 @@ const TreeApiFactory = function (configuration, basePath, axios) {
161
171
  * @summary This method retrieves the metadata
162
172
  * @param {string} resourceId Id of a resource
163
173
  * @param {string} [path] Path to the file
174
+ * @param {string} [mimeType] Requested MimeType of the metadata
164
175
  * @param {*} [options] Override http request option.
165
176
  * @throws {RequiredError}
166
177
  */
167
- treeGetMetadataWithParameter(resourceId, path, options) {
168
- return localVarFp.treeGetMetadataWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
178
+ treeGetMetadataWithParameter(resourceId, path, mimeType, options) {
179
+ return localVarFp.treeGetMetadataWithParameter(resourceId, path, mimeType, options).then((request) => request(axios, basePath));
169
180
  },
170
181
  /**
171
182
  *
172
183
  * @summary This method stores the metadata of the file
173
184
  * @param {string} resourceId Id of the resource
174
185
  * @param {string} [path] Path to the file
186
+ * @param {string} [mimeType] Requested MimeType of the metadata
175
187
  * @param {*} [options] Override http request option.
176
188
  * @throws {RequiredError}
177
189
  */
178
- treeStoreMetadataForFileWithParameter(resourceId, path, options) {
179
- return localVarFp.treeStoreMetadataForFileWithParameter(resourceId, path, options).then((request) => request(axios, basePath));
190
+ treeStoreMetadataForFileWithParameter(resourceId, path, mimeType, options) {
191
+ return localVarFp.treeStoreMetadataForFileWithParameter(resourceId, path, mimeType, options).then((request) => request(axios, basePath));
180
192
  },
181
193
  };
182
194
  };
@@ -193,24 +205,26 @@ class TreeApi extends base_1.BaseAPI {
193
205
  * @summary This method retrieves the metadata
194
206
  * @param {string} resourceId Id of a resource
195
207
  * @param {string} [path] Path to the file
208
+ * @param {string} [mimeType] Requested MimeType of the metadata
196
209
  * @param {*} [options] Override http request option.
197
210
  * @throws {RequiredError}
198
211
  * @memberof TreeApi
199
212
  */
200
- treeGetMetadataWithParameter(resourceId, path, options) {
201
- return (0, exports.TreeApiFp)(this.configuration).treeGetMetadataWithParameter(resourceId, path, options).then((request) => request(this.axios, this.basePath));
213
+ treeGetMetadataWithParameter(resourceId, path, mimeType, options) {
214
+ return (0, exports.TreeApiFp)(this.configuration).treeGetMetadataWithParameter(resourceId, path, mimeType, options).then((request) => request(this.axios, this.basePath));
202
215
  }
203
216
  /**
204
217
  *
205
218
  * @summary This method stores the metadata of the file
206
219
  * @param {string} resourceId Id of the resource
207
220
  * @param {string} [path] Path to the file
221
+ * @param {string} [mimeType] Requested MimeType of the metadata
208
222
  * @param {*} [options] Override http request option.
209
223
  * @throws {RequiredError}
210
224
  * @memberof TreeApi
211
225
  */
212
- treeStoreMetadataForFileWithParameter(resourceId, path, options) {
213
- return (0, exports.TreeApiFp)(this.configuration).treeStoreMetadataForFileWithParameter(resourceId, path, options).then((request) => request(this.axios, this.basePath));
226
+ treeStoreMetadataForFileWithParameter(resourceId, path, mimeType, options) {
227
+ return (0, exports.TreeApiFp)(this.configuration).treeStoreMetadataForFileWithParameter(resourceId, path, mimeType, options).then((request) => request(this.axios, this.basePath));
214
228
  }
215
229
  }
216
230
  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;AAC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CAAC,QAAQ,CAAC,CAAC,CAAC;IACjK,CAAC;IAED;;;;;;;;;OASG;IACI,qCAAqC,CAAC,UAAkB,EAAE,IAAa,EAAE,QAAiB,EAAE,OAAa;QAC5G,OAAO,IAAA,iBAAS,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,qCAAqC,CAAC,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC1K,CAAC;CACJ;AA5BD,0BA4BC"}
@@ -20,7 +20,7 @@ exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.B
20
20
  // Some imports not used depending on template conditions
21
21
  // @ts-ignore
22
22
  const axios_1 = __importDefault(require("axios"));
23
- exports.BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Tree".replace(/\/+$/, "");
23
+ exports.BASE_PATH = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Tree".replace(/\/+$/, "");
24
24
  /**
25
25
  *
26
26
  * @export
@@ -22,19 +22,21 @@ export declare const TreeApiAxiosParamCreator: (configuration?: Configuration) =
22
22
  * @summary This method retrieves the metadata
23
23
  * @param {string} resourceId Id of a resource
24
24
  * @param {string} [path] Path to the file
25
+ * @param {string} [mimeType] Requested MimeType of the metadata
25
26
  * @param {*} [options] Override http request option.
26
27
  * @throws {RequiredError}
27
28
  */
28
- treeGetMetadataWithParameter: (resourceId: string, path?: string, options?: any) => Promise<RequestArgs>;
29
+ treeGetMetadataWithParameter: (resourceId: string, path?: string, mimeType?: string, options?: any) => Promise<RequestArgs>;
29
30
  /**
30
31
  *
31
32
  * @summary This method stores the metadata of the file
32
33
  * @param {string} resourceId Id of the resource
33
34
  * @param {string} [path] Path to the file
35
+ * @param {string} [mimeType] Requested MimeType of the metadata
34
36
  * @param {*} [options] Override http request option.
35
37
  * @throws {RequiredError}
36
38
  */
37
- treeStoreMetadataForFileWithParameter: (resourceId: string, path?: string, options?: any) => Promise<RequestArgs>;
39
+ treeStoreMetadataForFileWithParameter: (resourceId: string, path?: string, mimeType?: string, options?: any) => Promise<RequestArgs>;
38
40
  };
39
41
  /**
40
42
  * TreeApi - functional programming interface
@@ -46,19 +48,21 @@ export declare const TreeApiFp: (configuration?: Configuration) => {
46
48
  * @summary This method retrieves the metadata
47
49
  * @param {string} resourceId Id of a resource
48
50
  * @param {string} [path] Path to the file
51
+ * @param {string} [mimeType] Requested MimeType of the metadata
49
52
  * @param {*} [options] Override http request option.
50
53
  * @throws {RequiredError}
51
54
  */
52
- treeGetMetadataWithParameter(resourceId: string, path?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
55
+ treeGetMetadataWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
53
56
  /**
54
57
  *
55
58
  * @summary This method stores the metadata of the file
56
59
  * @param {string} resourceId Id of the resource
57
60
  * @param {string} [path] Path to the file
61
+ * @param {string} [mimeType] Requested MimeType of the metadata
58
62
  * @param {*} [options] Override http request option.
59
63
  * @throws {RequiredError}
60
64
  */
61
- treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
65
+ treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
62
66
  };
63
67
  /**
64
68
  * TreeApi - factory interface
@@ -70,19 +74,21 @@ export declare const TreeApiFactory: (configuration?: Configuration, basePath?:
70
74
  * @summary This method retrieves the metadata
71
75
  * @param {string} resourceId Id of a resource
72
76
  * @param {string} [path] Path to the file
77
+ * @param {string} [mimeType] Requested MimeType of the metadata
73
78
  * @param {*} [options] Override http request option.
74
79
  * @throws {RequiredError}
75
80
  */
76
- treeGetMetadataWithParameter(resourceId: string, path?: string, options?: any): AxiosPromise<any>;
81
+ treeGetMetadataWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): AxiosPromise<any>;
77
82
  /**
78
83
  *
79
84
  * @summary This method stores the metadata of the file
80
85
  * @param {string} resourceId Id of the resource
81
86
  * @param {string} [path] Path to the file
87
+ * @param {string} [mimeType] Requested MimeType of the metadata
82
88
  * @param {*} [options] Override http request option.
83
89
  * @throws {RequiredError}
84
90
  */
85
- treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, options?: any): AxiosPromise<any>;
91
+ treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): AxiosPromise<any>;
86
92
  };
87
93
  /**
88
94
  * TreeApi - object-oriented interface
@@ -96,19 +102,21 @@ export declare class TreeApi extends BaseAPI {
96
102
  * @summary This method retrieves the metadata
97
103
  * @param {string} resourceId Id of a resource
98
104
  * @param {string} [path] Path to the file
105
+ * @param {string} [mimeType] Requested MimeType of the metadata
99
106
  * @param {*} [options] Override http request option.
100
107
  * @throws {RequiredError}
101
108
  * @memberof TreeApi
102
109
  */
103
- treeGetMetadataWithParameter(resourceId: string, path?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
110
+ treeGetMetadataWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
104
111
  /**
105
112
  *
106
113
  * @summary This method stores the metadata of the file
107
114
  * @param {string} resourceId Id of the resource
108
115
  * @param {string} [path] Path to the file
116
+ * @param {string} [mimeType] Requested MimeType of the metadata
109
117
  * @param {*} [options] Override http request option.
110
118
  * @throws {RequiredError}
111
119
  * @memberof TreeApi
112
120
  */
113
- treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
121
+ treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
114
122
  }
@@ -125,8 +125,8 @@ declare function implementations(axios?: AxiosInstance): {
125
125
  tOSGetCurrentTOSVersion(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User/api").Tos>;
126
126
  };
127
127
  TreeApi: {
128
- treeGetMetadataWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
129
- treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
128
+ treeGetMetadataWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): import("axios").AxiosPromise<any>;
129
+ treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): import("axios").AxiosPromise<any>;
130
130
  };
131
131
  UserApi: {
132
132
  userGetUser(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User/api").UserObject>;
@@ -124,8 +124,8 @@ declare const apis: {
124
124
  tOSGetCurrentTOSVersion(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User").Tos>;
125
125
  };
126
126
  TreeApi: {
127
- treeGetMetadataWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
128
- treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
127
+ treeGetMetadataWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): import("axios").AxiosPromise<any>;
128
+ treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): import("axios").AxiosPromise<any>;
129
129
  };
130
130
  UserApi: {
131
131
  userGetUser(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User").UserObject>;
@@ -262,8 +262,8 @@ export declare const TOSApi: {
262
262
  tOSGetCurrentTOSVersion(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User").Tos>;
263
263
  };
264
264
  export declare const TreeApi: {
265
- treeGetMetadataWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
266
- treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
265
+ treeGetMetadataWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): import("axios").AxiosPromise<any>;
266
+ treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): import("axios").AxiosPromise<any>;
267
267
  };
268
268
  export declare const UserApi: {
269
269
  userGetUser(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User").UserObject>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coscine/api-client",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "This project contains the generated api connection classes.",
5
5
  "keywords": [
6
6
  "coscine",