@coscine/api-client 3.7.0 → 3.9.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 (53) hide show
  1. package/dist/index.js +820 -631
  2. package/dist/types/Coscine.Api/@coscine/api/admin-api.d.ts +63 -0
  3. package/dist/types/Coscine.Api/@coscine/api/application-profile-api.d.ts +16 -16
  4. package/dist/types/Coscine.Api/@coscine/api/blob-api.d.ts +16 -16
  5. package/dist/types/Coscine.Api/@coscine/api/discipline-api.d.ts +8 -8
  6. package/dist/types/Coscine.Api/@coscine/api/handle-api.d.ts +4 -4
  7. package/dist/types/Coscine.Api/@coscine/api/language-api.d.ts +8 -8
  8. package/dist/types/Coscine.Api/@coscine/api/license-api.d.ts +8 -8
  9. package/dist/types/Coscine.Api/@coscine/api/maintenance-api.d.ts +4 -4
  10. package/dist/types/Coscine.Api/@coscine/api/organization-api.d.ts +19 -10
  11. package/dist/types/Coscine.Api/@coscine/api/pid-api.d.ts +8 -8
  12. package/dist/types/Coscine.Api/@coscine/api/project-api.d.ts +20 -20
  13. package/dist/types/Coscine.Api/@coscine/api/project-invitation-api.d.ts +16 -16
  14. package/dist/types/Coscine.Api/@coscine/api/project-member-api.d.ts +20 -20
  15. package/dist/types/Coscine.Api/@coscine/api/project-publication-request-api.d.ts +4 -4
  16. package/dist/types/Coscine.Api/@coscine/api/project-quota-api.d.ts +12 -12
  17. package/dist/types/Coscine.Api/@coscine/api/project-resource-api.d.ts +20 -20
  18. package/dist/types/Coscine.Api/@coscine/api/project-resource-quota-api.d.ts +4 -4
  19. package/dist/types/Coscine.Api/@coscine/api/project-resource-type-api.d.ts +4 -4
  20. package/dist/types/Coscine.Api/@coscine/api/provenance-api.d.ts +228 -0
  21. package/dist/types/Coscine.Api/@coscine/api/resource-api.d.ts +4 -4
  22. package/dist/types/Coscine.Api/@coscine/api/resource-type-api.d.ts +20 -20
  23. package/dist/types/Coscine.Api/@coscine/api/role-api.d.ts +8 -8
  24. package/dist/types/Coscine.Api/@coscine/api/search-api.d.ts +4 -4
  25. package/dist/types/Coscine.Api/@coscine/api/self-api-token-api.d.ts +16 -16
  26. package/dist/types/Coscine.Api/@coscine/api/self-api.d.ts +24 -24
  27. package/dist/types/Coscine.Api/@coscine/api/title-api.d.ts +8 -8
  28. package/dist/types/Coscine.Api/@coscine/api/tos-api.d.ts +4 -4
  29. package/dist/types/Coscine.Api/@coscine/api/tree-api.d.ts +228 -23
  30. package/dist/types/Coscine.Api/@coscine/api/user-api.d.ts +4 -4
  31. package/dist/types/Coscine.Api/@coscine/api/visibility-api.d.ts +8 -8
  32. package/dist/types/Coscine.Api/@coscine/api/vocabulary-api.d.ts +8 -8
  33. package/dist/types/Coscine.Api/@coscine/model/deployed-graph-dto-paged-response.d.ts +50 -0
  34. package/dist/types/Coscine.Api/@coscine/model/deployed-graph-dto.d.ts +30 -0
  35. package/dist/types/Coscine.Api/@coscine/model/extracted-metadata-tree-for-creation-dto.d.ts +44 -0
  36. package/dist/types/Coscine.Api/@coscine/model/extracted-metadata-tree-for-update-dto.d.ts +50 -0
  37. package/dist/types/Coscine.Api/@coscine/model/hash-parameters-dto.d.ts +30 -0
  38. package/dist/types/Coscine.Api/@coscine/model/index.d.ts +11 -0
  39. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-dto.d.ts +13 -0
  40. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-for-deletion-dto.d.ts +36 -0
  41. package/dist/types/Coscine.Api/@coscine/model/provenance-dto-response.d.ts +43 -0
  42. package/dist/types/Coscine.Api/@coscine/model/provenance-dto.d.ts +62 -0
  43. package/dist/types/Coscine.Api/@coscine/model/provenance-for-update-dto.d.ts +62 -0
  44. package/dist/types/Coscine.Api/@coscine/model/provenance-parameters-dto.d.ts +56 -0
  45. package/dist/types/Coscine.Api/@coscine/model/publication-advisory-service-dto.d.ts +6 -0
  46. package/dist/types/Coscine.Api/@coscine/model/rdf-format.d.ts +1 -0
  47. package/dist/types/Coscine.Api/@coscine/model/resource-admin-dto.d.ts +7 -0
  48. package/dist/types/Coscine.Api/@coscine/model/resource-dto.d.ts +7 -0
  49. package/dist/types/Coscine.Api/@coscine/model/variant-dto.d.ts +30 -0
  50. package/dist/types/Coscine.Api/api.d.ts +1 -0
  51. package/dist/types/apis.d.ts +4 -0
  52. package/dist/types/index.d.ts +8 -0
  53. package/package.json +1 -1
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Coscine Web API
3
+ * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project.
4
+ *
5
+ * The version of the OpenAPI document: 2.0
6
+ * Contact: servicedesk@itc.rwth-aachen.de
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 { DeployedGraphDto } from './deployed-graph-dto';
13
+ import { Pagination } from './pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface DeployedGraphDtoPagedResponse
18
+ */
19
+ export interface DeployedGraphDtoPagedResponse {
20
+ /**
21
+ *
22
+ * @type {Array<DeployedGraphDto>}
23
+ * @memberof DeployedGraphDtoPagedResponse
24
+ */
25
+ 'data'?: Array<DeployedGraphDto> | null;
26
+ /**
27
+ *
28
+ * @type {boolean}
29
+ * @memberof DeployedGraphDtoPagedResponse
30
+ */
31
+ 'isSuccess'?: boolean;
32
+ /**
33
+ *
34
+ * @type {number}
35
+ * @memberof DeployedGraphDtoPagedResponse
36
+ */
37
+ 'statusCode'?: number | null;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof DeployedGraphDtoPagedResponse
42
+ */
43
+ 'traceId'?: string | null;
44
+ /**
45
+ *
46
+ * @type {Pagination}
47
+ * @memberof DeployedGraphDtoPagedResponse
48
+ */
49
+ 'pagination'?: Pagination;
50
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Coscine Web API
3
+ * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project.
4
+ *
5
+ * The version of the OpenAPI document: 2.0
6
+ * Contact: servicedesk@itc.rwth-aachen.de
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
+ /**
13
+ * Represents a Data Transfer Object (DTO) for deployed graph details.
14
+ * @export
15
+ * @interface DeployedGraphDto
16
+ */
17
+ export interface DeployedGraphDto {
18
+ /**
19
+ * Graph URI and identifier.
20
+ * @type {string}
21
+ * @memberof DeployedGraphDto
22
+ */
23
+ 'uri'?: string;
24
+ /**
25
+ * Collection of file hashes associated with the graph.
26
+ * @type {Array<string>}
27
+ * @memberof DeployedGraphDto
28
+ */
29
+ 'fileHashes'?: Array<string>;
30
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Coscine Web API
3
+ * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project.
4
+ *
5
+ * The version of the OpenAPI document: 2.0
6
+ * Contact: servicedesk@itc.rwth-aachen.de
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 { ProvenanceParametersDto } from './provenance-parameters-dto';
13
+ import { RdfDefinitionForManipulationDto } from './rdf-definition-for-manipulation-dto';
14
+ /**
15
+ * Data transfer object (DTO) representing the creation of a metadata tree. Extends the base class Coscine.Api.Core.Shared.DataTransferObjects.ParameterObjects.MetadataTreeForManipulationDto.
16
+ * @export
17
+ * @interface ExtractedMetadataTreeForCreationDto
18
+ */
19
+ export interface ExtractedMetadataTreeForCreationDto {
20
+ /**
21
+ * Gets or initializes the path of the metadata tree.
22
+ * @type {string}
23
+ * @memberof ExtractedMetadataTreeForCreationDto
24
+ */
25
+ 'path': string;
26
+ /**
27
+ * Gets or sets the id of the new metadata tree.
28
+ * @type {string}
29
+ * @memberof ExtractedMetadataTreeForCreationDto
30
+ */
31
+ 'id': string;
32
+ /**
33
+ *
34
+ * @type {RdfDefinitionForManipulationDto}
35
+ * @memberof ExtractedMetadataTreeForCreationDto
36
+ */
37
+ 'definition': RdfDefinitionForManipulationDto;
38
+ /**
39
+ *
40
+ * @type {ProvenanceParametersDto}
41
+ * @memberof ExtractedMetadataTreeForCreationDto
42
+ */
43
+ 'provenance': ProvenanceParametersDto;
44
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Coscine Web API
3
+ * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project.
4
+ *
5
+ * The version of the OpenAPI document: 2.0
6
+ * Contact: servicedesk@itc.rwth-aachen.de
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 { ProvenanceParametersDto } from './provenance-parameters-dto';
13
+ import { RdfDefinitionForManipulationDto } from './rdf-definition-for-manipulation-dto';
14
+ /**
15
+ * Data transfer object (DTO) representing the update of a metadata tree. Inherits from the base class Coscine.Api.Core.Shared.DataTransferObjects.ParameterObjects.MetadataTreeForManipulationDto.
16
+ * @export
17
+ * @interface ExtractedMetadataTreeForUpdateDto
18
+ */
19
+ export interface ExtractedMetadataTreeForUpdateDto {
20
+ /**
21
+ * Gets or initializes the path of the metadata tree.
22
+ * @type {string}
23
+ * @memberof ExtractedMetadataTreeForUpdateDto
24
+ */
25
+ 'path': string;
26
+ /**
27
+ * Gets or sets the id of the to update metadata tree.
28
+ * @type {string}
29
+ * @memberof ExtractedMetadataTreeForUpdateDto
30
+ */
31
+ 'id': string;
32
+ /**
33
+ *
34
+ * @type {RdfDefinitionForManipulationDto}
35
+ * @memberof ExtractedMetadataTreeForUpdateDto
36
+ */
37
+ 'definition': RdfDefinitionForManipulationDto;
38
+ /**
39
+ *
40
+ * @type {ProvenanceParametersDto}
41
+ * @memberof ExtractedMetadataTreeForUpdateDto
42
+ */
43
+ 'provenance': ProvenanceParametersDto;
44
+ /**
45
+ * Gets or initializes a flag for creating a new metadata version.
46
+ * @type {boolean}
47
+ * @memberof ExtractedMetadataTreeForUpdateDto
48
+ */
49
+ 'forceNewMetadataVersion'?: boolean;
50
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Coscine Web API
3
+ * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project.
4
+ *
5
+ * The version of the OpenAPI document: 2.0
6
+ * Contact: servicedesk@itc.rwth-aachen.de
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
+ /**
13
+ * Data transfer object (DTO) representing Hash Parameters in a request.
14
+ * @export
15
+ * @interface HashParametersDto
16
+ */
17
+ export interface HashParametersDto {
18
+ /**
19
+ * Gets or initializes the hash algorithm name.
20
+ * @type {string}
21
+ * @memberof HashParametersDto
22
+ */
23
+ 'algorithmName': string;
24
+ /**
25
+ * Gets or initializes the hash value.
26
+ * @type {string}
27
+ * @memberof HashParametersDto
28
+ */
29
+ 'value': string;
30
+ }
@@ -13,12 +13,16 @@ export * from './application-profile-for-creation-dto-response';
13
13
  export * from './application-profile-for-resource-creation-dto';
14
14
  export * from './application-profile-minimal-dto';
15
15
  export * from './coscine-http-method';
16
+ export * from './deployed-graph-dto';
17
+ export * from './deployed-graph-dto-paged-response';
16
18
  export * from './discipline-dto';
17
19
  export * from './discipline-dto-paged-response';
18
20
  export * from './discipline-dto-response';
19
21
  export * from './discipline-for-project-manipulation-dto';
20
22
  export * from './discipline-for-resource-manipulation-dto';
21
23
  export * from './discipline-for-user-manipulation-dto';
24
+ export * from './extracted-metadata-tree-for-creation-dto';
25
+ export * from './extracted-metadata-tree-for-update-dto';
22
26
  export * from './file-action-dto';
23
27
  export * from './file-action-http-method';
24
28
  export * from './file-actions-dto';
@@ -38,6 +42,7 @@ export * from './handle-dto-response';
38
42
  export * from './handle-for-update-dto';
39
43
  export * from './handle-value-dto';
40
44
  export * from './handle-value-for-update-dto';
45
+ export * from './hash-parameters-dto';
41
46
  export * from './identity-provider-dto';
42
47
  export * from './identity-providers';
43
48
  export * from './language-dto';
@@ -55,6 +60,7 @@ export * from './metadata-tree-dto-paged-response';
55
60
  export * from './metadata-tree-dto-response';
56
61
  export * from './metadata-tree-extracted-dto';
57
62
  export * from './metadata-tree-for-creation-dto';
63
+ export * from './metadata-tree-for-deletion-dto';
58
64
  export * from './metadata-tree-for-update-dto';
59
65
  export * from './metadata-update-admin-parameters';
60
66
  export * from './organization-dto';
@@ -91,6 +97,10 @@ export * from './project-role-dto-response';
91
97
  export * from './project-role-for-project-creation-dto';
92
98
  export * from './project-role-for-project-manipulation-dto';
93
99
  export * from './project-role-minimal-dto';
100
+ export * from './provenance-dto';
101
+ export * from './provenance-dto-response';
102
+ export * from './provenance-for-update-dto';
103
+ export * from './provenance-parameters-dto';
94
104
  export * from './public-user-dto';
95
105
  export * from './public-user-dto-ienumerable-response';
96
106
  export * from './publication-advisory-service-dto';
@@ -162,6 +172,7 @@ export * from './user-merge-dto-response';
162
172
  export * from './user-minimal-dto';
163
173
  export * from './user-organization-dto';
164
174
  export * from './user-terms-of-service-accept-dto';
175
+ export * from './variant-dto';
165
176
  export * from './visibility-dto';
166
177
  export * from './visibility-dto-paged-response';
167
178
  export * from './visibility-dto-response';
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { MetadataTreeExtractedDto } from './metadata-tree-extracted-dto';
13
+ import { ProvenanceDto } from './provenance-dto';
13
14
  import { RdfDefinitionDto } from './rdf-definition-dto';
14
15
  import { TreeDataType } from './tree-data-type';
15
16
  /**
@@ -30,6 +31,12 @@ export interface MetadataTreeDto {
30
31
  * @memberof MetadataTreeDto
31
32
  */
32
33
  'type'?: TreeDataType;
34
+ /**
35
+ * Gets or sets the id of the specific metadata tree.
36
+ * @type {string}
37
+ * @memberof MetadataTreeDto
38
+ */
39
+ 'id'?: string;
33
40
  /**
34
41
  * Gets or sets the version associated with the metadata.
35
42
  * @type {string}
@@ -54,4 +61,10 @@ export interface MetadataTreeDto {
54
61
  * @memberof MetadataTreeDto
55
62
  */
56
63
  'extracted'?: MetadataTreeExtractedDto;
64
+ /**
65
+ *
66
+ * @type {ProvenanceDto}
67
+ * @memberof MetadataTreeDto
68
+ */
69
+ 'provenance'?: ProvenanceDto;
57
70
  }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Coscine Web API
3
+ * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project.
4
+ *
5
+ * The version of the OpenAPI document: 2.0
6
+ * Contact: servicedesk@itc.rwth-aachen.de
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
+ /**
13
+ * Data transfer object (DTO) for deleting a specific version of metadata.
14
+ * @export
15
+ * @interface MetadataTreeForDeletionDto
16
+ */
17
+ export interface MetadataTreeForDeletionDto {
18
+ /**
19
+ * Gets or initializes the path of the metadata tree.
20
+ * @type {string}
21
+ * @memberof MetadataTreeForDeletionDto
22
+ */
23
+ 'path': string;
24
+ /**
25
+ * Gets or initializes the version of the metadata tree to be deleted.
26
+ * @type {number}
27
+ * @memberof MetadataTreeForDeletionDto
28
+ */
29
+ 'version': number;
30
+ /**
31
+ * Gets or initializes the invalidation entity.
32
+ * @type {string}
33
+ * @memberof MetadataTreeForDeletionDto
34
+ */
35
+ 'invalidatedBy': string;
36
+ }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Coscine Web API
3
+ * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project.
4
+ *
5
+ * The version of the OpenAPI document: 2.0
6
+ * Contact: servicedesk@itc.rwth-aachen.de
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 { ProvenanceDto } from './provenance-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProvenanceDtoResponse
17
+ */
18
+ export interface ProvenanceDtoResponse {
19
+ /**
20
+ *
21
+ * @type {ProvenanceDto}
22
+ * @memberof ProvenanceDtoResponse
23
+ */
24
+ 'data'?: ProvenanceDto;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof ProvenanceDtoResponse
29
+ */
30
+ 'isSuccess'?: boolean;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof ProvenanceDtoResponse
35
+ */
36
+ 'statusCode'?: number | null;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ProvenanceDtoResponse
41
+ */
42
+ 'traceId'?: string | null;
43
+ }
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Coscine Web API
3
+ * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project.
4
+ *
5
+ * The version of the OpenAPI document: 2.0
6
+ * Contact: servicedesk@itc.rwth-aachen.de
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 { HashParametersDto } from './hash-parameters-dto';
13
+ import { VariantDto } from './variant-dto';
14
+ /**
15
+ * Represents a data transfer object (DTO) for provenance information.
16
+ * @export
17
+ * @interface ProvenanceDto
18
+ */
19
+ export interface ProvenanceDto {
20
+ /**
21
+ * Gets or sets the id of the current metadata graph.
22
+ * @type {string}
23
+ * @memberof ProvenanceDto
24
+ */
25
+ 'id'?: string;
26
+ /**
27
+ * Gets or sets the date and time when the metadata was generated.
28
+ * @type {string}
29
+ * @memberof ProvenanceDto
30
+ */
31
+ 'generatedAt'?: string | null;
32
+ /**
33
+ * Gets or sets the adapted versions from the specific metadata tree.
34
+ * @type {Array<string>}
35
+ * @memberof ProvenanceDto
36
+ */
37
+ 'wasRevisionOf'?: Array<string>;
38
+ /**
39
+ * Gets or sets the variants of the specific metadata tree.
40
+ * @type {Array<VariantDto>}
41
+ * @memberof ProvenanceDto
42
+ */
43
+ 'variants'?: Array<VariantDto>;
44
+ /**
45
+ * The similarity to the last version.
46
+ * @type {number}
47
+ * @memberof ProvenanceDto
48
+ */
49
+ 'similarityToLastVersion'?: number | null;
50
+ /**
51
+ * Information if the specific metadata tree was invalidated by something.
52
+ * @type {string}
53
+ * @memberof ProvenanceDto
54
+ */
55
+ 'wasInvalidatedBy'?: string | null;
56
+ /**
57
+ *
58
+ * @type {HashParametersDto}
59
+ * @memberof ProvenanceDto
60
+ */
61
+ 'hashParameters'?: HashParametersDto;
62
+ }
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Coscine Web API
3
+ * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project.
4
+ *
5
+ * The version of the OpenAPI document: 2.0
6
+ * Contact: servicedesk@itc.rwth-aachen.de
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 { HashParametersDto } from './hash-parameters-dto';
13
+ import { VariantDto } from './variant-dto';
14
+ /**
15
+ * Data transfer object (DTO) representing the update of provenance Inherits from the base class Coscine.Api.Core.Shared.DataTransferObjects.ParameterObjects.ProvenanceParametersDto.
16
+ * @export
17
+ * @interface ProvenanceForUpdateDto
18
+ */
19
+ export interface ProvenanceForUpdateDto {
20
+ /**
21
+ * Gets or sets the adapted versions from the specific metadata tree.
22
+ * @type {Array<string>}
23
+ * @memberof ProvenanceForUpdateDto
24
+ */
25
+ 'wasRevisionOf'?: Array<string>;
26
+ /**
27
+ * Gets or sets the variants of the specific metadata tree.
28
+ * @type {Array<VariantDto>}
29
+ * @memberof ProvenanceForUpdateDto
30
+ */
31
+ 'variants'?: Array<VariantDto>;
32
+ /**
33
+ * Information if the specific metadata tree was invalidated by something.
34
+ * @type {string}
35
+ * @memberof ProvenanceForUpdateDto
36
+ */
37
+ 'wasInvalidatedBy'?: string | null;
38
+ /**
39
+ * The similarity to the last version.
40
+ * @type {number}
41
+ * @memberof ProvenanceForUpdateDto
42
+ */
43
+ 'similarityToLastVersion'?: number | null;
44
+ /**
45
+ * Gets or initializes the version of the metadata extractor.
46
+ * @type {string}
47
+ * @memberof ProvenanceForUpdateDto
48
+ */
49
+ 'metadataExtractorVersion'?: string | null;
50
+ /**
51
+ *
52
+ * @type {HashParametersDto}
53
+ * @memberof ProvenanceForUpdateDto
54
+ */
55
+ 'hashParameters'?: HashParametersDto;
56
+ /**
57
+ * Gets or sets the id of the specific metadata tree.
58
+ * @type {string}
59
+ * @memberof ProvenanceForUpdateDto
60
+ */
61
+ 'id'?: string;
62
+ }
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Coscine Web API
3
+ * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project.
4
+ *
5
+ * The version of the OpenAPI document: 2.0
6
+ * Contact: servicedesk@itc.rwth-aachen.de
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 { HashParametersDto } from './hash-parameters-dto';
13
+ import { VariantDto } from './variant-dto';
14
+ /**
15
+ * Data transfer object (DTO) representing Provenance Parameters in a request.
16
+ * @export
17
+ * @interface ProvenanceParametersDto
18
+ */
19
+ export interface ProvenanceParametersDto {
20
+ /**
21
+ * Gets or sets the adapted versions from the specific metadata tree.
22
+ * @type {Array<string>}
23
+ * @memberof ProvenanceParametersDto
24
+ */
25
+ 'wasRevisionOf'?: Array<string>;
26
+ /**
27
+ * Gets or sets the variants of the specific metadata tree.
28
+ * @type {Array<VariantDto>}
29
+ * @memberof ProvenanceParametersDto
30
+ */
31
+ 'variants'?: Array<VariantDto>;
32
+ /**
33
+ * Information if the specific metadata tree was invalidated by something.
34
+ * @type {string}
35
+ * @memberof ProvenanceParametersDto
36
+ */
37
+ 'wasInvalidatedBy'?: string | null;
38
+ /**
39
+ * The similarity to the last version.
40
+ * @type {number}
41
+ * @memberof ProvenanceParametersDto
42
+ */
43
+ 'similarityToLastVersion'?: number | null;
44
+ /**
45
+ * Gets or initializes the version of the metadata extractor.
46
+ * @type {string}
47
+ * @memberof ProvenanceParametersDto
48
+ */
49
+ 'metadataExtractorVersion'?: string | null;
50
+ /**
51
+ *
52
+ * @type {HashParametersDto}
53
+ * @memberof ProvenanceParametersDto
54
+ */
55
+ 'hashParameters'?: HashParametersDto;
56
+ }
@@ -27,4 +27,10 @@ export interface PublicationAdvisoryServiceDto {
27
27
  * @memberof PublicationAdvisoryServiceDto
28
28
  */
29
29
  'email': string;
30
+ /**
31
+ * The data publication service\'s info text.
32
+ * @type {string}
33
+ * @memberof PublicationAdvisoryServiceDto
34
+ */
35
+ 'text'?: string;
30
36
  }
@@ -17,5 +17,6 @@
17
17
  export declare const RdfFormat: {
18
18
  readonly TextTurtle: "text/turtle";
19
19
  readonly ApplicationLdjson: "application/ld+json";
20
+ readonly ApplicationXTrig: "application/x-trig";
20
21
  };
21
22
  export type RdfFormat = typeof RdfFormat[keyof typeof RdfFormat];
@@ -13,6 +13,7 @@ import { ApplicationProfileMinimalDto } from './application-profile-minimal-dto'
13
13
  import { DisciplineDto } from './discipline-dto';
14
14
  import { FixedValueForResourceManipulationDto } from './fixed-value-for-resource-manipulation-dto';
15
15
  import { LicenseDto } from './license-dto';
16
+ import { ProjectMinimalDto } from './project-minimal-dto';
16
17
  import { ProjectResourceMinimalDto } from './project-resource-minimal-dto';
17
18
  import { ResourceQuotaDto } from './resource-quota-dto';
18
19
  import { ResourceTypeDto } from './resource-type-dto';
@@ -136,6 +137,12 @@ export interface ResourceAdminDto {
136
137
  * @memberof ResourceAdminDto
137
138
  */
138
139
  'archived'?: boolean;
140
+ /**
141
+ * The projects associated with the resource.
142
+ * @type {Array<ProjectMinimalDto>}
143
+ * @memberof ResourceAdminDto
144
+ */
145
+ 'projects'?: Array<ProjectMinimalDto> | null;
139
146
  /**
140
147
  * Indicates whether the resource is deleted.
141
148
  * @type {boolean}
@@ -13,6 +13,7 @@ import { ApplicationProfileMinimalDto } from './application-profile-minimal-dto'
13
13
  import { DisciplineDto } from './discipline-dto';
14
14
  import { FixedValueForResourceManipulationDto } from './fixed-value-for-resource-manipulation-dto';
15
15
  import { LicenseDto } from './license-dto';
16
+ import { ProjectMinimalDto } from './project-minimal-dto';
16
17
  import { ResourceTypeDto } from './resource-type-dto';
17
18
  import { UserMinimalDto } from './user-minimal-dto';
18
19
  import { VisibilityDto } from './visibility-dto';
@@ -134,4 +135,10 @@ export interface ResourceDto {
134
135
  * @memberof ResourceDto
135
136
  */
136
137
  'archived'?: boolean;
138
+ /**
139
+ * The projects associated with the resource.
140
+ * @type {Array<ProjectMinimalDto>}
141
+ * @memberof ResourceDto
142
+ */
143
+ 'projects'?: Array<ProjectMinimalDto> | null;
137
144
  }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Coscine Web API
3
+ * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project.
4
+ *
5
+ * The version of the OpenAPI document: 2.0
6
+ * Contact: servicedesk@itc.rwth-aachen.de
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
+ /**
13
+ * Represents the variants of this specific metadata tree.
14
+ * @export
15
+ * @interface VariantDto
16
+ */
17
+ export interface VariantDto {
18
+ /**
19
+ * Name of the graph.
20
+ * @type {string}
21
+ * @memberof VariantDto
22
+ */
23
+ 'graphName'?: string;
24
+ /**
25
+ * Similarity value 0-1
26
+ * @type {number}
27
+ * @memberof VariantDto
28
+ */
29
+ 'similarity'?: number;
30
+ }
@@ -27,6 +27,7 @@ export * from './@coscine/api/project-quota-api';
27
27
  export * from './@coscine/api/project-resource-api';
28
28
  export * from './@coscine/api/project-resource-quota-api';
29
29
  export * from './@coscine/api/project-resource-type-api';
30
+ export * from './@coscine/api/provenance-api';
30
31
  export * from './@coscine/api/resource-api';
31
32
  export * from './@coscine/api/resource-type-api';
32
33
  export * from './@coscine/api/role-api';