@metal-stack/api 0.4.4 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +16 -16
  16. package/{js/metalstack → metalstack}/admin/v2/image_pb.ts +16 -16
  17. package/{js/metalstack → metalstack}/admin/v2/ip_pb.d.ts +2 -2
  18. package/{js/metalstack → metalstack}/admin/v2/ip_pb.ts +2 -2
  19. package/{js/metalstack → metalstack}/admin/v2/machine_pb.d.ts +47 -55
  20. package/{js/metalstack → metalstack}/admin/v2/machine_pb.js +1 -1
  21. package/{js/metalstack → metalstack}/admin/v2/machine_pb.ts +48 -55
  22. package/{js/metalstack → metalstack}/admin/v2/network_pb.d.ts +195 -37
  23. package/{js/metalstack → metalstack}/admin/v2/network_pb.js +36 -5
  24. package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +222 -42
  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 +146 -98
  73. package/{js/metalstack → metalstack}/api/v2/network_pb.js +30 -20
  74. package/{js/metalstack → metalstack}/api/v2/network_pb.ts +158 -102
  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/image_pb.js +0 -0
  129. /package/{js/metalstack → metalstack}/admin/v2/ip_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
@@ -6,20 +6,20 @@ import type { Message } from "@bufbuild/protobuf";
6
6
  */
7
7
  export declare const file_metalstack_api_v2_common: GenFile;
8
8
  /**
9
- * Paging defines paging for methods with a lot of results
9
+ * Paging defines paging for methods with a lot of results.
10
10
  *
11
11
  * @generated from message metalstack.api.v2.Paging
12
12
  */
13
13
  export type Paging = Message<"metalstack.api.v2.Paging"> & {
14
14
  /**
15
- * Page is used for pagination, if unset only the first page is returned,
15
+ * Page is used for pagination, if unset only the first page is returned,.
16
16
  * the list response contains then the page number for the next page.
17
17
  *
18
18
  * @generated from field: optional uint64 page = 1;
19
19
  */
20
20
  page?: bigint | undefined;
21
21
  /**
22
- * Count is the number of results returned per page, if not given server side defaults apply
22
+ * Count is the number of results returned per page, if not given server side defaults apply.
23
23
  *
24
24
  * @generated from field: optional uint64 count = 2;
25
25
  */
@@ -31,13 +31,13 @@ export type Paging = Message<"metalstack.api.v2.Paging"> & {
31
31
  */
32
32
  export declare const PagingSchema: GenMessage<Paging>;
33
33
  /**
34
- * Labels define additional information to a entity
34
+ * Labels define additional information to a entity.
35
35
  *
36
36
  * @generated from message metalstack.api.v2.Labels
37
37
  */
38
38
  export type Labels = Message<"metalstack.api.v2.Labels"> & {
39
39
  /**
40
- * Labels consists labels
40
+ * Labels consists labels.
41
41
  *
42
42
  * @generated from field: map<string, string> labels = 1;
43
43
  */
@@ -51,26 +51,26 @@ export type Labels = Message<"metalstack.api.v2.Labels"> & {
51
51
  */
52
52
  export declare const LabelsSchema: GenMessage<Labels>;
53
53
  /**
54
- * Meta of a message
54
+ * Meta of a message.
55
55
  *
56
56
  * @generated from message metalstack.api.v2.Meta
57
57
  */
58
58
  export type Meta = Message<"metalstack.api.v2.Meta"> & {
59
59
  /**
60
- * Tags on this entity
60
+ * Tags on this entity.
61
61
  *
62
62
  * @generated from field: optional metalstack.api.v2.Labels labels = 1;
63
63
  */
64
64
  labels?: Labels | undefined;
65
65
  /**
66
- * CreatedAt is the date when this entity was created
66
+ * CreatedAt is the date when this entity was created.
67
67
  *
68
68
  * @generated from field: google.protobuf.Timestamp created_at = 2;
69
69
  */
70
70
  createdAt?: Timestamp | undefined;
71
71
  /**
72
- * UpdatedAt is the date when this entity was updated
73
- * must be part of the update request to ensure optimistic locking
72
+ * UpdatedAt is the date when this entity was updated.
73
+ * must be part of the update request to ensure optimistic locking.
74
74
  *
75
75
  * @generated from field: google.protobuf.Timestamp updated_at = 3;
76
76
  */
@@ -95,19 +95,19 @@ export type Meta = Message<"metalstack.api.v2.Meta"> & {
95
95
  */
96
96
  export declare const MetaSchema: GenMessage<Meta>;
97
97
  /**
98
- * UpdateLabels is a message to update labels
98
+ * UpdateLabels is a message to update labels.
99
99
  *
100
100
  * @generated from message metalstack.api.v2.UpdateLabels
101
101
  */
102
102
  export type UpdateLabels = Message<"metalstack.api.v2.UpdateLabels"> & {
103
103
  /**
104
- * Strategy defines the label update strategy
104
+ * Strategy defines the label update strategy.
105
105
  *
106
106
  * @generated from oneof metalstack.api.v2.UpdateLabels.strategy
107
107
  */
108
108
  strategy: {
109
109
  /**
110
- * Replace existing labels with the given ones
110
+ * Replace existing labels with the given ones.
111
111
  *
112
112
  * @generated from field: metalstack.api.v2.Labels replace = 1;
113
113
  */
@@ -115,7 +115,7 @@ export type UpdateLabels = Message<"metalstack.api.v2.UpdateLabels"> & {
115
115
  case: "replace";
116
116
  } | {
117
117
  /**
118
- * Patch adds, updates or remove given labels without modifying others
118
+ * Patch adds, updates or remove given labels without modifying others.
119
119
  *
120
120
  * @generated from field: metalstack.api.v2.LabelsPatch patch = 2;
121
121
  */
@@ -132,19 +132,19 @@ export type UpdateLabels = Message<"metalstack.api.v2.UpdateLabels"> & {
132
132
  */
133
133
  export declare const UpdateLabelsSchema: GenMessage<UpdateLabels>;
134
134
  /**
135
- * LabelsPatch adds, updates or remove given labels without modifying others
135
+ * LabelsPatch adds, updates or remove given labels without modifying others.
136
136
  *
137
137
  * @generated from message metalstack.api.v2.LabelsPatch
138
138
  */
139
139
  export type LabelsPatch = Message<"metalstack.api.v2.LabelsPatch"> & {
140
140
  /**
141
- * Update labels. New ones will be added, existing ones overwritten
141
+ * Update labels. New ones will be added, existing ones overwritten.
142
142
  *
143
143
  * @generated from field: metalstack.api.v2.Labels update = 1;
144
144
  */
145
145
  update?: Labels | undefined;
146
146
  /**
147
- * Remove labels by key
147
+ * Remove labels by key.
148
148
  *
149
149
  * @generated from field: repeated string remove = 2;
150
150
  */
@@ -156,20 +156,20 @@ export type LabelsPatch = Message<"metalstack.api.v2.LabelsPatch"> & {
156
156
  */
157
157
  export declare const LabelsPatchSchema: GenMessage<LabelsPatch>;
158
158
  /**
159
- * UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled
159
+ * UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled.
160
160
  *
161
161
  * @generated from message metalstack.api.v2.UpdateMeta
162
162
  */
163
163
  export type UpdateMeta = Message<"metalstack.api.v2.UpdateMeta"> & {
164
164
  /**
165
- * UpdatedAt is the date when this entity was updated
166
- * must be part of the update request to ensure optimistic locking
165
+ * UpdatedAt is the date when this entity was updated.
166
+ * Must be part of the update request to ensure optimistic locking.
167
167
  *
168
168
  * @generated from field: google.protobuf.Timestamp updated_at = 1;
169
169
  */
170
170
  updatedAt?: Timestamp | undefined;
171
171
  /**
172
- * LockingStrategy to be used for this update request
172
+ * LockingStrategy to be used for this update request.
173
173
  *
174
174
  * @generated from field: metalstack.api.v2.OptimisticLockingStrategy locking_strategy = 2;
175
175
  */
@@ -181,38 +181,38 @@ export type UpdateMeta = Message<"metalstack.api.v2.UpdateMeta"> & {
181
181
  */
182
182
  export declare const UpdateMetaSchema: GenMessage<UpdateMeta>;
183
183
  /**
184
- * TenantRole specifies what role a logged in user needs to call this tenant scoped service
184
+ * TenantRole specifies what role a logged in user needs to call this tenant scoped service.
185
185
  *
186
186
  * @generated from enum metalstack.api.v2.TenantRole
187
187
  */
188
188
  export declare enum TenantRole {
189
189
  /**
190
- * TENANT_ROLE_UNSPECIFIED is not specified
190
+ * TENANT_ROLE_UNSPECIFIED is not specified.
191
191
  *
192
192
  * @generated from enum value: TENANT_ROLE_UNSPECIFIED = 0;
193
193
  */
194
194
  UNSPECIFIED = 0,
195
195
  /**
196
- * TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method
196
+ * TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method.
197
197
  *
198
198
  * @generated from enum value: TENANT_ROLE_OWNER = 1;
199
199
  */
200
200
  OWNER = 1,
201
201
  /**
202
- * TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method
202
+ * TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method.
203
203
  *
204
204
  * @generated from enum value: TENANT_ROLE_EDITOR = 2;
205
205
  */
206
206
  EDITOR = 2,
207
207
  /**
208
- * TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method
208
+ * TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method.
209
209
  *
210
210
  * @generated from enum value: TENANT_ROLE_VIEWER = 3;
211
211
  */
212
212
  VIEWER = 3,
213
213
  /**
214
- * TENANT_ROLE_GUEST the logged in user needs at least guest role to call this method
215
- * The guest role is assumed by users who are invited to a tenant's project without them
214
+ * TENANT_ROLE_GUEST the logged in user needs at least guest role to call this method.
215
+ * The guest role is assumed by users who are invited to a tenant's project without them.
216
216
  * having a direct membership within the tenant.
217
217
  *
218
218
  * @generated from enum value: TENANT_ROLE_GUEST = 4;
@@ -224,31 +224,31 @@ export declare enum TenantRole {
224
224
  */
225
225
  export declare const TenantRoleSchema: GenEnum<TenantRole>;
226
226
  /**
227
- * ProjectRole specifies what role a logged in user needs to call this project scoped service
227
+ * ProjectRole specifies what role a logged in user needs to call this project scoped service.
228
228
  *
229
229
  * @generated from enum metalstack.api.v2.ProjectRole
230
230
  */
231
231
  export declare enum ProjectRole {
232
232
  /**
233
- * PROJECT_ROLE_UNSPECIFIED is not specified
233
+ * PROJECT_ROLE_UNSPECIFIED is not specified.
234
234
  *
235
235
  * @generated from enum value: PROJECT_ROLE_UNSPECIFIED = 0;
236
236
  */
237
237
  UNSPECIFIED = 0,
238
238
  /**
239
- * PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method
239
+ * PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method.
240
240
  *
241
241
  * @generated from enum value: PROJECT_ROLE_OWNER = 1;
242
242
  */
243
243
  OWNER = 1,
244
244
  /**
245
- * PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method
245
+ * PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method.
246
246
  *
247
247
  * @generated from enum value: PROJECT_ROLE_EDITOR = 2;
248
248
  */
249
249
  EDITOR = 2,
250
250
  /**
251
- * PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method
251
+ * PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method.
252
252
  *
253
253
  * @generated from enum value: PROJECT_ROLE_VIEWER = 3;
254
254
  */
@@ -259,25 +259,25 @@ export declare enum ProjectRole {
259
259
  */
260
260
  export declare const ProjectRoleSchema: GenEnum<ProjectRole>;
261
261
  /**
262
- * AdminRole specifies what role a logged in user needs to call this admin service
262
+ * AdminRole specifies what role a logged in user needs to call this admin service.
263
263
  *
264
264
  * @generated from enum metalstack.api.v2.AdminRole
265
265
  */
266
266
  export declare enum AdminRole {
267
267
  /**
268
- * ADMIN_ROLE_UNSPECIFIED is not specified
268
+ * ADMIN_ROLE_UNSPECIFIED is not specified.
269
269
  *
270
270
  * @generated from enum value: ADMIN_ROLE_UNSPECIFIED = 0;
271
271
  */
272
272
  UNSPECIFIED = 0,
273
273
  /**
274
- * ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method
274
+ * ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method.
275
275
  *
276
276
  * @generated from enum value: ADMIN_ROLE_EDITOR = 1;
277
277
  */
278
278
  EDITOR = 1,
279
279
  /**
280
- * ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method
280
+ * ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method.
281
281
  *
282
282
  * @generated from enum value: ADMIN_ROLE_VIEWER = 2;
283
283
  */
@@ -288,25 +288,25 @@ export declare enum AdminRole {
288
288
  */
289
289
  export declare const AdminRoleSchema: GenEnum<AdminRole>;
290
290
  /**
291
- * InfraRole specifies what role a microservice needs to call this infra service
291
+ * InfraRole specifies what role a microservice needs to call this infra service.
292
292
  *
293
293
  * @generated from enum metalstack.api.v2.InfraRole
294
294
  */
295
295
  export declare enum InfraRole {
296
296
  /**
297
- * INFRA_ROLE_UNSPECIFIED is not specified
297
+ * INFRA_ROLE_UNSPECIFIED is not specified.
298
298
  *
299
299
  * @generated from enum value: INFRA_ROLE_UNSPECIFIED = 0;
300
300
  */
301
301
  UNSPECIFIED = 0,
302
302
  /**
303
- * INFRA_ROLE_EDITOR a microservice needs at least editor role to call this method
303
+ * INFRA_ROLE_EDITOR a microservice needs at least editor role to call this method.
304
304
  *
305
305
  * @generated from enum value: INFRA_ROLE_EDITOR = 1;
306
306
  */
307
307
  EDITOR = 1,
308
308
  /**
309
- * INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method
309
+ * INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method.
310
310
  *
311
311
  * @generated from enum value: INFRA_ROLE_VIEWER = 2;
312
312
  */
@@ -317,25 +317,25 @@ export declare enum InfraRole {
317
317
  */
318
318
  export declare const InfraRoleSchema: GenEnum<InfraRole>;
319
319
  /**
320
- * MachineRole specifies what role a microservice needs to call this machine service
320
+ * MachineRole specifies what role a microservice needs to call this machine service.
321
321
  *
322
322
  * @generated from enum metalstack.api.v2.MachineRole
323
323
  */
324
324
  export declare enum MachineRole {
325
325
  /**
326
- * MACHINE_ROLE_UNSPECIFIED is not specified
326
+ * MACHINE_ROLE_UNSPECIFIED is not specified.
327
327
  *
328
328
  * @generated from enum value: MACHINE_ROLE_UNSPECIFIED = 0;
329
329
  */
330
330
  UNSPECIFIED = 0,
331
331
  /**
332
- * MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method
332
+ * MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method.
333
333
  *
334
334
  * @generated from enum value: MACHINE_ROLE_EDITOR = 1;
335
335
  */
336
336
  EDITOR = 1,
337
337
  /**
338
- * MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method
338
+ * MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method.
339
339
  *
340
340
  * @generated from enum value: MACHINE_ROLE_VIEWER = 2;
341
341
  */
@@ -346,25 +346,25 @@ export declare enum MachineRole {
346
346
  */
347
347
  export declare const MachineRoleSchema: GenEnum<MachineRole>;
348
348
  /**
349
- * Visibility of a method
349
+ * Visibility of a method.
350
350
  *
351
351
  * @generated from enum metalstack.api.v2.Visibility
352
352
  */
353
353
  export declare enum Visibility {
354
354
  /**
355
- * VISIBILITY_UNSPECIFIED is not defined
355
+ * VISIBILITY_UNSPECIFIED is not defined.
356
356
  *
357
357
  * @generated from enum value: VISIBILITY_UNSPECIFIED = 0;
358
358
  */
359
359
  UNSPECIFIED = 0,
360
360
  /**
361
- * VISIBILITY_PUBLIC specifies that this service is accessible without authentication
361
+ * VISIBILITY_PUBLIC specifies that this service is accessible without authentication.
362
362
  *
363
363
  * @generated from enum value: VISIBILITY_PUBLIC = 1;
364
364
  */
365
365
  PUBLIC = 1,
366
366
  /**
367
- * VISIBILITY_SELF restricts calls to the authenticated user only
367
+ * VISIBILITY_SELF restricts calls to the authenticated user only.
368
368
  *
369
369
  * @generated from enum value: VISIBILITY_SELF = 2;
370
370
  */
@@ -375,27 +375,27 @@ export declare enum Visibility {
375
375
  */
376
376
  export declare const VisibilitySchema: GenEnum<Visibility>;
377
377
  /**
378
- * Auditing option specified per service method
379
- * by default all service methods are included
380
- * add the auditing option if you want to exclude a method in auditing
378
+ * Auditing option specified per service method.
379
+ * By default all service methods are included.
380
+ * Add the auditing option if you want to exclude a method in auditing.
381
381
  *
382
382
  * @generated from enum metalstack.api.v2.Auditing
383
383
  */
384
384
  export declare enum Auditing {
385
385
  /**
386
- * AUDITING_UNSPECIFIED is not specified
386
+ * AUDITING_UNSPECIFIED is not specified.
387
387
  *
388
388
  * @generated from enum value: AUDITING_UNSPECIFIED = 0;
389
389
  */
390
390
  UNSPECIFIED = 0,
391
391
  /**
392
- * AUDITING_INCLUDED if a method is annotated with this, all calls are audited
392
+ * AUDITING_INCLUDED if a method is annotated with this, all calls are audited.
393
393
  *
394
394
  * @generated from enum value: AUDITING_INCLUDED = 1;
395
395
  */
396
396
  INCLUDED = 1,
397
397
  /**
398
- * AUDITING_EXCLUDED if a method is annotated with this, no calls are audited
398
+ * AUDITING_EXCLUDED if a method is annotated with this, no calls are audited.
399
399
  *
400
400
  * @generated from enum value: AUDITING_EXCLUDED = 2;
401
401
  */
@@ -407,26 +407,26 @@ export declare enum Auditing {
407
407
  export declare const AuditingSchema: GenEnum<Auditing>;
408
408
  /**
409
409
  * OptimisticLockingStrategy defines how optimistic locking should be handled.
410
- * It defaults to client side, which requires the UpdatedAt timestamp to be provided
410
+ * It defaults to client side, which requires the UpdatedAt timestamp to be provided.
411
411
  *
412
412
  * @generated from enum metalstack.api.v2.OptimisticLockingStrategy
413
413
  */
414
414
  export declare enum OptimisticLockingStrategy {
415
415
  /**
416
- * OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side
416
+ * OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side.
417
417
  *
418
418
  * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED = 0;
419
419
  */
420
420
  UNSPECIFIED = 0,
421
421
  /**
422
- * OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified
422
+ * OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified.
423
423
  *
424
424
  * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_CLIENT = 1;
425
425
  */
426
426
  CLIENT = 1,
427
427
  /**
428
- * OPTIMISTIC_LOCKING_STRATEGY_SERVER allows to omit UpdatedAt
429
- * and fetches the most recent entity before updating with the given values with the update request
428
+ * OPTIMISTIC_LOCKING_STRATEGY_SERVER allows to omit UpdatedAt.
429
+ * and fetches the most recent entity before updating with the given values with the update request.
430
430
  *
431
431
  * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_SERVER = 2;
432
432
  */
@@ -437,49 +437,49 @@ export declare enum OptimisticLockingStrategy {
437
437
  */
438
438
  export declare const OptimisticLockingStrategySchema: GenEnum<OptimisticLockingStrategy>;
439
439
  /**
440
- * TenantRoles are used to define the tenant role a logged in user must provide to call this method
440
+ * TenantRoles are used to define the tenant role a logged in user must provide to call this method.
441
441
  *
442
442
  * @generated from extension: repeated metalstack.api.v2.TenantRole tenant_roles = 51000;
443
443
  */
444
444
  export declare const tenant_roles: GenExtension<MethodOptions, TenantRole[]>;
445
445
  /**
446
- * ProjectRoles are used to define the project role a logged in user must provide to call this method
446
+ * ProjectRoles are used to define the project role a logged in user must provide to call this method.
447
447
  *
448
448
  * @generated from extension: repeated metalstack.api.v2.ProjectRole project_roles = 51001;
449
449
  */
450
450
  export declare const project_roles: GenExtension<MethodOptions, ProjectRole[]>;
451
451
  /**
452
- * AdminRoles are used to define the admin role a logged in user must provide to call this method
452
+ * AdminRoles are used to define the admin role a logged in user must provide to call this method.
453
453
  *
454
454
  * @generated from extension: repeated metalstack.api.v2.AdminRole admin_roles = 51002;
455
455
  */
456
456
  export declare const admin_roles: GenExtension<MethodOptions, AdminRole[]>;
457
457
  /**
458
- * Visibility defines the visibility of this method, this is used to have public or self visible methods
458
+ * Visibility defines the visibility of this method, this is used to have public or self visible methods.
459
459
  *
460
460
  * @generated from extension: metalstack.api.v2.Visibility visibility = 51003;
461
461
  */
462
462
  export declare const visibility: GenExtension<MethodOptions, Visibility>;
463
463
  /**
464
- * Auditing defines if calls to this method should be audited or not
464
+ * Auditing defines if calls to this method should be audited or not.
465
465
  *
466
466
  * @generated from extension: metalstack.api.v2.Auditing auditing = 51004;
467
467
  */
468
468
  export declare const auditing: GenExtension<MethodOptions, Auditing>;
469
469
  /**
470
- * InfraRoles are used to define the infra role a microservice must provide to call this method
470
+ * InfraRoles are used to define the infra role a microservice must provide to call this method.
471
471
  *
472
472
  * @generated from extension: repeated metalstack.api.v2.InfraRole infra_roles = 51005;
473
473
  */
474
474
  export declare const infra_roles: GenExtension<MethodOptions, InfraRole[]>;
475
475
  /**
476
- * MachineRole are used to define which machine role a microservice must provide to call this method
476
+ * MachineRole are used to define which machine role a microservice must provide to call this method.
477
477
  *
478
478
  * @generated from extension: repeated metalstack.api.v2.MachineRole machine_roles = 51006;
479
479
  */
480
480
  export declare const machine_roles: GenExtension<MethodOptions, MachineRole[]>;
481
481
  /**
482
- * StringValue which can be set to a enum
482
+ * StringValue which can be set to a enum.
483
483
  *
484
484
  * @generated from extension: string enum_string_value = 52000;
485
485
  */