@metal-stack/api 0.4.3 → 0.5.1
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 +22 -16
- package/{js/metalstack → metalstack}/admin/v2/image_pb.js +1 -1
- package/{js/metalstack → metalstack}/admin/v2/image_pb.ts +24 -17
- 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 +36 -36
- package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +36 -36
- 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 +98 -98
- package/{js/metalstack → metalstack}/api/v2/network_pb.js +16 -16
- package/{js/metalstack → metalstack}/api/v2/network_pb.ts +98 -98
- 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/ip_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/network_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
package/client.ts
ADDED
|
@@ -0,0 +1,662 @@
|
|
|
1
|
+
// Code generated by generate_clients.go. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import { createClient, Interceptor, Transport } from "@connectrpc/connect";
|
|
4
|
+
import type { Client as ConnectClient } from "@connectrpc/connect";
|
|
5
|
+
import { createConnectTransport } from "@connectrpc/connect-web";
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
import { AuditService as Adminv2AuditService } from "./metalstack/admin/v2/audit_pb";
|
|
9
|
+
|
|
10
|
+
import { ComponentService as Adminv2ComponentService } from "./metalstack/admin/v2/component_pb";
|
|
11
|
+
|
|
12
|
+
import { FilesystemService as Adminv2FilesystemService } from "./metalstack/admin/v2/filesystem_pb";
|
|
13
|
+
|
|
14
|
+
import { ImageService as Adminv2ImageService } from "./metalstack/admin/v2/image_pb";
|
|
15
|
+
|
|
16
|
+
import { IPService as Adminv2IPService } from "./metalstack/admin/v2/ip_pb";
|
|
17
|
+
|
|
18
|
+
import { MachineService as Adminv2MachineService } from "./metalstack/admin/v2/machine_pb";
|
|
19
|
+
|
|
20
|
+
import { NetworkService as Adminv2NetworkService } from "./metalstack/admin/v2/network_pb";
|
|
21
|
+
|
|
22
|
+
import { PartitionService as Adminv2PartitionService } from "./metalstack/admin/v2/partition_pb";
|
|
23
|
+
|
|
24
|
+
import { ProjectService as Adminv2ProjectService } from "./metalstack/admin/v2/project_pb";
|
|
25
|
+
|
|
26
|
+
import { SizeService as Adminv2SizeService } from "./metalstack/admin/v2/size_pb";
|
|
27
|
+
|
|
28
|
+
import { SizeImageConstraintService as Adminv2SizeImageConstraintService } from "./metalstack/admin/v2/size_imageconstraint_pb";
|
|
29
|
+
|
|
30
|
+
import { SizeReservationService as Adminv2SizeReservationService } from "./metalstack/admin/v2/size_reservation_pb";
|
|
31
|
+
|
|
32
|
+
import { SwitchService as Adminv2SwitchService } from "./metalstack/admin/v2/switch_pb";
|
|
33
|
+
|
|
34
|
+
import { TaskService as Adminv2TaskService } from "./metalstack/admin/v2/task_pb";
|
|
35
|
+
|
|
36
|
+
import { TenantService as Adminv2TenantService } from "./metalstack/admin/v2/tenant_pb";
|
|
37
|
+
|
|
38
|
+
import { TokenService as Adminv2TokenService } from "./metalstack/admin/v2/token_pb";
|
|
39
|
+
|
|
40
|
+
import { VPNService as Adminv2VPNService } from "./metalstack/admin/v2/vpn_pb";
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
import { AuditService as Apiv2AuditService } from "./metalstack/api/v2/audit_pb";
|
|
45
|
+
|
|
46
|
+
import { FilesystemService as Apiv2FilesystemService } from "./metalstack/api/v2/filesystem_pb";
|
|
47
|
+
|
|
48
|
+
import { HealthService as Apiv2HealthService } from "./metalstack/api/v2/health_pb";
|
|
49
|
+
|
|
50
|
+
import { ImageService as Apiv2ImageService } from "./metalstack/api/v2/image_pb";
|
|
51
|
+
|
|
52
|
+
import { IPService as Apiv2IPService } from "./metalstack/api/v2/ip_pb";
|
|
53
|
+
|
|
54
|
+
import { MachineService as Apiv2MachineService } from "./metalstack/api/v2/machine_pb";
|
|
55
|
+
|
|
56
|
+
import { MethodService as Apiv2MethodService } from "./metalstack/api/v2/method_pb";
|
|
57
|
+
|
|
58
|
+
import { NetworkService as Apiv2NetworkService } from "./metalstack/api/v2/network_pb";
|
|
59
|
+
|
|
60
|
+
import { PartitionService as Apiv2PartitionService } from "./metalstack/api/v2/partition_pb";
|
|
61
|
+
|
|
62
|
+
import { ProjectService as Apiv2ProjectService } from "./metalstack/api/v2/project_pb";
|
|
63
|
+
|
|
64
|
+
import { SizeService as Apiv2SizeService } from "./metalstack/api/v2/size_pb";
|
|
65
|
+
|
|
66
|
+
import { SizeImageConstraintService as Apiv2SizeImageConstraintService } from "./metalstack/api/v2/size_imageconstraint_pb";
|
|
67
|
+
|
|
68
|
+
import { SizeReservationService as Apiv2SizeReservationService } from "./metalstack/api/v2/size_reservation_pb";
|
|
69
|
+
|
|
70
|
+
import { TenantService as Apiv2TenantService } from "./metalstack/api/v2/tenant_pb";
|
|
71
|
+
|
|
72
|
+
import { TokenService as Apiv2TokenService } from "./metalstack/api/v2/token_pb";
|
|
73
|
+
|
|
74
|
+
import { UserService as Apiv2UserService } from "./metalstack/api/v2/user_pb";
|
|
75
|
+
|
|
76
|
+
import { VersionService as Apiv2VersionService } from "./metalstack/api/v2/version_pb";
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
import { BMCService as Infrav2BMCService } from "./metalstack/infra/v2/bmc_pb";
|
|
81
|
+
|
|
82
|
+
import { BootService as Infrav2BootService } from "./metalstack/infra/v2/boot_pb";
|
|
83
|
+
|
|
84
|
+
import { ComponentService as Infrav2ComponentService } from "./metalstack/infra/v2/component_pb";
|
|
85
|
+
|
|
86
|
+
import { EventService as Infrav2EventService } from "./metalstack/infra/v2/event_pb";
|
|
87
|
+
|
|
88
|
+
import { SwitchService as Infrav2SwitchService } from "./metalstack/infra/v2/switch_pb";
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
export interface ClientConfig {
|
|
93
|
+
baseUrl: string;
|
|
94
|
+
token?: string;
|
|
95
|
+
interceptors?: Interceptor[];
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export interface Client {
|
|
99
|
+
|
|
100
|
+
adminv2(): Adminv2;
|
|
101
|
+
|
|
102
|
+
apiv2(): Apiv2;
|
|
103
|
+
|
|
104
|
+
infrav2(): Infrav2;
|
|
105
|
+
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
export interface Adminv2 {
|
|
110
|
+
|
|
111
|
+
audit(): ConnectClient<typeof Adminv2AuditService>;
|
|
112
|
+
|
|
113
|
+
component(): ConnectClient<typeof Adminv2ComponentService>;
|
|
114
|
+
|
|
115
|
+
filesystem(): ConnectClient<typeof Adminv2FilesystemService>;
|
|
116
|
+
|
|
117
|
+
image(): ConnectClient<typeof Adminv2ImageService>;
|
|
118
|
+
|
|
119
|
+
ip(): ConnectClient<typeof Adminv2IPService>;
|
|
120
|
+
|
|
121
|
+
machine(): ConnectClient<typeof Adminv2MachineService>;
|
|
122
|
+
|
|
123
|
+
network(): ConnectClient<typeof Adminv2NetworkService>;
|
|
124
|
+
|
|
125
|
+
partition(): ConnectClient<typeof Adminv2PartitionService>;
|
|
126
|
+
|
|
127
|
+
project(): ConnectClient<typeof Adminv2ProjectService>;
|
|
128
|
+
|
|
129
|
+
size(): ConnectClient<typeof Adminv2SizeService>;
|
|
130
|
+
|
|
131
|
+
sizeImageConstraint(): ConnectClient<typeof Adminv2SizeImageConstraintService>;
|
|
132
|
+
|
|
133
|
+
sizeReservation(): ConnectClient<typeof Adminv2SizeReservationService>;
|
|
134
|
+
|
|
135
|
+
switch(): ConnectClient<typeof Adminv2SwitchService>;
|
|
136
|
+
|
|
137
|
+
task(): ConnectClient<typeof Adminv2TaskService>;
|
|
138
|
+
|
|
139
|
+
tenant(): ConnectClient<typeof Adminv2TenantService>;
|
|
140
|
+
|
|
141
|
+
token(): ConnectClient<typeof Adminv2TokenService>;
|
|
142
|
+
|
|
143
|
+
vpn(): ConnectClient<typeof Adminv2VPNService>;
|
|
144
|
+
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
export interface Apiv2 {
|
|
149
|
+
|
|
150
|
+
audit(): ConnectClient<typeof Apiv2AuditService>;
|
|
151
|
+
|
|
152
|
+
filesystem(): ConnectClient<typeof Apiv2FilesystemService>;
|
|
153
|
+
|
|
154
|
+
health(): ConnectClient<typeof Apiv2HealthService>;
|
|
155
|
+
|
|
156
|
+
image(): ConnectClient<typeof Apiv2ImageService>;
|
|
157
|
+
|
|
158
|
+
ip(): ConnectClient<typeof Apiv2IPService>;
|
|
159
|
+
|
|
160
|
+
machine(): ConnectClient<typeof Apiv2MachineService>;
|
|
161
|
+
|
|
162
|
+
method(): ConnectClient<typeof Apiv2MethodService>;
|
|
163
|
+
|
|
164
|
+
network(): ConnectClient<typeof Apiv2NetworkService>;
|
|
165
|
+
|
|
166
|
+
partition(): ConnectClient<typeof Apiv2PartitionService>;
|
|
167
|
+
|
|
168
|
+
project(): ConnectClient<typeof Apiv2ProjectService>;
|
|
169
|
+
|
|
170
|
+
size(): ConnectClient<typeof Apiv2SizeService>;
|
|
171
|
+
|
|
172
|
+
sizeImageConstraint(): ConnectClient<typeof Apiv2SizeImageConstraintService>;
|
|
173
|
+
|
|
174
|
+
sizeReservation(): ConnectClient<typeof Apiv2SizeReservationService>;
|
|
175
|
+
|
|
176
|
+
tenant(): ConnectClient<typeof Apiv2TenantService>;
|
|
177
|
+
|
|
178
|
+
token(): ConnectClient<typeof Apiv2TokenService>;
|
|
179
|
+
|
|
180
|
+
user(): ConnectClient<typeof Apiv2UserService>;
|
|
181
|
+
|
|
182
|
+
version(): ConnectClient<typeof Apiv2VersionService>;
|
|
183
|
+
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
export interface Infrav2 {
|
|
188
|
+
|
|
189
|
+
bmc(): ConnectClient<typeof Infrav2BMCService>;
|
|
190
|
+
|
|
191
|
+
boot(): ConnectClient<typeof Infrav2BootService>;
|
|
192
|
+
|
|
193
|
+
component(): ConnectClient<typeof Infrav2ComponentService>;
|
|
194
|
+
|
|
195
|
+
event(): ConnectClient<typeof Infrav2EventService>;
|
|
196
|
+
|
|
197
|
+
switch(): ConnectClient<typeof Infrav2SwitchService>;
|
|
198
|
+
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
function authInterceptor(token: string): Interceptor {
|
|
204
|
+
return (next) => async (req) => {
|
|
205
|
+
req.header.set("Authorization", `Bearer ${token}`);
|
|
206
|
+
return await next(req);
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
function buildTransport(config: ClientConfig): Transport {
|
|
211
|
+
const interceptors: Interceptor[] = [];
|
|
212
|
+
|
|
213
|
+
if (config.token) {
|
|
214
|
+
interceptors.push(authInterceptor(config.token));
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
if (config.interceptors) {
|
|
218
|
+
interceptors.push(...config.interceptors);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
return createConnectTransport({
|
|
222
|
+
baseUrl: config.baseUrl,
|
|
223
|
+
interceptors: interceptors.length > 0 ? interceptors : undefined,
|
|
224
|
+
defaultTimeoutMs: 30_000,
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export function newClient(config: ClientConfig): Client {
|
|
229
|
+
const transport = buildTransport(config);
|
|
230
|
+
return new ClientImpl(transport);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
class ClientImpl implements Client {
|
|
234
|
+
private transport: Transport;
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
private _adminv2?: Adminv2Impl;
|
|
238
|
+
|
|
239
|
+
private _apiv2?: Apiv2Impl;
|
|
240
|
+
|
|
241
|
+
private _infrav2?: Infrav2Impl;
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
constructor(transport: Transport) {
|
|
245
|
+
this.transport = transport;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
adminv2(): Adminv2 {
|
|
250
|
+
if (!this._adminv2) {
|
|
251
|
+
this._adminv2 = new Adminv2Impl(this.transport);
|
|
252
|
+
}
|
|
253
|
+
return this._adminv2;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
apiv2(): Apiv2 {
|
|
257
|
+
if (!this._apiv2) {
|
|
258
|
+
this._apiv2 = new Apiv2Impl(this.transport);
|
|
259
|
+
}
|
|
260
|
+
return this._apiv2;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
infrav2(): Infrav2 {
|
|
264
|
+
if (!this._infrav2) {
|
|
265
|
+
this._infrav2 = new Infrav2Impl(this.transport);
|
|
266
|
+
}
|
|
267
|
+
return this._infrav2;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
class Adminv2Impl implements Adminv2 {
|
|
274
|
+
private transport: Transport;
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
private _audit?: ConnectClient<typeof Adminv2AuditService>;
|
|
278
|
+
|
|
279
|
+
private _component?: ConnectClient<typeof Adminv2ComponentService>;
|
|
280
|
+
|
|
281
|
+
private _filesystem?: ConnectClient<typeof Adminv2FilesystemService>;
|
|
282
|
+
|
|
283
|
+
private _image?: ConnectClient<typeof Adminv2ImageService>;
|
|
284
|
+
|
|
285
|
+
private _ip?: ConnectClient<typeof Adminv2IPService>;
|
|
286
|
+
|
|
287
|
+
private _machine?: ConnectClient<typeof Adminv2MachineService>;
|
|
288
|
+
|
|
289
|
+
private _network?: ConnectClient<typeof Adminv2NetworkService>;
|
|
290
|
+
|
|
291
|
+
private _partition?: ConnectClient<typeof Adminv2PartitionService>;
|
|
292
|
+
|
|
293
|
+
private _project?: ConnectClient<typeof Adminv2ProjectService>;
|
|
294
|
+
|
|
295
|
+
private _size?: ConnectClient<typeof Adminv2SizeService>;
|
|
296
|
+
|
|
297
|
+
private _sizeImageConstraint?: ConnectClient<typeof Adminv2SizeImageConstraintService>;
|
|
298
|
+
|
|
299
|
+
private _sizeReservation?: ConnectClient<typeof Adminv2SizeReservationService>;
|
|
300
|
+
|
|
301
|
+
private _switch?: ConnectClient<typeof Adminv2SwitchService>;
|
|
302
|
+
|
|
303
|
+
private _task?: ConnectClient<typeof Adminv2TaskService>;
|
|
304
|
+
|
|
305
|
+
private _tenant?: ConnectClient<typeof Adminv2TenantService>;
|
|
306
|
+
|
|
307
|
+
private _token?: ConnectClient<typeof Adminv2TokenService>;
|
|
308
|
+
|
|
309
|
+
private _vpn?: ConnectClient<typeof Adminv2VPNService>;
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
constructor(transport: Transport) {
|
|
313
|
+
this.transport = transport;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
audit(): ConnectClient<typeof Adminv2AuditService> {
|
|
318
|
+
if (!this._audit) {
|
|
319
|
+
this._audit = createClient(Adminv2AuditService, this.transport);
|
|
320
|
+
}
|
|
321
|
+
return this._audit;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
component(): ConnectClient<typeof Adminv2ComponentService> {
|
|
325
|
+
if (!this._component) {
|
|
326
|
+
this._component = createClient(Adminv2ComponentService, this.transport);
|
|
327
|
+
}
|
|
328
|
+
return this._component;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
filesystem(): ConnectClient<typeof Adminv2FilesystemService> {
|
|
332
|
+
if (!this._filesystem) {
|
|
333
|
+
this._filesystem = createClient(Adminv2FilesystemService, this.transport);
|
|
334
|
+
}
|
|
335
|
+
return this._filesystem;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
image(): ConnectClient<typeof Adminv2ImageService> {
|
|
339
|
+
if (!this._image) {
|
|
340
|
+
this._image = createClient(Adminv2ImageService, this.transport);
|
|
341
|
+
}
|
|
342
|
+
return this._image;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
ip(): ConnectClient<typeof Adminv2IPService> {
|
|
346
|
+
if (!this._ip) {
|
|
347
|
+
this._ip = createClient(Adminv2IPService, this.transport);
|
|
348
|
+
}
|
|
349
|
+
return this._ip;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
machine(): ConnectClient<typeof Adminv2MachineService> {
|
|
353
|
+
if (!this._machine) {
|
|
354
|
+
this._machine = createClient(Adminv2MachineService, this.transport);
|
|
355
|
+
}
|
|
356
|
+
return this._machine;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
network(): ConnectClient<typeof Adminv2NetworkService> {
|
|
360
|
+
if (!this._network) {
|
|
361
|
+
this._network = createClient(Adminv2NetworkService, this.transport);
|
|
362
|
+
}
|
|
363
|
+
return this._network;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
partition(): ConnectClient<typeof Adminv2PartitionService> {
|
|
367
|
+
if (!this._partition) {
|
|
368
|
+
this._partition = createClient(Adminv2PartitionService, this.transport);
|
|
369
|
+
}
|
|
370
|
+
return this._partition;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
project(): ConnectClient<typeof Adminv2ProjectService> {
|
|
374
|
+
if (!this._project) {
|
|
375
|
+
this._project = createClient(Adminv2ProjectService, this.transport);
|
|
376
|
+
}
|
|
377
|
+
return this._project;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
size(): ConnectClient<typeof Adminv2SizeService> {
|
|
381
|
+
if (!this._size) {
|
|
382
|
+
this._size = createClient(Adminv2SizeService, this.transport);
|
|
383
|
+
}
|
|
384
|
+
return this._size;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
sizeImageConstraint(): ConnectClient<typeof Adminv2SizeImageConstraintService> {
|
|
388
|
+
if (!this._sizeImageConstraint) {
|
|
389
|
+
this._sizeImageConstraint = createClient(Adminv2SizeImageConstraintService, this.transport);
|
|
390
|
+
}
|
|
391
|
+
return this._sizeImageConstraint;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
sizeReservation(): ConnectClient<typeof Adminv2SizeReservationService> {
|
|
395
|
+
if (!this._sizeReservation) {
|
|
396
|
+
this._sizeReservation = createClient(Adminv2SizeReservationService, this.transport);
|
|
397
|
+
}
|
|
398
|
+
return this._sizeReservation;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
switch(): ConnectClient<typeof Adminv2SwitchService> {
|
|
402
|
+
if (!this._switch) {
|
|
403
|
+
this._switch = createClient(Adminv2SwitchService, this.transport);
|
|
404
|
+
}
|
|
405
|
+
return this._switch;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
task(): ConnectClient<typeof Adminv2TaskService> {
|
|
409
|
+
if (!this._task) {
|
|
410
|
+
this._task = createClient(Adminv2TaskService, this.transport);
|
|
411
|
+
}
|
|
412
|
+
return this._task;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
tenant(): ConnectClient<typeof Adminv2TenantService> {
|
|
416
|
+
if (!this._tenant) {
|
|
417
|
+
this._tenant = createClient(Adminv2TenantService, this.transport);
|
|
418
|
+
}
|
|
419
|
+
return this._tenant;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
token(): ConnectClient<typeof Adminv2TokenService> {
|
|
423
|
+
if (!this._token) {
|
|
424
|
+
this._token = createClient(Adminv2TokenService, this.transport);
|
|
425
|
+
}
|
|
426
|
+
return this._token;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
vpn(): ConnectClient<typeof Adminv2VPNService> {
|
|
430
|
+
if (!this._vpn) {
|
|
431
|
+
this._vpn = createClient(Adminv2VPNService, this.transport);
|
|
432
|
+
}
|
|
433
|
+
return this._vpn;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
class Apiv2Impl implements Apiv2 {
|
|
440
|
+
private transport: Transport;
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
private _audit?: ConnectClient<typeof Apiv2AuditService>;
|
|
444
|
+
|
|
445
|
+
private _filesystem?: ConnectClient<typeof Apiv2FilesystemService>;
|
|
446
|
+
|
|
447
|
+
private _health?: ConnectClient<typeof Apiv2HealthService>;
|
|
448
|
+
|
|
449
|
+
private _image?: ConnectClient<typeof Apiv2ImageService>;
|
|
450
|
+
|
|
451
|
+
private _ip?: ConnectClient<typeof Apiv2IPService>;
|
|
452
|
+
|
|
453
|
+
private _machine?: ConnectClient<typeof Apiv2MachineService>;
|
|
454
|
+
|
|
455
|
+
private _method?: ConnectClient<typeof Apiv2MethodService>;
|
|
456
|
+
|
|
457
|
+
private _network?: ConnectClient<typeof Apiv2NetworkService>;
|
|
458
|
+
|
|
459
|
+
private _partition?: ConnectClient<typeof Apiv2PartitionService>;
|
|
460
|
+
|
|
461
|
+
private _project?: ConnectClient<typeof Apiv2ProjectService>;
|
|
462
|
+
|
|
463
|
+
private _size?: ConnectClient<typeof Apiv2SizeService>;
|
|
464
|
+
|
|
465
|
+
private _sizeImageConstraint?: ConnectClient<typeof Apiv2SizeImageConstraintService>;
|
|
466
|
+
|
|
467
|
+
private _sizeReservation?: ConnectClient<typeof Apiv2SizeReservationService>;
|
|
468
|
+
|
|
469
|
+
private _tenant?: ConnectClient<typeof Apiv2TenantService>;
|
|
470
|
+
|
|
471
|
+
private _token?: ConnectClient<typeof Apiv2TokenService>;
|
|
472
|
+
|
|
473
|
+
private _user?: ConnectClient<typeof Apiv2UserService>;
|
|
474
|
+
|
|
475
|
+
private _version?: ConnectClient<typeof Apiv2VersionService>;
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
constructor(transport: Transport) {
|
|
479
|
+
this.transport = transport;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
audit(): ConnectClient<typeof Apiv2AuditService> {
|
|
484
|
+
if (!this._audit) {
|
|
485
|
+
this._audit = createClient(Apiv2AuditService, this.transport);
|
|
486
|
+
}
|
|
487
|
+
return this._audit;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
filesystem(): ConnectClient<typeof Apiv2FilesystemService> {
|
|
491
|
+
if (!this._filesystem) {
|
|
492
|
+
this._filesystem = createClient(Apiv2FilesystemService, this.transport);
|
|
493
|
+
}
|
|
494
|
+
return this._filesystem;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
health(): ConnectClient<typeof Apiv2HealthService> {
|
|
498
|
+
if (!this._health) {
|
|
499
|
+
this._health = createClient(Apiv2HealthService, this.transport);
|
|
500
|
+
}
|
|
501
|
+
return this._health;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
image(): ConnectClient<typeof Apiv2ImageService> {
|
|
505
|
+
if (!this._image) {
|
|
506
|
+
this._image = createClient(Apiv2ImageService, this.transport);
|
|
507
|
+
}
|
|
508
|
+
return this._image;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
ip(): ConnectClient<typeof Apiv2IPService> {
|
|
512
|
+
if (!this._ip) {
|
|
513
|
+
this._ip = createClient(Apiv2IPService, this.transport);
|
|
514
|
+
}
|
|
515
|
+
return this._ip;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
machine(): ConnectClient<typeof Apiv2MachineService> {
|
|
519
|
+
if (!this._machine) {
|
|
520
|
+
this._machine = createClient(Apiv2MachineService, this.transport);
|
|
521
|
+
}
|
|
522
|
+
return this._machine;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
method(): ConnectClient<typeof Apiv2MethodService> {
|
|
526
|
+
if (!this._method) {
|
|
527
|
+
this._method = createClient(Apiv2MethodService, this.transport);
|
|
528
|
+
}
|
|
529
|
+
return this._method;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
network(): ConnectClient<typeof Apiv2NetworkService> {
|
|
533
|
+
if (!this._network) {
|
|
534
|
+
this._network = createClient(Apiv2NetworkService, this.transport);
|
|
535
|
+
}
|
|
536
|
+
return this._network;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
partition(): ConnectClient<typeof Apiv2PartitionService> {
|
|
540
|
+
if (!this._partition) {
|
|
541
|
+
this._partition = createClient(Apiv2PartitionService, this.transport);
|
|
542
|
+
}
|
|
543
|
+
return this._partition;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
project(): ConnectClient<typeof Apiv2ProjectService> {
|
|
547
|
+
if (!this._project) {
|
|
548
|
+
this._project = createClient(Apiv2ProjectService, this.transport);
|
|
549
|
+
}
|
|
550
|
+
return this._project;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
size(): ConnectClient<typeof Apiv2SizeService> {
|
|
554
|
+
if (!this._size) {
|
|
555
|
+
this._size = createClient(Apiv2SizeService, this.transport);
|
|
556
|
+
}
|
|
557
|
+
return this._size;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
sizeImageConstraint(): ConnectClient<typeof Apiv2SizeImageConstraintService> {
|
|
561
|
+
if (!this._sizeImageConstraint) {
|
|
562
|
+
this._sizeImageConstraint = createClient(Apiv2SizeImageConstraintService, this.transport);
|
|
563
|
+
}
|
|
564
|
+
return this._sizeImageConstraint;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
sizeReservation(): ConnectClient<typeof Apiv2SizeReservationService> {
|
|
568
|
+
if (!this._sizeReservation) {
|
|
569
|
+
this._sizeReservation = createClient(Apiv2SizeReservationService, this.transport);
|
|
570
|
+
}
|
|
571
|
+
return this._sizeReservation;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
tenant(): ConnectClient<typeof Apiv2TenantService> {
|
|
575
|
+
if (!this._tenant) {
|
|
576
|
+
this._tenant = createClient(Apiv2TenantService, this.transport);
|
|
577
|
+
}
|
|
578
|
+
return this._tenant;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
token(): ConnectClient<typeof Apiv2TokenService> {
|
|
582
|
+
if (!this._token) {
|
|
583
|
+
this._token = createClient(Apiv2TokenService, this.transport);
|
|
584
|
+
}
|
|
585
|
+
return this._token;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
user(): ConnectClient<typeof Apiv2UserService> {
|
|
589
|
+
if (!this._user) {
|
|
590
|
+
this._user = createClient(Apiv2UserService, this.transport);
|
|
591
|
+
}
|
|
592
|
+
return this._user;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
version(): ConnectClient<typeof Apiv2VersionService> {
|
|
596
|
+
if (!this._version) {
|
|
597
|
+
this._version = createClient(Apiv2VersionService, this.transport);
|
|
598
|
+
}
|
|
599
|
+
return this._version;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
class Infrav2Impl implements Infrav2 {
|
|
606
|
+
private transport: Transport;
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
private _bmc?: ConnectClient<typeof Infrav2BMCService>;
|
|
610
|
+
|
|
611
|
+
private _boot?: ConnectClient<typeof Infrav2BootService>;
|
|
612
|
+
|
|
613
|
+
private _component?: ConnectClient<typeof Infrav2ComponentService>;
|
|
614
|
+
|
|
615
|
+
private _event?: ConnectClient<typeof Infrav2EventService>;
|
|
616
|
+
|
|
617
|
+
private _switch?: ConnectClient<typeof Infrav2SwitchService>;
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
constructor(transport: Transport) {
|
|
621
|
+
this.transport = transport;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
bmc(): ConnectClient<typeof Infrav2BMCService> {
|
|
626
|
+
if (!this._bmc) {
|
|
627
|
+
this._bmc = createClient(Infrav2BMCService, this.transport);
|
|
628
|
+
}
|
|
629
|
+
return this._bmc;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
boot(): ConnectClient<typeof Infrav2BootService> {
|
|
633
|
+
if (!this._boot) {
|
|
634
|
+
this._boot = createClient(Infrav2BootService, this.transport);
|
|
635
|
+
}
|
|
636
|
+
return this._boot;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
component(): ConnectClient<typeof Infrav2ComponentService> {
|
|
640
|
+
if (!this._component) {
|
|
641
|
+
this._component = createClient(Infrav2ComponentService, this.transport);
|
|
642
|
+
}
|
|
643
|
+
return this._component;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
event(): ConnectClient<typeof Infrav2EventService> {
|
|
647
|
+
if (!this._event) {
|
|
648
|
+
this._event = createClient(Infrav2EventService, this.transport);
|
|
649
|
+
}
|
|
650
|
+
return this._event;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
switch(): ConnectClient<typeof Infrav2SwitchService> {
|
|
654
|
+
if (!this._switch) {
|
|
655
|
+
this._switch = createClient(Infrav2SwitchService, this.transport);
|
|
656
|
+
}
|
|
657
|
+
return this._switch;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
|
|
@@ -12,7 +12,7 @@ export declare const file_metalstack_admin_v2_audit: GenFile;
|
|
|
12
12
|
*/
|
|
13
13
|
export type AuditServiceListRequest = Message<"metalstack.admin.v2.AuditServiceListRequest"> & {
|
|
14
14
|
/**
|
|
15
|
-
* Query for audit traces
|
|
15
|
+
* Query for audit traces.
|
|
16
16
|
*
|
|
17
17
|
* @generated from field: metalstack.api.v2.AuditQuery query = 1;
|
|
18
18
|
*/
|
|
@@ -30,7 +30,7 @@ export declare const AuditServiceListRequestSchema: GenMessage<AuditServiceListR
|
|
|
30
30
|
*/
|
|
31
31
|
export type AuditServiceListResponse = Message<"metalstack.admin.v2.AuditServiceListResponse"> & {
|
|
32
32
|
/**
|
|
33
|
-
* Traces contains the list of audit traces
|
|
33
|
+
* Traces contains the list of audit traces.
|
|
34
34
|
*
|
|
35
35
|
* @generated from field: repeated metalstack.api.v2.AuditTrace traces = 1;
|
|
36
36
|
*/
|
|
@@ -48,13 +48,13 @@ export declare const AuditServiceListResponseSchema: GenMessage<AuditServiceList
|
|
|
48
48
|
*/
|
|
49
49
|
export type AuditServiceGetRequest = Message<"metalstack.admin.v2.AuditServiceGetRequest"> & {
|
|
50
50
|
/**
|
|
51
|
-
* Uuid of the audit trace
|
|
51
|
+
* Uuid of the audit trace.
|
|
52
52
|
*
|
|
53
53
|
* @generated from field: string uuid = 1;
|
|
54
54
|
*/
|
|
55
55
|
uuid: string;
|
|
56
56
|
/**
|
|
57
|
-
* Phase specifies the audit phase. Defaults to request
|
|
57
|
+
* Phase specifies the audit phase. Defaults to request.
|
|
58
58
|
*
|
|
59
59
|
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 2;
|
|
60
60
|
*/
|
|
@@ -72,7 +72,7 @@ export declare const AuditServiceGetRequestSchema: GenMessage<AuditServiceGetReq
|
|
|
72
72
|
*/
|
|
73
73
|
export type AuditServiceGetResponse = Message<"metalstack.admin.v2.AuditServiceGetResponse"> & {
|
|
74
74
|
/**
|
|
75
|
-
* Trace is the audit trace
|
|
75
|
+
* Trace is the audit trace.
|
|
76
76
|
*
|
|
77
77
|
* @generated from field: metalstack.api.v2.AuditTrace trace = 1;
|
|
78
78
|
*/
|