@coscine/api-client 2.8.1 → 2.9.1

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