@coscine/api-client 2.9.1 → 2.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/dist/index.js +450 -388
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.umd.js +450 -388
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/lib/Coscine.Api.Admin/api.js +11 -10
  6. package/dist/lib/Coscine.Api.Admin/api.js.map +1 -1
  7. package/dist/lib/Coscine.Api.Admin/base.js +3 -1
  8. package/dist/lib/Coscine.Api.Admin/base.js.map +1 -1
  9. package/dist/lib/Coscine.Api.Admin/common.js +13 -21
  10. package/dist/lib/Coscine.Api.Admin/common.js.map +1 -1
  11. package/dist/lib/Coscine.Api.Blob/api.js +7 -7
  12. package/dist/lib/Coscine.Api.Blob/api.js.map +1 -1
  13. package/dist/lib/Coscine.Api.Blob/base.js +3 -1
  14. package/dist/lib/Coscine.Api.Blob/base.js.map +1 -1
  15. package/dist/lib/Coscine.Api.Blob/common.js +13 -21
  16. package/dist/lib/Coscine.Api.Blob/common.js.map +1 -1
  17. package/dist/lib/Coscine.Api.Metadata/api.js +6 -6
  18. package/dist/lib/Coscine.Api.Metadata/api.js.map +1 -1
  19. package/dist/lib/Coscine.Api.Metadata/base.js +3 -1
  20. package/dist/lib/Coscine.Api.Metadata/base.js.map +1 -1
  21. package/dist/lib/Coscine.Api.Metadata/common.js +13 -21
  22. package/dist/lib/Coscine.Api.Metadata/common.js.map +1 -1
  23. package/dist/lib/Coscine.Api.Notices/api.js +2 -2
  24. package/dist/lib/Coscine.Api.Notices/api.js.map +1 -1
  25. package/dist/lib/Coscine.Api.Notices/base.js +3 -1
  26. package/dist/lib/Coscine.Api.Notices/base.js.map +1 -1
  27. package/dist/lib/Coscine.Api.Notices/common.js +13 -21
  28. package/dist/lib/Coscine.Api.Notices/common.js.map +1 -1
  29. package/dist/lib/Coscine.Api.Organization/api.js +5 -5
  30. package/dist/lib/Coscine.Api.Organization/api.js.map +1 -1
  31. package/dist/lib/Coscine.Api.Organization/base.js +3 -1
  32. package/dist/lib/Coscine.Api.Organization/base.js.map +1 -1
  33. package/dist/lib/Coscine.Api.Organization/common.js +13 -21
  34. package/dist/lib/Coscine.Api.Organization/common.js.map +1 -1
  35. package/dist/lib/Coscine.Api.Pid/api.js +2 -2
  36. package/dist/lib/Coscine.Api.Pid/api.js.map +1 -1
  37. package/dist/lib/Coscine.Api.Pid/base.js +3 -1
  38. package/dist/lib/Coscine.Api.Pid/base.js.map +1 -1
  39. package/dist/lib/Coscine.Api.Pid/common.js +13 -21
  40. package/dist/lib/Coscine.Api.Pid/common.js.map +1 -1
  41. package/dist/lib/Coscine.Api.Project/api.js +36 -35
  42. package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
  43. package/dist/lib/Coscine.Api.Project/base.js +3 -1
  44. package/dist/lib/Coscine.Api.Project/base.js.map +1 -1
  45. package/dist/lib/Coscine.Api.Project/common.js +13 -21
  46. package/dist/lib/Coscine.Api.Project/common.js.map +1 -1
  47. package/dist/lib/Coscine.Api.Resources/api.js +105 -37
  48. package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
  49. package/dist/lib/Coscine.Api.Resources/base.js +4 -2
  50. package/dist/lib/Coscine.Api.Resources/base.js.map +1 -1
  51. package/dist/lib/Coscine.Api.Resources/common.js +14 -22
  52. package/dist/lib/Coscine.Api.Resources/common.js.map +1 -1
  53. package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
  54. package/dist/lib/Coscine.Api.Resources/index.js +1 -1
  55. package/dist/lib/Coscine.Api.STS/api.js +9 -9
  56. package/dist/lib/Coscine.Api.STS/api.js.map +1 -1
  57. package/dist/lib/Coscine.Api.STS/base.js +3 -1
  58. package/dist/lib/Coscine.Api.STS/base.js.map +1 -1
  59. package/dist/lib/Coscine.Api.STS/common.js +13 -21
  60. package/dist/lib/Coscine.Api.STS/common.js.map +1 -1
  61. package/dist/lib/Coscine.Api.Search/api.js +55 -14
  62. package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
  63. package/dist/lib/Coscine.Api.Search/base.js +3 -1
  64. package/dist/lib/Coscine.Api.Search/base.js.map +1 -1
  65. package/dist/lib/Coscine.Api.Search/common.js +13 -21
  66. package/dist/lib/Coscine.Api.Search/common.js.map +1 -1
  67. package/dist/lib/Coscine.Api.Token/api.js +5 -5
  68. package/dist/lib/Coscine.Api.Token/api.js.map +1 -1
  69. package/dist/lib/Coscine.Api.Token/base.js +3 -1
  70. package/dist/lib/Coscine.Api.Token/base.js.map +1 -1
  71. package/dist/lib/Coscine.Api.Token/common.js +13 -21
  72. package/dist/lib/Coscine.Api.Token/common.js.map +1 -1
  73. package/dist/lib/Coscine.Api.Tree/api.js +2 -2
  74. package/dist/lib/Coscine.Api.Tree/api.js.map +1 -1
  75. package/dist/lib/Coscine.Api.Tree/base.js +3 -1
  76. package/dist/lib/Coscine.Api.Tree/base.js.map +1 -1
  77. package/dist/lib/Coscine.Api.Tree/common.js +13 -21
  78. package/dist/lib/Coscine.Api.Tree/common.js.map +1 -1
  79. package/dist/lib/Coscine.Api.User/api.js +12 -12
  80. package/dist/lib/Coscine.Api.User/api.js.map +1 -1
  81. package/dist/lib/Coscine.Api.User/base.js +3 -1
  82. package/dist/lib/Coscine.Api.User/base.js.map +1 -1
  83. package/dist/lib/Coscine.Api.User/common.js +13 -21
  84. package/dist/lib/Coscine.Api.User/common.js.map +1 -1
  85. package/dist/types/Coscine.Api.Admin/api.d.ts +39 -65
  86. package/dist/types/Coscine.Api.Admin/base.d.ts +4 -3
  87. package/dist/types/Coscine.Api.Admin/common.d.ts +4 -4
  88. package/dist/types/Coscine.Api.Blob/api.d.ts +19 -20
  89. package/dist/types/Coscine.Api.Blob/base.d.ts +4 -3
  90. package/dist/types/Coscine.Api.Blob/common.d.ts +4 -4
  91. package/dist/types/Coscine.Api.Metadata/api.d.ts +31 -32
  92. package/dist/types/Coscine.Api.Metadata/base.d.ts +4 -3
  93. package/dist/types/Coscine.Api.Metadata/common.d.ts +4 -4
  94. package/dist/types/Coscine.Api.Notices/api.d.ts +16 -17
  95. package/dist/types/Coscine.Api.Notices/base.d.ts +4 -3
  96. package/dist/types/Coscine.Api.Notices/common.d.ts +4 -4
  97. package/dist/types/Coscine.Api.Organization/api.d.ts +23 -24
  98. package/dist/types/Coscine.Api.Organization/base.d.ts +4 -3
  99. package/dist/types/Coscine.Api.Organization/common.d.ts +4 -4
  100. package/dist/types/Coscine.Api.Pid/api.d.ts +17 -18
  101. package/dist/types/Coscine.Api.Pid/base.d.ts +4 -3
  102. package/dist/types/Coscine.Api.Pid/common.d.ts +4 -4
  103. package/dist/types/Coscine.Api.Project/api.d.ts +220 -262
  104. package/dist/types/Coscine.Api.Project/base.d.ts +4 -3
  105. package/dist/types/Coscine.Api.Project/common.d.ts +4 -4
  106. package/dist/types/Coscine.Api.Resources/api.d.ts +269 -295
  107. package/dist/types/Coscine.Api.Resources/base.d.ts +5 -4
  108. package/dist/types/Coscine.Api.Resources/common.d.ts +5 -5
  109. package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
  110. package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
  111. package/dist/types/Coscine.Api.STS/api.d.ts +41 -42
  112. package/dist/types/Coscine.Api.STS/base.d.ts +4 -3
  113. package/dist/types/Coscine.Api.STS/common.d.ts +4 -4
  114. package/dist/types/Coscine.Api.Search/api.d.ts +46 -22
  115. package/dist/types/Coscine.Api.Search/base.d.ts +4 -3
  116. package/dist/types/Coscine.Api.Search/common.d.ts +4 -4
  117. package/dist/types/Coscine.Api.Token/api.d.ts +33 -34
  118. package/dist/types/Coscine.Api.Token/base.d.ts +4 -3
  119. package/dist/types/Coscine.Api.Token/common.d.ts +4 -4
  120. package/dist/types/Coscine.Api.Tree/api.d.ts +11 -12
  121. package/dist/types/Coscine.Api.Tree/base.d.ts +4 -3
  122. package/dist/types/Coscine.Api.Tree/common.d.ts +4 -4
  123. package/dist/types/Coscine.Api.User/api.d.ts +71 -82
  124. package/dist/types/Coscine.Api.User/base.d.ts +4 -3
  125. package/dist/types/Coscine.Api.User/common.d.ts +4 -4
  126. package/dist/types/apis.d.ts +42 -41
  127. package/dist/types/index.d.ts +84 -82
  128. package/package.json +1 -1
@@ -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.4.3
5
+ * The version of the OpenAPI document: 3.4.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Configuration } from './configuration';
13
- import type { AxiosInstance, AxiosRequestConfig } from 'axios';
12
+ import { Configuration } from "./configuration";
13
+ import { AxiosInstance } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
15
  /**
16
16
  *
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
29
29
  */
30
30
  export interface RequestArgs {
31
31
  url: string;
32
- options: AxiosRequestConfig;
32
+ options: any;
33
33
  }
34
34
  /**
35
35
  *
@@ -50,5 +50,6 @@ export declare class BaseAPI {
50
50
  */
51
51
  export declare class RequiredError extends Error {
52
52
  field: string;
53
+ name: "RequiredError";
53
54
  constructor(field: string, msg?: string);
54
55
  }
@@ -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.4.3
5
+ * The version of the OpenAPI document: 3.4.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Configuration } from "./configuration";
13
- import type { RequestArgs } from "./base";
14
- import type { AxiosInstance, AxiosResponse } from 'axios';
12
+ import { Configuration } from "./configuration";
13
+ import { RequestArgs } from "./base";
14
+ import { AxiosInstance } from 'axios';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any>>;
@@ -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.4.3
5
+ * The version of the OpenAPI document: 3.4.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.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.4.3
5
+ * The version of the OpenAPI document: 3.4.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9,10 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
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';
12
+ import { Configuration } from './configuration';
13
+ import { AxiosPromise, AxiosInstance } from 'axios';
14
+ import { RequestArgs, BaseAPI } from './base';
16
15
  /**
17
16
  *
18
17
  * @export
@@ -24,7 +23,7 @@ export interface EntityId {
24
23
  * @type {string}
25
24
  * @memberof EntityId
26
25
  */
27
- 'id'?: string | null;
26
+ id?: string | null;
28
27
  }
29
28
  /**
30
29
  *
@@ -37,13 +36,13 @@ export interface LoginUrls {
37
36
  * @type {string}
38
37
  * @memberof LoginUrls
39
38
  */
40
- 'orcidUrl'?: string | null;
39
+ orcidUrl?: string | null;
41
40
  /**
42
41
  *
43
42
  * @type {Array<EntityId>}
44
43
  * @memberof LoginUrls
45
44
  */
46
- 'identityProviders'?: Array<EntityId> | null;
45
+ identityProviders?: Array<EntityId> | null;
47
46
  }
48
47
  /**
49
48
  * AccountApi - axios parameter creator
@@ -56,14 +55,14 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
56
55
  * @param {*} [options] Override http request option.
57
56
  * @throws {RequiredError}
58
57
  */
59
- accountGetLoginUrls: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
58
+ accountGetLoginUrls: (options?: any) => Promise<RequestArgs>;
60
59
  /**
61
60
  *
62
61
  * @summary Route for logging the user out of Coscine
63
62
  * @param {*} [options] Override http request option.
64
63
  * @throws {RequiredError}
65
64
  */
66
- accountLogout: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
+ accountLogout: (options?: any) => Promise<RequestArgs>;
67
66
  };
68
67
  /**
69
68
  * AccountApi - functional programming interface
@@ -76,14 +75,14 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
76
75
  * @param {*} [options] Override http request option.
77
76
  * @throws {RequiredError}
78
77
  */
79
- accountGetLoginUrls(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginUrls>>;
78
+ accountGetLoginUrls(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginUrls>>;
80
79
  /**
81
80
  *
82
81
  * @summary Route for logging the user out of Coscine
83
82
  * @param {*} [options] Override http request option.
84
83
  * @throws {RequiredError}
85
84
  */
86
- accountLogout(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
85
+ accountLogout(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
87
86
  };
88
87
  /**
89
88
  * AccountApi - factory interface
@@ -103,7 +102,7 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
103
102
  * @param {*} [options] Override http request option.
104
103
  * @throws {RequiredError}
105
104
  */
106
- accountLogout(options?: any): AxiosPromise<File>;
105
+ accountLogout(options?: any): AxiosPromise<any>;
107
106
  };
108
107
  /**
109
108
  * AccountApi - object-oriented interface
@@ -119,7 +118,7 @@ export declare class AccountApi extends BaseAPI {
119
118
  * @throws {RequiredError}
120
119
  * @memberof AccountApi
121
120
  */
122
- accountGetLoginUrls(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginUrls>>;
121
+ accountGetLoginUrls(options?: any): Promise<import("axios").AxiosResponse<LoginUrls>>;
123
122
  /**
124
123
  *
125
124
  * @summary Route for logging the user out of Coscine
@@ -127,7 +126,7 @@ export declare class AccountApi extends BaseAPI {
127
126
  * @throws {RequiredError}
128
127
  * @memberof AccountApi
129
128
  */
130
- accountLogout(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
129
+ accountLogout(options?: any): Promise<import("axios").AxiosResponse<any>>;
131
130
  }
132
131
  /**
133
132
  * HomeApi - axios parameter creator
@@ -140,7 +139,7 @@ export declare const HomeApiAxiosParamCreator: (configuration?: Configuration) =
140
139
  * @param {*} [options] Override http request option.
141
140
  * @throws {RequiredError}
142
141
  */
143
- homeIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
142
+ homeIndex: (options?: any) => Promise<RequestArgs>;
144
143
  };
145
144
  /**
146
145
  * HomeApi - functional programming interface
@@ -153,7 +152,7 @@ export declare const HomeApiFp: (configuration?: Configuration) => {
153
152
  * @param {*} [options] Override http request option.
154
153
  * @throws {RequiredError}
155
154
  */
156
- homeIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
155
+ homeIndex(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
157
156
  };
158
157
  /**
159
158
  * HomeApi - factory interface
@@ -166,7 +165,7 @@ export declare const HomeApiFactory: (configuration?: Configuration, basePath?:
166
165
  * @param {*} [options] Override http request option.
167
166
  * @throws {RequiredError}
168
167
  */
169
- homeIndex(options?: any): AxiosPromise<File>;
168
+ homeIndex(options?: any): AxiosPromise<any>;
170
169
  };
171
170
  /**
172
171
  * HomeApi - object-oriented interface
@@ -182,7 +181,7 @@ export declare class HomeApi extends BaseAPI {
182
181
  * @throws {RequiredError}
183
182
  * @memberof HomeApi
184
183
  */
185
- homeIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
184
+ homeIndex(options?: any): Promise<import("axios").AxiosResponse<any>>;
186
185
  }
187
186
  /**
188
187
  * MergeApi - axios parameter creator
@@ -195,14 +194,14 @@ export declare const MergeApiAxiosParamCreator: (configuration?: Configuration)
195
194
  * @param {*} [options] Override http request option.
196
195
  * @throws {RequiredError}
197
196
  */
198
- mergeCallback: (returnUrl?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
197
+ mergeCallback: (returnUrl?: string, options?: any) => Promise<RequestArgs>;
199
198
  /**
200
199
  *
201
200
  * @param {string} [returnUrl]
202
201
  * @param {*} [options] Override http request option.
203
202
  * @throws {RequiredError}
204
203
  */
205
- mergeLogin: (returnUrl?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
204
+ mergeLogin: (returnUrl?: string, options?: any) => Promise<RequestArgs>;
206
205
  };
207
206
  /**
208
207
  * MergeApi - functional programming interface
@@ -215,14 +214,14 @@ export declare const MergeApiFp: (configuration?: Configuration) => {
215
214
  * @param {*} [options] Override http request option.
216
215
  * @throws {RequiredError}
217
216
  */
218
- mergeCallback(returnUrl?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
217
+ mergeCallback(returnUrl?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
219
218
  /**
220
219
  *
221
220
  * @param {string} [returnUrl]
222
221
  * @param {*} [options] Override http request option.
223
222
  * @throws {RequiredError}
224
223
  */
225
- mergeLogin(returnUrl?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
224
+ mergeLogin(returnUrl?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
226
225
  };
227
226
  /**
228
227
  * MergeApi - factory interface
@@ -235,14 +234,14 @@ export declare const MergeApiFactory: (configuration?: Configuration, basePath?:
235
234
  * @param {*} [options] Override http request option.
236
235
  * @throws {RequiredError}
237
236
  */
238
- mergeCallback(returnUrl?: string, options?: any): AxiosPromise<File>;
237
+ mergeCallback(returnUrl?: string, options?: any): AxiosPromise<any>;
239
238
  /**
240
239
  *
241
240
  * @param {string} [returnUrl]
242
241
  * @param {*} [options] Override http request option.
243
242
  * @throws {RequiredError}
244
243
  */
245
- mergeLogin(returnUrl?: string, options?: any): AxiosPromise<File>;
244
+ mergeLogin(returnUrl?: string, options?: any): AxiosPromise<any>;
246
245
  };
247
246
  /**
248
247
  * MergeApi - object-oriented interface
@@ -258,7 +257,7 @@ export declare class MergeApi extends BaseAPI {
258
257
  * @throws {RequiredError}
259
258
  * @memberof MergeApi
260
259
  */
261
- mergeCallback(returnUrl?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
260
+ mergeCallback(returnUrl?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
262
261
  /**
263
262
  *
264
263
  * @param {string} [returnUrl]
@@ -266,7 +265,7 @@ export declare class MergeApi extends BaseAPI {
266
265
  * @throws {RequiredError}
267
266
  * @memberof MergeApi
268
267
  */
269
- mergeLogin(returnUrl?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
268
+ mergeLogin(returnUrl?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
270
269
  }
271
270
  /**
272
271
  * ORCiDApi - axios parameter creator
@@ -280,7 +279,7 @@ export declare const ORCiDApiAxiosParamCreator: (configuration?: Configuration)
280
279
  * @param {*} [options] Override http request option.
281
280
  * @throws {RequiredError}
282
281
  */
283
- oRCiDLoginGET: (returnUrl?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
282
+ oRCiDLoginGET: (returnUrl?: string, options?: any) => Promise<RequestArgs>;
284
283
  /**
285
284
  *
286
285
  * @summary Execute ORCiD validation and login
@@ -289,7 +288,7 @@ export declare const ORCiDApiAxiosParamCreator: (configuration?: Configuration)
289
288
  * @param {*} [options] Override http request option.
290
289
  * @throws {RequiredError}
291
290
  */
292
- oRCiDLoginPOST: (oRCiDJWT?: string, returnUrl?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
291
+ oRCiDLoginPOST: (oRCiDJWT?: string, returnUrl?: string, options?: any) => Promise<RequestArgs>;
293
292
  };
294
293
  /**
295
294
  * ORCiDApi - functional programming interface
@@ -303,7 +302,7 @@ export declare const ORCiDApiFp: (configuration?: Configuration) => {
303
302
  * @param {*} [options] Override http request option.
304
303
  * @throws {RequiredError}
305
304
  */
306
- oRCiDLoginGET(returnUrl?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
305
+ oRCiDLoginGET(returnUrl?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
307
306
  /**
308
307
  *
309
308
  * @summary Execute ORCiD validation and login
@@ -312,7 +311,7 @@ export declare const ORCiDApiFp: (configuration?: Configuration) => {
312
311
  * @param {*} [options] Override http request option.
313
312
  * @throws {RequiredError}
314
313
  */
315
- oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
314
+ oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
316
315
  };
317
316
  /**
318
317
  * ORCiDApi - factory interface
@@ -326,7 +325,7 @@ export declare const ORCiDApiFactory: (configuration?: Configuration, basePath?:
326
325
  * @param {*} [options] Override http request option.
327
326
  * @throws {RequiredError}
328
327
  */
329
- oRCiDLoginGET(returnUrl?: string, options?: any): AxiosPromise<File>;
328
+ oRCiDLoginGET(returnUrl?: string, options?: any): AxiosPromise<any>;
330
329
  /**
331
330
  *
332
331
  * @summary Execute ORCiD validation and login
@@ -335,7 +334,7 @@ export declare const ORCiDApiFactory: (configuration?: Configuration, basePath?:
335
334
  * @param {*} [options] Override http request option.
336
335
  * @throws {RequiredError}
337
336
  */
338
- oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: any): AxiosPromise<File>;
337
+ oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: any): AxiosPromise<any>;
339
338
  };
340
339
  /**
341
340
  * ORCiDApi - object-oriented interface
@@ -352,7 +351,7 @@ export declare class ORCiDApi extends BaseAPI {
352
351
  * @throws {RequiredError}
353
352
  * @memberof ORCiDApi
354
353
  */
355
- oRCiDLoginGET(returnUrl?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
354
+ oRCiDLoginGET(returnUrl?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
356
355
  /**
357
356
  *
358
357
  * @summary Execute ORCiD validation and login
@@ -362,7 +361,7 @@ export declare class ORCiDApi extends BaseAPI {
362
361
  * @throws {RequiredError}
363
362
  * @memberof ORCiDApi
364
363
  */
365
- oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
364
+ oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
366
365
  }
367
366
  /**
368
367
  * ShibbolethApi - axios parameter creator
@@ -377,7 +376,7 @@ export declare const ShibbolethApiAxiosParamCreator: (configuration?: Configurat
377
376
  * @param {*} [options] Override http request option.
378
377
  * @throws {RequiredError}
379
378
  */
380
- shibbolethCallback: (returnUrl?: string, remoteError?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
379
+ shibbolethCallback: (returnUrl?: string, remoteError?: string, options?: any) => Promise<RequestArgs>;
381
380
  /**
382
381
  *
383
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.
@@ -386,7 +385,7 @@ export declare const ShibbolethApiAxiosParamCreator: (configuration?: Configurat
386
385
  * @param {*} [options] Override http request option.
387
386
  * @throws {RequiredError}
388
387
  */
389
- shibbolethLogin: (returnUrl?: string, entityId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
388
+ shibbolethLogin: (returnUrl?: string, entityId?: string, options?: any) => Promise<RequestArgs>;
390
389
  };
391
390
  /**
392
391
  * ShibbolethApi - functional programming interface
@@ -401,7 +400,7 @@ export declare const ShibbolethApiFp: (configuration?: Configuration) => {
401
400
  * @param {*} [options] Override http request option.
402
401
  * @throws {RequiredError}
403
402
  */
404
- shibbolethCallback(returnUrl?: string, remoteError?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
403
+ shibbolethCallback(returnUrl?: string, remoteError?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
405
404
  /**
406
405
  *
407
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.
@@ -410,7 +409,7 @@ export declare const ShibbolethApiFp: (configuration?: Configuration) => {
410
409
  * @param {*} [options] Override http request option.
411
410
  * @throws {RequiredError}
412
411
  */
413
- shibbolethLogin(returnUrl?: string, entityId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
412
+ shibbolethLogin(returnUrl?: string, entityId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
414
413
  };
415
414
  /**
416
415
  * ShibbolethApi - factory interface
@@ -425,7 +424,7 @@ export declare const ShibbolethApiFactory: (configuration?: Configuration, baseP
425
424
  * @param {*} [options] Override http request option.
426
425
  * @throws {RequiredError}
427
426
  */
428
- shibbolethCallback(returnUrl?: string, remoteError?: string, options?: any): AxiosPromise<File>;
427
+ shibbolethCallback(returnUrl?: string, remoteError?: string, options?: any): AxiosPromise<any>;
429
428
  /**
430
429
  *
431
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.
@@ -434,7 +433,7 @@ export declare const ShibbolethApiFactory: (configuration?: Configuration, baseP
434
433
  * @param {*} [options] Override http request option.
435
434
  * @throws {RequiredError}
436
435
  */
437
- shibbolethLogin(returnUrl?: string, entityId?: string, options?: any): AxiosPromise<File>;
436
+ shibbolethLogin(returnUrl?: string, entityId?: string, options?: any): AxiosPromise<any>;
438
437
  };
439
438
  /**
440
439
  * ShibbolethApi - object-oriented interface
@@ -452,7 +451,7 @@ export declare class ShibbolethApi extends BaseAPI {
452
451
  * @throws {RequiredError}
453
452
  * @memberof ShibbolethApi
454
453
  */
455
- shibbolethCallback(returnUrl?: string, remoteError?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
454
+ shibbolethCallback(returnUrl?: string, remoteError?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
456
455
  /**
457
456
  *
458
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.
@@ -462,5 +461,5 @@ export declare class ShibbolethApi extends BaseAPI {
462
461
  * @throws {RequiredError}
463
462
  * @memberof ShibbolethApi
464
463
  */
465
- shibbolethLogin(returnUrl?: string, entityId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<File>>;
464
+ shibbolethLogin(returnUrl?: string, entityId?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
466
465
  }
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Configuration } from './configuration';
13
- import type { AxiosInstance, AxiosRequestConfig } from 'axios';
12
+ import { Configuration } from "./configuration";
13
+ import { AxiosInstance } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
15
  /**
16
16
  *
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
29
29
  */
30
30
  export interface RequestArgs {
31
31
  url: string;
32
- options: AxiosRequestConfig;
32
+ options: any;
33
33
  }
34
34
  /**
35
35
  *
@@ -50,5 +50,6 @@ export declare class BaseAPI {
50
50
  */
51
51
  export declare class RequiredError extends Error {
52
52
  field: string;
53
+ name: "RequiredError";
53
54
  constructor(field: string, msg?: string);
54
55
  }
@@ -9,9 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Configuration } from "./configuration";
13
- import type { RequestArgs } from "./base";
14
- import type { AxiosInstance, AxiosResponse } from 'axios';
12
+ import { Configuration } from "./configuration";
13
+ import { RequestArgs } from "./base";
14
+ import { AxiosInstance } from 'axios';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any>>;
@@ -9,10 +9,20 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
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';
12
+ import { Configuration } from './configuration';
13
+ import { AxiosPromise, AxiosInstance } from 'axios';
14
+ import { RequestArgs, BaseAPI } from './base';
15
+ /**
16
+ *
17
+ * @export
18
+ * @enum {string}
19
+ */
20
+ export declare enum CategoryFilter {
21
+ None = "None",
22
+ Resource = "Resource",
23
+ Project = "Project",
24
+ Metadata = "Metadata"
25
+ }
16
26
  /**
17
27
  * Item Search Result Object
18
28
  * @export
@@ -24,37 +34,43 @@ export interface ItemSearchResult {
24
34
  * @type {string}
25
35
  * @memberof ItemSearchResult
26
36
  */
27
- 'graphName'?: string | null;
37
+ graphName?: string;
28
38
  /**
29
- *
30
- * @type {ItemSearchResultType}
39
+ * Graph Name
40
+ * @type {ItemType}
31
41
  * @memberof ItemSearchResult
32
42
  */
33
- 'type'?: ItemSearchResultType;
43
+ type?: ItemType;
34
44
  /**
35
45
  * Search result fields
36
46
  * @type {any}
37
47
  * @memberof ItemSearchResult
38
48
  */
39
- 'source'?: any | null;
49
+ source?: any | null;
40
50
  }
41
51
  /**
42
- * @type ItemSearchResultType
43
- * Graph Name
52
+ *
44
53
  * @export
54
+ * @enum {string}
45
55
  */
46
- export type ItemSearchResultType = ItemType;
56
+ export declare enum ItemType {
57
+ Metadata = "Metadata",
58
+ Project = "Project",
59
+ Resource = "Resource"
60
+ }
47
61
  /**
48
62
  *
49
63
  * @export
50
64
  * @enum {string}
51
65
  */
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];
66
+ export declare enum OrderBy {
67
+ DateCreatedAsc = "Date_Created_Asc",
68
+ DateCreatedDesc = "Date_Created_Desc",
69
+ ScoreAsc = "Score_Asc",
70
+ ScoreDesc = "Score_Desc",
71
+ TitleAsc = "Title_Asc",
72
+ TitleDesc = "Title_Desc"
73
+ }
58
74
  /**
59
75
  * SearchApi - axios parameter creator
60
76
  * @export
@@ -67,12 +83,14 @@ export declare const SearchApiAxiosParamCreator: (configuration?: Configuration)
67
83
  * @param {boolean} [includeUsers] Specify user or only public metadata records could be found
68
84
  * @param {boolean} [useAdvancedSyntax] Set true for advanced Elasticsearch search syntax
69
85
  * @param {Array<string>} [includedLanguages] Set the used languages
86
+ * @param {CategoryFilter} [categoryFilter] Set the category filter
87
+ * @param {OrderBy} [orderBy] Set the order for sorting
70
88
  * @param {number} [pageNumber] The requested page number
71
89
  * @param {number} [pageSize] The size of a page
72
90
  * @param {*} [options] Override http request option.
73
91
  * @throws {RequiredError}
74
92
  */
75
- searchSearch: (searchQuery?: string, includeUsers?: boolean, useAdvancedSyntax?: boolean, includedLanguages?: Array<string>, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
93
+ searchSearch: (searchQuery?: string, includeUsers?: boolean, useAdvancedSyntax?: boolean, includedLanguages?: Array<string>, categoryFilter?: CategoryFilter, orderBy?: OrderBy, pageNumber?: number, pageSize?: number, options?: any) => Promise<RequestArgs>;
76
94
  };
77
95
  /**
78
96
  * SearchApi - functional programming interface
@@ -86,12 +104,14 @@ export declare const SearchApiFp: (configuration?: Configuration) => {
86
104
  * @param {boolean} [includeUsers] Specify user or only public metadata records could be found
87
105
  * @param {boolean} [useAdvancedSyntax] Set true for advanced Elasticsearch search syntax
88
106
  * @param {Array<string>} [includedLanguages] Set the used languages
107
+ * @param {CategoryFilter} [categoryFilter] Set the category filter
108
+ * @param {OrderBy} [orderBy] Set the order for sorting
89
109
  * @param {number} [pageNumber] The requested page number
90
110
  * @param {number} [pageSize] The size of a page
91
111
  * @param {*} [options] Override http request option.
92
112
  * @throws {RequiredError}
93
113
  */
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>>>;
114
+ searchSearch(searchQuery?: string, includeUsers?: boolean, useAdvancedSyntax?: boolean, includedLanguages?: Array<string>, categoryFilter?: CategoryFilter, orderBy?: OrderBy, pageNumber?: number, pageSize?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ItemSearchResult>>>;
95
115
  };
96
116
  /**
97
117
  * SearchApi - factory interface
@@ -105,12 +125,14 @@ export declare const SearchApiFactory: (configuration?: Configuration, basePath?
105
125
  * @param {boolean} [includeUsers] Specify user or only public metadata records could be found
106
126
  * @param {boolean} [useAdvancedSyntax] Set true for advanced Elasticsearch search syntax
107
127
  * @param {Array<string>} [includedLanguages] Set the used languages
128
+ * @param {CategoryFilter} [categoryFilter] Set the category filter
129
+ * @param {OrderBy} [orderBy] Set the order for sorting
108
130
  * @param {number} [pageNumber] The requested page number
109
131
  * @param {number} [pageSize] The size of a page
110
132
  * @param {*} [options] Override http request option.
111
133
  * @throws {RequiredError}
112
134
  */
113
- searchSearch(searchQuery?: string, includeUsers?: boolean, useAdvancedSyntax?: boolean, includedLanguages?: Array<string>, pageNumber?: number, pageSize?: number, options?: any): AxiosPromise<Array<ItemSearchResult>>;
135
+ searchSearch(searchQuery?: string, includeUsers?: boolean, useAdvancedSyntax?: boolean, includedLanguages?: Array<string>, categoryFilter?: CategoryFilter, orderBy?: OrderBy, pageNumber?: number, pageSize?: number, options?: any): AxiosPromise<Array<ItemSearchResult>>;
114
136
  };
115
137
  /**
116
138
  * SearchApi - object-oriented interface
@@ -126,11 +148,13 @@ export declare class SearchApi extends BaseAPI {
126
148
  * @param {boolean} [includeUsers] Specify user or only public metadata records could be found
127
149
  * @param {boolean} [useAdvancedSyntax] Set true for advanced Elasticsearch search syntax
128
150
  * @param {Array<string>} [includedLanguages] Set the used languages
151
+ * @param {CategoryFilter} [categoryFilter] Set the category filter
152
+ * @param {OrderBy} [orderBy] Set the order for sorting
129
153
  * @param {number} [pageNumber] The requested page number
130
154
  * @param {number} [pageSize] The size of a page
131
155
  * @param {*} [options] Override http request option.
132
156
  * @throws {RequiredError}
133
157
  * @memberof SearchApi
134
158
  */
135
- searchSearch(searchQuery?: string, includeUsers?: boolean, useAdvancedSyntax?: boolean, includedLanguages?: Array<string>, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ItemSearchResult[]>>;
159
+ searchSearch(searchQuery?: string, includeUsers?: boolean, useAdvancedSyntax?: boolean, includedLanguages?: Array<string>, categoryFilter?: CategoryFilter, orderBy?: OrderBy, pageNumber?: number, pageSize?: number, options?: any): Promise<import("axios").AxiosResponse<ItemSearchResult[]>>;
136
160
  }
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Configuration } from './configuration';
13
- import type { AxiosInstance, AxiosRequestConfig } from 'axios';
12
+ import { Configuration } from "./configuration";
13
+ import { AxiosInstance } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
15
  /**
16
16
  *
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
29
29
  */
30
30
  export interface RequestArgs {
31
31
  url: string;
32
- options: AxiosRequestConfig;
32
+ options: any;
33
33
  }
34
34
  /**
35
35
  *
@@ -50,5 +50,6 @@ export declare class BaseAPI {
50
50
  */
51
51
  export declare class RequiredError extends Error {
52
52
  field: string;
53
+ name: "RequiredError";
53
54
  constructor(field: string, msg?: string);
54
55
  }
@@ -9,9 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Configuration } from "./configuration";
13
- import type { RequestArgs } from "./base";
14
- import type { AxiosInstance, AxiosResponse } from 'axios';
12
+ import { Configuration } from "./configuration";
13
+ import { RequestArgs } from "./base";
14
+ import { AxiosInstance } from 'axios';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any>>;