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