@coscine/api-client 3.12.0 → 3.14.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 (51) hide show
  1. package/dist/index.js +33 -31
  2. package/dist/types/Coscine.Api/@coscine/api/admin-api.d.ts +10 -2
  3. package/dist/types/Coscine.Api/@coscine/api/system-status-api.d.ts +24 -24
  4. package/dist/types/Coscine.Api/@coscine/model/application-profile-dto.d.ts +1 -1
  5. package/dist/types/Coscine.Api/@coscine/model/application-profile-minimal-dto.d.ts +1 -1
  6. package/dist/types/Coscine.Api/@coscine/model/gitlab-branch-dto.d.ts +7 -7
  7. package/dist/types/Coscine.Api/@coscine/model/gitlab-project-dto.d.ts +13 -13
  8. package/dist/types/Coscine.Api/@coscine/model/handle-for-update-dto.d.ts +1 -1
  9. package/dist/types/Coscine.Api/@coscine/model/handle-value-for-update-dto.d.ts +2 -2
  10. package/dist/types/Coscine.Api/@coscine/model/identity-provider-dto.d.ts +2 -2
  11. package/dist/types/Coscine.Api/@coscine/model/index.d.ts +1 -1
  12. package/dist/types/Coscine.Api/@coscine/model/language-dto.d.ts +3 -3
  13. package/dist/types/Coscine.Api/@coscine/model/message-dto.d.ts +3 -3
  14. package/dist/types/Coscine.Api/@coscine/model/organization-dto.d.ts +2 -2
  15. package/dist/types/Coscine.Api/@coscine/model/organization-for-project-manipulation-dto.d.ts +6 -0
  16. package/dist/types/Coscine.Api/@coscine/model/pid-dto.d.ts +2 -2
  17. package/dist/types/Coscine.Api/@coscine/model/project-admin-dto.d.ts +19 -12
  18. package/dist/types/Coscine.Api/@coscine/model/project-dto.d.ts +12 -12
  19. package/dist/types/Coscine.Api/@coscine/model/project-for-creation-dto.d.ts +6 -0
  20. package/dist/types/Coscine.Api/@coscine/model/project-minimal-dto.d.ts +1 -1
  21. package/dist/types/Coscine.Api/@coscine/model/{user-institute-dto.d.ts → project-organization-dto.d.ts} +12 -12
  22. package/dist/types/Coscine.Api/@coscine/model/provenance-dto.d.ts +3 -3
  23. package/dist/types/Coscine.Api/@coscine/model/provenance-for-update-dto.d.ts +1 -1
  24. package/dist/types/Coscine.Api/@coscine/model/public-user-dto.d.ts +5 -5
  25. package/dist/types/Coscine.Api/@coscine/model/rds-options-dto.d.ts +1 -1
  26. package/dist/types/Coscine.Api/@coscine/model/rds-resource-type-options-for-manipulation-dto.d.ts +1 -1
  27. package/dist/types/Coscine.Api/@coscine/model/rds-s3-options-dto.d.ts +6 -6
  28. package/dist/types/Coscine.Api/@coscine/model/rds-s3-resource-type-options-for-manipulation-dto.d.ts +1 -1
  29. package/dist/types/Coscine.Api/@coscine/model/rds-s3-worm-options-dto.d.ts +6 -6
  30. package/dist/types/Coscine.Api/@coscine/model/rds-s3-worm-resource-type-options-for-manipulation-dto.d.ts +1 -1
  31. package/dist/types/Coscine.Api/@coscine/model/resource-admin-dto.d.ts +11 -11
  32. package/dist/types/Coscine.Api/@coscine/model/resource-dto.d.ts +9 -9
  33. package/dist/types/Coscine.Api/@coscine/model/resource-for-creation-dto.d.ts +2 -2
  34. package/dist/types/Coscine.Api/@coscine/model/resource-for-update-dto.d.ts +2 -2
  35. package/dist/types/Coscine.Api/@coscine/model/resource-minimal-dto.d.ts +1 -1
  36. package/dist/types/Coscine.Api/@coscine/model/resource-quota-dto.d.ts +1 -1
  37. package/dist/types/Coscine.Api/@coscine/model/resource-type-dto.d.ts +2 -2
  38. package/dist/types/Coscine.Api/@coscine/model/resource-type-minimal-dto.d.ts +2 -2
  39. package/dist/types/Coscine.Api/@coscine/model/role-dto.d.ts +3 -3
  40. package/dist/types/Coscine.Api/@coscine/model/role-minimal-dto.d.ts +1 -1
  41. package/dist/types/Coscine.Api/@coscine/model/search-result-dto.d.ts +3 -3
  42. package/dist/types/Coscine.Api/@coscine/model/terms-of-service-dto.d.ts +3 -3
  43. package/dist/types/Coscine.Api/@coscine/model/title-dto.d.ts +2 -2
  44. package/dist/types/Coscine.Api/@coscine/model/user-dto.d.ts +10 -17
  45. package/dist/types/Coscine.Api/@coscine/model/user-for-update-dto.d.ts +0 -6
  46. package/dist/types/Coscine.Api/@coscine/model/user-merge-dto.d.ts +1 -1
  47. package/dist/types/Coscine.Api/@coscine/model/user-minimal-dto.d.ts +1 -1
  48. package/dist/types/Coscine.Api/@coscine/model/user-organization-dto.d.ts +3 -3
  49. package/dist/types/Coscine.Api/@coscine/model/vocabulary-dto.d.ts +2 -2
  50. package/dist/types/Coscine.Api/@coscine/model/vocabulary-instance-dto.d.ts +1 -1
  51. package/package.json +1 -1
@@ -10,9 +10,10 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { DisciplineDto } from './discipline-dto';
13
- import type { OrganizationDto } from './organization-dto';
14
13
  import type { ProjectDto } from './project-dto';
15
14
  import type { ProjectMinimalDto } from './project-minimal-dto';
15
+ import type { ProjectOrganizationDto } from './project-organization-dto';
16
+ import type { ProjectPublicationRequestDto } from './project-publication-request-dto';
16
17
  import type { ProjectQuotaDto } from './project-quota-dto';
17
18
  import type { ProjectResourceMinimalDto } from './project-resource-minimal-dto';
18
19
  import type { ProjectRoleMinimalDto } from './project-role-minimal-dto';
@@ -29,37 +30,37 @@ export interface ProjectAdminDto {
29
30
  * @type {string}
30
31
  * @memberof ProjectAdminDto
31
32
  */
32
- 'id'?: string;
33
+ 'id': string;
33
34
  /**
34
35
  * Persistent identifier for the project.
35
36
  * @type {string}
36
37
  * @memberof ProjectAdminDto
37
38
  */
38
- 'pid'?: string;
39
+ 'pid': string;
39
40
  /**
40
41
  * Name of the project.
41
42
  * @type {string}
42
43
  * @memberof ProjectAdminDto
43
44
  */
44
- 'name'?: string;
45
+ 'name': string;
45
46
  /**
46
47
  * Description of the project.
47
48
  * @type {string}
48
49
  * @memberof ProjectAdminDto
49
50
  */
50
- 'description'?: string;
51
+ 'description': string;
51
52
  /**
52
53
  * Start date of the project.
53
54
  * @type {string}
54
55
  * @memberof ProjectAdminDto
55
56
  */
56
- 'startDate'?: string;
57
+ 'startDate': string;
57
58
  /**
58
59
  * End date of the project.
59
60
  * @type {string}
60
61
  * @memberof ProjectAdminDto
61
62
  */
62
- 'endDate'?: string;
63
+ 'endDate': string;
63
64
  /**
64
65
  * Collection of keywords associated with the project.
65
66
  * @type {Array<string>}
@@ -89,25 +90,25 @@ export interface ProjectAdminDto {
89
90
  * @type {VisibilityDto}
90
91
  * @memberof ProjectAdminDto
91
92
  */
92
- 'visibility'?: VisibilityDto;
93
+ 'visibility': VisibilityDto;
93
94
  /**
94
95
  * Disciplines related to the project.
95
96
  * @type {Array<DisciplineDto>}
96
97
  * @memberof ProjectAdminDto
97
98
  */
98
- 'disciplines'?: Array<DisciplineDto>;
99
+ 'disciplines': Array<DisciplineDto>;
99
100
  /**
100
101
  * Organizations associated with the project.
101
- * @type {Array<OrganizationDto>}
102
+ * @type {Array<ProjectOrganizationDto>}
102
103
  * @memberof ProjectAdminDto
103
104
  */
104
- 'organizations'?: Array<OrganizationDto>;
105
+ 'organizations': Array<ProjectOrganizationDto>;
105
106
  /**
106
107
  * Slug for the project.
107
108
  * @type {string}
108
109
  * @memberof ProjectAdminDto
109
110
  */
110
- 'slug'?: string;
111
+ 'slug': string;
111
112
  /**
112
113
  *
113
114
  * @type {UserMinimalDto}
@@ -156,4 +157,10 @@ export interface ProjectAdminDto {
156
157
  * @memberof ProjectAdminDto
157
158
  */
158
159
  'projectQuota'?: Array<ProjectQuotaDto>;
160
+ /**
161
+ * Collection of project publication requests associated with the project.
162
+ * @type {Array<ProjectPublicationRequestDto>}
163
+ * @memberof ProjectAdminDto
164
+ */
165
+ 'publicationRequests'?: Array<ProjectPublicationRequestDto>;
159
166
  }
@@ -10,8 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { DisciplineDto } from './discipline-dto';
13
- import type { OrganizationDto } from './organization-dto';
14
13
  import type { ProjectMinimalDto } from './project-minimal-dto';
14
+ import type { ProjectOrganizationDto } from './project-organization-dto';
15
15
  import type { UserMinimalDto } from './user-minimal-dto';
16
16
  import type { VisibilityDto } from './visibility-dto';
17
17
  /**
@@ -25,37 +25,37 @@ export interface ProjectDto {
25
25
  * @type {string}
26
26
  * @memberof ProjectDto
27
27
  */
28
- 'id'?: string;
28
+ 'id': string;
29
29
  /**
30
30
  * Persistent identifier for the project.
31
31
  * @type {string}
32
32
  * @memberof ProjectDto
33
33
  */
34
- 'pid'?: string;
34
+ 'pid': string;
35
35
  /**
36
36
  * Name of the project.
37
37
  * @type {string}
38
38
  * @memberof ProjectDto
39
39
  */
40
- 'name'?: string;
40
+ 'name': string;
41
41
  /**
42
42
  * Description of the project.
43
43
  * @type {string}
44
44
  * @memberof ProjectDto
45
45
  */
46
- 'description'?: string;
46
+ 'description': string;
47
47
  /**
48
48
  * Start date of the project.
49
49
  * @type {string}
50
50
  * @memberof ProjectDto
51
51
  */
52
- 'startDate'?: string;
52
+ 'startDate': string;
53
53
  /**
54
54
  * End date of the project.
55
55
  * @type {string}
56
56
  * @memberof ProjectDto
57
57
  */
58
- 'endDate'?: string;
58
+ 'endDate': string;
59
59
  /**
60
60
  * Collection of keywords associated with the project.
61
61
  * @type {Array<string>}
@@ -85,25 +85,25 @@ export interface ProjectDto {
85
85
  * @type {VisibilityDto}
86
86
  * @memberof ProjectDto
87
87
  */
88
- 'visibility'?: VisibilityDto;
88
+ 'visibility': VisibilityDto;
89
89
  /**
90
90
  * Disciplines related to the project.
91
91
  * @type {Array<DisciplineDto>}
92
92
  * @memberof ProjectDto
93
93
  */
94
- 'disciplines'?: Array<DisciplineDto>;
94
+ 'disciplines': Array<DisciplineDto>;
95
95
  /**
96
96
  * Organizations associated with the project.
97
- * @type {Array<OrganizationDto>}
97
+ * @type {Array<ProjectOrganizationDto>}
98
98
  * @memberof ProjectDto
99
99
  */
100
- 'organizations'?: Array<OrganizationDto>;
100
+ 'organizations': Array<ProjectOrganizationDto>;
101
101
  /**
102
102
  * Slug for the project.
103
103
  * @type {string}
104
104
  * @memberof ProjectDto
105
105
  */
106
- 'slug'?: string;
106
+ 'slug': string;
107
107
  /**
108
108
  *
109
109
  * @type {UserMinimalDto}
@@ -90,4 +90,10 @@ export interface ProjectForCreationDto {
90
90
  * @memberof ProjectForCreationDto
91
91
  */
92
92
  'parentId'?: string | null;
93
+ /**
94
+ * Gets or initializes if the owners of the parent project should be copied to the sub project.
95
+ * @type {boolean}
96
+ * @memberof ProjectForCreationDto
97
+ */
98
+ 'copyOwnersFromParent'?: boolean | null;
93
99
  }
@@ -20,5 +20,5 @@ export interface ProjectMinimalDto {
20
20
  * @type {string}
21
21
  * @memberof ProjectMinimalDto
22
22
  */
23
- 'id'?: string;
23
+ 'id': string;
24
24
  }
@@ -11,39 +11,39 @@
11
11
  */
12
12
  import type { PublicationAdvisoryServiceDto } from './publication-advisory-service-dto';
13
13
  /**
14
- * Represents a Data Transfer Object (DTO) for user institute information, extending the OrganizationDto.
14
+ * Represents a data transfer object (DTO) for an organization in the context of a project.
15
15
  * @export
16
- * @interface UserInstituteDto
16
+ * @interface ProjectOrganizationDto
17
17
  */
18
- export interface UserInstituteDto {
18
+ export interface ProjectOrganizationDto {
19
19
  /**
20
20
  * The ROR (Research Organization Registry) ID of the organization.
21
21
  * @type {string}
22
- * @memberof UserInstituteDto
22
+ * @memberof ProjectOrganizationDto
23
23
  */
24
- 'uri'?: string;
24
+ 'uri': string;
25
25
  /**
26
26
  * The display name of the organization.
27
27
  * @type {string}
28
- * @memberof UserInstituteDto
28
+ * @memberof ProjectOrganizationDto
29
29
  */
30
- 'displayName'?: string;
30
+ 'displayName': string;
31
31
  /**
32
32
  * The email address of the organization.
33
33
  * @type {string}
34
- * @memberof UserInstituteDto
34
+ * @memberof ProjectOrganizationDto
35
35
  */
36
36
  'email'?: string | null;
37
37
  /**
38
38
  *
39
39
  * @type {PublicationAdvisoryServiceDto}
40
- * @memberof UserInstituteDto
40
+ * @memberof ProjectOrganizationDto
41
41
  */
42
42
  'publicationAdvisoryService'?: PublicationAdvisoryServiceDto;
43
43
  /**
44
- * Determines if the organization\'s details can be modified. Defaults to `true`; manually set to `false`.
44
+ * Determines if the organization is Responsible for a given project.
45
45
  * @type {boolean}
46
- * @memberof UserInstituteDto
46
+ * @memberof ProjectOrganizationDto
47
47
  */
48
- 'readOnly'?: boolean;
48
+ 'responsible': boolean;
49
49
  }
@@ -22,7 +22,7 @@ export interface ProvenanceDto {
22
22
  * @type {string}
23
23
  * @memberof ProvenanceDto
24
24
  */
25
- 'id'?: string;
25
+ 'id': string;
26
26
  /**
27
27
  * Gets or sets the date and time when the metadata was generated.
28
28
  * @type {string}
@@ -34,13 +34,13 @@ export interface ProvenanceDto {
34
34
  * @type {Array<string>}
35
35
  * @memberof ProvenanceDto
36
36
  */
37
- 'wasRevisionOf'?: Array<string>;
37
+ 'wasRevisionOf': Array<string>;
38
38
  /**
39
39
  * Gets or sets the variants of the specific metadata tree.
40
40
  * @type {Array<VariantDto>}
41
41
  * @memberof ProvenanceDto
42
42
  */
43
- 'variants'?: Array<VariantDto>;
43
+ 'variants': Array<VariantDto>;
44
44
  /**
45
45
  * The similarity to the last version.
46
46
  * @type {number}
@@ -58,5 +58,5 @@ export interface ProvenanceForUpdateDto {
58
58
  * @type {string}
59
59
  * @memberof ProvenanceForUpdateDto
60
60
  */
61
- 'id'?: string;
61
+ 'id': string;
62
62
  }
@@ -21,31 +21,31 @@ export interface PublicUserDto {
21
21
  * @type {string}
22
22
  * @memberof PublicUserDto
23
23
  */
24
- 'id'?: string;
24
+ 'id': string;
25
25
  /**
26
26
  * Display name of the user.
27
27
  * @type {string}
28
28
  * @memberof PublicUserDto
29
29
  */
30
- 'displayName'?: string;
30
+ 'displayName': string;
31
31
  /**
32
32
  * Given name of the user.
33
33
  * @type {string}
34
34
  * @memberof PublicUserDto
35
35
  */
36
- 'givenName'?: string;
36
+ 'givenName': string;
37
37
  /**
38
38
  * Family name of the user.
39
39
  * @type {string}
40
40
  * @memberof PublicUserDto
41
41
  */
42
- 'familyName'?: string;
42
+ 'familyName': string;
43
43
  /**
44
44
  * Email address of the user.
45
45
  * @type {string}
46
46
  * @memberof PublicUserDto
47
47
  */
48
- 'email'?: string;
48
+ 'email': string;
49
49
  /**
50
50
  *
51
51
  * @type {TitleDto}
@@ -21,7 +21,7 @@ export interface RdsOptionsDto {
21
21
  * @type {string}
22
22
  * @memberof RdsOptionsDto
23
23
  */
24
- 'bucketName'?: string;
24
+ 'bucketName': string;
25
25
  /**
26
26
  *
27
27
  * @type {QuotaDto}
@@ -21,5 +21,5 @@ export interface RdsResourceTypeOptionsForManipulationDto {
21
21
  * @type {QuotaForManipulationDto}
22
22
  * @memberof RdsResourceTypeOptionsForManipulationDto
23
23
  */
24
- 'quota'?: QuotaForManipulationDto;
24
+ 'quota': QuotaForManipulationDto;
25
25
  }
@@ -21,37 +21,37 @@ export interface RdsS3OptionsDto {
21
21
  * @type {string}
22
22
  * @memberof RdsS3OptionsDto
23
23
  */
24
- 'bucketName'?: string;
24
+ 'bucketName': string;
25
25
  /**
26
26
  * The access key for reading from the RDS S3 bucket.
27
27
  * @type {string}
28
28
  * @memberof RdsS3OptionsDto
29
29
  */
30
- 'accessKeyRead'?: string;
30
+ 'accessKeyRead': string;
31
31
  /**
32
32
  * The secret key for reading from the RDS S3 bucket.
33
33
  * @type {string}
34
34
  * @memberof RdsS3OptionsDto
35
35
  */
36
- 'secretKeyRead'?: string;
36
+ 'secretKeyRead': string;
37
37
  /**
38
38
  * The access key for writing to the RDS S3 bucket.
39
39
  * @type {string}
40
40
  * @memberof RdsS3OptionsDto
41
41
  */
42
- 'accessKeyWrite'?: string;
42
+ 'accessKeyWrite': string;
43
43
  /**
44
44
  * The secret key for writing to the RDS S3 bucket.
45
45
  * @type {string}
46
46
  * @memberof RdsS3OptionsDto
47
47
  */
48
- 'secretKeyWrite'?: string;
48
+ 'secretKeyWrite': string;
49
49
  /**
50
50
  * The endpoint for the RDS S3 bucket.
51
51
  * @type {string}
52
52
  * @memberof RdsS3OptionsDto
53
53
  */
54
- 'endpoint'?: string;
54
+ 'endpoint': string;
55
55
  /**
56
56
  *
57
57
  * @type {QuotaDto}
@@ -21,5 +21,5 @@ export interface RdsS3ResourceTypeOptionsForManipulationDto {
21
21
  * @type {QuotaForManipulationDto}
22
22
  * @memberof RdsS3ResourceTypeOptionsForManipulationDto
23
23
  */
24
- 'quota'?: QuotaForManipulationDto;
24
+ 'quota': QuotaForManipulationDto;
25
25
  }
@@ -21,37 +21,37 @@ export interface RdsS3WormOptionsDto {
21
21
  * @type {string}
22
22
  * @memberof RdsS3WormOptionsDto
23
23
  */
24
- 'bucketName'?: string;
24
+ 'bucketName': string;
25
25
  /**
26
26
  * The access key for reading from the RDS S3 WORM bucket.
27
27
  * @type {string}
28
28
  * @memberof RdsS3WormOptionsDto
29
29
  */
30
- 'accessKeyRead'?: string;
30
+ 'accessKeyRead': string;
31
31
  /**
32
32
  * The secret key for reading from the RDS S3 WORM bucket.
33
33
  * @type {string}
34
34
  * @memberof RdsS3WormOptionsDto
35
35
  */
36
- 'secretKeyRead'?: string;
36
+ 'secretKeyRead': string;
37
37
  /**
38
38
  * The access key for writing to the RDS S3 WORM bucket.
39
39
  * @type {string}
40
40
  * @memberof RdsS3WormOptionsDto
41
41
  */
42
- 'accessKeyWrite'?: string;
42
+ 'accessKeyWrite': string;
43
43
  /**
44
44
  * The secret key for writing to the RDS S3 WORM bucket.
45
45
  * @type {string}
46
46
  * @memberof RdsS3WormOptionsDto
47
47
  */
48
- 'secretKeyWrite'?: string;
48
+ 'secretKeyWrite': string;
49
49
  /**
50
50
  * The endpoint for the RDS S3 WORM bucket.
51
51
  * @type {string}
52
52
  * @memberof RdsS3WormOptionsDto
53
53
  */
54
- 'endpoint'?: string;
54
+ 'endpoint': string;
55
55
  /**
56
56
  *
57
57
  * @type {QuotaDto}
@@ -21,5 +21,5 @@ export interface RdsS3WormResourceTypeOptionsForManipulationDto {
21
21
  * @type {QuotaForManipulationDto}
22
22
  * @memberof RdsS3WormResourceTypeOptionsForManipulationDto
23
23
  */
24
- 'quota'?: QuotaForManipulationDto;
24
+ 'quota': QuotaForManipulationDto;
25
25
  }
@@ -36,31 +36,31 @@ export interface ResourceAdminDto {
36
36
  * @type {string}
37
37
  * @memberof ResourceAdminDto
38
38
  */
39
- 'pid'?: string;
39
+ 'pid': string;
40
40
  /**
41
41
  *
42
42
  * @type {ResourceTypeDto}
43
43
  * @memberof ResourceAdminDto
44
44
  */
45
- 'type'?: ResourceTypeDto;
45
+ 'type': ResourceTypeDto;
46
46
  /**
47
47
  * Name of the resource.
48
48
  * @type {string}
49
49
  * @memberof ResourceAdminDto
50
50
  */
51
- 'name'?: string;
51
+ 'name': string;
52
52
  /**
53
53
  * Display name of the resource.
54
54
  * @type {string}
55
55
  * @memberof ResourceAdminDto
56
56
  */
57
- 'displayName'?: string;
57
+ 'displayName': string;
58
58
  /**
59
59
  * Description of the resource.
60
60
  * @type {string}
61
61
  * @memberof ResourceAdminDto
62
62
  */
63
- 'description'?: string;
63
+ 'description': string;
64
64
  /**
65
65
  * Keywords associated with the resource.
66
66
  * @type {Array<string>}
@@ -96,13 +96,13 @@ export interface ResourceAdminDto {
96
96
  * @type {ApplicationProfileMinimalDto}
97
97
  * @memberof ResourceAdminDto
98
98
  */
99
- 'applicationProfile'?: ApplicationProfileMinimalDto;
99
+ 'applicationProfile': ApplicationProfileMinimalDto;
100
100
  /**
101
101
  * Fixed values associated with resource manipulation. This dictionary may contain multiple levels and is structured as follows: Dictionary (Key: string) -> Dictionary (Key: string) -> List of FixedValueForResourceManipulationDto.
102
102
  * @type {{ [key: string]: { [key: string]: Array<FixedValueForResourceManipulationDto>; }; }}
103
103
  * @memberof ResourceAdminDto
104
104
  */
105
- 'fixedValues'?: {
105
+ 'fixedValues': {
106
106
  [key: string]: {
107
107
  [key: string]: Array<FixedValueForResourceManipulationDto>;
108
108
  };
@@ -112,13 +112,13 @@ export interface ResourceAdminDto {
112
112
  * @type {Array<DisciplineDto>}
113
113
  * @memberof ResourceAdminDto
114
114
  */
115
- 'disciplines'?: Array<DisciplineDto>;
115
+ 'disciplines': Array<DisciplineDto>;
116
116
  /**
117
117
  *
118
118
  * @type {VisibilityDto}
119
119
  * @memberof ResourceAdminDto
120
120
  */
121
- 'visibility'?: VisibilityDto;
121
+ 'visibility': VisibilityDto;
122
122
  /**
123
123
  * Date when the resource was created.
124
124
  * @type {string}
@@ -148,13 +148,13 @@ export interface ResourceAdminDto {
148
148
  * @type {boolean}
149
149
  * @memberof ResourceAdminDto
150
150
  */
151
- 'deleted'?: boolean;
151
+ 'deleted': boolean;
152
152
  /**
153
153
  * Collection of minimal project resource details associated with this resource.
154
154
  * @type {Array<ProjectResourceMinimalDto>}
155
155
  * @memberof ResourceAdminDto
156
156
  */
157
- 'projectResources'?: Array<ProjectResourceMinimalDto>;
157
+ 'projectResources': Array<ProjectResourceMinimalDto>;
158
158
  /**
159
159
  *
160
160
  * @type {ResourceQuotaDto}
@@ -34,31 +34,31 @@ export interface ResourceDto {
34
34
  * @type {string}
35
35
  * @memberof ResourceDto
36
36
  */
37
- 'pid'?: string;
37
+ 'pid': string;
38
38
  /**
39
39
  *
40
40
  * @type {ResourceTypeDto}
41
41
  * @memberof ResourceDto
42
42
  */
43
- 'type'?: ResourceTypeDto;
43
+ 'type': ResourceTypeDto;
44
44
  /**
45
45
  * Name of the resource.
46
46
  * @type {string}
47
47
  * @memberof ResourceDto
48
48
  */
49
- 'name'?: string;
49
+ 'name': string;
50
50
  /**
51
51
  * Display name of the resource.
52
52
  * @type {string}
53
53
  * @memberof ResourceDto
54
54
  */
55
- 'displayName'?: string;
55
+ 'displayName': string;
56
56
  /**
57
57
  * Description of the resource.
58
58
  * @type {string}
59
59
  * @memberof ResourceDto
60
60
  */
61
- 'description'?: string;
61
+ 'description': string;
62
62
  /**
63
63
  * Keywords associated with the resource.
64
64
  * @type {Array<string>}
@@ -94,13 +94,13 @@ export interface ResourceDto {
94
94
  * @type {ApplicationProfileMinimalDto}
95
95
  * @memberof ResourceDto
96
96
  */
97
- 'applicationProfile'?: ApplicationProfileMinimalDto;
97
+ 'applicationProfile': ApplicationProfileMinimalDto;
98
98
  /**
99
99
  * Fixed values associated with resource manipulation. This dictionary may contain multiple levels and is structured as follows: Dictionary (Key: string) -> Dictionary (Key: string) -> List of FixedValueForResourceManipulationDto.
100
100
  * @type {{ [key: string]: { [key: string]: Array<FixedValueForResourceManipulationDto>; }; }}
101
101
  * @memberof ResourceDto
102
102
  */
103
- 'fixedValues'?: {
103
+ 'fixedValues': {
104
104
  [key: string]: {
105
105
  [key: string]: Array<FixedValueForResourceManipulationDto>;
106
106
  };
@@ -110,13 +110,13 @@ export interface ResourceDto {
110
110
  * @type {Array<DisciplineDto>}
111
111
  * @memberof ResourceDto
112
112
  */
113
- 'disciplines'?: Array<DisciplineDto>;
113
+ 'disciplines': Array<DisciplineDto>;
114
114
  /**
115
115
  *
116
116
  * @type {VisibilityDto}
117
117
  * @memberof ResourceDto
118
118
  */
119
- 'visibility'?: VisibilityDto;
119
+ 'visibility': VisibilityDto;
120
120
  /**
121
121
  * Date when the resource was created.
122
122
  * @type {string}
@@ -47,13 +47,13 @@ export interface ResourceForCreationDto {
47
47
  'keywords'?: Array<string> | null;
48
48
  /**
49
49
  * Fixed values associated with the resource.
50
- * @type {{ [key: string]: { [key: string]: Array<FixedValueForResourceManipulationDto>; } | null; }}
50
+ * @type {{ [key: string]: { [key: string]: Array<FixedValueForResourceManipulationDto>; }; }}
51
51
  * @memberof ResourceForCreationDto
52
52
  */
53
53
  'fixedValues'?: {
54
54
  [key: string]: {
55
55
  [key: string]: Array<FixedValueForResourceManipulationDto>;
56
- } | null;
56
+ };
57
57
  } | null;
58
58
  /**
59
59
  *
@@ -46,13 +46,13 @@ export interface ResourceForUpdateDto {
46
46
  'keywords'?: Array<string> | null;
47
47
  /**
48
48
  * Fixed values associated with the resource.
49
- * @type {{ [key: string]: { [key: string]: Array<FixedValueForResourceManipulationDto>; } | null; }}
49
+ * @type {{ [key: string]: { [key: string]: Array<FixedValueForResourceManipulationDto>; }; }}
50
50
  * @memberof ResourceForUpdateDto
51
51
  */
52
52
  'fixedValues'?: {
53
53
  [key: string]: {
54
54
  [key: string]: Array<FixedValueForResourceManipulationDto>;
55
- } | null;
55
+ };
56
56
  } | null;
57
57
  /**
58
58
  *
@@ -20,5 +20,5 @@ export interface ResourceMinimalDto {
20
20
  * @type {string}
21
21
  * @memberof ResourceMinimalDto
22
22
  */
23
- 'id'?: string;
23
+ 'id': string;
24
24
  }
@@ -22,7 +22,7 @@ export interface ResourceQuotaDto {
22
22
  * @type {ResourceMinimalDto}
23
23
  * @memberof ResourceQuotaDto
24
24
  */
25
- 'resource'?: ResourceMinimalDto;
25
+ 'resource': ResourceMinimalDto;
26
26
  /**
27
27
  * The percentage of quota used by the resource.
28
28
  * @type {number}