@coscine/api-client 2.5.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 +1237 -502
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1241 -501
- 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 +1 -1
- package/dist/lib/Coscine.Api.Pid/base.js +2 -2
- package/dist/lib/Coscine.Api.Pid/common.js +1 -1
- package/dist/lib/Coscine.Api.Pid/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Pid/index.js +6 -2
- package/dist/lib/Coscine.Api.Pid/index.js.map +1 -1
- 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 +5 -5
- package/dist/lib/Coscine.Api.Search/base.js +2 -2
- 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 +24 -14
- package/dist/lib/apis.js.map +1 -1
- package/dist/lib/index.js +6 -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 +1 -1
- package/dist/types/Coscine.Api.Pid/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/common.d.ts +1 -1
- 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 +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 +5 -5
- 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 +22 -2
- package/dist/types/index.d.ts +44 -4
- package/package.json +3 -3
|
@@ -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";
|
|
@@ -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.5.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -67,7 +67,7 @@ export interface SearchResult {
|
|
|
67
67
|
export declare const SearchApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
|
-
* @summary Search
|
|
70
|
+
* @summary Search Elasticsearch
|
|
71
71
|
* @param {string} [query] Elasticsearch query
|
|
72
72
|
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
73
73
|
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
@@ -84,7 +84,7 @@ export declare const SearchApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
84
84
|
export declare const SearchApiFp: (configuration?: Configuration) => {
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
|
-
* @summary Search
|
|
87
|
+
* @summary Search Elasticsearch
|
|
88
88
|
* @param {string} [query] Elasticsearch query
|
|
89
89
|
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
90
90
|
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
@@ -101,7 +101,7 @@ export declare const SearchApiFp: (configuration?: Configuration) => {
|
|
|
101
101
|
export declare const SearchApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
102
102
|
/**
|
|
103
103
|
*
|
|
104
|
-
* @summary Search
|
|
104
|
+
* @summary Search Elasticsearch
|
|
105
105
|
* @param {string} [query] Elasticsearch query
|
|
106
106
|
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
107
107
|
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
@@ -120,7 +120,7 @@ export declare const SearchApiFactory: (configuration?: Configuration, basePath?
|
|
|
120
120
|
export declare class SearchApi extends BaseAPI {
|
|
121
121
|
/**
|
|
122
122
|
*
|
|
123
|
-
* @summary Search
|
|
123
|
+
* @summary Search Elasticsearch
|
|
124
124
|
* @param {string} [query] Elasticsearch query
|
|
125
125
|
* @param {boolean} [user] Specify user or only public metadata records could be found
|
|
126
126
|
* @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
|
|
@@ -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.5.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.5.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.5.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.5.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.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.8.
|
|
5
|
+
* The version of the OpenAPI document: 2.8.5
|
|
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.8.
|
|
5
|
+
* The version of the OpenAPI document: 2.8.5
|
|
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.8.
|
|
5
|
+
* The version of the OpenAPI document: 2.8.5
|
|
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.8.
|
|
5
|
+
* The version of the OpenAPI document: 2.8.5
|
|
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.8.
|
|
5
|
+
* The version of the OpenAPI document: 2.8.5
|
|
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.User
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -151,10 +151,10 @@ export interface TitleObject {
|
|
|
151
151
|
export interface Tos {
|
|
152
152
|
/**
|
|
153
153
|
* The TOS version
|
|
154
|
-
* @type {string}
|
|
154
|
+
* @type {Array<string>}
|
|
155
155
|
* @memberof Tos
|
|
156
156
|
*/
|
|
157
|
-
version?: string | null;
|
|
157
|
+
version?: Array<string> | null;
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
160
|
*
|
|
@@ -429,6 +429,13 @@ export declare const TOSApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
429
429
|
* @throws {RequiredError}
|
|
430
430
|
*/
|
|
431
431
|
tOSAcceptCurrentTOSVersion: (options?: any) => Promise<RequestArgs>;
|
|
432
|
+
/**
|
|
433
|
+
*
|
|
434
|
+
* @summary Returns the TOS Versions accepted by the current user.
|
|
435
|
+
* @param {*} [options] Override http request option.
|
|
436
|
+
* @throws {RequiredError}
|
|
437
|
+
*/
|
|
438
|
+
tOSAcceptedTOSVersion: (options?: any) => Promise<RequestArgs>;
|
|
432
439
|
/**
|
|
433
440
|
*
|
|
434
441
|
* @summary Returns the current TOS Version.
|
|
@@ -448,14 +455,21 @@ export declare const TOSApiFp: (configuration?: Configuration) => {
|
|
|
448
455
|
* @param {*} [options] Override http request option.
|
|
449
456
|
* @throws {RequiredError}
|
|
450
457
|
*/
|
|
451
|
-
tOSAcceptCurrentTOSVersion(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
458
|
+
tOSAcceptCurrentTOSVersion(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
459
|
+
/**
|
|
460
|
+
*
|
|
461
|
+
* @summary Returns the TOS Versions accepted by the current user.
|
|
462
|
+
* @param {*} [options] Override http request option.
|
|
463
|
+
* @throws {RequiredError}
|
|
464
|
+
*/
|
|
465
|
+
tOSAcceptedTOSVersion(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tos>>;
|
|
452
466
|
/**
|
|
453
467
|
*
|
|
454
468
|
* @summary Returns the current TOS Version.
|
|
455
469
|
* @param {*} [options] Override http request option.
|
|
456
470
|
* @throws {RequiredError}
|
|
457
471
|
*/
|
|
458
|
-
tOSGetCurrentTOSVersion(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
472
|
+
tOSGetCurrentTOSVersion(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
459
473
|
};
|
|
460
474
|
/**
|
|
461
475
|
* TOSApi - factory interface
|
|
@@ -468,14 +482,21 @@ export declare const TOSApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
468
482
|
* @param {*} [options] Override http request option.
|
|
469
483
|
* @throws {RequiredError}
|
|
470
484
|
*/
|
|
471
|
-
tOSAcceptCurrentTOSVersion(options?: any): AxiosPromise<
|
|
485
|
+
tOSAcceptCurrentTOSVersion(options?: any): AxiosPromise<string>;
|
|
486
|
+
/**
|
|
487
|
+
*
|
|
488
|
+
* @summary Returns the TOS Versions accepted by the current user.
|
|
489
|
+
* @param {*} [options] Override http request option.
|
|
490
|
+
* @throws {RequiredError}
|
|
491
|
+
*/
|
|
492
|
+
tOSAcceptedTOSVersion(options?: any): AxiosPromise<Tos>;
|
|
472
493
|
/**
|
|
473
494
|
*
|
|
474
495
|
* @summary Returns the current TOS Version.
|
|
475
496
|
* @param {*} [options] Override http request option.
|
|
476
497
|
* @throws {RequiredError}
|
|
477
498
|
*/
|
|
478
|
-
tOSGetCurrentTOSVersion(options?: any): AxiosPromise<
|
|
499
|
+
tOSGetCurrentTOSVersion(options?: any): AxiosPromise<string>;
|
|
479
500
|
};
|
|
480
501
|
/**
|
|
481
502
|
* TOSApi - object-oriented interface
|
|
@@ -491,7 +512,15 @@ export declare class TOSApi extends BaseAPI {
|
|
|
491
512
|
* @throws {RequiredError}
|
|
492
513
|
* @memberof TOSApi
|
|
493
514
|
*/
|
|
494
|
-
tOSAcceptCurrentTOSVersion(options?: any): Promise<import("axios").AxiosResponse<
|
|
515
|
+
tOSAcceptCurrentTOSVersion(options?: any): Promise<import("axios").AxiosResponse<string>>;
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @summary Returns the TOS Versions accepted by the current user.
|
|
519
|
+
* @param {*} [options] Override http request option.
|
|
520
|
+
* @throws {RequiredError}
|
|
521
|
+
* @memberof TOSApi
|
|
522
|
+
*/
|
|
523
|
+
tOSAcceptedTOSVersion(options?: any): Promise<import("axios").AxiosResponse<Tos>>;
|
|
495
524
|
/**
|
|
496
525
|
*
|
|
497
526
|
* @summary Returns the current TOS Version.
|
|
@@ -499,7 +528,7 @@ export declare class TOSApi extends BaseAPI {
|
|
|
499
528
|
* @throws {RequiredError}
|
|
500
529
|
* @memberof TOSApi
|
|
501
530
|
*/
|
|
502
|
-
tOSGetCurrentTOSVersion(options?: any): Promise<import("axios").AxiosResponse<
|
|
531
|
+
tOSGetCurrentTOSVersion(options?: any): Promise<import("axios").AxiosResponse<string>>;
|
|
503
532
|
}
|
|
504
533
|
/**
|
|
505
534
|
* TitleApi - axios parameter creator
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Coscine.Api.User
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.1.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.User
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.1.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.User
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.1.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.User
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/types/apis.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { AxiosInstance } from 'axios';
|
|
2
2
|
declare function implementations(axios?: AxiosInstance): {
|
|
3
|
+
AccountApi: {
|
|
4
|
+
accountGetLoginUrls(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.STS/api").LoginUrls>;
|
|
5
|
+
accountLogout(options?: any): import("axios").AxiosPromise<any>;
|
|
6
|
+
};
|
|
3
7
|
AdminApi: {
|
|
4
8
|
adminGetProject(projectString: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Admin/api").AdminProjectObject>;
|
|
5
9
|
adminUpdateQuota(projectId: string, resourceTypeId: string, updateQuotaParameterObject: import("./Coscine.Api.Admin/api").UpdateQuotaParameterObject, options?: any): import("axios").AxiosPromise<any>;
|
|
@@ -17,12 +21,19 @@ declare function implementations(axios?: AxiosInstance): {
|
|
|
17
21
|
DisciplineApi: {
|
|
18
22
|
disciplineIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").DisciplineObject[]>;
|
|
19
23
|
};
|
|
24
|
+
HomeApi: {
|
|
25
|
+
homeIndex(options?: any): import("axios").AxiosPromise<any>;
|
|
26
|
+
};
|
|
20
27
|
LanguageApi: {
|
|
21
28
|
languageIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User/api").LanguageObject[]>;
|
|
22
29
|
};
|
|
23
30
|
LicenseApi: {
|
|
24
31
|
licenseIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").LicenseObject[]>;
|
|
25
32
|
};
|
|
33
|
+
MergeApi: {
|
|
34
|
+
mergeCallback(returnUrl?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
35
|
+
mergeLogin(returnUrl?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
36
|
+
};
|
|
26
37
|
MetadataApi: {
|
|
27
38
|
metadataGetClassInstances(className: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Metadata/api").BilingualLabels>;
|
|
28
39
|
metadataGetProfile(profile: string, options?: any): import("axios").AxiosPromise<any>;
|
|
@@ -35,6 +46,10 @@ declare function implementations(axios?: AxiosInstance): {
|
|
|
35
46
|
noticeGetMaintenance(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Notices/api").MaintenanceReturnObject>;
|
|
36
47
|
noticeGetNotice(documentSlug: string, language?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
37
48
|
};
|
|
49
|
+
ORCiDApi: {
|
|
50
|
+
oRCiDLoginGET(returnUrl?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
51
|
+
oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
52
|
+
};
|
|
38
53
|
OrganizationApi: {
|
|
39
54
|
organizationGetOrganization(url: string, options?: any): import("axios").AxiosPromise<any>;
|
|
40
55
|
organizationGetROR(filter?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
@@ -97,6 +112,10 @@ declare function implementations(axios?: AxiosInstance): {
|
|
|
97
112
|
SearchApi: {
|
|
98
113
|
searchSearch(query?: string, user?: boolean, adv?: boolean, languages?: string[], options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Search/api").SearchResult>;
|
|
99
114
|
};
|
|
115
|
+
ShibbolethApi: {
|
|
116
|
+
shibbolethCallback(returnUrl?: string, remoteError?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
117
|
+
shibbolethLogin(returnUrl?: string, entityId?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
118
|
+
};
|
|
100
119
|
SubProjectApi: {
|
|
101
120
|
subProjectGet(parentId: string, options?: any): import("axios").AxiosPromise<any>;
|
|
102
121
|
subProjectGetAccessibleParent(childId: string, options?: any): import("axios").AxiosPromise<any>;
|
|
@@ -112,8 +131,9 @@ declare function implementations(axios?: AxiosInstance): {
|
|
|
112
131
|
tokenRevokeToken(tokenId: string, options?: any): import("axios").AxiosPromise<any>;
|
|
113
132
|
};
|
|
114
133
|
TOSApi: {
|
|
115
|
-
tOSAcceptCurrentTOSVersion(options?: any): import("axios").AxiosPromise<
|
|
116
|
-
|
|
134
|
+
tOSAcceptCurrentTOSVersion(options?: any): import("axios").AxiosPromise<string>;
|
|
135
|
+
tOSAcceptedTOSVersion(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User/api").Tos>;
|
|
136
|
+
tOSGetCurrentTOSVersion(options?: any): import("axios").AxiosPromise<string>;
|
|
117
137
|
};
|
|
118
138
|
TreeApi: {
|
|
119
139
|
treeGetMetadataWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): import("axios").AxiosPromise<any>;
|