@cirrobio/api-client 0.1.24 → 0.1.26
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/README.md +1 -1
- package/dist/models/Agent.d.ts +5 -3
- package/dist/models/ComputeEnvironmentConfiguration.d.ts +6 -4
- package/dist/models/Project.d.ts +12 -0
- package/dist/models/Project.js +6 -0
- package/dist/models/ProjectDetail.d.ts +6 -0
- package/dist/models/ProjectDetail.js +3 -0
- package/package.json +1 -1
- package/src/models/Agent.ts +3 -3
- package/src/models/ComputeEnvironmentConfiguration.ts +10 -10
- package/src/models/Project.ts +18 -0
- package/src/models/ProjectDetail.ts +9 -0
- package/src/models/RunAnalysisRequest.ts +3 -3
package/README.md
CHANGED
package/dist/models/Agent.d.ts
CHANGED
|
@@ -29,11 +29,13 @@ export interface Agent {
|
|
|
29
29
|
*/
|
|
30
30
|
name?: string;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {
|
|
32
|
+
* Tags associated with the agent
|
|
33
|
+
* @type {{ [key: string]: string; }}
|
|
34
34
|
* @memberof Agent
|
|
35
35
|
*/
|
|
36
|
-
tags?:
|
|
36
|
+
tags?: {
|
|
37
|
+
[key: string]: string;
|
|
38
|
+
};
|
|
37
39
|
/**
|
|
38
40
|
*
|
|
39
41
|
* @type {AgentStatus}
|
|
@@ -30,11 +30,13 @@ export interface ComputeEnvironmentConfiguration {
|
|
|
30
30
|
*/
|
|
31
31
|
name?: string;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {
|
|
33
|
+
* Configuration properties passed to the environment
|
|
34
|
+
* @type {{ [key: string]: string; }}
|
|
35
35
|
* @memberof ComputeEnvironmentConfiguration
|
|
36
36
|
*/
|
|
37
|
-
properties?:
|
|
37
|
+
properties?: {
|
|
38
|
+
[key: string]: string;
|
|
39
|
+
};
|
|
38
40
|
/**
|
|
39
41
|
*
|
|
40
42
|
* @type {EnvironmentType}
|
|
@@ -42,7 +44,7 @@ export interface ComputeEnvironmentConfiguration {
|
|
|
42
44
|
*/
|
|
43
45
|
environmentType: EnvironmentType;
|
|
44
46
|
/**
|
|
45
|
-
*
|
|
47
|
+
*
|
|
46
48
|
* @type {Agent}
|
|
47
49
|
* @memberof ComputeEnvironmentConfiguration
|
|
48
50
|
*/
|
package/dist/models/Project.d.ts
CHANGED
|
@@ -47,6 +47,18 @@ export interface Project {
|
|
|
47
47
|
* @memberof Project
|
|
48
48
|
*/
|
|
49
49
|
tags: Array<Tag>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof Project
|
|
54
|
+
*/
|
|
55
|
+
organization: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<string>}
|
|
59
|
+
* @memberof Project
|
|
60
|
+
*/
|
|
61
|
+
classificationIds: Array<string>;
|
|
50
62
|
/**
|
|
51
63
|
*
|
|
52
64
|
* @type {string}
|
package/dist/models/Project.js
CHANGED
|
@@ -26,6 +26,8 @@ function instanceOfProject(value) {
|
|
|
26
26
|
isInstance = isInstance && "description" in value;
|
|
27
27
|
isInstance = isInstance && "status" in value;
|
|
28
28
|
isInstance = isInstance && "tags" in value;
|
|
29
|
+
isInstance = isInstance && "organization" in value;
|
|
30
|
+
isInstance = isInstance && "classificationIds" in value;
|
|
29
31
|
isInstance = isInstance && "billingAccountId" in value;
|
|
30
32
|
return isInstance;
|
|
31
33
|
}
|
|
@@ -44,6 +46,8 @@ function ProjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
46
|
'description': json['description'],
|
|
45
47
|
'status': (0, Status_1.StatusFromJSON)(json['status']),
|
|
46
48
|
'tags': (json['tags'].map(Tag_1.TagFromJSON)),
|
|
49
|
+
'organization': json['organization'],
|
|
50
|
+
'classificationIds': json['classificationIds'],
|
|
47
51
|
'billingAccountId': json['billingAccountId'],
|
|
48
52
|
};
|
|
49
53
|
}
|
|
@@ -61,6 +65,8 @@ function ProjectToJSON(value) {
|
|
|
61
65
|
'description': value.description,
|
|
62
66
|
'status': (0, Status_1.StatusToJSON)(value.status),
|
|
63
67
|
'tags': (value.tags.map(Tag_1.TagToJSON)),
|
|
68
|
+
'organization': value.organization,
|
|
69
|
+
'classificationIds': value.classificationIds,
|
|
64
70
|
'billingAccountId': value.billingAccountId,
|
|
65
71
|
};
|
|
66
72
|
}
|
|
@@ -30,6 +30,7 @@ function instanceOfProjectDetail(value) {
|
|
|
30
30
|
isInstance = isInstance && "description" in value;
|
|
31
31
|
isInstance = isInstance && "billingAccountId" in value;
|
|
32
32
|
isInstance = isInstance && "contacts" in value;
|
|
33
|
+
isInstance = isInstance && "organization" in value;
|
|
33
34
|
isInstance = isInstance && "status" in value;
|
|
34
35
|
isInstance = isInstance && "settings" in value;
|
|
35
36
|
isInstance = isInstance && "statusMessage" in value;
|
|
@@ -55,6 +56,7 @@ function ProjectDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
56
|
'description': json['description'],
|
|
56
57
|
'billingAccountId': json['billingAccountId'],
|
|
57
58
|
'contacts': (json['contacts'].map(Contact_1.ContactFromJSON)),
|
|
59
|
+
'organization': json['organization'],
|
|
58
60
|
'status': (0, Status_1.StatusFromJSON)(json['status']),
|
|
59
61
|
'settings': (0, ProjectSettings_1.ProjectSettingsFromJSON)(json['settings']),
|
|
60
62
|
'account': !(0, runtime_1.exists)(json, 'account') ? undefined : (0, CloudAccount_1.CloudAccountFromJSON)(json['account']),
|
|
@@ -80,6 +82,7 @@ function ProjectDetailToJSON(value) {
|
|
|
80
82
|
'description': value.description,
|
|
81
83
|
'billingAccountId': value.billingAccountId,
|
|
82
84
|
'contacts': (value.contacts.map(Contact_1.ContactToJSON)),
|
|
85
|
+
'organization': value.organization,
|
|
83
86
|
'status': (0, Status_1.StatusToJSON)(value.status),
|
|
84
87
|
'settings': (0, ProjectSettings_1.ProjectSettingsToJSON)(value.settings),
|
|
85
88
|
'account': (0, CloudAccount_1.CloudAccountToJSON)(value.account),
|
package/package.json
CHANGED
package/src/models/Agent.ts
CHANGED
|
@@ -39,11 +39,11 @@ export interface Agent {
|
|
|
39
39
|
*/
|
|
40
40
|
name?: string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {
|
|
42
|
+
* Tags associated with the agent
|
|
43
|
+
* @type {{ [key: string]: string; }}
|
|
44
44
|
* @memberof Agent
|
|
45
45
|
*/
|
|
46
|
-
tags?:
|
|
46
|
+
tags?: { [key: string]: string; };
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @type {AgentStatus}
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from './EnvironmentType';
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
*
|
|
31
31
|
* @export
|
|
32
32
|
* @interface ComputeEnvironmentConfiguration
|
|
33
33
|
*/
|
|
@@ -45,19 +45,19 @@ export interface ComputeEnvironmentConfiguration {
|
|
|
45
45
|
*/
|
|
46
46
|
name?: string;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {
|
|
48
|
+
* Configuration properties passed to the environment
|
|
49
|
+
* @type {{ [key: string]: string; }}
|
|
50
50
|
* @memberof ComputeEnvironmentConfiguration
|
|
51
51
|
*/
|
|
52
|
-
properties?:
|
|
52
|
+
properties?: { [key: string]: string; };
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
*
|
|
55
55
|
* @type {EnvironmentType}
|
|
56
56
|
* @memberof ComputeEnvironmentConfiguration
|
|
57
57
|
*/
|
|
58
58
|
environmentType: EnvironmentType;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
*
|
|
61
61
|
* @type {Agent}
|
|
62
62
|
* @memberof ComputeEnvironmentConfiguration
|
|
63
63
|
*/
|
|
@@ -69,13 +69,13 @@ export interface ComputeEnvironmentConfiguration {
|
|
|
69
69
|
*/
|
|
70
70
|
createdBy?: string;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
*
|
|
73
73
|
* @type {Date}
|
|
74
74
|
* @memberof ComputeEnvironmentConfiguration
|
|
75
75
|
*/
|
|
76
76
|
createdAt: Date;
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
*
|
|
79
79
|
* @type {Date}
|
|
80
80
|
* @memberof ComputeEnvironmentConfiguration
|
|
81
81
|
*/
|
|
@@ -103,7 +103,7 @@ export function ComputeEnvironmentConfigurationFromJSONTyped(json: any, ignoreDi
|
|
|
103
103
|
return json;
|
|
104
104
|
}
|
|
105
105
|
return {
|
|
106
|
-
|
|
106
|
+
|
|
107
107
|
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
108
108
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
109
109
|
'properties': !exists(json, 'properties') ? undefined : json['properties'],
|
|
@@ -123,7 +123,7 @@ export function ComputeEnvironmentConfigurationToJSON(value?: ComputeEnvironment
|
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
125
125
|
return {
|
|
126
|
-
|
|
126
|
+
|
|
127
127
|
'id': value.id,
|
|
128
128
|
'name': value.name,
|
|
129
129
|
'properties': value.properties,
|
package/src/models/Project.ts
CHANGED
|
@@ -62,6 +62,18 @@ export interface Project {
|
|
|
62
62
|
* @memberof Project
|
|
63
63
|
*/
|
|
64
64
|
tags: Array<Tag>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof Project
|
|
69
|
+
*/
|
|
70
|
+
organization: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<string>}
|
|
74
|
+
* @memberof Project
|
|
75
|
+
*/
|
|
76
|
+
classificationIds: Array<string>;
|
|
65
77
|
/**
|
|
66
78
|
*
|
|
67
79
|
* @type {string}
|
|
@@ -80,6 +92,8 @@ export function instanceOfProject(value: object): boolean {
|
|
|
80
92
|
isInstance = isInstance && "description" in value;
|
|
81
93
|
isInstance = isInstance && "status" in value;
|
|
82
94
|
isInstance = isInstance && "tags" in value;
|
|
95
|
+
isInstance = isInstance && "organization" in value;
|
|
96
|
+
isInstance = isInstance && "classificationIds" in value;
|
|
83
97
|
isInstance = isInstance && "billingAccountId" in value;
|
|
84
98
|
|
|
85
99
|
return isInstance;
|
|
@@ -100,6 +114,8 @@ export function ProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
|
|
|
100
114
|
'description': json['description'],
|
|
101
115
|
'status': StatusFromJSON(json['status']),
|
|
102
116
|
'tags': ((json['tags'] as Array<any>).map(TagFromJSON)),
|
|
117
|
+
'organization': json['organization'],
|
|
118
|
+
'classificationIds': json['classificationIds'],
|
|
103
119
|
'billingAccountId': json['billingAccountId'],
|
|
104
120
|
};
|
|
105
121
|
}
|
|
@@ -118,6 +134,8 @@ export function ProjectToJSON(value?: Project | null): any {
|
|
|
118
134
|
'description': value.description,
|
|
119
135
|
'status': StatusToJSON(value.status),
|
|
120
136
|
'tags': ((value.tags as Array<any>).map(TagToJSON)),
|
|
137
|
+
'organization': value.organization,
|
|
138
|
+
'classificationIds': value.classificationIds,
|
|
121
139
|
'billingAccountId': value.billingAccountId,
|
|
122
140
|
};
|
|
123
141
|
}
|
|
@@ -80,6 +80,12 @@ export interface ProjectDetail {
|
|
|
80
80
|
* @memberof ProjectDetail
|
|
81
81
|
*/
|
|
82
82
|
contacts: Array<Contact>;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof ProjectDetail
|
|
87
|
+
*/
|
|
88
|
+
organization: string;
|
|
83
89
|
/**
|
|
84
90
|
*
|
|
85
91
|
* @type {Status}
|
|
@@ -146,6 +152,7 @@ export function instanceOfProjectDetail(value: object): boolean {
|
|
|
146
152
|
isInstance = isInstance && "description" in value;
|
|
147
153
|
isInstance = isInstance && "billingAccountId" in value;
|
|
148
154
|
isInstance = isInstance && "contacts" in value;
|
|
155
|
+
isInstance = isInstance && "organization" in value;
|
|
149
156
|
isInstance = isInstance && "status" in value;
|
|
150
157
|
isInstance = isInstance && "settings" in value;
|
|
151
158
|
isInstance = isInstance && "statusMessage" in value;
|
|
@@ -173,6 +180,7 @@ export function ProjectDetailFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
173
180
|
'description': json['description'],
|
|
174
181
|
'billingAccountId': json['billingAccountId'],
|
|
175
182
|
'contacts': ((json['contacts'] as Array<any>).map(ContactFromJSON)),
|
|
183
|
+
'organization': json['organization'],
|
|
176
184
|
'status': StatusFromJSON(json['status']),
|
|
177
185
|
'settings': ProjectSettingsFromJSON(json['settings']),
|
|
178
186
|
'account': !exists(json, 'account') ? undefined : CloudAccountFromJSON(json['account']),
|
|
@@ -199,6 +207,7 @@ export function ProjectDetailToJSON(value?: ProjectDetail | null): any {
|
|
|
199
207
|
'description': value.description,
|
|
200
208
|
'billingAccountId': value.billingAccountId,
|
|
201
209
|
'contacts': ((value.contacts as Array<any>).map(ContactToJSON)),
|
|
210
|
+
'organization': value.organization,
|
|
202
211
|
'status': StatusToJSON(value.status),
|
|
203
212
|
'settings': ProjectSettingsToJSON(value.settings),
|
|
204
213
|
'account': CloudAccountToJSON(value.account),
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
*
|
|
18
18
|
* @export
|
|
19
19
|
* @interface RunAnalysisRequest
|
|
20
20
|
*/
|
|
@@ -92,7 +92,7 @@ export function RunAnalysisRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
92
92
|
return json;
|
|
93
93
|
}
|
|
94
94
|
return {
|
|
95
|
-
|
|
95
|
+
|
|
96
96
|
'name': json['name'],
|
|
97
97
|
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
98
98
|
'processId': json['processId'],
|
|
@@ -112,7 +112,7 @@ export function RunAnalysisRequestToJSON(value?: RunAnalysisRequest | null): any
|
|
|
112
112
|
return null;
|
|
113
113
|
}
|
|
114
114
|
return {
|
|
115
|
-
|
|
115
|
+
|
|
116
116
|
'name': value.name,
|
|
117
117
|
'description': value.description,
|
|
118
118
|
'processId': value.processId,
|