@metal-stack/api 0.4.4 → 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 +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 +36 -36
  23. package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +36 -36
  24. package/{js/metalstack → metalstack}/admin/v2/partition_pb.d.ts +26 -26
  25. package/{js/metalstack → metalstack}/admin/v2/partition_pb.ts +26 -26
  26. package/{js/metalstack → metalstack}/admin/v2/project_pb.d.ts +2 -2
  27. package/{js/metalstack → metalstack}/admin/v2/project_pb.ts +2 -2
  28. package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.d.ts +18 -18
  29. package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.ts +18 -18
  30. package/{js/metalstack → metalstack}/admin/v2/size_pb.d.ts +11 -11
  31. package/{js/metalstack → metalstack}/admin/v2/size_pb.ts +11 -11
  32. package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.d.ts +14 -14
  33. package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.ts +14 -14
  34. package/{js/metalstack → metalstack}/admin/v2/switch_pb.d.ts +29 -29
  35. package/{js/metalstack → metalstack}/admin/v2/switch_pb.ts +29 -29
  36. package/{js/metalstack → metalstack}/admin/v2/task_pb.d.ts +47 -47
  37. package/{js/metalstack → metalstack}/admin/v2/task_pb.js +8 -8
  38. package/{js/metalstack → metalstack}/admin/v2/task_pb.ts +47 -47
  39. package/{js/metalstack → metalstack}/admin/v2/tenant_pb.d.ts +22 -22
  40. package/{js/metalstack → metalstack}/admin/v2/tenant_pb.ts +22 -22
  41. package/{js/metalstack → metalstack}/admin/v2/token_pb.d.ts +8 -8
  42. package/{js/metalstack → metalstack}/admin/v2/token_pb.ts +8 -8
  43. package/{js/metalstack → metalstack}/admin/v2/vpn_pb.d.ts +13 -13
  44. package/{js/metalstack → metalstack}/admin/v2/vpn_pb.ts +13 -13
  45. package/{js/metalstack → metalstack}/api/v2/audit_pb.d.ts +37 -37
  46. package/{js/metalstack → metalstack}/api/v2/audit_pb.js +3 -3
  47. package/{js/metalstack → metalstack}/api/v2/audit_pb.ts +37 -37
  48. package/{js/metalstack → metalstack}/api/v2/common_pb.d.ts +68 -68
  49. package/{js/metalstack → metalstack}/api/v2/common_pb.js +47 -47
  50. package/{js/metalstack → metalstack}/api/v2/common_pb.ts +68 -68
  51. package/{js/metalstack → metalstack}/api/v2/component_pb.d.ts +17 -17
  52. package/{js/metalstack → metalstack}/api/v2/component_pb.js +8 -8
  53. package/{js/metalstack → metalstack}/api/v2/component_pb.ts +17 -17
  54. package/{js/metalstack → metalstack}/api/v2/filesystem_pb.d.ts +82 -82
  55. package/{js/metalstack → metalstack}/api/v2/filesystem_pb.js +23 -23
  56. package/{js/metalstack → metalstack}/api/v2/filesystem_pb.ts +82 -82
  57. package/{js/metalstack → metalstack}/api/v2/health_pb.d.ts +21 -21
  58. package/{js/metalstack → metalstack}/api/v2/health_pb.js +13 -13
  59. package/{js/metalstack → metalstack}/api/v2/health_pb.ts +21 -21
  60. package/{js/metalstack → metalstack}/api/v2/image_pb.d.ts +45 -45
  61. package/{js/metalstack → metalstack}/api/v2/image_pb.js +9 -9
  62. package/{js/metalstack → metalstack}/api/v2/image_pb.ts +45 -45
  63. package/{js/metalstack → metalstack}/api/v2/ip_pb.d.ts +67 -67
  64. package/{js/metalstack → metalstack}/api/v2/ip_pb.js +8 -8
  65. package/{js/metalstack → metalstack}/api/v2/ip_pb.ts +67 -67
  66. package/{js/metalstack → metalstack}/api/v2/machine_pb.d.ts +422 -374
  67. package/{js/metalstack → metalstack}/api/v2/machine_pb.js +94 -89
  68. package/{js/metalstack → metalstack}/api/v2/machine_pb.ts +453 -396
  69. package/{js/metalstack → metalstack}/api/v2/method_pb.d.ts +7 -7
  70. package/{js/metalstack → metalstack}/api/v2/method_pb.ts +7 -7
  71. package/{js/metalstack → metalstack}/api/v2/network_pb.d.ts +98 -98
  72. package/{js/metalstack → metalstack}/api/v2/network_pb.js +16 -16
  73. package/{js/metalstack → metalstack}/api/v2/network_pb.ts +98 -98
  74. package/{js/metalstack → metalstack}/api/v2/partition_pb.d.ts +28 -28
  75. package/{js/metalstack → metalstack}/api/v2/partition_pb.ts +28 -28
  76. package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.d.ts +30 -24
  77. package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.js +40 -34
  78. package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.ts +42 -34
  79. package/{js/metalstack → metalstack}/api/v2/project_pb.d.ts +114 -114
  80. package/{js/metalstack → metalstack}/api/v2/project_pb.ts +114 -114
  81. package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.d.ts +21 -22
  82. package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.ts +21 -22
  83. package/{js/metalstack → metalstack}/api/v2/size_pb.d.ts +29 -29
  84. package/{js/metalstack → metalstack}/api/v2/size_pb.js +6 -6
  85. package/{js/metalstack → metalstack}/api/v2/size_pb.ts +29 -29
  86. package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.d.ts +27 -27
  87. package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.ts +27 -27
  88. package/{js/metalstack → metalstack}/api/v2/switch_pb.d.ts +8 -8
  89. package/{js/metalstack → metalstack}/api/v2/switch_pb.js +1 -1
  90. package/{js/metalstack → metalstack}/api/v2/switch_pb.ts +9 -9
  91. package/{js/metalstack → metalstack}/api/v2/tenant_pb.d.ts +114 -116
  92. package/{js/metalstack → metalstack}/api/v2/tenant_pb.ts +114 -116
  93. package/{js/metalstack → metalstack}/api/v2/token_pb.d.ts +103 -103
  94. package/{js/metalstack → metalstack}/api/v2/token_pb.js +3 -3
  95. package/{js/metalstack → metalstack}/api/v2/token_pb.ts +103 -103
  96. package/{js/metalstack → metalstack}/api/v2/user_pb.d.ts +8 -8
  97. package/{js/metalstack → metalstack}/api/v2/user_pb.ts +8 -8
  98. package/{js/metalstack → metalstack}/api/v2/version_pb.d.ts +5 -5
  99. package/{js/metalstack → metalstack}/api/v2/version_pb.ts +5 -5
  100. package/{js/metalstack → metalstack}/api/v2/vpn_pb.d.ts +6 -6
  101. package/{js/metalstack → metalstack}/api/v2/vpn_pb.ts +6 -6
  102. package/{js/metalstack → metalstack}/infra/v2/bmc_pb.d.ts +15 -17
  103. package/{js/metalstack → metalstack}/infra/v2/bmc_pb.js +1 -1
  104. package/{js/metalstack → metalstack}/infra/v2/bmc_pb.ts +16 -16
  105. package/{js/metalstack → metalstack}/infra/v2/boot_pb.d.ts +36 -36
  106. package/{js/metalstack → metalstack}/infra/v2/boot_pb.ts +36 -36
  107. package/{js/metalstack → metalstack}/infra/v2/component_pb.d.ts +5 -5
  108. package/{js/metalstack → metalstack}/infra/v2/component_pb.ts +5 -5
  109. package/{js/metalstack → metalstack}/infra/v2/event_pb.d.ts +3 -3
  110. package/{js/metalstack → metalstack}/infra/v2/event_pb.ts +3 -3
  111. package/{js/metalstack → metalstack}/infra/v2/switch_pb.d.ts +12 -12
  112. package/{js/metalstack → metalstack}/infra/v2/switch_pb.ts +12 -12
  113. package/package.json +4 -3
  114. package/test-interceptor.d.ts +9 -0
  115. package/test-interceptor.js +33 -0
  116. package/test-interceptor.ts +49 -0
  117. package/tsconfig.json +14 -0
  118. package/LICENSE +0 -21
  119. package/README.md +0 -117
  120. package/js/tsconfig.json +0 -70
  121. /package/{js/buf → buf}/validate/validate_pb.d.ts +0 -0
  122. /package/{js/buf → buf}/validate/validate_pb.js +0 -0
  123. /package/{js/buf → buf}/validate/validate_pb.ts +0 -0
  124. /package/{js/metalstack → metalstack}/admin/v2/audit_pb.js +0 -0
  125. /package/{js/metalstack → metalstack}/admin/v2/component_pb.js +0 -0
  126. /package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.js +0 -0
  127. /package/{js/metalstack → metalstack}/admin/v2/image_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
@@ -19,12 +19,12 @@ export const file_metalstack_api_v2_token: GenFile = /*@__PURE__*/
19
19
  fileDesc("Ch1tZXRhbHN0YWNrL2FwaS92Mi90b2tlbi5wcm90bxIRbWV0YWxzdGFjay5hcGkudjIilQgKBVRva2VuEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhkKBHVzZXIYAiABKAlCC7pICHIG+LOusQIBEiUKBG1ldGEYAyABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEiAKC2Rlc2NyaXB0aW9uGAQgASgJQgu6SAhyBsizrrECARJDCgtwZXJtaXNzaW9ucxgFIAMoCzIjLm1ldGFsc3RhY2suYXBpLnYyLk1ldGhvZFBlcm1pc3Npb25CCbpIBpIBAxD0AxIrCgdleHBpcmVzGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBItCglpc3N1ZWRfYXQYByABKAsyGi5nb29nbGUucH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ldGFsc3RhY2suYXBpLnYyLlRva2VuU2VydmljZUNyZWF0ZVJlcXVlc3QaLS5tZXRhbHN0YWNrLmFwaS52Mi5Ub2tlblNlcnZpY2VDcmVhdGVSZXNwb25zZSII2PMYAuDzGAESbwoGVXBkYXRlEiwubWV0YWxzdGFjay5hcGkudjIuVG9rZW5TZXJ2aWNlVXBkYXRlUmVxdWVzdBotLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuU2VydmljZVVwZGF0ZVJlc3BvbnNlIgjY8xgC4PMYARJpCgRMaXN0EioubWV0YWxzdGFjay5hcGkudjIuVG9rZW5TZXJ2aWNlTGlzdFJlcXVlc3QaKy5tZXRhbHN0YWNrLmFwaS52Mi5Ub2tlblNlcnZpY2VMaXN0UmVzcG9uc2UiCNjzGALg8xgBEm8KBlJldm9rZRIsLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuU2VydmljZVJldm9rZVJlcXVlc3QaLS5tZXRhbHN0YWNrLmFwaS52Mi5Ub2tlblNlcnZpY2VSZXZva2VSZXNwb25zZSII2PMYAuDzGAEScgoHUmVmcmVzaBItLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuU2VydmljZVJlZnJlc2hSZXF1ZXN0Gi4ubWV0YWxzdGFjay5hcGkudjIuVG9rZW5TZXJ2aWNlUmVmcmVzaFJlc3BvbnNlIgjY8xgC4PMYAULAAQoVY29tLm1ldGFsc3RhY2suYXBpLnYyQgpUb2tlblByb3RvUAFaNWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYXBpL3YyO2FwaXYyogIDTUFYqgIRTWV0YWxzdGFjay5BcGkuVjLKAhFNZXRhbHN0YWNrXEFwaVxWMuICHU1ldGFsc3RhY2tcQXBpXFYyXEdQQk1ldGFkYXRh6gITTWV0YWxzdGFjazo6QXBpOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_duration, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
20
20
 
21
21
  /**
22
- * Token generates a jwt authentication token to access the api
22
+ * Token generates a jwt authentication token to access the api.
23
23
  *
24
- * There are two different types of tokens, api- and user- tokens
24
+ * There are two different types of tokens, api- and user- tokens.
25
25
  *
26
26
  * A user token is used to authenticate end user requests for example from a cli.
27
- * The configured roles in a user token are expanded in the api server
27
+ * The configured roles in a user token are expanded in the api server.
28
28
  * based on the memberships in other projects and tenants based on the role granted there.
29
29
  * User tokens will never contain permissions.
30
30
  * Permissions are always derived from the tenant and project roles and memberships.
@@ -32,27 +32,27 @@ export const file_metalstack_api_v2_token: GenFile = /*@__PURE__*/
32
32
  * The api token should be used to authenticate services.
33
33
  * In contrast to a user token, the api token permissions and roles apply as configured during the token create process.
34
34
  *
35
- * Message level validation, can be developed using https://protovalidate.com/playground
35
+ * Message level validation, can be developed using https://protovalidate.com/playground.
36
36
  *
37
37
  * @generated from message metalstack.api.v2.Token
38
38
  */
39
39
  export type Token = Message<"metalstack.api.v2.Token"> & {
40
40
  /**
41
- * Uuid of the jwt token, used to reference it by revoke
41
+ * Uuid of the jwt token, used to reference it by revoke.
42
42
  *
43
43
  * @generated from field: string uuid = 1;
44
44
  */
45
45
  uuid: string;
46
46
 
47
47
  /**
48
- * User who created this token
48
+ * User who created this token.
49
49
  *
50
50
  * @generated from field: string user = 2;
51
51
  */
52
52
  user: string;
53
53
 
54
54
  /**
55
- * Meta for this token
55
+ * Meta for this token.
56
56
  *
57
57
  * @generated from field: metalstack.api.v2.Meta meta = 3;
58
58
  */
@@ -66,64 +66,64 @@ export type Token = Message<"metalstack.api.v2.Token"> & {
66
66
  description: string;
67
67
 
68
68
  /**
69
- * Permissions is a list of service methods this token can be used for
69
+ * Permissions is a list of service methods this token can be used for.
70
70
  *
71
71
  * @generated from field: repeated metalstack.api.v2.MethodPermission permissions = 5;
72
72
  */
73
73
  permissions: MethodPermission[];
74
74
 
75
75
  /**
76
- * Expires gives the date in the future after which this token can not be used anymore
76
+ * Expires gives the date in the future after which this token can not be used anymore.
77
77
  *
78
78
  * @generated from field: google.protobuf.Timestamp expires = 6;
79
79
  */
80
80
  expires?: Timestamp | undefined;
81
81
 
82
82
  /**
83
- * IssuedAt gives the date when this token was created
83
+ * IssuedAt gives the date when this token was created.
84
84
  *
85
85
  * @generated from field: google.protobuf.Timestamp issued_at = 7;
86
86
  */
87
87
  issuedAt?: Timestamp | undefined;
88
88
 
89
89
  /**
90
- * TokenType describes the type of this token
90
+ * TokenType describes the type of this token.
91
91
  *
92
92
  * @generated from field: metalstack.api.v2.TokenType token_type = 8;
93
93
  */
94
94
  tokenType: TokenType;
95
95
 
96
96
  /**
97
- * ProjectRoles associates a project id with the corresponding role of the token owner
97
+ * ProjectRoles associates a project id with the corresponding role of the token owner.
98
98
  *
99
99
  * @generated from field: map<string, metalstack.api.v2.ProjectRole> project_roles = 9;
100
100
  */
101
101
  projectRoles: { [key: string]: ProjectRole };
102
102
 
103
103
  /**
104
- * TenantRoles associates a tenant id with the corresponding role of the token owner
104
+ * TenantRoles associates a tenant id with the corresponding role of the token owner.
105
105
  *
106
106
  * @generated from field: map<string, metalstack.api.v2.TenantRole> tenant_roles = 10;
107
107
  */
108
108
  tenantRoles: { [key: string]: TenantRole };
109
109
 
110
110
  /**
111
- * AdminRole defines the admin role of the token owner
111
+ * AdminRole defines the admin role of the token owner.
112
112
  *
113
113
  * @generated from field: optional metalstack.api.v2.AdminRole admin_role = 11;
114
114
  */
115
115
  adminRole?: AdminRole | undefined;
116
116
 
117
117
  /**
118
- * InfraRole defines the infrastructure role of the token owner
118
+ * InfraRole defines the infrastructure role of the token owner.
119
119
  *
120
120
  * @generated from field: optional metalstack.api.v2.InfraRole infra_role = 12;
121
121
  */
122
122
  infraRole?: InfraRole | undefined;
123
123
 
124
124
  /**
125
- * MachineRoles associates a machine uuid with the corresponding role of the token owner
126
- * TODO: decide if we need this map from machine.uuid->role, we could instead use the subject in the token instead
125
+ * MachineRoles associates a machine uuid with the corresponding role of the token owner.
126
+ * TODO: decide if we need this map from machine.uuid->role, we could instead use the subject in the token instead.
127
127
  *
128
128
  * @generated from field: map<string, metalstack.api.v2.MachineRole> machine_roles = 13;
129
129
  */
@@ -138,69 +138,69 @@ export const TokenSchema: GenMessage<Token> = /*@__PURE__*/
138
138
  messageDesc(file_metalstack_api_v2_token, 0);
139
139
 
140
140
  /**
141
- * TokenServiceCreateRequest is the request payload to create a token
141
+ * TokenServiceCreateRequest is the request payload to create a token.
142
142
  *
143
143
  * @generated from message metalstack.api.v2.TokenServiceCreateRequest
144
144
  */
145
145
  export type TokenServiceCreateRequest = Message<"metalstack.api.v2.TokenServiceCreateRequest"> & {
146
146
  /**
147
- * Description of the token
147
+ * Description of the token.
148
148
  *
149
149
  * @generated from field: string description = 1;
150
150
  */
151
151
  description: string;
152
152
 
153
153
  /**
154
- * Permissions is a list of service methods this token can be used for
154
+ * Permissions is a list of service methods this token can be used for.
155
155
  *
156
156
  * @generated from field: repeated metalstack.api.v2.PermissionsByVisibility permissions = 2;
157
157
  */
158
158
  permissions: PermissionsByVisibility[];
159
159
 
160
160
  /**
161
- * Expires gives the duration since now, after which this token can not be used anymore
161
+ * Expires gives the duration since now, after which this token can not be used anymore.
162
162
  *
163
163
  * @generated from field: google.protobuf.Duration expires = 3;
164
164
  */
165
165
  expires?: Duration | undefined;
166
166
 
167
167
  /**
168
- * ProjectRoles associates a project id with the corresponding role of the token owner
168
+ * ProjectRoles associates a project id with the corresponding role of the token owner.
169
169
  *
170
170
  * @generated from field: map<string, metalstack.api.v2.ProjectRole> project_roles = 4;
171
171
  */
172
172
  projectRoles: { [key: string]: ProjectRole };
173
173
 
174
174
  /**
175
- * TenantRoles associates a tenant id with the corresponding role of the token owner
175
+ * TenantRoles associates a tenant id with the corresponding role of the token owner.
176
176
  *
177
177
  * @generated from field: map<string, metalstack.api.v2.TenantRole> tenant_roles = 5;
178
178
  */
179
179
  tenantRoles: { [key: string]: TenantRole };
180
180
 
181
181
  /**
182
- * AdminRole defines the admin role of the token owner
182
+ * AdminRole defines the admin role of the token owner.
183
183
  *
184
184
  * @generated from field: optional metalstack.api.v2.AdminRole admin_role = 6;
185
185
  */
186
186
  adminRole?: AdminRole | undefined;
187
187
 
188
188
  /**
189
- * InfraRole defines the infrastructure role of the token owner
189
+ * InfraRole defines the infrastructure role of the token owner.
190
190
  *
191
191
  * @generated from field: optional metalstack.api.v2.InfraRole infra_role = 7;
192
192
  */
193
193
  infraRole?: InfraRole | undefined;
194
194
 
195
195
  /**
196
- * MachineRoles associates a machine uuid with the corresponding role of the token owner
196
+ * MachineRoles associates a machine uuid with the corresponding role of the token owner.
197
197
  *
198
198
  * @generated from field: map<string, metalstack.api.v2.MachineRole> machine_roles = 8;
199
199
  */
200
200
  machineRoles: { [key: string]: MachineRole };
201
201
 
202
202
  /**
203
- * Labels on this token
203
+ * Labels on this token.
204
204
  *
205
205
  * @generated from field: metalstack.api.v2.Labels labels = 9;
206
206
  */
@@ -215,25 +215,24 @@ export const TokenServiceCreateRequestSchema: GenMessage<TokenServiceCreateReque
215
215
  messageDesc(file_metalstack_api_v2_token, 1);
216
216
 
217
217
  /**
218
- * MethodPermission is a mapping from a subject/project to a service method
218
+ * MethodPermission is a mapping from a subject/project to a service method.
219
219
  *
220
220
  * @generated from message metalstack.api.v2.MethodPermission
221
221
  */
222
222
  export type MethodPermission = Message<"metalstack.api.v2.MethodPermission"> & {
223
223
  /**
224
- * Subject maybe either the project or the tenant
225
- * for which the methods should be allowed
224
+ * Subject may be either the project or the tenant for which the methods should be allowed.
226
225
  *
227
- * asterisk (*) can be specified to match any subject
228
- * empty string ("") can be specified for requests that do not require a subject, e.g. partition list
229
- * otherwise either a projectid or a tenant login should be specified
226
+ * Asterisk (*) can be specified to match any subject.
227
+ * Empty string ("") can be specified for requests that do not require a subject, e.g. partition list.
228
+ * Otherwise either a projectid or a tenant login should be specified.
230
229
  *
231
230
  * @generated from field: string subject = 1;
232
231
  */
233
232
  subject: string;
234
233
 
235
234
  /**
236
- * Methods which should be accessible
235
+ * Methods which should be accessible.
237
236
  *
238
237
  * @generated from field: repeated string methods = 2;
239
238
  */
@@ -248,19 +247,19 @@ export const MethodPermissionSchema: GenMessage<MethodPermission> = /*@__PURE__*
248
247
  messageDesc(file_metalstack_api_v2_token, 2);
249
248
 
250
249
  /**
251
- * PermissionsByVisibility contains method permissions by visibility
250
+ * PermissionsByVisibility contains method permissions by visibility.
252
251
  *
253
252
  * @generated from message metalstack.api.v2.PermissionsByVisibility
254
253
  */
255
254
  export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVisibility"> & {
256
255
  /**
257
- * Visibility defines the visibility of the requested method permissions
256
+ * Visibility defines the visibility of the requested method permissions.
258
257
  *
259
258
  * @generated from oneof metalstack.api.v2.PermissionsByVisibility.visibility
260
259
  */
261
260
  visibility: {
262
261
  /**
263
- * PublicPermissions carries public method permissions
262
+ * PublicPermissions carries public method permissions.
264
263
  *
265
264
  * @generated from field: metalstack.api.v2.PublicPermissions public = 1;
266
265
  */
@@ -268,7 +267,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi
268
267
  case: "public";
269
268
  } | {
270
269
  /**
271
- * SelfPermissions carries self method permissions
270
+ * SelfPermissions carries self method permissions.
272
271
  *
273
272
  * @generated from field: metalstack.api.v2.SelfPermissions self = 2;
274
273
  */
@@ -276,7 +275,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi
276
275
  case: "self";
277
276
  } | {
278
277
  /**
279
- * ProjectPermissions carries project method permissions
278
+ * ProjectPermissions carries project method permissions.
280
279
  *
281
280
  * @generated from field: metalstack.api.v2.ProjectPermissions project = 3;
282
281
  */
@@ -284,7 +283,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi
284
283
  case: "project";
285
284
  } | {
286
285
  /**
287
- * TenantPermissions carries tenant method permissions
286
+ * TenantPermissions carries tenant method permissions.
288
287
  *
289
288
  * @generated from field: metalstack.api.v2.TenantPermissions tenant = 4;
290
289
  */
@@ -292,7 +291,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi
292
291
  case: "tenant";
293
292
  } | {
294
293
  /**
295
- * AdminPermissions carries admin method permissions
294
+ * AdminPermissions carries admin method permissions.
296
295
  *
297
296
  * @generated from field: metalstack.api.v2.AdminPermissions admin = 5;
298
297
  */
@@ -300,7 +299,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi
300
299
  case: "admin";
301
300
  } | {
302
301
  /**
303
- * MachinePermissions carries machine method permissions
302
+ * MachinePermissions carries machine method permissions.
304
303
  *
305
304
  * @generated from field: metalstack.api.v2.MachinePermissions machine = 6;
306
305
  */
@@ -308,7 +307,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi
308
307
  case: "machine";
309
308
  } | {
310
309
  /**
311
- * InfraPermissions carries infra method permissions
310
+ * InfraPermissions carries infra method permissions.
312
311
  *
313
312
  * @generated from field: metalstack.api.v2.InfraPermissions infra = 7;
314
313
  */
@@ -325,13 +324,13 @@ export const PermissionsByVisibilitySchema: GenMessage<PermissionsByVisibility>
325
324
  messageDesc(file_metalstack_api_v2_token, 3);
326
325
 
327
326
  /**
328
- * PublicPermissions carries public method permissions
327
+ * PublicPermissions carries public method permissions.
329
328
  *
330
329
  * @generated from message metalstack.api.v2.PublicPermissions
331
330
  */
332
331
  export type PublicPermissions = Message<"metalstack.api.v2.PublicPermissions"> & {
333
332
  /**
334
- * Methods which should be accessible
333
+ * Methods which should be accessible.
335
334
  *
336
335
  * @generated from field: repeated string methods = 2;
337
336
  */
@@ -346,13 +345,13 @@ export const PublicPermissionsSchema: GenMessage<PublicPermissions> = /*@__PURE_
346
345
  messageDesc(file_metalstack_api_v2_token, 4);
347
346
 
348
347
  /**
349
- * SelfPermissions carries self method permissions
348
+ * SelfPermissions carries self method permissions.
350
349
  *
351
350
  * @generated from message metalstack.api.v2.SelfPermissions
352
351
  */
353
352
  export type SelfPermissions = Message<"metalstack.api.v2.SelfPermissions"> & {
354
353
  /**
355
- * Methods which should be accessible
354
+ * Methods which should be accessible.
356
355
  *
357
356
  * @generated from field: repeated string methods = 2;
358
357
  */
@@ -367,20 +366,21 @@ export const SelfPermissionsSchema: GenMessage<SelfPermissions> = /*@__PURE__*/
367
366
  messageDesc(file_metalstack_api_v2_token, 5);
368
367
 
369
368
  /**
370
- * ProjectPermissions carries project method permissions
369
+ * ProjectPermissions carries project method permissions.
371
370
  *
372
371
  * @generated from message metalstack.api.v2.ProjectPermissions
373
372
  */
374
373
  export type ProjectPermissions = Message<"metalstack.api.v2.ProjectPermissions"> & {
375
374
  /**
376
- * asterisk (*) can be specified to match any subject
375
+ * Project scope for the permissions.
376
+ * Asterisk (*) can be specified to match any subject.
377
377
  *
378
378
  * @generated from field: string project = 1;
379
379
  */
380
380
  project: string;
381
381
 
382
382
  /**
383
- * Methods which should be accessible
383
+ * Methods which should be accessible.
384
384
  *
385
385
  * @generated from field: repeated string methods = 2;
386
386
  */
@@ -395,21 +395,21 @@ export const ProjectPermissionsSchema: GenMessage<ProjectPermissions> = /*@__PUR
395
395
  messageDesc(file_metalstack_api_v2_token, 6);
396
396
 
397
397
  /**
398
- * TenantPermissions carries tenant method permissions
398
+ * TenantPermissions carries tenant method permissions.
399
399
  *
400
400
  * @generated from message metalstack.api.v2.TenantPermissions
401
401
  */
402
402
  export type TenantPermissions = Message<"metalstack.api.v2.TenantPermissions"> & {
403
403
  /**
404
- * Login of the tenant
405
- * asterisk (*) can be specified to match any subject
404
+ * Login of the tenant.
405
+ * Asterisk (*) can be specified to match any subject.
406
406
  *
407
407
  * @generated from field: string login = 1;
408
408
  */
409
409
  login: string;
410
410
 
411
411
  /**
412
- * Methods which should be accessible
412
+ * Methods which should be accessible.
413
413
  *
414
414
  * @generated from field: repeated string methods = 2;
415
415
  */
@@ -424,13 +424,13 @@ export const TenantPermissionsSchema: GenMessage<TenantPermissions> = /*@__PURE_
424
424
  messageDesc(file_metalstack_api_v2_token, 7);
425
425
 
426
426
  /**
427
- * AdminPermissions carries admin method permissions
427
+ * AdminPermissions carries admin method permissions.
428
428
  *
429
429
  * @generated from message metalstack.api.v2.AdminPermissions
430
430
  */
431
431
  export type AdminPermissions = Message<"metalstack.api.v2.AdminPermissions"> & {
432
432
  /**
433
- * Methods which should be accessible
433
+ * Methods which should be accessible.
434
434
  *
435
435
  * @generated from field: repeated string methods = 2;
436
436
  */
@@ -445,21 +445,21 @@ export const AdminPermissionsSchema: GenMessage<AdminPermissions> = /*@__PURE__*
445
445
  messageDesc(file_metalstack_api_v2_token, 8);
446
446
 
447
447
  /**
448
- * MachinePermissions carries machine method permissions
448
+ * MachinePermissions carries machine method permissions.
449
449
  *
450
450
  * @generated from message metalstack.api.v2.MachinePermissions
451
451
  */
452
452
  export type MachinePermissions = Message<"metalstack.api.v2.MachinePermissions"> & {
453
453
  /**
454
- * UUID of this machine
455
- * asterisk (*) can be specified to match any subject
454
+ * UUID of this machine.
455
+ * Asterisk (*) can be specified to match any subject.
456
456
  *
457
457
  * @generated from field: string uuid = 1;
458
458
  */
459
459
  uuid: string;
460
460
 
461
461
  /**
462
- * Methods which should be accessible
462
+ * Methods which should be accessible.
463
463
  *
464
464
  * @generated from field: repeated string methods = 2;
465
465
  */
@@ -474,13 +474,13 @@ export const MachinePermissionsSchema: GenMessage<MachinePermissions> = /*@__PUR
474
474
  messageDesc(file_metalstack_api_v2_token, 9);
475
475
 
476
476
  /**
477
- * InfraPermissions carries infra method permissions
477
+ * InfraPermissions carries infra method permissions.
478
478
  *
479
479
  * @generated from message metalstack.api.v2.InfraPermissions
480
480
  */
481
481
  export type InfraPermissions = Message<"metalstack.api.v2.InfraPermissions"> & {
482
482
  /**
483
- * Methods which should be accessible
483
+ * Methods which should be accessible.
484
484
  *
485
485
  * @generated from field: repeated string methods = 2;
486
486
  */
@@ -495,20 +495,20 @@ export const InfraPermissionsSchema: GenMessage<InfraPermissions> = /*@__PURE__*
495
495
  messageDesc(file_metalstack_api_v2_token, 10);
496
496
 
497
497
  /**
498
- * TokenServiceCreateResponse is the response payload of a token create request
498
+ * TokenServiceCreateResponse is the response payload of a token create request.
499
499
  *
500
500
  * @generated from message metalstack.api.v2.TokenServiceCreateResponse
501
501
  */
502
502
  export type TokenServiceCreateResponse = Message<"metalstack.api.v2.TokenServiceCreateResponse"> & {
503
503
  /**
504
- * Token which was created
504
+ * Token which was created.
505
505
  *
506
506
  * @generated from field: metalstack.api.v2.Token token = 1;
507
507
  */
508
508
  token?: Token | undefined;
509
509
 
510
510
  /**
511
- * Secret is the body of the JWT token, should be used in API requests as bearer token
511
+ * Secret is the body of the JWT token, should be used in API requests as bearer token.
512
512
  *
513
513
  * @generated from field: string secret = 2;
514
514
  */
@@ -523,13 +523,13 @@ export const TokenServiceCreateResponseSchema: GenMessage<TokenServiceCreateResp
523
523
  messageDesc(file_metalstack_api_v2_token, 11);
524
524
 
525
525
  /**
526
- * TokenServiceListRequest is the request payload to list tokens
526
+ * TokenServiceListRequest is the request payload to list tokens.
527
527
  *
528
528
  * @generated from message metalstack.api.v2.TokenServiceListRequest
529
529
  */
530
530
  export type TokenServiceListRequest = Message<"metalstack.api.v2.TokenServiceListRequest"> & {
531
531
  /**
532
- * Query for tokens
532
+ * Query for tokens.
533
533
  *
534
534
  * @generated from field: metalstack.api.v2.TokenQuery query = 1;
535
535
  */
@@ -544,13 +544,13 @@ export const TokenServiceListRequestSchema: GenMessage<TokenServiceListRequest>
544
544
  messageDesc(file_metalstack_api_v2_token, 12);
545
545
 
546
546
  /**
547
- * TokenServiceListResponse is the response payload of a token list request
547
+ * TokenServiceListResponse is the response payload of a token list request.
548
548
  *
549
549
  * @generated from message metalstack.api.v2.TokenServiceListResponse
550
550
  */
551
551
  export type TokenServiceListResponse = Message<"metalstack.api.v2.TokenServiceListResponse"> & {
552
552
  /**
553
- * Tokens is a list of tokens without the secrets
553
+ * Tokens is a list of tokens without the secrets.
554
554
  *
555
555
  * @generated from field: repeated metalstack.api.v2.Token tokens = 1;
556
556
  */
@@ -565,13 +565,13 @@ export const TokenServiceListResponseSchema: GenMessage<TokenServiceListResponse
565
565
  messageDesc(file_metalstack_api_v2_token, 13);
566
566
 
567
567
  /**
568
- * TokenServiceRevokeRequest is the request payload of a token revoke request
568
+ * TokenServiceRevokeRequest is the request payload of a token revoke request.
569
569
  *
570
570
  * @generated from message metalstack.api.v2.TokenServiceRevokeRequest
571
571
  */
572
572
  export type TokenServiceRevokeRequest = Message<"metalstack.api.v2.TokenServiceRevokeRequest"> & {
573
573
  /**
574
- * Uuid of the token to revoke
574
+ * Uuid of the token to revoke.
575
575
  *
576
576
  * @generated from field: string uuid = 1;
577
577
  */
@@ -586,7 +586,7 @@ export const TokenServiceRevokeRequestSchema: GenMessage<TokenServiceRevokeReque
586
586
  messageDesc(file_metalstack_api_v2_token, 14);
587
587
 
588
588
  /**
589
- * TokenServiceRevokeResponse is the response payload of a token revoke request
589
+ * TokenServiceRevokeResponse is the response payload of a token revoke request.
590
590
  *
591
591
  * @generated from message metalstack.api.v2.TokenServiceRevokeResponse
592
592
  */
@@ -601,21 +601,21 @@ export const TokenServiceRevokeResponseSchema: GenMessage<TokenServiceRevokeResp
601
601
  messageDesc(file_metalstack_api_v2_token, 15);
602
602
 
603
603
  /**
604
- * TokenServiceUpdateRequest is the request payload of a token update request
604
+ * TokenServiceUpdateRequest is the request payload of a token update request.
605
605
  *
606
606
  * @generated from message metalstack.api.v2.TokenServiceUpdateRequest
607
607
  */
608
608
  export type TokenServiceUpdateRequest = Message<"metalstack.api.v2.TokenServiceUpdateRequest"> & {
609
609
  /**
610
- * Uuid of the token to update
610
+ * Uuid of the token to update.
611
611
  *
612
612
  * @generated from field: string uuid = 1;
613
613
  */
614
614
  uuid: string;
615
615
 
616
616
  /**
617
- * UpdateMeta contains the timestamp and strategy to be used in this update request
618
- * TokenUpdate is not guarded with optlock in the backend
617
+ * UpdateMeta contains the timestamp and strategy to be used in this update request.
618
+ * TokenUpdate is not guarded with optlock in the backend.
619
619
  *
620
620
  * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
621
621
  */
@@ -629,49 +629,49 @@ export type TokenServiceUpdateRequest = Message<"metalstack.api.v2.TokenServiceU
629
629
  description?: string | undefined;
630
630
 
631
631
  /**
632
- * Permissions is a list of service methods this token can be used for
632
+ * Permissions is a list of service methods this token can be used for.
633
633
  *
634
634
  * @generated from field: repeated metalstack.api.v2.PermissionsByVisibility permissions = 4;
635
635
  */
636
636
  permissions: PermissionsByVisibility[];
637
637
 
638
638
  /**
639
- * ProjectRoles associates a project id with the corresponding role of the token owner
639
+ * ProjectRoles associates a project id with the corresponding role of the token owner.
640
640
  *
641
641
  * @generated from field: map<string, metalstack.api.v2.ProjectRole> project_roles = 5;
642
642
  */
643
643
  projectRoles: { [key: string]: ProjectRole };
644
644
 
645
645
  /**
646
- * TenantRoles associates a tenant id with the corresponding role of the token owner
646
+ * TenantRoles associates a tenant id with the corresponding role of the token owner.
647
647
  *
648
648
  * @generated from field: map<string, metalstack.api.v2.TenantRole> tenant_roles = 6;
649
649
  */
650
650
  tenantRoles: { [key: string]: TenantRole };
651
651
 
652
652
  /**
653
- * AdminRole defines the admin role of the token owner
653
+ * AdminRole defines the admin role of the token owner.
654
654
  *
655
655
  * @generated from field: optional metalstack.api.v2.AdminRole admin_role = 7;
656
656
  */
657
657
  adminRole?: AdminRole | undefined;
658
658
 
659
659
  /**
660
- * InfraRole defines the infrastructure role of the token owner
660
+ * InfraRole defines the infrastructure role of the token owner.
661
661
  *
662
662
  * @generated from field: optional metalstack.api.v2.InfraRole infra_role = 8;
663
663
  */
664
664
  infraRole?: InfraRole | undefined;
665
665
 
666
666
  /**
667
- * MachineRoles associates a machine uuid with the corresponding role of the token owner
667
+ * MachineRoles associates a machine uuid with the corresponding role of the token owner.
668
668
  *
669
669
  * @generated from field: map<string, metalstack.api.v2.MachineRole> machine_roles = 9;
670
670
  */
671
671
  machineRoles: { [key: string]: MachineRole };
672
672
 
673
673
  /**
674
- * Labels on this token
674
+ * Labels on this token.
675
675
  *
676
676
  * @generated from field: metalstack.api.v2.UpdateLabels labels = 10;
677
677
  */
@@ -686,13 +686,13 @@ export const TokenServiceUpdateRequestSchema: GenMessage<TokenServiceUpdateReque
686
686
  messageDesc(file_metalstack_api_v2_token, 16);
687
687
 
688
688
  /**
689
- * TokenServiceUpdateResponse is the response payload of a token update request
689
+ * TokenServiceUpdateResponse is the response payload of a token update request.
690
690
  *
691
691
  * @generated from message metalstack.api.v2.TokenServiceUpdateResponse
692
692
  */
693
693
  export type TokenServiceUpdateResponse = Message<"metalstack.api.v2.TokenServiceUpdateResponse"> & {
694
694
  /**
695
- * Token is the updated token
695
+ * Token is the updated token.
696
696
  *
697
697
  * @generated from field: metalstack.api.v2.Token token = 1;
698
698
  */
@@ -707,13 +707,13 @@ export const TokenServiceUpdateResponseSchema: GenMessage<TokenServiceUpdateResp
707
707
  messageDesc(file_metalstack_api_v2_token, 17);
708
708
 
709
709
  /**
710
- * TokenServiceGetRequest is the request payload of a token get request
710
+ * TokenServiceGetRequest is the request payload of a token get request.
711
711
  *
712
712
  * @generated from message metalstack.api.v2.TokenServiceGetRequest
713
713
  */
714
714
  export type TokenServiceGetRequest = Message<"metalstack.api.v2.TokenServiceGetRequest"> & {
715
715
  /**
716
- * Uuid of the token to get
716
+ * Uuid of the token to get.
717
717
  *
718
718
  * @generated from field: string uuid = 1;
719
719
  */
@@ -728,13 +728,13 @@ export const TokenServiceGetRequestSchema: GenMessage<TokenServiceGetRequest> =
728
728
  messageDesc(file_metalstack_api_v2_token, 18);
729
729
 
730
730
  /**
731
- * TokenServiceGetResponse is the response payload of a token get request
731
+ * TokenServiceGetResponse is the response payload of a token get request.
732
732
  *
733
733
  * @generated from message metalstack.api.v2.TokenServiceGetResponse
734
734
  */
735
735
  export type TokenServiceGetResponse = Message<"metalstack.api.v2.TokenServiceGetResponse"> & {
736
736
  /**
737
- * Token is the token
737
+ * Token is the token.
738
738
  *
739
739
  * @generated from field: metalstack.api.v2.Token token = 1;
740
740
  */
@@ -749,9 +749,9 @@ export const TokenServiceGetResponseSchema: GenMessage<TokenServiceGetResponse>
749
749
  messageDesc(file_metalstack_api_v2_token, 19);
750
750
 
751
751
  /**
752
- * TokenServiceRefreshRequest is the request payload of a token refresh request
752
+ * TokenServiceRefreshRequest is the request payload of a token refresh request.
753
753
  * Permissions, Roles and Expiration duration and all other properties are inherited from the calling token.
754
- * The expiration duration will be calculated from the existing token (exp - iat)
754
+ * The expiration duration will be calculated from the existing token (exp - iat).
755
755
  *
756
756
  * @generated from message metalstack.api.v2.TokenServiceRefreshRequest
757
757
  */
@@ -766,20 +766,20 @@ export const TokenServiceRefreshRequestSchema: GenMessage<TokenServiceRefreshReq
766
766
  messageDesc(file_metalstack_api_v2_token, 20);
767
767
 
768
768
  /**
769
- * TokenServiceRefreshResponse is the response payload of a token refresh request
769
+ * TokenServiceRefreshResponse is the response payload of a token refresh request.
770
770
  *
771
771
  * @generated from message metalstack.api.v2.TokenServiceRefreshResponse
772
772
  */
773
773
  export type TokenServiceRefreshResponse = Message<"metalstack.api.v2.TokenServiceRefreshResponse"> & {
774
774
  /**
775
- * Token which was refreshed
775
+ * Token which was refreshed.
776
776
  *
777
777
  * @generated from field: metalstack.api.v2.Token token = 1;
778
778
  */
779
779
  token?: Token | undefined;
780
780
 
781
781
  /**
782
- * Secret is the body of the JWT token, should be used in API requests as bearer token
782
+ * Secret is the body of the JWT token, should be used in API requests as bearer token.
783
783
  *
784
784
  * @generated from field: string secret = 2;
785
785
  */
@@ -794,20 +794,20 @@ export const TokenServiceRefreshResponseSchema: GenMessage<TokenServiceRefreshRe
794
794
  messageDesc(file_metalstack_api_v2_token, 21);
795
795
 
796
796
  /**
797
- * TokenQuery is used to search tokens
797
+ * TokenQuery is used to search tokens.
798
798
  *
799
799
  * @generated from message metalstack.api.v2.TokenQuery
800
800
  */
801
801
  export type TokenQuery = Message<"metalstack.api.v2.TokenQuery"> & {
802
802
  /**
803
- * UUID of the token to get
803
+ * UUID of the token to get.
804
804
  *
805
805
  * @generated from field: optional string uuid = 1;
806
806
  */
807
807
  uuid?: string | undefined;
808
808
 
809
809
  /**
810
- * Name of the token user to query
810
+ * Name of the token user to query.
811
811
  * Only useful for admins.
812
812
  *
813
813
  * @generated from field: optional string user = 2;
@@ -815,21 +815,21 @@ export type TokenQuery = Message<"metalstack.api.v2.TokenQuery"> & {
815
815
  user?: string | undefined;
816
816
 
817
817
  /**
818
- * Description of the token to query
818
+ * Description of the token to query.
819
819
  *
820
820
  * @generated from field: optional string description = 3;
821
821
  */
822
822
  description?: string | undefined;
823
823
 
824
824
  /**
825
- * Labels lists only tokens containing the given labels
825
+ * Labels lists only tokens containing the given labels.
826
826
  *
827
827
  * @generated from field: optional metalstack.api.v2.Labels labels = 4;
828
828
  */
829
829
  labels?: Labels | undefined;
830
830
 
831
831
  /**
832
- * Token type of the token to query
832
+ * Token type of the token to query.
833
833
  *
834
834
  * @generated from field: optional metalstack.api.v2.TokenType token_type = 5;
835
835
  */
@@ -844,20 +844,20 @@ export const TokenQuerySchema: GenMessage<TokenQuery> = /*@__PURE__*/
844
844
  messageDesc(file_metalstack_api_v2_token, 22);
845
845
 
846
846
  /**
847
- * TokenType specifies different use cases of tokens
847
+ * TokenType specifies different use cases of tokens.
848
848
  *
849
849
  * @generated from enum metalstack.api.v2.TokenType
850
850
  */
851
851
  export enum TokenType {
852
852
  /**
853
- * TOKEN_TYPE_UNSPECIFIED is not specified
853
+ * TOKEN_TYPE_UNSPECIFIED is not specified.
854
854
  *
855
855
  * @generated from enum value: TOKEN_TYPE_UNSPECIFIED = 0;
856
856
  */
857
857
  UNSPECIFIED = 0,
858
858
 
859
859
  /**
860
- * TOKEN_TYPE_API is a token for api usage
860
+ * TOKEN_TYPE_API is a token for api usage.
861
861
  *
862
862
  * @generated from enum value: TOKEN_TYPE_API = 1;
863
863
  */