@fi-ts/api 0.0.1 → 0.0.3

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.ts +1 -1
  2. package/fits/api/mvm/v1/domain_pb.d.ts +89 -0
  3. package/fits/api/mvm/v1/domain_pb.js +32 -0
  4. package/fits/api/mvm/v1/domain_pb.ts +113 -0
  5. package/fits/api/mvm/v1/ldap_pb.d.ts +89 -0
  6. package/fits/api/mvm/v1/ldap_pb.js +32 -0
  7. package/fits/api/mvm/v1/ldap_pb.ts +113 -0
  8. package/fits/api/mvm/v1/location_pb.d.ts +4 -3
  9. package/fits/api/mvm/v1/location_pb.js +4 -4
  10. package/fits/api/mvm/v1/location_pb.ts +8 -7
  11. package/fits/api/mvm/v1/mvm_pb.d.ts +1 -1
  12. package/fits/api/mvm/v1/mvm_pb.js +4 -4
  13. package/fits/api/mvm/v1/mvm_pb.ts +5 -5
  14. package/fits/api/mvm/v1/os_pb.js +4 -4
  15. package/fits/api/mvm/v1/os_pb.ts +4 -4
  16. package/fits/api/mvm/v1/vlan_pb.d.ts +26 -64
  17. package/fits/api/mvm/v1/vlan_pb.js +6 -50
  18. package/fits/api/mvm/v1/vlan_pb.ts +33 -77
  19. package/fits/api/v1/common_pb.js +3 -3
  20. package/fits/api/v1/common_pb.ts +3 -3
  21. package/fits/api/v1/health_pb.js +2 -2
  22. package/fits/api/v1/health_pb.ts +2 -2
  23. package/fits/api/v1/ip_pb.d.ts +1 -1
  24. package/fits/api/v1/ip_pb.js +4 -4
  25. package/fits/api/v1/ip_pb.ts +5 -5
  26. package/fits/api/v1/method_pb.d.ts +2 -2
  27. package/fits/api/v1/method_pb.js +4 -4
  28. package/fits/api/v1/method_pb.ts +6 -6
  29. package/fits/api/v1/predefined_rules_pb.d.ts +31 -1
  30. package/fits/api/v1/predefined_rules_pb.js +39 -9
  31. package/fits/api/v1/predefined_rules_pb.ts +50 -10
  32. package/fits/api/v1/project_pb.d.ts +1 -1
  33. package/fits/api/v1/project_pb.js +4 -4
  34. package/fits/api/v1/project_pb.ts +5 -5
  35. package/fits/api/v1/tenant_pb.d.ts +1 -117
  36. package/fits/api/v1/tenant_pb.js +9 -29
  37. package/fits/api/v1/tenant_pb.ts +10 -142
  38. package/fits/api/v1/token_pb.d.ts +169 -218
  39. package/fits/api/v1/token_pb.js +41 -41
  40. package/fits/api/v1/token_pb.ts +192 -247
  41. package/fits/api/v1/version_pb.js +4 -4
  42. package/fits/api/v1/version_pb.ts +4 -4
  43. package/package.json +1 -1
  44. package/fits/api/v1/partition_pb.d.ts +0 -251
  45. package/fits/api/v1/partition_pb.js +0 -62
  46. package/fits/api/v1/partition_pb.ts +0 -300
  47. package/fits/api/v1/user_pb.d.ts +0 -108
  48. package/fits/api/v1/user_pb.js +0 -34
  49. package/fits/api/v1/user_pb.ts +0 -139
  50. package/fits/api/v1/vpn_pb.d.ts +0 -55
  51. package/fits/api/v1/vpn_pb.js +0 -14
  52. package/fits/api/v1/vpn_pb.ts +0 -72
@@ -1,20 +1,20 @@
1
- // @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
2
2
  // @generated from file fits/api/v1/tenant.proto (package fits.api.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
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";
7
+ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
8
+ import type { Labels, Meta, UpdateLabels, UpdateMeta } from "./common_pb.js";
9
+ import { file_fits_api_v1_common } from "./common_pb.js";
10
+ import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb.js";
11
11
  import type { Message } from "@bufbuild/protobuf";
12
12
 
13
13
  /**
14
14
  * Describes the file fits/api/v1/tenant.proto.
15
15
  */
16
16
  export const file_fits_api_v1_tenant: GenFile = /*@__PURE__*/
17
- fileDesc("ChhmaXRzL2FwaS92MS90ZW5hbnQucHJvdG8SC2ZpdHMuYXBpLnYxIqwBCgZUZW5hbnQSDQoFbG9naW4YASABKAkSHwoEbWV0YRgCIAEoCzIRLmZpdHMuYXBpLnYxLk1ldGESGQoEbmFtZRgDIAEoCUILukgIcgbAs66xAgESDQoFZW1haWwYBCABKAkSIAoLZGVzY3JpcHRpb24YBSABKAlCC7pICHIGyLOusQIBEhIKCmF2YXRhcl91cmwYBiABKAkSEgoKY3JlYXRlZF9ieRgHIAEoCSKQAQoYVGVuYW50U2VydmljZUxpc3RSZXF1ZXN0Eg8KAmlkGAEgASgJSACIAQESHgoEbmFtZRgCIAEoCUILukgIcgbAs66xAgFIAYgBARIoCgZsYWJlbHMYAyABKAsyEy5maXRzLmFwaS52MS5MYWJlbHNIAogBAUIFCgNfaWRCBwoFX25hbWVCCQoHX2xhYmVscyIpChdUZW5hbnRTZXJ2aWNlR2V0UmVxdWVzdBIOCgZ0ZW5hbnQYASABKAki4gEKGlRlbmFudFNlcnZpY2VDcmVhdGVSZXF1ZXN0EhkKBG5hbWUYASABKAlCC7pICHIGwLOusQIBEiUKC2Rlc2NyaXB0aW9uGAIgASgJQgu6SAhyBsizrrECAUgAiAEBEhsKBWVtYWlsGAMgASgJQge6SARyAmABSAGIAQESFwoKYXZhdGFyX3VybBgEIAEoCUgCiAEBEiMKBmxhYmVscxgFIAEoCzITLmZpdHMuYXBpLnYxLkxhYmVsc0IOCgxfZGVzY3JpcHRpb25CCAoGX2VtYWlsQg0KC19hdmF0YXJfdXJsIswCChpUZW5hbnRTZXJ2aWNlVXBkYXRlUmVxdWVzdBIOCgZ0ZW5h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GkudjEuVGVuYW50U2VydmljZUxpc3RSZXF1ZXN0GiYuZml0cy5hcGkudjEuVGVuYW50U2VydmljZUxpc3RSZXNwb25zZSII2PMYAuDzGAISYAoDR2V0EiQuZml0cy5hcGkudjEuVGVuYW50U2VydmljZUdldFJlcXVlc3QaJS5maXRzLmFwaS52MS5UZW5hbnRTZXJ2aWNlR2V0UmVzcG9uc2UiDMLzGAQBAgME4PMYAhJnCgZVcGRhdGUSJy5maXRzLmFwaS52MS5UZW5hbnRTZXJ2aWNlVXBkYXRlUmVxdWVzdBooLmZpdHMuYXBpLnYxLlRlbmFudFNlcnZpY2VVcGRhdGVSZXNwb25zZSIKwvMYAgEC4PMYARJnCgZEZWxldGUSJy5maXRzLmFwaS52MS5UZW5hbnRTZXJ2aWNlRGVsZXRlUmVxdWVzdBooLmZpdHMuYXBpLnYxLlRlbmFudFNlcnZpY2VEZWxldGVSZXNwb25zZSIKwvMYAgEC4PMYAUKXAQoPY29tLmZpdHMuYXBpLnYxQgtUZW5hbnRQcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
17
+ fileDesc("ChhmaXRzL2FwaS92MS90ZW5hbnQucHJvdG8SC2ZpdHMuYXBpLnYxIqwBCgZUZW5hbnQSDQoFbG9naW4YASABKAkSHwoEbWV0YRgCIAEoCzIRLmZpdHMuYXBpLnYxLk1ldGESGQoEbmFtZRgDIAEoCUILukgIcgbAs66xAgESDQoFZW1haWwYBCABKAkSIAoLZGVzY3JpcHRpb24YBSABKAlCC7pICHIGyLOusQIBEhIKCmF2YXRhcl91cmwYBiABKAkSEgoKY3JlYXRlZF9ieRgHIAEoCSKQAQoYVGV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XJ2aWNlTGlzdFJlc3BvbnNlIgjY8xgC4PMYAhJgCgNHZXQSJC5maXRzLmFwaS52MS5UZW5hbnRTZXJ2aWNlR2V0UmVxdWVzdBolLmZpdHMuYXBpLnYxLlRlbmFudFNlcnZpY2VHZXRSZXNwb25zZSIMwvMYBAECAwTg8xgCEmcKBlVwZGF0ZRInLmZpdHMuYXBpLnYxLlRlbmFudFNlcnZpY2VVcGRhdGVSZXF1ZXN0GiguZml0cy5hcGkudjEuVGVuYW50U2VydmljZVVwZGF0ZVJlc3BvbnNlIgrC8xgCAQLg8xgBQpcBCg9jb20uZml0cy5hcGkudjFCC1RlbmFudFByb3RvUAFaKWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL3YxO2FwaXYxogIDRkFYqgILRml0cy5BcGkuVjHKAgtGaXRzXEFwaVxWMeICF0ZpdHNcQXBpXFYxXEdQQk1ldGFkYXRh6gINRml0czo6QXBpOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
18
18
 
19
19
  /**
20
20
  * Tenant is a customer of the platform
@@ -135,55 +135,6 @@ export type TenantServiceGetRequest = Message<"fits.api.v1.TenantServiceGetReque
135
135
  export const TenantServiceGetRequestSchema: GenMessage<TenantServiceGetRequest> = /*@__PURE__*/
136
136
  messageDesc(file_fits_api_v1_tenant, 2);
137
137
 
138
- /**
139
- * TenantServiceCreateRequest is the request payload of the tenant create request
140
- *
141
- * @generated from message fits.api.v1.TenantServiceCreateRequest
142
- */
143
- export type TenantServiceCreateRequest = Message<"fits.api.v1.TenantServiceCreateRequest"> & {
144
- /**
145
- * Name of this tenant
146
- *
147
- * @generated from field: string name = 1;
148
- */
149
- name: string;
150
-
151
- /**
152
- * Description of this tenant
153
- *
154
- * @generated from field: optional string description = 2;
155
- */
156
- description?: string | undefined;
157
-
158
- /**
159
- * Email of the tenant, if not set will be inherited from the creator
160
- *
161
- * @generated from field: optional string email = 3;
162
- */
163
- email?: string | undefined;
164
-
165
- /**
166
- * AvatarUrl of the tenant
167
- *
168
- * @generated from field: optional string avatar_url = 4;
169
- */
170
- avatarUrl?: string | undefined;
171
-
172
- /**
173
- * Labels on the tenant
174
- *
175
- * @generated from field: fits.api.v1.Labels labels = 5;
176
- */
177
- labels?: Labels | undefined;
178
- };
179
-
180
- /**
181
- * Describes the message fits.api.v1.TenantServiceCreateRequest.
182
- * Use `create(TenantServiceCreateRequestSchema)` to create a new message.
183
- */
184
- export const TenantServiceCreateRequestSchema: GenMessage<TenantServiceCreateRequest> = /*@__PURE__*/
185
- messageDesc(file_fits_api_v1_tenant, 3);
186
-
187
138
  /**
188
139
  * TenantServiceUpdateRequest is the request payload of the tenant update request
189
140
  *
@@ -245,28 +196,7 @@ export type TenantServiceUpdateRequest = Message<"fits.api.v1.TenantServiceUpdat
245
196
  * Use `create(TenantServiceUpdateRequestSchema)` to create a new message.
246
197
  */
247
198
  export const TenantServiceUpdateRequestSchema: GenMessage<TenantServiceUpdateRequest> = /*@__PURE__*/
248
- messageDesc(file_fits_api_v1_tenant, 4);
249
-
250
- /**
251
- * TenantServiceDeleteRequest is the request payload of the tenant delete request
252
- *
253
- * @generated from message fits.api.v1.TenantServiceDeleteRequest
254
- */
255
- export type TenantServiceDeleteRequest = Message<"fits.api.v1.TenantServiceDeleteRequest"> & {
256
- /**
257
- * Tenant is the login of the tenant
258
- *
259
- * @generated from field: string tenant = 1;
260
- */
261
- tenant: string;
262
- };
263
-
264
- /**
265
- * Describes the message fits.api.v1.TenantServiceDeleteRequest.
266
- * Use `create(TenantServiceDeleteRequestSchema)` to create a new message.
267
- */
268
- export const TenantServiceDeleteRequestSchema: GenMessage<TenantServiceDeleteRequest> = /*@__PURE__*/
269
- messageDesc(file_fits_api_v1_tenant, 5);
199
+ messageDesc(file_fits_api_v1_tenant, 3);
270
200
 
271
201
  /**
272
202
  * TenantServiceGetResponse is the response payload of the tenant get request
@@ -287,7 +217,7 @@ export type TenantServiceGetResponse = Message<"fits.api.v1.TenantServiceGetResp
287
217
  * Use `create(TenantServiceGetResponseSchema)` to create a new message.
288
218
  */
289
219
  export const TenantServiceGetResponseSchema: GenMessage<TenantServiceGetResponse> = /*@__PURE__*/
290
- messageDesc(file_fits_api_v1_tenant, 6);
220
+ messageDesc(file_fits_api_v1_tenant, 4);
291
221
 
292
222
  /**
293
223
  * TenantServiceListResponse is the response payload of the tenant list request
@@ -308,28 +238,7 @@ export type TenantServiceListResponse = Message<"fits.api.v1.TenantServiceListRe
308
238
  * Use `create(TenantServiceListResponseSchema)` to create a new message.
309
239
  */
310
240
  export const TenantServiceListResponseSchema: GenMessage<TenantServiceListResponse> = /*@__PURE__*/
311
- messageDesc(file_fits_api_v1_tenant, 7);
312
-
313
- /**
314
- * TenantServiceCreateResponse is the response payload of the tenant create request
315
- *
316
- * @generated from message fits.api.v1.TenantServiceCreateResponse
317
- */
318
- export type TenantServiceCreateResponse = Message<"fits.api.v1.TenantServiceCreateResponse"> & {
319
- /**
320
- * Tenant is the tenant
321
- *
322
- * @generated from field: fits.api.v1.Tenant tenant = 1;
323
- */
324
- tenant?: Tenant | undefined;
325
- };
326
-
327
- /**
328
- * Describes the message fits.api.v1.TenantServiceCreateResponse.
329
- * Use `create(TenantServiceCreateResponseSchema)` to create a new message.
330
- */
331
- export const TenantServiceCreateResponseSchema: GenMessage<TenantServiceCreateResponse> = /*@__PURE__*/
332
- messageDesc(file_fits_api_v1_tenant, 8);
241
+ messageDesc(file_fits_api_v1_tenant, 5);
333
242
 
334
243
  /**
335
244
  * TenantServiceUpdateResponse is the response payload of the tenant update request
@@ -350,28 +259,7 @@ export type TenantServiceUpdateResponse = Message<"fits.api.v1.TenantServiceUpda
350
259
  * Use `create(TenantServiceUpdateResponseSchema)` to create a new message.
351
260
  */
352
261
  export const TenantServiceUpdateResponseSchema: GenMessage<TenantServiceUpdateResponse> = /*@__PURE__*/
353
- messageDesc(file_fits_api_v1_tenant, 9);
354
-
355
- /**
356
- * TenantServiceDeleteResponse is the response payload of the tenant delete request
357
- *
358
- * @generated from message fits.api.v1.TenantServiceDeleteResponse
359
- */
360
- export type TenantServiceDeleteResponse = Message<"fits.api.v1.TenantServiceDeleteResponse"> & {
361
- /**
362
- * Tenant is the tenant
363
- *
364
- * @generated from field: fits.api.v1.Tenant tenant = 1;
365
- */
366
- tenant?: Tenant | undefined;
367
- };
368
-
369
- /**
370
- * Describes the message fits.api.v1.TenantServiceDeleteResponse.
371
- * Use `create(TenantServiceDeleteResponseSchema)` to create a new message.
372
- */
373
- export const TenantServiceDeleteResponseSchema: GenMessage<TenantServiceDeleteResponse> = /*@__PURE__*/
374
- messageDesc(file_fits_api_v1_tenant, 10);
262
+ messageDesc(file_fits_api_v1_tenant, 6);
375
263
 
376
264
  /**
377
265
  * TenantService provides tenant management operations.
@@ -379,16 +267,6 @@ export const TenantServiceDeleteResponseSchema: GenMessage<TenantServiceDeleteRe
379
267
  * @generated from service fits.api.v1.TenantService
380
268
  */
381
269
  export const TenantService: GenService<{
382
- /**
383
- * Creates a new tenant.
384
- *
385
- * @generated from rpc fits.api.v1.TenantService.Create
386
- */
387
- create: {
388
- methodKind: "unary";
389
- input: typeof TenantServiceCreateRequestSchema;
390
- output: typeof TenantServiceCreateResponseSchema;
391
- },
392
270
  /**
393
271
  * Returns the list of tenants.
394
272
  *
@@ -419,16 +297,6 @@ export const TenantService: GenService<{
419
297
  input: typeof TenantServiceUpdateRequestSchema;
420
298
  output: typeof TenantServiceUpdateResponseSchema;
421
299
  },
422
- /**
423
- * Delete a tenant
424
- *
425
- * @generated from rpc fits.api.v1.TenantService.Delete
426
- */
427
- delete: {
428
- methodKind: "unary";
429
- input: typeof TenantServiceDeleteRequestSchema;
430
- output: typeof TenantServiceDeleteResponseSchema;
431
- },
432
300
  }> = /*@__PURE__*/
433
301
  serviceDesc(file_fits_api_v1_tenant, 0);
434
302