@fi-ts/api 0.0.0-pr.18.ad1db5f1

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 (52) 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/mvm/v1/location_pb.d.ts +83 -0
  5. package/fits/api/mvm/v1/location_pb.js +32 -0
  6. package/fits/api/mvm/v1/location_pb.ts +106 -0
  7. package/fits/api/mvm/v1/mvm_pb.d.ts +1451 -0
  8. package/fits/api/mvm/v1/mvm_pb.js +391 -0
  9. package/fits/api/mvm/v1/mvm_pb.ts +1679 -0
  10. package/fits/api/mvm/v1/os_pb.d.ts +111 -0
  11. package/fits/api/mvm/v1/os_pb.js +62 -0
  12. package/fits/api/mvm/v1/os_pb.ts +141 -0
  13. package/fits/api/mvm/v1/vlan_pb.d.ts +163 -0
  14. package/fits/api/mvm/v1/vlan_pb.js +76 -0
  15. package/fits/api/mvm/v1/vlan_pb.ts +199 -0
  16. package/fits/api/v1/common_pb.d.ts +372 -0
  17. package/fits/api/v1/common_pb.js +276 -0
  18. package/fits/api/v1/common_pb.ts +447 -0
  19. package/fits/api/v1/health_pb.d.ts +190 -0
  20. package/fits/api/v1/health_pb.js +100 -0
  21. package/fits/api/v1/health_pb.ts +229 -0
  22. package/fits/api/v1/ip_pb.d.ts +549 -0
  23. package/fits/api/v1/ip_pb.js +137 -0
  24. package/fits/api/v1/ip_pb.ts +643 -0
  25. package/fits/api/v1/method_pb.d.ts +116 -0
  26. package/fits/api/v1/method_pb.js +38 -0
  27. package/fits/api/v1/method_pb.ts +142 -0
  28. package/fits/api/v1/partition_pb.d.ts +251 -0
  29. package/fits/api/v1/partition_pb.js +62 -0
  30. package/fits/api/v1/partition_pb.ts +300 -0
  31. package/fits/api/v1/predefined_rules_pb.d.ts +102 -0
  32. package/fits/api/v1/predefined_rules_pb.js +105 -0
  33. package/fits/api/v1/predefined_rules_pb.ts +143 -0
  34. package/fits/api/v1/project_pb.d.ts +372 -0
  35. package/fits/api/v1/project_pb.js +72 -0
  36. package/fits/api/v1/project_pb.ts +436 -0
  37. package/fits/api/v1/tenant_pb.d.ts +370 -0
  38. package/fits/api/v1/tenant_pb.js +72 -0
  39. package/fits/api/v1/tenant_pb.ts +434 -0
  40. package/fits/api/v1/token_pb.d.ts +522 -0
  41. package/fits/api/v1/token_pb.js +118 -0
  42. package/fits/api/v1/token_pb.ts +600 -0
  43. package/fits/api/v1/user_pb.d.ts +108 -0
  44. package/fits/api/v1/user_pb.js +34 -0
  45. package/fits/api/v1/user_pb.ts +139 -0
  46. package/fits/api/v1/version_pb.d.ts +88 -0
  47. package/fits/api/v1/version_pb.js +32 -0
  48. package/fits/api/v1/version_pb.ts +114 -0
  49. package/fits/api/v1/vpn_pb.d.ts +55 -0
  50. package/fits/api/v1/vpn_pb.js +14 -0
  51. package/fits/api/v1/vpn_pb.ts +72 -0
  52. package/package.json +25 -0
@@ -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("ChhmaXRzL2FwaS92MS9jb21tb24ucHJvdG8SC2ZpdHMuYXBpLnYxIkIKBlBhZ2luZxIRCgRwYWdlGAEgASgESACIAQESEgoFY291bnQYAiABKARIAYgBAUIHCgVfcGFnZUIICgZfY291bnQiiAEKBk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YxLkF1ZGl0aW5nUghhdWRpdGluZzpPChFlbnVtX3N0cmluZ192YWx1ZRIhLmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVPcHRpb25zGKCWAyABKAlSD2VudW1TdHJpbmdWYWx1ZUKXAQoPY29tLmZpdHMuYXBpLnYxQgtDb21tb25Qcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [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);