@metal-stack/api 0.0.40-beta.0
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.
- package/LICENSE +21 -0
- package/README.md +111 -0
- package/js/Makefile +16 -0
- package/js/buf/validate/validate_pb.d.ts +4597 -0
- package/js/buf/validate/validate_pb.js +351 -0
- package/js/buf/validate/validate_pb.ts +4938 -0
- package/js/metalstack/admin/v2/filesystem_pb.d.ts +207 -0
- package/js/metalstack/admin/v2/filesystem_pb.js +48 -0
- package/js/metalstack/admin/v2/filesystem_pb.ts +248 -0
- package/js/metalstack/admin/v2/image_pb.d.ts +242 -0
- package/js/metalstack/admin/v2/image_pb.js +59 -0
- package/js/metalstack/admin/v2/image_pb.ts +288 -0
- package/js/metalstack/admin/v2/ip_pb.d.ts +60 -0
- package/js/metalstack/admin/v2/ip_pb.js +26 -0
- package/js/metalstack/admin/v2/ip_pb.ts +78 -0
- package/js/metalstack/admin/v2/machine_pb.d.ts +113 -0
- package/js/metalstack/admin/v2/machine_pb.js +38 -0
- package/js/metalstack/admin/v2/machine_pb.ts +140 -0
- package/js/metalstack/admin/v2/network_pb.d.ts +407 -0
- package/js/metalstack/admin/v2/network_pb.js +68 -0
- package/js/metalstack/admin/v2/network_pb.ts +478 -0
- package/js/metalstack/admin/v2/partition_pb.d.ts +341 -0
- package/js/metalstack/admin/v2/partition_pb.js +58 -0
- package/js/metalstack/admin/v2/partition_pb.ts +402 -0
- package/js/metalstack/admin/v2/project_pb.d.ts +67 -0
- package/js/metalstack/admin/v2/project_pb.js +27 -0
- package/js/metalstack/admin/v2/project_pb.ts +87 -0
- package/js/metalstack/admin/v2/size_pb.d.ts +183 -0
- package/js/metalstack/admin/v2/size_pb.js +48 -0
- package/js/metalstack/admin/v2/size_pb.ts +220 -0
- package/js/metalstack/admin/v2/switch_pb.d.ts +377 -0
- package/js/metalstack/admin/v2/switch_pb.js +79 -0
- package/js/metalstack/admin/v2/switch_pb.ts +435 -0
- package/js/metalstack/admin/v2/tenant_pb.d.ts +149 -0
- package/js/metalstack/admin/v2/tenant_pb.js +38 -0
- package/js/metalstack/admin/v2/tenant_pb.ts +182 -0
- package/js/metalstack/admin/v2/token_pb.d.ts +164 -0
- package/js/metalstack/admin/v2/token_pb.js +47 -0
- package/js/metalstack/admin/v2/token_pb.ts +199 -0
- package/js/metalstack/admin/v2/vpn_pb.ts +184 -0
- package/js/metalstack/api/v2/common_pb.d.ts +407 -0
- package/js/metalstack/api/v2/common_pb.js +311 -0
- package/js/metalstack/api/v2/common_pb.ts +488 -0
- package/js/metalstack/api/v2/filesystem_pb.d.ts +704 -0
- package/js/metalstack/api/v2/filesystem_pb.js +259 -0
- package/js/metalstack/api/v2/filesystem_pb.ts +819 -0
- package/js/metalstack/api/v2/health_pb.d.ts +220 -0
- package/js/metalstack/api/v2/health_pb.js +130 -0
- package/js/metalstack/api/v2/health_pb.ts +264 -0
- package/js/metalstack/api/v2/image_pb.d.ts +368 -0
- package/js/metalstack/api/v2/image_pb.js +129 -0
- package/js/metalstack/api/v2/image_pb.ts +436 -0
- package/js/metalstack/api/v2/ip_pb.d.ts +555 -0
- package/js/metalstack/api/v2/ip_pb.js +137 -0
- package/js/metalstack/api/v2/ip_pb.ts +650 -0
- package/js/metalstack/api/v2/machine_pb.d.ts +1831 -0
- package/js/metalstack/api/v2/machine_pb.js +459 -0
- package/js/metalstack/api/v2/machine_pb.ts +2155 -0
- package/js/metalstack/api/v2/method_pb.d.ts +122 -0
- package/js/metalstack/api/v2/method_pb.js +38 -0
- package/js/metalstack/api/v2/method_pb.ts +149 -0
- package/js/metalstack/api/v2/network_pb.d.ts +820 -0
- package/js/metalstack/api/v2/network_pb.js +244 -0
- package/js/metalstack/api/v2/network_pb.ts +954 -0
- package/js/metalstack/api/v2/partition_pb.d.ts +251 -0
- package/js/metalstack/api/v2/partition_pb.js +62 -0
- package/js/metalstack/api/v2/partition_pb.ts +300 -0
- package/js/metalstack/api/v2/predefined_rules_pb.d.ts +54 -0
- package/js/metalstack/api/v2/predefined_rules_pb.js +57 -0
- package/js/metalstack/api/v2/predefined_rules_pb.ts +79 -0
- package/js/metalstack/api/v2/project_pb.d.ts +862 -0
- package/js/metalstack/api/v2/project_pb.js +163 -0
- package/js/metalstack/api/v2/project_pb.ts +1001 -0
- package/js/metalstack/api/v2/size_pb.d.ts +261 -0
- package/js/metalstack/api/v2/size_pb.js +94 -0
- package/js/metalstack/api/v2/size_pb.ts +312 -0
- package/js/metalstack/api/v2/switch_pb.d.ts +508 -0
- package/js/metalstack/api/v2/switch_pb.js +207 -0
- package/js/metalstack/api/v2/switch_pb.ts +653 -0
- package/js/metalstack/api/v2/tenant_pb.d.ts +864 -0
- package/js/metalstack/api/v2/tenant_pb.js +163 -0
- package/js/metalstack/api/v2/tenant_pb.ts +1004 -0
- package/js/metalstack/api/v2/token_pb.d.ts +540 -0
- package/js/metalstack/api/v2/token_pb.js +118 -0
- package/js/metalstack/api/v2/token_pb.ts +621 -0
- package/js/metalstack/api/v2/user_pb.d.ts +108 -0
- package/js/metalstack/api/v2/user_pb.js +34 -0
- package/js/metalstack/api/v2/user_pb.ts +139 -0
- package/js/metalstack/api/v2/version_pb.d.ts +88 -0
- package/js/metalstack/api/v2/version_pb.js +30 -0
- package/js/metalstack/api/v2/version_pb.ts +112 -0
- package/js/metalstack/api/v2/vpn_pb.ts +72 -0
- package/js/metalstack/infra/v2/bmc_pb.d.ts +45 -0
- package/js/metalstack/infra/v2/bmc_pb.js +25 -0
- package/js/metalstack/infra/v2/bmc_pb.ts +104 -0
- package/js/metalstack/infra/v2/event_pb.d.ts +181 -0
- package/js/metalstack/infra/v2/event_pb.js +116 -0
- package/js/metalstack/infra/v2/event_pb.ts +218 -0
- package/js/metalstack/infra/v2/switch_pb.d.ts +223 -0
- package/js/metalstack/infra/v2/switch_pb.js +54 -0
- package/js/metalstack/infra/v2/switch_pb.ts +228 -0
- package/js/tsconfig.json +70 -0
- package/package.json +21 -0
|
@@ -0,0 +1,1004 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/api/v2/tenant.proto (package metalstack.api.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
import type { Labels, Meta, TenantRole, UpdateLabels, UpdateMeta } from "./common_pb";
|
|
11
|
+
import { file_metalstack_api_v2_common } from "./common_pb";
|
|
12
|
+
import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
13
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the file metalstack/api/v2/tenant.proto.
|
|
17
|
+
*/
|
|
18
|
+
export const file_metalstack_api_v2_tenant: GenFile = /*@__PURE__*/
|
|
19
|
+
fileDesc("Ch5tZXRhbHN0YWNrL2FwaS92Mi90ZW5hbnQucHJvdG8SEW1ldGFsc3RhY2suYXBpLnYyIrIBCgZUZW5hbnQSDQoFbG9naW4YASABKAkSJQoEbWV0YRgCIAEoCzIXLm1ldGFsc3RhY2suYXBpLnYyLk1ldGESGQoEbmFtZRgDIAEoCUILukgIcgbAs66xAgESDQoFZW1haWwYBCABKAkSIAoLZGVzY3JpcHRpb24YBSABKAlCC7pICHIGyLOusQIBEhIKCmF2YXRhcl91cmwYBiABKAkSEgoKY3JlYXRlZF9ieRgPIAEoCSKTAQoMVGVuYW50TWVtYmVyEgoKAmlkGAEgASgJEjUKBHJvbGUYAiABKA4yHS5tZXRhbHN0YWNrLmFwaS52Mi5UZ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ZSIJwvMYAQHg8xgBEoEBCgtJbnZpdGVzTGlzdBIyLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudFNlcnZpY2VJbnZpdGVzTGlzdFJlcXVlc3QaMy5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRTZXJ2aWNlSW52aXRlc0xpc3RSZXNwb25zZSIJwvMYAQHg8xgCEnoKCUludml0ZUdldBIwLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudFNlcnZpY2VJbnZpdGVHZXRSZXF1ZXN0GjEubWV0YWxzdGFjay5hcGkudjIuVGVuYW50U2VydmljZUludml0ZUdldFJlc3BvbnNlIgjY8xgD4PMYAkLBAQoVY29tLm1ldGFsc3RhY2suYXBpLnYyQgtUZW5hbnRQcm90b1ABWjVnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FwaS92MjthcGl2MqICA01BWKoCEU1ldGFsc3RhY2suQXBpLlYyygIRTWV0YWxzdGFja1xBcGlcVjLiAh1NZXRhbHN0YWNrXEFwaVxWMlxHUEJNZXRhZGF0YeoCE01ldGFsc3RhY2s6OkFwaTo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Tenant is a customer of the platform
|
|
23
|
+
*
|
|
24
|
+
* @generated from message metalstack.api.v2.Tenant
|
|
25
|
+
*/
|
|
26
|
+
export type Tenant = Message<"metalstack.api.v2.Tenant"> & {
|
|
27
|
+
/**
|
|
28
|
+
* Login of the tenant
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: string login = 1;
|
|
31
|
+
*/
|
|
32
|
+
login: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Meta for this tenant
|
|
36
|
+
*
|
|
37
|
+
* @generated from field: metalstack.api.v2.Meta meta = 2;
|
|
38
|
+
*/
|
|
39
|
+
meta?: Meta;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Name of the tenant
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: string name = 3;
|
|
45
|
+
*/
|
|
46
|
+
name: string;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Email of the tenant
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: string email = 4;
|
|
52
|
+
*/
|
|
53
|
+
email: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Description of this tenant
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: string description = 5;
|
|
59
|
+
*/
|
|
60
|
+
description: string;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* AvatarUrl of the tenant
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: string avatar_url = 6;
|
|
66
|
+
*/
|
|
67
|
+
avatarUrl: string;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* CreatedBy stores who created this tenant
|
|
71
|
+
*
|
|
72
|
+
* @generated from field: string created_by = 15;
|
|
73
|
+
*/
|
|
74
|
+
createdBy: string;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message metalstack.api.v2.Tenant.
|
|
79
|
+
* Use `create(TenantSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export const TenantSchema: GenMessage<Tenant> = /*@__PURE__*/
|
|
82
|
+
messageDesc(file_metalstack_api_v2_tenant, 0);
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* TenantMember defines a user that participates at a tenant
|
|
86
|
+
*
|
|
87
|
+
* @generated from message metalstack.api.v2.TenantMember
|
|
88
|
+
*/
|
|
89
|
+
export type TenantMember = Message<"metalstack.api.v2.TenantMember"> & {
|
|
90
|
+
/**
|
|
91
|
+
* Id is the user id of the member
|
|
92
|
+
*
|
|
93
|
+
* @generated from field: string id = 1;
|
|
94
|
+
*/
|
|
95
|
+
id: string;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Role is the role of the member
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: metalstack.api.v2.TenantRole role = 2;
|
|
101
|
+
*/
|
|
102
|
+
role: TenantRole;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Projects for the projects in which a user is a direct member
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: repeated string projects = 4;
|
|
108
|
+
*/
|
|
109
|
+
projects: string[];
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* CreatedAt the date when the member was added to the tenant
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: google.protobuf.Timestamp created_at = 10;
|
|
115
|
+
*/
|
|
116
|
+
createdAt?: Timestamp;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message metalstack.api.v2.TenantMember.
|
|
121
|
+
* Use `create(TenantMemberSchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export const TenantMemberSchema: GenMessage<TenantMember> = /*@__PURE__*/
|
|
124
|
+
messageDesc(file_metalstack_api_v2_tenant, 1);
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* TenantInvite defines invite to tenant
|
|
128
|
+
*
|
|
129
|
+
* @generated from message metalstack.api.v2.TenantInvite
|
|
130
|
+
*/
|
|
131
|
+
export type TenantInvite = Message<"metalstack.api.v2.TenantInvite"> & {
|
|
132
|
+
/**
|
|
133
|
+
* Secret is the secret part of the invite, typically part of the url
|
|
134
|
+
*
|
|
135
|
+
* @generated from field: string secret = 1;
|
|
136
|
+
*/
|
|
137
|
+
secret: string;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* TargetTenant is the tenant id for which this invite was created
|
|
141
|
+
*
|
|
142
|
+
* @generated from field: string target_tenant = 2;
|
|
143
|
+
*/
|
|
144
|
+
targetTenant: string;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Role is the role in this tenant the user will get after accepting the invitation
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: metalstack.api.v2.TenantRole role = 3;
|
|
150
|
+
*/
|
|
151
|
+
role: TenantRole;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Joined is false as long as a user has not accepted the invite
|
|
155
|
+
*
|
|
156
|
+
* @generated from field: bool joined = 4;
|
|
157
|
+
*/
|
|
158
|
+
joined: boolean;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* TargetTenantName is the tenant name for which this invite was created
|
|
162
|
+
*
|
|
163
|
+
* @generated from field: string target_tenant_name = 5;
|
|
164
|
+
*/
|
|
165
|
+
targetTenantName: string;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Tenant is the login of tenant who invites to join this tenant
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: string tenant = 6;
|
|
171
|
+
*/
|
|
172
|
+
tenant: string;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* TenantName is the name of tenant who invites to join this tenant
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: string tenant_name = 7;
|
|
178
|
+
*/
|
|
179
|
+
tenantName: string;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* ExpiresAt the date when this invite expires
|
|
183
|
+
*
|
|
184
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 10;
|
|
185
|
+
*/
|
|
186
|
+
expiresAt?: Timestamp;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* JoinedAt the date when the member accepted this invite
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: google.protobuf.Timestamp joined_at = 11;
|
|
192
|
+
*/
|
|
193
|
+
joinedAt?: Timestamp;
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Describes the message metalstack.api.v2.TenantInvite.
|
|
198
|
+
* Use `create(TenantInviteSchema)` to create a new message.
|
|
199
|
+
*/
|
|
200
|
+
export const TenantInviteSchema: GenMessage<TenantInvite> = /*@__PURE__*/
|
|
201
|
+
messageDesc(file_metalstack_api_v2_tenant, 2);
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* TenantServiceListRequest is the request payload of the tenant list request
|
|
205
|
+
*
|
|
206
|
+
* @generated from message metalstack.api.v2.TenantServiceListRequest
|
|
207
|
+
*/
|
|
208
|
+
export type TenantServiceListRequest = Message<"metalstack.api.v2.TenantServiceListRequest"> & {
|
|
209
|
+
/**
|
|
210
|
+
* Id filters tenants by id
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: optional string id = 1;
|
|
213
|
+
*/
|
|
214
|
+
id?: string;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Name filters tenants by name
|
|
218
|
+
*
|
|
219
|
+
* @generated from field: optional string name = 2;
|
|
220
|
+
*/
|
|
221
|
+
name?: string;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Labels lists only projects containing the given labels
|
|
225
|
+
*
|
|
226
|
+
* @generated from field: optional metalstack.api.v2.Labels labels = 3;
|
|
227
|
+
*/
|
|
228
|
+
labels?: Labels;
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Describes the message metalstack.api.v2.TenantServiceListRequest.
|
|
233
|
+
* Use `create(TenantServiceListRequestSchema)` to create a new message.
|
|
234
|
+
*/
|
|
235
|
+
export const TenantServiceListRequestSchema: GenMessage<TenantServiceListRequest> = /*@__PURE__*/
|
|
236
|
+
messageDesc(file_metalstack_api_v2_tenant, 3);
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* TenantServiceGetRequest is the request payload of the tenant get request
|
|
240
|
+
*
|
|
241
|
+
* @generated from message metalstack.api.v2.TenantServiceGetRequest
|
|
242
|
+
*/
|
|
243
|
+
export type TenantServiceGetRequest = Message<"metalstack.api.v2.TenantServiceGetRequest"> & {
|
|
244
|
+
/**
|
|
245
|
+
* Login of the tenant
|
|
246
|
+
*
|
|
247
|
+
* @generated from field: string login = 1;
|
|
248
|
+
*/
|
|
249
|
+
login: string;
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Describes the message metalstack.api.v2.TenantServiceGetRequest.
|
|
254
|
+
* Use `create(TenantServiceGetRequestSchema)` to create a new message.
|
|
255
|
+
*/
|
|
256
|
+
export const TenantServiceGetRequestSchema: GenMessage<TenantServiceGetRequest> = /*@__PURE__*/
|
|
257
|
+
messageDesc(file_metalstack_api_v2_tenant, 4);
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* TenantServiceCreateRequest is the request payload of the tenant create request
|
|
261
|
+
*
|
|
262
|
+
* @generated from message metalstack.api.v2.TenantServiceCreateRequest
|
|
263
|
+
*/
|
|
264
|
+
export type TenantServiceCreateRequest = Message<"metalstack.api.v2.TenantServiceCreateRequest"> & {
|
|
265
|
+
/**
|
|
266
|
+
* Name of this tenant
|
|
267
|
+
*
|
|
268
|
+
* @generated from field: string name = 1;
|
|
269
|
+
*/
|
|
270
|
+
name: string;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Description of this tenant
|
|
274
|
+
*
|
|
275
|
+
* @generated from field: optional string description = 2;
|
|
276
|
+
*/
|
|
277
|
+
description?: string;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Email of the tenant, if not set will be inherited from the creator
|
|
281
|
+
*
|
|
282
|
+
* @generated from field: optional string email = 3;
|
|
283
|
+
*/
|
|
284
|
+
email?: string;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* AvatarUrl of the tenant
|
|
288
|
+
*
|
|
289
|
+
* @generated from field: optional string avatar_url = 4;
|
|
290
|
+
*/
|
|
291
|
+
avatarUrl?: string;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Labels on the tenant
|
|
295
|
+
*
|
|
296
|
+
* @generated from field: metalstack.api.v2.Labels labels = 5;
|
|
297
|
+
*/
|
|
298
|
+
labels?: Labels;
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Describes the message metalstack.api.v2.TenantServiceCreateRequest.
|
|
303
|
+
* Use `create(TenantServiceCreateRequestSchema)` to create a new message.
|
|
304
|
+
*/
|
|
305
|
+
export const TenantServiceCreateRequestSchema: GenMessage<TenantServiceCreateRequest> = /*@__PURE__*/
|
|
306
|
+
messageDesc(file_metalstack_api_v2_tenant, 5);
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* TenantServiceUpdateRequest is the request payload of the tenant update request
|
|
310
|
+
*
|
|
311
|
+
* @generated from message metalstack.api.v2.TenantServiceUpdateRequest
|
|
312
|
+
*/
|
|
313
|
+
export type TenantServiceUpdateRequest = Message<"metalstack.api.v2.TenantServiceUpdateRequest"> & {
|
|
314
|
+
/**
|
|
315
|
+
* Login of the tenant
|
|
316
|
+
*
|
|
317
|
+
* @generated from field: string login = 1;
|
|
318
|
+
*/
|
|
319
|
+
login: string;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
323
|
+
*
|
|
324
|
+
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
325
|
+
*/
|
|
326
|
+
updateMeta?: UpdateMeta;
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* Name of the tenant
|
|
330
|
+
*
|
|
331
|
+
* @generated from field: optional string name = 3;
|
|
332
|
+
*/
|
|
333
|
+
name?: string;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Email of the tenant
|
|
337
|
+
*
|
|
338
|
+
* @generated from field: optional string email = 4;
|
|
339
|
+
*/
|
|
340
|
+
email?: string;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Description of this tenant
|
|
344
|
+
*
|
|
345
|
+
* @generated from field: optional string description = 5;
|
|
346
|
+
*/
|
|
347
|
+
description?: string;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* AvatarUrl of the tenant
|
|
351
|
+
*
|
|
352
|
+
* @generated from field: optional string avatar_url = 6;
|
|
353
|
+
*/
|
|
354
|
+
avatarUrl?: string;
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* Labels on the tenant
|
|
358
|
+
*
|
|
359
|
+
* @generated from field: optional metalstack.api.v2.UpdateLabels labels = 7;
|
|
360
|
+
*/
|
|
361
|
+
labels?: UpdateLabels;
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Describes the message metalstack.api.v2.TenantServiceUpdateRequest.
|
|
366
|
+
* Use `create(TenantServiceUpdateRequestSchema)` to create a new message.
|
|
367
|
+
*/
|
|
368
|
+
export const TenantServiceUpdateRequestSchema: GenMessage<TenantServiceUpdateRequest> = /*@__PURE__*/
|
|
369
|
+
messageDesc(file_metalstack_api_v2_tenant, 6);
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* TenantServiceDeleteRequest is the request payload of the tenant delete request
|
|
373
|
+
*
|
|
374
|
+
* @generated from message metalstack.api.v2.TenantServiceDeleteRequest
|
|
375
|
+
*/
|
|
376
|
+
export type TenantServiceDeleteRequest = Message<"metalstack.api.v2.TenantServiceDeleteRequest"> & {
|
|
377
|
+
/**
|
|
378
|
+
* Login of the tenant
|
|
379
|
+
*
|
|
380
|
+
* @generated from field: string login = 1;
|
|
381
|
+
*/
|
|
382
|
+
login: string;
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Describes the message metalstack.api.v2.TenantServiceDeleteRequest.
|
|
387
|
+
* Use `create(TenantServiceDeleteRequestSchema)` to create a new message.
|
|
388
|
+
*/
|
|
389
|
+
export const TenantServiceDeleteRequestSchema: GenMessage<TenantServiceDeleteRequest> = /*@__PURE__*/
|
|
390
|
+
messageDesc(file_metalstack_api_v2_tenant, 7);
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* TenantServiceGetResponse is the response payload of the tenant get request
|
|
394
|
+
*
|
|
395
|
+
* @generated from message metalstack.api.v2.TenantServiceGetResponse
|
|
396
|
+
*/
|
|
397
|
+
export type TenantServiceGetResponse = Message<"metalstack.api.v2.TenantServiceGetResponse"> & {
|
|
398
|
+
/**
|
|
399
|
+
* Tenant is the tenant
|
|
400
|
+
*
|
|
401
|
+
* @generated from field: metalstack.api.v2.Tenant tenant = 1;
|
|
402
|
+
*/
|
|
403
|
+
tenant?: Tenant;
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* TenantMembers of this tenant
|
|
407
|
+
*
|
|
408
|
+
* @generated from field: repeated metalstack.api.v2.TenantMember tenant_members = 2;
|
|
409
|
+
*/
|
|
410
|
+
tenantMembers: TenantMember[];
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Describes the message metalstack.api.v2.TenantServiceGetResponse.
|
|
415
|
+
* Use `create(TenantServiceGetResponseSchema)` to create a new message.
|
|
416
|
+
*/
|
|
417
|
+
export const TenantServiceGetResponseSchema: GenMessage<TenantServiceGetResponse> = /*@__PURE__*/
|
|
418
|
+
messageDesc(file_metalstack_api_v2_tenant, 8);
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* TenantServiceListResponse is the response payload of the tenant list request
|
|
422
|
+
*
|
|
423
|
+
* @generated from message metalstack.api.v2.TenantServiceListResponse
|
|
424
|
+
*/
|
|
425
|
+
export type TenantServiceListResponse = Message<"metalstack.api.v2.TenantServiceListResponse"> & {
|
|
426
|
+
/**
|
|
427
|
+
* Tenants is the list of tenants
|
|
428
|
+
*
|
|
429
|
+
* @generated from field: repeated metalstack.api.v2.Tenant tenants = 1;
|
|
430
|
+
*/
|
|
431
|
+
tenants: Tenant[];
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Describes the message metalstack.api.v2.TenantServiceListResponse.
|
|
436
|
+
* Use `create(TenantServiceListResponseSchema)` to create a new message.
|
|
437
|
+
*/
|
|
438
|
+
export const TenantServiceListResponseSchema: GenMessage<TenantServiceListResponse> = /*@__PURE__*/
|
|
439
|
+
messageDesc(file_metalstack_api_v2_tenant, 9);
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* TenantServiceCreateResponse is the response payload of the tenant create request
|
|
443
|
+
*
|
|
444
|
+
* @generated from message metalstack.api.v2.TenantServiceCreateResponse
|
|
445
|
+
*/
|
|
446
|
+
export type TenantServiceCreateResponse = Message<"metalstack.api.v2.TenantServiceCreateResponse"> & {
|
|
447
|
+
/**
|
|
448
|
+
* Tenant is the tenant
|
|
449
|
+
*
|
|
450
|
+
* @generated from field: metalstack.api.v2.Tenant tenant = 1;
|
|
451
|
+
*/
|
|
452
|
+
tenant?: Tenant;
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Describes the message metalstack.api.v2.TenantServiceCreateResponse.
|
|
457
|
+
* Use `create(TenantServiceCreateResponseSchema)` to create a new message.
|
|
458
|
+
*/
|
|
459
|
+
export const TenantServiceCreateResponseSchema: GenMessage<TenantServiceCreateResponse> = /*@__PURE__*/
|
|
460
|
+
messageDesc(file_metalstack_api_v2_tenant, 10);
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* TenantServiceUpdateResponse is the response payload of the tenant update request
|
|
464
|
+
*
|
|
465
|
+
* @generated from message metalstack.api.v2.TenantServiceUpdateResponse
|
|
466
|
+
*/
|
|
467
|
+
export type TenantServiceUpdateResponse = Message<"metalstack.api.v2.TenantServiceUpdateResponse"> & {
|
|
468
|
+
/**
|
|
469
|
+
* Tenant is the tenant
|
|
470
|
+
*
|
|
471
|
+
* @generated from field: metalstack.api.v2.Tenant tenant = 1;
|
|
472
|
+
*/
|
|
473
|
+
tenant?: Tenant;
|
|
474
|
+
};
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* Describes the message metalstack.api.v2.TenantServiceUpdateResponse.
|
|
478
|
+
* Use `create(TenantServiceUpdateResponseSchema)` to create a new message.
|
|
479
|
+
*/
|
|
480
|
+
export const TenantServiceUpdateResponseSchema: GenMessage<TenantServiceUpdateResponse> = /*@__PURE__*/
|
|
481
|
+
messageDesc(file_metalstack_api_v2_tenant, 11);
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* TenantServiceDeleteResponse is the response payload of the tenant delete request
|
|
485
|
+
*
|
|
486
|
+
* @generated from message metalstack.api.v2.TenantServiceDeleteResponse
|
|
487
|
+
*/
|
|
488
|
+
export type TenantServiceDeleteResponse = Message<"metalstack.api.v2.TenantServiceDeleteResponse"> & {
|
|
489
|
+
/**
|
|
490
|
+
* Tenant is the tenant
|
|
491
|
+
*
|
|
492
|
+
* @generated from field: metalstack.api.v2.Tenant tenant = 1;
|
|
493
|
+
*/
|
|
494
|
+
tenant?: Tenant;
|
|
495
|
+
};
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Describes the message metalstack.api.v2.TenantServiceDeleteResponse.
|
|
499
|
+
* Use `create(TenantServiceDeleteResponseSchema)` to create a new message.
|
|
500
|
+
*/
|
|
501
|
+
export const TenantServiceDeleteResponseSchema: GenMessage<TenantServiceDeleteResponse> = /*@__PURE__*/
|
|
502
|
+
messageDesc(file_metalstack_api_v2_tenant, 12);
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* TenantServiceInviteRequest is used to invite a member to a tenant
|
|
506
|
+
*
|
|
507
|
+
* @generated from message metalstack.api.v2.TenantServiceInviteRequest
|
|
508
|
+
*/
|
|
509
|
+
export type TenantServiceInviteRequest = Message<"metalstack.api.v2.TenantServiceInviteRequest"> & {
|
|
510
|
+
/**
|
|
511
|
+
* Login of the tenant
|
|
512
|
+
*
|
|
513
|
+
* @generated from field: string login = 1;
|
|
514
|
+
*/
|
|
515
|
+
login: string;
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Role of this user in this tenant
|
|
519
|
+
*
|
|
520
|
+
* @generated from field: metalstack.api.v2.TenantRole role = 2;
|
|
521
|
+
*/
|
|
522
|
+
role: TenantRole;
|
|
523
|
+
};
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Describes the message metalstack.api.v2.TenantServiceInviteRequest.
|
|
527
|
+
* Use `create(TenantServiceInviteRequestSchema)` to create a new message.
|
|
528
|
+
*/
|
|
529
|
+
export const TenantServiceInviteRequestSchema: GenMessage<TenantServiceInviteRequest> = /*@__PURE__*/
|
|
530
|
+
messageDesc(file_metalstack_api_v2_tenant, 13);
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* TenantServiceInviteRequest is the response payload to a invite member request
|
|
534
|
+
*
|
|
535
|
+
* @generated from message metalstack.api.v2.TenantServiceInviteResponse
|
|
536
|
+
*/
|
|
537
|
+
export type TenantServiceInviteResponse = Message<"metalstack.api.v2.TenantServiceInviteResponse"> & {
|
|
538
|
+
/**
|
|
539
|
+
* Invite contains a secret which can be sent to a potential user
|
|
540
|
+
* can be appended to the invitation endpoint at our cloud console like
|
|
541
|
+
* console.metalstack.cloud/invite/<secret>
|
|
542
|
+
*
|
|
543
|
+
* @generated from field: metalstack.api.v2.TenantInvite invite = 1;
|
|
544
|
+
*/
|
|
545
|
+
invite?: TenantInvite;
|
|
546
|
+
};
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* Describes the message metalstack.api.v2.TenantServiceInviteResponse.
|
|
550
|
+
* Use `create(TenantServiceInviteResponseSchema)` to create a new message.
|
|
551
|
+
*/
|
|
552
|
+
export const TenantServiceInviteResponseSchema: GenMessage<TenantServiceInviteResponse> = /*@__PURE__*/
|
|
553
|
+
messageDesc(file_metalstack_api_v2_tenant, 14);
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* TenantServiceInvitesListRequest is the request payload to a list invites request
|
|
557
|
+
*
|
|
558
|
+
* @generated from message metalstack.api.v2.TenantServiceInvitesListRequest
|
|
559
|
+
*/
|
|
560
|
+
export type TenantServiceInvitesListRequest = Message<"metalstack.api.v2.TenantServiceInvitesListRequest"> & {
|
|
561
|
+
/**
|
|
562
|
+
* Login of the tenant
|
|
563
|
+
*
|
|
564
|
+
* @generated from field: string login = 1;
|
|
565
|
+
*/
|
|
566
|
+
login: string;
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* Describes the message metalstack.api.v2.TenantServiceInvitesListRequest.
|
|
571
|
+
* Use `create(TenantServiceInvitesListRequestSchema)` to create a new message.
|
|
572
|
+
*/
|
|
573
|
+
export const TenantServiceInvitesListRequestSchema: GenMessage<TenantServiceInvitesListRequest> = /*@__PURE__*/
|
|
574
|
+
messageDesc(file_metalstack_api_v2_tenant, 15);
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* TenantServiceInvitesListResponse is the response payload to a list invites request
|
|
578
|
+
*
|
|
579
|
+
* @generated from message metalstack.api.v2.TenantServiceInvitesListResponse
|
|
580
|
+
*/
|
|
581
|
+
export type TenantServiceInvitesListResponse = Message<"metalstack.api.v2.TenantServiceInvitesListResponse"> & {
|
|
582
|
+
/**
|
|
583
|
+
* Invites not already accepted the invitation to this tenant
|
|
584
|
+
*
|
|
585
|
+
* @generated from field: repeated metalstack.api.v2.TenantInvite invites = 1;
|
|
586
|
+
*/
|
|
587
|
+
invites: TenantInvite[];
|
|
588
|
+
};
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* Describes the message metalstack.api.v2.TenantServiceInvitesListResponse.
|
|
592
|
+
* Use `create(TenantServiceInvitesListResponseSchema)` to create a new message.
|
|
593
|
+
*/
|
|
594
|
+
export const TenantServiceInvitesListResponseSchema: GenMessage<TenantServiceInvitesListResponse> = /*@__PURE__*/
|
|
595
|
+
messageDesc(file_metalstack_api_v2_tenant, 16);
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* TenantServiceInviteGetRequest is the request payload to get a invite
|
|
599
|
+
*
|
|
600
|
+
* @generated from message metalstack.api.v2.TenantServiceInviteGetRequest
|
|
601
|
+
*/
|
|
602
|
+
export type TenantServiceInviteGetRequest = Message<"metalstack.api.v2.TenantServiceInviteGetRequest"> & {
|
|
603
|
+
/**
|
|
604
|
+
* Secret of the invite to get
|
|
605
|
+
*
|
|
606
|
+
* @generated from field: string secret = 1;
|
|
607
|
+
*/
|
|
608
|
+
secret: string;
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* Describes the message metalstack.api.v2.TenantServiceInviteGetRequest.
|
|
613
|
+
* Use `create(TenantServiceInviteGetRequestSchema)` to create a new message.
|
|
614
|
+
*/
|
|
615
|
+
export const TenantServiceInviteGetRequestSchema: GenMessage<TenantServiceInviteGetRequest> = /*@__PURE__*/
|
|
616
|
+
messageDesc(file_metalstack_api_v2_tenant, 17);
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* TenantServiceInviteGetResponse is the response payload to a get invite request
|
|
620
|
+
*
|
|
621
|
+
* @generated from message metalstack.api.v2.TenantServiceInviteGetResponse
|
|
622
|
+
*/
|
|
623
|
+
export type TenantServiceInviteGetResponse = Message<"metalstack.api.v2.TenantServiceInviteGetResponse"> & {
|
|
624
|
+
/**
|
|
625
|
+
* Invite is the invite
|
|
626
|
+
*
|
|
627
|
+
* @generated from field: metalstack.api.v2.TenantInvite invite = 1;
|
|
628
|
+
*/
|
|
629
|
+
invite?: TenantInvite;
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* Describes the message metalstack.api.v2.TenantServiceInviteGetResponse.
|
|
634
|
+
* Use `create(TenantServiceInviteGetResponseSchema)` to create a new message.
|
|
635
|
+
*/
|
|
636
|
+
export const TenantServiceInviteGetResponseSchema: GenMessage<TenantServiceInviteGetResponse> = /*@__PURE__*/
|
|
637
|
+
messageDesc(file_metalstack_api_v2_tenant, 18);
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* TenantServiceRemoveMemberRequest is used to remove a member from a tenant
|
|
641
|
+
*
|
|
642
|
+
* @generated from message metalstack.api.v2.TenantServiceRemoveMemberRequest
|
|
643
|
+
*/
|
|
644
|
+
export type TenantServiceRemoveMemberRequest = Message<"metalstack.api.v2.TenantServiceRemoveMemberRequest"> & {
|
|
645
|
+
/**
|
|
646
|
+
* Login of the tenant
|
|
647
|
+
*
|
|
648
|
+
* @generated from field: string login = 1;
|
|
649
|
+
*/
|
|
650
|
+
login: string;
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* Member is the id of the member to remove from this tenant
|
|
654
|
+
*
|
|
655
|
+
* @generated from field: string member = 2;
|
|
656
|
+
*/
|
|
657
|
+
member: string;
|
|
658
|
+
};
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* Describes the message metalstack.api.v2.TenantServiceRemoveMemberRequest.
|
|
662
|
+
* Use `create(TenantServiceRemoveMemberRequestSchema)` to create a new message.
|
|
663
|
+
*/
|
|
664
|
+
export const TenantServiceRemoveMemberRequestSchema: GenMessage<TenantServiceRemoveMemberRequest> = /*@__PURE__*/
|
|
665
|
+
messageDesc(file_metalstack_api_v2_tenant, 19);
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* TenantServiceLeaveTenantRequest is used to leave a tenant
|
|
669
|
+
*
|
|
670
|
+
* @generated from message metalstack.api.v2.TenantServiceLeaveRequest
|
|
671
|
+
*/
|
|
672
|
+
export type TenantServiceLeaveRequest = Message<"metalstack.api.v2.TenantServiceLeaveRequest"> & {
|
|
673
|
+
/**
|
|
674
|
+
* Login of the tenant
|
|
675
|
+
*
|
|
676
|
+
* @generated from field: string login = 1;
|
|
677
|
+
*/
|
|
678
|
+
login: string;
|
|
679
|
+
};
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* Describes the message metalstack.api.v2.TenantServiceLeaveRequest.
|
|
683
|
+
* Use `create(TenantServiceLeaveRequestSchema)` to create a new message.
|
|
684
|
+
*/
|
|
685
|
+
export const TenantServiceLeaveRequestSchema: GenMessage<TenantServiceLeaveRequest> = /*@__PURE__*/
|
|
686
|
+
messageDesc(file_metalstack_api_v2_tenant, 20);
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* TenantServiceLeaveTenantResponse is the response payload to a leave tenant request
|
|
690
|
+
*
|
|
691
|
+
* @generated from message metalstack.api.v2.TenantServiceLeaveResponse
|
|
692
|
+
*/
|
|
693
|
+
export type TenantServiceLeaveResponse = Message<"metalstack.api.v2.TenantServiceLeaveResponse"> & {
|
|
694
|
+
};
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Describes the message metalstack.api.v2.TenantServiceLeaveResponse.
|
|
698
|
+
* Use `create(TenantServiceLeaveResponseSchema)` to create a new message.
|
|
699
|
+
*/
|
|
700
|
+
export const TenantServiceLeaveResponseSchema: GenMessage<TenantServiceLeaveResponse> = /*@__PURE__*/
|
|
701
|
+
messageDesc(file_metalstack_api_v2_tenant, 21);
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* TenantServiceRemoveMemberResponse is the response payload to a remove member request
|
|
705
|
+
*
|
|
706
|
+
* @generated from message metalstack.api.v2.TenantServiceRemoveMemberResponse
|
|
707
|
+
*/
|
|
708
|
+
export type TenantServiceRemoveMemberResponse = Message<"metalstack.api.v2.TenantServiceRemoveMemberResponse"> & {
|
|
709
|
+
};
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Describes the message metalstack.api.v2.TenantServiceRemoveMemberResponse.
|
|
713
|
+
* Use `create(TenantServiceRemoveMemberResponseSchema)` to create a new message.
|
|
714
|
+
*/
|
|
715
|
+
export const TenantServiceRemoveMemberResponseSchema: GenMessage<TenantServiceRemoveMemberResponse> = /*@__PURE__*/
|
|
716
|
+
messageDesc(file_metalstack_api_v2_tenant, 22);
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* TenantServiceInviteAcceptRequest is the request payload to a accept invite request
|
|
720
|
+
*
|
|
721
|
+
* @generated from message metalstack.api.v2.TenantServiceInviteAcceptRequest
|
|
722
|
+
*/
|
|
723
|
+
export type TenantServiceInviteAcceptRequest = Message<"metalstack.api.v2.TenantServiceInviteAcceptRequest"> & {
|
|
724
|
+
/**
|
|
725
|
+
* Secret is the invitation secret part of the invitation url
|
|
726
|
+
*
|
|
727
|
+
* @generated from field: string secret = 1;
|
|
728
|
+
*/
|
|
729
|
+
secret: string;
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* Describes the message metalstack.api.v2.TenantServiceInviteAcceptRequest.
|
|
734
|
+
* Use `create(TenantServiceInviteAcceptRequestSchema)` to create a new message.
|
|
735
|
+
*/
|
|
736
|
+
export const TenantServiceInviteAcceptRequestSchema: GenMessage<TenantServiceInviteAcceptRequest> = /*@__PURE__*/
|
|
737
|
+
messageDesc(file_metalstack_api_v2_tenant, 23);
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* TenantServiceInvitesListResponse is the response payload to a accept invite request
|
|
741
|
+
*
|
|
742
|
+
* @generated from message metalstack.api.v2.TenantServiceInviteAcceptResponse
|
|
743
|
+
*/
|
|
744
|
+
export type TenantServiceInviteAcceptResponse = Message<"metalstack.api.v2.TenantServiceInviteAcceptResponse"> & {
|
|
745
|
+
/**
|
|
746
|
+
* Tenant ID of the joined tenant
|
|
747
|
+
*
|
|
748
|
+
* @generated from field: string tenant = 1;
|
|
749
|
+
*/
|
|
750
|
+
tenant: string;
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* TenantName of the joined tenant
|
|
754
|
+
*
|
|
755
|
+
* @generated from field: string tenant_name = 2;
|
|
756
|
+
*/
|
|
757
|
+
tenantName: string;
|
|
758
|
+
};
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* Describes the message metalstack.api.v2.TenantServiceInviteAcceptResponse.
|
|
762
|
+
* Use `create(TenantServiceInviteAcceptResponseSchema)` to create a new message.
|
|
763
|
+
*/
|
|
764
|
+
export const TenantServiceInviteAcceptResponseSchema: GenMessage<TenantServiceInviteAcceptResponse> = /*@__PURE__*/
|
|
765
|
+
messageDesc(file_metalstack_api_v2_tenant, 24);
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* TenantServiceInviteDeleteRequest is the request payload to a delete invite
|
|
769
|
+
*
|
|
770
|
+
* @generated from message metalstack.api.v2.TenantServiceInviteDeleteRequest
|
|
771
|
+
*/
|
|
772
|
+
export type TenantServiceInviteDeleteRequest = Message<"metalstack.api.v2.TenantServiceInviteDeleteRequest"> & {
|
|
773
|
+
/**
|
|
774
|
+
* Login of the tenant
|
|
775
|
+
*
|
|
776
|
+
* @generated from field: string login = 1;
|
|
777
|
+
*/
|
|
778
|
+
login: string;
|
|
779
|
+
|
|
780
|
+
/**
|
|
781
|
+
* Secret of the invite to delete
|
|
782
|
+
*
|
|
783
|
+
* @generated from field: string secret = 2;
|
|
784
|
+
*/
|
|
785
|
+
secret: string;
|
|
786
|
+
};
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* Describes the message metalstack.api.v2.TenantServiceInviteDeleteRequest.
|
|
790
|
+
* Use `create(TenantServiceInviteDeleteRequestSchema)` to create a new message.
|
|
791
|
+
*/
|
|
792
|
+
export const TenantServiceInviteDeleteRequestSchema: GenMessage<TenantServiceInviteDeleteRequest> = /*@__PURE__*/
|
|
793
|
+
messageDesc(file_metalstack_api_v2_tenant, 25);
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* TenantServiceInviteDeleteResponse is the response payload of a delete invite request
|
|
797
|
+
*
|
|
798
|
+
* @generated from message metalstack.api.v2.TenantServiceInviteDeleteResponse
|
|
799
|
+
*/
|
|
800
|
+
export type TenantServiceInviteDeleteResponse = Message<"metalstack.api.v2.TenantServiceInviteDeleteResponse"> & {
|
|
801
|
+
};
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* Describes the message metalstack.api.v2.TenantServiceInviteDeleteResponse.
|
|
805
|
+
* Use `create(TenantServiceInviteDeleteResponseSchema)` to create a new message.
|
|
806
|
+
*/
|
|
807
|
+
export const TenantServiceInviteDeleteResponseSchema: GenMessage<TenantServiceInviteDeleteResponse> = /*@__PURE__*/
|
|
808
|
+
messageDesc(file_metalstack_api_v2_tenant, 26);
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* TenantServiceUpdateMemberRequest is used to update a member from a tenant
|
|
812
|
+
*
|
|
813
|
+
* @generated from message metalstack.api.v2.TenantServiceUpdateMemberRequest
|
|
814
|
+
*/
|
|
815
|
+
export type TenantServiceUpdateMemberRequest = Message<"metalstack.api.v2.TenantServiceUpdateMemberRequest"> & {
|
|
816
|
+
/**
|
|
817
|
+
* Login of the tenant
|
|
818
|
+
*
|
|
819
|
+
* @generated from field: string login = 1;
|
|
820
|
+
*/
|
|
821
|
+
login: string;
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* Member is the id of the member to update in this tenant
|
|
825
|
+
*
|
|
826
|
+
* @generated from field: string member = 2;
|
|
827
|
+
*/
|
|
828
|
+
member: string;
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* Role of this user in this tenant
|
|
832
|
+
*
|
|
833
|
+
* @generated from field: metalstack.api.v2.TenantRole role = 3;
|
|
834
|
+
*/
|
|
835
|
+
role: TenantRole;
|
|
836
|
+
};
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* Describes the message metalstack.api.v2.TenantServiceUpdateMemberRequest.
|
|
840
|
+
* Use `create(TenantServiceUpdateMemberRequestSchema)` to create a new message.
|
|
841
|
+
*/
|
|
842
|
+
export const TenantServiceUpdateMemberRequestSchema: GenMessage<TenantServiceUpdateMemberRequest> = /*@__PURE__*/
|
|
843
|
+
messageDesc(file_metalstack_api_v2_tenant, 27);
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* TenantServiceUpdateMemberResponse is the response payload to a update member request
|
|
847
|
+
*
|
|
848
|
+
* @generated from message metalstack.api.v2.TenantServiceUpdateMemberResponse
|
|
849
|
+
*/
|
|
850
|
+
export type TenantServiceUpdateMemberResponse = Message<"metalstack.api.v2.TenantServiceUpdateMemberResponse"> & {
|
|
851
|
+
/**
|
|
852
|
+
* TenantMember is the updated membership
|
|
853
|
+
*
|
|
854
|
+
* @generated from field: metalstack.api.v2.TenantMember tenant_member = 1;
|
|
855
|
+
*/
|
|
856
|
+
tenantMember?: TenantMember;
|
|
857
|
+
};
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* Describes the message metalstack.api.v2.TenantServiceUpdateMemberResponse.
|
|
861
|
+
* Use `create(TenantServiceUpdateMemberResponseSchema)` to create a new message.
|
|
862
|
+
*/
|
|
863
|
+
export const TenantServiceUpdateMemberResponseSchema: GenMessage<TenantServiceUpdateMemberResponse> = /*@__PURE__*/
|
|
864
|
+
messageDesc(file_metalstack_api_v2_tenant, 28);
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* TenantService serves tenant related functions
|
|
868
|
+
*
|
|
869
|
+
* @generated from service metalstack.api.v2.TenantService
|
|
870
|
+
*/
|
|
871
|
+
export const TenantService: GenService<{
|
|
872
|
+
/**
|
|
873
|
+
* Create a tenant
|
|
874
|
+
*
|
|
875
|
+
* @generated from rpc metalstack.api.v2.TenantService.Create
|
|
876
|
+
*/
|
|
877
|
+
create: {
|
|
878
|
+
methodKind: "unary";
|
|
879
|
+
input: typeof TenantServiceCreateRequestSchema;
|
|
880
|
+
output: typeof TenantServiceCreateResponseSchema;
|
|
881
|
+
},
|
|
882
|
+
/**
|
|
883
|
+
* List tenants
|
|
884
|
+
*
|
|
885
|
+
* @generated from rpc metalstack.api.v2.TenantService.List
|
|
886
|
+
*/
|
|
887
|
+
list: {
|
|
888
|
+
methodKind: "unary";
|
|
889
|
+
input: typeof TenantServiceListRequestSchema;
|
|
890
|
+
output: typeof TenantServiceListResponseSchema;
|
|
891
|
+
},
|
|
892
|
+
/**
|
|
893
|
+
* Get a tenant
|
|
894
|
+
*
|
|
895
|
+
* @generated from rpc metalstack.api.v2.TenantService.Get
|
|
896
|
+
*/
|
|
897
|
+
get: {
|
|
898
|
+
methodKind: "unary";
|
|
899
|
+
input: typeof TenantServiceGetRequestSchema;
|
|
900
|
+
output: typeof TenantServiceGetResponseSchema;
|
|
901
|
+
},
|
|
902
|
+
/**
|
|
903
|
+
* Update a tenant
|
|
904
|
+
*
|
|
905
|
+
* @generated from rpc metalstack.api.v2.TenantService.Update
|
|
906
|
+
*/
|
|
907
|
+
update: {
|
|
908
|
+
methodKind: "unary";
|
|
909
|
+
input: typeof TenantServiceUpdateRequestSchema;
|
|
910
|
+
output: typeof TenantServiceUpdateResponseSchema;
|
|
911
|
+
},
|
|
912
|
+
/**
|
|
913
|
+
* Delete a tenant
|
|
914
|
+
*
|
|
915
|
+
* @generated from rpc metalstack.api.v2.TenantService.Delete
|
|
916
|
+
*/
|
|
917
|
+
delete: {
|
|
918
|
+
methodKind: "unary";
|
|
919
|
+
input: typeof TenantServiceDeleteRequestSchema;
|
|
920
|
+
output: typeof TenantServiceDeleteResponseSchema;
|
|
921
|
+
},
|
|
922
|
+
/**
|
|
923
|
+
* Leave remove a member of a tenant
|
|
924
|
+
*
|
|
925
|
+
* @generated from rpc metalstack.api.v2.TenantService.Leave
|
|
926
|
+
*/
|
|
927
|
+
leave: {
|
|
928
|
+
methodKind: "unary";
|
|
929
|
+
input: typeof TenantServiceLeaveRequestSchema;
|
|
930
|
+
output: typeof TenantServiceLeaveResponseSchema;
|
|
931
|
+
},
|
|
932
|
+
/**
|
|
933
|
+
* RemoveMember remove a member of a tenant
|
|
934
|
+
*
|
|
935
|
+
* @generated from rpc metalstack.api.v2.TenantService.RemoveMember
|
|
936
|
+
*/
|
|
937
|
+
removeMember: {
|
|
938
|
+
methodKind: "unary";
|
|
939
|
+
input: typeof TenantServiceRemoveMemberRequestSchema;
|
|
940
|
+
output: typeof TenantServiceRemoveMemberResponseSchema;
|
|
941
|
+
},
|
|
942
|
+
/**
|
|
943
|
+
* UpdateMember update a member of a tenant
|
|
944
|
+
*
|
|
945
|
+
* @generated from rpc metalstack.api.v2.TenantService.UpdateMember
|
|
946
|
+
*/
|
|
947
|
+
updateMember: {
|
|
948
|
+
methodKind: "unary";
|
|
949
|
+
input: typeof TenantServiceUpdateMemberRequestSchema;
|
|
950
|
+
output: typeof TenantServiceUpdateMemberResponseSchema;
|
|
951
|
+
},
|
|
952
|
+
/**
|
|
953
|
+
* Invite a user to a tenant
|
|
954
|
+
*
|
|
955
|
+
* @generated from rpc metalstack.api.v2.TenantService.Invite
|
|
956
|
+
*/
|
|
957
|
+
invite: {
|
|
958
|
+
methodKind: "unary";
|
|
959
|
+
input: typeof TenantServiceInviteRequestSchema;
|
|
960
|
+
output: typeof TenantServiceInviteResponseSchema;
|
|
961
|
+
},
|
|
962
|
+
/**
|
|
963
|
+
* InviteAccept is called from a user to accept an invitation
|
|
964
|
+
*
|
|
965
|
+
* @generated from rpc metalstack.api.v2.TenantService.InviteAccept
|
|
966
|
+
*/
|
|
967
|
+
inviteAccept: {
|
|
968
|
+
methodKind: "unary";
|
|
969
|
+
input: typeof TenantServiceInviteAcceptRequestSchema;
|
|
970
|
+
output: typeof TenantServiceInviteAcceptResponseSchema;
|
|
971
|
+
},
|
|
972
|
+
/**
|
|
973
|
+
* InviteDelete deletes a pending invitation
|
|
974
|
+
*
|
|
975
|
+
* @generated from rpc metalstack.api.v2.TenantService.InviteDelete
|
|
976
|
+
*/
|
|
977
|
+
inviteDelete: {
|
|
978
|
+
methodKind: "unary";
|
|
979
|
+
input: typeof TenantServiceInviteDeleteRequestSchema;
|
|
980
|
+
output: typeof TenantServiceInviteDeleteResponseSchema;
|
|
981
|
+
},
|
|
982
|
+
/**
|
|
983
|
+
* InvitesList list all invites to a tenant
|
|
984
|
+
*
|
|
985
|
+
* @generated from rpc metalstack.api.v2.TenantService.InvitesList
|
|
986
|
+
*/
|
|
987
|
+
invitesList: {
|
|
988
|
+
methodKind: "unary";
|
|
989
|
+
input: typeof TenantServiceInvitesListRequestSchema;
|
|
990
|
+
output: typeof TenantServiceInvitesListResponseSchema;
|
|
991
|
+
},
|
|
992
|
+
/**
|
|
993
|
+
* InviteGet get an invite
|
|
994
|
+
*
|
|
995
|
+
* @generated from rpc metalstack.api.v2.TenantService.InviteGet
|
|
996
|
+
*/
|
|
997
|
+
inviteGet: {
|
|
998
|
+
methodKind: "unary";
|
|
999
|
+
input: typeof TenantServiceInviteGetRequestSchema;
|
|
1000
|
+
output: typeof TenantServiceInviteGetResponseSchema;
|
|
1001
|
+
},
|
|
1002
|
+
}> = /*@__PURE__*/
|
|
1003
|
+
serviceDesc(file_metalstack_api_v2_tenant, 0);
|
|
1004
|
+
|