@coscine/api-client 2.1.0 → 2.4.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.
Files changed (94) hide show
  1. package/dist/index.js +2011 -2771
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.umd.js +2012 -2773
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/lib/Coscine.Api.Admin/api.js +51 -23
  6. package/dist/lib/Coscine.Api.Admin/api.js.map +1 -1
  7. package/dist/lib/Coscine.Api.Admin/base.js +1 -1
  8. package/dist/lib/Coscine.Api.Admin/common.js +1 -1
  9. package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
  10. package/dist/lib/Coscine.Api.Admin/index.js +1 -1
  11. package/dist/lib/Coscine.Api.Blob/api.js +1 -66
  12. package/dist/lib/Coscine.Api.Blob/api.js.map +1 -1
  13. package/dist/lib/Coscine.Api.Blob/base.js +1 -1
  14. package/dist/lib/Coscine.Api.Blob/common.js +1 -1
  15. package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
  16. package/dist/lib/Coscine.Api.Blob/index.js +1 -1
  17. package/dist/lib/Coscine.Api.Project/api.js +350 -537
  18. package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
  19. package/dist/lib/Coscine.Api.Project/base.js +1 -1
  20. package/dist/lib/Coscine.Api.Project/common.js +1 -1
  21. package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
  22. package/dist/lib/Coscine.Api.Project/index.js +1 -1
  23. package/dist/lib/Coscine.Api.Resources/api.js +232 -42
  24. package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
  25. package/dist/lib/Coscine.Api.Resources/base.js +1 -1
  26. package/dist/lib/Coscine.Api.Resources/common.js +1 -1
  27. package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
  28. package/dist/lib/Coscine.Api.Resources/index.js +1 -1
  29. package/dist/lib/Coscine.Api.Search/api.js +29 -29
  30. package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
  31. package/dist/lib/Coscine.Api.Tree/api.js +29 -15
  32. package/dist/lib/Coscine.Api.Tree/api.js.map +1 -1
  33. package/dist/lib/Coscine.Api.Tree/base.js +1 -1
  34. package/dist/lib/Coscine.Api.Tree/common.js +1 -1
  35. package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
  36. package/dist/lib/Coscine.Api.Tree/index.js +1 -1
  37. package/dist/lib/Coscine.Api.User/api.js +1 -1
  38. package/dist/lib/Coscine.Api.User/base.js +1 -1
  39. package/dist/lib/Coscine.Api.User/common.js +1 -1
  40. package/dist/lib/Coscine.Api.User/configuration.js +1 -1
  41. package/dist/lib/Coscine.Api.User/index.js +1 -1
  42. package/dist/lib/apis.js +35 -37
  43. package/dist/lib/apis.js.map +1 -1
  44. package/dist/lib/index.js +3 -4
  45. package/dist/lib/index.js.map +1 -1
  46. package/dist/types/Coscine.Api.Admin/api.d.ts +100 -66
  47. package/dist/types/Coscine.Api.Admin/base.d.ts +1 -1
  48. package/dist/types/Coscine.Api.Admin/common.d.ts +1 -1
  49. package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
  50. package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
  51. package/dist/types/Coscine.Api.Blob/api.d.ts +1 -34
  52. package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
  53. package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
  54. package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
  55. package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
  56. package/dist/types/Coscine.Api.Project/api.d.ts +312 -328
  57. package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
  58. package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
  59. package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
  60. package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
  61. package/dist/types/Coscine.Api.Resources/api.d.ts +237 -41
  62. package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
  63. package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
  64. package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
  65. package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
  66. package/dist/types/Coscine.Api.Search/api.d.ts +478 -24
  67. package/dist/types/Coscine.Api.Tree/api.d.ts +17 -9
  68. package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
  69. package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
  70. package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
  71. package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
  72. package/dist/types/Coscine.Api.User/api.d.ts +1 -1
  73. package/dist/types/Coscine.Api.User/base.d.ts +1 -1
  74. package/dist/types/Coscine.Api.User/common.d.ts +1 -1
  75. package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
  76. package/dist/types/Coscine.Api.User/index.d.ts +1 -1
  77. package/dist/types/apis.d.ts +15 -28
  78. package/dist/types/index.d.ts +30 -56
  79. package/package.json +2 -2
  80. package/dist/lib/Coscine.Api.Quota/api.js +0 -283
  81. package/dist/lib/Coscine.Api.Quota/api.js.map +0 -1
  82. package/dist/lib/Coscine.Api.Quota/base.js +0 -65
  83. package/dist/lib/Coscine.Api.Quota/base.js.map +0 -1
  84. package/dist/lib/Coscine.Api.Quota/common.js +0 -153
  85. package/dist/lib/Coscine.Api.Quota/common.js.map +0 -1
  86. package/dist/lib/Coscine.Api.Quota/configuration.js +0 -43
  87. package/dist/lib/Coscine.Api.Quota/configuration.js.map +0 -1
  88. package/dist/lib/Coscine.Api.Quota/index.js +0 -28
  89. package/dist/lib/Coscine.Api.Quota/index.js.map +0 -1
  90. package/dist/types/Coscine.Api.Quota/api.d.ts +0 -197
  91. package/dist/types/Coscine.Api.Quota/base.d.ts +0 -55
  92. package/dist/types/Coscine.Api.Quota/common.d.ts +0 -65
  93. package/dist/types/Coscine.Api.Quota/configuration.d.ts +0 -83
  94. package/dist/types/Coscine.Api.Quota/index.d.ts +0 -13
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Project
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.8.4
5
+ * The version of the OpenAPI document: 4.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -63,43 +63,43 @@ export interface ExternalAuthenticatorsObject {
63
63
  displayName?: string | null;
64
64
  }
65
65
  /**
66
- * Return object for an invitation.
66
+ *
67
67
  * @export
68
68
  * @interface InvitationReturnObject
69
69
  */
70
70
  export interface InvitationReturnObject {
71
71
  /**
72
- * The invitation id.
72
+ *
73
73
  * @type {string}
74
74
  * @memberof InvitationReturnObject
75
75
  */
76
76
  id?: string;
77
77
  /**
78
- * When the invite will expire.
78
+ *
79
79
  * @type {string}
80
80
  * @memberof InvitationReturnObject
81
81
  */
82
82
  expiration?: string;
83
83
  /**
84
- * Email of the invitee.
84
+ *
85
85
  * @type {string}
86
86
  * @memberof InvitationReturnObject
87
87
  */
88
88
  userMail?: string | null;
89
89
  /**
90
- * Id of the issuer.
90
+ *
91
91
  * @type {string}
92
92
  * @memberof InvitationReturnObject
93
93
  */
94
94
  issuer?: string;
95
95
  /**
96
- * Id of the project.
96
+ *
97
97
  * @type {string}
98
98
  * @memberof InvitationReturnObject
99
99
  */
100
100
  projectId?: string;
101
101
  /**
102
- * Id of the target Role.
102
+ *
103
103
  * @type {string}
104
104
  * @memberof InvitationReturnObject
105
105
  */
@@ -149,25 +149,6 @@ export interface LicenseObject {
149
149
  */
150
150
  displayName?: string | null;
151
151
  }
152
- /**
153
- * Return object containing the maximum project quota.
154
- * @export
155
- * @interface MaxProjectQuota
156
- */
157
- export interface MaxProjectQuota {
158
- /**
159
- * The resource type id.
160
- * @type {string}
161
- * @memberof MaxProjectQuota
162
- */
163
- id?: string;
164
- /**
165
- * Available amount in gb.
166
- * @type {number}
167
- * @memberof MaxProjectQuota
168
- */
169
- available?: number;
170
- }
171
152
  /**
172
153
  *
173
154
  * @export
@@ -279,41 +260,84 @@ export interface ProjectObject {
279
260
  parentId?: string;
280
261
  }
281
262
  /**
282
- * Contains information about the quota of a project by resource type.
263
+ *
264
+ * @export
265
+ * @interface ProjectQuotaExtendedReturnObject
266
+ */
267
+ export interface ProjectQuotaExtendedReturnObject {
268
+ /**
269
+ *
270
+ * @type {string}
271
+ * @memberof ProjectQuotaExtendedReturnObject
272
+ */
273
+ id?: string;
274
+ /**
275
+ *
276
+ * @type {string}
277
+ * @memberof ProjectQuotaExtendedReturnObject
278
+ */
279
+ name?: string | null;
280
+ /**
281
+ *
282
+ * @type {QuotaDimObject}
283
+ * @memberof ProjectQuotaExtendedReturnObject
284
+ */
285
+ totalReserved?: QuotaDimObject | null;
286
+ /**
287
+ *
288
+ * @type {QuotaDimObject}
289
+ * @memberof ProjectQuotaExtendedReturnObject
290
+ */
291
+ allocated?: QuotaDimObject | null;
292
+ /**
293
+ *
294
+ * @type {QuotaDimObject}
295
+ * @memberof ProjectQuotaExtendedReturnObject
296
+ */
297
+ maximum?: QuotaDimObject | null;
298
+ /**
299
+ *
300
+ * @type {Array<ResourceQuotaReturnObject>}
301
+ * @memberof ProjectQuotaExtendedReturnObject
302
+ */
303
+ resourcesQuota?: Array<ResourceQuotaReturnObject> | null;
304
+ }
305
+ /**
306
+ *
283
307
  * @export
284
308
  * @interface ProjectQuotaReturnObject
285
309
  */
286
310
  export interface ProjectQuotaReturnObject {
287
311
  /**
288
- * Id of the resoure type.
312
+ *
289
313
  * @type {string}
290
314
  * @memberof ProjectQuotaReturnObject
291
315
  */
292
316
  id?: string;
293
317
  /**
294
- * Display name of the resource type.
318
+ *
295
319
  * @type {string}
296
320
  * @memberof ProjectQuotaReturnObject
297
321
  */
298
322
  name?: string | null;
299
323
  /**
300
- * How much space is used by the resources (in gb).
301
- * @type {number}
324
+ *
325
+ * @type {QuotaDimObject}
302
326
  * @memberof ProjectQuotaReturnObject
303
327
  */
304
- used?: number;
328
+ totalReserved?: QuotaDimObject | null;
305
329
  /**
306
- * How much space is availabe to be taken by resources (in gb).
307
- * @type {number}
330
+ *
331
+ * @type {QuotaDimObject}
308
332
  * @memberof ProjectQuotaReturnObject
309
333
  */
310
- allocated?: number;
334
+ allocated?: QuotaDimObject | null;
311
335
  /**
312
- * Maximum amount of quota (in gb).
313
- * @type {number}
336
+ *
337
+ * @type {QuotaDimObject}
314
338
  * @memberof ProjectQuotaReturnObject
315
339
  */
316
- maximum?: number;
340
+ maximum?: QuotaDimObject | null;
317
341
  }
318
342
  /**
319
343
  *
@@ -340,6 +364,38 @@ export interface ProjectRoleObject {
340
364
  */
341
365
  role?: RoleObject | null;
342
366
  }
367
+ /**
368
+ *
369
+ * @export
370
+ * @interface QuotaDimObject
371
+ */
372
+ export interface QuotaDimObject {
373
+ /**
374
+ *
375
+ * @type {number}
376
+ * @memberof QuotaDimObject
377
+ */
378
+ value?: number;
379
+ /**
380
+ *
381
+ * @type {QuotaUnit}
382
+ * @memberof QuotaDimObject
383
+ */
384
+ unit?: QuotaUnit;
385
+ }
386
+ /**
387
+ *
388
+ * @export
389
+ * @enum {string}
390
+ */
391
+ export declare enum QuotaUnit {
392
+ Byte = "https://qudt.org/vocab/unit/BYTE",
393
+ KibiByte = "https://qudt.org/vocab/unit/KibiBYTE",
394
+ MebiByte = "https://qudt.org/vocab/unit/MebiBYTE",
395
+ GibiByte = "https://qudt.org/vocab/unit/GibiBYTE",
396
+ TebiByte = "https://qudt.org/vocab/unit/TebiBYTE",
397
+ PebiByte = "https://qudt.org/vocab/unit/PebiBYTE"
398
+ }
343
399
  /**
344
400
  *
345
401
  * @export
@@ -443,6 +499,43 @@ export interface ResourceObject {
443
499
  */
444
500
  archived?: boolean;
445
501
  }
502
+ /**
503
+ *
504
+ * @export
505
+ * @interface ResourceQuotaReturnObject
506
+ */
507
+ export interface ResourceQuotaReturnObject {
508
+ /**
509
+ *
510
+ * @type {string}
511
+ * @memberof ResourceQuotaReturnObject
512
+ */
513
+ id?: string;
514
+ /**
515
+ *
516
+ * @type {string}
517
+ * @memberof ResourceQuotaReturnObject
518
+ */
519
+ name?: string | null;
520
+ /**
521
+ *
522
+ * @type {QuotaDimObject}
523
+ * @memberof ResourceQuotaReturnObject
524
+ */
525
+ used?: QuotaDimObject | null;
526
+ /**
527
+ *
528
+ * @type {number}
529
+ * @memberof ResourceQuotaReturnObject
530
+ */
531
+ usedPercentage?: number;
532
+ /**
533
+ *
534
+ * @type {QuotaDimObject}
535
+ * @memberof ResourceQuotaReturnObject
536
+ */
537
+ reserved?: QuotaDimObject | null;
538
+ }
446
539
  /**
447
540
  *
448
541
  * @export
@@ -532,17 +625,11 @@ export interface TitleObject {
532
625
  */
533
626
  export interface UpdateProjectQuotaObject {
534
627
  /**
535
- * Id of the resourceType
536
- * @type {string}
537
- * @memberof UpdateProjectQuotaObject
538
- */
539
- id?: string;
540
- /**
541
- * New Quota value.
628
+ * New quota that will be the current allocated value.
542
629
  * @type {number}
543
630
  * @memberof UpdateProjectQuotaObject
544
631
  */
545
- allocated?: number;
632
+ allocatedGiB?: number;
546
633
  }
547
634
  /**
548
635
  *
@@ -773,7 +860,7 @@ export declare const ProjectApiAxiosParamCreator: (configuration?: Configuration
773
860
  projectCreateApplicationProfile: (projectId: string, options?: any) => Promise<RequestArgs>;
774
861
  /**
775
862
  *
776
- * @summary Deletes the selected project
863
+ * @summary Deletes a project
777
864
  * @param {string} id Id of the project
778
865
  * @param {*} [options] Override http request option.
779
866
  * @throws {RequiredError}
@@ -805,16 +892,7 @@ export declare const ProjectApiAxiosParamCreator: (configuration?: Configuration
805
892
  projectGetBySlug: (slug: string, options?: any) => Promise<RequestArgs>;
806
893
  /**
807
894
  *
808
- * @summary Get the max quota for a resource type.
809
- * @param {string} id Id of the project.
810
- * @param {string} resourceTypeId Id of the resource
811
- * @param {*} [options] Override http request option.
812
- * @throws {RequiredError}
813
- */
814
- projectGetQuotaMax: (id: string, resourceTypeId: string, options?: any) => Promise<RequestArgs>;
815
- /**
816
- *
817
- * @summary Gets the resources
895
+ * @summary Gets all resources in a project
818
896
  * @param {string} id Id of the project
819
897
  * @param {*} [options] Override http request option.
820
898
  * @throws {RequiredError}
@@ -844,24 +922,7 @@ export declare const ProjectApiAxiosParamCreator: (configuration?: Configuration
844
922
  projectListInvitations: (projectId: string, options?: any) => Promise<RequestArgs>;
845
923
  /**
846
924
  *
847
- * @summary Retrieves the quota for the selected project and resource Type.
848
- * @param {string} id Id of the project
849
- * @param {string} resourceTypeId Id of the resource type
850
- * @param {*} [options] Override http request option.
851
- * @throws {RequiredError}
852
- */
853
- projectQuota: (id: string, resourceTypeId: string, options?: any) => Promise<RequestArgs>;
854
- /**
855
- *
856
- * @summary Retrieves the quota for the selected project.
857
- * @param {string} id Id of the project
858
- * @param {*} [options] Override http request option.
859
- * @throws {RequiredError}
860
- */
861
- projectQuotas: (id: string, options?: any) => Promise<RequestArgs>;
862
- /**
863
- *
864
- * @summary Resolve a project invitation for the current user.
925
+ * @summary Resolves a project invitation for the current user.
865
926
  * @param {string} invitationToken Token for a project invitation stored inside the URL under \&quot;.../?invitationToken&#x3D;{token}\&quot;
866
927
  * @param {*} [options] Override http request option.
867
928
  * @throws {RequiredError}
@@ -869,7 +930,7 @@ export declare const ProjectApiAxiosParamCreator: (configuration?: Configuration
869
930
  projectResolveInvitation: (invitationToken: string, options?: any) => Promise<RequestArgs>;
870
931
  /**
871
932
  *
872
- * @summary Create and send a project invitation to a specified mail.
933
+ * @summary Creates and sends a project invitation to a specified email.
873
934
  * @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \&quot;.../?invitationToken&#x3D;{token}\&quot;.
874
935
  * @param {*} [options] Override http request option.
875
936
  * @throws {RequiredError}
@@ -885,23 +946,13 @@ export declare const ProjectApiAxiosParamCreator: (configuration?: Configuration
885
946
  projectStore: (projectObject: ProjectObject, options?: any) => Promise<RequestArgs>;
886
947
  /**
887
948
  *
888
- * @summary Updates the selected project
949
+ * @summary Updates a project
889
950
  * @param {string} id Id of the project
890
951
  * @param {ProjectObject} projectObject A Project Object
891
952
  * @param {*} [options] Override http request option.
892
953
  * @throws {RequiredError}
893
954
  */
894
955
  projectUpdate: (id: string, projectObject: ProjectObject, options?: any) => Promise<RequestArgs>;
895
- /**
896
- *
897
- * @summary Update the project quota.
898
- * @param {string} id Id of the project.
899
- * @param {string} resourceTypeId Id of the resource.
900
- * @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
901
- * @param {*} [options] Override http request option.
902
- * @throws {RequiredError}
903
- */
904
- projectUpdateQuota: (id: string, resourceTypeId: string, updateProjectQuotaObject: UpdateProjectQuotaObject, options?: any) => Promise<RequestArgs>;
905
956
  };
906
957
  /**
907
958
  * ProjectApi - functional programming interface
@@ -918,7 +969,7 @@ export declare const ProjectApiFp: (configuration?: Configuration) => {
918
969
  projectCreateApplicationProfile(projectId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
919
970
  /**
920
971
  *
921
- * @summary Deletes the selected project
972
+ * @summary Deletes a project
922
973
  * @param {string} id Id of the project
923
974
  * @param {*} [options] Override http request option.
924
975
  * @throws {RequiredError}
@@ -950,16 +1001,7 @@ export declare const ProjectApiFp: (configuration?: Configuration) => {
950
1001
  projectGetBySlug(slug: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectObject>>;
951
1002
  /**
952
1003
  *
953
- * @summary Get the max quota for a resource type.
954
- * @param {string} id Id of the project.
955
- * @param {string} resourceTypeId Id of the resource
956
- * @param {*} [options] Override http request option.
957
- * @throws {RequiredError}
958
- */
959
- projectGetQuotaMax(id: string, resourceTypeId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MaxProjectQuota>>;
960
- /**
961
- *
962
- * @summary Gets the resources
1004
+ * @summary Gets all resources in a project
963
1005
  * @param {string} id Id of the project
964
1006
  * @param {*} [options] Override http request option.
965
1007
  * @throws {RequiredError}
@@ -989,24 +1031,7 @@ export declare const ProjectApiFp: (configuration?: Configuration) => {
989
1031
  projectListInvitations(projectId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InvitationReturnObject>>>;
990
1032
  /**
991
1033
  *
992
- * @summary Retrieves the quota for the selected project and resource Type.
993
- * @param {string} id Id of the project
994
- * @param {string} resourceTypeId Id of the resource type
995
- * @param {*} [options] Override http request option.
996
- * @throws {RequiredError}
997
- */
998
- projectQuota(id: string, resourceTypeId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectQuotaReturnObject>>;
999
- /**
1000
- *
1001
- * @summary Retrieves the quota for the selected project.
1002
- * @param {string} id Id of the project
1003
- * @param {*} [options] Override http request option.
1004
- * @throws {RequiredError}
1005
- */
1006
- projectQuotas(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProjectQuotaReturnObject>>>;
1007
- /**
1008
- *
1009
- * @summary Resolve a project invitation for the current user.
1034
+ * @summary Resolves a project invitation for the current user.
1010
1035
  * @param {string} invitationToken Token for a project invitation stored inside the URL under \&quot;.../?invitationToken&#x3D;{token}\&quot;
1011
1036
  * @param {*} [options] Override http request option.
1012
1037
  * @throws {RequiredError}
@@ -1014,7 +1039,7 @@ export declare const ProjectApiFp: (configuration?: Configuration) => {
1014
1039
  projectResolveInvitation(invitationToken: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1015
1040
  /**
1016
1041
  *
1017
- * @summary Create and send a project invitation to a specified mail.
1042
+ * @summary Creates and sends a project invitation to a specified email.
1018
1043
  * @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \&quot;.../?invitationToken&#x3D;{token}\&quot;.
1019
1044
  * @param {*} [options] Override http request option.
1020
1045
  * @throws {RequiredError}
@@ -1030,23 +1055,13 @@ export declare const ProjectApiFp: (configuration?: Configuration) => {
1030
1055
  projectStore(projectObject: ProjectObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1031
1056
  /**
1032
1057
  *
1033
- * @summary Updates the selected project
1058
+ * @summary Updates a project
1034
1059
  * @param {string} id Id of the project
1035
1060
  * @param {ProjectObject} projectObject A Project Object
1036
1061
  * @param {*} [options] Override http request option.
1037
1062
  * @throws {RequiredError}
1038
1063
  */
1039
1064
  projectUpdate(id: string, projectObject: ProjectObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1040
- /**
1041
- *
1042
- * @summary Update the project quota.
1043
- * @param {string} id Id of the project.
1044
- * @param {string} resourceTypeId Id of the resource.
1045
- * @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
1046
- * @param {*} [options] Override http request option.
1047
- * @throws {RequiredError}
1048
- */
1049
- projectUpdateQuota(id: string, resourceTypeId: string, updateProjectQuotaObject: UpdateProjectQuotaObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1050
1065
  };
1051
1066
  /**
1052
1067
  * ProjectApi - factory interface
@@ -1063,7 +1078,7 @@ export declare const ProjectApiFactory: (configuration?: Configuration, basePath
1063
1078
  projectCreateApplicationProfile(projectId: string, options?: any): AxiosPromise<any>;
1064
1079
  /**
1065
1080
  *
1066
- * @summary Deletes the selected project
1081
+ * @summary Deletes a project
1067
1082
  * @param {string} id Id of the project
1068
1083
  * @param {*} [options] Override http request option.
1069
1084
  * @throws {RequiredError}
@@ -1095,16 +1110,7 @@ export declare const ProjectApiFactory: (configuration?: Configuration, basePath
1095
1110
  projectGetBySlug(slug: string, options?: any): AxiosPromise<ProjectObject>;
1096
1111
  /**
1097
1112
  *
1098
- * @summary Get the max quota for a resource type.
1099
- * @param {string} id Id of the project.
1100
- * @param {string} resourceTypeId Id of the resource
1101
- * @param {*} [options] Override http request option.
1102
- * @throws {RequiredError}
1103
- */
1104
- projectGetQuotaMax(id: string, resourceTypeId: string, options?: any): AxiosPromise<MaxProjectQuota>;
1105
- /**
1106
- *
1107
- * @summary Gets the resources
1113
+ * @summary Gets all resources in a project
1108
1114
  * @param {string} id Id of the project
1109
1115
  * @param {*} [options] Override http request option.
1110
1116
  * @throws {RequiredError}
@@ -1134,24 +1140,7 @@ export declare const ProjectApiFactory: (configuration?: Configuration, basePath
1134
1140
  projectListInvitations(projectId: string, options?: any): AxiosPromise<Array<InvitationReturnObject>>;
1135
1141
  /**
1136
1142
  *
1137
- * @summary Retrieves the quota for the selected project and resource Type.
1138
- * @param {string} id Id of the project
1139
- * @param {string} resourceTypeId Id of the resource type
1140
- * @param {*} [options] Override http request option.
1141
- * @throws {RequiredError}
1142
- */
1143
- projectQuota(id: string, resourceTypeId: string, options?: any): AxiosPromise<ProjectQuotaReturnObject>;
1144
- /**
1145
- *
1146
- * @summary Retrieves the quota for the selected project.
1147
- * @param {string} id Id of the project
1148
- * @param {*} [options] Override http request option.
1149
- * @throws {RequiredError}
1150
- */
1151
- projectQuotas(id: string, options?: any): AxiosPromise<Array<ProjectQuotaReturnObject>>;
1152
- /**
1153
- *
1154
- * @summary Resolve a project invitation for the current user.
1143
+ * @summary Resolves a project invitation for the current user.
1155
1144
  * @param {string} invitationToken Token for a project invitation stored inside the URL under \&quot;.../?invitationToken&#x3D;{token}\&quot;
1156
1145
  * @param {*} [options] Override http request option.
1157
1146
  * @throws {RequiredError}
@@ -1159,7 +1148,7 @@ export declare const ProjectApiFactory: (configuration?: Configuration, basePath
1159
1148
  projectResolveInvitation(invitationToken: string, options?: any): AxiosPromise<any>;
1160
1149
  /**
1161
1150
  *
1162
- * @summary Create and send a project invitation to a specified mail.
1151
+ * @summary Creates and sends a project invitation to a specified email.
1163
1152
  * @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \&quot;.../?invitationToken&#x3D;{token}\&quot;.
1164
1153
  * @param {*} [options] Override http request option.
1165
1154
  * @throws {RequiredError}
@@ -1175,23 +1164,13 @@ export declare const ProjectApiFactory: (configuration?: Configuration, basePath
1175
1164
  projectStore(projectObject: ProjectObject, options?: any): AxiosPromise<any>;
1176
1165
  /**
1177
1166
  *
1178
- * @summary Updates the selected project
1167
+ * @summary Updates a project
1179
1168
  * @param {string} id Id of the project
1180
1169
  * @param {ProjectObject} projectObject A Project Object
1181
1170
  * @param {*} [options] Override http request option.
1182
1171
  * @throws {RequiredError}
1183
1172
  */
1184
1173
  projectUpdate(id: string, projectObject: ProjectObject, options?: any): AxiosPromise<any>;
1185
- /**
1186
- *
1187
- * @summary Update the project quota.
1188
- * @param {string} id Id of the project.
1189
- * @param {string} resourceTypeId Id of the resource.
1190
- * @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
1191
- * @param {*} [options] Override http request option.
1192
- * @throws {RequiredError}
1193
- */
1194
- projectUpdateQuota(id: string, resourceTypeId: string, updateProjectQuotaObject: UpdateProjectQuotaObject, options?: any): AxiosPromise<any>;
1195
1174
  };
1196
1175
  /**
1197
1176
  * ProjectApi - object-oriented interface
@@ -1211,7 +1190,7 @@ export declare class ProjectApi extends BaseAPI {
1211
1190
  projectCreateApplicationProfile(projectId: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
1212
1191
  /**
1213
1192
  *
1214
- * @summary Deletes the selected project
1193
+ * @summary Deletes a project
1215
1194
  * @param {string} id Id of the project
1216
1195
  * @param {*} [options] Override http request option.
1217
1196
  * @throws {RequiredError}
@@ -1247,17 +1226,7 @@ export declare class ProjectApi extends BaseAPI {
1247
1226
  projectGetBySlug(slug: string, options?: any): Promise<import("axios").AxiosResponse<ProjectObject>>;
1248
1227
  /**
1249
1228
  *
1250
- * @summary Get the max quota for a resource type.
1251
- * @param {string} id Id of the project.
1252
- * @param {string} resourceTypeId Id of the resource
1253
- * @param {*} [options] Override http request option.
1254
- * @throws {RequiredError}
1255
- * @memberof ProjectApi
1256
- */
1257
- projectGetQuotaMax(id: string, resourceTypeId: string, options?: any): Promise<import("axios").AxiosResponse<MaxProjectQuota>>;
1258
- /**
1259
- *
1260
- * @summary Gets the resources
1229
+ * @summary Gets all resources in a project
1261
1230
  * @param {string} id Id of the project
1262
1231
  * @param {*} [options] Override http request option.
1263
1232
  * @throws {RequiredError}
@@ -1291,71 +1260,178 @@ export declare class ProjectApi extends BaseAPI {
1291
1260
  projectListInvitations(projectId: string, options?: any): Promise<import("axios").AxiosResponse<InvitationReturnObject[]>>;
1292
1261
  /**
1293
1262
  *
1294
- * @summary Retrieves the quota for the selected project and resource Type.
1295
- * @param {string} id Id of the project
1296
- * @param {string} resourceTypeId Id of the resource type
1263
+ * @summary Resolves a project invitation for the current user.
1264
+ * @param {string} invitationToken Token for a project invitation stored inside the URL under \&quot;.../?invitationToken&#x3D;{token}\&quot;
1297
1265
  * @param {*} [options] Override http request option.
1298
1266
  * @throws {RequiredError}
1299
1267
  * @memberof ProjectApi
1300
1268
  */
1301
- projectQuota(id: string, resourceTypeId: string, options?: any): Promise<import("axios").AxiosResponse<ProjectQuotaReturnObject>>;
1269
+ projectResolveInvitation(invitationToken: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
1302
1270
  /**
1303
1271
  *
1304
- * @summary Retrieves the quota for the selected project.
1305
- * @param {string} id Id of the project
1272
+ * @summary Creates and sends a project invitation to a specified email.
1273
+ * @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \&quot;.../?invitationToken&#x3D;{token}\&quot;.
1306
1274
  * @param {*} [options] Override http request option.
1307
1275
  * @throws {RequiredError}
1308
1276
  * @memberof ProjectApi
1309
1277
  */
1310
- projectQuotas(id: string, options?: any): Promise<import("axios").AxiosResponse<ProjectQuotaReturnObject[]>>;
1278
+ projectSendInvitation(sendInvitationObject: SendInvitationObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
1311
1279
  /**
1312
1280
  *
1313
- * @summary Resolve a project invitation for the current user.
1314
- * @param {string} invitationToken Token for a project invitation stored inside the URL under \&quot;.../?invitationToken&#x3D;{token}\&quot;
1281
+ * @summary Creates a project
1282
+ * @param {ProjectObject} projectObject A Project Object
1315
1283
  * @param {*} [options] Override http request option.
1316
1284
  * @throws {RequiredError}
1317
1285
  * @memberof ProjectApi
1318
1286
  */
1319
- projectResolveInvitation(invitationToken: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
1287
+ projectStore(projectObject: ProjectObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
1320
1288
  /**
1321
1289
  *
1322
- * @summary Create and send a project invitation to a specified mail.
1323
- * @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \&quot;.../?invitationToken&#x3D;{token}\&quot;.
1290
+ * @summary Updates a project
1291
+ * @param {string} id Id of the project
1292
+ * @param {ProjectObject} projectObject A Project Object
1324
1293
  * @param {*} [options] Override http request option.
1325
1294
  * @throws {RequiredError}
1326
1295
  * @memberof ProjectApi
1327
1296
  */
1328
- projectSendInvitation(sendInvitationObject: SendInvitationObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
1297
+ projectUpdate(id: string, projectObject: ProjectObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
1298
+ }
1299
+ /**
1300
+ * ProjectQuotaApi - axios parameter creator
1301
+ * @export
1302
+ */
1303
+ export declare const ProjectQuotaApiAxiosParamCreator: (configuration?: Configuration) => {
1329
1304
  /**
1330
1305
  *
1331
- * @summary Creates a project
1332
- * @param {ProjectObject} projectObject A Project Object
1306
+ * @summary Retrieves the project quota in GiB of a resource type for the selected project together with all individual resources of this resource type.
1307
+ * @param {string} id Id of the project
1308
+ * @param {string} resourceTypeId Id of the resource type
1333
1309
  * @param {*} [options] Override http request option.
1334
1310
  * @throws {RequiredError}
1335
- * @memberof ProjectApi
1336
1311
  */
1337
- projectStore(projectObject: ProjectObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
1312
+ projectQuotaQuota: (id: string, resourceTypeId: string, options?: any) => Promise<RequestArgs>;
1338
1313
  /**
1339
1314
  *
1340
- * @summary Updates the selected project
1315
+ * @summary Retrieves all project quotas in GiB grouped by resource type for the selected project.
1341
1316
  * @param {string} id Id of the project
1342
- * @param {ProjectObject} projectObject A Project Object
1343
1317
  * @param {*} [options] Override http request option.
1344
1318
  * @throws {RequiredError}
1345
- * @memberof ProjectApi
1346
1319
  */
1347
- projectUpdate(id: string, projectObject: ProjectObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
1320
+ projectQuotaQuotas: (id: string, options?: any) => Promise<RequestArgs>;
1348
1321
  /**
1349
1322
  *
1350
- * @summary Update the project quota.
1351
- * @param {string} id Id of the project.
1352
- * @param {string} resourceTypeId Id of the resource.
1323
+ * @summary Updates the reserved project quota of a resource type for a selected poject. Quota value in GiB.
1324
+ * @param {string} id Id of the project
1325
+ * @param {string} resourceTypeId Id of the resource type
1326
+ * @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
1327
+ * @param {*} [options] Override http request option.
1328
+ * @throws {RequiredError}
1329
+ */
1330
+ projectQuotaUpdateQuota: (id: string, resourceTypeId: string, updateProjectQuotaObject: UpdateProjectQuotaObject, options?: any) => Promise<RequestArgs>;
1331
+ };
1332
+ /**
1333
+ * ProjectQuotaApi - functional programming interface
1334
+ * @export
1335
+ */
1336
+ export declare const ProjectQuotaApiFp: (configuration?: Configuration) => {
1337
+ /**
1338
+ *
1339
+ * @summary Retrieves the project quota in GiB of a resource type for the selected project together with all individual resources of this resource type.
1340
+ * @param {string} id Id of the project
1341
+ * @param {string} resourceTypeId Id of the resource type
1342
+ * @param {*} [options] Override http request option.
1343
+ * @throws {RequiredError}
1344
+ */
1345
+ projectQuotaQuota(id: string, resourceTypeId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectQuotaExtendedReturnObject>>;
1346
+ /**
1347
+ *
1348
+ * @summary Retrieves all project quotas in GiB grouped by resource type for the selected project.
1349
+ * @param {string} id Id of the project
1350
+ * @param {*} [options] Override http request option.
1351
+ * @throws {RequiredError}
1352
+ */
1353
+ projectQuotaQuotas(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProjectQuotaReturnObject>>>;
1354
+ /**
1355
+ *
1356
+ * @summary Updates the reserved project quota of a resource type for a selected poject. Quota value in GiB.
1357
+ * @param {string} id Id of the project
1358
+ * @param {string} resourceTypeId Id of the resource type
1359
+ * @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
1360
+ * @param {*} [options] Override http request option.
1361
+ * @throws {RequiredError}
1362
+ */
1363
+ projectQuotaUpdateQuota(id: string, resourceTypeId: string, updateProjectQuotaObject: UpdateProjectQuotaObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1364
+ };
1365
+ /**
1366
+ * ProjectQuotaApi - factory interface
1367
+ * @export
1368
+ */
1369
+ export declare const ProjectQuotaApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1370
+ /**
1371
+ *
1372
+ * @summary Retrieves the project quota in GiB of a resource type for the selected project together with all individual resources of this resource type.
1373
+ * @param {string} id Id of the project
1374
+ * @param {string} resourceTypeId Id of the resource type
1375
+ * @param {*} [options] Override http request option.
1376
+ * @throws {RequiredError}
1377
+ */
1378
+ projectQuotaQuota(id: string, resourceTypeId: string, options?: any): AxiosPromise<ProjectQuotaExtendedReturnObject>;
1379
+ /**
1380
+ *
1381
+ * @summary Retrieves all project quotas in GiB grouped by resource type for the selected project.
1382
+ * @param {string} id Id of the project
1383
+ * @param {*} [options] Override http request option.
1384
+ * @throws {RequiredError}
1385
+ */
1386
+ projectQuotaQuotas(id: string, options?: any): AxiosPromise<Array<ProjectQuotaReturnObject>>;
1387
+ /**
1388
+ *
1389
+ * @summary Updates the reserved project quota of a resource type for a selected poject. Quota value in GiB.
1390
+ * @param {string} id Id of the project
1391
+ * @param {string} resourceTypeId Id of the resource type
1353
1392
  * @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
1354
1393
  * @param {*} [options] Override http request option.
1355
1394
  * @throws {RequiredError}
1356
- * @memberof ProjectApi
1357
1395
  */
1358
- projectUpdateQuota(id: string, resourceTypeId: string, updateProjectQuotaObject: UpdateProjectQuotaObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
1396
+ projectQuotaUpdateQuota(id: string, resourceTypeId: string, updateProjectQuotaObject: UpdateProjectQuotaObject, options?: any): AxiosPromise<any>;
1397
+ };
1398
+ /**
1399
+ * ProjectQuotaApi - object-oriented interface
1400
+ * @export
1401
+ * @class ProjectQuotaApi
1402
+ * @extends {BaseAPI}
1403
+ */
1404
+ export declare class ProjectQuotaApi extends BaseAPI {
1405
+ /**
1406
+ *
1407
+ * @summary Retrieves the project quota in GiB of a resource type for the selected project together with all individual resources of this resource type.
1408
+ * @param {string} id Id of the project
1409
+ * @param {string} resourceTypeId Id of the resource type
1410
+ * @param {*} [options] Override http request option.
1411
+ * @throws {RequiredError}
1412
+ * @memberof ProjectQuotaApi
1413
+ */
1414
+ projectQuotaQuota(id: string, resourceTypeId: string, options?: any): Promise<import("axios").AxiosResponse<ProjectQuotaExtendedReturnObject>>;
1415
+ /**
1416
+ *
1417
+ * @summary Retrieves all project quotas in GiB grouped by resource type for the selected project.
1418
+ * @param {string} id Id of the project
1419
+ * @param {*} [options] Override http request option.
1420
+ * @throws {RequiredError}
1421
+ * @memberof ProjectQuotaApi
1422
+ */
1423
+ projectQuotaQuotas(id: string, options?: any): Promise<import("axios").AxiosResponse<ProjectQuotaReturnObject[]>>;
1424
+ /**
1425
+ *
1426
+ * @summary Updates the reserved project quota of a resource type for a selected poject. Quota value in GiB.
1427
+ * @param {string} id Id of the project
1428
+ * @param {string} resourceTypeId Id of the resource type
1429
+ * @param {UpdateProjectQuotaObject} updateProjectQuotaObject Object containing the update values.
1430
+ * @param {*} [options] Override http request option.
1431
+ * @throws {RequiredError}
1432
+ * @memberof ProjectQuotaApi
1433
+ */
1434
+ projectQuotaUpdateQuota(id: string, resourceTypeId: string, updateProjectQuotaObject: UpdateProjectQuotaObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
1359
1435
  }
1360
1436
  /**
1361
1437
  * ProjectRoleApi - axios parameter creator
@@ -1364,7 +1440,7 @@ export declare class ProjectApi extends BaseAPI {
1364
1440
  export declare const ProjectRoleApiAxiosParamCreator: (configuration?: Configuration) => {
1365
1441
  /**
1366
1442
  *
1367
- * @summary deletes project role for the given project
1443
+ * @summary Deletes a user from a project
1368
1444
  * @param {string} projectId Id of the project
1369
1445
  * @param {string} userId Id of the user
1370
1446
  * @param {string} roleId Id of the role
@@ -1374,7 +1450,7 @@ export declare const ProjectRoleApiAxiosParamCreator: (configuration?: Configura
1374
1450
  projectRoleDelete: (projectId: string, userId: string, roleId: string, options?: any) => Promise<RequestArgs>;
1375
1451
  /**
1376
1452
  *
1377
- * @summary Deletes user from a project
1453
+ * @summary Deletes the current user from a project
1378
1454
  * @param {string} projectId Id of the project
1379
1455
  * @param {*} [options] Override http request option.
1380
1456
  * @throws {RequiredError}
@@ -1382,7 +1458,7 @@ export declare const ProjectRoleApiAxiosParamCreator: (configuration?: Configura
1382
1458
  projectRoleDelete2: (projectId: string, options?: any) => Promise<RequestArgs>;
1383
1459
  /**
1384
1460
  *
1385
- * @summary Gets all roles for current user and given object
1461
+ * @summary Gets all roles for the current user and a project.
1386
1462
  * @param {string} projectId Id of the project
1387
1463
  * @param {*} [options] Override http request option.
1388
1464
  * @throws {RequiredError}
@@ -1390,7 +1466,7 @@ export declare const ProjectRoleApiAxiosParamCreator: (configuration?: Configura
1390
1466
  projectRoleGet: (projectId: string, options?: any) => Promise<RequestArgs>;
1391
1467
  /**
1392
1468
  *
1393
- * @summary Lists all users to the given project
1469
+ * @summary Lists all users in a project.
1394
1470
  * @param {string} projectId Id of the project
1395
1471
  * @param {*} [options] Override http request option.
1396
1472
  * @throws {RequiredError}
@@ -1398,11 +1474,12 @@ export declare const ProjectRoleApiAxiosParamCreator: (configuration?: Configura
1398
1474
  projectRoleIndex: (projectId: string, options?: any) => Promise<RequestArgs>;
1399
1475
  /**
1400
1476
  *
1401
- * @summary sets a project role for the given project
1477
+ * @summary Sets a role for the current user in a project
1478
+ * @param {ProjectRoleObject} projectRoleObject
1402
1479
  * @param {*} [options] Override http request option.
1403
1480
  * @throws {RequiredError}
1404
1481
  */
1405
- projectRoleSet: (options?: any) => Promise<RequestArgs>;
1482
+ projectRoleSet: (projectRoleObject: ProjectRoleObject, options?: any) => Promise<RequestArgs>;
1406
1483
  };
1407
1484
  /**
1408
1485
  * ProjectRoleApi - functional programming interface
@@ -1411,7 +1488,7 @@ export declare const ProjectRoleApiAxiosParamCreator: (configuration?: Configura
1411
1488
  export declare const ProjectRoleApiFp: (configuration?: Configuration) => {
1412
1489
  /**
1413
1490
  *
1414
- * @summary deletes project role for the given project
1491
+ * @summary Deletes a user from a project
1415
1492
  * @param {string} projectId Id of the project
1416
1493
  * @param {string} userId Id of the user
1417
1494
  * @param {string} roleId Id of the role
@@ -1421,7 +1498,7 @@ export declare const ProjectRoleApiFp: (configuration?: Configuration) => {
1421
1498
  projectRoleDelete(projectId: string, userId: string, roleId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1422
1499
  /**
1423
1500
  *
1424
- * @summary Deletes user from a project
1501
+ * @summary Deletes the current user from a project
1425
1502
  * @param {string} projectId Id of the project
1426
1503
  * @param {*} [options] Override http request option.
1427
1504
  * @throws {RequiredError}
@@ -1429,7 +1506,7 @@ export declare const ProjectRoleApiFp: (configuration?: Configuration) => {
1429
1506
  projectRoleDelete2(projectId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1430
1507
  /**
1431
1508
  *
1432
- * @summary Gets all roles for current user and given object
1509
+ * @summary Gets all roles for the current user and a project.
1433
1510
  * @param {string} projectId Id of the project
1434
1511
  * @param {*} [options] Override http request option.
1435
1512
  * @throws {RequiredError}
@@ -1437,7 +1514,7 @@ export declare const ProjectRoleApiFp: (configuration?: Configuration) => {
1437
1514
  projectRoleGet(projectId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProjectRoleObject>>>;
1438
1515
  /**
1439
1516
  *
1440
- * @summary Lists all users to the given project
1517
+ * @summary Lists all users in a project.
1441
1518
  * @param {string} projectId Id of the project
1442
1519
  * @param {*} [options] Override http request option.
1443
1520
  * @throws {RequiredError}
@@ -1445,11 +1522,12 @@ export declare const ProjectRoleApiFp: (configuration?: Configuration) => {
1445
1522
  projectRoleIndex(projectId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProjectRoleObject>>>;
1446
1523
  /**
1447
1524
  *
1448
- * @summary sets a project role for the given project
1525
+ * @summary Sets a role for the current user in a project
1526
+ * @param {ProjectRoleObject} projectRoleObject
1449
1527
  * @param {*} [options] Override http request option.
1450
1528
  * @throws {RequiredError}
1451
1529
  */
1452
- projectRoleSet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectRoleObject>>;
1530
+ projectRoleSet(projectRoleObject: ProjectRoleObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectRoleObject>>;
1453
1531
  };
1454
1532
  /**
1455
1533
  * ProjectRoleApi - factory interface
@@ -1458,7 +1536,7 @@ export declare const ProjectRoleApiFp: (configuration?: Configuration) => {
1458
1536
  export declare const ProjectRoleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1459
1537
  /**
1460
1538
  *
1461
- * @summary deletes project role for the given project
1539
+ * @summary Deletes a user from a project
1462
1540
  * @param {string} projectId Id of the project
1463
1541
  * @param {string} userId Id of the user
1464
1542
  * @param {string} roleId Id of the role
@@ -1468,7 +1546,7 @@ export declare const ProjectRoleApiFactory: (configuration?: Configuration, base
1468
1546
  projectRoleDelete(projectId: string, userId: string, roleId: string, options?: any): AxiosPromise<any>;
1469
1547
  /**
1470
1548
  *
1471
- * @summary Deletes user from a project
1549
+ * @summary Deletes the current user from a project
1472
1550
  * @param {string} projectId Id of the project
1473
1551
  * @param {*} [options] Override http request option.
1474
1552
  * @throws {RequiredError}
@@ -1476,7 +1554,7 @@ export declare const ProjectRoleApiFactory: (configuration?: Configuration, base
1476
1554
  projectRoleDelete2(projectId: string, options?: any): AxiosPromise<any>;
1477
1555
  /**
1478
1556
  *
1479
- * @summary Gets all roles for current user and given object
1557
+ * @summary Gets all roles for the current user and a project.
1480
1558
  * @param {string} projectId Id of the project
1481
1559
  * @param {*} [options] Override http request option.
1482
1560
  * @throws {RequiredError}
@@ -1484,7 +1562,7 @@ export declare const ProjectRoleApiFactory: (configuration?: Configuration, base
1484
1562
  projectRoleGet(projectId: string, options?: any): AxiosPromise<Array<ProjectRoleObject>>;
1485
1563
  /**
1486
1564
  *
1487
- * @summary Lists all users to the given project
1565
+ * @summary Lists all users in a project.
1488
1566
  * @param {string} projectId Id of the project
1489
1567
  * @param {*} [options] Override http request option.
1490
1568
  * @throws {RequiredError}
@@ -1492,11 +1570,12 @@ export declare const ProjectRoleApiFactory: (configuration?: Configuration, base
1492
1570
  projectRoleIndex(projectId: string, options?: any): AxiosPromise<Array<ProjectRoleObject>>;
1493
1571
  /**
1494
1572
  *
1495
- * @summary sets a project role for the given project
1573
+ * @summary Sets a role for the current user in a project
1574
+ * @param {ProjectRoleObject} projectRoleObject
1496
1575
  * @param {*} [options] Override http request option.
1497
1576
  * @throws {RequiredError}
1498
1577
  */
1499
- projectRoleSet(options?: any): AxiosPromise<ProjectRoleObject>;
1578
+ projectRoleSet(projectRoleObject: ProjectRoleObject, options?: any): AxiosPromise<ProjectRoleObject>;
1500
1579
  };
1501
1580
  /**
1502
1581
  * ProjectRoleApi - object-oriented interface
@@ -1507,7 +1586,7 @@ export declare const ProjectRoleApiFactory: (configuration?: Configuration, base
1507
1586
  export declare class ProjectRoleApi extends BaseAPI {
1508
1587
  /**
1509
1588
  *
1510
- * @summary deletes project role for the given project
1589
+ * @summary Deletes a user from a project
1511
1590
  * @param {string} projectId Id of the project
1512
1591
  * @param {string} userId Id of the user
1513
1592
  * @param {string} roleId Id of the role
@@ -1518,7 +1597,7 @@ export declare class ProjectRoleApi extends BaseAPI {
1518
1597
  projectRoleDelete(projectId: string, userId: string, roleId: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
1519
1598
  /**
1520
1599
  *
1521
- * @summary Deletes user from a project
1600
+ * @summary Deletes the current user from a project
1522
1601
  * @param {string} projectId Id of the project
1523
1602
  * @param {*} [options] Override http request option.
1524
1603
  * @throws {RequiredError}
@@ -1527,7 +1606,7 @@ export declare class ProjectRoleApi extends BaseAPI {
1527
1606
  projectRoleDelete2(projectId: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
1528
1607
  /**
1529
1608
  *
1530
- * @summary Gets all roles for current user and given object
1609
+ * @summary Gets all roles for the current user and a project.
1531
1610
  * @param {string} projectId Id of the project
1532
1611
  * @param {*} [options] Override http request option.
1533
1612
  * @throws {RequiredError}
@@ -1536,7 +1615,7 @@ export declare class ProjectRoleApi extends BaseAPI {
1536
1615
  projectRoleGet(projectId: string, options?: any): Promise<import("axios").AxiosResponse<ProjectRoleObject[]>>;
1537
1616
  /**
1538
1617
  *
1539
- * @summary Lists all users to the given project
1618
+ * @summary Lists all users in a project.
1540
1619
  * @param {string} projectId Id of the project
1541
1620
  * @param {*} [options] Override http request option.
1542
1621
  * @throws {RequiredError}
@@ -1545,12 +1624,13 @@ export declare class ProjectRoleApi extends BaseAPI {
1545
1624
  projectRoleIndex(projectId: string, options?: any): Promise<import("axios").AxiosResponse<ProjectRoleObject[]>>;
1546
1625
  /**
1547
1626
  *
1548
- * @summary sets a project role for the given project
1627
+ * @summary Sets a role for the current user in a project
1628
+ * @param {ProjectRoleObject} projectRoleObject
1549
1629
  * @param {*} [options] Override http request option.
1550
1630
  * @throws {RequiredError}
1551
1631
  * @memberof ProjectRoleApi
1552
1632
  */
1553
- projectRoleSet(options?: any): Promise<import("axios").AxiosResponse<ProjectRoleObject>>;
1633
+ projectRoleSet(projectRoleObject: ProjectRoleObject, options?: any): Promise<import("axios").AxiosResponse<ProjectRoleObject>>;
1554
1634
  }
1555
1635
  /**
1556
1636
  * RoleApi - axios parameter creator
@@ -1607,102 +1687,6 @@ export declare class RoleApi extends BaseAPI {
1607
1687
  */
1608
1688
  roleIndex(options?: any): Promise<import("axios").AxiosResponse<RoleObject[]>>;
1609
1689
  }
1610
- /**
1611
- * SearchApi - axios parameter creator
1612
- * @export
1613
- */
1614
- export declare const SearchApiAxiosParamCreator: (configuration?: Configuration) => {
1615
- /**
1616
- *
1617
- * @summary Returns results for the search word
1618
- * @param {string} encodedSearchWord Encoded search word
1619
- * @param {*} [options] Override http request option.
1620
- * @throws {RequiredError}
1621
- */
1622
- searchSearch: (encodedSearchWord: string, options?: any) => Promise<RequestArgs>;
1623
- /**
1624
- *
1625
- * @summary Returns searched projects
1626
- * @param {string} projectId Id of the project
1627
- * @param {string} encodedSearchWord Encoded search word
1628
- * @param {*} [options] Override http request option.
1629
- * @throws {RequiredError}
1630
- */
1631
- searchSearchProject: (projectId: string, encodedSearchWord: string, options?: any) => Promise<RequestArgs>;
1632
- };
1633
- /**
1634
- * SearchApi - functional programming interface
1635
- * @export
1636
- */
1637
- export declare const SearchApiFp: (configuration?: Configuration) => {
1638
- /**
1639
- *
1640
- * @summary Returns results for the search word
1641
- * @param {string} encodedSearchWord Encoded search word
1642
- * @param {*} [options] Override http request option.
1643
- * @throws {RequiredError}
1644
- */
1645
- searchSearch(encodedSearchWord: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1646
- /**
1647
- *
1648
- * @summary Returns searched projects
1649
- * @param {string} projectId Id of the project
1650
- * @param {string} encodedSearchWord Encoded search word
1651
- * @param {*} [options] Override http request option.
1652
- * @throws {RequiredError}
1653
- */
1654
- searchSearchProject(projectId: string, encodedSearchWord: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1655
- };
1656
- /**
1657
- * SearchApi - factory interface
1658
- * @export
1659
- */
1660
- export declare const SearchApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1661
- /**
1662
- *
1663
- * @summary Returns results for the search word
1664
- * @param {string} encodedSearchWord Encoded search word
1665
- * @param {*} [options] Override http request option.
1666
- * @throws {RequiredError}
1667
- */
1668
- searchSearch(encodedSearchWord: string, options?: any): AxiosPromise<any>;
1669
- /**
1670
- *
1671
- * @summary Returns searched projects
1672
- * @param {string} projectId Id of the project
1673
- * @param {string} encodedSearchWord Encoded search word
1674
- * @param {*} [options] Override http request option.
1675
- * @throws {RequiredError}
1676
- */
1677
- searchSearchProject(projectId: string, encodedSearchWord: string, options?: any): AxiosPromise<any>;
1678
- };
1679
- /**
1680
- * SearchApi - object-oriented interface
1681
- * @export
1682
- * @class SearchApi
1683
- * @extends {BaseAPI}
1684
- */
1685
- export declare class SearchApi extends BaseAPI {
1686
- /**
1687
- *
1688
- * @summary Returns results for the search word
1689
- * @param {string} encodedSearchWord Encoded search word
1690
- * @param {*} [options] Override http request option.
1691
- * @throws {RequiredError}
1692
- * @memberof SearchApi
1693
- */
1694
- searchSearch(encodedSearchWord: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
1695
- /**
1696
- *
1697
- * @summary Returns searched projects
1698
- * @param {string} projectId Id of the project
1699
- * @param {string} encodedSearchWord Encoded search word
1700
- * @param {*} [options] Override http request option.
1701
- * @throws {RequiredError}
1702
- * @memberof SearchApi
1703
- */
1704
- searchSearchProject(projectId: string, encodedSearchWord: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
1705
- }
1706
1690
  /**
1707
1691
  * SubProjectApi - axios parameter creator
1708
1692
  * @export