@devopness/sdk-js 2.17.0 → 2.19.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/api/generated/apis/applications-sslcertificates-api.d.ts +6 -6
  2. package/dist/api/generated/apis/applications-sslcertificates-api.js +8 -8
  3. package/dist/api/generated/apis/applications-variables-api.d.ts +7 -6
  4. package/dist/api/generated/apis/applications-variables-api.js +7 -7
  5. package/dist/api/generated/apis/daemons-api.d.ts +10 -10
  6. package/dist/api/generated/apis/daemons-api.js +10 -10
  7. package/dist/api/generated/apis/environments-daemons-api.d.ts +11 -2
  8. package/dist/api/generated/apis/environments-daemons-api.js +22 -2
  9. package/dist/api/generated/apis/environments-network-rules-api.d.ts +2 -2
  10. package/dist/api/generated/apis/environments-network-rules-api.js +2 -2
  11. package/dist/api/generated/apis/network-rules-api.d.ts +7 -7
  12. package/dist/api/generated/apis/network-rules-api.js +7 -7
  13. package/dist/api/generated/apis/pipelines-api.d.ts +9 -8
  14. package/dist/api/generated/apis/pipelines-api.js +11 -11
  15. package/dist/api/generated/apis/pipelines-steps-api.d.ts +17 -17
  16. package/dist/api/generated/apis/pipelines-steps-api.js +35 -35
  17. package/dist/api/generated/apis/projects-daemons-api.d.ts +7 -7
  18. package/dist/api/generated/apis/projects-daemons-api.js +10 -10
  19. package/dist/api/generated/apis/projects-network-rules-api.d.ts +6 -6
  20. package/dist/api/generated/apis/projects-network-rules-api.js +8 -8
  21. package/dist/api/generated/apis/sslcertificates-api.d.ts +3 -3
  22. package/dist/api/generated/apis/sslcertificates-api.js +3 -3
  23. package/dist/api/generated/apis/variables-api.d.ts +4 -4
  24. package/dist/api/generated/apis/variables-api.js +4 -4
  25. package/dist/api/generated/models/cron-job-update.d.ts +3 -4
  26. package/dist/api/generated/models/daemon-create.d.ts +13 -20
  27. package/dist/api/generated/models/daemon-project-create.d.ts +61 -0
  28. package/dist/api/generated/models/daemon-project-create.js +14 -0
  29. package/dist/api/generated/models/daemon-relation.d.ts +13 -13
  30. package/dist/api/generated/models/daemon-restart.d.ts +1 -1
  31. package/dist/api/generated/models/daemon-update.d.ts +16 -23
  32. package/dist/api/generated/models/daemon.d.ts +23 -17
  33. package/dist/api/generated/models/index.d.ts +3 -0
  34. package/dist/api/generated/models/index.js +3 -0
  35. package/dist/api/generated/models/network-rule-create.d.ts +8 -8
  36. package/dist/api/generated/models/network-rule-relation.d.ts +21 -15
  37. package/dist/api/generated/models/network-rule-update.d.ts +7 -7
  38. package/dist/api/generated/models/network-rule.d.ts +23 -17
  39. package/dist/api/generated/models/pipeline-step-create.d.ts +9 -3
  40. package/dist/api/generated/models/pipeline-step-update.d.ts +11 -5
  41. package/dist/api/generated/models/pipeline-step.d.ts +20 -14
  42. package/dist/api/generated/models/pipeline-update.d.ts +30 -0
  43. package/dist/api/generated/models/pipeline-update.js +14 -0
  44. package/dist/api/generated/models/pipeline.d.ts +19 -12
  45. package/dist/api/generated/models/ssl-certificate-create.d.ts +9 -9
  46. package/dist/api/generated/models/ssl-certificate-relation.d.ts +24 -30
  47. package/dist/api/generated/models/ssl-certificate.d.ts +41 -40
  48. package/dist/api/generated/models/variable-create.d.ts +16 -4
  49. package/dist/api/generated/models/variable-relation.d.ts +92 -0
  50. package/dist/api/generated/models/variable-relation.js +14 -0
  51. package/dist/api/generated/models/variable-update.d.ts +4 -10
  52. package/dist/api/generated/models/variable.d.ts +30 -12
  53. package/package.json +1 -1
@@ -59,6 +59,7 @@ export * from './cron-job-relation';
59
59
  export * from './cron-job-update';
60
60
  export * from './daemon';
61
61
  export * from './daemon-create';
62
+ export * from './daemon-project-create';
62
63
  export * from './daemon-relation';
63
64
  export * from './daemon-restart';
64
65
  export * from './daemon-update';
@@ -130,6 +131,7 @@ export * from './pipeline-step';
130
131
  export * from './pipeline-step-create';
131
132
  export * from './pipeline-step-runner-name';
132
133
  export * from './pipeline-step-update';
134
+ export * from './pipeline-update';
133
135
  export * from './project';
134
136
  export * from './project-create';
135
137
  export * from './project-relation';
@@ -214,6 +216,7 @@ export * from './user-tokens';
214
216
  export * from './user-update';
215
217
  export * from './variable';
216
218
  export * from './variable-create';
219
+ export * from './variable-relation';
217
220
  export * from './variable-target';
218
221
  export * from './variable-type';
219
222
  export * from './variable-update';
@@ -75,6 +75,7 @@ __exportStar(require("./cron-job-relation"), exports);
75
75
  __exportStar(require("./cron-job-update"), exports);
76
76
  __exportStar(require("./daemon"), exports);
77
77
  __exportStar(require("./daemon-create"), exports);
78
+ __exportStar(require("./daemon-project-create"), exports);
78
79
  __exportStar(require("./daemon-relation"), exports);
79
80
  __exportStar(require("./daemon-restart"), exports);
80
81
  __exportStar(require("./daemon-update"), exports);
@@ -146,6 +147,7 @@ __exportStar(require("./pipeline-step"), exports);
146
147
  __exportStar(require("./pipeline-step-create"), exports);
147
148
  __exportStar(require("./pipeline-step-runner-name"), exports);
148
149
  __exportStar(require("./pipeline-step-update"), exports);
150
+ __exportStar(require("./pipeline-update"), exports);
149
151
  __exportStar(require("./project"), exports);
150
152
  __exportStar(require("./project-create"), exports);
151
153
  __exportStar(require("./project-relation"), exports);
@@ -230,6 +232,7 @@ __exportStar(require("./user-tokens"), exports);
230
232
  __exportStar(require("./user-update"), exports);
231
233
  __exportStar(require("./variable"), exports);
232
234
  __exportStar(require("./variable-create"), exports);
235
+ __exportStar(require("./variable-relation"), exports);
233
236
  __exportStar(require("./variable-target"), exports);
234
237
  __exportStar(require("./variable-type"), exports);
235
238
  __exportStar(require("./variable-update"), exports);
@@ -19,7 +19,7 @@ import { NetworkRuleType } from './network-rule-type';
19
19
  */
20
20
  export interface NetworkRuleCreate {
21
21
  /**
22
- * The rule\'s name/description/reminder
22
+ * The rule\'s name/description/reminder. Must be at least 3 characters. Must not be greater than 60 characters.
23
23
  * @type {string}
24
24
  * @memberof NetworkRuleCreate
25
25
  */
@@ -35,27 +35,27 @@ export interface NetworkRuleCreate {
35
35
  * @type {NetworkRuleProtocol}
36
36
  * @memberof NetworkRuleCreate
37
37
  */
38
- protocol: NetworkRuleProtocol;
38
+ protocol?: NetworkRuleProtocol;
39
39
  /**
40
- * Starting range of the public ipv4 or ipv6 addresses that can access this rule
40
+ * Starting range of the public ipv4 or ipv6 addresses that can access this rule. Must be a valid IP address.
41
41
  * @type {string}
42
42
  * @memberof NetworkRuleCreate
43
43
  */
44
- ip_address_from: string | null;
44
+ ip_address_from?: string;
45
45
  /**
46
- * Ending range of the public ipv4 or ipv6 addresses that can access this rule
46
+ * Ending range of the public ipv4 or ipv6 addresses that can access this rule. Must be a valid IP address.
47
47
  * @type {string}
48
48
  * @memberof NetworkRuleCreate
49
49
  */
50
- ip_address_to: string | null;
50
+ ip_address_to?: string;
51
51
  /**
52
- * Starting range of network ports to be considered by this rule
52
+ * Starting range of network ports to be considered by this rule. Must be at least 1. Must not be greater than 65535.
53
53
  * @type {number}
54
54
  * @memberof NetworkRuleCreate
55
55
  */
56
56
  port_from: number;
57
57
  /**
58
- * Ending range of network ports to be considered by this rule
58
+ * Ending range of network ports to be considered by this rule. Must be at least 1. Must not be greater than 65535.
59
59
  * @type {number}
60
60
  * @memberof NetworkRuleCreate
61
61
  */
@@ -19,7 +19,7 @@ import { NetworkRuleType } from './network-rule-type';
19
19
  */
20
20
  export interface NetworkRuleRelation {
21
21
  /**
22
- * The unique id of the given record
22
+ * The ID of the given network rule
23
23
  * @type {number}
24
24
  * @memberof NetworkRuleRelation
25
25
  */
@@ -43,45 +43,51 @@ export interface NetworkRuleRelation {
43
43
  */
44
44
  protocol: NetworkRuleProtocol;
45
45
  /**
46
- * Starting range of the public ipv4 or ipv6 addresses that can access this rule
47
- * @type {string}
46
+ * Starting range of network ports to be considered by this rule
47
+ * @type {number}
48
48
  * @memberof NetworkRuleRelation
49
49
  */
50
- ip_address_from?: string | null;
50
+ port_from: number;
51
51
  /**
52
- * Ending range of the public ipv4 or ipv6 addresses that can access this rule
52
+ * Ending range of network ports to be considered by this rule
53
+ * @type {number}
54
+ * @memberof NetworkRuleRelation
55
+ */
56
+ port_to: number;
57
+ /**
58
+ * Starting range of the public ipv4 or ipv6 addresses that can access this rule
53
59
  * @type {string}
54
60
  * @memberof NetworkRuleRelation
55
61
  */
56
- ip_address_to?: string | null;
62
+ ip_address_from: string | null;
57
63
  /**
58
- * Starting range of network ports to be considered by this rule
59
- * @type {number}
64
+ * Ending range of the public ipv4 or ipv6 addresses that can access this rule
65
+ * @type {string}
60
66
  * @memberof NetworkRuleRelation
61
67
  */
62
- port_from: number;
68
+ ip_address_to: string | null;
63
69
  /**
64
- * Ending range of network ports to be considered by this rule
65
- * @type {number}
70
+ * Indicates if the network rule was auto_generated by `devopness` itself
71
+ * @type {boolean}
66
72
  * @memberof NetworkRuleRelation
67
73
  */
68
- port_to: number;
74
+ auto_generated: boolean;
69
75
  /**
70
76
  *
71
77
  * @type {ActionRelation}
72
78
  * @memberof NetworkRuleRelation
73
79
  */
74
- last_action?: ActionRelation | null;
80
+ last_action: ActionRelation | null;
75
81
  /**
76
82
  * The date and time when the record was created
77
83
  * @type {string}
78
84
  * @memberof NetworkRuleRelation
79
85
  */
80
- created_at?: string;
86
+ created_at: string;
81
87
  /**
82
88
  * The date and time when the record was last updated
83
89
  * @type {string}
84
90
  * @memberof NetworkRuleRelation
85
91
  */
86
- updated_at?: string;
92
+ updated_at: string;
87
93
  }
@@ -19,13 +19,13 @@ import { NetworkRuleType } from './network-rule-type';
19
19
  */
20
20
  export interface NetworkRuleUpdate {
21
21
  /**
22
- * The unique id of the given record
22
+ * The unique ID of the given network rule.
23
23
  * @type {number}
24
24
  * @memberof NetworkRuleUpdate
25
25
  */
26
26
  id: number;
27
27
  /**
28
- * The rule\'s name/description/reminder
28
+ * The rule\'s name/description/reminder. Must be at least 3 characters. Must not be greater than 60 characters.
29
29
  * @type {string}
30
30
  * @memberof NetworkRuleUpdate
31
31
  */
@@ -41,19 +41,19 @@ export interface NetworkRuleUpdate {
41
41
  * @type {NetworkRuleProtocol}
42
42
  * @memberof NetworkRuleUpdate
43
43
  */
44
- protocol: NetworkRuleProtocol;
44
+ protocol?: NetworkRuleProtocol;
45
45
  /**
46
- * Starting range of the public ipv4 or ipv6 addresses that can access this rule
46
+ * Starting range of the public ipv4 or ipv6 addresses that can access this rule. Must be a valid IP address.
47
47
  * @type {string}
48
48
  * @memberof NetworkRuleUpdate
49
49
  */
50
- ip_address_from: string;
50
+ ip_address_from?: string;
51
51
  /**
52
- * Ending range of the public ipv4 or ipv6 addresses that can access this rule
52
+ * Ending range of the public ipv4 or ipv6 addresses that can access this rule. Must be a valid IP address.
53
53
  * @type {string}
54
54
  * @memberof NetworkRuleUpdate
55
55
  */
56
- ip_address_to: string;
56
+ ip_address_to?: string;
57
57
  /**
58
58
  *
59
59
  * @type {Array<EnvironmentLinkItem>}
@@ -22,7 +22,7 @@ import { UserRelation } from './user-relation';
22
22
  */
23
23
  export interface NetworkRule {
24
24
  /**
25
- * The unique id of the given record
25
+ * The ID of the given network rule
26
26
  * @type {number}
27
27
  * @memberof NetworkRule
28
28
  */
@@ -45,30 +45,42 @@ export interface NetworkRule {
45
45
  * @memberof NetworkRule
46
46
  */
47
47
  protocol: NetworkRuleProtocol;
48
+ /**
49
+ * Starting range of network ports to be considered by this rule
50
+ * @type {number}
51
+ * @memberof NetworkRule
52
+ */
53
+ port_from: number;
54
+ /**
55
+ * Ending range of network ports to be considered by this rule
56
+ * @type {number}
57
+ * @memberof NetworkRule
58
+ */
59
+ port_to: number;
48
60
  /**
49
61
  * Starting range of the public ipv4 or ipv6 addresses that can access this rule
50
62
  * @type {string}
51
63
  * @memberof NetworkRule
52
64
  */
53
- ip_address_from?: string | null;
65
+ ip_address_from: string | null;
54
66
  /**
55
67
  * Ending range of the public ipv4 or ipv6 addresses that can access this rule
56
68
  * @type {string}
57
69
  * @memberof NetworkRule
58
70
  */
59
- ip_address_to?: string | null;
71
+ ip_address_to: string | null;
60
72
  /**
61
- * Starting range of network ports to be considered by this rule
62
- * @type {number}
73
+ * Indicates if the network rule was auto_generated by `devopness` itself
74
+ * @type {boolean}
63
75
  * @memberof NetworkRule
64
76
  */
65
- port_from: number;
77
+ auto_generated: boolean;
66
78
  /**
67
- * Ending range of network ports to be considered by this rule
68
- * @type {number}
79
+ *
80
+ * @type {ActionRelation}
69
81
  * @memberof NetworkRule
70
82
  */
71
- port_to: number;
83
+ last_action: ActionRelation | null;
72
84
  /**
73
85
  *
74
86
  * @type {UserRelation}
@@ -87,22 +99,16 @@ export interface NetworkRule {
87
99
  * @memberof NetworkRule
88
100
  */
89
101
  servers: Array<ServerRelation>;
90
- /**
91
- *
92
- * @type {ActionRelation}
93
- * @memberof NetworkRule
94
- */
95
- last_action: ActionRelation | null;
96
102
  /**
97
103
  * The date and time when the record was created
98
104
  * @type {string}
99
105
  * @memberof NetworkRule
100
106
  */
101
- created_at?: string;
107
+ created_at: string;
102
108
  /**
103
109
  * The date and time when the record was last updated
104
110
  * @type {string}
105
111
  * @memberof NetworkRule
106
112
  */
107
- updated_at?: string;
113
+ updated_at: string;
108
114
  }
@@ -17,13 +17,19 @@ import { PipelineStepRunnerName } from './pipeline-step-runner-name';
17
17
  */
18
18
  export interface PipelineStepCreate {
19
19
  /**
20
- * Name/short description of the script
20
+ * Name/short description of the script. Must be at least 4 characters. Must not be greater than 60 characters.
21
21
  * @type {string}
22
22
  * @memberof PipelineStepCreate
23
23
  */
24
24
  name: string;
25
25
  /**
26
- * A command line or multiline bash script
26
+ * The pipeline step\'s type. Must not be greater than 20 characters.
27
+ * @type {string}
28
+ * @memberof PipelineStepCreate
29
+ */
30
+ type?: string;
31
+ /**
32
+ * A command line or multiline bash script. Must be at least 10 characters. Must not be greater than 300 characters.
27
33
  * @type {string}
28
34
  * @memberof PipelineStepCreate
29
35
  */
@@ -35,7 +41,7 @@ export interface PipelineStepCreate {
35
41
  */
36
42
  runner: PipelineStepRunnerName;
37
43
  /**
38
- * The name of the Unix user on behalf of which the script will be executed
44
+ * The name of the Unix user on behalf of which the script will be executed. Must not be greater than 60 characters.
39
45
  * @type {string}
40
46
  * @memberof PipelineStepCreate
41
47
  */
@@ -17,19 +17,25 @@ import { PipelineStepRunnerName } from './pipeline-step-runner-name';
17
17
  */
18
18
  export interface PipelineStepUpdate {
19
19
  /**
20
- * The ID of the pipeline step
20
+ * The unique ID of the given pipeline step.
21
21
  * @type {number}
22
22
  * @memberof PipelineStepUpdate
23
23
  */
24
24
  id: number;
25
25
  /**
26
- * Name/short description of the script
26
+ * Name/short description of the script. Must be at least 4 characters. Must not be greater than 60 characters.
27
27
  * @type {string}
28
28
  * @memberof PipelineStepUpdate
29
29
  */
30
30
  name: string;
31
31
  /**
32
- * A command line or multiline bash script
32
+ * The pipeline step\'s type. Must not be greater than 20 characters.
33
+ * @type {string}
34
+ * @memberof PipelineStepUpdate
35
+ */
36
+ type?: string;
37
+ /**
38
+ * A command line or multiline bash script. Must be at least 10 characters. Must not be greater than 300 characters.
33
39
  * @type {string}
34
40
  * @memberof PipelineStepUpdate
35
41
  */
@@ -41,13 +47,13 @@ export interface PipelineStepUpdate {
41
47
  */
42
48
  runner: PipelineStepRunnerName;
43
49
  /**
44
- * The name of the Unix user on behalf of which the script will be executed
50
+ * The name of the Unix user on behalf of which the script will be executed. Must not be greater than 60 characters.
45
51
  * @type {string}
46
52
  * @memberof PipelineStepUpdate
47
53
  */
48
54
  run_as_user?: string;
49
55
  /**
50
- * Repositions the pipeline step after the step with the given `trigger_order`
56
+ * Repositions the pipeline step after the step with the given `trigger_order`. Must be at least 0. Must not be greater than 16777214.
51
57
  * @type {number}
52
58
  * @memberof PipelineStepUpdate
53
59
  */
@@ -17,19 +17,13 @@ import { PipelineStepRunnerName } from './pipeline-step-runner-name';
17
17
  */
18
18
  export interface PipelineStep {
19
19
  /**
20
- * The pipeline step\'s ID
20
+ * The unique ID of the given pipeline step
21
21
  * @type {number}
22
22
  * @memberof PipelineStep
23
23
  */
24
24
  id: number;
25
25
  /**
26
- * The script\'s ID of this pipeline step
27
- * @type {number}
28
- * @memberof PipelineStep
29
- */
30
- script_id: number;
31
- /**
32
- * Name of the pipeline step
26
+ * The pipeline step\'s name
33
27
  * @type {string}
34
28
  * @memberof PipelineStep
35
29
  */
@@ -40,6 +34,12 @@ export interface PipelineStep {
40
34
  * @memberof PipelineStep
41
35
  */
42
36
  type: string;
37
+ /**
38
+ * The name of the Unix user on behalf of which the script will be executed
39
+ * @type {string}
40
+ * @memberof PipelineStep
41
+ */
42
+ run_as_user: string;
43
43
  /**
44
44
  * A command line or multiline bash pipeline step
45
45
  * @type {string}
@@ -53,13 +53,19 @@ export interface PipelineStep {
53
53
  */
54
54
  runner: PipelineStepRunnerName;
55
55
  /**
56
- * The name of the Unix user on behalf of which the script will be executed
57
- * @type {string}
56
+ * The script\'s ID of this pipeline step
57
+ * @type {number}
58
58
  * @memberof PipelineStep
59
59
  */
60
- run_as_user: string;
60
+ script_id: number;
61
+ /**
62
+ * The pipeline\'s ID
63
+ * @type {number}
64
+ * @memberof PipelineStep
65
+ */
66
+ pipeline_id: number;
61
67
  /**
62
- * The relative order of the pipeline step execution in case the event has multiple pipeline step attached
68
+ * The relative order of the step execution in case of multiple steps attached to pipeline
63
69
  * @type {number}
64
70
  * @memberof PipelineStep
65
71
  */
@@ -81,11 +87,11 @@ export interface PipelineStep {
81
87
  * @type {string}
82
88
  * @memberof PipelineStep
83
89
  */
84
- created_at?: string;
90
+ created_at: string;
85
91
  /**
86
92
  * The date and time when the record was last updated
87
93
  * @type {string}
88
94
  * @memberof PipelineStep
89
95
  */
90
- updated_at?: string;
96
+ updated_at: string;
91
97
  }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * devopness API
3
+ * Devopness API - Painless essential DevOps to everyone
4
+ *
5
+ * The version of the OpenAPI document: latest
6
+ *
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
+ *
14
+ * @export
15
+ * @interface PipelineUpdate
16
+ */
17
+ export interface PipelineUpdate {
18
+ /**
19
+ * The unique ID of the given pipeline.
20
+ * @type {number}
21
+ * @memberof PipelineUpdate
22
+ */
23
+ id: number;
24
+ /**
25
+ * The pipeline\'s name. Must be at least 3 characters. Must not be greater than 80 characters.
26
+ * @type {string}
27
+ * @memberof PipelineUpdate
28
+ */
29
+ name: string;
30
+ }
@@ -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 });
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { PipelineStep } from './pipeline-step';
13
+ import { UserRelation } from './user-relation';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -17,7 +18,7 @@ import { PipelineStep } from './pipeline-step';
17
18
  */
18
19
  export interface Pipeline {
19
20
  /**
20
- * The unique id of the given record
21
+ * The unique ID of the given pipeline
21
22
  * @type {number}
22
23
  * @memberof Pipeline
23
24
  */
@@ -29,35 +30,41 @@ export interface Pipeline {
29
30
  */
30
31
  name: string;
31
32
  /**
32
- * The pipeline\'s resource type
33
- * @type {string}
33
+ * ID of the environment this pipeline belongs to
34
+ * @type {number}
34
35
  * @memberof Pipeline
35
36
  */
36
- resource_type: string;
37
+ environment_id: number;
37
38
  /**
38
- * The pipeline\'s resource id
39
+ * ID of the project this pipeline belongs to
39
40
  * @type {number}
40
41
  * @memberof Pipeline
41
42
  */
42
- resource_id: number;
43
+ project_id: number;
43
44
  /**
44
- * The pipeline\'s project id
45
- * @type {number}
45
+ * The pipeline\'s resource type
46
+ * @type {string}
46
47
  * @memberof Pipeline
47
48
  */
48
- project_id: number;
49
+ resource_type: string;
49
50
  /**
50
- * id of the user responsible for creating the pipeline
51
+ * The pipeline\'s resource ID
51
52
  * @type {number}
52
53
  * @memberof Pipeline
53
54
  */
54
- created_by: number;
55
+ resource_id: number;
55
56
  /**
56
57
  *
57
58
  * @type {Array<PipelineStep>}
58
59
  * @memberof Pipeline
59
60
  */
60
- steps?: Array<PipelineStep>;
61
+ steps: Array<PipelineStep>;
62
+ /**
63
+ *
64
+ * @type {UserRelation}
65
+ * @memberof Pipeline
66
+ */
67
+ created_by_user: UserRelation;
61
68
  /**
62
69
  * The date and time when the record was created
63
70
  * @type {string}
@@ -18,24 +18,24 @@ import { SslCertificateValidationLevel } from './ssl-certificate-validation-leve
18
18
  * @interface SslCertificateCreate
19
19
  */
20
20
  export interface SslCertificateCreate {
21
- /**
22
- * The list of domain names to which the SSL certificate refers to
23
- * @type {Array<string>}
24
- * @memberof SslCertificateCreate
25
- */
26
- domains: Array<string>;
27
21
  /**
28
22
  *
29
23
  * @type {SslCertificateIssuer}
30
24
  * @memberof SslCertificateCreate
31
25
  */
32
26
  issuer: SslCertificateIssuer;
27
+ /**
28
+ * The list of domain names to which the SSL certificate refers to
29
+ * @type {Array<string>}
30
+ * @memberof SslCertificateCreate
31
+ */
32
+ domains: Array<string>;
33
33
  /**
34
34
  *
35
35
  * @type {SslCertificateType}
36
36
  * @memberof SslCertificateCreate
37
37
  */
38
- type: SslCertificateType;
38
+ type?: SslCertificateType;
39
39
  /**
40
40
  *
41
41
  * @type {SslCertificateValidationLevel}
@@ -43,13 +43,13 @@ export interface SslCertificateCreate {
43
43
  */
44
44
  validation_level?: SslCertificateValidationLevel;
45
45
  /**
46
- * The private key provided by the Certification Authority, when the certificate has not been automatically issued through `devopness`
46
+ * The private key provided by the Certification Authority, when the certificate has not been automatically issued through `devopness`. This field is required when <code>issuer</code> is <code>custom</code>. Must be at least 100 characters. Must not be greater than 4096 characters.
47
47
  * @type {string}
48
48
  * @memberof SslCertificateCreate
49
49
  */
50
50
  custom_private_key?: string;
51
51
  /**
52
- * The contents of the certificate provided by the Certification Authority, when the certificate has not been automatically issued through `devopness`
52
+ * The contents of the certificate provided by the Certification Authority, when the certificate has not been automatically issued through `devopness`. This field is required when <code>issuer</code> is <code>custom</code>. Must be at least 100 characters. Must not be greater than 4096 characters.
53
53
  * @type {string}
54
54
  * @memberof SslCertificateCreate
55
55
  */