@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.
- package/dist/api/generated/apis/applications-sslcertificates-api.d.ts +6 -6
- package/dist/api/generated/apis/applications-sslcertificates-api.js +8 -8
- package/dist/api/generated/apis/applications-variables-api.d.ts +7 -6
- package/dist/api/generated/apis/applications-variables-api.js +7 -7
- package/dist/api/generated/apis/daemons-api.d.ts +10 -10
- package/dist/api/generated/apis/daemons-api.js +10 -10
- package/dist/api/generated/apis/environments-daemons-api.d.ts +11 -2
- package/dist/api/generated/apis/environments-daemons-api.js +22 -2
- package/dist/api/generated/apis/environments-network-rules-api.d.ts +2 -2
- package/dist/api/generated/apis/environments-network-rules-api.js +2 -2
- package/dist/api/generated/apis/network-rules-api.d.ts +7 -7
- package/dist/api/generated/apis/network-rules-api.js +7 -7
- package/dist/api/generated/apis/pipelines-api.d.ts +9 -8
- package/dist/api/generated/apis/pipelines-api.js +11 -11
- package/dist/api/generated/apis/pipelines-steps-api.d.ts +17 -17
- package/dist/api/generated/apis/pipelines-steps-api.js +35 -35
- package/dist/api/generated/apis/projects-daemons-api.d.ts +7 -7
- package/dist/api/generated/apis/projects-daemons-api.js +10 -10
- package/dist/api/generated/apis/projects-network-rules-api.d.ts +6 -6
- package/dist/api/generated/apis/projects-network-rules-api.js +8 -8
- package/dist/api/generated/apis/sslcertificates-api.d.ts +3 -3
- package/dist/api/generated/apis/sslcertificates-api.js +3 -3
- package/dist/api/generated/apis/variables-api.d.ts +4 -4
- package/dist/api/generated/apis/variables-api.js +4 -4
- package/dist/api/generated/models/cron-job-update.d.ts +3 -4
- package/dist/api/generated/models/daemon-create.d.ts +13 -20
- package/dist/api/generated/models/daemon-project-create.d.ts +61 -0
- package/dist/api/generated/models/daemon-project-create.js +14 -0
- package/dist/api/generated/models/daemon-relation.d.ts +13 -13
- package/dist/api/generated/models/daemon-restart.d.ts +1 -1
- package/dist/api/generated/models/daemon-update.d.ts +16 -23
- package/dist/api/generated/models/daemon.d.ts +23 -17
- package/dist/api/generated/models/index.d.ts +3 -0
- package/dist/api/generated/models/index.js +3 -0
- package/dist/api/generated/models/network-rule-create.d.ts +8 -8
- package/dist/api/generated/models/network-rule-relation.d.ts +21 -15
- package/dist/api/generated/models/network-rule-update.d.ts +7 -7
- package/dist/api/generated/models/network-rule.d.ts +23 -17
- package/dist/api/generated/models/pipeline-step-create.d.ts +9 -3
- package/dist/api/generated/models/pipeline-step-update.d.ts +11 -5
- package/dist/api/generated/models/pipeline-step.d.ts +20 -14
- package/dist/api/generated/models/pipeline-update.d.ts +30 -0
- package/dist/api/generated/models/pipeline-update.js +14 -0
- package/dist/api/generated/models/pipeline.d.ts +19 -12
- package/dist/api/generated/models/ssl-certificate-create.d.ts +9 -9
- package/dist/api/generated/models/ssl-certificate-relation.d.ts +24 -30
- package/dist/api/generated/models/ssl-certificate.d.ts +41 -40
- package/dist/api/generated/models/variable-create.d.ts +16 -4
- package/dist/api/generated/models/variable-relation.d.ts +92 -0
- package/dist/api/generated/models/variable-relation.js +14 -0
- package/dist/api/generated/models/variable-update.d.ts +4 -10
- package/dist/api/generated/models/variable.d.ts +30 -12
- package/package.json +1 -1
|
@@ -20,17 +20,11 @@ import { SslCertificateValidationLevel } from './ssl-certificate-validation-leve
|
|
|
20
20
|
*/
|
|
21
21
|
export interface SslCertificateRelation {
|
|
22
22
|
/**
|
|
23
|
-
* The unique
|
|
23
|
+
* The unique ID of the given SSL certificate
|
|
24
24
|
* @type {number}
|
|
25
25
|
* @memberof SslCertificateRelation
|
|
26
26
|
*/
|
|
27
27
|
id: number;
|
|
28
|
-
/**
|
|
29
|
-
* The list of domain names to which the SSL certificate refers to
|
|
30
|
-
* @type {Array<string>}
|
|
31
|
-
* @memberof SslCertificateRelation
|
|
32
|
-
*/
|
|
33
|
-
domains: Array<string>;
|
|
34
28
|
/**
|
|
35
29
|
* The name given to SSL certificate
|
|
36
30
|
* @type {string}
|
|
@@ -39,16 +33,16 @@ export interface SslCertificateRelation {
|
|
|
39
33
|
name: string;
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
|
-
* @type {
|
|
36
|
+
* @type {SslCertificateType}
|
|
43
37
|
* @memberof SslCertificateRelation
|
|
44
38
|
*/
|
|
45
|
-
|
|
39
|
+
type: SslCertificateType;
|
|
46
40
|
/**
|
|
47
41
|
*
|
|
48
|
-
* @type {
|
|
42
|
+
* @type {SslCertificateIssuer}
|
|
49
43
|
* @memberof SslCertificateRelation
|
|
50
44
|
*/
|
|
51
|
-
|
|
45
|
+
issuer: SslCertificateIssuer;
|
|
52
46
|
/**
|
|
53
47
|
*
|
|
54
48
|
* @type {SslCertificateValidationLevel}
|
|
@@ -56,51 +50,51 @@ export interface SslCertificateRelation {
|
|
|
56
50
|
*/
|
|
57
51
|
validation_level: SslCertificateValidationLevel;
|
|
58
52
|
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {
|
|
53
|
+
* Tells if the certificate is active for all linked servers and applications
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof SslCertificateRelation
|
|
56
|
+
*/
|
|
57
|
+
active: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* The list of domain names to which the SSL certificate refers to
|
|
60
|
+
* @type {Array<string>}
|
|
61
61
|
* @memberof SslCertificateRelation
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
domains: Array<string>;
|
|
64
64
|
/**
|
|
65
|
-
* The
|
|
66
|
-
* @type {
|
|
65
|
+
* The application ID that contains this certificate
|
|
66
|
+
* @type {number}
|
|
67
67
|
* @memberof SslCertificateRelation
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
application_id: number;
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {
|
|
71
|
+
*
|
|
72
|
+
* @type {ActionRelation}
|
|
73
73
|
* @memberof SslCertificateRelation
|
|
74
74
|
*/
|
|
75
|
-
|
|
75
|
+
last_action: ActionRelation | null;
|
|
76
76
|
/**
|
|
77
77
|
* The date and time when this certificate will no longer be valid, down to minute precision
|
|
78
78
|
* @type {string}
|
|
79
79
|
* @memberof SslCertificateRelation
|
|
80
80
|
*/
|
|
81
|
-
expires_at
|
|
81
|
+
expires_at: string | null;
|
|
82
82
|
/**
|
|
83
83
|
* The date and time when this certificate was renewed for the last time
|
|
84
84
|
* @type {string}
|
|
85
85
|
* @memberof SslCertificateRelation
|
|
86
86
|
*/
|
|
87
|
-
last_renewed_at
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {ActionRelation}
|
|
91
|
-
* @memberof SslCertificateRelation
|
|
92
|
-
*/
|
|
93
|
-
last_action?: ActionRelation | null;
|
|
87
|
+
last_renewed_at: string | null;
|
|
94
88
|
/**
|
|
95
89
|
* The date and time when the record was created
|
|
96
90
|
* @type {string}
|
|
97
91
|
* @memberof SslCertificateRelation
|
|
98
92
|
*/
|
|
99
|
-
created_at
|
|
93
|
+
created_at: string;
|
|
100
94
|
/**
|
|
101
95
|
* The date and time when the record was last updated
|
|
102
96
|
* @type {string}
|
|
103
97
|
* @memberof SslCertificateRelation
|
|
104
98
|
*/
|
|
105
|
-
updated_at
|
|
99
|
+
updated_at: string;
|
|
106
100
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ActionRelation } from './action-relation';
|
|
13
|
+
import { ApplicationRelation } from './application-relation';
|
|
13
14
|
import { ServerRelation } from './server-relation';
|
|
14
15
|
import { SslCertificateIssuer } from './ssl-certificate-issuer';
|
|
15
16
|
import { SslCertificateType } from './ssl-certificate-type';
|
|
@@ -22,17 +23,11 @@ import { UserRelation } from './user-relation';
|
|
|
22
23
|
*/
|
|
23
24
|
export interface SslCertificate {
|
|
24
25
|
/**
|
|
25
|
-
* The unique
|
|
26
|
+
* The unique ID of the given SSL certificate
|
|
26
27
|
* @type {number}
|
|
27
28
|
* @memberof SslCertificate
|
|
28
29
|
*/
|
|
29
30
|
id: number;
|
|
30
|
-
/**
|
|
31
|
-
* The list of domain names to which the SSL certificate refers to
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof SslCertificate
|
|
34
|
-
*/
|
|
35
|
-
domains: Array<string>;
|
|
36
31
|
/**
|
|
37
32
|
* The name given to SSL certificate
|
|
38
33
|
* @type {string}
|
|
@@ -41,16 +36,16 @@ export interface SslCertificate {
|
|
|
41
36
|
name: string;
|
|
42
37
|
/**
|
|
43
38
|
*
|
|
44
|
-
* @type {
|
|
39
|
+
* @type {SslCertificateType}
|
|
45
40
|
* @memberof SslCertificate
|
|
46
41
|
*/
|
|
47
|
-
|
|
42
|
+
type: SslCertificateType;
|
|
48
43
|
/**
|
|
49
44
|
*
|
|
50
|
-
* @type {
|
|
45
|
+
* @type {SslCertificateIssuer}
|
|
51
46
|
* @memberof SslCertificate
|
|
52
47
|
*/
|
|
53
|
-
|
|
48
|
+
issuer: SslCertificateIssuer;
|
|
54
49
|
/**
|
|
55
50
|
*
|
|
56
51
|
* @type {SslCertificateValidationLevel}
|
|
@@ -58,63 +53,69 @@ export interface SslCertificate {
|
|
|
58
53
|
*/
|
|
59
54
|
validation_level: SslCertificateValidationLevel;
|
|
60
55
|
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {
|
|
56
|
+
* Tells if the certificate is active for all linked servers and applications
|
|
57
|
+
* @type {boolean}
|
|
63
58
|
* @memberof SslCertificate
|
|
64
59
|
*/
|
|
65
|
-
|
|
60
|
+
active: boolean;
|
|
66
61
|
/**
|
|
67
|
-
* The
|
|
68
|
-
* @type {string}
|
|
62
|
+
* The list of domain names to which the SSL certificate refers to
|
|
63
|
+
* @type {Array<string>}
|
|
69
64
|
* @memberof SslCertificate
|
|
70
65
|
*/
|
|
71
|
-
|
|
66
|
+
domains: Array<string>;
|
|
72
67
|
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {
|
|
68
|
+
* The application ID that contains this certificate
|
|
69
|
+
* @type {number}
|
|
75
70
|
* @memberof SslCertificate
|
|
76
71
|
*/
|
|
77
|
-
|
|
72
|
+
application_id: number;
|
|
78
73
|
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {
|
|
74
|
+
*
|
|
75
|
+
* @type {UserRelation}
|
|
76
|
+
* @memberof SslCertificate
|
|
77
|
+
*/
|
|
78
|
+
created_by_user: UserRelation;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {ActionRelation}
|
|
81
82
|
* @memberof SslCertificate
|
|
82
83
|
*/
|
|
83
|
-
|
|
84
|
+
last_action: ActionRelation | null;
|
|
84
85
|
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {
|
|
86
|
+
*
|
|
87
|
+
* @type {ApplicationRelation}
|
|
87
88
|
* @memberof SslCertificate
|
|
88
89
|
*/
|
|
89
|
-
|
|
90
|
+
application: ApplicationRelation | null;
|
|
90
91
|
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {
|
|
92
|
+
*
|
|
93
|
+
* @type {Array<ServerRelation>}
|
|
93
94
|
* @memberof SslCertificate
|
|
94
95
|
*/
|
|
95
|
-
|
|
96
|
+
servers: Array<ServerRelation>;
|
|
96
97
|
/**
|
|
97
|
-
* The date and time when
|
|
98
|
+
* The date and time when this certificate will no longer be valid, down to minute precision
|
|
98
99
|
* @type {string}
|
|
99
100
|
* @memberof SslCertificate
|
|
100
101
|
*/
|
|
101
|
-
|
|
102
|
+
expires_at: string | null;
|
|
102
103
|
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {
|
|
104
|
+
* The date and time when this certificate was renewed for the last time
|
|
105
|
+
* @type {string}
|
|
105
106
|
* @memberof SslCertificate
|
|
106
107
|
*/
|
|
107
|
-
|
|
108
|
+
last_renewed_at: string | null;
|
|
108
109
|
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {
|
|
110
|
+
* The date and time when the record was created
|
|
111
|
+
* @type {string}
|
|
111
112
|
* @memberof SslCertificate
|
|
112
113
|
*/
|
|
113
|
-
|
|
114
|
+
created_at: string;
|
|
114
115
|
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {
|
|
116
|
+
* The date and time when the record was last updated
|
|
117
|
+
* @type {string}
|
|
117
118
|
* @memberof SslCertificate
|
|
118
119
|
*/
|
|
119
|
-
|
|
120
|
+
updated_at: string;
|
|
120
121
|
}
|
|
@@ -18,19 +18,19 @@ import { VariableType } from './variable-type';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface VariableCreate {
|
|
20
20
|
/**
|
|
21
|
-
* The unique key used to identify the variable on the target.
|
|
21
|
+
* The unique key used to identify the variable on the target. When variable is of type `file`, this is the relative path to the file within the application directory. Must not be greater than 100 characters.
|
|
22
22
|
* @type {string}
|
|
23
23
|
* @memberof VariableCreate
|
|
24
24
|
*/
|
|
25
25
|
key: string;
|
|
26
26
|
/**
|
|
27
|
-
* The value to be assigned to this variable when deployed to its target.
|
|
27
|
+
* The value to be assigned to this variable when deployed to its target. When variable is of type `file`, this is the file content. Must not be greater than 21504 characters.
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof VariableCreate
|
|
30
30
|
*/
|
|
31
31
|
value: string;
|
|
32
32
|
/**
|
|
33
|
-
* A text describing the variable, provided by the end user
|
|
33
|
+
* A text describing the variable, provided by the end user.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof VariableCreate
|
|
36
36
|
*/
|
|
@@ -48,9 +48,21 @@ export interface VariableCreate {
|
|
|
48
48
|
*/
|
|
49
49
|
type: VariableType;
|
|
50
50
|
/**
|
|
51
|
-
* Indicates if the variable value should be visible or not in the deployment logs
|
|
51
|
+
* Indicates if the variable value should be visible or not in the deployment logs.
|
|
52
52
|
* @type {boolean}
|
|
53
53
|
* @memberof VariableCreate
|
|
54
54
|
*/
|
|
55
55
|
hidden: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* The ID of the resource this variable is linked to.
|
|
58
|
+
* @type {number}
|
|
59
|
+
* @memberof VariableCreate
|
|
60
|
+
*/
|
|
61
|
+
resource_id: number;
|
|
62
|
+
/**
|
|
63
|
+
* The type of the resource this variable is linked to. Must be one of <code>application</code>.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof VariableCreate
|
|
66
|
+
*/
|
|
67
|
+
resource_type: string;
|
|
56
68
|
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
import { VariableTarget } from './variable-target';
|
|
13
|
+
import { VariableType } from './variable-type';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface VariableRelation
|
|
18
|
+
*/
|
|
19
|
+
export interface VariableRelation {
|
|
20
|
+
/**
|
|
21
|
+
* The ID of the given variable
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof VariableRelation
|
|
24
|
+
*/
|
|
25
|
+
id: number;
|
|
26
|
+
/**
|
|
27
|
+
* The unique key used to identify the variable on the target
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof VariableRelation
|
|
30
|
+
*/
|
|
31
|
+
key: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {VariableType}
|
|
35
|
+
* @memberof VariableRelation
|
|
36
|
+
*/
|
|
37
|
+
type: VariableType;
|
|
38
|
+
/**
|
|
39
|
+
* A text describing the variable, provided by the end user
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof VariableRelation
|
|
42
|
+
*/
|
|
43
|
+
description: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* The value to be assigned to this variable when deployed to its target
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof VariableRelation
|
|
48
|
+
*/
|
|
49
|
+
value: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {VariableTarget}
|
|
53
|
+
* @memberof VariableRelation
|
|
54
|
+
*/
|
|
55
|
+
target: VariableTarget;
|
|
56
|
+
/**
|
|
57
|
+
* The target name of this variable
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof VariableRelation
|
|
60
|
+
*/
|
|
61
|
+
target_name: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* The ID of the resource this variable is linked to
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof VariableRelation
|
|
66
|
+
*/
|
|
67
|
+
resource_id: number | null;
|
|
68
|
+
/**
|
|
69
|
+
* The name of the resource this variable is linked to
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof VariableRelation
|
|
72
|
+
*/
|
|
73
|
+
resource_type: string;
|
|
74
|
+
/**
|
|
75
|
+
* Indicates if the variable value should be visible or not in the deployment logs
|
|
76
|
+
* @type {boolean}
|
|
77
|
+
* @memberof VariableRelation
|
|
78
|
+
*/
|
|
79
|
+
hidden: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* The date and time when the record was created
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof VariableRelation
|
|
84
|
+
*/
|
|
85
|
+
created_at: string;
|
|
86
|
+
/**
|
|
87
|
+
* The date and time when the record was last updated
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof VariableRelation
|
|
90
|
+
*/
|
|
91
|
+
updated_at: string;
|
|
92
|
+
}
|
|
@@ -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 });
|
|
@@ -18,25 +18,19 @@ import { VariableType } from './variable-type';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface VariableUpdate {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {number}
|
|
23
|
-
* @memberof VariableUpdate
|
|
24
|
-
*/
|
|
25
|
-
id: number;
|
|
26
|
-
/**
|
|
27
|
-
* The unique key used to identify the variable on the target
|
|
21
|
+
* The unique key used to identify the variable on the target. When variable is of type `file`, this is the relative path to the file within the application directory. Must not be greater than 100 characters.
|
|
28
22
|
* @type {string}
|
|
29
23
|
* @memberof VariableUpdate
|
|
30
24
|
*/
|
|
31
25
|
key: string;
|
|
32
26
|
/**
|
|
33
|
-
* The value to be assigned to this variable when deployed to its target
|
|
27
|
+
* The value to be assigned to this variable when deployed to its target. When variable is of type `file`, this is the file content. Must not be greater than 21504 characters.
|
|
34
28
|
* @type {string}
|
|
35
29
|
* @memberof VariableUpdate
|
|
36
30
|
*/
|
|
37
31
|
value: string;
|
|
38
32
|
/**
|
|
39
|
-
* A text describing the variable, provided by the end user
|
|
33
|
+
* A text describing the variable, provided by the end user.
|
|
40
34
|
* @type {string}
|
|
41
35
|
* @memberof VariableUpdate
|
|
42
36
|
*/
|
|
@@ -54,7 +48,7 @@ export interface VariableUpdate {
|
|
|
54
48
|
*/
|
|
55
49
|
type: VariableType;
|
|
56
50
|
/**
|
|
57
|
-
* Indicates if the variable value should be visible or not in the deployment logs
|
|
51
|
+
* Indicates if the variable value should be visible or not in the deployment logs.
|
|
58
52
|
* @type {boolean}
|
|
59
53
|
* @memberof VariableUpdate
|
|
60
54
|
*/
|
|
@@ -18,11 +18,11 @@ import { VariableType } from './variable-type';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface Variable {
|
|
20
20
|
/**
|
|
21
|
-
* The
|
|
21
|
+
* The ID of the given variable
|
|
22
22
|
* @type {number}
|
|
23
23
|
* @memberof Variable
|
|
24
24
|
*/
|
|
25
|
-
id
|
|
25
|
+
id: number;
|
|
26
26
|
/**
|
|
27
27
|
* The unique key used to identify the variable on the target
|
|
28
28
|
* @type {string}
|
|
@@ -30,17 +30,23 @@ export interface Variable {
|
|
|
30
30
|
*/
|
|
31
31
|
key: string;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {
|
|
33
|
+
*
|
|
34
|
+
* @type {VariableType}
|
|
35
35
|
* @memberof Variable
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
type: VariableType;
|
|
38
38
|
/**
|
|
39
39
|
* A text describing the variable, provided by the end user
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof Variable
|
|
42
42
|
*/
|
|
43
|
-
description
|
|
43
|
+
description: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* The value to be assigned to this variable when deployed to its target
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof Variable
|
|
48
|
+
*/
|
|
49
|
+
value: string;
|
|
44
50
|
/**
|
|
45
51
|
*
|
|
46
52
|
* @type {VariableTarget}
|
|
@@ -48,27 +54,39 @@ export interface Variable {
|
|
|
48
54
|
*/
|
|
49
55
|
target: VariableTarget;
|
|
50
56
|
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {
|
|
57
|
+
* The target name of this variable
|
|
58
|
+
* @type {string}
|
|
53
59
|
* @memberof Variable
|
|
54
60
|
*/
|
|
55
|
-
|
|
61
|
+
target_name: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* The ID of the resource this variable is linked to
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof Variable
|
|
66
|
+
*/
|
|
67
|
+
resource_id: number | null;
|
|
68
|
+
/**
|
|
69
|
+
* The name of the resource this variable is linked to
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof Variable
|
|
72
|
+
*/
|
|
73
|
+
resource_type: string;
|
|
56
74
|
/**
|
|
57
75
|
* Indicates if the variable value should be visible or not in the deployment logs
|
|
58
76
|
* @type {boolean}
|
|
59
77
|
* @memberof Variable
|
|
60
78
|
*/
|
|
61
|
-
hidden
|
|
79
|
+
hidden: boolean;
|
|
62
80
|
/**
|
|
63
81
|
* The date and time when the record was created
|
|
64
82
|
* @type {string}
|
|
65
83
|
* @memberof Variable
|
|
66
84
|
*/
|
|
67
|
-
created_at
|
|
85
|
+
created_at: string;
|
|
68
86
|
/**
|
|
69
87
|
* The date and time when the record was last updated
|
|
70
88
|
* @type {string}
|
|
71
89
|
* @memberof Variable
|
|
72
90
|
*/
|
|
73
|
-
updated_at
|
|
91
|
+
updated_at: string;
|
|
74
92
|
}
|