@metal-stack/api 0.0.40-beta.0

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.
Files changed (103) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +111 -0
  3. package/js/Makefile +16 -0
  4. package/js/buf/validate/validate_pb.d.ts +4597 -0
  5. package/js/buf/validate/validate_pb.js +351 -0
  6. package/js/buf/validate/validate_pb.ts +4938 -0
  7. package/js/metalstack/admin/v2/filesystem_pb.d.ts +207 -0
  8. package/js/metalstack/admin/v2/filesystem_pb.js +48 -0
  9. package/js/metalstack/admin/v2/filesystem_pb.ts +248 -0
  10. package/js/metalstack/admin/v2/image_pb.d.ts +242 -0
  11. package/js/metalstack/admin/v2/image_pb.js +59 -0
  12. package/js/metalstack/admin/v2/image_pb.ts +288 -0
  13. package/js/metalstack/admin/v2/ip_pb.d.ts +60 -0
  14. package/js/metalstack/admin/v2/ip_pb.js +26 -0
  15. package/js/metalstack/admin/v2/ip_pb.ts +78 -0
  16. package/js/metalstack/admin/v2/machine_pb.d.ts +113 -0
  17. package/js/metalstack/admin/v2/machine_pb.js +38 -0
  18. package/js/metalstack/admin/v2/machine_pb.ts +140 -0
  19. package/js/metalstack/admin/v2/network_pb.d.ts +407 -0
  20. package/js/metalstack/admin/v2/network_pb.js +68 -0
  21. package/js/metalstack/admin/v2/network_pb.ts +478 -0
  22. package/js/metalstack/admin/v2/partition_pb.d.ts +341 -0
  23. package/js/metalstack/admin/v2/partition_pb.js +58 -0
  24. package/js/metalstack/admin/v2/partition_pb.ts +402 -0
  25. package/js/metalstack/admin/v2/project_pb.d.ts +67 -0
  26. package/js/metalstack/admin/v2/project_pb.js +27 -0
  27. package/js/metalstack/admin/v2/project_pb.ts +87 -0
  28. package/js/metalstack/admin/v2/size_pb.d.ts +183 -0
  29. package/js/metalstack/admin/v2/size_pb.js +48 -0
  30. package/js/metalstack/admin/v2/size_pb.ts +220 -0
  31. package/js/metalstack/admin/v2/switch_pb.d.ts +377 -0
  32. package/js/metalstack/admin/v2/switch_pb.js +79 -0
  33. package/js/metalstack/admin/v2/switch_pb.ts +435 -0
  34. package/js/metalstack/admin/v2/tenant_pb.d.ts +149 -0
  35. package/js/metalstack/admin/v2/tenant_pb.js +38 -0
  36. package/js/metalstack/admin/v2/tenant_pb.ts +182 -0
  37. package/js/metalstack/admin/v2/token_pb.d.ts +164 -0
  38. package/js/metalstack/admin/v2/token_pb.js +47 -0
  39. package/js/metalstack/admin/v2/token_pb.ts +199 -0
  40. package/js/metalstack/admin/v2/vpn_pb.ts +184 -0
  41. package/js/metalstack/api/v2/common_pb.d.ts +407 -0
  42. package/js/metalstack/api/v2/common_pb.js +311 -0
  43. package/js/metalstack/api/v2/common_pb.ts +488 -0
  44. package/js/metalstack/api/v2/filesystem_pb.d.ts +704 -0
  45. package/js/metalstack/api/v2/filesystem_pb.js +259 -0
  46. package/js/metalstack/api/v2/filesystem_pb.ts +819 -0
  47. package/js/metalstack/api/v2/health_pb.d.ts +220 -0
  48. package/js/metalstack/api/v2/health_pb.js +130 -0
  49. package/js/metalstack/api/v2/health_pb.ts +264 -0
  50. package/js/metalstack/api/v2/image_pb.d.ts +368 -0
  51. package/js/metalstack/api/v2/image_pb.js +129 -0
  52. package/js/metalstack/api/v2/image_pb.ts +436 -0
  53. package/js/metalstack/api/v2/ip_pb.d.ts +555 -0
  54. package/js/metalstack/api/v2/ip_pb.js +137 -0
  55. package/js/metalstack/api/v2/ip_pb.ts +650 -0
  56. package/js/metalstack/api/v2/machine_pb.d.ts +1831 -0
  57. package/js/metalstack/api/v2/machine_pb.js +459 -0
  58. package/js/metalstack/api/v2/machine_pb.ts +2155 -0
  59. package/js/metalstack/api/v2/method_pb.d.ts +122 -0
  60. package/js/metalstack/api/v2/method_pb.js +38 -0
  61. package/js/metalstack/api/v2/method_pb.ts +149 -0
  62. package/js/metalstack/api/v2/network_pb.d.ts +820 -0
  63. package/js/metalstack/api/v2/network_pb.js +244 -0
  64. package/js/metalstack/api/v2/network_pb.ts +954 -0
  65. package/js/metalstack/api/v2/partition_pb.d.ts +251 -0
  66. package/js/metalstack/api/v2/partition_pb.js +62 -0
  67. package/js/metalstack/api/v2/partition_pb.ts +300 -0
  68. package/js/metalstack/api/v2/predefined_rules_pb.d.ts +54 -0
  69. package/js/metalstack/api/v2/predefined_rules_pb.js +57 -0
  70. package/js/metalstack/api/v2/predefined_rules_pb.ts +79 -0
  71. package/js/metalstack/api/v2/project_pb.d.ts +862 -0
  72. package/js/metalstack/api/v2/project_pb.js +163 -0
  73. package/js/metalstack/api/v2/project_pb.ts +1001 -0
  74. package/js/metalstack/api/v2/size_pb.d.ts +261 -0
  75. package/js/metalstack/api/v2/size_pb.js +94 -0
  76. package/js/metalstack/api/v2/size_pb.ts +312 -0
  77. package/js/metalstack/api/v2/switch_pb.d.ts +508 -0
  78. package/js/metalstack/api/v2/switch_pb.js +207 -0
  79. package/js/metalstack/api/v2/switch_pb.ts +653 -0
  80. package/js/metalstack/api/v2/tenant_pb.d.ts +864 -0
  81. package/js/metalstack/api/v2/tenant_pb.js +163 -0
  82. package/js/metalstack/api/v2/tenant_pb.ts +1004 -0
  83. package/js/metalstack/api/v2/token_pb.d.ts +540 -0
  84. package/js/metalstack/api/v2/token_pb.js +118 -0
  85. package/js/metalstack/api/v2/token_pb.ts +621 -0
  86. package/js/metalstack/api/v2/user_pb.d.ts +108 -0
  87. package/js/metalstack/api/v2/user_pb.js +34 -0
  88. package/js/metalstack/api/v2/user_pb.ts +139 -0
  89. package/js/metalstack/api/v2/version_pb.d.ts +88 -0
  90. package/js/metalstack/api/v2/version_pb.js +30 -0
  91. package/js/metalstack/api/v2/version_pb.ts +112 -0
  92. package/js/metalstack/api/v2/vpn_pb.ts +72 -0
  93. package/js/metalstack/infra/v2/bmc_pb.d.ts +45 -0
  94. package/js/metalstack/infra/v2/bmc_pb.js +25 -0
  95. package/js/metalstack/infra/v2/bmc_pb.ts +104 -0
  96. package/js/metalstack/infra/v2/event_pb.d.ts +181 -0
  97. package/js/metalstack/infra/v2/event_pb.js +116 -0
  98. package/js/metalstack/infra/v2/event_pb.ts +218 -0
  99. package/js/metalstack/infra/v2/switch_pb.d.ts +223 -0
  100. package/js/metalstack/infra/v2/switch_pb.js +54 -0
  101. package/js/metalstack/infra/v2/switch_pb.ts +228 -0
  102. package/js/tsconfig.json +70 -0
  103. package/package.json +21 -0
@@ -0,0 +1,436 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
2
+ // @generated from file metalstack/api/v2/image.proto (package metalstack.api.v2, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
8
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
9
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
10
+ import type { Labels, Meta } from "./common_pb";
11
+ import { file_metalstack_api_v2_common } from "./common_pb";
12
+ import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
13
+ import type { Message } from "@bufbuild/protobuf";
14
+
15
+ /**
16
+ * Describes the file metalstack/api/v2/image.proto.
17
+ */
18
+ export const file_metalstack_api_v2_image: GenFile = /*@__PURE__*/
19
+ fileDesc("Ch1tZXRhbHN0YWNrL2FwaS92Mi9pbWFnZS5wcm90bxIRbWV0YWxzdGFjay5hcGkudjIiMAoWSW1hZ2VTZXJ2aWNlR2V0UmVxdWVzdBIWCgJpZBgBIAEoCUIKukgHcgUQAhiAASJHChdJbWFnZVNlcnZpY2VMaXN0UmVxdWVzdBIsCgVxdWVyeRgBIAEoCzIdLm1ldGFsc3RhY2suYXBpLnYyLkltYWdlUXVlcnkiJwoZSW1hZ2VTZXJ2aWNlTGF0ZXN0UmVxdWVzdBIKCgJvcxgBIAEoCSJCChdJbWFnZV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uc2UiCNjzGAPg8xgCEmkKBExpc3QSKi5tZXRhbHN0YWNrLmFwaS52Mi5JbWFnZVNlcnZpY2VMaXN0UmVxdWVzdBorLm1ldGFsc3RhY2suYXBpLnYyLkltYWdlU2VydmljZUxpc3RSZXNwb25zZSII2PMYA+DzGAISbwoGTGF0ZXN0EiwubWV0YWxzdGFjay5hcGkudjIuSW1hZ2VTZXJ2aWNlTGF0ZXN0UmVxdWVzdBotLm1ldGFsc3RhY2suYXBpLnYyLkltYWdlU2VydmljZUxhdGVzdFJlc3BvbnNlIgjY8xgD4PMYAkLAAQoVY29tLm1ldGFsc3RhY2suYXBpLnYyQgpJbWFnZVByb3RvUAFaNWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYXBpL3YyO2FwaXYyogIDTUFYqgIRTWV0YWxzdGFjay5BcGkuVjLKAhFNZXRhbHN0YWNrXEFwaVxWMuICHU1ldGFsc3RhY2tcQXBpXFYyXEdQQk1ldGFkYXRh6gITTWV0YWxzdGFjazo6QXBpOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
20
+
21
+ /**
22
+ * ImageServiceGetRequest is the request payload for a image get request
23
+ *
24
+ * @generated from message metalstack.api.v2.ImageServiceGetRequest
25
+ */
26
+ export type ImageServiceGetRequest = Message<"metalstack.api.v2.ImageServiceGetRequest"> & {
27
+ /**
28
+ * ID of the image to get
29
+ *
30
+ * @generated from field: string id = 1;
31
+ */
32
+ id: string;
33
+ };
34
+
35
+ /**
36
+ * Describes the message metalstack.api.v2.ImageServiceGetRequest.
37
+ * Use `create(ImageServiceGetRequestSchema)` to create a new message.
38
+ */
39
+ export const ImageServiceGetRequestSchema: GenMessage<ImageServiceGetRequest> = /*@__PURE__*/
40
+ messageDesc(file_metalstack_api_v2_image, 0);
41
+
42
+ /**
43
+ * ImageServiceListRequest is the request payload for a image list request
44
+ *
45
+ * @generated from message metalstack.api.v2.ImageServiceListRequest
46
+ */
47
+ export type ImageServiceListRequest = Message<"metalstack.api.v2.ImageServiceListRequest"> & {
48
+ /**
49
+ * Query for images
50
+ *
51
+ * @generated from field: metalstack.api.v2.ImageQuery query = 1;
52
+ */
53
+ query?: ImageQuery;
54
+ };
55
+
56
+ /**
57
+ * Describes the message metalstack.api.v2.ImageServiceListRequest.
58
+ * Use `create(ImageServiceListRequestSchema)` to create a new message.
59
+ */
60
+ export const ImageServiceListRequestSchema: GenMessage<ImageServiceListRequest> = /*@__PURE__*/
61
+ messageDesc(file_metalstack_api_v2_image, 1);
62
+
63
+ /**
64
+ * ImageServiceLatestRequest is the request payload for a image latest request
65
+ *
66
+ * @generated from message metalstack.api.v2.ImageServiceLatestRequest
67
+ */
68
+ export type ImageServiceLatestRequest = Message<"metalstack.api.v2.ImageServiceLatestRequest"> & {
69
+ /**
70
+ * OS for which the latest image should be fetched
71
+ * should contain os and major.minor then latest patch version of this os is returned
72
+ *
73
+ * @generated from field: string os = 1;
74
+ */
75
+ os: string;
76
+ };
77
+
78
+ /**
79
+ * Describes the message metalstack.api.v2.ImageServiceLatestRequest.
80
+ * Use `create(ImageServiceLatestRequestSchema)` to create a new message.
81
+ */
82
+ export const ImageServiceLatestRequestSchema: GenMessage<ImageServiceLatestRequest> = /*@__PURE__*/
83
+ messageDesc(file_metalstack_api_v2_image, 2);
84
+
85
+ /**
86
+ * ImageServiceGetResponse is the response payload for a image get request
87
+ *
88
+ * @generated from message metalstack.api.v2.ImageServiceGetResponse
89
+ */
90
+ export type ImageServiceGetResponse = Message<"metalstack.api.v2.ImageServiceGetResponse"> & {
91
+ /**
92
+ * Image the image
93
+ *
94
+ * @generated from field: metalstack.api.v2.Image image = 1;
95
+ */
96
+ image?: Image;
97
+ };
98
+
99
+ /**
100
+ * Describes the message metalstack.api.v2.ImageServiceGetResponse.
101
+ * Use `create(ImageServiceGetResponseSchema)` to create a new message.
102
+ */
103
+ export const ImageServiceGetResponseSchema: GenMessage<ImageServiceGetResponse> = /*@__PURE__*/
104
+ messageDesc(file_metalstack_api_v2_image, 3);
105
+
106
+ /**
107
+ * ImageServiceListResponse is the response payload for a image list request
108
+ *
109
+ * @generated from message metalstack.api.v2.ImageServiceListResponse
110
+ */
111
+ export type ImageServiceListResponse = Message<"metalstack.api.v2.ImageServiceListResponse"> & {
112
+ /**
113
+ * Images the images
114
+ *
115
+ * @generated from field: repeated metalstack.api.v2.Image images = 1;
116
+ */
117
+ images: Image[];
118
+ };
119
+
120
+ /**
121
+ * Describes the message metalstack.api.v2.ImageServiceListResponse.
122
+ * Use `create(ImageServiceListResponseSchema)` to create a new message.
123
+ */
124
+ export const ImageServiceListResponseSchema: GenMessage<ImageServiceListResponse> = /*@__PURE__*/
125
+ messageDesc(file_metalstack_api_v2_image, 4);
126
+
127
+ /**
128
+ * ImageServiceLatestResponse is the response payload for a image latest request
129
+ *
130
+ * @generated from message metalstack.api.v2.ImageServiceLatestResponse
131
+ */
132
+ export type ImageServiceLatestResponse = Message<"metalstack.api.v2.ImageServiceLatestResponse"> & {
133
+ /**
134
+ * Image which is the latest for one os
135
+ *
136
+ * @generated from field: metalstack.api.v2.Image image = 1;
137
+ */
138
+ image?: Image;
139
+ };
140
+
141
+ /**
142
+ * Describes the message metalstack.api.v2.ImageServiceLatestResponse.
143
+ * Use `create(ImageServiceLatestResponseSchema)` to create a new message.
144
+ */
145
+ export const ImageServiceLatestResponseSchema: GenMessage<ImageServiceLatestResponse> = /*@__PURE__*/
146
+ messageDesc(file_metalstack_api_v2_image, 5);
147
+
148
+ /**
149
+ * Image
150
+ *
151
+ * @generated from message metalstack.api.v2.Image
152
+ */
153
+ export type Image = Message<"metalstack.api.v2.Image"> & {
154
+ /**
155
+ * Id of this imageLayout
156
+ *
157
+ * @generated from field: string id = 1;
158
+ */
159
+ id: string;
160
+
161
+ /**
162
+ * Meta for this ip
163
+ *
164
+ * @generated from field: metalstack.api.v2.Meta meta = 2;
165
+ */
166
+ meta?: Meta;
167
+
168
+ /**
169
+ * URL where this image is located
170
+ *
171
+ * @generated from field: string url = 3;
172
+ */
173
+ url: string;
174
+
175
+ /**
176
+ * Name of this imageLayout
177
+ *
178
+ * @generated from field: optional string name = 4;
179
+ */
180
+ name?: string;
181
+
182
+ /**
183
+ * Description of this imageLayout
184
+ *
185
+ * @generated from field: optional string description = 5;
186
+ */
187
+ description?: string;
188
+
189
+ /**
190
+ * Features of this image
191
+ *
192
+ * @generated from field: repeated metalstack.api.v2.ImageFeature features = 6;
193
+ */
194
+ features: ImageFeature[];
195
+
196
+ /**
197
+ * Classification of this image
198
+ *
199
+ * @generated from field: metalstack.api.v2.ImageClassification classification = 7;
200
+ */
201
+ classification: ImageClassification;
202
+
203
+ /**
204
+ * ExpiresAt usage is not possible after this date
205
+ *
206
+ * @generated from field: google.protobuf.Timestamp expires_at = 8;
207
+ */
208
+ expiresAt?: Timestamp;
209
+ };
210
+
211
+ /**
212
+ * Describes the message metalstack.api.v2.Image.
213
+ * Use `create(ImageSchema)` to create a new message.
214
+ */
215
+ export const ImageSchema: GenMessage<Image> = /*@__PURE__*/
216
+ messageDesc(file_metalstack_api_v2_image, 6);
217
+
218
+ /**
219
+ * ImageUsage reports which machines/firewalls actually use this image
220
+ *
221
+ * @generated from message metalstack.api.v2.ImageUsage
222
+ */
223
+ export type ImageUsage = Message<"metalstack.api.v2.ImageUsage"> & {
224
+ /**
225
+ * Image with usage
226
+ *
227
+ * @generated from field: metalstack.api.v2.Image image = 1;
228
+ */
229
+ image?: Image;
230
+
231
+ /**
232
+ * UsedBy the following machines/firewalls
233
+ *
234
+ * @generated from field: repeated string used_by = 2;
235
+ */
236
+ usedBy: string[];
237
+ };
238
+
239
+ /**
240
+ * Describes the message metalstack.api.v2.ImageUsage.
241
+ * Use `create(ImageUsageSchema)` to create a new message.
242
+ */
243
+ export const ImageUsageSchema: GenMessage<ImageUsage> = /*@__PURE__*/
244
+ messageDesc(file_metalstack_api_v2_image, 7);
245
+
246
+ /**
247
+ * ImageQuery is used to search images
248
+ *
249
+ * @generated from message metalstack.api.v2.ImageQuery
250
+ */
251
+ export type ImageQuery = Message<"metalstack.api.v2.ImageQuery"> & {
252
+ /**
253
+ * ID of the image to get
254
+ *
255
+ * @generated from field: optional string id = 1;
256
+ */
257
+ id?: string;
258
+
259
+ /**
260
+ * OS of the image
261
+ *
262
+ * @generated from field: optional string os = 2;
263
+ */
264
+ os?: string;
265
+
266
+ /**
267
+ * Version of the Image
268
+ *
269
+ * @generated from field: optional string version = 3;
270
+ */
271
+ version?: string;
272
+
273
+ /**
274
+ * Name of the image to query
275
+ *
276
+ * @generated from field: optional string name = 4;
277
+ */
278
+ name?: string;
279
+
280
+ /**
281
+ * Description of the image to query
282
+ *
283
+ * @generated from field: optional string description = 5;
284
+ */
285
+ description?: string;
286
+
287
+ /**
288
+ * Url of the image to query
289
+ *
290
+ * @generated from field: optional string url = 6;
291
+ */
292
+ url?: string;
293
+
294
+ /**
295
+ * Feature of the image to query
296
+ *
297
+ * @generated from field: optional metalstack.api.v2.ImageFeature feature = 7;
298
+ */
299
+ feature?: ImageFeature;
300
+
301
+ /**
302
+ * Classification of the image to query
303
+ *
304
+ * @generated from field: optional metalstack.api.v2.ImageClassification classification = 8;
305
+ */
306
+ classification?: ImageClassification;
307
+
308
+ /**
309
+ * Labels lists only images containing the given labels
310
+ *
311
+ * @generated from field: optional metalstack.api.v2.Labels labels = 9;
312
+ */
313
+ labels?: Labels;
314
+ };
315
+
316
+ /**
317
+ * Describes the message metalstack.api.v2.ImageQuery.
318
+ * Use `create(ImageQuerySchema)` to create a new message.
319
+ */
320
+ export const ImageQuerySchema: GenMessage<ImageQuery> = /*@__PURE__*/
321
+ messageDesc(file_metalstack_api_v2_image, 8);
322
+
323
+ /**
324
+ * ImageFeature
325
+ *
326
+ * @generated from enum metalstack.api.v2.ImageFeature
327
+ */
328
+ export enum ImageFeature {
329
+ /**
330
+ * IMAGE_FEATURE_UNSPECIFIED is not specified
331
+ *
332
+ * @generated from enum value: IMAGE_FEATURE_UNSPECIFIED = 0;
333
+ */
334
+ UNSPECIFIED = 0,
335
+
336
+ /**
337
+ * IMAGE_FEATURE_MACHINE indicates this image is usable for a machine
338
+ *
339
+ * @generated from enum value: IMAGE_FEATURE_MACHINE = 1;
340
+ */
341
+ MACHINE = 1,
342
+
343
+ /**
344
+ * IMAGE_FEATURE_FIREWALL indicates this image is usable for a firewall
345
+ *
346
+ * @generated from enum value: IMAGE_FEATURE_FIREWALL = 2;
347
+ */
348
+ FIREWALL = 2,
349
+ }
350
+
351
+ /**
352
+ * Describes the enum metalstack.api.v2.ImageFeature.
353
+ */
354
+ export const ImageFeatureSchema: GenEnum<ImageFeature> = /*@__PURE__*/
355
+ enumDesc(file_metalstack_api_v2_image, 0);
356
+
357
+ /**
358
+ * Image
359
+ *
360
+ * @generated from enum metalstack.api.v2.ImageClassification
361
+ */
362
+ export enum ImageClassification {
363
+ /**
364
+ * IMAGE_CLASSIFICATION_UNSPECIFIED is not specified
365
+ *
366
+ * @generated from enum value: IMAGE_CLASSIFICATION_UNSPECIFIED = 0;
367
+ */
368
+ UNSPECIFIED = 0,
369
+
370
+ /**
371
+ * IMAGE_CLASSIFICATION_PREVIEW indicates that this image is in preview
372
+ *
373
+ * @generated from enum value: IMAGE_CLASSIFICATION_PREVIEW = 1;
374
+ */
375
+ PREVIEW = 1,
376
+
377
+ /**
378
+ * IMAGE_CLASSIFICATION_SUPPORTED indicates that this image is supported
379
+ *
380
+ * @generated from enum value: IMAGE_CLASSIFICATION_SUPPORTED = 2;
381
+ */
382
+ SUPPORTED = 2,
383
+
384
+ /**
385
+ * IMAGE_CLASSIFICATION_DEPRECATED indicates that this image is deprecated
386
+ *
387
+ * @generated from enum value: IMAGE_CLASSIFICATION_DEPRECATED = 3;
388
+ */
389
+ DEPRECATED = 3,
390
+ }
391
+
392
+ /**
393
+ * Describes the enum metalstack.api.v2.ImageClassification.
394
+ */
395
+ export const ImageClassificationSchema: GenEnum<ImageClassification> = /*@__PURE__*/
396
+ enumDesc(file_metalstack_api_v2_image, 1);
397
+
398
+ /**
399
+ * ImageService serves image related functions
400
+ *
401
+ * @generated from service metalstack.api.v2.ImageService
402
+ */
403
+ export const ImageService: GenService<{
404
+ /**
405
+ * Get a image
406
+ *
407
+ * @generated from rpc metalstack.api.v2.ImageService.Get
408
+ */
409
+ get: {
410
+ methodKind: "unary";
411
+ input: typeof ImageServiceGetRequestSchema;
412
+ output: typeof ImageServiceGetResponseSchema;
413
+ },
414
+ /**
415
+ * List all images
416
+ *
417
+ * @generated from rpc metalstack.api.v2.ImageService.List
418
+ */
419
+ list: {
420
+ methodKind: "unary";
421
+ input: typeof ImageServiceListRequestSchema;
422
+ output: typeof ImageServiceListResponseSchema;
423
+ },
424
+ /**
425
+ * Latest image for a specific os
426
+ *
427
+ * @generated from rpc metalstack.api.v2.ImageService.Latest
428
+ */
429
+ latest: {
430
+ methodKind: "unary";
431
+ input: typeof ImageServiceLatestRequestSchema;
432
+ output: typeof ImageServiceLatestResponseSchema;
433
+ },
434
+ }> = /*@__PURE__*/
435
+ serviceDesc(file_metalstack_api_v2_image, 0);
436
+