@coscine/api-client 1.5.1 → 1.5.2
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 +91 -43
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +91 -43
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/base.js +1 -1
- package/dist/lib/Coscine.Api.Admin/base.js +1 -1
- package/dist/lib/Coscine.Api.Blob/base.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/base.js +1 -1
- package/dist/lib/Coscine.Api.Notices/base.js +1 -1
- package/dist/lib/Coscine.Api.Organization/base.js +1 -1
- package/dist/lib/Coscine.Api.Project/api.js +40 -40
- package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Project/base.js +2 -2
- package/dist/lib/Coscine.Api.Project/common.js +1 -1
- package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Project/index.js +1 -1
- package/dist/lib/Coscine.Api.Quota/base.js +1 -1
- package/dist/lib/Coscine.Api.Resources/base.js +1 -1
- package/dist/lib/Coscine.Api.Search/base.js +1 -1
- package/dist/lib/Coscine.Api.Token/api.js +59 -1
- package/dist/lib/Coscine.Api.Token/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Token/base.js +2 -2
- package/dist/lib/Coscine.Api.Token/common.js +1 -1
- package/dist/lib/Coscine.Api.Token/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Token/index.js +1 -1
- package/dist/lib/Coscine.Api.Tree/base.js +1 -1
- package/dist/lib/Coscine.Api.User/base.js +1 -1
- package/dist/types/Coscine.Api.Project/api.d.ts +33 -33
- package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Token/api.d.ts +49 -1
- package/dist/types/Coscine.Api.Token/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Token/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Token/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Token/index.d.ts +1 -1
- package/dist/types/apis.d.ts +2 -1
- package/dist/types/index.d.ts +4 -2
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1855,7 +1855,7 @@
|
|
|
1855
1855
|
var axios = axios$2.exports;
|
|
1856
1856
|
|
|
1857
1857
|
/* tslint:disable */
|
|
1858
|
-
const BASE_PATH$c = "https://d-
|
|
1858
|
+
const BASE_PATH$c = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.ActivatedFeatures".replace(/\/+$/, "");
|
|
1859
1859
|
/**
|
|
1860
1860
|
*
|
|
1861
1861
|
* @export
|
|
@@ -2337,7 +2337,7 @@
|
|
|
2337
2337
|
}
|
|
2338
2338
|
|
|
2339
2339
|
/* tslint:disable */
|
|
2340
|
-
const BASE_PATH$b = "https://d-
|
|
2340
|
+
const BASE_PATH$b = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Admin".replace(/\/+$/, "");
|
|
2341
2341
|
/**
|
|
2342
2342
|
*
|
|
2343
2343
|
* @export
|
|
@@ -2572,7 +2572,7 @@
|
|
|
2572
2572
|
};
|
|
2573
2573
|
|
|
2574
2574
|
/* tslint:disable */
|
|
2575
|
-
const BASE_PATH$a = "https://d-
|
|
2575
|
+
const BASE_PATH$a = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, "");
|
|
2576
2576
|
/**
|
|
2577
2577
|
*
|
|
2578
2578
|
* @export
|
|
@@ -2998,7 +2998,7 @@
|
|
|
2998
2998
|
};
|
|
2999
2999
|
|
|
3000
3000
|
/* tslint:disable */
|
|
3001
|
-
const BASE_PATH$9 = "https://d-
|
|
3001
|
+
const BASE_PATH$9 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Metadata".replace(/\/+$/, "");
|
|
3002
3002
|
/**
|
|
3003
3003
|
*
|
|
3004
3004
|
* @export
|
|
@@ -3437,7 +3437,7 @@
|
|
|
3437
3437
|
};
|
|
3438
3438
|
|
|
3439
3439
|
/* tslint:disable */
|
|
3440
|
-
const BASE_PATH$8 = "https://d-
|
|
3440
|
+
const BASE_PATH$8 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, "");
|
|
3441
3441
|
/**
|
|
3442
3442
|
*
|
|
3443
3443
|
* @export
|
|
@@ -3658,7 +3658,7 @@
|
|
|
3658
3658
|
};
|
|
3659
3659
|
|
|
3660
3660
|
/* tslint:disable */
|
|
3661
|
-
const BASE_PATH$7 = "https://d-
|
|
3661
|
+
const BASE_PATH$7 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
|
|
3662
3662
|
/**
|
|
3663
3663
|
*
|
|
3664
3664
|
* @export
|
|
@@ -4041,7 +4041,7 @@
|
|
|
4041
4041
|
};
|
|
4042
4042
|
|
|
4043
4043
|
/* tslint:disable */
|
|
4044
|
-
const BASE_PATH$6 = "https://d-
|
|
4044
|
+
const BASE_PATH$6 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
|
|
4045
4045
|
/**
|
|
4046
4046
|
*
|
|
4047
4047
|
* @export
|
|
@@ -4357,8 +4357,8 @@
|
|
|
4357
4357
|
}),
|
|
4358
4358
|
/**
|
|
4359
4359
|
*
|
|
4360
|
-
* @summary Deletes
|
|
4361
|
-
* @param {string} invitationId Id of
|
|
4360
|
+
* @summary Deletes a project invitation.
|
|
4361
|
+
* @param {string} invitationId Id of an invitation
|
|
4362
4362
|
* @param {*} [options] Override http request option.
|
|
4363
4363
|
* @throws {RequiredError}
|
|
4364
4364
|
*/
|
|
@@ -4571,7 +4571,7 @@
|
|
|
4571
4571
|
/**
|
|
4572
4572
|
*
|
|
4573
4573
|
* @summary List all invitations of a project.
|
|
4574
|
-
* @param {string} projectId
|
|
4574
|
+
* @param {string} projectId Id of the project
|
|
4575
4575
|
* @param {*} [options] Override http request option.
|
|
4576
4576
|
* @throws {RequiredError}
|
|
4577
4577
|
*/
|
|
@@ -4667,16 +4667,16 @@
|
|
|
4667
4667
|
}),
|
|
4668
4668
|
/**
|
|
4669
4669
|
*
|
|
4670
|
-
* @summary Resolve
|
|
4671
|
-
* @param {string}
|
|
4670
|
+
* @summary Resolve a project invitation for the current user.
|
|
4671
|
+
* @param {string} invitationToken Token for a project invitation stored inside the URL under \".../?invitationToken={token}\"
|
|
4672
4672
|
* @param {*} [options] Override http request option.
|
|
4673
4673
|
* @throws {RequiredError}
|
|
4674
4674
|
*/
|
|
4675
|
-
projectResolveInvitation: (
|
|
4676
|
-
// verify required parameter '
|
|
4677
|
-
assertParamExists$5('projectResolveInvitation', '
|
|
4678
|
-
const localVarPath = `/Project/invitation/resolve/{
|
|
4679
|
-
.replace(`{${"
|
|
4675
|
+
projectResolveInvitation: (invitationToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4676
|
+
// verify required parameter 'invitationToken' is not null or undefined
|
|
4677
|
+
assertParamExists$5('projectResolveInvitation', 'invitationToken', invitationToken);
|
|
4678
|
+
const localVarPath = `/Project/invitation/resolve/{invitationToken}`
|
|
4679
|
+
.replace(`{${"invitationToken"}}`, encodeURIComponent(String(invitationToken)));
|
|
4680
4680
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4681
4681
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
|
|
4682
4682
|
let baseOptions;
|
|
@@ -4698,8 +4698,8 @@
|
|
|
4698
4698
|
}),
|
|
4699
4699
|
/**
|
|
4700
4700
|
*
|
|
4701
|
-
* @summary Create and send
|
|
4702
|
-
* @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation
|
|
4701
|
+
* @summary Create and send a project invitation to a specified mail.
|
|
4702
|
+
* @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \".../?invitationToken={token}\".
|
|
4703
4703
|
* @param {*} [options] Override http request option.
|
|
4704
4704
|
* @throws {RequiredError}
|
|
4705
4705
|
*/
|
|
@@ -4873,8 +4873,8 @@
|
|
|
4873
4873
|
},
|
|
4874
4874
|
/**
|
|
4875
4875
|
*
|
|
4876
|
-
* @summary Deletes
|
|
4877
|
-
* @param {string} invitationId Id of
|
|
4876
|
+
* @summary Deletes a project invitation.
|
|
4877
|
+
* @param {string} invitationId Id of an invitation
|
|
4878
4878
|
* @param {*} [options] Override http request option.
|
|
4879
4879
|
* @throws {RequiredError}
|
|
4880
4880
|
*/
|
|
@@ -4964,7 +4964,7 @@
|
|
|
4964
4964
|
/**
|
|
4965
4965
|
*
|
|
4966
4966
|
* @summary List all invitations of a project.
|
|
4967
|
-
* @param {string} projectId
|
|
4967
|
+
* @param {string} projectId Id of the project
|
|
4968
4968
|
* @param {*} [options] Override http request option.
|
|
4969
4969
|
* @throws {RequiredError}
|
|
4970
4970
|
*/
|
|
@@ -5003,21 +5003,21 @@
|
|
|
5003
5003
|
},
|
|
5004
5004
|
/**
|
|
5005
5005
|
*
|
|
5006
|
-
* @summary Resolve
|
|
5007
|
-
* @param {string}
|
|
5006
|
+
* @summary Resolve a project invitation for the current user.
|
|
5007
|
+
* @param {string} invitationToken Token for a project invitation stored inside the URL under \".../?invitationToken={token}\"
|
|
5008
5008
|
* @param {*} [options] Override http request option.
|
|
5009
5009
|
* @throws {RequiredError}
|
|
5010
5010
|
*/
|
|
5011
|
-
projectResolveInvitation(
|
|
5011
|
+
projectResolveInvitation(invitationToken, options) {
|
|
5012
5012
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5013
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectResolveInvitation(
|
|
5013
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectResolveInvitation(invitationToken, options);
|
|
5014
5014
|
return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
|
|
5015
5015
|
});
|
|
5016
5016
|
},
|
|
5017
5017
|
/**
|
|
5018
5018
|
*
|
|
5019
|
-
* @summary Create and send
|
|
5020
|
-
* @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation
|
|
5019
|
+
* @summary Create and send a project invitation to a specified mail.
|
|
5020
|
+
* @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \".../?invitationToken={token}\".
|
|
5021
5021
|
* @param {*} [options] Override http request option.
|
|
5022
5022
|
* @throws {RequiredError}
|
|
5023
5023
|
*/
|
|
@@ -5100,8 +5100,8 @@
|
|
|
5100
5100
|
},
|
|
5101
5101
|
/**
|
|
5102
5102
|
*
|
|
5103
|
-
* @summary Deletes
|
|
5104
|
-
* @param {string} invitationId Id of
|
|
5103
|
+
* @summary Deletes a project invitation.
|
|
5104
|
+
* @param {string} invitationId Id of an invitation
|
|
5105
5105
|
* @param {*} [options] Override http request option.
|
|
5106
5106
|
* @throws {RequiredError}
|
|
5107
5107
|
*/
|
|
@@ -5170,7 +5170,7 @@
|
|
|
5170
5170
|
/**
|
|
5171
5171
|
*
|
|
5172
5172
|
* @summary List all invitations of a project.
|
|
5173
|
-
* @param {string} projectId
|
|
5173
|
+
* @param {string} projectId Id of the project
|
|
5174
5174
|
* @param {*} [options] Override http request option.
|
|
5175
5175
|
* @throws {RequiredError}
|
|
5176
5176
|
*/
|
|
@@ -5200,18 +5200,18 @@
|
|
|
5200
5200
|
},
|
|
5201
5201
|
/**
|
|
5202
5202
|
*
|
|
5203
|
-
* @summary Resolve
|
|
5204
|
-
* @param {string}
|
|
5203
|
+
* @summary Resolve a project invitation for the current user.
|
|
5204
|
+
* @param {string} invitationToken Token for a project invitation stored inside the URL under \".../?invitationToken={token}\"
|
|
5205
5205
|
* @param {*} [options] Override http request option.
|
|
5206
5206
|
* @throws {RequiredError}
|
|
5207
5207
|
*/
|
|
5208
|
-
projectResolveInvitation(
|
|
5209
|
-
return localVarFp.projectResolveInvitation(
|
|
5208
|
+
projectResolveInvitation(invitationToken, options) {
|
|
5209
|
+
return localVarFp.projectResolveInvitation(invitationToken, options).then((request) => request(axios, basePath));
|
|
5210
5210
|
},
|
|
5211
5211
|
/**
|
|
5212
5212
|
*
|
|
5213
|
-
* @summary Create and send
|
|
5214
|
-
* @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation
|
|
5213
|
+
* @summary Create and send a project invitation to a specified mail.
|
|
5214
|
+
* @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \".../?invitationToken={token}\".
|
|
5215
5215
|
* @param {*} [options] Override http request option.
|
|
5216
5216
|
* @throws {RequiredError}
|
|
5217
5217
|
*/
|
|
@@ -5979,7 +5979,7 @@
|
|
|
5979
5979
|
};
|
|
5980
5980
|
|
|
5981
5981
|
/* tslint:disable */
|
|
5982
|
-
const BASE_PATH$5 = "https://d-
|
|
5982
|
+
const BASE_PATH$5 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Quota".replace(/\/+$/, "");
|
|
5983
5983
|
/**
|
|
5984
5984
|
*
|
|
5985
5985
|
* @export
|
|
@@ -6280,7 +6280,7 @@
|
|
|
6280
6280
|
};
|
|
6281
6281
|
|
|
6282
6282
|
/* tslint:disable */
|
|
6283
|
-
const BASE_PATH$4 = "https://d-
|
|
6283
|
+
const BASE_PATH$4 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Resources".replace(/\/+$/, "");
|
|
6284
6284
|
/**
|
|
6285
6285
|
*
|
|
6286
6286
|
* @export
|
|
@@ -6974,7 +6974,7 @@
|
|
|
6974
6974
|
};
|
|
6975
6975
|
|
|
6976
6976
|
/* tslint:disable */
|
|
6977
|
-
const BASE_PATH$3 = "https://d-
|
|
6977
|
+
const BASE_PATH$3 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");
|
|
6978
6978
|
|
|
6979
6979
|
/* tslint:disable */
|
|
6980
6980
|
/**
|
|
@@ -7136,7 +7136,7 @@
|
|
|
7136
7136
|
};
|
|
7137
7137
|
|
|
7138
7138
|
/* tslint:disable */
|
|
7139
|
-
const BASE_PATH$2 = "https://d-
|
|
7139
|
+
const BASE_PATH$2 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Token".replace(/\/+$/, "");
|
|
7140
7140
|
/**
|
|
7141
7141
|
*
|
|
7142
7142
|
* @export
|
|
@@ -7272,6 +7272,33 @@
|
|
|
7272
7272
|
options: localVarRequestOptions,
|
|
7273
7273
|
};
|
|
7274
7274
|
}),
|
|
7275
|
+
/**
|
|
7276
|
+
*
|
|
7277
|
+
* @summary Get the specified token minumum and maximum validity in days.
|
|
7278
|
+
* @param {*} [options] Override http request option.
|
|
7279
|
+
* @throws {RequiredError}
|
|
7280
|
+
*/
|
|
7281
|
+
tokenGetTokenValidityBounds: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7282
|
+
const localVarPath = `/Token/getValidity`;
|
|
7283
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7284
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$2);
|
|
7285
|
+
let baseOptions;
|
|
7286
|
+
if (configuration) {
|
|
7287
|
+
baseOptions = configuration.baseOptions;
|
|
7288
|
+
}
|
|
7289
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7290
|
+
const localVarHeaderParameter = {};
|
|
7291
|
+
const localVarQueryParameter = {};
|
|
7292
|
+
// authentication JWT token required
|
|
7293
|
+
yield setApiKeyToObject$2(localVarHeaderParameter, "Authorization", configuration);
|
|
7294
|
+
setSearchParams$2(localVarUrlObj, localVarQueryParameter, options.query);
|
|
7295
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7296
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7297
|
+
return {
|
|
7298
|
+
url: toPathString$2(localVarUrlObj),
|
|
7299
|
+
options: localVarRequestOptions,
|
|
7300
|
+
};
|
|
7301
|
+
}),
|
|
7275
7302
|
/**
|
|
7276
7303
|
*
|
|
7277
7304
|
* @summary Get the specific token values.
|
|
@@ -7383,6 +7410,18 @@
|
|
|
7383
7410
|
return createRequestFunction$2(localVarAxiosArgs, axios, BASE_PATH$2, configuration);
|
|
7384
7411
|
});
|
|
7385
7412
|
},
|
|
7413
|
+
/**
|
|
7414
|
+
*
|
|
7415
|
+
* @summary Get the specified token minumum and maximum validity in days.
|
|
7416
|
+
* @param {*} [options] Override http request option.
|
|
7417
|
+
* @throws {RequiredError}
|
|
7418
|
+
*/
|
|
7419
|
+
tokenGetTokenValidityBounds(options) {
|
|
7420
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7421
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tokenGetTokenValidityBounds(options);
|
|
7422
|
+
return createRequestFunction$2(localVarAxiosArgs, axios, BASE_PATH$2, configuration);
|
|
7423
|
+
});
|
|
7424
|
+
},
|
|
7386
7425
|
/**
|
|
7387
7426
|
*
|
|
7388
7427
|
* @summary Get the specific token values.
|
|
@@ -7440,6 +7479,15 @@
|
|
|
7440
7479
|
tokenAddToken(addApiTokenParameter, options) {
|
|
7441
7480
|
return localVarFp.tokenAddToken(addApiTokenParameter, options).then((request) => request(axios, basePath));
|
|
7442
7481
|
},
|
|
7482
|
+
/**
|
|
7483
|
+
*
|
|
7484
|
+
* @summary Get the specified token minumum and maximum validity in days.
|
|
7485
|
+
* @param {*} [options] Override http request option.
|
|
7486
|
+
* @throws {RequiredError}
|
|
7487
|
+
*/
|
|
7488
|
+
tokenGetTokenValidityBounds(options) {
|
|
7489
|
+
return localVarFp.tokenGetTokenValidityBounds(options).then((request) => request(axios, basePath));
|
|
7490
|
+
},
|
|
7443
7491
|
/**
|
|
7444
7492
|
*
|
|
7445
7493
|
* @summary Get the specific token values.
|
|
@@ -7473,7 +7521,7 @@
|
|
|
7473
7521
|
};
|
|
7474
7522
|
|
|
7475
7523
|
/* tslint:disable */
|
|
7476
|
-
const BASE_PATH$1 = "https://d-
|
|
7524
|
+
const BASE_PATH$1 = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Tree".replace(/\/+$/, "");
|
|
7477
7525
|
/**
|
|
7478
7526
|
*
|
|
7479
7527
|
* @export
|
|
@@ -7706,7 +7754,7 @@
|
|
|
7706
7754
|
};
|
|
7707
7755
|
|
|
7708
7756
|
/* tslint:disable */
|
|
7709
|
-
const BASE_PATH = "https://d-
|
|
7757
|
+
const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.User".replace(/\/+$/, "");
|
|
7710
7758
|
/**
|
|
7711
7759
|
*
|
|
7712
7760
|
* @export
|