@coscine/api-client 1.2.0 → 1.5.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 (44) hide show
  1. package/dist/index.js +132 -109
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.umd.js +132 -109
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/lib/Coscine.Api.Metadata/api.js +9 -88
  6. package/dist/lib/Coscine.Api.Metadata/api.js.map +1 -1
  7. package/dist/lib/Coscine.Api.Metadata/base.js +1 -1
  8. package/dist/lib/Coscine.Api.Metadata/common.js +1 -1
  9. package/dist/lib/Coscine.Api.Metadata/configuration.js +1 -1
  10. package/dist/lib/Coscine.Api.Metadata/index.js +1 -1
  11. package/dist/lib/Coscine.Api.Project/api.js +74 -9
  12. package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
  13. package/dist/lib/Coscine.Api.Project/base.js +2 -2
  14. package/dist/lib/Coscine.Api.Project/common.js +1 -1
  15. package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
  16. package/dist/lib/Coscine.Api.Project/index.js +1 -1
  17. package/dist/lib/Coscine.Api.Resources/api.js +29 -29
  18. package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
  19. package/dist/lib/Coscine.Api.Resources/base.js +1 -1
  20. package/dist/lib/Coscine.Api.Resources/common.js +1 -1
  21. package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
  22. package/dist/lib/Coscine.Api.Resources/index.js +1 -1
  23. package/dist/lib/apis.js +8 -1
  24. package/dist/lib/apis.js.map +1 -1
  25. package/dist/lib/axios-basic.js +36 -8
  26. package/dist/lib/axios-basic.js.map +1 -1
  27. package/dist/types/Coscine.Api.Metadata/api.d.ts +52 -55
  28. package/dist/types/Coscine.Api.Metadata/base.d.ts +1 -1
  29. package/dist/types/Coscine.Api.Metadata/common.d.ts +1 -1
  30. package/dist/types/Coscine.Api.Metadata/configuration.d.ts +1 -1
  31. package/dist/types/Coscine.Api.Metadata/index.d.ts +1 -1
  32. package/dist/types/Coscine.Api.Project/api.d.ts +45 -12
  33. package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
  34. package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
  35. package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
  36. package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
  37. package/dist/types/Coscine.Api.Resources/api.d.ts +176 -38
  38. package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
  39. package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
  40. package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
  41. package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
  42. package/dist/types/apis.d.ts +9 -9
  43. package/dist/types/index.d.ts +18 -18
  44. package/package.json +2 -2
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Resources
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.3.0
5
+ * The version of the OpenAPI document: 2.6.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,6 +12,19 @@
12
12
  import { Configuration } from './configuration';
13
13
  import { AxiosPromise, AxiosInstance } from 'axios';
14
14
  import { RequestArgs, BaseAPI } from './base';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ColumnsObject
19
+ */
20
+ export interface ColumnsObject {
21
+ /**
22
+ *
23
+ * @type {Array<string>}
24
+ * @memberof ColumnsObject
25
+ */
26
+ always?: Array<string> | null;
27
+ }
15
28
  /**
16
29
  *
17
30
  * @export
@@ -43,6 +56,19 @@ export interface DisciplineObject {
43
56
  */
44
57
  displayNameEn?: string | null;
45
58
  }
59
+ /**
60
+ *
61
+ * @export
62
+ * @interface EntriesView
63
+ */
64
+ export interface EntriesView {
65
+ /**
66
+ *
67
+ * @type {ColumnsObject}
68
+ * @memberof EntriesView
69
+ */
70
+ columns?: ColumnsObject | null;
71
+ }
46
72
  /**
47
73
  *
48
74
  * @export
@@ -62,6 +88,63 @@ export interface LicenseObject {
62
88
  */
63
89
  displayName?: string | null;
64
90
  }
91
+ /**
92
+ *
93
+ * @export
94
+ * @interface MetadataView
95
+ */
96
+ export interface MetadataView {
97
+ /**
98
+ *
99
+ * @type {boolean}
100
+ * @memberof MetadataView
101
+ */
102
+ editableDataUrl?: boolean;
103
+ /**
104
+ *
105
+ * @type {boolean}
106
+ * @memberof MetadataView
107
+ */
108
+ editableKey?: boolean;
109
+ }
110
+ /**
111
+ *
112
+ * @export
113
+ * @interface ResourceContentObject
114
+ */
115
+ export interface ResourceContentObject {
116
+ /**
117
+ *
118
+ * @type {boolean}
119
+ * @memberof ResourceContentObject
120
+ */
121
+ readOnly?: boolean;
122
+ /**
123
+ *
124
+ * @type {MetadataView}
125
+ * @memberof ResourceContentObject
126
+ */
127
+ metadataView?: MetadataView | null;
128
+ /**
129
+ *
130
+ * @type {EntriesView}
131
+ * @memberof ResourceContentObject
132
+ */
133
+ entriesView?: EntriesView | null;
134
+ }
135
+ /**
136
+ *
137
+ * @export
138
+ * @interface ResourceCreateObject
139
+ */
140
+ export interface ResourceCreateObject {
141
+ /**
142
+ *
143
+ * @type {Array<Array<string>>}
144
+ * @memberof ResourceCreateObject
145
+ */
146
+ components?: Array<Array<string>> | null;
147
+ }
65
148
  /**
66
149
  *
67
150
  * @export
@@ -165,6 +248,61 @@ export interface ResourceObject {
165
248
  */
166
249
  archived?: boolean;
167
250
  }
251
+ /**
252
+ *
253
+ * @export
254
+ * @interface ResourceTypeInformation
255
+ */
256
+ export interface ResourceTypeInformation {
257
+ /**
258
+ *
259
+ * @type {boolean}
260
+ * @memberof ResourceTypeInformation
261
+ */
262
+ isEnabled?: boolean;
263
+ /**
264
+ *
265
+ * @type {boolean}
266
+ * @memberof ResourceTypeInformation
267
+ */
268
+ isArchived?: boolean;
269
+ /**
270
+ *
271
+ * @type {boolean}
272
+ * @memberof ResourceTypeInformation
273
+ */
274
+ isQuotaAvailable?: boolean;
275
+ /**
276
+ *
277
+ * @type {boolean}
278
+ * @memberof ResourceTypeInformation
279
+ */
280
+ isQuotaAdjustable?: boolean;
281
+ /**
282
+ *
283
+ * @type {string}
284
+ * @memberof ResourceTypeInformation
285
+ */
286
+ displayName?: string | null;
287
+ /**
288
+ *
289
+ * @type {string}
290
+ * @memberof ResourceTypeInformation
291
+ */
292
+ id?: string;
293
+ /**
294
+ *
295
+ * @type {ResourceCreateObject}
296
+ * @memberof ResourceTypeInformation
297
+ */
298
+ resourceCreate?: ResourceCreateObject | null;
299
+ /**
300
+ *
301
+ * @type {ResourceContentObject}
302
+ * @memberof ResourceTypeInformation
303
+ */
304
+ resourceContent?: ResourceContentObject | null;
305
+ }
168
306
  /**
169
307
  *
170
308
  * @export
@@ -211,7 +349,7 @@ export declare const ResourceApiAxiosParamCreator: (configuration?: Configuratio
211
349
  /**
212
350
  *
213
351
  * @summary This deletes the specified resource.
214
- * @param {string} id A guid as a string that identifies the resource.
352
+ * @param {string} id A GUID as a string that identifies the resource.
215
353
  * @param {*} [options] Override http request option.
216
354
  * @throws {RequiredError}
217
355
  */
@@ -219,7 +357,7 @@ export declare const ResourceApiAxiosParamCreator: (configuration?: Configuratio
219
357
  /**
220
358
  *
221
359
  * @summary This returns the resource for the specified id.
222
- * @param {string} id A guid as a string that identifies the resource.
360
+ * @param {string} id A GUID as a string that identifies the resource.
223
361
  * @param {*} [options] Override http request option.
224
362
  * @throws {RequiredError}
225
363
  */
@@ -234,15 +372,15 @@ export declare const ResourceApiAxiosParamCreator: (configuration?: Configuratio
234
372
  /**
235
373
  *
236
374
  * @summary This returns if the current user is the creator of the specified resource.
237
- * @param {string} id A guid as a string that identifies the resource.
375
+ * @param {string} id A GUID as a string that identifies the resource.
238
376
  * @param {*} [options] Override http request option.
239
377
  * @throws {RequiredError}
240
378
  */
241
379
  resourceIsUserResourceCreator: (id: string, options?: any) => Promise<RequestArgs>;
242
380
  /**
243
381
  *
244
- * @summary This returns the readonly status of the given resource.
245
- * @param {string} id A guid as a string that identifies the resource.
382
+ * @summary This returns the read only status of the given resource.
383
+ * @param {string} id A GUID as a string that identifies the resource.
246
384
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
247
385
  * @param {*} [options] Override http request option.
248
386
  * @throws {RequiredError}
@@ -251,7 +389,7 @@ export declare const ResourceApiAxiosParamCreator: (configuration?: Configuratio
251
389
  /**
252
390
  *
253
391
  * @summary This stores the provided resource object for the specified project.
254
- * @param {string} projectId A guid as a string that identifies the resource.
392
+ * @param {string} projectId A GUID as a string that identifies the resource.
255
393
  * @param {ResourceObject} resourceObject Entry representing the user
256
394
  * @param {*} [options] Override http request option.
257
395
  * @throws {RequiredError}
@@ -260,7 +398,7 @@ export declare const ResourceApiAxiosParamCreator: (configuration?: Configuratio
260
398
  /**
261
399
  *
262
400
  * @summary This returns if the current user is the creator of the specified resource.
263
- * @param {string} id A guid as a string that identifies the resource.
401
+ * @param {string} id A GUID as a string that identifies the resource.
264
402
  * @param {ResourceObject} resourceObject Entry representing the user
265
403
  * @param {*} [options] Override http request option.
266
404
  * @throws {RequiredError}
@@ -275,7 +413,7 @@ export declare const ResourceApiFp: (configuration?: Configuration) => {
275
413
  /**
276
414
  *
277
415
  * @summary This deletes the specified resource.
278
- * @param {string} id A guid as a string that identifies the resource.
416
+ * @param {string} id A GUID as a string that identifies the resource.
279
417
  * @param {*} [options] Override http request option.
280
418
  * @throws {RequiredError}
281
419
  */
@@ -283,7 +421,7 @@ export declare const ResourceApiFp: (configuration?: Configuration) => {
283
421
  /**
284
422
  *
285
423
  * @summary This returns the resource for the specified id.
286
- * @param {string} id A guid as a string that identifies the resource.
424
+ * @param {string} id A GUID as a string that identifies the resource.
287
425
  * @param {*} [options] Override http request option.
288
426
  * @throws {RequiredError}
289
427
  */
@@ -298,15 +436,15 @@ export declare const ResourceApiFp: (configuration?: Configuration) => {
298
436
  /**
299
437
  *
300
438
  * @summary This returns if the current user is the creator of the specified resource.
301
- * @param {string} id A guid as a string that identifies the resource.
439
+ * @param {string} id A GUID as a string that identifies the resource.
302
440
  * @param {*} [options] Override http request option.
303
441
  * @throws {RequiredError}
304
442
  */
305
443
  resourceIsUserResourceCreator(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
306
444
  /**
307
445
  *
308
- * @summary This returns the readonly status of the given resource.
309
- * @param {string} id A guid as a string that identifies the resource.
446
+ * @summary This returns the read only status of the given resource.
447
+ * @param {string} id A GUID as a string that identifies the resource.
310
448
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
311
449
  * @param {*} [options] Override http request option.
312
450
  * @throws {RequiredError}
@@ -315,7 +453,7 @@ export declare const ResourceApiFp: (configuration?: Configuration) => {
315
453
  /**
316
454
  *
317
455
  * @summary This stores the provided resource object for the specified project.
318
- * @param {string} projectId A guid as a string that identifies the resource.
456
+ * @param {string} projectId A GUID as a string that identifies the resource.
319
457
  * @param {ResourceObject} resourceObject Entry representing the user
320
458
  * @param {*} [options] Override http request option.
321
459
  * @throws {RequiredError}
@@ -324,7 +462,7 @@ export declare const ResourceApiFp: (configuration?: Configuration) => {
324
462
  /**
325
463
  *
326
464
  * @summary This returns if the current user is the creator of the specified resource.
327
- * @param {string} id A guid as a string that identifies the resource.
465
+ * @param {string} id A GUID as a string that identifies the resource.
328
466
  * @param {ResourceObject} resourceObject Entry representing the user
329
467
  * @param {*} [options] Override http request option.
330
468
  * @throws {RequiredError}
@@ -339,7 +477,7 @@ export declare const ResourceApiFactory: (configuration?: Configuration, basePat
339
477
  /**
340
478
  *
341
479
  * @summary This deletes the specified resource.
342
- * @param {string} id A guid as a string that identifies the resource.
480
+ * @param {string} id A GUID as a string that identifies the resource.
343
481
  * @param {*} [options] Override http request option.
344
482
  * @throws {RequiredError}
345
483
  */
@@ -347,7 +485,7 @@ export declare const ResourceApiFactory: (configuration?: Configuration, basePat
347
485
  /**
348
486
  *
349
487
  * @summary This returns the resource for the specified id.
350
- * @param {string} id A guid as a string that identifies the resource.
488
+ * @param {string} id A GUID as a string that identifies the resource.
351
489
  * @param {*} [options] Override http request option.
352
490
  * @throws {RequiredError}
353
491
  */
@@ -362,15 +500,15 @@ export declare const ResourceApiFactory: (configuration?: Configuration, basePat
362
500
  /**
363
501
  *
364
502
  * @summary This returns if the current user is the creator of the specified resource.
365
- * @param {string} id A guid as a string that identifies the resource.
503
+ * @param {string} id A GUID as a string that identifies the resource.
366
504
  * @param {*} [options] Override http request option.
367
505
  * @throws {RequiredError}
368
506
  */
369
507
  resourceIsUserResourceCreator(id: string, options?: any): AxiosPromise<any>;
370
508
  /**
371
509
  *
372
- * @summary This returns the readonly status of the given resource.
373
- * @param {string} id A guid as a string that identifies the resource.
510
+ * @summary This returns the read only status of the given resource.
511
+ * @param {string} id A GUID as a string that identifies the resource.
374
512
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
375
513
  * @param {*} [options] Override http request option.
376
514
  * @throws {RequiredError}
@@ -379,7 +517,7 @@ export declare const ResourceApiFactory: (configuration?: Configuration, basePat
379
517
  /**
380
518
  *
381
519
  * @summary This stores the provided resource object for the specified project.
382
- * @param {string} projectId A guid as a string that identifies the resource.
520
+ * @param {string} projectId A GUID as a string that identifies the resource.
383
521
  * @param {ResourceObject} resourceObject Entry representing the user
384
522
  * @param {*} [options] Override http request option.
385
523
  * @throws {RequiredError}
@@ -388,7 +526,7 @@ export declare const ResourceApiFactory: (configuration?: Configuration, basePat
388
526
  /**
389
527
  *
390
528
  * @summary This returns if the current user is the creator of the specified resource.
391
- * @param {string} id A guid as a string that identifies the resource.
529
+ * @param {string} id A GUID as a string that identifies the resource.
392
530
  * @param {ResourceObject} resourceObject Entry representing the user
393
531
  * @param {*} [options] Override http request option.
394
532
  * @throws {RequiredError}
@@ -405,7 +543,7 @@ export declare class ResourceApi extends BaseAPI {
405
543
  /**
406
544
  *
407
545
  * @summary This deletes the specified resource.
408
- * @param {string} id A guid as a string that identifies the resource.
546
+ * @param {string} id A GUID as a string that identifies the resource.
409
547
  * @param {*} [options] Override http request option.
410
548
  * @throws {RequiredError}
411
549
  * @memberof ResourceApi
@@ -414,7 +552,7 @@ export declare class ResourceApi extends BaseAPI {
414
552
  /**
415
553
  *
416
554
  * @summary This returns the resource for the specified id.
417
- * @param {string} id A guid as a string that identifies the resource.
555
+ * @param {string} id A GUID as a string that identifies the resource.
418
556
  * @param {*} [options] Override http request option.
419
557
  * @throws {RequiredError}
420
558
  * @memberof ResourceApi
@@ -431,7 +569,7 @@ export declare class ResourceApi extends BaseAPI {
431
569
  /**
432
570
  *
433
571
  * @summary This returns if the current user is the creator of the specified resource.
434
- * @param {string} id A guid as a string that identifies the resource.
572
+ * @param {string} id A GUID as a string that identifies the resource.
435
573
  * @param {*} [options] Override http request option.
436
574
  * @throws {RequiredError}
437
575
  * @memberof ResourceApi
@@ -439,8 +577,8 @@ export declare class ResourceApi extends BaseAPI {
439
577
  resourceIsUserResourceCreator(id: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
440
578
  /**
441
579
  *
442
- * @summary This returns the readonly status of the given resource.
443
- * @param {string} id A guid as a string that identifies the resource.
580
+ * @summary This returns the read only status of the given resource.
581
+ * @param {string} id A GUID as a string that identifies the resource.
444
582
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
445
583
  * @param {*} [options] Override http request option.
446
584
  * @throws {RequiredError}
@@ -450,7 +588,7 @@ export declare class ResourceApi extends BaseAPI {
450
588
  /**
451
589
  *
452
590
  * @summary This stores the provided resource object for the specified project.
453
- * @param {string} projectId A guid as a string that identifies the resource.
591
+ * @param {string} projectId A GUID as a string that identifies the resource.
454
592
  * @param {ResourceObject} resourceObject Entry representing the user
455
593
  * @param {*} [options] Override http request option.
456
594
  * @throws {RequiredError}
@@ -460,7 +598,7 @@ export declare class ResourceApi extends BaseAPI {
460
598
  /**
461
599
  *
462
600
  * @summary This returns if the current user is the creator of the specified resource.
463
- * @param {string} id A guid as a string that identifies the resource.
601
+ * @param {string} id A GUID as a string that identifies the resource.
464
602
  * @param {ResourceObject} resourceObject Entry representing the user
465
603
  * @param {*} [options] Override http request option.
466
604
  * @throws {RequiredError}
@@ -507,7 +645,7 @@ export declare const ResourceTypeApiFp: (configuration?: Configuration) => {
507
645
  * @param {*} [options] Override http request option.
508
646
  * @throws {RequiredError}
509
647
  */
510
- resourceTypeGetEnabledResourceTypes(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
648
+ resourceTypeGetEnabledResourceTypes(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ResourceTypeInformation>>>;
511
649
  /**
512
650
  *
513
651
  * @summary Returns all fields of the specified resource type.
@@ -515,14 +653,14 @@ export declare const ResourceTypeApiFp: (configuration?: Configuration) => {
515
653
  * @param {*} [options] Override http request option.
516
654
  * @throws {RequiredError}
517
655
  */
518
- resourceTypeGetResourceType(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
656
+ resourceTypeGetResourceType(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResourceTypeInformation>>;
519
657
  /**
520
658
  *
521
659
  * @summary Returns all resource types.
522
660
  * @param {*} [options] Override http request option.
523
661
  * @throws {RequiredError}
524
662
  */
525
- resourceTypeGetResourceTypes(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
663
+ resourceTypeGetResourceTypes(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ResourceTypeInformation>>>;
526
664
  };
527
665
  /**
528
666
  * ResourceTypeApi - factory interface
@@ -535,7 +673,7 @@ export declare const ResourceTypeApiFactory: (configuration?: Configuration, bas
535
673
  * @param {*} [options] Override http request option.
536
674
  * @throws {RequiredError}
537
675
  */
538
- resourceTypeGetEnabledResourceTypes(options?: any): AxiosPromise<any>;
676
+ resourceTypeGetEnabledResourceTypes(options?: any): AxiosPromise<Array<ResourceTypeInformation>>;
539
677
  /**
540
678
  *
541
679
  * @summary Returns all fields of the specified resource type.
@@ -543,14 +681,14 @@ export declare const ResourceTypeApiFactory: (configuration?: Configuration, bas
543
681
  * @param {*} [options] Override http request option.
544
682
  * @throws {RequiredError}
545
683
  */
546
- resourceTypeGetResourceType(id: string, options?: any): AxiosPromise<any>;
684
+ resourceTypeGetResourceType(id: string, options?: any): AxiosPromise<ResourceTypeInformation>;
547
685
  /**
548
686
  *
549
687
  * @summary Returns all resource types.
550
688
  * @param {*} [options] Override http request option.
551
689
  * @throws {RequiredError}
552
690
  */
553
- resourceTypeGetResourceTypes(options?: any): AxiosPromise<any>;
691
+ resourceTypeGetResourceTypes(options?: any): AxiosPromise<Array<ResourceTypeInformation>>;
554
692
  };
555
693
  /**
556
694
  * ResourceTypeApi - object-oriented interface
@@ -566,7 +704,7 @@ export declare class ResourceTypeApi extends BaseAPI {
566
704
  * @throws {RequiredError}
567
705
  * @memberof ResourceTypeApi
568
706
  */
569
- resourceTypeGetEnabledResourceTypes(options?: any): Promise<import("axios").AxiosResponse<any>>;
707
+ resourceTypeGetEnabledResourceTypes(options?: any): Promise<import("axios").AxiosResponse<ResourceTypeInformation[]>>;
570
708
  /**
571
709
  *
572
710
  * @summary Returns all fields of the specified resource type.
@@ -575,7 +713,7 @@ export declare class ResourceTypeApi extends BaseAPI {
575
713
  * @throws {RequiredError}
576
714
  * @memberof ResourceTypeApi
577
715
  */
578
- resourceTypeGetResourceType(id: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
716
+ resourceTypeGetResourceType(id: string, options?: any): Promise<import("axios").AxiosResponse<ResourceTypeInformation>>;
579
717
  /**
580
718
  *
581
719
  * @summary Returns all resource types.
@@ -583,5 +721,5 @@ export declare class ResourceTypeApi extends BaseAPI {
583
721
  * @throws {RequiredError}
584
722
  * @memberof ResourceTypeApi
585
723
  */
586
- resourceTypeGetResourceTypes(options?: any): Promise<import("axios").AxiosResponse<any>>;
724
+ resourceTypeGetResourceTypes(options?: any): Promise<import("axios").AxiosResponse<ResourceTypeInformation[]>>;
587
725
  }
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Resources
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.3.0
5
+ * The version of the OpenAPI document: 2.6.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Resources
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.3.0
5
+ * The version of the OpenAPI document: 2.6.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Resources
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.3.0
5
+ * The version of the OpenAPI document: 2.6.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Resources
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.3.0
5
+ * The version of the OpenAPI document: 2.6.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,12 +34,11 @@ declare function implementations(axios?: AxiosInstance): {
34
34
  licenseIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").LicenseObject[]>;
35
35
  };
36
36
  MetadataApi: {
37
- metadataGetApplicationProfileComplete(profile: string, resourceId: string, options?: any): import("axios").AxiosPromise<any>;
38
- metadataGetClassInstances(projectId: string, className: string, options?: any): import("axios").AxiosPromise<any>;
37
+ metadataGetClassInstances(className: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Metadata/api").BilingualLabels>;
39
38
  metadataGetProfile(profile: string, options?: any): import("axios").AxiosPromise<any>;
40
- metadataGetProfiles(options?: any): import("axios").AxiosPromise<any>;
41
- metadataGetVocabularies(options?: any): import("axios").AxiosPromise<any>;
42
- metadataGetVocabulary(path: string, options?: any): import("axios").AxiosPromise<any>;
39
+ metadataGetProfiles(options?: any): import("axios").AxiosPromise<string[]>;
40
+ metadataGetVocabularies(options?: any): import("axios").AxiosPromise<string[]>;
41
+ metadataGetVocabulary(path: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Metadata/api").BilingualLabels>;
43
42
  metadataSaveApplicationProfile(applicationProfile: import("./Coscine.Api.Metadata/api").ApplicationProfile, options?: any): import("axios").AxiosPromise<any>;
44
43
  };
45
44
  NoticeApi: {
@@ -54,6 +53,7 @@ declare function implementations(axios?: AxiosInstance): {
54
53
  organizationIsMember2(options?: any): import("axios").AxiosPromise<any>;
55
54
  };
56
55
  ProjectApi: {
56
+ projectCreateApplicationProfile(projectId: string, options?: any): import("axios").AxiosPromise<any>;
57
57
  projectDelete(id: string, options?: any): import("axios").AxiosPromise<any>;
58
58
  projectDeleteInvitation(invitationId: string, options?: any): import("axios").AxiosPromise<any>;
59
59
  projectGet(id: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").ProjectObject>;
@@ -63,7 +63,7 @@ declare function implementations(axios?: AxiosInstance): {
63
63
  projectIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").ProjectObject[]>;
64
64
  projectListInvitations(projectId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").InvitationReturnObject[]>;
65
65
  projectQuota(projectId: string, resourceTypeId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").ProjectQuotaReturnObject>;
66
- projectQuotas(projectId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").ProjectQuota[]>;
66
+ projectQuotas(projectId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").ProjectQuotaReturnObject[]>;
67
67
  projectResolveInvitation(token: string, options?: any): import("axios").AxiosPromise<any>;
68
68
  projectSendInvitation(sendInvitationObject: import("./Coscine.Api.Project/api").SendInvitationObject, options?: any): import("axios").AxiosPromise<any>;
69
69
  projectStore(options?: any): import("axios").AxiosPromise<any>;
@@ -92,9 +92,9 @@ declare function implementations(axios?: AxiosInstance): {
92
92
  resourceUpdate(id: string, resourceObject: import("./Coscine.Api.Resources/api").ResourceObject, options?: any): import("axios").AxiosPromise<any>;
93
93
  };
94
94
  ResourceTypeApi: {
95
- resourceTypeGetEnabledResourceTypes(options?: any): import("axios").AxiosPromise<any>;
96
- resourceTypeGetResourceType(id: string, options?: any): import("axios").AxiosPromise<any>;
97
- resourceTypeGetResourceTypes(options?: any): import("axios").AxiosPromise<any>;
95
+ resourceTypeGetEnabledResourceTypes(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources/api").ResourceTypeInformation[]>;
96
+ resourceTypeGetResourceType(id: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources/api").ResourceTypeInformation>;
97
+ resourceTypeGetResourceTypes(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources/api").ResourceTypeInformation[]>;
98
98
  };
99
99
  RoleApi: {
100
100
  roleIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").RoleObject[]>;
@@ -33,12 +33,11 @@ declare const apis: {
33
33
  licenseIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").LicenseObject[]>;
34
34
  };
35
35
  MetadataApi: {
36
- metadataGetApplicationProfileComplete(profile: string, resourceId: string, options?: any): import("axios").AxiosPromise<any>;
37
- metadataGetClassInstances(projectId: string, className: string, options?: any): import("axios").AxiosPromise<any>;
36
+ metadataGetClassInstances(className: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Metadata").BilingualLabels>;
38
37
  metadataGetProfile(profile: string, options?: any): import("axios").AxiosPromise<any>;
39
- metadataGetProfiles(options?: any): import("axios").AxiosPromise<any>;
40
- metadataGetVocabularies(options?: any): import("axios").AxiosPromise<any>;
41
- metadataGetVocabulary(path: string, options?: any): import("axios").AxiosPromise<any>;
38
+ metadataGetProfiles(options?: any): import("axios").AxiosPromise<string[]>;
39
+ metadataGetVocabularies(options?: any): import("axios").AxiosPromise<string[]>;
40
+ metadataGetVocabulary(path: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Metadata").BilingualLabels>;
42
41
  metadataSaveApplicationProfile(applicationProfile: import("./Coscine.Api.Metadata").ApplicationProfile, options?: any): import("axios").AxiosPromise<any>;
43
42
  };
44
43
  NoticeApi: {
@@ -53,6 +52,7 @@ declare const apis: {
53
52
  organizationIsMember2(options?: any): import("axios").AxiosPromise<any>;
54
53
  };
55
54
  ProjectApi: {
55
+ projectCreateApplicationProfile(projectId: string, options?: any): import("axios").AxiosPromise<any>;
56
56
  projectDelete(id: string, options?: any): import("axios").AxiosPromise<any>;
57
57
  projectDeleteInvitation(invitationId: string, options?: any): import("axios").AxiosPromise<any>;
58
58
  projectGet(id: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectObject>;
@@ -62,7 +62,7 @@ declare const apis: {
62
62
  projectIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectObject[]>;
63
63
  projectListInvitations(projectId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").InvitationReturnObject[]>;
64
64
  projectQuota(projectId: string, resourceTypeId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectQuotaReturnObject>;
65
- projectQuotas(projectId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectQuota[]>;
65
+ projectQuotas(projectId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectQuotaReturnObject[]>;
66
66
  projectResolveInvitation(token: string, options?: any): import("axios").AxiosPromise<any>;
67
67
  projectSendInvitation(sendInvitationObject: import("./Coscine.Api.Project").SendInvitationObject, options?: any): import("axios").AxiosPromise<any>;
68
68
  projectStore(options?: any): import("axios").AxiosPromise<any>;
@@ -91,9 +91,9 @@ declare const apis: {
91
91
  resourceUpdate(id: string, resourceObject: import("./Coscine.Api.Resources").ResourceObject, options?: any): import("axios").AxiosPromise<any>;
92
92
  };
93
93
  ResourceTypeApi: {
94
- resourceTypeGetEnabledResourceTypes(options?: any): import("axios").AxiosPromise<any>;
95
- resourceTypeGetResourceType(id: string, options?: any): import("axios").AxiosPromise<any>;
96
- resourceTypeGetResourceTypes(options?: any): import("axios").AxiosPromise<any>;
94
+ resourceTypeGetEnabledResourceTypes(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources").ResourceTypeInformation[]>;
95
+ resourceTypeGetResourceType(id: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources").ResourceTypeInformation>;
96
+ resourceTypeGetResourceTypes(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources").ResourceTypeInformation[]>;
97
97
  };
98
98
  RoleApi: {
99
99
  roleIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").RoleObject[]>;
@@ -172,12 +172,11 @@ export declare const LicenseApi: {
172
172
  licenseIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").LicenseObject[]>;
173
173
  };
174
174
  export declare const MetadataApi: {
175
- metadataGetApplicationProfileComplete(profile: string, resourceId: string, options?: any): import("axios").AxiosPromise<any>;
176
- metadataGetClassInstances(projectId: string, className: string, options?: any): import("axios").AxiosPromise<any>;
175
+ metadataGetClassInstances(className: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Metadata").BilingualLabels>;
177
176
  metadataGetProfile(profile: string, options?: any): import("axios").AxiosPromise<any>;
178
- metadataGetProfiles(options?: any): import("axios").AxiosPromise<any>;
179
- metadataGetVocabularies(options?: any): import("axios").AxiosPromise<any>;
180
- metadataGetVocabulary(path: string, options?: any): import("axios").AxiosPromise<any>;
177
+ metadataGetProfiles(options?: any): import("axios").AxiosPromise<string[]>;
178
+ metadataGetVocabularies(options?: any): import("axios").AxiosPromise<string[]>;
179
+ metadataGetVocabulary(path: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Metadata").BilingualLabels>;
181
180
  metadataSaveApplicationProfile(applicationProfile: import("./Coscine.Api.Metadata").ApplicationProfile, options?: any): import("axios").AxiosPromise<any>;
182
181
  };
183
182
  export declare const NoticeApi: {
@@ -192,6 +191,7 @@ export declare const OrganizationApi: {
192
191
  organizationIsMember2(options?: any): import("axios").AxiosPromise<any>;
193
192
  };
194
193
  export declare const ProjectApi: {
194
+ projectCreateApplicationProfile(projectId: string, options?: any): import("axios").AxiosPromise<any>;
195
195
  projectDelete(id: string, options?: any): import("axios").AxiosPromise<any>;
196
196
  projectDeleteInvitation(invitationId: string, options?: any): import("axios").AxiosPromise<any>;
197
197
  projectGet(id: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectObject>;
@@ -201,7 +201,7 @@ export declare const ProjectApi: {
201
201
  projectIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectObject[]>;
202
202
  projectListInvitations(projectId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").InvitationReturnObject[]>;
203
203
  projectQuota(projectId: string, resourceTypeId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectQuotaReturnObject>;
204
- projectQuotas(projectId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectQuota[]>;
204
+ projectQuotas(projectId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectQuotaReturnObject[]>;
205
205
  projectResolveInvitation(token: string, options?: any): import("axios").AxiosPromise<any>;
206
206
  projectSendInvitation(sendInvitationObject: import("./Coscine.Api.Project").SendInvitationObject, options?: any): import("axios").AxiosPromise<any>;
207
207
  projectStore(options?: any): import("axios").AxiosPromise<any>;
@@ -230,9 +230,9 @@ export declare const ResourceApi: {
230
230
  resourceUpdate(id: string, resourceObject: import("./Coscine.Api.Resources").ResourceObject, options?: any): import("axios").AxiosPromise<any>;
231
231
  };
232
232
  export declare const ResourceTypeApi: {
233
- resourceTypeGetEnabledResourceTypes(options?: any): import("axios").AxiosPromise<any>;
234
- resourceTypeGetResourceType(id: string, options?: any): import("axios").AxiosPromise<any>;
235
- resourceTypeGetResourceTypes(options?: any): import("axios").AxiosPromise<any>;
233
+ resourceTypeGetEnabledResourceTypes(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources").ResourceTypeInformation[]>;
234
+ resourceTypeGetResourceType(id: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources").ResourceTypeInformation>;
235
+ resourceTypeGetResourceTypes(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources").ResourceTypeInformation[]>;
236
236
  };
237
237
  export declare const RoleApi: {
238
238
  roleIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").RoleObject[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coscine/api-client",
3
- "version": "1.2.0",
3
+ "version": "1.5.0",
4
4
  "description": "This project contains the generated api connection classes.",
5
5
  "keywords": [
6
6
  "coscine",
@@ -129,5 +129,5 @@
129
129
  "dependencies": {
130
130
  "axios": "^0.21.1"
131
131
  },
132
- "packageManager": "yarn@3.1.1"
132
+ "packageManager": "yarn@3.2.0"
133
133
  }