@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.
Files changed (151) hide show
  1. package/{js/Makefile → Makefile} +5 -2
  2. package/bun.lock +74 -0
  3. package/client-test.d.ts +1 -0
  4. package/client-test.js +45 -0
  5. package/client-test.ts +49 -0
  6. package/client.d.ts +97 -0
  7. package/client.js +347 -0
  8. package/client.ts +662 -0
  9. package/{js/metalstack → metalstack}/admin/v2/audit_pb.d.ts +5 -5
  10. package/{js/metalstack → metalstack}/admin/v2/audit_pb.ts +5 -5
  11. package/{js/metalstack → metalstack}/admin/v2/component_pb.d.ts +6 -6
  12. package/{js/metalstack → metalstack}/admin/v2/component_pb.ts +6 -6
  13. package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.d.ts +28 -28
  14. package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.ts +28 -28
  15. package/{js/metalstack → metalstack}/admin/v2/image_pb.d.ts +22 -16
  16. package/{js/metalstack → metalstack}/admin/v2/image_pb.js +1 -1
  17. package/{js/metalstack → metalstack}/admin/v2/image_pb.ts +24 -17
  18. package/{js/metalstack → metalstack}/admin/v2/ip_pb.d.ts +2 -2
  19. package/{js/metalstack → metalstack}/admin/v2/ip_pb.ts +2 -2
  20. package/{js/metalstack → metalstack}/admin/v2/machine_pb.d.ts +47 -55
  21. package/{js/metalstack → metalstack}/admin/v2/machine_pb.js +1 -1
  22. package/{js/metalstack → metalstack}/admin/v2/machine_pb.ts +48 -55
  23. package/{js/metalstack → metalstack}/admin/v2/network_pb.d.ts +36 -36
  24. package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +36 -36
  25. package/{js/metalstack → metalstack}/admin/v2/partition_pb.d.ts +26 -26
  26. package/{js/metalstack → metalstack}/admin/v2/partition_pb.ts +26 -26
  27. package/{js/metalstack → metalstack}/admin/v2/project_pb.d.ts +2 -2
  28. package/{js/metalstack → metalstack}/admin/v2/project_pb.ts +2 -2
  29. package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.d.ts +18 -18
  30. package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.ts +18 -18
  31. package/{js/metalstack → metalstack}/admin/v2/size_pb.d.ts +11 -11
  32. package/{js/metalstack → metalstack}/admin/v2/size_pb.ts +11 -11
  33. package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.d.ts +14 -14
  34. package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.ts +14 -14
  35. package/{js/metalstack → metalstack}/admin/v2/switch_pb.d.ts +29 -29
  36. package/{js/metalstack → metalstack}/admin/v2/switch_pb.ts +29 -29
  37. package/{js/metalstack → metalstack}/admin/v2/task_pb.d.ts +47 -47
  38. package/{js/metalstack → metalstack}/admin/v2/task_pb.js +8 -8
  39. package/{js/metalstack → metalstack}/admin/v2/task_pb.ts +47 -47
  40. package/{js/metalstack → metalstack}/admin/v2/tenant_pb.d.ts +22 -22
  41. package/{js/metalstack → metalstack}/admin/v2/tenant_pb.ts +22 -22
  42. package/{js/metalstack → metalstack}/admin/v2/token_pb.d.ts +8 -8
  43. package/{js/metalstack → metalstack}/admin/v2/token_pb.ts +8 -8
  44. package/{js/metalstack → metalstack}/admin/v2/vpn_pb.d.ts +13 -13
  45. package/{js/metalstack → metalstack}/admin/v2/vpn_pb.ts +13 -13
  46. package/{js/metalstack → metalstack}/api/v2/audit_pb.d.ts +37 -37
  47. package/{js/metalstack → metalstack}/api/v2/audit_pb.js +3 -3
  48. package/{js/metalstack → metalstack}/api/v2/audit_pb.ts +37 -37
  49. package/{js/metalstack → metalstack}/api/v2/common_pb.d.ts +68 -68
  50. package/{js/metalstack → metalstack}/api/v2/common_pb.js +47 -47
  51. package/{js/metalstack → metalstack}/api/v2/common_pb.ts +68 -68
  52. package/{js/metalstack → metalstack}/api/v2/component_pb.d.ts +17 -17
  53. package/{js/metalstack → metalstack}/api/v2/component_pb.js +8 -8
  54. package/{js/metalstack → metalstack}/api/v2/component_pb.ts +17 -17
  55. package/{js/metalstack → metalstack}/api/v2/filesystem_pb.d.ts +82 -82
  56. package/{js/metalstack → metalstack}/api/v2/filesystem_pb.js +23 -23
  57. package/{js/metalstack → metalstack}/api/v2/filesystem_pb.ts +82 -82
  58. package/{js/metalstack → metalstack}/api/v2/health_pb.d.ts +21 -21
  59. package/{js/metalstack → metalstack}/api/v2/health_pb.js +13 -13
  60. package/{js/metalstack → metalstack}/api/v2/health_pb.ts +21 -21
  61. package/{js/metalstack → metalstack}/api/v2/image_pb.d.ts +45 -45
  62. package/{js/metalstack → metalstack}/api/v2/image_pb.js +9 -9
  63. package/{js/metalstack → metalstack}/api/v2/image_pb.ts +45 -45
  64. package/{js/metalstack → metalstack}/api/v2/ip_pb.d.ts +67 -67
  65. package/{js/metalstack → metalstack}/api/v2/ip_pb.js +8 -8
  66. package/{js/metalstack → metalstack}/api/v2/ip_pb.ts +67 -67
  67. package/{js/metalstack → metalstack}/api/v2/machine_pb.d.ts +422 -374
  68. package/{js/metalstack → metalstack}/api/v2/machine_pb.js +94 -89
  69. package/{js/metalstack → metalstack}/api/v2/machine_pb.ts +453 -396
  70. package/{js/metalstack → metalstack}/api/v2/method_pb.d.ts +7 -7
  71. package/{js/metalstack → metalstack}/api/v2/method_pb.ts +7 -7
  72. package/{js/metalstack → metalstack}/api/v2/network_pb.d.ts +98 -98
  73. package/{js/metalstack → metalstack}/api/v2/network_pb.js +16 -16
  74. package/{js/metalstack → metalstack}/api/v2/network_pb.ts +98 -98
  75. package/{js/metalstack → metalstack}/api/v2/partition_pb.d.ts +28 -28
  76. package/{js/metalstack → metalstack}/api/v2/partition_pb.ts +28 -28
  77. package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.d.ts +30 -24
  78. package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.js +40 -34
  79. package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.ts +42 -34
  80. package/{js/metalstack → metalstack}/api/v2/project_pb.d.ts +114 -114
  81. package/{js/metalstack → metalstack}/api/v2/project_pb.ts +114 -114
  82. package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.d.ts +21 -22
  83. package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.ts +21 -22
  84. package/{js/metalstack → metalstack}/api/v2/size_pb.d.ts +29 -29
  85. package/{js/metalstack → metalstack}/api/v2/size_pb.js +6 -6
  86. package/{js/metalstack → metalstack}/api/v2/size_pb.ts +29 -29
  87. package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.d.ts +27 -27
  88. package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.ts +27 -27
  89. package/{js/metalstack → metalstack}/api/v2/switch_pb.d.ts +8 -8
  90. package/{js/metalstack → metalstack}/api/v2/switch_pb.js +1 -1
  91. package/{js/metalstack → metalstack}/api/v2/switch_pb.ts +9 -9
  92. package/{js/metalstack → metalstack}/api/v2/tenant_pb.d.ts +114 -116
  93. package/{js/metalstack → metalstack}/api/v2/tenant_pb.ts +114 -116
  94. package/{js/metalstack → metalstack}/api/v2/token_pb.d.ts +103 -103
  95. package/{js/metalstack → metalstack}/api/v2/token_pb.js +3 -3
  96. package/{js/metalstack → metalstack}/api/v2/token_pb.ts +103 -103
  97. package/{js/metalstack → metalstack}/api/v2/user_pb.d.ts +8 -8
  98. package/{js/metalstack → metalstack}/api/v2/user_pb.ts +8 -8
  99. package/{js/metalstack → metalstack}/api/v2/version_pb.d.ts +5 -5
  100. package/{js/metalstack → metalstack}/api/v2/version_pb.ts +5 -5
  101. package/{js/metalstack → metalstack}/api/v2/vpn_pb.d.ts +6 -6
  102. package/{js/metalstack → metalstack}/api/v2/vpn_pb.ts +6 -6
  103. package/{js/metalstack → metalstack}/infra/v2/bmc_pb.d.ts +15 -17
  104. package/{js/metalstack → metalstack}/infra/v2/bmc_pb.js +1 -1
  105. package/{js/metalstack → metalstack}/infra/v2/bmc_pb.ts +16 -16
  106. package/{js/metalstack → metalstack}/infra/v2/boot_pb.d.ts +36 -36
  107. package/{js/metalstack → metalstack}/infra/v2/boot_pb.ts +36 -36
  108. package/{js/metalstack → metalstack}/infra/v2/component_pb.d.ts +5 -5
  109. package/{js/metalstack → metalstack}/infra/v2/component_pb.ts +5 -5
  110. package/{js/metalstack → metalstack}/infra/v2/event_pb.d.ts +3 -3
  111. package/{js/metalstack → metalstack}/infra/v2/event_pb.ts +3 -3
  112. package/{js/metalstack → metalstack}/infra/v2/switch_pb.d.ts +12 -12
  113. package/{js/metalstack → metalstack}/infra/v2/switch_pb.ts +12 -12
  114. package/package.json +4 -3
  115. package/test-interceptor.d.ts +9 -0
  116. package/test-interceptor.js +33 -0
  117. package/test-interceptor.ts +49 -0
  118. package/tsconfig.json +14 -0
  119. package/LICENSE +0 -21
  120. package/README.md +0 -117
  121. package/js/tsconfig.json +0 -70
  122. /package/{js/buf → buf}/validate/validate_pb.d.ts +0 -0
  123. /package/{js/buf → buf}/validate/validate_pb.js +0 -0
  124. /package/{js/buf → buf}/validate/validate_pb.ts +0 -0
  125. /package/{js/metalstack → metalstack}/admin/v2/audit_pb.js +0 -0
  126. /package/{js/metalstack → metalstack}/admin/v2/component_pb.js +0 -0
  127. /package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.js +0 -0
  128. /package/{js/metalstack → metalstack}/admin/v2/ip_pb.js +0 -0
  129. /package/{js/metalstack → metalstack}/admin/v2/network_pb.js +0 -0
  130. /package/{js/metalstack → metalstack}/admin/v2/partition_pb.js +0 -0
  131. /package/{js/metalstack → metalstack}/admin/v2/project_pb.js +0 -0
  132. /package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.js +0 -0
  133. /package/{js/metalstack → metalstack}/admin/v2/size_pb.js +0 -0
  134. /package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.js +0 -0
  135. /package/{js/metalstack → metalstack}/admin/v2/switch_pb.js +0 -0
  136. /package/{js/metalstack → metalstack}/admin/v2/tenant_pb.js +0 -0
  137. /package/{js/metalstack → metalstack}/admin/v2/token_pb.js +0 -0
  138. /package/{js/metalstack → metalstack}/admin/v2/vpn_pb.js +0 -0
  139. /package/{js/metalstack → metalstack}/api/v2/method_pb.js +0 -0
  140. /package/{js/metalstack → metalstack}/api/v2/partition_pb.js +0 -0
  141. /package/{js/metalstack → metalstack}/api/v2/project_pb.js +0 -0
  142. /package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.js +0 -0
  143. /package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.js +0 -0
  144. /package/{js/metalstack → metalstack}/api/v2/tenant_pb.js +0 -0
  145. /package/{js/metalstack → metalstack}/api/v2/user_pb.js +0 -0
  146. /package/{js/metalstack → metalstack}/api/v2/version_pb.js +0 -0
  147. /package/{js/metalstack → metalstack}/api/v2/vpn_pb.js +0 -0
  148. /package/{js/metalstack → metalstack}/infra/v2/boot_pb.js +0 -0
  149. /package/{js/metalstack → metalstack}/infra/v2/component_pb.js +0 -0
  150. /package/{js/metalstack → metalstack}/infra/v2/event_pb.js +0 -0
  151. /package/{js/metalstack → metalstack}/infra/v2/switch_pb.js +0 -0
@@ -17,13 +17,13 @@ export const file_metalstack_api_v2_size: GenFile = /*@__PURE__*/
17
17
  fileDesc("ChxtZXRhbHN0YWNrL2FwaS92Mi9zaXplLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiIwChVTaXplU2VydmljZUdldFJlcXVlc3QSFwoCaWQYASABKAlCC7pICHIGwLOusQIBIkUKFlNpemVTZXJ2aWNlTGlzdFJlcXVlc3QSKwoFcXVlcnkYASABKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5TaXplUXVlcnkiPwoWU2l6ZVNlcnZpY2VHZXRSZXNwb25zZRIlCgRzaXplGAEgASgLMhcubWV0YWxzdGFjay5hcGkudjIuU2l6ZSJBChdTaXplU2VydmljZUxpc3RSZXNwb25zZRImCgVzaXplcxgBIAMoCzIXLm1ldGFsc3RhY2suYXBpLnYyLlNpemUi3gEKBFNpemUSFwoCaWQYASABKAlCC7pICHIGwLOusQIB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XRhbHN0YWNrLmFwaS52Mi5TaXplU2VydmljZUdldFJlcXVlc3QaKS5tZXRhbHN0YWNrLmFwaS52Mi5TaXplU2VydmljZUdldFJlc3BvbnNlIgjY8xgC4PMYAhJnCgRMaXN0EikubWV0YWxzdGFjay5hcGkudjIuU2l6ZVNlcnZpY2VMaXN0UmVxdWVzdBoqLm1ldGFsc3RhY2suYXBpLnYyLlNpemVTZXJ2aWNlTGlzdFJlc3BvbnNlIgjY8xgC4PMYAkK/AQoVY29tLm1ldGFsc3RhY2suYXBpLnYyQglTaXplUHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
18
18
 
19
19
  /**
20
- * SizeServiceGetRequest is the request payload for a size get request
20
+ * SizeServiceGetRequest is the request payload for a size get request.
21
21
  *
22
22
  * @generated from message metalstack.api.v2.SizeServiceGetRequest
23
23
  */
24
24
  export type SizeServiceGetRequest = Message<"metalstack.api.v2.SizeServiceGetRequest"> & {
25
25
  /**
26
- * ID of the size to get
26
+ * ID of the size to get.
27
27
  *
28
28
  * @generated from field: string id = 1;
29
29
  */
@@ -38,13 +38,13 @@ export const SizeServiceGetRequestSchema: GenMessage<SizeServiceGetRequest> = /*
38
38
  messageDesc(file_metalstack_api_v2_size, 0);
39
39
 
40
40
  /**
41
- * SizeServiceListRequest is the request payload for a size list request
41
+ * SizeServiceListRequest is the request payload for a size list request.
42
42
  *
43
43
  * @generated from message metalstack.api.v2.SizeServiceListRequest
44
44
  */
45
45
  export type SizeServiceListRequest = Message<"metalstack.api.v2.SizeServiceListRequest"> & {
46
46
  /**
47
- * Query for sizes
47
+ * Query for sizes.
48
48
  *
49
49
  * @generated from field: metalstack.api.v2.SizeQuery query = 1;
50
50
  */
@@ -59,13 +59,13 @@ export const SizeServiceListRequestSchema: GenMessage<SizeServiceListRequest> =
59
59
  messageDesc(file_metalstack_api_v2_size, 1);
60
60
 
61
61
  /**
62
- * SizeServiceGetResponse is the response payload for a size get request
62
+ * SizeServiceGetResponse is the response payload for a size get request.
63
63
  *
64
64
  * @generated from message metalstack.api.v2.SizeServiceGetResponse
65
65
  */
66
66
  export type SizeServiceGetResponse = Message<"metalstack.api.v2.SizeServiceGetResponse"> & {
67
67
  /**
68
- * Size the size
68
+ * Size the size.
69
69
  *
70
70
  * @generated from field: metalstack.api.v2.Size size = 1;
71
71
  */
@@ -80,13 +80,13 @@ export const SizeServiceGetResponseSchema: GenMessage<SizeServiceGetResponse> =
80
80
  messageDesc(file_metalstack_api_v2_size, 2);
81
81
 
82
82
  /**
83
- * SizeServiceListResponse is the response payload for a size list request
83
+ * SizeServiceListResponse is the response payload for a size list request.
84
84
  *
85
85
  * @generated from message metalstack.api.v2.SizeServiceListResponse
86
86
  */
87
87
  export type SizeServiceListResponse = Message<"metalstack.api.v2.SizeServiceListResponse"> & {
88
88
  /**
89
- * Sizes the sizes
89
+ * Sizes the sizes.
90
90
  *
91
91
  * @generated from field: repeated metalstack.api.v2.Size sizes = 1;
92
92
  */
@@ -101,41 +101,41 @@ export const SizeServiceListResponseSchema: GenMessage<SizeServiceListResponse>
101
101
  messageDesc(file_metalstack_api_v2_size, 3);
102
102
 
103
103
  /**
104
- * Size
104
+ * Size.
105
105
  *
106
106
  * @generated from message metalstack.api.v2.Size
107
107
  */
108
108
  export type Size = Message<"metalstack.api.v2.Size"> & {
109
109
  /**
110
- * Id of this size
110
+ * Id of this size.
111
111
  *
112
112
  * @generated from field: string id = 1;
113
113
  */
114
114
  id: string;
115
115
 
116
116
  /**
117
- * Meta for this size
117
+ * Meta for this size.
118
118
  *
119
119
  * @generated from field: metalstack.api.v2.Meta meta = 2;
120
120
  */
121
121
  meta?: Meta | undefined;
122
122
 
123
123
  /**
124
- * Name of this size
124
+ * Name of this size.
125
125
  *
126
126
  * @generated from field: optional string name = 3;
127
127
  */
128
128
  name?: string | undefined;
129
129
 
130
130
  /**
131
- * Description of this size
131
+ * Description of this size.
132
132
  *
133
133
  * @generated from field: optional string description = 4;
134
134
  */
135
135
  description?: string | undefined;
136
136
 
137
137
  /**
138
- * Constraints which must match that a specific machine is considered of this size
138
+ * Constraints which must match that a specific machine is considered of this size.
139
139
  *
140
140
  * @generated from field: repeated metalstack.api.v2.SizeConstraint constraints = 5;
141
141
  */
@@ -156,28 +156,28 @@ export const SizeSchema: GenMessage<Size> = /*@__PURE__*/
156
156
  */
157
157
  export type SizeConstraint = Message<"metalstack.api.v2.SizeConstraint"> & {
158
158
  /**
159
- * Type a machine matches to a size in order to make them easier to categorize
159
+ * Type a machine matches to a size in order to make them easier to categorize.
160
160
  *
161
161
  * @generated from field: metalstack.api.v2.SizeConstraintType type = 1;
162
162
  */
163
163
  type: SizeConstraintType;
164
164
 
165
165
  /**
166
- * Min the minimum value of the constraint
166
+ * Min the minimum value of the constraint.
167
167
  *
168
168
  * @generated from field: uint64 min = 2;
169
169
  */
170
170
  min: bigint;
171
171
 
172
172
  /**
173
- * Max the maximum value of the constraint
173
+ * Max the maximum value of the constraint.
174
174
  *
175
175
  * @generated from field: uint64 max = 3;
176
176
  */
177
177
  max: bigint;
178
178
 
179
179
  /**
180
- * Identifier glob pattern which matches to the given type, for example gpu pci id
180
+ * Identifier glob pattern which matches to the given type, for example gpu pci id.
181
181
  *
182
182
  * @generated from field: optional string identifier = 4;
183
183
  */
@@ -192,34 +192,34 @@ export const SizeConstraintSchema: GenMessage<SizeConstraint> = /*@__PURE__*/
192
192
  messageDesc(file_metalstack_api_v2_size, 5);
193
193
 
194
194
  /**
195
- * SizeQuery is used to search sizes
195
+ * SizeQuery is used to search sizes.
196
196
  *
197
197
  * @generated from message metalstack.api.v2.SizeQuery
198
198
  */
199
199
  export type SizeQuery = Message<"metalstack.api.v2.SizeQuery"> & {
200
200
  /**
201
- * ID of the size to get
201
+ * ID of the size to get.
202
202
  *
203
203
  * @generated from field: optional string id = 1;
204
204
  */
205
205
  id?: string | undefined;
206
206
 
207
207
  /**
208
- * Name of the size to query
208
+ * Name of the size to query.
209
209
  *
210
210
  * @generated from field: optional string name = 2;
211
211
  */
212
212
  name?: string | undefined;
213
213
 
214
214
  /**
215
- * Description of the size to query
215
+ * Description of the size to query.
216
216
  *
217
217
  * @generated from field: optional string description = 3;
218
218
  */
219
219
  description?: string | undefined;
220
220
 
221
221
  /**
222
- * Labels lists only sizes containing the given labels
222
+ * Labels lists only sizes containing the given labels.
223
223
  *
224
224
  * @generated from field: optional metalstack.api.v2.Labels labels = 4;
225
225
  */
@@ -234,41 +234,41 @@ export const SizeQuerySchema: GenMessage<SizeQuery> = /*@__PURE__*/
234
234
  messageDesc(file_metalstack_api_v2_size, 6);
235
235
 
236
236
  /**
237
- * SizeConstraintType defines the property for which a constraint is defined
237
+ * SizeConstraintType defines the property for which a constraint is defined.
238
238
  *
239
239
  * @generated from enum metalstack.api.v2.SizeConstraintType
240
240
  */
241
241
  export enum SizeConstraintType {
242
242
  /**
243
- * SIZE_CONSTRAINT_TYPE_UNSPECIFIED type is not specified
243
+ * SIZE_CONSTRAINT_TYPE_UNSPECIFIED type is not specified.
244
244
  *
245
245
  * @generated from enum value: SIZE_CONSTRAINT_TYPE_UNSPECIFIED = 0;
246
246
  */
247
247
  UNSPECIFIED = 0,
248
248
 
249
249
  /**
250
- * SIZE_CONSTRAINT_TYPE_CORES defines the number of cores as property
250
+ * SIZE_CONSTRAINT_TYPE_CORES defines the number of cores as property.
251
251
  *
252
252
  * @generated from enum value: SIZE_CONSTRAINT_TYPE_CORES = 1;
253
253
  */
254
254
  CORES = 1,
255
255
 
256
256
  /**
257
- * SIZE_CONSTRAINT_TYPE_MEMORY defines the amount of memory as property
257
+ * SIZE_CONSTRAINT_TYPE_MEMORY defines the amount of memory as property.
258
258
  *
259
259
  * @generated from enum value: SIZE_CONSTRAINT_TYPE_MEMORY = 2;
260
260
  */
261
261
  MEMORY = 2,
262
262
 
263
263
  /**
264
- * SIZE_CONSTRAINT_TYPE_STORAGE defines the amount of storage as property
264
+ * SIZE_CONSTRAINT_TYPE_STORAGE defines the amount of storage as property.
265
265
  *
266
266
  * @generated from enum value: SIZE_CONSTRAINT_TYPE_STORAGE = 3;
267
267
  */
268
268
  STORAGE = 3,
269
269
 
270
270
  /**
271
- * SIZE_CONSTRAINT_TYPE_GPU defines the number of gpus as property
271
+ * SIZE_CONSTRAINT_TYPE_GPU defines the number of gpus as property.
272
272
  *
273
273
  * @generated from enum value: SIZE_CONSTRAINT_TYPE_GPU = 4;
274
274
  */
@@ -6,19 +6,19 @@ import type { Message } from "@bufbuild/protobuf";
6
6
  */
7
7
  export declare const file_metalstack_api_v2_size_reservation: GenFile;
8
8
  /**
9
- * SizeReservationServiceGetRequest is the request payload for a size get request
9
+ * SizeReservationServiceGetRequest is the request payload for a size get request.
10
10
  *
11
11
  * @generated from message metalstack.api.v2.SizeReservationServiceGetRequest
12
12
  */
13
13
  export type SizeReservationServiceGetRequest = Message<"metalstack.api.v2.SizeReservationServiceGetRequest"> & {
14
14
  /**
15
- * ID of the size reservation to get
15
+ * ID of the size reservation to get.
16
16
  *
17
17
  * @generated from field: string id = 1;
18
18
  */
19
19
  id: string;
20
20
  /**
21
- * Project of the size reservation
21
+ * Project of the size reservation.
22
22
  *
23
23
  * @generated from field: string project = 2;
24
24
  */
@@ -30,19 +30,19 @@ export type SizeReservationServiceGetRequest = Message<"metalstack.api.v2.SizeRe
30
30
  */
31
31
  export declare const SizeReservationServiceGetRequestSchema: GenMessage<SizeReservationServiceGetRequest>;
32
32
  /**
33
- * SizeReservationServiceListRequest is the request payload for a size list request
33
+ * SizeReservationServiceListRequest is the request payload for a size list request.
34
34
  *
35
35
  * @generated from message metalstack.api.v2.SizeReservationServiceListRequest
36
36
  */
37
37
  export type SizeReservationServiceListRequest = Message<"metalstack.api.v2.SizeReservationServiceListRequest"> & {
38
38
  /**
39
- * Project of the size reservation
39
+ * Project of the size reservation.
40
40
  *
41
41
  * @generated from field: string project = 1;
42
42
  */
43
43
  project: string;
44
44
  /**
45
- * Query for size reservations
45
+ * Query for size reservations.
46
46
  *
47
47
  * @generated from field: metalstack.api.v2.SizeReservationQuery query = 2;
48
48
  */
@@ -54,13 +54,13 @@ export type SizeReservationServiceListRequest = Message<"metalstack.api.v2.SizeR
54
54
  */
55
55
  export declare const SizeReservationServiceListRequestSchema: GenMessage<SizeReservationServiceListRequest>;
56
56
  /**
57
- * SizeReservationServiceGetResponse is the response payload for a size reservation get request
57
+ * SizeReservationServiceGetResponse is the response payload for a size reservation get request.
58
58
  *
59
59
  * @generated from message metalstack.api.v2.SizeReservationServiceGetResponse
60
60
  */
61
61
  export type SizeReservationServiceGetResponse = Message<"metalstack.api.v2.SizeReservationServiceGetResponse"> & {
62
62
  /**
63
- * Size reservation
63
+ * Size reservation.
64
64
  *
65
65
  * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1;
66
66
  */
@@ -72,13 +72,13 @@ export type SizeReservationServiceGetResponse = Message<"metalstack.api.v2.SizeR
72
72
  */
73
73
  export declare const SizeReservationServiceGetResponseSchema: GenMessage<SizeReservationServiceGetResponse>;
74
74
  /**
75
- * SizeReservationServiceListResponse is the response payload for a size reservation list request
75
+ * SizeReservationServiceListResponse is the response payload for a size reservation list request.
76
76
  *
77
77
  * @generated from message metalstack.api.v2.SizeReservationServiceListResponse
78
78
  */
79
79
  export type SizeReservationServiceListResponse = Message<"metalstack.api.v2.SizeReservationServiceListResponse"> & {
80
80
  /**
81
- * Size reservations
81
+ * Size reservations.
82
82
  *
83
83
  * @generated from field: repeated metalstack.api.v2.SizeReservation size_reservations = 1;
84
84
  */
@@ -90,55 +90,55 @@ export type SizeReservationServiceListResponse = Message<"metalstack.api.v2.Size
90
90
  */
91
91
  export declare const SizeReservationServiceListResponseSchema: GenMessage<SizeReservationServiceListResponse>;
92
92
  /**
93
- * SizeReservation
93
+ * SizeReservation.
94
94
  *
95
95
  * @generated from message metalstack.api.v2.SizeReservation
96
96
  */
97
97
  export type SizeReservation = Message<"metalstack.api.v2.SizeReservation"> & {
98
98
  /**
99
- * Id of this size reservation, is generated on creation
99
+ * Id of this size reservation, is generated on creation.
100
100
  *
101
101
  * @generated from field: string id = 1;
102
102
  */
103
103
  id: string;
104
104
  /**
105
- * Meta for this size reservation
105
+ * Meta for this size reservation.
106
106
  *
107
107
  * @generated from field: metalstack.api.v2.Meta meta = 2;
108
108
  */
109
109
  meta?: Meta | undefined;
110
110
  /**
111
- * Name of this size reservation
111
+ * Name of this size reservation.
112
112
  *
113
113
  * @generated from field: string name = 3;
114
114
  */
115
115
  name: string;
116
116
  /**
117
- * Description of this size reservation
117
+ * Description of this size reservation.
118
118
  *
119
119
  * @generated from field: string description = 4;
120
120
  */
121
121
  description: string;
122
122
  /**
123
- * Project of the size reservation
123
+ * Project of the size reservation.
124
124
  *
125
125
  * @generated from field: string project = 5;
126
126
  */
127
127
  project: string;
128
128
  /**
129
- * Size id of this size reservation
129
+ * Size id of this size reservation.
130
130
  *
131
131
  * @generated from field: string size = 6;
132
132
  */
133
133
  size: string;
134
134
  /**
135
- * Partition ids of this size reservation
135
+ * Partition ids of this size reservation.
136
136
  *
137
137
  * @generated from field: repeated string partitions = 7;
138
138
  */
139
139
  partitions: string[];
140
140
  /**
141
- * Amount of reservations of this size reservation
141
+ * Amount of reservations of this size reservation.
142
142
  *
143
143
  * @generated from field: int32 amount = 8;
144
144
  */
@@ -150,49 +150,49 @@ export type SizeReservation = Message<"metalstack.api.v2.SizeReservation"> & {
150
150
  */
151
151
  export declare const SizeReservationSchema: GenMessage<SizeReservation>;
152
152
  /**
153
- * SizeReservationQuery is used to search size reservations
153
+ * SizeReservationQuery is used to search size reservations.
154
154
  *
155
155
  * @generated from message metalstack.api.v2.SizeReservationQuery
156
156
  */
157
157
  export type SizeReservationQuery = Message<"metalstack.api.v2.SizeReservationQuery"> & {
158
158
  /**
159
- * ID of the size reservation to get
159
+ * ID of the size reservation to get.
160
160
  *
161
161
  * @generated from field: optional string id = 1;
162
162
  */
163
163
  id?: string | undefined;
164
164
  /**
165
- * Name of this size reservation
165
+ * Name of this size reservation.
166
166
  *
167
167
  * @generated from field: optional string name = 2;
168
168
  */
169
169
  name?: string | undefined;
170
170
  /**
171
- * Description of this size reservation
171
+ * Description of this size reservation.
172
172
  *
173
173
  * @generated from field: optional string description = 3;
174
174
  */
175
175
  description?: string | undefined;
176
176
  /**
177
- * Size id of this size reservation
177
+ * Size id of this size reservation.
178
178
  *
179
179
  * @generated from field: optional string size = 4;
180
180
  */
181
181
  size?: string | undefined;
182
182
  /**
183
- * Project of the size reservation
183
+ * Project of the size reservation.
184
184
  *
185
185
  * @generated from field: optional string project = 5;
186
186
  */
187
187
  project?: string | undefined;
188
188
  /**
189
- * Partition of the size reservation
189
+ * Partition of the size reservation.
190
190
  *
191
191
  * @generated from field: optional string partition = 6;
192
192
  */
193
193
  partition?: string | undefined;
194
194
  /**
195
- * Labels lists only size reservations containing the given labels
195
+ * Labels lists only size reservations containing the given labels.
196
196
  *
197
197
  * @generated from field: optional metalstack.api.v2.Labels labels = 7;
198
198
  */
@@ -17,20 +17,20 @@ export const file_metalstack_api_v2_size_reservation: GenFile = /*@__PURE__*/
17
17
  fileDesc("CihtZXRhbHN0YWNrL2FwaS92Mi9zaXplX3Jlc2VydmF0aW9uLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiJTCiBTaXplUmVzZXJ2YXRpb25TZXJ2aWNlR2V0UmVxdWVzdBIUCgJpZBgBIAEoCUIIukgFcgOwAQESGQoHcHJvamVjdBgCIAEoCUIIukgFcgOwAQEidgohU2l6ZVJlc2VydmF0aW9uU2VydmljZUxpc3RSZXF1ZXN0EhkKB3Byb2plY3QYASABKAlCCLpIB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ZXNjcmlwdGlvbkIHCgVfc2l6ZUIKCghfcHJvamVjdEIMCgpfcGFydGl0aW9uQgkKB19sYWJlbHMymgIKFlNpemVSZXNlcnZhdGlvblNlcnZpY2USfQoDR2V0EjMubWV0YWxzdGFjay5hcGkudjIuU2l6ZVJlc2VydmF0aW9uU2VydmljZUdldFJlcXVlc3QaNC5tZXRhbHN0YWNrLmFwaS52Mi5TaXplUmVzZXJ2YXRpb25TZXJ2aWNlR2V0UmVzcG9uc2UiC8rzGAMBAgPg8xgCEoABCgRMaXN0EjQubWV0YWxzdGFjay5hcGkudjIuU2l6ZVJlc2VydmF0aW9uU2VydmljZUxpc3RSZXF1ZXN0GjUubWV0YWxzdGFjay5hcGkudjIuU2l6ZVJlc2VydmF0aW9uU2VydmljZUxpc3RSZXNwb25zZSILyvMYAwECA+DzGAJCygEKFWNvbS5tZXRhbHN0YWNrLmFwaS52MkIUU2l6ZVJlc2VydmF0aW9uUHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
18
18
 
19
19
  /**
20
- * SizeReservationServiceGetRequest is the request payload for a size get request
20
+ * SizeReservationServiceGetRequest is the request payload for a size get request.
21
21
  *
22
22
  * @generated from message metalstack.api.v2.SizeReservationServiceGetRequest
23
23
  */
24
24
  export type SizeReservationServiceGetRequest = Message<"metalstack.api.v2.SizeReservationServiceGetRequest"> & {
25
25
  /**
26
- * ID of the size reservation to get
26
+ * ID of the size reservation to get.
27
27
  *
28
28
  * @generated from field: string id = 1;
29
29
  */
30
30
  id: string;
31
31
 
32
32
  /**
33
- * Project of the size reservation
33
+ * Project of the size reservation.
34
34
  *
35
35
  * @generated from field: string project = 2;
36
36
  */
@@ -45,20 +45,20 @@ export const SizeReservationServiceGetRequestSchema: GenMessage<SizeReservationS
45
45
  messageDesc(file_metalstack_api_v2_size_reservation, 0);
46
46
 
47
47
  /**
48
- * SizeReservationServiceListRequest is the request payload for a size list request
48
+ * SizeReservationServiceListRequest is the request payload for a size list request.
49
49
  *
50
50
  * @generated from message metalstack.api.v2.SizeReservationServiceListRequest
51
51
  */
52
52
  export type SizeReservationServiceListRequest = Message<"metalstack.api.v2.SizeReservationServiceListRequest"> & {
53
53
  /**
54
- * Project of the size reservation
54
+ * Project of the size reservation.
55
55
  *
56
56
  * @generated from field: string project = 1;
57
57
  */
58
58
  project: string;
59
59
 
60
60
  /**
61
- * Query for size reservations
61
+ * Query for size reservations.
62
62
  *
63
63
  * @generated from field: metalstack.api.v2.SizeReservationQuery query = 2;
64
64
  */
@@ -73,13 +73,13 @@ export const SizeReservationServiceListRequestSchema: GenMessage<SizeReservation
73
73
  messageDesc(file_metalstack_api_v2_size_reservation, 1);
74
74
 
75
75
  /**
76
- * SizeReservationServiceGetResponse is the response payload for a size reservation get request
76
+ * SizeReservationServiceGetResponse is the response payload for a size reservation get request.
77
77
  *
78
78
  * @generated from message metalstack.api.v2.SizeReservationServiceGetResponse
79
79
  */
80
80
  export type SizeReservationServiceGetResponse = Message<"metalstack.api.v2.SizeReservationServiceGetResponse"> & {
81
81
  /**
82
- * Size reservation
82
+ * Size reservation.
83
83
  *
84
84
  * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1;
85
85
  */
@@ -94,13 +94,13 @@ export const SizeReservationServiceGetResponseSchema: GenMessage<SizeReservation
94
94
  messageDesc(file_metalstack_api_v2_size_reservation, 2);
95
95
 
96
96
  /**
97
- * SizeReservationServiceListResponse is the response payload for a size reservation list request
97
+ * SizeReservationServiceListResponse is the response payload for a size reservation list request.
98
98
  *
99
99
  * @generated from message metalstack.api.v2.SizeReservationServiceListResponse
100
100
  */
101
101
  export type SizeReservationServiceListResponse = Message<"metalstack.api.v2.SizeReservationServiceListResponse"> & {
102
102
  /**
103
- * Size reservations
103
+ * Size reservations.
104
104
  *
105
105
  * @generated from field: repeated metalstack.api.v2.SizeReservation size_reservations = 1;
106
106
  */
@@ -115,62 +115,62 @@ export const SizeReservationServiceListResponseSchema: GenMessage<SizeReservatio
115
115
  messageDesc(file_metalstack_api_v2_size_reservation, 3);
116
116
 
117
117
  /**
118
- * SizeReservation
118
+ * SizeReservation.
119
119
  *
120
120
  * @generated from message metalstack.api.v2.SizeReservation
121
121
  */
122
122
  export type SizeReservation = Message<"metalstack.api.v2.SizeReservation"> & {
123
123
  /**
124
- * Id of this size reservation, is generated on creation
124
+ * Id of this size reservation, is generated on creation.
125
125
  *
126
126
  * @generated from field: string id = 1;
127
127
  */
128
128
  id: string;
129
129
 
130
130
  /**
131
- * Meta for this size reservation
131
+ * Meta for this size reservation.
132
132
  *
133
133
  * @generated from field: metalstack.api.v2.Meta meta = 2;
134
134
  */
135
135
  meta?: Meta | undefined;
136
136
 
137
137
  /**
138
- * Name of this size reservation
138
+ * Name of this size reservation.
139
139
  *
140
140
  * @generated from field: string name = 3;
141
141
  */
142
142
  name: string;
143
143
 
144
144
  /**
145
- * Description of this size reservation
145
+ * Description of this size reservation.
146
146
  *
147
147
  * @generated from field: string description = 4;
148
148
  */
149
149
  description: string;
150
150
 
151
151
  /**
152
- * Project of the size reservation
152
+ * Project of the size reservation.
153
153
  *
154
154
  * @generated from field: string project = 5;
155
155
  */
156
156
  project: string;
157
157
 
158
158
  /**
159
- * Size id of this size reservation
159
+ * Size id of this size reservation.
160
160
  *
161
161
  * @generated from field: string size = 6;
162
162
  */
163
163
  size: string;
164
164
 
165
165
  /**
166
- * Partition ids of this size reservation
166
+ * Partition ids of this size reservation.
167
167
  *
168
168
  * @generated from field: repeated string partitions = 7;
169
169
  */
170
170
  partitions: string[];
171
171
 
172
172
  /**
173
- * Amount of reservations of this size reservation
173
+ * Amount of reservations of this size reservation.
174
174
  *
175
175
  * @generated from field: int32 amount = 8;
176
176
  */
@@ -185,55 +185,55 @@ export const SizeReservationSchema: GenMessage<SizeReservation> = /*@__PURE__*/
185
185
  messageDesc(file_metalstack_api_v2_size_reservation, 4);
186
186
 
187
187
  /**
188
- * SizeReservationQuery is used to search size reservations
188
+ * SizeReservationQuery is used to search size reservations.
189
189
  *
190
190
  * @generated from message metalstack.api.v2.SizeReservationQuery
191
191
  */
192
192
  export type SizeReservationQuery = Message<"metalstack.api.v2.SizeReservationQuery"> & {
193
193
  /**
194
- * ID of the size reservation to get
194
+ * ID of the size reservation to get.
195
195
  *
196
196
  * @generated from field: optional string id = 1;
197
197
  */
198
198
  id?: string | undefined;
199
199
 
200
200
  /**
201
- * Name of this size reservation
201
+ * Name of this size reservation.
202
202
  *
203
203
  * @generated from field: optional string name = 2;
204
204
  */
205
205
  name?: string | undefined;
206
206
 
207
207
  /**
208
- * Description of this size reservation
208
+ * Description of this size reservation.
209
209
  *
210
210
  * @generated from field: optional string description = 3;
211
211
  */
212
212
  description?: string | undefined;
213
213
 
214
214
  /**
215
- * Size id of this size reservation
215
+ * Size id of this size reservation.
216
216
  *
217
217
  * @generated from field: optional string size = 4;
218
218
  */
219
219
  size?: string | undefined;
220
220
 
221
221
  /**
222
- * Project of the size reservation
222
+ * Project of the size reservation.
223
223
  *
224
224
  * @generated from field: optional string project = 5;
225
225
  */
226
226
  project?: string | undefined;
227
227
 
228
228
  /**
229
- * Partition of the size reservation
229
+ * Partition of the size reservation.
230
230
  *
231
231
  * @generated from field: optional string partition = 6;
232
232
  */
233
233
  partition?: string | undefined;
234
234
 
235
235
  /**
236
- * Labels lists only size reservations containing the given labels
236
+ * Labels lists only size reservations containing the given labels.
237
237
  *
238
238
  * @generated from field: optional metalstack.api.v2.Labels labels = 7;
239
239
  */