@coscine/api-client 2.9.0 → 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 +382 -349
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +382 -349
- 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 +7 -8
- package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Search/base.js +2 -4
- 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 +25 -17
- 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 +40 -40
- package/dist/types/index.d.ts +80 -80
- 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.Resources
|
|
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.4.3
|
|
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.Resources
|
|
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.4.3
|
|
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.Resources
|
|
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.4.3
|
|
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.Resources
|
|
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.4.3
|
|
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
|
*
|
|
17
18
|
* @export
|
|
@@ -23,7 +24,7 @@ export interface EntityId {
|
|
|
23
24
|
* @type {string}
|
|
24
25
|
* @memberof EntityId
|
|
25
26
|
*/
|
|
26
|
-
id?: string | null;
|
|
27
|
+
'id'?: string | null;
|
|
27
28
|
}
|
|
28
29
|
/**
|
|
29
30
|
*
|
|
@@ -36,13 +37,13 @@ export interface LoginUrls {
|
|
|
36
37
|
* @type {string}
|
|
37
38
|
* @memberof LoginUrls
|
|
38
39
|
*/
|
|
39
|
-
orcidUrl?: string | null;
|
|
40
|
+
'orcidUrl'?: string | null;
|
|
40
41
|
/**
|
|
41
42
|
*
|
|
42
43
|
* @type {Array<EntityId>}
|
|
43
44
|
* @memberof LoginUrls
|
|
44
45
|
*/
|
|
45
|
-
identityProviders?: Array<EntityId> | null;
|
|
46
|
+
'identityProviders'?: Array<EntityId> | null;
|
|
46
47
|
}
|
|
47
48
|
/**
|
|
48
49
|
* AccountApi - axios parameter creator
|
|
@@ -55,14 +56,14 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
|
|
|
55
56
|
* @param {*} [options] Override http request option.
|
|
56
57
|
* @throws {RequiredError}
|
|
57
58
|
*/
|
|
58
|
-
accountGetLoginUrls: (options?:
|
|
59
|
+
accountGetLoginUrls: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
60
|
/**
|
|
60
61
|
*
|
|
61
62
|
* @summary Route for logging the user out of Coscine
|
|
62
63
|
* @param {*} [options] Override http request option.
|
|
63
64
|
* @throws {RequiredError}
|
|
64
65
|
*/
|
|
65
|
-
accountLogout: (options?:
|
|
66
|
+
accountLogout: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
67
|
};
|
|
67
68
|
/**
|
|
68
69
|
* AccountApi - functional programming interface
|
|
@@ -75,14 +76,14 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
|
|
|
75
76
|
* @param {*} [options] Override http request option.
|
|
76
77
|
* @throws {RequiredError}
|
|
77
78
|
*/
|
|
78
|
-
accountGetLoginUrls(options?:
|
|
79
|
+
accountGetLoginUrls(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginUrls>>;
|
|
79
80
|
/**
|
|
80
81
|
*
|
|
81
82
|
* @summary Route for logging the user out of Coscine
|
|
82
83
|
* @param {*} [options] Override http request option.
|
|
83
84
|
* @throws {RequiredError}
|
|
84
85
|
*/
|
|
85
|
-
accountLogout(options?:
|
|
86
|
+
accountLogout(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
86
87
|
};
|
|
87
88
|
/**
|
|
88
89
|
* AccountApi - factory interface
|
|
@@ -102,7 +103,7 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
|
|
|
102
103
|
* @param {*} [options] Override http request option.
|
|
103
104
|
* @throws {RequiredError}
|
|
104
105
|
*/
|
|
105
|
-
accountLogout(options?: any): AxiosPromise<
|
|
106
|
+
accountLogout(options?: any): AxiosPromise<File>;
|
|
106
107
|
};
|
|
107
108
|
/**
|
|
108
109
|
* AccountApi - object-oriented interface
|
|
@@ -118,7 +119,7 @@ export declare class AccountApi extends BaseAPI {
|
|
|
118
119
|
* @throws {RequiredError}
|
|
119
120
|
* @memberof AccountApi
|
|
120
121
|
*/
|
|
121
|
-
accountGetLoginUrls(options?:
|
|
122
|
+
accountGetLoginUrls(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginUrls>>;
|
|
122
123
|
/**
|
|
123
124
|
*
|
|
124
125
|
* @summary Route for logging the user out of Coscine
|
|
@@ -126,7 +127,7 @@ export declare class AccountApi extends BaseAPI {
|
|
|
126
127
|
* @throws {RequiredError}
|
|
127
128
|
* @memberof AccountApi
|
|
128
129
|
*/
|
|
129
|
-
accountLogout(options?:
|
|
130
|
+
accountLogout(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
|
|
130
131
|
}
|
|
131
132
|
/**
|
|
132
133
|
* HomeApi - axios parameter creator
|
|
@@ -139,7 +140,7 @@ export declare const HomeApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
139
140
|
* @param {*} [options] Override http request option.
|
|
140
141
|
* @throws {RequiredError}
|
|
141
142
|
*/
|
|
142
|
-
homeIndex: (options?:
|
|
143
|
+
homeIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
143
144
|
};
|
|
144
145
|
/**
|
|
145
146
|
* HomeApi - functional programming interface
|
|
@@ -152,7 +153,7 @@ export declare const HomeApiFp: (configuration?: Configuration) => {
|
|
|
152
153
|
* @param {*} [options] Override http request option.
|
|
153
154
|
* @throws {RequiredError}
|
|
154
155
|
*/
|
|
155
|
-
homeIndex(options?:
|
|
156
|
+
homeIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
156
157
|
};
|
|
157
158
|
/**
|
|
158
159
|
* HomeApi - factory interface
|
|
@@ -165,7 +166,7 @@ export declare const HomeApiFactory: (configuration?: Configuration, basePath?:
|
|
|
165
166
|
* @param {*} [options] Override http request option.
|
|
166
167
|
* @throws {RequiredError}
|
|
167
168
|
*/
|
|
168
|
-
homeIndex(options?: any): AxiosPromise<
|
|
169
|
+
homeIndex(options?: any): AxiosPromise<File>;
|
|
169
170
|
};
|
|
170
171
|
/**
|
|
171
172
|
* HomeApi - object-oriented interface
|
|
@@ -181,7 +182,7 @@ export declare class HomeApi extends BaseAPI {
|
|
|
181
182
|
* @throws {RequiredError}
|
|
182
183
|
* @memberof HomeApi
|
|
183
184
|
*/
|
|
184
|
-
homeIndex(options?:
|
|
185
|
+
homeIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
|
|
185
186
|
}
|
|
186
187
|
/**
|
|
187
188
|
* MergeApi - axios parameter creator
|
|
@@ -194,14 +195,14 @@ export declare const MergeApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
194
195
|
* @param {*} [options] Override http request option.
|
|
195
196
|
* @throws {RequiredError}
|
|
196
197
|
*/
|
|
197
|
-
mergeCallback: (returnUrl?: string, options?:
|
|
198
|
+
mergeCallback: (returnUrl?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
198
199
|
/**
|
|
199
200
|
*
|
|
200
201
|
* @param {string} [returnUrl]
|
|
201
202
|
* @param {*} [options] Override http request option.
|
|
202
203
|
* @throws {RequiredError}
|
|
203
204
|
*/
|
|
204
|
-
mergeLogin: (returnUrl?: string, options?:
|
|
205
|
+
mergeLogin: (returnUrl?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
205
206
|
};
|
|
206
207
|
/**
|
|
207
208
|
* MergeApi - functional programming interface
|
|
@@ -214,14 +215,14 @@ export declare const MergeApiFp: (configuration?: Configuration) => {
|
|
|
214
215
|
* @param {*} [options] Override http request option.
|
|
215
216
|
* @throws {RequiredError}
|
|
216
217
|
*/
|
|
217
|
-
mergeCallback(returnUrl?: string, options?:
|
|
218
|
+
mergeCallback(returnUrl?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
218
219
|
/**
|
|
219
220
|
*
|
|
220
221
|
* @param {string} [returnUrl]
|
|
221
222
|
* @param {*} [options] Override http request option.
|
|
222
223
|
* @throws {RequiredError}
|
|
223
224
|
*/
|
|
224
|
-
mergeLogin(returnUrl?: string, options?:
|
|
225
|
+
mergeLogin(returnUrl?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
225
226
|
};
|
|
226
227
|
/**
|
|
227
228
|
* MergeApi - factory interface
|
|
@@ -234,14 +235,14 @@ export declare const MergeApiFactory: (configuration?: Configuration, basePath?:
|
|
|
234
235
|
* @param {*} [options] Override http request option.
|
|
235
236
|
* @throws {RequiredError}
|
|
236
237
|
*/
|
|
237
|
-
mergeCallback(returnUrl?: string, options?: any): AxiosPromise<
|
|
238
|
+
mergeCallback(returnUrl?: string, options?: any): AxiosPromise<File>;
|
|
238
239
|
/**
|
|
239
240
|
*
|
|
240
241
|
* @param {string} [returnUrl]
|
|
241
242
|
* @param {*} [options] Override http request option.
|
|
242
243
|
* @throws {RequiredError}
|
|
243
244
|
*/
|
|
244
|
-
mergeLogin(returnUrl?: string, options?: any): AxiosPromise<
|
|
245
|
+
mergeLogin(returnUrl?: string, options?: any): AxiosPromise<File>;
|
|
245
246
|
};
|
|
246
247
|
/**
|
|
247
248
|
* MergeApi - object-oriented interface
|
|
@@ -257,7 +258,7 @@ export declare class MergeApi extends BaseAPI {
|
|
|
257
258
|
* @throws {RequiredError}
|
|
258
259
|
* @memberof MergeApi
|
|
259
260
|
*/
|
|
260
|
-
mergeCallback(returnUrl?: string, options?:
|
|
261
|
+
mergeCallback(returnUrl?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
|
|
261
262
|
/**
|
|
262
263
|
*
|
|
263
264
|
* @param {string} [returnUrl]
|
|
@@ -265,7 +266,7 @@ export declare class MergeApi extends BaseAPI {
|
|
|
265
266
|
* @throws {RequiredError}
|
|
266
267
|
* @memberof MergeApi
|
|
267
268
|
*/
|
|
268
|
-
mergeLogin(returnUrl?: string, options?:
|
|
269
|
+
mergeLogin(returnUrl?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
|
|
269
270
|
}
|
|
270
271
|
/**
|
|
271
272
|
* ORCiDApi - axios parameter creator
|
|
@@ -279,7 +280,7 @@ export declare const ORCiDApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
279
280
|
* @param {*} [options] Override http request option.
|
|
280
281
|
* @throws {RequiredError}
|
|
281
282
|
*/
|
|
282
|
-
oRCiDLoginGET: (returnUrl?: string, options?:
|
|
283
|
+
oRCiDLoginGET: (returnUrl?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
283
284
|
/**
|
|
284
285
|
*
|
|
285
286
|
* @summary Execute ORCiD validation and login
|
|
@@ -288,7 +289,7 @@ export declare const ORCiDApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
288
289
|
* @param {*} [options] Override http request option.
|
|
289
290
|
* @throws {RequiredError}
|
|
290
291
|
*/
|
|
291
|
-
oRCiDLoginPOST: (oRCiDJWT?: string, returnUrl?: string, options?:
|
|
292
|
+
oRCiDLoginPOST: (oRCiDJWT?: string, returnUrl?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
292
293
|
};
|
|
293
294
|
/**
|
|
294
295
|
* ORCiDApi - functional programming interface
|
|
@@ -302,7 +303,7 @@ export declare const ORCiDApiFp: (configuration?: Configuration) => {
|
|
|
302
303
|
* @param {*} [options] Override http request option.
|
|
303
304
|
* @throws {RequiredError}
|
|
304
305
|
*/
|
|
305
|
-
oRCiDLoginGET(returnUrl?: string, options?:
|
|
306
|
+
oRCiDLoginGET(returnUrl?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
306
307
|
/**
|
|
307
308
|
*
|
|
308
309
|
* @summary Execute ORCiD validation and login
|
|
@@ -311,7 +312,7 @@ export declare const ORCiDApiFp: (configuration?: Configuration) => {
|
|
|
311
312
|
* @param {*} [options] Override http request option.
|
|
312
313
|
* @throws {RequiredError}
|
|
313
314
|
*/
|
|
314
|
-
oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?:
|
|
315
|
+
oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
315
316
|
};
|
|
316
317
|
/**
|
|
317
318
|
* ORCiDApi - factory interface
|
|
@@ -325,7 +326,7 @@ export declare const ORCiDApiFactory: (configuration?: Configuration, basePath?:
|
|
|
325
326
|
* @param {*} [options] Override http request option.
|
|
326
327
|
* @throws {RequiredError}
|
|
327
328
|
*/
|
|
328
|
-
oRCiDLoginGET(returnUrl?: string, options?: any): AxiosPromise<
|
|
329
|
+
oRCiDLoginGET(returnUrl?: string, options?: any): AxiosPromise<File>;
|
|
329
330
|
/**
|
|
330
331
|
*
|
|
331
332
|
* @summary Execute ORCiD validation and login
|
|
@@ -334,7 +335,7 @@ export declare const ORCiDApiFactory: (configuration?: Configuration, basePath?:
|
|
|
334
335
|
* @param {*} [options] Override http request option.
|
|
335
336
|
* @throws {RequiredError}
|
|
336
337
|
*/
|
|
337
|
-
oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: any): AxiosPromise<
|
|
338
|
+
oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: any): AxiosPromise<File>;
|
|
338
339
|
};
|
|
339
340
|
/**
|
|
340
341
|
* ORCiDApi - object-oriented interface
|
|
@@ -351,7 +352,7 @@ export declare class ORCiDApi extends BaseAPI {
|
|
|
351
352
|
* @throws {RequiredError}
|
|
352
353
|
* @memberof ORCiDApi
|
|
353
354
|
*/
|
|
354
|
-
oRCiDLoginGET(returnUrl?: string, options?:
|
|
355
|
+
oRCiDLoginGET(returnUrl?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
|
|
355
356
|
/**
|
|
356
357
|
*
|
|
357
358
|
* @summary Execute ORCiD validation and login
|
|
@@ -361,7 +362,7 @@ export declare class ORCiDApi extends BaseAPI {
|
|
|
361
362
|
* @throws {RequiredError}
|
|
362
363
|
* @memberof ORCiDApi
|
|
363
364
|
*/
|
|
364
|
-
oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?:
|
|
365
|
+
oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
|
|
365
366
|
}
|
|
366
367
|
/**
|
|
367
368
|
* ShibbolethApi - axios parameter creator
|
|
@@ -376,7 +377,7 @@ export declare const ShibbolethApiAxiosParamCreator: (configuration?: Configurat
|
|
|
376
377
|
* @param {*} [options] Override http request option.
|
|
377
378
|
* @throws {RequiredError}
|
|
378
379
|
*/
|
|
379
|
-
shibbolethCallback: (returnUrl?: string, remoteError?: string, options?:
|
|
380
|
+
shibbolethCallback: (returnUrl?: string, remoteError?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
380
381
|
/**
|
|
381
382
|
*
|
|
382
383
|
* @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.
|
|
@@ -385,7 +386,7 @@ export declare const ShibbolethApiAxiosParamCreator: (configuration?: Configurat
|
|
|
385
386
|
* @param {*} [options] Override http request option.
|
|
386
387
|
* @throws {RequiredError}
|
|
387
388
|
*/
|
|
388
|
-
shibbolethLogin: (returnUrl?: string, entityId?: string, options?:
|
|
389
|
+
shibbolethLogin: (returnUrl?: string, entityId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
389
390
|
};
|
|
390
391
|
/**
|
|
391
392
|
* ShibbolethApi - functional programming interface
|
|
@@ -400,7 +401,7 @@ export declare const ShibbolethApiFp: (configuration?: Configuration) => {
|
|
|
400
401
|
* @param {*} [options] Override http request option.
|
|
401
402
|
* @throws {RequiredError}
|
|
402
403
|
*/
|
|
403
|
-
shibbolethCallback(returnUrl?: string, remoteError?: string, options?:
|
|
404
|
+
shibbolethCallback(returnUrl?: string, remoteError?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
404
405
|
/**
|
|
405
406
|
*
|
|
406
407
|
* @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.
|
|
@@ -409,7 +410,7 @@ export declare const ShibbolethApiFp: (configuration?: Configuration) => {
|
|
|
409
410
|
* @param {*} [options] Override http request option.
|
|
410
411
|
* @throws {RequiredError}
|
|
411
412
|
*/
|
|
412
|
-
shibbolethLogin(returnUrl?: string, entityId?: string, options?:
|
|
413
|
+
shibbolethLogin(returnUrl?: string, entityId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
413
414
|
};
|
|
414
415
|
/**
|
|
415
416
|
* ShibbolethApi - factory interface
|
|
@@ -424,7 +425,7 @@ export declare const ShibbolethApiFactory: (configuration?: Configuration, baseP
|
|
|
424
425
|
* @param {*} [options] Override http request option.
|
|
425
426
|
* @throws {RequiredError}
|
|
426
427
|
*/
|
|
427
|
-
shibbolethCallback(returnUrl?: string, remoteError?: string, options?: any): AxiosPromise<
|
|
428
|
+
shibbolethCallback(returnUrl?: string, remoteError?: string, options?: any): AxiosPromise<File>;
|
|
428
429
|
/**
|
|
429
430
|
*
|
|
430
431
|
* @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.
|
|
@@ -433,7 +434,7 @@ export declare const ShibbolethApiFactory: (configuration?: Configuration, baseP
|
|
|
433
434
|
* @param {*} [options] Override http request option.
|
|
434
435
|
* @throws {RequiredError}
|
|
435
436
|
*/
|
|
436
|
-
shibbolethLogin(returnUrl?: string, entityId?: string, options?: any): AxiosPromise<
|
|
437
|
+
shibbolethLogin(returnUrl?: string, entityId?: string, options?: any): AxiosPromise<File>;
|
|
437
438
|
};
|
|
438
439
|
/**
|
|
439
440
|
* ShibbolethApi - object-oriented interface
|
|
@@ -451,7 +452,7 @@ export declare class ShibbolethApi extends BaseAPI {
|
|
|
451
452
|
* @throws {RequiredError}
|
|
452
453
|
* @memberof ShibbolethApi
|
|
453
454
|
*/
|
|
454
|
-
shibbolethCallback(returnUrl?: string, remoteError?: string, options?:
|
|
455
|
+
shibbolethCallback(returnUrl?: string, remoteError?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
|
|
455
456
|
/**
|
|
456
457
|
*
|
|
457
458
|
* @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.
|
|
@@ -461,5 +462,5 @@ export declare class ShibbolethApi extends BaseAPI {
|
|
|
461
462
|
* @throws {RequiredError}
|
|
462
463
|
* @memberof ShibbolethApi
|
|
463
464
|
*/
|
|
464
|
-
shibbolethLogin(returnUrl?: string, entityId?: string, options?:
|
|
465
|
+
shibbolethLogin(returnUrl?: string, entityId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
|
|
465
466
|
}
|
|
@@ -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.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 { 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
|
* Item Search Result Object
|
|
17
18
|
* @export
|
|
@@ -23,30 +24,37 @@ export interface ItemSearchResult {
|
|
|
23
24
|
* @type {string}
|
|
24
25
|
* @memberof ItemSearchResult
|
|
25
26
|
*/
|
|
26
|
-
graphName?: string | null;
|
|
27
|
+
'graphName'?: string | null;
|
|
27
28
|
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {
|
|
29
|
+
*
|
|
30
|
+
* @type {ItemSearchResultType}
|
|
30
31
|
* @memberof ItemSearchResult
|
|
31
32
|
*/
|
|
32
|
-
type?:
|
|
33
|
+
'type'?: ItemSearchResultType;
|
|
33
34
|
/**
|
|
34
35
|
* Search result fields
|
|
35
36
|
* @type {any}
|
|
36
37
|
* @memberof ItemSearchResult
|
|
37
38
|
*/
|
|
38
|
-
source?: any | null;
|
|
39
|
+
'source'?: any | null;
|
|
39
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* @type ItemSearchResultType
|
|
43
|
+
* Graph Name
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export type ItemSearchResultType = ItemType;
|
|
40
47
|
/**
|
|
41
48
|
*
|
|
42
49
|
* @export
|
|
43
50
|
* @enum {string}
|
|
44
51
|
*/
|
|
45
|
-
export declare
|
|
46
|
-
Metadata
|
|
47
|
-
Project
|
|
48
|
-
Resource
|
|
49
|
-
}
|
|
52
|
+
export declare const ItemType: {
|
|
53
|
+
readonly Metadata: "Metadata";
|
|
54
|
+
readonly Project: "Project";
|
|
55
|
+
readonly Resource: "Resource";
|
|
56
|
+
};
|
|
57
|
+
export type ItemType = typeof ItemType[keyof typeof ItemType];
|
|
50
58
|
/**
|
|
51
59
|
* SearchApi - axios parameter creator
|
|
52
60
|
* @export
|
|
@@ -64,7 +72,7 @@ export declare const SearchApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
64
72
|
* @param {*} [options] Override http request option.
|
|
65
73
|
* @throws {RequiredError}
|
|
66
74
|
*/
|
|
67
|
-
searchSearch: (searchQuery?: string, includeUsers?: boolean, useAdvancedSyntax?: boolean, includedLanguages?: Array<string>, pageNumber?: number, pageSize?: number, options?:
|
|
75
|
+
searchSearch: (searchQuery?: string, includeUsers?: boolean, useAdvancedSyntax?: boolean, includedLanguages?: Array<string>, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
76
|
};
|
|
69
77
|
/**
|
|
70
78
|
* SearchApi - functional programming interface
|
|
@@ -83,7 +91,7 @@ export declare const SearchApiFp: (configuration?: Configuration) => {
|
|
|
83
91
|
* @param {*} [options] Override http request option.
|
|
84
92
|
* @throws {RequiredError}
|
|
85
93
|
*/
|
|
86
|
-
searchSearch(searchQuery?: string, includeUsers?: boolean, useAdvancedSyntax?: boolean, includedLanguages?: Array<string>, pageNumber?: number, pageSize?: number, options?:
|
|
94
|
+
searchSearch(searchQuery?: string, includeUsers?: boolean, useAdvancedSyntax?: boolean, includedLanguages?: Array<string>, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ItemSearchResult>>>;
|
|
87
95
|
};
|
|
88
96
|
/**
|
|
89
97
|
* SearchApi - factory interface
|
|
@@ -124,5 +132,5 @@ export declare class SearchApi extends BaseAPI {
|
|
|
124
132
|
* @throws {RequiredError}
|
|
125
133
|
* @memberof SearchApi
|
|
126
134
|
*/
|
|
127
|
-
searchSearch(searchQuery?: string, includeUsers?: boolean, useAdvancedSyntax?: boolean, includedLanguages?: Array<string>, pageNumber?: number, pageSize?: number, options?:
|
|
135
|
+
searchSearch(searchQuery?: string, includeUsers?: boolean, useAdvancedSyntax?: boolean, includedLanguages?: Array<string>, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ItemSearchResult[]>>;
|
|
128
136
|
}
|
|
@@ -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).
|