@coscine/api-client 2.9.1 → 2.10.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.
- package/dist/index.js +450 -388
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +450 -388
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.Admin/api.js +11 -10
- package/dist/lib/Coscine.Api.Admin/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Admin/base.js +3 -1
- package/dist/lib/Coscine.Api.Admin/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Admin/common.js +13 -21
- package/dist/lib/Coscine.Api.Admin/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Blob/api.js +7 -7
- package/dist/lib/Coscine.Api.Blob/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Blob/base.js +3 -1
- package/dist/lib/Coscine.Api.Blob/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Blob/common.js +13 -21
- package/dist/lib/Coscine.Api.Blob/common.js.map +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 +3 -1
- package/dist/lib/Coscine.Api.Metadata/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Metadata/common.js +13 -21
- 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 +3 -1
- package/dist/lib/Coscine.Api.Notices/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Notices/common.js +13 -21
- package/dist/lib/Coscine.Api.Notices/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Organization/api.js +5 -5
- package/dist/lib/Coscine.Api.Organization/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Organization/base.js +3 -1
- package/dist/lib/Coscine.Api.Organization/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Organization/common.js +13 -21
- package/dist/lib/Coscine.Api.Organization/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Pid/api.js +2 -2
- package/dist/lib/Coscine.Api.Pid/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Pid/base.js +3 -1
- package/dist/lib/Coscine.Api.Pid/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Pid/common.js +13 -21
- package/dist/lib/Coscine.Api.Pid/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Project/api.js +36 -35
- package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Project/base.js +3 -1
- package/dist/lib/Coscine.Api.Project/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Project/common.js +13 -21
- package/dist/lib/Coscine.Api.Project/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Resources/api.js +105 -37
- package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Resources/base.js +4 -2
- package/dist/lib/Coscine.Api.Resources/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Resources/common.js +14 -22
- 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 +3 -1
- package/dist/lib/Coscine.Api.STS/base.js.map +1 -1
- package/dist/lib/Coscine.Api.STS/common.js +13 -21
- package/dist/lib/Coscine.Api.STS/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Search/api.js +55 -14
- package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Search/base.js +3 -1
- package/dist/lib/Coscine.Api.Search/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Search/common.js +13 -21
- package/dist/lib/Coscine.Api.Search/common.js.map +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 +3 -1
- package/dist/lib/Coscine.Api.Token/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Token/common.js +13 -21
- package/dist/lib/Coscine.Api.Token/common.js.map +1 -1
- package/dist/lib/Coscine.Api.Tree/api.js +2 -2
- package/dist/lib/Coscine.Api.Tree/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Tree/base.js +3 -1
- package/dist/lib/Coscine.Api.Tree/base.js.map +1 -1
- package/dist/lib/Coscine.Api.Tree/common.js +13 -21
- package/dist/lib/Coscine.Api.Tree/common.js.map +1 -1
- package/dist/lib/Coscine.Api.User/api.js +12 -12
- package/dist/lib/Coscine.Api.User/api.js.map +1 -1
- package/dist/lib/Coscine.Api.User/base.js +3 -1
- package/dist/lib/Coscine.Api.User/base.js.map +1 -1
- package/dist/lib/Coscine.Api.User/common.js +13 -21
- package/dist/lib/Coscine.Api.User/common.js.map +1 -1
- package/dist/types/Coscine.Api.Admin/api.d.ts +39 -65
- package/dist/types/Coscine.Api.Admin/base.d.ts +4 -3
- package/dist/types/Coscine.Api.Admin/common.d.ts +4 -4
- package/dist/types/Coscine.Api.Blob/api.d.ts +19 -20
- package/dist/types/Coscine.Api.Blob/base.d.ts +4 -3
- package/dist/types/Coscine.Api.Blob/common.d.ts +4 -4
- package/dist/types/Coscine.Api.Metadata/api.d.ts +31 -32
- package/dist/types/Coscine.Api.Metadata/base.d.ts +4 -3
- package/dist/types/Coscine.Api.Metadata/common.d.ts +4 -4
- package/dist/types/Coscine.Api.Notices/api.d.ts +16 -17
- package/dist/types/Coscine.Api.Notices/base.d.ts +4 -3
- package/dist/types/Coscine.Api.Notices/common.d.ts +4 -4
- package/dist/types/Coscine.Api.Organization/api.d.ts +23 -24
- package/dist/types/Coscine.Api.Organization/base.d.ts +4 -3
- package/dist/types/Coscine.Api.Organization/common.d.ts +4 -4
- package/dist/types/Coscine.Api.Pid/api.d.ts +17 -18
- package/dist/types/Coscine.Api.Pid/base.d.ts +4 -3
- package/dist/types/Coscine.Api.Pid/common.d.ts +4 -4
- package/dist/types/Coscine.Api.Project/api.d.ts +220 -262
- package/dist/types/Coscine.Api.Project/base.d.ts +4 -3
- package/dist/types/Coscine.Api.Project/common.d.ts +4 -4
- package/dist/types/Coscine.Api.Resources/api.d.ts +269 -295
- package/dist/types/Coscine.Api.Resources/base.d.ts +5 -4
- 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 +41 -42
- package/dist/types/Coscine.Api.STS/base.d.ts +4 -3
- package/dist/types/Coscine.Api.STS/common.d.ts +4 -4
- package/dist/types/Coscine.Api.Search/api.d.ts +46 -22
- package/dist/types/Coscine.Api.Search/base.d.ts +4 -3
- package/dist/types/Coscine.Api.Search/common.d.ts +4 -4
- package/dist/types/Coscine.Api.Token/api.d.ts +33 -34
- package/dist/types/Coscine.Api.Token/base.d.ts +4 -3
- package/dist/types/Coscine.Api.Token/common.d.ts +4 -4
- package/dist/types/Coscine.Api.Tree/api.d.ts +11 -12
- package/dist/types/Coscine.Api.Tree/base.d.ts +4 -3
- package/dist/types/Coscine.Api.Tree/common.d.ts +4 -4
- package/dist/types/Coscine.Api.User/api.d.ts +71 -82
- package/dist/types/Coscine.Api.User/base.d.ts +4 -3
- package/dist/types/Coscine.Api.User/common.d.ts +4 -4
- package/dist/types/apis.d.ts +42 -41
- package/dist/types/index.d.ts +84 -82
- package/package.json +1 -1
|
@@ -9,10 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
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
|
-
|
|
26
|
+
id?: string;
|
|
28
27
|
/**
|
|
29
28
|
* Project Name (full project name)
|
|
30
29
|
* @type {string}
|
|
31
30
|
* @memberof AdminProjectObject
|
|
32
31
|
*/
|
|
33
|
-
|
|
32
|
+
projectName?: string | null;
|
|
34
33
|
/**
|
|
35
34
|
* Project Display Name
|
|
36
35
|
* @type {string}
|
|
37
36
|
* @memberof AdminProjectObject
|
|
38
37
|
*/
|
|
39
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
63
|
+
resourceType?: string | null;
|
|
65
64
|
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {
|
|
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
|
-
|
|
69
|
+
totalUsed?: QuotaDimObject | null;
|
|
71
70
|
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {
|
|
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
|
-
|
|
75
|
+
totalReserved?: QuotaDimObject | null;
|
|
77
76
|
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {
|
|
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
|
-
|
|
81
|
+
allocated?: QuotaDimObject | null;
|
|
83
82
|
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {
|
|
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
|
-
|
|
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
|
-
|
|
100
|
+
value?: number;
|
|
126
101
|
/**
|
|
127
102
|
*
|
|
128
103
|
* @type {QuotaUnit}
|
|
129
104
|
* @memberof QuotaDimObject
|
|
130
105
|
*/
|
|
131
|
-
|
|
106
|
+
unit?: QuotaUnit;
|
|
132
107
|
}
|
|
133
108
|
/**
|
|
134
109
|
*
|
|
135
110
|
* @export
|
|
136
111
|
* @enum {string}
|
|
137
112
|
*/
|
|
138
|
-
export declare
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
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
|
-
|
|
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?:
|
|
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?:
|
|
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?:
|
|
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?:
|
|
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<
|
|
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?:
|
|
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?:
|
|
232
|
+
adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: UpdateQuotaParameterObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
259
233
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import
|
|
13
|
-
import
|
|
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:
|
|
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
|
}
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
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) =>
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -9,10 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
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?:
|
|
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?:
|
|
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<
|
|
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<
|
|
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?:
|
|
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?:
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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?:
|
|
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?:
|
|
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<
|
|
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<
|
|
154
|
+
blobUploadFileWithParameter(resourceId: string, path?: string, files?: Array<any>, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
156
155
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import
|
|
13
|
-
import
|
|
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:
|
|
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
|
}
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
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) =>
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any>>;
|