@coscine/api-client 2.0.0 → 2.3.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 (151) hide show
  1. package/dist/index.js +1702 -2378
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.umd.js +1703 -2379
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/lib/Coscine.Api.ActivatedFeatures/api.js +1 -1
  6. package/dist/lib/Coscine.Api.ActivatedFeatures/base.js +1 -1
  7. package/dist/lib/Coscine.Api.ActivatedFeatures/common.js +1 -1
  8. package/dist/lib/Coscine.Api.ActivatedFeatures/configuration.js +1 -1
  9. package/dist/lib/Coscine.Api.ActivatedFeatures/index.js +1 -1
  10. package/dist/lib/Coscine.Api.Admin/api.js +51 -23
  11. package/dist/lib/Coscine.Api.Admin/api.js.map +1 -1
  12. package/dist/lib/Coscine.Api.Admin/base.js +1 -1
  13. package/dist/lib/Coscine.Api.Admin/common.js +1 -1
  14. package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
  15. package/dist/lib/Coscine.Api.Admin/index.js +1 -1
  16. package/dist/lib/Coscine.Api.Blob/api.js +1 -132
  17. package/dist/lib/Coscine.Api.Blob/api.js.map +1 -1
  18. package/dist/lib/Coscine.Api.Blob/base.js +1 -1
  19. package/dist/lib/Coscine.Api.Blob/common.js +1 -1
  20. package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
  21. package/dist/lib/Coscine.Api.Blob/index.js +1 -1
  22. package/dist/lib/Coscine.Api.Metadata/api.js +1 -1
  23. package/dist/lib/Coscine.Api.Metadata/base.js +1 -1
  24. package/dist/lib/Coscine.Api.Metadata/common.js +1 -1
  25. package/dist/lib/Coscine.Api.Metadata/configuration.js +1 -1
  26. package/dist/lib/Coscine.Api.Metadata/index.js +1 -1
  27. package/dist/lib/Coscine.Api.Notices/api.js +1 -1
  28. package/dist/lib/Coscine.Api.Notices/base.js +1 -1
  29. package/dist/lib/Coscine.Api.Notices/common.js +1 -1
  30. package/dist/lib/Coscine.Api.Notices/configuration.js +1 -1
  31. package/dist/lib/Coscine.Api.Notices/index.js +1 -1
  32. package/dist/lib/Coscine.Api.Organization/api.js +1 -1
  33. package/dist/lib/Coscine.Api.Organization/base.js +1 -1
  34. package/dist/lib/Coscine.Api.Organization/common.js +1 -1
  35. package/dist/lib/Coscine.Api.Organization/configuration.js +1 -1
  36. package/dist/lib/Coscine.Api.Organization/index.js +1 -1
  37. package/dist/lib/Coscine.Api.Project/api.js +320 -332
  38. package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
  39. package/dist/lib/Coscine.Api.Project/base.js +1 -1
  40. package/dist/lib/Coscine.Api.Project/common.js +1 -1
  41. package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
  42. package/dist/lib/Coscine.Api.Project/index.js +1 -1
  43. package/dist/lib/Coscine.Api.Resources/api.js +242 -42
  44. package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
  45. package/dist/lib/Coscine.Api.Resources/base.js +1 -1
  46. package/dist/lib/Coscine.Api.Resources/common.js +1 -1
  47. package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
  48. package/dist/lib/Coscine.Api.Resources/index.js +1 -1
  49. package/dist/lib/Coscine.Api.Search/api.js +1 -1
  50. package/dist/lib/Coscine.Api.Search/base.js +1 -1
  51. package/dist/lib/Coscine.Api.Search/common.js +1 -1
  52. package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
  53. package/dist/lib/Coscine.Api.Search/index.js +1 -1
  54. package/dist/lib/Coscine.Api.Token/api.js +1 -1
  55. package/dist/lib/Coscine.Api.Token/base.js +1 -1
  56. package/dist/lib/Coscine.Api.Token/common.js +1 -1
  57. package/dist/lib/Coscine.Api.Token/configuration.js +1 -1
  58. package/dist/lib/Coscine.Api.Token/index.js +1 -1
  59. package/dist/lib/Coscine.Api.Tree/api.js +29 -15
  60. package/dist/lib/Coscine.Api.Tree/api.js.map +1 -1
  61. package/dist/lib/Coscine.Api.Tree/base.js +1 -1
  62. package/dist/lib/Coscine.Api.Tree/common.js +1 -1
  63. package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
  64. package/dist/lib/Coscine.Api.Tree/index.js +1 -1
  65. package/dist/lib/Coscine.Api.User/api.js +1 -1
  66. package/dist/lib/Coscine.Api.User/base.js +1 -1
  67. package/dist/lib/Coscine.Api.User/common.js +1 -1
  68. package/dist/lib/Coscine.Api.User/configuration.js +1 -1
  69. package/dist/lib/Coscine.Api.User/index.js +1 -1
  70. package/dist/lib/apis.js +19 -19
  71. package/dist/lib/apis.js.map +1 -1
  72. package/dist/lib/index.js +3 -3
  73. package/dist/lib/index.js.map +1 -1
  74. package/dist/types/Coscine.Api.ActivatedFeatures/api.d.ts +1 -1
  75. package/dist/types/Coscine.Api.ActivatedFeatures/base.d.ts +1 -1
  76. package/dist/types/Coscine.Api.ActivatedFeatures/common.d.ts +1 -1
  77. package/dist/types/Coscine.Api.ActivatedFeatures/configuration.d.ts +1 -1
  78. package/dist/types/Coscine.Api.ActivatedFeatures/index.d.ts +1 -1
  79. package/dist/types/Coscine.Api.Admin/api.d.ts +100 -66
  80. package/dist/types/Coscine.Api.Admin/base.d.ts +1 -1
  81. package/dist/types/Coscine.Api.Admin/common.d.ts +1 -1
  82. package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
  83. package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
  84. package/dist/types/Coscine.Api.Blob/api.d.ts +1 -67
  85. package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
  86. package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
  87. package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
  88. package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
  89. package/dist/types/Coscine.Api.Metadata/api.d.ts +1 -1
  90. package/dist/types/Coscine.Api.Metadata/base.d.ts +1 -1
  91. package/dist/types/Coscine.Api.Metadata/common.d.ts +1 -1
  92. package/dist/types/Coscine.Api.Metadata/configuration.d.ts +1 -1
  93. package/dist/types/Coscine.Api.Metadata/index.d.ts +1 -1
  94. package/dist/types/Coscine.Api.Notices/api.d.ts +1 -1
  95. package/dist/types/Coscine.Api.Notices/base.d.ts +1 -1
  96. package/dist/types/Coscine.Api.Notices/common.d.ts +1 -1
  97. package/dist/types/Coscine.Api.Notices/configuration.d.ts +1 -1
  98. package/dist/types/Coscine.Api.Notices/index.d.ts +1 -1
  99. package/dist/types/Coscine.Api.Organization/api.d.ts +1 -1
  100. package/dist/types/Coscine.Api.Organization/base.d.ts +1 -1
  101. package/dist/types/Coscine.Api.Organization/common.d.ts +1 -1
  102. package/dist/types/Coscine.Api.Organization/configuration.d.ts +1 -1
  103. package/dist/types/Coscine.Api.Organization/index.d.ts +1 -1
  104. package/dist/types/Coscine.Api.Project/api.d.ts +312 -232
  105. package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
  106. package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
  107. package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
  108. package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
  109. package/dist/types/Coscine.Api.Resources/api.d.ts +295 -48
  110. package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
  111. package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
  112. package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
  113. package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
  114. package/dist/types/Coscine.Api.Search/api.d.ts +1 -1
  115. package/dist/types/Coscine.Api.Search/base.d.ts +1 -1
  116. package/dist/types/Coscine.Api.Search/common.d.ts +1 -1
  117. package/dist/types/Coscine.Api.Search/configuration.d.ts +1 -1
  118. package/dist/types/Coscine.Api.Search/index.d.ts +1 -1
  119. package/dist/types/Coscine.Api.Token/api.d.ts +1 -1
  120. package/dist/types/Coscine.Api.Token/base.d.ts +1 -1
  121. package/dist/types/Coscine.Api.Token/common.d.ts +1 -1
  122. package/dist/types/Coscine.Api.Token/configuration.d.ts +1 -1
  123. package/dist/types/Coscine.Api.Token/index.d.ts +1 -1
  124. package/dist/types/Coscine.Api.Tree/api.d.ts +17 -9
  125. package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
  126. package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
  127. package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
  128. package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
  129. package/dist/types/Coscine.Api.User/api.d.ts +1 -1
  130. package/dist/types/Coscine.Api.User/base.d.ts +1 -1
  131. package/dist/types/Coscine.Api.User/common.d.ts +1 -1
  132. package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
  133. package/dist/types/Coscine.Api.User/index.d.ts +1 -1
  134. package/dist/types/apis.d.ts +14 -24
  135. package/dist/types/index.d.ts +28 -48
  136. package/package.json +2 -2
  137. package/dist/lib/Coscine.Api.Quota/api.js +0 -283
  138. package/dist/lib/Coscine.Api.Quota/api.js.map +0 -1
  139. package/dist/lib/Coscine.Api.Quota/base.js +0 -65
  140. package/dist/lib/Coscine.Api.Quota/base.js.map +0 -1
  141. package/dist/lib/Coscine.Api.Quota/common.js +0 -153
  142. package/dist/lib/Coscine.Api.Quota/common.js.map +0 -1
  143. package/dist/lib/Coscine.Api.Quota/configuration.js +0 -43
  144. package/dist/lib/Coscine.Api.Quota/configuration.js.map +0 -1
  145. package/dist/lib/Coscine.Api.Quota/index.js +0 -28
  146. package/dist/lib/Coscine.Api.Quota/index.js.map +0 -1
  147. package/dist/types/Coscine.Api.Quota/api.d.ts +0 -197
  148. package/dist/types/Coscine.Api.Quota/base.d.ts +0 -55
  149. package/dist/types/Coscine.Api.Quota/common.d.ts +0 -65
  150. package/dist/types/Coscine.Api.Quota/configuration.d.ts +0 -83
  151. 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.6.2
5
+ * The version of the OpenAPI document: 3.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.6.2
5
+ * The version of the OpenAPI document: 3.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.6.2
5
+ * The version of the OpenAPI document: 3.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.6.2
5
+ * The version of the OpenAPI document: 3.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Resources
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.7.0
5
+ * The version of the OpenAPI document: 2.10.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,7 +23,7 @@ export interface ColumnsObject {
23
23
  * @type {Array<string>}
24
24
  * @memberof ColumnsObject
25
25
  */
26
- always?: Array<string> | null;
26
+ always?: Array<string>;
27
27
  }
28
28
  /**
29
29
  *
@@ -67,7 +67,7 @@ export interface EntriesView {
67
67
  * @type {ColumnsObject}
68
68
  * @memberof EntriesView
69
69
  */
70
- columns?: ColumnsObject | null;
70
+ columns?: ColumnsObject;
71
71
  }
72
72
  /**
73
73
  *
@@ -107,6 +107,38 @@ export interface MetadataView {
107
107
  */
108
108
  editableKey?: boolean;
109
109
  }
110
+ /**
111
+ *
112
+ * @export
113
+ * @interface QuotaDimObject
114
+ */
115
+ export interface QuotaDimObject {
116
+ /**
117
+ *
118
+ * @type {number}
119
+ * @memberof QuotaDimObject
120
+ */
121
+ value?: number;
122
+ /**
123
+ *
124
+ * @type {QuotaUnit}
125
+ * @memberof QuotaDimObject
126
+ */
127
+ unit?: QuotaUnit;
128
+ }
129
+ /**
130
+ *
131
+ * @export
132
+ * @enum {string}
133
+ */
134
+ export declare enum QuotaUnit {
135
+ Byte = "https://qudt.org/vocab/unit/BYTE",
136
+ KibiByte = "https://qudt.org/vocab/unit/KibiBYTE",
137
+ MebiByte = "https://qudt.org/vocab/unit/MebiBYTE",
138
+ GibiByte = "https://qudt.org/vocab/unit/GibiBYTE",
139
+ TebiByte = "https://qudt.org/vocab/unit/TebiBYTE",
140
+ PebiByte = "https://qudt.org/vocab/unit/PebiBYTE"
141
+ }
110
142
  /**
111
143
  *
112
144
  * @export
@@ -124,13 +156,13 @@ export interface ResourceContentObject {
124
156
  * @type {MetadataView}
125
157
  * @memberof ResourceContentObject
126
158
  */
127
- metadataView?: MetadataView | null;
159
+ metadataView?: MetadataView;
128
160
  /**
129
161
  *
130
162
  * @type {EntriesView}
131
163
  * @memberof ResourceContentObject
132
164
  */
133
- entriesView?: EntriesView | null;
165
+ entriesView?: EntriesView;
134
166
  }
135
167
  /**
136
168
  *
@@ -143,7 +175,7 @@ export interface ResourceCreateObject {
143
175
  * @type {Array<Array<string>>}
144
176
  * @memberof ResourceCreateObject
145
177
  */
146
- components?: Array<Array<string>> | null;
178
+ components?: Array<Array<string>>;
147
179
  }
148
180
  /**
149
181
  *
@@ -248,6 +280,43 @@ export interface ResourceObject {
248
280
  */
249
281
  archived?: boolean;
250
282
  }
283
+ /**
284
+ *
285
+ * @export
286
+ * @interface ResourceQuotaReturnObject
287
+ */
288
+ export interface ResourceQuotaReturnObject {
289
+ /**
290
+ *
291
+ * @type {string}
292
+ * @memberof ResourceQuotaReturnObject
293
+ */
294
+ id?: string;
295
+ /**
296
+ *
297
+ * @type {string}
298
+ * @memberof ResourceQuotaReturnObject
299
+ */
300
+ name?: string | null;
301
+ /**
302
+ *
303
+ * @type {QuotaDimObject}
304
+ * @memberof ResourceQuotaReturnObject
305
+ */
306
+ used?: QuotaDimObject | null;
307
+ /**
308
+ *
309
+ * @type {number}
310
+ * @memberof ResourceQuotaReturnObject
311
+ */
312
+ usedPercentage?: number;
313
+ /**
314
+ *
315
+ * @type {QuotaDimObject}
316
+ * @memberof ResourceQuotaReturnObject
317
+ */
318
+ reserved?: QuotaDimObject | null;
319
+ }
251
320
  /**
252
321
  *
253
322
  * @export
@@ -260,6 +329,66 @@ export interface ResourceTypeInformation {
260
329
  * @memberof ResourceTypeInformation
261
330
  */
262
331
  isEnabled?: boolean;
332
+ /**
333
+ *
334
+ * @type {ResourceTypeStatus}
335
+ * @memberof ResourceTypeInformation
336
+ */
337
+ status?: ResourceTypeStatus;
338
+ /**
339
+ *
340
+ * @type {boolean}
341
+ * @memberof ResourceTypeInformation
342
+ */
343
+ canCreate?: boolean;
344
+ /**
345
+ *
346
+ * @type {boolean}
347
+ * @memberof ResourceTypeInformation
348
+ */
349
+ canRead?: boolean;
350
+ /**
351
+ *
352
+ * @type {boolean}
353
+ * @memberof ResourceTypeInformation
354
+ */
355
+ canSetResourceReadonly?: boolean;
356
+ /**
357
+ *
358
+ * @type {boolean}
359
+ * @memberof ResourceTypeInformation
360
+ */
361
+ canUpdate?: boolean;
362
+ /**
363
+ *
364
+ * @type {boolean}
365
+ * @memberof ResourceTypeInformation
366
+ */
367
+ canUpdateResource?: boolean;
368
+ /**
369
+ *
370
+ * @type {boolean}
371
+ * @memberof ResourceTypeInformation
372
+ */
373
+ canDelete?: boolean;
374
+ /**
375
+ *
376
+ * @type {boolean}
377
+ * @memberof ResourceTypeInformation
378
+ */
379
+ canDeleteResource?: boolean;
380
+ /**
381
+ *
382
+ * @type {boolean}
383
+ * @memberof ResourceTypeInformation
384
+ */
385
+ canList?: boolean;
386
+ /**
387
+ *
388
+ * @type {boolean}
389
+ * @memberof ResourceTypeInformation
390
+ */
391
+ canCreateLinks?: boolean;
263
392
  /**
264
393
  *
265
394
  * @type {boolean}
@@ -295,13 +424,13 @@ export interface ResourceTypeInformation {
295
424
  * @type {ResourceCreateObject}
296
425
  * @memberof ResourceTypeInformation
297
426
  */
298
- resourceCreate?: ResourceCreateObject | null;
427
+ resourceCreate?: ResourceCreateObject;
299
428
  /**
300
429
  *
301
430
  * @type {ResourceContentObject}
302
431
  * @memberof ResourceTypeInformation
303
432
  */
304
- resourceContent?: ResourceContentObject | null;
433
+ resourceContent?: ResourceContentObject;
305
434
  }
306
435
  /**
307
436
  *
@@ -322,6 +451,28 @@ export interface ResourceTypeObject {
322
451
  */
323
452
  displayName?: string | null;
324
453
  }
454
+ /**
455
+ *
456
+ * @export
457
+ * @enum {string}
458
+ */
459
+ export declare enum ResourceTypeStatus {
460
+ Hidden = "hidden",
461
+ Active = "active"
462
+ }
463
+ /**
464
+ * Parameter object containing the update informations.
465
+ * @export
466
+ * @interface UpdateResourceObject
467
+ */
468
+ export interface UpdateResourceObject {
469
+ /**
470
+ * New reserved quota value to set for the selected resource in GiB.
471
+ * @type {number}
472
+ * @memberof UpdateResourceObject
473
+ */
474
+ reservedGiB?: number;
475
+ }
325
476
  /**
326
477
  *
327
478
  * @export
@@ -348,7 +499,7 @@ export interface VisibilityObject {
348
499
  export declare const ResourceApiAxiosParamCreator: (configuration?: Configuration) => {
349
500
  /**
350
501
  *
351
- * @summary This deletes the specified resource.
502
+ * @summary Deletes a resource.
352
503
  * @param {string} id A GUID as a string that identifies the resource.
353
504
  * @param {*} [options] Override http request option.
354
505
  * @throws {RequiredError}
@@ -356,30 +507,30 @@ export declare const ResourceApiAxiosParamCreator: (configuration?: Configuratio
356
507
  resourceDelete: (id: string, options?: any) => Promise<RequestArgs>;
357
508
  /**
358
509
  *
359
- * @summary This returns the resource for the specified id.
360
- * @param {string} id A GUID as a string that identifies the resource.
510
+ * @summary Returns the resource with a specified id.
511
+ * @param {string} id The resource id.
361
512
  * @param {*} [options] Override http request option.
362
513
  * @throws {RequiredError}
363
514
  */
364
515
  resourceGet: (id: string, options?: any) => Promise<RequestArgs>;
365
516
  /**
366
517
  *
367
- * @summary This returns a list of all resources the current user has access to.
518
+ * @summary Returns a list of all resources the current user has access to.
368
519
  * @param {*} [options] Override http request option.
369
520
  * @throws {RequiredError}
370
521
  */
371
522
  resourceIndex: (options?: any) => Promise<RequestArgs>;
372
523
  /**
373
524
  *
374
- * @summary This returns if the current user is the creator of the specified resource.
375
- * @param {string} id A GUID as a string that identifies the resource.
525
+ * @summary Returns whether or not the current user is creator of a specified resource.
526
+ * @param {string} id The resource id.
376
527
  * @param {*} [options] Override http request option.
377
528
  * @throws {RequiredError}
378
529
  */
379
530
  resourceIsUserResourceCreator: (id: string, options?: any) => Promise<RequestArgs>;
380
531
  /**
381
532
  *
382
- * @summary This returns the read only status of the given resource.
533
+ * @summary Sets a read only status of a given resource.
383
534
  * @param {string} id A GUID as a string that identifies the resource.
384
535
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
385
536
  * @param {*} [options] Override http request option.
@@ -388,7 +539,7 @@ export declare const ResourceApiAxiosParamCreator: (configuration?: Configuratio
388
539
  resourceSetResourceReadonly: (id: string, status?: boolean, options?: any) => Promise<RequestArgs>;
389
540
  /**
390
541
  *
391
- * @summary This stores the provided resource object for the specified project.
542
+ * @summary Stores the provided resource object in a specified project.
392
543
  * @param {string} projectId A GUID as a string that identifies the resource.
393
544
  * @param {ResourceObject} resourceObject Entry representing the user
394
545
  * @param {*} [options] Override http request option.
@@ -397,8 +548,8 @@ export declare const ResourceApiAxiosParamCreator: (configuration?: Configuratio
397
548
  resourceStoreToProject: (projectId: string, resourceObject: ResourceObject, options?: any) => Promise<RequestArgs>;
398
549
  /**
399
550
  *
400
- * @summary This returns if the current user is the creator of the specified resource.
401
- * @param {string} id A GUID as a string that identifies the resource.
551
+ * @summary Updates a resource.
552
+ * @param {string} id The resource id.
402
553
  * @param {ResourceObject} resourceObject Entry representing the user
403
554
  * @param {*} [options] Override http request option.
404
555
  * @throws {RequiredError}
@@ -412,7 +563,7 @@ export declare const ResourceApiAxiosParamCreator: (configuration?: Configuratio
412
563
  export declare const ResourceApiFp: (configuration?: Configuration) => {
413
564
  /**
414
565
  *
415
- * @summary This deletes the specified resource.
566
+ * @summary Deletes a resource.
416
567
  * @param {string} id A GUID as a string that identifies the resource.
417
568
  * @param {*} [options] Override http request option.
418
569
  * @throws {RequiredError}
@@ -420,30 +571,30 @@ export declare const ResourceApiFp: (configuration?: Configuration) => {
420
571
  resourceDelete(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
421
572
  /**
422
573
  *
423
- * @summary This returns the resource for the specified id.
424
- * @param {string} id A GUID as a string that identifies the resource.
574
+ * @summary Returns the resource with a specified id.
575
+ * @param {string} id The resource id.
425
576
  * @param {*} [options] Override http request option.
426
577
  * @throws {RequiredError}
427
578
  */
428
579
  resourceGet(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
429
580
  /**
430
581
  *
431
- * @summary This returns a list of all resources the current user has access to.
582
+ * @summary Returns a list of all resources the current user has access to.
432
583
  * @param {*} [options] Override http request option.
433
584
  * @throws {RequiredError}
434
585
  */
435
586
  resourceIndex(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
436
587
  /**
437
588
  *
438
- * @summary This returns if the current user is the creator of the specified resource.
439
- * @param {string} id A GUID as a string that identifies the resource.
589
+ * @summary Returns whether or not the current user is creator of a specified resource.
590
+ * @param {string} id The resource id.
440
591
  * @param {*} [options] Override http request option.
441
592
  * @throws {RequiredError}
442
593
  */
443
594
  resourceIsUserResourceCreator(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
444
595
  /**
445
596
  *
446
- * @summary This returns the read only status of the given resource.
597
+ * @summary Sets a read only status of a given resource.
447
598
  * @param {string} id A GUID as a string that identifies the resource.
448
599
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
449
600
  * @param {*} [options] Override http request option.
@@ -452,7 +603,7 @@ export declare const ResourceApiFp: (configuration?: Configuration) => {
452
603
  resourceSetResourceReadonly(id: string, status?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
453
604
  /**
454
605
  *
455
- * @summary This stores the provided resource object for the specified project.
606
+ * @summary Stores the provided resource object in a specified project.
456
607
  * @param {string} projectId A GUID as a string that identifies the resource.
457
608
  * @param {ResourceObject} resourceObject Entry representing the user
458
609
  * @param {*} [options] Override http request option.
@@ -461,8 +612,8 @@ export declare const ResourceApiFp: (configuration?: Configuration) => {
461
612
  resourceStoreToProject(projectId: string, resourceObject: ResourceObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
462
613
  /**
463
614
  *
464
- * @summary This returns if the current user is the creator of the specified resource.
465
- * @param {string} id A GUID as a string that identifies the resource.
615
+ * @summary Updates a resource.
616
+ * @param {string} id The resource id.
466
617
  * @param {ResourceObject} resourceObject Entry representing the user
467
618
  * @param {*} [options] Override http request option.
468
619
  * @throws {RequiredError}
@@ -476,7 +627,7 @@ export declare const ResourceApiFp: (configuration?: Configuration) => {
476
627
  export declare const ResourceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
477
628
  /**
478
629
  *
479
- * @summary This deletes the specified resource.
630
+ * @summary Deletes a resource.
480
631
  * @param {string} id A GUID as a string that identifies the resource.
481
632
  * @param {*} [options] Override http request option.
482
633
  * @throws {RequiredError}
@@ -484,30 +635,30 @@ export declare const ResourceApiFactory: (configuration?: Configuration, basePat
484
635
  resourceDelete(id: string, options?: any): AxiosPromise<any>;
485
636
  /**
486
637
  *
487
- * @summary This returns the resource for the specified id.
488
- * @param {string} id A GUID as a string that identifies the resource.
638
+ * @summary Returns the resource with a specified id.
639
+ * @param {string} id The resource id.
489
640
  * @param {*} [options] Override http request option.
490
641
  * @throws {RequiredError}
491
642
  */
492
643
  resourceGet(id: string, options?: any): AxiosPromise<any>;
493
644
  /**
494
645
  *
495
- * @summary This returns a list of all resources the current user has access to.
646
+ * @summary Returns a list of all resources the current user has access to.
496
647
  * @param {*} [options] Override http request option.
497
648
  * @throws {RequiredError}
498
649
  */
499
650
  resourceIndex(options?: any): AxiosPromise<any>;
500
651
  /**
501
652
  *
502
- * @summary This returns if the current user is the creator of the specified resource.
503
- * @param {string} id A GUID as a string that identifies the resource.
653
+ * @summary Returns whether or not the current user is creator of a specified resource.
654
+ * @param {string} id The resource id.
504
655
  * @param {*} [options] Override http request option.
505
656
  * @throws {RequiredError}
506
657
  */
507
658
  resourceIsUserResourceCreator(id: string, options?: any): AxiosPromise<any>;
508
659
  /**
509
660
  *
510
- * @summary This returns the read only status of the given resource.
661
+ * @summary Sets a read only status of a given resource.
511
662
  * @param {string} id A GUID as a string that identifies the resource.
512
663
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
513
664
  * @param {*} [options] Override http request option.
@@ -516,7 +667,7 @@ export declare const ResourceApiFactory: (configuration?: Configuration, basePat
516
667
  resourceSetResourceReadonly(id: string, status?: boolean, options?: any): AxiosPromise<any>;
517
668
  /**
518
669
  *
519
- * @summary This stores the provided resource object for the specified project.
670
+ * @summary Stores the provided resource object in a specified project.
520
671
  * @param {string} projectId A GUID as a string that identifies the resource.
521
672
  * @param {ResourceObject} resourceObject Entry representing the user
522
673
  * @param {*} [options] Override http request option.
@@ -525,8 +676,8 @@ export declare const ResourceApiFactory: (configuration?: Configuration, basePat
525
676
  resourceStoreToProject(projectId: string, resourceObject: ResourceObject, options?: any): AxiosPromise<any>;
526
677
  /**
527
678
  *
528
- * @summary This returns if the current user is the creator of the specified resource.
529
- * @param {string} id A GUID as a string that identifies the resource.
679
+ * @summary Updates a resource.
680
+ * @param {string} id The resource id.
530
681
  * @param {ResourceObject} resourceObject Entry representing the user
531
682
  * @param {*} [options] Override http request option.
532
683
  * @throws {RequiredError}
@@ -542,7 +693,7 @@ export declare const ResourceApiFactory: (configuration?: Configuration, basePat
542
693
  export declare class ResourceApi extends BaseAPI {
543
694
  /**
544
695
  *
545
- * @summary This deletes the specified resource.
696
+ * @summary Deletes a resource.
546
697
  * @param {string} id A GUID as a string that identifies the resource.
547
698
  * @param {*} [options] Override http request option.
548
699
  * @throws {RequiredError}
@@ -551,8 +702,8 @@ export declare class ResourceApi extends BaseAPI {
551
702
  resourceDelete(id: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
552
703
  /**
553
704
  *
554
- * @summary This returns the resource for the specified id.
555
- * @param {string} id A GUID as a string that identifies the resource.
705
+ * @summary Returns the resource with a specified id.
706
+ * @param {string} id The resource id.
556
707
  * @param {*} [options] Override http request option.
557
708
  * @throws {RequiredError}
558
709
  * @memberof ResourceApi
@@ -560,7 +711,7 @@ export declare class ResourceApi extends BaseAPI {
560
711
  resourceGet(id: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
561
712
  /**
562
713
  *
563
- * @summary This returns a list of all resources the current user has access to.
714
+ * @summary Returns a list of all resources the current user has access to.
564
715
  * @param {*} [options] Override http request option.
565
716
  * @throws {RequiredError}
566
717
  * @memberof ResourceApi
@@ -568,8 +719,8 @@ export declare class ResourceApi extends BaseAPI {
568
719
  resourceIndex(options?: any): Promise<import("axios").AxiosResponse<any>>;
569
720
  /**
570
721
  *
571
- * @summary This returns if the current user is the creator of the specified resource.
572
- * @param {string} id A GUID as a string that identifies the resource.
722
+ * @summary Returns whether or not the current user is creator of a specified resource.
723
+ * @param {string} id The resource id.
573
724
  * @param {*} [options] Override http request option.
574
725
  * @throws {RequiredError}
575
726
  * @memberof ResourceApi
@@ -577,7 +728,7 @@ export declare class ResourceApi extends BaseAPI {
577
728
  resourceIsUserResourceCreator(id: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
578
729
  /**
579
730
  *
580
- * @summary This returns the read only status of the given resource.
731
+ * @summary Sets a read only status of a given resource.
581
732
  * @param {string} id A GUID as a string that identifies the resource.
582
733
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
583
734
  * @param {*} [options] Override http request option.
@@ -587,7 +738,7 @@ export declare class ResourceApi extends BaseAPI {
587
738
  resourceSetResourceReadonly(id: string, status?: boolean, options?: any): Promise<import("axios").AxiosResponse<any>>;
588
739
  /**
589
740
  *
590
- * @summary This stores the provided resource object for the specified project.
741
+ * @summary Stores the provided resource object in a specified project.
591
742
  * @param {string} projectId A GUID as a string that identifies the resource.
592
743
  * @param {ResourceObject} resourceObject Entry representing the user
593
744
  * @param {*} [options] Override http request option.
@@ -597,8 +748,8 @@ export declare class ResourceApi extends BaseAPI {
597
748
  resourceStoreToProject(projectId: string, resourceObject: ResourceObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
598
749
  /**
599
750
  *
600
- * @summary This returns if the current user is the creator of the specified resource.
601
- * @param {string} id A GUID as a string that identifies the resource.
751
+ * @summary Updates a resource.
752
+ * @param {string} id The resource id.
602
753
  * @param {ResourceObject} resourceObject Entry representing the user
603
754
  * @param {*} [options] Override http request option.
604
755
  * @throws {RequiredError}
@@ -606,6 +757,102 @@ export declare class ResourceApi extends BaseAPI {
606
757
  */
607
758
  resourceUpdate(id: string, resourceObject: ResourceObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
608
759
  }
760
+ /**
761
+ * ResourceQuotaApi - axios parameter creator
762
+ * @export
763
+ */
764
+ export declare const ResourceQuotaApiAxiosParamCreator: (configuration?: Configuration) => {
765
+ /**
766
+ *
767
+ * @summary Retrieves the resource quota for an individual resource.
768
+ * @param {string} id Id of the resource.
769
+ * @param {*} [options] Override http request option.
770
+ * @throws {RequiredError}
771
+ */
772
+ resourceQuotaGetResourceQuota: (id: string, options?: any) => Promise<RequestArgs>;
773
+ /**
774
+ *
775
+ * @summary Updates the resource quota for an individual resource.
776
+ * @param {string} id Id of the resource.
777
+ * @param {UpdateResourceObject} updateResourceObject Contains the resource id and the new quota.
778
+ * @param {*} [options] Override http request option.
779
+ * @throws {RequiredError}
780
+ */
781
+ resourceQuotaUpdateResourceQuota: (id: string, updateResourceObject: UpdateResourceObject, options?: any) => Promise<RequestArgs>;
782
+ };
783
+ /**
784
+ * ResourceQuotaApi - functional programming interface
785
+ * @export
786
+ */
787
+ export declare const ResourceQuotaApiFp: (configuration?: Configuration) => {
788
+ /**
789
+ *
790
+ * @summary Retrieves the resource quota for an individual resource.
791
+ * @param {string} id Id of the resource.
792
+ * @param {*} [options] Override http request option.
793
+ * @throws {RequiredError}
794
+ */
795
+ resourceQuotaGetResourceQuota(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResourceQuotaReturnObject>>;
796
+ /**
797
+ *
798
+ * @summary Updates the resource quota for an individual resource.
799
+ * @param {string} id Id of the resource.
800
+ * @param {UpdateResourceObject} updateResourceObject Contains the resource id and the new quota.
801
+ * @param {*} [options] Override http request option.
802
+ * @throws {RequiredError}
803
+ */
804
+ resourceQuotaUpdateResourceQuota(id: string, updateResourceObject: UpdateResourceObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
805
+ };
806
+ /**
807
+ * ResourceQuotaApi - factory interface
808
+ * @export
809
+ */
810
+ export declare const ResourceQuotaApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
811
+ /**
812
+ *
813
+ * @summary Retrieves the resource quota for an individual resource.
814
+ * @param {string} id Id of the resource.
815
+ * @param {*} [options] Override http request option.
816
+ * @throws {RequiredError}
817
+ */
818
+ resourceQuotaGetResourceQuota(id: string, options?: any): AxiosPromise<ResourceQuotaReturnObject>;
819
+ /**
820
+ *
821
+ * @summary Updates the resource quota for an individual resource.
822
+ * @param {string} id Id of the resource.
823
+ * @param {UpdateResourceObject} updateResourceObject Contains the resource id and the new quota.
824
+ * @param {*} [options] Override http request option.
825
+ * @throws {RequiredError}
826
+ */
827
+ resourceQuotaUpdateResourceQuota(id: string, updateResourceObject: UpdateResourceObject, options?: any): AxiosPromise<any>;
828
+ };
829
+ /**
830
+ * ResourceQuotaApi - object-oriented interface
831
+ * @export
832
+ * @class ResourceQuotaApi
833
+ * @extends {BaseAPI}
834
+ */
835
+ export declare class ResourceQuotaApi extends BaseAPI {
836
+ /**
837
+ *
838
+ * @summary Retrieves the resource quota for an individual resource.
839
+ * @param {string} id Id of the resource.
840
+ * @param {*} [options] Override http request option.
841
+ * @throws {RequiredError}
842
+ * @memberof ResourceQuotaApi
843
+ */
844
+ resourceQuotaGetResourceQuota(id: string, options?: any): Promise<import("axios").AxiosResponse<ResourceQuotaReturnObject>>;
845
+ /**
846
+ *
847
+ * @summary Updates the resource quota for an individual resource.
848
+ * @param {string} id Id of the resource.
849
+ * @param {UpdateResourceObject} updateResourceObject Contains the resource id and the new quota.
850
+ * @param {*} [options] Override http request option.
851
+ * @throws {RequiredError}
852
+ * @memberof ResourceQuotaApi
853
+ */
854
+ resourceQuotaUpdateResourceQuota(id: string, updateResourceObject: UpdateResourceObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
855
+ }
609
856
  /**
610
857
  * ResourceTypeApi - axios parameter creator
611
858
  * @export
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Resources
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.7.0
5
+ * The version of the OpenAPI document: 2.10.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Resources
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.7.0
5
+ * The version of the OpenAPI document: 2.10.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Resources
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.7.0
5
+ * The version of the OpenAPI document: 2.10.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).