@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
@@ -25,7 +25,7 @@ export const file_metalstack_admin_v2_size: GenFile = /*@__PURE__*/
25
25
  */
26
26
  export type SizeServiceCreateRequest = Message<"metalstack.admin.v2.SizeServiceCreateRequest"> & {
27
27
  /**
28
- * Size is the size to create
28
+ * Size is the size to create.
29
29
  *
30
30
  * @generated from field: metalstack.api.v2.Size size = 1;
31
31
  */
@@ -46,7 +46,7 @@ export const SizeServiceCreateRequestSchema: GenMessage<SizeServiceCreateRequest
46
46
  */
47
47
  export type SizeServiceCreateResponse = Message<"metalstack.admin.v2.SizeServiceCreateResponse"> & {
48
48
  /**
49
- * Size contains the created size
49
+ * Size contains the created size.
50
50
  *
51
51
  * @generated from field: metalstack.api.v2.Size size = 1;
52
52
  */
@@ -67,42 +67,42 @@ export const SizeServiceCreateResponseSchema: GenMessage<SizeServiceCreateRespon
67
67
  */
68
68
  export type SizeServiceUpdateRequest = Message<"metalstack.admin.v2.SizeServiceUpdateRequest"> & {
69
69
  /**
70
- * Id of this size
70
+ * Id of this size.
71
71
  *
72
72
  * @generated from field: string id = 1;
73
73
  */
74
74
  id: string;
75
75
 
76
76
  /**
77
- * UpdateMeta contains the timestamp and strategy to be used in this update request
77
+ * UpdateMeta contains the timestamp and strategy to be used in this update request.
78
78
  *
79
79
  * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
80
80
  */
81
81
  updateMeta?: UpdateMeta | undefined;
82
82
 
83
83
  /**
84
- * Name of this size
84
+ * Name of this size.
85
85
  *
86
86
  * @generated from field: optional string name = 3;
87
87
  */
88
88
  name?: string | undefined;
89
89
 
90
90
  /**
91
- * Description of this size
91
+ * Description of this size.
92
92
  *
93
93
  * @generated from field: optional string description = 4;
94
94
  */
95
95
  description?: string | undefined;
96
96
 
97
97
  /**
98
- * Constraints which must match that a specific machine is considered of this size
98
+ * Constraints which must match that a specific machine is considered of this size.
99
99
  *
100
100
  * @generated from field: repeated metalstack.api.v2.SizeConstraint constraints = 5;
101
101
  */
102
102
  constraints: SizeConstraint[];
103
103
 
104
104
  /**
105
- * Labels to update on this size
105
+ * Labels to update on this size.
106
106
  *
107
107
  * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 6;
108
108
  */
@@ -123,7 +123,7 @@ export const SizeServiceUpdateRequestSchema: GenMessage<SizeServiceUpdateRequest
123
123
  */
124
124
  export type SizeServiceUpdateResponse = Message<"metalstack.admin.v2.SizeServiceUpdateResponse"> & {
125
125
  /**
126
- * Size contains the updated size
126
+ * Size contains the updated size.
127
127
  *
128
128
  * @generated from field: metalstack.api.v2.Size size = 1;
129
129
  */
@@ -144,7 +144,7 @@ export const SizeServiceUpdateResponseSchema: GenMessage<SizeServiceUpdateRespon
144
144
  */
145
145
  export type SizeServiceDeleteRequest = Message<"metalstack.admin.v2.SizeServiceDeleteRequest"> & {
146
146
  /**
147
- * ID of the size to delete
147
+ * ID of the size to delete.
148
148
  *
149
149
  * @generated from field: string id = 1;
150
150
  */
@@ -165,7 +165,7 @@ export const SizeServiceDeleteRequestSchema: GenMessage<SizeServiceDeleteRequest
165
165
  */
166
166
  export type SizeServiceDeleteResponse = Message<"metalstack.admin.v2.SizeServiceDeleteResponse"> & {
167
167
  /**
168
- * Size contains the deleted size
168
+ * Size contains the deleted size.
169
169
  *
170
170
  * @generated from field: metalstack.api.v2.Size size = 1;
171
171
  */
@@ -13,7 +13,7 @@ export declare const file_metalstack_admin_v2_size_reservation: GenFile;
13
13
  */
14
14
  export type SizeReservationServiceCreateRequest = Message<"metalstack.admin.v2.SizeReservationServiceCreateRequest"> & {
15
15
  /**
16
- * SizeReservation is the size reservation to create
16
+ * SizeReservation is the size reservation to create.
17
17
  *
18
18
  * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1;
19
19
  */
@@ -31,7 +31,7 @@ export declare const SizeReservationServiceCreateRequestSchema: GenMessage<SizeR
31
31
  */
32
32
  export type SizeReservationServiceCreateResponse = Message<"metalstack.admin.v2.SizeReservationServiceCreateResponse"> & {
33
33
  /**
34
- * SizeReservation contains the created reservation
34
+ * SizeReservation contains the created reservation.
35
35
  *
36
36
  * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1;
37
37
  */
@@ -49,43 +49,43 @@ export declare const SizeReservationServiceCreateResponseSchema: GenMessage<Size
49
49
  */
50
50
  export type SizeReservationServiceUpdateRequest = Message<"metalstack.admin.v2.SizeReservationServiceUpdateRequest"> & {
51
51
  /**
52
- * Id of this size reservation
52
+ * Id of this size reservation.
53
53
  *
54
54
  * @generated from field: string id = 1;
55
55
  */
56
56
  id: string;
57
57
  /**
58
- * Name of this size reservation
58
+ * Name of this size reservation.
59
59
  *
60
60
  * @generated from field: optional string name = 2;
61
61
  */
62
62
  name?: string | undefined;
63
63
  /**
64
- * Description of this size reservation
64
+ * Description of this size reservation.
65
65
  *
66
66
  * @generated from field: optional string description = 3;
67
67
  */
68
68
  description?: string | undefined;
69
69
  /**
70
- * UpdateMeta contains the timestamp and strategy to be used in this update request
70
+ * UpdateMeta contains the timestamp and strategy to be used in this update request.
71
71
  *
72
72
  * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 4;
73
73
  */
74
74
  updateMeta?: UpdateMeta | undefined;
75
75
  /**
76
- * Partition ids of this size reservation
76
+ * Partition ids of this size reservation.
77
77
  *
78
78
  * @generated from field: repeated string partitions = 5;
79
79
  */
80
80
  partitions: string[];
81
81
  /**
82
- * Amount of reservations of this size reservation
82
+ * Amount of reservations of this size reservation.
83
83
  *
84
84
  * @generated from field: optional int32 amount = 6;
85
85
  */
86
86
  amount?: number | undefined;
87
87
  /**
88
- * Labels to update of this size reservation
88
+ * Labels to update of this size reservation.
89
89
  *
90
90
  * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 7;
91
91
  */
@@ -103,7 +103,7 @@ export declare const SizeReservationServiceUpdateRequestSchema: GenMessage<SizeR
103
103
  */
104
104
  export type SizeReservationServiceUpdateResponse = Message<"metalstack.admin.v2.SizeReservationServiceUpdateResponse"> & {
105
105
  /**
106
- * SizeReservation contains the updated reservation
106
+ * SizeReservation contains the updated reservation.
107
107
  *
108
108
  * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1;
109
109
  */
@@ -121,7 +121,7 @@ export declare const SizeReservationServiceUpdateResponseSchema: GenMessage<Size
121
121
  */
122
122
  export type SizeReservationServiceDeleteRequest = Message<"metalstack.admin.v2.SizeReservationServiceDeleteRequest"> & {
123
123
  /**
124
- * ID of the size reservation to delete
124
+ * ID of the size reservation to delete.
125
125
  *
126
126
  * @generated from field: string id = 1;
127
127
  */
@@ -139,7 +139,7 @@ export declare const SizeReservationServiceDeleteRequestSchema: GenMessage<SizeR
139
139
  */
140
140
  export type SizeReservationServiceDeleteResponse = Message<"metalstack.admin.v2.SizeReservationServiceDeleteResponse"> & {
141
141
  /**
142
- * SizeReservation contains the deleted reservation
142
+ * SizeReservation contains the deleted reservation.
143
143
  *
144
144
  * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1;
145
145
  */
@@ -157,7 +157,7 @@ export declare const SizeReservationServiceDeleteResponseSchema: GenMessage<Size
157
157
  */
158
158
  export type SizeReservationServiceListRequest = Message<"metalstack.admin.v2.SizeReservationServiceListRequest"> & {
159
159
  /**
160
- * Query for size reservations
160
+ * Query for size reservations.
161
161
  *
162
162
  * @generated from field: metalstack.api.v2.SizeReservationQuery query = 1;
163
163
  */
@@ -175,7 +175,7 @@ export declare const SizeReservationServiceListRequestSchema: GenMessage<SizeRes
175
175
  */
176
176
  export type SizeReservationServiceListResponse = Message<"metalstack.admin.v2.SizeReservationServiceListResponse"> & {
177
177
  /**
178
- * SizeReservations contains the list of reservations
178
+ * SizeReservations contains the list of reservations.
179
179
  *
180
180
  * @generated from field: repeated metalstack.api.v2.SizeReservation size_reservations = 1;
181
181
  */
@@ -25,7 +25,7 @@ export const file_metalstack_admin_v2_size_reservation: GenFile = /*@__PURE__*/
25
25
  */
26
26
  export type SizeReservationServiceCreateRequest = Message<"metalstack.admin.v2.SizeReservationServiceCreateRequest"> & {
27
27
  /**
28
- * SizeReservation is the size reservation to create
28
+ * SizeReservation is the size reservation to create.
29
29
  *
30
30
  * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1;
31
31
  */
@@ -46,7 +46,7 @@ export const SizeReservationServiceCreateRequestSchema: GenMessage<SizeReservati
46
46
  */
47
47
  export type SizeReservationServiceCreateResponse = Message<"metalstack.admin.v2.SizeReservationServiceCreateResponse"> & {
48
48
  /**
49
- * SizeReservation contains the created reservation
49
+ * SizeReservation contains the created reservation.
50
50
  *
51
51
  * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1;
52
52
  */
@@ -67,49 +67,49 @@ export const SizeReservationServiceCreateResponseSchema: GenMessage<SizeReservat
67
67
  */
68
68
  export type SizeReservationServiceUpdateRequest = Message<"metalstack.admin.v2.SizeReservationServiceUpdateRequest"> & {
69
69
  /**
70
- * Id of this size reservation
70
+ * Id of this size reservation.
71
71
  *
72
72
  * @generated from field: string id = 1;
73
73
  */
74
74
  id: string;
75
75
 
76
76
  /**
77
- * Name of this size reservation
77
+ * Name of this size reservation.
78
78
  *
79
79
  * @generated from field: optional string name = 2;
80
80
  */
81
81
  name?: string | undefined;
82
82
 
83
83
  /**
84
- * Description of this size reservation
84
+ * Description of this size reservation.
85
85
  *
86
86
  * @generated from field: optional string description = 3;
87
87
  */
88
88
  description?: string | undefined;
89
89
 
90
90
  /**
91
- * UpdateMeta contains the timestamp and strategy to be used in this update request
91
+ * UpdateMeta contains the timestamp and strategy to be used in this update request.
92
92
  *
93
93
  * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 4;
94
94
  */
95
95
  updateMeta?: UpdateMeta | undefined;
96
96
 
97
97
  /**
98
- * Partition ids of this size reservation
98
+ * Partition ids of this size reservation.
99
99
  *
100
100
  * @generated from field: repeated string partitions = 5;
101
101
  */
102
102
  partitions: string[];
103
103
 
104
104
  /**
105
- * Amount of reservations of this size reservation
105
+ * Amount of reservations of this size reservation.
106
106
  *
107
107
  * @generated from field: optional int32 amount = 6;
108
108
  */
109
109
  amount?: number | undefined;
110
110
 
111
111
  /**
112
- * Labels to update of this size reservation
112
+ * Labels to update of this size reservation.
113
113
  *
114
114
  * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 7;
115
115
  */
@@ -130,7 +130,7 @@ export const SizeReservationServiceUpdateRequestSchema: GenMessage<SizeReservati
130
130
  */
131
131
  export type SizeReservationServiceUpdateResponse = Message<"metalstack.admin.v2.SizeReservationServiceUpdateResponse"> & {
132
132
  /**
133
- * SizeReservation contains the updated reservation
133
+ * SizeReservation contains the updated reservation.
134
134
  *
135
135
  * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1;
136
136
  */
@@ -151,7 +151,7 @@ export const SizeReservationServiceUpdateResponseSchema: GenMessage<SizeReservat
151
151
  */
152
152
  export type SizeReservationServiceDeleteRequest = Message<"metalstack.admin.v2.SizeReservationServiceDeleteRequest"> & {
153
153
  /**
154
- * ID of the size reservation to delete
154
+ * ID of the size reservation to delete.
155
155
  *
156
156
  * @generated from field: string id = 1;
157
157
  */
@@ -172,7 +172,7 @@ export const SizeReservationServiceDeleteRequestSchema: GenMessage<SizeReservati
172
172
  */
173
173
  export type SizeReservationServiceDeleteResponse = Message<"metalstack.admin.v2.SizeReservationServiceDeleteResponse"> & {
174
174
  /**
175
- * SizeReservation contains the deleted reservation
175
+ * SizeReservation contains the deleted reservation.
176
176
  *
177
177
  * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1;
178
178
  */
@@ -193,7 +193,7 @@ export const SizeReservationServiceDeleteResponseSchema: GenMessage<SizeReservat
193
193
  */
194
194
  export type SizeReservationServiceListRequest = Message<"metalstack.admin.v2.SizeReservationServiceListRequest"> & {
195
195
  /**
196
- * Query for size reservations
196
+ * Query for size reservations.
197
197
  *
198
198
  * @generated from field: metalstack.api.v2.SizeReservationQuery query = 1;
199
199
  */
@@ -214,7 +214,7 @@ export const SizeReservationServiceListRequestSchema: GenMessage<SizeReservation
214
214
  */
215
215
  export type SizeReservationServiceListResponse = Message<"metalstack.admin.v2.SizeReservationServiceListResponse"> & {
216
216
  /**
217
- * SizeReservations contains the list of reservations
217
+ * SizeReservations contains the list of reservations.
218
218
  *
219
219
  * @generated from field: repeated metalstack.api.v2.SizeReservation size_reservations = 1;
220
220
  */
@@ -15,7 +15,7 @@ export declare const file_metalstack_admin_v2_switch: GenFile;
15
15
  */
16
16
  export type SwitchServiceGetRequest = Message<"metalstack.admin.v2.SwitchServiceGetRequest"> & {
17
17
  /**
18
- * Id of the switch to get
18
+ * Id of the switch to get.
19
19
  *
20
20
  * @generated from field: string id = 1;
21
21
  */
@@ -33,7 +33,7 @@ export declare const SwitchServiceGetRequestSchema: GenMessage<SwitchServiceGetR
33
33
  */
34
34
  export type SwitchServiceGetResponse = Message<"metalstack.admin.v2.SwitchServiceGetResponse"> & {
35
35
  /**
36
- * Switch contains the requested switch
36
+ * Switch contains the requested switch.
37
37
  *
38
38
  * @generated from field: metalstack.api.v2.Switch switch = 1;
39
39
  */
@@ -51,7 +51,7 @@ export declare const SwitchServiceGetResponseSchema: GenMessage<SwitchServiceGet
51
51
  */
52
52
  export type SwitchServiceListRequest = Message<"metalstack.admin.v2.SwitchServiceListRequest"> & {
53
53
  /**
54
- * Query to filter the results
54
+ * Query to filter the results.
55
55
  *
56
56
  * @generated from field: metalstack.api.v2.SwitchQuery query = 1;
57
57
  */
@@ -69,7 +69,7 @@ export declare const SwitchServiceListRequestSchema: GenMessage<SwitchServiceLis
69
69
  */
70
70
  export type SwitchServiceListResponse = Message<"metalstack.admin.v2.SwitchServiceListResponse"> & {
71
71
  /**
72
- * Switches that match the request query
72
+ * Switches that match the request query.
73
73
  *
74
74
  * @generated from field: repeated metalstack.api.v2.Switch switches = 1;
75
75
  */
@@ -87,62 +87,62 @@ export declare const SwitchServiceListResponseSchema: GenMessage<SwitchServiceLi
87
87
  */
88
88
  export type SwitchServiceUpdateRequest = Message<"metalstack.admin.v2.SwitchServiceUpdateRequest"> & {
89
89
  /**
90
- * ID of the switch
90
+ * ID of the switch.
91
91
  *
92
92
  * @generated from field: string id = 1;
93
93
  */
94
94
  id: string;
95
95
  /**
96
- * UpdateMeta contains the timestamp and strategy to be used in this update request
96
+ * UpdateMeta contains the timestamp and strategy to be used in this update request.
97
97
  *
98
98
  * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
99
99
  */
100
100
  updateMeta?: UpdateMeta | undefined;
101
101
  /**
102
- * UpdatedAt is the date when this entity was updated
103
- * Must be part of the update request to ensure optimistic locking
102
+ * UpdatedAt is the date when this entity was updated.
103
+ * Must be part of the update request to ensure optimistic locking.
104
104
  *
105
105
  * @generated from field: google.protobuf.Timestamp updated_at = 3;
106
106
  */
107
107
  updatedAt?: Timestamp | undefined;
108
108
  /**
109
- * Description of the switch
109
+ * Description of the switch.
110
110
  *
111
111
  * @generated from field: optional string description = 4;
112
112
  */
113
113
  description?: string | undefined;
114
114
  /**
115
- * ReplaceMode is used to mark a switch ready for replacement
115
+ * ReplaceMode is used to mark a switch ready for replacement.
116
116
  *
117
117
  * @generated from field: optional metalstack.api.v2.SwitchReplaceMode replace_mode = 5;
118
118
  */
119
119
  replaceMode?: SwitchReplaceMode | undefined;
120
120
  /**
121
- * ManagementIp is the switch's IP for management access
121
+ * ManagementIp is the switch's IP for management access.
122
122
  *
123
123
  * @generated from field: optional string management_ip = 6;
124
124
  */
125
125
  managementIp?: string | undefined;
126
126
  /**
127
- * ManagementUser is the user name to use for management access
127
+ * ManagementUser is the user name to use for management access.
128
128
  *
129
129
  * @generated from field: optional string management_user = 7;
130
130
  */
131
131
  managementUser?: string | undefined;
132
132
  /**
133
- * ConsoleCommand is the command for accessing the switch's console
133
+ * ConsoleCommand is the command for accessing the switch's console.
134
134
  *
135
135
  * @generated from field: optional string console_command = 8;
136
136
  */
137
137
  consoleCommand?: string | undefined;
138
138
  /**
139
- * Nics are the front panel ports of the switch
139
+ * Nics are the front panel ports of the switch.
140
140
  *
141
141
  * @generated from field: repeated metalstack.api.v2.SwitchNic nics = 9;
142
142
  */
143
143
  nics: SwitchNic[];
144
144
  /**
145
- * SwitchOs is the OS running on the switch
145
+ * SwitchOs is the OS running on the switch.
146
146
  *
147
147
  * @generated from field: optional metalstack.api.v2.SwitchOS os = 10;
148
148
  */
@@ -160,7 +160,7 @@ export declare const SwitchServiceUpdateRequestSchema: GenMessage<SwitchServiceU
160
160
  */
161
161
  export type SwitchServiceUpdateResponse = Message<"metalstack.admin.v2.SwitchServiceUpdateResponse"> & {
162
162
  /**
163
- * Switch contains the updated switch
163
+ * Switch contains the updated switch.
164
164
  *
165
165
  * @generated from field: metalstack.api.v2.Switch switch = 1;
166
166
  */
@@ -178,13 +178,13 @@ export declare const SwitchServiceUpdateResponseSchema: GenMessage<SwitchService
178
178
  */
179
179
  export type SwitchServiceDeleteRequest = Message<"metalstack.admin.v2.SwitchServiceDeleteRequest"> & {
180
180
  /**
181
- * Id of the switch
181
+ * Id of the switch.
182
182
  *
183
183
  * @generated from field: string id = 1;
184
184
  */
185
185
  id: string;
186
186
  /**
187
- * Force will allow switch deletion despite existing machine connections
187
+ * Force will allow switch deletion despite existing machine connections.
188
188
  *
189
189
  * @generated from field: bool force = 2;
190
190
  */
@@ -202,7 +202,7 @@ export declare const SwitchServiceDeleteRequestSchema: GenMessage<SwitchServiceD
202
202
  */
203
203
  export type SwitchServiceDeleteResponse = Message<"metalstack.admin.v2.SwitchServiceDeleteResponse"> & {
204
204
  /**
205
- * Switch contains the deleted switch
205
+ * Switch contains the deleted switch.
206
206
  *
207
207
  * @generated from field: metalstack.api.v2.Switch switch = 1;
208
208
  */
@@ -220,13 +220,13 @@ export declare const SwitchServiceDeleteResponseSchema: GenMessage<SwitchService
220
220
  */
221
221
  export type SwitchServiceMigrateRequest = Message<"metalstack.admin.v2.SwitchServiceMigrateRequest"> & {
222
222
  /**
223
- * OldSwitch is the switch to migrate away from
223
+ * OldSwitch is the switch to migrate away from.
224
224
  *
225
225
  * @generated from field: string old_switch = 1;
226
226
  */
227
227
  oldSwitch: string;
228
228
  /**
229
- * NewSwitch is the switch to migrate to
229
+ * NewSwitch is the switch to migrate to.
230
230
  *
231
231
  * @generated from field: string new_switch = 2;
232
232
  */
@@ -244,7 +244,7 @@ export declare const SwitchServiceMigrateRequestSchema: GenMessage<SwitchService
244
244
  */
245
245
  export type SwitchServiceMigrateResponse = Message<"metalstack.admin.v2.SwitchServiceMigrateResponse"> & {
246
246
  /**
247
- * Switch contains the switch that was migrated to
247
+ * Switch contains the switch that was migrated to.
248
248
  *
249
249
  * @generated from field: metalstack.api.v2.Switch switch = 1;
250
250
  */
@@ -262,19 +262,19 @@ export declare const SwitchServiceMigrateResponseSchema: GenMessage<SwitchServic
262
262
  */
263
263
  export type SwitchServicePortRequest = Message<"metalstack.admin.v2.SwitchServicePortRequest"> & {
264
264
  /**
265
- * Id of the switch
265
+ * Id of the switch.
266
266
  *
267
267
  * @generated from field: string id = 1;
268
268
  */
269
269
  id: string;
270
270
  /**
271
- * NicName of the port whose status should be changed
271
+ * NicName of the port whose status should be changed.
272
272
  *
273
273
  * @generated from field: string nic_name = 2;
274
274
  */
275
275
  nicName: string;
276
276
  /**
277
- * Status that the port should have
277
+ * Status that the port should have.
278
278
  *
279
279
  * @generated from field: metalstack.api.v2.SwitchPortStatus status = 3;
280
280
  */
@@ -292,7 +292,7 @@ export declare const SwitchServicePortRequestSchema: GenMessage<SwitchServicePor
292
292
  */
293
293
  export type SwitchServicePortResponse = Message<"metalstack.admin.v2.SwitchServicePortResponse"> & {
294
294
  /**
295
- * Switch after the port status toggle
295
+ * Switch after the port status toggle.
296
296
  *
297
297
  * @generated from field: metalstack.api.v2.Switch switch = 1;
298
298
  */
@@ -310,13 +310,13 @@ export declare const SwitchServicePortResponseSchema: GenMessage<SwitchServicePo
310
310
  */
311
311
  export type SwitchServiceConnectedMachinesRequest = Message<"metalstack.admin.v2.SwitchServiceConnectedMachinesRequest"> & {
312
312
  /**
313
- * Query to filter the switch results
313
+ * Query to filter the switch results.
314
314
  *
315
315
  * @generated from field: metalstack.api.v2.SwitchQuery query = 1;
316
316
  */
317
317
  query?: SwitchQuery | undefined;
318
318
  /**
319
- * MachineQuery to filter the machine results
319
+ * MachineQuery to filter the machine results.
320
320
  *
321
321
  * @generated from field: metalstack.api.v2.MachineQuery machine_query = 2;
322
322
  */
@@ -334,7 +334,7 @@ export declare const SwitchServiceConnectedMachinesRequestSchema: GenMessage<Swi
334
334
  */
335
335
  export type SwitchServiceConnectedMachinesResponse = Message<"metalstack.admin.v2.SwitchServiceConnectedMachinesResponse"> & {
336
336
  /**
337
- * SwitchesWithMachines contains all switches with their machine connections
337
+ * SwitchesWithMachines contains all switches with their machine connections.
338
338
  *
339
339
  * @generated from field: repeated metalstack.api.v2.SwitchWithMachines switches_with_machines = 1;
340
340
  */