@fi-ts/api 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fits/api/mvm/v1/domain_pb.d.ts +7 -1
- package/fits/api/mvm/v1/domain_pb.js +1 -1
- package/fits/api/mvm/v1/domain_pb.ts +9 -2
- package/fits/api/mvm/v1/mvm_pb.d.ts +50 -38
- package/fits/api/mvm/v1/mvm_pb.js +64 -59
- package/fits/api/mvm/v1/mvm_pb.ts +88 -73
- package/fits/api/mvm/v1/vlan_pb.d.ts +23 -5
- package/fits/api/mvm/v1/vlan_pb.js +8 -3
- package/fits/api/mvm/v1/vlan_pb.ts +29 -8
- package/fits/api/v1/common_pb.d.ts +20 -20
- package/fits/api/v1/common_pb.js +26 -26
- package/fits/api/v1/common_pb.ts +21 -21
- package/fits/api/v1/method_pb.d.ts +4 -4
- package/fits/api/v1/method_pb.js +1 -1
- package/fits/api/v1/method_pb.ts +5 -5
- package/fits/api/v1/token_pb.d.ts +14 -14
- package/fits/api/v1/token_pb.js +4 -4
- package/fits/api/v1/token_pb.ts +15 -15
- package/package.json +1 -1
- package/fits/api/v1/ip_pb.d.ts +0 -549
- package/fits/api/v1/ip_pb.js +0 -137
- package/fits/api/v1/ip_pb.ts +0 -643
package/fits/api/v1/token_pb.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
7
|
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
8
|
-
import type {
|
|
8
|
+
import type { Meta, OperatorRole, ProjectRole, TenantRole } from "./common_pb.js";
|
|
9
9
|
import { file_fits_api_v1_common } from "./common_pb.js";
|
|
10
10
|
import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb.js";
|
|
11
11
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
@@ -16,7 +16,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
16
16
|
* Describes the file fits/api/v1/token.proto.
|
|
17
17
|
*/
|
|
18
18
|
export const file_fits_api_v1_token: GenFile = /*@__PURE__*/
|
|
19
|
-
fileDesc("
|
|
19
|
+
fileDesc("ChdmaXRzL2FwaS92MS90b2tlbi5wcm90bxILZml0cy5hcGkudjEi0gcKBVRva2VuEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhgKBHVzZXIYAiABKAlCCrpIB3IFEAIYgAQSHwoEbWV0YRgDIAEoCzIRLmZpdHMuYXBpLnYxLk1ldGESIAoLZGVzY3JpcHRpb24YBCABKAlCC7pICHIGyLOusQIBEkQKC3Blcm1pc3Npb25zGAUgAygLMiQuZml0cy5hcGkudjEuUGVybWlzc2lvbnNCeVZpc2liaWxpdHlCCbpIBpIBAxD0AxIrCgdleHBpcmVzGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBItCglpc3N1ZWRfYXQYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjQKCnRva2VuX3R5cGUYCCABKA4yFi5maXRzLmFwaS52MS5Ub2tlblR5cGVCCLpIBYIBAhABEjsKDXByb2plY3Rfcm9sZXMYCSADKAsyJC5maXRzLmFwaS52MS5Ub2tlbi5Qcm9qZWN0Um9sZXNFbnRyeRJUCgx0ZW5hbnRfcm9sZXMYCiADKAsyIy5maXRzLmFwaS52MS5Ub2tlbi5UZW5hbnRSb2xlc0VudHJ5Qhm6SBaaARPAlbixAgHQlbixAgEqBYIBAhABEj8KDW9wZXJhdG9yX3JvbGUYCyABKA4yGS5maXRzLmFwaS52MS5PcGVyYXRvclJvbGVCCLpIBYIBAhABSACIAQESJwoJcmF3X3JvbGVzGAwgAygJQhS6SBGSAQ7QpLOxAgHYpLOxAgEYARIWCgRuYW1lGA0gASgJQgi6SAVyAxiAAhIXCgVlbWFpbBg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5TZXJ2aWNlUmV2b2tlUmVxdWVzdBonLmZpdHMuYXBpLnYxLlRva2VuU2VydmljZVJldm9rZVJlc3BvbnNlIgjY8xgC4PMYAUKWAQoPY29tLmZpdHMuYXBpLnYxQgpUb2tlblByb3RvUAFaKWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL3YxO2FwaXYxogIDRkFYqgILRml0cy5BcGkuVjHKAgtGaXRzXEFwaVxWMeICF0ZpdHNcQXBpXFYxXEdQQk1ldGFkYXRh6gINRml0czo6QXBpOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules, file_google_protobuf_timestamp]);
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Token generates a jwt authentication token to access the api
|
|
@@ -106,11 +106,11 @@ export type Token = Message<"fits.api.v1.Token"> & {
|
|
|
106
106
|
tenantRoles: { [key: string]: TenantRole };
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
109
|
+
* OperatorRole defines the operator role of the token owner
|
|
110
110
|
*
|
|
111
|
-
* @generated from field: optional fits.api.v1.
|
|
111
|
+
* @generated from field: optional fits.api.v1.OperatorRole operator_role = 11;
|
|
112
112
|
*/
|
|
113
|
-
|
|
113
|
+
operatorRole?: OperatorRole | undefined;
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* RawRoles are the normalized roles transmitted by the OIDC provider.
|
|
@@ -219,12 +219,12 @@ export type PermissionsByVisibility = Message<"fits.api.v1.PermissionsByVisibili
|
|
|
219
219
|
case: "tenant";
|
|
220
220
|
} | {
|
|
221
221
|
/**
|
|
222
|
-
*
|
|
222
|
+
* OperatorPermissions carries operator method permissions.
|
|
223
223
|
*
|
|
224
|
-
* @generated from field: fits.api.v1.
|
|
224
|
+
* @generated from field: fits.api.v1.OperatorPermissions operator = 5;
|
|
225
225
|
*/
|
|
226
|
-
value:
|
|
227
|
-
case: "
|
|
226
|
+
value: OperatorPermissions;
|
|
227
|
+
case: "operator";
|
|
228
228
|
} | { case: undefined; value?: undefined };
|
|
229
229
|
};
|
|
230
230
|
|
|
@@ -336,11 +336,11 @@ export const TenantPermissionsSchema: GenMessage<TenantPermissions> = /*@__PURE_
|
|
|
336
336
|
messageDesc(file_fits_api_v1_token, 6);
|
|
337
337
|
|
|
338
338
|
/**
|
|
339
|
-
*
|
|
339
|
+
* OperatorPermissions carries operator method permissions.
|
|
340
340
|
*
|
|
341
|
-
* @generated from message fits.api.v1.
|
|
341
|
+
* @generated from message fits.api.v1.OperatorPermissions
|
|
342
342
|
*/
|
|
343
|
-
export type
|
|
343
|
+
export type OperatorPermissions = Message<"fits.api.v1.OperatorPermissions"> & {
|
|
344
344
|
/**
|
|
345
345
|
* Methods which should be accessible.
|
|
346
346
|
*
|
|
@@ -350,10 +350,10 @@ export type AdminPermissions = Message<"fits.api.v1.AdminPermissions"> & {
|
|
|
350
350
|
};
|
|
351
351
|
|
|
352
352
|
/**
|
|
353
|
-
* Describes the message fits.api.v1.
|
|
354
|
-
* Use `create(
|
|
353
|
+
* Describes the message fits.api.v1.OperatorPermissions.
|
|
354
|
+
* Use `create(OperatorPermissionsSchema)` to create a new message.
|
|
355
355
|
*/
|
|
356
|
-
export const
|
|
356
|
+
export const OperatorPermissionsSchema: GenMessage<OperatorPermissions> = /*@__PURE__*/
|
|
357
357
|
messageDesc(file_fits_api_v1_token, 7);
|
|
358
358
|
|
|
359
359
|
/**
|
package/package.json
CHANGED
package/fits/api/v1/ip_pb.d.ts
DELETED
|
@@ -1,549 +0,0 @@
|
|
|
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
|
-
}>;
|