@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
|
* Used to parse the json request for add token.
|
|
18
17
|
* @export
|
|
@@ -24,13 +23,13 @@ export interface AddApiTokenParameter {
|
|
|
24
23
|
* @type {string}
|
|
25
24
|
* @memberof AddApiTokenParameter
|
|
26
25
|
*/
|
|
27
|
-
|
|
26
|
+
name?: string | null;
|
|
28
27
|
/**
|
|
29
28
|
* Gets or sets the expiration of the token.
|
|
30
29
|
* @type {number}
|
|
31
30
|
* @memberof AddApiTokenParameter
|
|
32
31
|
*/
|
|
33
|
-
|
|
32
|
+
expiration?: number | null;
|
|
34
33
|
}
|
|
35
34
|
/**
|
|
36
35
|
*
|
|
@@ -43,25 +42,25 @@ export interface ApiTokenObject {
|
|
|
43
42
|
* @type {string}
|
|
44
43
|
* @memberof ApiTokenObject
|
|
45
44
|
*/
|
|
46
|
-
|
|
45
|
+
tokenId?: string;
|
|
47
46
|
/**
|
|
48
47
|
*
|
|
49
48
|
* @type {string}
|
|
50
49
|
* @memberof ApiTokenObject
|
|
51
50
|
*/
|
|
52
|
-
|
|
51
|
+
name?: string | null;
|
|
53
52
|
/**
|
|
54
53
|
*
|
|
55
54
|
* @type {string}
|
|
56
55
|
* @memberof ApiTokenObject
|
|
57
56
|
*/
|
|
58
|
-
|
|
57
|
+
created?: string;
|
|
59
58
|
/**
|
|
60
59
|
*
|
|
61
60
|
* @type {string}
|
|
62
61
|
* @memberof ApiTokenObject
|
|
63
62
|
*/
|
|
64
|
-
|
|
63
|
+
expires?: string;
|
|
65
64
|
}
|
|
66
65
|
/**
|
|
67
66
|
*
|
|
@@ -74,31 +73,31 @@ export interface CreatedApiTokenObject {
|
|
|
74
73
|
* @type {string}
|
|
75
74
|
* @memberof CreatedApiTokenObject
|
|
76
75
|
*/
|
|
77
|
-
|
|
76
|
+
tokenId?: string;
|
|
78
77
|
/**
|
|
79
78
|
*
|
|
80
79
|
* @type {string}
|
|
81
80
|
* @memberof CreatedApiTokenObject
|
|
82
81
|
*/
|
|
83
|
-
|
|
82
|
+
name?: string | null;
|
|
84
83
|
/**
|
|
85
84
|
*
|
|
86
85
|
* @type {string}
|
|
87
86
|
* @memberof CreatedApiTokenObject
|
|
88
87
|
*/
|
|
89
|
-
|
|
88
|
+
created?: string;
|
|
90
89
|
/**
|
|
91
90
|
*
|
|
92
91
|
* @type {string}
|
|
93
92
|
* @memberof CreatedApiTokenObject
|
|
94
93
|
*/
|
|
95
|
-
|
|
94
|
+
expires?: string;
|
|
96
95
|
/**
|
|
97
96
|
* Gets or sets the jwt token value of the token.
|
|
98
97
|
* @type {string}
|
|
99
98
|
* @memberof CreatedApiTokenObject
|
|
100
99
|
*/
|
|
101
|
-
|
|
100
|
+
token?: string | null;
|
|
102
101
|
}
|
|
103
102
|
/**
|
|
104
103
|
* Retuned upon creation of a new token. Contains the jwt token.
|
|
@@ -111,7 +110,7 @@ export interface CreatedApiTokenObjectAllOf {
|
|
|
111
110
|
* @type {string}
|
|
112
111
|
* @memberof CreatedApiTokenObjectAllOf
|
|
113
112
|
*/
|
|
114
|
-
|
|
113
|
+
token?: string | null;
|
|
115
114
|
}
|
|
116
115
|
/**
|
|
117
116
|
* Contains the minimum and maximum token validity in days from today.
|
|
@@ -124,13 +123,13 @@ export interface TokenValidityObject {
|
|
|
124
123
|
* @type {number}
|
|
125
124
|
* @memberof TokenValidityObject
|
|
126
125
|
*/
|
|
127
|
-
|
|
126
|
+
minDays?: number;
|
|
128
127
|
/**
|
|
129
128
|
*
|
|
130
129
|
* @type {number}
|
|
131
130
|
* @memberof TokenValidityObject
|
|
132
131
|
*/
|
|
133
|
-
|
|
132
|
+
maxDays?: number;
|
|
134
133
|
}
|
|
135
134
|
/**
|
|
136
135
|
* TokenApi - axios parameter creator
|
|
@@ -144,14 +143,14 @@ export declare const TokenApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
144
143
|
* @param {*} [options] Override http request option.
|
|
145
144
|
* @throws {RequiredError}
|
|
146
145
|
*/
|
|
147
|
-
tokenAddToken: (addApiTokenParameter: AddApiTokenParameter, options?:
|
|
146
|
+
tokenAddToken: (addApiTokenParameter: AddApiTokenParameter, options?: any) => Promise<RequestArgs>;
|
|
148
147
|
/**
|
|
149
148
|
*
|
|
150
149
|
* @summary Get the specified token minumum and maximum validity in days.
|
|
151
150
|
* @param {*} [options] Override http request option.
|
|
152
151
|
* @throws {RequiredError}
|
|
153
152
|
*/
|
|
154
|
-
tokenGetTokenValidityBounds: (options?:
|
|
153
|
+
tokenGetTokenValidityBounds: (options?: any) => Promise<RequestArgs>;
|
|
155
154
|
/**
|
|
156
155
|
*
|
|
157
156
|
* @summary Get the specific token values.
|
|
@@ -159,14 +158,14 @@ export declare const TokenApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
159
158
|
* @param {*} [options] Override http request option.
|
|
160
159
|
* @throws {RequiredError}
|
|
161
160
|
*/
|
|
162
|
-
tokenGetUserToken: (tokenId: string, options?:
|
|
161
|
+
tokenGetUserToken: (tokenId: string, options?: any) => Promise<RequestArgs>;
|
|
163
162
|
/**
|
|
164
163
|
*
|
|
165
164
|
* @summary List all tokens of the current user.
|
|
166
165
|
* @param {*} [options] Override http request option.
|
|
167
166
|
* @throws {RequiredError}
|
|
168
167
|
*/
|
|
169
|
-
tokenGetUserTokens: (options?:
|
|
168
|
+
tokenGetUserTokens: (options?: any) => Promise<RequestArgs>;
|
|
170
169
|
/**
|
|
171
170
|
*
|
|
172
171
|
* @summary Revoke a specific token.
|
|
@@ -174,7 +173,7 @@ export declare const TokenApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
174
173
|
* @param {*} [options] Override http request option.
|
|
175
174
|
* @throws {RequiredError}
|
|
176
175
|
*/
|
|
177
|
-
tokenRevokeToken: (tokenId: string, options?:
|
|
176
|
+
tokenRevokeToken: (tokenId: string, options?: any) => Promise<RequestArgs>;
|
|
178
177
|
};
|
|
179
178
|
/**
|
|
180
179
|
* TokenApi - functional programming interface
|
|
@@ -188,14 +187,14 @@ export declare const TokenApiFp: (configuration?: Configuration) => {
|
|
|
188
187
|
* @param {*} [options] Override http request option.
|
|
189
188
|
* @throws {RequiredError}
|
|
190
189
|
*/
|
|
191
|
-
tokenAddToken(addApiTokenParameter: AddApiTokenParameter, options?:
|
|
190
|
+
tokenAddToken(addApiTokenParameter: AddApiTokenParameter, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatedApiTokenObject>>;
|
|
192
191
|
/**
|
|
193
192
|
*
|
|
194
193
|
* @summary Get the specified token minumum and maximum validity in days.
|
|
195
194
|
* @param {*} [options] Override http request option.
|
|
196
195
|
* @throws {RequiredError}
|
|
197
196
|
*/
|
|
198
|
-
tokenGetTokenValidityBounds(options?:
|
|
197
|
+
tokenGetTokenValidityBounds(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TokenValidityObject>>;
|
|
199
198
|
/**
|
|
200
199
|
*
|
|
201
200
|
* @summary Get the specific token values.
|
|
@@ -203,14 +202,14 @@ export declare const TokenApiFp: (configuration?: Configuration) => {
|
|
|
203
202
|
* @param {*} [options] Override http request option.
|
|
204
203
|
* @throws {RequiredError}
|
|
205
204
|
*/
|
|
206
|
-
tokenGetUserToken(tokenId: string, options?:
|
|
205
|
+
tokenGetUserToken(tokenId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiTokenObject>>;
|
|
207
206
|
/**
|
|
208
207
|
*
|
|
209
208
|
* @summary List all tokens of the current user.
|
|
210
209
|
* @param {*} [options] Override http request option.
|
|
211
210
|
* @throws {RequiredError}
|
|
212
211
|
*/
|
|
213
|
-
tokenGetUserTokens(options?:
|
|
212
|
+
tokenGetUserTokens(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ApiTokenObject>>>;
|
|
214
213
|
/**
|
|
215
214
|
*
|
|
216
215
|
* @summary Revoke a specific token.
|
|
@@ -218,7 +217,7 @@ export declare const TokenApiFp: (configuration?: Configuration) => {
|
|
|
218
217
|
* @param {*} [options] Override http request option.
|
|
219
218
|
* @throws {RequiredError}
|
|
220
219
|
*/
|
|
221
|
-
tokenRevokeToken(tokenId: string, options?:
|
|
220
|
+
tokenRevokeToken(tokenId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
222
221
|
};
|
|
223
222
|
/**
|
|
224
223
|
* TokenApi - factory interface
|
|
@@ -262,7 +261,7 @@ export declare const TokenApiFactory: (configuration?: Configuration, basePath?:
|
|
|
262
261
|
* @param {*} [options] Override http request option.
|
|
263
262
|
* @throws {RequiredError}
|
|
264
263
|
*/
|
|
265
|
-
tokenRevokeToken(tokenId: string, options?: any): AxiosPromise<
|
|
264
|
+
tokenRevokeToken(tokenId: string, options?: any): AxiosPromise<any>;
|
|
266
265
|
};
|
|
267
266
|
/**
|
|
268
267
|
* TokenApi - object-oriented interface
|
|
@@ -279,7 +278,7 @@ export declare class TokenApi extends BaseAPI {
|
|
|
279
278
|
* @throws {RequiredError}
|
|
280
279
|
* @memberof TokenApi
|
|
281
280
|
*/
|
|
282
|
-
tokenAddToken(addApiTokenParameter: AddApiTokenParameter, options?:
|
|
281
|
+
tokenAddToken(addApiTokenParameter: AddApiTokenParameter, options?: any): Promise<import("axios").AxiosResponse<CreatedApiTokenObject>>;
|
|
283
282
|
/**
|
|
284
283
|
*
|
|
285
284
|
* @summary Get the specified token minumum and maximum validity in days.
|
|
@@ -287,7 +286,7 @@ export declare class TokenApi extends BaseAPI {
|
|
|
287
286
|
* @throws {RequiredError}
|
|
288
287
|
* @memberof TokenApi
|
|
289
288
|
*/
|
|
290
|
-
tokenGetTokenValidityBounds(options?:
|
|
289
|
+
tokenGetTokenValidityBounds(options?: any): Promise<import("axios").AxiosResponse<TokenValidityObject>>;
|
|
291
290
|
/**
|
|
292
291
|
*
|
|
293
292
|
* @summary Get the specific token values.
|
|
@@ -296,7 +295,7 @@ export declare class TokenApi extends BaseAPI {
|
|
|
296
295
|
* @throws {RequiredError}
|
|
297
296
|
* @memberof TokenApi
|
|
298
297
|
*/
|
|
299
|
-
tokenGetUserToken(tokenId: string, options?:
|
|
298
|
+
tokenGetUserToken(tokenId: string, options?: any): Promise<import("axios").AxiosResponse<ApiTokenObject>>;
|
|
300
299
|
/**
|
|
301
300
|
*
|
|
302
301
|
* @summary List all tokens of the current user.
|
|
@@ -304,7 +303,7 @@ export declare class TokenApi extends BaseAPI {
|
|
|
304
303
|
* @throws {RequiredError}
|
|
305
304
|
* @memberof TokenApi
|
|
306
305
|
*/
|
|
307
|
-
tokenGetUserTokens(options?:
|
|
306
|
+
tokenGetUserTokens(options?: any): Promise<import("axios").AxiosResponse<ApiTokenObject[]>>;
|
|
308
307
|
/**
|
|
309
308
|
*
|
|
310
309
|
* @summary Revoke a specific token.
|
|
@@ -313,5 +312,5 @@ export declare class TokenApi extends BaseAPI {
|
|
|
313
312
|
* @throws {RequiredError}
|
|
314
313
|
* @memberof TokenApi
|
|
315
314
|
*/
|
|
316
|
-
tokenRevokeToken(tokenId: string, options?:
|
|
315
|
+
tokenRevokeToken(tokenId: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
317
316
|
}
|
|
@@ -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
|
* TreeApi - axios parameter creator
|
|
18
17
|
* @export
|
|
@@ -27,7 +26,7 @@ export declare const TreeApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
27
26
|
* @param {*} [options] Override http request option.
|
|
28
27
|
* @throws {RequiredError}
|
|
29
28
|
*/
|
|
30
|
-
treeGetMetadataWithParameter: (resourceId: string, path?: string, mimeType?: string, options?:
|
|
29
|
+
treeGetMetadataWithParameter: (resourceId: string, path?: string, mimeType?: string, options?: any) => Promise<RequestArgs>;
|
|
31
30
|
/**
|
|
32
31
|
*
|
|
33
32
|
* @summary This method stores the metadata of the file
|
|
@@ -37,7 +36,7 @@ export declare const TreeApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
37
36
|
* @param {*} [options] Override http request option.
|
|
38
37
|
* @throws {RequiredError}
|
|
39
38
|
*/
|
|
40
|
-
treeStoreMetadataForFileWithParameter: (resourceId: string, path?: string, mimeType?: string, options?:
|
|
39
|
+
treeStoreMetadataForFileWithParameter: (resourceId: string, path?: string, mimeType?: string, options?: any) => Promise<RequestArgs>;
|
|
41
40
|
};
|
|
42
41
|
/**
|
|
43
42
|
* TreeApi - functional programming interface
|
|
@@ -53,7 +52,7 @@ export declare const TreeApiFp: (configuration?: Configuration) => {
|
|
|
53
52
|
* @param {*} [options] Override http request option.
|
|
54
53
|
* @throws {RequiredError}
|
|
55
54
|
*/
|
|
56
|
-
treeGetMetadataWithParameter(resourceId: string, path?: string, mimeType?: string, options?:
|
|
55
|
+
treeGetMetadataWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
57
56
|
/**
|
|
58
57
|
*
|
|
59
58
|
* @summary This method stores the metadata of the file
|
|
@@ -63,7 +62,7 @@ export declare const TreeApiFp: (configuration?: Configuration) => {
|
|
|
63
62
|
* @param {*} [options] Override http request option.
|
|
64
63
|
* @throws {RequiredError}
|
|
65
64
|
*/
|
|
66
|
-
treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, mimeType?: string, options?:
|
|
65
|
+
treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
67
66
|
};
|
|
68
67
|
/**
|
|
69
68
|
* TreeApi - factory interface
|
|
@@ -79,7 +78,7 @@ export declare const TreeApiFactory: (configuration?: Configuration, basePath?:
|
|
|
79
78
|
* @param {*} [options] Override http request option.
|
|
80
79
|
* @throws {RequiredError}
|
|
81
80
|
*/
|
|
82
|
-
treeGetMetadataWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): AxiosPromise<
|
|
81
|
+
treeGetMetadataWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): AxiosPromise<any>;
|
|
83
82
|
/**
|
|
84
83
|
*
|
|
85
84
|
* @summary This method stores the metadata of the file
|
|
@@ -89,7 +88,7 @@ export declare const TreeApiFactory: (configuration?: Configuration, basePath?:
|
|
|
89
88
|
* @param {*} [options] Override http request option.
|
|
90
89
|
* @throws {RequiredError}
|
|
91
90
|
*/
|
|
92
|
-
treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): AxiosPromise<
|
|
91
|
+
treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): AxiosPromise<any>;
|
|
93
92
|
};
|
|
94
93
|
/**
|
|
95
94
|
* TreeApi - object-oriented interface
|
|
@@ -108,7 +107,7 @@ export declare class TreeApi extends BaseAPI {
|
|
|
108
107
|
* @throws {RequiredError}
|
|
109
108
|
* @memberof TreeApi
|
|
110
109
|
*/
|
|
111
|
-
treeGetMetadataWithParameter(resourceId: string, path?: string, mimeType?: string, options?:
|
|
110
|
+
treeGetMetadataWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
112
111
|
/**
|
|
113
112
|
*
|
|
114
113
|
* @summary This method stores the metadata of the file
|
|
@@ -119,5 +118,5 @@ export declare class TreeApi extends BaseAPI {
|
|
|
119
118
|
* @throws {RequiredError}
|
|
120
119
|
* @memberof TreeApi
|
|
121
120
|
*/
|
|
122
|
-
treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, mimeType?: string, options?:
|
|
121
|
+
treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
123
122
|
}
|
|
@@ -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>>;
|