@coscine/api-client 2.4.0 → 2.6.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 +1515 -532
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1520 -531
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/index.js +5 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Admin/api.js +1 -1
- package/dist/lib/Coscine.Api.Admin/base.js +1 -1
- package/dist/lib/Coscine.Api.Admin/common.js +1 -1
- package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Admin/index.js +6 -2
- package/dist/lib/Coscine.Api.Admin/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Blob/api.js +1 -1
- package/dist/lib/Coscine.Api.Blob/base.js +1 -1
- package/dist/lib/Coscine.Api.Blob/common.js +1 -1
- package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Blob/index.js +6 -2
- package/dist/lib/Coscine.Api.Blob/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Metadata/api.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/base.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/common.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/index.js +6 -2
- package/dist/lib/Coscine.Api.Metadata/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Notices/api.js +5 -1
- package/dist/lib/Coscine.Api.Notices/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Notices/base.js +1 -1
- package/dist/lib/Coscine.Api.Notices/common.js +1 -1
- package/dist/lib/Coscine.Api.Notices/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Notices/index.js +6 -2
- package/dist/lib/Coscine.Api.Notices/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Organization/index.js +5 -1
- package/dist/lib/Coscine.Api.Organization/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Pid/api.js +204 -0
- package/dist/lib/Coscine.Api.Pid/api.js.map +1 -0
- package/dist/lib/Coscine.Api.Pid/base.js +65 -0
- package/dist/lib/Coscine.Api.Pid/base.js.map +1 -0
- package/dist/lib/Coscine.Api.Pid/common.js +153 -0
- package/dist/lib/Coscine.Api.Pid/common.js.map +1 -0
- package/dist/lib/Coscine.Api.Pid/configuration.js +43 -0
- package/dist/lib/Coscine.Api.Pid/configuration.js.map +1 -0
- package/dist/lib/Coscine.Api.Pid/index.js +32 -0
- package/dist/lib/Coscine.Api.Pid/index.js.map +1 -0
- package/dist/lib/Coscine.Api.Project/api.js +1 -1
- package/dist/lib/Coscine.Api.Project/base.js +1 -1
- package/dist/lib/Coscine.Api.Project/common.js +1 -1
- package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Project/index.js +6 -2
- package/dist/lib/Coscine.Api.Project/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Resources/api.js +1 -1
- package/dist/lib/Coscine.Api.Resources/base.js +1 -1
- package/dist/lib/Coscine.Api.Resources/common.js +1 -1
- package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Resources/index.js +6 -2
- package/dist/lib/Coscine.Api.Resources/index.js.map +1 -1
- package/dist/lib/Coscine.Api.STS/api.js +802 -0
- package/dist/lib/Coscine.Api.STS/api.js.map +1 -0
- package/dist/lib/Coscine.Api.STS/base.js +65 -0
- package/dist/lib/Coscine.Api.STS/base.js.map +1 -0
- package/dist/lib/Coscine.Api.STS/common.js +153 -0
- package/dist/lib/Coscine.Api.STS/common.js.map +1 -0
- package/dist/lib/Coscine.Api.STS/configuration.js +43 -0
- package/dist/lib/Coscine.Api.STS/configuration.js.map +1 -0
- package/dist/lib/Coscine.Api.STS/index.js +32 -0
- package/dist/lib/Coscine.Api.STS/index.js.map +1 -0
- package/dist/lib/Coscine.Api.Search/api.js +17 -6
- package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Search/base.js +1 -1
- package/dist/lib/Coscine.Api.Search/common.js +1 -1
- package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Search/index.js +6 -2
- package/dist/lib/Coscine.Api.Search/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Token/index.js +5 -1
- package/dist/lib/Coscine.Api.Token/index.js.map +1 -1
- package/dist/lib/Coscine.Api.Tree/api.js +1 -1
- package/dist/lib/Coscine.Api.Tree/base.js +1 -1
- package/dist/lib/Coscine.Api.Tree/common.js +1 -1
- package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Tree/index.js +6 -2
- package/dist/lib/Coscine.Api.Tree/index.js.map +1 -1
- package/dist/lib/Coscine.Api.User/api.js +60 -2
- package/dist/lib/Coscine.Api.User/api.js.map +1 -1
- package/dist/lib/Coscine.Api.User/base.js +1 -1
- package/dist/lib/Coscine.Api.User/common.js +1 -1
- package/dist/lib/Coscine.Api.User/configuration.js +1 -1
- package/dist/lib/Coscine.Api.User/index.js +6 -2
- package/dist/lib/Coscine.Api.User/index.js.map +1 -1
- package/dist/lib/apis.js +41 -29
- package/dist/lib/apis.js.map +1 -1
- package/dist/lib/index.js +7 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/types/Coscine.Api.Admin/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/common.d.ts +1 -1
- 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 +1 -1
- package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
- 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 +1 -1
- package/dist/types/Coscine.Api.Metadata/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/api.d.ts +5 -1
- package/dist/types/Coscine.Api.Notices/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/api.d.ts +149 -0
- package/dist/types/Coscine.Api.Pid/base.d.ts +55 -0
- package/dist/types/Coscine.Api.Pid/common.d.ts +65 -0
- package/dist/types/Coscine.Api.Pid/configuration.d.ts +83 -0
- package/dist/types/Coscine.Api.Pid/index.d.ts +13 -0
- package/dist/types/Coscine.Api.Project/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
- 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 +1 -1
- package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
- 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 +465 -0
- package/dist/types/Coscine.Api.STS/base.d.ts +55 -0
- package/dist/types/Coscine.Api.STS/common.d.ts +65 -0
- package/dist/types/Coscine.Api.STS/configuration.d.ts +83 -0
- package/dist/types/Coscine.Api.STS/index.d.ts +13 -0
- package/dist/types/Coscine.Api.Search/api.d.ts +21 -452
- package/dist/types/Coscine.Api.Search/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/common.d.ts +1 -1
- 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.Tree/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
- 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 +38 -9
- package/dist/types/Coscine.Api.User/base.d.ts +1 -1
- package/dist/types/Coscine.Api.User/common.d.ts +1 -1
- 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 +26 -2
- package/dist/types/index.d.ts +52 -4
- package/package.json +3 -3
|
@@ -0,0 +1,465 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Coscine.Api.STS
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Configuration } from './configuration';
|
|
13
|
+
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
14
|
+
import { RequestArgs, BaseAPI } from './base';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface EntityId
|
|
19
|
+
*/
|
|
20
|
+
export interface EntityId {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof EntityId
|
|
25
|
+
*/
|
|
26
|
+
id?: string | null;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @export
|
|
31
|
+
* @interface LoginUrls
|
|
32
|
+
*/
|
|
33
|
+
export interface LoginUrls {
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof LoginUrls
|
|
38
|
+
*/
|
|
39
|
+
orcidUrl?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<EntityId>}
|
|
43
|
+
* @memberof LoginUrls
|
|
44
|
+
*/
|
|
45
|
+
identityProviders?: Array<EntityId> | null;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* AccountApi - axios parameter creator
|
|
49
|
+
* @export
|
|
50
|
+
*/
|
|
51
|
+
export declare const AccountApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @summary Return relevant URLs for logging the user in
|
|
55
|
+
* @param {*} [options] Override http request option.
|
|
56
|
+
* @throws {RequiredError}
|
|
57
|
+
*/
|
|
58
|
+
accountGetLoginUrls: (options?: any) => Promise<RequestArgs>;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @summary Route for logging the user out of Coscine
|
|
62
|
+
* @param {*} [options] Override http request option.
|
|
63
|
+
* @throws {RequiredError}
|
|
64
|
+
*/
|
|
65
|
+
accountLogout: (options?: any) => Promise<RequestArgs>;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* AccountApi - functional programming interface
|
|
69
|
+
* @export
|
|
70
|
+
*/
|
|
71
|
+
export declare const AccountApiFp: (configuration?: Configuration) => {
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @summary Return relevant URLs for logging the user in
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
accountGetLoginUrls(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginUrls>>;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @summary Route for logging the user out of Coscine
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
accountLogout(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* AccountApi - factory interface
|
|
89
|
+
* @export
|
|
90
|
+
*/
|
|
91
|
+
export declare const AccountApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @summary Return relevant URLs for logging the user in
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
accountGetLoginUrls(options?: any): AxiosPromise<LoginUrls>;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @summary Route for logging the user out of Coscine
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
accountLogout(options?: any): AxiosPromise<any>;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* AccountApi - object-oriented interface
|
|
109
|
+
* @export
|
|
110
|
+
* @class AccountApi
|
|
111
|
+
* @extends {BaseAPI}
|
|
112
|
+
*/
|
|
113
|
+
export declare class AccountApi extends BaseAPI {
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @summary Return relevant URLs for logging the user in
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
* @memberof AccountApi
|
|
120
|
+
*/
|
|
121
|
+
accountGetLoginUrls(options?: any): Promise<import("axios").AxiosResponse<LoginUrls>>;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @summary Route for logging the user out of Coscine
|
|
125
|
+
* @param {*} [options] Override http request option.
|
|
126
|
+
* @throws {RequiredError}
|
|
127
|
+
* @memberof AccountApi
|
|
128
|
+
*/
|
|
129
|
+
accountLogout(options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* HomeApi - axios parameter creator
|
|
133
|
+
* @export
|
|
134
|
+
*/
|
|
135
|
+
export declare const HomeApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
|
|
139
|
+
* @param {*} [options] Override http request option.
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
*/
|
|
142
|
+
homeIndex: (options?: any) => Promise<RequestArgs>;
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* HomeApi - functional programming interface
|
|
146
|
+
* @export
|
|
147
|
+
*/
|
|
148
|
+
export declare const HomeApiFp: (configuration?: Configuration) => {
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
homeIndex(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* HomeApi - factory interface
|
|
159
|
+
* @export
|
|
160
|
+
*/
|
|
161
|
+
export declare const HomeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
homeIndex(options?: any): AxiosPromise<any>;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* HomeApi - object-oriented interface
|
|
172
|
+
* @export
|
|
173
|
+
* @class HomeApi
|
|
174
|
+
* @extends {BaseAPI}
|
|
175
|
+
*/
|
|
176
|
+
export declare class HomeApi extends BaseAPI {
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @summary The controller that the user is automatically entering when accesing the route .../coscine/api/Coscine.STS/
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
* @memberof HomeApi
|
|
183
|
+
*/
|
|
184
|
+
homeIndex(options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* MergeApi - axios parameter creator
|
|
188
|
+
* @export
|
|
189
|
+
*/
|
|
190
|
+
export declare const MergeApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @param {string} [returnUrl]
|
|
194
|
+
* @param {*} [options] Override http request option.
|
|
195
|
+
* @throws {RequiredError}
|
|
196
|
+
*/
|
|
197
|
+
mergeCallback: (returnUrl?: string, options?: any) => Promise<RequestArgs>;
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @param {string} [returnUrl]
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
mergeLogin: (returnUrl?: string, options?: any) => Promise<RequestArgs>;
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* MergeApi - functional programming interface
|
|
208
|
+
* @export
|
|
209
|
+
*/
|
|
210
|
+
export declare const MergeApiFp: (configuration?: Configuration) => {
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @param {string} [returnUrl]
|
|
214
|
+
* @param {*} [options] Override http request option.
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
*/
|
|
217
|
+
mergeCallback(returnUrl?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @param {string} [returnUrl]
|
|
221
|
+
* @param {*} [options] Override http request option.
|
|
222
|
+
* @throws {RequiredError}
|
|
223
|
+
*/
|
|
224
|
+
mergeLogin(returnUrl?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
225
|
+
};
|
|
226
|
+
/**
|
|
227
|
+
* MergeApi - factory interface
|
|
228
|
+
* @export
|
|
229
|
+
*/
|
|
230
|
+
export declare const MergeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @param {string} [returnUrl]
|
|
234
|
+
* @param {*} [options] Override http request option.
|
|
235
|
+
* @throws {RequiredError}
|
|
236
|
+
*/
|
|
237
|
+
mergeCallback(returnUrl?: string, options?: any): AxiosPromise<any>;
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* @param {string} [returnUrl]
|
|
241
|
+
* @param {*} [options] Override http request option.
|
|
242
|
+
* @throws {RequiredError}
|
|
243
|
+
*/
|
|
244
|
+
mergeLogin(returnUrl?: string, options?: any): AxiosPromise<any>;
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* MergeApi - object-oriented interface
|
|
248
|
+
* @export
|
|
249
|
+
* @class MergeApi
|
|
250
|
+
* @extends {BaseAPI}
|
|
251
|
+
*/
|
|
252
|
+
export declare class MergeApi extends BaseAPI {
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @param {string} [returnUrl]
|
|
256
|
+
* @param {*} [options] Override http request option.
|
|
257
|
+
* @throws {RequiredError}
|
|
258
|
+
* @memberof MergeApi
|
|
259
|
+
*/
|
|
260
|
+
mergeCallback(returnUrl?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @param {string} [returnUrl]
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
* @memberof MergeApi
|
|
267
|
+
*/
|
|
268
|
+
mergeLogin(returnUrl?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* ORCiDApi - axios parameter creator
|
|
272
|
+
* @export
|
|
273
|
+
*/
|
|
274
|
+
export declare const ORCiDApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
275
|
+
/**
|
|
276
|
+
*
|
|
277
|
+
* @summary ORCiD Login Route
|
|
278
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
279
|
+
* @param {*} [options] Override http request option.
|
|
280
|
+
* @throws {RequiredError}
|
|
281
|
+
*/
|
|
282
|
+
oRCiDLoginGET: (returnUrl?: string, options?: any) => Promise<RequestArgs>;
|
|
283
|
+
/**
|
|
284
|
+
*
|
|
285
|
+
* @summary Execute ORCiD validation and login
|
|
286
|
+
* @param {string} [oRCiDJWT]
|
|
287
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
288
|
+
* @param {*} [options] Override http request option.
|
|
289
|
+
* @throws {RequiredError}
|
|
290
|
+
*/
|
|
291
|
+
oRCiDLoginPOST: (oRCiDJWT?: string, returnUrl?: string, options?: any) => Promise<RequestArgs>;
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* ORCiDApi - functional programming interface
|
|
295
|
+
* @export
|
|
296
|
+
*/
|
|
297
|
+
export declare const ORCiDApiFp: (configuration?: Configuration) => {
|
|
298
|
+
/**
|
|
299
|
+
*
|
|
300
|
+
* @summary ORCiD Login Route
|
|
301
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
302
|
+
* @param {*} [options] Override http request option.
|
|
303
|
+
* @throws {RequiredError}
|
|
304
|
+
*/
|
|
305
|
+
oRCiDLoginGET(returnUrl?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* @summary Execute ORCiD validation and login
|
|
309
|
+
* @param {string} [oRCiDJWT]
|
|
310
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
311
|
+
* @param {*} [options] Override http request option.
|
|
312
|
+
* @throws {RequiredError}
|
|
313
|
+
*/
|
|
314
|
+
oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* ORCiDApi - factory interface
|
|
318
|
+
* @export
|
|
319
|
+
*/
|
|
320
|
+
export declare const ORCiDApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
321
|
+
/**
|
|
322
|
+
*
|
|
323
|
+
* @summary ORCiD Login Route
|
|
324
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
325
|
+
* @param {*} [options] Override http request option.
|
|
326
|
+
* @throws {RequiredError}
|
|
327
|
+
*/
|
|
328
|
+
oRCiDLoginGET(returnUrl?: string, options?: any): AxiosPromise<any>;
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @summary Execute ORCiD validation and login
|
|
332
|
+
* @param {string} [oRCiDJWT]
|
|
333
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
334
|
+
* @param {*} [options] Override http request option.
|
|
335
|
+
* @throws {RequiredError}
|
|
336
|
+
*/
|
|
337
|
+
oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: any): AxiosPromise<any>;
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
* ORCiDApi - object-oriented interface
|
|
341
|
+
* @export
|
|
342
|
+
* @class ORCiDApi
|
|
343
|
+
* @extends {BaseAPI}
|
|
344
|
+
*/
|
|
345
|
+
export declare class ORCiDApi extends BaseAPI {
|
|
346
|
+
/**
|
|
347
|
+
*
|
|
348
|
+
* @summary ORCiD Login Route
|
|
349
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
350
|
+
* @param {*} [options] Override http request option.
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
* @memberof ORCiDApi
|
|
353
|
+
*/
|
|
354
|
+
oRCiDLoginGET(returnUrl?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @summary Execute ORCiD validation and login
|
|
358
|
+
* @param {string} [oRCiDJWT]
|
|
359
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
* @memberof ORCiDApi
|
|
363
|
+
*/
|
|
364
|
+
oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* ShibbolethApi - axios parameter creator
|
|
368
|
+
* @export
|
|
369
|
+
*/
|
|
370
|
+
export declare const ShibbolethApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
371
|
+
/**
|
|
372
|
+
*
|
|
373
|
+
* @summary Callback method to catch the login
|
|
374
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
375
|
+
* @param {string} [remoteError] Erros on remote login
|
|
376
|
+
* @param {*} [options] Override http request option.
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
*/
|
|
379
|
+
shibbolethCallback: (returnUrl?: string, remoteError?: string, options?: any) => Promise<RequestArgs>;
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* @summary This method is the central route for logging into an identity provider. On default, the user is redirected to the WAFY of the DFN-AAI. Setting the \"entityId\" parameter allows the application to redirect to a specific identity provider defined by DFN-AAI.
|
|
383
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
384
|
+
* @param {string} [entityId] Specific Identitiy Provider to be redirect to
|
|
385
|
+
* @param {*} [options] Override http request option.
|
|
386
|
+
* @throws {RequiredError}
|
|
387
|
+
*/
|
|
388
|
+
shibbolethLogin: (returnUrl?: string, entityId?: string, options?: any) => Promise<RequestArgs>;
|
|
389
|
+
};
|
|
390
|
+
/**
|
|
391
|
+
* ShibbolethApi - functional programming interface
|
|
392
|
+
* @export
|
|
393
|
+
*/
|
|
394
|
+
export declare const ShibbolethApiFp: (configuration?: Configuration) => {
|
|
395
|
+
/**
|
|
396
|
+
*
|
|
397
|
+
* @summary Callback method to catch the login
|
|
398
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
399
|
+
* @param {string} [remoteError] Erros on remote login
|
|
400
|
+
* @param {*} [options] Override http request option.
|
|
401
|
+
* @throws {RequiredError}
|
|
402
|
+
*/
|
|
403
|
+
shibbolethCallback(returnUrl?: string, remoteError?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
404
|
+
/**
|
|
405
|
+
*
|
|
406
|
+
* @summary This method is the central route for logging into an identity provider. On default, the user is redirected to the WAFY of the DFN-AAI. Setting the \"entityId\" parameter allows the application to redirect to a specific identity provider defined by DFN-AAI.
|
|
407
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
408
|
+
* @param {string} [entityId] Specific Identitiy Provider to be redirect to
|
|
409
|
+
* @param {*} [options] Override http request option.
|
|
410
|
+
* @throws {RequiredError}
|
|
411
|
+
*/
|
|
412
|
+
shibbolethLogin(returnUrl?: string, entityId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
413
|
+
};
|
|
414
|
+
/**
|
|
415
|
+
* ShibbolethApi - factory interface
|
|
416
|
+
* @export
|
|
417
|
+
*/
|
|
418
|
+
export declare const ShibbolethApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
419
|
+
/**
|
|
420
|
+
*
|
|
421
|
+
* @summary Callback method to catch the login
|
|
422
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
423
|
+
* @param {string} [remoteError] Erros on remote login
|
|
424
|
+
* @param {*} [options] Override http request option.
|
|
425
|
+
* @throws {RequiredError}
|
|
426
|
+
*/
|
|
427
|
+
shibbolethCallback(returnUrl?: string, remoteError?: string, options?: any): AxiosPromise<any>;
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @summary This method is the central route for logging into an identity provider. On default, the user is redirected to the WAFY of the DFN-AAI. Setting the \"entityId\" parameter allows the application to redirect to a specific identity provider defined by DFN-AAI.
|
|
431
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
432
|
+
* @param {string} [entityId] Specific Identitiy Provider to be redirect to
|
|
433
|
+
* @param {*} [options] Override http request option.
|
|
434
|
+
* @throws {RequiredError}
|
|
435
|
+
*/
|
|
436
|
+
shibbolethLogin(returnUrl?: string, entityId?: string, options?: any): AxiosPromise<any>;
|
|
437
|
+
};
|
|
438
|
+
/**
|
|
439
|
+
* ShibbolethApi - object-oriented interface
|
|
440
|
+
* @export
|
|
441
|
+
* @class ShibbolethApi
|
|
442
|
+
* @extends {BaseAPI}
|
|
443
|
+
*/
|
|
444
|
+
export declare class ShibbolethApi extends BaseAPI {
|
|
445
|
+
/**
|
|
446
|
+
*
|
|
447
|
+
* @summary Callback method to catch the login
|
|
448
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
449
|
+
* @param {string} [remoteError] Erros on remote login
|
|
450
|
+
* @param {*} [options] Override http request option.
|
|
451
|
+
* @throws {RequiredError}
|
|
452
|
+
* @memberof ShibbolethApi
|
|
453
|
+
*/
|
|
454
|
+
shibbolethCallback(returnUrl?: string, remoteError?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
455
|
+
/**
|
|
456
|
+
*
|
|
457
|
+
* @summary This method is the central route for logging into an identity provider. On default, the user is redirected to the WAFY of the DFN-AAI. Setting the \"entityId\" parameter allows the application to redirect to a specific identity provider defined by DFN-AAI.
|
|
458
|
+
* @param {string} [returnUrl] URL to be redirected to
|
|
459
|
+
* @param {string} [entityId] Specific Identitiy Provider to be redirect to
|
|
460
|
+
* @param {*} [options] Override http request option.
|
|
461
|
+
* @throws {RequiredError}
|
|
462
|
+
* @memberof ShibbolethApi
|
|
463
|
+
*/
|
|
464
|
+
shibbolethLogin(returnUrl?: string, entityId?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
465
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Coscine.Api.STS
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Configuration } from "./configuration";
|
|
13
|
+
import { AxiosInstance } from 'axios';
|
|
14
|
+
export declare const BASE_PATH: string;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare const COLLECTION_FORMATS: {
|
|
20
|
+
csv: string;
|
|
21
|
+
ssv: string;
|
|
22
|
+
tsv: string;
|
|
23
|
+
pipes: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @interface RequestArgs
|
|
29
|
+
*/
|
|
30
|
+
export interface RequestArgs {
|
|
31
|
+
url: string;
|
|
32
|
+
options: any;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @export
|
|
37
|
+
* @class BaseAPI
|
|
38
|
+
*/
|
|
39
|
+
export declare class BaseAPI {
|
|
40
|
+
protected basePath: string;
|
|
41
|
+
protected axios: AxiosInstance;
|
|
42
|
+
protected configuration: Configuration | undefined;
|
|
43
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @class RequiredError
|
|
49
|
+
* @extends {Error}
|
|
50
|
+
*/
|
|
51
|
+
export declare class RequiredError extends Error {
|
|
52
|
+
field: string;
|
|
53
|
+
name: "RequiredError";
|
|
54
|
+
constructor(field: string, msg?: string);
|
|
55
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Coscine.Api.STS
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Configuration } from "./configuration";
|
|
13
|
+
import { RequestArgs } from "./base";
|
|
14
|
+
import { AxiosInstance } from 'axios';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @throws {RequiredError}
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @export
|
|
44
|
+
*/
|
|
45
|
+
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @export
|
|
49
|
+
*/
|
|
50
|
+
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
55
|
+
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
60
|
+
export declare const toPathString: (url: URL) => string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Coscine.Api.STS
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface ConfigurationParameters {
|
|
13
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
|
+
username?: string;
|
|
15
|
+
password?: string;
|
|
16
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
17
|
+
basePath?: string;
|
|
18
|
+
baseOptions?: any;
|
|
19
|
+
formDataCtor?: new () => any;
|
|
20
|
+
}
|
|
21
|
+
export declare class Configuration {
|
|
22
|
+
/**
|
|
23
|
+
* parameter for apiKey security
|
|
24
|
+
* @param name security name
|
|
25
|
+
* @memberof Configuration
|
|
26
|
+
*/
|
|
27
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
28
|
+
/**
|
|
29
|
+
* parameter for basic security
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof Configuration
|
|
33
|
+
*/
|
|
34
|
+
username?: string;
|
|
35
|
+
/**
|
|
36
|
+
* parameter for basic security
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Configuration
|
|
40
|
+
*/
|
|
41
|
+
password?: string;
|
|
42
|
+
/**
|
|
43
|
+
* parameter for oauth2 security
|
|
44
|
+
* @param name security name
|
|
45
|
+
* @param scopes oauth2 scope
|
|
46
|
+
* @memberof Configuration
|
|
47
|
+
*/
|
|
48
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
49
|
+
/**
|
|
50
|
+
* override base path
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof Configuration
|
|
54
|
+
*/
|
|
55
|
+
basePath?: string;
|
|
56
|
+
/**
|
|
57
|
+
* base options for axios calls
|
|
58
|
+
*
|
|
59
|
+
* @type {any}
|
|
60
|
+
* @memberof Configuration
|
|
61
|
+
*/
|
|
62
|
+
baseOptions?: any;
|
|
63
|
+
/**
|
|
64
|
+
* The FormData constructor that will be used to create multipart form data
|
|
65
|
+
* requests. You can inject this here so that execution environments that
|
|
66
|
+
* do not support the FormData class can still run the generated client.
|
|
67
|
+
*
|
|
68
|
+
* @type {new () => FormData}
|
|
69
|
+
*/
|
|
70
|
+
formDataCtor?: new () => any;
|
|
71
|
+
constructor(param?: ConfigurationParameters);
|
|
72
|
+
/**
|
|
73
|
+
* Check if the given MIME is a JSON MIME.
|
|
74
|
+
* JSON MIME examples:
|
|
75
|
+
* application/json
|
|
76
|
+
* application/json; charset=UTF8
|
|
77
|
+
* APPLICATION/JSON
|
|
78
|
+
* application/vnd.company+json
|
|
79
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
80
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
81
|
+
*/
|
|
82
|
+
isJsonMime(mime: string): boolean;
|
|
83
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Coscine.Api.STS
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export * from "./api";
|
|
13
|
+
export * from "./configuration";
|