@metal-stack/api 0.0.61 → 0.1.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.
Files changed (135) 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 +2 -2
  5. package/js/metalstack/admin/v2/audit_pb.ts +5 -5
  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 +122 -8
  10. package/js/metalstack/admin/v2/filesystem_pb.js +22 -2
  11. package/js/metalstack/admin/v2/filesystem_pb.ts +135 -10
  12. package/js/metalstack/admin/v2/image_pb.d.ts +10 -10
  13. package/js/metalstack/admin/v2/image_pb.js +2 -2
  14. package/js/metalstack/admin/v2/image_pb.ts +12 -12
  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 +8 -8
  19. package/js/metalstack/admin/v2/machine_pb.js +2 -2
  20. package/js/metalstack/admin/v2/machine_pb.ts +10 -10
  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 +2 -2
  35. package/js/metalstack/admin/v2/size_pb.ts +10 -10
  36. package/js/metalstack/admin/v2/size_reservation_pb.d.ts +10 -10
  37. package/js/metalstack/admin/v2/size_reservation_pb.js +2 -2
  38. package/js/metalstack/admin/v2/size_reservation_pb.ts +12 -12
  39. package/js/metalstack/admin/v2/switch_pb.d.ts +16 -16
  40. package/js/metalstack/admin/v2/switch_pb.js +2 -2
  41. package/js/metalstack/admin/v2/switch_pb.ts +18 -18
  42. package/js/metalstack/admin/v2/task_pb.d.ts +10 -10
  43. package/js/metalstack/admin/v2/task_pb.js +2 -2
  44. package/js/metalstack/admin/v2/task_pb.ts +12 -12
  45. package/js/metalstack/admin/v2/tenant_pb.d.ts +9 -9
  46. package/js/metalstack/admin/v2/tenant_pb.js +2 -2
  47. package/js/metalstack/admin/v2/tenant_pb.ts +11 -11
  48. package/js/metalstack/admin/v2/token_pb.d.ts +4 -4
  49. package/js/metalstack/admin/v2/token_pb.js +2 -2
  50. package/js/metalstack/admin/v2/token_pb.ts +6 -6
  51. package/js/metalstack/admin/v2/vpn_pb.d.ts +4 -4
  52. package/js/metalstack/admin/v2/vpn_pb.js +2 -2
  53. package/js/metalstack/admin/v2/vpn_pb.ts +6 -6
  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 +8 -8
  58. package/js/metalstack/api/v2/common_pb.js +2 -2
  59. package/js/metalstack/api/v2/common_pb.ts +9 -9
  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 +12 -126
  64. package/js/metalstack/api/v2/filesystem_pb.js +10 -30
  65. package/js/metalstack/api/v2/filesystem_pb.ts +22 -147
  66. package/js/metalstack/api/v2/health_pb.d.ts +4 -4
  67. package/js/metalstack/api/v2/health_pb.js +5 -5
  68. package/js/metalstack/api/v2/health_pb.ts +6 -6
  69. package/js/metalstack/api/v2/image_pb.d.ts +22 -22
  70. package/js/metalstack/api/v2/image_pb.js +1 -1
  71. package/js/metalstack/api/v2/image_pb.ts +23 -23
  72. package/js/metalstack/api/v2/ip_pb.d.ts +32 -32
  73. package/js/metalstack/api/v2/ip_pb.js +2 -2
  74. package/js/metalstack/api/v2/ip_pb.ts +34 -34
  75. package/js/metalstack/api/v2/machine_pb.d.ts +98 -98
  76. package/js/metalstack/api/v2/machine_pb.js +2 -2
  77. package/js/metalstack/api/v2/machine_pb.ts +100 -100
  78. package/js/metalstack/api/v2/method_pb.d.ts +2 -2
  79. package/js/metalstack/api/v2/method_pb.js +2 -2
  80. package/js/metalstack/api/v2/method_pb.ts +4 -4
  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 +9 -9
  85. package/js/metalstack/api/v2/partition_pb.js +2 -2
  86. package/js/metalstack/api/v2/partition_pb.ts +11 -11
  87. package/js/metalstack/api/v2/predefined_rules_pb.d.ts +1 -1
  88. package/js/metalstack/api/v2/predefined_rules_pb.js +2 -2
  89. package/js/metalstack/api/v2/predefined_rules_pb.ts +2 -2
  90. package/js/metalstack/api/v2/project_pb.d.ts +27 -27
  91. package/js/metalstack/api/v2/project_pb.js +2 -2
  92. package/js/metalstack/api/v2/project_pb.ts +29 -29
  93. package/js/metalstack/api/v2/size_imageconstraint_pb.d.ts +6 -6
  94. package/js/metalstack/api/v2/size_imageconstraint_pb.js +1 -1
  95. package/js/metalstack/api/v2/size_imageconstraint_pb.ts +7 -7
  96. package/js/metalstack/api/v2/size_pb.d.ts +10 -10
  97. package/js/metalstack/api/v2/size_pb.js +1 -1
  98. package/js/metalstack/api/v2/size_pb.ts +11 -11
  99. package/js/metalstack/api/v2/size_reservation_pb.d.ts +10 -10
  100. package/js/metalstack/api/v2/size_reservation_pb.js +1 -1
  101. package/js/metalstack/api/v2/size_reservation_pb.ts +11 -11
  102. package/js/metalstack/api/v2/switch_pb.d.ts +26 -26
  103. package/js/metalstack/api/v2/switch_pb.js +1 -1
  104. package/js/metalstack/api/v2/switch_pb.ts +27 -27
  105. package/js/metalstack/api/v2/tenant_pb.d.ts +25 -25
  106. package/js/metalstack/api/v2/tenant_pb.js +1 -1
  107. package/js/metalstack/api/v2/tenant_pb.ts +26 -26
  108. package/js/metalstack/api/v2/token_pb.d.ts +18 -18
  109. package/js/metalstack/api/v2/token_pb.js +2 -2
  110. package/js/metalstack/api/v2/token_pb.ts +20 -20
  111. package/js/metalstack/api/v2/user_pb.d.ts +2 -2
  112. package/js/metalstack/api/v2/user_pb.js +1 -1
  113. package/js/metalstack/api/v2/user_pb.ts +3 -3
  114. package/js/metalstack/api/v2/version_pb.d.ts +1 -1
  115. package/js/metalstack/api/v2/version_pb.js +1 -1
  116. package/js/metalstack/api/v2/version_pb.ts +2 -2
  117. package/js/metalstack/api/v2/vpn_pb.d.ts +1 -1
  118. package/js/metalstack/api/v2/vpn_pb.js +4 -2
  119. package/js/metalstack/api/v2/vpn_pb.ts +5 -3
  120. package/js/metalstack/infra/v2/bmc_pb.d.ts +2 -2
  121. package/js/metalstack/infra/v2/bmc_pb.js +1 -1
  122. package/js/metalstack/infra/v2/bmc_pb.ts +3 -3
  123. package/js/metalstack/infra/v2/boot_pb.d.ts +6 -6
  124. package/js/metalstack/infra/v2/boot_pb.js +1 -1
  125. package/js/metalstack/infra/v2/boot_pb.ts +7 -7
  126. package/js/metalstack/infra/v2/component_pb.d.ts +3 -3
  127. package/js/metalstack/infra/v2/component_pb.js +1 -1
  128. package/js/metalstack/infra/v2/component_pb.ts +4 -4
  129. package/js/metalstack/infra/v2/event_pb.d.ts +3 -116
  130. package/js/metalstack/infra/v2/event_pb.js +4 -92
  131. package/js/metalstack/infra/v2/event_pb.ts +7 -138
  132. package/js/metalstack/infra/v2/switch_pb.d.ts +7 -7
  133. package/js/metalstack/infra/v2/switch_pb.js +1 -1
  134. package/js/metalstack/infra/v2/switch_pb.ts +8 -8
  135. package/package.json +1 -1
@@ -34,7 +34,7 @@ export type SizeServiceListRequest = Message<"metalstack.api.v2.SizeServiceListR
34
34
  *
35
35
  * @generated from field: metalstack.api.v2.SizeQuery query = 1;
36
36
  */
37
- query?: SizeQuery;
37
+ query?: SizeQuery | undefined;
38
38
  };
39
39
  /**
40
40
  * Describes the message metalstack.api.v2.SizeServiceListRequest.
@@ -52,7 +52,7 @@ export type SizeServiceGetResponse = Message<"metalstack.api.v2.SizeServiceGetRe
52
52
  *
53
53
  * @generated from field: metalstack.api.v2.Size size = 1;
54
54
  */
55
- size?: Size;
55
+ size?: Size | undefined;
56
56
  };
57
57
  /**
58
58
  * Describes the message metalstack.api.v2.SizeServiceGetResponse.
@@ -94,19 +94,19 @@ export type Size = Message<"metalstack.api.v2.Size"> & {
94
94
  *
95
95
  * @generated from field: metalstack.api.v2.Meta meta = 2;
96
96
  */
97
- meta?: Meta;
97
+ meta?: Meta | undefined;
98
98
  /**
99
99
  * Name of this size
100
100
  *
101
101
  * @generated from field: optional string name = 3;
102
102
  */
103
- name?: string;
103
+ name?: string | undefined;
104
104
  /**
105
105
  * Description of this size
106
106
  *
107
107
  * @generated from field: optional string description = 4;
108
108
  */
109
- description?: string;
109
+ description?: string | undefined;
110
110
  /**
111
111
  * Constraints which must match that a specific machine is considered of this size
112
112
  *
@@ -148,7 +148,7 @@ export type SizeConstraint = Message<"metalstack.api.v2.SizeConstraint"> & {
148
148
  *
149
149
  * @generated from field: optional string identifier = 4;
150
150
  */
151
- identifier?: string;
151
+ identifier?: string | undefined;
152
152
  };
153
153
  /**
154
154
  * Describes the message metalstack.api.v2.SizeConstraint.
@@ -166,25 +166,25 @@ export type SizeQuery = Message<"metalstack.api.v2.SizeQuery"> & {
166
166
  *
167
167
  * @generated from field: optional string id = 1;
168
168
  */
169
- id?: string;
169
+ id?: string | undefined;
170
170
  /**
171
171
  * Name of the size to query
172
172
  *
173
173
  * @generated from field: optional string name = 2;
174
174
  */
175
- name?: string;
175
+ name?: string | undefined;
176
176
  /**
177
177
  * Description of the size to query
178
178
  *
179
179
  * @generated from field: optional string description = 3;
180
180
  */
181
- description?: string;
181
+ description?: string | undefined;
182
182
  /**
183
183
  * Labels lists only sizes containing the given labels
184
184
  *
185
185
  * @generated from field: optional metalstack.api.v2.Labels labels = 4;
186
186
  */
187
- labels?: Labels;
187
+ labels?: Labels | undefined;
188
188
  };
189
189
  /**
190
190
  * Describes the message metalstack.api.v2.SizeQuery.
@@ -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
  import { enumDesc, 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.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";