@coscine/api-client 2.12.0 → 3.1.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 (170) hide show
  1. package/README.md +5 -1
  2. package/dist/index.js +4603 -4213
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.umd.js +4611 -4220
  5. package/dist/index.umd.js.map +1 -1
  6. package/dist/lib/Coscine.Api/api.js +7682 -0
  7. package/dist/lib/Coscine.Api/api.js.map +1 -0
  8. package/dist/lib/{Coscine.Api.Notices → Coscine.Api}/base.js +5 -5
  9. package/dist/lib/Coscine.Api/base.js.map +1 -0
  10. package/dist/lib/{Coscine.Api.Blob → Coscine.Api}/common.js +4 -4
  11. package/dist/lib/Coscine.Api/common.js.map +1 -0
  12. package/dist/lib/{Coscine.Api.Blob → Coscine.Api}/configuration.js +4 -4
  13. package/dist/lib/Coscine.Api/configuration.js.map +1 -0
  14. package/dist/lib/{Coscine.Api.Organization → Coscine.Api}/index.js +4 -4
  15. package/dist/lib/Coscine.Api/index.js.map +1 -0
  16. package/dist/lib/apis.js +65 -63
  17. package/dist/lib/apis.js.map +1 -1
  18. package/dist/lib/index.js +10 -9
  19. package/dist/lib/index.js.map +1 -1
  20. package/dist/types/Coscine.Api/api.d.ts +7872 -0
  21. package/dist/types/{Coscine.Api.Organization → Coscine.Api}/base.d.ts +4 -4
  22. package/dist/types/{Coscine.Api.Notices → Coscine.Api}/common.d.ts +4 -4
  23. package/dist/types/{Coscine.Api.Blob → Coscine.Api}/configuration.d.ts +4 -4
  24. package/dist/types/Coscine.Api/index.d.ts +13 -0
  25. package/dist/types/apis.d.ts +114 -93
  26. package/dist/types/index.d.ts +229 -187
  27. package/package.json +3 -3
  28. package/dist/lib/Coscine.Api.Blob/api.js +0 -301
  29. package/dist/lib/Coscine.Api.Blob/api.js.map +0 -1
  30. package/dist/lib/Coscine.Api.Blob/base.js +0 -65
  31. package/dist/lib/Coscine.Api.Blob/base.js.map +0 -1
  32. package/dist/lib/Coscine.Api.Blob/common.js.map +0 -1
  33. package/dist/lib/Coscine.Api.Blob/configuration.js.map +0 -1
  34. package/dist/lib/Coscine.Api.Blob/index.js +0 -32
  35. package/dist/lib/Coscine.Api.Blob/index.js.map +0 -1
  36. package/dist/lib/Coscine.Api.Metadata/api.js +0 -450
  37. package/dist/lib/Coscine.Api.Metadata/api.js.map +0 -1
  38. package/dist/lib/Coscine.Api.Metadata/base.js +0 -65
  39. package/dist/lib/Coscine.Api.Metadata/base.js.map +0 -1
  40. package/dist/lib/Coscine.Api.Metadata/common.js +0 -153
  41. package/dist/lib/Coscine.Api.Metadata/common.js.map +0 -1
  42. package/dist/lib/Coscine.Api.Metadata/configuration.js +0 -43
  43. package/dist/lib/Coscine.Api.Metadata/configuration.js.map +0 -1
  44. package/dist/lib/Coscine.Api.Metadata/index.js +0 -32
  45. package/dist/lib/Coscine.Api.Metadata/index.js.map +0 -1
  46. package/dist/lib/Coscine.Api.Notices/api.js +0 -207
  47. package/dist/lib/Coscine.Api.Notices/api.js.map +0 -1
  48. package/dist/lib/Coscine.Api.Notices/base.js.map +0 -1
  49. package/dist/lib/Coscine.Api.Notices/common.js +0 -153
  50. package/dist/lib/Coscine.Api.Notices/common.js.map +0 -1
  51. package/dist/lib/Coscine.Api.Notices/configuration.js +0 -43
  52. package/dist/lib/Coscine.Api.Notices/configuration.js.map +0 -1
  53. package/dist/lib/Coscine.Api.Notices/index.js +0 -32
  54. package/dist/lib/Coscine.Api.Notices/index.js.map +0 -1
  55. package/dist/lib/Coscine.Api.Organization/api.js +0 -398
  56. package/dist/lib/Coscine.Api.Organization/api.js.map +0 -1
  57. package/dist/lib/Coscine.Api.Organization/base.js +0 -65
  58. package/dist/lib/Coscine.Api.Organization/base.js.map +0 -1
  59. package/dist/lib/Coscine.Api.Organization/common.js +0 -153
  60. package/dist/lib/Coscine.Api.Organization/common.js.map +0 -1
  61. package/dist/lib/Coscine.Api.Organization/configuration.js +0 -43
  62. package/dist/lib/Coscine.Api.Organization/configuration.js.map +0 -1
  63. package/dist/lib/Coscine.Api.Organization/index.js.map +0 -1
  64. package/dist/lib/Coscine.Api.Pid/api.js +0 -204
  65. package/dist/lib/Coscine.Api.Pid/api.js.map +0 -1
  66. package/dist/lib/Coscine.Api.Pid/base.js +0 -65
  67. package/dist/lib/Coscine.Api.Pid/base.js.map +0 -1
  68. package/dist/lib/Coscine.Api.Pid/common.js +0 -153
  69. package/dist/lib/Coscine.Api.Pid/common.js.map +0 -1
  70. package/dist/lib/Coscine.Api.Pid/configuration.js +0 -43
  71. package/dist/lib/Coscine.Api.Pid/configuration.js.map +0 -1
  72. package/dist/lib/Coscine.Api.Pid/index.js +0 -32
  73. package/dist/lib/Coscine.Api.Pid/index.js.map +0 -1
  74. package/dist/lib/Coscine.Api.Project/api.js +0 -2117
  75. package/dist/lib/Coscine.Api.Project/api.js.map +0 -1
  76. package/dist/lib/Coscine.Api.Project/base.js +0 -65
  77. package/dist/lib/Coscine.Api.Project/base.js.map +0 -1
  78. package/dist/lib/Coscine.Api.Project/common.js +0 -153
  79. package/dist/lib/Coscine.Api.Project/common.js.map +0 -1
  80. package/dist/lib/Coscine.Api.Project/configuration.js +0 -43
  81. package/dist/lib/Coscine.Api.Project/configuration.js.map +0 -1
  82. package/dist/lib/Coscine.Api.Project/index.js +0 -32
  83. package/dist/lib/Coscine.Api.Project/index.js.map +0 -1
  84. package/dist/lib/Coscine.Api.Resources/api.js +0 -1307
  85. package/dist/lib/Coscine.Api.Resources/api.js.map +0 -1
  86. package/dist/lib/Coscine.Api.Resources/base.js +0 -65
  87. package/dist/lib/Coscine.Api.Resources/base.js.map +0 -1
  88. package/dist/lib/Coscine.Api.Resources/common.js +0 -153
  89. package/dist/lib/Coscine.Api.Resources/common.js.map +0 -1
  90. package/dist/lib/Coscine.Api.Resources/configuration.js +0 -43
  91. package/dist/lib/Coscine.Api.Resources/configuration.js.map +0 -1
  92. package/dist/lib/Coscine.Api.Resources/index.js +0 -32
  93. package/dist/lib/Coscine.Api.Resources/index.js.map +0 -1
  94. package/dist/lib/Coscine.Api.Token/api.js +0 -385
  95. package/dist/lib/Coscine.Api.Token/api.js.map +0 -1
  96. package/dist/lib/Coscine.Api.Token/base.js +0 -65
  97. package/dist/lib/Coscine.Api.Token/base.js.map +0 -1
  98. package/dist/lib/Coscine.Api.Token/common.js +0 -153
  99. package/dist/lib/Coscine.Api.Token/common.js.map +0 -1
  100. package/dist/lib/Coscine.Api.Token/configuration.js +0 -43
  101. package/dist/lib/Coscine.Api.Token/configuration.js.map +0 -1
  102. package/dist/lib/Coscine.Api.Token/index.js +0 -32
  103. package/dist/lib/Coscine.Api.Token/index.js.map +0 -1
  104. package/dist/lib/Coscine.Api.Tree/api.js +0 -231
  105. package/dist/lib/Coscine.Api.Tree/api.js.map +0 -1
  106. package/dist/lib/Coscine.Api.Tree/base.js +0 -65
  107. package/dist/lib/Coscine.Api.Tree/base.js.map +0 -1
  108. package/dist/lib/Coscine.Api.Tree/common.js +0 -153
  109. package/dist/lib/Coscine.Api.Tree/common.js.map +0 -1
  110. package/dist/lib/Coscine.Api.Tree/configuration.js +0 -43
  111. package/dist/lib/Coscine.Api.Tree/configuration.js.map +0 -1
  112. package/dist/lib/Coscine.Api.Tree/index.js +0 -32
  113. package/dist/lib/Coscine.Api.Tree/index.js.map +0 -1
  114. package/dist/lib/Coscine.Api.User/api.js +0 -965
  115. package/dist/lib/Coscine.Api.User/api.js.map +0 -1
  116. package/dist/lib/Coscine.Api.User/base.js +0 -65
  117. package/dist/lib/Coscine.Api.User/base.js.map +0 -1
  118. package/dist/lib/Coscine.Api.User/common.js +0 -153
  119. package/dist/lib/Coscine.Api.User/common.js.map +0 -1
  120. package/dist/lib/Coscine.Api.User/configuration.js +0 -43
  121. package/dist/lib/Coscine.Api.User/configuration.js.map +0 -1
  122. package/dist/lib/Coscine.Api.User/index.js +0 -32
  123. package/dist/lib/Coscine.Api.User/index.js.map +0 -1
  124. package/dist/types/Coscine.Api.Blob/api.d.ts +0 -155
  125. package/dist/types/Coscine.Api.Blob/base.d.ts +0 -55
  126. package/dist/types/Coscine.Api.Blob/common.d.ts +0 -65
  127. package/dist/types/Coscine.Api.Blob/index.d.ts +0 -13
  128. package/dist/types/Coscine.Api.Metadata/api.d.ts +0 -299
  129. package/dist/types/Coscine.Api.Metadata/base.d.ts +0 -55
  130. package/dist/types/Coscine.Api.Metadata/common.d.ts +0 -65
  131. package/dist/types/Coscine.Api.Metadata/configuration.d.ts +0 -83
  132. package/dist/types/Coscine.Api.Metadata/index.d.ts +0 -13
  133. package/dist/types/Coscine.Api.Notices/api.d.ts +0 -153
  134. package/dist/types/Coscine.Api.Notices/base.d.ts +0 -55
  135. package/dist/types/Coscine.Api.Notices/configuration.d.ts +0 -83
  136. package/dist/types/Coscine.Api.Notices/index.d.ts +0 -13
  137. package/dist/types/Coscine.Api.Organization/api.d.ts +0 -256
  138. package/dist/types/Coscine.Api.Organization/common.d.ts +0 -65
  139. package/dist/types/Coscine.Api.Organization/configuration.d.ts +0 -83
  140. package/dist/types/Coscine.Api.Organization/index.d.ts +0 -13
  141. package/dist/types/Coscine.Api.Pid/api.d.ts +0 -149
  142. package/dist/types/Coscine.Api.Pid/base.d.ts +0 -55
  143. package/dist/types/Coscine.Api.Pid/common.d.ts +0 -65
  144. package/dist/types/Coscine.Api.Pid/configuration.d.ts +0 -83
  145. package/dist/types/Coscine.Api.Pid/index.d.ts +0 -13
  146. package/dist/types/Coscine.Api.Project/api.d.ts +0 -1876
  147. package/dist/types/Coscine.Api.Project/base.d.ts +0 -55
  148. package/dist/types/Coscine.Api.Project/common.d.ts +0 -65
  149. package/dist/types/Coscine.Api.Project/configuration.d.ts +0 -83
  150. package/dist/types/Coscine.Api.Project/index.d.ts +0 -13
  151. package/dist/types/Coscine.Api.Resources/api.d.ts +0 -1733
  152. package/dist/types/Coscine.Api.Resources/base.d.ts +0 -55
  153. package/dist/types/Coscine.Api.Resources/common.d.ts +0 -65
  154. package/dist/types/Coscine.Api.Resources/configuration.d.ts +0 -83
  155. package/dist/types/Coscine.Api.Resources/index.d.ts +0 -13
  156. package/dist/types/Coscine.Api.Token/api.d.ts +0 -316
  157. package/dist/types/Coscine.Api.Token/base.d.ts +0 -55
  158. package/dist/types/Coscine.Api.Token/common.d.ts +0 -65
  159. package/dist/types/Coscine.Api.Token/configuration.d.ts +0 -83
  160. package/dist/types/Coscine.Api.Token/index.d.ts +0 -13
  161. package/dist/types/Coscine.Api.Tree/api.d.ts +0 -122
  162. package/dist/types/Coscine.Api.Tree/base.d.ts +0 -55
  163. package/dist/types/Coscine.Api.Tree/common.d.ts +0 -65
  164. package/dist/types/Coscine.Api.Tree/configuration.d.ts +0 -83
  165. package/dist/types/Coscine.Api.Tree/index.d.ts +0 -13
  166. package/dist/types/Coscine.Api.User/api.d.ts +0 -745
  167. package/dist/types/Coscine.Api.User/base.d.ts +0 -55
  168. package/dist/types/Coscine.Api.User/common.d.ts +0 -65
  169. package/dist/types/Coscine.Api.User/configuration.d.ts +0 -83
  170. package/dist/types/Coscine.Api.User/index.d.ts +0 -13
@@ -1,299 +0,0 @@
1
- /**
2
- * Coscine.Api.Metadata
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 3.2.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { Configuration } from './configuration';
13
- import { AxiosPromise, AxiosInstance } from 'axios';
14
- import { RequestArgs, BaseAPI } from './base';
15
- /**
16
- * Parameter object containing the application profile informations.
17
- * @export
18
- * @interface ApplicationProfile
19
- */
20
- export interface ApplicationProfile {
21
- /**
22
- * Name of the application profile
23
- * @type {string}
24
- * @memberof ApplicationProfile
25
- */
26
- name?: string | null;
27
- /**
28
- * Base URL of the application profile
29
- * @type {string}
30
- * @memberof ApplicationProfile
31
- */
32
- base_url?: string | null;
33
- /**
34
- * Definition of the application profile
35
- * @type {string}
36
- * @memberof ApplicationProfile
37
- */
38
- definition?: string | null;
39
- /**
40
- * Mime type of the application profile
41
- * @type {string}
42
- * @memberof ApplicationProfile
43
- */
44
- mimeType?: string | null;
45
- }
46
- /**
47
- * Bilingual labels
48
- * @export
49
- * @interface BilingualLabels
50
- */
51
- export interface BilingualLabels {
52
- /**
53
- * English labels
54
- * @type {Array<Label>}
55
- * @memberof BilingualLabels
56
- */
57
- en?: Array<Label> | null;
58
- /**
59
- * German labels
60
- * @type {Array<Label>}
61
- * @memberof BilingualLabels
62
- */
63
- de?: Array<Label> | null;
64
- }
65
- /**
66
- * Label of a vocabulary entry
67
- * @export
68
- * @interface Label
69
- */
70
- export interface Label {
71
- /**
72
- * Name of the application profile
73
- * @type {string}
74
- * @memberof Label
75
- */
76
- name?: string | null;
77
- /**
78
- * Name of the application profile
79
- * @type {string}
80
- * @memberof Label
81
- */
82
- value?: string | null;
83
- }
84
- /**
85
- * MetadataApi - axios parameter creator
86
- * @export
87
- */
88
- export declare const MetadataApiAxiosParamCreator: (configuration?: Configuration) => {
89
- /**
90
- *
91
- * @summary This method returns instances.
92
- * @param {string} className class name
93
- * @param {*} [options] Override http request option.
94
- * @throws {RequiredError}
95
- */
96
- metadataGetClassInstances: (className: string, options?: any) => Promise<RequestArgs>;
97
- /**
98
- *
99
- * @summary This method returns the application profile for the given profileUrl.
100
- * @param {string} profile Url of the application profile
101
- * @param {*} [options] Override http request option.
102
- * @throws {RequiredError}
103
- */
104
- metadataGetProfile: (profile: string, options?: any) => Promise<RequestArgs>;
105
- /**
106
- *
107
- * @summary This method returns all application profiles.
108
- * @param {*} [options] Override http request option.
109
- * @throws {RequiredError}
110
- */
111
- metadataGetProfiles: (options?: any) => Promise<RequestArgs>;
112
- /**
113
- *
114
- * @summary This method returns a list of all vocabularies.
115
- * @param {*} [options] Override http request option.
116
- * @throws {RequiredError}
117
- */
118
- metadataGetVocabularies: (options?: any) => Promise<RequestArgs>;
119
- /**
120
- *
121
- * @summary This method returns a specific vocabulary.
122
- * @param {string} path Url of the vocabulary
123
- * @param {*} [options] Override http request option.
124
- * @throws {RequiredError}
125
- */
126
- metadataGetVocabulary: (path: string, options?: any) => Promise<RequestArgs>;
127
- /**
128
- *
129
- * @summary Create a request for storing a given application profile.
130
- * @param {ApplicationProfile} applicationProfile Object describing the application profile
131
- * @param {*} [options] Override http request option.
132
- * @throws {RequiredError}
133
- */
134
- metadataSaveApplicationProfile: (applicationProfile: ApplicationProfile, options?: any) => Promise<RequestArgs>;
135
- };
136
- /**
137
- * MetadataApi - functional programming interface
138
- * @export
139
- */
140
- export declare const MetadataApiFp: (configuration?: Configuration) => {
141
- /**
142
- *
143
- * @summary This method returns instances.
144
- * @param {string} className class name
145
- * @param {*} [options] Override http request option.
146
- * @throws {RequiredError}
147
- */
148
- metadataGetClassInstances(className: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BilingualLabels>>;
149
- /**
150
- *
151
- * @summary This method returns the application profile for the given profileUrl.
152
- * @param {string} profile Url of the application profile
153
- * @param {*} [options] Override http request option.
154
- * @throws {RequiredError}
155
- */
156
- metadataGetProfile(profile: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
157
- /**
158
- *
159
- * @summary This method returns all application profiles.
160
- * @param {*} [options] Override http request option.
161
- * @throws {RequiredError}
162
- */
163
- metadataGetProfiles(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
164
- /**
165
- *
166
- * @summary This method returns a list of all vocabularies.
167
- * @param {*} [options] Override http request option.
168
- * @throws {RequiredError}
169
- */
170
- metadataGetVocabularies(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
171
- /**
172
- *
173
- * @summary This method returns a specific vocabulary.
174
- * @param {string} path Url of the vocabulary
175
- * @param {*} [options] Override http request option.
176
- * @throws {RequiredError}
177
- */
178
- metadataGetVocabulary(path: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BilingualLabels>>;
179
- /**
180
- *
181
- * @summary Create a request for storing a given application profile.
182
- * @param {ApplicationProfile} applicationProfile Object describing the application profile
183
- * @param {*} [options] Override http request option.
184
- * @throws {RequiredError}
185
- */
186
- metadataSaveApplicationProfile(applicationProfile: ApplicationProfile, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
187
- };
188
- /**
189
- * MetadataApi - factory interface
190
- * @export
191
- */
192
- export declare const MetadataApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
193
- /**
194
- *
195
- * @summary This method returns instances.
196
- * @param {string} className class name
197
- * @param {*} [options] Override http request option.
198
- * @throws {RequiredError}
199
- */
200
- metadataGetClassInstances(className: string, options?: any): AxiosPromise<BilingualLabels>;
201
- /**
202
- *
203
- * @summary This method returns the application profile for the given profileUrl.
204
- * @param {string} profile Url of the application profile
205
- * @param {*} [options] Override http request option.
206
- * @throws {RequiredError}
207
- */
208
- metadataGetProfile(profile: string, options?: any): AxiosPromise<any>;
209
- /**
210
- *
211
- * @summary This method returns all application profiles.
212
- * @param {*} [options] Override http request option.
213
- * @throws {RequiredError}
214
- */
215
- metadataGetProfiles(options?: any): AxiosPromise<Array<string>>;
216
- /**
217
- *
218
- * @summary This method returns a list of all vocabularies.
219
- * @param {*} [options] Override http request option.
220
- * @throws {RequiredError}
221
- */
222
- metadataGetVocabularies(options?: any): AxiosPromise<Array<string>>;
223
- /**
224
- *
225
- * @summary This method returns a specific vocabulary.
226
- * @param {string} path Url of the vocabulary
227
- * @param {*} [options] Override http request option.
228
- * @throws {RequiredError}
229
- */
230
- metadataGetVocabulary(path: string, options?: any): AxiosPromise<BilingualLabels>;
231
- /**
232
- *
233
- * @summary Create a request for storing a given application profile.
234
- * @param {ApplicationProfile} applicationProfile Object describing the application profile
235
- * @param {*} [options] Override http request option.
236
- * @throws {RequiredError}
237
- */
238
- metadataSaveApplicationProfile(applicationProfile: ApplicationProfile, options?: any): AxiosPromise<any>;
239
- };
240
- /**
241
- * MetadataApi - object-oriented interface
242
- * @export
243
- * @class MetadataApi
244
- * @extends {BaseAPI}
245
- */
246
- export declare class MetadataApi extends BaseAPI {
247
- /**
248
- *
249
- * @summary This method returns instances.
250
- * @param {string} className class name
251
- * @param {*} [options] Override http request option.
252
- * @throws {RequiredError}
253
- * @memberof MetadataApi
254
- */
255
- metadataGetClassInstances(className: string, options?: any): Promise<import("axios").AxiosResponse<BilingualLabels>>;
256
- /**
257
- *
258
- * @summary This method returns the application profile for the given profileUrl.
259
- * @param {string} profile Url of the application profile
260
- * @param {*} [options] Override http request option.
261
- * @throws {RequiredError}
262
- * @memberof MetadataApi
263
- */
264
- metadataGetProfile(profile: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
265
- /**
266
- *
267
- * @summary This method returns all application profiles.
268
- * @param {*} [options] Override http request option.
269
- * @throws {RequiredError}
270
- * @memberof MetadataApi
271
- */
272
- metadataGetProfiles(options?: any): Promise<import("axios").AxiosResponse<string[]>>;
273
- /**
274
- *
275
- * @summary This method returns a list of all vocabularies.
276
- * @param {*} [options] Override http request option.
277
- * @throws {RequiredError}
278
- * @memberof MetadataApi
279
- */
280
- metadataGetVocabularies(options?: any): Promise<import("axios").AxiosResponse<string[]>>;
281
- /**
282
- *
283
- * @summary This method returns a specific vocabulary.
284
- * @param {string} path Url of the vocabulary
285
- * @param {*} [options] Override http request option.
286
- * @throws {RequiredError}
287
- * @memberof MetadataApi
288
- */
289
- metadataGetVocabulary(path: string, options?: any): Promise<import("axios").AxiosResponse<BilingualLabels>>;
290
- /**
291
- *
292
- * @summary Create a request for storing a given application profile.
293
- * @param {ApplicationProfile} applicationProfile Object describing the application profile
294
- * @param {*} [options] Override http request option.
295
- * @throws {RequiredError}
296
- * @memberof MetadataApi
297
- */
298
- metadataSaveApplicationProfile(applicationProfile: ApplicationProfile, options?: any): Promise<import("axios").AxiosResponse<any>>;
299
- }
@@ -1,55 +0,0 @@
1
- /**
2
- * Coscine.Api.Metadata
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 3.2.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { Configuration } from "./configuration";
13
- import { AxiosInstance } from 'axios';
14
- export declare const BASE_PATH: string;
15
- /**
16
- *
17
- * @export
18
- */
19
- export declare const COLLECTION_FORMATS: {
20
- csv: string;
21
- ssv: string;
22
- tsv: string;
23
- pipes: string;
24
- };
25
- /**
26
- *
27
- * @export
28
- * @interface RequestArgs
29
- */
30
- export interface RequestArgs {
31
- url: string;
32
- options: any;
33
- }
34
- /**
35
- *
36
- * @export
37
- * @class BaseAPI
38
- */
39
- export declare class BaseAPI {
40
- protected basePath: string;
41
- protected axios: AxiosInstance;
42
- protected configuration: Configuration | undefined;
43
- constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
44
- }
45
- /**
46
- *
47
- * @export
48
- * @class RequiredError
49
- * @extends {Error}
50
- */
51
- export declare class RequiredError extends Error {
52
- field: string;
53
- name: "RequiredError";
54
- constructor(field: string, msg?: string);
55
- }
@@ -1,65 +0,0 @@
1
- /**
2
- * Coscine.Api.Metadata
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 3.2.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { Configuration } from "./configuration";
13
- import { RequestArgs } from "./base";
14
- import { AxiosInstance } from 'axios';
15
- /**
16
- *
17
- * @export
18
- */
19
- export declare const DUMMY_BASE_URL = "https://example.com";
20
- /**
21
- *
22
- * @throws {RequiredError}
23
- * @export
24
- */
25
- export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
26
- /**
27
- *
28
- * @export
29
- */
30
- export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
31
- /**
32
- *
33
- * @export
34
- */
35
- export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
36
- /**
37
- *
38
- * @export
39
- */
40
- export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
41
- /**
42
- *
43
- * @export
44
- */
45
- export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
46
- /**
47
- *
48
- * @export
49
- */
50
- export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
51
- /**
52
- *
53
- * @export
54
- */
55
- export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
56
- /**
57
- *
58
- * @export
59
- */
60
- export declare const toPathString: (url: URL) => string;
61
- /**
62
- *
63
- * @export
64
- */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any>>;
@@ -1,83 +0,0 @@
1
- /**
2
- * Coscine.Api.Metadata
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 3.2.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export interface ConfigurationParameters {
13
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
14
- username?: string;
15
- password?: string;
16
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
17
- basePath?: string;
18
- baseOptions?: any;
19
- formDataCtor?: new () => any;
20
- }
21
- export declare class Configuration {
22
- /**
23
- * parameter for apiKey security
24
- * @param name security name
25
- * @memberof Configuration
26
- */
27
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
28
- /**
29
- * parameter for basic security
30
- *
31
- * @type {string}
32
- * @memberof Configuration
33
- */
34
- username?: string;
35
- /**
36
- * parameter for basic security
37
- *
38
- * @type {string}
39
- * @memberof Configuration
40
- */
41
- password?: string;
42
- /**
43
- * parameter for oauth2 security
44
- * @param name security name
45
- * @param scopes oauth2 scope
46
- * @memberof Configuration
47
- */
48
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
49
- /**
50
- * override base path
51
- *
52
- * @type {string}
53
- * @memberof Configuration
54
- */
55
- basePath?: string;
56
- /**
57
- * base options for axios calls
58
- *
59
- * @type {any}
60
- * @memberof Configuration
61
- */
62
- baseOptions?: any;
63
- /**
64
- * The FormData constructor that will be used to create multipart form data
65
- * requests. You can inject this here so that execution environments that
66
- * do not support the FormData class can still run the generated client.
67
- *
68
- * @type {new () => FormData}
69
- */
70
- formDataCtor?: new () => any;
71
- constructor(param?: ConfigurationParameters);
72
- /**
73
- * Check if the given MIME is a JSON MIME.
74
- * JSON MIME examples:
75
- * application/json
76
- * application/json; charset=UTF8
77
- * APPLICATION/JSON
78
- * application/vnd.company+json
79
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
80
- * @return True if the given MIME is JSON, false otherwise.
81
- */
82
- isJsonMime(mime: string): boolean;
83
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * Coscine.Api.Metadata
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 3.2.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export * from "./api";
13
- export * from "./configuration";
@@ -1,153 +0,0 @@
1
- /**
2
- * Coscine.Api.Notices
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: 2.4.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { Configuration } from './configuration';
13
- import { AxiosPromise, AxiosInstance } from 'axios';
14
- import { RequestArgs, BaseAPI } from './base';
15
- /**
16
- * This class represents a maintenance with its significant properties, which is returned from the api.
17
- * @export
18
- * @interface MaintenanceReturnObject
19
- */
20
- export interface MaintenanceReturnObject {
21
- /**
22
- * Maintenance title.
23
- * @type {string}
24
- * @memberof MaintenanceReturnObject
25
- */
26
- displayName?: string | null;
27
- /**
28
- * Maintenance url.
29
- * @type {string}
30
- * @memberof MaintenanceReturnObject
31
- */
32
- url?: string | null;
33
- /**
34
- * Maintenance type.
35
- * @type {string}
36
- * @memberof MaintenanceReturnObject
37
- */
38
- type?: string | null;
39
- /**
40
- * Maintenance description.
41
- * @type {string}
42
- * @memberof MaintenanceReturnObject
43
- */
44
- body?: string | null;
45
- /**
46
- * Maintenance start.
47
- * @type {string}
48
- * @memberof MaintenanceReturnObject
49
- */
50
- startsDate?: string | null;
51
- /**
52
- * Maintenance end.
53
- * @type {string}
54
- * @memberof MaintenanceReturnObject
55
- */
56
- endsDate?: string | null;
57
- }
58
- /**
59
- * NoticeApi - axios parameter creator
60
- * @export
61
- */
62
- export declare const NoticeApiAxiosParamCreator: (configuration?: Configuration) => {
63
- /**
64
- *
65
- * @summary Returns defined properties of the first entry of the rss feed
66
- * @param {*} [options] Override http request option.
67
- * @throws {RequiredError}
68
- */
69
- noticeGetMaintenance: (options?: any) => Promise<RequestArgs>;
70
- /**
71
- *
72
- * @summary Returns a notice
73
- * @param {string} documentSlug Slug defining a configured notice
74
- * @param {string} [language] Language (e.g. \&quot;en\&quot; or \&quot;de\&quot;)
75
- * @param {*} [options] Override http request option.
76
- * @deprecated
77
- * @throws {RequiredError}
78
- */
79
- noticeGetNotice: (documentSlug: string, language?: string, options?: any) => Promise<RequestArgs>;
80
- };
81
- /**
82
- * NoticeApi - functional programming interface
83
- * @export
84
- */
85
- export declare const NoticeApiFp: (configuration?: Configuration) => {
86
- /**
87
- *
88
- * @summary Returns defined properties of the first entry of the rss feed
89
- * @param {*} [options] Override http request option.
90
- * @throws {RequiredError}
91
- */
92
- noticeGetMaintenance(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MaintenanceReturnObject>>;
93
- /**
94
- *
95
- * @summary Returns a notice
96
- * @param {string} documentSlug Slug defining a configured notice
97
- * @param {string} [language] Language (e.g. \&quot;en\&quot; or \&quot;de\&quot;)
98
- * @param {*} [options] Override http request option.
99
- * @deprecated
100
- * @throws {RequiredError}
101
- */
102
- noticeGetNotice(documentSlug: string, language?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
103
- };
104
- /**
105
- * NoticeApi - factory interface
106
- * @export
107
- */
108
- export declare const NoticeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
109
- /**
110
- *
111
- * @summary Returns defined properties of the first entry of the rss feed
112
- * @param {*} [options] Override http request option.
113
- * @throws {RequiredError}
114
- */
115
- noticeGetMaintenance(options?: any): AxiosPromise<MaintenanceReturnObject>;
116
- /**
117
- *
118
- * @summary Returns a notice
119
- * @param {string} documentSlug Slug defining a configured notice
120
- * @param {string} [language] Language (e.g. \&quot;en\&quot; or \&quot;de\&quot;)
121
- * @param {*} [options] Override http request option.
122
- * @deprecated
123
- * @throws {RequiredError}
124
- */
125
- noticeGetNotice(documentSlug: string, language?: string, options?: any): AxiosPromise<any>;
126
- };
127
- /**
128
- * NoticeApi - object-oriented interface
129
- * @export
130
- * @class NoticeApi
131
- * @extends {BaseAPI}
132
- */
133
- export declare class NoticeApi extends BaseAPI {
134
- /**
135
- *
136
- * @summary Returns defined properties of the first entry of the rss feed
137
- * @param {*} [options] Override http request option.
138
- * @throws {RequiredError}
139
- * @memberof NoticeApi
140
- */
141
- noticeGetMaintenance(options?: any): Promise<import("axios").AxiosResponse<MaintenanceReturnObject>>;
142
- /**
143
- *
144
- * @summary Returns a notice
145
- * @param {string} documentSlug Slug defining a configured notice
146
- * @param {string} [language] Language (e.g. \&quot;en\&quot; or \&quot;de\&quot;)
147
- * @param {*} [options] Override http request option.
148
- * @deprecated
149
- * @throws {RequiredError}
150
- * @memberof NoticeApi
151
- */
152
- noticeGetNotice(documentSlug: string, language?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
153
- }