@devopness/sdk-js 2.14.1 → 2.16.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 (61) hide show
  1. package/dist/api/generated/apis/cron-jobs-api.d.ts +7 -7
  2. package/dist/api/generated/apis/cron-jobs-api.js +7 -7
  3. package/dist/api/generated/apis/environments-applications-api.d.ts +9 -0
  4. package/dist/api/generated/apis/environments-applications-api.js +20 -0
  5. package/dist/api/generated/apis/environments-cron-jobs-api.d.ts +11 -2
  6. package/dist/api/generated/apis/environments-cron-jobs-api.js +22 -2
  7. package/dist/api/generated/apis/environments-servers-api.d.ts +9 -9
  8. package/dist/api/generated/apis/environments-servers-api.js +20 -25
  9. package/dist/api/generated/apis/environments-services-api.d.ts +2 -2
  10. package/dist/api/generated/apis/environments-services-api.js +2 -2
  11. package/dist/api/generated/apis/environments-sshkeys-api.d.ts +11 -2
  12. package/dist/api/generated/apis/environments-sshkeys-api.js +22 -2
  13. package/dist/api/generated/apis/projects-cron-jobs-api.d.ts +4 -4
  14. package/dist/api/generated/apis/projects-cron-jobs-api.js +6 -6
  15. package/dist/api/generated/apis/projects-servers-api.d.ts +4 -4
  16. package/dist/api/generated/apis/projects-servers-api.js +6 -6
  17. package/dist/api/generated/apis/projects-services-api.d.ts +5 -5
  18. package/dist/api/generated/apis/projects-services-api.js +7 -7
  19. package/dist/api/generated/apis/projects-sshkeys-api.d.ts +1 -1
  20. package/dist/api/generated/apis/projects-sshkeys-api.js +1 -1
  21. package/dist/api/generated/apis/servers-api.d.ts +3 -4
  22. package/dist/api/generated/apis/servers-api.js +7 -7
  23. package/dist/api/generated/apis/services-api.d.ts +17 -17
  24. package/dist/api/generated/apis/services-api.js +20 -20
  25. package/dist/api/generated/models/application-environment-create.d.ts +138 -0
  26. package/dist/api/generated/models/{service-status-update.js → application-environment-create.js} +0 -0
  27. package/dist/api/generated/models/cron-job-create.d.ts +16 -16
  28. package/dist/api/generated/models/cron-job-environment-create.d.ts +54 -0
  29. package/dist/api/generated/models/cron-job-environment-create.js +14 -0
  30. package/dist/api/generated/models/cron-job-relation.d.ts +19 -12
  31. package/dist/api/generated/models/cron-job-update.d.ts +11 -11
  32. package/dist/api/generated/models/cron-job.d.ts +19 -19
  33. package/dist/api/generated/models/index.d.ts +4 -2
  34. package/dist/api/generated/models/index.js +4 -2
  35. package/dist/api/generated/models/server-relation.d.ts +22 -22
  36. package/dist/api/generated/models/server.d.ts +34 -28
  37. package/dist/api/generated/models/service-create.d.ts +11 -11
  38. package/dist/api/generated/models/service-relation.d.ts +14 -8
  39. package/dist/api/generated/models/service-reload.d.ts +1 -1
  40. package/dist/api/generated/models/service-restart.d.ts +1 -1
  41. package/dist/api/generated/models/service-start.d.ts +1 -1
  42. package/dist/api/generated/models/service-stop.d.ts +1 -1
  43. package/dist/api/generated/models/{service-status-update.d.ts → service-update-status.d.ts} +4 -4
  44. package/dist/api/generated/models/service-update-status.js +14 -0
  45. package/dist/api/generated/models/service-update.d.ts +2 -2
  46. package/dist/api/generated/models/service.d.ts +4 -4
  47. package/dist/api/generated/models/ssh-key-create.d.ts +5 -12
  48. package/dist/api/generated/models/ssh-key-project-create.d.ts +37 -0
  49. package/dist/api/generated/models/ssh-key-project-create.js +14 -0
  50. package/dist/api/generated/models/ssh-key-relation.d.ts +13 -7
  51. package/dist/api/generated/models/ssh-key-update.d.ts +2 -2
  52. package/dist/api/generated/models/ssh-key.d.ts +13 -7
  53. package/dist/api/generated/models/trigger-event.d.ts +2 -1
  54. package/dist/api/generated/models/trigger-event.js +2 -1
  55. package/dist/index.d.ts +1 -0
  56. package/dist/index.js +2 -1
  57. package/dist/services/index.d.ts +27 -0
  58. package/dist/services/index.js +43 -0
  59. package/package.json +14 -7
  60. package/dist/api/generated/models/service-action.d.ts +0 -27
  61. package/dist/api/generated/models/service-action.js +0 -32
@@ -23,7 +23,7 @@ import { UserRelation } from './user-relation';
23
23
  */
24
24
  export interface CronJob {
25
25
  /**
26
- * The Id of the given cron job
26
+ * The ID of the given cron job
27
27
  * @type {number}
28
28
  * @memberof CronJob
29
29
  */
@@ -40,6 +40,12 @@ export interface CronJob {
40
40
  * @memberof CronJob
41
41
  */
42
42
  command: string;
43
+ /**
44
+ * The name of the Unix user on behalf of which the cron job will be executed
45
+ * @type {string}
46
+ * @memberof CronJob
47
+ */
48
+ run_as_user: string;
43
49
  /**
44
50
  * A cron expression consisting of Minute, Hour, Day of Month, Month and Day of Week subexpressions
45
51
  * @type {string}
@@ -52,12 +58,6 @@ export interface CronJob {
52
58
  * @memberof CronJob
53
59
  */
54
60
  pattern_human_readable: CronJobPattern;
55
- /**
56
- * The name of the Unix user on behalf of which the cron job will be executed
57
- * @type {string}
58
- * @memberof CronJob
59
- */
60
- run_as_user: string;
61
61
  /**
62
62
  * Indicates if the cron job was auto_generated by `devopness` itself
63
63
  * @type {boolean}
@@ -66,16 +66,10 @@ export interface CronJob {
66
66
  auto_generated: boolean;
67
67
  /**
68
68
  *
69
- * @type {ApplicationRelation}
70
- * @memberof CronJob
71
- */
72
- application: ApplicationRelation | null;
73
- /**
74
- *
75
- * @type {Array<EnvironmentRelation>}
69
+ * @type {ActionRelation}
76
70
  * @memberof CronJob
77
71
  */
78
- environments: Array<EnvironmentRelation>;
72
+ last_action: ActionRelation | null;
79
73
  /**
80
74
  *
81
75
  * @type {UserRelation}
@@ -84,16 +78,22 @@ export interface CronJob {
84
78
  created_by_user: UserRelation;
85
79
  /**
86
80
  *
87
- * @type {ActionRelation}
81
+ * @type {ApplicationRelation}
88
82
  * @memberof CronJob
89
83
  */
90
- last_action: ActionRelation | null;
84
+ application: ApplicationRelation | null;
91
85
  /**
92
86
  *
93
87
  * @type {ProjectRelation}
94
88
  * @memberof CronJob
95
89
  */
96
90
  project: ProjectRelation;
91
+ /**
92
+ *
93
+ * @type {Array<EnvironmentRelation>}
94
+ * @memberof CronJob
95
+ */
96
+ environments: Array<EnvironmentRelation>;
97
97
  /**
98
98
  *
99
99
  * @type {Array<ServerRelation>}
@@ -105,11 +105,11 @@ export interface CronJob {
105
105
  * @type {string}
106
106
  * @memberof CronJob
107
107
  */
108
- created_at?: string;
108
+ created_at: string;
109
109
  /**
110
110
  * The date and time when the record was last updated
111
111
  * @type {string}
112
112
  * @memberof CronJob
113
113
  */
114
- updated_at?: string;
114
+ updated_at: string;
115
115
  }
@@ -22,6 +22,7 @@ export * from './api-error-errors-field-name';
22
22
  export * from './application';
23
23
  export * from './application-create';
24
24
  export * from './application-deployment';
25
+ export * from './application-environment-create';
25
26
  export * from './application-last-deployment';
26
27
  export * from './application-last-deployments';
27
28
  export * from './application-options';
@@ -50,6 +51,7 @@ export * from './credential-google-cloud';
50
51
  export * from './credential-setting';
51
52
  export * from './cron-job';
52
53
  export * from './cron-job-create';
54
+ export * from './cron-job-environment-create';
53
55
  export * from './cron-job-frequency';
54
56
  export * from './cron-job-options';
55
57
  export * from './cron-job-pattern';
@@ -156,7 +158,6 @@ export * from './server-provision-settings';
156
158
  export * from './server-relation';
157
159
  export * from './server-update';
158
160
  export * from './service';
159
- export * from './service-action';
160
161
  export * from './service-create';
161
162
  export * from './service-initial-state';
162
163
  export * from './service-name';
@@ -165,11 +166,11 @@ export * from './service-relation';
165
166
  export * from './service-reload';
166
167
  export * from './service-restart';
167
168
  export * from './service-start';
168
- export * from './service-status-update';
169
169
  export * from './service-stop';
170
170
  export * from './service-type';
171
171
  export * from './service-type-supported-versions';
172
172
  export * from './service-update';
173
+ export * from './service-update-status';
173
174
  export * from './social-account';
174
175
  export * from './social-account-create';
175
176
  export * from './social-account-displayable-name';
@@ -181,6 +182,7 @@ export * from './source-provider-displayable-name';
181
182
  export * from './source-provider-name';
182
183
  export * from './ssh-key';
183
184
  export * from './ssh-key-create';
185
+ export * from './ssh-key-project-create';
184
186
  export * from './ssh-key-relation';
185
187
  export * from './ssh-key-update';
186
188
  export * from './ssl-certificate';
@@ -38,6 +38,7 @@ __exportStar(require("./api-error-errors-field-name"), exports);
38
38
  __exportStar(require("./application"), exports);
39
39
  __exportStar(require("./application-create"), exports);
40
40
  __exportStar(require("./application-deployment"), exports);
41
+ __exportStar(require("./application-environment-create"), exports);
41
42
  __exportStar(require("./application-last-deployment"), exports);
42
43
  __exportStar(require("./application-last-deployments"), exports);
43
44
  __exportStar(require("./application-options"), exports);
@@ -66,6 +67,7 @@ __exportStar(require("./credential-google-cloud"), exports);
66
67
  __exportStar(require("./credential-setting"), exports);
67
68
  __exportStar(require("./cron-job"), exports);
68
69
  __exportStar(require("./cron-job-create"), exports);
70
+ __exportStar(require("./cron-job-environment-create"), exports);
69
71
  __exportStar(require("./cron-job-frequency"), exports);
70
72
  __exportStar(require("./cron-job-options"), exports);
71
73
  __exportStar(require("./cron-job-pattern"), exports);
@@ -172,7 +174,6 @@ __exportStar(require("./server-provision-settings"), exports);
172
174
  __exportStar(require("./server-relation"), exports);
173
175
  __exportStar(require("./server-update"), exports);
174
176
  __exportStar(require("./service"), exports);
175
- __exportStar(require("./service-action"), exports);
176
177
  __exportStar(require("./service-create"), exports);
177
178
  __exportStar(require("./service-initial-state"), exports);
178
179
  __exportStar(require("./service-name"), exports);
@@ -181,11 +182,11 @@ __exportStar(require("./service-relation"), exports);
181
182
  __exportStar(require("./service-reload"), exports);
182
183
  __exportStar(require("./service-restart"), exports);
183
184
  __exportStar(require("./service-start"), exports);
184
- __exportStar(require("./service-status-update"), exports);
185
185
  __exportStar(require("./service-stop"), exports);
186
186
  __exportStar(require("./service-type"), exports);
187
187
  __exportStar(require("./service-type-supported-versions"), exports);
188
188
  __exportStar(require("./service-update"), exports);
189
+ __exportStar(require("./service-update-status"), exports);
189
190
  __exportStar(require("./social-account"), exports);
190
191
  __exportStar(require("./social-account-create"), exports);
191
192
  __exportStar(require("./social-account-displayable-name"), exports);
@@ -197,6 +198,7 @@ __exportStar(require("./source-provider-displayable-name"), exports);
197
198
  __exportStar(require("./source-provider-name"), exports);
198
199
  __exportStar(require("./ssh-key"), exports);
199
200
  __exportStar(require("./ssh-key-create"), exports);
201
+ __exportStar(require("./ssh-key-project-create"), exports);
200
202
  __exportStar(require("./ssh-key-relation"), exports);
201
203
  __exportStar(require("./ssh-key-update"), exports);
202
204
  __exportStar(require("./ssl-certificate"), exports);
@@ -23,6 +23,12 @@ export interface ServerRelation {
23
23
  * @memberof ServerRelation
24
24
  */
25
25
  id: number;
26
+ /**
27
+ * The id of the user who created the server and to whom the server belongs
28
+ * @type {number}
29
+ * @memberof ServerRelation
30
+ */
31
+ created_by: number;
26
32
  /**
27
33
  * The server\'s name
28
34
  * @type {string}
@@ -35,6 +41,18 @@ export interface ServerRelation {
35
41
  * @memberof ServerRelation
36
42
  */
37
43
  hostname: string;
44
+ /**
45
+ * strubg The name of the server\'s provider.
46
+ * @type {string}
47
+ * @memberof ServerRelation
48
+ */
49
+ provider_name: string;
50
+ /**
51
+ * The human readable version of the provider\'s name
52
+ * @type {string}
53
+ * @memberof ServerRelation
54
+ */
55
+ provider_name_human_readable: string;
38
56
  /**
39
57
  * Public ipv4 address for server access
40
58
  * @type {string}
@@ -47,12 +65,6 @@ export interface ServerRelation {
47
65
  * @memberof ServerRelation
48
66
  */
49
67
  ssh_port: number;
50
- /**
51
- * The id of the user who created the server and to whom the server belongs
52
- * @type {number}
53
- * @memberof ServerRelation
54
- */
55
- created_by: number;
56
68
  /**
57
69
  * Tells if the server is active or not
58
70
  * @type {boolean}
@@ -64,35 +76,23 @@ export interface ServerRelation {
64
76
  * @type {ActionStatus}
65
77
  * @memberof ServerRelation
66
78
  */
67
- status?: ActionStatus;
68
- /**
69
- * The name of the server\'s provider.
70
- * @type {string}
71
- * @memberof ServerRelation
72
- */
73
- provider_name?: string;
74
- /**
75
- * The human readable version of the provider\'s name
76
- * @type {string}
77
- * @memberof ServerRelation
78
- */
79
- provider_name_human_readable?: string;
79
+ status: ActionStatus;
80
80
  /**
81
81
  *
82
82
  * @type {ActionRelation}
83
83
  * @memberof ServerRelation
84
84
  */
85
- last_action?: ActionRelation | null;
85
+ last_action: ActionRelation | null;
86
86
  /**
87
87
  * The date and time when the record was created
88
88
  * @type {string}
89
89
  * @memberof ServerRelation
90
90
  */
91
- created_at?: string;
91
+ created_at: string;
92
92
  /**
93
93
  * The date and time when the record was last updated
94
94
  * @type {string}
95
95
  * @memberof ServerRelation
96
96
  */
97
- updated_at?: string;
97
+ updated_at: string;
98
98
  }
@@ -27,6 +27,12 @@ export interface Server {
27
27
  * @memberof Server
28
28
  */
29
29
  id: number;
30
+ /**
31
+ * The id of the user who created the server and to whom the server belongs
32
+ * @type {number}
33
+ * @memberof Server
34
+ */
35
+ created_by: number;
30
36
  /**
31
37
  * The server\'s name
32
38
  * @type {string}
@@ -39,6 +45,18 @@ export interface Server {
39
45
  * @memberof Server
40
46
  */
41
47
  hostname: string;
48
+ /**
49
+ * The name of the server\'s provider.
50
+ * @type {string}
51
+ * @memberof Server
52
+ */
53
+ provider_name: string;
54
+ /**
55
+ * The human readable version of the provider\'s name
56
+ * @type {string}
57
+ * @memberof Server
58
+ */
59
+ provider_name_human_readable: string;
42
60
  /**
43
61
  * Public ipv4 address for server access
44
62
  * @type {string}
@@ -51,12 +69,6 @@ export interface Server {
51
69
  * @memberof Server
52
70
  */
53
71
  ssh_port: number;
54
- /**
55
- * The id of the user who created the server and to whom the server belongs
56
- * @type {number}
57
- * @memberof Server
58
- */
59
- created_by: number;
60
72
  /**
61
73
  * Tells if the server is active or not
62
74
  * @type {boolean}
@@ -65,22 +77,22 @@ export interface Server {
65
77
  active: boolean;
66
78
  /**
67
79
  *
68
- * @type {ServerBlueprint}
80
+ * @type {ActionStatus}
69
81
  * @memberof Server
70
82
  */
71
- blueprint: ServerBlueprint;
83
+ status: ActionStatus;
72
84
  /**
73
85
  *
74
- * @type {ActionStatus}
86
+ * @type {ServerBlueprint}
75
87
  * @memberof Server
76
88
  */
77
- status?: ActionStatus;
89
+ blueprint: ServerBlueprint;
78
90
  /**
79
- * The list of environments to which the server is linked to
80
- * @type {Array<EnvironmentRelation>}
91
+ *
92
+ * @type {UserRelation}
81
93
  * @memberof Server
82
94
  */
83
- environments: Array<EnvironmentRelation>;
95
+ created_by_user: UserRelation;
84
96
  /**
85
97
  *
86
98
  * @type {ProjectRelation}
@@ -88,39 +100,33 @@ export interface Server {
88
100
  */
89
101
  project: ProjectRelation;
90
102
  /**
91
- * The name of the server\'s provider.
92
- * @type {string}
93
- * @memberof Server
94
- */
95
- provider_name?: string;
96
- /**
97
- * The human readable version of the provider\'s name
98
- * @type {string}
103
+ *
104
+ * @type {ActionRelation}
99
105
  * @memberof Server
100
106
  */
101
- provider_name_human_readable?: string;
107
+ last_action: ActionRelation | null;
102
108
  /**
103
109
  *
104
- * @type {UserRelation}
110
+ * @type {EnvironmentRelation}
105
111
  * @memberof Server
106
112
  */
107
- created_by_user: UserRelation;
113
+ environment: EnvironmentRelation;
108
114
  /**
109
115
  *
110
- * @type {ActionRelation}
116
+ * @type {Array<EnvironmentRelation>}
111
117
  * @memberof Server
112
118
  */
113
- last_action: ActionRelation | null;
119
+ environments: Array<EnvironmentRelation>;
114
120
  /**
115
121
  * The date and time when the record was created
116
122
  * @type {string}
117
123
  * @memberof Server
118
124
  */
119
- created_at?: string;
125
+ created_at: string;
120
126
  /**
121
127
  * The date and time when the record was last updated
122
128
  * @type {string}
123
129
  * @memberof Server
124
130
  */
125
- updated_at?: string;
131
+ updated_at: string;
126
132
  }
@@ -19,13 +19,7 @@ import { ServiceName } from './service-name';
19
19
  */
20
20
  export interface ServiceCreate {
21
21
  /**
22
- *
23
- * @type {ServiceName}
24
- * @memberof ServiceCreate
25
- */
26
- type: ServiceName;
27
- /**
28
- * Tells if the service should start automatically on operating system boot
22
+ * Tells if the service should start automatically on operating system boot.
29
23
  * @type {boolean}
30
24
  * @memberof ServiceCreate
31
25
  */
@@ -38,14 +32,20 @@ export interface ServiceCreate {
38
32
  initial_state?: ServiceInitialState;
39
33
  /**
40
34
  *
41
- * @type {Array<EnvironmentLinkItem>}
35
+ * @type {ServiceName}
42
36
  * @memberof ServiceCreate
43
37
  */
44
- environments?: Array<EnvironmentLinkItem>;
38
+ type: ServiceName;
45
39
  /**
46
- * The service version to be installed
40
+ * The service version to be installed. Must be one of <code></code> Must be at least 3 characters. Must not be greater than 30 characters.
47
41
  * @type {string}
48
42
  * @memberof ServiceCreate
49
43
  */
50
- version?: string;
44
+ version: string;
45
+ /**
46
+ *
47
+ * @type {Array<EnvironmentLinkItem>}
48
+ * @memberof ServiceCreate
49
+ */
50
+ environments?: Array<EnvironmentLinkItem>;
51
51
  }
@@ -18,29 +18,35 @@ import { ServiceInitialState } from './service-initial-state';
18
18
  */
19
19
  export interface ServiceRelation {
20
20
  /**
21
- * The unique id of the given record
21
+ * The unique ID of the given service
22
22
  * @type {number}
23
23
  * @memberof ServiceRelation
24
24
  */
25
25
  id: number;
26
26
  /**
27
- * The service name
27
+ * The human readable service name
28
28
  * @type {string}
29
29
  * @memberof ServiceRelation
30
30
  */
31
31
  name: string;
32
32
  /**
33
- * Formatted/human readable version of the service name
33
+ * The service type
34
34
  * @type {string}
35
35
  * @memberof ServiceRelation
36
36
  */
37
- name_human_readable?: string;
37
+ type: string;
38
+ /**
39
+ * Formatted/human readable version of the service type
40
+ * @type {string}
41
+ * @memberof ServiceRelation
42
+ */
43
+ type_human_readable: string;
38
44
  /**
39
45
  * The service current installed version
40
46
  * @type {string}
41
47
  * @memberof ServiceRelation
42
48
  */
43
- version?: string | null;
49
+ version: string | null;
44
50
  /**
45
51
  * Indicates if the service was auto_generated by `devopness` itself
46
52
  * @type {boolean}
@@ -48,7 +54,7 @@ export interface ServiceRelation {
48
54
  */
49
55
  auto_generated: boolean;
50
56
  /**
51
- * Indicates if the service is marked for start automatically on operating system boot
57
+ * Indicates if the service will start automatically on operating system boot
52
58
  * @type {boolean}
53
59
  * @memberof ServiceRelation
54
60
  */
@@ -64,13 +70,13 @@ export interface ServiceRelation {
64
70
  * @type {string}
65
71
  * @memberof ServiceRelation
66
72
  */
67
- description?: string | null;
73
+ description: string | null;
68
74
  /**
69
75
  *
70
76
  * @type {ActionRelation}
71
77
  * @memberof ServiceRelation
72
78
  */
73
- last_action?: ActionRelation | null;
79
+ last_action: ActionRelation | null;
74
80
  /**
75
81
  * The date and time when the record was created
76
82
  * @type {string}
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface ServiceReload {
18
18
  /**
19
- * The unique environment id
19
+ * The ID of the environment this service is running in.
20
20
  * @type {number}
21
21
  * @memberof ServiceReload
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface ServiceRestart {
18
18
  /**
19
- * The unique environment id
19
+ * The ID of the environment this service is running in.
20
20
  * @type {number}
21
21
  * @memberof ServiceRestart
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface ServiceStart {
18
18
  /**
19
- * The unique environment id
19
+ * The ID of the environment this service is running in.
20
20
  * @type {number}
21
21
  * @memberof ServiceStart
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface ServiceStop {
18
18
  /**
19
- * The unique environment id
19
+ * The ID of the environment this service is running in.
20
20
  * @type {number}
21
21
  * @memberof ServiceStop
22
22
  */
@@ -12,13 +12,13 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface ServiceStatusUpdate
15
+ * @interface ServiceUpdateStatus
16
16
  */
17
- export interface ServiceStatusUpdate {
17
+ export interface ServiceUpdateStatus {
18
18
  /**
19
- * The unique environment id
19
+ * The ID of the environment this service is running in.
20
20
  * @type {number}
21
- * @memberof ServiceStatusUpdate
21
+ * @memberof ServiceUpdateStatus
22
22
  */
23
23
  environment_id: number;
24
24
  }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /* eslint-disable */
3
+ /**
4
+ * devopness API
5
+ * Devopness API - Painless essential DevOps to everyone
6
+ *
7
+ * The version of the OpenAPI document: latest
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -17,7 +17,7 @@ import { EnvironmentLinkItem } from './environment-link-item';
17
17
  */
18
18
  export interface ServiceUpdate {
19
19
  /**
20
- * The unique id of the given record
20
+ * The unique ID of the service.
21
21
  * @type {number}
22
22
  * @memberof ServiceUpdate
23
23
  */
@@ -27,5 +27,5 @@ export interface ServiceUpdate {
27
27
  * @type {Array<EnvironmentLinkItem>}
28
28
  * @memberof ServiceUpdate
29
29
  */
30
- environments: Array<EnvironmentLinkItem>;
30
+ environments?: Array<EnvironmentLinkItem>;
31
31
  }
@@ -22,7 +22,7 @@ import { UserRelation } from './user-relation';
22
22
  */
23
23
  export interface Service {
24
24
  /**
25
- * The unique id of the given record
25
+ * The unique ID of the given service
26
26
  * @type {number}
27
27
  * @memberof Service
28
28
  */
@@ -50,7 +50,7 @@ export interface Service {
50
50
  * @type {string}
51
51
  * @memberof Service
52
52
  */
53
- version?: string | null;
53
+ version: string | null;
54
54
  /**
55
55
  * Indicates if the service was auto_generated by `devopness` itself
56
56
  * @type {boolean}
@@ -58,7 +58,7 @@ export interface Service {
58
58
  */
59
59
  auto_generated: boolean;
60
60
  /**
61
- * Indicates if the service is marked for start automatically on operating system boot
61
+ * Indicates if the service will start automatically on operating system boot
62
62
  * @type {boolean}
63
63
  * @memberof Service
64
64
  */
@@ -74,7 +74,7 @@ export interface Service {
74
74
  * @type {string}
75
75
  * @memberof Service
76
76
  */
77
- description?: string | null;
77
+ description: string | null;
78
78
  /**
79
79
  *
80
80
  * @type {Array<EnvironmentRelation>}
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { EnvironmentLinkItem } from './environment-link-item';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -17,27 +16,21 @@ import { EnvironmentLinkItem } from './environment-link-item';
17
16
  */
18
17
  export interface SshKeyCreate {
19
18
  /**
20
- * The Id of the given SSH public key
21
- * @type {number}
22
- * @memberof SshKeyCreate
23
- */
24
- id?: number;
25
- /**
26
- * The name entered by the user to uniquely identify the public SSH key
19
+ * The ssh key\'s name. Must not be greater than 60 characters.
27
20
  * @type {string}
28
21
  * @memberof SshKeyCreate
29
22
  */
30
23
  name: string;
31
24
  /**
32
- * The public SSH key to add to your `devopness` account and associate it to the given project
25
+ * The public key of the ssh key.
33
26
  * @type {string}
34
27
  * @memberof SshKeyCreate
35
28
  */
36
29
  public_key: string;
37
30
  /**
38
- *
39
- * @type {Array<EnvironmentLinkItem>}
31
+ * List of valid resource IDs
32
+ * @type {Array<number>}
40
33
  * @memberof SshKeyCreate
41
34
  */
42
- environments?: Array<EnvironmentLinkItem>;
35
+ servers?: Array<number>;
43
36
  }