@metal-stack/api 0.0.61 → 0.0.62

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 (134) hide show
  1. package/js/buf/validate/validate_pb.d.ts +9 -9
  2. package/js/buf/validate/validate_pb.ts +10 -10
  3. package/js/metalstack/admin/v2/audit_pb.d.ts +3 -3
  4. package/js/metalstack/admin/v2/audit_pb.js +1 -1
  5. package/js/metalstack/admin/v2/audit_pb.ts +4 -4
  6. package/js/metalstack/admin/v2/component_pb.d.ts +3 -3
  7. package/js/metalstack/admin/v2/component_pb.js +1 -1
  8. package/js/metalstack/admin/v2/component_pb.ts +4 -4
  9. package/js/metalstack/admin/v2/filesystem_pb.d.ts +8 -8
  10. package/js/metalstack/admin/v2/filesystem_pb.js +1 -1
  11. package/js/metalstack/admin/v2/filesystem_pb.ts +9 -9
  12. package/js/metalstack/admin/v2/image_pb.d.ts +10 -10
  13. package/js/metalstack/admin/v2/image_pb.js +1 -1
  14. package/js/metalstack/admin/v2/image_pb.ts +11 -11
  15. package/js/metalstack/admin/v2/ip_pb.d.ts +1 -1
  16. package/js/metalstack/admin/v2/ip_pb.js +1 -1
  17. package/js/metalstack/admin/v2/ip_pb.ts +2 -2
  18. package/js/metalstack/admin/v2/machine_pb.d.ts +5 -5
  19. package/js/metalstack/admin/v2/machine_pb.js +1 -1
  20. package/js/metalstack/admin/v2/machine_pb.ts +6 -6
  21. package/js/metalstack/admin/v2/network_pb.d.ts +26 -26
  22. package/js/metalstack/admin/v2/network_pb.js +2 -2
  23. package/js/metalstack/admin/v2/network_pb.ts +28 -28
  24. package/js/metalstack/admin/v2/partition_pb.d.ts +11 -11
  25. package/js/metalstack/admin/v2/partition_pb.js +1 -1
  26. package/js/metalstack/admin/v2/partition_pb.ts +12 -12
  27. package/js/metalstack/admin/v2/project_pb.d.ts +2 -2
  28. package/js/metalstack/admin/v2/project_pb.js +1 -1
  29. package/js/metalstack/admin/v2/project_pb.ts +3 -3
  30. package/js/metalstack/admin/v2/size_imageconstraint_pb.d.ts +11 -11
  31. package/js/metalstack/admin/v2/size_imageconstraint_pb.js +1 -1
  32. package/js/metalstack/admin/v2/size_imageconstraint_pb.ts +12 -12
  33. package/js/metalstack/admin/v2/size_pb.d.ts +8 -8
  34. package/js/metalstack/admin/v2/size_pb.js +1 -1
  35. package/js/metalstack/admin/v2/size_pb.ts +9 -9
  36. package/js/metalstack/admin/v2/size_reservation_pb.d.ts +10 -10
  37. package/js/metalstack/admin/v2/size_reservation_pb.js +1 -1
  38. package/js/metalstack/admin/v2/size_reservation_pb.ts +11 -11
  39. package/js/metalstack/admin/v2/switch_pb.d.ts +16 -16
  40. package/js/metalstack/admin/v2/switch_pb.js +1 -1
  41. package/js/metalstack/admin/v2/switch_pb.ts +17 -17
  42. package/js/metalstack/admin/v2/task_pb.d.ts +10 -10
  43. package/js/metalstack/admin/v2/task_pb.js +1 -1
  44. package/js/metalstack/admin/v2/task_pb.ts +11 -11
  45. package/js/metalstack/admin/v2/tenant_pb.d.ts +9 -9
  46. package/js/metalstack/admin/v2/tenant_pb.js +1 -1
  47. package/js/metalstack/admin/v2/tenant_pb.ts +10 -10
  48. package/js/metalstack/admin/v2/token_pb.d.ts +4 -4
  49. package/js/metalstack/admin/v2/token_pb.js +1 -1
  50. package/js/metalstack/admin/v2/token_pb.ts +5 -5
  51. package/js/metalstack/admin/v2/vpn_pb.d.ts +4 -4
  52. package/js/metalstack/admin/v2/vpn_pb.js +1 -1
  53. package/js/metalstack/admin/v2/vpn_pb.ts +5 -5
  54. package/js/metalstack/api/v2/audit_pb.d.ts +18 -18
  55. package/js/metalstack/api/v2/audit_pb.js +1 -1
  56. package/js/metalstack/api/v2/audit_pb.ts +19 -19
  57. package/js/metalstack/api/v2/common_pb.d.ts +7 -7
  58. package/js/metalstack/api/v2/common_pb.js +1 -1
  59. package/js/metalstack/api/v2/common_pb.ts +8 -8
  60. package/js/metalstack/api/v2/component_pb.d.ts +8 -8
  61. package/js/metalstack/api/v2/component_pb.js +1 -1
  62. package/js/metalstack/api/v2/component_pb.ts +9 -9
  63. package/js/metalstack/api/v2/filesystem_pb.d.ts +13 -13
  64. package/js/metalstack/api/v2/filesystem_pb.js +1 -1
  65. package/js/metalstack/api/v2/filesystem_pb.ts +14 -14
  66. package/js/metalstack/api/v2/health_pb.d.ts +1 -1
  67. package/js/metalstack/api/v2/health_pb.js +1 -1
  68. package/js/metalstack/api/v2/health_pb.ts +2 -2
  69. package/js/metalstack/api/v2/image_pb.d.ts +18 -18
  70. package/js/metalstack/api/v2/image_pb.js +1 -1
  71. package/js/metalstack/api/v2/image_pb.ts +19 -19
  72. package/js/metalstack/api/v2/ip_pb.d.ts +31 -31
  73. package/js/metalstack/api/v2/ip_pb.js +1 -1
  74. package/js/metalstack/api/v2/ip_pb.ts +32 -32
  75. package/js/metalstack/api/v2/machine_pb.d.ts +91 -91
  76. package/js/metalstack/api/v2/machine_pb.js +1 -1
  77. package/js/metalstack/api/v2/machine_pb.ts +92 -92
  78. package/js/metalstack/api/v2/method_pb.d.ts +2 -2
  79. package/js/metalstack/api/v2/method_pb.js +1 -1
  80. package/js/metalstack/api/v2/method_pb.ts +3 -3
  81. package/js/metalstack/api/v2/network_pb.d.ts +52 -52
  82. package/js/metalstack/api/v2/network_pb.js +2 -2
  83. package/js/metalstack/api/v2/network_pb.ts +54 -54
  84. package/js/metalstack/api/v2/partition_pb.d.ts +6 -6
  85. package/js/metalstack/api/v2/partition_pb.js +1 -1
  86. package/js/metalstack/api/v2/partition_pb.ts +7 -7
  87. package/js/metalstack/api/v2/predefined_rules_pb.js +1 -1
  88. package/js/metalstack/api/v2/predefined_rules_pb.ts +1 -1
  89. package/js/metalstack/api/v2/project_pb.d.ts +24 -24
  90. package/js/metalstack/api/v2/project_pb.js +2 -2
  91. package/js/metalstack/api/v2/project_pb.ts +26 -26
  92. package/js/metalstack/api/v2/size_imageconstraint_pb.d.ts +6 -6
  93. package/js/metalstack/api/v2/size_imageconstraint_pb.js +1 -1
  94. package/js/metalstack/api/v2/size_imageconstraint_pb.ts +7 -7
  95. package/js/metalstack/api/v2/size_pb.d.ts +10 -10
  96. package/js/metalstack/api/v2/size_pb.js +1 -1
  97. package/js/metalstack/api/v2/size_pb.ts +11 -11
  98. package/js/metalstack/api/v2/size_reservation_pb.d.ts +10 -10
  99. package/js/metalstack/api/v2/size_reservation_pb.js +1 -1
  100. package/js/metalstack/api/v2/size_reservation_pb.ts +11 -11
  101. package/js/metalstack/api/v2/switch_pb.d.ts +26 -26
  102. package/js/metalstack/api/v2/switch_pb.js +1 -1
  103. package/js/metalstack/api/v2/switch_pb.ts +27 -27
  104. package/js/metalstack/api/v2/tenant_pb.d.ts +24 -24
  105. package/js/metalstack/api/v2/tenant_pb.js +1 -1
  106. package/js/metalstack/api/v2/tenant_pb.ts +25 -25
  107. package/js/metalstack/api/v2/token_pb.d.ts +18 -18
  108. package/js/metalstack/api/v2/token_pb.js +1 -1
  109. package/js/metalstack/api/v2/token_pb.ts +19 -19
  110. package/js/metalstack/api/v2/user_pb.d.ts +2 -2
  111. package/js/metalstack/api/v2/user_pb.js +1 -1
  112. package/js/metalstack/api/v2/user_pb.ts +3 -3
  113. package/js/metalstack/api/v2/version_pb.d.ts +1 -1
  114. package/js/metalstack/api/v2/version_pb.js +1 -1
  115. package/js/metalstack/api/v2/version_pb.ts +2 -2
  116. package/js/metalstack/api/v2/vpn_pb.d.ts +1 -1
  117. package/js/metalstack/api/v2/vpn_pb.js +1 -1
  118. package/js/metalstack/api/v2/vpn_pb.ts +2 -2
  119. package/js/metalstack/infra/v2/bmc_pb.d.ts +2 -2
  120. package/js/metalstack/infra/v2/bmc_pb.js +1 -1
  121. package/js/metalstack/infra/v2/bmc_pb.ts +3 -3
  122. package/js/metalstack/infra/v2/boot_pb.d.ts +6 -6
  123. package/js/metalstack/infra/v2/boot_pb.js +1 -1
  124. package/js/metalstack/infra/v2/boot_pb.ts +7 -7
  125. package/js/metalstack/infra/v2/component_pb.d.ts +3 -3
  126. package/js/metalstack/infra/v2/component_pb.js +1 -1
  127. package/js/metalstack/infra/v2/component_pb.ts +4 -4
  128. package/js/metalstack/infra/v2/event_pb.d.ts +1 -1
  129. package/js/metalstack/infra/v2/event_pb.js +1 -1
  130. package/js/metalstack/infra/v2/event_pb.ts +2 -2
  131. package/js/metalstack/infra/v2/switch_pb.d.ts +7 -7
  132. package/js/metalstack/infra/v2/switch_pb.js +1 -1
  133. package/js/metalstack/infra/v2/switch_pb.ts +8 -8
  134. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
2
2
  // @generated from file metalstack/api/v2/machine.proto (package metalstack.api.v2, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -67,7 +67,7 @@ export type MachineServiceGetResponse = Message<"metalstack.api.v2.MachineServic
67
67
  *
68
68
  * @generated from field: metalstack.api.v2.Machine machine = 1;
69
69
  */
70
- machine?: Machine;
70
+ machine?: Machine | undefined;
71
71
  };
72
72
 
73
73
  /**
@@ -97,7 +97,7 @@ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServ
97
97
  *
98
98
  * @generated from field: optional string uuid = 2;
99
99
  */
100
- uuid?: string;
100
+ uuid?: string | undefined;
101
101
 
102
102
  /**
103
103
  * Name of this machine
@@ -111,28 +111,28 @@ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServ
111
111
  *
112
112
  * @generated from field: optional string description = 4;
113
113
  */
114
- description?: string;
114
+ description?: string | undefined;
115
115
 
116
116
  /**
117
117
  * Hostname the hostname for the allocated machine (defaults to metal)
118
118
  *
119
119
  * @generated from field: optional string hostname = 5;
120
120
  */
121
- hostname?: string;
121
+ hostname?: string | undefined;
122
122
 
123
123
  /**
124
124
  * Partition the partition id to assign this machine to, must be omitted if uuid is given
125
125
  *
126
126
  * @generated from field: optional string partition = 6;
127
127
  */
128
- partition?: string;
128
+ partition?: string | undefined;
129
129
 
130
130
  /**
131
131
  * Size of the machine to create, must be omitted if uuid is given
132
132
  *
133
133
  * @generated from field: optional string size = 7;
134
134
  */
135
- size?: string;
135
+ size?: string | undefined;
136
136
 
137
137
  /**
138
138
  * Image which should be installed on this machine
@@ -154,7 +154,7 @@ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServ
154
154
  *
155
155
  * @generated from field: optional string filesystem_layout = 9;
156
156
  */
157
- filesystemLayout?: string;
157
+ filesystemLayout?: string | undefined;
158
158
 
159
159
  /**
160
160
  * SSHPublicKeys defines the ssh public key to be installed on the machine to access it via ssh
@@ -169,14 +169,14 @@ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServ
169
169
  *
170
170
  * @generated from field: optional string userdata = 11;
171
171
  */
172
- userdata?: string;
172
+ userdata?: string | undefined;
173
173
 
174
174
  /**
175
175
  * Labels to be attached to this machine allocation
176
176
  *
177
177
  * @generated from field: metalstack.api.v2.Labels labels = 12;
178
178
  */
179
- labels?: Labels;
179
+ labels?: Labels | undefined;
180
180
 
181
181
  /**
182
182
  * Networks the networks that this machine will be placed in.
@@ -219,7 +219,7 @@ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServ
219
219
  *
220
220
  * @generated from field: metalstack.api.v2.FirewallSpec firewall_spec = 18;
221
221
  */
222
- firewallSpec?: FirewallSpec;
222
+ firewallSpec?: FirewallSpec | undefined;
223
223
  };
224
224
 
225
225
  /**
@@ -240,7 +240,7 @@ export type FirewallSpec = Message<"metalstack.api.v2.FirewallSpec"> & {
240
240
  *
241
241
  * @generated from field: metalstack.api.v2.FirewallRules firewall_rules = 1;
242
242
  */
243
- firewallRules?: FirewallRules;
243
+ firewallRules?: FirewallRules | undefined;
244
244
  };
245
245
 
246
246
  /**
@@ -261,7 +261,7 @@ export type MachineServiceCreateResponse = Message<"metalstack.api.v2.MachineSer
261
261
  *
262
262
  * @generated from field: metalstack.api.v2.Machine machine = 1;
263
263
  */
264
- machine?: Machine;
264
+ machine?: Machine | undefined;
265
265
  };
266
266
 
267
267
  /**
@@ -289,7 +289,7 @@ export type MachineServiceUpdateRequest = Message<"metalstack.api.v2.MachineServ
289
289
  *
290
290
  * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
291
291
  */
292
- updateMeta?: UpdateMeta;
292
+ updateMeta?: UpdateMeta | undefined;
293
293
 
294
294
  /**
295
295
  * Project of the machine
@@ -303,14 +303,14 @@ export type MachineServiceUpdateRequest = Message<"metalstack.api.v2.MachineServ
303
303
  *
304
304
  * @generated from field: optional string description = 4;
305
305
  */
306
- description?: string;
306
+ description?: string | undefined;
307
307
 
308
308
  /**
309
309
  * Labels to update on this machine allocation
310
310
  *
311
311
  * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 5;
312
312
  */
313
- labels?: UpdateLabels;
313
+ labels?: UpdateLabels | undefined;
314
314
 
315
315
  /**
316
316
  * SSHPublicKeys which should be update of this machine allocation
@@ -338,7 +338,7 @@ export type MachineServiceUpdateResponse = Message<"metalstack.api.v2.MachineSer
338
338
  *
339
339
  * @generated from field: metalstack.api.v2.Machine machine = 1;
340
340
  */
341
- machine?: Machine;
341
+ machine?: Machine | undefined;
342
342
  };
343
343
 
344
344
  /**
@@ -366,7 +366,7 @@ export type MachineServiceListRequest = Message<"metalstack.api.v2.MachineServic
366
366
  *
367
367
  * @generated from field: metalstack.api.v2.MachineQuery query = 2;
368
368
  */
369
- query?: MachineQuery;
369
+ query?: MachineQuery | undefined;
370
370
  };
371
371
 
372
372
  /**
@@ -436,7 +436,7 @@ export type MachineServiceDeleteResponse = Message<"metalstack.api.v2.MachineSer
436
436
  *
437
437
  * @generated from field: metalstack.api.v2.Machine machine = 1;
438
438
  */
439
- machine?: Machine;
439
+ machine?: Machine | undefined;
440
440
  };
441
441
 
442
442
  /**
@@ -542,7 +542,7 @@ export type MachineServiceGetBMCResponse = Message<"metalstack.api.v2.MachineSer
542
542
  *
543
543
  * @generated from field: metalstack.api.v2.MachineBMCReport bmc = 2;
544
544
  */
545
- bmc?: MachineBMCReport;
545
+ bmc?: MachineBMCReport | undefined;
546
546
  };
547
547
 
548
548
  /**
@@ -570,14 +570,14 @@ export type Machine = Message<"metalstack.api.v2.Machine"> & {
570
570
  *
571
571
  * @generated from field: metalstack.api.v2.Meta meta = 2;
572
572
  */
573
- meta?: Meta;
573
+ meta?: Meta | undefined;
574
574
 
575
575
  /**
576
576
  * Partition where this machine resides
577
577
  *
578
578
  * @generated from field: metalstack.api.v2.Partition partition = 3;
579
579
  */
580
- partition?: Partition;
580
+ partition?: Partition | undefined;
581
581
 
582
582
  /**
583
583
  * Rack where this machine is located
@@ -591,35 +591,35 @@ export type Machine = Message<"metalstack.api.v2.Machine"> & {
591
591
  *
592
592
  * @generated from field: metalstack.api.v2.Size size = 5;
593
593
  */
594
- size?: Size;
594
+ size?: Size | undefined;
595
595
 
596
596
  /**
597
597
  * Hardware specs of this machine
598
598
  *
599
599
  * @generated from field: metalstack.api.v2.MachineHardware hardware = 6;
600
600
  */
601
- hardware?: MachineHardware;
601
+ hardware?: MachineHardware | undefined;
602
602
 
603
603
  /**
604
604
  * Allocation details
605
605
  *
606
606
  * @generated from field: metalstack.api.v2.MachineAllocation allocation = 7;
607
607
  */
608
- allocation?: MachineAllocation;
608
+ allocation?: MachineAllocation | undefined;
609
609
 
610
610
  /**
611
611
  * Status contains several status details related to this machine
612
612
  *
613
613
  * @generated from field: metalstack.api.v2.MachineStatus status = 8;
614
614
  */
615
- status?: MachineStatus;
615
+ status?: MachineStatus | undefined;
616
616
 
617
617
  /**
618
618
  * MachineRecentProvisioningEvents contains the recent provisioning events
619
619
  *
620
620
  * @generated from field: metalstack.api.v2.MachineRecentProvisioningEvents recent_provisioning_events = 9;
621
621
  */
622
- recentProvisioningEvents?: MachineRecentProvisioningEvents;
622
+ recentProvisioningEvents?: MachineRecentProvisioningEvents | undefined;
623
623
  };
624
624
 
625
625
  /**
@@ -640,14 +640,14 @@ export type MachineStatus = Message<"metalstack.api.v2.MachineStatus"> & {
640
640
  *
641
641
  * @generated from field: metalstack.api.v2.MachineCondition condition = 1;
642
642
  */
643
- condition?: MachineCondition;
643
+ condition?: MachineCondition | undefined;
644
644
 
645
645
  /**
646
646
  * LEDState indicates the state of the indicator LED on this machine
647
647
  *
648
648
  * @generated from field: metalstack.api.v2.MachineChassisIdentifyLEDState led_state = 2;
649
649
  */
650
- ledState?: MachineChassisIdentifyLEDState;
650
+ ledState?: MachineChassisIdentifyLEDState | undefined;
651
651
 
652
652
  /**
653
653
  * Liveliness of this machine
@@ -724,7 +724,7 @@ export type MachineAllocation = Message<"metalstack.api.v2.MachineAllocation"> &
724
724
  *
725
725
  * @generated from field: metalstack.api.v2.Meta meta = 2;
726
726
  */
727
- meta?: Meta;
727
+ meta?: Meta | undefined;
728
728
 
729
729
  /**
730
730
  * Name of this allocation
@@ -759,14 +759,14 @@ export type MachineAllocation = Message<"metalstack.api.v2.MachineAllocation"> &
759
759
  *
760
760
  * @generated from field: metalstack.api.v2.Image image = 7;
761
761
  */
762
- image?: Image;
762
+ image?: Image | undefined;
763
763
 
764
764
  /**
765
765
  * FilesystemLayout to create on the disks
766
766
  *
767
767
  * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 8;
768
768
  */
769
- filesystemLayout?: FilesystemLayout;
769
+ filesystemLayout?: FilesystemLayout | undefined;
770
770
 
771
771
  /**
772
772
  * Networks this machine should be attached to
@@ -809,7 +809,7 @@ export type MachineAllocation = Message<"metalstack.api.v2.MachineAllocation"> &
809
809
  *
810
810
  * @generated from field: metalstack.api.v2.FirewallRules firewall_rules = 14;
811
811
  */
812
- firewallRules?: FirewallRules;
812
+ firewallRules?: FirewallRules | undefined;
813
813
 
814
814
  /**
815
815
  * DNSServers for this machine
@@ -830,7 +830,7 @@ export type MachineAllocation = Message<"metalstack.api.v2.MachineAllocation"> &
830
830
  *
831
831
  * @generated from field: metalstack.api.v2.MachineVPN vpn = 17;
832
832
  */
833
- vpn?: MachineVPN;
833
+ vpn?: MachineVPN | undefined;
834
834
  };
835
835
 
836
836
  /**
@@ -1055,7 +1055,7 @@ export type MachineNetwork = Message<"metalstack.api.v2.MachineNetwork"> & {
1055
1055
  *
1056
1056
  * @generated from field: optional string project = 9;
1057
1057
  */
1058
- project?: string;
1058
+ project?: string | undefined;
1059
1059
  };
1060
1060
 
1061
1061
  /**
@@ -1321,28 +1321,28 @@ export type MachineBMCReport = Message<"metalstack.api.v2.MachineBMCReport"> & {
1321
1321
  *
1322
1322
  * @generated from field: metalstack.api.v2.MachineBMC bmc = 1;
1323
1323
  */
1324
- bmc?: MachineBMC;
1324
+ bmc?: MachineBMC | undefined;
1325
1325
 
1326
1326
  /**
1327
1327
  * Bios contains bios details
1328
1328
  *
1329
1329
  * @generated from field: metalstack.api.v2.MachineBios bios = 2;
1330
1330
  */
1331
- bios?: MachineBios;
1331
+ bios?: MachineBios | undefined;
1332
1332
 
1333
1333
  /**
1334
1334
  * Fru containers field replaceable unit details
1335
1335
  *
1336
1336
  * @generated from field: metalstack.api.v2.MachineFRU fru = 3;
1337
1337
  */
1338
- fru?: MachineFRU;
1338
+ fru?: MachineFRU | undefined;
1339
1339
 
1340
1340
  /**
1341
1341
  * PowerMetric contains the power statistics of the machine
1342
1342
  *
1343
1343
  * @generated from field: metalstack.api.v2.MachinePowerMetric power_metric = 4;
1344
1344
  */
1345
- powerMetric?: MachinePowerMetric;
1345
+ powerMetric?: MachinePowerMetric | undefined;
1346
1346
 
1347
1347
  /**
1348
1348
  * PowerSupplies contains details about all power supplies and their state
@@ -1356,14 +1356,14 @@ export type MachineBMCReport = Message<"metalstack.api.v2.MachineBMCReport"> & {
1356
1356
  *
1357
1357
  * @generated from field: metalstack.api.v2.MachineChassisIdentifyLEDState led_state = 6;
1358
1358
  */
1359
- ledState?: MachineChassisIdentifyLEDState;
1359
+ ledState?: MachineChassisIdentifyLEDState | undefined;
1360
1360
 
1361
1361
  /**
1362
1362
  * UpdatedAt contains the date when this data was last updated
1363
1363
  *
1364
1364
  * @generated from field: google.protobuf.Timestamp updated_at = 7;
1365
1365
  */
1366
- updatedAt?: Timestamp;
1366
+ updatedAt?: Timestamp | undefined;
1367
1367
  };
1368
1368
 
1369
1369
  /**
@@ -1482,56 +1482,56 @@ export type MachineFRU = Message<"metalstack.api.v2.MachineFRU"> & {
1482
1482
  *
1483
1483
  * @generated from field: optional string chassis_part_number = 1;
1484
1484
  */
1485
- chassisPartNumber?: string;
1485
+ chassisPartNumber?: string | undefined;
1486
1486
 
1487
1487
  /**
1488
1488
  * ChassisPartSerial is the serial number of the machine chassis
1489
1489
  *
1490
1490
  * @generated from field: optional string chassis_part_serial = 2;
1491
1491
  */
1492
- chassisPartSerial?: string;
1492
+ chassisPartSerial?: string | undefined;
1493
1493
 
1494
1494
  /**
1495
1495
  * BoardMfg is the short description of the mainboard
1496
1496
  *
1497
1497
  * @generated from field: optional string board_mfg = 3;
1498
1498
  */
1499
- boardMfg?: string;
1499
+ boardMfg?: string | undefined;
1500
1500
 
1501
1501
  /**
1502
1502
  * BoardMfgSerial is the serial number of the mainboard
1503
1503
  *
1504
1504
  * @generated from field: optional string board_mfg_serial = 4;
1505
1505
  */
1506
- boardMfgSerial?: string;
1506
+ boardMfgSerial?: string | undefined;
1507
1507
 
1508
1508
  /**
1509
1509
  * BoardPartNumber is the part number of the mainboard
1510
1510
  *
1511
1511
  * @generated from field: optional string board_part_number = 5;
1512
1512
  */
1513
- boardPartNumber?: string;
1513
+ boardPartNumber?: string | undefined;
1514
1514
 
1515
1515
  /**
1516
1516
  * ProductManufacturer is the manufacturer of the machine
1517
1517
  *
1518
1518
  * @generated from field: optional string product_manufacturer = 6;
1519
1519
  */
1520
- productManufacturer?: string;
1520
+ productManufacturer?: string | undefined;
1521
1521
 
1522
1522
  /**
1523
1523
  * ProductPartNumber is the part number of the machine
1524
1524
  *
1525
1525
  * @generated from field: optional string product_part_number = 7;
1526
1526
  */
1527
- productPartNumber?: string;
1527
+ productPartNumber?: string | undefined;
1528
1528
 
1529
1529
  /**
1530
1530
  * ProductSerial is the serial number of the machine
1531
1531
  *
1532
1532
  * @generated from field: optional string product_serial = 8;
1533
1533
  */
1534
- productSerial?: string;
1534
+ productSerial?: string | undefined;
1535
1535
  };
1536
1536
 
1537
1537
  /**
@@ -1638,14 +1638,14 @@ export type MachineRecentProvisioningEvents = Message<"metalstack.api.v2.Machine
1638
1638
  *
1639
1639
  * @generated from field: google.protobuf.Timestamp last_event_time = 2;
1640
1640
  */
1641
- lastEventTime?: Timestamp;
1641
+ lastEventTime?: Timestamp | undefined;
1642
1642
 
1643
1643
  /**
1644
1644
  * LastErrorEvent the last erroneous event received
1645
1645
  *
1646
1646
  * @generated from field: metalstack.api.v2.MachineProvisioningEvent last_error_event = 3;
1647
1647
  */
1648
- lastErrorEvent?: MachineProvisioningEvent;
1648
+ lastErrorEvent?: MachineProvisioningEvent | undefined;
1649
1649
 
1650
1650
  /**
1651
1651
  * State can be either CrashLoop, FailedReclaim or something else
@@ -1673,7 +1673,7 @@ export type MachineProvisioningEvent = Message<"metalstack.api.v2.MachineProvisi
1673
1673
  *
1674
1674
  * @generated from field: google.protobuf.Timestamp time = 1;
1675
1675
  */
1676
- time?: Timestamp;
1676
+ time?: Timestamp | undefined;
1677
1677
 
1678
1678
  /**
1679
1679
  * Event the event emitted by the machine
@@ -1750,98 +1750,98 @@ export type MachineQuery = Message<"metalstack.api.v2.MachineQuery"> & {
1750
1750
  *
1751
1751
  * @generated from field: optional string uuid = 1;
1752
1752
  */
1753
- uuid?: string;
1753
+ uuid?: string | undefined;
1754
1754
 
1755
1755
  /**
1756
1756
  * Name of the machine to get
1757
1757
  *
1758
1758
  * @generated from field: optional string name = 2;
1759
1759
  */
1760
- name?: string;
1760
+ name?: string | undefined;
1761
1761
 
1762
1762
  /**
1763
1763
  * Partition of the machine to get
1764
1764
  *
1765
1765
  * @generated from field: optional string partition = 3;
1766
1766
  */
1767
- partition?: string;
1767
+ partition?: string | undefined;
1768
1768
 
1769
1769
  /**
1770
1770
  * Size of the machine to get
1771
1771
  *
1772
1772
  * @generated from field: optional string size = 4;
1773
1773
  */
1774
- size?: string;
1774
+ size?: string | undefined;
1775
1775
 
1776
1776
  /**
1777
1777
  * Rack of the machine to get
1778
1778
  *
1779
1779
  * @generated from field: optional string rack = 5;
1780
1780
  */
1781
- rack?: string;
1781
+ rack?: string | undefined;
1782
1782
 
1783
1783
  /**
1784
1784
  * Labels for which this machine should get filtered
1785
1785
  *
1786
1786
  * @generated from field: optional metalstack.api.v2.Labels labels = 6;
1787
1787
  */
1788
- labels?: Labels;
1788
+ labels?: Labels | undefined;
1789
1789
 
1790
1790
  /**
1791
1791
  * Allocation specific machine queries
1792
1792
  *
1793
1793
  * @generated from field: optional metalstack.api.v2.MachineAllocationQuery allocation = 7;
1794
1794
  */
1795
- allocation?: MachineAllocationQuery;
1795
+ allocation?: MachineAllocationQuery | undefined;
1796
1796
 
1797
1797
  /**
1798
1798
  * Network specific machine queries
1799
1799
  *
1800
1800
  * @generated from field: optional metalstack.api.v2.MachineNetworkQuery network = 8;
1801
1801
  */
1802
- network?: MachineNetworkQuery;
1802
+ network?: MachineNetworkQuery | undefined;
1803
1803
 
1804
1804
  /**
1805
1805
  * Nic specific machine queries
1806
1806
  *
1807
1807
  * @generated from field: optional metalstack.api.v2.MachineNicQuery nic = 9;
1808
1808
  */
1809
- nic?: MachineNicQuery;
1809
+ nic?: MachineNicQuery | undefined;
1810
1810
 
1811
1811
  /**
1812
1812
  * Disk specific machine queries
1813
1813
  *
1814
1814
  * @generated from field: optional metalstack.api.v2.MachineDiskQuery disk = 10;
1815
1815
  */
1816
- disk?: MachineDiskQuery;
1816
+ disk?: MachineDiskQuery | undefined;
1817
1817
 
1818
1818
  /**
1819
1819
  * Bmc specific machine queries
1820
1820
  *
1821
1821
  * @generated from field: optional metalstack.api.v2.MachineBMCQuery bmc = 11;
1822
1822
  */
1823
- bmc?: MachineBMCQuery;
1823
+ bmc?: MachineBMCQuery | undefined;
1824
1824
 
1825
1825
  /**
1826
1826
  * Fru specific machine queries
1827
1827
  *
1828
1828
  * @generated from field: optional metalstack.api.v2.MachineFRUQuery fru = 12;
1829
1829
  */
1830
- fru?: MachineFRUQuery;
1830
+ fru?: MachineFRUQuery | undefined;
1831
1831
 
1832
1832
  /**
1833
1833
  * Hardware specific machine query
1834
1834
  *
1835
1835
  * @generated from field: optional metalstack.api.v2.MachineHardwareQuery hardware = 13;
1836
1836
  */
1837
- hardware?: MachineHardwareQuery;
1837
+ hardware?: MachineHardwareQuery | undefined;
1838
1838
 
1839
1839
  /**
1840
1840
  * State this machine has
1841
1841
  *
1842
1842
  * @generated from field: optional metalstack.api.v2.MachineState state = 14;
1843
1843
  */
1844
- state?: MachineState;
1844
+ state?: MachineState | undefined;
1845
1845
 
1846
1846
  /**
1847
1847
  * Waiting if set to true, only waiting machines are returned.
@@ -1849,7 +1849,7 @@ export type MachineQuery = Message<"metalstack.api.v2.MachineQuery"> & {
1849
1849
  *
1850
1850
  * @generated from field: optional bool waiting = 15;
1851
1851
  */
1852
- waiting?: boolean;
1852
+ waiting?: boolean | undefined;
1853
1853
 
1854
1854
  /**
1855
1855
  * Preallocated if set to true, only machines which are preallocated are returned.
@@ -1857,7 +1857,7 @@ export type MachineQuery = Message<"metalstack.api.v2.MachineQuery"> & {
1857
1857
  *
1858
1858
  * @generated from field: optional bool preallocated = 16;
1859
1859
  */
1860
- preallocated?: boolean;
1860
+ preallocated?: boolean | undefined;
1861
1861
 
1862
1862
  /**
1863
1863
  * NotAllocated if set to true, only machines which are not allocated are returned.
@@ -1865,7 +1865,7 @@ export type MachineQuery = Message<"metalstack.api.v2.MachineQuery"> & {
1865
1865
  *
1866
1866
  * @generated from field: optional bool not_allocated = 17;
1867
1867
  */
1868
- notAllocated?: boolean;
1868
+ notAllocated?: boolean | undefined;
1869
1869
  };
1870
1870
 
1871
1871
  /**
@@ -1886,63 +1886,63 @@ export type MachineAllocationQuery = Message<"metalstack.api.v2.MachineAllocatio
1886
1886
  *
1887
1887
  * @generated from field: optional string uuid = 1;
1888
1888
  */
1889
- uuid?: string;
1889
+ uuid?: string | undefined;
1890
1890
 
1891
1891
  /**
1892
1892
  * Name of the machine to get
1893
1893
  *
1894
1894
  * @generated from field: optional string name = 2;
1895
1895
  */
1896
- name?: string;
1896
+ name?: string | undefined;
1897
1897
 
1898
1898
  /**
1899
1899
  * Project of the machine to get
1900
1900
  *
1901
1901
  * @generated from field: optional string project = 3;
1902
1902
  */
1903
- project?: string;
1903
+ project?: string | undefined;
1904
1904
 
1905
1905
  /**
1906
1906
  * Image of the machine to get
1907
1907
  *
1908
1908
  * @generated from field: optional string image = 4;
1909
1909
  */
1910
- image?: string;
1910
+ image?: string | undefined;
1911
1911
 
1912
1912
  /**
1913
1913
  * FilesystemLayout of the machine to get
1914
1914
  *
1915
1915
  * @generated from field: optional string filesystem_layout = 5;
1916
1916
  */
1917
- filesystemLayout?: string;
1917
+ filesystemLayout?: string | undefined;
1918
1918
 
1919
1919
  /**
1920
1920
  * Hostname of the machine to get
1921
1921
  *
1922
1922
  * @generated from field: optional string hostname = 6;
1923
1923
  */
1924
- hostname?: string;
1924
+ hostname?: string | undefined;
1925
1925
 
1926
1926
  /**
1927
1927
  * AllocationType of this machine
1928
1928
  *
1929
1929
  * @generated from field: optional metalstack.api.v2.MachineAllocationType allocation_type = 7;
1930
1930
  */
1931
- allocationType?: MachineAllocationType;
1931
+ allocationType?: MachineAllocationType | undefined;
1932
1932
 
1933
1933
  /**
1934
1934
  * Labels for which this machine allocation should get filtered
1935
1935
  *
1936
1936
  * @generated from field: optional metalstack.api.v2.Labels labels = 8;
1937
1937
  */
1938
- labels?: Labels;
1938
+ labels?: Labels | undefined;
1939
1939
 
1940
1940
  /**
1941
1941
  * VPN query if this machine has a vpn configuration
1942
1942
  *
1943
1943
  * @generated from field: optional metalstack.api.v2.MachineVPN vpn = 9;
1944
1944
  */
1945
- vpn?: MachineVPN;
1945
+ vpn?: MachineVPN | undefined;
1946
1946
  };
1947
1947
 
1948
1948
  /**
@@ -2089,28 +2089,28 @@ export type MachineBMCQuery = Message<"metalstack.api.v2.MachineBMCQuery"> & {
2089
2089
  *
2090
2090
  * @generated from field: optional string address = 1;
2091
2091
  */
2092
- address?: string;
2092
+ address?: string | undefined;
2093
2093
 
2094
2094
  /**
2095
2095
  * Mac of the ipmi system of this machine
2096
2096
  *
2097
2097
  * @generated from field: optional string mac = 2;
2098
2098
  */
2099
- mac?: string;
2099
+ mac?: string | undefined;
2100
2100
 
2101
2101
  /**
2102
2102
  * User of the ipmi system of this machine
2103
2103
  *
2104
2104
  * @generated from field: optional string user = 3;
2105
2105
  */
2106
- user?: string;
2106
+ user?: string | undefined;
2107
2107
 
2108
2108
  /**
2109
2109
  * Interface of the ipmi system of this machine
2110
2110
  *
2111
2111
  * @generated from field: optional string interface = 4;
2112
2112
  */
2113
- interface?: string;
2113
+ interface?: string | undefined;
2114
2114
  };
2115
2115
 
2116
2116
  /**
@@ -2131,56 +2131,56 @@ export type MachineFRUQuery = Message<"metalstack.api.v2.MachineFRUQuery"> & {
2131
2131
  *
2132
2132
  * @generated from field: optional string chassis_part_number = 1;
2133
2133
  */
2134
- chassisPartNumber?: string;
2134
+ chassisPartNumber?: string | undefined;
2135
2135
 
2136
2136
  /**
2137
2137
  * ChassisPartSerial of this machine
2138
2138
  *
2139
2139
  * @generated from field: optional string chassis_part_serial = 2;
2140
2140
  */
2141
- chassisPartSerial?: string;
2141
+ chassisPartSerial?: string | undefined;
2142
2142
 
2143
2143
  /**
2144
2144
  * BoardMFG of this machine
2145
2145
  *
2146
2146
  * @generated from field: optional string board_mfg = 3;
2147
2147
  */
2148
- boardMfg?: string;
2148
+ boardMfg?: string | undefined;
2149
2149
 
2150
2150
  /**
2151
2151
  * BoardSerial of this machine
2152
2152
  *
2153
2153
  * @generated from field: optional string board_serial = 4;
2154
2154
  */
2155
- boardSerial?: string;
2155
+ boardSerial?: string | undefined;
2156
2156
 
2157
2157
  /**
2158
2158
  * BoardPartNumber of this machine
2159
2159
  *
2160
2160
  * @generated from field: optional string board_part_number = 5;
2161
2161
  */
2162
- boardPartNumber?: string;
2162
+ boardPartNumber?: string | undefined;
2163
2163
 
2164
2164
  /**
2165
2165
  * ProductManufacturer of this machine
2166
2166
  *
2167
2167
  * @generated from field: optional string product_manufacturer = 6;
2168
2168
  */
2169
- productManufacturer?: string;
2169
+ productManufacturer?: string | undefined;
2170
2170
 
2171
2171
  /**
2172
2172
  * ProductPartNumber of this machine
2173
2173
  *
2174
2174
  * @generated from field: optional string product_part_number = 7;
2175
2175
  */
2176
- productPartNumber?: string;
2176
+ productPartNumber?: string | undefined;
2177
2177
 
2178
2178
  /**
2179
2179
  * ProductSerial of this machine
2180
2180
  *
2181
2181
  * @generated from field: optional string product_serial = 8;
2182
2182
  */
2183
- productSerial?: string;
2183
+ productSerial?: string | undefined;
2184
2184
  };
2185
2185
 
2186
2186
  /**
@@ -2201,14 +2201,14 @@ export type MachineHardwareQuery = Message<"metalstack.api.v2.MachineHardwareQue
2201
2201
  *
2202
2202
  * @generated from field: optional uint64 memory = 1;
2203
2203
  */
2204
- memory?: bigint;
2204
+ memory?: bigint | undefined;
2205
2205
 
2206
2206
  /**
2207
2207
  * CPUCores the number of cpu cores
2208
2208
  *
2209
2209
  * @generated from field: optional uint32 cpu_cores = 2;
2210
2210
  */
2211
- cpuCores?: number;
2211
+ cpuCores?: number | undefined;
2212
2212
  };
2213
2213
 
2214
2214
  /**