@devopness/sdk-js 3.2.0 → 3.3.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 (82) hide show
  1. package/dist/api/generated/apis/projects-api.d.ts +2 -3
  2. package/dist/api/generated/apis/projects-api.js +3 -6
  3. package/dist/api/generated/apis/roles-api.d.ts +20 -3
  4. package/dist/api/generated/apis/roles-api.js +48 -3
  5. package/dist/api/generated/apis/subnets-api.d.ts +9 -0
  6. package/dist/api/generated/apis/subnets-api.js +25 -0
  7. package/dist/api/generated/apis/teams-api.d.ts +100 -0
  8. package/dist/api/generated/apis/teams-api.js +278 -0
  9. package/dist/api/generated/models/action-retry-response.d.ts +1 -1
  10. package/dist/api/generated/models/action.d.ts +1 -1
  11. package/dist/api/generated/models/application.d.ts +1 -1
  12. package/dist/api/generated/models/credential-relation.d.ts +1 -1
  13. package/dist/api/generated/models/credential.d.ts +1 -1
  14. package/dist/api/generated/models/cron-job-relation.d.ts +1 -1
  15. package/dist/api/generated/models/cron-job.d.ts +1 -1
  16. package/dist/api/generated/models/daemon-relation.d.ts +1 -1
  17. package/dist/api/generated/models/daemon.d.ts +1 -1
  18. package/dist/api/generated/models/environment.d.ts +6 -6
  19. package/dist/api/generated/models/hook.d.ts +1 -1
  20. package/dist/api/generated/models/index.d.ts +4 -5
  21. package/dist/api/generated/models/index.js +4 -5
  22. package/dist/api/generated/models/invitation-relation.d.ts +4 -4
  23. package/dist/api/generated/models/invitation.d.ts +1 -1
  24. package/dist/api/generated/models/member-relation.d.ts +1 -1
  25. package/dist/api/generated/models/member.d.ts +1 -1
  26. package/dist/api/generated/models/membership-relation.d.ts +23 -2
  27. package/dist/api/generated/models/network-rule.d.ts +1 -1
  28. package/dist/api/generated/models/network.d.ts +1 -1
  29. package/dist/api/generated/models/organization-relation.d.ts +1 -1
  30. package/dist/api/generated/models/organization.d.ts +7 -1
  31. package/dist/api/generated/models/personal-access-token-relation.d.ts +1 -1
  32. package/dist/api/generated/models/personal-access-token-rotate-response.d.ts +1 -1
  33. package/dist/api/generated/models/personal-access-token.d.ts +1 -1
  34. package/dist/api/generated/models/pipeline-relation.d.ts +1 -1
  35. package/dist/api/generated/models/pipeline.d.ts +1 -1
  36. package/dist/api/generated/models/project-relation.d.ts +4 -11
  37. package/dist/api/generated/models/project.d.ts +7 -8
  38. package/dist/api/generated/models/{role-project-create.d.ts → role-organization-create.d.ts} +5 -5
  39. package/dist/api/generated/models/role-relation.d.ts +15 -7
  40. package/dist/api/generated/models/role.d.ts +15 -7
  41. package/dist/api/generated/models/server.d.ts +1 -1
  42. package/dist/api/generated/models/service.d.ts +1 -1
  43. package/dist/api/generated/models/ssh-key.d.ts +1 -1
  44. package/dist/api/generated/models/ssl-certificate.d.ts +1 -1
  45. package/dist/api/generated/models/subnet-relation.d.ts +4 -3
  46. package/dist/api/generated/models/subnet.d.ts +1 -1
  47. package/dist/api/generated/models/team-environment-link.d.ts +1 -1
  48. package/dist/api/generated/models/team-invitation-relation.d.ts +4 -4
  49. package/dist/api/generated/models/team-membership-relation.d.ts +21 -11
  50. package/dist/api/generated/models/{team-project-create.d.ts → team-organization-create.d.ts} +4 -4
  51. package/dist/api/generated/models/team-organization-link.d.ts +24 -0
  52. package/dist/api/generated/models/{project-owner-type.d.ts → team-project-link.d.ts} +9 -5
  53. package/dist/api/generated/models/team-relation.d.ts +14 -0
  54. package/dist/api/generated/models/team.d.ts +12 -6
  55. package/dist/api/generated/models/variable-relation.d.ts +1 -1
  56. package/dist/api/generated/models/variable.d.ts +1 -1
  57. package/dist/api/generated/models/virtual-host-relation.d.ts +1 -1
  58. package/dist/api/generated/models/virtual-host.d.ts +1 -1
  59. package/dist/services/EnvironmentService.d.ts +0 -4
  60. package/dist/services/EnvironmentService.js +0 -4
  61. package/dist/services/ProjectService.d.ts +0 -4
  62. package/dist/services/ProjectService.js +0 -4
  63. package/dist/services/TeamService.d.ts +0 -2
  64. package/dist/services/TeamService.js +0 -2
  65. package/package.json +2 -2
  66. package/dist/api/generated/apis/environments-team-memberships-api.d.ts +0 -27
  67. package/dist/api/generated/apis/environments-team-memberships-api.js +0 -58
  68. package/dist/api/generated/apis/environments-teams-api.d.ts +0 -34
  69. package/dist/api/generated/apis/environments-teams-api.js +0 -77
  70. package/dist/api/generated/apis/projects-roles-api.d.ts +0 -36
  71. package/dist/api/generated/apis/projects-roles-api.js +0 -78
  72. package/dist/api/generated/apis/projects-teams-api.d.ts +0 -36
  73. package/dist/api/generated/apis/projects-teams-api.js +0 -78
  74. package/dist/api/generated/apis/teams-memberships-api.d.ts +0 -27
  75. package/dist/api/generated/apis/teams-memberships-api.js +0 -58
  76. package/dist/api/generated/models/project-create.d.ts +0 -36
  77. package/dist/api/generated/models/project-owner-relation.d.ts +0 -19
  78. package/dist/api/generated/models/project-owner-type.js +0 -25
  79. /package/dist/api/generated/models/{project-create.js → role-organization-create.js} +0 -0
  80. /package/dist/api/generated/models/{project-owner-relation.js → team-organization-create.js} +0 -0
  81. /package/dist/api/generated/models/{role-project-create.js → team-organization-link.js} +0 -0
  82. /package/dist/api/generated/models/{team-project-create.js → team-project-link.js} +0 -0
@@ -59,7 +59,7 @@ export interface CredentialRelation {
59
59
  * @type {UserRelation}
60
60
  * @memberof CredentialRelation
61
61
  */
62
- created_by_user: UserRelation;
62
+ created_by_user: UserRelation | null;
63
63
  /**
64
64
  * The date and time when the record was created
65
65
  * @type {string}
@@ -58,7 +58,7 @@ export interface Credential {
58
58
  * @type {UserRelation}
59
59
  * @memberof Credential
60
60
  */
61
- created_by_user: UserRelation;
61
+ created_by_user: UserRelation | null;
62
62
  /**
63
63
  * The date and time when the record was created
64
64
  * @type {string}
@@ -72,7 +72,7 @@ export interface CronJobRelation {
72
72
  * @type {UserRelation}
73
73
  * @memberof CronJobRelation
74
74
  */
75
- created_by_user?: UserRelation;
75
+ created_by_user?: UserRelation | null;
76
76
  /**
77
77
  *
78
78
  * @type {ApplicationRelation}
@@ -75,7 +75,7 @@ export interface CronJob {
75
75
  * @type {UserRelation}
76
76
  * @memberof CronJob
77
77
  */
78
- created_by_user: UserRelation;
78
+ created_by_user: UserRelation | null;
79
79
  /**
80
80
  *
81
81
  * @type {ApplicationRelation}
@@ -77,7 +77,7 @@ export interface DaemonRelation {
77
77
  * @type {UserRelation}
78
78
  * @memberof DaemonRelation
79
79
  */
80
- created_by_user?: UserRelation;
80
+ created_by_user?: UserRelation | null;
81
81
  /**
82
82
  * The date and time when the record was created
83
83
  * @type {string}
@@ -98,7 +98,7 @@ export interface Daemon {
98
98
  * @type {UserRelation}
99
99
  * @memberof Daemon
100
100
  */
101
- created_by_user: UserRelation;
101
+ created_by_user: UserRelation | null;
102
102
  /**
103
103
  * The date and time when the record was created
104
104
  * @type {string}
@@ -67,18 +67,18 @@ export interface Environment {
67
67
  * @memberof Environment
68
68
  */
69
69
  teams: Array<TeamRelation>;
70
- /**
71
- *
72
- * @type {UserRelation}
73
- * @memberof Environment
74
- */
75
- created_by_user: UserRelation;
76
70
  /**
77
71
  * The list of permissions granted for this role
78
72
  * @type {Array<string>}
79
73
  * @memberof Environment
80
74
  */
81
75
  current_user_permissions: Array<string>;
76
+ /**
77
+ *
78
+ * @type {UserRelation}
79
+ * @memberof Environment
80
+ */
81
+ created_by_user: UserRelation | null;
82
82
  /**
83
83
  * The date and time when the record was created
84
84
  * @type {string}
@@ -147,7 +147,7 @@ export interface Hook {
147
147
  * @type {UserRelation}
148
148
  * @memberof Hook
149
149
  */
150
- created_by_user: UserRelation;
150
+ created_by_user: UserRelation | null;
151
151
  /**
152
152
  * The date and time when the record was created
153
153
  * @type {string}
@@ -183,10 +183,7 @@ export * from './pipeline-step-runner-name';
183
183
  export * from './pipeline-trigger-when';
184
184
  export * from './pipeline-update';
185
185
  export * from './project';
186
- export * from './project-create';
187
186
  export * from './project-organization-create';
188
- export * from './project-owner-relation';
189
- export * from './project-owner-type';
190
187
  export * from './project-relation';
191
188
  export * from './project-update';
192
189
  export * from './provider-code';
@@ -214,7 +211,7 @@ export * from './resource-type';
214
211
  export * from './resource-type-related';
215
212
  export * from './resource-type-relation';
216
213
  export * from './role';
217
- export * from './role-project-create';
214
+ export * from './role-organization-create';
218
215
  export * from './role-relation';
219
216
  export * from './role-update';
220
217
  export * from './script-runner';
@@ -296,7 +293,9 @@ export * from './team-invitation-relation';
296
293
  export * from './team-invitation-status';
297
294
  export * from './team-invitation-type';
298
295
  export * from './team-membership-relation';
299
- export * from './team-project-create';
296
+ export * from './team-organization-create';
297
+ export * from './team-organization-link';
298
+ export * from './team-project-link';
300
299
  export * from './team-relation';
301
300
  export * from './team-update';
302
301
  export * from './trigger-event';
@@ -199,10 +199,7 @@ __exportStar(require("./pipeline-step-runner-name"), exports);
199
199
  __exportStar(require("./pipeline-trigger-when"), exports);
200
200
  __exportStar(require("./pipeline-update"), exports);
201
201
  __exportStar(require("./project"), exports);
202
- __exportStar(require("./project-create"), exports);
203
202
  __exportStar(require("./project-organization-create"), exports);
204
- __exportStar(require("./project-owner-relation"), exports);
205
- __exportStar(require("./project-owner-type"), exports);
206
203
  __exportStar(require("./project-relation"), exports);
207
204
  __exportStar(require("./project-update"), exports);
208
205
  __exportStar(require("./provider-code"), exports);
@@ -230,7 +227,7 @@ __exportStar(require("./resource-type"), exports);
230
227
  __exportStar(require("./resource-type-related"), exports);
231
228
  __exportStar(require("./resource-type-relation"), exports);
232
229
  __exportStar(require("./role"), exports);
233
- __exportStar(require("./role-project-create"), exports);
230
+ __exportStar(require("./role-organization-create"), exports);
234
231
  __exportStar(require("./role-relation"), exports);
235
232
  __exportStar(require("./role-update"), exports);
236
233
  __exportStar(require("./script-runner"), exports);
@@ -312,7 +309,9 @@ __exportStar(require("./team-invitation-relation"), exports);
312
309
  __exportStar(require("./team-invitation-status"), exports);
313
310
  __exportStar(require("./team-invitation-type"), exports);
314
311
  __exportStar(require("./team-membership-relation"), exports);
315
- __exportStar(require("./team-project-create"), exports);
312
+ __exportStar(require("./team-organization-create"), exports);
313
+ __exportStar(require("./team-organization-link"), exports);
314
+ __exportStar(require("./team-project-link"), exports);
316
315
  __exportStar(require("./team-relation"), exports);
317
316
  __exportStar(require("./team-update"), exports);
318
317
  __exportStar(require("./trigger-event"), exports);
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ProjectRelation } from './project-relation';
12
+ import { OrganizationRelation } from './organization-relation';
13
13
  import { TeamInvitationStatus } from './team-invitation-status';
14
14
  import { TeamInvitationType } from './team-invitation-type';
15
15
  import { TeamRelation } from './team-relation';
@@ -67,7 +67,7 @@ export interface InvitationRelation {
67
67
  * @type {UserRelation}
68
68
  * @memberof InvitationRelation
69
69
  */
70
- created_by_user: UserRelation;
70
+ created_by_user: UserRelation | null;
71
71
  /**
72
72
  *
73
73
  * @type {TeamRelation}
@@ -76,10 +76,10 @@ export interface InvitationRelation {
76
76
  team: TeamRelation | null;
77
77
  /**
78
78
  *
79
- * @type {ProjectRelation}
79
+ * @type {OrganizationRelation}
80
80
  * @memberof InvitationRelation
81
81
  */
82
- project: ProjectRelation | null;
82
+ organization: OrganizationRelation | null;
83
83
  /**
84
84
  * The date and time when the invitation was accepted
85
85
  * @type {string}
@@ -66,7 +66,7 @@ export interface Invitation {
66
66
  * @type {UserRelation}
67
67
  * @memberof Invitation
68
68
  */
69
- created_by_user: UserRelation;
69
+ created_by_user: UserRelation | null;
70
70
  /**
71
71
  *
72
72
  * @type {TeamRelation}
@@ -21,7 +21,7 @@ export interface MemberRelation {
21
21
  * @type {UserRelation}
22
22
  * @memberof MemberRelation
23
23
  */
24
- user: UserRelation;
24
+ user: UserRelation | null;
25
25
  /**
26
26
  * The date and time when the record was created
27
27
  * @type {string}
@@ -22,7 +22,7 @@ export interface Member {
22
22
  * @type {UserRelation}
23
23
  * @memberof Member
24
24
  */
25
- user: UserRelation;
25
+ user: UserRelation | null;
26
26
  /**
27
27
  *
28
28
  * @type {TeamRelation}
@@ -10,7 +10,10 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { EnvironmentRelation } from './environment-relation';
13
+ import { OrganizationRelation } from './organization-relation';
14
+ import { ProjectRelation } from './project-relation';
13
15
  import { RoleRelation } from './role-relation';
16
+ import { TeamRelation } from './team-relation';
14
17
  /**
15
18
  *
16
19
  * @export
@@ -19,16 +22,34 @@ import { RoleRelation } from './role-relation';
19
22
  export interface MembershipRelation {
20
23
  /**
21
24
  *
22
- * @type {EnvironmentRelation}
25
+ * @type {TeamRelation}
23
26
  * @memberof MembershipRelation
24
27
  */
25
- environment: EnvironmentRelation | null;
28
+ team: TeamRelation | null;
26
29
  /**
27
30
  *
28
31
  * @type {RoleRelation}
29
32
  * @memberof MembershipRelation
30
33
  */
31
34
  role: RoleRelation | null;
35
+ /**
36
+ *
37
+ * @type {OrganizationRelation}
38
+ * @memberof MembershipRelation
39
+ */
40
+ organization: OrganizationRelation | null;
41
+ /**
42
+ *
43
+ * @type {ProjectRelation}
44
+ * @memberof MembershipRelation
45
+ */
46
+ project: ProjectRelation | null;
47
+ /**
48
+ *
49
+ * @type {EnvironmentRelation}
50
+ * @memberof MembershipRelation
51
+ */
52
+ environment: EnvironmentRelation | null;
32
53
  /**
33
54
  * The date and time when the record was created
34
55
  * @type {string}
@@ -74,7 +74,7 @@ export interface NetworkRule {
74
74
  * @type {UserRelation}
75
75
  * @memberof NetworkRule
76
76
  */
77
- created_by_user: UserRelation;
77
+ created_by_user: UserRelation | null;
78
78
  /**
79
79
  *
80
80
  * @type {EnvironmentRelation}
@@ -56,7 +56,7 @@ export interface Network {
56
56
  * @type {UserRelation}
57
57
  * @memberof Network
58
58
  */
59
- created_by_user: UserRelation;
59
+ created_by_user: UserRelation | null;
60
60
  /**
61
61
  *
62
62
  * @type {ProjectRelation}
@@ -46,7 +46,7 @@ export interface OrganizationRelation {
46
46
  * @type {UserRelation}
47
47
  * @memberof OrganizationRelation
48
48
  */
49
- owner?: UserRelation;
49
+ owner?: UserRelation | null;
50
50
  /**
51
51
  * The date and time when the organization was created
52
52
  * @type {string}
@@ -41,12 +41,18 @@ export interface Organization {
41
41
  * @memberof Organization
42
42
  */
43
43
  resource_summary?: Array<ResourceSummaryItem>;
44
+ /**
45
+ * The list of permissions granted for this role
46
+ * @type {Array<string>}
47
+ * @memberof Organization
48
+ */
49
+ current_user_permissions: Array<string>;
44
50
  /**
45
51
  *
46
52
  * @type {UserRelation}
47
53
  * @memberof Organization
48
54
  */
49
- owner: UserRelation;
55
+ owner: UserRelation | null;
50
56
  /**
51
57
  * The date and time when the organization was created
52
58
  * @type {string}
@@ -47,7 +47,7 @@ export interface PersonalAccessTokenRelation {
47
47
  * @type {UserRelation}
48
48
  * @memberof PersonalAccessTokenRelation
49
49
  */
50
- user: UserRelation;
50
+ user: UserRelation | null;
51
51
  /**
52
52
  * Last time the Token was used
53
53
  * @type {string}
@@ -53,7 +53,7 @@ export interface PersonalAccessTokenRotateResponse {
53
53
  * @type {UserRelation}
54
54
  * @memberof PersonalAccessTokenRotateResponse
55
55
  */
56
- user: UserRelation;
56
+ user: UserRelation | null;
57
57
  /**
58
58
  * Last time the Token was used
59
59
  * @type {string}
@@ -53,7 +53,7 @@ export interface PersonalAccessToken {
53
53
  * @type {UserRelation}
54
54
  * @memberof PersonalAccessToken
55
55
  */
56
- user: UserRelation;
56
+ user: UserRelation | null;
57
57
  /**
58
58
  * Last time the Token was used
59
59
  * @type {string}
@@ -88,7 +88,7 @@ export interface PipelineRelation {
88
88
  * @type {UserRelation}
89
89
  * @memberof PipelineRelation
90
90
  */
91
- created_by_user: UserRelation;
91
+ created_by_user: UserRelation | null;
92
92
  /**
93
93
  * The date and time when the record was created
94
94
  * @type {string}
@@ -96,7 +96,7 @@ export interface Pipeline {
96
96
  * @type {UserRelation}
97
97
  * @memberof Pipeline
98
98
  */
99
- created_by_user: UserRelation;
99
+ created_by_user: UserRelation | null;
100
100
  /**
101
101
  * The date and time when the record was created
102
102
  * @type {string}
@@ -9,8 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ProjectOwnerRelation } from './project-owner-relation';
13
- import { ProjectOwnerType } from './project-owner-type';
12
+ import { OrganizationRelation } from './organization-relation';
14
13
  import { ResourceSummaryItem } from './resource-summary-item';
15
14
  import { UserRelation } from './user-relation';
16
15
  /**
@@ -57,22 +56,16 @@ export interface ProjectRelation {
57
56
  os_users: Array<object>;
58
57
  /**
59
58
  *
60
- * @type {ProjectOwnerRelation}
59
+ * @type {OrganizationRelation}
61
60
  * @memberof ProjectRelation
62
61
  */
63
- owner: ProjectOwnerRelation;
64
- /**
65
- *
66
- * @type {ProjectOwnerType}
67
- * @memberof ProjectRelation
68
- */
69
- owner_type: ProjectOwnerType;
62
+ organization: OrganizationRelation | null;
70
63
  /**
71
64
  *
72
65
  * @type {UserRelation}
73
66
  * @memberof ProjectRelation
74
67
  */
75
- created_by_user: UserRelation;
68
+ created_by_user: UserRelation | null;
76
69
  /**
77
70
  * Number of credits used in the current monthly billing cycle by actions of resources in the project.
78
71
  * @type {number}
@@ -9,8 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ProjectOwnerRelation } from './project-owner-relation';
13
- import { ProjectOwnerType } from './project-owner-type';
12
+ import { OrganizationRelation } from './organization-relation';
14
13
  import { ResourceSummaryItem } from './resource-summary-item';
15
14
  import { UserRelation } from './user-relation';
16
15
  /**
@@ -57,22 +56,22 @@ export interface Project {
57
56
  os_users: Array<object>;
58
57
  /**
59
58
  *
60
- * @type {ProjectOwnerRelation}
59
+ * @type {OrganizationRelation}
61
60
  * @memberof Project
62
61
  */
63
- owner: ProjectOwnerRelation;
62
+ organization: OrganizationRelation | null;
64
63
  /**
65
- *
66
- * @type {ProjectOwnerType}
64
+ * The list of permissions granted for this role
65
+ * @type {Array<string>}
67
66
  * @memberof Project
68
67
  */
69
- owner_type: ProjectOwnerType;
68
+ current_user_permissions: Array<string>;
70
69
  /**
71
70
  *
72
71
  * @type {UserRelation}
73
72
  * @memberof Project
74
73
  */
75
- created_by_user: UserRelation;
74
+ created_by_user: UserRelation | null;
76
75
  /**
77
76
  * The date and time when the record was created
78
77
  * @type {string}
@@ -12,25 +12,25 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface RoleProjectCreate
15
+ * @interface RoleOrganizationCreate
16
16
  */
17
- export interface RoleProjectCreate {
17
+ export interface RoleOrganizationCreate {
18
18
  /**
19
19
  * The role\'s name. Must be at least 2 characters. Must not be greater than 60 characters.
20
20
  * @type {string}
21
- * @memberof RoleProjectCreate
21
+ * @memberof RoleOrganizationCreate
22
22
  */
23
23
  name: string;
24
24
  /**
25
25
  * Description of this role. Must not be greater than 255 characters.
26
26
  * @type {string}
27
- * @memberof RoleProjectCreate
27
+ * @memberof RoleOrganizationCreate
28
28
  */
29
29
  description?: string;
30
30
  /**
31
31
  * The list of permissions granted for this role
32
32
  * @type {Array<string>}
33
- * @memberof RoleProjectCreate
33
+ * @memberof RoleOrganizationCreate
34
34
  */
35
35
  permissions: Array<string>;
36
36
  }
@@ -9,6 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { OrganizationRelation } from './organization-relation';
13
+ import { UserRelation } from './user-relation';
12
14
  /**
13
15
  *
14
16
  * @export
@@ -34,13 +36,7 @@ export interface RoleRelation {
34
36
  */
35
37
  description: string;
36
38
  /**
37
- * The ID of the project this role belongs to
38
- * @type {number}
39
- * @memberof RoleRelation
40
- */
41
- project_id: number | null;
42
- /**
43
- * Defines if the role is predefined or a custom role for specific project
39
+ * Defines if the role is predefined or a custom role for specific organization
44
40
  * @type {boolean}
45
41
  * @memberof RoleRelation
46
42
  */
@@ -51,6 +47,18 @@ export interface RoleRelation {
51
47
  * @memberof RoleRelation
52
48
  */
53
49
  permissions: Array<string>;
50
+ /**
51
+ *
52
+ * @type {OrganizationRelation}
53
+ * @memberof RoleRelation
54
+ */
55
+ organization?: OrganizationRelation | null;
56
+ /**
57
+ *
58
+ * @type {UserRelation}
59
+ * @memberof RoleRelation
60
+ */
61
+ created_by_user?: UserRelation | null;
54
62
  /**
55
63
  * The date and time when the record was created
56
64
  * @type {string}
@@ -9,7 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { OrganizationRelation } from './organization-relation';
12
13
  import { RoleRelation } from './role-relation';
14
+ import { UserRelation } from './user-relation';
13
15
  /**
14
16
  *
15
17
  * @export
@@ -35,13 +37,7 @@ export interface Role {
35
37
  */
36
38
  description: string;
37
39
  /**
38
- * The ID of the project this role belongs to
39
- * @type {number}
40
- * @memberof Role
41
- */
42
- project_id: number | null;
43
- /**
44
- * Defines if the role is predefined or custom
40
+ * Defines if the role is predefined or a custom role for specific organization
45
41
  * @type {boolean}
46
42
  * @memberof Role
47
43
  */
@@ -58,6 +54,18 @@ export interface Role {
58
54
  * @memberof Role
59
55
  */
60
56
  parent: RoleRelation | null;
57
+ /**
58
+ *
59
+ * @type {OrganizationRelation}
60
+ * @memberof Role
61
+ */
62
+ organization?: OrganizationRelation | null;
63
+ /**
64
+ *
65
+ * @type {UserRelation}
66
+ * @memberof Role
67
+ */
68
+ created_by_user?: UserRelation | null;
61
69
  /**
62
70
  * The date and time when the record was created
63
71
  * @type {string}
@@ -127,7 +127,7 @@ export interface Server {
127
127
  * @type {UserRelation}
128
128
  * @memberof Server
129
129
  */
130
- created_by_user: UserRelation;
130
+ created_by_user: UserRelation | null;
131
131
  /**
132
132
  *
133
133
  * @type {ProjectRelation}
@@ -86,7 +86,7 @@ export interface Service {
86
86
  * @type {UserRelation}
87
87
  * @memberof Service
88
88
  */
89
- created_by_user: UserRelation;
89
+ created_by_user: UserRelation | null;
90
90
  /**
91
91
  *
92
92
  * @type {ProjectRelation}
@@ -60,7 +60,7 @@ export interface SshKey {
60
60
  * @type {UserRelation}
61
61
  * @memberof SshKey
62
62
  */
63
- created_by_user: UserRelation;
63
+ created_by_user: UserRelation | null;
64
64
  /**
65
65
  *
66
66
  * @type {EnvironmentRelation}
@@ -61,7 +61,7 @@ export interface SslCertificate {
61
61
  * @type {UserRelation}
62
62
  * @memberof SslCertificate
63
63
  */
64
- created_by_user: UserRelation;
64
+ created_by_user: UserRelation | null;
65
65
  /**
66
66
  *
67
67
  * @type {ActionRelation}
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { NetworkRelation } from './network-relation';
12
13
  import { SubnetProvisionInput } from './subnet-provision-input';
13
14
  import { SubnetType } from './subnet-type';
14
15
  /**
@@ -42,11 +43,11 @@ export interface SubnetRelation {
42
43
  */
43
44
  created_by: number;
44
45
  /**
45
- * Numeric ID of the network to which the subnet belongs to
46
- * @type {number}
46
+ *
47
+ * @type {NetworkRelation}
47
48
  * @memberof SubnetRelation
48
49
  */
49
- network_id: number;
50
+ network: NetworkRelation | null;
50
51
  /**
51
52
  * The subnet\'s name
52
53
  * @type {string}
@@ -58,7 +58,7 @@ export interface Subnet {
58
58
  * @type {UserRelation}
59
59
  * @memberof Subnet
60
60
  */
61
- created_by_user: UserRelation;
61
+ created_by_user: UserRelation | null;
62
62
  /**
63
63
  *
64
64
  * @type {ProjectRelation}
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface TeamEnvironmentLink {
18
18
  /**
19
- * The role\'s ID to use for this team on environment.
19
+ * The role\'s ID to link to the team.
20
20
  * @type {number}
21
21
  * @memberof TeamEnvironmentLink
22
22
  */