@metal-stack/api 0.0.60 → 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.
- package/js/buf/validate/validate_pb.d.ts +9 -9
- package/js/buf/validate/validate_pb.ts +10 -10
- package/js/metalstack/admin/v2/audit_pb.d.ts +3 -3
- package/js/metalstack/admin/v2/audit_pb.js +1 -1
- package/js/metalstack/admin/v2/audit_pb.ts +4 -4
- package/js/metalstack/admin/v2/component_pb.d.ts +3 -3
- package/js/metalstack/admin/v2/component_pb.js +1 -1
- package/js/metalstack/admin/v2/component_pb.ts +4 -4
- package/js/metalstack/admin/v2/filesystem_pb.d.ts +8 -8
- package/js/metalstack/admin/v2/filesystem_pb.js +1 -1
- package/js/metalstack/admin/v2/filesystem_pb.ts +9 -9
- package/js/metalstack/admin/v2/image_pb.d.ts +10 -10
- package/js/metalstack/admin/v2/image_pb.js +1 -1
- package/js/metalstack/admin/v2/image_pb.ts +11 -11
- package/js/metalstack/admin/v2/ip_pb.d.ts +1 -1
- package/js/metalstack/admin/v2/ip_pb.js +1 -1
- package/js/metalstack/admin/v2/ip_pb.ts +2 -2
- package/js/metalstack/admin/v2/machine_pb.d.ts +5 -5
- package/js/metalstack/admin/v2/machine_pb.js +1 -1
- package/js/metalstack/admin/v2/machine_pb.ts +6 -6
- package/js/metalstack/admin/v2/network_pb.d.ts +26 -26
- package/js/metalstack/admin/v2/network_pb.js +2 -2
- package/js/metalstack/admin/v2/network_pb.ts +28 -28
- package/js/metalstack/admin/v2/partition_pb.d.ts +11 -11
- package/js/metalstack/admin/v2/partition_pb.js +1 -1
- package/js/metalstack/admin/v2/partition_pb.ts +12 -12
- package/js/metalstack/admin/v2/project_pb.d.ts +2 -2
- package/js/metalstack/admin/v2/project_pb.js +1 -1
- package/js/metalstack/admin/v2/project_pb.ts +3 -3
- package/js/metalstack/admin/v2/size_imageconstraint_pb.d.ts +11 -11
- package/js/metalstack/admin/v2/size_imageconstraint_pb.js +1 -1
- package/js/metalstack/admin/v2/size_imageconstraint_pb.ts +12 -12
- package/js/metalstack/admin/v2/size_pb.d.ts +8 -8
- package/js/metalstack/admin/v2/size_pb.js +1 -1
- package/js/metalstack/admin/v2/size_pb.ts +9 -9
- package/js/metalstack/admin/v2/size_reservation_pb.d.ts +10 -10
- package/js/metalstack/admin/v2/size_reservation_pb.js +1 -1
- package/js/metalstack/admin/v2/size_reservation_pb.ts +11 -11
- package/js/metalstack/admin/v2/switch_pb.d.ts +16 -16
- package/js/metalstack/admin/v2/switch_pb.js +1 -1
- package/js/metalstack/admin/v2/switch_pb.ts +17 -17
- package/js/metalstack/admin/v2/task_pb.d.ts +10 -10
- package/js/metalstack/admin/v2/task_pb.js +1 -1
- package/js/metalstack/admin/v2/task_pb.ts +11 -11
- package/js/metalstack/admin/v2/tenant_pb.d.ts +9 -9
- package/js/metalstack/admin/v2/tenant_pb.js +1 -1
- package/js/metalstack/admin/v2/tenant_pb.ts +10 -10
- package/js/metalstack/admin/v2/token_pb.d.ts +4 -4
- package/js/metalstack/admin/v2/token_pb.js +1 -1
- package/js/metalstack/admin/v2/token_pb.ts +5 -5
- package/js/metalstack/admin/v2/vpn_pb.d.ts +4 -4
- package/js/metalstack/admin/v2/vpn_pb.js +1 -1
- package/js/metalstack/admin/v2/vpn_pb.ts +5 -5
- package/js/metalstack/api/v2/audit_pb.d.ts +18 -18
- package/js/metalstack/api/v2/audit_pb.js +1 -1
- package/js/metalstack/api/v2/audit_pb.ts +19 -19
- package/js/metalstack/api/v2/common_pb.d.ts +9 -9
- package/js/metalstack/api/v2/common_pb.js +5 -4
- package/js/metalstack/api/v2/common_pb.ts +12 -11
- package/js/metalstack/api/v2/component_pb.d.ts +8 -8
- package/js/metalstack/api/v2/component_pb.js +1 -1
- package/js/metalstack/api/v2/component_pb.ts +9 -9
- package/js/metalstack/api/v2/filesystem_pb.d.ts +13 -13
- package/js/metalstack/api/v2/filesystem_pb.js +2 -2
- package/js/metalstack/api/v2/filesystem_pb.ts +15 -15
- package/js/metalstack/api/v2/health_pb.d.ts +1 -1
- package/js/metalstack/api/v2/health_pb.js +1 -1
- package/js/metalstack/api/v2/health_pb.ts +2 -2
- package/js/metalstack/api/v2/image_pb.d.ts +18 -18
- package/js/metalstack/api/v2/image_pb.js +2 -2
- package/js/metalstack/api/v2/image_pb.ts +20 -20
- package/js/metalstack/api/v2/ip_pb.d.ts +31 -31
- package/js/metalstack/api/v2/ip_pb.js +1 -1
- package/js/metalstack/api/v2/ip_pb.ts +32 -32
- package/js/metalstack/api/v2/machine_pb.d.ts +116 -139
- package/js/metalstack/api/v2/machine_pb.js +33 -38
- package/js/metalstack/api/v2/machine_pb.ts +145 -173
- package/js/metalstack/api/v2/method_pb.d.ts +2 -2
- package/js/metalstack/api/v2/method_pb.js +2 -2
- package/js/metalstack/api/v2/method_pb.ts +4 -4
- package/js/metalstack/api/v2/network_pb.d.ts +52 -52
- package/js/metalstack/api/v2/network_pb.js +2 -2
- package/js/metalstack/api/v2/network_pb.ts +54 -54
- package/js/metalstack/api/v2/partition_pb.d.ts +6 -6
- package/js/metalstack/api/v2/partition_pb.js +2 -2
- package/js/metalstack/api/v2/partition_pb.ts +8 -8
- package/js/metalstack/api/v2/predefined_rules_pb.d.ts +13 -1
- package/js/metalstack/api/v2/predefined_rules_pb.js +14 -2
- package/js/metalstack/api/v2/predefined_rules_pb.ts +19 -3
- package/js/metalstack/api/v2/project_pb.d.ts +24 -24
- package/js/metalstack/api/v2/project_pb.js +2 -2
- package/js/metalstack/api/v2/project_pb.ts +26 -26
- package/js/metalstack/api/v2/size_imageconstraint_pb.d.ts +6 -6
- package/js/metalstack/api/v2/size_imageconstraint_pb.js +2 -2
- package/js/metalstack/api/v2/size_imageconstraint_pb.ts +8 -8
- package/js/metalstack/api/v2/size_pb.d.ts +10 -10
- package/js/metalstack/api/v2/size_pb.js +2 -2
- package/js/metalstack/api/v2/size_pb.ts +12 -12
- package/js/metalstack/api/v2/size_reservation_pb.d.ts +10 -10
- package/js/metalstack/api/v2/size_reservation_pb.js +1 -1
- package/js/metalstack/api/v2/size_reservation_pb.ts +11 -11
- package/js/metalstack/api/v2/switch_pb.d.ts +26 -26
- package/js/metalstack/api/v2/switch_pb.js +1 -1
- package/js/metalstack/api/v2/switch_pb.ts +27 -27
- package/js/metalstack/api/v2/tenant_pb.d.ts +24 -24
- package/js/metalstack/api/v2/tenant_pb.js +2 -2
- package/js/metalstack/api/v2/tenant_pb.ts +26 -26
- package/js/metalstack/api/v2/token_pb.d.ts +18 -18
- package/js/metalstack/api/v2/token_pb.js +2 -2
- package/js/metalstack/api/v2/token_pb.ts +20 -20
- package/js/metalstack/api/v2/user_pb.d.ts +2 -2
- package/js/metalstack/api/v2/user_pb.js +2 -2
- package/js/metalstack/api/v2/user_pb.ts +4 -4
- package/js/metalstack/api/v2/version_pb.d.ts +1 -1
- package/js/metalstack/api/v2/version_pb.js +1 -1
- package/js/metalstack/api/v2/version_pb.ts +2 -2
- package/js/metalstack/api/v2/vpn_pb.d.ts +1 -1
- package/js/metalstack/api/v2/vpn_pb.js +1 -1
- package/js/metalstack/api/v2/vpn_pb.ts +2 -2
- package/js/metalstack/infra/v2/bmc_pb.d.ts +2 -2
- package/js/metalstack/infra/v2/bmc_pb.js +1 -1
- package/js/metalstack/infra/v2/bmc_pb.ts +3 -3
- package/js/metalstack/infra/v2/boot_pb.d.ts +6 -6
- package/js/metalstack/infra/v2/boot_pb.js +1 -1
- package/js/metalstack/infra/v2/boot_pb.ts +7 -7
- package/js/metalstack/infra/v2/component_pb.d.ts +3 -3
- package/js/metalstack/infra/v2/component_pb.js +1 -1
- package/js/metalstack/infra/v2/component_pb.ts +4 -4
- package/js/metalstack/infra/v2/event_pb.d.ts +1 -1
- package/js/metalstack/infra/v2/event_pb.js +1 -1
- package/js/metalstack/infra/v2/event_pb.ts +2 -2
- package/js/metalstack/infra/v2/switch_pb.d.ts +7 -7
- package/js/metalstack/infra/v2/switch_pb.js +1 -1
- package/js/metalstack/infra/v2/switch_pb.ts +8 -8
- package/package.json +1 -1
|
@@ -37,7 +37,7 @@ export type SwitchServiceGetResponse = Message<"metalstack.admin.v2.SwitchServic
|
|
|
37
37
|
*
|
|
38
38
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
39
39
|
*/
|
|
40
|
-
switch?: Switch;
|
|
40
|
+
switch?: Switch | undefined;
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
43
|
* Describes the message metalstack.admin.v2.SwitchServiceGetResponse.
|
|
@@ -55,7 +55,7 @@ export type SwitchServiceListRequest = Message<"metalstack.admin.v2.SwitchServic
|
|
|
55
55
|
*
|
|
56
56
|
* @generated from field: metalstack.api.v2.SwitchQuery query = 1;
|
|
57
57
|
*/
|
|
58
|
-
query?: SwitchQuery;
|
|
58
|
+
query?: SwitchQuery | undefined;
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
61
|
* Describes the message metalstack.admin.v2.SwitchServiceListRequest.
|
|
@@ -97,44 +97,44 @@ export type SwitchServiceUpdateRequest = Message<"metalstack.admin.v2.SwitchServ
|
|
|
97
97
|
*
|
|
98
98
|
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
99
99
|
*/
|
|
100
|
-
updateMeta?: UpdateMeta;
|
|
100
|
+
updateMeta?: UpdateMeta | undefined;
|
|
101
101
|
/**
|
|
102
102
|
* UpdatedAt is the date when this entity was updated
|
|
103
103
|
* Must be part of the update request to ensure optimistic locking
|
|
104
104
|
*
|
|
105
105
|
* @generated from field: google.protobuf.Timestamp updated_at = 3;
|
|
106
106
|
*/
|
|
107
|
-
updatedAt?: Timestamp;
|
|
107
|
+
updatedAt?: Timestamp | undefined;
|
|
108
108
|
/**
|
|
109
109
|
* Description of the switch
|
|
110
110
|
*
|
|
111
111
|
* @generated from field: optional string description = 4;
|
|
112
112
|
*/
|
|
113
|
-
description?: string;
|
|
113
|
+
description?: string | undefined;
|
|
114
114
|
/**
|
|
115
115
|
* ReplaceMode is used to mark a switch ready for replacement
|
|
116
116
|
*
|
|
117
117
|
* @generated from field: optional metalstack.api.v2.SwitchReplaceMode replace_mode = 5;
|
|
118
118
|
*/
|
|
119
|
-
replaceMode?: SwitchReplaceMode;
|
|
119
|
+
replaceMode?: SwitchReplaceMode | undefined;
|
|
120
120
|
/**
|
|
121
121
|
* ManagementIp is the switch's IP for management access
|
|
122
122
|
*
|
|
123
123
|
* @generated from field: optional string management_ip = 6;
|
|
124
124
|
*/
|
|
125
|
-
managementIp?: string;
|
|
125
|
+
managementIp?: string | undefined;
|
|
126
126
|
/**
|
|
127
127
|
* ManagementUser is the user name to use for management access
|
|
128
128
|
*
|
|
129
129
|
* @generated from field: optional string management_user = 7;
|
|
130
130
|
*/
|
|
131
|
-
managementUser?: string;
|
|
131
|
+
managementUser?: string | undefined;
|
|
132
132
|
/**
|
|
133
133
|
* ConsoleCommand is the command for accessing the switch's console
|
|
134
134
|
*
|
|
135
135
|
* @generated from field: optional string console_command = 8;
|
|
136
136
|
*/
|
|
137
|
-
consoleCommand?: string;
|
|
137
|
+
consoleCommand?: string | undefined;
|
|
138
138
|
/**
|
|
139
139
|
* Nics are the front panel ports of the switch
|
|
140
140
|
*
|
|
@@ -146,7 +146,7 @@ export type SwitchServiceUpdateRequest = Message<"metalstack.admin.v2.SwitchServ
|
|
|
146
146
|
*
|
|
147
147
|
* @generated from field: optional metalstack.api.v2.SwitchOS os = 10;
|
|
148
148
|
*/
|
|
149
|
-
os?: SwitchOS;
|
|
149
|
+
os?: SwitchOS | undefined;
|
|
150
150
|
};
|
|
151
151
|
/**
|
|
152
152
|
* Describes the message metalstack.admin.v2.SwitchServiceUpdateRequest.
|
|
@@ -164,7 +164,7 @@ export type SwitchServiceUpdateResponse = Message<"metalstack.admin.v2.SwitchSer
|
|
|
164
164
|
*
|
|
165
165
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
166
166
|
*/
|
|
167
|
-
switch?: Switch;
|
|
167
|
+
switch?: Switch | undefined;
|
|
168
168
|
};
|
|
169
169
|
/**
|
|
170
170
|
* Describes the message metalstack.admin.v2.SwitchServiceUpdateResponse.
|
|
@@ -206,7 +206,7 @@ export type SwitchServiceDeleteResponse = Message<"metalstack.admin.v2.SwitchSer
|
|
|
206
206
|
*
|
|
207
207
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
208
208
|
*/
|
|
209
|
-
switch?: Switch;
|
|
209
|
+
switch?: Switch | undefined;
|
|
210
210
|
};
|
|
211
211
|
/**
|
|
212
212
|
* Describes the message metalstack.admin.v2.SwitchServiceDeleteResponse.
|
|
@@ -248,7 +248,7 @@ export type SwitchServiceMigrateResponse = Message<"metalstack.admin.v2.SwitchSe
|
|
|
248
248
|
*
|
|
249
249
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
250
250
|
*/
|
|
251
|
-
switch?: Switch;
|
|
251
|
+
switch?: Switch | undefined;
|
|
252
252
|
};
|
|
253
253
|
/**
|
|
254
254
|
* Describes the message metalstack.admin.v2.SwitchServiceMigrateResponse.
|
|
@@ -296,7 +296,7 @@ export type SwitchServicePortResponse = Message<"metalstack.admin.v2.SwitchServi
|
|
|
296
296
|
*
|
|
297
297
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
298
298
|
*/
|
|
299
|
-
switch?: Switch;
|
|
299
|
+
switch?: Switch | undefined;
|
|
300
300
|
};
|
|
301
301
|
/**
|
|
302
302
|
* Describes the message metalstack.admin.v2.SwitchServicePortResponse.
|
|
@@ -314,13 +314,13 @@ export type SwitchServiceConnectedMachinesRequest = Message<"metalstack.admin.v2
|
|
|
314
314
|
*
|
|
315
315
|
* @generated from field: metalstack.api.v2.SwitchQuery query = 1;
|
|
316
316
|
*/
|
|
317
|
-
query?: SwitchQuery;
|
|
317
|
+
query?: SwitchQuery | undefined;
|
|
318
318
|
/**
|
|
319
319
|
* MachineQuery to filter the machine results
|
|
320
320
|
*
|
|
321
321
|
* @generated from field: metalstack.api.v2.MachineQuery machine_query = 2;
|
|
322
322
|
*/
|
|
323
|
-
machineQuery?: MachineQuery;
|
|
323
|
+
machineQuery?: MachineQuery | undefined;
|
|
324
324
|
};
|
|
325
325
|
/**
|
|
326
326
|
* Describes the message metalstack.admin.v2.SwitchServiceConnectedMachinesRequest.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/admin/v2/switch.proto (package metalstack.admin.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.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/admin/v2/switch.proto (package metalstack.admin.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -54,7 +54,7 @@ export type SwitchServiceGetResponse = Message<"metalstack.admin.v2.SwitchServic
|
|
|
54
54
|
*
|
|
55
55
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
56
56
|
*/
|
|
57
|
-
switch?: Switch;
|
|
57
|
+
switch?: Switch | undefined;
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
/**
|
|
@@ -75,7 +75,7 @@ export type SwitchServiceListRequest = Message<"metalstack.admin.v2.SwitchServic
|
|
|
75
75
|
*
|
|
76
76
|
* @generated from field: metalstack.api.v2.SwitchQuery query = 1;
|
|
77
77
|
*/
|
|
78
|
-
query?: SwitchQuery;
|
|
78
|
+
query?: SwitchQuery | undefined;
|
|
79
79
|
};
|
|
80
80
|
|
|
81
81
|
/**
|
|
@@ -124,7 +124,7 @@ export type SwitchServiceUpdateRequest = Message<"metalstack.admin.v2.SwitchServ
|
|
|
124
124
|
*
|
|
125
125
|
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
126
126
|
*/
|
|
127
|
-
updateMeta?: UpdateMeta;
|
|
127
|
+
updateMeta?: UpdateMeta | undefined;
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
130
|
* UpdatedAt is the date when this entity was updated
|
|
@@ -132,42 +132,42 @@ export type SwitchServiceUpdateRequest = Message<"metalstack.admin.v2.SwitchServ
|
|
|
132
132
|
*
|
|
133
133
|
* @generated from field: google.protobuf.Timestamp updated_at = 3;
|
|
134
134
|
*/
|
|
135
|
-
updatedAt?: Timestamp;
|
|
135
|
+
updatedAt?: Timestamp | undefined;
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
138
|
* Description of the switch
|
|
139
139
|
*
|
|
140
140
|
* @generated from field: optional string description = 4;
|
|
141
141
|
*/
|
|
142
|
-
description?: string;
|
|
142
|
+
description?: string | undefined;
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
145
|
* ReplaceMode is used to mark a switch ready for replacement
|
|
146
146
|
*
|
|
147
147
|
* @generated from field: optional metalstack.api.v2.SwitchReplaceMode replace_mode = 5;
|
|
148
148
|
*/
|
|
149
|
-
replaceMode?: SwitchReplaceMode;
|
|
149
|
+
replaceMode?: SwitchReplaceMode | undefined;
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
152
|
* ManagementIp is the switch's IP for management access
|
|
153
153
|
*
|
|
154
154
|
* @generated from field: optional string management_ip = 6;
|
|
155
155
|
*/
|
|
156
|
-
managementIp?: string;
|
|
156
|
+
managementIp?: string | undefined;
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
159
|
* ManagementUser is the user name to use for management access
|
|
160
160
|
*
|
|
161
161
|
* @generated from field: optional string management_user = 7;
|
|
162
162
|
*/
|
|
163
|
-
managementUser?: string;
|
|
163
|
+
managementUser?: string | undefined;
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
166
|
* ConsoleCommand is the command for accessing the switch's console
|
|
167
167
|
*
|
|
168
168
|
* @generated from field: optional string console_command = 8;
|
|
169
169
|
*/
|
|
170
|
-
consoleCommand?: string;
|
|
170
|
+
consoleCommand?: string | undefined;
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
173
|
* Nics are the front panel ports of the switch
|
|
@@ -181,7 +181,7 @@ export type SwitchServiceUpdateRequest = Message<"metalstack.admin.v2.SwitchServ
|
|
|
181
181
|
*
|
|
182
182
|
* @generated from field: optional metalstack.api.v2.SwitchOS os = 10;
|
|
183
183
|
*/
|
|
184
|
-
os?: SwitchOS;
|
|
184
|
+
os?: SwitchOS | undefined;
|
|
185
185
|
};
|
|
186
186
|
|
|
187
187
|
/**
|
|
@@ -202,7 +202,7 @@ export type SwitchServiceUpdateResponse = Message<"metalstack.admin.v2.SwitchSer
|
|
|
202
202
|
*
|
|
203
203
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
204
204
|
*/
|
|
205
|
-
switch?: Switch;
|
|
205
|
+
switch?: Switch | undefined;
|
|
206
206
|
};
|
|
207
207
|
|
|
208
208
|
/**
|
|
@@ -251,7 +251,7 @@ export type SwitchServiceDeleteResponse = Message<"metalstack.admin.v2.SwitchSer
|
|
|
251
251
|
*
|
|
252
252
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
253
253
|
*/
|
|
254
|
-
switch?: Switch;
|
|
254
|
+
switch?: Switch | undefined;
|
|
255
255
|
};
|
|
256
256
|
|
|
257
257
|
/**
|
|
@@ -300,7 +300,7 @@ export type SwitchServiceMigrateResponse = Message<"metalstack.admin.v2.SwitchSe
|
|
|
300
300
|
*
|
|
301
301
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
302
302
|
*/
|
|
303
|
-
switch?: Switch;
|
|
303
|
+
switch?: Switch | undefined;
|
|
304
304
|
};
|
|
305
305
|
|
|
306
306
|
/**
|
|
@@ -356,7 +356,7 @@ export type SwitchServicePortResponse = Message<"metalstack.admin.v2.SwitchServi
|
|
|
356
356
|
*
|
|
357
357
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
358
358
|
*/
|
|
359
|
-
switch?: Switch;
|
|
359
|
+
switch?: Switch | undefined;
|
|
360
360
|
};
|
|
361
361
|
|
|
362
362
|
/**
|
|
@@ -377,14 +377,14 @@ export type SwitchServiceConnectedMachinesRequest = Message<"metalstack.admin.v2
|
|
|
377
377
|
*
|
|
378
378
|
* @generated from field: metalstack.api.v2.SwitchQuery query = 1;
|
|
379
379
|
*/
|
|
380
|
-
query?: SwitchQuery;
|
|
380
|
+
query?: SwitchQuery | undefined;
|
|
381
381
|
|
|
382
382
|
/**
|
|
383
383
|
* MachineQuery to filter the machine results
|
|
384
384
|
*
|
|
385
385
|
* @generated from field: metalstack.api.v2.MachineQuery machine_query = 2;
|
|
386
386
|
*/
|
|
387
|
-
machineQuery?: MachineQuery;
|
|
387
|
+
machineQuery?: MachineQuery | undefined;
|
|
388
388
|
};
|
|
389
389
|
|
|
390
390
|
/**
|
|
@@ -40,7 +40,7 @@ export type TaskServiceGetResponse = Message<"metalstack.admin.v2.TaskServiceGet
|
|
|
40
40
|
*
|
|
41
41
|
* @generated from field: metalstack.admin.v2.TaskInfo task = 1;
|
|
42
42
|
*/
|
|
43
|
-
task?: TaskInfo;
|
|
43
|
+
task?: TaskInfo | undefined;
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
46
|
* Describes the message metalstack.admin.v2.TaskServiceGetResponse.
|
|
@@ -123,19 +123,19 @@ export type TaskServiceListRequest = Message<"metalstack.admin.v2.TaskServiceLis
|
|
|
123
123
|
*
|
|
124
124
|
* @generated from field: optional string queue = 1;
|
|
125
125
|
*/
|
|
126
|
-
queue?: string;
|
|
126
|
+
queue?: string | undefined;
|
|
127
127
|
/**
|
|
128
128
|
* Count is the number of tasks to return
|
|
129
129
|
*
|
|
130
130
|
* @generated from field: optional uint32 count = 2;
|
|
131
131
|
*/
|
|
132
|
-
count?: number;
|
|
132
|
+
count?: number | undefined;
|
|
133
133
|
/**
|
|
134
134
|
* Page is the page of tasks to return
|
|
135
135
|
*
|
|
136
136
|
* @generated from field: optional uint32 page = 3;
|
|
137
137
|
*/
|
|
138
|
-
page?: number;
|
|
138
|
+
page?: number | undefined;
|
|
139
139
|
};
|
|
140
140
|
/**
|
|
141
141
|
* Describes the message metalstack.admin.v2.TaskServiceListRequest.
|
|
@@ -220,19 +220,19 @@ export type TaskInfo = Message<"metalstack.admin.v2.TaskInfo"> & {
|
|
|
220
220
|
*
|
|
221
221
|
* @generated from field: google.protobuf.Timestamp last_failed_at = 9;
|
|
222
222
|
*/
|
|
223
|
-
lastFailedAt?: Timestamp;
|
|
223
|
+
lastFailedAt?: Timestamp | undefined;
|
|
224
224
|
/**
|
|
225
225
|
* Timeout is the duration the task can be processed by Handler before being retried
|
|
226
226
|
*
|
|
227
227
|
* @generated from field: google.protobuf.Duration timeout = 10;
|
|
228
228
|
*/
|
|
229
|
-
timeout?: Duration;
|
|
229
|
+
timeout?: Duration | undefined;
|
|
230
230
|
/**
|
|
231
231
|
* Deadline is the deadline for the task
|
|
232
232
|
*
|
|
233
233
|
* @generated from field: google.protobuf.Timestamp deadline = 11;
|
|
234
234
|
*/
|
|
235
|
-
deadline?: Timestamp;
|
|
235
|
+
deadline?: Timestamp | undefined;
|
|
236
236
|
/**
|
|
237
237
|
* Group is the name of the group in which the task belongs
|
|
238
238
|
*
|
|
@@ -250,7 +250,7 @@ export type TaskInfo = Message<"metalstack.admin.v2.TaskInfo"> & {
|
|
|
250
250
|
*
|
|
251
251
|
* @generated from field: google.protobuf.Timestamp next_process_at = 13;
|
|
252
252
|
*/
|
|
253
|
-
nextProcessAt?: Timestamp;
|
|
253
|
+
nextProcessAt?: Timestamp | undefined;
|
|
254
254
|
/**
|
|
255
255
|
* IsOrphaned describes whether the task is left in active state with no worker processing it
|
|
256
256
|
* An orphaned task indicates that the worker has crashed or experienced network failures and was not able to
|
|
@@ -267,14 +267,14 @@ export type TaskInfo = Message<"metalstack.admin.v2.TaskInfo"> & {
|
|
|
267
267
|
*
|
|
268
268
|
* @generated from field: google.protobuf.Duration retention = 15;
|
|
269
269
|
*/
|
|
270
|
-
retention?: Duration;
|
|
270
|
+
retention?: Duration | undefined;
|
|
271
271
|
/**
|
|
272
272
|
* CompletedAt is the time when the task is processed successfully
|
|
273
273
|
* Zero value (i.e. time.Time{}) indicates no value
|
|
274
274
|
*
|
|
275
275
|
* @generated from field: google.protobuf.Timestamp completed_at = 16;
|
|
276
276
|
*/
|
|
277
|
-
completedAt?: Timestamp;
|
|
277
|
+
completedAt?: Timestamp | undefined;
|
|
278
278
|
/**
|
|
279
279
|
* Result holds the result data associated with the task
|
|
280
280
|
* Use ResultWriter to write result data from the Handler
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/admin/v2/task.proto (package metalstack.admin.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.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/admin/v2/task.proto (package metalstack.admin.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -54,7 +54,7 @@ export type TaskServiceGetResponse = Message<"metalstack.admin.v2.TaskServiceGet
|
|
|
54
54
|
*
|
|
55
55
|
* @generated from field: metalstack.admin.v2.TaskInfo task = 1;
|
|
56
56
|
*/
|
|
57
|
-
task?: TaskInfo;
|
|
57
|
+
task?: TaskInfo | undefined;
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
/**
|
|
@@ -155,21 +155,21 @@ export type TaskServiceListRequest = Message<"metalstack.admin.v2.TaskServiceLis
|
|
|
155
155
|
*
|
|
156
156
|
* @generated from field: optional string queue = 1;
|
|
157
157
|
*/
|
|
158
|
-
queue?: string;
|
|
158
|
+
queue?: string | undefined;
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
161
|
* Count is the number of tasks to return
|
|
162
162
|
*
|
|
163
163
|
* @generated from field: optional uint32 count = 2;
|
|
164
164
|
*/
|
|
165
|
-
count?: number;
|
|
165
|
+
count?: number | undefined;
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* Page is the page of tasks to return
|
|
169
169
|
*
|
|
170
170
|
* @generated from field: optional uint32 page = 3;
|
|
171
171
|
*/
|
|
172
|
-
page?: number;
|
|
172
|
+
page?: number | undefined;
|
|
173
173
|
};
|
|
174
174
|
|
|
175
175
|
/**
|
|
@@ -268,21 +268,21 @@ export type TaskInfo = Message<"metalstack.admin.v2.TaskInfo"> & {
|
|
|
268
268
|
*
|
|
269
269
|
* @generated from field: google.protobuf.Timestamp last_failed_at = 9;
|
|
270
270
|
*/
|
|
271
|
-
lastFailedAt?: Timestamp;
|
|
271
|
+
lastFailedAt?: Timestamp | undefined;
|
|
272
272
|
|
|
273
273
|
/**
|
|
274
274
|
* Timeout is the duration the task can be processed by Handler before being retried
|
|
275
275
|
*
|
|
276
276
|
* @generated from field: google.protobuf.Duration timeout = 10;
|
|
277
277
|
*/
|
|
278
|
-
timeout?: Duration;
|
|
278
|
+
timeout?: Duration | undefined;
|
|
279
279
|
|
|
280
280
|
/**
|
|
281
281
|
* Deadline is the deadline for the task
|
|
282
282
|
*
|
|
283
283
|
* @generated from field: google.protobuf.Timestamp deadline = 11;
|
|
284
284
|
*/
|
|
285
|
-
deadline?: Timestamp;
|
|
285
|
+
deadline?: Timestamp | undefined;
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
288
|
* Group is the name of the group in which the task belongs
|
|
@@ -302,7 +302,7 @@ export type TaskInfo = Message<"metalstack.admin.v2.TaskInfo"> & {
|
|
|
302
302
|
*
|
|
303
303
|
* @generated from field: google.protobuf.Timestamp next_process_at = 13;
|
|
304
304
|
*/
|
|
305
|
-
nextProcessAt?: Timestamp;
|
|
305
|
+
nextProcessAt?: Timestamp | undefined;
|
|
306
306
|
|
|
307
307
|
/**
|
|
308
308
|
* IsOrphaned describes whether the task is left in active state with no worker processing it
|
|
@@ -321,7 +321,7 @@ export type TaskInfo = Message<"metalstack.admin.v2.TaskInfo"> & {
|
|
|
321
321
|
*
|
|
322
322
|
* @generated from field: google.protobuf.Duration retention = 15;
|
|
323
323
|
*/
|
|
324
|
-
retention?: Duration;
|
|
324
|
+
retention?: Duration | undefined;
|
|
325
325
|
|
|
326
326
|
/**
|
|
327
327
|
* CompletedAt is the time when the task is processed successfully
|
|
@@ -329,7 +329,7 @@ export type TaskInfo = Message<"metalstack.admin.v2.TaskInfo"> & {
|
|
|
329
329
|
*
|
|
330
330
|
* @generated from field: google.protobuf.Timestamp completed_at = 16;
|
|
331
331
|
*/
|
|
332
|
-
completedAt?: Timestamp;
|
|
332
|
+
completedAt?: Timestamp | undefined;
|
|
333
333
|
|
|
334
334
|
/**
|
|
335
335
|
* Result holds the result data associated with the task
|
|
@@ -23,25 +23,25 @@ export type TenantServiceCreateRequest = Message<"metalstack.admin.v2.TenantServ
|
|
|
23
23
|
*
|
|
24
24
|
* @generated from field: optional string description = 2;
|
|
25
25
|
*/
|
|
26
|
-
description?: string;
|
|
26
|
+
description?: string | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Email of the tenant, if not set will be inherited from the creator
|
|
29
29
|
*
|
|
30
30
|
* @generated from field: optional string email = 3;
|
|
31
31
|
*/
|
|
32
|
-
email?: string;
|
|
32
|
+
email?: string | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* AvatarUrl of the tenant
|
|
35
35
|
*
|
|
36
36
|
* @generated from field: optional string avatar_url = 4;
|
|
37
37
|
*/
|
|
38
|
-
avatarUrl?: string;
|
|
38
|
+
avatarUrl?: string | undefined;
|
|
39
39
|
/**
|
|
40
40
|
* Labels on the tenant
|
|
41
41
|
*
|
|
42
42
|
* @generated from field: metalstack.api.v2.Labels labels = 5;
|
|
43
43
|
*/
|
|
44
|
-
labels?: Labels;
|
|
44
|
+
labels?: Labels | undefined;
|
|
45
45
|
};
|
|
46
46
|
/**
|
|
47
47
|
* Describes the message metalstack.admin.v2.TenantServiceCreateRequest.
|
|
@@ -59,7 +59,7 @@ export type TenantServiceCreateResponse = Message<"metalstack.admin.v2.TenantSer
|
|
|
59
59
|
*
|
|
60
60
|
* @generated from field: metalstack.api.v2.Tenant tenant = 1;
|
|
61
61
|
*/
|
|
62
|
-
tenant?: Tenant;
|
|
62
|
+
tenant?: Tenant | undefined;
|
|
63
63
|
};
|
|
64
64
|
/**
|
|
65
65
|
* Describes the message metalstack.admin.v2.TenantServiceCreateResponse.
|
|
@@ -77,19 +77,19 @@ export type TenantServiceListRequest = Message<"metalstack.admin.v2.TenantServic
|
|
|
77
77
|
*
|
|
78
78
|
* @generated from field: optional string login = 1;
|
|
79
79
|
*/
|
|
80
|
-
login?: string;
|
|
80
|
+
login?: string | undefined;
|
|
81
81
|
/**
|
|
82
82
|
* Name filters tenants by this name
|
|
83
83
|
*
|
|
84
84
|
* @generated from field: optional string name = 2;
|
|
85
85
|
*/
|
|
86
|
-
name?: string;
|
|
86
|
+
name?: string | undefined;
|
|
87
87
|
/**
|
|
88
88
|
* Paging details for the list request
|
|
89
89
|
*
|
|
90
90
|
* @generated from field: metalstack.api.v2.Paging paging = 3;
|
|
91
91
|
*/
|
|
92
|
-
paging?: Paging;
|
|
92
|
+
paging?: Paging | undefined;
|
|
93
93
|
};
|
|
94
94
|
/**
|
|
95
95
|
* Describes the message metalstack.admin.v2.TenantServiceListRequest.
|
|
@@ -113,7 +113,7 @@ export type TenantServiceListResponse = Message<"metalstack.admin.v2.TenantServi
|
|
|
113
113
|
*
|
|
114
114
|
* @generated from field: optional uint64 next_page = 2;
|
|
115
115
|
*/
|
|
116
|
-
nextPage?: bigint;
|
|
116
|
+
nextPage?: bigint | undefined;
|
|
117
117
|
};
|
|
118
118
|
/**
|
|
119
119
|
* Describes the message metalstack.admin.v2.TenantServiceListResponse.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/admin/v2/tenant.proto (package metalstack.admin.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.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/admin/v2/tenant.proto (package metalstack.admin.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -36,28 +36,28 @@ export type TenantServiceCreateRequest = Message<"metalstack.admin.v2.TenantServ
|
|
|
36
36
|
*
|
|
37
37
|
* @generated from field: optional string description = 2;
|
|
38
38
|
*/
|
|
39
|
-
description?: string;
|
|
39
|
+
description?: string | undefined;
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* Email of the tenant, if not set will be inherited from the creator
|
|
43
43
|
*
|
|
44
44
|
* @generated from field: optional string email = 3;
|
|
45
45
|
*/
|
|
46
|
-
email?: string;
|
|
46
|
+
email?: string | undefined;
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* AvatarUrl of the tenant
|
|
50
50
|
*
|
|
51
51
|
* @generated from field: optional string avatar_url = 4;
|
|
52
52
|
*/
|
|
53
|
-
avatarUrl?: string;
|
|
53
|
+
avatarUrl?: string | undefined;
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
56
|
* Labels on the tenant
|
|
57
57
|
*
|
|
58
58
|
* @generated from field: metalstack.api.v2.Labels labels = 5;
|
|
59
59
|
*/
|
|
60
|
-
labels?: Labels;
|
|
60
|
+
labels?: Labels | undefined;
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
/**
|
|
@@ -78,7 +78,7 @@ export type TenantServiceCreateResponse = Message<"metalstack.admin.v2.TenantSer
|
|
|
78
78
|
*
|
|
79
79
|
* @generated from field: metalstack.api.v2.Tenant tenant = 1;
|
|
80
80
|
*/
|
|
81
|
-
tenant?: Tenant;
|
|
81
|
+
tenant?: Tenant | undefined;
|
|
82
82
|
};
|
|
83
83
|
|
|
84
84
|
/**
|
|
@@ -99,21 +99,21 @@ export type TenantServiceListRequest = Message<"metalstack.admin.v2.TenantServic
|
|
|
99
99
|
*
|
|
100
100
|
* @generated from field: optional string login = 1;
|
|
101
101
|
*/
|
|
102
|
-
login?: string;
|
|
102
|
+
login?: string | undefined;
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* Name filters tenants by this name
|
|
106
106
|
*
|
|
107
107
|
* @generated from field: optional string name = 2;
|
|
108
108
|
*/
|
|
109
|
-
name?: string;
|
|
109
|
+
name?: string | undefined;
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
112
|
* Paging details for the list request
|
|
113
113
|
*
|
|
114
114
|
* @generated from field: metalstack.api.v2.Paging paging = 3;
|
|
115
115
|
*/
|
|
116
|
-
paging?: Paging;
|
|
116
|
+
paging?: Paging | undefined;
|
|
117
117
|
};
|
|
118
118
|
|
|
119
119
|
/**
|
|
@@ -141,7 +141,7 @@ export type TenantServiceListResponse = Message<"metalstack.admin.v2.TenantServi
|
|
|
141
141
|
*
|
|
142
142
|
* @generated from field: optional uint64 next_page = 2;
|
|
143
143
|
*/
|
|
144
|
-
nextPage?: bigint;
|
|
144
|
+
nextPage?: bigint | undefined;
|
|
145
145
|
};
|
|
146
146
|
|
|
147
147
|
/**
|
|
@@ -16,7 +16,7 @@ export type TokenServiceListRequest = Message<"metalstack.admin.v2.TokenServiceL
|
|
|
16
16
|
*
|
|
17
17
|
* @generated from field: optional string user = 1;
|
|
18
18
|
*/
|
|
19
|
-
user?: string;
|
|
19
|
+
user?: string | undefined;
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
22
|
* Describes the message metalstack.admin.v2.TokenServiceListRequest.
|
|
@@ -87,13 +87,13 @@ export type TokenServiceCreateRequest = Message<"metalstack.admin.v2.TokenServic
|
|
|
87
87
|
*
|
|
88
88
|
* @generated from field: optional string user = 1;
|
|
89
89
|
*/
|
|
90
|
-
user?: string;
|
|
90
|
+
user?: string | undefined;
|
|
91
91
|
/**
|
|
92
92
|
* TokenCreateRequest which should be created
|
|
93
93
|
*
|
|
94
94
|
* @generated from field: metalstack.api.v2.TokenServiceCreateRequest token_create_request = 2;
|
|
95
95
|
*/
|
|
96
|
-
tokenCreateRequest?: TokenServiceCreateRequest$1;
|
|
96
|
+
tokenCreateRequest?: TokenServiceCreateRequest$1 | undefined;
|
|
97
97
|
};
|
|
98
98
|
/**
|
|
99
99
|
* Describes the message metalstack.admin.v2.TokenServiceCreateRequest.
|
|
@@ -111,7 +111,7 @@ export type TokenServiceCreateResponse = Message<"metalstack.admin.v2.TokenServi
|
|
|
111
111
|
*
|
|
112
112
|
* @generated from field: metalstack.api.v2.Token token = 1;
|
|
113
113
|
*/
|
|
114
|
-
token?: Token;
|
|
114
|
+
token?: Token | undefined;
|
|
115
115
|
/**
|
|
116
116
|
* Secret is the body if the JWT token, should be used in API requests as bearer token
|
|
117
117
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/admin/v2/token.proto (package metalstack.admin.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|