@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.
- 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 +7 -7
- package/js/metalstack/api/v2/common_pb.js +1 -1
- package/js/metalstack/api/v2/common_pb.ts +8 -8
- 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 +1 -1
- package/js/metalstack/api/v2/filesystem_pb.ts +14 -14
- 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 +1 -1
- package/js/metalstack/api/v2/image_pb.ts +19 -19
- 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 +91 -91
- package/js/metalstack/api/v2/machine_pb.js +1 -1
- package/js/metalstack/api/v2/machine_pb.ts +92 -92
- package/js/metalstack/api/v2/method_pb.d.ts +2 -2
- package/js/metalstack/api/v2/method_pb.js +1 -1
- package/js/metalstack/api/v2/method_pb.ts +3 -3
- 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 +1 -1
- package/js/metalstack/api/v2/partition_pb.ts +7 -7
- package/js/metalstack/api/v2/predefined_rules_pb.js +1 -1
- package/js/metalstack/api/v2/predefined_rules_pb.ts +1 -1
- 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 +1 -1
- package/js/metalstack/api/v2/size_imageconstraint_pb.ts +7 -7
- package/js/metalstack/api/v2/size_pb.d.ts +10 -10
- package/js/metalstack/api/v2/size_pb.js +1 -1
- package/js/metalstack/api/v2/size_pb.ts +11 -11
- 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 +1 -1
- package/js/metalstack/api/v2/tenant_pb.ts +25 -25
- package/js/metalstack/api/v2/token_pb.d.ts +18 -18
- package/js/metalstack/api/v2/token_pb.js +1 -1
- package/js/metalstack/api/v2/token_pb.ts +19 -19
- package/js/metalstack/api/v2/user_pb.d.ts +2 -2
- package/js/metalstack/api/v2/user_pb.js +1 -1
- package/js/metalstack/api/v2/user_pb.ts +3 -3
- 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
|
@@ -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/api/v2/token.proto (package metalstack.api.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -54,7 +54,7 @@ export type Token = Message<"metalstack.api.v2.Token"> & {
|
|
|
54
54
|
*
|
|
55
55
|
* @generated from field: metalstack.api.v2.Meta meta = 3;
|
|
56
56
|
*/
|
|
57
|
-
meta?: Meta;
|
|
57
|
+
meta?: Meta | undefined;
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* Description is a user given description of this token.
|
|
@@ -75,14 +75,14 @@ export type Token = Message<"metalstack.api.v2.Token"> & {
|
|
|
75
75
|
*
|
|
76
76
|
* @generated from field: google.protobuf.Timestamp expires = 6;
|
|
77
77
|
*/
|
|
78
|
-
expires?: Timestamp;
|
|
78
|
+
expires?: Timestamp | undefined;
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
81
|
* IssuedAt gives the date when this token was created
|
|
82
82
|
*
|
|
83
83
|
* @generated from field: google.protobuf.Timestamp issued_at = 7;
|
|
84
84
|
*/
|
|
85
|
-
issuedAt?: Timestamp;
|
|
85
|
+
issuedAt?: Timestamp | undefined;
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
88
|
* TokenType describes the type of this token
|
|
@@ -110,14 +110,14 @@ export type Token = Message<"metalstack.api.v2.Token"> & {
|
|
|
110
110
|
*
|
|
111
111
|
* @generated from field: optional metalstack.api.v2.AdminRole admin_role = 11;
|
|
112
112
|
*/
|
|
113
|
-
adminRole?: AdminRole;
|
|
113
|
+
adminRole?: AdminRole | undefined;
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* InfraRole defines the infrastructure role of the token owner
|
|
117
117
|
*
|
|
118
118
|
* @generated from field: optional metalstack.api.v2.InfraRole infra_role = 12;
|
|
119
119
|
*/
|
|
120
|
-
infraRole?: InfraRole;
|
|
120
|
+
infraRole?: InfraRole | undefined;
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* MachineRoles associates a machine uuid with the corresponding role of the token owner
|
|
@@ -160,7 +160,7 @@ export type TokenServiceCreateRequest = Message<"metalstack.api.v2.TokenServiceC
|
|
|
160
160
|
*
|
|
161
161
|
* @generated from field: google.protobuf.Duration expires = 3;
|
|
162
162
|
*/
|
|
163
|
-
expires?: Duration;
|
|
163
|
+
expires?: Duration | undefined;
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
166
|
* ProjectRoles associates a project id with the corresponding role of the token owner
|
|
@@ -181,14 +181,14 @@ export type TokenServiceCreateRequest = Message<"metalstack.api.v2.TokenServiceC
|
|
|
181
181
|
*
|
|
182
182
|
* @generated from field: optional metalstack.api.v2.AdminRole admin_role = 6;
|
|
183
183
|
*/
|
|
184
|
-
adminRole?: AdminRole;
|
|
184
|
+
adminRole?: AdminRole | undefined;
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* InfraRole defines the infrastructure role of the token owner
|
|
188
188
|
*
|
|
189
189
|
* @generated from field: optional metalstack.api.v2.InfraRole infra_role = 7;
|
|
190
190
|
*/
|
|
191
|
-
infraRole?: InfraRole;
|
|
191
|
+
infraRole?: InfraRole | undefined;
|
|
192
192
|
|
|
193
193
|
/**
|
|
194
194
|
* MachineRoles associates a machine uuid with the corresponding role of the token owner
|
|
@@ -202,7 +202,7 @@ export type TokenServiceCreateRequest = Message<"metalstack.api.v2.TokenServiceC
|
|
|
202
202
|
*
|
|
203
203
|
* @generated from field: metalstack.api.v2.Labels labels = 9;
|
|
204
204
|
*/
|
|
205
|
-
labels?: Labels;
|
|
205
|
+
labels?: Labels | undefined;
|
|
206
206
|
};
|
|
207
207
|
|
|
208
208
|
/**
|
|
@@ -256,7 +256,7 @@ export type TokenServiceCreateResponse = Message<"metalstack.api.v2.TokenService
|
|
|
256
256
|
*
|
|
257
257
|
* @generated from field: metalstack.api.v2.Token token = 1;
|
|
258
258
|
*/
|
|
259
|
-
token?: Token;
|
|
259
|
+
token?: Token | undefined;
|
|
260
260
|
|
|
261
261
|
/**
|
|
262
262
|
* Secret is the body if the jwt token, should be used in api requests as bearer token
|
|
@@ -364,14 +364,14 @@ export type TokenServiceUpdateRequest = Message<"metalstack.api.v2.TokenServiceU
|
|
|
364
364
|
*
|
|
365
365
|
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
366
366
|
*/
|
|
367
|
-
updateMeta?: UpdateMeta;
|
|
367
|
+
updateMeta?: UpdateMeta | undefined;
|
|
368
368
|
|
|
369
369
|
/**
|
|
370
370
|
* Description is a user given description of this token.
|
|
371
371
|
*
|
|
372
372
|
* @generated from field: optional string description = 3;
|
|
373
373
|
*/
|
|
374
|
-
description?: string;
|
|
374
|
+
description?: string | undefined;
|
|
375
375
|
|
|
376
376
|
/**
|
|
377
377
|
* Permissions is a list of service methods this token can be used for
|
|
@@ -399,14 +399,14 @@ export type TokenServiceUpdateRequest = Message<"metalstack.api.v2.TokenServiceU
|
|
|
399
399
|
*
|
|
400
400
|
* @generated from field: optional metalstack.api.v2.AdminRole admin_role = 7;
|
|
401
401
|
*/
|
|
402
|
-
adminRole?: AdminRole;
|
|
402
|
+
adminRole?: AdminRole | undefined;
|
|
403
403
|
|
|
404
404
|
/**
|
|
405
405
|
* InfraRole defines the infrastructure role of the token owner
|
|
406
406
|
*
|
|
407
407
|
* @generated from field: optional metalstack.api.v2.InfraRole infra_role = 8;
|
|
408
408
|
*/
|
|
409
|
-
infraRole?: InfraRole;
|
|
409
|
+
infraRole?: InfraRole | undefined;
|
|
410
410
|
|
|
411
411
|
/**
|
|
412
412
|
* MachineRoles associates a machine uuid with the corresponding role of the token owner
|
|
@@ -420,7 +420,7 @@ export type TokenServiceUpdateRequest = Message<"metalstack.api.v2.TokenServiceU
|
|
|
420
420
|
*
|
|
421
421
|
* @generated from field: metalstack.api.v2.UpdateLabels labels = 10;
|
|
422
422
|
*/
|
|
423
|
-
labels?: UpdateLabels;
|
|
423
|
+
labels?: UpdateLabels | undefined;
|
|
424
424
|
};
|
|
425
425
|
|
|
426
426
|
/**
|
|
@@ -441,7 +441,7 @@ export type TokenServiceUpdateResponse = Message<"metalstack.api.v2.TokenService
|
|
|
441
441
|
*
|
|
442
442
|
* @generated from field: metalstack.api.v2.Token token = 1;
|
|
443
443
|
*/
|
|
444
|
-
token?: Token;
|
|
444
|
+
token?: Token | undefined;
|
|
445
445
|
};
|
|
446
446
|
|
|
447
447
|
/**
|
|
@@ -483,7 +483,7 @@ export type TokenServiceGetResponse = Message<"metalstack.api.v2.TokenServiceGet
|
|
|
483
483
|
*
|
|
484
484
|
* @generated from field: metalstack.api.v2.Token token = 1;
|
|
485
485
|
*/
|
|
486
|
-
token?: Token;
|
|
486
|
+
token?: Token | undefined;
|
|
487
487
|
};
|
|
488
488
|
|
|
489
489
|
/**
|
|
@@ -521,7 +521,7 @@ export type TokenServiceRefreshResponse = Message<"metalstack.api.v2.TokenServic
|
|
|
521
521
|
*
|
|
522
522
|
* @generated from field: metalstack.api.v2.Token token = 1;
|
|
523
523
|
*/
|
|
524
|
-
token?: Token;
|
|
524
|
+
token?: Token | undefined;
|
|
525
525
|
|
|
526
526
|
/**
|
|
527
527
|
* Secret is the body if the jwt token, should be used in api requests as bearer token
|
|
@@ -53,7 +53,7 @@ export type User = Message<"metalstack.api.v2.User"> & {
|
|
|
53
53
|
*
|
|
54
54
|
* @generated from field: metalstack.api.v2.Tenant default_tenant = 7;
|
|
55
55
|
*/
|
|
56
|
-
defaultTenant?: Tenant;
|
|
56
|
+
defaultTenant?: Tenant | undefined;
|
|
57
57
|
};
|
|
58
58
|
/**
|
|
59
59
|
* Describes the message metalstack.api.v2.User.
|
|
@@ -82,7 +82,7 @@ export type UserServiceGetResponse = Message<"metalstack.api.v2.UserServiceGetRe
|
|
|
82
82
|
*
|
|
83
83
|
* @generated from field: metalstack.api.v2.User user = 1;
|
|
84
84
|
*/
|
|
85
|
-
user?: User;
|
|
85
|
+
user?: User | undefined;
|
|
86
86
|
};
|
|
87
87
|
/**
|
|
88
88
|
* Describes the message metalstack.api.v2.UserServiceGetResponse.
|
|
@@ -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/api/v2/user.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.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/api/v2/user.proto (package metalstack.api.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -72,7 +72,7 @@ export type User = Message<"metalstack.api.v2.User"> & {
|
|
|
72
72
|
*
|
|
73
73
|
* @generated from field: metalstack.api.v2.Tenant default_tenant = 7;
|
|
74
74
|
*/
|
|
75
|
-
defaultTenant?: Tenant;
|
|
75
|
+
defaultTenant?: Tenant | undefined;
|
|
76
76
|
};
|
|
77
77
|
|
|
78
78
|
/**
|
|
@@ -108,7 +108,7 @@ export type UserServiceGetResponse = Message<"metalstack.api.v2.UserServiceGetRe
|
|
|
108
108
|
*
|
|
109
109
|
* @generated from field: metalstack.api.v2.User user = 1;
|
|
110
110
|
*/
|
|
111
|
-
user?: User;
|
|
111
|
+
user?: User | undefined;
|
|
112
112
|
};
|
|
113
113
|
|
|
114
114
|
/**
|
|
@@ -62,7 +62,7 @@ export type VersionServiceGetResponse = Message<"metalstack.api.v2.VersionServic
|
|
|
62
62
|
*
|
|
63
63
|
* @generated from field: metalstack.api.v2.Version version = 1;
|
|
64
64
|
*/
|
|
65
|
-
version?: Version;
|
|
65
|
+
version?: Version | undefined;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
68
68
|
* Describes the message metalstack.api.v2.VersionServiceGetResponse.
|
|
@@ -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/api/v2/version.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.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/api/v2/version.proto (package metalstack.api.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -83,7 +83,7 @@ export type VersionServiceGetResponse = Message<"metalstack.api.v2.VersionServic
|
|
|
83
83
|
*
|
|
84
84
|
* @generated from field: metalstack.api.v2.Version version = 1;
|
|
85
85
|
*/
|
|
86
|
-
version?: Version;
|
|
86
|
+
version?: Version | undefined;
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
/**
|
|
@@ -40,7 +40,7 @@ export type VPNNode = Message<"metalstack.api.v2.VPNNode"> & {
|
|
|
40
40
|
*
|
|
41
41
|
* @generated from field: google.protobuf.Timestamp last_seen = 5;
|
|
42
42
|
*/
|
|
43
|
-
lastSeen?: Timestamp;
|
|
43
|
+
lastSeen?: Timestamp | undefined;
|
|
44
44
|
/**
|
|
45
45
|
* Online indicates if this node is online
|
|
46
46
|
*
|
|
@@ -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/api/v2/vpn.proto (package metalstack.api.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc } 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/api/v2/vpn.proto (package metalstack.api.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -53,7 +53,7 @@ export type VPNNode = Message<"metalstack.api.v2.VPNNode"> & {
|
|
|
53
53
|
*
|
|
54
54
|
* @generated from field: google.protobuf.Timestamp last_seen = 5;
|
|
55
55
|
*/
|
|
56
|
-
lastSeen?: Timestamp;
|
|
56
|
+
lastSeen?: Timestamp | undefined;
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* Online indicates if this node is online
|
|
@@ -96,7 +96,7 @@ export type WaitForBMCCommandResponse = Message<"metalstack.infra.v2.WaitForBMCC
|
|
|
96
96
|
*
|
|
97
97
|
* @generated from field: metalstack.api.v2.MachineBMC machine_bmc = 3;
|
|
98
98
|
*/
|
|
99
|
-
machineBmc?: MachineBMC;
|
|
99
|
+
machineBmc?: MachineBMC | undefined;
|
|
100
100
|
/**
|
|
101
101
|
* CommandId is a unique ID which must be sent back after execution
|
|
102
102
|
* It is usually in the form: <machine-uuid>:machine-bmc-command:<command>
|
|
@@ -128,7 +128,7 @@ export type BMCCommandDoneRequest = Message<"metalstack.infra.v2.BMCCommandDoneR
|
|
|
128
128
|
*
|
|
129
129
|
* @generated from field: optional string error = 2;
|
|
130
130
|
*/
|
|
131
|
-
error?: string;
|
|
131
|
+
error?: string | undefined;
|
|
132
132
|
};
|
|
133
133
|
/**
|
|
134
134
|
* Describes the message metalstack.infra.v2.BMCCommandDoneRequest.
|
|
@@ -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/infra/v2/bmc.proto (package metalstack.infra.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/infra/v2/bmc.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -119,7 +119,7 @@ export type WaitForBMCCommandResponse = Message<"metalstack.infra.v2.WaitForBMCC
|
|
|
119
119
|
*
|
|
120
120
|
* @generated from field: metalstack.api.v2.MachineBMC machine_bmc = 3;
|
|
121
121
|
*/
|
|
122
|
-
machineBmc?: MachineBMC;
|
|
122
|
+
machineBmc?: MachineBMC | undefined;
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* CommandId is a unique ID which must be sent back after execution
|
|
@@ -156,7 +156,7 @@ export type BMCCommandDoneRequest = Message<"metalstack.infra.v2.BMCCommandDoneR
|
|
|
156
156
|
*
|
|
157
157
|
* @generated from field: optional string error = 2;
|
|
158
158
|
*/
|
|
159
|
-
error?: string;
|
|
159
|
+
error?: string | undefined;
|
|
160
160
|
};
|
|
161
161
|
|
|
162
162
|
/**
|
|
@@ -87,7 +87,7 @@ export type BootServiceBootResponse = Message<"metalstack.infra.v2.BootServiceBo
|
|
|
87
87
|
*
|
|
88
88
|
* @generated from field: optional string cmdline = 3;
|
|
89
89
|
*/
|
|
90
|
-
cmdline?: string;
|
|
90
|
+
cmdline?: string | undefined;
|
|
91
91
|
};
|
|
92
92
|
/**
|
|
93
93
|
* Describes the message metalstack.infra.v2.BootServiceBootResponse.
|
|
@@ -111,25 +111,25 @@ export type BootServiceRegisterRequest = Message<"metalstack.infra.v2.BootServic
|
|
|
111
111
|
*
|
|
112
112
|
* @generated from field: metalstack.api.v2.MachineHardware hardware = 2;
|
|
113
113
|
*/
|
|
114
|
-
hardware?: MachineHardware;
|
|
114
|
+
hardware?: MachineHardware | undefined;
|
|
115
115
|
/**
|
|
116
116
|
* Bios details of this machine
|
|
117
117
|
*
|
|
118
118
|
* @generated from field: metalstack.api.v2.MachineBios bios = 3;
|
|
119
119
|
*/
|
|
120
|
-
bios?: MachineBios;
|
|
120
|
+
bios?: MachineBios | undefined;
|
|
121
121
|
/**
|
|
122
122
|
* BMC details of this machine
|
|
123
123
|
*
|
|
124
124
|
* @generated from field: metalstack.api.v2.MachineBMC bmc = 4;
|
|
125
125
|
*/
|
|
126
|
-
bmc?: MachineBMC;
|
|
126
|
+
bmc?: MachineBMC | undefined;
|
|
127
127
|
/**
|
|
128
128
|
* FRU details of this machine
|
|
129
129
|
*
|
|
130
130
|
* @generated from field: metalstack.api.v2.MachineFRU fru = 5;
|
|
131
131
|
*/
|
|
132
|
-
fru?: MachineFRU;
|
|
132
|
+
fru?: MachineFRU | undefined;
|
|
133
133
|
/**
|
|
134
134
|
* Tags of this machine
|
|
135
135
|
*
|
|
@@ -213,7 +213,7 @@ export type BootServiceWaitResponse = Message<"metalstack.infra.v2.BootServiceWa
|
|
|
213
213
|
*
|
|
214
214
|
* @generated from field: metalstack.api.v2.MachineAllocation allocation = 1;
|
|
215
215
|
*/
|
|
216
|
-
allocation?: MachineAllocation;
|
|
216
|
+
allocation?: MachineAllocation | undefined;
|
|
217
217
|
};
|
|
218
218
|
/**
|
|
219
219
|
* Describes the message metalstack.infra.v2.BootServiceWaitResponse.
|
|
@@ -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/infra/v2/boot.proto (package metalstack.infra.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/infra/v2/boot.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -113,7 +113,7 @@ export type BootServiceBootResponse = Message<"metalstack.infra.v2.BootServiceBo
|
|
|
113
113
|
*
|
|
114
114
|
* @generated from field: optional string cmdline = 3;
|
|
115
115
|
*/
|
|
116
|
-
cmdline?: string;
|
|
116
|
+
cmdline?: string | undefined;
|
|
117
117
|
};
|
|
118
118
|
|
|
119
119
|
/**
|
|
@@ -141,28 +141,28 @@ export type BootServiceRegisterRequest = Message<"metalstack.infra.v2.BootServic
|
|
|
141
141
|
*
|
|
142
142
|
* @generated from field: metalstack.api.v2.MachineHardware hardware = 2;
|
|
143
143
|
*/
|
|
144
|
-
hardware?: MachineHardware;
|
|
144
|
+
hardware?: MachineHardware | undefined;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
147
|
* Bios details of this machine
|
|
148
148
|
*
|
|
149
149
|
* @generated from field: metalstack.api.v2.MachineBios bios = 3;
|
|
150
150
|
*/
|
|
151
|
-
bios?: MachineBios;
|
|
151
|
+
bios?: MachineBios | undefined;
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
154
|
* BMC details of this machine
|
|
155
155
|
*
|
|
156
156
|
* @generated from field: metalstack.api.v2.MachineBMC bmc = 4;
|
|
157
157
|
*/
|
|
158
|
-
bmc?: MachineBMC;
|
|
158
|
+
bmc?: MachineBMC | undefined;
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
161
|
* FRU details of this machine
|
|
162
162
|
*
|
|
163
163
|
* @generated from field: metalstack.api.v2.MachineFRU fru = 5;
|
|
164
164
|
*/
|
|
165
|
-
fru?: MachineFRU;
|
|
165
|
+
fru?: MachineFRU | undefined;
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* Tags of this machine
|
|
@@ -260,7 +260,7 @@ export type BootServiceWaitResponse = Message<"metalstack.infra.v2.BootServiceWa
|
|
|
260
260
|
*
|
|
261
261
|
* @generated from field: metalstack.api.v2.MachineAllocation allocation = 1;
|
|
262
262
|
*/
|
|
263
|
-
allocation?: MachineAllocation;
|
|
263
|
+
allocation?: MachineAllocation | undefined;
|
|
264
264
|
};
|
|
265
265
|
|
|
266
266
|
/**
|
|
@@ -30,19 +30,19 @@ export type ComponentServicePingRequest = Message<"metalstack.infra.v2.Component
|
|
|
30
30
|
*
|
|
31
31
|
* @generated from field: google.protobuf.Timestamp started_at = 3;
|
|
32
32
|
*/
|
|
33
|
-
startedAt?: Timestamp;
|
|
33
|
+
startedAt?: Timestamp | undefined;
|
|
34
34
|
/**
|
|
35
35
|
* Interval at which the ping is scheduled, must be between 5 seconds and 1 hour
|
|
36
36
|
*
|
|
37
37
|
* @generated from field: google.protobuf.Duration interval = 4;
|
|
38
38
|
*/
|
|
39
|
-
interval?: Duration;
|
|
39
|
+
interval?: Duration | undefined;
|
|
40
40
|
/**
|
|
41
41
|
* Version of this service
|
|
42
42
|
*
|
|
43
43
|
* @generated from field: metalstack.api.v2.Version version = 5;
|
|
44
44
|
*/
|
|
45
|
-
version?: Version;
|
|
45
|
+
version?: Version | undefined;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
48
|
* Describes the message metalstack.infra.v2.ComponentServicePingRequest.
|
|
@@ -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/infra/v2/component.proto (package metalstack.infra.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/infra/v2/component.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -46,21 +46,21 @@ export type ComponentServicePingRequest = Message<"metalstack.infra.v2.Component
|
|
|
46
46
|
*
|
|
47
47
|
* @generated from field: google.protobuf.Timestamp started_at = 3;
|
|
48
48
|
*/
|
|
49
|
-
startedAt?: Timestamp;
|
|
49
|
+
startedAt?: Timestamp | undefined;
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
52
|
* Interval at which the ping is scheduled, must be between 5 seconds and 1 hour
|
|
53
53
|
*
|
|
54
54
|
* @generated from field: google.protobuf.Duration interval = 4;
|
|
55
55
|
*/
|
|
56
|
-
interval?: Duration;
|
|
56
|
+
interval?: Duration | undefined;
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* Version of this service
|
|
60
60
|
*
|
|
61
61
|
* @generated from field: metalstack.api.v2.Version version = 5;
|
|
62
62
|
*/
|
|
63
|
-
version?: Version;
|
|
63
|
+
version?: Version | undefined;
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
/**
|
|
@@ -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/infra/v2/event.proto (package metalstack.infra.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/infra/v2/event.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -76,7 +76,7 @@ export type MachineProvisioningEvent = Message<"metalstack.infra.v2.MachineProvi
|
|
|
76
76
|
*
|
|
77
77
|
* @generated from field: google.protobuf.Timestamp time = 1;
|
|
78
78
|
*/
|
|
79
|
-
time?: Timestamp;
|
|
79
|
+
time?: Timestamp | undefined;
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
82
|
* Event that occurred
|
|
@@ -35,7 +35,7 @@ export type SwitchServiceGetResponse = Message<"metalstack.infra.v2.SwitchServic
|
|
|
35
35
|
*
|
|
36
36
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
37
37
|
*/
|
|
38
|
-
switch?: Switch;
|
|
38
|
+
switch?: Switch | undefined;
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
41
|
* Describes the message metalstack.infra.v2.SwitchServiceGetResponse.
|
|
@@ -53,7 +53,7 @@ export type SwitchServiceRegisterRequest = Message<"metalstack.infra.v2.SwitchSe
|
|
|
53
53
|
*
|
|
54
54
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
55
55
|
*/
|
|
56
|
-
switch?: Switch;
|
|
56
|
+
switch?: Switch | undefined;
|
|
57
57
|
};
|
|
58
58
|
/**
|
|
59
59
|
* Describes the message metalstack.infra.v2.SwitchServiceRegisterRequest.
|
|
@@ -71,7 +71,7 @@ export type SwitchServiceRegisterResponse = Message<"metalstack.infra.v2.SwitchS
|
|
|
71
71
|
*
|
|
72
72
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
73
73
|
*/
|
|
74
|
-
switch?: Switch;
|
|
74
|
+
switch?: Switch | undefined;
|
|
75
75
|
};
|
|
76
76
|
/**
|
|
77
77
|
* Describes the message metalstack.infra.v2.SwitchServiceRegisterResponse.
|
|
@@ -95,13 +95,13 @@ export type SwitchServiceHeartbeatRequest = Message<"metalstack.infra.v2.SwitchS
|
|
|
95
95
|
*
|
|
96
96
|
* @generated from field: google.protobuf.Duration duration = 2;
|
|
97
97
|
*/
|
|
98
|
-
duration?: Duration;
|
|
98
|
+
duration?: Duration | undefined;
|
|
99
99
|
/**
|
|
100
100
|
* Error if any occurred during the sync
|
|
101
101
|
*
|
|
102
102
|
* @generated from field: optional string error = 3;
|
|
103
103
|
*/
|
|
104
|
-
error?: string;
|
|
104
|
+
error?: string | undefined;
|
|
105
105
|
/**
|
|
106
106
|
* PortStates maps port identifiers to the respective port's operational state
|
|
107
107
|
*
|
|
@@ -141,13 +141,13 @@ export type SwitchServiceHeartbeatResponse = Message<"metalstack.infra.v2.Switch
|
|
|
141
141
|
*
|
|
142
142
|
* @generated from field: metalstack.api.v2.SwitchSync last_sync = 2;
|
|
143
143
|
*/
|
|
144
|
-
lastSync?: SwitchSync;
|
|
144
|
+
lastSync?: SwitchSync | undefined;
|
|
145
145
|
/**
|
|
146
146
|
* LastSyncError holds information about the last erroneous sync
|
|
147
147
|
*
|
|
148
148
|
* @generated from field: metalstack.api.v2.SwitchSync last_sync_error = 3;
|
|
149
149
|
*/
|
|
150
|
-
lastSyncError?: SwitchSync;
|
|
150
|
+
lastSyncError?: SwitchSync | undefined;
|
|
151
151
|
};
|
|
152
152
|
/**
|
|
153
153
|
* Describes the message metalstack.infra.v2.SwitchServiceHeartbeatResponse.
|
|
@@ -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/infra/v2/switch.proto (package metalstack.infra.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/infra/v2/switch.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -51,7 +51,7 @@ export type SwitchServiceGetResponse = Message<"metalstack.infra.v2.SwitchServic
|
|
|
51
51
|
*
|
|
52
52
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
53
53
|
*/
|
|
54
|
-
switch?: Switch;
|
|
54
|
+
switch?: Switch | undefined;
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
/**
|
|
@@ -72,7 +72,7 @@ export type SwitchServiceRegisterRequest = Message<"metalstack.infra.v2.SwitchSe
|
|
|
72
72
|
*
|
|
73
73
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
74
74
|
*/
|
|
75
|
-
switch?: Switch;
|
|
75
|
+
switch?: Switch | undefined;
|
|
76
76
|
};
|
|
77
77
|
|
|
78
78
|
/**
|
|
@@ -93,7 +93,7 @@ export type SwitchServiceRegisterResponse = Message<"metalstack.infra.v2.SwitchS
|
|
|
93
93
|
*
|
|
94
94
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
95
95
|
*/
|
|
96
|
-
switch?: Switch;
|
|
96
|
+
switch?: Switch | undefined;
|
|
97
97
|
};
|
|
98
98
|
|
|
99
99
|
/**
|
|
@@ -121,14 +121,14 @@ export type SwitchServiceHeartbeatRequest = Message<"metalstack.infra.v2.SwitchS
|
|
|
121
121
|
*
|
|
122
122
|
* @generated from field: google.protobuf.Duration duration = 2;
|
|
123
123
|
*/
|
|
124
|
-
duration?: Duration;
|
|
124
|
+
duration?: Duration | undefined;
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* Error if any occurred during the sync
|
|
128
128
|
*
|
|
129
129
|
* @generated from field: optional string error = 3;
|
|
130
130
|
*/
|
|
131
|
-
error?: string;
|
|
131
|
+
error?: string | undefined;
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
134
|
* PortStates maps port identifiers to the respective port's operational state
|
|
@@ -170,14 +170,14 @@ export type SwitchServiceHeartbeatResponse = Message<"metalstack.infra.v2.Switch
|
|
|
170
170
|
*
|
|
171
171
|
* @generated from field: metalstack.api.v2.SwitchSync last_sync = 2;
|
|
172
172
|
*/
|
|
173
|
-
lastSync?: SwitchSync;
|
|
173
|
+
lastSync?: SwitchSync | undefined;
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
176
|
* LastSyncError holds information about the last erroneous sync
|
|
177
177
|
*
|
|
178
178
|
* @generated from field: metalstack.api.v2.SwitchSync last_sync_error = 3;
|
|
179
179
|
*/
|
|
180
|
-
lastSyncError?: SwitchSync;
|
|
180
|
+
lastSyncError?: SwitchSync | undefined;
|
|
181
181
|
};
|
|
182
182
|
|
|
183
183
|
/**
|