@coscine/api-client 2.9.0 → 2.9.1
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.
- package/dist/index.js +382 -349
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +382 -349
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.Admin/api.js +11 -12
- package/dist/lib/Coscine.Api.Admin/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Admin/base.js +1 -3
- package/dist/lib/Coscine.Api.Admin/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Admin/common.js +22 -14
- package/dist/lib/Coscine.Api.Admin/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Admin/index.js +1 -1
- package/dist/lib/Coscine.Api.Blob/api.js +8 -8
- package/dist/lib/Coscine.Api.Blob/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Blob/base.js +1 -3
- package/dist/lib/Coscine.Api.Blob/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Blob/common.js +22 -14
- package/dist/lib/Coscine.Api.Blob/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Blob/index.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/api.js +6 -6
- package/dist/lib/Coscine.Api.Metadata/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Metadata/base.js +0 -2
- package/dist/lib/Coscine.Api.Metadata/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Metadata/common.js +21 -13
- package/dist/lib/Coscine.Api.Metadata/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Notices/api.js +2 -2
- package/dist/lib/Coscine.Api.Notices/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Notices/base.js +0 -2
- package/dist/lib/Coscine.Api.Notices/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Notices/common.js +21 -13
- package/dist/lib/Coscine.Api.Notices/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Organization/api.js +6 -6
- package/dist/lib/Coscine.Api.Organization/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Organization/base.js +2 -4
- package/dist/lib/Coscine.Api.Organization/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Organization/common.js +22 -14
- package/dist/lib/Coscine.Api.Organization/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Organization/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Organization/index.js +1 -1
- package/dist/lib/Coscine.Api.Pid/api.js +3 -3
- package/dist/lib/Coscine.Api.Pid/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Pid/base.js +1 -3
- package/dist/lib/Coscine.Api.Pid/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Pid/common.js +22 -14
- package/dist/lib/Coscine.Api.Pid/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Pid/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Pid/index.js +1 -1
- package/dist/lib/Coscine.Api.Project/api.js +44 -41
- package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Project/base.js +1 -3
- package/dist/lib/Coscine.Api.Project/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Project/common.js +22 -14
- package/dist/lib/Coscine.Api.Project/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Project/index.js +1 -1
- package/dist/lib/Coscine.Api.Resources/api.js +41 -44
- package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Resources/base.js +1 -3
- package/dist/lib/Coscine.Api.Resources/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Resources/common.js +22 -14
- package/dist/lib/Coscine.Api.Resources/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Resources/index.js +1 -1
- package/dist/lib/Coscine.Api.STS/api.js +9 -9
- package/dist/lib/Coscine.Api.STS/api.js.map +1 -1
- package/dist/lib/Coscine.Api.STS/base.js +0 -2
- package/dist/lib/Coscine.Api.STS/base.js.map +1 -1
- package/dist/lib/Coscine.Api.STS/common.js +21 -13
- package/dist/lib/Coscine.Api.STS/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Search/api.js +7 -8
- package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Search/base.js +2 -4
- package/dist/lib/Coscine.Api.Search/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Search/common.js +22 -14
- package/dist/lib/Coscine.Api.Search/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Search/index.js +1 -1
- package/dist/lib/Coscine.Api.Token/api.js +5 -5
- package/dist/lib/Coscine.Api.Token/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Token/base.js +0 -2
- package/dist/lib/Coscine.Api.Token/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Token/common.js +21 -13
- package/dist/lib/Coscine.Api.Token/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Tree/api.js +3 -3
- package/dist/lib/Coscine.Api.Tree/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Tree/base.js +1 -3
- package/dist/lib/Coscine.Api.Tree/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Tree/common.js +22 -14
- package/dist/lib/Coscine.Api.Tree/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Tree/index.js +1 -1
- package/dist/lib/Coscine.Api.User/api.js +13 -13
- package/dist/lib/Coscine.Api.User/api.js.map +1 -1
- package/dist/lib/Coscine.Api.User/base.js +1 -3
- package/dist/lib/Coscine.Api.User/base.js.map +1 -1
- package/dist/lib/Coscine.Api.User/common.js +22 -14
- package/dist/lib/Coscine.Api.User/common.js.map +1 -1
- package/dist/lib/Coscine.Api.User/configuration.js +1 -1
- package/dist/lib/Coscine.Api.User/index.js +1 -1
- package/dist/types/Coscine.Api.Admin/api.d.ts +66 -40
- package/dist/types/Coscine.Api.Admin/base.d.ts +4 -5
- package/dist/types/Coscine.Api.Admin/common.d.ts +5 -5
- package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/api.d.ts +21 -20
- package/dist/types/Coscine.Api.Blob/base.d.ts +4 -5
- package/dist/types/Coscine.Api.Blob/common.d.ts +5 -5
- package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/api.d.ts +32 -31
- package/dist/types/Coscine.Api.Metadata/base.d.ts +3 -4
- package/dist/types/Coscine.Api.Metadata/common.d.ts +4 -4
- package/dist/types/Coscine.Api.Notices/api.d.ts +17 -16
- package/dist/types/Coscine.Api.Notices/base.d.ts +3 -4
- package/dist/types/Coscine.Api.Notices/common.d.ts +4 -4
- package/dist/types/Coscine.Api.Organization/api.d.ts +25 -24
- package/dist/types/Coscine.Api.Organization/base.d.ts +4 -5
- package/dist/types/Coscine.Api.Organization/common.d.ts +5 -5
- package/dist/types/Coscine.Api.Organization/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Organization/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/api.d.ts +19 -18
- package/dist/types/Coscine.Api.Pid/base.d.ts +4 -5
- package/dist/types/Coscine.Api.Pid/common.d.ts +5 -5
- package/dist/types/Coscine.Api.Pid/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/api.d.ts +271 -225
- package/dist/types/Coscine.Api.Project/base.d.ts +4 -5
- package/dist/types/Coscine.Api.Project/common.d.ts +5 -5
- package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/api.d.ts +299 -240
- package/dist/types/Coscine.Api.Resources/base.d.ts +4 -5
- package/dist/types/Coscine.Api.Resources/common.d.ts +5 -5
- package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
- package/dist/types/Coscine.Api.STS/api.d.ts +42 -41
- package/dist/types/Coscine.Api.STS/base.d.ts +3 -4
- package/dist/types/Coscine.Api.STS/common.d.ts +4 -4
- package/dist/types/Coscine.Api.Search/api.d.ts +25 -17
- package/dist/types/Coscine.Api.Search/base.d.ts +4 -5
- package/dist/types/Coscine.Api.Search/common.d.ts +5 -5
- package/dist/types/Coscine.Api.Search/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Token/api.d.ts +34 -33
- package/dist/types/Coscine.Api.Token/base.d.ts +3 -4
- package/dist/types/Coscine.Api.Token/common.d.ts +4 -4
- package/dist/types/Coscine.Api.Tree/api.d.ts +13 -12
- package/dist/types/Coscine.Api.Tree/base.d.ts +4 -5
- package/dist/types/Coscine.Api.Tree/common.d.ts +5 -5
- package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
- package/dist/types/Coscine.Api.User/api.d.ts +83 -72
- package/dist/types/Coscine.Api.User/base.d.ts +4 -5
- package/dist/types/Coscine.Api.User/common.d.ts +5 -5
- package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.User/index.d.ts +1 -1
- package/dist/types/apis.d.ts +40 -40
- package/dist/types/index.d.ts +80 -80
- package/package.json +2 -2
- package/dist/lib/Coscine.Api.ActivatedFeatures/api.js +0 -470
- package/dist/lib/Coscine.Api.ActivatedFeatures/api.js.map +0 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/base.js +0 -65
- package/dist/lib/Coscine.Api.ActivatedFeatures/base.js.map +0 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/common.js +0 -153
- package/dist/lib/Coscine.Api.ActivatedFeatures/common.js.map +0 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/configuration.js +0 -43
- package/dist/lib/Coscine.Api.ActivatedFeatures/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/index.js +0 -32
- package/dist/lib/Coscine.Api.ActivatedFeatures/index.js.map +0 -1
- package/dist/types/Coscine.Api.ActivatedFeatures/api.d.ts +0 -279
- package/dist/types/Coscine.Api.ActivatedFeatures/base.d.ts +0 -55
- package/dist/types/Coscine.Api.ActivatedFeatures/common.d.ts +0 -65
- package/dist/types/Coscine.Api.ActivatedFeatures/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.ActivatedFeatures/index.d.ts +0 -13
|
@@ -2,16 +2,17 @@
|
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 3.0.3
|
|
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 { Configuration } from './configuration';
|
|
13
|
-
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
14
|
-
import { RequestArgs
|
|
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';
|
|
15
16
|
/**
|
|
16
17
|
* Retuned when searching for a project. Contains basic informations and quotas.
|
|
17
18
|
* @export
|
|
@@ -23,25 +24,25 @@ export interface AdminProjectObject {
|
|
|
23
24
|
* @type {string}
|
|
24
25
|
* @memberof AdminProjectObject
|
|
25
26
|
*/
|
|
26
|
-
id?: string;
|
|
27
|
+
'id'?: string;
|
|
27
28
|
/**
|
|
28
29
|
* Project Name (full project name)
|
|
29
30
|
* @type {string}
|
|
30
31
|
* @memberof AdminProjectObject
|
|
31
32
|
*/
|
|
32
|
-
projectName?: string | null;
|
|
33
|
+
'projectName'?: string | null;
|
|
33
34
|
/**
|
|
34
35
|
* Project Display Name
|
|
35
36
|
* @type {string}
|
|
36
37
|
* @memberof AdminProjectObject
|
|
37
38
|
*/
|
|
38
|
-
displayName?: string | null;
|
|
39
|
+
'displayName'?: string | null;
|
|
39
40
|
/**
|
|
40
41
|
* List of the admin quotas (AdminQuotaReturnObject)
|
|
41
42
|
* @type {Array<AdminQuotaReturnObject>}
|
|
42
43
|
* @memberof AdminProjectObject
|
|
43
44
|
*/
|
|
44
|
-
quotas?: Array<AdminQuotaReturnObject> | null;
|
|
45
|
+
'quotas'?: Array<AdminQuotaReturnObject> | null;
|
|
45
46
|
}
|
|
46
47
|
/**
|
|
47
48
|
* Returned when searching for a project, as part of the AdminProjectObject. Contains quota informations.
|
|
@@ -54,38 +55,62 @@ export interface AdminQuotaReturnObject {
|
|
|
54
55
|
* @type {string}
|
|
55
56
|
* @memberof AdminQuotaReturnObject
|
|
56
57
|
*/
|
|
57
|
-
relationId?: string;
|
|
58
|
+
'relationId'?: string;
|
|
58
59
|
/**
|
|
59
60
|
* Which resource type the quota is referring to.
|
|
60
61
|
* @type {string}
|
|
61
62
|
* @memberof AdminQuotaReturnObject
|
|
62
63
|
*/
|
|
63
|
-
resourceType?: string | null;
|
|
64
|
+
'resourceType'?: string | null;
|
|
64
65
|
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {
|
|
66
|
+
*
|
|
67
|
+
* @type {AdminQuotaReturnObjectTotalUsed}
|
|
67
68
|
* @memberof AdminQuotaReturnObject
|
|
68
69
|
*/
|
|
69
|
-
totalUsed?:
|
|
70
|
+
'totalUsed'?: AdminQuotaReturnObjectTotalUsed | null;
|
|
70
71
|
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {
|
|
72
|
+
*
|
|
73
|
+
* @type {AdminQuotaReturnObjectTotalReserved}
|
|
73
74
|
* @memberof AdminQuotaReturnObject
|
|
74
75
|
*/
|
|
75
|
-
totalReserved?:
|
|
76
|
+
'totalReserved'?: AdminQuotaReturnObjectTotalReserved | null;
|
|
76
77
|
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {
|
|
78
|
+
*
|
|
79
|
+
* @type {AdminQuotaReturnObjectAllocated}
|
|
79
80
|
* @memberof AdminQuotaReturnObject
|
|
80
81
|
*/
|
|
81
|
-
allocated?:
|
|
82
|
+
'allocated'?: AdminQuotaReturnObjectAllocated | null;
|
|
82
83
|
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {
|
|
84
|
+
*
|
|
85
|
+
* @type {AdminQuotaReturnObjectMaximum}
|
|
85
86
|
* @memberof AdminQuotaReturnObject
|
|
86
87
|
*/
|
|
87
|
-
maximum?:
|
|
88
|
+
'maximum'?: AdminQuotaReturnObjectMaximum | null;
|
|
88
89
|
}
|
|
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;
|
|
89
114
|
/**
|
|
90
115
|
*
|
|
91
116
|
* @export
|
|
@@ -97,27 +122,28 @@ export interface QuotaDimObject {
|
|
|
97
122
|
* @type {number}
|
|
98
123
|
* @memberof QuotaDimObject
|
|
99
124
|
*/
|
|
100
|
-
value?: number;
|
|
125
|
+
'value'?: number;
|
|
101
126
|
/**
|
|
102
127
|
*
|
|
103
128
|
* @type {QuotaUnit}
|
|
104
129
|
* @memberof QuotaDimObject
|
|
105
130
|
*/
|
|
106
|
-
unit?: QuotaUnit;
|
|
131
|
+
'unit'?: QuotaUnit;
|
|
107
132
|
}
|
|
108
133
|
/**
|
|
109
134
|
*
|
|
110
135
|
* @export
|
|
111
136
|
* @enum {string}
|
|
112
137
|
*/
|
|
113
|
-
export declare
|
|
114
|
-
Byte
|
|
115
|
-
KibiByte
|
|
116
|
-
MebiByte
|
|
117
|
-
GibiByte
|
|
118
|
-
TebiByte
|
|
119
|
-
PebiByte
|
|
120
|
-
}
|
|
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];
|
|
121
147
|
/**
|
|
122
148
|
* Data send to update the project quota.
|
|
123
149
|
* @export
|
|
@@ -129,7 +155,7 @@ export interface UpdateQuotaParameterObject {
|
|
|
129
155
|
* @type {number}
|
|
130
156
|
* @memberof UpdateQuotaParameterObject
|
|
131
157
|
*/
|
|
132
|
-
maximumGiB?: number;
|
|
158
|
+
'maximumGiB'?: number;
|
|
133
159
|
}
|
|
134
160
|
/**
|
|
135
161
|
* AdminApi - axios parameter creator
|
|
@@ -143,7 +169,7 @@ export declare const AdminApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
143
169
|
* @param {*} [options] Override http request option.
|
|
144
170
|
* @throws {RequiredError}
|
|
145
171
|
*/
|
|
146
|
-
adminGetProject: (projectString: string, options?:
|
|
172
|
+
adminGetProject: (projectString: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
147
173
|
/**
|
|
148
174
|
*
|
|
149
175
|
* @summary Update a project maximum and allocated quota
|
|
@@ -153,7 +179,7 @@ export declare const AdminApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
153
179
|
* @param {*} [options] Override http request option.
|
|
154
180
|
* @throws {RequiredError}
|
|
155
181
|
*/
|
|
156
|
-
adminUpdateQuota: (projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?:
|
|
182
|
+
adminUpdateQuota: (projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
157
183
|
};
|
|
158
184
|
/**
|
|
159
185
|
* AdminApi - functional programming interface
|
|
@@ -167,7 +193,7 @@ export declare const AdminApiFp: (configuration?: Configuration) => {
|
|
|
167
193
|
* @param {*} [options] Override http request option.
|
|
168
194
|
* @throws {RequiredError}
|
|
169
195
|
*/
|
|
170
|
-
adminGetProject(projectString: string, options?:
|
|
196
|
+
adminGetProject(projectString: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminProjectObject>>;
|
|
171
197
|
/**
|
|
172
198
|
*
|
|
173
199
|
* @summary Update a project maximum and allocated quota
|
|
@@ -177,7 +203,7 @@ export declare const AdminApiFp: (configuration?: Configuration) => {
|
|
|
177
203
|
* @param {*} [options] Override http request option.
|
|
178
204
|
* @throws {RequiredError}
|
|
179
205
|
*/
|
|
180
|
-
adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?:
|
|
206
|
+
adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
181
207
|
};
|
|
182
208
|
/**
|
|
183
209
|
* AdminApi - factory interface
|
|
@@ -201,7 +227,7 @@ export declare const AdminApiFactory: (configuration?: Configuration, basePath?:
|
|
|
201
227
|
* @param {*} [options] Override http request option.
|
|
202
228
|
* @throws {RequiredError}
|
|
203
229
|
*/
|
|
204
|
-
adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: any): AxiosPromise<
|
|
230
|
+
adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: any): AxiosPromise<File>;
|
|
205
231
|
};
|
|
206
232
|
/**
|
|
207
233
|
* AdminApi - object-oriented interface
|
|
@@ -218,7 +244,7 @@ export declare class AdminApi extends BaseAPI {
|
|
|
218
244
|
* @throws {RequiredError}
|
|
219
245
|
* @memberof AdminApi
|
|
220
246
|
*/
|
|
221
|
-
adminGetProject(projectString: string, options?:
|
|
247
|
+
adminGetProject(projectString: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminProjectObject>>;
|
|
222
248
|
/**
|
|
223
249
|
*
|
|
224
250
|
* @summary Update a project maximum and allocated quota
|
|
@@ -229,5 +255,5 @@ export declare class AdminApi extends BaseAPI {
|
|
|
229
255
|
* @throws {RequiredError}
|
|
230
256
|
* @memberof AdminApi
|
|
231
257
|
*/
|
|
232
|
-
adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?:
|
|
258
|
+
adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
|
|
233
259
|
}
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.0.3
|
|
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 { Configuration } from
|
|
13
|
-
import { AxiosInstance } from 'axios';
|
|
12
|
+
import type { Configuration } from './configuration';
|
|
13
|
+
import type { AxiosInstance, AxiosRequestConfig } 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:
|
|
32
|
+
options: AxiosRequestConfig;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
@@ -50,6 +50,5 @@ export declare class BaseAPI {
|
|
|
50
50
|
*/
|
|
51
51
|
export declare class RequiredError extends Error {
|
|
52
52
|
field: string;
|
|
53
|
-
name: "RequiredError";
|
|
54
53
|
constructor(field: string, msg?: string);
|
|
55
54
|
}
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.0.3
|
|
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 { Configuration } from "./configuration";
|
|
13
|
-
import { RequestArgs } from "./base";
|
|
14
|
-
import { AxiosInstance } from 'axios';
|
|
12
|
+
import type { Configuration } from "./configuration";
|
|
13
|
+
import type { RequestArgs } from "./base";
|
|
14
|
+
import type { AxiosInstance, AxiosResponse } 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) => (axios?: AxiosInstance, basePath?: string) => Promise<
|
|
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>;
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.0.3
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 3.0.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,16 +2,17 @@
|
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 3.1.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 { Configuration } from './configuration';
|
|
13
|
-
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
14
|
-
import { RequestArgs
|
|
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';
|
|
15
16
|
/**
|
|
16
17
|
* BlobApi - axios parameter creator
|
|
17
18
|
* @export
|
|
@@ -25,7 +26,7 @@ export declare const BlobApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
25
26
|
* @param {*} [options] Override http request option.
|
|
26
27
|
* @throws {RequiredError}
|
|
27
28
|
*/
|
|
28
|
-
blobDeleteFileWithParameter: (resourceId: string, path?: string, options?:
|
|
29
|
+
blobDeleteFileWithParameter: (resourceId: string, path?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
30
|
/**
|
|
30
31
|
*
|
|
31
32
|
* @summary This method checks if the given file exists and returns it
|
|
@@ -34,17 +35,17 @@ export declare const BlobApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
34
35
|
* @param {*} [options] Override http request option.
|
|
35
36
|
* @throws {RequiredError}
|
|
36
37
|
*/
|
|
37
|
-
blobGetFileWithParameter: (resourceId: string, path?: string, options?:
|
|
38
|
+
blobGetFileWithParameter: (resourceId: string, path?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
39
|
/**
|
|
39
40
|
*
|
|
40
41
|
* @summary This method uploads a given File
|
|
41
42
|
* @param {string} resourceId Id of the resource
|
|
42
43
|
* @param {string} [path] Path to the file
|
|
43
|
-
* @param {Array<
|
|
44
|
+
* @param {Array<File>} [files]
|
|
44
45
|
* @param {*} [options] Override http request option.
|
|
45
46
|
* @throws {RequiredError}
|
|
46
47
|
*/
|
|
47
|
-
blobUploadFileWithParameter: (resourceId: string, path?: string, files?: Array<
|
|
48
|
+
blobUploadFileWithParameter: (resourceId: string, path?: string, files?: Array<File>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
49
|
};
|
|
49
50
|
/**
|
|
50
51
|
* BlobApi - functional programming interface
|
|
@@ -59,7 +60,7 @@ export declare const BlobApiFp: (configuration?: Configuration) => {
|
|
|
59
60
|
* @param {*} [options] Override http request option.
|
|
60
61
|
* @throws {RequiredError}
|
|
61
62
|
*/
|
|
62
|
-
blobDeleteFileWithParameter(resourceId: string, path?: string, options?:
|
|
63
|
+
blobDeleteFileWithParameter(resourceId: string, path?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
63
64
|
/**
|
|
64
65
|
*
|
|
65
66
|
* @summary This method checks if the given file exists and returns it
|
|
@@ -68,17 +69,17 @@ export declare const BlobApiFp: (configuration?: Configuration) => {
|
|
|
68
69
|
* @param {*} [options] Override http request option.
|
|
69
70
|
* @throws {RequiredError}
|
|
70
71
|
*/
|
|
71
|
-
blobGetFileWithParameter(resourceId: string, path?: string, options?:
|
|
72
|
+
blobGetFileWithParameter(resourceId: string, path?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
72
73
|
/**
|
|
73
74
|
*
|
|
74
75
|
* @summary This method uploads a given File
|
|
75
76
|
* @param {string} resourceId Id of the resource
|
|
76
77
|
* @param {string} [path] Path to the file
|
|
77
|
-
* @param {Array<
|
|
78
|
+
* @param {Array<File>} [files]
|
|
78
79
|
* @param {*} [options] Override http request option.
|
|
79
80
|
* @throws {RequiredError}
|
|
80
81
|
*/
|
|
81
|
-
blobUploadFileWithParameter(resourceId: string, path?: string, files?: Array<
|
|
82
|
+
blobUploadFileWithParameter(resourceId: string, path?: string, files?: Array<File>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
82
83
|
};
|
|
83
84
|
/**
|
|
84
85
|
* BlobApi - factory interface
|
|
@@ -93,7 +94,7 @@ export declare const BlobApiFactory: (configuration?: Configuration, basePath?:
|
|
|
93
94
|
* @param {*} [options] Override http request option.
|
|
94
95
|
* @throws {RequiredError}
|
|
95
96
|
*/
|
|
96
|
-
blobDeleteFileWithParameter(resourceId: string, path?: string, options?: any): AxiosPromise<
|
|
97
|
+
blobDeleteFileWithParameter(resourceId: string, path?: string, options?: any): AxiosPromise<File>;
|
|
97
98
|
/**
|
|
98
99
|
*
|
|
99
100
|
* @summary This method checks if the given file exists and returns it
|
|
@@ -102,17 +103,17 @@ export declare const BlobApiFactory: (configuration?: Configuration, basePath?:
|
|
|
102
103
|
* @param {*} [options] Override http request option.
|
|
103
104
|
* @throws {RequiredError}
|
|
104
105
|
*/
|
|
105
|
-
blobGetFileWithParameter(resourceId: string, path?: string, options?: any): AxiosPromise<
|
|
106
|
+
blobGetFileWithParameter(resourceId: string, path?: string, options?: any): AxiosPromise<File>;
|
|
106
107
|
/**
|
|
107
108
|
*
|
|
108
109
|
* @summary This method uploads a given File
|
|
109
110
|
* @param {string} resourceId Id of the resource
|
|
110
111
|
* @param {string} [path] Path to the file
|
|
111
|
-
* @param {Array<
|
|
112
|
+
* @param {Array<File>} [files]
|
|
112
113
|
* @param {*} [options] Override http request option.
|
|
113
114
|
* @throws {RequiredError}
|
|
114
115
|
*/
|
|
115
|
-
blobUploadFileWithParameter(resourceId: string, path?: string, files?: Array<
|
|
116
|
+
blobUploadFileWithParameter(resourceId: string, path?: string, files?: Array<File>, options?: any): AxiosPromise<File>;
|
|
116
117
|
};
|
|
117
118
|
/**
|
|
118
119
|
* BlobApi - object-oriented interface
|
|
@@ -130,7 +131,7 @@ export declare class BlobApi extends BaseAPI {
|
|
|
130
131
|
* @throws {RequiredError}
|
|
131
132
|
* @memberof BlobApi
|
|
132
133
|
*/
|
|
133
|
-
blobDeleteFileWithParameter(resourceId: string, path?: string, options?:
|
|
134
|
+
blobDeleteFileWithParameter(resourceId: string, path?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
|
|
134
135
|
/**
|
|
135
136
|
*
|
|
136
137
|
* @summary This method checks if the given file exists and returns it
|
|
@@ -140,16 +141,16 @@ export declare class BlobApi extends BaseAPI {
|
|
|
140
141
|
* @throws {RequiredError}
|
|
141
142
|
* @memberof BlobApi
|
|
142
143
|
*/
|
|
143
|
-
blobGetFileWithParameter(resourceId: string, path?: string, options?:
|
|
144
|
+
blobGetFileWithParameter(resourceId: string, path?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
|
|
144
145
|
/**
|
|
145
146
|
*
|
|
146
147
|
* @summary This method uploads a given File
|
|
147
148
|
* @param {string} resourceId Id of the resource
|
|
148
149
|
* @param {string} [path] Path to the file
|
|
149
|
-
* @param {Array<
|
|
150
|
+
* @param {Array<File>} [files]
|
|
150
151
|
* @param {*} [options] Override http request option.
|
|
151
152
|
* @throws {RequiredError}
|
|
152
153
|
* @memberof BlobApi
|
|
153
154
|
*/
|
|
154
|
-
blobUploadFileWithParameter(resourceId: string, path?: string, files?: Array<
|
|
155
|
+
blobUploadFileWithParameter(resourceId: string, path?: string, files?: Array<File>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
|
|
155
156
|
}
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.1.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 { Configuration } from
|
|
13
|
-
import { AxiosInstance } from 'axios';
|
|
12
|
+
import type { Configuration } from './configuration';
|
|
13
|
+
import type { AxiosInstance, AxiosRequestConfig } 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:
|
|
32
|
+
options: AxiosRequestConfig;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
@@ -50,6 +50,5 @@ export declare class BaseAPI {
|
|
|
50
50
|
*/
|
|
51
51
|
export declare class RequiredError extends Error {
|
|
52
52
|
field: string;
|
|
53
|
-
name: "RequiredError";
|
|
54
53
|
constructor(field: string, msg?: string);
|
|
55
54
|
}
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.1.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 { Configuration } from "./configuration";
|
|
13
|
-
import { RequestArgs } from "./base";
|
|
14
|
-
import { AxiosInstance } from 'axios';
|
|
12
|
+
import type { Configuration } from "./configuration";
|
|
13
|
+
import type { RequestArgs } from "./base";
|
|
14
|
+
import type { AxiosInstance, AxiosResponse } 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) => (axios?: AxiosInstance, basePath?: string) => Promise<
|
|
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>;
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.1.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.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.
|
|
5
|
+
* The version of the OpenAPI document: 3.1.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|