@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.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: 2.5.4
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).
@@ -15,76 +15,108 @@ import { RequestArgs, BaseAPI } from './base';
15
15
  /**
16
16
  * Retuned when searching for a project. Contains basic informations and quotas.
17
17
  * @export
18
- * @interface ProjectObject
18
+ * @interface AdminProjectObject
19
19
  */
20
- export interface ProjectObject {
20
+ export interface AdminProjectObject {
21
21
  /**
22
- * Projectname (full project name)
22
+ * Project Id
23
23
  * @type {string}
24
- * @memberof ProjectObject
24
+ * @memberof AdminProjectObject
25
25
  */
26
- name?: string | null;
26
+ id?: string;
27
27
  /**
28
- * Shortname (display name)
28
+ * Project Name (full project name)
29
29
  * @type {string}
30
- * @memberof ProjectObject
30
+ * @memberof AdminProjectObject
31
31
  */
32
- shortName?: string | null;
32
+ projectName?: string | null;
33
33
  /**
34
- * GUID (project id)
34
+ * Project Display Name
35
35
  * @type {string}
36
- * @memberof ProjectObject
36
+ * @memberof AdminProjectObject
37
37
  */
38
- guid?: string;
38
+ displayName?: string | null;
39
39
  /**
40
- * List of the project quotas (ProjectQuotaObject)
41
- * @type {Array<ProjectQuotaObject>}
42
- * @memberof ProjectObject
40
+ * List of the admin quotas (AdminQuotaReturnObject)
41
+ * @type {Array<AdminQuotaReturnObject>}
42
+ * @memberof AdminProjectObject
43
43
  */
44
- quotas?: Array<ProjectQuotaObject> | null;
44
+ quotas?: Array<AdminQuotaReturnObject> | null;
45
45
  }
46
46
  /**
47
- * Returned when searching for a project, as part of the ProjectQbect. Contains quota informations.
47
+ * Returned when searching for a project, as part of the AdminProjectObject. Contains quota informations.
48
48
  * @export
49
- * @interface ProjectQuotaObject
49
+ * @interface AdminQuotaReturnObject
50
50
  */
51
- export interface ProjectQuotaObject {
51
+ export interface AdminQuotaReturnObject {
52
52
  /**
53
- * Id of the quota.
53
+ * Quota relation id (See Database, Table \'ProjectQuotas\', Column \'RelationId\').
54
54
  * @type {string}
55
- * @memberof ProjectQuotaObject
55
+ * @memberof AdminQuotaReturnObject
56
56
  */
57
- quotaId?: string;
57
+ relationId?: string;
58
58
  /**
59
- * Which resourceType the quota is referencing.
59
+ * Which resource type the quota is referring to.
60
60
  * @type {string}
61
- * @memberof ProjectQuotaObject
61
+ * @memberof AdminQuotaReturnObject
62
62
  */
63
63
  resourceType?: string | null;
64
64
  /**
65
- * The quota value.
66
- * @type {number}
67
- * @memberof ProjectQuotaObject
65
+ * How much space is used by all files in all resources in total [Bytes].
66
+ * @type {QuotaDimObject}
67
+ * @memberof AdminQuotaReturnObject
68
68
  */
69
- quota?: number;
69
+ totalUsed?: QuotaDimObject | null;
70
70
  /**
71
- * The MaxQuota value.
72
- * @type {number}
73
- * @memberof ProjectQuotaObject
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}
73
+ * @memberof AdminQuotaReturnObject
74
74
  */
75
- maxQuota?: number;
75
+ totalReserved?: QuotaDimObject | null;
76
76
  /**
77
- * How much space is used by the resource (rounded up and in gb).
78
- * @type {number}
79
- * @memberof ProjectQuotaObject
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}
79
+ * @memberof AdminQuotaReturnObject
80
80
  */
81
- used?: number | null;
81
+ allocated?: QuotaDimObject | null;
82
+ /**
83
+ * How much maximum space is possible to be taken by resources [GiB] (See Database, Table \'ProjectQuotas\', Column \'MaxQuota\').
84
+ * @type {QuotaDimObject}
85
+ * @memberof AdminQuotaReturnObject
86
+ */
87
+ maximum?: QuotaDimObject | null;
88
+ }
89
+ /**
90
+ *
91
+ * @export
92
+ * @interface QuotaDimObject
93
+ */
94
+ export interface QuotaDimObject {
82
95
  /**
83
- * How much space is availabe to be taken by resource (in gb).
96
+ *
84
97
  * @type {number}
85
- * @memberof ProjectQuotaObject
98
+ * @memberof QuotaDimObject
86
99
  */
87
- allocated?: number | null;
100
+ value?: number;
101
+ /**
102
+ *
103
+ * @type {QuotaUnit}
104
+ * @memberof QuotaDimObject
105
+ */
106
+ unit?: QuotaUnit;
107
+ }
108
+ /**
109
+ *
110
+ * @export
111
+ * @enum {string}
112
+ */
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"
88
120
  }
89
121
  /**
90
122
  * Data send to update the project quota.
@@ -93,17 +125,11 @@ export interface ProjectQuotaObject {
93
125
  */
94
126
  export interface UpdateQuotaParameterObject {
95
127
  /**
96
- * The id (Guid) of the quota.
97
- * @type {string}
98
- * @memberof UpdateQuotaParameterObject
99
- */
100
- quotaId?: string;
101
- /**
102
- * The new quota value.
128
+ * The new maximum project quota value.
103
129
  * @type {number}
104
130
  * @memberof UpdateQuotaParameterObject
105
131
  */
106
- quota?: number;
132
+ maximumGiB?: number;
107
133
  }
108
134
  /**
109
135
  * AdminApi - axios parameter creator
@@ -113,19 +139,21 @@ export declare const AdminApiAxiosParamCreator: (configuration?: Configuration)
113
139
  /**
114
140
  *
115
141
  * @summary Find the project related to the projectString(GUID or slug)
116
- * @param {string} projectString Either the id (GUID) of the project or the slug.
142
+ * @param {string} projectString The project id (GUID) or slug (from URL).
117
143
  * @param {*} [options] Override http request option.
118
144
  * @throws {RequiredError}
119
145
  */
120
146
  adminGetProject: (projectString: string, options?: any) => Promise<RequestArgs>;
121
147
  /**
122
148
  *
123
- * @summary Update the project quota
124
- * @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating quota.
149
+ * @summary Update a project maximum and allocated quota
150
+ * @param {string} projectId Id of the project
151
+ * @param {string} resourceTypeId Id of the resource type
152
+ * @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating the project maximum and allocated quota.
125
153
  * @param {*} [options] Override http request option.
126
154
  * @throws {RequiredError}
127
155
  */
128
- adminUpdateQuota: (updateQuotaParameterObject: UpdateQuotaParameterObject, options?: any) => Promise<RequestArgs>;
156
+ adminUpdateQuota: (projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: any) => Promise<RequestArgs>;
129
157
  };
130
158
  /**
131
159
  * AdminApi - functional programming interface
@@ -135,19 +163,21 @@ export declare const AdminApiFp: (configuration?: Configuration) => {
135
163
  /**
136
164
  *
137
165
  * @summary Find the project related to the projectString(GUID or slug)
138
- * @param {string} projectString Either the id (GUID) of the project or the slug.
166
+ * @param {string} projectString The project id (GUID) or slug (from URL).
139
167
  * @param {*} [options] Override http request option.
140
168
  * @throws {RequiredError}
141
169
  */
142
- adminGetProject(projectString: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectObject>>;
170
+ adminGetProject(projectString: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminProjectObject>>;
143
171
  /**
144
172
  *
145
- * @summary Update the project quota
146
- * @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating quota.
173
+ * @summary Update a project maximum and allocated quota
174
+ * @param {string} projectId Id of the project
175
+ * @param {string} resourceTypeId Id of the resource type
176
+ * @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating the project maximum and allocated quota.
147
177
  * @param {*} [options] Override http request option.
148
178
  * @throws {RequiredError}
149
179
  */
150
- adminUpdateQuota(updateQuotaParameterObject: UpdateQuotaParameterObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
180
+ adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
151
181
  };
152
182
  /**
153
183
  * AdminApi - factory interface
@@ -157,19 +187,21 @@ export declare const AdminApiFactory: (configuration?: Configuration, basePath?:
157
187
  /**
158
188
  *
159
189
  * @summary Find the project related to the projectString(GUID or slug)
160
- * @param {string} projectString Either the id (GUID) of the project or the slug.
190
+ * @param {string} projectString The project id (GUID) or slug (from URL).
161
191
  * @param {*} [options] Override http request option.
162
192
  * @throws {RequiredError}
163
193
  */
164
- adminGetProject(projectString: string, options?: any): AxiosPromise<ProjectObject>;
194
+ adminGetProject(projectString: string, options?: any): AxiosPromise<AdminProjectObject>;
165
195
  /**
166
196
  *
167
- * @summary Update the project quota
168
- * @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating quota.
197
+ * @summary Update a project maximum and allocated quota
198
+ * @param {string} projectId Id of the project
199
+ * @param {string} resourceTypeId Id of the resource type
200
+ * @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating the project maximum and allocated quota.
169
201
  * @param {*} [options] Override http request option.
170
202
  * @throws {RequiredError}
171
203
  */
172
- adminUpdateQuota(updateQuotaParameterObject: UpdateQuotaParameterObject, options?: any): AxiosPromise<any>;
204
+ adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: any): AxiosPromise<any>;
173
205
  };
174
206
  /**
175
207
  * AdminApi - object-oriented interface
@@ -181,19 +213,21 @@ export declare class AdminApi extends BaseAPI {
181
213
  /**
182
214
  *
183
215
  * @summary Find the project related to the projectString(GUID or slug)
184
- * @param {string} projectString Either the id (GUID) of the project or the slug.
216
+ * @param {string} projectString The project id (GUID) or slug (from URL).
185
217
  * @param {*} [options] Override http request option.
186
218
  * @throws {RequiredError}
187
219
  * @memberof AdminApi
188
220
  */
189
- adminGetProject(projectString: string, options?: any): Promise<import("axios").AxiosResponse<ProjectObject>>;
221
+ adminGetProject(projectString: string, options?: any): Promise<import("axios").AxiosResponse<AdminProjectObject>>;
190
222
  /**
191
223
  *
192
- * @summary Update the project quota
193
- * @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating quota.
224
+ * @summary Update a project maximum and allocated quota
225
+ * @param {string} projectId Id of the project
226
+ * @param {string} resourceTypeId Id of the resource type
227
+ * @param {UpdateQuotaParameterObject} updateQuotaParameterObject JSON object for updating the project maximum and allocated quota.
194
228
  * @param {*} [options] Override http request option.
195
229
  * @throws {RequiredError}
196
230
  * @memberof AdminApi
197
231
  */
198
- adminUpdateQuota(updateQuotaParameterObject: UpdateQuotaParameterObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
232
+ adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
199
233
  }
@@ -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: 2.5.4
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.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: 2.5.4
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.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: 2.5.4
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.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: 2.5.4
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.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: 2.7.0
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).
@@ -35,14 +35,6 @@ export declare const BlobApiAxiosParamCreator: (configuration?: Configuration) =
35
35
  * @throws {RequiredError}
36
36
  */
37
37
  blobGetFileWithParameter: (resourceId: string, path?: string, options?: any) => Promise<RequestArgs>;
38
- /**
39
- *
40
- * @summary This method returns the amount of allocated space for the given resource
41
- * @param {string} resourceId Id of a resource
42
- * @param {*} [options] Override http request option.
43
- * @throws {RequiredError}
44
- */
45
- blobGetQuota: (resourceId: string, options?: any) => Promise<RequestArgs>;
46
38
  /**
47
39
  *
48
40
  * @summary This method uploads a given File
@@ -77,14 +69,6 @@ export declare const BlobApiFp: (configuration?: Configuration) => {
77
69
  * @throws {RequiredError}
78
70
  */
79
71
  blobGetFileWithParameter(resourceId: string, path?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
80
- /**
81
- *
82
- * @summary This method returns the amount of allocated space for the given resource
83
- * @param {string} resourceId Id of a resource
84
- * @param {*} [options] Override http request option.
85
- * @throws {RequiredError}
86
- */
87
- blobGetQuota(resourceId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
88
72
  /**
89
73
  *
90
74
  * @summary This method uploads a given File
@@ -119,14 +103,6 @@ export declare const BlobApiFactory: (configuration?: Configuration, basePath?:
119
103
  * @throws {RequiredError}
120
104
  */
121
105
  blobGetFileWithParameter(resourceId: string, path?: string, options?: any): AxiosPromise<any>;
122
- /**
123
- *
124
- * @summary This method returns the amount of allocated space for the given resource
125
- * @param {string} resourceId Id of a resource
126
- * @param {*} [options] Override http request option.
127
- * @throws {RequiredError}
128
- */
129
- blobGetQuota(resourceId: string, options?: any): AxiosPromise<any>;
130
106
  /**
131
107
  *
132
108
  * @summary This method uploads a given File
@@ -165,15 +141,6 @@ export declare class BlobApi extends BaseAPI {
165
141
  * @memberof BlobApi
166
142
  */
167
143
  blobGetFileWithParameter(resourceId: string, path?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
168
- /**
169
- *
170
- * @summary This method returns the amount of allocated space for the given resource
171
- * @param {string} resourceId Id of a resource
172
- * @param {*} [options] Override http request option.
173
- * @throws {RequiredError}
174
- * @memberof BlobApi
175
- */
176
- blobGetQuota(resourceId: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
177
144
  /**
178
145
  *
179
146
  * @summary This method uploads a given File
@@ -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: 2.7.0
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.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: 2.7.0
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.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: 2.7.0
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.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: 2.7.0
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).
@@ -0,0 +1,149 @@
1
+ /**
2
+ * Coscine.Api.Pid
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.3.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
+ import { Configuration } from './configuration';
13
+ import { AxiosPromise, AxiosInstance } from 'axios';
14
+ import { RequestArgs, BaseAPI } from './base';
15
+ /**
16
+ * Message Object.
17
+ * @export
18
+ * @interface MessageObject
19
+ */
20
+ export interface MessageObject {
21
+ /**
22
+ * Name of the requester.
23
+ * @type {string}
24
+ * @memberof MessageObject
25
+ */
26
+ name?: string | null;
27
+ /**
28
+ * Email address of the requester.
29
+ * @type {string}
30
+ * @memberof MessageObject
31
+ */
32
+ email?: string | null;
33
+ /**
34
+ * Message Text.
35
+ * @type {string}
36
+ * @memberof MessageObject
37
+ */
38
+ message?: string | null;
39
+ /**
40
+ * Send copy to requester.
41
+ * @type {boolean}
42
+ * @memberof MessageObject
43
+ */
44
+ sendCopy?: boolean;
45
+ /**
46
+ * Pid of the resource.
47
+ * @type {string}
48
+ * @memberof MessageObject
49
+ */
50
+ pid?: string | null;
51
+ /**
52
+ * Message Object.
53
+ * @type {string}
54
+ * @memberof MessageObject
55
+ */
56
+ guid?: string | null;
57
+ }
58
+ /**
59
+ * PidApi - axios parameter creator
60
+ * @export
61
+ */
62
+ export declare const PidApiAxiosParamCreator: (configuration?: Configuration) => {
63
+ /**
64
+ *
65
+ * @summary Returns a 200, if a PID is valid.
66
+ * @param {string} pid PID
67
+ * @param {*} [options] Override http request option.
68
+ * @throws {RequiredError}
69
+ */
70
+ pidIsValid: (pid: string, options?: any) => Promise<RequestArgs>;
71
+ /**
72
+ *
73
+ * @summary Sends a request to the pid owner.
74
+ * @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ pidSendMailToOwner: (messageObject: MessageObject, options?: any) => Promise<RequestArgs>;
79
+ };
80
+ /**
81
+ * PidApi - functional programming interface
82
+ * @export
83
+ */
84
+ export declare const PidApiFp: (configuration?: Configuration) => {
85
+ /**
86
+ *
87
+ * @summary Returns a 200, if a PID is valid.
88
+ * @param {string} pid PID
89
+ * @param {*} [options] Override http request option.
90
+ * @throws {RequiredError}
91
+ */
92
+ pidIsValid(pid: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
93
+ /**
94
+ *
95
+ * @summary Sends a request to the pid owner.
96
+ * @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ pidSendMailToOwner(messageObject: MessageObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
101
+ };
102
+ /**
103
+ * PidApi - factory interface
104
+ * @export
105
+ */
106
+ export declare const PidApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
107
+ /**
108
+ *
109
+ * @summary Returns a 200, if a PID is valid.
110
+ * @param {string} pid PID
111
+ * @param {*} [options] Override http request option.
112
+ * @throws {RequiredError}
113
+ */
114
+ pidIsValid(pid: string, options?: any): AxiosPromise<any>;
115
+ /**
116
+ *
117
+ * @summary Sends a request to the pid owner.
118
+ * @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
119
+ * @param {*} [options] Override http request option.
120
+ * @throws {RequiredError}
121
+ */
122
+ pidSendMailToOwner(messageObject: MessageObject, options?: any): AxiosPromise<any>;
123
+ };
124
+ /**
125
+ * PidApi - object-oriented interface
126
+ * @export
127
+ * @class PidApi
128
+ * @extends {BaseAPI}
129
+ */
130
+ export declare class PidApi extends BaseAPI {
131
+ /**
132
+ *
133
+ * @summary Returns a 200, if a PID is valid.
134
+ * @param {string} pid PID
135
+ * @param {*} [options] Override http request option.
136
+ * @throws {RequiredError}
137
+ * @memberof PidApi
138
+ */
139
+ pidIsValid(pid: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
140
+ /**
141
+ *
142
+ * @summary Sends a request to the pid owner.
143
+ * @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
144
+ * @param {*} [options] Override http request option.
145
+ * @throws {RequiredError}
146
+ * @memberof PidApi
147
+ */
148
+ pidSendMailToOwner(messageObject: MessageObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
149
+ }
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Coscine.Api.Quota
2
+ * Coscine.Api.Pid
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.3
5
+ * The version of the OpenAPI document: 2.3.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Coscine.Api.Quota
2
+ * Coscine.Api.Pid
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.3
5
+ * The version of the OpenAPI document: 2.3.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Coscine.Api.Quota
2
+ * Coscine.Api.Pid
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.3
5
+ * The version of the OpenAPI document: 2.3.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Coscine.Api.Quota
2
+ * Coscine.Api.Pid
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.3
5
+ * The version of the OpenAPI document: 2.3.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).