@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/size.proto (package metalstack.api.v2, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -48,7 +48,7 @@ export type SizeServiceListRequest = Message<"metalstack.api.v2.SizeServiceListR
48
48
  *
49
49
  * @generated from field: metalstack.api.v2.SizeQuery query = 1;
50
50
  */
51
- query?: SizeQuery;
51
+ query?: SizeQuery | undefined;
52
52
  };
53
53
 
54
54
  /**
@@ -69,7 +69,7 @@ export type SizeServiceGetResponse = Message<"metalstack.api.v2.SizeServiceGetRe
69
69
  *
70
70
  * @generated from field: metalstack.api.v2.Size size = 1;
71
71
  */
72
- size?: Size;
72
+ size?: Size | undefined;
73
73
  };
74
74
 
75
75
  /**
@@ -118,21 +118,21 @@ export type Size = Message<"metalstack.api.v2.Size"> & {
118
118
  *
119
119
  * @generated from field: metalstack.api.v2.Meta meta = 2;
120
120
  */
121
- meta?: Meta;
121
+ meta?: Meta | undefined;
122
122
 
123
123
  /**
124
124
  * Name of this size
125
125
  *
126
126
  * @generated from field: optional string name = 3;
127
127
  */
128
- name?: string;
128
+ name?: string | undefined;
129
129
 
130
130
  /**
131
131
  * Description of this size
132
132
  *
133
133
  * @generated from field: optional string description = 4;
134
134
  */
135
- description?: string;
135
+ description?: string | undefined;
136
136
 
137
137
  /**
138
138
  * Constraints which must match that a specific machine is considered of this size
@@ -181,7 +181,7 @@ export type SizeConstraint = Message<"metalstack.api.v2.SizeConstraint"> & {
181
181
  *
182
182
  * @generated from field: optional string identifier = 4;
183
183
  */
184
- identifier?: string;
184
+ identifier?: string | undefined;
185
185
  };
186
186
 
187
187
  /**
@@ -202,28 +202,28 @@ export type SizeQuery = Message<"metalstack.api.v2.SizeQuery"> & {
202
202
  *
203
203
  * @generated from field: optional string id = 1;
204
204
  */
205
- id?: string;
205
+ id?: string | undefined;
206
206
 
207
207
  /**
208
208
  * Name of the size to query
209
209
  *
210
210
  * @generated from field: optional string name = 2;
211
211
  */
212
- name?: string;
212
+ name?: string | undefined;
213
213
 
214
214
  /**
215
215
  * Description of the size to query
216
216
  *
217
217
  * @generated from field: optional string description = 3;
218
218
  */
219
- description?: string;
219
+ description?: string | undefined;
220
220
 
221
221
  /**
222
222
  * Labels lists only sizes containing the given labels
223
223
  *
224
224
  * @generated from field: optional metalstack.api.v2.Labels labels = 4;
225
225
  */
226
- labels?: Labels;
226
+ labels?: Labels | undefined;
227
227
  };
228
228
 
229
229
  /**
@@ -46,7 +46,7 @@ export type SizeReservationServiceListRequest = Message<"metalstack.api.v2.SizeR
46
46
  *
47
47
  * @generated from field: metalstack.api.v2.SizeReservationQuery query = 2;
48
48
  */
49
- query?: SizeReservationQuery;
49
+ query?: SizeReservationQuery | undefined;
50
50
  };
51
51
  /**
52
52
  * Describes the message metalstack.api.v2.SizeReservationServiceListRequest.
@@ -64,7 +64,7 @@ export type SizeReservationServiceGetResponse = Message<"metalstack.api.v2.SizeR
64
64
  *
65
65
  * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1;
66
66
  */
67
- sizeReservation?: SizeReservation;
67
+ sizeReservation?: SizeReservation | undefined;
68
68
  };
69
69
  /**
70
70
  * Describes the message metalstack.api.v2.SizeReservationServiceGetResponse.
@@ -106,7 +106,7 @@ export type SizeReservation = Message<"metalstack.api.v2.SizeReservation"> & {
106
106
  *
107
107
  * @generated from field: metalstack.api.v2.Meta meta = 2;
108
108
  */
109
- meta?: Meta;
109
+ meta?: Meta | undefined;
110
110
  /**
111
111
  * Name of this size reservation
112
112
  *
@@ -160,43 +160,43 @@ export type SizeReservationQuery = Message<"metalstack.api.v2.SizeReservationQue
160
160
  *
161
161
  * @generated from field: optional string id = 1;
162
162
  */
163
- id?: string;
163
+ id?: string | undefined;
164
164
  /**
165
165
  * Name of this size reservation
166
166
  *
167
167
  * @generated from field: optional string name = 2;
168
168
  */
169
- name?: string;
169
+ name?: string | undefined;
170
170
  /**
171
171
  * Description of this size reservation
172
172
  *
173
173
  * @generated from field: optional string description = 3;
174
174
  */
175
- description?: string;
175
+ description?: string | undefined;
176
176
  /**
177
177
  * Size id of this size reservation
178
178
  *
179
179
  * @generated from field: optional string size = 4;
180
180
  */
181
- size?: string;
181
+ size?: string | undefined;
182
182
  /**
183
183
  * Project of the size reservation
184
184
  *
185
185
  * @generated from field: optional string project = 5;
186
186
  */
187
- project?: string;
187
+ project?: string | undefined;
188
188
  /**
189
189
  * Partition of the size reservation
190
190
  *
191
191
  * @generated from field: optional string partition = 6;
192
192
  */
193
- partition?: string;
193
+ partition?: string | undefined;
194
194
  /**
195
195
  * Labels lists only size reservations containing the given labels
196
196
  *
197
197
  * @generated from field: optional metalstack.api.v2.Labels labels = 7;
198
198
  */
199
- labels?: Labels;
199
+ labels?: Labels | undefined;
200
200
  };
201
201
  /**
202
202
  * Describes the message metalstack.api.v2.SizeReservationQuery.
@@ -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/size_reservation.proto (package metalstack.api.v2, syntax proto3)
3
3
  /* eslint-disable */
4
4
  import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
@@ -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/size_reservation.proto (package metalstack.api.v2, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -62,7 +62,7 @@ export type SizeReservationServiceListRequest = Message<"metalstack.api.v2.SizeR
62
62
  *
63
63
  * @generated from field: metalstack.api.v2.SizeReservationQuery query = 2;
64
64
  */
65
- query?: SizeReservationQuery;
65
+ query?: SizeReservationQuery | undefined;
66
66
  };
67
67
 
68
68
  /**
@@ -83,7 +83,7 @@ export type SizeReservationServiceGetResponse = Message<"metalstack.api.v2.SizeR
83
83
  *
84
84
  * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1;
85
85
  */
86
- sizeReservation?: SizeReservation;
86
+ sizeReservation?: SizeReservation | undefined;
87
87
  };
88
88
 
89
89
  /**
@@ -132,7 +132,7 @@ export type SizeReservation = Message<"metalstack.api.v2.SizeReservation"> & {
132
132
  *
133
133
  * @generated from field: metalstack.api.v2.Meta meta = 2;
134
134
  */
135
- meta?: Meta;
135
+ meta?: Meta | undefined;
136
136
 
137
137
  /**
138
138
  * Name of this size reservation
@@ -195,49 +195,49 @@ export type SizeReservationQuery = Message<"metalstack.api.v2.SizeReservationQue
195
195
  *
196
196
  * @generated from field: optional string id = 1;
197
197
  */
198
- id?: string;
198
+ id?: string | undefined;
199
199
 
200
200
  /**
201
201
  * Name of this size reservation
202
202
  *
203
203
  * @generated from field: optional string name = 2;
204
204
  */
205
- name?: string;
205
+ name?: string | undefined;
206
206
 
207
207
  /**
208
208
  * Description of this size reservation
209
209
  *
210
210
  * @generated from field: optional string description = 3;
211
211
  */
212
- description?: string;
212
+ description?: string | undefined;
213
213
 
214
214
  /**
215
215
  * Size id of this size reservation
216
216
  *
217
217
  * @generated from field: optional string size = 4;
218
218
  */
219
- size?: string;
219
+ size?: string | undefined;
220
220
 
221
221
  /**
222
222
  * Project of the size reservation
223
223
  *
224
224
  * @generated from field: optional string project = 5;
225
225
  */
226
- project?: string;
226
+ project?: string | undefined;
227
227
 
228
228
  /**
229
229
  * Partition of the size reservation
230
230
  *
231
231
  * @generated from field: optional string partition = 6;
232
232
  */
233
- partition?: string;
233
+ partition?: string | undefined;
234
234
 
235
235
  /**
236
236
  * Labels lists only size reservations containing the given labels
237
237
  *
238
238
  * @generated from field: optional metalstack.api.v2.Labels labels = 7;
239
239
  */
240
- labels?: Labels;
240
+ labels?: Labels | undefined;
241
241
  };
242
242
 
243
243
  /**
@@ -24,7 +24,7 @@ export type Switch = Message<"metalstack.api.v2.Switch"> & {
24
24
  *
25
25
  * @generated from field: metalstack.api.v2.Meta meta = 2;
26
26
  */
27
- meta?: Meta;
27
+ meta?: Meta | undefined;
28
28
  /**
29
29
  * Description of the switch.
30
30
  *
@@ -36,7 +36,7 @@ export type Switch = Message<"metalstack.api.v2.Switch"> & {
36
36
  *
37
37
  * @generated from field: optional string rack = 4;
38
38
  */
39
- rack?: string;
39
+ rack?: string | undefined;
40
40
  /**
41
41
  * Partition the switch belongs to.
42
42
  *
@@ -60,13 +60,13 @@ export type Switch = Message<"metalstack.api.v2.Switch"> & {
60
60
  *
61
61
  * @generated from field: optional string management_user = 8;
62
62
  */
63
- managementUser?: string;
63
+ managementUser?: string | undefined;
64
64
  /**
65
65
  * ConsoleCommand is the command for accessing the switch's console.
66
66
  *
67
67
  * @generated from field: optional string console_command = 9;
68
68
  */
69
- consoleCommand?: string;
69
+ consoleCommand?: string | undefined;
70
70
  /**
71
71
  * Nics are the front panel ports of the switch.
72
72
  *
@@ -78,7 +78,7 @@ export type Switch = Message<"metalstack.api.v2.Switch"> & {
78
78
  *
79
79
  * @generated from field: metalstack.api.v2.SwitchOS os = 11;
80
80
  */
81
- os?: SwitchOS;
81
+ os?: SwitchOS | undefined;
82
82
  /**
83
83
  * MachineConnections map machines to the nics they are connected to.
84
84
  *
@@ -90,13 +90,13 @@ export type Switch = Message<"metalstack.api.v2.Switch"> & {
90
90
  *
91
91
  * @generated from field: metalstack.api.v2.SwitchSync last_sync = 13;
92
92
  */
93
- lastSync?: SwitchSync;
93
+ lastSync?: SwitchSync | undefined;
94
94
  /**
95
95
  * LastSyncError contains information about the last unsuccessful heartbeat of the switch.
96
96
  *
97
97
  * @generated from field: metalstack.api.v2.SwitchSync last_sync_error = 14;
98
98
  */
99
- lastSyncError?: SwitchSync;
99
+ lastSyncError?: SwitchSync | undefined;
100
100
  };
101
101
  /**
102
102
  * Describes the message metalstack.api.v2.Switch.
@@ -162,25 +162,25 @@ export type SwitchNic = Message<"metalstack.api.v2.SwitchNic"> & {
162
162
  *
163
163
  * @generated from field: optional string vrf = 4;
164
164
  */
165
- vrf?: string;
165
+ vrf?: string | undefined;
166
166
  /**
167
167
  * NicState describes the current state of the switch port.
168
168
  *
169
169
  * @generated from field: optional metalstack.api.v2.NicState state = 5;
170
170
  */
171
- state?: NicState;
171
+ state?: NicState | undefined;
172
172
  /**
173
173
  * BGPFilter optionally configured on a port.
174
174
  *
175
175
  * @generated from field: optional metalstack.api.v2.BGPFilter bgp_filter = 6;
176
176
  */
177
- bgpFilter?: BGPFilter;
177
+ bgpFilter?: BGPFilter | undefined;
178
178
  /**
179
179
  * BGPPortState represents the current BGP status of the port.
180
180
  *
181
181
  * @generated from field: optional metalstack.api.v2.SwitchBGPPortState bgp_port_state = 7;
182
182
  */
183
- bgpPortState?: SwitchBGPPortState;
183
+ bgpPortState?: SwitchBGPPortState | undefined;
184
184
  };
185
185
  /**
186
186
  * Describes the message metalstack.api.v2.SwitchNic.
@@ -246,7 +246,7 @@ export type SwitchBGPPortState = Message<"metalstack.api.v2.SwitchBGPPortState">
246
246
  *
247
247
  * @generated from field: google.protobuf.Timestamp bgp_timer_up_established = 5;
248
248
  */
249
- bgpTimerUpEstablished?: Timestamp;
249
+ bgpTimerUpEstablished?: Timestamp | undefined;
250
250
  /**
251
251
  * SentPrefixCounter counts the prefixes sent by the switch on this port.
252
252
  *
@@ -276,7 +276,7 @@ export type NicState = Message<"metalstack.api.v2.NicState"> & {
276
276
  *
277
277
  * @generated from field: optional metalstack.api.v2.SwitchPortStatus desired = 1;
278
278
  */
279
- desired?: SwitchPortStatus;
279
+ desired?: SwitchPortStatus | undefined;
280
280
  /**
281
281
  * Actual is the actual port state.
282
282
  *
@@ -306,7 +306,7 @@ export type MachineConnection = Message<"metalstack.api.v2.MachineConnection"> &
306
306
  *
307
307
  * @generated from field: metalstack.api.v2.SwitchNic nic = 2;
308
308
  */
309
- nic?: SwitchNic;
309
+ nic?: SwitchNic | undefined;
310
310
  };
311
311
  /**
312
312
  * Describes the message metalstack.api.v2.MachineConnection.
@@ -324,25 +324,25 @@ export type SwitchQuery = Message<"metalstack.api.v2.SwitchQuery"> & {
324
324
  *
325
325
  * @generated from field: optional string id = 1;
326
326
  */
327
- id?: string;
327
+ id?: string | undefined;
328
328
  /**
329
329
  * Partition of the switches to list.
330
330
  *
331
331
  * @generated from field: optional string partition = 2;
332
332
  */
333
- partition?: string;
333
+ partition?: string | undefined;
334
334
  /**
335
335
  * Rack of the switches to list.
336
336
  *
337
337
  * @generated from field: optional string rack = 3;
338
338
  */
339
- rack?: string;
339
+ rack?: string | undefined;
340
340
  /**
341
341
  * Switch OS specific queries.
342
342
  *
343
343
  * @generated from field: optional metalstack.api.v2.SwitchOSQuery os = 4;
344
344
  */
345
- os?: SwitchOSQuery;
345
+ os?: SwitchOSQuery | undefined;
346
346
  };
347
347
  /**
348
348
  * Describes the message metalstack.api.v2.SwitchQuery.
@@ -360,13 +360,13 @@ export type SwitchOSQuery = Message<"metalstack.api.v2.SwitchOSQuery"> & {
360
360
  *
361
361
  * @generated from field: optional metalstack.api.v2.SwitchOSVendor vendor = 1;
362
362
  */
363
- vendor?: SwitchOSVendor;
363
+ vendor?: SwitchOSVendor | undefined;
364
364
  /**
365
365
  * OsVersion of the OS by which to filter the switches.
366
366
  *
367
367
  * @generated from field: optional string version = 2;
368
368
  */
369
- version?: string;
369
+ version?: string | undefined;
370
370
  };
371
371
  /**
372
372
  * Describes the message metalstack.api.v2.SwitchOSQuery.
@@ -384,19 +384,19 @@ export type SwitchSync = Message<"metalstack.api.v2.SwitchSync"> & {
384
384
  *
385
385
  * @generated from field: google.protobuf.Timestamp time = 1;
386
386
  */
387
- time?: Timestamp;
387
+ time?: Timestamp | undefined;
388
388
  /**
389
389
  * Duration of the sync.
390
390
  *
391
391
  * @generated from field: google.protobuf.Duration duration = 2;
392
392
  */
393
- duration?: Duration;
393
+ duration?: Duration | undefined;
394
394
  /**
395
395
  * Error if any occurred.
396
396
  *
397
397
  * @generated from field: optional string error = 3;
398
398
  */
399
- error?: string;
399
+ error?: string | undefined;
400
400
  };
401
401
  /**
402
402
  * Describes the message metalstack.api.v2.SwitchSync.
@@ -450,19 +450,19 @@ export type SwitchNicWithMachine = Message<"metalstack.api.v2.SwitchNicWithMachi
450
450
  *
451
451
  * @generated from field: metalstack.api.v2.SwitchNic nic = 1;
452
452
  */
453
- nic?: SwitchNic;
453
+ nic?: SwitchNic | undefined;
454
454
  /**
455
455
  * Machine connected to this nic.
456
456
  *
457
457
  * @generated from field: metalstack.api.v2.Machine machine = 2;
458
458
  */
459
- machine?: Machine;
459
+ machine?: Machine | undefined;
460
460
  /**
461
461
  * FRU of the connected machine.
462
462
  *
463
463
  * @generated from field: metalstack.api.v2.MachineFRU fru = 3;
464
464
  */
465
- fru?: MachineFRU;
465
+ fru?: MachineFRU | undefined;
466
466
  };
467
467
  /**
468
468
  * Describes the message metalstack.api.v2.SwitchNicWithMachine.
@@ -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/switch.proto (package metalstack.api.v2, syntax proto3)
3
3
  /* eslint-disable */
4
4
  import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
@@ -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/switch.proto (package metalstack.api.v2, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -38,7 +38,7 @@ export type Switch = Message<"metalstack.api.v2.Switch"> & {
38
38
  *
39
39
  * @generated from field: metalstack.api.v2.Meta meta = 2;
40
40
  */
41
- meta?: Meta;
41
+ meta?: Meta | undefined;
42
42
 
43
43
  /**
44
44
  * Description of the switch.
@@ -52,7 +52,7 @@ export type Switch = Message<"metalstack.api.v2.Switch"> & {
52
52
  *
53
53
  * @generated from field: optional string rack = 4;
54
54
  */
55
- rack?: string;
55
+ rack?: string | undefined;
56
56
 
57
57
  /**
58
58
  * Partition the switch belongs to.
@@ -80,14 +80,14 @@ export type Switch = Message<"metalstack.api.v2.Switch"> & {
80
80
  *
81
81
  * @generated from field: optional string management_user = 8;
82
82
  */
83
- managementUser?: string;
83
+ managementUser?: string | undefined;
84
84
 
85
85
  /**
86
86
  * ConsoleCommand is the command for accessing the switch's console.
87
87
  *
88
88
  * @generated from field: optional string console_command = 9;
89
89
  */
90
- consoleCommand?: string;
90
+ consoleCommand?: string | undefined;
91
91
 
92
92
  /**
93
93
  * Nics are the front panel ports of the switch.
@@ -101,7 +101,7 @@ export type Switch = Message<"metalstack.api.v2.Switch"> & {
101
101
  *
102
102
  * @generated from field: metalstack.api.v2.SwitchOS os = 11;
103
103
  */
104
- os?: SwitchOS;
104
+ os?: SwitchOS | undefined;
105
105
 
106
106
  /**
107
107
  * MachineConnections map machines to the nics they are connected to.
@@ -115,14 +115,14 @@ export type Switch = Message<"metalstack.api.v2.Switch"> & {
115
115
  *
116
116
  * @generated from field: metalstack.api.v2.SwitchSync last_sync = 13;
117
117
  */
118
- lastSync?: SwitchSync;
118
+ lastSync?: SwitchSync | undefined;
119
119
 
120
120
  /**
121
121
  * LastSyncError contains information about the last unsuccessful heartbeat of the switch.
122
122
  *
123
123
  * @generated from field: metalstack.api.v2.SwitchSync last_sync_error = 14;
124
124
  */
125
- lastSyncError?: SwitchSync;
125
+ lastSyncError?: SwitchSync | undefined;
126
126
  };
127
127
 
128
128
  /**
@@ -199,28 +199,28 @@ export type SwitchNic = Message<"metalstack.api.v2.SwitchNic"> & {
199
199
  *
200
200
  * @generated from field: optional string vrf = 4;
201
201
  */
202
- vrf?: string;
202
+ vrf?: string | undefined;
203
203
 
204
204
  /**
205
205
  * NicState describes the current state of the switch port.
206
206
  *
207
207
  * @generated from field: optional metalstack.api.v2.NicState state = 5;
208
208
  */
209
- state?: NicState;
209
+ state?: NicState | undefined;
210
210
 
211
211
  /**
212
212
  * BGPFilter optionally configured on a port.
213
213
  *
214
214
  * @generated from field: optional metalstack.api.v2.BGPFilter bgp_filter = 6;
215
215
  */
216
- bgpFilter?: BGPFilter;
216
+ bgpFilter?: BGPFilter | undefined;
217
217
 
218
218
  /**
219
219
  * BGPPortState represents the current BGP status of the port.
220
220
  *
221
221
  * @generated from field: optional metalstack.api.v2.SwitchBGPPortState bgp_port_state = 7;
222
222
  */
223
- bgpPortState?: SwitchBGPPortState;
223
+ bgpPortState?: SwitchBGPPortState | undefined;
224
224
  };
225
225
 
226
226
  /**
@@ -297,7 +297,7 @@ export type SwitchBGPPortState = Message<"metalstack.api.v2.SwitchBGPPortState">
297
297
  *
298
298
  * @generated from field: google.protobuf.Timestamp bgp_timer_up_established = 5;
299
299
  */
300
- bgpTimerUpEstablished?: Timestamp;
300
+ bgpTimerUpEstablished?: Timestamp | undefined;
301
301
 
302
302
  /**
303
303
  * SentPrefixCounter counts the prefixes sent by the switch on this port.
@@ -332,7 +332,7 @@ export type NicState = Message<"metalstack.api.v2.NicState"> & {
332
332
  *
333
333
  * @generated from field: optional metalstack.api.v2.SwitchPortStatus desired = 1;
334
334
  */
335
- desired?: SwitchPortStatus;
335
+ desired?: SwitchPortStatus | undefined;
336
336
 
337
337
  /**
338
338
  * Actual is the actual port state.
@@ -367,7 +367,7 @@ export type MachineConnection = Message<"metalstack.api.v2.MachineConnection"> &
367
367
  *
368
368
  * @generated from field: metalstack.api.v2.SwitchNic nic = 2;
369
369
  */
370
- nic?: SwitchNic;
370
+ nic?: SwitchNic | undefined;
371
371
  };
372
372
 
373
373
  /**
@@ -388,28 +388,28 @@ export type SwitchQuery = Message<"metalstack.api.v2.SwitchQuery"> & {
388
388
  *
389
389
  * @generated from field: optional string id = 1;
390
390
  */
391
- id?: string;
391
+ id?: string | undefined;
392
392
 
393
393
  /**
394
394
  * Partition of the switches to list.
395
395
  *
396
396
  * @generated from field: optional string partition = 2;
397
397
  */
398
- partition?: string;
398
+ partition?: string | undefined;
399
399
 
400
400
  /**
401
401
  * Rack of the switches to list.
402
402
  *
403
403
  * @generated from field: optional string rack = 3;
404
404
  */
405
- rack?: string;
405
+ rack?: string | undefined;
406
406
 
407
407
  /**
408
408
  * Switch OS specific queries.
409
409
  *
410
410
  * @generated from field: optional metalstack.api.v2.SwitchOSQuery os = 4;
411
411
  */
412
- os?: SwitchOSQuery;
412
+ os?: SwitchOSQuery | undefined;
413
413
  };
414
414
 
415
415
  /**
@@ -430,14 +430,14 @@ export type SwitchOSQuery = Message<"metalstack.api.v2.SwitchOSQuery"> & {
430
430
  *
431
431
  * @generated from field: optional metalstack.api.v2.SwitchOSVendor vendor = 1;
432
432
  */
433
- vendor?: SwitchOSVendor;
433
+ vendor?: SwitchOSVendor | undefined;
434
434
 
435
435
  /**
436
436
  * OsVersion of the OS by which to filter the switches.
437
437
  *
438
438
  * @generated from field: optional string version = 2;
439
439
  */
440
- version?: string;
440
+ version?: string | undefined;
441
441
  };
442
442
 
443
443
  /**
@@ -458,21 +458,21 @@ export type SwitchSync = Message<"metalstack.api.v2.SwitchSync"> & {
458
458
  *
459
459
  * @generated from field: google.protobuf.Timestamp time = 1;
460
460
  */
461
- time?: Timestamp;
461
+ time?: Timestamp | undefined;
462
462
 
463
463
  /**
464
464
  * Duration of the sync.
465
465
  *
466
466
  * @generated from field: google.protobuf.Duration duration = 2;
467
467
  */
468
- duration?: Duration;
468
+ duration?: Duration | undefined;
469
469
 
470
470
  /**
471
471
  * Error if any occurred.
472
472
  *
473
473
  * @generated from field: optional string error = 3;
474
474
  */
475
- error?: string;
475
+ error?: string | undefined;
476
476
  };
477
477
 
478
478
  /**
@@ -535,21 +535,21 @@ export type SwitchNicWithMachine = Message<"metalstack.api.v2.SwitchNicWithMachi
535
535
  *
536
536
  * @generated from field: metalstack.api.v2.SwitchNic nic = 1;
537
537
  */
538
- nic?: SwitchNic;
538
+ nic?: SwitchNic | undefined;
539
539
 
540
540
  /**
541
541
  * Machine connected to this nic.
542
542
  *
543
543
  * @generated from field: metalstack.api.v2.Machine machine = 2;
544
544
  */
545
- machine?: Machine;
545
+ machine?: Machine | undefined;
546
546
 
547
547
  /**
548
548
  * FRU of the connected machine.
549
549
  *
550
550
  * @generated from field: metalstack.api.v2.MachineFRU fru = 3;
551
551
  */
552
- fru?: MachineFRU;
552
+ fru?: MachineFRU | undefined;
553
553
  };
554
554
 
555
555
  /**