@fi-ts/api 0.0.0-pr.29.0979af3c → 0.0.0-pr.30.1af00172

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.
@@ -173,7 +173,9 @@ export type ManagedVM = Message<"fits.api.mvm.v1.ManagedVM"> & {
173
173
  */
174
174
  locationUuid: string;
175
175
  /**
176
- * TODO: Contact UUID – not yet implemented; open discussion with FCN (#23).
176
+ * UUID of the contact person responsible for this MVM.
177
+ * TODO: open discussion with FCN (#23) on whether this becomes a dedicated
178
+ * /contact endpoint.
177
179
  *
178
180
  * @generated from field: string contact_uuid = 8;
179
181
  */
@@ -192,7 +194,6 @@ export type ManagedVM = Message<"fits.api.mvm.v1.ManagedVM"> & {
192
194
  ram: number;
193
195
  /**
194
196
  * Whether backup is enabled.
195
- * TODO: the upstream (nulink) list/get models do not expose this; always false.
196
197
  *
197
198
  * @generated from field: bool backup = 11;
198
199
  */
@@ -210,7 +210,9 @@ export type ManagedVM = Message<"fits.api.mvm.v1.ManagedVM"> & {
210
210
  locationUuid: string;
211
211
 
212
212
  /**
213
- * TODO: Contact UUID – not yet implemented; open discussion with FCN (#23).
213
+ * UUID of the contact person responsible for this MVM.
214
+ * TODO: open discussion with FCN (#23) on whether this becomes a dedicated
215
+ * /contact endpoint.
214
216
  *
215
217
  * @generated from field: string contact_uuid = 8;
216
218
  */
@@ -232,7 +234,6 @@ export type ManagedVM = Message<"fits.api.mvm.v1.ManagedVM"> & {
232
234
 
233
235
  /**
234
236
  * Whether backup is enabled.
235
- * TODO: the upstream (nulink) list/get models do not expose this; always false.
236
237
  *
237
238
  * @generated from field: bool backup = 11;
238
239
  */
@@ -0,0 +1,549 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Labels, Meta, UpdateLabels, UpdateMeta } from "./common_pb.js";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file fits/api/v1/ip.proto.
6
+ */
7
+ export declare const file_fits_api_v1_ip: GenFile;
8
+ /**
9
+ * IP is a ip address which can be used as loadbalancer addresses
10
+ *
11
+ * @generated from message fits.api.v1.IP
12
+ */
13
+ export type IP = Message<"fits.api.v1.IP"> & {
14
+ /**
15
+ * Uuid of this ip
16
+ *
17
+ * @generated from field: string uuid = 1;
18
+ */
19
+ uuid: string;
20
+ /**
21
+ * Meta for this ip
22
+ *
23
+ * @generated from field: fits.api.v1.Meta meta = 2;
24
+ */
25
+ meta?: Meta | undefined;
26
+ /**
27
+ * Ip is either ipv4 or ipv6 address
28
+ *
29
+ * @generated from field: string ip = 3;
30
+ */
31
+ ip: string;
32
+ /**
33
+ * Name of this ip
34
+ *
35
+ * @generated from field: string name = 4;
36
+ */
37
+ name: string;
38
+ /**
39
+ * Description of this ip
40
+ *
41
+ * @generated from field: string description = 5;
42
+ */
43
+ description: string;
44
+ /**
45
+ * Network is the network this ip belongs to
46
+ *
47
+ * @generated from field: string network = 6;
48
+ */
49
+ network: string;
50
+ /**
51
+ * Project where this ip address belongs to
52
+ *
53
+ * @generated from field: string project = 7;
54
+ */
55
+ project: string;
56
+ /**
57
+ * Type of this ip
58
+ *
59
+ * @generated from field: fits.api.v1.IPType type = 8;
60
+ */
61
+ type: IPType;
62
+ /**
63
+ * Namespace if specified this ip is from a namespaced network and can therefore overlap with others
64
+ * Will be equal with project most of the time
65
+ *
66
+ * @generated from field: optional string namespace = 9;
67
+ */
68
+ namespace?: string | undefined;
69
+ };
70
+ /**
71
+ * Describes the message fits.api.v1.IP.
72
+ * Use `create(IPSchema)` to create a new message.
73
+ */
74
+ export declare const IPSchema: GenMessage<IP>;
75
+ /**
76
+ * IPServiceGetRequest is the request payload for a ip get request
77
+ *
78
+ * @generated from message fits.api.v1.IPServiceGetRequest
79
+ */
80
+ export type IPServiceGetRequest = Message<"fits.api.v1.IPServiceGetRequest"> & {
81
+ /**
82
+ * IP of the ip to get
83
+ *
84
+ * @generated from field: string ip = 1;
85
+ */
86
+ ip: string;
87
+ /**
88
+ * Project of the ip
89
+ *
90
+ * @generated from field: string project = 2;
91
+ */
92
+ project: string;
93
+ /**
94
+ * Namespace can be specified to get the ip of a namespace.
95
+ *
96
+ * @generated from field: optional string namespace = 3;
97
+ */
98
+ namespace?: string | undefined;
99
+ };
100
+ /**
101
+ * Describes the message fits.api.v1.IPServiceGetRequest.
102
+ * Use `create(IPServiceGetRequestSchema)` to create a new message.
103
+ */
104
+ export declare const IPServiceGetRequestSchema: GenMessage<IPServiceGetRequest>;
105
+ /**
106
+ * IPServiceCreateRequest is the request payload for a ip create request
107
+ *
108
+ * @generated from message fits.api.v1.IPServiceCreateRequest
109
+ */
110
+ export type IPServiceCreateRequest = Message<"fits.api.v1.IPServiceCreateRequest"> & {
111
+ /**
112
+ * Network from which the IP should be created
113
+ *
114
+ * @generated from field: string network = 1;
115
+ */
116
+ network: string;
117
+ /**
118
+ * Project of the ip
119
+ *
120
+ * @generated from field: string project = 2;
121
+ */
122
+ project: string;
123
+ /**
124
+ * Name of the ip
125
+ *
126
+ * @generated from field: optional string name = 3;
127
+ */
128
+ name?: string | undefined;
129
+ /**
130
+ * Description of the ip
131
+ *
132
+ * @generated from field: optional string description = 4;
133
+ */
134
+ description?: string | undefined;
135
+ /**
136
+ * IP if given try to create this ip if still available
137
+ *
138
+ * @generated from field: optional string ip = 5;
139
+ */
140
+ ip?: string | undefined;
141
+ /**
142
+ * Machine for which this ip should get created
143
+ *
144
+ * @generated from field: optional string machine = 6;
145
+ */
146
+ machine?: string | undefined;
147
+ /**
148
+ * Labels to put onto the ip
149
+ *
150
+ * @generated from field: optional fits.api.v1.Labels labels = 7;
151
+ */
152
+ labels?: Labels | undefined;
153
+ /**
154
+ * Type of the IP, ether ephemeral (default), or static
155
+ *
156
+ * @generated from field: optional fits.api.v1.IPType type = 8;
157
+ */
158
+ type?: IPType | undefined;
159
+ /**
160
+ * Addressfamily of the IP to create, defaults to ipv4
161
+ *
162
+ * @generated from field: optional fits.api.v1.IPAddressFamily address_family = 9;
163
+ */
164
+ addressFamily?: IPAddressFamily | undefined;
165
+ };
166
+ /**
167
+ * Describes the message fits.api.v1.IPServiceCreateRequest.
168
+ * Use `create(IPServiceCreateRequestSchema)` to create a new message.
169
+ */
170
+ export declare const IPServiceCreateRequestSchema: GenMessage<IPServiceCreateRequest>;
171
+ /**
172
+ * IPServiceUpdateRequest is the request payload for a ip update request
173
+ *
174
+ * @generated from message fits.api.v1.IPServiceUpdateRequest
175
+ */
176
+ export type IPServiceUpdateRequest = Message<"fits.api.v1.IPServiceUpdateRequest"> & {
177
+ /**
178
+ * Ip the ip to update
179
+ *
180
+ * @generated from field: string ip = 1;
181
+ */
182
+ ip: string;
183
+ /**
184
+ * UpdateMeta contains the timestamp and strategy to be used in this update request
185
+ *
186
+ * @generated from field: fits.api.v1.UpdateMeta update_meta = 2;
187
+ */
188
+ updateMeta?: UpdateMeta | undefined;
189
+ /**
190
+ * Project id of the ip
191
+ *
192
+ * @generated from field: string project = 3;
193
+ */
194
+ project: string;
195
+ /**
196
+ * Name of this ip
197
+ *
198
+ * @generated from field: optional string name = 4;
199
+ */
200
+ name?: string | undefined;
201
+ /**
202
+ * Description of this ip
203
+ *
204
+ * @generated from field: optional string description = 5;
205
+ */
206
+ description?: string | undefined;
207
+ /**
208
+ * Type of this ip
209
+ *
210
+ * @generated from field: optional fits.api.v1.IPType type = 6;
211
+ */
212
+ type?: IPType | undefined;
213
+ /**
214
+ * Labels on this ip
215
+ *
216
+ * @generated from field: optional fits.api.v1.UpdateLabels labels = 7;
217
+ */
218
+ labels?: UpdateLabels | undefined;
219
+ };
220
+ /**
221
+ * Describes the message fits.api.v1.IPServiceUpdateRequest.
222
+ * Use `create(IPServiceUpdateRequestSchema)` to create a new message.
223
+ */
224
+ export declare const IPServiceUpdateRequestSchema: GenMessage<IPServiceUpdateRequest>;
225
+ /**
226
+ * IPServiceListRequest is the request payload for a ip list request
227
+ *
228
+ * @generated from message fits.api.v1.IPServiceListRequest
229
+ */
230
+ export type IPServiceListRequest = Message<"fits.api.v1.IPServiceListRequest"> & {
231
+ /**
232
+ * Project of the ips to list
233
+ *
234
+ * @generated from field: string project = 1;
235
+ */
236
+ project: string;
237
+ /**
238
+ * Query to list one ore more ips
239
+ *
240
+ * @generated from field: fits.api.v1.IPQuery query = 2;
241
+ */
242
+ query?: IPQuery | undefined;
243
+ };
244
+ /**
245
+ * Describes the message fits.api.v1.IPServiceListRequest.
246
+ * Use `create(IPServiceListRequestSchema)` to create a new message.
247
+ */
248
+ export declare const IPServiceListRequestSchema: GenMessage<IPServiceListRequest>;
249
+ /**
250
+ * IPQuery can be used to query a IP or a list of IP
251
+ *
252
+ * @generated from message fits.api.v1.IPQuery
253
+ */
254
+ export type IPQuery = Message<"fits.api.v1.IPQuery"> & {
255
+ /**
256
+ * Ip the ip to list
257
+ *
258
+ * @generated from field: optional string ip = 1;
259
+ */
260
+ ip?: string | undefined;
261
+ /**
262
+ * Network from where the ips to list
263
+ *
264
+ * @generated from field: optional string network = 2;
265
+ */
266
+ network?: string | undefined;
267
+ /**
268
+ * Project of the ips to list
269
+ *
270
+ * @generated from field: optional string project = 3;
271
+ */
272
+ project?: string | undefined;
273
+ /**
274
+ * Name of this ip
275
+ *
276
+ * @generated from field: optional string name = 4;
277
+ */
278
+ name?: string | undefined;
279
+ /**
280
+ * Uuid for which this ips should get filtered
281
+ *
282
+ * @generated from field: optional string uuid = 5;
283
+ */
284
+ uuid?: string | undefined;
285
+ /**
286
+ * Machine for which this ips should get filtered
287
+ *
288
+ * @generated from field: optional string machine = 6;
289
+ */
290
+ machine?: string | undefined;
291
+ /**
292
+ * ParentPrefixCidr for which this ips should get filtered
293
+ *
294
+ * @generated from field: optional string parent_prefix_cidr = 7;
295
+ */
296
+ parentPrefixCidr?: string | undefined;
297
+ /**
298
+ * Labels for which this ips should get filtered
299
+ *
300
+ * @generated from field: optional fits.api.v1.Labels labels = 8;
301
+ */
302
+ labels?: Labels | undefined;
303
+ /**
304
+ * Static if set to true, this will be a Static ip
305
+ *
306
+ * @generated from field: optional fits.api.v1.IPType type = 9;
307
+ */
308
+ type?: IPType | undefined;
309
+ /**
310
+ * Addressfamily of the IPs to list, defaults to all addressfamilies
311
+ *
312
+ * @generated from field: optional fits.api.v1.IPAddressFamily address_family = 10;
313
+ */
314
+ addressFamily?: IPAddressFamily | undefined;
315
+ };
316
+ /**
317
+ * Describes the message fits.api.v1.IPQuery.
318
+ * Use `create(IPQuerySchema)` to create a new message.
319
+ */
320
+ export declare const IPQuerySchema: GenMessage<IPQuery>;
321
+ /**
322
+ * IPServiceDeleteRequest is the request payload for a ip delete request
323
+ *
324
+ * @generated from message fits.api.v1.IPServiceDeleteRequest
325
+ */
326
+ export type IPServiceDeleteRequest = Message<"fits.api.v1.IPServiceDeleteRequest"> & {
327
+ /**
328
+ * IP of the ip to delete
329
+ *
330
+ * @generated from field: string ip = 1;
331
+ */
332
+ ip: string;
333
+ /**
334
+ * Project of the ip
335
+ *
336
+ * @generated from field: string project = 2;
337
+ */
338
+ project: string;
339
+ };
340
+ /**
341
+ * Describes the message fits.api.v1.IPServiceDeleteRequest.
342
+ * Use `create(IPServiceDeleteRequestSchema)` to create a new message.
343
+ */
344
+ export declare const IPServiceDeleteRequestSchema: GenMessage<IPServiceDeleteRequest>;
345
+ /**
346
+ * IPServiceGetResponse is the response payload for a ip get request
347
+ *
348
+ * @generated from message fits.api.v1.IPServiceGetResponse
349
+ */
350
+ export type IPServiceGetResponse = Message<"fits.api.v1.IPServiceGetResponse"> & {
351
+ /**
352
+ * Ip the ip
353
+ *
354
+ * @generated from field: fits.api.v1.IP ip = 1;
355
+ */
356
+ ip?: IP | undefined;
357
+ };
358
+ /**
359
+ * Describes the message fits.api.v1.IPServiceGetResponse.
360
+ * Use `create(IPServiceGetResponseSchema)` to create a new message.
361
+ */
362
+ export declare const IPServiceGetResponseSchema: GenMessage<IPServiceGetResponse>;
363
+ /**
364
+ * IPServiceUpdateResponse is the response payload for a ip update request
365
+ *
366
+ * @generated from message fits.api.v1.IPServiceUpdateResponse
367
+ */
368
+ export type IPServiceUpdateResponse = Message<"fits.api.v1.IPServiceUpdateResponse"> & {
369
+ /**
370
+ * Ip the ip
371
+ *
372
+ * @generated from field: fits.api.v1.IP ip = 1;
373
+ */
374
+ ip?: IP | undefined;
375
+ };
376
+ /**
377
+ * Describes the message fits.api.v1.IPServiceUpdateResponse.
378
+ * Use `create(IPServiceUpdateResponseSchema)` to create a new message.
379
+ */
380
+ export declare const IPServiceUpdateResponseSchema: GenMessage<IPServiceUpdateResponse>;
381
+ /**
382
+ * IPServiceCreateResponse is the response payload for a ip create request
383
+ *
384
+ * @generated from message fits.api.v1.IPServiceCreateResponse
385
+ */
386
+ export type IPServiceCreateResponse = Message<"fits.api.v1.IPServiceCreateResponse"> & {
387
+ /**
388
+ * Ip the ip
389
+ *
390
+ * @generated from field: fits.api.v1.IP ip = 1;
391
+ */
392
+ ip?: IP | undefined;
393
+ };
394
+ /**
395
+ * Describes the message fits.api.v1.IPServiceCreateResponse.
396
+ * Use `create(IPServiceCreateResponseSchema)` to create a new message.
397
+ */
398
+ export declare const IPServiceCreateResponseSchema: GenMessage<IPServiceCreateResponse>;
399
+ /**
400
+ * IPServiceListResponse is the response payload for a ip list request
401
+ *
402
+ * @generated from message fits.api.v1.IPServiceListResponse
403
+ */
404
+ export type IPServiceListResponse = Message<"fits.api.v1.IPServiceListResponse"> & {
405
+ /**
406
+ * Ips the ips
407
+ *
408
+ * @generated from field: repeated fits.api.v1.IP ips = 1;
409
+ */
410
+ ips: IP[];
411
+ };
412
+ /**
413
+ * Describes the message fits.api.v1.IPServiceListResponse.
414
+ * Use `create(IPServiceListResponseSchema)` to create a new message.
415
+ */
416
+ export declare const IPServiceListResponseSchema: GenMessage<IPServiceListResponse>;
417
+ /**
418
+ * IPServiceDeleteResponse is the response payload for a ip delete request
419
+ *
420
+ * @generated from message fits.api.v1.IPServiceDeleteResponse
421
+ */
422
+ export type IPServiceDeleteResponse = Message<"fits.api.v1.IPServiceDeleteResponse"> & {
423
+ /**
424
+ * Ip the ip
425
+ *
426
+ * @generated from field: fits.api.v1.IP ip = 1;
427
+ */
428
+ ip?: IP | undefined;
429
+ };
430
+ /**
431
+ * Describes the message fits.api.v1.IPServiceDeleteResponse.
432
+ * Use `create(IPServiceDeleteResponseSchema)` to create a new message.
433
+ */
434
+ export declare const IPServiceDeleteResponseSchema: GenMessage<IPServiceDeleteResponse>;
435
+ /**
436
+ * IPType specifies different ip address types
437
+ *
438
+ * @generated from enum fits.api.v1.IPType
439
+ */
440
+ export declare enum IPType {
441
+ /**
442
+ * IP_TYPE_UNSPECIFIED is not specified
443
+ *
444
+ * @generated from enum value: IP_TYPE_UNSPECIFIED = 0;
445
+ */
446
+ IP_TYPE_UNSPECIFIED = 0,
447
+ /**
448
+ * IP_TYPE_EPHEMERAL defines a ephemeral ip address which is freed/deleted after usage
449
+ *
450
+ * @generated from enum value: IP_TYPE_EPHEMERAL = 1;
451
+ */
452
+ IP_TYPE_EPHEMERAL = 1,
453
+ /**
454
+ * IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly
455
+ *
456
+ * @generated from enum value: IP_TYPE_STATIC = 2;
457
+ */
458
+ IP_TYPE_STATIC = 2
459
+ }
460
+ /**
461
+ * Describes the enum fits.api.v1.IPType.
462
+ */
463
+ export declare const IPTypeSchema: GenEnum<IPType>;
464
+ /**
465
+ * IPAddressFamily defines either IPv4 or IPv6 Addressfamily
466
+ *
467
+ * @generated from enum fits.api.v1.IPAddressFamily
468
+ */
469
+ export declare enum IPAddressFamily {
470
+ /**
471
+ * IP_ADDRESS_FAMILY_UNSPECIFIED is not specified
472
+ *
473
+ * @generated from enum value: IP_ADDRESS_FAMILY_UNSPECIFIED = 0;
474
+ */
475
+ IP_ADDRESS_FAMILY_UNSPECIFIED = 0,
476
+ /**
477
+ * IP_ADDRESS_FAMILY_V4 defines a IPv4 address
478
+ *
479
+ * @generated from enum value: IP_ADDRESS_FAMILY_V4 = 1;
480
+ */
481
+ IP_ADDRESS_FAMILY_V4 = 1,
482
+ /**
483
+ * IP_ADDRESS_FAMILY_V6 defines a IPv6 address
484
+ *
485
+ * @generated from enum value: IP_ADDRESS_FAMILY_V6 = 2;
486
+ */
487
+ IP_ADDRESS_FAMILY_V6 = 2
488
+ }
489
+ /**
490
+ * Describes the enum fits.api.v1.IPAddressFamily.
491
+ */
492
+ export declare const IPAddressFamilySchema: GenEnum<IPAddressFamily>;
493
+ /**
494
+ * IPService provides IP address management operations.
495
+ *
496
+ * @generated from service fits.api.v1.IPService
497
+ */
498
+ export declare const IPService: GenService<{
499
+ /**
500
+ * Returns the IP address with the specified IP.
501
+ *
502
+ * @generated from rpc fits.api.v1.IPService.Get
503
+ */
504
+ get: {
505
+ methodKind: "unary";
506
+ input: typeof IPServiceGetRequestSchema;
507
+ output: typeof IPServiceGetResponseSchema;
508
+ };
509
+ /**
510
+ * Creates a new IP address.
511
+ *
512
+ * @generated from rpc fits.api.v1.IPService.Create
513
+ */
514
+ create: {
515
+ methodKind: "unary";
516
+ input: typeof IPServiceCreateRequestSchema;
517
+ output: typeof IPServiceCreateResponseSchema;
518
+ };
519
+ /**
520
+ * Updates an IP address.
521
+ *
522
+ * @generated from rpc fits.api.v1.IPService.Update
523
+ */
524
+ update: {
525
+ methodKind: "unary";
526
+ input: typeof IPServiceUpdateRequestSchema;
527
+ output: typeof IPServiceUpdateResponseSchema;
528
+ };
529
+ /**
530
+ * Returns the list of all IP addresses.
531
+ *
532
+ * @generated from rpc fits.api.v1.IPService.List
533
+ */
534
+ list: {
535
+ methodKind: "unary";
536
+ input: typeof IPServiceListRequestSchema;
537
+ output: typeof IPServiceListResponseSchema;
538
+ };
539
+ /**
540
+ * Deletes an IP address.
541
+ *
542
+ * @generated from rpc fits.api.v1.IPService.Delete
543
+ */
544
+ delete: {
545
+ methodKind: "unary";
546
+ input: typeof IPServiceDeleteRequestSchema;
547
+ output: typeof IPServiceDeleteResponseSchema;
548
+ };
549
+ }>;
@@ -0,0 +1,137 @@
1
+ // @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
2
+ // @generated from file fits/api/v1/ip.proto (package fits.api.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
+ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
6
+ import { file_fits_api_v1_common } from "./common_pb.js";
7
+ import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb.js";
8
+ /**
9
+ * Describes the file fits/api/v1/ip.proto.
10
+ */
11
+ export const file_fits_api_v1_ip = /*@__PURE__*/ fileDesc("ChRmaXRzL2FwaS92MS9pcC5wcm90bxILZml0cy5hcGkudjEipQIKAklQEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEh8KBG1ldGEYAiABKAsyES5maXRzLmFwaS52MS5NZXRhEhMKAmlwGAMgASgJQge6SARyAnABEhkKBG5hbWUYBCABKAlCC7pICHIGwLOusQIBEiAKC2Rlc2NyaXB0aW9uGAUgASgJQgu6SAhyBsizrrECARIcCgduZXR3b3JrGAYgASgJQgu6SAhyBsCzrrECARIZCgdwcm9qZWN0GAcgASgJQgi6SAVyA7ABARIrCgR0eXBlGAggASgOMhMuZml0cy5hcGkudjEuSVBUeXBlQgi6SAWCAQIQARIgCgluYW1lc3BhY2UYCSABKAlCCLpIBXIDsAEBSACIAQFCDAoKX25hbWVzcGFjZSJ1ChNJUFNlcnZpY2VHZXRSZXF1ZXN0EhMKAmlwGAEgASgJQge6SARyAnABEhkKB3Byb2plY3QYAiABKAlCCLpIBXIDsAEBEiAKCW5hbWVzcGFjZRgDIAEoCUIIukgFcgOwAQFIAIgBAUIMCgpfbmFtZXNwYWNlIsYDChZJUFNlcnZpY2VDcmVhdGVSZXF1ZXN0EhwKB25ldHdvcmsYASABKAlCC7pICHIGwLOusQIBEhkKB3Byb2plY3QYAiABKAlCCLpIBXIDsAEBEh4KBG5hbWUYA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WIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
12
+ /**
13
+ * Describes the message fits.api.v1.IP.
14
+ * Use `create(IPSchema)` to create a new message.
15
+ */
16
+ export const IPSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_ip, 0);
17
+ /**
18
+ * Describes the message fits.api.v1.IPServiceGetRequest.
19
+ * Use `create(IPServiceGetRequestSchema)` to create a new message.
20
+ */
21
+ export const IPServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_ip, 1);
22
+ /**
23
+ * Describes the message fits.api.v1.IPServiceCreateRequest.
24
+ * Use `create(IPServiceCreateRequestSchema)` to create a new message.
25
+ */
26
+ export const IPServiceCreateRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_ip, 2);
27
+ /**
28
+ * Describes the message fits.api.v1.IPServiceUpdateRequest.
29
+ * Use `create(IPServiceUpdateRequestSchema)` to create a new message.
30
+ */
31
+ export const IPServiceUpdateRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_ip, 3);
32
+ /**
33
+ * Describes the message fits.api.v1.IPServiceListRequest.
34
+ * Use `create(IPServiceListRequestSchema)` to create a new message.
35
+ */
36
+ export const IPServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_ip, 4);
37
+ /**
38
+ * Describes the message fits.api.v1.IPQuery.
39
+ * Use `create(IPQuerySchema)` to create a new message.
40
+ */
41
+ export const IPQuerySchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_ip, 5);
42
+ /**
43
+ * Describes the message fits.api.v1.IPServiceDeleteRequest.
44
+ * Use `create(IPServiceDeleteRequestSchema)` to create a new message.
45
+ */
46
+ export const IPServiceDeleteRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_ip, 6);
47
+ /**
48
+ * Describes the message fits.api.v1.IPServiceGetResponse.
49
+ * Use `create(IPServiceGetResponseSchema)` to create a new message.
50
+ */
51
+ export const IPServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_ip, 7);
52
+ /**
53
+ * Describes the message fits.api.v1.IPServiceUpdateResponse.
54
+ * Use `create(IPServiceUpdateResponseSchema)` to create a new message.
55
+ */
56
+ export const IPServiceUpdateResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_ip, 8);
57
+ /**
58
+ * Describes the message fits.api.v1.IPServiceCreateResponse.
59
+ * Use `create(IPServiceCreateResponseSchema)` to create a new message.
60
+ */
61
+ export const IPServiceCreateResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_ip, 9);
62
+ /**
63
+ * Describes the message fits.api.v1.IPServiceListResponse.
64
+ * Use `create(IPServiceListResponseSchema)` to create a new message.
65
+ */
66
+ export const IPServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_ip, 10);
67
+ /**
68
+ * Describes the message fits.api.v1.IPServiceDeleteResponse.
69
+ * Use `create(IPServiceDeleteResponseSchema)` to create a new message.
70
+ */
71
+ export const IPServiceDeleteResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_ip, 11);
72
+ /**
73
+ * IPType specifies different ip address types
74
+ *
75
+ * @generated from enum fits.api.v1.IPType
76
+ */
77
+ export var IPType;
78
+ (function (IPType) {
79
+ /**
80
+ * IP_TYPE_UNSPECIFIED is not specified
81
+ *
82
+ * @generated from enum value: IP_TYPE_UNSPECIFIED = 0;
83
+ */
84
+ IPType[IPType["IP_TYPE_UNSPECIFIED"] = 0] = "IP_TYPE_UNSPECIFIED";
85
+ /**
86
+ * IP_TYPE_EPHEMERAL defines a ephemeral ip address which is freed/deleted after usage
87
+ *
88
+ * @generated from enum value: IP_TYPE_EPHEMERAL = 1;
89
+ */
90
+ IPType[IPType["IP_TYPE_EPHEMERAL"] = 1] = "IP_TYPE_EPHEMERAL";
91
+ /**
92
+ * IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly
93
+ *
94
+ * @generated from enum value: IP_TYPE_STATIC = 2;
95
+ */
96
+ IPType[IPType["IP_TYPE_STATIC"] = 2] = "IP_TYPE_STATIC";
97
+ })(IPType || (IPType = {}));
98
+ /**
99
+ * Describes the enum fits.api.v1.IPType.
100
+ */
101
+ export const IPTypeSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_ip, 0);
102
+ /**
103
+ * IPAddressFamily defines either IPv4 or IPv6 Addressfamily
104
+ *
105
+ * @generated from enum fits.api.v1.IPAddressFamily
106
+ */
107
+ export var IPAddressFamily;
108
+ (function (IPAddressFamily) {
109
+ /**
110
+ * IP_ADDRESS_FAMILY_UNSPECIFIED is not specified
111
+ *
112
+ * @generated from enum value: IP_ADDRESS_FAMILY_UNSPECIFIED = 0;
113
+ */
114
+ IPAddressFamily[IPAddressFamily["IP_ADDRESS_FAMILY_UNSPECIFIED"] = 0] = "IP_ADDRESS_FAMILY_UNSPECIFIED";
115
+ /**
116
+ * IP_ADDRESS_FAMILY_V4 defines a IPv4 address
117
+ *
118
+ * @generated from enum value: IP_ADDRESS_FAMILY_V4 = 1;
119
+ */
120
+ IPAddressFamily[IPAddressFamily["IP_ADDRESS_FAMILY_V4"] = 1] = "IP_ADDRESS_FAMILY_V4";
121
+ /**
122
+ * IP_ADDRESS_FAMILY_V6 defines a IPv6 address
123
+ *
124
+ * @generated from enum value: IP_ADDRESS_FAMILY_V6 = 2;
125
+ */
126
+ IPAddressFamily[IPAddressFamily["IP_ADDRESS_FAMILY_V6"] = 2] = "IP_ADDRESS_FAMILY_V6";
127
+ })(IPAddressFamily || (IPAddressFamily = {}));
128
+ /**
129
+ * Describes the enum fits.api.v1.IPAddressFamily.
130
+ */
131
+ export const IPAddressFamilySchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_ip, 1);
132
+ /**
133
+ * IPService provides IP address management operations.
134
+ *
135
+ * @generated from service fits.api.v1.IPService
136
+ */
137
+ export const IPService = /*@__PURE__*/ serviceDesc(file_fits_api_v1_ip, 0);
@@ -0,0 +1,643 @@
1
+ // @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
2
+ // @generated from file fits/api/v1/ip.proto (package fits.api.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
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
+ import type { Message } from "@bufbuild/protobuf";
12
+
13
+ /**
14
+ * Describes the file fits/api/v1/ip.proto.
15
+ */
16
+ export const file_fits_api_v1_ip: GenFile = /*@__PURE__*/
17
+ fileDesc("ChRmaXRzL2FwaS92MS9pcC5wcm90bxILZml0cy5hcGkudjEipQIKAklQEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEh8KBG1ldGEYAiABKAsyES5maXRzLmFwaS52MS5NZXRhEhMKAmlwGAMgASgJQge6SARyAnABEhkKBG5hbWUYBCABKAlCC7pICHIGwLOusQIBEiAKC2Rlc2NyaXB0aW9uGAUgASgJQgu6SAhyBsizrrECARIcCgduZXR3b3JrGAYgASgJQgu6SAhyBsCzrrECARIZCgdwcm9qZWN0GAcgASgJQgi6SAVyA7ABARIrCgR0eXBlGAggASgOMhMuZml0cy5hcGkudjEuSVBUeXBlQgi6SAWCAQIQARIgCgluYW1lc3BhY2UYCSABKAlCCLpIBXIDsAEBSACIAQFCDAoKX25hbWVzcGFjZSJ1ChNJUFNlcnZpY2VHZXRSZXF1ZXN0EhMKAm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iIuZml0cy5hcGkudjEuSVBTZXJ2aWNlTGlzdFJlc3BvbnNlIgvK8xgDAQID4PMYAhJfCgZEZWxldGUSIy5maXRzLmFwaS52MS5JUFNlcnZpY2VEZWxldGVSZXF1ZXN0GiQuZml0cy5hcGkudjEuSVBTZXJ2aWNlRGVsZXRlUmVzcG9uc2UiCsrzGAIBAuDzGAFCkwEKD2NvbS5maXRzLmFwaS52MUIHSXBQcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
18
+
19
+ /**
20
+ * IP is a ip address which can be used as loadbalancer addresses
21
+ *
22
+ * @generated from message fits.api.v1.IP
23
+ */
24
+ export type IP = Message<"fits.api.v1.IP"> & {
25
+ /**
26
+ * Uuid of this ip
27
+ *
28
+ * @generated from field: string uuid = 1;
29
+ */
30
+ uuid: string;
31
+
32
+ /**
33
+ * Meta for this ip
34
+ *
35
+ * @generated from field: fits.api.v1.Meta meta = 2;
36
+ */
37
+ meta?: Meta | undefined;
38
+
39
+ /**
40
+ * Ip is either ipv4 or ipv6 address
41
+ *
42
+ * @generated from field: string ip = 3;
43
+ */
44
+ ip: string;
45
+
46
+ /**
47
+ * Name of this ip
48
+ *
49
+ * @generated from field: string name = 4;
50
+ */
51
+ name: string;
52
+
53
+ /**
54
+ * Description of this ip
55
+ *
56
+ * @generated from field: string description = 5;
57
+ */
58
+ description: string;
59
+
60
+ /**
61
+ * Network is the network this ip belongs to
62
+ *
63
+ * @generated from field: string network = 6;
64
+ */
65
+ network: string;
66
+
67
+ /**
68
+ * Project where this ip address belongs to
69
+ *
70
+ * @generated from field: string project = 7;
71
+ */
72
+ project: string;
73
+
74
+ /**
75
+ * Type of this ip
76
+ *
77
+ * @generated from field: fits.api.v1.IPType type = 8;
78
+ */
79
+ type: IPType;
80
+
81
+ /**
82
+ * Namespace if specified this ip is from a namespaced network and can therefore overlap with others
83
+ * Will be equal with project most of the time
84
+ *
85
+ * @generated from field: optional string namespace = 9;
86
+ */
87
+ namespace?: string | undefined;
88
+ };
89
+
90
+ /**
91
+ * Describes the message fits.api.v1.IP.
92
+ * Use `create(IPSchema)` to create a new message.
93
+ */
94
+ export const IPSchema: GenMessage<IP> = /*@__PURE__*/
95
+ messageDesc(file_fits_api_v1_ip, 0);
96
+
97
+ /**
98
+ * IPServiceGetRequest is the request payload for a ip get request
99
+ *
100
+ * @generated from message fits.api.v1.IPServiceGetRequest
101
+ */
102
+ export type IPServiceGetRequest = Message<"fits.api.v1.IPServiceGetRequest"> & {
103
+ /**
104
+ * IP of the ip to get
105
+ *
106
+ * @generated from field: string ip = 1;
107
+ */
108
+ ip: string;
109
+
110
+ /**
111
+ * Project of the ip
112
+ *
113
+ * @generated from field: string project = 2;
114
+ */
115
+ project: string;
116
+
117
+ /**
118
+ * Namespace can be specified to get the ip of a namespace.
119
+ *
120
+ * @generated from field: optional string namespace = 3;
121
+ */
122
+ namespace?: string | undefined;
123
+ };
124
+
125
+ /**
126
+ * Describes the message fits.api.v1.IPServiceGetRequest.
127
+ * Use `create(IPServiceGetRequestSchema)` to create a new message.
128
+ */
129
+ export const IPServiceGetRequestSchema: GenMessage<IPServiceGetRequest> = /*@__PURE__*/
130
+ messageDesc(file_fits_api_v1_ip, 1);
131
+
132
+ /**
133
+ * IPServiceCreateRequest is the request payload for a ip create request
134
+ *
135
+ * @generated from message fits.api.v1.IPServiceCreateRequest
136
+ */
137
+ export type IPServiceCreateRequest = Message<"fits.api.v1.IPServiceCreateRequest"> & {
138
+ /**
139
+ * Network from which the IP should be created
140
+ *
141
+ * @generated from field: string network = 1;
142
+ */
143
+ network: string;
144
+
145
+ /**
146
+ * Project of the ip
147
+ *
148
+ * @generated from field: string project = 2;
149
+ */
150
+ project: string;
151
+
152
+ /**
153
+ * Name of the ip
154
+ *
155
+ * @generated from field: optional string name = 3;
156
+ */
157
+ name?: string | undefined;
158
+
159
+ /**
160
+ * Description of the ip
161
+ *
162
+ * @generated from field: optional string description = 4;
163
+ */
164
+ description?: string | undefined;
165
+
166
+ /**
167
+ * IP if given try to create this ip if still available
168
+ *
169
+ * @generated from field: optional string ip = 5;
170
+ */
171
+ ip?: string | undefined;
172
+
173
+ /**
174
+ * Machine for which this ip should get created
175
+ *
176
+ * @generated from field: optional string machine = 6;
177
+ */
178
+ machine?: string | undefined;
179
+
180
+ /**
181
+ * Labels to put onto the ip
182
+ *
183
+ * @generated from field: optional fits.api.v1.Labels labels = 7;
184
+ */
185
+ labels?: Labels | undefined;
186
+
187
+ /**
188
+ * Type of the IP, ether ephemeral (default), or static
189
+ *
190
+ * @generated from field: optional fits.api.v1.IPType type = 8;
191
+ */
192
+ type?: IPType | undefined;
193
+
194
+ /**
195
+ * Addressfamily of the IP to create, defaults to ipv4
196
+ *
197
+ * @generated from field: optional fits.api.v1.IPAddressFamily address_family = 9;
198
+ */
199
+ addressFamily?: IPAddressFamily | undefined;
200
+ };
201
+
202
+ /**
203
+ * Describes the message fits.api.v1.IPServiceCreateRequest.
204
+ * Use `create(IPServiceCreateRequestSchema)` to create a new message.
205
+ */
206
+ export const IPServiceCreateRequestSchema: GenMessage<IPServiceCreateRequest> = /*@__PURE__*/
207
+ messageDesc(file_fits_api_v1_ip, 2);
208
+
209
+ /**
210
+ * IPServiceUpdateRequest is the request payload for a ip update request
211
+ *
212
+ * @generated from message fits.api.v1.IPServiceUpdateRequest
213
+ */
214
+ export type IPServiceUpdateRequest = Message<"fits.api.v1.IPServiceUpdateRequest"> & {
215
+ /**
216
+ * Ip the ip to update
217
+ *
218
+ * @generated from field: string ip = 1;
219
+ */
220
+ ip: string;
221
+
222
+ /**
223
+ * UpdateMeta contains the timestamp and strategy to be used in this update request
224
+ *
225
+ * @generated from field: fits.api.v1.UpdateMeta update_meta = 2;
226
+ */
227
+ updateMeta?: UpdateMeta | undefined;
228
+
229
+ /**
230
+ * Project id of the ip
231
+ *
232
+ * @generated from field: string project = 3;
233
+ */
234
+ project: string;
235
+
236
+ /**
237
+ * Name of this ip
238
+ *
239
+ * @generated from field: optional string name = 4;
240
+ */
241
+ name?: string | undefined;
242
+
243
+ /**
244
+ * Description of this ip
245
+ *
246
+ * @generated from field: optional string description = 5;
247
+ */
248
+ description?: string | undefined;
249
+
250
+ /**
251
+ * Type of this ip
252
+ *
253
+ * @generated from field: optional fits.api.v1.IPType type = 6;
254
+ */
255
+ type?: IPType | undefined;
256
+
257
+ /**
258
+ * Labels on this ip
259
+ *
260
+ * @generated from field: optional fits.api.v1.UpdateLabels labels = 7;
261
+ */
262
+ labels?: UpdateLabels | undefined;
263
+ };
264
+
265
+ /**
266
+ * Describes the message fits.api.v1.IPServiceUpdateRequest.
267
+ * Use `create(IPServiceUpdateRequestSchema)` to create a new message.
268
+ */
269
+ export const IPServiceUpdateRequestSchema: GenMessage<IPServiceUpdateRequest> = /*@__PURE__*/
270
+ messageDesc(file_fits_api_v1_ip, 3);
271
+
272
+ /**
273
+ * IPServiceListRequest is the request payload for a ip list request
274
+ *
275
+ * @generated from message fits.api.v1.IPServiceListRequest
276
+ */
277
+ export type IPServiceListRequest = Message<"fits.api.v1.IPServiceListRequest"> & {
278
+ /**
279
+ * Project of the ips to list
280
+ *
281
+ * @generated from field: string project = 1;
282
+ */
283
+ project: string;
284
+
285
+ /**
286
+ * Query to list one ore more ips
287
+ *
288
+ * @generated from field: fits.api.v1.IPQuery query = 2;
289
+ */
290
+ query?: IPQuery | undefined;
291
+ };
292
+
293
+ /**
294
+ * Describes the message fits.api.v1.IPServiceListRequest.
295
+ * Use `create(IPServiceListRequestSchema)` to create a new message.
296
+ */
297
+ export const IPServiceListRequestSchema: GenMessage<IPServiceListRequest> = /*@__PURE__*/
298
+ messageDesc(file_fits_api_v1_ip, 4);
299
+
300
+ /**
301
+ * IPQuery can be used to query a IP or a list of IP
302
+ *
303
+ * @generated from message fits.api.v1.IPQuery
304
+ */
305
+ export type IPQuery = Message<"fits.api.v1.IPQuery"> & {
306
+ /**
307
+ * Ip the ip to list
308
+ *
309
+ * @generated from field: optional string ip = 1;
310
+ */
311
+ ip?: string | undefined;
312
+
313
+ /**
314
+ * Network from where the ips to list
315
+ *
316
+ * @generated from field: optional string network = 2;
317
+ */
318
+ network?: string | undefined;
319
+
320
+ /**
321
+ * Project of the ips to list
322
+ *
323
+ * @generated from field: optional string project = 3;
324
+ */
325
+ project?: string | undefined;
326
+
327
+ /**
328
+ * Name of this ip
329
+ *
330
+ * @generated from field: optional string name = 4;
331
+ */
332
+ name?: string | undefined;
333
+
334
+ /**
335
+ * Uuid for which this ips should get filtered
336
+ *
337
+ * @generated from field: optional string uuid = 5;
338
+ */
339
+ uuid?: string | undefined;
340
+
341
+ /**
342
+ * Machine for which this ips should get filtered
343
+ *
344
+ * @generated from field: optional string machine = 6;
345
+ */
346
+ machine?: string | undefined;
347
+
348
+ /**
349
+ * ParentPrefixCidr for which this ips should get filtered
350
+ *
351
+ * @generated from field: optional string parent_prefix_cidr = 7;
352
+ */
353
+ parentPrefixCidr?: string | undefined;
354
+
355
+ /**
356
+ * Labels for which this ips should get filtered
357
+ *
358
+ * @generated from field: optional fits.api.v1.Labels labels = 8;
359
+ */
360
+ labels?: Labels | undefined;
361
+
362
+ /**
363
+ * Static if set to true, this will be a Static ip
364
+ *
365
+ * @generated from field: optional fits.api.v1.IPType type = 9;
366
+ */
367
+ type?: IPType | undefined;
368
+
369
+ /**
370
+ * Addressfamily of the IPs to list, defaults to all addressfamilies
371
+ *
372
+ * @generated from field: optional fits.api.v1.IPAddressFamily address_family = 10;
373
+ */
374
+ addressFamily?: IPAddressFamily | undefined;
375
+ };
376
+
377
+ /**
378
+ * Describes the message fits.api.v1.IPQuery.
379
+ * Use `create(IPQuerySchema)` to create a new message.
380
+ */
381
+ export const IPQuerySchema: GenMessage<IPQuery> = /*@__PURE__*/
382
+ messageDesc(file_fits_api_v1_ip, 5);
383
+
384
+ /**
385
+ * IPServiceDeleteRequest is the request payload for a ip delete request
386
+ *
387
+ * @generated from message fits.api.v1.IPServiceDeleteRequest
388
+ */
389
+ export type IPServiceDeleteRequest = Message<"fits.api.v1.IPServiceDeleteRequest"> & {
390
+ /**
391
+ * IP of the ip to delete
392
+ *
393
+ * @generated from field: string ip = 1;
394
+ */
395
+ ip: string;
396
+
397
+ /**
398
+ * Project of the ip
399
+ *
400
+ * @generated from field: string project = 2;
401
+ */
402
+ project: string;
403
+ };
404
+
405
+ /**
406
+ * Describes the message fits.api.v1.IPServiceDeleteRequest.
407
+ * Use `create(IPServiceDeleteRequestSchema)` to create a new message.
408
+ */
409
+ export const IPServiceDeleteRequestSchema: GenMessage<IPServiceDeleteRequest> = /*@__PURE__*/
410
+ messageDesc(file_fits_api_v1_ip, 6);
411
+
412
+ /**
413
+ * IPServiceGetResponse is the response payload for a ip get request
414
+ *
415
+ * @generated from message fits.api.v1.IPServiceGetResponse
416
+ */
417
+ export type IPServiceGetResponse = Message<"fits.api.v1.IPServiceGetResponse"> & {
418
+ /**
419
+ * Ip the ip
420
+ *
421
+ * @generated from field: fits.api.v1.IP ip = 1;
422
+ */
423
+ ip?: IP | undefined;
424
+ };
425
+
426
+ /**
427
+ * Describes the message fits.api.v1.IPServiceGetResponse.
428
+ * Use `create(IPServiceGetResponseSchema)` to create a new message.
429
+ */
430
+ export const IPServiceGetResponseSchema: GenMessage<IPServiceGetResponse> = /*@__PURE__*/
431
+ messageDesc(file_fits_api_v1_ip, 7);
432
+
433
+ /**
434
+ * IPServiceUpdateResponse is the response payload for a ip update request
435
+ *
436
+ * @generated from message fits.api.v1.IPServiceUpdateResponse
437
+ */
438
+ export type IPServiceUpdateResponse = Message<"fits.api.v1.IPServiceUpdateResponse"> & {
439
+ /**
440
+ * Ip the ip
441
+ *
442
+ * @generated from field: fits.api.v1.IP ip = 1;
443
+ */
444
+ ip?: IP | undefined;
445
+ };
446
+
447
+ /**
448
+ * Describes the message fits.api.v1.IPServiceUpdateResponse.
449
+ * Use `create(IPServiceUpdateResponseSchema)` to create a new message.
450
+ */
451
+ export const IPServiceUpdateResponseSchema: GenMessage<IPServiceUpdateResponse> = /*@__PURE__*/
452
+ messageDesc(file_fits_api_v1_ip, 8);
453
+
454
+ /**
455
+ * IPServiceCreateResponse is the response payload for a ip create request
456
+ *
457
+ * @generated from message fits.api.v1.IPServiceCreateResponse
458
+ */
459
+ export type IPServiceCreateResponse = Message<"fits.api.v1.IPServiceCreateResponse"> & {
460
+ /**
461
+ * Ip the ip
462
+ *
463
+ * @generated from field: fits.api.v1.IP ip = 1;
464
+ */
465
+ ip?: IP | undefined;
466
+ };
467
+
468
+ /**
469
+ * Describes the message fits.api.v1.IPServiceCreateResponse.
470
+ * Use `create(IPServiceCreateResponseSchema)` to create a new message.
471
+ */
472
+ export const IPServiceCreateResponseSchema: GenMessage<IPServiceCreateResponse> = /*@__PURE__*/
473
+ messageDesc(file_fits_api_v1_ip, 9);
474
+
475
+ /**
476
+ * IPServiceListResponse is the response payload for a ip list request
477
+ *
478
+ * @generated from message fits.api.v1.IPServiceListResponse
479
+ */
480
+ export type IPServiceListResponse = Message<"fits.api.v1.IPServiceListResponse"> & {
481
+ /**
482
+ * Ips the ips
483
+ *
484
+ * @generated from field: repeated fits.api.v1.IP ips = 1;
485
+ */
486
+ ips: IP[];
487
+ };
488
+
489
+ /**
490
+ * Describes the message fits.api.v1.IPServiceListResponse.
491
+ * Use `create(IPServiceListResponseSchema)` to create a new message.
492
+ */
493
+ export const IPServiceListResponseSchema: GenMessage<IPServiceListResponse> = /*@__PURE__*/
494
+ messageDesc(file_fits_api_v1_ip, 10);
495
+
496
+ /**
497
+ * IPServiceDeleteResponse is the response payload for a ip delete request
498
+ *
499
+ * @generated from message fits.api.v1.IPServiceDeleteResponse
500
+ */
501
+ export type IPServiceDeleteResponse = Message<"fits.api.v1.IPServiceDeleteResponse"> & {
502
+ /**
503
+ * Ip the ip
504
+ *
505
+ * @generated from field: fits.api.v1.IP ip = 1;
506
+ */
507
+ ip?: IP | undefined;
508
+ };
509
+
510
+ /**
511
+ * Describes the message fits.api.v1.IPServiceDeleteResponse.
512
+ * Use `create(IPServiceDeleteResponseSchema)` to create a new message.
513
+ */
514
+ export const IPServiceDeleteResponseSchema: GenMessage<IPServiceDeleteResponse> = /*@__PURE__*/
515
+ messageDesc(file_fits_api_v1_ip, 11);
516
+
517
+ /**
518
+ * IPType specifies different ip address types
519
+ *
520
+ * @generated from enum fits.api.v1.IPType
521
+ */
522
+ export enum IPType {
523
+ /**
524
+ * IP_TYPE_UNSPECIFIED is not specified
525
+ *
526
+ * @generated from enum value: IP_TYPE_UNSPECIFIED = 0;
527
+ */
528
+ IP_TYPE_UNSPECIFIED = 0,
529
+
530
+ /**
531
+ * IP_TYPE_EPHEMERAL defines a ephemeral ip address which is freed/deleted after usage
532
+ *
533
+ * @generated from enum value: IP_TYPE_EPHEMERAL = 1;
534
+ */
535
+ IP_TYPE_EPHEMERAL = 1,
536
+
537
+ /**
538
+ * IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly
539
+ *
540
+ * @generated from enum value: IP_TYPE_STATIC = 2;
541
+ */
542
+ IP_TYPE_STATIC = 2,
543
+ }
544
+
545
+ /**
546
+ * Describes the enum fits.api.v1.IPType.
547
+ */
548
+ export const IPTypeSchema: GenEnum<IPType> = /*@__PURE__*/
549
+ enumDesc(file_fits_api_v1_ip, 0);
550
+
551
+ /**
552
+ * IPAddressFamily defines either IPv4 or IPv6 Addressfamily
553
+ *
554
+ * @generated from enum fits.api.v1.IPAddressFamily
555
+ */
556
+ export enum IPAddressFamily {
557
+ /**
558
+ * IP_ADDRESS_FAMILY_UNSPECIFIED is not specified
559
+ *
560
+ * @generated from enum value: IP_ADDRESS_FAMILY_UNSPECIFIED = 0;
561
+ */
562
+ IP_ADDRESS_FAMILY_UNSPECIFIED = 0,
563
+
564
+ /**
565
+ * IP_ADDRESS_FAMILY_V4 defines a IPv4 address
566
+ *
567
+ * @generated from enum value: IP_ADDRESS_FAMILY_V4 = 1;
568
+ */
569
+ IP_ADDRESS_FAMILY_V4 = 1,
570
+
571
+ /**
572
+ * IP_ADDRESS_FAMILY_V6 defines a IPv6 address
573
+ *
574
+ * @generated from enum value: IP_ADDRESS_FAMILY_V6 = 2;
575
+ */
576
+ IP_ADDRESS_FAMILY_V6 = 2,
577
+ }
578
+
579
+ /**
580
+ * Describes the enum fits.api.v1.IPAddressFamily.
581
+ */
582
+ export const IPAddressFamilySchema: GenEnum<IPAddressFamily> = /*@__PURE__*/
583
+ enumDesc(file_fits_api_v1_ip, 1);
584
+
585
+ /**
586
+ * IPService provides IP address management operations.
587
+ *
588
+ * @generated from service fits.api.v1.IPService
589
+ */
590
+ export const IPService: GenService<{
591
+ /**
592
+ * Returns the IP address with the specified IP.
593
+ *
594
+ * @generated from rpc fits.api.v1.IPService.Get
595
+ */
596
+ get: {
597
+ methodKind: "unary";
598
+ input: typeof IPServiceGetRequestSchema;
599
+ output: typeof IPServiceGetResponseSchema;
600
+ },
601
+ /**
602
+ * Creates a new IP address.
603
+ *
604
+ * @generated from rpc fits.api.v1.IPService.Create
605
+ */
606
+ create: {
607
+ methodKind: "unary";
608
+ input: typeof IPServiceCreateRequestSchema;
609
+ output: typeof IPServiceCreateResponseSchema;
610
+ },
611
+ /**
612
+ * Updates an IP address.
613
+ *
614
+ * @generated from rpc fits.api.v1.IPService.Update
615
+ */
616
+ update: {
617
+ methodKind: "unary";
618
+ input: typeof IPServiceUpdateRequestSchema;
619
+ output: typeof IPServiceUpdateResponseSchema;
620
+ },
621
+ /**
622
+ * Returns the list of all IP addresses.
623
+ *
624
+ * @generated from rpc fits.api.v1.IPService.List
625
+ */
626
+ list: {
627
+ methodKind: "unary";
628
+ input: typeof IPServiceListRequestSchema;
629
+ output: typeof IPServiceListResponseSchema;
630
+ },
631
+ /**
632
+ * Deletes an IP address.
633
+ *
634
+ * @generated from rpc fits.api.v1.IPService.Delete
635
+ */
636
+ delete: {
637
+ methodKind: "unary";
638
+ input: typeof IPServiceDeleteRequestSchema;
639
+ output: typeof IPServiceDeleteResponseSchema;
640
+ },
641
+ }> = /*@__PURE__*/
642
+ serviceDesc(file_fits_api_v1_ip, 0);
643
+
package/package.json CHANGED
@@ -21,5 +21,5 @@
21
21
  "fits",
22
22
  "buf"
23
23
  ],
24
- "version": "0.0.0-pr.29.0979af3c"
24
+ "version": "0.0.0-pr.30.1af00172"
25
25
  }