@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/admin/v2/token.proto (package metalstack.admin.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -27,7 +27,7 @@ export type TokenServiceListRequest = Message<"metalstack.admin.v2.TokenServiceL
|
|
|
27
27
|
*
|
|
28
28
|
* @generated from field: optional string user = 1;
|
|
29
29
|
*/
|
|
30
|
-
user?: string;
|
|
30
|
+
user?: string | undefined;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
/**
|
|
@@ -112,14 +112,14 @@ export type TokenServiceCreateRequest = Message<"metalstack.admin.v2.TokenServic
|
|
|
112
112
|
*
|
|
113
113
|
* @generated from field: optional string user = 1;
|
|
114
114
|
*/
|
|
115
|
-
user?: string;
|
|
115
|
+
user?: string | undefined;
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
118
|
* TokenCreateRequest which should be created
|
|
119
119
|
*
|
|
120
120
|
* @generated from field: metalstack.api.v2.TokenServiceCreateRequest token_create_request = 2;
|
|
121
121
|
*/
|
|
122
|
-
tokenCreateRequest?: TokenServiceCreateRequest$1;
|
|
122
|
+
tokenCreateRequest?: TokenServiceCreateRequest$1 | undefined;
|
|
123
123
|
};
|
|
124
124
|
|
|
125
125
|
/**
|
|
@@ -140,7 +140,7 @@ export type TokenServiceCreateResponse = Message<"metalstack.admin.v2.TokenServi
|
|
|
140
140
|
*
|
|
141
141
|
* @generated from field: metalstack.api.v2.Token token = 1;
|
|
142
142
|
*/
|
|
143
|
-
token?: Token;
|
|
143
|
+
token?: Token | undefined;
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
* Secret is the body if the JWT token, should be used in API requests as bearer token
|
|
@@ -29,7 +29,7 @@ export type VPNServiceAuthKeyRequest = Message<"metalstack.admin.v2.VPNServiceAu
|
|
|
29
29
|
*
|
|
30
30
|
* @generated from field: google.protobuf.Duration expires = 3;
|
|
31
31
|
*/
|
|
32
|
-
expires?: Duration;
|
|
32
|
+
expires?: Duration | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* Reason must be provided why access to the VPN is requested
|
|
35
35
|
* Reason is only forwarded to an audit sink
|
|
@@ -73,13 +73,13 @@ export type VPNServiceAuthKeyResponse = Message<"metalstack.admin.v2.VPNServiceA
|
|
|
73
73
|
*
|
|
74
74
|
* @generated from field: google.protobuf.Timestamp expires_at = 4;
|
|
75
75
|
*/
|
|
76
|
-
expiresAt?: Timestamp;
|
|
76
|
+
expiresAt?: Timestamp | undefined;
|
|
77
77
|
/**
|
|
78
78
|
* CreatedAt this key was created at this timestamp
|
|
79
79
|
*
|
|
80
80
|
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
81
81
|
*/
|
|
82
|
-
createdAt?: Timestamp;
|
|
82
|
+
createdAt?: Timestamp | undefined;
|
|
83
83
|
};
|
|
84
84
|
/**
|
|
85
85
|
* Describes the message metalstack.admin.v2.VPNServiceAuthKeyResponse.
|
|
@@ -97,7 +97,7 @@ export type VPNServiceListNodesRequest = Message<"metalstack.admin.v2.VPNService
|
|
|
97
97
|
*
|
|
98
98
|
* @generated from field: optional string project = 1;
|
|
99
99
|
*/
|
|
100
|
-
project?: string;
|
|
100
|
+
project?: string | undefined;
|
|
101
101
|
};
|
|
102
102
|
/**
|
|
103
103
|
* Describes the message metalstack.admin.v2.VPNServiceListNodesRequest.
|
|
@@ -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/vpn.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/vpn.proto (package metalstack.admin.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -43,7 +43,7 @@ export type VPNServiceAuthKeyRequest = Message<"metalstack.admin.v2.VPNServiceAu
|
|
|
43
43
|
*
|
|
44
44
|
* @generated from field: google.protobuf.Duration expires = 3;
|
|
45
45
|
*/
|
|
46
|
-
expires?: Duration;
|
|
46
|
+
expires?: Duration | undefined;
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* Reason must be provided why access to the VPN is requested
|
|
@@ -94,14 +94,14 @@ export type VPNServiceAuthKeyResponse = Message<"metalstack.admin.v2.VPNServiceA
|
|
|
94
94
|
*
|
|
95
95
|
* @generated from field: google.protobuf.Timestamp expires_at = 4;
|
|
96
96
|
*/
|
|
97
|
-
expiresAt?: Timestamp;
|
|
97
|
+
expiresAt?: Timestamp | undefined;
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
100
|
* CreatedAt this key was created at this timestamp
|
|
101
101
|
*
|
|
102
102
|
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
103
103
|
*/
|
|
104
|
-
createdAt?: Timestamp;
|
|
104
|
+
createdAt?: Timestamp | undefined;
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
/**
|
|
@@ -122,7 +122,7 @@ export type VPNServiceListNodesRequest = Message<"metalstack.admin.v2.VPNService
|
|
|
122
122
|
*
|
|
123
123
|
* @generated from field: optional string project = 1;
|
|
124
124
|
*/
|
|
125
|
-
project?: string;
|
|
125
|
+
project?: string | undefined;
|
|
126
126
|
};
|
|
127
127
|
|
|
128
128
|
/**
|
|
@@ -22,7 +22,7 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
22
22
|
*
|
|
23
23
|
* @generated from field: google.protobuf.Timestamp timestamp = 2;
|
|
24
24
|
*/
|
|
25
|
-
timestamp?: Timestamp;
|
|
25
|
+
timestamp?: Timestamp | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* User is the login user who called the API method
|
|
28
28
|
*
|
|
@@ -40,7 +40,7 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
40
40
|
*
|
|
41
41
|
* @generated from field: optional string project = 5;
|
|
42
42
|
*/
|
|
43
|
-
project?: string;
|
|
43
|
+
project?: string | undefined;
|
|
44
44
|
/**
|
|
45
45
|
* Method is the API method that was called
|
|
46
46
|
*
|
|
@@ -52,7 +52,7 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
52
52
|
*
|
|
53
53
|
* @generated from field: optional string body = 7;
|
|
54
54
|
*/
|
|
55
|
-
body?: string;
|
|
55
|
+
body?: string | undefined;
|
|
56
56
|
/**
|
|
57
57
|
* SourceIP contains the source IP address of the API call
|
|
58
58
|
*
|
|
@@ -64,7 +64,7 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
64
64
|
*
|
|
65
65
|
* @generated from field: optional int32 result_code = 9;
|
|
66
66
|
*/
|
|
67
|
-
resultCode?: number;
|
|
67
|
+
resultCode?: number | undefined;
|
|
68
68
|
/**
|
|
69
69
|
* Phase represents the phase of the audit trace
|
|
70
70
|
*
|
|
@@ -88,67 +88,67 @@ export type AuditQuery = Message<"metalstack.api.v2.AuditQuery"> & {
|
|
|
88
88
|
*
|
|
89
89
|
* @generated from field: optional string uuid = 2;
|
|
90
90
|
*/
|
|
91
|
-
uuid?: string;
|
|
91
|
+
uuid?: string | undefined;
|
|
92
92
|
/**
|
|
93
93
|
* From describes the start of the time window in which to list audit traces. Defaults to the last eight hours
|
|
94
94
|
*
|
|
95
95
|
* @generated from field: optional google.protobuf.Timestamp from = 3;
|
|
96
96
|
*/
|
|
97
|
-
from?: Timestamp;
|
|
97
|
+
from?: Timestamp | undefined;
|
|
98
98
|
/**
|
|
99
99
|
* To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued
|
|
100
100
|
*
|
|
101
101
|
* @generated from field: optional google.protobuf.Timestamp to = 4;
|
|
102
102
|
*/
|
|
103
|
-
to?: Timestamp;
|
|
103
|
+
to?: Timestamp | undefined;
|
|
104
104
|
/**
|
|
105
105
|
* User is the user who called the api method
|
|
106
106
|
*
|
|
107
107
|
* @generated from field: optional string user = 5;
|
|
108
108
|
*/
|
|
109
|
-
user?: string;
|
|
109
|
+
user?: string | undefined;
|
|
110
110
|
/**
|
|
111
111
|
* Project is the project targeted by the api call
|
|
112
112
|
*
|
|
113
113
|
* @generated from field: optional string project = 6;
|
|
114
114
|
*/
|
|
115
|
-
project?: string;
|
|
115
|
+
project?: string | undefined;
|
|
116
116
|
/**
|
|
117
117
|
* Method is the api method that was called
|
|
118
118
|
*
|
|
119
119
|
* @generated from field: optional string method = 7;
|
|
120
120
|
*/
|
|
121
|
-
method?: string;
|
|
121
|
+
method?: string | undefined;
|
|
122
122
|
/**
|
|
123
123
|
* Source IP contains the ip address of the caller
|
|
124
124
|
*
|
|
125
125
|
* @generated from field: optional string source_ip = 8;
|
|
126
126
|
*/
|
|
127
|
-
sourceIp?: string;
|
|
127
|
+
sourceIp?: string | undefined;
|
|
128
128
|
/**
|
|
129
129
|
* Result Code is a string describing the result of the api call
|
|
130
130
|
*
|
|
131
131
|
* @generated from field: optional int32 result_code = 9;
|
|
132
132
|
*/
|
|
133
|
-
resultCode?: number;
|
|
133
|
+
resultCode?: number | undefined;
|
|
134
134
|
/**
|
|
135
135
|
* Body is a string providing text-search of the body field
|
|
136
136
|
*
|
|
137
137
|
* @generated from field: optional string body = 10;
|
|
138
138
|
*/
|
|
139
|
-
body?: string;
|
|
139
|
+
body?: string | undefined;
|
|
140
140
|
/**
|
|
141
141
|
* Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200)
|
|
142
142
|
*
|
|
143
143
|
* @generated from field: optional int32 limit = 11;
|
|
144
144
|
*/
|
|
145
|
-
limit?: number;
|
|
145
|
+
limit?: number | undefined;
|
|
146
146
|
/**
|
|
147
147
|
* Phase specifies the audit phase
|
|
148
148
|
*
|
|
149
149
|
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 12;
|
|
150
150
|
*/
|
|
151
|
-
phase?: AuditPhase;
|
|
151
|
+
phase?: AuditPhase | undefined;
|
|
152
152
|
};
|
|
153
153
|
/**
|
|
154
154
|
* Describes the message metalstack.api.v2.AuditQuery.
|
|
@@ -172,7 +172,7 @@ export type AuditServiceListRequest = Message<"metalstack.api.v2.AuditServiceLis
|
|
|
172
172
|
*
|
|
173
173
|
* @generated from field: metalstack.api.v2.AuditQuery query = 2;
|
|
174
174
|
*/
|
|
175
|
-
query?: AuditQuery;
|
|
175
|
+
query?: AuditQuery | undefined;
|
|
176
176
|
};
|
|
177
177
|
/**
|
|
178
178
|
* Describes the message metalstack.api.v2.AuditServiceListRequest.
|
|
@@ -220,7 +220,7 @@ export type AuditServiceGetRequest = Message<"metalstack.api.v2.AuditServiceGetR
|
|
|
220
220
|
*
|
|
221
221
|
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 3;
|
|
222
222
|
*/
|
|
223
|
-
phase?: AuditPhase;
|
|
223
|
+
phase?: AuditPhase | undefined;
|
|
224
224
|
};
|
|
225
225
|
/**
|
|
226
226
|
* Describes the message metalstack.api.v2.AuditServiceGetRequest.
|
|
@@ -238,7 +238,7 @@ export type AuditServiceGetResponse = Message<"metalstack.api.v2.AuditServiceGet
|
|
|
238
238
|
*
|
|
239
239
|
* @generated from field: metalstack.api.v2.AuditTrace trace = 1;
|
|
240
240
|
*/
|
|
241
|
-
trace?: AuditTrace;
|
|
241
|
+
trace?: AuditTrace | undefined;
|
|
242
242
|
};
|
|
243
243
|
/**
|
|
244
244
|
* Describes the message metalstack.api.v2.AuditServiceGetResponse.
|
|
@@ -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/audit.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.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/api/v2/audit.proto (package metalstack.api.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -35,7 +35,7 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
35
35
|
*
|
|
36
36
|
* @generated from field: google.protobuf.Timestamp timestamp = 2;
|
|
37
37
|
*/
|
|
38
|
-
timestamp?: Timestamp;
|
|
38
|
+
timestamp?: Timestamp | undefined;
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* User is the login user who called the API method
|
|
@@ -56,7 +56,7 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
56
56
|
*
|
|
57
57
|
* @generated from field: optional string project = 5;
|
|
58
58
|
*/
|
|
59
|
-
project?: string;
|
|
59
|
+
project?: string | undefined;
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
* Method is the API method that was called
|
|
@@ -70,7 +70,7 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
70
70
|
*
|
|
71
71
|
* @generated from field: optional string body = 7;
|
|
72
72
|
*/
|
|
73
|
-
body?: string;
|
|
73
|
+
body?: string | undefined;
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* SourceIP contains the source IP address of the API call
|
|
@@ -84,7 +84,7 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
84
84
|
*
|
|
85
85
|
* @generated from field: optional int32 result_code = 9;
|
|
86
86
|
*/
|
|
87
|
-
resultCode?: number;
|
|
87
|
+
resultCode?: number | undefined;
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* Phase represents the phase of the audit trace
|
|
@@ -112,77 +112,77 @@ export type AuditQuery = Message<"metalstack.api.v2.AuditQuery"> & {
|
|
|
112
112
|
*
|
|
113
113
|
* @generated from field: optional string uuid = 2;
|
|
114
114
|
*/
|
|
115
|
-
uuid?: string;
|
|
115
|
+
uuid?: string | undefined;
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
118
|
* From describes the start of the time window in which to list audit traces. Defaults to the last eight hours
|
|
119
119
|
*
|
|
120
120
|
* @generated from field: optional google.protobuf.Timestamp from = 3;
|
|
121
121
|
*/
|
|
122
|
-
from?: Timestamp;
|
|
122
|
+
from?: Timestamp | undefined;
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued
|
|
126
126
|
*
|
|
127
127
|
* @generated from field: optional google.protobuf.Timestamp to = 4;
|
|
128
128
|
*/
|
|
129
|
-
to?: Timestamp;
|
|
129
|
+
to?: Timestamp | undefined;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
132
|
* User is the user who called the api method
|
|
133
133
|
*
|
|
134
134
|
* @generated from field: optional string user = 5;
|
|
135
135
|
*/
|
|
136
|
-
user?: string;
|
|
136
|
+
user?: string | undefined;
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
139
|
* Project is the project targeted by the api call
|
|
140
140
|
*
|
|
141
141
|
* @generated from field: optional string project = 6;
|
|
142
142
|
*/
|
|
143
|
-
project?: string;
|
|
143
|
+
project?: string | undefined;
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
* Method is the api method that was called
|
|
147
147
|
*
|
|
148
148
|
* @generated from field: optional string method = 7;
|
|
149
149
|
*/
|
|
150
|
-
method?: string;
|
|
150
|
+
method?: string | undefined;
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* Source IP contains the ip address of the caller
|
|
154
154
|
*
|
|
155
155
|
* @generated from field: optional string source_ip = 8;
|
|
156
156
|
*/
|
|
157
|
-
sourceIp?: string;
|
|
157
|
+
sourceIp?: string | undefined;
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
160
|
* Result Code is a string describing the result of the api call
|
|
161
161
|
*
|
|
162
162
|
* @generated from field: optional int32 result_code = 9;
|
|
163
163
|
*/
|
|
164
|
-
resultCode?: number;
|
|
164
|
+
resultCode?: number | undefined;
|
|
165
165
|
|
|
166
166
|
/**
|
|
167
167
|
* Body is a string providing text-search of the body field
|
|
168
168
|
*
|
|
169
169
|
* @generated from field: optional string body = 10;
|
|
170
170
|
*/
|
|
171
|
-
body?: string;
|
|
171
|
+
body?: string | undefined;
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
174
|
* Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200)
|
|
175
175
|
*
|
|
176
176
|
* @generated from field: optional int32 limit = 11;
|
|
177
177
|
*/
|
|
178
|
-
limit?: number;
|
|
178
|
+
limit?: number | undefined;
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
181
|
* Phase specifies the audit phase
|
|
182
182
|
*
|
|
183
183
|
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 12;
|
|
184
184
|
*/
|
|
185
|
-
phase?: AuditPhase;
|
|
185
|
+
phase?: AuditPhase | undefined;
|
|
186
186
|
};
|
|
187
187
|
|
|
188
188
|
/**
|
|
@@ -210,7 +210,7 @@ export type AuditServiceListRequest = Message<"metalstack.api.v2.AuditServiceLis
|
|
|
210
210
|
*
|
|
211
211
|
* @generated from field: metalstack.api.v2.AuditQuery query = 2;
|
|
212
212
|
*/
|
|
213
|
-
query?: AuditQuery;
|
|
213
|
+
query?: AuditQuery | undefined;
|
|
214
214
|
};
|
|
215
215
|
|
|
216
216
|
/**
|
|
@@ -266,7 +266,7 @@ export type AuditServiceGetRequest = Message<"metalstack.api.v2.AuditServiceGetR
|
|
|
266
266
|
*
|
|
267
267
|
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 3;
|
|
268
268
|
*/
|
|
269
|
-
phase?: AuditPhase;
|
|
269
|
+
phase?: AuditPhase | undefined;
|
|
270
270
|
};
|
|
271
271
|
|
|
272
272
|
/**
|
|
@@ -287,7 +287,7 @@ export type AuditServiceGetResponse = Message<"metalstack.api.v2.AuditServiceGet
|
|
|
287
287
|
*
|
|
288
288
|
* @generated from field: metalstack.api.v2.AuditTrace trace = 1;
|
|
289
289
|
*/
|
|
290
|
-
trace?: AuditTrace;
|
|
290
|
+
trace?: AuditTrace | undefined;
|
|
291
291
|
};
|
|
292
292
|
|
|
293
293
|
/**
|
|
@@ -17,13 +17,13 @@ export type Paging = Message<"metalstack.api.v2.Paging"> & {
|
|
|
17
17
|
*
|
|
18
18
|
* @generated from field: optional uint64 page = 1;
|
|
19
19
|
*/
|
|
20
|
-
page?: bigint;
|
|
20
|
+
page?: bigint | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Count is the number of results returned per page, if not given server side defaults apply
|
|
23
23
|
*
|
|
24
24
|
* @generated from field: optional uint64 count = 2;
|
|
25
25
|
*/
|
|
26
|
-
count?: bigint;
|
|
26
|
+
count?: bigint | undefined;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* Describes the message metalstack.api.v2.Paging.
|
|
@@ -61,20 +61,20 @@ export type Meta = Message<"metalstack.api.v2.Meta"> & {
|
|
|
61
61
|
*
|
|
62
62
|
* @generated from field: optional metalstack.api.v2.Labels labels = 1;
|
|
63
63
|
*/
|
|
64
|
-
labels?: Labels;
|
|
64
|
+
labels?: Labels | undefined;
|
|
65
65
|
/**
|
|
66
66
|
* CreatedAt is the date when this entity was created
|
|
67
67
|
*
|
|
68
68
|
* @generated from field: google.protobuf.Timestamp created_at = 2;
|
|
69
69
|
*/
|
|
70
|
-
createdAt?: Timestamp;
|
|
70
|
+
createdAt?: Timestamp | undefined;
|
|
71
71
|
/**
|
|
72
72
|
* UpdatedAt is the date when this entity was updated
|
|
73
73
|
* must be part of the update request to ensure optimistic locking
|
|
74
74
|
*
|
|
75
75
|
* @generated from field: google.protobuf.Timestamp updated_at = 3;
|
|
76
76
|
*/
|
|
77
|
-
updatedAt?: Timestamp;
|
|
77
|
+
updatedAt?: Timestamp | undefined;
|
|
78
78
|
/**
|
|
79
79
|
* Generation identifies how often this entity was modified since creation.
|
|
80
80
|
*
|
|
@@ -98,7 +98,7 @@ export type UpdateLabels = Message<"metalstack.api.v2.UpdateLabels"> & {
|
|
|
98
98
|
*
|
|
99
99
|
* @generated from field: metalstack.api.v2.Labels update = 1;
|
|
100
100
|
*/
|
|
101
|
-
update?: Labels;
|
|
101
|
+
update?: Labels | undefined;
|
|
102
102
|
/**
|
|
103
103
|
* Remove labels by key
|
|
104
104
|
*
|
|
@@ -123,7 +123,7 @@ export type UpdateMeta = Message<"metalstack.api.v2.UpdateMeta"> & {
|
|
|
123
123
|
*
|
|
124
124
|
* @generated from field: google.protobuf.Timestamp updated_at = 1;
|
|
125
125
|
*/
|
|
126
|
-
updatedAt?: Timestamp;
|
|
126
|
+
updatedAt?: Timestamp | undefined;
|
|
127
127
|
/**
|
|
128
128
|
* LockingStrategy to be used for this update request
|
|
129
129
|
*
|
|
@@ -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/common.proto (package metalstack.api.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { enumDesc, extDesc, 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/common.proto (package metalstack.api.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -28,14 +28,14 @@ export type Paging = Message<"metalstack.api.v2.Paging"> & {
|
|
|
28
28
|
*
|
|
29
29
|
* @generated from field: optional uint64 page = 1;
|
|
30
30
|
*/
|
|
31
|
-
page?: bigint;
|
|
31
|
+
page?: bigint | undefined;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Count is the number of results returned per page, if not given server side defaults apply
|
|
35
35
|
*
|
|
36
36
|
* @generated from field: optional uint64 count = 2;
|
|
37
37
|
*/
|
|
38
|
-
count?: bigint;
|
|
38
|
+
count?: bigint | undefined;
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -77,14 +77,14 @@ export type Meta = Message<"metalstack.api.v2.Meta"> & {
|
|
|
77
77
|
*
|
|
78
78
|
* @generated from field: optional metalstack.api.v2.Labels labels = 1;
|
|
79
79
|
*/
|
|
80
|
-
labels?: Labels;
|
|
80
|
+
labels?: Labels | undefined;
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
83
|
* CreatedAt is the date when this entity was created
|
|
84
84
|
*
|
|
85
85
|
* @generated from field: google.protobuf.Timestamp created_at = 2;
|
|
86
86
|
*/
|
|
87
|
-
createdAt?: Timestamp;
|
|
87
|
+
createdAt?: Timestamp | undefined;
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* UpdatedAt is the date when this entity was updated
|
|
@@ -92,7 +92,7 @@ export type Meta = Message<"metalstack.api.v2.Meta"> & {
|
|
|
92
92
|
*
|
|
93
93
|
* @generated from field: google.protobuf.Timestamp updated_at = 3;
|
|
94
94
|
*/
|
|
95
|
-
updatedAt?: Timestamp;
|
|
95
|
+
updatedAt?: Timestamp | undefined;
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* Generation identifies how often this entity was modified since creation.
|
|
@@ -120,7 +120,7 @@ export type UpdateLabels = Message<"metalstack.api.v2.UpdateLabels"> & {
|
|
|
120
120
|
*
|
|
121
121
|
* @generated from field: metalstack.api.v2.Labels update = 1;
|
|
122
122
|
*/
|
|
123
|
-
update?: Labels;
|
|
123
|
+
update?: Labels | undefined;
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
126
|
* Remove labels by key
|
|
@@ -149,7 +149,7 @@ export type UpdateMeta = Message<"metalstack.api.v2.UpdateMeta"> & {
|
|
|
149
149
|
*
|
|
150
150
|
* @generated from field: google.protobuf.Timestamp updated_at = 1;
|
|
151
151
|
*/
|
|
152
|
-
updatedAt?: Timestamp;
|
|
152
|
+
updatedAt?: Timestamp | undefined;
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
* LockingStrategy to be used for this update request
|
|
@@ -37,31 +37,31 @@ export type Component = Message<"metalstack.api.v2.Component"> & {
|
|
|
37
37
|
*
|
|
38
38
|
* @generated from field: google.protobuf.Timestamp started_at = 4;
|
|
39
39
|
*/
|
|
40
|
-
startedAt?: Timestamp;
|
|
40
|
+
startedAt?: Timestamp | undefined;
|
|
41
41
|
/**
|
|
42
42
|
* ReportedAt is the timestamp this service sent this ping.
|
|
43
43
|
*
|
|
44
44
|
* @generated from field: google.protobuf.Timestamp reported_at = 5;
|
|
45
45
|
*/
|
|
46
|
-
reportedAt?: Timestamp;
|
|
46
|
+
reportedAt?: Timestamp | undefined;
|
|
47
47
|
/**
|
|
48
48
|
* Interval at which the ping is scheduled.
|
|
49
49
|
*
|
|
50
50
|
* @generated from field: google.protobuf.Duration interval = 6;
|
|
51
51
|
*/
|
|
52
|
-
interval?: Duration;
|
|
52
|
+
interval?: Duration | undefined;
|
|
53
53
|
/**
|
|
54
54
|
* Version of this service
|
|
55
55
|
*
|
|
56
56
|
* @generated from field: metalstack.api.v2.Version version = 7;
|
|
57
57
|
*/
|
|
58
|
-
version?: Version;
|
|
58
|
+
version?: Version | undefined;
|
|
59
59
|
/**
|
|
60
60
|
* Token is the token which is actually used by this microservice.
|
|
61
61
|
*
|
|
62
62
|
* @generated from field: metalstack.api.v2.Token token = 8;
|
|
63
63
|
*/
|
|
64
|
-
token?: Token;
|
|
64
|
+
token?: Token | undefined;
|
|
65
65
|
};
|
|
66
66
|
/**
|
|
67
67
|
* Describes the message metalstack.api.v2.Component.
|
|
@@ -79,20 +79,20 @@ export type ComponentQuery = Message<"metalstack.api.v2.ComponentQuery"> & {
|
|
|
79
79
|
*
|
|
80
80
|
* @generated from field: optional string uuid = 1;
|
|
81
81
|
*/
|
|
82
|
-
uuid?: string;
|
|
82
|
+
uuid?: string | undefined;
|
|
83
83
|
/**
|
|
84
84
|
* Type defines which service is actually pinging
|
|
85
85
|
*
|
|
86
86
|
* @generated from field: optional metalstack.api.v2.ComponentType type = 2;
|
|
87
87
|
*/
|
|
88
|
-
type?: ComponentType;
|
|
88
|
+
type?: ComponentType | undefined;
|
|
89
89
|
/**
|
|
90
90
|
* Identifier is a unique identifier of this service, e.g. if two instance are running, this might be the pod id.
|
|
91
91
|
* micro_service and identifier guarantee uniqueness.
|
|
92
92
|
*
|
|
93
93
|
* @generated from field: optional string identifier = 3;
|
|
94
94
|
*/
|
|
95
|
-
identifier?: string;
|
|
95
|
+
identifier?: string | undefined;
|
|
96
96
|
};
|
|
97
97
|
/**
|
|
98
98
|
* Describes the message metalstack.api.v2.ComponentQuery.
|
|
@@ -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/component.proto (package metalstack.api.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|