@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,862 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Labels, Meta, ProjectRole, UpdateLabels, UpdateMeta } from "./common_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file metalstack/api/v2/project.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_metalstack_api_v2_project: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* Project defines a group of resources belonging to a tenant
|
|
11
|
+
* a tenant can have multiple projects
|
|
12
|
+
*
|
|
13
|
+
* @generated from message metalstack.api.v2.Project
|
|
14
|
+
*/
|
|
15
|
+
export type Project = Message<"metalstack.api.v2.Project"> & {
|
|
16
|
+
/**
|
|
17
|
+
* Uuid of this project
|
|
18
|
+
*
|
|
19
|
+
* @generated from field: string uuid = 1;
|
|
20
|
+
*/
|
|
21
|
+
uuid: string;
|
|
22
|
+
/**
|
|
23
|
+
* Meta for this project
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: metalstack.api.v2.Meta meta = 2;
|
|
26
|
+
*/
|
|
27
|
+
meta?: Meta;
|
|
28
|
+
/**
|
|
29
|
+
* Name of this project must be unique per tenant
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: string name = 3;
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* Description of this project
|
|
36
|
+
*
|
|
37
|
+
* @generated from field: string description = 4;
|
|
38
|
+
*/
|
|
39
|
+
description: string;
|
|
40
|
+
/**
|
|
41
|
+
* Tenant this project belongs to
|
|
42
|
+
*
|
|
43
|
+
* @generated from field: string tenant = 5;
|
|
44
|
+
*/
|
|
45
|
+
tenant: string;
|
|
46
|
+
/**
|
|
47
|
+
* AvatarUrl of the Project
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: optional string avatar_url = 6;
|
|
50
|
+
*/
|
|
51
|
+
avatarUrl?: string;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Describes the message metalstack.api.v2.Project.
|
|
55
|
+
* Use `create(ProjectSchema)` to create a new message.
|
|
56
|
+
*/
|
|
57
|
+
export declare const ProjectSchema: GenMessage<Project>;
|
|
58
|
+
/**
|
|
59
|
+
* ProjectMember defines a user that participates at a project
|
|
60
|
+
*
|
|
61
|
+
* @generated from message metalstack.api.v2.ProjectMember
|
|
62
|
+
*/
|
|
63
|
+
export type ProjectMember = Message<"metalstack.api.v2.ProjectMember"> & {
|
|
64
|
+
/**
|
|
65
|
+
* Id is the user id of the member
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: string id = 1;
|
|
68
|
+
*/
|
|
69
|
+
id: string;
|
|
70
|
+
/**
|
|
71
|
+
* Role is the role of the member
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: metalstack.api.v2.ProjectRole role = 2;
|
|
74
|
+
*/
|
|
75
|
+
role: ProjectRole;
|
|
76
|
+
/**
|
|
77
|
+
* InheritedMembership indicates that this member has implicit permissions on the project through his membership within the tenant.
|
|
78
|
+
* This member does not have direct project membership but gains permissions on this project from the role he has in the tenant.
|
|
79
|
+
* Inherited memberships are not included in member lists for users with guest permission but only for direct tenant members.
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: bool inherited_membership = 3;
|
|
82
|
+
*/
|
|
83
|
+
inheritedMembership: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* CreatedAt the date when the member was added to the project
|
|
86
|
+
*
|
|
87
|
+
* @generated from field: google.protobuf.Timestamp created_at = 10;
|
|
88
|
+
*/
|
|
89
|
+
createdAt?: Timestamp;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Describes the message metalstack.api.v2.ProjectMember.
|
|
93
|
+
* Use `create(ProjectMemberSchema)` to create a new message.
|
|
94
|
+
*/
|
|
95
|
+
export declare const ProjectMemberSchema: GenMessage<ProjectMember>;
|
|
96
|
+
/**
|
|
97
|
+
* ProjectInvite defines invite to project
|
|
98
|
+
*
|
|
99
|
+
* @generated from message metalstack.api.v2.ProjectInvite
|
|
100
|
+
*/
|
|
101
|
+
export type ProjectInvite = Message<"metalstack.api.v2.ProjectInvite"> & {
|
|
102
|
+
/**
|
|
103
|
+
* Secret is the secret part of the invite, typically part of the url
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: string secret = 1;
|
|
106
|
+
*/
|
|
107
|
+
secret: string;
|
|
108
|
+
/**
|
|
109
|
+
* Project is the project id for which this invite was created
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: string project = 2;
|
|
112
|
+
*/
|
|
113
|
+
project: string;
|
|
114
|
+
/**
|
|
115
|
+
* Role is the role in this project the user will get after accepting the invitation
|
|
116
|
+
*
|
|
117
|
+
* @generated from field: metalstack.api.v2.ProjectRole role = 3;
|
|
118
|
+
*/
|
|
119
|
+
role: ProjectRole;
|
|
120
|
+
/**
|
|
121
|
+
* Joined is false as long as a user has not accepted the invite
|
|
122
|
+
*
|
|
123
|
+
* @generated from field: bool joined = 4;
|
|
124
|
+
*/
|
|
125
|
+
joined: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* ProjectName is the project name for which this invite was created
|
|
128
|
+
*
|
|
129
|
+
* @generated from field: string project_name = 5;
|
|
130
|
+
*/
|
|
131
|
+
projectName: string;
|
|
132
|
+
/**
|
|
133
|
+
* Tenant is the login of tenant who invites to join this project
|
|
134
|
+
*
|
|
135
|
+
* @generated from field: string tenant = 6;
|
|
136
|
+
*/
|
|
137
|
+
tenant: string;
|
|
138
|
+
/**
|
|
139
|
+
* TenantName is the name of tenant who invites to join this project
|
|
140
|
+
*
|
|
141
|
+
* @generated from field: string tenant_name = 7;
|
|
142
|
+
*/
|
|
143
|
+
tenantName: string;
|
|
144
|
+
/**
|
|
145
|
+
* ExpiresAt the date when this invite expires
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 10;
|
|
148
|
+
*/
|
|
149
|
+
expiresAt?: Timestamp;
|
|
150
|
+
/**
|
|
151
|
+
* JoinedAt the date when the member accepted this invite
|
|
152
|
+
*
|
|
153
|
+
* @generated from field: google.protobuf.Timestamp joined_at = 11;
|
|
154
|
+
*/
|
|
155
|
+
joinedAt?: Timestamp;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Describes the message metalstack.api.v2.ProjectInvite.
|
|
159
|
+
* Use `create(ProjectInviteSchema)` to create a new message.
|
|
160
|
+
*/
|
|
161
|
+
export declare const ProjectInviteSchema: GenMessage<ProjectInvite>;
|
|
162
|
+
/**
|
|
163
|
+
* ProjectServiceListRequest is the request payload to list all projects
|
|
164
|
+
*
|
|
165
|
+
* @generated from message metalstack.api.v2.ProjectServiceListRequest
|
|
166
|
+
*/
|
|
167
|
+
export type ProjectServiceListRequest = Message<"metalstack.api.v2.ProjectServiceListRequest"> & {
|
|
168
|
+
/**
|
|
169
|
+
* Id lists only projects with this id
|
|
170
|
+
*
|
|
171
|
+
* @generated from field: optional string id = 1;
|
|
172
|
+
*/
|
|
173
|
+
id?: string;
|
|
174
|
+
/**
|
|
175
|
+
* Name lists only projects with this name
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: optional string name = 2;
|
|
178
|
+
*/
|
|
179
|
+
name?: string;
|
|
180
|
+
/**
|
|
181
|
+
* Tenant lists only projects of this tenant
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: optional string tenant = 3;
|
|
184
|
+
*/
|
|
185
|
+
tenant?: string;
|
|
186
|
+
/**
|
|
187
|
+
* Labels lists only projects containing the given labels
|
|
188
|
+
*
|
|
189
|
+
* @generated from field: optional metalstack.api.v2.Labels labels = 6;
|
|
190
|
+
*/
|
|
191
|
+
labels?: Labels;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Describes the message metalstack.api.v2.ProjectServiceListRequest.
|
|
195
|
+
* Use `create(ProjectServiceListRequestSchema)` to create a new message.
|
|
196
|
+
*/
|
|
197
|
+
export declare const ProjectServiceListRequestSchema: GenMessage<ProjectServiceListRequest>;
|
|
198
|
+
/**
|
|
199
|
+
* ProjectServiceListResponse is the response payload to list all projects
|
|
200
|
+
*
|
|
201
|
+
* @generated from message metalstack.api.v2.ProjectServiceListResponse
|
|
202
|
+
*/
|
|
203
|
+
export type ProjectServiceListResponse = Message<"metalstack.api.v2.ProjectServiceListResponse"> & {
|
|
204
|
+
/**
|
|
205
|
+
* Projects is a list of all your projects
|
|
206
|
+
*
|
|
207
|
+
* @generated from field: repeated metalstack.api.v2.Project projects = 1;
|
|
208
|
+
*/
|
|
209
|
+
projects: Project[];
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* Describes the message metalstack.api.v2.ProjectServiceListResponse.
|
|
213
|
+
* Use `create(ProjectServiceListResponseSchema)` to create a new message.
|
|
214
|
+
*/
|
|
215
|
+
export declare const ProjectServiceListResponseSchema: GenMessage<ProjectServiceListResponse>;
|
|
216
|
+
/**
|
|
217
|
+
* ProjectServiceGetRequest is the request payload to get a project
|
|
218
|
+
*
|
|
219
|
+
* @generated from message metalstack.api.v2.ProjectServiceGetRequest
|
|
220
|
+
*/
|
|
221
|
+
export type ProjectServiceGetRequest = Message<"metalstack.api.v2.ProjectServiceGetRequest"> & {
|
|
222
|
+
/**
|
|
223
|
+
* Project is the uuid of the project to get
|
|
224
|
+
*
|
|
225
|
+
* @generated from field: string project = 1;
|
|
226
|
+
*/
|
|
227
|
+
project: string;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Describes the message metalstack.api.v2.ProjectServiceGetRequest.
|
|
231
|
+
* Use `create(ProjectServiceGetRequestSchema)` to create a new message.
|
|
232
|
+
*/
|
|
233
|
+
export declare const ProjectServiceGetRequestSchema: GenMessage<ProjectServiceGetRequest>;
|
|
234
|
+
/**
|
|
235
|
+
* ProjectServiceGetResponse is the response payload to get a projects
|
|
236
|
+
*
|
|
237
|
+
* @generated from message metalstack.api.v2.ProjectServiceGetResponse
|
|
238
|
+
*/
|
|
239
|
+
export type ProjectServiceGetResponse = Message<"metalstack.api.v2.ProjectServiceGetResponse"> & {
|
|
240
|
+
/**
|
|
241
|
+
* Project is the project
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: metalstack.api.v2.Project project = 1;
|
|
244
|
+
*/
|
|
245
|
+
project?: Project;
|
|
246
|
+
/**
|
|
247
|
+
* ProjectMembers in this project, projects guests will only see direct project members and not implicit memberships from tenant permissions
|
|
248
|
+
*
|
|
249
|
+
* @generated from field: repeated metalstack.api.v2.ProjectMember project_members = 2;
|
|
250
|
+
*/
|
|
251
|
+
projectMembers: ProjectMember[];
|
|
252
|
+
};
|
|
253
|
+
/**
|
|
254
|
+
* Describes the message metalstack.api.v2.ProjectServiceGetResponse.
|
|
255
|
+
* Use `create(ProjectServiceGetResponseSchema)` to create a new message.
|
|
256
|
+
*/
|
|
257
|
+
export declare const ProjectServiceGetResponseSchema: GenMessage<ProjectServiceGetResponse>;
|
|
258
|
+
/**
|
|
259
|
+
* ProjectServiceCreateRequest is the request payload to Create a project
|
|
260
|
+
*
|
|
261
|
+
* @generated from message metalstack.api.v2.ProjectServiceCreateRequest
|
|
262
|
+
*/
|
|
263
|
+
export type ProjectServiceCreateRequest = Message<"metalstack.api.v2.ProjectServiceCreateRequest"> & {
|
|
264
|
+
/**
|
|
265
|
+
* Login is the tenant of this project
|
|
266
|
+
* TODO: is login really a good name?
|
|
267
|
+
*
|
|
268
|
+
* @generated from field: string login = 1;
|
|
269
|
+
*/
|
|
270
|
+
login: string;
|
|
271
|
+
/**
|
|
272
|
+
* Name of this project, unique per tenant
|
|
273
|
+
*
|
|
274
|
+
* @generated from field: string name = 2;
|
|
275
|
+
*/
|
|
276
|
+
name: string;
|
|
277
|
+
/**
|
|
278
|
+
* Description of this project
|
|
279
|
+
*
|
|
280
|
+
* @generated from field: string description = 3;
|
|
281
|
+
*/
|
|
282
|
+
description: string;
|
|
283
|
+
/**
|
|
284
|
+
* Avatar URL of the project
|
|
285
|
+
*
|
|
286
|
+
* @generated from field: optional string avatar_url = 4;
|
|
287
|
+
*/
|
|
288
|
+
avatarUrl?: string;
|
|
289
|
+
/**
|
|
290
|
+
* Labels on the project
|
|
291
|
+
*
|
|
292
|
+
* @generated from field: metalstack.api.v2.Labels labels = 5;
|
|
293
|
+
*/
|
|
294
|
+
labels?: Labels;
|
|
295
|
+
};
|
|
296
|
+
/**
|
|
297
|
+
* Describes the message metalstack.api.v2.ProjectServiceCreateRequest.
|
|
298
|
+
* Use `create(ProjectServiceCreateRequestSchema)` to create a new message.
|
|
299
|
+
*/
|
|
300
|
+
export declare const ProjectServiceCreateRequestSchema: GenMessage<ProjectServiceCreateRequest>;
|
|
301
|
+
/**
|
|
302
|
+
* ProjectServiceCreateResponse is the response payload of creation of a project
|
|
303
|
+
*
|
|
304
|
+
* @generated from message metalstack.api.v2.ProjectServiceCreateResponse
|
|
305
|
+
*/
|
|
306
|
+
export type ProjectServiceCreateResponse = Message<"metalstack.api.v2.ProjectServiceCreateResponse"> & {
|
|
307
|
+
/**
|
|
308
|
+
* Project is the project
|
|
309
|
+
*
|
|
310
|
+
* @generated from field: metalstack.api.v2.Project project = 1;
|
|
311
|
+
*/
|
|
312
|
+
project?: Project;
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* Describes the message metalstack.api.v2.ProjectServiceCreateResponse.
|
|
316
|
+
* Use `create(ProjectServiceCreateResponseSchema)` to create a new message.
|
|
317
|
+
*/
|
|
318
|
+
export declare const ProjectServiceCreateResponseSchema: GenMessage<ProjectServiceCreateResponse>;
|
|
319
|
+
/**
|
|
320
|
+
* ProjectServiceDeleteRequest is the request payload to delete a project
|
|
321
|
+
*
|
|
322
|
+
* @generated from message metalstack.api.v2.ProjectServiceDeleteRequest
|
|
323
|
+
*/
|
|
324
|
+
export type ProjectServiceDeleteRequest = Message<"metalstack.api.v2.ProjectServiceDeleteRequest"> & {
|
|
325
|
+
/**
|
|
326
|
+
* Project is the uuid of the project to get
|
|
327
|
+
*
|
|
328
|
+
* @generated from field: string project = 1;
|
|
329
|
+
*/
|
|
330
|
+
project: string;
|
|
331
|
+
};
|
|
332
|
+
/**
|
|
333
|
+
* Describes the message metalstack.api.v2.ProjectServiceDeleteRequest.
|
|
334
|
+
* Use `create(ProjectServiceDeleteRequestSchema)` to create a new message.
|
|
335
|
+
*/
|
|
336
|
+
export declare const ProjectServiceDeleteRequestSchema: GenMessage<ProjectServiceDeleteRequest>;
|
|
337
|
+
/**
|
|
338
|
+
* ProjectServiceDeleteResponse is the response payload to delete a project
|
|
339
|
+
*
|
|
340
|
+
* @generated from message metalstack.api.v2.ProjectServiceDeleteResponse
|
|
341
|
+
*/
|
|
342
|
+
export type ProjectServiceDeleteResponse = Message<"metalstack.api.v2.ProjectServiceDeleteResponse"> & {
|
|
343
|
+
/**
|
|
344
|
+
* Project is the project
|
|
345
|
+
*
|
|
346
|
+
* @generated from field: metalstack.api.v2.Project project = 1;
|
|
347
|
+
*/
|
|
348
|
+
project?: Project;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Describes the message metalstack.api.v2.ProjectServiceDeleteResponse.
|
|
352
|
+
* Use `create(ProjectServiceDeleteResponseSchema)` to create a new message.
|
|
353
|
+
*/
|
|
354
|
+
export declare const ProjectServiceDeleteResponseSchema: GenMessage<ProjectServiceDeleteResponse>;
|
|
355
|
+
/**
|
|
356
|
+
* ProjectServiceUpdateRequest is the request payload to update a project
|
|
357
|
+
*
|
|
358
|
+
* @generated from message metalstack.api.v2.ProjectServiceUpdateRequest
|
|
359
|
+
*/
|
|
360
|
+
export type ProjectServiceUpdateRequest = Message<"metalstack.api.v2.ProjectServiceUpdateRequest"> & {
|
|
361
|
+
/**
|
|
362
|
+
* Project is the uuid of the project to get
|
|
363
|
+
*
|
|
364
|
+
* @generated from field: string project = 1;
|
|
365
|
+
*/
|
|
366
|
+
project: string;
|
|
367
|
+
/**
|
|
368
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
369
|
+
*
|
|
370
|
+
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
371
|
+
*/
|
|
372
|
+
updateMeta?: UpdateMeta;
|
|
373
|
+
/**
|
|
374
|
+
* Name of this project unique per tenant
|
|
375
|
+
*
|
|
376
|
+
* @generated from field: optional string name = 3;
|
|
377
|
+
*/
|
|
378
|
+
name?: string;
|
|
379
|
+
/**
|
|
380
|
+
* Description of this project
|
|
381
|
+
*
|
|
382
|
+
* @generated from field: optional string description = 4;
|
|
383
|
+
*/
|
|
384
|
+
description?: string;
|
|
385
|
+
/**
|
|
386
|
+
* Avatar URL of the project
|
|
387
|
+
*
|
|
388
|
+
* @generated from field: optional string avatar_url = 5;
|
|
389
|
+
*/
|
|
390
|
+
avatarUrl?: string;
|
|
391
|
+
/**
|
|
392
|
+
* Labels on this project
|
|
393
|
+
*
|
|
394
|
+
* @generated from field: optional metalstack.api.v2.UpdateLabels labels = 6;
|
|
395
|
+
*/
|
|
396
|
+
labels?: UpdateLabels;
|
|
397
|
+
};
|
|
398
|
+
/**
|
|
399
|
+
* Describes the message metalstack.api.v2.ProjectServiceUpdateRequest.
|
|
400
|
+
* Use `create(ProjectServiceUpdateRequestSchema)` to create a new message.
|
|
401
|
+
*/
|
|
402
|
+
export declare const ProjectServiceUpdateRequestSchema: GenMessage<ProjectServiceUpdateRequest>;
|
|
403
|
+
/**
|
|
404
|
+
* ProjectServiceUpdateResponse is the response payload to update a project
|
|
405
|
+
*
|
|
406
|
+
* @generated from message metalstack.api.v2.ProjectServiceUpdateResponse
|
|
407
|
+
*/
|
|
408
|
+
export type ProjectServiceUpdateResponse = Message<"metalstack.api.v2.ProjectServiceUpdateResponse"> & {
|
|
409
|
+
/**
|
|
410
|
+
* Project is the project
|
|
411
|
+
*
|
|
412
|
+
* @generated from field: metalstack.api.v2.Project project = 1;
|
|
413
|
+
*/
|
|
414
|
+
project?: Project;
|
|
415
|
+
};
|
|
416
|
+
/**
|
|
417
|
+
* Describes the message metalstack.api.v2.ProjectServiceUpdateResponse.
|
|
418
|
+
* Use `create(ProjectServiceUpdateResponseSchema)` to create a new message.
|
|
419
|
+
*/
|
|
420
|
+
export declare const ProjectServiceUpdateResponseSchema: GenMessage<ProjectServiceUpdateResponse>;
|
|
421
|
+
/**
|
|
422
|
+
* ProjectServiceInviteRequest is used to invite a member to a project
|
|
423
|
+
*
|
|
424
|
+
* @generated from message metalstack.api.v2.ProjectServiceInviteRequest
|
|
425
|
+
*/
|
|
426
|
+
export type ProjectServiceInviteRequest = Message<"metalstack.api.v2.ProjectServiceInviteRequest"> & {
|
|
427
|
+
/**
|
|
428
|
+
* Project is the uuid of the project
|
|
429
|
+
*
|
|
430
|
+
* @generated from field: string project = 1;
|
|
431
|
+
*/
|
|
432
|
+
project: string;
|
|
433
|
+
/**
|
|
434
|
+
* Role of this user in this project
|
|
435
|
+
*
|
|
436
|
+
* @generated from field: metalstack.api.v2.ProjectRole role = 3;
|
|
437
|
+
*/
|
|
438
|
+
role: ProjectRole;
|
|
439
|
+
};
|
|
440
|
+
/**
|
|
441
|
+
* Describes the message metalstack.api.v2.ProjectServiceInviteRequest.
|
|
442
|
+
* Use `create(ProjectServiceInviteRequestSchema)` to create a new message.
|
|
443
|
+
*/
|
|
444
|
+
export declare const ProjectServiceInviteRequestSchema: GenMessage<ProjectServiceInviteRequest>;
|
|
445
|
+
/**
|
|
446
|
+
* ProjectServiceInviteRequest is the response payload to a invite member request
|
|
447
|
+
*
|
|
448
|
+
* @generated from message metalstack.api.v2.ProjectServiceInviteResponse
|
|
449
|
+
*/
|
|
450
|
+
export type ProjectServiceInviteResponse = Message<"metalstack.api.v2.ProjectServiceInviteResponse"> & {
|
|
451
|
+
/**
|
|
452
|
+
* Inviter contains a secret which can be sent to a potential user
|
|
453
|
+
* can be appended to the invitation endpoint at our cloud console like
|
|
454
|
+
* console.metalstack.cloud/invite/<secret>
|
|
455
|
+
*
|
|
456
|
+
* @generated from field: metalstack.api.v2.ProjectInvite invite = 1;
|
|
457
|
+
*/
|
|
458
|
+
invite?: ProjectInvite;
|
|
459
|
+
};
|
|
460
|
+
/**
|
|
461
|
+
* Describes the message metalstack.api.v2.ProjectServiceInviteResponse.
|
|
462
|
+
* Use `create(ProjectServiceInviteResponseSchema)` to create a new message.
|
|
463
|
+
*/
|
|
464
|
+
export declare const ProjectServiceInviteResponseSchema: GenMessage<ProjectServiceInviteResponse>;
|
|
465
|
+
/**
|
|
466
|
+
* ProjectServiceInvitesListRequest is the request payload to a list invites request
|
|
467
|
+
*
|
|
468
|
+
* @generated from message metalstack.api.v2.ProjectServiceInvitesListRequest
|
|
469
|
+
*/
|
|
470
|
+
export type ProjectServiceInvitesListRequest = Message<"metalstack.api.v2.ProjectServiceInvitesListRequest"> & {
|
|
471
|
+
/**
|
|
472
|
+
* Project is the uuid of the project
|
|
473
|
+
*
|
|
474
|
+
* @generated from field: string project = 1;
|
|
475
|
+
*/
|
|
476
|
+
project: string;
|
|
477
|
+
};
|
|
478
|
+
/**
|
|
479
|
+
* Describes the message metalstack.api.v2.ProjectServiceInvitesListRequest.
|
|
480
|
+
* Use `create(ProjectServiceInvitesListRequestSchema)` to create a new message.
|
|
481
|
+
*/
|
|
482
|
+
export declare const ProjectServiceInvitesListRequestSchema: GenMessage<ProjectServiceInvitesListRequest>;
|
|
483
|
+
/**
|
|
484
|
+
* ProjectServiceInvitesListResponse is the response payload to a list invites request
|
|
485
|
+
*
|
|
486
|
+
* @generated from message metalstack.api.v2.ProjectServiceInvitesListResponse
|
|
487
|
+
*/
|
|
488
|
+
export type ProjectServiceInvitesListResponse = Message<"metalstack.api.v2.ProjectServiceInvitesListResponse"> & {
|
|
489
|
+
/**
|
|
490
|
+
* Invites not already accepted the invitation to this project
|
|
491
|
+
*
|
|
492
|
+
* @generated from field: repeated metalstack.api.v2.ProjectInvite invites = 1;
|
|
493
|
+
*/
|
|
494
|
+
invites: ProjectInvite[];
|
|
495
|
+
};
|
|
496
|
+
/**
|
|
497
|
+
* Describes the message metalstack.api.v2.ProjectServiceInvitesListResponse.
|
|
498
|
+
* Use `create(ProjectServiceInvitesListResponseSchema)` to create a new message.
|
|
499
|
+
*/
|
|
500
|
+
export declare const ProjectServiceInvitesListResponseSchema: GenMessage<ProjectServiceInvitesListResponse>;
|
|
501
|
+
/**
|
|
502
|
+
* ProjectServiceInviteGetRequest is the request payload to get a invite
|
|
503
|
+
*
|
|
504
|
+
* @generated from message metalstack.api.v2.ProjectServiceInviteGetRequest
|
|
505
|
+
*/
|
|
506
|
+
export type ProjectServiceInviteGetRequest = Message<"metalstack.api.v2.ProjectServiceInviteGetRequest"> & {
|
|
507
|
+
/**
|
|
508
|
+
* Secret of the invite to list
|
|
509
|
+
*
|
|
510
|
+
* @generated from field: string secret = 1;
|
|
511
|
+
*/
|
|
512
|
+
secret: string;
|
|
513
|
+
};
|
|
514
|
+
/**
|
|
515
|
+
* Describes the message metalstack.api.v2.ProjectServiceInviteGetRequest.
|
|
516
|
+
* Use `create(ProjectServiceInviteGetRequestSchema)` to create a new message.
|
|
517
|
+
*/
|
|
518
|
+
export declare const ProjectServiceInviteGetRequestSchema: GenMessage<ProjectServiceInviteGetRequest>;
|
|
519
|
+
/**
|
|
520
|
+
* ProjectServiceInviteGetResponse is the response payload to a get invite request
|
|
521
|
+
*
|
|
522
|
+
* @generated from message metalstack.api.v2.ProjectServiceInviteGetResponse
|
|
523
|
+
*/
|
|
524
|
+
export type ProjectServiceInviteGetResponse = Message<"metalstack.api.v2.ProjectServiceInviteGetResponse"> & {
|
|
525
|
+
/**
|
|
526
|
+
* Invite is the invite
|
|
527
|
+
*
|
|
528
|
+
* @generated from field: metalstack.api.v2.ProjectInvite invite = 1;
|
|
529
|
+
*/
|
|
530
|
+
invite?: ProjectInvite;
|
|
531
|
+
};
|
|
532
|
+
/**
|
|
533
|
+
* Describes the message metalstack.api.v2.ProjectServiceInviteGetResponse.
|
|
534
|
+
* Use `create(ProjectServiceInviteGetResponseSchema)` to create a new message.
|
|
535
|
+
*/
|
|
536
|
+
export declare const ProjectServiceInviteGetResponseSchema: GenMessage<ProjectServiceInviteGetResponse>;
|
|
537
|
+
/**
|
|
538
|
+
* ProjectServiceLeaveRequest is used to leave a project
|
|
539
|
+
*
|
|
540
|
+
* @generated from message metalstack.api.v2.ProjectServiceLeaveRequest
|
|
541
|
+
*/
|
|
542
|
+
export type ProjectServiceLeaveRequest = Message<"metalstack.api.v2.ProjectServiceLeaveRequest"> & {
|
|
543
|
+
/**
|
|
544
|
+
* Project is the uuid of the project
|
|
545
|
+
*
|
|
546
|
+
* @generated from field: string project = 1;
|
|
547
|
+
*/
|
|
548
|
+
project: string;
|
|
549
|
+
};
|
|
550
|
+
/**
|
|
551
|
+
* Describes the message metalstack.api.v2.ProjectServiceLeaveRequest.
|
|
552
|
+
* Use `create(ProjectServiceLeaveRequestSchema)` to create a new message.
|
|
553
|
+
*/
|
|
554
|
+
export declare const ProjectServiceLeaveRequestSchema: GenMessage<ProjectServiceLeaveRequest>;
|
|
555
|
+
/**
|
|
556
|
+
* ProjectServiceLeaveResponse is the response payload to a leave project request
|
|
557
|
+
*
|
|
558
|
+
* @generated from message metalstack.api.v2.ProjectServiceLeaveResponse
|
|
559
|
+
*/
|
|
560
|
+
export type ProjectServiceLeaveResponse = Message<"metalstack.api.v2.ProjectServiceLeaveResponse"> & {};
|
|
561
|
+
/**
|
|
562
|
+
* Describes the message metalstack.api.v2.ProjectServiceLeaveResponse.
|
|
563
|
+
* Use `create(ProjectServiceLeaveResponseSchema)` to create a new message.
|
|
564
|
+
*/
|
|
565
|
+
export declare const ProjectServiceLeaveResponseSchema: GenMessage<ProjectServiceLeaveResponse>;
|
|
566
|
+
/**
|
|
567
|
+
* ProjectServiceRemoveMemberRequest is used to remove a member from a project
|
|
568
|
+
*
|
|
569
|
+
* @generated from message metalstack.api.v2.ProjectServiceRemoveMemberRequest
|
|
570
|
+
*/
|
|
571
|
+
export type ProjectServiceRemoveMemberRequest = Message<"metalstack.api.v2.ProjectServiceRemoveMemberRequest"> & {
|
|
572
|
+
/**
|
|
573
|
+
* Project is the uuid of the project
|
|
574
|
+
*
|
|
575
|
+
* @generated from field: string project = 1;
|
|
576
|
+
*/
|
|
577
|
+
project: string;
|
|
578
|
+
/**
|
|
579
|
+
* Member is the id of the member to remove from this project
|
|
580
|
+
*
|
|
581
|
+
* @generated from field: string member = 2;
|
|
582
|
+
*/
|
|
583
|
+
member: string;
|
|
584
|
+
};
|
|
585
|
+
/**
|
|
586
|
+
* Describes the message metalstack.api.v2.ProjectServiceRemoveMemberRequest.
|
|
587
|
+
* Use `create(ProjectServiceRemoveMemberRequestSchema)` to create a new message.
|
|
588
|
+
*/
|
|
589
|
+
export declare const ProjectServiceRemoveMemberRequestSchema: GenMessage<ProjectServiceRemoveMemberRequest>;
|
|
590
|
+
/**
|
|
591
|
+
* ProjectServiceRemoveMemberResponse is the response payload to a remove member request
|
|
592
|
+
*
|
|
593
|
+
* @generated from message metalstack.api.v2.ProjectServiceRemoveMemberResponse
|
|
594
|
+
*/
|
|
595
|
+
export type ProjectServiceRemoveMemberResponse = Message<"metalstack.api.v2.ProjectServiceRemoveMemberResponse"> & {};
|
|
596
|
+
/**
|
|
597
|
+
* Describes the message metalstack.api.v2.ProjectServiceRemoveMemberResponse.
|
|
598
|
+
* Use `create(ProjectServiceRemoveMemberResponseSchema)` to create a new message.
|
|
599
|
+
*/
|
|
600
|
+
export declare const ProjectServiceRemoveMemberResponseSchema: GenMessage<ProjectServiceRemoveMemberResponse>;
|
|
601
|
+
/**
|
|
602
|
+
* ProjectServiceUpdateMemberRequest is used to update a member of a project
|
|
603
|
+
*
|
|
604
|
+
* @generated from message metalstack.api.v2.ProjectServiceUpdateMemberRequest
|
|
605
|
+
*/
|
|
606
|
+
export type ProjectServiceUpdateMemberRequest = Message<"metalstack.api.v2.ProjectServiceUpdateMemberRequest"> & {
|
|
607
|
+
/**
|
|
608
|
+
* Project is the uuid of the project
|
|
609
|
+
*
|
|
610
|
+
* @generated from field: string project = 1;
|
|
611
|
+
*/
|
|
612
|
+
project: string;
|
|
613
|
+
/**
|
|
614
|
+
* Member is the id of the member to remove from this project
|
|
615
|
+
*
|
|
616
|
+
* @generated from field: string member = 2;
|
|
617
|
+
*/
|
|
618
|
+
member: string;
|
|
619
|
+
/**
|
|
620
|
+
* Role is the role in this project the user will get after the update
|
|
621
|
+
*
|
|
622
|
+
* @generated from field: metalstack.api.v2.ProjectRole role = 3;
|
|
623
|
+
*/
|
|
624
|
+
role: ProjectRole;
|
|
625
|
+
};
|
|
626
|
+
/**
|
|
627
|
+
* Describes the message metalstack.api.v2.ProjectServiceUpdateMemberRequest.
|
|
628
|
+
* Use `create(ProjectServiceUpdateMemberRequestSchema)` to create a new message.
|
|
629
|
+
*/
|
|
630
|
+
export declare const ProjectServiceUpdateMemberRequestSchema: GenMessage<ProjectServiceUpdateMemberRequest>;
|
|
631
|
+
/**
|
|
632
|
+
* ProjectServiceUpdateMemberResponse is the response payload to a update member request
|
|
633
|
+
*
|
|
634
|
+
* @generated from message metalstack.api.v2.ProjectServiceUpdateMemberResponse
|
|
635
|
+
*/
|
|
636
|
+
export type ProjectServiceUpdateMemberResponse = Message<"metalstack.api.v2.ProjectServiceUpdateMemberResponse"> & {
|
|
637
|
+
/**
|
|
638
|
+
* ProjectMember is the updated project member
|
|
639
|
+
*
|
|
640
|
+
* @generated from field: metalstack.api.v2.ProjectMember project_member = 5;
|
|
641
|
+
*/
|
|
642
|
+
projectMember?: ProjectMember;
|
|
643
|
+
};
|
|
644
|
+
/**
|
|
645
|
+
* Describes the message metalstack.api.v2.ProjectServiceUpdateMemberResponse.
|
|
646
|
+
* Use `create(ProjectServiceUpdateMemberResponseSchema)` to create a new message.
|
|
647
|
+
*/
|
|
648
|
+
export declare const ProjectServiceUpdateMemberResponseSchema: GenMessage<ProjectServiceUpdateMemberResponse>;
|
|
649
|
+
/**
|
|
650
|
+
* ProjectServiceInviteAcceptRequest is the request payload to a accept invite request
|
|
651
|
+
*
|
|
652
|
+
* @generated from message metalstack.api.v2.ProjectServiceInviteAcceptRequest
|
|
653
|
+
*/
|
|
654
|
+
export type ProjectServiceInviteAcceptRequest = Message<"metalstack.api.v2.ProjectServiceInviteAcceptRequest"> & {
|
|
655
|
+
/**
|
|
656
|
+
* Secret is the invitation secret part of the invitation url
|
|
657
|
+
*
|
|
658
|
+
* @generated from field: string secret = 1;
|
|
659
|
+
*/
|
|
660
|
+
secret: string;
|
|
661
|
+
};
|
|
662
|
+
/**
|
|
663
|
+
* Describes the message metalstack.api.v2.ProjectServiceInviteAcceptRequest.
|
|
664
|
+
* Use `create(ProjectServiceInviteAcceptRequestSchema)` to create a new message.
|
|
665
|
+
*/
|
|
666
|
+
export declare const ProjectServiceInviteAcceptRequestSchema: GenMessage<ProjectServiceInviteAcceptRequest>;
|
|
667
|
+
/**
|
|
668
|
+
* ProjectServiceInvitesListResponse is the response payload to a accept invite request
|
|
669
|
+
*
|
|
670
|
+
* @generated from message metalstack.api.v2.ProjectServiceInviteAcceptResponse
|
|
671
|
+
*/
|
|
672
|
+
export type ProjectServiceInviteAcceptResponse = Message<"metalstack.api.v2.ProjectServiceInviteAcceptResponse"> & {
|
|
673
|
+
/**
|
|
674
|
+
* Project ID of the project joined
|
|
675
|
+
*
|
|
676
|
+
* @generated from field: string project = 1;
|
|
677
|
+
*/
|
|
678
|
+
project: string;
|
|
679
|
+
/**
|
|
680
|
+
* ProjectName if the project joined
|
|
681
|
+
*
|
|
682
|
+
* @generated from field: string project_name = 2;
|
|
683
|
+
*/
|
|
684
|
+
projectName: string;
|
|
685
|
+
};
|
|
686
|
+
/**
|
|
687
|
+
* Describes the message metalstack.api.v2.ProjectServiceInviteAcceptResponse.
|
|
688
|
+
* Use `create(ProjectServiceInviteAcceptResponseSchema)` to create a new message.
|
|
689
|
+
*/
|
|
690
|
+
export declare const ProjectServiceInviteAcceptResponseSchema: GenMessage<ProjectServiceInviteAcceptResponse>;
|
|
691
|
+
/**
|
|
692
|
+
* ProjectServiceInviteDeleteRequest is the request payload to a delete invite
|
|
693
|
+
*
|
|
694
|
+
* @generated from message metalstack.api.v2.ProjectServiceInviteDeleteRequest
|
|
695
|
+
*/
|
|
696
|
+
export type ProjectServiceInviteDeleteRequest = Message<"metalstack.api.v2.ProjectServiceInviteDeleteRequest"> & {
|
|
697
|
+
/**
|
|
698
|
+
* Project is the uuid of the project
|
|
699
|
+
*
|
|
700
|
+
* @generated from field: string project = 1;
|
|
701
|
+
*/
|
|
702
|
+
project: string;
|
|
703
|
+
/**
|
|
704
|
+
* Secret of the invite to delete
|
|
705
|
+
*
|
|
706
|
+
* @generated from field: string secret = 2;
|
|
707
|
+
*/
|
|
708
|
+
secret: string;
|
|
709
|
+
};
|
|
710
|
+
/**
|
|
711
|
+
* Describes the message metalstack.api.v2.ProjectServiceInviteDeleteRequest.
|
|
712
|
+
* Use `create(ProjectServiceInviteDeleteRequestSchema)` to create a new message.
|
|
713
|
+
*/
|
|
714
|
+
export declare const ProjectServiceInviteDeleteRequestSchema: GenMessage<ProjectServiceInviteDeleteRequest>;
|
|
715
|
+
/**
|
|
716
|
+
* ProjectServiceInviteDeleteResponse is the response payload of a delete invite request
|
|
717
|
+
*
|
|
718
|
+
* @generated from message metalstack.api.v2.ProjectServiceInviteDeleteResponse
|
|
719
|
+
*/
|
|
720
|
+
export type ProjectServiceInviteDeleteResponse = Message<"metalstack.api.v2.ProjectServiceInviteDeleteResponse"> & {};
|
|
721
|
+
/**
|
|
722
|
+
* Describes the message metalstack.api.v2.ProjectServiceInviteDeleteResponse.
|
|
723
|
+
* Use `create(ProjectServiceInviteDeleteResponseSchema)` to create a new message.
|
|
724
|
+
*/
|
|
725
|
+
export declare const ProjectServiceInviteDeleteResponseSchema: GenMessage<ProjectServiceInviteDeleteResponse>;
|
|
726
|
+
/**
|
|
727
|
+
* ProjectService serves project related functions
|
|
728
|
+
*
|
|
729
|
+
* @generated from service metalstack.api.v2.ProjectService
|
|
730
|
+
*/
|
|
731
|
+
export declare const ProjectService: GenService<{
|
|
732
|
+
/**
|
|
733
|
+
* List all accessible projects
|
|
734
|
+
*
|
|
735
|
+
* @generated from rpc metalstack.api.v2.ProjectService.List
|
|
736
|
+
*/
|
|
737
|
+
list: {
|
|
738
|
+
methodKind: "unary";
|
|
739
|
+
input: typeof ProjectServiceListRequestSchema;
|
|
740
|
+
output: typeof ProjectServiceListResponseSchema;
|
|
741
|
+
};
|
|
742
|
+
/**
|
|
743
|
+
* Get a project
|
|
744
|
+
*
|
|
745
|
+
* @generated from rpc metalstack.api.v2.ProjectService.Get
|
|
746
|
+
*/
|
|
747
|
+
get: {
|
|
748
|
+
methodKind: "unary";
|
|
749
|
+
input: typeof ProjectServiceGetRequestSchema;
|
|
750
|
+
output: typeof ProjectServiceGetResponseSchema;
|
|
751
|
+
};
|
|
752
|
+
/**
|
|
753
|
+
* Create a project
|
|
754
|
+
*
|
|
755
|
+
* @generated from rpc metalstack.api.v2.ProjectService.Create
|
|
756
|
+
*/
|
|
757
|
+
create: {
|
|
758
|
+
methodKind: "unary";
|
|
759
|
+
input: typeof ProjectServiceCreateRequestSchema;
|
|
760
|
+
output: typeof ProjectServiceCreateResponseSchema;
|
|
761
|
+
};
|
|
762
|
+
/**
|
|
763
|
+
* Delete a project
|
|
764
|
+
*
|
|
765
|
+
* @generated from rpc metalstack.api.v2.ProjectService.Delete
|
|
766
|
+
*/
|
|
767
|
+
delete: {
|
|
768
|
+
methodKind: "unary";
|
|
769
|
+
input: typeof ProjectServiceDeleteRequestSchema;
|
|
770
|
+
output: typeof ProjectServiceDeleteResponseSchema;
|
|
771
|
+
};
|
|
772
|
+
/**
|
|
773
|
+
* Update a project
|
|
774
|
+
*
|
|
775
|
+
* @generated from rpc metalstack.api.v2.ProjectService.Update
|
|
776
|
+
*/
|
|
777
|
+
update: {
|
|
778
|
+
methodKind: "unary";
|
|
779
|
+
input: typeof ProjectServiceUpdateRequestSchema;
|
|
780
|
+
output: typeof ProjectServiceUpdateResponseSchema;
|
|
781
|
+
};
|
|
782
|
+
/**
|
|
783
|
+
* Leave project
|
|
784
|
+
*
|
|
785
|
+
* @generated from rpc metalstack.api.v2.ProjectService.Leave
|
|
786
|
+
*/
|
|
787
|
+
leave: {
|
|
788
|
+
methodKind: "unary";
|
|
789
|
+
input: typeof ProjectServiceLeaveRequestSchema;
|
|
790
|
+
output: typeof ProjectServiceLeaveResponseSchema;
|
|
791
|
+
};
|
|
792
|
+
/**
|
|
793
|
+
* RemoveMember remove a user from a project
|
|
794
|
+
*
|
|
795
|
+
* @generated from rpc metalstack.api.v2.ProjectService.RemoveMember
|
|
796
|
+
*/
|
|
797
|
+
removeMember: {
|
|
798
|
+
methodKind: "unary";
|
|
799
|
+
input: typeof ProjectServiceRemoveMemberRequestSchema;
|
|
800
|
+
output: typeof ProjectServiceRemoveMemberResponseSchema;
|
|
801
|
+
};
|
|
802
|
+
/**
|
|
803
|
+
* UpdateMember update a user for a project
|
|
804
|
+
*
|
|
805
|
+
* @generated from rpc metalstack.api.v2.ProjectService.UpdateMember
|
|
806
|
+
*/
|
|
807
|
+
updateMember: {
|
|
808
|
+
methodKind: "unary";
|
|
809
|
+
input: typeof ProjectServiceUpdateMemberRequestSchema;
|
|
810
|
+
output: typeof ProjectServiceUpdateMemberResponseSchema;
|
|
811
|
+
};
|
|
812
|
+
/**
|
|
813
|
+
* Invite a user to a project
|
|
814
|
+
*
|
|
815
|
+
* @generated from rpc metalstack.api.v2.ProjectService.Invite
|
|
816
|
+
*/
|
|
817
|
+
invite: {
|
|
818
|
+
methodKind: "unary";
|
|
819
|
+
input: typeof ProjectServiceInviteRequestSchema;
|
|
820
|
+
output: typeof ProjectServiceInviteResponseSchema;
|
|
821
|
+
};
|
|
822
|
+
/**
|
|
823
|
+
* InviteAccept is called from a user to accept a invitation
|
|
824
|
+
*
|
|
825
|
+
* @generated from rpc metalstack.api.v2.ProjectService.InviteAccept
|
|
826
|
+
*/
|
|
827
|
+
inviteAccept: {
|
|
828
|
+
methodKind: "unary";
|
|
829
|
+
input: typeof ProjectServiceInviteAcceptRequestSchema;
|
|
830
|
+
output: typeof ProjectServiceInviteAcceptResponseSchema;
|
|
831
|
+
};
|
|
832
|
+
/**
|
|
833
|
+
* InviteDelete deletes a pending invitation
|
|
834
|
+
*
|
|
835
|
+
* @generated from rpc metalstack.api.v2.ProjectService.InviteDelete
|
|
836
|
+
*/
|
|
837
|
+
inviteDelete: {
|
|
838
|
+
methodKind: "unary";
|
|
839
|
+
input: typeof ProjectServiceInviteDeleteRequestSchema;
|
|
840
|
+
output: typeof ProjectServiceInviteDeleteResponseSchema;
|
|
841
|
+
};
|
|
842
|
+
/**
|
|
843
|
+
* InvitesList list all invites to a project
|
|
844
|
+
*
|
|
845
|
+
* @generated from rpc metalstack.api.v2.ProjectService.InvitesList
|
|
846
|
+
*/
|
|
847
|
+
invitesList: {
|
|
848
|
+
methodKind: "unary";
|
|
849
|
+
input: typeof ProjectServiceInvitesListRequestSchema;
|
|
850
|
+
output: typeof ProjectServiceInvitesListResponseSchema;
|
|
851
|
+
};
|
|
852
|
+
/**
|
|
853
|
+
* InviteGet get an invite
|
|
854
|
+
*
|
|
855
|
+
* @generated from rpc metalstack.api.v2.ProjectService.InviteGet
|
|
856
|
+
*/
|
|
857
|
+
inviteGet: {
|
|
858
|
+
methodKind: "unary";
|
|
859
|
+
input: typeof ProjectServiceInviteGetRequestSchema;
|
|
860
|
+
output: typeof ProjectServiceInviteGetResponseSchema;
|
|
861
|
+
};
|
|
862
|
+
}>;
|