@coscine/api-client 2.2.0 → 2.5.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 (108) hide show
  1. package/dist/index.js +1064 -1588
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.umd.js +1066 -1590
  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.Pid/api.js +204 -0
  18. package/dist/lib/Coscine.Api.Pid/api.js.map +1 -0
  19. package/dist/lib/{Coscine.Api.Quota → Coscine.Api.Pid}/base.js +3 -3
  20. package/dist/lib/Coscine.Api.Pid/base.js.map +1 -0
  21. package/dist/lib/{Coscine.Api.Quota → Coscine.Api.Pid}/common.js +2 -2
  22. package/dist/lib/Coscine.Api.Pid/common.js.map +1 -0
  23. package/dist/lib/{Coscine.Api.Quota → Coscine.Api.Pid}/configuration.js +2 -2
  24. package/dist/lib/Coscine.Api.Pid/configuration.js.map +1 -0
  25. package/dist/lib/{Coscine.Api.Quota → Coscine.Api.Pid}/index.js +2 -2
  26. package/dist/lib/Coscine.Api.Pid/index.js.map +1 -0
  27. package/dist/lib/Coscine.Api.Project/api.js +350 -537
  28. package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
  29. package/dist/lib/Coscine.Api.Project/base.js +1 -1
  30. package/dist/lib/Coscine.Api.Project/common.js +1 -1
  31. package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
  32. package/dist/lib/Coscine.Api.Project/index.js +1 -1
  33. package/dist/lib/Coscine.Api.Resources/api.js +232 -42
  34. package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
  35. package/dist/lib/Coscine.Api.Resources/base.js +1 -1
  36. package/dist/lib/Coscine.Api.Resources/common.js +1 -1
  37. package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
  38. package/dist/lib/Coscine.Api.Resources/index.js +1 -1
  39. package/dist/lib/Coscine.Api.Search/api.js +41 -30
  40. package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
  41. package/dist/lib/Coscine.Api.Search/base.js +2 -2
  42. package/dist/lib/Coscine.Api.Search/common.js +1 -1
  43. package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
  44. package/dist/lib/Coscine.Api.Search/index.js +1 -1
  45. package/dist/lib/Coscine.Api.Tree/api.js +1 -1
  46. package/dist/lib/Coscine.Api.Tree/base.js +2 -2
  47. package/dist/lib/Coscine.Api.Tree/common.js +1 -1
  48. package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
  49. package/dist/lib/Coscine.Api.Tree/index.js +1 -1
  50. package/dist/lib/Coscine.Api.User/api.js +1 -1
  51. package/dist/lib/Coscine.Api.User/base.js +1 -1
  52. package/dist/lib/Coscine.Api.User/common.js +1 -1
  53. package/dist/lib/Coscine.Api.User/configuration.js +1 -1
  54. package/dist/lib/Coscine.Api.User/index.js +1 -1
  55. package/dist/lib/apis.js +20 -20
  56. package/dist/lib/apis.js.map +1 -1
  57. package/dist/lib/index.js +4 -4
  58. package/dist/lib/index.js.map +1 -1
  59. package/dist/types/Coscine.Api.Admin/api.d.ts +100 -66
  60. package/dist/types/Coscine.Api.Admin/base.d.ts +1 -1
  61. package/dist/types/Coscine.Api.Admin/common.d.ts +1 -1
  62. package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
  63. package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
  64. package/dist/types/Coscine.Api.Blob/api.d.ts +1 -34
  65. package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
  66. package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
  67. package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
  68. package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
  69. package/dist/types/Coscine.Api.Pid/api.d.ts +149 -0
  70. package/dist/types/{Coscine.Api.Quota → Coscine.Api.Pid}/base.d.ts +2 -2
  71. package/dist/types/{Coscine.Api.Quota → Coscine.Api.Pid}/common.d.ts +2 -2
  72. package/dist/types/{Coscine.Api.Quota → Coscine.Api.Pid}/configuration.d.ts +2 -2
  73. package/dist/types/{Coscine.Api.Quota → Coscine.Api.Pid}/index.d.ts +2 -2
  74. package/dist/types/Coscine.Api.Project/api.d.ts +312 -328
  75. package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
  76. package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
  77. package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
  78. package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
  79. package/dist/types/Coscine.Api.Resources/api.d.ts +237 -41
  80. package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
  81. package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
  82. package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
  83. package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
  84. package/dist/types/Coscine.Api.Search/api.d.ts +53 -30
  85. package/dist/types/Coscine.Api.Search/base.d.ts +1 -1
  86. package/dist/types/Coscine.Api.Search/common.d.ts +1 -1
  87. package/dist/types/Coscine.Api.Search/configuration.d.ts +1 -1
  88. package/dist/types/Coscine.Api.Search/index.d.ts +1 -1
  89. package/dist/types/Coscine.Api.Tree/api.d.ts +1 -1
  90. package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
  91. package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
  92. package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
  93. package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
  94. package/dist/types/Coscine.Api.User/api.d.ts +1 -1
  95. package/dist/types/Coscine.Api.User/base.d.ts +1 -1
  96. package/dist/types/Coscine.Api.User/common.d.ts +1 -1
  97. package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
  98. package/dist/types/Coscine.Api.User/index.d.ts +1 -1
  99. package/dist/types/apis.d.ts +17 -26
  100. package/dist/types/index.d.ts +34 -52
  101. package/package.json +2 -2
  102. package/dist/lib/Coscine.Api.Quota/api.js +0 -283
  103. package/dist/lib/Coscine.Api.Quota/api.js.map +0 -1
  104. package/dist/lib/Coscine.Api.Quota/base.js.map +0 -1
  105. package/dist/lib/Coscine.Api.Quota/common.js.map +0 -1
  106. package/dist/lib/Coscine.Api.Quota/configuration.js.map +0 -1
  107. package/dist/lib/Coscine.Api.Quota/index.js.map +0 -1
  108. package/dist/types/Coscine.Api.Quota/api.d.ts +0 -197
@@ -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).
@@ -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).
@@ -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).
@@ -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).
@@ -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.8.3
5
+ * The version of the OpenAPI document: 3.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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
@@ -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
@@ -278,18 +347,36 @@ export interface ResourceTypeInformation {
278
347
  * @memberof ResourceTypeInformation
279
348
  */
280
349
  canRead?: boolean;
350
+ /**
351
+ *
352
+ * @type {boolean}
353
+ * @memberof ResourceTypeInformation
354
+ */
355
+ canSetResourceReadonly?: boolean;
281
356
  /**
282
357
  *
283
358
  * @type {boolean}
284
359
  * @memberof ResourceTypeInformation
285
360
  */
286
361
  canUpdate?: boolean;
362
+ /**
363
+ *
364
+ * @type {boolean}
365
+ * @memberof ResourceTypeInformation
366
+ */
367
+ canUpdateResource?: boolean;
287
368
  /**
288
369
  *
289
370
  * @type {boolean}
290
371
  * @memberof ResourceTypeInformation
291
372
  */
292
373
  canDelete?: boolean;
374
+ /**
375
+ *
376
+ * @type {boolean}
377
+ * @memberof ResourceTypeInformation
378
+ */
379
+ canDeleteResource?: boolean;
293
380
  /**
294
381
  *
295
382
  * @type {boolean}
@@ -373,6 +460,19 @@ export declare enum ResourceTypeStatus {
373
460
  Hidden = "hidden",
374
461
  Active = "active"
375
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
+ }
376
476
  /**
377
477
  *
378
478
  * @export
@@ -399,7 +499,7 @@ export interface VisibilityObject {
399
499
  export declare const ResourceApiAxiosParamCreator: (configuration?: Configuration) => {
400
500
  /**
401
501
  *
402
- * @summary This deletes the specified resource.
502
+ * @summary Deletes a resource.
403
503
  * @param {string} id A GUID as a string that identifies the resource.
404
504
  * @param {*} [options] Override http request option.
405
505
  * @throws {RequiredError}
@@ -407,30 +507,30 @@ export declare const ResourceApiAxiosParamCreator: (configuration?: Configuratio
407
507
  resourceDelete: (id: string, options?: any) => Promise<RequestArgs>;
408
508
  /**
409
509
  *
410
- * @summary This returns the resource for the specified id.
411
- * @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.
412
512
  * @param {*} [options] Override http request option.
413
513
  * @throws {RequiredError}
414
514
  */
415
515
  resourceGet: (id: string, options?: any) => Promise<RequestArgs>;
416
516
  /**
417
517
  *
418
- * @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.
419
519
  * @param {*} [options] Override http request option.
420
520
  * @throws {RequiredError}
421
521
  */
422
522
  resourceIndex: (options?: any) => Promise<RequestArgs>;
423
523
  /**
424
524
  *
425
- * @summary This returns if the current user is the creator of the specified resource.
426
- * @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.
427
527
  * @param {*} [options] Override http request option.
428
528
  * @throws {RequiredError}
429
529
  */
430
530
  resourceIsUserResourceCreator: (id: string, options?: any) => Promise<RequestArgs>;
431
531
  /**
432
532
  *
433
- * @summary This returns the read only status of the given resource.
533
+ * @summary Sets a read only status of a given resource.
434
534
  * @param {string} id A GUID as a string that identifies the resource.
435
535
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
436
536
  * @param {*} [options] Override http request option.
@@ -439,7 +539,7 @@ export declare const ResourceApiAxiosParamCreator: (configuration?: Configuratio
439
539
  resourceSetResourceReadonly: (id: string, status?: boolean, options?: any) => Promise<RequestArgs>;
440
540
  /**
441
541
  *
442
- * @summary This stores the provided resource object for the specified project.
542
+ * @summary Stores the provided resource object in a specified project.
443
543
  * @param {string} projectId A GUID as a string that identifies the resource.
444
544
  * @param {ResourceObject} resourceObject Entry representing the user
445
545
  * @param {*} [options] Override http request option.
@@ -448,8 +548,8 @@ export declare const ResourceApiAxiosParamCreator: (configuration?: Configuratio
448
548
  resourceStoreToProject: (projectId: string, resourceObject: ResourceObject, options?: any) => Promise<RequestArgs>;
449
549
  /**
450
550
  *
451
- * @summary This returns if the current user is the creator of the specified resource.
452
- * @param {string} id A GUID as a string that identifies the resource.
551
+ * @summary Updates a resource.
552
+ * @param {string} id The resource id.
453
553
  * @param {ResourceObject} resourceObject Entry representing the user
454
554
  * @param {*} [options] Override http request option.
455
555
  * @throws {RequiredError}
@@ -463,7 +563,7 @@ export declare const ResourceApiAxiosParamCreator: (configuration?: Configuratio
463
563
  export declare const ResourceApiFp: (configuration?: Configuration) => {
464
564
  /**
465
565
  *
466
- * @summary This deletes the specified resource.
566
+ * @summary Deletes a resource.
467
567
  * @param {string} id A GUID as a string that identifies the resource.
468
568
  * @param {*} [options] Override http request option.
469
569
  * @throws {RequiredError}
@@ -471,30 +571,30 @@ export declare const ResourceApiFp: (configuration?: Configuration) => {
471
571
  resourceDelete(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
472
572
  /**
473
573
  *
474
- * @summary This returns the resource for the specified id.
475
- * @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.
476
576
  * @param {*} [options] Override http request option.
477
577
  * @throws {RequiredError}
478
578
  */
479
579
  resourceGet(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
480
580
  /**
481
581
  *
482
- * @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.
483
583
  * @param {*} [options] Override http request option.
484
584
  * @throws {RequiredError}
485
585
  */
486
586
  resourceIndex(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
487
587
  /**
488
588
  *
489
- * @summary This returns if the current user is the creator of the specified resource.
490
- * @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.
491
591
  * @param {*} [options] Override http request option.
492
592
  * @throws {RequiredError}
493
593
  */
494
594
  resourceIsUserResourceCreator(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
495
595
  /**
496
596
  *
497
- * @summary This returns the read only status of the given resource.
597
+ * @summary Sets a read only status of a given resource.
498
598
  * @param {string} id A GUID as a string that identifies the resource.
499
599
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
500
600
  * @param {*} [options] Override http request option.
@@ -503,7 +603,7 @@ export declare const ResourceApiFp: (configuration?: Configuration) => {
503
603
  resourceSetResourceReadonly(id: string, status?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
504
604
  /**
505
605
  *
506
- * @summary This stores the provided resource object for the specified project.
606
+ * @summary Stores the provided resource object in a specified project.
507
607
  * @param {string} projectId A GUID as a string that identifies the resource.
508
608
  * @param {ResourceObject} resourceObject Entry representing the user
509
609
  * @param {*} [options] Override http request option.
@@ -512,8 +612,8 @@ export declare const ResourceApiFp: (configuration?: Configuration) => {
512
612
  resourceStoreToProject(projectId: string, resourceObject: ResourceObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
513
613
  /**
514
614
  *
515
- * @summary This returns if the current user is the creator of the specified resource.
516
- * @param {string} id A GUID as a string that identifies the resource.
615
+ * @summary Updates a resource.
616
+ * @param {string} id The resource id.
517
617
  * @param {ResourceObject} resourceObject Entry representing the user
518
618
  * @param {*} [options] Override http request option.
519
619
  * @throws {RequiredError}
@@ -527,7 +627,7 @@ export declare const ResourceApiFp: (configuration?: Configuration) => {
527
627
  export declare const ResourceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
528
628
  /**
529
629
  *
530
- * @summary This deletes the specified resource.
630
+ * @summary Deletes a resource.
531
631
  * @param {string} id A GUID as a string that identifies the resource.
532
632
  * @param {*} [options] Override http request option.
533
633
  * @throws {RequiredError}
@@ -535,30 +635,30 @@ export declare const ResourceApiFactory: (configuration?: Configuration, basePat
535
635
  resourceDelete(id: string, options?: any): AxiosPromise<any>;
536
636
  /**
537
637
  *
538
- * @summary This returns the resource for the specified id.
539
- * @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.
540
640
  * @param {*} [options] Override http request option.
541
641
  * @throws {RequiredError}
542
642
  */
543
643
  resourceGet(id: string, options?: any): AxiosPromise<any>;
544
644
  /**
545
645
  *
546
- * @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.
547
647
  * @param {*} [options] Override http request option.
548
648
  * @throws {RequiredError}
549
649
  */
550
650
  resourceIndex(options?: any): AxiosPromise<any>;
551
651
  /**
552
652
  *
553
- * @summary This returns if the current user is the creator of the specified resource.
554
- * @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.
555
655
  * @param {*} [options] Override http request option.
556
656
  * @throws {RequiredError}
557
657
  */
558
658
  resourceIsUserResourceCreator(id: string, options?: any): AxiosPromise<any>;
559
659
  /**
560
660
  *
561
- * @summary This returns the read only status of the given resource.
661
+ * @summary Sets a read only status of a given resource.
562
662
  * @param {string} id A GUID as a string that identifies the resource.
563
663
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
564
664
  * @param {*} [options] Override http request option.
@@ -567,7 +667,7 @@ export declare const ResourceApiFactory: (configuration?: Configuration, basePat
567
667
  resourceSetResourceReadonly(id: string, status?: boolean, options?: any): AxiosPromise<any>;
568
668
  /**
569
669
  *
570
- * @summary This stores the provided resource object for the specified project.
670
+ * @summary Stores the provided resource object in a specified project.
571
671
  * @param {string} projectId A GUID as a string that identifies the resource.
572
672
  * @param {ResourceObject} resourceObject Entry representing the user
573
673
  * @param {*} [options] Override http request option.
@@ -576,8 +676,8 @@ export declare const ResourceApiFactory: (configuration?: Configuration, basePat
576
676
  resourceStoreToProject(projectId: string, resourceObject: ResourceObject, options?: any): AxiosPromise<any>;
577
677
  /**
578
678
  *
579
- * @summary This returns if the current user is the creator of the specified resource.
580
- * @param {string} id A GUID as a string that identifies the resource.
679
+ * @summary Updates a resource.
680
+ * @param {string} id The resource id.
581
681
  * @param {ResourceObject} resourceObject Entry representing the user
582
682
  * @param {*} [options] Override http request option.
583
683
  * @throws {RequiredError}
@@ -593,7 +693,7 @@ export declare const ResourceApiFactory: (configuration?: Configuration, basePat
593
693
  export declare class ResourceApi extends BaseAPI {
594
694
  /**
595
695
  *
596
- * @summary This deletes the specified resource.
696
+ * @summary Deletes a resource.
597
697
  * @param {string} id A GUID as a string that identifies the resource.
598
698
  * @param {*} [options] Override http request option.
599
699
  * @throws {RequiredError}
@@ -602,8 +702,8 @@ export declare class ResourceApi extends BaseAPI {
602
702
  resourceDelete(id: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
603
703
  /**
604
704
  *
605
- * @summary This returns the resource for the specified id.
606
- * @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.
607
707
  * @param {*} [options] Override http request option.
608
708
  * @throws {RequiredError}
609
709
  * @memberof ResourceApi
@@ -611,7 +711,7 @@ export declare class ResourceApi extends BaseAPI {
611
711
  resourceGet(id: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
612
712
  /**
613
713
  *
614
- * @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.
615
715
  * @param {*} [options] Override http request option.
616
716
  * @throws {RequiredError}
617
717
  * @memberof ResourceApi
@@ -619,8 +719,8 @@ export declare class ResourceApi extends BaseAPI {
619
719
  resourceIndex(options?: any): Promise<import("axios").AxiosResponse<any>>;
620
720
  /**
621
721
  *
622
- * @summary This returns if the current user is the creator of the specified resource.
623
- * @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.
624
724
  * @param {*} [options] Override http request option.
625
725
  * @throws {RequiredError}
626
726
  * @memberof ResourceApi
@@ -628,7 +728,7 @@ export declare class ResourceApi extends BaseAPI {
628
728
  resourceIsUserResourceCreator(id: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
629
729
  /**
630
730
  *
631
- * @summary This returns the read only status of the given resource.
731
+ * @summary Sets a read only status of a given resource.
632
732
  * @param {string} id A GUID as a string that identifies the resource.
633
733
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
634
734
  * @param {*} [options] Override http request option.
@@ -638,7 +738,7 @@ export declare class ResourceApi extends BaseAPI {
638
738
  resourceSetResourceReadonly(id: string, status?: boolean, options?: any): Promise<import("axios").AxiosResponse<any>>;
639
739
  /**
640
740
  *
641
- * @summary This stores the provided resource object for the specified project.
741
+ * @summary Stores the provided resource object in a specified project.
642
742
  * @param {string} projectId A GUID as a string that identifies the resource.
643
743
  * @param {ResourceObject} resourceObject Entry representing the user
644
744
  * @param {*} [options] Override http request option.
@@ -648,8 +748,8 @@ export declare class ResourceApi extends BaseAPI {
648
748
  resourceStoreToProject(projectId: string, resourceObject: ResourceObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
649
749
  /**
650
750
  *
651
- * @summary This returns if the current user is the creator of the specified resource.
652
- * @param {string} id A GUID as a string that identifies the resource.
751
+ * @summary Updates a resource.
752
+ * @param {string} id The resource id.
653
753
  * @param {ResourceObject} resourceObject Entry representing the user
654
754
  * @param {*} [options] Override http request option.
655
755
  * @throws {RequiredError}
@@ -657,6 +757,102 @@ export declare class ResourceApi extends BaseAPI {
657
757
  */
658
758
  resourceUpdate(id: string, resourceObject: ResourceObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
659
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
+ }
660
856
  /**
661
857
  * ResourceTypeApi - axios parameter creator
662
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.8.3
5
+ * The version of the OpenAPI document: 3.0.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.8.3
5
+ * The version of the OpenAPI document: 3.0.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.8.3
5
+ * The version of the OpenAPI document: 3.0.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.8.3
5
+ * The version of the OpenAPI document: 3.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).