@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.
Files changed (40) hide show
  1. package/buf/validate/validate_pb.d.ts +4766 -0
  2. package/buf/validate/validate_pb.js +356 -0
  3. package/buf/validate/validate_pb.ts +4967 -0
  4. package/fits/api/v1/common_pb.d.ts +372 -0
  5. package/fits/api/v1/common_pb.js +276 -0
  6. package/fits/api/v1/common_pb.ts +447 -0
  7. package/fits/api/v1/health_pb.d.ts +190 -0
  8. package/fits/api/v1/health_pb.js +100 -0
  9. package/fits/api/v1/health_pb.ts +229 -0
  10. package/fits/api/v1/ip_pb.d.ts +549 -0
  11. package/fits/api/v1/ip_pb.js +137 -0
  12. package/fits/api/v1/ip_pb.ts +643 -0
  13. package/fits/api/v1/method_pb.d.ts +116 -0
  14. package/fits/api/v1/method_pb.js +38 -0
  15. package/fits/api/v1/method_pb.ts +142 -0
  16. package/fits/api/v1/partition_pb.d.ts +251 -0
  17. package/fits/api/v1/partition_pb.js +62 -0
  18. package/fits/api/v1/partition_pb.ts +300 -0
  19. package/fits/api/v1/predefined_rules_pb.d.ts +90 -0
  20. package/fits/api/v1/predefined_rules_pb.js +93 -0
  21. package/fits/api/v1/predefined_rules_pb.ts +127 -0
  22. package/fits/api/v1/project_pb.d.ts +366 -0
  23. package/fits/api/v1/project_pb.js +73 -0
  24. package/fits/api/v1/project_pb.ts +430 -0
  25. package/fits/api/v1/tenant_pb.d.ts +370 -0
  26. package/fits/api/v1/tenant_pb.js +73 -0
  27. package/fits/api/v1/tenant_pb.ts +435 -0
  28. package/fits/api/v1/token_pb.d.ts +522 -0
  29. package/fits/api/v1/token_pb.js +118 -0
  30. package/fits/api/v1/token_pb.ts +600 -0
  31. package/fits/api/v1/user_pb.d.ts +108 -0
  32. package/fits/api/v1/user_pb.js +34 -0
  33. package/fits/api/v1/user_pb.ts +139 -0
  34. package/fits/api/v1/version_pb.d.ts +88 -0
  35. package/fits/api/v1/version_pb.js +32 -0
  36. package/fits/api/v1/version_pb.ts +114 -0
  37. package/fits/api/v1/vpn_pb.d.ts +55 -0
  38. package/fits/api/v1/vpn_pb.js +14 -0
  39. package/fits/api/v1/vpn_pb.ts +72 -0
  40. package/package.json +25 -0
@@ -0,0 +1,372 @@
1
+ import type { GenEnum, GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { EnumValueOptions, MethodOptions, Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file fits/api/v1/common.proto.
6
+ */
7
+ export declare const file_fits_api_v1_common: GenFile;
8
+ /**
9
+ * Paging defines paging for methods with a lot of results
10
+ *
11
+ * @generated from message fits.api.v1.Paging
12
+ */
13
+ export type Paging = Message<"fits.api.v1.Paging"> & {
14
+ /**
15
+ * Page is used for pagination, if unset only the first page is returned,
16
+ * the list response contains then the page number for the next page.
17
+ *
18
+ * @generated from field: optional uint64 page = 1;
19
+ */
20
+ page?: bigint | undefined;
21
+ /**
22
+ * Count is the number of results returned per page, if not given server side defaults apply
23
+ *
24
+ * @generated from field: optional uint64 count = 2;
25
+ */
26
+ count?: bigint | undefined;
27
+ };
28
+ /**
29
+ * Describes the message fits.api.v1.Paging.
30
+ * Use `create(PagingSchema)` to create a new message.
31
+ */
32
+ export declare const PagingSchema: GenMessage<Paging>;
33
+ /**
34
+ * Labels define additional information to a entity
35
+ *
36
+ * @generated from message fits.api.v1.Labels
37
+ */
38
+ export type Labels = Message<"fits.api.v1.Labels"> & {
39
+ /**
40
+ * Labels consists labels
41
+ *
42
+ * @generated from field: map<string, string> labels = 1;
43
+ */
44
+ labels: {
45
+ [key: string]: string;
46
+ };
47
+ };
48
+ /**
49
+ * Describes the message fits.api.v1.Labels.
50
+ * Use `create(LabelsSchema)` to create a new message.
51
+ */
52
+ export declare const LabelsSchema: GenMessage<Labels>;
53
+ /**
54
+ * Meta of a message
55
+ *
56
+ * @generated from message fits.api.v1.Meta
57
+ */
58
+ export type Meta = Message<"fits.api.v1.Meta"> & {
59
+ /**
60
+ * Tags on this entity
61
+ *
62
+ * @generated from field: optional fits.api.v1.Labels labels = 1;
63
+ */
64
+ labels?: Labels | undefined;
65
+ /**
66
+ * CreatedAt is the date when this entity was created
67
+ *
68
+ * @generated from field: google.protobuf.Timestamp created_at = 2;
69
+ */
70
+ createdAt?: Timestamp | undefined;
71
+ /**
72
+ * UpdatedAt is the date when this entity was updated
73
+ * must be part of the update request to ensure optimistic locking
74
+ *
75
+ * @generated from field: google.protobuf.Timestamp updated_at = 3;
76
+ */
77
+ updatedAt?: Timestamp | undefined;
78
+ /**
79
+ * Generation identifies how often this entity was modified since creation.
80
+ *
81
+ * @generated from field: uint64 generation = 4;
82
+ */
83
+ generation: bigint;
84
+ };
85
+ /**
86
+ * Describes the message fits.api.v1.Meta.
87
+ * Use `create(MetaSchema)` to create a new message.
88
+ */
89
+ export declare const MetaSchema: GenMessage<Meta>;
90
+ /**
91
+ * UpdateLabels is a message to update labels
92
+ *
93
+ * @generated from message fits.api.v1.UpdateLabels
94
+ */
95
+ export type UpdateLabels = Message<"fits.api.v1.UpdateLabels"> & {
96
+ /**
97
+ * Update labels. New ones will be added, existing ones overwritten
98
+ *
99
+ * @generated from field: fits.api.v1.Labels update = 1;
100
+ */
101
+ update?: Labels | undefined;
102
+ /**
103
+ * Remove labels by key
104
+ *
105
+ * @generated from field: repeated string remove = 2;
106
+ */
107
+ remove: string[];
108
+ };
109
+ /**
110
+ * Describes the message fits.api.v1.UpdateLabels.
111
+ * Use `create(UpdateLabelsSchema)` to create a new message.
112
+ */
113
+ export declare const UpdateLabelsSchema: GenMessage<UpdateLabels>;
114
+ /**
115
+ * UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled
116
+ *
117
+ * @generated from message fits.api.v1.UpdateMeta
118
+ */
119
+ export type UpdateMeta = Message<"fits.api.v1.UpdateMeta"> & {
120
+ /**
121
+ * UpdatedAt is the date when this entity was updated
122
+ * must be part of the update request to ensure optimistic locking
123
+ *
124
+ * @generated from field: google.protobuf.Timestamp updated_at = 1;
125
+ */
126
+ updatedAt?: Timestamp | undefined;
127
+ /**
128
+ * LockingStrategy to be used for this update request
129
+ *
130
+ * @generated from field: fits.api.v1.OptimisticLockingStrategy locking_strategy = 2;
131
+ */
132
+ lockingStrategy: OptimisticLockingStrategy;
133
+ };
134
+ /**
135
+ * Describes the message fits.api.v1.UpdateMeta.
136
+ * Use `create(UpdateMetaSchema)` to create a new message.
137
+ */
138
+ export declare const UpdateMetaSchema: GenMessage<UpdateMeta>;
139
+ /**
140
+ * TenantRole specifies what role a logged in user needs to call this tenant scoped service
141
+ *
142
+ * @generated from enum fits.api.v1.TenantRole
143
+ */
144
+ export declare enum TenantRole {
145
+ /**
146
+ * TENANT_ROLE_UNSPECIFIED is not specified
147
+ *
148
+ * @generated from enum value: TENANT_ROLE_UNSPECIFIED = 0;
149
+ */
150
+ UNSPECIFIED = 0,
151
+ /**
152
+ * TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method
153
+ *
154
+ * @generated from enum value: TENANT_ROLE_OWNER = 1;
155
+ */
156
+ OWNER = 1,
157
+ /**
158
+ * TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method
159
+ *
160
+ * @generated from enum value: TENANT_ROLE_EDITOR = 2;
161
+ */
162
+ EDITOR = 2,
163
+ /**
164
+ * TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method
165
+ *
166
+ * @generated from enum value: TENANT_ROLE_VIEWER = 3;
167
+ */
168
+ VIEWER = 3,
169
+ /**
170
+ * TENANT_ROLE_GUEST the logged in user needs at least guest role to call this method
171
+ * The guest role is assumed by users who are invited to a tenant's project without them
172
+ * having a direct membership within the tenant.
173
+ *
174
+ * @generated from enum value: TENANT_ROLE_GUEST = 4;
175
+ */
176
+ GUEST = 4
177
+ }
178
+ /**
179
+ * Describes the enum fits.api.v1.TenantRole.
180
+ */
181
+ export declare const TenantRoleSchema: GenEnum<TenantRole>;
182
+ /**
183
+ * ProjectRole specifies what role a logged in user needs to call this project scoped service
184
+ *
185
+ * @generated from enum fits.api.v1.ProjectRole
186
+ */
187
+ export declare enum ProjectRole {
188
+ /**
189
+ * PROJECT_ROLE_UNSPECIFIED is not specified
190
+ *
191
+ * @generated from enum value: PROJECT_ROLE_UNSPECIFIED = 0;
192
+ */
193
+ UNSPECIFIED = 0,
194
+ /**
195
+ * PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method
196
+ *
197
+ * @generated from enum value: PROJECT_ROLE_OWNER = 1;
198
+ */
199
+ OWNER = 1,
200
+ /**
201
+ * PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method
202
+ *
203
+ * @generated from enum value: PROJECT_ROLE_EDITOR = 2;
204
+ */
205
+ EDITOR = 2,
206
+ /**
207
+ * PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method
208
+ *
209
+ * @generated from enum value: PROJECT_ROLE_VIEWER = 3;
210
+ */
211
+ VIEWER = 3
212
+ }
213
+ /**
214
+ * Describes the enum fits.api.v1.ProjectRole.
215
+ */
216
+ export declare const ProjectRoleSchema: GenEnum<ProjectRole>;
217
+ /**
218
+ * AdminRole specifies what role a logged in user needs to call this admin service
219
+ *
220
+ * @generated from enum fits.api.v1.AdminRole
221
+ */
222
+ export declare enum AdminRole {
223
+ /**
224
+ * ADMIN_ROLE_UNSPECIFIED is not specified
225
+ *
226
+ * @generated from enum value: ADMIN_ROLE_UNSPECIFIED = 0;
227
+ */
228
+ UNSPECIFIED = 0,
229
+ /**
230
+ * ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method
231
+ *
232
+ * @generated from enum value: ADMIN_ROLE_EDITOR = 1;
233
+ */
234
+ EDITOR = 1,
235
+ /**
236
+ * ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method
237
+ *
238
+ * @generated from enum value: ADMIN_ROLE_VIEWER = 2;
239
+ */
240
+ VIEWER = 2
241
+ }
242
+ /**
243
+ * Describes the enum fits.api.v1.AdminRole.
244
+ */
245
+ export declare const AdminRoleSchema: GenEnum<AdminRole>;
246
+ /**
247
+ * Visibility of a method
248
+ *
249
+ * @generated from enum fits.api.v1.Visibility
250
+ */
251
+ export declare enum Visibility {
252
+ /**
253
+ * VISIBILITY_UNSPECIFIED is not defined
254
+ *
255
+ * @generated from enum value: VISIBILITY_UNSPECIFIED = 0;
256
+ */
257
+ UNSPECIFIED = 0,
258
+ /**
259
+ * VISIBILITY_PUBLIC specifies that this service is accessible without authentication
260
+ *
261
+ * @generated from enum value: VISIBILITY_PUBLIC = 1;
262
+ */
263
+ PUBLIC = 1,
264
+ /**
265
+ * VISIBILITY_SELF enable call this endpoint from the authenticated user only
266
+ *
267
+ * @generated from enum value: VISIBILITY_SELF = 2;
268
+ */
269
+ SELF = 2
270
+ }
271
+ /**
272
+ * Describes the enum fits.api.v1.Visibility.
273
+ */
274
+ export declare const VisibilitySchema: GenEnum<Visibility>;
275
+ /**
276
+ * Auditing option specified per service method
277
+ * by default all service methods are included
278
+ * add the auditing option if you want to exclude a method in auditing
279
+ *
280
+ * @generated from enum fits.api.v1.Auditing
281
+ */
282
+ export declare enum Auditing {
283
+ /**
284
+ * AUDITING_UNSPECIFIED is not specified
285
+ *
286
+ * @generated from enum value: AUDITING_UNSPECIFIED = 0;
287
+ */
288
+ UNSPECIFIED = 0,
289
+ /**
290
+ * AUDITING_INCLUDED if a method is annotated with this, all calls are audited
291
+ *
292
+ * @generated from enum value: AUDITING_INCLUDED = 1;
293
+ */
294
+ INCLUDED = 1,
295
+ /**
296
+ * AUDITING_EXCLUDED if a method is annotated with this, no calls are audited
297
+ *
298
+ * @generated from enum value: AUDITING_EXCLUDED = 2;
299
+ */
300
+ EXCLUDED = 2
301
+ }
302
+ /**
303
+ * Describes the enum fits.api.v1.Auditing.
304
+ */
305
+ export declare const AuditingSchema: GenEnum<Auditing>;
306
+ /**
307
+ * OptimisticLockingStrategy defines how optimistic locking should be handled.
308
+ * It defaults to client side, which requires the UpdatedAt timestamp to be provided
309
+ *
310
+ * @generated from enum fits.api.v1.OptimisticLockingStrategy
311
+ */
312
+ export declare enum OptimisticLockingStrategy {
313
+ /**
314
+ * OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side
315
+ *
316
+ * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED = 0;
317
+ */
318
+ UNSPECIFIED = 0,
319
+ /**
320
+ * OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified
321
+ *
322
+ * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_CLIENT = 1;
323
+ */
324
+ CLIENT = 1,
325
+ /**
326
+ * OPTIMISTIC_LOCKING_STRATEGY_SERVER allows to omit UpdatedAt
327
+ * and fetches the most recent entity before updating with the given values with the update request
328
+ *
329
+ * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_SERVER = 2;
330
+ */
331
+ SERVER = 2
332
+ }
333
+ /**
334
+ * Describes the enum fits.api.v1.OptimisticLockingStrategy.
335
+ */
336
+ export declare const OptimisticLockingStrategySchema: GenEnum<OptimisticLockingStrategy>;
337
+ /**
338
+ * TenantRoles are used to define which tenant role a logged in user must provide to call this method
339
+ *
340
+ * @generated from extension: repeated fits.api.v1.TenantRole tenant_roles = 51000;
341
+ */
342
+ export declare const tenant_roles: GenExtension<MethodOptions, TenantRole[]>;
343
+ /**
344
+ * ProjectRoles are used to define which project role a logged in user must provide to call this method
345
+ *
346
+ * @generated from extension: repeated fits.api.v1.ProjectRole project_roles = 51001;
347
+ */
348
+ export declare const project_roles: GenExtension<MethodOptions, ProjectRole[]>;
349
+ /**
350
+ * AdminRoles are used to define which admin role a logged in user must provide to call this method
351
+ *
352
+ * @generated from extension: repeated fits.api.v1.AdminRole admin_roles = 51002;
353
+ */
354
+ export declare const admin_roles: GenExtension<MethodOptions, AdminRole[]>;
355
+ /**
356
+ * Visibility defines the visibility of this method, this is used to have public or self visible methods
357
+ *
358
+ * @generated from extension: fits.api.v1.Visibility visibility = 51003;
359
+ */
360
+ export declare const visibility: GenExtension<MethodOptions, Visibility>;
361
+ /**
362
+ * Auditing defines if calls to this method should be audited or not
363
+ *
364
+ * @generated from extension: fits.api.v1.Auditing auditing = 51004;
365
+ */
366
+ export declare const auditing: GenExtension<MethodOptions, Auditing>;
367
+ /**
368
+ * StringValue which can be set to a enum
369
+ *
370
+ * @generated from extension: string enum_string_value = 52000;
371
+ */
372
+ export declare const enum_string_value: GenExtension<EnumValueOptions, string>;
@@ -0,0 +1,276 @@
1
+ // @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
2
+ // @generated from file fits/api/v1/common.proto (package fits.api.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { enumDesc, extDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
5
+ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
6
+ import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb";
7
+ import { file_google_protobuf_descriptor, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
8
+ /**
9
+ * Describes the file fits/api/v1/common.proto.
10
+ */
11
+ export const file_fits_api_v1_common = /*@__PURE__*/ fileDesc("ChhmaXRzL2FwaS92MS9jb21tb24ucHJvdG8SC2ZpdHMuYXBpLnYxIkIKBlBhZ2luZxIRCgRwYWdlGAEgASgESACIAQESEgoFY291bnQYAiABKARIAYgBAUIHCgVfcGFnZUIICgZfY291bnQiiAEKBkxhYmVscxJPCgZsYWJlbHMYASADKAsyHy5maXRzLmFwaS52MS5MYWJlbHMuTGFiZWxzRW50cnlCHrpIG5oBGLiVuLECASIHcgUQARiAAioHcgUQABiAAhotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIq8BCgRNZXRhEigKBmxhYmVscxgBIAEoCzITLmZpdHMuYXBpLnYxLkxhYmVsc0gAiAEBEi4KCmNyZWF0ZWRfYXQYAiABKAs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ILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_predefined_rules, file_google_protobuf_descriptor, file_google_protobuf_timestamp]);
12
+ /**
13
+ * Describes the message fits.api.v1.Paging.
14
+ * Use `create(PagingSchema)` to create a new message.
15
+ */
16
+ export const PagingSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_common, 0);
17
+ /**
18
+ * Describes the message fits.api.v1.Labels.
19
+ * Use `create(LabelsSchema)` to create a new message.
20
+ */
21
+ export const LabelsSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_common, 1);
22
+ /**
23
+ * Describes the message fits.api.v1.Meta.
24
+ * Use `create(MetaSchema)` to create a new message.
25
+ */
26
+ export const MetaSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_common, 2);
27
+ /**
28
+ * Describes the message fits.api.v1.UpdateLabels.
29
+ * Use `create(UpdateLabelsSchema)` to create a new message.
30
+ */
31
+ export const UpdateLabelsSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_common, 3);
32
+ /**
33
+ * Describes the message fits.api.v1.UpdateMeta.
34
+ * Use `create(UpdateMetaSchema)` to create a new message.
35
+ */
36
+ export const UpdateMetaSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_common, 4);
37
+ /**
38
+ * TenantRole specifies what role a logged in user needs to call this tenant scoped service
39
+ *
40
+ * @generated from enum fits.api.v1.TenantRole
41
+ */
42
+ export var TenantRole;
43
+ (function (TenantRole) {
44
+ /**
45
+ * TENANT_ROLE_UNSPECIFIED is not specified
46
+ *
47
+ * @generated from enum value: TENANT_ROLE_UNSPECIFIED = 0;
48
+ */
49
+ TenantRole[TenantRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
50
+ /**
51
+ * TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method
52
+ *
53
+ * @generated from enum value: TENANT_ROLE_OWNER = 1;
54
+ */
55
+ TenantRole[TenantRole["OWNER"] = 1] = "OWNER";
56
+ /**
57
+ * TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method
58
+ *
59
+ * @generated from enum value: TENANT_ROLE_EDITOR = 2;
60
+ */
61
+ TenantRole[TenantRole["EDITOR"] = 2] = "EDITOR";
62
+ /**
63
+ * TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method
64
+ *
65
+ * @generated from enum value: TENANT_ROLE_VIEWER = 3;
66
+ */
67
+ TenantRole[TenantRole["VIEWER"] = 3] = "VIEWER";
68
+ /**
69
+ * TENANT_ROLE_GUEST the logged in user needs at least guest role to call this method
70
+ * The guest role is assumed by users who are invited to a tenant's project without them
71
+ * having a direct membership within the tenant.
72
+ *
73
+ * @generated from enum value: TENANT_ROLE_GUEST = 4;
74
+ */
75
+ TenantRole[TenantRole["GUEST"] = 4] = "GUEST";
76
+ })(TenantRole || (TenantRole = {}));
77
+ /**
78
+ * Describes the enum fits.api.v1.TenantRole.
79
+ */
80
+ export const TenantRoleSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 0);
81
+ /**
82
+ * ProjectRole specifies what role a logged in user needs to call this project scoped service
83
+ *
84
+ * @generated from enum fits.api.v1.ProjectRole
85
+ */
86
+ export var ProjectRole;
87
+ (function (ProjectRole) {
88
+ /**
89
+ * PROJECT_ROLE_UNSPECIFIED is not specified
90
+ *
91
+ * @generated from enum value: PROJECT_ROLE_UNSPECIFIED = 0;
92
+ */
93
+ ProjectRole[ProjectRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
94
+ /**
95
+ * PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method
96
+ *
97
+ * @generated from enum value: PROJECT_ROLE_OWNER = 1;
98
+ */
99
+ ProjectRole[ProjectRole["OWNER"] = 1] = "OWNER";
100
+ /**
101
+ * PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method
102
+ *
103
+ * @generated from enum value: PROJECT_ROLE_EDITOR = 2;
104
+ */
105
+ ProjectRole[ProjectRole["EDITOR"] = 2] = "EDITOR";
106
+ /**
107
+ * PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method
108
+ *
109
+ * @generated from enum value: PROJECT_ROLE_VIEWER = 3;
110
+ */
111
+ ProjectRole[ProjectRole["VIEWER"] = 3] = "VIEWER";
112
+ })(ProjectRole || (ProjectRole = {}));
113
+ /**
114
+ * Describes the enum fits.api.v1.ProjectRole.
115
+ */
116
+ export const ProjectRoleSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 1);
117
+ /**
118
+ * AdminRole specifies what role a logged in user needs to call this admin service
119
+ *
120
+ * @generated from enum fits.api.v1.AdminRole
121
+ */
122
+ export var AdminRole;
123
+ (function (AdminRole) {
124
+ /**
125
+ * ADMIN_ROLE_UNSPECIFIED is not specified
126
+ *
127
+ * @generated from enum value: ADMIN_ROLE_UNSPECIFIED = 0;
128
+ */
129
+ AdminRole[AdminRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
130
+ /**
131
+ * ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method
132
+ *
133
+ * @generated from enum value: ADMIN_ROLE_EDITOR = 1;
134
+ */
135
+ AdminRole[AdminRole["EDITOR"] = 1] = "EDITOR";
136
+ /**
137
+ * ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method
138
+ *
139
+ * @generated from enum value: ADMIN_ROLE_VIEWER = 2;
140
+ */
141
+ AdminRole[AdminRole["VIEWER"] = 2] = "VIEWER";
142
+ })(AdminRole || (AdminRole = {}));
143
+ /**
144
+ * Describes the enum fits.api.v1.AdminRole.
145
+ */
146
+ export const AdminRoleSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 2);
147
+ /**
148
+ * Visibility of a method
149
+ *
150
+ * @generated from enum fits.api.v1.Visibility
151
+ */
152
+ export var Visibility;
153
+ (function (Visibility) {
154
+ /**
155
+ * VISIBILITY_UNSPECIFIED is not defined
156
+ *
157
+ * @generated from enum value: VISIBILITY_UNSPECIFIED = 0;
158
+ */
159
+ Visibility[Visibility["UNSPECIFIED"] = 0] = "UNSPECIFIED";
160
+ /**
161
+ * VISIBILITY_PUBLIC specifies that this service is accessible without authentication
162
+ *
163
+ * @generated from enum value: VISIBILITY_PUBLIC = 1;
164
+ */
165
+ Visibility[Visibility["PUBLIC"] = 1] = "PUBLIC";
166
+ /**
167
+ * VISIBILITY_SELF enable call this endpoint from the authenticated user only
168
+ *
169
+ * @generated from enum value: VISIBILITY_SELF = 2;
170
+ */
171
+ Visibility[Visibility["SELF"] = 2] = "SELF";
172
+ })(Visibility || (Visibility = {}));
173
+ /**
174
+ * Describes the enum fits.api.v1.Visibility.
175
+ */
176
+ export const VisibilitySchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 3);
177
+ /**
178
+ * Auditing option specified per service method
179
+ * by default all service methods are included
180
+ * add the auditing option if you want to exclude a method in auditing
181
+ *
182
+ * @generated from enum fits.api.v1.Auditing
183
+ */
184
+ export var Auditing;
185
+ (function (Auditing) {
186
+ /**
187
+ * AUDITING_UNSPECIFIED is not specified
188
+ *
189
+ * @generated from enum value: AUDITING_UNSPECIFIED = 0;
190
+ */
191
+ Auditing[Auditing["UNSPECIFIED"] = 0] = "UNSPECIFIED";
192
+ /**
193
+ * AUDITING_INCLUDED if a method is annotated with this, all calls are audited
194
+ *
195
+ * @generated from enum value: AUDITING_INCLUDED = 1;
196
+ */
197
+ Auditing[Auditing["INCLUDED"] = 1] = "INCLUDED";
198
+ /**
199
+ * AUDITING_EXCLUDED if a method is annotated with this, no calls are audited
200
+ *
201
+ * @generated from enum value: AUDITING_EXCLUDED = 2;
202
+ */
203
+ Auditing[Auditing["EXCLUDED"] = 2] = "EXCLUDED";
204
+ })(Auditing || (Auditing = {}));
205
+ /**
206
+ * Describes the enum fits.api.v1.Auditing.
207
+ */
208
+ export const AuditingSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 4);
209
+ /**
210
+ * OptimisticLockingStrategy defines how optimistic locking should be handled.
211
+ * It defaults to client side, which requires the UpdatedAt timestamp to be provided
212
+ *
213
+ * @generated from enum fits.api.v1.OptimisticLockingStrategy
214
+ */
215
+ export var OptimisticLockingStrategy;
216
+ (function (OptimisticLockingStrategy) {
217
+ /**
218
+ * OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side
219
+ *
220
+ * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED = 0;
221
+ */
222
+ OptimisticLockingStrategy[OptimisticLockingStrategy["UNSPECIFIED"] = 0] = "UNSPECIFIED";
223
+ /**
224
+ * OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified
225
+ *
226
+ * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_CLIENT = 1;
227
+ */
228
+ OptimisticLockingStrategy[OptimisticLockingStrategy["CLIENT"] = 1] = "CLIENT";
229
+ /**
230
+ * OPTIMISTIC_LOCKING_STRATEGY_SERVER allows to omit UpdatedAt
231
+ * and fetches the most recent entity before updating with the given values with the update request
232
+ *
233
+ * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_SERVER = 2;
234
+ */
235
+ OptimisticLockingStrategy[OptimisticLockingStrategy["SERVER"] = 2] = "SERVER";
236
+ })(OptimisticLockingStrategy || (OptimisticLockingStrategy = {}));
237
+ /**
238
+ * Describes the enum fits.api.v1.OptimisticLockingStrategy.
239
+ */
240
+ export const OptimisticLockingStrategySchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 5);
241
+ /**
242
+ * TenantRoles are used to define which tenant role a logged in user must provide to call this method
243
+ *
244
+ * @generated from extension: repeated fits.api.v1.TenantRole tenant_roles = 51000;
245
+ */
246
+ export const tenant_roles = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 0);
247
+ /**
248
+ * ProjectRoles are used to define which project role a logged in user must provide to call this method
249
+ *
250
+ * @generated from extension: repeated fits.api.v1.ProjectRole project_roles = 51001;
251
+ */
252
+ export const project_roles = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 1);
253
+ /**
254
+ * AdminRoles are used to define which admin role a logged in user must provide to call this method
255
+ *
256
+ * @generated from extension: repeated fits.api.v1.AdminRole admin_roles = 51002;
257
+ */
258
+ export const admin_roles = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 2);
259
+ /**
260
+ * Visibility defines the visibility of this method, this is used to have public or self visible methods
261
+ *
262
+ * @generated from extension: fits.api.v1.Visibility visibility = 51003;
263
+ */
264
+ export const visibility = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 3);
265
+ /**
266
+ * Auditing defines if calls to this method should be audited or not
267
+ *
268
+ * @generated from extension: fits.api.v1.Auditing auditing = 51004;
269
+ */
270
+ export const auditing = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 4);
271
+ /**
272
+ * StringValue which can be set to a enum
273
+ *
274
+ * @generated from extension: string enum_string_value = 52000;
275
+ */
276
+ export const enum_string_value = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 5);