@coscine/api-client 1.4.0 → 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 +317 -249
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +316 -250
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/base.js +1 -1
- package/dist/lib/Coscine.Api.Admin/api.js +13 -13
- package/dist/lib/Coscine.Api.Admin/base.js +2 -2
- package/dist/lib/Coscine.Api.Admin/common.js +1 -1
- package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Admin/index.js +1 -1
- package/dist/lib/Coscine.Api.Blob/api.js +1 -1
- package/dist/lib/Coscine.Api.Blob/base.js +2 -2
- 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.Metadata/api.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/base.js +2 -2
- package/dist/lib/Coscine.Api.Metadata/common.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/index.js +1 -1
- package/dist/lib/Coscine.Api.Notices/api.js +1 -1
- package/dist/lib/Coscine.Api.Notices/base.js +2 -2
- package/dist/lib/Coscine.Api.Notices/common.js +1 -1
- package/dist/lib/Coscine.Api.Notices/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Notices/index.js +1 -1
- package/dist/lib/Coscine.Api.Organization/base.js +1 -1
- package/dist/lib/Coscine.Api.Project/api.js +280 -257
- 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/api.js +1 -1
- package/dist/lib/Coscine.Api.Quota/base.js +2 -2
- package/dist/lib/Coscine.Api.Quota/common.js +1 -1
- package/dist/lib/Coscine.Api.Quota/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Quota/index.js +1 -1
- package/dist/lib/Coscine.Api.Resources/api.js +29 -29
- package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Resources/base.js +2 -2
- package/dist/lib/Coscine.Api.Resources/common.js +1 -1
- package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Resources/index.js +1 -1
- package/dist/lib/Coscine.Api.Search/api.js +1 -1
- package/dist/lib/Coscine.Api.Search/base.js +2 -2
- package/dist/lib/Coscine.Api.Search/common.js +1 -1
- package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Search/index.js +1 -1
- package/dist/lib/Coscine.Api.Token/api.js +58 -0
- package/dist/lib/Coscine.Api.Token/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Token/base.js +1 -1
- package/dist/lib/Coscine.Api.Tree/api.js +1 -1
- package/dist/lib/Coscine.Api.Tree/base.js +2 -2
- 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/lib/Coscine.Api.User/api.js +1 -1
- package/dist/lib/Coscine.Api.User/base.js +2 -2
- package/dist/lib/Coscine.Api.User/common.js +1 -1
- package/dist/lib/Coscine.Api.User/configuration.js +1 -1
- package/dist/lib/Coscine.Api.User/index.js +1 -1
- package/dist/lib/index.js +1 -3
- package/dist/lib/index.js.map +1 -1
- package/dist/types/Coscine.Api.Admin/api.d.ts +13 -13
- package/dist/types/Coscine.Api.Admin/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/api.d.ts +1 -1
- 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.Metadata/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/api.d.ts +408 -1726
- 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.Quota/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Quota/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Quota/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Quota/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Quota/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/api.d.ts +176 -38
- package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Token/api.d.ts +48 -0
- package/dist/types/Coscine.Api.Tree/api.d.ts +1 -1
- 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/Coscine.Api.User/api.d.ts +1 -1
- package/dist/types/Coscine.Api.User/base.d.ts +1 -1
- package/dist/types/Coscine.Api.User/common.d.ts +1 -1
- package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.User/index.d.ts +1 -1
- package/dist/types/apis.d.ts +13 -12
- package/dist/types/index.d.ts +26 -27
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Coscine.Api.Project
|
|
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.6.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -230,10 +230,41 @@ exports.LicenseApi = LicenseApi;
|
|
|
230
230
|
*/
|
|
231
231
|
const ProjectApiAxiosParamCreator = function (configuration) {
|
|
232
232
|
return {
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
* @summary Call to analytics logger.
|
|
236
|
+
* @param {string} projectId Project id of the project
|
|
237
|
+
* @param {*} [options] Override http request option.
|
|
238
|
+
* @throws {RequiredError}
|
|
239
|
+
*/
|
|
240
|
+
projectCreateApplicationProfile: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
241
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
242
|
+
(0, common_1.assertParamExists)('projectCreateApplicationProfile', 'projectId', projectId);
|
|
243
|
+
const localVarPath = `/Project/{projectId}/-/create-profile`
|
|
244
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
245
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
246
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
247
|
+
let baseOptions;
|
|
248
|
+
if (configuration) {
|
|
249
|
+
baseOptions = configuration.baseOptions;
|
|
250
|
+
}
|
|
251
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
252
|
+
const localVarHeaderParameter = {};
|
|
253
|
+
const localVarQueryParameter = {};
|
|
254
|
+
// authentication JWT token required
|
|
255
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
256
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
257
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
258
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
259
|
+
return {
|
|
260
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
261
|
+
options: localVarRequestOptions,
|
|
262
|
+
};
|
|
263
|
+
}),
|
|
233
264
|
/**
|
|
234
265
|
*
|
|
235
266
|
* @summary Deletes the selected project
|
|
236
|
-
* @param {string} id Id of the
|
|
267
|
+
* @param {string} id Id of the project
|
|
237
268
|
* @param {*} [options] Override http request option.
|
|
238
269
|
* @throws {RequiredError}
|
|
239
270
|
*/
|
|
@@ -263,8 +294,8 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
263
294
|
}),
|
|
264
295
|
/**
|
|
265
296
|
*
|
|
266
|
-
* @summary Deletes
|
|
267
|
-
* @param {string} invitationId Id of
|
|
297
|
+
* @summary Deletes a project invitation.
|
|
298
|
+
* @param {string} invitationId Id of an invitation
|
|
268
299
|
* @param {*} [options] Override http request option.
|
|
269
300
|
* @throws {RequiredError}
|
|
270
301
|
*/
|
|
@@ -294,8 +325,8 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
294
325
|
}),
|
|
295
326
|
/**
|
|
296
327
|
*
|
|
297
|
-
* @summary This returns the
|
|
298
|
-
* @param {string} id Id of the
|
|
328
|
+
* @summary This returns the project if the user has access to it
|
|
329
|
+
* @param {string} id Id of the project
|
|
299
330
|
* @param {*} [options] Override http request option.
|
|
300
331
|
* @throws {RequiredError}
|
|
301
332
|
*/
|
|
@@ -323,21 +354,52 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
323
354
|
options: localVarRequestOptions,
|
|
324
355
|
};
|
|
325
356
|
}),
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @summary This returns the project if the user has access to it
|
|
360
|
+
* @param {string} slug Slug of the project
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
*/
|
|
364
|
+
projectGetBySlug: (slug, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
365
|
+
// verify required parameter 'slug' is not null or undefined
|
|
366
|
+
(0, common_1.assertParamExists)('projectGetBySlug', 'slug', slug);
|
|
367
|
+
const localVarPath = `/Project/slug/{slug}`
|
|
368
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
369
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
370
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
371
|
+
let baseOptions;
|
|
372
|
+
if (configuration) {
|
|
373
|
+
baseOptions = configuration.baseOptions;
|
|
374
|
+
}
|
|
375
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
376
|
+
const localVarHeaderParameter = {};
|
|
377
|
+
const localVarQueryParameter = {};
|
|
378
|
+
// authentication JWT token required
|
|
379
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
380
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
381
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
382
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
383
|
+
return {
|
|
384
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
385
|
+
options: localVarRequestOptions,
|
|
386
|
+
};
|
|
387
|
+
}),
|
|
326
388
|
/**
|
|
327
389
|
*
|
|
328
390
|
* @summary Get the max quota for a resource type.
|
|
329
|
-
* @param {string}
|
|
391
|
+
* @param {string} id Id of the project.
|
|
330
392
|
* @param {string} resourceTypeId Id of the resource
|
|
331
393
|
* @param {*} [options] Override http request option.
|
|
332
394
|
* @throws {RequiredError}
|
|
333
395
|
*/
|
|
334
|
-
projectGetQuotaMax: (
|
|
335
|
-
// verify required parameter '
|
|
336
|
-
(0, common_1.assertParamExists)('projectGetQuotaMax', '
|
|
396
|
+
projectGetQuotaMax: (id, resourceTypeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
397
|
+
// verify required parameter 'id' is not null or undefined
|
|
398
|
+
(0, common_1.assertParamExists)('projectGetQuotaMax', 'id', id);
|
|
337
399
|
// verify required parameter 'resourceTypeId' is not null or undefined
|
|
338
400
|
(0, common_1.assertParamExists)('projectGetQuotaMax', 'resourceTypeId', resourceTypeId);
|
|
339
|
-
const localVarPath = `/Project/{
|
|
340
|
-
.replace(`{${"
|
|
401
|
+
const localVarPath = `/Project/{id}/quota/{resourceTypeId}/max`
|
|
402
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
341
403
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
342
404
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
343
405
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -361,7 +423,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
361
423
|
/**
|
|
362
424
|
*
|
|
363
425
|
* @summary Gets the resources
|
|
364
|
-
* @param {string} id Id of the
|
|
426
|
+
* @param {string} id Id of the project
|
|
365
427
|
* @param {*} [options] Override http request option.
|
|
366
428
|
* @throws {RequiredError}
|
|
367
429
|
*/
|
|
@@ -446,7 +508,7 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
446
508
|
/**
|
|
447
509
|
*
|
|
448
510
|
* @summary List all invitations of a project.
|
|
449
|
-
* @param {string} projectId
|
|
511
|
+
* @param {string} projectId Id of the project
|
|
450
512
|
* @param {*} [options] Override http request option.
|
|
451
513
|
* @throws {RequiredError}
|
|
452
514
|
*/
|
|
@@ -477,18 +539,18 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
477
539
|
/**
|
|
478
540
|
*
|
|
479
541
|
* @summary Retrieves the quota for the selected project and resource Type.
|
|
480
|
-
* @param {string}
|
|
542
|
+
* @param {string} id Id of the project
|
|
481
543
|
* @param {string} resourceTypeId Id of the resource type
|
|
482
544
|
* @param {*} [options] Override http request option.
|
|
483
545
|
* @throws {RequiredError}
|
|
484
546
|
*/
|
|
485
|
-
projectQuota: (
|
|
486
|
-
// verify required parameter '
|
|
487
|
-
(0, common_1.assertParamExists)('projectQuota', '
|
|
547
|
+
projectQuota: (id, resourceTypeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
548
|
+
// verify required parameter 'id' is not null or undefined
|
|
549
|
+
(0, common_1.assertParamExists)('projectQuota', 'id', id);
|
|
488
550
|
// verify required parameter 'resourceTypeId' is not null or undefined
|
|
489
551
|
(0, common_1.assertParamExists)('projectQuota', 'resourceTypeId', resourceTypeId);
|
|
490
|
-
const localVarPath = `/Project/{
|
|
491
|
-
.replace(`{${"
|
|
552
|
+
const localVarPath = `/Project/{id}/quota/{resourceTypeId}`
|
|
553
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
492
554
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
493
555
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
494
556
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -512,15 +574,15 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
512
574
|
/**
|
|
513
575
|
*
|
|
514
576
|
* @summary Retrieves the quota for the selected project.
|
|
515
|
-
* @param {string}
|
|
577
|
+
* @param {string} id Id of the project
|
|
516
578
|
* @param {*} [options] Override http request option.
|
|
517
579
|
* @throws {RequiredError}
|
|
518
580
|
*/
|
|
519
|
-
projectQuotas: (
|
|
520
|
-
// verify required parameter '
|
|
521
|
-
(0, common_1.assertParamExists)('projectQuotas', '
|
|
522
|
-
const localVarPath = `/Project/{
|
|
523
|
-
.replace(`{${"
|
|
581
|
+
projectQuotas: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
582
|
+
// verify required parameter 'id' is not null or undefined
|
|
583
|
+
(0, common_1.assertParamExists)('projectQuotas', 'id', id);
|
|
584
|
+
const localVarPath = `/Project/{id}/quota/-/all`
|
|
585
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
524
586
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
525
587
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
526
588
|
let baseOptions;
|
|
@@ -542,16 +604,16 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
542
604
|
}),
|
|
543
605
|
/**
|
|
544
606
|
*
|
|
545
|
-
* @summary Resolve
|
|
546
|
-
* @param {string}
|
|
607
|
+
* @summary Resolve a project invitation for the current user.
|
|
608
|
+
* @param {string} invitationToken Token for a project invitation stored inside the URL under \".../?invitationToken={token}\"
|
|
547
609
|
* @param {*} [options] Override http request option.
|
|
548
610
|
* @throws {RequiredError}
|
|
549
611
|
*/
|
|
550
|
-
projectResolveInvitation: (
|
|
551
|
-
// verify required parameter '
|
|
552
|
-
(0, common_1.assertParamExists)('projectResolveInvitation', '
|
|
553
|
-
const localVarPath = `/Project/invitation/resolve/{
|
|
554
|
-
.replace(`{${"
|
|
612
|
+
projectResolveInvitation: (invitationToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
613
|
+
// verify required parameter 'invitationToken' is not null or undefined
|
|
614
|
+
(0, common_1.assertParamExists)('projectResolveInvitation', 'invitationToken', invitationToken);
|
|
615
|
+
const localVarPath = `/Project/invitation/resolve/{invitationToken}`
|
|
616
|
+
.replace(`{${"invitationToken"}}`, encodeURIComponent(String(invitationToken)));
|
|
555
617
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
556
618
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
557
619
|
let baseOptions;
|
|
@@ -573,8 +635,8 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
573
635
|
}),
|
|
574
636
|
/**
|
|
575
637
|
*
|
|
576
|
-
* @summary Create and send
|
|
577
|
-
* @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation
|
|
638
|
+
* @summary Create and send a project invitation to a specified mail.
|
|
639
|
+
* @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \".../?invitationToken={token}\".
|
|
578
640
|
* @param {*} [options] Override http request option.
|
|
579
641
|
* @throws {RequiredError}
|
|
580
642
|
*/
|
|
@@ -606,10 +668,13 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
606
668
|
/**
|
|
607
669
|
*
|
|
608
670
|
* @summary Creates a project
|
|
671
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
609
672
|
* @param {*} [options] Override http request option.
|
|
610
673
|
* @throws {RequiredError}
|
|
611
674
|
*/
|
|
612
|
-
projectStore: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
675
|
+
projectStore: (projectObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
676
|
+
// verify required parameter 'projectObject' is not null or undefined
|
|
677
|
+
(0, common_1.assertParamExists)('projectStore', 'projectObject', projectObject);
|
|
613
678
|
const localVarPath = `/Project`;
|
|
614
679
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
615
680
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -622,9 +687,11 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
622
687
|
const localVarQueryParameter = {};
|
|
623
688
|
// authentication JWT token required
|
|
624
689
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
690
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
625
691
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
626
692
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
627
693
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
694
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(projectObject, localVarRequestOptions, configuration);
|
|
628
695
|
return {
|
|
629
696
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
630
697
|
options: localVarRequestOptions,
|
|
@@ -633,13 +700,16 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
633
700
|
/**
|
|
634
701
|
*
|
|
635
702
|
* @summary Updates the selected project
|
|
636
|
-
* @param {string} id Id of the
|
|
703
|
+
* @param {string} id Id of the project
|
|
704
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
637
705
|
* @param {*} [options] Override http request option.
|
|
638
706
|
* @throws {RequiredError}
|
|
639
707
|
*/
|
|
640
|
-
projectUpdate: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
708
|
+
projectUpdate: (id, projectObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
641
709
|
// verify required parameter 'id' is not null or undefined
|
|
642
710
|
(0, common_1.assertParamExists)('projectUpdate', 'id', id);
|
|
711
|
+
// verify required parameter 'projectObject' is not null or undefined
|
|
712
|
+
(0, common_1.assertParamExists)('projectUpdate', 'projectObject', projectObject);
|
|
643
713
|
const localVarPath = `/Project/{id}`
|
|
644
714
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
645
715
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -653,9 +723,11 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
653
723
|
const localVarQueryParameter = {};
|
|
654
724
|
// authentication JWT token required
|
|
655
725
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
726
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
656
727
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
657
728
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
658
729
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
730
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(projectObject, localVarRequestOptions, configuration);
|
|
659
731
|
return {
|
|
660
732
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
661
733
|
options: localVarRequestOptions,
|
|
@@ -664,21 +736,21 @@ const ProjectApiAxiosParamCreator = function (configuration) {
|
|
|
664
736
|
/**
|
|
665
737
|
*
|
|
666
738
|
* @summary Update the project quota.
|
|
667
|
-
* @param {string}
|
|
739
|
+
* @param {string} id Id of the project.
|
|
668
740
|
* @param {string} resourceTypeId Id of the resource.
|
|
669
741
|
* @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
|
|
670
742
|
* @param {*} [options] Override http request option.
|
|
671
743
|
* @throws {RequiredError}
|
|
672
744
|
*/
|
|
673
|
-
projectUpdateQuota: (
|
|
674
|
-
// verify required parameter '
|
|
675
|
-
(0, common_1.assertParamExists)('projectUpdateQuota', '
|
|
745
|
+
projectUpdateQuota: (id, resourceTypeId, updateProjectQuotaObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
746
|
+
// verify required parameter 'id' is not null or undefined
|
|
747
|
+
(0, common_1.assertParamExists)('projectUpdateQuota', 'id', id);
|
|
676
748
|
// verify required parameter 'resourceTypeId' is not null or undefined
|
|
677
749
|
(0, common_1.assertParamExists)('projectUpdateQuota', 'resourceTypeId', resourceTypeId);
|
|
678
750
|
// verify required parameter 'updateProjectQuotaObject' is not null or undefined
|
|
679
751
|
(0, common_1.assertParamExists)('projectUpdateQuota', 'updateProjectQuotaObject', updateProjectQuotaObject);
|
|
680
|
-
const localVarPath = `/Project/{
|
|
681
|
-
.replace(`{${"
|
|
752
|
+
const localVarPath = `/Project/{id}/quota/{resourceTypeId}`
|
|
753
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
682
754
|
.replace(`{${"resourceTypeId"}}`, encodeURIComponent(String(resourceTypeId)));
|
|
683
755
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
684
756
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -711,10 +783,23 @@ exports.ProjectApiAxiosParamCreator = ProjectApiAxiosParamCreator;
|
|
|
711
783
|
const ProjectApiFp = function (configuration) {
|
|
712
784
|
const localVarAxiosParamCreator = (0, exports.ProjectApiAxiosParamCreator)(configuration);
|
|
713
785
|
return {
|
|
786
|
+
/**
|
|
787
|
+
*
|
|
788
|
+
* @summary Call to analytics logger.
|
|
789
|
+
* @param {string} projectId Project id of the project
|
|
790
|
+
* @param {*} [options] Override http request option.
|
|
791
|
+
* @throws {RequiredError}
|
|
792
|
+
*/
|
|
793
|
+
projectCreateApplicationProfile(projectId, options) {
|
|
794
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
795
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectCreateApplicationProfile(projectId, options);
|
|
796
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
797
|
+
});
|
|
798
|
+
},
|
|
714
799
|
/**
|
|
715
800
|
*
|
|
716
801
|
* @summary Deletes the selected project
|
|
717
|
-
* @param {string} id Id of the
|
|
802
|
+
* @param {string} id Id of the project
|
|
718
803
|
* @param {*} [options] Override http request option.
|
|
719
804
|
* @throws {RequiredError}
|
|
720
805
|
*/
|
|
@@ -726,8 +811,8 @@ const ProjectApiFp = function (configuration) {
|
|
|
726
811
|
},
|
|
727
812
|
/**
|
|
728
813
|
*
|
|
729
|
-
* @summary Deletes
|
|
730
|
-
* @param {string} invitationId Id of
|
|
814
|
+
* @summary Deletes a project invitation.
|
|
815
|
+
* @param {string} invitationId Id of an invitation
|
|
731
816
|
* @param {*} [options] Override http request option.
|
|
732
817
|
* @throws {RequiredError}
|
|
733
818
|
*/
|
|
@@ -739,8 +824,8 @@ const ProjectApiFp = function (configuration) {
|
|
|
739
824
|
},
|
|
740
825
|
/**
|
|
741
826
|
*
|
|
742
|
-
* @summary This returns the
|
|
743
|
-
* @param {string} id Id of the
|
|
827
|
+
* @summary This returns the project if the user has access to it
|
|
828
|
+
* @param {string} id Id of the project
|
|
744
829
|
* @param {*} [options] Override http request option.
|
|
745
830
|
* @throws {RequiredError}
|
|
746
831
|
*/
|
|
@@ -750,24 +835,37 @@ const ProjectApiFp = function (configuration) {
|
|
|
750
835
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
751
836
|
});
|
|
752
837
|
},
|
|
838
|
+
/**
|
|
839
|
+
*
|
|
840
|
+
* @summary This returns the project if the user has access to it
|
|
841
|
+
* @param {string} slug Slug of the project
|
|
842
|
+
* @param {*} [options] Override http request option.
|
|
843
|
+
* @throws {RequiredError}
|
|
844
|
+
*/
|
|
845
|
+
projectGetBySlug(slug, options) {
|
|
846
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
847
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetBySlug(slug, options);
|
|
848
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
849
|
+
});
|
|
850
|
+
},
|
|
753
851
|
/**
|
|
754
852
|
*
|
|
755
853
|
* @summary Get the max quota for a resource type.
|
|
756
|
-
* @param {string}
|
|
854
|
+
* @param {string} id Id of the project.
|
|
757
855
|
* @param {string} resourceTypeId Id of the resource
|
|
758
856
|
* @param {*} [options] Override http request option.
|
|
759
857
|
* @throws {RequiredError}
|
|
760
858
|
*/
|
|
761
|
-
projectGetQuotaMax(
|
|
859
|
+
projectGetQuotaMax(id, resourceTypeId, options) {
|
|
762
860
|
return __awaiter(this, void 0, void 0, function* () {
|
|
763
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetQuotaMax(
|
|
861
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectGetQuotaMax(id, resourceTypeId, options);
|
|
764
862
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
765
863
|
});
|
|
766
864
|
},
|
|
767
865
|
/**
|
|
768
866
|
*
|
|
769
867
|
* @summary Gets the resources
|
|
770
|
-
* @param {string} id Id of the
|
|
868
|
+
* @param {string} id Id of the project
|
|
771
869
|
* @param {*} [options] Override http request option.
|
|
772
870
|
* @throws {RequiredError}
|
|
773
871
|
*/
|
|
@@ -804,7 +902,7 @@ const ProjectApiFp = function (configuration) {
|
|
|
804
902
|
/**
|
|
805
903
|
*
|
|
806
904
|
* @summary List all invitations of a project.
|
|
807
|
-
* @param {string} projectId
|
|
905
|
+
* @param {string} projectId Id of the project
|
|
808
906
|
* @param {*} [options] Override http request option.
|
|
809
907
|
* @throws {RequiredError}
|
|
810
908
|
*/
|
|
@@ -817,47 +915,47 @@ const ProjectApiFp = function (configuration) {
|
|
|
817
915
|
/**
|
|
818
916
|
*
|
|
819
917
|
* @summary Retrieves the quota for the selected project and resource Type.
|
|
820
|
-
* @param {string}
|
|
918
|
+
* @param {string} id Id of the project
|
|
821
919
|
* @param {string} resourceTypeId Id of the resource type
|
|
822
920
|
* @param {*} [options] Override http request option.
|
|
823
921
|
* @throws {RequiredError}
|
|
824
922
|
*/
|
|
825
|
-
projectQuota(
|
|
923
|
+
projectQuota(id, resourceTypeId, options) {
|
|
826
924
|
return __awaiter(this, void 0, void 0, function* () {
|
|
827
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuota(
|
|
925
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuota(id, resourceTypeId, options);
|
|
828
926
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
829
927
|
});
|
|
830
928
|
},
|
|
831
929
|
/**
|
|
832
930
|
*
|
|
833
931
|
* @summary Retrieves the quota for the selected project.
|
|
834
|
-
* @param {string}
|
|
932
|
+
* @param {string} id Id of the project
|
|
835
933
|
* @param {*} [options] Override http request option.
|
|
836
934
|
* @throws {RequiredError}
|
|
837
935
|
*/
|
|
838
|
-
projectQuotas(
|
|
936
|
+
projectQuotas(id, options) {
|
|
839
937
|
return __awaiter(this, void 0, void 0, function* () {
|
|
840
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotas(
|
|
938
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectQuotas(id, options);
|
|
841
939
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
842
940
|
});
|
|
843
941
|
},
|
|
844
942
|
/**
|
|
845
943
|
*
|
|
846
|
-
* @summary Resolve
|
|
847
|
-
* @param {string}
|
|
944
|
+
* @summary Resolve a project invitation for the current user.
|
|
945
|
+
* @param {string} invitationToken Token for a project invitation stored inside the URL under \".../?invitationToken={token}\"
|
|
848
946
|
* @param {*} [options] Override http request option.
|
|
849
947
|
* @throws {RequiredError}
|
|
850
948
|
*/
|
|
851
|
-
projectResolveInvitation(
|
|
949
|
+
projectResolveInvitation(invitationToken, options) {
|
|
852
950
|
return __awaiter(this, void 0, void 0, function* () {
|
|
853
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectResolveInvitation(
|
|
951
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectResolveInvitation(invitationToken, options);
|
|
854
952
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
855
953
|
});
|
|
856
954
|
},
|
|
857
955
|
/**
|
|
858
956
|
*
|
|
859
|
-
* @summary Create and send
|
|
860
|
-
* @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation
|
|
957
|
+
* @summary Create and send a project invitation to a specified mail.
|
|
958
|
+
* @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \".../?invitationToken={token}\".
|
|
861
959
|
* @param {*} [options] Override http request option.
|
|
862
960
|
* @throws {RequiredError}
|
|
863
961
|
*/
|
|
@@ -870,40 +968,42 @@ const ProjectApiFp = function (configuration) {
|
|
|
870
968
|
/**
|
|
871
969
|
*
|
|
872
970
|
* @summary Creates a project
|
|
971
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
873
972
|
* @param {*} [options] Override http request option.
|
|
874
973
|
* @throws {RequiredError}
|
|
875
974
|
*/
|
|
876
|
-
projectStore(options) {
|
|
975
|
+
projectStore(projectObject, options) {
|
|
877
976
|
return __awaiter(this, void 0, void 0, function* () {
|
|
878
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectStore(options);
|
|
977
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectStore(projectObject, options);
|
|
879
978
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
880
979
|
});
|
|
881
980
|
},
|
|
882
981
|
/**
|
|
883
982
|
*
|
|
884
983
|
* @summary Updates the selected project
|
|
885
|
-
* @param {string} id Id of the
|
|
984
|
+
* @param {string} id Id of the project
|
|
985
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
886
986
|
* @param {*} [options] Override http request option.
|
|
887
987
|
* @throws {RequiredError}
|
|
888
988
|
*/
|
|
889
|
-
projectUpdate(id, options) {
|
|
989
|
+
projectUpdate(id, projectObject, options) {
|
|
890
990
|
return __awaiter(this, void 0, void 0, function* () {
|
|
891
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdate(id, options);
|
|
991
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdate(id, projectObject, options);
|
|
892
992
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
893
993
|
});
|
|
894
994
|
},
|
|
895
995
|
/**
|
|
896
996
|
*
|
|
897
997
|
* @summary Update the project quota.
|
|
898
|
-
* @param {string}
|
|
998
|
+
* @param {string} id Id of the project.
|
|
899
999
|
* @param {string} resourceTypeId Id of the resource.
|
|
900
1000
|
* @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
|
|
901
1001
|
* @param {*} [options] Override http request option.
|
|
902
1002
|
* @throws {RequiredError}
|
|
903
1003
|
*/
|
|
904
|
-
projectUpdateQuota(
|
|
1004
|
+
projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options) {
|
|
905
1005
|
return __awaiter(this, void 0, void 0, function* () {
|
|
906
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdateQuota(
|
|
1006
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options);
|
|
907
1007
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
908
1008
|
});
|
|
909
1009
|
},
|
|
@@ -917,10 +1017,20 @@ exports.ProjectApiFp = ProjectApiFp;
|
|
|
917
1017
|
const ProjectApiFactory = function (configuration, basePath, axios) {
|
|
918
1018
|
const localVarFp = (0, exports.ProjectApiFp)(configuration);
|
|
919
1019
|
return {
|
|
1020
|
+
/**
|
|
1021
|
+
*
|
|
1022
|
+
* @summary Call to analytics logger.
|
|
1023
|
+
* @param {string} projectId Project id of the project
|
|
1024
|
+
* @param {*} [options] Override http request option.
|
|
1025
|
+
* @throws {RequiredError}
|
|
1026
|
+
*/
|
|
1027
|
+
projectCreateApplicationProfile(projectId, options) {
|
|
1028
|
+
return localVarFp.projectCreateApplicationProfile(projectId, options).then((request) => request(axios, basePath));
|
|
1029
|
+
},
|
|
920
1030
|
/**
|
|
921
1031
|
*
|
|
922
1032
|
* @summary Deletes the selected project
|
|
923
|
-
* @param {string} id Id of the
|
|
1033
|
+
* @param {string} id Id of the project
|
|
924
1034
|
* @param {*} [options] Override http request option.
|
|
925
1035
|
* @throws {RequiredError}
|
|
926
1036
|
*/
|
|
@@ -929,8 +1039,8 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
|
|
|
929
1039
|
},
|
|
930
1040
|
/**
|
|
931
1041
|
*
|
|
932
|
-
* @summary Deletes
|
|
933
|
-
* @param {string} invitationId Id of
|
|
1042
|
+
* @summary Deletes a project invitation.
|
|
1043
|
+
* @param {string} invitationId Id of an invitation
|
|
934
1044
|
* @param {*} [options] Override http request option.
|
|
935
1045
|
* @throws {RequiredError}
|
|
936
1046
|
*/
|
|
@@ -939,29 +1049,39 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
|
|
|
939
1049
|
},
|
|
940
1050
|
/**
|
|
941
1051
|
*
|
|
942
|
-
* @summary This returns the
|
|
943
|
-
* @param {string} id Id of the
|
|
1052
|
+
* @summary This returns the project if the user has access to it
|
|
1053
|
+
* @param {string} id Id of the project
|
|
944
1054
|
* @param {*} [options] Override http request option.
|
|
945
1055
|
* @throws {RequiredError}
|
|
946
1056
|
*/
|
|
947
1057
|
projectGet(id, options) {
|
|
948
1058
|
return localVarFp.projectGet(id, options).then((request) => request(axios, basePath));
|
|
949
1059
|
},
|
|
1060
|
+
/**
|
|
1061
|
+
*
|
|
1062
|
+
* @summary This returns the project if the user has access to it
|
|
1063
|
+
* @param {string} slug Slug of the project
|
|
1064
|
+
* @param {*} [options] Override http request option.
|
|
1065
|
+
* @throws {RequiredError}
|
|
1066
|
+
*/
|
|
1067
|
+
projectGetBySlug(slug, options) {
|
|
1068
|
+
return localVarFp.projectGetBySlug(slug, options).then((request) => request(axios, basePath));
|
|
1069
|
+
},
|
|
950
1070
|
/**
|
|
951
1071
|
*
|
|
952
1072
|
* @summary Get the max quota for a resource type.
|
|
953
|
-
* @param {string}
|
|
1073
|
+
* @param {string} id Id of the project.
|
|
954
1074
|
* @param {string} resourceTypeId Id of the resource
|
|
955
1075
|
* @param {*} [options] Override http request option.
|
|
956
1076
|
* @throws {RequiredError}
|
|
957
1077
|
*/
|
|
958
|
-
projectGetQuotaMax(
|
|
959
|
-
return localVarFp.projectGetQuotaMax(
|
|
1078
|
+
projectGetQuotaMax(id, resourceTypeId, options) {
|
|
1079
|
+
return localVarFp.projectGetQuotaMax(id, resourceTypeId, options).then((request) => request(axios, basePath));
|
|
960
1080
|
},
|
|
961
1081
|
/**
|
|
962
1082
|
*
|
|
963
1083
|
* @summary Gets the resources
|
|
964
|
-
* @param {string} id Id of the
|
|
1084
|
+
* @param {string} id Id of the project
|
|
965
1085
|
* @param {*} [options] Override http request option.
|
|
966
1086
|
* @throws {RequiredError}
|
|
967
1087
|
*/
|
|
@@ -989,7 +1109,7 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
|
|
|
989
1109
|
/**
|
|
990
1110
|
*
|
|
991
1111
|
* @summary List all invitations of a project.
|
|
992
|
-
* @param {string} projectId
|
|
1112
|
+
* @param {string} projectId Id of the project
|
|
993
1113
|
* @param {*} [options] Override http request option.
|
|
994
1114
|
* @throws {RequiredError}
|
|
995
1115
|
*/
|
|
@@ -999,38 +1119,38 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
|
|
|
999
1119
|
/**
|
|
1000
1120
|
*
|
|
1001
1121
|
* @summary Retrieves the quota for the selected project and resource Type.
|
|
1002
|
-
* @param {string}
|
|
1122
|
+
* @param {string} id Id of the project
|
|
1003
1123
|
* @param {string} resourceTypeId Id of the resource type
|
|
1004
1124
|
* @param {*} [options] Override http request option.
|
|
1005
1125
|
* @throws {RequiredError}
|
|
1006
1126
|
*/
|
|
1007
|
-
projectQuota(
|
|
1008
|
-
return localVarFp.projectQuota(
|
|
1127
|
+
projectQuota(id, resourceTypeId, options) {
|
|
1128
|
+
return localVarFp.projectQuota(id, resourceTypeId, options).then((request) => request(axios, basePath));
|
|
1009
1129
|
},
|
|
1010
1130
|
/**
|
|
1011
1131
|
*
|
|
1012
1132
|
* @summary Retrieves the quota for the selected project.
|
|
1013
|
-
* @param {string}
|
|
1133
|
+
* @param {string} id Id of the project
|
|
1014
1134
|
* @param {*} [options] Override http request option.
|
|
1015
1135
|
* @throws {RequiredError}
|
|
1016
1136
|
*/
|
|
1017
|
-
projectQuotas(
|
|
1018
|
-
return localVarFp.projectQuotas(
|
|
1137
|
+
projectQuotas(id, options) {
|
|
1138
|
+
return localVarFp.projectQuotas(id, options).then((request) => request(axios, basePath));
|
|
1019
1139
|
},
|
|
1020
1140
|
/**
|
|
1021
1141
|
*
|
|
1022
|
-
* @summary Resolve
|
|
1023
|
-
* @param {string}
|
|
1142
|
+
* @summary Resolve a project invitation for the current user.
|
|
1143
|
+
* @param {string} invitationToken Token for a project invitation stored inside the URL under \".../?invitationToken={token}\"
|
|
1024
1144
|
* @param {*} [options] Override http request option.
|
|
1025
1145
|
* @throws {RequiredError}
|
|
1026
1146
|
*/
|
|
1027
|
-
projectResolveInvitation(
|
|
1028
|
-
return localVarFp.projectResolveInvitation(
|
|
1147
|
+
projectResolveInvitation(invitationToken, options) {
|
|
1148
|
+
return localVarFp.projectResolveInvitation(invitationToken, options).then((request) => request(axios, basePath));
|
|
1029
1149
|
},
|
|
1030
1150
|
/**
|
|
1031
1151
|
*
|
|
1032
|
-
* @summary Create and send
|
|
1033
|
-
* @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation
|
|
1152
|
+
* @summary Create and send a project invitation to a specified mail.
|
|
1153
|
+
* @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \".../?invitationToken={token}\".
|
|
1034
1154
|
* @param {*} [options] Override http request option.
|
|
1035
1155
|
* @throws {RequiredError}
|
|
1036
1156
|
*/
|
|
@@ -1040,33 +1160,35 @@ const ProjectApiFactory = function (configuration, basePath, axios) {
|
|
|
1040
1160
|
/**
|
|
1041
1161
|
*
|
|
1042
1162
|
* @summary Creates a project
|
|
1163
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
1043
1164
|
* @param {*} [options] Override http request option.
|
|
1044
1165
|
* @throws {RequiredError}
|
|
1045
1166
|
*/
|
|
1046
|
-
projectStore(options) {
|
|
1047
|
-
return localVarFp.projectStore(options).then((request) => request(axios, basePath));
|
|
1167
|
+
projectStore(projectObject, options) {
|
|
1168
|
+
return localVarFp.projectStore(projectObject, options).then((request) => request(axios, basePath));
|
|
1048
1169
|
},
|
|
1049
1170
|
/**
|
|
1050
1171
|
*
|
|
1051
1172
|
* @summary Updates the selected project
|
|
1052
|
-
* @param {string} id Id of the
|
|
1173
|
+
* @param {string} id Id of the project
|
|
1174
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
1053
1175
|
* @param {*} [options] Override http request option.
|
|
1054
1176
|
* @throws {RequiredError}
|
|
1055
1177
|
*/
|
|
1056
|
-
projectUpdate(id, options) {
|
|
1057
|
-
return localVarFp.projectUpdate(id, options).then((request) => request(axios, basePath));
|
|
1178
|
+
projectUpdate(id, projectObject, options) {
|
|
1179
|
+
return localVarFp.projectUpdate(id, projectObject, options).then((request) => request(axios, basePath));
|
|
1058
1180
|
},
|
|
1059
1181
|
/**
|
|
1060
1182
|
*
|
|
1061
1183
|
* @summary Update the project quota.
|
|
1062
|
-
* @param {string}
|
|
1184
|
+
* @param {string} id Id of the project.
|
|
1063
1185
|
* @param {string} resourceTypeId Id of the resource.
|
|
1064
1186
|
* @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
|
|
1065
1187
|
* @param {*} [options] Override http request option.
|
|
1066
1188
|
* @throws {RequiredError}
|
|
1067
1189
|
*/
|
|
1068
|
-
projectUpdateQuota(
|
|
1069
|
-
return localVarFp.projectUpdateQuota(
|
|
1190
|
+
projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options) {
|
|
1191
|
+
return localVarFp.projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options).then((request) => request(axios, basePath));
|
|
1070
1192
|
},
|
|
1071
1193
|
};
|
|
1072
1194
|
};
|
|
@@ -1078,10 +1200,21 @@ exports.ProjectApiFactory = ProjectApiFactory;
|
|
|
1078
1200
|
* @extends {BaseAPI}
|
|
1079
1201
|
*/
|
|
1080
1202
|
class ProjectApi extends base_1.BaseAPI {
|
|
1203
|
+
/**
|
|
1204
|
+
*
|
|
1205
|
+
* @summary Call to analytics logger.
|
|
1206
|
+
* @param {string} projectId Project id of the project
|
|
1207
|
+
* @param {*} [options] Override http request option.
|
|
1208
|
+
* @throws {RequiredError}
|
|
1209
|
+
* @memberof ProjectApi
|
|
1210
|
+
*/
|
|
1211
|
+
projectCreateApplicationProfile(projectId, options) {
|
|
1212
|
+
return (0, exports.ProjectApiFp)(this.configuration).projectCreateApplicationProfile(projectId, options).then((request) => request(this.axios, this.basePath));
|
|
1213
|
+
}
|
|
1081
1214
|
/**
|
|
1082
1215
|
*
|
|
1083
1216
|
* @summary Deletes the selected project
|
|
1084
|
-
* @param {string} id Id of the
|
|
1217
|
+
* @param {string} id Id of the project
|
|
1085
1218
|
* @param {*} [options] Override http request option.
|
|
1086
1219
|
* @throws {RequiredError}
|
|
1087
1220
|
* @memberof ProjectApi
|
|
@@ -1091,8 +1224,8 @@ class ProjectApi extends base_1.BaseAPI {
|
|
|
1091
1224
|
}
|
|
1092
1225
|
/**
|
|
1093
1226
|
*
|
|
1094
|
-
* @summary Deletes
|
|
1095
|
-
* @param {string} invitationId Id of
|
|
1227
|
+
* @summary Deletes a project invitation.
|
|
1228
|
+
* @param {string} invitationId Id of an invitation
|
|
1096
1229
|
* @param {*} [options] Override http request option.
|
|
1097
1230
|
* @throws {RequiredError}
|
|
1098
1231
|
* @memberof ProjectApi
|
|
@@ -1102,8 +1235,8 @@ class ProjectApi extends base_1.BaseAPI {
|
|
|
1102
1235
|
}
|
|
1103
1236
|
/**
|
|
1104
1237
|
*
|
|
1105
|
-
* @summary This returns the
|
|
1106
|
-
* @param {string} id Id of the
|
|
1238
|
+
* @summary This returns the project if the user has access to it
|
|
1239
|
+
* @param {string} id Id of the project
|
|
1107
1240
|
* @param {*} [options] Override http request option.
|
|
1108
1241
|
* @throws {RequiredError}
|
|
1109
1242
|
* @memberof ProjectApi
|
|
@@ -1111,22 +1244,33 @@ class ProjectApi extends base_1.BaseAPI {
|
|
|
1111
1244
|
projectGet(id, options) {
|
|
1112
1245
|
return (0, exports.ProjectApiFp)(this.configuration).projectGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
1113
1246
|
}
|
|
1247
|
+
/**
|
|
1248
|
+
*
|
|
1249
|
+
* @summary This returns the project if the user has access to it
|
|
1250
|
+
* @param {string} slug Slug of the project
|
|
1251
|
+
* @param {*} [options] Override http request option.
|
|
1252
|
+
* @throws {RequiredError}
|
|
1253
|
+
* @memberof ProjectApi
|
|
1254
|
+
*/
|
|
1255
|
+
projectGetBySlug(slug, options) {
|
|
1256
|
+
return (0, exports.ProjectApiFp)(this.configuration).projectGetBySlug(slug, options).then((request) => request(this.axios, this.basePath));
|
|
1257
|
+
}
|
|
1114
1258
|
/**
|
|
1115
1259
|
*
|
|
1116
1260
|
* @summary Get the max quota for a resource type.
|
|
1117
|
-
* @param {string}
|
|
1261
|
+
* @param {string} id Id of the project.
|
|
1118
1262
|
* @param {string} resourceTypeId Id of the resource
|
|
1119
1263
|
* @param {*} [options] Override http request option.
|
|
1120
1264
|
* @throws {RequiredError}
|
|
1121
1265
|
* @memberof ProjectApi
|
|
1122
1266
|
*/
|
|
1123
|
-
projectGetQuotaMax(
|
|
1124
|
-
return (0, exports.ProjectApiFp)(this.configuration).projectGetQuotaMax(
|
|
1267
|
+
projectGetQuotaMax(id, resourceTypeId, options) {
|
|
1268
|
+
return (0, exports.ProjectApiFp)(this.configuration).projectGetQuotaMax(id, resourceTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
1125
1269
|
}
|
|
1126
1270
|
/**
|
|
1127
1271
|
*
|
|
1128
1272
|
* @summary Gets the resources
|
|
1129
|
-
* @param {string} id Id of the
|
|
1273
|
+
* @param {string} id Id of the project
|
|
1130
1274
|
* @param {*} [options] Override http request option.
|
|
1131
1275
|
* @throws {RequiredError}
|
|
1132
1276
|
* @memberof ProjectApi
|
|
@@ -1157,7 +1301,7 @@ class ProjectApi extends base_1.BaseAPI {
|
|
|
1157
1301
|
/**
|
|
1158
1302
|
*
|
|
1159
1303
|
* @summary List all invitations of a project.
|
|
1160
|
-
* @param {string} projectId
|
|
1304
|
+
* @param {string} projectId Id of the project
|
|
1161
1305
|
* @param {*} [options] Override http request option.
|
|
1162
1306
|
* @throws {RequiredError}
|
|
1163
1307
|
* @memberof ProjectApi
|
|
@@ -1168,41 +1312,41 @@ class ProjectApi extends base_1.BaseAPI {
|
|
|
1168
1312
|
/**
|
|
1169
1313
|
*
|
|
1170
1314
|
* @summary Retrieves the quota for the selected project and resource Type.
|
|
1171
|
-
* @param {string}
|
|
1315
|
+
* @param {string} id Id of the project
|
|
1172
1316
|
* @param {string} resourceTypeId Id of the resource type
|
|
1173
1317
|
* @param {*} [options] Override http request option.
|
|
1174
1318
|
* @throws {RequiredError}
|
|
1175
1319
|
* @memberof ProjectApi
|
|
1176
1320
|
*/
|
|
1177
|
-
projectQuota(
|
|
1178
|
-
return (0, exports.ProjectApiFp)(this.configuration).projectQuota(
|
|
1321
|
+
projectQuota(id, resourceTypeId, options) {
|
|
1322
|
+
return (0, exports.ProjectApiFp)(this.configuration).projectQuota(id, resourceTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
1179
1323
|
}
|
|
1180
1324
|
/**
|
|
1181
1325
|
*
|
|
1182
1326
|
* @summary Retrieves the quota for the selected project.
|
|
1183
|
-
* @param {string}
|
|
1327
|
+
* @param {string} id Id of the project
|
|
1184
1328
|
* @param {*} [options] Override http request option.
|
|
1185
1329
|
* @throws {RequiredError}
|
|
1186
1330
|
* @memberof ProjectApi
|
|
1187
1331
|
*/
|
|
1188
|
-
projectQuotas(
|
|
1189
|
-
return (0, exports.ProjectApiFp)(this.configuration).projectQuotas(
|
|
1332
|
+
projectQuotas(id, options) {
|
|
1333
|
+
return (0, exports.ProjectApiFp)(this.configuration).projectQuotas(id, options).then((request) => request(this.axios, this.basePath));
|
|
1190
1334
|
}
|
|
1191
1335
|
/**
|
|
1192
1336
|
*
|
|
1193
|
-
* @summary Resolve
|
|
1194
|
-
* @param {string}
|
|
1337
|
+
* @summary Resolve a project invitation for the current user.
|
|
1338
|
+
* @param {string} invitationToken Token for a project invitation stored inside the URL under \".../?invitationToken={token}\"
|
|
1195
1339
|
* @param {*} [options] Override http request option.
|
|
1196
1340
|
* @throws {RequiredError}
|
|
1197
1341
|
* @memberof ProjectApi
|
|
1198
1342
|
*/
|
|
1199
|
-
projectResolveInvitation(
|
|
1200
|
-
return (0, exports.ProjectApiFp)(this.configuration).projectResolveInvitation(
|
|
1343
|
+
projectResolveInvitation(invitationToken, options) {
|
|
1344
|
+
return (0, exports.ProjectApiFp)(this.configuration).projectResolveInvitation(invitationToken, options).then((request) => request(this.axios, this.basePath));
|
|
1201
1345
|
}
|
|
1202
1346
|
/**
|
|
1203
1347
|
*
|
|
1204
|
-
* @summary Create and send
|
|
1205
|
-
* @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation
|
|
1348
|
+
* @summary Create and send a project invitation to a specified mail.
|
|
1349
|
+
* @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \".../?invitationToken={token}\".
|
|
1206
1350
|
* @param {*} [options] Override http request option.
|
|
1207
1351
|
* @throws {RequiredError}
|
|
1208
1352
|
* @memberof ProjectApi
|
|
@@ -1213,36 +1357,38 @@ class ProjectApi extends base_1.BaseAPI {
|
|
|
1213
1357
|
/**
|
|
1214
1358
|
*
|
|
1215
1359
|
* @summary Creates a project
|
|
1360
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
1216
1361
|
* @param {*} [options] Override http request option.
|
|
1217
1362
|
* @throws {RequiredError}
|
|
1218
1363
|
* @memberof ProjectApi
|
|
1219
1364
|
*/
|
|
1220
|
-
projectStore(options) {
|
|
1221
|
-
return (0, exports.ProjectApiFp)(this.configuration).projectStore(options).then((request) => request(this.axios, this.basePath));
|
|
1365
|
+
projectStore(projectObject, options) {
|
|
1366
|
+
return (0, exports.ProjectApiFp)(this.configuration).projectStore(projectObject, options).then((request) => request(this.axios, this.basePath));
|
|
1222
1367
|
}
|
|
1223
1368
|
/**
|
|
1224
1369
|
*
|
|
1225
1370
|
* @summary Updates the selected project
|
|
1226
|
-
* @param {string} id Id of the
|
|
1371
|
+
* @param {string} id Id of the project
|
|
1372
|
+
* @param {ProjectObject} projectObject A Project Object
|
|
1227
1373
|
* @param {*} [options] Override http request option.
|
|
1228
1374
|
* @throws {RequiredError}
|
|
1229
1375
|
* @memberof ProjectApi
|
|
1230
1376
|
*/
|
|
1231
|
-
projectUpdate(id, options) {
|
|
1232
|
-
return (0, exports.ProjectApiFp)(this.configuration).projectUpdate(id, options).then((request) => request(this.axios, this.basePath));
|
|
1377
|
+
projectUpdate(id, projectObject, options) {
|
|
1378
|
+
return (0, exports.ProjectApiFp)(this.configuration).projectUpdate(id, projectObject, options).then((request) => request(this.axios, this.basePath));
|
|
1233
1379
|
}
|
|
1234
1380
|
/**
|
|
1235
1381
|
*
|
|
1236
1382
|
* @summary Update the project quota.
|
|
1237
|
-
* @param {string}
|
|
1383
|
+
* @param {string} id Id of the project.
|
|
1238
1384
|
* @param {string} resourceTypeId Id of the resource.
|
|
1239
1385
|
* @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
|
|
1240
1386
|
* @param {*} [options] Override http request option.
|
|
1241
1387
|
* @throws {RequiredError}
|
|
1242
1388
|
* @memberof ProjectApi
|
|
1243
1389
|
*/
|
|
1244
|
-
projectUpdateQuota(
|
|
1245
|
-
return (0, exports.ProjectApiFp)(this.configuration).projectUpdateQuota(
|
|
1390
|
+
projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options) {
|
|
1391
|
+
return (0, exports.ProjectApiFp)(this.configuration).projectUpdateQuota(id, resourceTypeId, updateProjectQuotaObject, options).then((request) => request(this.axios, this.basePath));
|
|
1246
1392
|
}
|
|
1247
1393
|
}
|
|
1248
1394
|
exports.ProjectApi = ProjectApi;
|
|
@@ -1749,33 +1895,6 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
1749
1895
|
options: localVarRequestOptions,
|
|
1750
1896
|
};
|
|
1751
1897
|
}),
|
|
1752
|
-
/**
|
|
1753
|
-
*
|
|
1754
|
-
* @summary Searchs no filter
|
|
1755
|
-
* @param {*} [options] Override http request option.
|
|
1756
|
-
* @throws {RequiredError}
|
|
1757
|
-
*/
|
|
1758
|
-
searchSearchNoFilter: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1759
|
-
const localVarPath = `/Search/allNoFilter`;
|
|
1760
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1761
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1762
|
-
let baseOptions;
|
|
1763
|
-
if (configuration) {
|
|
1764
|
-
baseOptions = configuration.baseOptions;
|
|
1765
|
-
}
|
|
1766
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1767
|
-
const localVarHeaderParameter = {};
|
|
1768
|
-
const localVarQueryParameter = {};
|
|
1769
|
-
// authentication JWT token required
|
|
1770
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1771
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1772
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1773
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1774
|
-
return {
|
|
1775
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1776
|
-
options: localVarRequestOptions,
|
|
1777
|
-
};
|
|
1778
|
-
}),
|
|
1779
1898
|
/**
|
|
1780
1899
|
*
|
|
1781
1900
|
* @summary Returns searched projects
|
|
@@ -1811,37 +1930,6 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
1811
1930
|
options: localVarRequestOptions,
|
|
1812
1931
|
};
|
|
1813
1932
|
}),
|
|
1814
|
-
/**
|
|
1815
|
-
*
|
|
1816
|
-
* @summary Returns searched projects with no filter
|
|
1817
|
-
* @param {string} projectId Id of the project
|
|
1818
|
-
* @param {*} [options] Override http request option.
|
|
1819
|
-
* @throws {RequiredError}
|
|
1820
|
-
*/
|
|
1821
|
-
searchSearchProjectNoFilter: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1822
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
1823
|
-
(0, common_1.assertParamExists)('searchSearchProjectNoFilter', 'projectId', projectId);
|
|
1824
|
-
const localVarPath = `/Search/projectNoFilter/{projectId}`
|
|
1825
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
1826
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1827
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1828
|
-
let baseOptions;
|
|
1829
|
-
if (configuration) {
|
|
1830
|
-
baseOptions = configuration.baseOptions;
|
|
1831
|
-
}
|
|
1832
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1833
|
-
const localVarHeaderParameter = {};
|
|
1834
|
-
const localVarQueryParameter = {};
|
|
1835
|
-
// authentication JWT token required
|
|
1836
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1837
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
1838
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1839
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1840
|
-
return {
|
|
1841
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1842
|
-
options: localVarRequestOptions,
|
|
1843
|
-
};
|
|
1844
|
-
}),
|
|
1845
1933
|
};
|
|
1846
1934
|
};
|
|
1847
1935
|
exports.SearchApiAxiosParamCreator = SearchApiAxiosParamCreator;
|
|
@@ -1865,18 +1953,6 @@ const SearchApiFp = function (configuration) {
|
|
|
1865
1953
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1866
1954
|
});
|
|
1867
1955
|
},
|
|
1868
|
-
/**
|
|
1869
|
-
*
|
|
1870
|
-
* @summary Searchs no filter
|
|
1871
|
-
* @param {*} [options] Override http request option.
|
|
1872
|
-
* @throws {RequiredError}
|
|
1873
|
-
*/
|
|
1874
|
-
searchSearchNoFilter(options) {
|
|
1875
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1876
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearchNoFilter(options);
|
|
1877
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1878
|
-
});
|
|
1879
|
-
},
|
|
1880
1956
|
/**
|
|
1881
1957
|
*
|
|
1882
1958
|
* @summary Returns searched projects
|
|
@@ -1891,19 +1967,6 @@ const SearchApiFp = function (configuration) {
|
|
|
1891
1967
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1892
1968
|
});
|
|
1893
1969
|
},
|
|
1894
|
-
/**
|
|
1895
|
-
*
|
|
1896
|
-
* @summary Returns searched projects with no filter
|
|
1897
|
-
* @param {string} projectId Id of the project
|
|
1898
|
-
* @param {*} [options] Override http request option.
|
|
1899
|
-
* @throws {RequiredError}
|
|
1900
|
-
*/
|
|
1901
|
-
searchSearchProjectNoFilter(projectId, options) {
|
|
1902
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1903
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSearchProjectNoFilter(projectId, options);
|
|
1904
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1905
|
-
});
|
|
1906
|
-
},
|
|
1907
1970
|
};
|
|
1908
1971
|
};
|
|
1909
1972
|
exports.SearchApiFp = SearchApiFp;
|
|
@@ -1924,15 +1987,6 @@ const SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
1924
1987
|
searchSearch(encodedSearchWord, options) {
|
|
1925
1988
|
return localVarFp.searchSearch(encodedSearchWord, options).then((request) => request(axios, basePath));
|
|
1926
1989
|
},
|
|
1927
|
-
/**
|
|
1928
|
-
*
|
|
1929
|
-
* @summary Searchs no filter
|
|
1930
|
-
* @param {*} [options] Override http request option.
|
|
1931
|
-
* @throws {RequiredError}
|
|
1932
|
-
*/
|
|
1933
|
-
searchSearchNoFilter(options) {
|
|
1934
|
-
return localVarFp.searchSearchNoFilter(options).then((request) => request(axios, basePath));
|
|
1935
|
-
},
|
|
1936
1990
|
/**
|
|
1937
1991
|
*
|
|
1938
1992
|
* @summary Returns searched projects
|
|
@@ -1944,16 +1998,6 @@ const SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
1944
1998
|
searchSearchProject(projectId, encodedSearchWord, options) {
|
|
1945
1999
|
return localVarFp.searchSearchProject(projectId, encodedSearchWord, options).then((request) => request(axios, basePath));
|
|
1946
2000
|
},
|
|
1947
|
-
/**
|
|
1948
|
-
*
|
|
1949
|
-
* @summary Returns searched projects with no filter
|
|
1950
|
-
* @param {string} projectId Id of the project
|
|
1951
|
-
* @param {*} [options] Override http request option.
|
|
1952
|
-
* @throws {RequiredError}
|
|
1953
|
-
*/
|
|
1954
|
-
searchSearchProjectNoFilter(projectId, options) {
|
|
1955
|
-
return localVarFp.searchSearchProjectNoFilter(projectId, options).then((request) => request(axios, basePath));
|
|
1956
|
-
},
|
|
1957
2001
|
};
|
|
1958
2002
|
};
|
|
1959
2003
|
exports.SearchApiFactory = SearchApiFactory;
|
|
@@ -1975,16 +2019,6 @@ class SearchApi extends base_1.BaseAPI {
|
|
|
1975
2019
|
searchSearch(encodedSearchWord, options) {
|
|
1976
2020
|
return (0, exports.SearchApiFp)(this.configuration).searchSearch(encodedSearchWord, options).then((request) => request(this.axios, this.basePath));
|
|
1977
2021
|
}
|
|
1978
|
-
/**
|
|
1979
|
-
*
|
|
1980
|
-
* @summary Searchs no filter
|
|
1981
|
-
* @param {*} [options] Override http request option.
|
|
1982
|
-
* @throws {RequiredError}
|
|
1983
|
-
* @memberof SearchApi
|
|
1984
|
-
*/
|
|
1985
|
-
searchSearchNoFilter(options) {
|
|
1986
|
-
return (0, exports.SearchApiFp)(this.configuration).searchSearchNoFilter(options).then((request) => request(this.axios, this.basePath));
|
|
1987
|
-
}
|
|
1988
2022
|
/**
|
|
1989
2023
|
*
|
|
1990
2024
|
* @summary Returns searched projects
|
|
@@ -1997,17 +2031,6 @@ class SearchApi extends base_1.BaseAPI {
|
|
|
1997
2031
|
searchSearchProject(projectId, encodedSearchWord, options) {
|
|
1998
2032
|
return (0, exports.SearchApiFp)(this.configuration).searchSearchProject(projectId, encodedSearchWord, options).then((request) => request(this.axios, this.basePath));
|
|
1999
2033
|
}
|
|
2000
|
-
/**
|
|
2001
|
-
*
|
|
2002
|
-
* @summary Returns searched projects with no filter
|
|
2003
|
-
* @param {string} projectId Id of the project
|
|
2004
|
-
* @param {*} [options] Override http request option.
|
|
2005
|
-
* @throws {RequiredError}
|
|
2006
|
-
* @memberof SearchApi
|
|
2007
|
-
*/
|
|
2008
|
-
searchSearchProjectNoFilter(projectId, options) {
|
|
2009
|
-
return (0, exports.SearchApiFp)(this.configuration).searchSearchProjectNoFilter(projectId, options).then((request) => request(this.axios, this.basePath));
|
|
2010
|
-
}
|
|
2011
2034
|
}
|
|
2012
2035
|
exports.SearchApi = SearchApi;
|
|
2013
2036
|
/**
|