@coscine/api-client 2.1.0 → 2.4.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 (94) hide show
  1. package/dist/index.js +2011 -2771
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.umd.js +2012 -2773
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/lib/Coscine.Api.Admin/api.js +51 -23
  6. package/dist/lib/Coscine.Api.Admin/api.js.map +1 -1
  7. package/dist/lib/Coscine.Api.Admin/base.js +1 -1
  8. package/dist/lib/Coscine.Api.Admin/common.js +1 -1
  9. package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
  10. package/dist/lib/Coscine.Api.Admin/index.js +1 -1
  11. package/dist/lib/Coscine.Api.Blob/api.js +1 -66
  12. package/dist/lib/Coscine.Api.Blob/api.js.map +1 -1
  13. package/dist/lib/Coscine.Api.Blob/base.js +1 -1
  14. package/dist/lib/Coscine.Api.Blob/common.js +1 -1
  15. package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
  16. package/dist/lib/Coscine.Api.Blob/index.js +1 -1
  17. package/dist/lib/Coscine.Api.Project/api.js +350 -537
  18. package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
  19. package/dist/lib/Coscine.Api.Project/base.js +1 -1
  20. package/dist/lib/Coscine.Api.Project/common.js +1 -1
  21. package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
  22. package/dist/lib/Coscine.Api.Project/index.js +1 -1
  23. package/dist/lib/Coscine.Api.Resources/api.js +232 -42
  24. package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
  25. package/dist/lib/Coscine.Api.Resources/base.js +1 -1
  26. package/dist/lib/Coscine.Api.Resources/common.js +1 -1
  27. package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
  28. package/dist/lib/Coscine.Api.Resources/index.js +1 -1
  29. package/dist/lib/Coscine.Api.Search/api.js +29 -29
  30. package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
  31. package/dist/lib/Coscine.Api.Tree/api.js +29 -15
  32. package/dist/lib/Coscine.Api.Tree/api.js.map +1 -1
  33. package/dist/lib/Coscine.Api.Tree/base.js +1 -1
  34. package/dist/lib/Coscine.Api.Tree/common.js +1 -1
  35. package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
  36. package/dist/lib/Coscine.Api.Tree/index.js +1 -1
  37. package/dist/lib/Coscine.Api.User/api.js +1 -1
  38. package/dist/lib/Coscine.Api.User/base.js +1 -1
  39. package/dist/lib/Coscine.Api.User/common.js +1 -1
  40. package/dist/lib/Coscine.Api.User/configuration.js +1 -1
  41. package/dist/lib/Coscine.Api.User/index.js +1 -1
  42. package/dist/lib/apis.js +35 -37
  43. package/dist/lib/apis.js.map +1 -1
  44. package/dist/lib/index.js +3 -4
  45. package/dist/lib/index.js.map +1 -1
  46. package/dist/types/Coscine.Api.Admin/api.d.ts +100 -66
  47. package/dist/types/Coscine.Api.Admin/base.d.ts +1 -1
  48. package/dist/types/Coscine.Api.Admin/common.d.ts +1 -1
  49. package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
  50. package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
  51. package/dist/types/Coscine.Api.Blob/api.d.ts +1 -34
  52. package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
  53. package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
  54. package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
  55. package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
  56. package/dist/types/Coscine.Api.Project/api.d.ts +312 -328
  57. package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
  58. package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
  59. package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
  60. package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
  61. package/dist/types/Coscine.Api.Resources/api.d.ts +237 -41
  62. package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
  63. package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
  64. package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
  65. package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
  66. package/dist/types/Coscine.Api.Search/api.d.ts +478 -24
  67. package/dist/types/Coscine.Api.Tree/api.d.ts +17 -9
  68. package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
  69. package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
  70. package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
  71. package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
  72. package/dist/types/Coscine.Api.User/api.d.ts +1 -1
  73. package/dist/types/Coscine.Api.User/base.d.ts +1 -1
  74. package/dist/types/Coscine.Api.User/common.d.ts +1 -1
  75. package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
  76. package/dist/types/Coscine.Api.User/index.d.ts +1 -1
  77. package/dist/types/apis.d.ts +15 -28
  78. package/dist/types/index.d.ts +30 -56
  79. package/package.json +2 -2
  80. package/dist/lib/Coscine.Api.Quota/api.js +0 -283
  81. package/dist/lib/Coscine.Api.Quota/api.js.map +0 -1
  82. package/dist/lib/Coscine.Api.Quota/base.js +0 -65
  83. package/dist/lib/Coscine.Api.Quota/base.js.map +0 -1
  84. package/dist/lib/Coscine.Api.Quota/common.js +0 -153
  85. package/dist/lib/Coscine.Api.Quota/common.js.map +0 -1
  86. package/dist/lib/Coscine.Api.Quota/configuration.js +0 -43
  87. package/dist/lib/Coscine.Api.Quota/configuration.js.map +0 -1
  88. package/dist/lib/Coscine.Api.Quota/index.js +0 -28
  89. package/dist/lib/Coscine.Api.Quota/index.js.map +0 -1
  90. package/dist/types/Coscine.Api.Quota/api.d.ts +0 -197
  91. package/dist/types/Coscine.Api.Quota/base.d.ts +0 -55
  92. package/dist/types/Coscine.Api.Quota/common.d.ts +0 -65
  93. package/dist/types/Coscine.Api.Quota/configuration.d.ts +0 -83
  94. package/dist/types/Coscine.Api.Quota/index.d.ts +0 -13
@@ -15,36 +15,490 @@ import { RequestArgs, BaseAPI } from './base';
15
15
  /**
16
16
  *
17
17
  * @export
18
- * @interface SearchResult
18
+ * @interface DisciplineObject
19
19
  */
20
- export interface SearchResult {
20
+ export interface DisciplineObject {
21
21
  /**
22
22
  *
23
23
  * @type {string}
24
- * @memberof SearchResult
24
+ * @memberof DisciplineObject
25
+ */
26
+ id?: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof DisciplineObject
31
+ */
32
+ url?: string | null;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof DisciplineObject
37
+ */
38
+ displayNameDe?: string | null;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof DisciplineObject
43
+ */
44
+ displayNameEn?: string | null;
45
+ }
46
+ /**
47
+ * File Search Result Object
48
+ * @export
49
+ * @interface FileSearchResult
50
+ */
51
+ export interface FileSearchResult {
52
+ /**
53
+ * Graph Name
54
+ * @type {string}
55
+ * @memberof FileSearchResult
25
56
  */
26
57
  graphName?: string | null;
58
+ /**
59
+ * ID of Project containing the file
60
+ * @type {string}
61
+ * @memberof FileSearchResult
62
+ */
63
+ projectId?: string | null;
64
+ /**
65
+ * ID of Resource containing the file
66
+ * @type {string}
67
+ * @memberof FileSearchResult
68
+ */
69
+ resourceId?: string | null;
70
+ /**
71
+ * Search result fields
72
+ * @type {any}
73
+ * @memberof FileSearchResult
74
+ */
75
+ source?: any | null;
76
+ }
77
+ /**
78
+ *
79
+ * @export
80
+ * @interface LicenseObject
81
+ */
82
+ export interface LicenseObject {
27
83
  /**
28
84
  *
29
85
  * @type {string}
30
- * @memberof SearchResult
86
+ * @memberof LicenseObject
87
+ */
88
+ id?: string;
89
+ /**
90
+ *
91
+ * @type {string}
92
+ * @memberof LicenseObject
93
+ */
94
+ displayName?: string | null;
95
+ }
96
+ /**
97
+ *
98
+ * @export
99
+ * @interface OrganizationObject
100
+ */
101
+ export interface OrganizationObject {
102
+ /**
103
+ *
104
+ * @type {string}
105
+ * @memberof OrganizationObject
106
+ */
107
+ url?: string | null;
108
+ /**
109
+ *
110
+ * @type {string}
111
+ * @memberof OrganizationObject
112
+ */
113
+ displayName?: string | null;
114
+ }
115
+ /**
116
+ *
117
+ * @export
118
+ * @interface ProjectObject
119
+ */
120
+ export interface ProjectObject {
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof ProjectObject
125
+ */
126
+ id?: string;
127
+ /**
128
+ *
129
+ * @type {string}
130
+ * @memberof ProjectObject
131
+ */
132
+ description?: string | null;
133
+ /**
134
+ *
135
+ * @type {string}
136
+ * @memberof ProjectObject
137
+ */
138
+ displayName?: string | null;
139
+ /**
140
+ *
141
+ * @type {string}
142
+ * @memberof ProjectObject
143
+ */
144
+ startDate?: string;
145
+ /**
146
+ *
147
+ * @type {string}
148
+ * @memberof ProjectObject
149
+ */
150
+ endDate?: string;
151
+ /**
152
+ *
153
+ * @type {string}
154
+ * @memberof ProjectObject
155
+ */
156
+ keywords?: string | null;
157
+ /**
158
+ *
159
+ * @type {string}
160
+ * @memberof ProjectObject
161
+ */
162
+ projectName?: string | null;
163
+ /**
164
+ *
165
+ * @type {string}
166
+ * @memberof ProjectObject
167
+ */
168
+ principleInvestigators?: string | null;
169
+ /**
170
+ *
171
+ * @type {string}
172
+ * @memberof ProjectObject
173
+ */
174
+ grantId?: string | null;
175
+ /**
176
+ *
177
+ * @type {string}
178
+ * @memberof ProjectObject
179
+ */
180
+ slug?: string | null;
181
+ /**
182
+ *
183
+ * @type {Array<DisciplineObject>}
184
+ * @memberof ProjectObject
185
+ */
186
+ disciplines?: Array<DisciplineObject> | null;
187
+ /**
188
+ *
189
+ * @type {Array<OrganizationObject>}
190
+ * @memberof ProjectObject
191
+ */
192
+ organizations?: Array<OrganizationObject> | null;
193
+ /**
194
+ *
195
+ * @type {VisibilityObject}
196
+ * @memberof ProjectObject
197
+ */
198
+ visibility?: VisibilityObject | null;
199
+ /**
200
+ *
201
+ * @type {string}
202
+ * @memberof ProjectObject
203
+ */
204
+ parentId?: string;
205
+ }
206
+ /**
207
+ *
208
+ * @export
209
+ * @interface ResourceObject
210
+ */
211
+ export interface ResourceObject {
212
+ /**
213
+ *
214
+ * @type {string}
215
+ * @memberof ResourceObject
216
+ */
217
+ id?: string;
218
+ /**
219
+ *
220
+ * @type {string}
221
+ * @memberof ResourceObject
222
+ */
223
+ pid?: string | null;
224
+ /**
225
+ *
226
+ * @type {string}
227
+ * @memberof ResourceObject
228
+ */
229
+ displayName?: string | null;
230
+ /**
231
+ *
232
+ * @type {string}
233
+ * @memberof ResourceObject
234
+ */
235
+ resourceName?: string | null;
236
+ /**
237
+ *
238
+ * @type {string}
239
+ * @memberof ResourceObject
240
+ */
241
+ description?: string | null;
242
+ /**
243
+ *
244
+ * @type {string}
245
+ * @memberof ResourceObject
246
+ */
247
+ keywords?: string | null;
248
+ /**
249
+ *
250
+ * @type {string}
251
+ * @memberof ResourceObject
31
252
  */
32
- project?: string | null;
253
+ usageRights?: string | null;
254
+ /**
255
+ *
256
+ * @type {ResourceTypeObject}
257
+ * @memberof ResourceObject
258
+ */
259
+ type?: ResourceTypeObject | null;
260
+ /**
261
+ *
262
+ * @type {Array<DisciplineObject>}
263
+ * @memberof ResourceObject
264
+ */
265
+ disciplines?: Array<DisciplineObject> | null;
266
+ /**
267
+ *
268
+ * @type {VisibilityObject}
269
+ * @memberof ResourceObject
270
+ */
271
+ visibility?: VisibilityObject | null;
272
+ /**
273
+ *
274
+ * @type {LicenseObject}
275
+ * @memberof ResourceObject
276
+ */
277
+ license?: LicenseObject | null;
33
278
  /**
34
279
  *
35
280
  * @type {any}
281
+ * @memberof ResourceObject
282
+ */
283
+ resourceTypeOption?: any | null;
284
+ /**
285
+ *
286
+ * @type {string}
287
+ * @memberof ResourceObject
288
+ */
289
+ applicationProfile?: string | null;
290
+ /**
291
+ *
292
+ * @type {any}
293
+ * @memberof ResourceObject
294
+ */
295
+ fixedValues?: any | null;
296
+ /**
297
+ *
298
+ * @type {string}
299
+ * @memberof ResourceObject
300
+ */
301
+ creator?: string | null;
302
+ /**
303
+ *
304
+ * @type {boolean}
305
+ * @memberof ResourceObject
306
+ */
307
+ archived?: boolean;
308
+ }
309
+ /**
310
+ *
311
+ * @export
312
+ * @interface ResourceSearchResult
313
+ */
314
+ export interface ResourceSearchResult {
315
+ /**
316
+ *
317
+ * @type {string}
318
+ * @memberof ResourceSearchResult
319
+ */
320
+ id?: string;
321
+ /**
322
+ *
323
+ * @type {string}
324
+ * @memberof ResourceSearchResult
325
+ */
326
+ pid?: string | null;
327
+ /**
328
+ *
329
+ * @type {string}
330
+ * @memberof ResourceSearchResult
331
+ */
332
+ displayName?: string | null;
333
+ /**
334
+ *
335
+ * @type {string}
336
+ * @memberof ResourceSearchResult
337
+ */
338
+ resourceName?: string | null;
339
+ /**
340
+ *
341
+ * @type {string}
342
+ * @memberof ResourceSearchResult
343
+ */
344
+ description?: string | null;
345
+ /**
346
+ *
347
+ * @type {string}
348
+ * @memberof ResourceSearchResult
349
+ */
350
+ keywords?: string | null;
351
+ /**
352
+ *
353
+ * @type {string}
354
+ * @memberof ResourceSearchResult
355
+ */
356
+ usageRights?: string | null;
357
+ /**
358
+ *
359
+ * @type {ResourceTypeObject}
360
+ * @memberof ResourceSearchResult
361
+ */
362
+ type?: ResourceTypeObject | null;
363
+ /**
364
+ *
365
+ * @type {Array<DisciplineObject>}
366
+ * @memberof ResourceSearchResult
367
+ */
368
+ disciplines?: Array<DisciplineObject> | null;
369
+ /**
370
+ *
371
+ * @type {VisibilityObject}
372
+ * @memberof ResourceSearchResult
373
+ */
374
+ visibility?: VisibilityObject | null;
375
+ /**
376
+ *
377
+ * @type {LicenseObject}
378
+ * @memberof ResourceSearchResult
379
+ */
380
+ license?: LicenseObject | null;
381
+ /**
382
+ *
383
+ * @type {any}
384
+ * @memberof ResourceSearchResult
385
+ */
386
+ resourceTypeOption?: any | null;
387
+ /**
388
+ *
389
+ * @type {string}
390
+ * @memberof ResourceSearchResult
391
+ */
392
+ applicationProfile?: string | null;
393
+ /**
394
+ *
395
+ * @type {any}
396
+ * @memberof ResourceSearchResult
397
+ */
398
+ fixedValues?: any | null;
399
+ /**
400
+ *
401
+ * @type {string}
402
+ * @memberof ResourceSearchResult
403
+ */
404
+ creator?: string | null;
405
+ /**
406
+ *
407
+ * @type {boolean}
408
+ * @memberof ResourceSearchResult
409
+ */
410
+ archived?: boolean;
411
+ /**
412
+ *
413
+ * @type {string}
414
+ * @memberof ResourceSearchResult
415
+ */
416
+ projectId?: string | null;
417
+ }
418
+ /**
419
+ *
420
+ * @export
421
+ * @interface ResourceSearchResultAllOf
422
+ */
423
+ export interface ResourceSearchResultAllOf {
424
+ /**
425
+ *
426
+ * @type {string}
427
+ * @memberof ResourceSearchResultAllOf
428
+ */
429
+ projectId?: string | null;
430
+ }
431
+ /**
432
+ *
433
+ * @export
434
+ * @interface ResourceTypeObject
435
+ */
436
+ export interface ResourceTypeObject {
437
+ /**
438
+ *
439
+ * @type {string}
440
+ * @memberof ResourceTypeObject
441
+ */
442
+ id?: string;
443
+ /**
444
+ *
445
+ * @type {string}
446
+ * @memberof ResourceTypeObject
447
+ */
448
+ displayName?: string | null;
449
+ }
450
+ /**
451
+ * Search result return object
452
+ * @export
453
+ * @interface SearchResult
454
+ */
455
+ export interface SearchResult {
456
+ /**
457
+ * Search result projects
458
+ * @type {Array<ProjectObject>}
36
459
  * @memberof SearchResult
37
460
  */
38
- source?: any | null;
461
+ projects?: Array<ProjectObject> | null;
462
+ /**
463
+ * Search result resources
464
+ * @type {Array<ResourceSearchResult>}
465
+ * @memberof SearchResult
466
+ */
467
+ resources?: Array<ResourceSearchResult> | null;
468
+ /**
469
+ * Search result files
470
+ * @type {Array<FileSearchResult>}
471
+ * @memberof SearchResult
472
+ */
473
+ files?: Array<FileSearchResult> | null;
474
+ }
475
+ /**
476
+ *
477
+ * @export
478
+ * @interface VisibilityObject
479
+ */
480
+ export interface VisibilityObject {
481
+ /**
482
+ *
483
+ * @type {string}
484
+ * @memberof VisibilityObject
485
+ */
486
+ id?: string;
487
+ /**
488
+ *
489
+ * @type {string}
490
+ * @memberof VisibilityObject
491
+ */
492
+ displayName?: string | null;
39
493
  }
40
494
  /**
41
- * SemanticSearchApi - axios parameter creator
495
+ * SearchApi - axios parameter creator
42
496
  * @export
43
497
  */
44
- export declare const SemanticSearchApiAxiosParamCreator: (configuration?: Configuration) => {
498
+ export declare const SearchApiAxiosParamCreator: (configuration?: Configuration) => {
45
499
  /**
46
500
  *
47
- * @summary Search with SemanticSearch;
501
+ * @summary Search
48
502
  * @param {string} [query] Elasticsearch query
49
503
  * @param {boolean} [user] Specify user or only public metadata records could be found
50
504
  * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
@@ -52,16 +506,16 @@ export declare const SemanticSearchApiAxiosParamCreator: (configuration?: Config
52
506
  * @param {*} [options] Override http request option.
53
507
  * @throws {RequiredError}
54
508
  */
55
- semanticSearchSearch: (query?: string, user?: boolean, adv?: boolean, languages?: Array<string>, options?: any) => Promise<RequestArgs>;
509
+ searchSearch: (query?: string, user?: boolean, adv?: boolean, languages?: Array<string>, options?: any) => Promise<RequestArgs>;
56
510
  };
57
511
  /**
58
- * SemanticSearchApi - functional programming interface
512
+ * SearchApi - functional programming interface
59
513
  * @export
60
514
  */
61
- export declare const SemanticSearchApiFp: (configuration?: Configuration) => {
515
+ export declare const SearchApiFp: (configuration?: Configuration) => {
62
516
  /**
63
517
  *
64
- * @summary Search with SemanticSearch;
518
+ * @summary Search
65
519
  * @param {string} [query] Elasticsearch query
66
520
  * @param {boolean} [user] Specify user or only public metadata records could be found
67
521
  * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
@@ -69,16 +523,16 @@ export declare const SemanticSearchApiFp: (configuration?: Configuration) => {
69
523
  * @param {*} [options] Override http request option.
70
524
  * @throws {RequiredError}
71
525
  */
72
- semanticSearchSearch(query?: string, user?: boolean, adv?: boolean, languages?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SearchResult>>>;
526
+ searchSearch(query?: string, user?: boolean, adv?: boolean, languages?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchResult>>;
73
527
  };
74
528
  /**
75
- * SemanticSearchApi - factory interface
529
+ * SearchApi - factory interface
76
530
  * @export
77
531
  */
78
- export declare const SemanticSearchApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
532
+ export declare const SearchApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
79
533
  /**
80
534
  *
81
- * @summary Search with SemanticSearch;
535
+ * @summary Search
82
536
  * @param {string} [query] Elasticsearch query
83
537
  * @param {boolean} [user] Specify user or only public metadata records could be found
84
538
  * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
@@ -86,25 +540,25 @@ export declare const SemanticSearchApiFactory: (configuration?: Configuration, b
86
540
  * @param {*} [options] Override http request option.
87
541
  * @throws {RequiredError}
88
542
  */
89
- semanticSearchSearch(query?: string, user?: boolean, adv?: boolean, languages?: Array<string>, options?: any): AxiosPromise<Array<SearchResult>>;
543
+ searchSearch(query?: string, user?: boolean, adv?: boolean, languages?: Array<string>, options?: any): AxiosPromise<SearchResult>;
90
544
  };
91
545
  /**
92
- * SemanticSearchApi - object-oriented interface
546
+ * SearchApi - object-oriented interface
93
547
  * @export
94
- * @class SemanticSearchApi
548
+ * @class SearchApi
95
549
  * @extends {BaseAPI}
96
550
  */
97
- export declare class SemanticSearchApi extends BaseAPI {
551
+ export declare class SearchApi extends BaseAPI {
98
552
  /**
99
553
  *
100
- * @summary Search with SemanticSearch;
554
+ * @summary Search
101
555
  * @param {string} [query] Elasticsearch query
102
556
  * @param {boolean} [user] Specify user or only public metadata records could be found
103
557
  * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
104
558
  * @param {Array<string>} [languages] Set the used languages
105
559
  * @param {*} [options] Override http request option.
106
560
  * @throws {RequiredError}
107
- * @memberof SemanticSearchApi
561
+ * @memberof SearchApi
108
562
  */
109
- semanticSearchSearch(query?: string, user?: boolean, adv?: boolean, languages?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<SearchResult[]>>;
563
+ searchSearch(query?: string, user?: boolean, adv?: boolean, languages?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<SearchResult>>;
110
564
  }
@@ -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.6.4
5
+ * The version of the OpenAPI document: 2.8.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,19 +22,21 @@ export declare const TreeApiAxiosParamCreator: (configuration?: Configuration) =
22
22
  * @summary This method retrieves the metadata
23
23
  * @param {string} resourceId Id of a resource
24
24
  * @param {string} [path] Path to the file
25
+ * @param {string} [mimeType] Requested MimeType of the metadata
25
26
  * @param {*} [options] Override http request option.
26
27
  * @throws {RequiredError}
27
28
  */
28
- treeGetMetadataWithParameter: (resourceId: string, path?: string, options?: any) => Promise<RequestArgs>;
29
+ treeGetMetadataWithParameter: (resourceId: string, path?: string, mimeType?: string, options?: any) => Promise<RequestArgs>;
29
30
  /**
30
31
  *
31
32
  * @summary This method stores the metadata of the file
32
33
  * @param {string} resourceId Id of the resource
33
34
  * @param {string} [path] Path to the file
35
+ * @param {string} [mimeType] Requested MimeType of the metadata
34
36
  * @param {*} [options] Override http request option.
35
37
  * @throws {RequiredError}
36
38
  */
37
- treeStoreMetadataForFileWithParameter: (resourceId: string, path?: string, options?: any) => Promise<RequestArgs>;
39
+ treeStoreMetadataForFileWithParameter: (resourceId: string, path?: string, mimeType?: string, options?: any) => Promise<RequestArgs>;
38
40
  };
39
41
  /**
40
42
  * TreeApi - functional programming interface
@@ -46,19 +48,21 @@ export declare const TreeApiFp: (configuration?: Configuration) => {
46
48
  * @summary This method retrieves the metadata
47
49
  * @param {string} resourceId Id of a resource
48
50
  * @param {string} [path] Path to the file
51
+ * @param {string} [mimeType] Requested MimeType of the metadata
49
52
  * @param {*} [options] Override http request option.
50
53
  * @throws {RequiredError}
51
54
  */
52
- treeGetMetadataWithParameter(resourceId: string, path?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
55
+ treeGetMetadataWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
53
56
  /**
54
57
  *
55
58
  * @summary This method stores the metadata of the file
56
59
  * @param {string} resourceId Id of the resource
57
60
  * @param {string} [path] Path to the file
61
+ * @param {string} [mimeType] Requested MimeType of the metadata
58
62
  * @param {*} [options] Override http request option.
59
63
  * @throws {RequiredError}
60
64
  */
61
- treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
65
+ treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
62
66
  };
63
67
  /**
64
68
  * TreeApi - factory interface
@@ -70,19 +74,21 @@ export declare const TreeApiFactory: (configuration?: Configuration, basePath?:
70
74
  * @summary This method retrieves the metadata
71
75
  * @param {string} resourceId Id of a resource
72
76
  * @param {string} [path] Path to the file
77
+ * @param {string} [mimeType] Requested MimeType of the metadata
73
78
  * @param {*} [options] Override http request option.
74
79
  * @throws {RequiredError}
75
80
  */
76
- treeGetMetadataWithParameter(resourceId: string, path?: string, options?: any): AxiosPromise<any>;
81
+ treeGetMetadataWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): AxiosPromise<any>;
77
82
  /**
78
83
  *
79
84
  * @summary This method stores the metadata of the file
80
85
  * @param {string} resourceId Id of the resource
81
86
  * @param {string} [path] Path to the file
87
+ * @param {string} [mimeType] Requested MimeType of the metadata
82
88
  * @param {*} [options] Override http request option.
83
89
  * @throws {RequiredError}
84
90
  */
85
- treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, options?: any): AxiosPromise<any>;
91
+ treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): AxiosPromise<any>;
86
92
  };
87
93
  /**
88
94
  * TreeApi - object-oriented interface
@@ -96,19 +102,21 @@ export declare class TreeApi extends BaseAPI {
96
102
  * @summary This method retrieves the metadata
97
103
  * @param {string} resourceId Id of a resource
98
104
  * @param {string} [path] Path to the file
105
+ * @param {string} [mimeType] Requested MimeType of the metadata
99
106
  * @param {*} [options] Override http request option.
100
107
  * @throws {RequiredError}
101
108
  * @memberof TreeApi
102
109
  */
103
- treeGetMetadataWithParameter(resourceId: string, path?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
110
+ treeGetMetadataWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
104
111
  /**
105
112
  *
106
113
  * @summary This method stores the metadata of the file
107
114
  * @param {string} resourceId Id of the resource
108
115
  * @param {string} [path] Path to the file
116
+ * @param {string} [mimeType] Requested MimeType of the metadata
109
117
  * @param {*} [options] Override http request option.
110
118
  * @throws {RequiredError}
111
119
  * @memberof TreeApi
112
120
  */
113
- treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
121
+ treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, mimeType?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
114
122
  }
@@ -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.6.4
5
+ * The version of the OpenAPI document: 2.8.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.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.6.4
5
+ * The version of the OpenAPI document: 2.8.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.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.6.4
5
+ * The version of the OpenAPI document: 2.8.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).