@metal-stack/api 0.4.4 → 0.5.2
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/Makefile → Makefile} +5 -2
- package/bun.lock +74 -0
- package/client-test.d.ts +1 -0
- package/client-test.js +45 -0
- package/client-test.ts +49 -0
- package/client.d.ts +97 -0
- package/client.js +347 -0
- package/client.ts +662 -0
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/component_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/component_pb.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/image_pb.d.ts +16 -16
- package/{js/metalstack → metalstack}/admin/v2/image_pb.ts +16 -16
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.d.ts +47 -55
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.js +1 -1
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.ts +48 -55
- package/{js/metalstack → metalstack}/admin/v2/network_pb.d.ts +195 -37
- package/{js/metalstack → metalstack}/admin/v2/network_pb.js +36 -5
- package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +222 -42
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.d.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/project_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/project_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.d.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_pb.d.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_pb.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.d.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/task_pb.d.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/task_pb.js +8 -8
- package/{js/metalstack → metalstack}/admin/v2/task_pb.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.d.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/token_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/token_pb.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.d.ts +13 -13
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.ts +13 -13
- package/{js/metalstack → metalstack}/api/v2/audit_pb.d.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/audit_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/audit_pb.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/common_pb.d.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/common_pb.js +47 -47
- package/{js/metalstack → metalstack}/api/v2/common_pb.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/component_pb.d.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/component_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/component_pb.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.d.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.js +23 -23
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/health_pb.d.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/health_pb.js +13 -13
- package/{js/metalstack → metalstack}/api/v2/health_pb.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/image_pb.d.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/image_pb.js +9 -9
- package/{js/metalstack → metalstack}/api/v2/image_pb.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/ip_pb.d.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/ip_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/ip_pb.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/machine_pb.d.ts +422 -374
- package/{js/metalstack → metalstack}/api/v2/machine_pb.js +94 -89
- package/{js/metalstack → metalstack}/api/v2/machine_pb.ts +453 -396
- package/{js/metalstack → metalstack}/api/v2/method_pb.d.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/method_pb.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/network_pb.d.ts +146 -98
- package/{js/metalstack → metalstack}/api/v2/network_pb.js +30 -20
- package/{js/metalstack → metalstack}/api/v2/network_pb.ts +158 -102
- package/{js/metalstack → metalstack}/api/v2/partition_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/partition_pb.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.d.ts +30 -24
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.js +40 -34
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.ts +42 -34
- package/{js/metalstack → metalstack}/api/v2/project_pb.d.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/project_pb.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.d.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_pb.js +6 -6
- package/{js/metalstack → metalstack}/api/v2/size_pb.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.d.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/switch_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/switch_pb.js +1 -1
- package/{js/metalstack → metalstack}/api/v2/switch_pb.ts +9 -9
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.d.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/token_pb.d.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/token_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/token_pb.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/user_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/user_pb.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/version_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/version_pb.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.ts +6 -6
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.d.ts +15 -17
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.js +1 -1
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.ts +16 -16
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.d.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/component_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/component_pb.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/event_pb.d.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/event_pb.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.d.ts +12 -12
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.ts +12 -12
- package/package.json +4 -3
- package/test-interceptor.d.ts +9 -0
- package/test-interceptor.js +33 -0
- package/test-interceptor.ts +49 -0
- package/tsconfig.json +14 -0
- package/LICENSE +0 -21
- package/README.md +0 -117
- package/js/tsconfig.json +0 -70
- /package/{js/buf → buf}/validate/validate_pb.d.ts +0 -0
- /package/{js/buf → buf}/validate/validate_pb.js +0 -0
- /package/{js/buf → buf}/validate/validate_pb.ts +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/audit_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/image_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/ip_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/switch_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/token_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/method_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/user_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/version_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/boot_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/event_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/switch_pb.js +0 -0
|
@@ -13,67 +13,67 @@ export declare const file_metalstack_api_v2_audit: GenFile;
|
|
|
13
13
|
*/
|
|
14
14
|
export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
15
15
|
/**
|
|
16
|
-
* Uuid of the audit trace
|
|
16
|
+
* Uuid of the audit trace.
|
|
17
17
|
*
|
|
18
18
|
* @generated from field: string uuid = 1;
|
|
19
19
|
*/
|
|
20
20
|
uuid: string;
|
|
21
21
|
/**
|
|
22
|
-
* Timestamp is the timestamp when the request arrived at the API
|
|
22
|
+
* Timestamp is the timestamp when the request arrived at the API.
|
|
23
23
|
*
|
|
24
24
|
* @generated from field: google.protobuf.Timestamp timestamp = 2;
|
|
25
25
|
*/
|
|
26
26
|
timestamp?: Timestamp | undefined;
|
|
27
27
|
/**
|
|
28
|
-
* User is the login user who called the API method
|
|
28
|
+
* User is the login user who called the API method.
|
|
29
29
|
*
|
|
30
30
|
* @generated from field: string user = 3;
|
|
31
31
|
*/
|
|
32
32
|
user: string;
|
|
33
33
|
/**
|
|
34
|
-
* Tenant is the tenant targeted by the API call
|
|
34
|
+
* Tenant is the tenant targeted by the API call.
|
|
35
35
|
*
|
|
36
36
|
* @generated from field: string tenant = 4;
|
|
37
37
|
*/
|
|
38
38
|
tenant: string;
|
|
39
39
|
/**
|
|
40
|
-
* Project is the project targeted by the API call
|
|
40
|
+
* Project is the project targeted by the API call.
|
|
41
41
|
*
|
|
42
42
|
* @generated from field: optional string project = 5;
|
|
43
43
|
*/
|
|
44
44
|
project?: string | undefined;
|
|
45
45
|
/**
|
|
46
|
-
* Method is the API method that was called
|
|
46
|
+
* Method is the API method that was called.
|
|
47
47
|
*
|
|
48
48
|
* @generated from field: string method = 6;
|
|
49
49
|
*/
|
|
50
50
|
method: string;
|
|
51
51
|
/**
|
|
52
|
-
* Body is the payload of the API call. In the request phase this contains the payload sent by the client, in the response phase it contains the payload returned by the API server
|
|
52
|
+
* Body is the payload of the API call. In the request phase this contains the payload sent by the client, in the response phase it contains the payload returned by the API server.
|
|
53
53
|
*
|
|
54
54
|
* @generated from field: optional string body = 7;
|
|
55
55
|
*/
|
|
56
56
|
body?: string | undefined;
|
|
57
57
|
/**
|
|
58
|
-
* SourceIP contains the source IP address of the API call
|
|
58
|
+
* SourceIP contains the source IP address of the API call.
|
|
59
59
|
*
|
|
60
60
|
* @generated from field: string source_ip = 8;
|
|
61
61
|
*/
|
|
62
62
|
sourceIp: string;
|
|
63
63
|
/**
|
|
64
|
-
* ResultCode is a status code describing the result of the API call. It is set for traces in the response phase and contains official gRPC status codes
|
|
64
|
+
* ResultCode is a status code describing the result of the API call. It is set for traces in the response phase and contains official gRPC status codes.
|
|
65
65
|
*
|
|
66
66
|
* @generated from field: optional int32 result_code = 9;
|
|
67
67
|
*/
|
|
68
68
|
resultCode?: number | undefined;
|
|
69
69
|
/**
|
|
70
|
-
* Phase represents the phase of the audit trace
|
|
70
|
+
* Phase represents the phase of the audit trace.
|
|
71
71
|
*
|
|
72
72
|
* @generated from field: metalstack.api.v2.AuditPhase phase = 10;
|
|
73
73
|
*/
|
|
74
74
|
phase: AuditPhase;
|
|
75
75
|
/**
|
|
76
|
-
* Meta for this audit trace
|
|
76
|
+
* Meta for this audit trace.
|
|
77
77
|
*
|
|
78
78
|
* @generated from field: metalstack.api.v2.Meta meta = 11;
|
|
79
79
|
*/
|
|
@@ -85,73 +85,73 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
|
85
85
|
*/
|
|
86
86
|
export declare const AuditTraceSchema: GenMessage<AuditTrace>;
|
|
87
87
|
/**
|
|
88
|
-
* AuditQuery is the query for audit traces
|
|
88
|
+
* AuditQuery is the query for audit traces.
|
|
89
89
|
*
|
|
90
90
|
* @generated from message metalstack.api.v2.AuditQuery
|
|
91
91
|
*/
|
|
92
92
|
export type AuditQuery = Message<"metalstack.api.v2.AuditQuery"> & {
|
|
93
93
|
/**
|
|
94
|
-
* Uuid of the audit trace
|
|
94
|
+
* Uuid of the audit trace.
|
|
95
95
|
*
|
|
96
96
|
* @generated from field: optional string uuid = 2;
|
|
97
97
|
*/
|
|
98
98
|
uuid?: string | undefined;
|
|
99
99
|
/**
|
|
100
|
-
* From describes the start of the time window in which to list audit traces. Defaults to the last eight hours
|
|
100
|
+
* From describes the start of the time window in which to list audit traces. Defaults to the last eight hours.
|
|
101
101
|
*
|
|
102
102
|
* @generated from field: optional google.protobuf.Timestamp from = 3;
|
|
103
103
|
*/
|
|
104
104
|
from?: Timestamp | undefined;
|
|
105
105
|
/**
|
|
106
|
-
* To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued
|
|
106
|
+
* To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued.
|
|
107
107
|
*
|
|
108
108
|
* @generated from field: optional google.protobuf.Timestamp to = 4;
|
|
109
109
|
*/
|
|
110
110
|
to?: Timestamp | undefined;
|
|
111
111
|
/**
|
|
112
|
-
* User is the user who called the api method
|
|
112
|
+
* User is the user who called the api method.
|
|
113
113
|
*
|
|
114
114
|
* @generated from field: optional string user = 5;
|
|
115
115
|
*/
|
|
116
116
|
user?: string | undefined;
|
|
117
117
|
/**
|
|
118
|
-
* Project is the project targeted by the api call
|
|
118
|
+
* Project is the project targeted by the api call.
|
|
119
119
|
*
|
|
120
120
|
* @generated from field: optional string project = 6;
|
|
121
121
|
*/
|
|
122
122
|
project?: string | undefined;
|
|
123
123
|
/**
|
|
124
|
-
* Method is the api method that was called
|
|
124
|
+
* Method is the api method that was called.
|
|
125
125
|
*
|
|
126
126
|
* @generated from field: optional string method = 7;
|
|
127
127
|
*/
|
|
128
128
|
method?: string | undefined;
|
|
129
129
|
/**
|
|
130
|
-
* Source IP contains the ip address of the caller
|
|
130
|
+
* Source IP contains the ip address of the caller.
|
|
131
131
|
*
|
|
132
132
|
* @generated from field: optional string source_ip = 8;
|
|
133
133
|
*/
|
|
134
134
|
sourceIp?: string | undefined;
|
|
135
135
|
/**
|
|
136
|
-
* Result Code is a string describing the result of the api call
|
|
136
|
+
* Result Code is a string describing the result of the api call.
|
|
137
137
|
*
|
|
138
138
|
* @generated from field: optional int32 result_code = 9;
|
|
139
139
|
*/
|
|
140
140
|
resultCode?: number | undefined;
|
|
141
141
|
/**
|
|
142
|
-
* Body is a string providing text-search of the body field
|
|
142
|
+
* Body is a string providing text-search of the body field.
|
|
143
143
|
*
|
|
144
144
|
* @generated from field: optional string body = 10;
|
|
145
145
|
*/
|
|
146
146
|
body?: string | undefined;
|
|
147
147
|
/**
|
|
148
|
-
* Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200)
|
|
148
|
+
* Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200).
|
|
149
149
|
*
|
|
150
150
|
* @generated from field: optional int32 limit = 11;
|
|
151
151
|
*/
|
|
152
152
|
limit?: number | undefined;
|
|
153
153
|
/**
|
|
154
|
-
* Phase specifies the audit phase
|
|
154
|
+
* Phase specifies the audit phase.
|
|
155
155
|
*
|
|
156
156
|
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 12;
|
|
157
157
|
*/
|
|
@@ -163,19 +163,19 @@ export type AuditQuery = Message<"metalstack.api.v2.AuditQuery"> & {
|
|
|
163
163
|
*/
|
|
164
164
|
export declare const AuditQuerySchema: GenMessage<AuditQuery>;
|
|
165
165
|
/**
|
|
166
|
-
* AuditServiceListRequest is the request payload for an audit list request
|
|
166
|
+
* AuditServiceListRequest is the request payload for an audit list request.
|
|
167
167
|
*
|
|
168
168
|
* @generated from message metalstack.api.v2.AuditServiceListRequest
|
|
169
169
|
*/
|
|
170
170
|
export type AuditServiceListRequest = Message<"metalstack.api.v2.AuditServiceListRequest"> & {
|
|
171
171
|
/**
|
|
172
|
-
* Login for this tenant
|
|
172
|
+
* Login for this tenant.
|
|
173
173
|
*
|
|
174
174
|
* @generated from field: string login = 1;
|
|
175
175
|
*/
|
|
176
176
|
login: string;
|
|
177
177
|
/**
|
|
178
|
-
* Query for audit traces
|
|
178
|
+
* Query for audit traces.
|
|
179
179
|
*
|
|
180
180
|
* @generated from field: metalstack.api.v2.AuditQuery query = 2;
|
|
181
181
|
*/
|
|
@@ -187,13 +187,13 @@ export type AuditServiceListRequest = Message<"metalstack.api.v2.AuditServiceLis
|
|
|
187
187
|
*/
|
|
188
188
|
export declare const AuditServiceListRequestSchema: GenMessage<AuditServiceListRequest>;
|
|
189
189
|
/**
|
|
190
|
-
* AuditServiceListResponse is the response payload of a audit list request
|
|
190
|
+
* AuditServiceListResponse is the response payload of a audit list request.
|
|
191
191
|
*
|
|
192
192
|
* @generated from message metalstack.api.v2.AuditServiceListResponse
|
|
193
193
|
*/
|
|
194
194
|
export type AuditServiceListResponse = Message<"metalstack.api.v2.AuditServiceListResponse"> & {
|
|
195
195
|
/**
|
|
196
|
-
* Traces is a list of audit traces
|
|
196
|
+
* Traces is a list of audit traces.
|
|
197
197
|
*
|
|
198
198
|
* @generated from field: repeated metalstack.api.v2.AuditTrace traces = 1;
|
|
199
199
|
*/
|
|
@@ -205,25 +205,25 @@ export type AuditServiceListResponse = Message<"metalstack.api.v2.AuditServiceLi
|
|
|
205
205
|
*/
|
|
206
206
|
export declare const AuditServiceListResponseSchema: GenMessage<AuditServiceListResponse>;
|
|
207
207
|
/**
|
|
208
|
-
* AuditServiceGetRequest is the request payload of a audit get request
|
|
208
|
+
* AuditServiceGetRequest is the request payload of a audit get request.
|
|
209
209
|
*
|
|
210
210
|
* @generated from message metalstack.api.v2.AuditServiceGetRequest
|
|
211
211
|
*/
|
|
212
212
|
export type AuditServiceGetRequest = Message<"metalstack.api.v2.AuditServiceGetRequest"> & {
|
|
213
213
|
/**
|
|
214
|
-
* Login for this tenant
|
|
214
|
+
* Login for this tenant.
|
|
215
215
|
*
|
|
216
216
|
* @generated from field: string login = 1;
|
|
217
217
|
*/
|
|
218
218
|
login: string;
|
|
219
219
|
/**
|
|
220
|
-
* Uuid of the audit trace
|
|
220
|
+
* Uuid of the audit trace.
|
|
221
221
|
*
|
|
222
222
|
* @generated from field: string uuid = 2;
|
|
223
223
|
*/
|
|
224
224
|
uuid: string;
|
|
225
225
|
/**
|
|
226
|
-
* Phase specifies the audit phase. Defaults to request
|
|
226
|
+
* Phase specifies the audit phase. Defaults to request.
|
|
227
227
|
*
|
|
228
228
|
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 3;
|
|
229
229
|
*/
|
|
@@ -235,13 +235,13 @@ export type AuditServiceGetRequest = Message<"metalstack.api.v2.AuditServiceGetR
|
|
|
235
235
|
*/
|
|
236
236
|
export declare const AuditServiceGetRequestSchema: GenMessage<AuditServiceGetRequest>;
|
|
237
237
|
/**
|
|
238
|
-
* AuditServiceGetResponse is the response payload of a audit get request
|
|
238
|
+
* AuditServiceGetResponse is the response payload of a audit get request.
|
|
239
239
|
*
|
|
240
240
|
* @generated from message metalstack.api.v2.AuditServiceGetResponse
|
|
241
241
|
*/
|
|
242
242
|
export type AuditServiceGetResponse = Message<"metalstack.api.v2.AuditServiceGetResponse"> & {
|
|
243
243
|
/**
|
|
244
|
-
* Trace is the audit trace
|
|
244
|
+
* Trace is the audit trace.
|
|
245
245
|
*
|
|
246
246
|
* @generated from field: metalstack.api.v2.AuditTrace trace = 1;
|
|
247
247
|
*/
|
|
@@ -259,19 +259,19 @@ export declare const AuditServiceGetResponseSchema: GenMessage<AuditServiceGetRe
|
|
|
259
259
|
*/
|
|
260
260
|
export declare enum AuditPhase {
|
|
261
261
|
/**
|
|
262
|
-
* AUDIT_PHASE_UNSPECIFIED is not specified
|
|
262
|
+
* AUDIT_PHASE_UNSPECIFIED is not specified.
|
|
263
263
|
*
|
|
264
264
|
* @generated from enum value: AUDIT_PHASE_UNSPECIFIED = 0;
|
|
265
265
|
*/
|
|
266
266
|
UNSPECIFIED = 0,
|
|
267
267
|
/**
|
|
268
|
-
* AUDIT_PHASE_REQUEST defines an audit trace in the request phase
|
|
268
|
+
* AUDIT_PHASE_REQUEST defines an audit trace in the request phase.
|
|
269
269
|
*
|
|
270
270
|
* @generated from enum value: AUDIT_PHASE_REQUEST = 1;
|
|
271
271
|
*/
|
|
272
272
|
REQUEST = 1,
|
|
273
273
|
/**
|
|
274
|
-
* AUDIT_PHASE_RESPONSE defines an audit trace in the response phase
|
|
274
|
+
* AUDIT_PHASE_RESPONSE defines an audit trace in the response phase.
|
|
275
275
|
*
|
|
276
276
|
* @generated from enum value: AUDIT_PHASE_RESPONSE = 2;
|
|
277
277
|
*/
|
|
@@ -48,19 +48,19 @@ export const AuditServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_meta
|
|
|
48
48
|
export var AuditPhase;
|
|
49
49
|
(function (AuditPhase) {
|
|
50
50
|
/**
|
|
51
|
-
* AUDIT_PHASE_UNSPECIFIED is not specified
|
|
51
|
+
* AUDIT_PHASE_UNSPECIFIED is not specified.
|
|
52
52
|
*
|
|
53
53
|
* @generated from enum value: AUDIT_PHASE_UNSPECIFIED = 0;
|
|
54
54
|
*/
|
|
55
55
|
AuditPhase[AuditPhase["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
56
56
|
/**
|
|
57
|
-
* AUDIT_PHASE_REQUEST defines an audit trace in the request phase
|
|
57
|
+
* AUDIT_PHASE_REQUEST defines an audit trace in the request phase.
|
|
58
58
|
*
|
|
59
59
|
* @generated from enum value: AUDIT_PHASE_REQUEST = 1;
|
|
60
60
|
*/
|
|
61
61
|
AuditPhase[AuditPhase["REQUEST"] = 1] = "REQUEST";
|
|
62
62
|
/**
|
|
63
|
-
* AUDIT_PHASE_RESPONSE defines an audit trace in the response phase
|
|
63
|
+
* AUDIT_PHASE_RESPONSE defines an audit trace in the response phase.
|
|
64
64
|
*
|
|
65
65
|
* @generated from enum value: AUDIT_PHASE_RESPONSE = 2;
|
|
66
66
|
*/
|
|
@@ -25,77 +25,77 @@ export const file_metalstack_api_v2_audit: GenFile = /*@__PURE__*/
|
|
|
25
25
|
*/
|
|
26
26
|
export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
27
27
|
/**
|
|
28
|
-
* Uuid of the audit trace
|
|
28
|
+
* Uuid of the audit trace.
|
|
29
29
|
*
|
|
30
30
|
* @generated from field: string uuid = 1;
|
|
31
31
|
*/
|
|
32
32
|
uuid: string;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
* Timestamp is the timestamp when the request arrived at the API
|
|
35
|
+
* Timestamp is the timestamp when the request arrived at the API.
|
|
36
36
|
*
|
|
37
37
|
* @generated from field: google.protobuf.Timestamp timestamp = 2;
|
|
38
38
|
*/
|
|
39
39
|
timestamp?: Timestamp | undefined;
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* User is the login user who called the API method
|
|
42
|
+
* User is the login user who called the API method.
|
|
43
43
|
*
|
|
44
44
|
* @generated from field: string user = 3;
|
|
45
45
|
*/
|
|
46
46
|
user: string;
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Tenant is the tenant targeted by the API call
|
|
49
|
+
* Tenant is the tenant targeted by the API call.
|
|
50
50
|
*
|
|
51
51
|
* @generated from field: string tenant = 4;
|
|
52
52
|
*/
|
|
53
53
|
tenant: string;
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
|
-
* Project is the project targeted by the API call
|
|
56
|
+
* Project is the project targeted by the API call.
|
|
57
57
|
*
|
|
58
58
|
* @generated from field: optional string project = 5;
|
|
59
59
|
*/
|
|
60
60
|
project?: string | undefined;
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
* Method is the API method that was called
|
|
63
|
+
* Method is the API method that was called.
|
|
64
64
|
*
|
|
65
65
|
* @generated from field: string method = 6;
|
|
66
66
|
*/
|
|
67
67
|
method: string;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
* Body is the payload of the API call. In the request phase this contains the payload sent by the client, in the response phase it contains the payload returned by the API server
|
|
70
|
+
* Body is the payload of the API call. In the request phase this contains the payload sent by the client, in the response phase it contains the payload returned by the API server.
|
|
71
71
|
*
|
|
72
72
|
* @generated from field: optional string body = 7;
|
|
73
73
|
*/
|
|
74
74
|
body?: string | undefined;
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* SourceIP contains the source IP address of the API call
|
|
77
|
+
* SourceIP contains the source IP address of the API call.
|
|
78
78
|
*
|
|
79
79
|
* @generated from field: string source_ip = 8;
|
|
80
80
|
*/
|
|
81
81
|
sourceIp: string;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* ResultCode is a status code describing the result of the API call. It is set for traces in the response phase and contains official gRPC status codes
|
|
84
|
+
* ResultCode is a status code describing the result of the API call. It is set for traces in the response phase and contains official gRPC status codes.
|
|
85
85
|
*
|
|
86
86
|
* @generated from field: optional int32 result_code = 9;
|
|
87
87
|
*/
|
|
88
88
|
resultCode?: number | undefined;
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
|
-
* Phase represents the phase of the audit trace
|
|
91
|
+
* Phase represents the phase of the audit trace.
|
|
92
92
|
*
|
|
93
93
|
* @generated from field: metalstack.api.v2.AuditPhase phase = 10;
|
|
94
94
|
*/
|
|
95
95
|
phase: AuditPhase;
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
|
-
* Meta for this audit trace
|
|
98
|
+
* Meta for this audit trace.
|
|
99
99
|
*
|
|
100
100
|
* @generated from field: metalstack.api.v2.Meta meta = 11;
|
|
101
101
|
*/
|
|
@@ -110,83 +110,83 @@ export const AuditTraceSchema: GenMessage<AuditTrace> = /*@__PURE__*/
|
|
|
110
110
|
messageDesc(file_metalstack_api_v2_audit, 0);
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
|
-
* AuditQuery is the query for audit traces
|
|
113
|
+
* AuditQuery is the query for audit traces.
|
|
114
114
|
*
|
|
115
115
|
* @generated from message metalstack.api.v2.AuditQuery
|
|
116
116
|
*/
|
|
117
117
|
export type AuditQuery = Message<"metalstack.api.v2.AuditQuery"> & {
|
|
118
118
|
/**
|
|
119
|
-
* Uuid of the audit trace
|
|
119
|
+
* Uuid of the audit trace.
|
|
120
120
|
*
|
|
121
121
|
* @generated from field: optional string uuid = 2;
|
|
122
122
|
*/
|
|
123
123
|
uuid?: string | undefined;
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
* From describes the start of the time window in which to list audit traces. Defaults to the last eight hours
|
|
126
|
+
* From describes the start of the time window in which to list audit traces. Defaults to the last eight hours.
|
|
127
127
|
*
|
|
128
128
|
* @generated from field: optional google.protobuf.Timestamp from = 3;
|
|
129
129
|
*/
|
|
130
130
|
from?: Timestamp | undefined;
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
|
-
* To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued
|
|
133
|
+
* To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued.
|
|
134
134
|
*
|
|
135
135
|
* @generated from field: optional google.protobuf.Timestamp to = 4;
|
|
136
136
|
*/
|
|
137
137
|
to?: Timestamp | undefined;
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
|
-
* User is the user who called the api method
|
|
140
|
+
* User is the user who called the api method.
|
|
141
141
|
*
|
|
142
142
|
* @generated from field: optional string user = 5;
|
|
143
143
|
*/
|
|
144
144
|
user?: string | undefined;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
|
-
* Project is the project targeted by the api call
|
|
147
|
+
* Project is the project targeted by the api call.
|
|
148
148
|
*
|
|
149
149
|
* @generated from field: optional string project = 6;
|
|
150
150
|
*/
|
|
151
151
|
project?: string | undefined;
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
|
-
* Method is the api method that was called
|
|
154
|
+
* Method is the api method that was called.
|
|
155
155
|
*
|
|
156
156
|
* @generated from field: optional string method = 7;
|
|
157
157
|
*/
|
|
158
158
|
method?: string | undefined;
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
|
-
* Source IP contains the ip address of the caller
|
|
161
|
+
* Source IP contains the ip address of the caller.
|
|
162
162
|
*
|
|
163
163
|
* @generated from field: optional string source_ip = 8;
|
|
164
164
|
*/
|
|
165
165
|
sourceIp?: string | undefined;
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
|
-
* Result Code is a string describing the result of the api call
|
|
168
|
+
* Result Code is a string describing the result of the api call.
|
|
169
169
|
*
|
|
170
170
|
* @generated from field: optional int32 result_code = 9;
|
|
171
171
|
*/
|
|
172
172
|
resultCode?: number | undefined;
|
|
173
173
|
|
|
174
174
|
/**
|
|
175
|
-
* Body is a string providing text-search of the body field
|
|
175
|
+
* Body is a string providing text-search of the body field.
|
|
176
176
|
*
|
|
177
177
|
* @generated from field: optional string body = 10;
|
|
178
178
|
*/
|
|
179
179
|
body?: string | undefined;
|
|
180
180
|
|
|
181
181
|
/**
|
|
182
|
-
* Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200)
|
|
182
|
+
* Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200).
|
|
183
183
|
*
|
|
184
184
|
* @generated from field: optional int32 limit = 11;
|
|
185
185
|
*/
|
|
186
186
|
limit?: number | undefined;
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
|
-
* Phase specifies the audit phase
|
|
189
|
+
* Phase specifies the audit phase.
|
|
190
190
|
*
|
|
191
191
|
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 12;
|
|
192
192
|
*/
|
|
@@ -201,20 +201,20 @@ export const AuditQuerySchema: GenMessage<AuditQuery> = /*@__PURE__*/
|
|
|
201
201
|
messageDesc(file_metalstack_api_v2_audit, 1);
|
|
202
202
|
|
|
203
203
|
/**
|
|
204
|
-
* AuditServiceListRequest is the request payload for an audit list request
|
|
204
|
+
* AuditServiceListRequest is the request payload for an audit list request.
|
|
205
205
|
*
|
|
206
206
|
* @generated from message metalstack.api.v2.AuditServiceListRequest
|
|
207
207
|
*/
|
|
208
208
|
export type AuditServiceListRequest = Message<"metalstack.api.v2.AuditServiceListRequest"> & {
|
|
209
209
|
/**
|
|
210
|
-
* Login for this tenant
|
|
210
|
+
* Login for this tenant.
|
|
211
211
|
*
|
|
212
212
|
* @generated from field: string login = 1;
|
|
213
213
|
*/
|
|
214
214
|
login: string;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
|
-
* Query for audit traces
|
|
217
|
+
* Query for audit traces.
|
|
218
218
|
*
|
|
219
219
|
* @generated from field: metalstack.api.v2.AuditQuery query = 2;
|
|
220
220
|
*/
|
|
@@ -229,13 +229,13 @@ export const AuditServiceListRequestSchema: GenMessage<AuditServiceListRequest>
|
|
|
229
229
|
messageDesc(file_metalstack_api_v2_audit, 2);
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
|
-
* AuditServiceListResponse is the response payload of a audit list request
|
|
232
|
+
* AuditServiceListResponse is the response payload of a audit list request.
|
|
233
233
|
*
|
|
234
234
|
* @generated from message metalstack.api.v2.AuditServiceListResponse
|
|
235
235
|
*/
|
|
236
236
|
export type AuditServiceListResponse = Message<"metalstack.api.v2.AuditServiceListResponse"> & {
|
|
237
237
|
/**
|
|
238
|
-
* Traces is a list of audit traces
|
|
238
|
+
* Traces is a list of audit traces.
|
|
239
239
|
*
|
|
240
240
|
* @generated from field: repeated metalstack.api.v2.AuditTrace traces = 1;
|
|
241
241
|
*/
|
|
@@ -250,27 +250,27 @@ export const AuditServiceListResponseSchema: GenMessage<AuditServiceListResponse
|
|
|
250
250
|
messageDesc(file_metalstack_api_v2_audit, 3);
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
|
-
* AuditServiceGetRequest is the request payload of a audit get request
|
|
253
|
+
* AuditServiceGetRequest is the request payload of a audit get request.
|
|
254
254
|
*
|
|
255
255
|
* @generated from message metalstack.api.v2.AuditServiceGetRequest
|
|
256
256
|
*/
|
|
257
257
|
export type AuditServiceGetRequest = Message<"metalstack.api.v2.AuditServiceGetRequest"> & {
|
|
258
258
|
/**
|
|
259
|
-
* Login for this tenant
|
|
259
|
+
* Login for this tenant.
|
|
260
260
|
*
|
|
261
261
|
* @generated from field: string login = 1;
|
|
262
262
|
*/
|
|
263
263
|
login: string;
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
|
-
* Uuid of the audit trace
|
|
266
|
+
* Uuid of the audit trace.
|
|
267
267
|
*
|
|
268
268
|
* @generated from field: string uuid = 2;
|
|
269
269
|
*/
|
|
270
270
|
uuid: string;
|
|
271
271
|
|
|
272
272
|
/**
|
|
273
|
-
* Phase specifies the audit phase. Defaults to request
|
|
273
|
+
* Phase specifies the audit phase. Defaults to request.
|
|
274
274
|
*
|
|
275
275
|
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 3;
|
|
276
276
|
*/
|
|
@@ -285,13 +285,13 @@ export const AuditServiceGetRequestSchema: GenMessage<AuditServiceGetRequest> =
|
|
|
285
285
|
messageDesc(file_metalstack_api_v2_audit, 4);
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
|
-
* AuditServiceGetResponse is the response payload of a audit get request
|
|
288
|
+
* AuditServiceGetResponse is the response payload of a audit get request.
|
|
289
289
|
*
|
|
290
290
|
* @generated from message metalstack.api.v2.AuditServiceGetResponse
|
|
291
291
|
*/
|
|
292
292
|
export type AuditServiceGetResponse = Message<"metalstack.api.v2.AuditServiceGetResponse"> & {
|
|
293
293
|
/**
|
|
294
|
-
* Trace is the audit trace
|
|
294
|
+
* Trace is the audit trace.
|
|
295
295
|
*
|
|
296
296
|
* @generated from field: metalstack.api.v2.AuditTrace trace = 1;
|
|
297
297
|
*/
|
|
@@ -312,21 +312,21 @@ export const AuditServiceGetResponseSchema: GenMessage<AuditServiceGetResponse>
|
|
|
312
312
|
*/
|
|
313
313
|
export enum AuditPhase {
|
|
314
314
|
/**
|
|
315
|
-
* AUDIT_PHASE_UNSPECIFIED is not specified
|
|
315
|
+
* AUDIT_PHASE_UNSPECIFIED is not specified.
|
|
316
316
|
*
|
|
317
317
|
* @generated from enum value: AUDIT_PHASE_UNSPECIFIED = 0;
|
|
318
318
|
*/
|
|
319
319
|
UNSPECIFIED = 0,
|
|
320
320
|
|
|
321
321
|
/**
|
|
322
|
-
* AUDIT_PHASE_REQUEST defines an audit trace in the request phase
|
|
322
|
+
* AUDIT_PHASE_REQUEST defines an audit trace in the request phase.
|
|
323
323
|
*
|
|
324
324
|
* @generated from enum value: AUDIT_PHASE_REQUEST = 1;
|
|
325
325
|
*/
|
|
326
326
|
REQUEST = 1,
|
|
327
327
|
|
|
328
328
|
/**
|
|
329
|
-
* AUDIT_PHASE_RESPONSE defines an audit trace in the response phase
|
|
329
|
+
* AUDIT_PHASE_RESPONSE defines an audit trace in the response phase.
|
|
330
330
|
*
|
|
331
331
|
* @generated from enum value: AUDIT_PHASE_RESPONSE = 2;
|
|
332
332
|
*/
|