@coscine/api-client 2.9.1 → 2.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/dist/index.js +349 -382
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.umd.js +349 -382
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/lib/Coscine.Api.ActivatedFeatures/api.js +470 -0
  6. package/dist/lib/Coscine.Api.ActivatedFeatures/api.js.map +1 -0
  7. package/dist/lib/Coscine.Api.ActivatedFeatures/base.js +65 -0
  8. package/dist/lib/Coscine.Api.ActivatedFeatures/base.js.map +1 -0
  9. package/dist/lib/Coscine.Api.ActivatedFeatures/common.js +153 -0
  10. package/dist/lib/Coscine.Api.ActivatedFeatures/common.js.map +1 -0
  11. package/dist/lib/Coscine.Api.ActivatedFeatures/configuration.js +43 -0
  12. package/dist/lib/Coscine.Api.ActivatedFeatures/configuration.js.map +1 -0
  13. package/dist/lib/Coscine.Api.ActivatedFeatures/index.js +32 -0
  14. package/dist/lib/Coscine.Api.ActivatedFeatures/index.js.map +1 -0
  15. package/dist/lib/Coscine.Api.Admin/api.js +12 -11
  16. package/dist/lib/Coscine.Api.Admin/api.js.map +1 -1
  17. package/dist/lib/Coscine.Api.Admin/base.js +3 -1
  18. package/dist/lib/Coscine.Api.Admin/base.js.map +1 -1
  19. package/dist/lib/Coscine.Api.Admin/common.js +14 -22
  20. package/dist/lib/Coscine.Api.Admin/common.js.map +1 -1
  21. package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
  22. package/dist/lib/Coscine.Api.Admin/index.js +1 -1
  23. package/dist/lib/Coscine.Api.Blob/api.js +8 -8
  24. package/dist/lib/Coscine.Api.Blob/api.js.map +1 -1
  25. package/dist/lib/Coscine.Api.Blob/base.js +3 -1
  26. package/dist/lib/Coscine.Api.Blob/base.js.map +1 -1
  27. package/dist/lib/Coscine.Api.Blob/common.js +14 -22
  28. package/dist/lib/Coscine.Api.Blob/common.js.map +1 -1
  29. package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
  30. package/dist/lib/Coscine.Api.Blob/index.js +1 -1
  31. package/dist/lib/Coscine.Api.Metadata/api.js +6 -6
  32. package/dist/lib/Coscine.Api.Metadata/api.js.map +1 -1
  33. package/dist/lib/Coscine.Api.Metadata/base.js +2 -0
  34. package/dist/lib/Coscine.Api.Metadata/base.js.map +1 -1
  35. package/dist/lib/Coscine.Api.Metadata/common.js +13 -21
  36. package/dist/lib/Coscine.Api.Metadata/common.js.map +1 -1
  37. package/dist/lib/Coscine.Api.Notices/api.js +2 -2
  38. package/dist/lib/Coscine.Api.Notices/api.js.map +1 -1
  39. package/dist/lib/Coscine.Api.Notices/base.js +2 -0
  40. package/dist/lib/Coscine.Api.Notices/base.js.map +1 -1
  41. package/dist/lib/Coscine.Api.Notices/common.js +13 -21
  42. package/dist/lib/Coscine.Api.Notices/common.js.map +1 -1
  43. package/dist/lib/Coscine.Api.Organization/api.js +6 -6
  44. package/dist/lib/Coscine.Api.Organization/api.js.map +1 -1
  45. package/dist/lib/Coscine.Api.Organization/base.js +4 -2
  46. package/dist/lib/Coscine.Api.Organization/base.js.map +1 -1
  47. package/dist/lib/Coscine.Api.Organization/common.js +14 -22
  48. package/dist/lib/Coscine.Api.Organization/common.js.map +1 -1
  49. package/dist/lib/Coscine.Api.Organization/configuration.js +1 -1
  50. package/dist/lib/Coscine.Api.Organization/index.js +1 -1
  51. package/dist/lib/Coscine.Api.Pid/api.js +3 -3
  52. package/dist/lib/Coscine.Api.Pid/api.js.map +1 -1
  53. package/dist/lib/Coscine.Api.Pid/base.js +3 -1
  54. package/dist/lib/Coscine.Api.Pid/base.js.map +1 -1
  55. package/dist/lib/Coscine.Api.Pid/common.js +14 -22
  56. package/dist/lib/Coscine.Api.Pid/common.js.map +1 -1
  57. package/dist/lib/Coscine.Api.Pid/configuration.js +1 -1
  58. package/dist/lib/Coscine.Api.Pid/index.js +1 -1
  59. package/dist/lib/Coscine.Api.Project/api.js +41 -44
  60. package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
  61. package/dist/lib/Coscine.Api.Project/base.js +3 -1
  62. package/dist/lib/Coscine.Api.Project/base.js.map +1 -1
  63. package/dist/lib/Coscine.Api.Project/common.js +14 -22
  64. package/dist/lib/Coscine.Api.Project/common.js.map +1 -1
  65. package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
  66. package/dist/lib/Coscine.Api.Project/index.js +1 -1
  67. package/dist/lib/Coscine.Api.Resources/api.js +44 -41
  68. package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
  69. package/dist/lib/Coscine.Api.Resources/base.js +3 -1
  70. package/dist/lib/Coscine.Api.Resources/base.js.map +1 -1
  71. package/dist/lib/Coscine.Api.Resources/common.js +14 -22
  72. package/dist/lib/Coscine.Api.Resources/common.js.map +1 -1
  73. package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
  74. package/dist/lib/Coscine.Api.Resources/index.js +1 -1
  75. package/dist/lib/Coscine.Api.STS/api.js +9 -9
  76. package/dist/lib/Coscine.Api.STS/api.js.map +1 -1
  77. package/dist/lib/Coscine.Api.STS/base.js +2 -0
  78. package/dist/lib/Coscine.Api.STS/base.js.map +1 -1
  79. package/dist/lib/Coscine.Api.STS/common.js +13 -21
  80. package/dist/lib/Coscine.Api.STS/common.js.map +1 -1
  81. package/dist/lib/Coscine.Api.Search/api.js +8 -7
  82. package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
  83. package/dist/lib/Coscine.Api.Search/base.js +4 -2
  84. package/dist/lib/Coscine.Api.Search/base.js.map +1 -1
  85. package/dist/lib/Coscine.Api.Search/common.js +14 -22
  86. package/dist/lib/Coscine.Api.Search/common.js.map +1 -1
  87. package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
  88. package/dist/lib/Coscine.Api.Search/index.js +1 -1
  89. package/dist/lib/Coscine.Api.Token/api.js +5 -5
  90. package/dist/lib/Coscine.Api.Token/api.js.map +1 -1
  91. package/dist/lib/Coscine.Api.Token/base.js +2 -0
  92. package/dist/lib/Coscine.Api.Token/base.js.map +1 -1
  93. package/dist/lib/Coscine.Api.Token/common.js +13 -21
  94. package/dist/lib/Coscine.Api.Token/common.js.map +1 -1
  95. package/dist/lib/Coscine.Api.Tree/api.js +3 -3
  96. package/dist/lib/Coscine.Api.Tree/api.js.map +1 -1
  97. package/dist/lib/Coscine.Api.Tree/base.js +3 -1
  98. package/dist/lib/Coscine.Api.Tree/base.js.map +1 -1
  99. package/dist/lib/Coscine.Api.Tree/common.js +14 -22
  100. package/dist/lib/Coscine.Api.Tree/common.js.map +1 -1
  101. package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
  102. package/dist/lib/Coscine.Api.Tree/index.js +1 -1
  103. package/dist/lib/Coscine.Api.User/api.js +13 -13
  104. package/dist/lib/Coscine.Api.User/api.js.map +1 -1
  105. package/dist/lib/Coscine.Api.User/base.js +3 -1
  106. package/dist/lib/Coscine.Api.User/base.js.map +1 -1
  107. package/dist/lib/Coscine.Api.User/common.js +14 -22
  108. package/dist/lib/Coscine.Api.User/common.js.map +1 -1
  109. package/dist/lib/Coscine.Api.User/configuration.js +1 -1
  110. package/dist/lib/Coscine.Api.User/index.js +1 -1
  111. package/dist/types/Coscine.Api.ActivatedFeatures/api.d.ts +279 -0
  112. package/dist/types/Coscine.Api.ActivatedFeatures/base.d.ts +55 -0
  113. package/dist/types/Coscine.Api.ActivatedFeatures/common.d.ts +65 -0
  114. package/dist/types/Coscine.Api.ActivatedFeatures/configuration.d.ts +83 -0
  115. package/dist/types/Coscine.Api.ActivatedFeatures/index.d.ts +13 -0
  116. package/dist/types/Coscine.Api.Admin/api.d.ts +40 -66
  117. package/dist/types/Coscine.Api.Admin/base.d.ts +5 -4
  118. package/dist/types/Coscine.Api.Admin/common.d.ts +5 -5
  119. package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
  120. package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
  121. package/dist/types/Coscine.Api.Blob/api.d.ts +20 -21
  122. package/dist/types/Coscine.Api.Blob/base.d.ts +5 -4
  123. package/dist/types/Coscine.Api.Blob/common.d.ts +5 -5
  124. package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
  125. package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
  126. package/dist/types/Coscine.Api.Metadata/api.d.ts +31 -32
  127. package/dist/types/Coscine.Api.Metadata/base.d.ts +4 -3
  128. package/dist/types/Coscine.Api.Metadata/common.d.ts +4 -4
  129. package/dist/types/Coscine.Api.Notices/api.d.ts +16 -17
  130. package/dist/types/Coscine.Api.Notices/base.d.ts +4 -3
  131. package/dist/types/Coscine.Api.Notices/common.d.ts +4 -4
  132. package/dist/types/Coscine.Api.Organization/api.d.ts +24 -25
  133. package/dist/types/Coscine.Api.Organization/base.d.ts +5 -4
  134. package/dist/types/Coscine.Api.Organization/common.d.ts +5 -5
  135. package/dist/types/Coscine.Api.Organization/configuration.d.ts +1 -1
  136. package/dist/types/Coscine.Api.Organization/index.d.ts +1 -1
  137. package/dist/types/Coscine.Api.Pid/api.d.ts +18 -19
  138. package/dist/types/Coscine.Api.Pid/base.d.ts +5 -4
  139. package/dist/types/Coscine.Api.Pid/common.d.ts +5 -5
  140. package/dist/types/Coscine.Api.Pid/configuration.d.ts +1 -1
  141. package/dist/types/Coscine.Api.Pid/index.d.ts +1 -1
  142. package/dist/types/Coscine.Api.Project/api.d.ts +225 -271
  143. package/dist/types/Coscine.Api.Project/base.d.ts +5 -4
  144. package/dist/types/Coscine.Api.Project/common.d.ts +5 -5
  145. package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
  146. package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
  147. package/dist/types/Coscine.Api.Resources/api.d.ts +240 -299
  148. package/dist/types/Coscine.Api.Resources/base.d.ts +5 -4
  149. package/dist/types/Coscine.Api.Resources/common.d.ts +5 -5
  150. package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
  151. package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
  152. package/dist/types/Coscine.Api.STS/api.d.ts +41 -42
  153. package/dist/types/Coscine.Api.STS/base.d.ts +4 -3
  154. package/dist/types/Coscine.Api.STS/common.d.ts +4 -4
  155. package/dist/types/Coscine.Api.Search/api.d.ts +17 -25
  156. package/dist/types/Coscine.Api.Search/base.d.ts +5 -4
  157. package/dist/types/Coscine.Api.Search/common.d.ts +5 -5
  158. package/dist/types/Coscine.Api.Search/configuration.d.ts +1 -1
  159. package/dist/types/Coscine.Api.Search/index.d.ts +1 -1
  160. package/dist/types/Coscine.Api.Token/api.d.ts +33 -34
  161. package/dist/types/Coscine.Api.Token/base.d.ts +4 -3
  162. package/dist/types/Coscine.Api.Token/common.d.ts +4 -4
  163. package/dist/types/Coscine.Api.Tree/api.d.ts +12 -13
  164. package/dist/types/Coscine.Api.Tree/base.d.ts +5 -4
  165. package/dist/types/Coscine.Api.Tree/common.d.ts +5 -5
  166. package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
  167. package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
  168. package/dist/types/Coscine.Api.User/api.d.ts +72 -83
  169. package/dist/types/Coscine.Api.User/base.d.ts +5 -4
  170. package/dist/types/Coscine.Api.User/common.d.ts +5 -5
  171. package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
  172. package/dist/types/Coscine.Api.User/index.d.ts +1 -1
  173. package/dist/types/apis.d.ts +40 -40
  174. package/dist/types/index.d.ts +80 -80
  175. package/package.json +1 -1
@@ -0,0 +1,83 @@
1
+ /**
2
+ * Coscine.Api.ActivatedFeatures
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.1.2
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface ConfigurationParameters {
13
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
14
+ username?: string;
15
+ password?: string;
16
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
17
+ basePath?: string;
18
+ baseOptions?: any;
19
+ formDataCtor?: new () => any;
20
+ }
21
+ export declare class Configuration {
22
+ /**
23
+ * parameter for apiKey security
24
+ * @param name security name
25
+ * @memberof Configuration
26
+ */
27
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
28
+ /**
29
+ * parameter for basic security
30
+ *
31
+ * @type {string}
32
+ * @memberof Configuration
33
+ */
34
+ username?: string;
35
+ /**
36
+ * parameter for basic security
37
+ *
38
+ * @type {string}
39
+ * @memberof Configuration
40
+ */
41
+ password?: string;
42
+ /**
43
+ * parameter for oauth2 security
44
+ * @param name security name
45
+ * @param scopes oauth2 scope
46
+ * @memberof Configuration
47
+ */
48
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
49
+ /**
50
+ * override base path
51
+ *
52
+ * @type {string}
53
+ * @memberof Configuration
54
+ */
55
+ basePath?: string;
56
+ /**
57
+ * base options for axios calls
58
+ *
59
+ * @type {any}
60
+ * @memberof Configuration
61
+ */
62
+ baseOptions?: any;
63
+ /**
64
+ * The FormData constructor that will be used to create multipart form data
65
+ * requests. You can inject this here so that execution environments that
66
+ * do not support the FormData class can still run the generated client.
67
+ *
68
+ * @type {new () => FormData}
69
+ */
70
+ formDataCtor?: new () => any;
71
+ constructor(param?: ConfigurationParameters);
72
+ /**
73
+ * Check if the given MIME is a JSON MIME.
74
+ * JSON MIME examples:
75
+ * application/json
76
+ * application/json; charset=UTF8
77
+ * APPLICATION/JSON
78
+ * application/vnd.company+json
79
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
80
+ * @return True if the given MIME is JSON, false otherwise.
81
+ */
82
+ isJsonMime(mime: string): boolean;
83
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Coscine.Api.ActivatedFeatures
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.1.2
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export * from "./api";
13
+ export * from "./configuration";
@@ -2,17 +2,16 @@
2
2
  * Coscine.Api.Admin
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 3.0.3
5
+ * The version of the OpenAPI document: 3.0.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Configuration } from './configuration';
13
- import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
14
- import type { RequestArgs } from './base';
15
- import { BaseAPI } from './base';
12
+ import { Configuration } from './configuration';
13
+ import { AxiosPromise, AxiosInstance } from 'axios';
14
+ import { RequestArgs, BaseAPI } from './base';
16
15
  /**
17
16
  * Retuned when searching for a project. Contains basic informations and quotas.
18
17
  * @export
@@ -24,25 +23,25 @@ export interface AdminProjectObject {
24
23
  * @type {string}
25
24
  * @memberof AdminProjectObject
26
25
  */
27
- 'id'?: string;
26
+ id?: string;
28
27
  /**
29
28
  * Project Name (full project name)
30
29
  * @type {string}
31
30
  * @memberof AdminProjectObject
32
31
  */
33
- 'projectName'?: string | null;
32
+ projectName?: string | null;
34
33
  /**
35
34
  * Project Display Name
36
35
  * @type {string}
37
36
  * @memberof AdminProjectObject
38
37
  */
39
- 'displayName'?: string | null;
38
+ displayName?: string | null;
40
39
  /**
41
40
  * List of the admin quotas (AdminQuotaReturnObject)
42
41
  * @type {Array<AdminQuotaReturnObject>}
43
42
  * @memberof AdminProjectObject
44
43
  */
45
- 'quotas'?: Array<AdminQuotaReturnObject> | null;
44
+ quotas?: Array<AdminQuotaReturnObject> | null;
46
45
  }
47
46
  /**
48
47
  * Returned when searching for a project, as part of the AdminProjectObject. Contains quota informations.
@@ -55,62 +54,38 @@ export interface AdminQuotaReturnObject {
55
54
  * @type {string}
56
55
  * @memberof AdminQuotaReturnObject
57
56
  */
58
- 'relationId'?: string;
57
+ relationId?: string;
59
58
  /**
60
59
  * Which resource type the quota is referring to.
61
60
  * @type {string}
62
61
  * @memberof AdminQuotaReturnObject
63
62
  */
64
- 'resourceType'?: string | null;
63
+ resourceType?: string | null;
65
64
  /**
66
- *
67
- * @type {AdminQuotaReturnObjectTotalUsed}
65
+ * How much space is used by all files in all resources in total [Bytes].
66
+ * @type {QuotaDimObject}
68
67
  * @memberof AdminQuotaReturnObject
69
68
  */
70
- 'totalUsed'?: AdminQuotaReturnObjectTotalUsed | null;
69
+ totalUsed?: QuotaDimObject | null;
71
70
  /**
72
- *
73
- * @type {AdminQuotaReturnObjectTotalReserved}
71
+ * How much space is reserved by resources in total [GiB]. Is equal to the sum of all resource quota reserved values.
72
+ * @type {QuotaDimObject}
74
73
  * @memberof AdminQuotaReturnObject
75
74
  */
76
- 'totalReserved'?: AdminQuotaReturnObjectTotalReserved | null;
75
+ totalReserved?: QuotaDimObject | null;
77
76
  /**
78
- *
79
- * @type {AdminQuotaReturnObjectAllocated}
77
+ * How much space is currently allocated and is available to be taken by resources [GiB] (See Database, Table \'ProjectQuotas\', Column \'Quota\').
78
+ * @type {QuotaDimObject}
80
79
  * @memberof AdminQuotaReturnObject
81
80
  */
82
- 'allocated'?: AdminQuotaReturnObjectAllocated | null;
81
+ allocated?: QuotaDimObject | null;
83
82
  /**
84
- *
85
- * @type {AdminQuotaReturnObjectMaximum}
83
+ * How much maximum space is possible to be taken by resources [GiB] (See Database, Table \'ProjectQuotas\', Column \'MaxQuota\').
84
+ * @type {QuotaDimObject}
86
85
  * @memberof AdminQuotaReturnObject
87
86
  */
88
- 'maximum'?: AdminQuotaReturnObjectMaximum | null;
87
+ maximum?: QuotaDimObject | null;
89
88
  }
90
- /**
91
- * @type AdminQuotaReturnObjectAllocated
92
- * How much space is currently allocated and is available to be taken by resources [GiB] (See Database, Table \'ProjectQuotas\', Column \'Quota\').
93
- * @export
94
- */
95
- export type AdminQuotaReturnObjectAllocated = QuotaDimObject;
96
- /**
97
- * @type AdminQuotaReturnObjectMaximum
98
- * How much maximum space is possible to be taken by resources [GiB] (See Database, Table \'ProjectQuotas\', Column \'MaxQuota\').
99
- * @export
100
- */
101
- export type AdminQuotaReturnObjectMaximum = QuotaDimObject;
102
- /**
103
- * @type AdminQuotaReturnObjectTotalReserved
104
- * How much space is reserved by resources in total [GiB]. Is equal to the sum of all resource quota reserved values.
105
- * @export
106
- */
107
- export type AdminQuotaReturnObjectTotalReserved = QuotaDimObject;
108
- /**
109
- * @type AdminQuotaReturnObjectTotalUsed
110
- * How much space is used by all files in all resources in total [Bytes].
111
- * @export
112
- */
113
- export type AdminQuotaReturnObjectTotalUsed = QuotaDimObject;
114
89
  /**
115
90
  *
116
91
  * @export
@@ -122,28 +97,27 @@ export interface QuotaDimObject {
122
97
  * @type {number}
123
98
  * @memberof QuotaDimObject
124
99
  */
125
- 'value'?: number;
100
+ value?: number;
126
101
  /**
127
102
  *
128
103
  * @type {QuotaUnit}
129
104
  * @memberof QuotaDimObject
130
105
  */
131
- 'unit'?: QuotaUnit;
106
+ unit?: QuotaUnit;
132
107
  }
133
108
  /**
134
109
  *
135
110
  * @export
136
111
  * @enum {string}
137
112
  */
138
- export declare const QuotaUnit: {
139
- readonly Byte: "https://qudt.org/vocab/unit/BYTE";
140
- readonly KibiByte: "https://qudt.org/vocab/unit/KibiBYTE";
141
- readonly MebiByte: "https://qudt.org/vocab/unit/MebiBYTE";
142
- readonly GibiByte: "https://qudt.org/vocab/unit/GibiBYTE";
143
- readonly TebiByte: "https://qudt.org/vocab/unit/TebiBYTE";
144
- readonly PebiByte: "https://qudt.org/vocab/unit/PebiBYTE";
145
- };
146
- export type QuotaUnit = typeof QuotaUnit[keyof typeof QuotaUnit];
113
+ export declare enum QuotaUnit {
114
+ Byte = "https://qudt.org/vocab/unit/BYTE",
115
+ KibiByte = "https://qudt.org/vocab/unit/KibiBYTE",
116
+ MebiByte = "https://qudt.org/vocab/unit/MebiBYTE",
117
+ GibiByte = "https://qudt.org/vocab/unit/GibiBYTE",
118
+ TebiByte = "https://qudt.org/vocab/unit/TebiBYTE",
119
+ PebiByte = "https://qudt.org/vocab/unit/PebiBYTE"
120
+ }
147
121
  /**
148
122
  * Data send to update the project quota.
149
123
  * @export
@@ -155,7 +129,7 @@ export interface UpdateQuotaParameterObject {
155
129
  * @type {number}
156
130
  * @memberof UpdateQuotaParameterObject
157
131
  */
158
- 'maximumGiB'?: number;
132
+ maximumGiB?: number;
159
133
  }
160
134
  /**
161
135
  * AdminApi - axios parameter creator
@@ -169,7 +143,7 @@ export declare const AdminApiAxiosParamCreator: (configuration?: Configuration)
169
143
  * @param {*} [options] Override http request option.
170
144
  * @throws {RequiredError}
171
145
  */
172
- adminGetProject: (projectString: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
146
+ adminGetProject: (projectString: string, options?: any) => Promise<RequestArgs>;
173
147
  /**
174
148
  *
175
149
  * @summary Update a project maximum and allocated quota
@@ -179,7 +153,7 @@ export declare const AdminApiAxiosParamCreator: (configuration?: Configuration)
179
153
  * @param {*} [options] Override http request option.
180
154
  * @throws {RequiredError}
181
155
  */
182
- adminUpdateQuota: (projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: AxiosRequestConfig) => Promise<RequestArgs>;
156
+ adminUpdateQuota: (projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: any) => Promise<RequestArgs>;
183
157
  };
184
158
  /**
185
159
  * AdminApi - functional programming interface
@@ -193,7 +167,7 @@ export declare const AdminApiFp: (configuration?: Configuration) => {
193
167
  * @param {*} [options] Override http request option.
194
168
  * @throws {RequiredError}
195
169
  */
196
- adminGetProject(projectString: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminProjectObject>>;
170
+ adminGetProject(projectString: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminProjectObject>>;
197
171
  /**
198
172
  *
199
173
  * @summary Update a project maximum and allocated quota
@@ -203,7 +177,7 @@ export declare const AdminApiFp: (configuration?: Configuration) => {
203
177
  * @param {*} [options] Override http request option.
204
178
  * @throws {RequiredError}
205
179
  */
206
- adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
180
+ adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
207
181
  };
208
182
  /**
209
183
  * AdminApi - factory interface
@@ -227,7 +201,7 @@ export declare const AdminApiFactory: (configuration?: Configuration, basePath?:
227
201
  * @param {*} [options] Override http request option.
228
202
  * @throws {RequiredError}
229
203
  */
230
- adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: any): AxiosPromise<File>;
204
+ adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: any): AxiosPromise<any>;
231
205
  };
232
206
  /**
233
207
  * AdminApi - object-oriented interface
@@ -244,7 +218,7 @@ export declare class AdminApi extends BaseAPI {
244
218
  * @throws {RequiredError}
245
219
  * @memberof AdminApi
246
220
  */
247
- adminGetProject(projectString: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminProjectObject>>;
221
+ adminGetProject(projectString: string, options?: any): Promise<import("axios").AxiosResponse<AdminProjectObject>>;
248
222
  /**
249
223
  *
250
224
  * @summary Update a project maximum and allocated quota
@@ -255,5 +229,5 @@ export declare class AdminApi extends BaseAPI {
255
229
  * @throws {RequiredError}
256
230
  * @memberof AdminApi
257
231
  */
258
- adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
232
+ adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
259
233
  }
@@ -2,15 +2,15 @@
2
2
  * Coscine.Api.Admin
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 3.0.3
5
+ * The version of the OpenAPI document: 3.0.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Configuration } from './configuration';
13
- import type { AxiosInstance, AxiosRequestConfig } from 'axios';
12
+ import { Configuration } from "./configuration";
13
+ import { AxiosInstance } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
15
  /**
16
16
  *
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
29
29
  */
30
30
  export interface RequestArgs {
31
31
  url: string;
32
- options: AxiosRequestConfig;
32
+ options: any;
33
33
  }
34
34
  /**
35
35
  *
@@ -50,5 +50,6 @@ export declare class BaseAPI {
50
50
  */
51
51
  export declare class RequiredError extends Error {
52
52
  field: string;
53
+ name: "RequiredError";
53
54
  constructor(field: string, msg?: string);
54
55
  }
@@ -2,16 +2,16 @@
2
2
  * Coscine.Api.Admin
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 3.0.3
5
+ * The version of the OpenAPI document: 3.0.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Configuration } from "./configuration";
13
- import type { RequestArgs } from "./base";
14
- import type { AxiosInstance, AxiosResponse } from 'axios';
12
+ import { Configuration } from "./configuration";
13
+ import { RequestArgs } from "./base";
14
+ import { AxiosInstance } from 'axios';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any>>;
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Admin
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 3.0.3
5
+ * The version of the OpenAPI document: 3.0.2
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.Admin
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 3.0.3
5
+ * The version of the OpenAPI document: 3.0.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,17 +2,16 @@
2
2
  * Coscine.Api.Blob
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 3.1.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).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Configuration } from './configuration';
13
- import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
14
- import type { RequestArgs } from './base';
15
- import { BaseAPI } from './base';
12
+ import { Configuration } from './configuration';
13
+ import { AxiosPromise, AxiosInstance } from 'axios';
14
+ import { RequestArgs, BaseAPI } from './base';
16
15
  /**
17
16
  * BlobApi - axios parameter creator
18
17
  * @export
@@ -26,7 +25,7 @@ export declare const BlobApiAxiosParamCreator: (configuration?: Configuration) =
26
25
  * @param {*} [options] Override http request option.
27
26
  * @throws {RequiredError}
28
27
  */
29
- blobDeleteFileWithParameter: (resourceId: string, path?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
+ blobDeleteFileWithParameter: (resourceId: string, path?: string, options?: any) => Promise<RequestArgs>;
30
29
  /**
31
30
  *
32
31
  * @summary This method checks if the given file exists and returns it
@@ -35,17 +34,17 @@ export declare const BlobApiAxiosParamCreator: (configuration?: Configuration) =
35
34
  * @param {*} [options] Override http request option.
36
35
  * @throws {RequiredError}
37
36
  */
38
- blobGetFileWithParameter: (resourceId: string, path?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
+ blobGetFileWithParameter: (resourceId: string, path?: string, options?: any) => Promise<RequestArgs>;
39
38
  /**
40
39
  *
41
40
  * @summary This method uploads a given File
42
41
  * @param {string} resourceId Id of the resource
43
42
  * @param {string} [path] Path to the file
44
- * @param {Array<File>} [files]
43
+ * @param {Array<any>} [files]
45
44
  * @param {*} [options] Override http request option.
46
45
  * @throws {RequiredError}
47
46
  */
48
- blobUploadFileWithParameter: (resourceId: string, path?: string, files?: Array<File>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
+ blobUploadFileWithParameter: (resourceId: string, path?: string, files?: Array<any>, options?: any) => Promise<RequestArgs>;
49
48
  };
50
49
  /**
51
50
  * BlobApi - functional programming interface
@@ -60,7 +59,7 @@ export declare const BlobApiFp: (configuration?: Configuration) => {
60
59
  * @param {*} [options] Override http request option.
61
60
  * @throws {RequiredError}
62
61
  */
63
- blobDeleteFileWithParameter(resourceId: string, path?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
62
+ blobDeleteFileWithParameter(resourceId: string, path?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
64
63
  /**
65
64
  *
66
65
  * @summary This method checks if the given file exists and returns it
@@ -69,17 +68,17 @@ export declare const BlobApiFp: (configuration?: Configuration) => {
69
68
  * @param {*} [options] Override http request option.
70
69
  * @throws {RequiredError}
71
70
  */
72
- blobGetFileWithParameter(resourceId: string, path?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
71
+ blobGetFileWithParameter(resourceId: string, path?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
73
72
  /**
74
73
  *
75
74
  * @summary This method uploads a given File
76
75
  * @param {string} resourceId Id of the resource
77
76
  * @param {string} [path] Path to the file
78
- * @param {Array<File>} [files]
77
+ * @param {Array<any>} [files]
79
78
  * @param {*} [options] Override http request option.
80
79
  * @throws {RequiredError}
81
80
  */
82
- blobUploadFileWithParameter(resourceId: string, path?: string, files?: Array<File>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
81
+ blobUploadFileWithParameter(resourceId: string, path?: string, files?: Array<any>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
83
82
  };
84
83
  /**
85
84
  * BlobApi - factory interface
@@ -94,7 +93,7 @@ export declare const BlobApiFactory: (configuration?: Configuration, basePath?:
94
93
  * @param {*} [options] Override http request option.
95
94
  * @throws {RequiredError}
96
95
  */
97
- blobDeleteFileWithParameter(resourceId: string, path?: string, options?: any): AxiosPromise<File>;
96
+ blobDeleteFileWithParameter(resourceId: string, path?: string, options?: any): AxiosPromise<any>;
98
97
  /**
99
98
  *
100
99
  * @summary This method checks if the given file exists and returns it
@@ -103,17 +102,17 @@ export declare const BlobApiFactory: (configuration?: Configuration, basePath?:
103
102
  * @param {*} [options] Override http request option.
104
103
  * @throws {RequiredError}
105
104
  */
106
- blobGetFileWithParameter(resourceId: string, path?: string, options?: any): AxiosPromise<File>;
105
+ blobGetFileWithParameter(resourceId: string, path?: string, options?: any): AxiosPromise<any>;
107
106
  /**
108
107
  *
109
108
  * @summary This method uploads a given File
110
109
  * @param {string} resourceId Id of the resource
111
110
  * @param {string} [path] Path to the file
112
- * @param {Array<File>} [files]
111
+ * @param {Array<any>} [files]
113
112
  * @param {*} [options] Override http request option.
114
113
  * @throws {RequiredError}
115
114
  */
116
- blobUploadFileWithParameter(resourceId: string, path?: string, files?: Array<File>, options?: any): AxiosPromise<File>;
115
+ blobUploadFileWithParameter(resourceId: string, path?: string, files?: Array<any>, options?: any): AxiosPromise<any>;
117
116
  };
118
117
  /**
119
118
  * BlobApi - object-oriented interface
@@ -131,7 +130,7 @@ export declare class BlobApi extends BaseAPI {
131
130
  * @throws {RequiredError}
132
131
  * @memberof BlobApi
133
132
  */
134
- blobDeleteFileWithParameter(resourceId: string, path?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
133
+ blobDeleteFileWithParameter(resourceId: string, path?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
135
134
  /**
136
135
  *
137
136
  * @summary This method checks if the given file exists and returns it
@@ -141,16 +140,16 @@ export declare class BlobApi extends BaseAPI {
141
140
  * @throws {RequiredError}
142
141
  * @memberof BlobApi
143
142
  */
144
- blobGetFileWithParameter(resourceId: string, path?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
143
+ blobGetFileWithParameter(resourceId: string, path?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
145
144
  /**
146
145
  *
147
146
  * @summary This method uploads a given File
148
147
  * @param {string} resourceId Id of the resource
149
148
  * @param {string} [path] Path to the file
150
- * @param {Array<File>} [files]
149
+ * @param {Array<any>} [files]
151
150
  * @param {*} [options] Override http request option.
152
151
  * @throws {RequiredError}
153
152
  * @memberof BlobApi
154
153
  */
155
- blobUploadFileWithParameter(resourceId: string, path?: string, files?: Array<File>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
154
+ blobUploadFileWithParameter(resourceId: string, path?: string, files?: Array<any>, options?: any): Promise<import("axios").AxiosResponse<any>>;
156
155
  }
@@ -2,15 +2,15 @@
2
2
  * Coscine.Api.Blob
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 3.1.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).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Configuration } from './configuration';
13
- import type { AxiosInstance, AxiosRequestConfig } from 'axios';
12
+ import { Configuration } from "./configuration";
13
+ import { AxiosInstance } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
15
  /**
16
16
  *
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
29
29
  */
30
30
  export interface RequestArgs {
31
31
  url: string;
32
- options: AxiosRequestConfig;
32
+ options: any;
33
33
  }
34
34
  /**
35
35
  *
@@ -50,5 +50,6 @@ export declare class BaseAPI {
50
50
  */
51
51
  export declare class RequiredError extends Error {
52
52
  field: string;
53
+ name: "RequiredError";
53
54
  constructor(field: string, msg?: string);
54
55
  }
@@ -2,16 +2,16 @@
2
2
  * Coscine.Api.Blob
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 3.1.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).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Configuration } from "./configuration";
13
- import type { RequestArgs } from "./base";
14
- import type { AxiosInstance, AxiosResponse } from 'axios';
12
+ import { Configuration } from "./configuration";
13
+ import { RequestArgs } from "./base";
14
+ import { AxiosInstance } from 'axios';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any>>;
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Blob
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 3.1.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.Blob
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 3.1.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).