@metal-stack/api 0.0.61 → 0.0.62

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 (134) hide show
  1. package/js/buf/validate/validate_pb.d.ts +9 -9
  2. package/js/buf/validate/validate_pb.ts +10 -10
  3. package/js/metalstack/admin/v2/audit_pb.d.ts +3 -3
  4. package/js/metalstack/admin/v2/audit_pb.js +1 -1
  5. package/js/metalstack/admin/v2/audit_pb.ts +4 -4
  6. package/js/metalstack/admin/v2/component_pb.d.ts +3 -3
  7. package/js/metalstack/admin/v2/component_pb.js +1 -1
  8. package/js/metalstack/admin/v2/component_pb.ts +4 -4
  9. package/js/metalstack/admin/v2/filesystem_pb.d.ts +8 -8
  10. package/js/metalstack/admin/v2/filesystem_pb.js +1 -1
  11. package/js/metalstack/admin/v2/filesystem_pb.ts +9 -9
  12. package/js/metalstack/admin/v2/image_pb.d.ts +10 -10
  13. package/js/metalstack/admin/v2/image_pb.js +1 -1
  14. package/js/metalstack/admin/v2/image_pb.ts +11 -11
  15. package/js/metalstack/admin/v2/ip_pb.d.ts +1 -1
  16. package/js/metalstack/admin/v2/ip_pb.js +1 -1
  17. package/js/metalstack/admin/v2/ip_pb.ts +2 -2
  18. package/js/metalstack/admin/v2/machine_pb.d.ts +5 -5
  19. package/js/metalstack/admin/v2/machine_pb.js +1 -1
  20. package/js/metalstack/admin/v2/machine_pb.ts +6 -6
  21. package/js/metalstack/admin/v2/network_pb.d.ts +26 -26
  22. package/js/metalstack/admin/v2/network_pb.js +2 -2
  23. package/js/metalstack/admin/v2/network_pb.ts +28 -28
  24. package/js/metalstack/admin/v2/partition_pb.d.ts +11 -11
  25. package/js/metalstack/admin/v2/partition_pb.js +1 -1
  26. package/js/metalstack/admin/v2/partition_pb.ts +12 -12
  27. package/js/metalstack/admin/v2/project_pb.d.ts +2 -2
  28. package/js/metalstack/admin/v2/project_pb.js +1 -1
  29. package/js/metalstack/admin/v2/project_pb.ts +3 -3
  30. package/js/metalstack/admin/v2/size_imageconstraint_pb.d.ts +11 -11
  31. package/js/metalstack/admin/v2/size_imageconstraint_pb.js +1 -1
  32. package/js/metalstack/admin/v2/size_imageconstraint_pb.ts +12 -12
  33. package/js/metalstack/admin/v2/size_pb.d.ts +8 -8
  34. package/js/metalstack/admin/v2/size_pb.js +1 -1
  35. package/js/metalstack/admin/v2/size_pb.ts +9 -9
  36. package/js/metalstack/admin/v2/size_reservation_pb.d.ts +10 -10
  37. package/js/metalstack/admin/v2/size_reservation_pb.js +1 -1
  38. package/js/metalstack/admin/v2/size_reservation_pb.ts +11 -11
  39. package/js/metalstack/admin/v2/switch_pb.d.ts +16 -16
  40. package/js/metalstack/admin/v2/switch_pb.js +1 -1
  41. package/js/metalstack/admin/v2/switch_pb.ts +17 -17
  42. package/js/metalstack/admin/v2/task_pb.d.ts +10 -10
  43. package/js/metalstack/admin/v2/task_pb.js +1 -1
  44. package/js/metalstack/admin/v2/task_pb.ts +11 -11
  45. package/js/metalstack/admin/v2/tenant_pb.d.ts +9 -9
  46. package/js/metalstack/admin/v2/tenant_pb.js +1 -1
  47. package/js/metalstack/admin/v2/tenant_pb.ts +10 -10
  48. package/js/metalstack/admin/v2/token_pb.d.ts +4 -4
  49. package/js/metalstack/admin/v2/token_pb.js +1 -1
  50. package/js/metalstack/admin/v2/token_pb.ts +5 -5
  51. package/js/metalstack/admin/v2/vpn_pb.d.ts +4 -4
  52. package/js/metalstack/admin/v2/vpn_pb.js +1 -1
  53. package/js/metalstack/admin/v2/vpn_pb.ts +5 -5
  54. package/js/metalstack/api/v2/audit_pb.d.ts +18 -18
  55. package/js/metalstack/api/v2/audit_pb.js +1 -1
  56. package/js/metalstack/api/v2/audit_pb.ts +19 -19
  57. package/js/metalstack/api/v2/common_pb.d.ts +7 -7
  58. package/js/metalstack/api/v2/common_pb.js +1 -1
  59. package/js/metalstack/api/v2/common_pb.ts +8 -8
  60. package/js/metalstack/api/v2/component_pb.d.ts +8 -8
  61. package/js/metalstack/api/v2/component_pb.js +1 -1
  62. package/js/metalstack/api/v2/component_pb.ts +9 -9
  63. package/js/metalstack/api/v2/filesystem_pb.d.ts +13 -13
  64. package/js/metalstack/api/v2/filesystem_pb.js +1 -1
  65. package/js/metalstack/api/v2/filesystem_pb.ts +14 -14
  66. package/js/metalstack/api/v2/health_pb.d.ts +1 -1
  67. package/js/metalstack/api/v2/health_pb.js +1 -1
  68. package/js/metalstack/api/v2/health_pb.ts +2 -2
  69. package/js/metalstack/api/v2/image_pb.d.ts +18 -18
  70. package/js/metalstack/api/v2/image_pb.js +1 -1
  71. package/js/metalstack/api/v2/image_pb.ts +19 -19
  72. package/js/metalstack/api/v2/ip_pb.d.ts +31 -31
  73. package/js/metalstack/api/v2/ip_pb.js +1 -1
  74. package/js/metalstack/api/v2/ip_pb.ts +32 -32
  75. package/js/metalstack/api/v2/machine_pb.d.ts +91 -91
  76. package/js/metalstack/api/v2/machine_pb.js +1 -1
  77. package/js/metalstack/api/v2/machine_pb.ts +92 -92
  78. package/js/metalstack/api/v2/method_pb.d.ts +2 -2
  79. package/js/metalstack/api/v2/method_pb.js +1 -1
  80. package/js/metalstack/api/v2/method_pb.ts +3 -3
  81. package/js/metalstack/api/v2/network_pb.d.ts +52 -52
  82. package/js/metalstack/api/v2/network_pb.js +2 -2
  83. package/js/metalstack/api/v2/network_pb.ts +54 -54
  84. package/js/metalstack/api/v2/partition_pb.d.ts +6 -6
  85. package/js/metalstack/api/v2/partition_pb.js +1 -1
  86. package/js/metalstack/api/v2/partition_pb.ts +7 -7
  87. package/js/metalstack/api/v2/predefined_rules_pb.js +1 -1
  88. package/js/metalstack/api/v2/predefined_rules_pb.ts +1 -1
  89. package/js/metalstack/api/v2/project_pb.d.ts +24 -24
  90. package/js/metalstack/api/v2/project_pb.js +2 -2
  91. package/js/metalstack/api/v2/project_pb.ts +26 -26
  92. package/js/metalstack/api/v2/size_imageconstraint_pb.d.ts +6 -6
  93. package/js/metalstack/api/v2/size_imageconstraint_pb.js +1 -1
  94. package/js/metalstack/api/v2/size_imageconstraint_pb.ts +7 -7
  95. package/js/metalstack/api/v2/size_pb.d.ts +10 -10
  96. package/js/metalstack/api/v2/size_pb.js +1 -1
  97. package/js/metalstack/api/v2/size_pb.ts +11 -11
  98. package/js/metalstack/api/v2/size_reservation_pb.d.ts +10 -10
  99. package/js/metalstack/api/v2/size_reservation_pb.js +1 -1
  100. package/js/metalstack/api/v2/size_reservation_pb.ts +11 -11
  101. package/js/metalstack/api/v2/switch_pb.d.ts +26 -26
  102. package/js/metalstack/api/v2/switch_pb.js +1 -1
  103. package/js/metalstack/api/v2/switch_pb.ts +27 -27
  104. package/js/metalstack/api/v2/tenant_pb.d.ts +24 -24
  105. package/js/metalstack/api/v2/tenant_pb.js +1 -1
  106. package/js/metalstack/api/v2/tenant_pb.ts +25 -25
  107. package/js/metalstack/api/v2/token_pb.d.ts +18 -18
  108. package/js/metalstack/api/v2/token_pb.js +1 -1
  109. package/js/metalstack/api/v2/token_pb.ts +19 -19
  110. package/js/metalstack/api/v2/user_pb.d.ts +2 -2
  111. package/js/metalstack/api/v2/user_pb.js +1 -1
  112. package/js/metalstack/api/v2/user_pb.ts +3 -3
  113. package/js/metalstack/api/v2/version_pb.d.ts +1 -1
  114. package/js/metalstack/api/v2/version_pb.js +1 -1
  115. package/js/metalstack/api/v2/version_pb.ts +2 -2
  116. package/js/metalstack/api/v2/vpn_pb.d.ts +1 -1
  117. package/js/metalstack/api/v2/vpn_pb.js +1 -1
  118. package/js/metalstack/api/v2/vpn_pb.ts +2 -2
  119. package/js/metalstack/infra/v2/bmc_pb.d.ts +2 -2
  120. package/js/metalstack/infra/v2/bmc_pb.js +1 -1
  121. package/js/metalstack/infra/v2/bmc_pb.ts +3 -3
  122. package/js/metalstack/infra/v2/boot_pb.d.ts +6 -6
  123. package/js/metalstack/infra/v2/boot_pb.js +1 -1
  124. package/js/metalstack/infra/v2/boot_pb.ts +7 -7
  125. package/js/metalstack/infra/v2/component_pb.d.ts +3 -3
  126. package/js/metalstack/infra/v2/component_pb.js +1 -1
  127. package/js/metalstack/infra/v2/component_pb.ts +4 -4
  128. package/js/metalstack/infra/v2/event_pb.d.ts +1 -1
  129. package/js/metalstack/infra/v2/event_pb.js +1 -1
  130. package/js/metalstack/infra/v2/event_pb.ts +2 -2
  131. package/js/metalstack/infra/v2/switch_pb.d.ts +7 -7
  132. package/js/metalstack/infra/v2/switch_pb.js +1 -1
  133. package/js/metalstack/infra/v2/switch_pb.ts +8 -8
  134. package/package.json +1 -1
@@ -23,7 +23,7 @@ export type Tenant = Message<"metalstack.api.v2.Tenant"> & {
23
23
  *
24
24
  * @generated from field: metalstack.api.v2.Meta meta = 2;
25
25
  */
26
- meta?: Meta;
26
+ meta?: Meta | undefined;
27
27
  /**
28
28
  * Name of the tenant
29
29
  *
@@ -89,7 +89,7 @@ export type TenantMember = Message<"metalstack.api.v2.TenantMember"> & {
89
89
  *
90
90
  * @generated from field: google.protobuf.Timestamp created_at = 4;
91
91
  */
92
- createdAt?: Timestamp;
92
+ createdAt?: Timestamp | undefined;
93
93
  };
94
94
  /**
95
95
  * Describes the message metalstack.api.v2.TenantMember.
@@ -149,13 +149,13 @@ export type TenantInvite = Message<"metalstack.api.v2.TenantInvite"> & {
149
149
  *
150
150
  * @generated from field: google.protobuf.Timestamp expires_at = 8;
151
151
  */
152
- expiresAt?: Timestamp;
152
+ expiresAt?: Timestamp | undefined;
153
153
  /**
154
154
  * JoinedAt the date when the member accepted this invite
155
155
  *
156
156
  * @generated from field: google.protobuf.Timestamp joined_at = 9;
157
157
  */
158
- joinedAt?: Timestamp;
158
+ joinedAt?: Timestamp | undefined;
159
159
  };
160
160
  /**
161
161
  * Describes the message metalstack.api.v2.TenantInvite.
@@ -173,19 +173,19 @@ export type TenantServiceListRequest = Message<"metalstack.api.v2.TenantServiceL
173
173
  *
174
174
  * @generated from field: optional string id = 1;
175
175
  */
176
- id?: string;
176
+ id?: string | undefined;
177
177
  /**
178
178
  * Name filters tenants by name
179
179
  *
180
180
  * @generated from field: optional string name = 2;
181
181
  */
182
- name?: string;
182
+ name?: string | undefined;
183
183
  /**
184
184
  * Labels lists only projects containing the given labels
185
185
  *
186
186
  * @generated from field: optional metalstack.api.v2.Labels labels = 3;
187
187
  */
188
- labels?: Labels;
188
+ labels?: Labels | undefined;
189
189
  };
190
190
  /**
191
191
  * Describes the message metalstack.api.v2.TenantServiceListRequest.
@@ -227,25 +227,25 @@ export type TenantServiceCreateRequest = Message<"metalstack.api.v2.TenantServic
227
227
  *
228
228
  * @generated from field: optional string description = 2;
229
229
  */
230
- description?: string;
230
+ description?: string | undefined;
231
231
  /**
232
232
  * Email of the tenant, if not set will be inherited from the creator
233
233
  *
234
234
  * @generated from field: optional string email = 3;
235
235
  */
236
- email?: string;
236
+ email?: string | undefined;
237
237
  /**
238
238
  * AvatarUrl of the tenant
239
239
  *
240
240
  * @generated from field: optional string avatar_url = 4;
241
241
  */
242
- avatarUrl?: string;
242
+ avatarUrl?: string | undefined;
243
243
  /**
244
244
  * Labels on the tenant
245
245
  *
246
246
  * @generated from field: metalstack.api.v2.Labels labels = 5;
247
247
  */
248
- labels?: Labels;
248
+ labels?: Labels | undefined;
249
249
  };
250
250
  /**
251
251
  * Describes the message metalstack.api.v2.TenantServiceCreateRequest.
@@ -269,37 +269,37 @@ export type TenantServiceUpdateRequest = Message<"metalstack.api.v2.TenantServic
269
269
  *
270
270
  * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
271
271
  */
272
- updateMeta?: UpdateMeta;
272
+ updateMeta?: UpdateMeta | undefined;
273
273
  /**
274
274
  * Name of the tenant
275
275
  *
276
276
  * @generated from field: optional string name = 3;
277
277
  */
278
- name?: string;
278
+ name?: string | undefined;
279
279
  /**
280
280
  * Email of the tenant
281
281
  *
282
282
  * @generated from field: optional string email = 4;
283
283
  */
284
- email?: string;
284
+ email?: string | undefined;
285
285
  /**
286
286
  * Description of this tenant
287
287
  *
288
288
  * @generated from field: optional string description = 5;
289
289
  */
290
- description?: string;
290
+ description?: string | undefined;
291
291
  /**
292
292
  * AvatarUrl of the tenant
293
293
  *
294
294
  * @generated from field: optional string avatar_url = 6;
295
295
  */
296
- avatarUrl?: string;
296
+ avatarUrl?: string | undefined;
297
297
  /**
298
298
  * Labels on the tenant
299
299
  *
300
300
  * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 7;
301
301
  */
302
- labels?: UpdateLabels;
302
+ labels?: UpdateLabels | undefined;
303
303
  };
304
304
  /**
305
305
  * Describes the message metalstack.api.v2.TenantServiceUpdateRequest.
@@ -335,7 +335,7 @@ export type TenantServiceGetResponse = Message<"metalstack.api.v2.TenantServiceG
335
335
  *
336
336
  * @generated from field: metalstack.api.v2.Tenant tenant = 1;
337
337
  */
338
- tenant?: Tenant;
338
+ tenant?: Tenant | undefined;
339
339
  /**
340
340
  * TenantMembers of this tenant
341
341
  *
@@ -377,7 +377,7 @@ export type TenantServiceCreateResponse = Message<"metalstack.api.v2.TenantServi
377
377
  *
378
378
  * @generated from field: metalstack.api.v2.Tenant tenant = 1;
379
379
  */
380
- tenant?: Tenant;
380
+ tenant?: Tenant | undefined;
381
381
  };
382
382
  /**
383
383
  * Describes the message metalstack.api.v2.TenantServiceCreateResponse.
@@ -395,7 +395,7 @@ export type TenantServiceUpdateResponse = Message<"metalstack.api.v2.TenantServi
395
395
  *
396
396
  * @generated from field: metalstack.api.v2.Tenant tenant = 1;
397
397
  */
398
- tenant?: Tenant;
398
+ tenant?: Tenant | undefined;
399
399
  };
400
400
  /**
401
401
  * Describes the message metalstack.api.v2.TenantServiceUpdateResponse.
@@ -413,7 +413,7 @@ export type TenantServiceDeleteResponse = Message<"metalstack.api.v2.TenantServi
413
413
  *
414
414
  * @generated from field: metalstack.api.v2.Tenant tenant = 1;
415
415
  */
416
- tenant?: Tenant;
416
+ tenant?: Tenant | undefined;
417
417
  };
418
418
  /**
419
419
  * Describes the message metalstack.api.v2.TenantServiceDeleteResponse.
@@ -457,7 +457,7 @@ export type TenantServiceInviteResponse = Message<"metalstack.api.v2.TenantServi
457
457
  *
458
458
  * @generated from field: metalstack.api.v2.TenantInvite invite = 1;
459
459
  */
460
- invite?: TenantInvite;
460
+ invite?: TenantInvite | undefined;
461
461
  };
462
462
  /**
463
463
  * Describes the message metalstack.api.v2.TenantServiceInviteResponse.
@@ -529,7 +529,7 @@ export type TenantServiceInviteGetResponse = Message<"metalstack.api.v2.TenantSe
529
529
  *
530
530
  * @generated from field: metalstack.api.v2.TenantInvite invite = 1;
531
531
  */
532
- invite?: TenantInvite;
532
+ invite?: TenantInvite | undefined;
533
533
  };
534
534
  /**
535
535
  * Describes the message metalstack.api.v2.TenantServiceInviteGetResponse.
@@ -718,7 +718,7 @@ export type TenantServiceUpdateMemberResponse = Message<"metalstack.api.v2.Tenan
718
718
  *
719
719
  * @generated from field: metalstack.api.v2.TenantMember tenant_member = 1;
720
720
  */
721
- tenantMember?: TenantMember;
721
+ tenantMember?: TenantMember | undefined;
722
722
  };
723
723
  /**
724
724
  * Describes the message metalstack.api.v2.TenantServiceUpdateMemberResponse.
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
2
2
  // @generated from file metalstack/api/v2/tenant.proto (package metalstack.api.v2, syntax proto3)
3
3
  /* eslint-disable */
4
4
  import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
2
2
  // @generated from file metalstack/api/v2/tenant.proto (package metalstack.api.v2, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -36,7 +36,7 @@ export type Tenant = Message<"metalstack.api.v2.Tenant"> & {
36
36
  *
37
37
  * @generated from field: metalstack.api.v2.Meta meta = 2;
38
38
  */
39
- meta?: Meta;
39
+ meta?: Meta | undefined;
40
40
 
41
41
  /**
42
42
  * Name of the tenant
@@ -113,7 +113,7 @@ export type TenantMember = Message<"metalstack.api.v2.TenantMember"> & {
113
113
  *
114
114
  * @generated from field: google.protobuf.Timestamp created_at = 4;
115
115
  */
116
- createdAt?: Timestamp;
116
+ createdAt?: Timestamp | undefined;
117
117
  };
118
118
 
119
119
  /**
@@ -183,14 +183,14 @@ export type TenantInvite = Message<"metalstack.api.v2.TenantInvite"> & {
183
183
  *
184
184
  * @generated from field: google.protobuf.Timestamp expires_at = 8;
185
185
  */
186
- expiresAt?: Timestamp;
186
+ expiresAt?: Timestamp | undefined;
187
187
 
188
188
  /**
189
189
  * JoinedAt the date when the member accepted this invite
190
190
  *
191
191
  * @generated from field: google.protobuf.Timestamp joined_at = 9;
192
192
  */
193
- joinedAt?: Timestamp;
193
+ joinedAt?: Timestamp | undefined;
194
194
  };
195
195
 
196
196
  /**
@@ -211,21 +211,21 @@ export type TenantServiceListRequest = Message<"metalstack.api.v2.TenantServiceL
211
211
  *
212
212
  * @generated from field: optional string id = 1;
213
213
  */
214
- id?: string;
214
+ id?: string | undefined;
215
215
 
216
216
  /**
217
217
  * Name filters tenants by name
218
218
  *
219
219
  * @generated from field: optional string name = 2;
220
220
  */
221
- name?: string;
221
+ name?: string | undefined;
222
222
 
223
223
  /**
224
224
  * Labels lists only projects containing the given labels
225
225
  *
226
226
  * @generated from field: optional metalstack.api.v2.Labels labels = 3;
227
227
  */
228
- labels?: Labels;
228
+ labels?: Labels | undefined;
229
229
  };
230
230
 
231
231
  /**
@@ -274,28 +274,28 @@ export type TenantServiceCreateRequest = Message<"metalstack.api.v2.TenantServic
274
274
  *
275
275
  * @generated from field: optional string description = 2;
276
276
  */
277
- description?: string;
277
+ description?: string | undefined;
278
278
 
279
279
  /**
280
280
  * Email of the tenant, if not set will be inherited from the creator
281
281
  *
282
282
  * @generated from field: optional string email = 3;
283
283
  */
284
- email?: string;
284
+ email?: string | undefined;
285
285
 
286
286
  /**
287
287
  * AvatarUrl of the tenant
288
288
  *
289
289
  * @generated from field: optional string avatar_url = 4;
290
290
  */
291
- avatarUrl?: string;
291
+ avatarUrl?: string | undefined;
292
292
 
293
293
  /**
294
294
  * Labels on the tenant
295
295
  *
296
296
  * @generated from field: metalstack.api.v2.Labels labels = 5;
297
297
  */
298
- labels?: Labels;
298
+ labels?: Labels | undefined;
299
299
  };
300
300
 
301
301
  /**
@@ -323,42 +323,42 @@ export type TenantServiceUpdateRequest = Message<"metalstack.api.v2.TenantServic
323
323
  *
324
324
  * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
325
325
  */
326
- updateMeta?: UpdateMeta;
326
+ updateMeta?: UpdateMeta | undefined;
327
327
 
328
328
  /**
329
329
  * Name of the tenant
330
330
  *
331
331
  * @generated from field: optional string name = 3;
332
332
  */
333
- name?: string;
333
+ name?: string | undefined;
334
334
 
335
335
  /**
336
336
  * Email of the tenant
337
337
  *
338
338
  * @generated from field: optional string email = 4;
339
339
  */
340
- email?: string;
340
+ email?: string | undefined;
341
341
 
342
342
  /**
343
343
  * Description of this tenant
344
344
  *
345
345
  * @generated from field: optional string description = 5;
346
346
  */
347
- description?: string;
347
+ description?: string | undefined;
348
348
 
349
349
  /**
350
350
  * AvatarUrl of the tenant
351
351
  *
352
352
  * @generated from field: optional string avatar_url = 6;
353
353
  */
354
- avatarUrl?: string;
354
+ avatarUrl?: string | undefined;
355
355
 
356
356
  /**
357
357
  * Labels on the tenant
358
358
  *
359
359
  * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 7;
360
360
  */
361
- labels?: UpdateLabels;
361
+ labels?: UpdateLabels | undefined;
362
362
  };
363
363
 
364
364
  /**
@@ -400,7 +400,7 @@ export type TenantServiceGetResponse = Message<"metalstack.api.v2.TenantServiceG
400
400
  *
401
401
  * @generated from field: metalstack.api.v2.Tenant tenant = 1;
402
402
  */
403
- tenant?: Tenant;
403
+ tenant?: Tenant | undefined;
404
404
 
405
405
  /**
406
406
  * TenantMembers of this tenant
@@ -449,7 +449,7 @@ export type TenantServiceCreateResponse = Message<"metalstack.api.v2.TenantServi
449
449
  *
450
450
  * @generated from field: metalstack.api.v2.Tenant tenant = 1;
451
451
  */
452
- tenant?: Tenant;
452
+ tenant?: Tenant | undefined;
453
453
  };
454
454
 
455
455
  /**
@@ -470,7 +470,7 @@ export type TenantServiceUpdateResponse = Message<"metalstack.api.v2.TenantServi
470
470
  *
471
471
  * @generated from field: metalstack.api.v2.Tenant tenant = 1;
472
472
  */
473
- tenant?: Tenant;
473
+ tenant?: Tenant | undefined;
474
474
  };
475
475
 
476
476
  /**
@@ -491,7 +491,7 @@ export type TenantServiceDeleteResponse = Message<"metalstack.api.v2.TenantServi
491
491
  *
492
492
  * @generated from field: metalstack.api.v2.Tenant tenant = 1;
493
493
  */
494
- tenant?: Tenant;
494
+ tenant?: Tenant | undefined;
495
495
  };
496
496
 
497
497
  /**
@@ -542,7 +542,7 @@ export type TenantServiceInviteResponse = Message<"metalstack.api.v2.TenantServi
542
542
  *
543
543
  * @generated from field: metalstack.api.v2.TenantInvite invite = 1;
544
544
  */
545
- invite?: TenantInvite;
545
+ invite?: TenantInvite | undefined;
546
546
  };
547
547
 
548
548
  /**
@@ -626,7 +626,7 @@ export type TenantServiceInviteGetResponse = Message<"metalstack.api.v2.TenantSe
626
626
  *
627
627
  * @generated from field: metalstack.api.v2.TenantInvite invite = 1;
628
628
  */
629
- invite?: TenantInvite;
629
+ invite?: TenantInvite | undefined;
630
630
  };
631
631
 
632
632
  /**
@@ -853,7 +853,7 @@ export type TenantServiceUpdateMemberResponse = Message<"metalstack.api.v2.Tenan
853
853
  *
854
854
  * @generated from field: metalstack.api.v2.TenantMember tenant_member = 1;
855
855
  */
856
- tenantMember?: TenantMember;
856
+ tenantMember?: TenantMember | undefined;
857
857
  };
858
858
 
859
859
  /**
@@ -40,7 +40,7 @@ export type Token = Message<"metalstack.api.v2.Token"> & {
40
40
  *
41
41
  * @generated from field: metalstack.api.v2.Meta meta = 3;
42
42
  */
43
- meta?: Meta;
43
+ meta?: Meta | undefined;
44
44
  /**
45
45
  * Description is a user given description of this token.
46
46
  *
@@ -58,13 +58,13 @@ export type Token = Message<"metalstack.api.v2.Token"> & {
58
58
  *
59
59
  * @generated from field: google.protobuf.Timestamp expires = 6;
60
60
  */
61
- expires?: Timestamp;
61
+ expires?: Timestamp | undefined;
62
62
  /**
63
63
  * IssuedAt gives the date when this token was created
64
64
  *
65
65
  * @generated from field: google.protobuf.Timestamp issued_at = 7;
66
66
  */
67
- issuedAt?: Timestamp;
67
+ issuedAt?: Timestamp | undefined;
68
68
  /**
69
69
  * TokenType describes the type of this token
70
70
  *
@@ -92,13 +92,13 @@ export type Token = Message<"metalstack.api.v2.Token"> & {
92
92
  *
93
93
  * @generated from field: optional metalstack.api.v2.AdminRole admin_role = 11;
94
94
  */
95
- adminRole?: AdminRole;
95
+ adminRole?: AdminRole | undefined;
96
96
  /**
97
97
  * InfraRole defines the infrastructure role of the token owner
98
98
  *
99
99
  * @generated from field: optional metalstack.api.v2.InfraRole infra_role = 12;
100
100
  */
101
- infraRole?: InfraRole;
101
+ infraRole?: InfraRole | undefined;
102
102
  /**
103
103
  * MachineRoles associates a machine uuid with the corresponding role of the token owner
104
104
  * TODO: decide if we need this map from machine.uuid->role, we could instead use the subject in the token instead
@@ -137,7 +137,7 @@ export type TokenServiceCreateRequest = Message<"metalstack.api.v2.TokenServiceC
137
137
  *
138
138
  * @generated from field: google.protobuf.Duration expires = 3;
139
139
  */
140
- expires?: Duration;
140
+ expires?: Duration | undefined;
141
141
  /**
142
142
  * ProjectRoles associates a project id with the corresponding role of the token owner
143
143
  *
@@ -159,13 +159,13 @@ export type TokenServiceCreateRequest = Message<"metalstack.api.v2.TokenServiceC
159
159
  *
160
160
  * @generated from field: optional metalstack.api.v2.AdminRole admin_role = 6;
161
161
  */
162
- adminRole?: AdminRole;
162
+ adminRole?: AdminRole | undefined;
163
163
  /**
164
164
  * InfraRole defines the infrastructure role of the token owner
165
165
  *
166
166
  * @generated from field: optional metalstack.api.v2.InfraRole infra_role = 7;
167
167
  */
168
- infraRole?: InfraRole;
168
+ infraRole?: InfraRole | undefined;
169
169
  /**
170
170
  * MachineRoles associates a machine uuid with the corresponding role of the token owner
171
171
  *
@@ -179,7 +179,7 @@ export type TokenServiceCreateRequest = Message<"metalstack.api.v2.TokenServiceC
179
179
  *
180
180
  * @generated from field: metalstack.api.v2.Labels labels = 9;
181
181
  */
182
- labels?: Labels;
182
+ labels?: Labels | undefined;
183
183
  };
184
184
  /**
185
185
  * Describes the message metalstack.api.v2.TokenServiceCreateRequest.
@@ -226,7 +226,7 @@ export type TokenServiceCreateResponse = Message<"metalstack.api.v2.TokenService
226
226
  *
227
227
  * @generated from field: metalstack.api.v2.Token token = 1;
228
228
  */
229
- token?: Token;
229
+ token?: Token | undefined;
230
230
  /**
231
231
  * Secret is the body if the jwt token, should be used in api requests as bearer token
232
232
  *
@@ -315,13 +315,13 @@ export type TokenServiceUpdateRequest = Message<"metalstack.api.v2.TokenServiceU
315
315
  *
316
316
  * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
317
317
  */
318
- updateMeta?: UpdateMeta;
318
+ updateMeta?: UpdateMeta | undefined;
319
319
  /**
320
320
  * Description is a user given description of this token.
321
321
  *
322
322
  * @generated from field: optional string description = 3;
323
323
  */
324
- description?: string;
324
+ description?: string | undefined;
325
325
  /**
326
326
  * Permissions is a list of service methods this token can be used for
327
327
  *
@@ -349,13 +349,13 @@ export type TokenServiceUpdateRequest = Message<"metalstack.api.v2.TokenServiceU
349
349
  *
350
350
  * @generated from field: optional metalstack.api.v2.AdminRole admin_role = 7;
351
351
  */
352
- adminRole?: AdminRole;
352
+ adminRole?: AdminRole | undefined;
353
353
  /**
354
354
  * InfraRole defines the infrastructure role of the token owner
355
355
  *
356
356
  * @generated from field: optional metalstack.api.v2.InfraRole infra_role = 8;
357
357
  */
358
- infraRole?: InfraRole;
358
+ infraRole?: InfraRole | undefined;
359
359
  /**
360
360
  * MachineRoles associates a machine uuid with the corresponding role of the token owner
361
361
  *
@@ -369,7 +369,7 @@ export type TokenServiceUpdateRequest = Message<"metalstack.api.v2.TokenServiceU
369
369
  *
370
370
  * @generated from field: metalstack.api.v2.UpdateLabels labels = 10;
371
371
  */
372
- labels?: UpdateLabels;
372
+ labels?: UpdateLabels | undefined;
373
373
  };
374
374
  /**
375
375
  * Describes the message metalstack.api.v2.TokenServiceUpdateRequest.
@@ -387,7 +387,7 @@ export type TokenServiceUpdateResponse = Message<"metalstack.api.v2.TokenService
387
387
  *
388
388
  * @generated from field: metalstack.api.v2.Token token = 1;
389
389
  */
390
- token?: Token;
390
+ token?: Token | undefined;
391
391
  };
392
392
  /**
393
393
  * Describes the message metalstack.api.v2.TokenServiceUpdateResponse.
@@ -423,7 +423,7 @@ export type TokenServiceGetResponse = Message<"metalstack.api.v2.TokenServiceGet
423
423
  *
424
424
  * @generated from field: metalstack.api.v2.Token token = 1;
425
425
  */
426
- token?: Token;
426
+ token?: Token | undefined;
427
427
  };
428
428
  /**
429
429
  * Describes the message metalstack.api.v2.TokenServiceGetResponse.
@@ -454,7 +454,7 @@ export type TokenServiceRefreshResponse = Message<"metalstack.api.v2.TokenServic
454
454
  *
455
455
  * @generated from field: metalstack.api.v2.Token token = 1;
456
456
  */
457
- token?: Token;
457
+ token?: Token | undefined;
458
458
  /**
459
459
  * Secret is the body if the jwt token, should be used in api requests as bearer token
460
460
  *
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
2
2
  // @generated from file metalstack/api/v2/token.proto (package metalstack.api.v2, syntax proto3)
3
3
  /* eslint-disable */
4
4
  import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";