@@ -91,6 +91,9 @@ export interface CreateNodesRequest {
9191 */
9292 names ?: Array < string > ;
9393
94+ /**
95+ * Database enum matching the node_type enum in the database
96+ */
9497 node_type ?: NodeType | null ;
9598
9699 /**
@@ -168,6 +171,9 @@ export namespace ListResponseNode {
168171
169172 name : string ;
170173
174+ /**
175+ * Database enum matching the node_type enum in the database
176+ */
171177 node_type : NodesAPI . NodeType ;
172178
173179 object : string ;
@@ -184,6 +190,11 @@ export namespace ListResponseNode {
184190 */
185191 created_at ?: number | null ;
186192
193+ /**
194+ * Deletion time as Unix timestamp in seconds
195+ */
196+ deleted_at ?: number | null ;
197+
187198 /**
188199 * End time as Unix timestamp in seconds
189200 */
@@ -196,8 +207,6 @@ export namespace ListResponseNode {
196207
197208 procurement_id ?: string | null ;
198209
199- procurement_status ?: NodesAPI . ProcurementStatus | null ;
200-
201210 /**
202211 * Start time as Unix timestamp in seconds
203212 */
@@ -208,11 +217,39 @@ export namespace ListResponseNode {
208217 */
209218 updated_at ?: number | null ;
210219
220+ vms ?: Data . Vms | null ;
221+
211222 /**
212223 * Choose from these zones when creating a node
213224 */
214225 zone ?: NodesAPI . Zone | null ;
215226 }
227+
228+ export namespace Data {
229+ export interface Vms {
230+ data : Array < Vms . Data > ;
231+
232+ object : string ;
233+ }
234+
235+ export namespace Vms {
236+ export interface Data {
237+ id : string ;
238+
239+ created_at : number ;
240+
241+ end_at : number | null ;
242+
243+ object : string ;
244+
245+ start_at : number | null ;
246+
247+ status : 'Pending' | 'Running' | 'Destroyed' | 'NodeFailure' | 'Unspecified' ;
248+
249+ updated_at : number ;
250+ }
251+ }
252+ }
216253}
217254
218255export interface Node {
@@ -222,6 +259,9 @@ export interface Node {
222259
223260 name : string ;
224261
262+ /**
263+ * Database enum matching the node_type enum in the database
264+ */
225265 node_type : NodeType ;
226266
227267 object : string ;
@@ -238,6 +278,11 @@ export interface Node {
238278 */
239279 created_at ?: number | null ;
240280
281+ /**
282+ * Deletion time as Unix timestamp in seconds
283+ */
284+ deleted_at ?: number | null ;
285+
241286 /**
242287 * End time as Unix timestamp in seconds
243288 */
@@ -250,8 +295,6 @@ export interface Node {
250295
251296 procurement_id ?: string | null ;
252297
253- procurement_status ?: ProcurementStatus | null ;
254-
255298 /**
256299 * Start time as Unix timestamp in seconds
257300 */
@@ -262,20 +305,57 @@ export interface Node {
262305 */
263306 updated_at ?: number | null ;
264307
308+ vms ?: Node . Vms | null ;
309+
265310 /**
266311 * Choose from these zones when creating a node
267312 */
268313 zone ?: Zone | null ;
269314}
270315
271- export type NodeType = 'on_demand' | 'reserved' ;
316+ export namespace Node {
317+ export interface Vms {
318+ data : Array < Vms . Data > ;
319+
320+ object : string ;
321+ }
322+
323+ export namespace Vms {
324+ export interface Data {
325+ id : string ;
326+
327+ created_at : number ;
328+
329+ end_at : number | null ;
272330
273- export type ProcurementStatus = 'uninitialized' | 'active' | 'ended' | 'awaiting_capacity' ;
331+ object : string ;
332+
333+ start_at : number | null ;
334+
335+ status : 'Pending' | 'Running' | 'Destroyed' | 'NodeFailure' | 'Unspecified' ;
336+
337+ updated_at : number ;
338+ }
339+ }
340+ }
341+
342+ /**
343+ * Database enum matching the node_type enum in the database
344+ */
345+ export type NodeType = 'spot' | 'reserved' ;
274346
275347/**
276348 * Node Status
277349 */
278- export type Status = 'pending' | 'running' | 'terminated' | 'failed' | 'unknown' ;
350+ export type Status =
351+ | 'pending'
352+ | 'awaitingcapacity'
353+ | 'running'
354+ | 'released'
355+ | 'terminated'
356+ | 'deleted'
357+ | 'failed'
358+ | 'unknown' ;
279359
280360/**
281361 * Choose from these zones when creating a node
@@ -307,6 +387,9 @@ export interface NodeCreateParams {
307387 */
308388 names ?: Array < string > ;
309389
390+ /**
391+ * Database enum matching the node_type enum in the database
392+ */
310393 node_type ?: NodeType | null ;
311394
312395 /**
@@ -340,7 +423,6 @@ export declare namespace Nodes {
340423 type ListResponseNode as ListResponseNode ,
341424 type Node as Node ,
342425 type NodeType as NodeType ,
343- type ProcurementStatus as ProcurementStatus ,
344426 type Status as Status ,
345427 type Zone as Zone ,
346428 type NodeCreateParams as NodeCreateParams ,
0 commit comments