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