@fi-ts/api 0.0.1-alpha.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/buf/validate/validate_pb.d.ts +4766 -0
- package/buf/validate/validate_pb.js +356 -0
- package/buf/validate/validate_pb.ts +4967 -0
- package/fits/api/v1/common_pb.d.ts +372 -0
- package/fits/api/v1/common_pb.js +276 -0
- package/fits/api/v1/common_pb.ts +447 -0
- package/fits/api/v1/health_pb.d.ts +190 -0
- package/fits/api/v1/health_pb.js +100 -0
- package/fits/api/v1/health_pb.ts +229 -0
- package/fits/api/v1/ip_pb.d.ts +549 -0
- package/fits/api/v1/ip_pb.js +137 -0
- package/fits/api/v1/ip_pb.ts +643 -0
- package/fits/api/v1/method_pb.d.ts +116 -0
- package/fits/api/v1/method_pb.js +38 -0
- package/fits/api/v1/method_pb.ts +142 -0
- package/fits/api/v1/partition_pb.d.ts +251 -0
- package/fits/api/v1/partition_pb.js +62 -0
- package/fits/api/v1/partition_pb.ts +300 -0
- package/fits/api/v1/predefined_rules_pb.d.ts +90 -0
- package/fits/api/v1/predefined_rules_pb.js +93 -0
- package/fits/api/v1/predefined_rules_pb.ts +127 -0
- package/fits/api/v1/project_pb.d.ts +366 -0
- package/fits/api/v1/project_pb.js +73 -0
- package/fits/api/v1/project_pb.ts +430 -0
- package/fits/api/v1/tenant_pb.d.ts +370 -0
- package/fits/api/v1/tenant_pb.js +73 -0
- package/fits/api/v1/tenant_pb.ts +435 -0
- package/fits/api/v1/token_pb.d.ts +522 -0
- package/fits/api/v1/token_pb.js +118 -0
- package/fits/api/v1/token_pb.ts +600 -0
- package/fits/api/v1/user_pb.d.ts +108 -0
- package/fits/api/v1/user_pb.js +34 -0
- package/fits/api/v1/user_pb.ts +139 -0
- package/fits/api/v1/version_pb.d.ts +88 -0
- package/fits/api/v1/version_pb.js +32 -0
- package/fits/api/v1/version_pb.ts +114 -0
- package/fits/api/v1/vpn_pb.d.ts +55 -0
- package/fits/api/v1/vpn_pb.js +14 -0
- package/fits/api/v1/vpn_pb.ts +72 -0
- package/package.json +25 -0
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file fits/api/v1/project.proto (package fits.api.v1, 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 { Labels, Meta, UpdateLabels, UpdateMeta } from "./common_pb";
|
|
9
|
+
import { file_fits_api_v1_common } from "./common_pb";
|
|
10
|
+
import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb";
|
|
11
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
12
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the file fits/api/v1/project.proto.
|
|
16
|
+
*/
|
|
17
|
+
export const file_fits_api_v1_project: GenFile = /*@__PURE__*/
|
|
18
|
+
fileDesc("ChlmaXRzL2FwaS92MS9wcm9qZWN0LnByb3RvEgtmaXRzLmFwaS52MSKtAQoHUHJvamVjdBIMCgR1dWlkGAEgASgJEh8KBG1ldGEYAiABKAsyES5maXRzLmFwaS52MS5NZXRhEhkKBG5hbWUYAyABKAlCC7pICHIGwLOusQIBEiAKC2Rlc2NyaXB0aW9uGAQgASgJQgu6SAhyBsizrrECARIOCgZ0ZW5hbnQYBSABKAkSFwoKYXZhdGFyX3VybBgGIAEoCUgAiAEBQg0KC19hdmF0YXJfdXJsIr4BChlQcm9qZWN0U2VydmljZUxpc3RSZXF1ZXN0Eg8KAmlkGAEgASgJSACIAQESHgoEbmFtZRgCIAEoCUILukgIcgbAs66xAgFIA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AFCmAEKD2NvbS5maXRzLmFwaS52MUIMUHJvamVjdFByb3RvUAFaKWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL3YxO2FwaXYxogIDRkFYqgILRml0cy5BcGkuVjHKAgtGaXRzXEFwaVxWMeICF0ZpdHNcQXBpXFYxXEdQQk1ldGFkYXRh6gINRml0czo6QXBpOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules, file_google_protobuf_timestamp]);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Project defines a group of resources belonging to a tenant
|
|
22
|
+
* a tenant can have multiple projects
|
|
23
|
+
*
|
|
24
|
+
* @generated from message fits.api.v1.Project
|
|
25
|
+
*/
|
|
26
|
+
export type Project = Message<"fits.api.v1.Project"> & {
|
|
27
|
+
/**
|
|
28
|
+
* Uuid of this project
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: string uuid = 1;
|
|
31
|
+
*/
|
|
32
|
+
uuid: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Meta for this project
|
|
36
|
+
*
|
|
37
|
+
* @generated from field: fits.api.v1.Meta meta = 2;
|
|
38
|
+
*/
|
|
39
|
+
meta?: Meta | undefined;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Name of this project must be unique per tenant
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: string name = 3;
|
|
45
|
+
*/
|
|
46
|
+
name: string;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Description of this project
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: string description = 4;
|
|
52
|
+
*/
|
|
53
|
+
description: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Tenant this project belongs to
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: string tenant = 5;
|
|
59
|
+
*/
|
|
60
|
+
tenant: string;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* AvatarUrl of the Project
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: optional string avatar_url = 6;
|
|
66
|
+
*/
|
|
67
|
+
avatarUrl?: string | undefined;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message fits.api.v1.Project.
|
|
72
|
+
* Use `create(ProjectSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export const ProjectSchema: GenMessage<Project> = /*@__PURE__*/
|
|
75
|
+
messageDesc(file_fits_api_v1_project, 0);
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* ProjectServiceListRequest is the request payload to list all projects
|
|
79
|
+
*
|
|
80
|
+
* @generated from message fits.api.v1.ProjectServiceListRequest
|
|
81
|
+
*/
|
|
82
|
+
export type ProjectServiceListRequest = Message<"fits.api.v1.ProjectServiceListRequest"> & {
|
|
83
|
+
/**
|
|
84
|
+
* Id lists only projects with this id
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: optional string id = 1;
|
|
87
|
+
*/
|
|
88
|
+
id?: string | undefined;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Name lists only projects with this name
|
|
92
|
+
*
|
|
93
|
+
* @generated from field: optional string name = 2;
|
|
94
|
+
*/
|
|
95
|
+
name?: string | undefined;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Tenant lists only projects of this tenant
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: optional string tenant = 3;
|
|
101
|
+
*/
|
|
102
|
+
tenant?: string | undefined;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Labels lists only projects containing the given labels
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: optional fits.api.v1.Labels labels = 4;
|
|
108
|
+
*/
|
|
109
|
+
labels?: Labels | undefined;
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Describes the message fits.api.v1.ProjectServiceListRequest.
|
|
114
|
+
* Use `create(ProjectServiceListRequestSchema)` to create a new message.
|
|
115
|
+
*/
|
|
116
|
+
export const ProjectServiceListRequestSchema: GenMessage<ProjectServiceListRequest> = /*@__PURE__*/
|
|
117
|
+
messageDesc(file_fits_api_v1_project, 1);
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* ProjectServiceListResponse is the response payload to list all projects
|
|
121
|
+
*
|
|
122
|
+
* @generated from message fits.api.v1.ProjectServiceListResponse
|
|
123
|
+
*/
|
|
124
|
+
export type ProjectServiceListResponse = Message<"fits.api.v1.ProjectServiceListResponse"> & {
|
|
125
|
+
/**
|
|
126
|
+
* Projects is a list of all your projects
|
|
127
|
+
*
|
|
128
|
+
* @generated from field: repeated fits.api.v1.Project projects = 1;
|
|
129
|
+
*/
|
|
130
|
+
projects: Project[];
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Describes the message fits.api.v1.ProjectServiceListResponse.
|
|
135
|
+
* Use `create(ProjectServiceListResponseSchema)` to create a new message.
|
|
136
|
+
*/
|
|
137
|
+
export const ProjectServiceListResponseSchema: GenMessage<ProjectServiceListResponse> = /*@__PURE__*/
|
|
138
|
+
messageDesc(file_fits_api_v1_project, 2);
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* ProjectServiceGetRequest is the request payload to get a project
|
|
142
|
+
*
|
|
143
|
+
* @generated from message fits.api.v1.ProjectServiceGetRequest
|
|
144
|
+
*/
|
|
145
|
+
export type ProjectServiceGetRequest = Message<"fits.api.v1.ProjectServiceGetRequest"> & {
|
|
146
|
+
/**
|
|
147
|
+
* Project is the uuid of the project to get
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: string project = 1;
|
|
150
|
+
*/
|
|
151
|
+
project: string;
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Describes the message fits.api.v1.ProjectServiceGetRequest.
|
|
156
|
+
* Use `create(ProjectServiceGetRequestSchema)` to create a new message.
|
|
157
|
+
*/
|
|
158
|
+
export const ProjectServiceGetRequestSchema: GenMessage<ProjectServiceGetRequest> = /*@__PURE__*/
|
|
159
|
+
messageDesc(file_fits_api_v1_project, 3);
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* ProjectServiceGetResponse is the response payload to get a projects
|
|
163
|
+
*
|
|
164
|
+
* @generated from message fits.api.v1.ProjectServiceGetResponse
|
|
165
|
+
*/
|
|
166
|
+
export type ProjectServiceGetResponse = Message<"fits.api.v1.ProjectServiceGetResponse"> & {
|
|
167
|
+
/**
|
|
168
|
+
* Project is the project
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: fits.api.v1.Project project = 1;
|
|
171
|
+
*/
|
|
172
|
+
project?: Project | undefined;
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Describes the message fits.api.v1.ProjectServiceGetResponse.
|
|
177
|
+
* Use `create(ProjectServiceGetResponseSchema)` to create a new message.
|
|
178
|
+
*/
|
|
179
|
+
export const ProjectServiceGetResponseSchema: GenMessage<ProjectServiceGetResponse> = /*@__PURE__*/
|
|
180
|
+
messageDesc(file_fits_api_v1_project, 4);
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* ProjectServiceCreateRequest is the request payload to Create a project
|
|
184
|
+
*
|
|
185
|
+
* @generated from message fits.api.v1.ProjectServiceCreateRequest
|
|
186
|
+
*/
|
|
187
|
+
export type ProjectServiceCreateRequest = Message<"fits.api.v1.ProjectServiceCreateRequest"> & {
|
|
188
|
+
/**
|
|
189
|
+
* Login is the tenant of this project
|
|
190
|
+
* TODO: is login really a good name?
|
|
191
|
+
*
|
|
192
|
+
* @generated from field: string login = 1;
|
|
193
|
+
*/
|
|
194
|
+
login: string;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Name of this project, unique per tenant
|
|
198
|
+
*
|
|
199
|
+
* @generated from field: string name = 2;
|
|
200
|
+
*/
|
|
201
|
+
name: string;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Description of this project
|
|
205
|
+
*
|
|
206
|
+
* @generated from field: string description = 3;
|
|
207
|
+
*/
|
|
208
|
+
description: string;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Avatar URL of the project
|
|
212
|
+
*
|
|
213
|
+
* @generated from field: optional string avatar_url = 4;
|
|
214
|
+
*/
|
|
215
|
+
avatarUrl?: string | undefined;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Labels on the project
|
|
219
|
+
*
|
|
220
|
+
* @generated from field: fits.api.v1.Labels labels = 5;
|
|
221
|
+
*/
|
|
222
|
+
labels?: Labels | undefined;
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Describes the message fits.api.v1.ProjectServiceCreateRequest.
|
|
227
|
+
* Use `create(ProjectServiceCreateRequestSchema)` to create a new message.
|
|
228
|
+
*/
|
|
229
|
+
export const ProjectServiceCreateRequestSchema: GenMessage<ProjectServiceCreateRequest> = /*@__PURE__*/
|
|
230
|
+
messageDesc(file_fits_api_v1_project, 5);
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* ProjectServiceCreateResponse is the response payload of creation of a project
|
|
234
|
+
*
|
|
235
|
+
* @generated from message fits.api.v1.ProjectServiceCreateResponse
|
|
236
|
+
*/
|
|
237
|
+
export type ProjectServiceCreateResponse = Message<"fits.api.v1.ProjectServiceCreateResponse"> & {
|
|
238
|
+
/**
|
|
239
|
+
* Project is the project
|
|
240
|
+
*
|
|
241
|
+
* @generated from field: fits.api.v1.Project project = 1;
|
|
242
|
+
*/
|
|
243
|
+
project?: Project | undefined;
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Describes the message fits.api.v1.ProjectServiceCreateResponse.
|
|
248
|
+
* Use `create(ProjectServiceCreateResponseSchema)` to create a new message.
|
|
249
|
+
*/
|
|
250
|
+
export const ProjectServiceCreateResponseSchema: GenMessage<ProjectServiceCreateResponse> = /*@__PURE__*/
|
|
251
|
+
messageDesc(file_fits_api_v1_project, 6);
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* ProjectServiceDeleteRequest is the request payload to delete a project
|
|
255
|
+
*
|
|
256
|
+
* @generated from message fits.api.v1.ProjectServiceDeleteRequest
|
|
257
|
+
*/
|
|
258
|
+
export type ProjectServiceDeleteRequest = Message<"fits.api.v1.ProjectServiceDeleteRequest"> & {
|
|
259
|
+
/**
|
|
260
|
+
* Project is the uuid of the project to get
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: string project = 1;
|
|
263
|
+
*/
|
|
264
|
+
project: string;
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Describes the message fits.api.v1.ProjectServiceDeleteRequest.
|
|
269
|
+
* Use `create(ProjectServiceDeleteRequestSchema)` to create a new message.
|
|
270
|
+
*/
|
|
271
|
+
export const ProjectServiceDeleteRequestSchema: GenMessage<ProjectServiceDeleteRequest> = /*@__PURE__*/
|
|
272
|
+
messageDesc(file_fits_api_v1_project, 7);
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* ProjectServiceDeleteResponse is the response payload to delete a project
|
|
276
|
+
*
|
|
277
|
+
* @generated from message fits.api.v1.ProjectServiceDeleteResponse
|
|
278
|
+
*/
|
|
279
|
+
export type ProjectServiceDeleteResponse = Message<"fits.api.v1.ProjectServiceDeleteResponse"> & {
|
|
280
|
+
/**
|
|
281
|
+
* Project is the project
|
|
282
|
+
*
|
|
283
|
+
* @generated from field: fits.api.v1.Project project = 1;
|
|
284
|
+
*/
|
|
285
|
+
project?: Project | undefined;
|
|
286
|
+
};
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Describes the message fits.api.v1.ProjectServiceDeleteResponse.
|
|
290
|
+
* Use `create(ProjectServiceDeleteResponseSchema)` to create a new message.
|
|
291
|
+
*/
|
|
292
|
+
export const ProjectServiceDeleteResponseSchema: GenMessage<ProjectServiceDeleteResponse> = /*@__PURE__*/
|
|
293
|
+
messageDesc(file_fits_api_v1_project, 8);
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* ProjectServiceUpdateRequest is the request payload to update a project
|
|
297
|
+
*
|
|
298
|
+
* @generated from message fits.api.v1.ProjectServiceUpdateRequest
|
|
299
|
+
*/
|
|
300
|
+
export type ProjectServiceUpdateRequest = Message<"fits.api.v1.ProjectServiceUpdateRequest"> & {
|
|
301
|
+
/**
|
|
302
|
+
* Project is the uuid of the project to get
|
|
303
|
+
*
|
|
304
|
+
* @generated from field: string project = 1;
|
|
305
|
+
*/
|
|
306
|
+
project: string;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
310
|
+
*
|
|
311
|
+
* @generated from field: fits.api.v1.UpdateMeta update_meta = 2;
|
|
312
|
+
*/
|
|
313
|
+
updateMeta?: UpdateMeta | undefined;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Name of this project unique per tenant
|
|
317
|
+
*
|
|
318
|
+
* @generated from field: optional string name = 3;
|
|
319
|
+
*/
|
|
320
|
+
name?: string | undefined;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Description of this project
|
|
324
|
+
*
|
|
325
|
+
* @generated from field: optional string description = 4;
|
|
326
|
+
*/
|
|
327
|
+
description?: string | undefined;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Avatar URL of the project
|
|
331
|
+
*
|
|
332
|
+
* @generated from field: optional string avatar_url = 5;
|
|
333
|
+
*/
|
|
334
|
+
avatarUrl?: string | undefined;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Labels on this project
|
|
338
|
+
*
|
|
339
|
+
* @generated from field: optional fits.api.v1.UpdateLabels labels = 6;
|
|
340
|
+
*/
|
|
341
|
+
labels?: UpdateLabels | undefined;
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Describes the message fits.api.v1.ProjectServiceUpdateRequest.
|
|
346
|
+
* Use `create(ProjectServiceUpdateRequestSchema)` to create a new message.
|
|
347
|
+
*/
|
|
348
|
+
export const ProjectServiceUpdateRequestSchema: GenMessage<ProjectServiceUpdateRequest> = /*@__PURE__*/
|
|
349
|
+
messageDesc(file_fits_api_v1_project, 9);
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* ProjectServiceUpdateResponse is the response payload to update a project
|
|
353
|
+
*
|
|
354
|
+
* @generated from message fits.api.v1.ProjectServiceUpdateResponse
|
|
355
|
+
*/
|
|
356
|
+
export type ProjectServiceUpdateResponse = Message<"fits.api.v1.ProjectServiceUpdateResponse"> & {
|
|
357
|
+
/**
|
|
358
|
+
* Project is the project
|
|
359
|
+
*
|
|
360
|
+
* @generated from field: fits.api.v1.Project project = 1;
|
|
361
|
+
*/
|
|
362
|
+
project?: Project | undefined;
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Describes the message fits.api.v1.ProjectServiceUpdateResponse.
|
|
367
|
+
* Use `create(ProjectServiceUpdateResponseSchema)` to create a new message.
|
|
368
|
+
*/
|
|
369
|
+
export const ProjectServiceUpdateResponseSchema: GenMessage<ProjectServiceUpdateResponse> = /*@__PURE__*/
|
|
370
|
+
messageDesc(file_fits_api_v1_project, 10);
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* ProjectService provides project management operations.
|
|
374
|
+
*
|
|
375
|
+
* @generated from service fits.api.v1.ProjectService
|
|
376
|
+
*/
|
|
377
|
+
export const ProjectService: GenService<{
|
|
378
|
+
/**
|
|
379
|
+
* Returns the list of all accessible projects.
|
|
380
|
+
*
|
|
381
|
+
* @generated from rpc fits.api.v1.ProjectService.List
|
|
382
|
+
*/
|
|
383
|
+
list: {
|
|
384
|
+
methodKind: "unary";
|
|
385
|
+
input: typeof ProjectServiceListRequestSchema;
|
|
386
|
+
output: typeof ProjectServiceListResponseSchema;
|
|
387
|
+
},
|
|
388
|
+
/**
|
|
389
|
+
* Returns the project with the specified UUID.
|
|
390
|
+
*
|
|
391
|
+
* @generated from rpc fits.api.v1.ProjectService.Get
|
|
392
|
+
*/
|
|
393
|
+
get: {
|
|
394
|
+
methodKind: "unary";
|
|
395
|
+
input: typeof ProjectServiceGetRequestSchema;
|
|
396
|
+
output: typeof ProjectServiceGetResponseSchema;
|
|
397
|
+
},
|
|
398
|
+
/**
|
|
399
|
+
* Create a project
|
|
400
|
+
*
|
|
401
|
+
* @generated from rpc fits.api.v1.ProjectService.Create
|
|
402
|
+
*/
|
|
403
|
+
create: {
|
|
404
|
+
methodKind: "unary";
|
|
405
|
+
input: typeof ProjectServiceCreateRequestSchema;
|
|
406
|
+
output: typeof ProjectServiceCreateResponseSchema;
|
|
407
|
+
},
|
|
408
|
+
/**
|
|
409
|
+
* Delete a project
|
|
410
|
+
*
|
|
411
|
+
* @generated from rpc fits.api.v1.ProjectService.Delete
|
|
412
|
+
*/
|
|
413
|
+
delete: {
|
|
414
|
+
methodKind: "unary";
|
|
415
|
+
input: typeof ProjectServiceDeleteRequestSchema;
|
|
416
|
+
output: typeof ProjectServiceDeleteResponseSchema;
|
|
417
|
+
},
|
|
418
|
+
/**
|
|
419
|
+
* Update a project
|
|
420
|
+
*
|
|
421
|
+
* @generated from rpc fits.api.v1.ProjectService.Update
|
|
422
|
+
*/
|
|
423
|
+
update: {
|
|
424
|
+
methodKind: "unary";
|
|
425
|
+
input: typeof ProjectServiceUpdateRequestSchema;
|
|
426
|
+
output: typeof ProjectServiceUpdateResponseSchema;
|
|
427
|
+
},
|
|
428
|
+
}> = /*@__PURE__*/
|
|
429
|
+
serviceDesc(file_fits_api_v1_project, 0);
|
|
430
|
+
|