@fi-ts/api 0.0.0-pr.36.25fd33ff → 0.0.0-pr.37.6a9ccb48
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/contact_pb.d.ts +302 -0
- package/fits/api/mvm/v1/contact_pb.js +62 -0
- package/fits/api/mvm/v1/contact_pb.ts +363 -0
- package/fits/api/mvm/v1/location_pb.d.ts +4 -11
- package/fits/api/mvm/v1/location_pb.js +2 -2
- package/fits/api/mvm/v1/location_pb.ts +4 -10
- package/fits/api/mvm/v1/os_pb.d.ts +10 -3
- package/fits/api/mvm/v1/os_pb.js +2 -2
- package/fits/api/mvm/v1/os_pb.ts +9 -3
- package/fits/api/v1/predefined_rules_pb.d.ts +6 -0
- package/fits/api/v1/predefined_rules_pb.js +18 -12
- package/fits/api/v1/predefined_rules_pb.ts +20 -12
- package/package.json +1 -1
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file fits/api/mvm/v1/contact.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_fits_api_mvm_v1_contact: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* Contact is a contact person an MVM instance can be assigned to.
|
|
9
|
+
*
|
|
10
|
+
* @generated from message fits.api.mvm.v1.Contact
|
|
11
|
+
*/
|
|
12
|
+
export type Contact = Message<"fits.api.mvm.v1.Contact"> & {
|
|
13
|
+
/**
|
|
14
|
+
* Uuid of this contact.
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: string uuid = 1;
|
|
17
|
+
*/
|
|
18
|
+
uuid: string;
|
|
19
|
+
/**
|
|
20
|
+
* First name of the contact.
|
|
21
|
+
*
|
|
22
|
+
* @generated from field: string first_name = 2;
|
|
23
|
+
*/
|
|
24
|
+
firstName: string;
|
|
25
|
+
/**
|
|
26
|
+
* Last name of the contact.
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: string last_name = 3;
|
|
29
|
+
*/
|
|
30
|
+
lastName: string;
|
|
31
|
+
/**
|
|
32
|
+
* Department of the contact.
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: string department = 4;
|
|
35
|
+
*/
|
|
36
|
+
department: string;
|
|
37
|
+
/**
|
|
38
|
+
* Phone number of the contact.
|
|
39
|
+
*
|
|
40
|
+
* @generated from field: string phone = 5;
|
|
41
|
+
*/
|
|
42
|
+
phone: string;
|
|
43
|
+
/**
|
|
44
|
+
* Email address of the contact.
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: string email = 6;
|
|
47
|
+
*/
|
|
48
|
+
email: string;
|
|
49
|
+
/**
|
|
50
|
+
* Tenant this contact belongs to.
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: string tenant = 7;
|
|
53
|
+
*/
|
|
54
|
+
tenant: string;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message fits.api.mvm.v1.Contact.
|
|
58
|
+
* Use `create(ContactSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export declare const ContactSchema: GenMessage<Contact>;
|
|
61
|
+
/**
|
|
62
|
+
* ContactServiceListRequest is the request payload for a contact list request.
|
|
63
|
+
*
|
|
64
|
+
* @generated from message fits.api.mvm.v1.ContactServiceListRequest
|
|
65
|
+
*/
|
|
66
|
+
export type ContactServiceListRequest = Message<"fits.api.mvm.v1.ContactServiceListRequest"> & {
|
|
67
|
+
/**
|
|
68
|
+
* Tenant to list available contact persons for.
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: string tenant = 1;
|
|
71
|
+
*/
|
|
72
|
+
tenant: string;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Describes the message fits.api.mvm.v1.ContactServiceListRequest.
|
|
76
|
+
* Use `create(ContactServiceListRequestSchema)` to create a new message.
|
|
77
|
+
*/
|
|
78
|
+
export declare const ContactServiceListRequestSchema: GenMessage<ContactServiceListRequest>;
|
|
79
|
+
/**
|
|
80
|
+
* ContactServiceListResponse is the response payload for a contact list request.
|
|
81
|
+
*
|
|
82
|
+
* @generated from message fits.api.mvm.v1.ContactServiceListResponse
|
|
83
|
+
*/
|
|
84
|
+
export type ContactServiceListResponse = Message<"fits.api.mvm.v1.ContactServiceListResponse"> & {
|
|
85
|
+
/**
|
|
86
|
+
* The available contact persons.
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: repeated fits.api.mvm.v1.Contact contacts = 1;
|
|
89
|
+
*/
|
|
90
|
+
contacts: Contact[];
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message fits.api.mvm.v1.ContactServiceListResponse.
|
|
94
|
+
* Use `create(ContactServiceListResponseSchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
export declare const ContactServiceListResponseSchema: GenMessage<ContactServiceListResponse>;
|
|
97
|
+
/**
|
|
98
|
+
* ContactServiceCreateRequest is the request payload for a contact create request.
|
|
99
|
+
*
|
|
100
|
+
* @generated from message fits.api.mvm.v1.ContactServiceCreateRequest
|
|
101
|
+
*/
|
|
102
|
+
export type ContactServiceCreateRequest = Message<"fits.api.mvm.v1.ContactServiceCreateRequest"> & {
|
|
103
|
+
/**
|
|
104
|
+
* Tenant to create the contact person for.
|
|
105
|
+
*
|
|
106
|
+
* @generated from field: string tenant = 1;
|
|
107
|
+
*/
|
|
108
|
+
tenant: string;
|
|
109
|
+
/**
|
|
110
|
+
* First name of the contact.
|
|
111
|
+
*
|
|
112
|
+
* @generated from field: string first_name = 4;
|
|
113
|
+
*/
|
|
114
|
+
firstName: string;
|
|
115
|
+
/**
|
|
116
|
+
* Last name of the contact.
|
|
117
|
+
*
|
|
118
|
+
* @generated from field: string last_name = 5;
|
|
119
|
+
*/
|
|
120
|
+
lastName: string;
|
|
121
|
+
/**
|
|
122
|
+
* Department of the contact.
|
|
123
|
+
*
|
|
124
|
+
* @generated from field: string department = 6;
|
|
125
|
+
*/
|
|
126
|
+
department: string;
|
|
127
|
+
/**
|
|
128
|
+
* Phone number of the contact.
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: string phone = 7;
|
|
131
|
+
*/
|
|
132
|
+
phone: string;
|
|
133
|
+
/**
|
|
134
|
+
* Email address of the contact.
|
|
135
|
+
*
|
|
136
|
+
* @generated from field: string email = 8;
|
|
137
|
+
*/
|
|
138
|
+
email: string;
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* Describes the message fits.api.mvm.v1.ContactServiceCreateRequest.
|
|
142
|
+
* Use `create(ContactServiceCreateRequestSchema)` to create a new message.
|
|
143
|
+
*/
|
|
144
|
+
export declare const ContactServiceCreateRequestSchema: GenMessage<ContactServiceCreateRequest>;
|
|
145
|
+
/**
|
|
146
|
+
* Response for Create; an empty response means the contact was accepted.
|
|
147
|
+
*
|
|
148
|
+
* @generated from message fits.api.mvm.v1.ContactServiceCreateResponse
|
|
149
|
+
*/
|
|
150
|
+
export type ContactServiceCreateResponse = Message<"fits.api.mvm.v1.ContactServiceCreateResponse"> & {};
|
|
151
|
+
/**
|
|
152
|
+
* Describes the message fits.api.mvm.v1.ContactServiceCreateResponse.
|
|
153
|
+
* Use `create(ContactServiceCreateResponseSchema)` to create a new message.
|
|
154
|
+
*/
|
|
155
|
+
export declare const ContactServiceCreateResponseSchema: GenMessage<ContactServiceCreateResponse>;
|
|
156
|
+
/**
|
|
157
|
+
* ContactServiceUpdateRequest is the request payload for a contact update request.
|
|
158
|
+
*
|
|
159
|
+
* @generated from message fits.api.mvm.v1.ContactServiceUpdateRequest
|
|
160
|
+
*/
|
|
161
|
+
export type ContactServiceUpdateRequest = Message<"fits.api.mvm.v1.ContactServiceUpdateRequest"> & {
|
|
162
|
+
/**
|
|
163
|
+
* Tenant the contact belongs to.
|
|
164
|
+
*
|
|
165
|
+
* @generated from field: string tenant = 1;
|
|
166
|
+
*/
|
|
167
|
+
tenant: string;
|
|
168
|
+
/**
|
|
169
|
+
* UUID of the contact to update.
|
|
170
|
+
*
|
|
171
|
+
* @generated from field: string uuid = 2;
|
|
172
|
+
*/
|
|
173
|
+
uuid: string;
|
|
174
|
+
/**
|
|
175
|
+
* First name of the contact.
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: string first_name = 5;
|
|
178
|
+
*/
|
|
179
|
+
firstName: string;
|
|
180
|
+
/**
|
|
181
|
+
* Last name of the contact.
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: string last_name = 6;
|
|
184
|
+
*/
|
|
185
|
+
lastName: string;
|
|
186
|
+
/**
|
|
187
|
+
* Department of the contact.
|
|
188
|
+
*
|
|
189
|
+
* @generated from field: string department = 7;
|
|
190
|
+
*/
|
|
191
|
+
department: string;
|
|
192
|
+
/**
|
|
193
|
+
* Phone number of the contact.
|
|
194
|
+
*
|
|
195
|
+
* @generated from field: string phone = 8;
|
|
196
|
+
*/
|
|
197
|
+
phone: string;
|
|
198
|
+
/**
|
|
199
|
+
* Email address of the contact.
|
|
200
|
+
*
|
|
201
|
+
* @generated from field: string email = 9;
|
|
202
|
+
*/
|
|
203
|
+
email: string;
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* Describes the message fits.api.mvm.v1.ContactServiceUpdateRequest.
|
|
207
|
+
* Use `create(ContactServiceUpdateRequestSchema)` to create a new message.
|
|
208
|
+
*/
|
|
209
|
+
export declare const ContactServiceUpdateRequestSchema: GenMessage<ContactServiceUpdateRequest>;
|
|
210
|
+
/**
|
|
211
|
+
* Response for Update; an empty response means the change was accepted.
|
|
212
|
+
*
|
|
213
|
+
* @generated from message fits.api.mvm.v1.ContactServiceUpdateResponse
|
|
214
|
+
*/
|
|
215
|
+
export type ContactServiceUpdateResponse = Message<"fits.api.mvm.v1.ContactServiceUpdateResponse"> & {};
|
|
216
|
+
/**
|
|
217
|
+
* Describes the message fits.api.mvm.v1.ContactServiceUpdateResponse.
|
|
218
|
+
* Use `create(ContactServiceUpdateResponseSchema)` to create a new message.
|
|
219
|
+
*/
|
|
220
|
+
export declare const ContactServiceUpdateResponseSchema: GenMessage<ContactServiceUpdateResponse>;
|
|
221
|
+
/**
|
|
222
|
+
* ContactServiceDeleteRequest is the request payload for a contact delete request.
|
|
223
|
+
*
|
|
224
|
+
* @generated from message fits.api.mvm.v1.ContactServiceDeleteRequest
|
|
225
|
+
*/
|
|
226
|
+
export type ContactServiceDeleteRequest = Message<"fits.api.mvm.v1.ContactServiceDeleteRequest"> & {
|
|
227
|
+
/**
|
|
228
|
+
* Tenant the contact belongs to.
|
|
229
|
+
*
|
|
230
|
+
* @generated from field: string tenant = 1;
|
|
231
|
+
*/
|
|
232
|
+
tenant: string;
|
|
233
|
+
/**
|
|
234
|
+
* UUID of the contact to delete.
|
|
235
|
+
*
|
|
236
|
+
* @generated from field: string uuid = 2;
|
|
237
|
+
*/
|
|
238
|
+
uuid: string;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* Describes the message fits.api.mvm.v1.ContactServiceDeleteRequest.
|
|
242
|
+
* Use `create(ContactServiceDeleteRequestSchema)` to create a new message.
|
|
243
|
+
*/
|
|
244
|
+
export declare const ContactServiceDeleteRequestSchema: GenMessage<ContactServiceDeleteRequest>;
|
|
245
|
+
/**
|
|
246
|
+
* Response for Delete; an empty response means the cancellation was accepted.
|
|
247
|
+
*
|
|
248
|
+
* @generated from message fits.api.mvm.v1.ContactServiceDeleteResponse
|
|
249
|
+
*/
|
|
250
|
+
export type ContactServiceDeleteResponse = Message<"fits.api.mvm.v1.ContactServiceDeleteResponse"> & {};
|
|
251
|
+
/**
|
|
252
|
+
* Describes the message fits.api.mvm.v1.ContactServiceDeleteResponse.
|
|
253
|
+
* Use `create(ContactServiceDeleteResponseSchema)` to create a new message.
|
|
254
|
+
*/
|
|
255
|
+
export declare const ContactServiceDeleteResponseSchema: GenMessage<ContactServiceDeleteResponse>;
|
|
256
|
+
/**
|
|
257
|
+
* ContactService provides CRUD operations on the contact persons available for managed VM (MVM) instances, scoped per tenant.
|
|
258
|
+
*
|
|
259
|
+
* @generated from service fits.api.mvm.v1.ContactService
|
|
260
|
+
*/
|
|
261
|
+
export declare const ContactService: GenService<{
|
|
262
|
+
/**
|
|
263
|
+
* Returns a list of all contact persons available for a tenant.
|
|
264
|
+
*
|
|
265
|
+
* @generated from rpc fits.api.mvm.v1.ContactService.List
|
|
266
|
+
*/
|
|
267
|
+
list: {
|
|
268
|
+
methodKind: "unary";
|
|
269
|
+
input: typeof ContactServiceListRequestSchema;
|
|
270
|
+
output: typeof ContactServiceListResponseSchema;
|
|
271
|
+
};
|
|
272
|
+
/**
|
|
273
|
+
* Creates a new contact person.
|
|
274
|
+
*
|
|
275
|
+
* @generated from rpc fits.api.mvm.v1.ContactService.Create
|
|
276
|
+
*/
|
|
277
|
+
create: {
|
|
278
|
+
methodKind: "unary";
|
|
279
|
+
input: typeof ContactServiceCreateRequestSchema;
|
|
280
|
+
output: typeof ContactServiceCreateResponseSchema;
|
|
281
|
+
};
|
|
282
|
+
/**
|
|
283
|
+
* Updates an existing contact person.
|
|
284
|
+
*
|
|
285
|
+
* @generated from rpc fits.api.mvm.v1.ContactService.Update
|
|
286
|
+
*/
|
|
287
|
+
update: {
|
|
288
|
+
methodKind: "unary";
|
|
289
|
+
input: typeof ContactServiceUpdateRequestSchema;
|
|
290
|
+
output: typeof ContactServiceUpdateResponseSchema;
|
|
291
|
+
};
|
|
292
|
+
/**
|
|
293
|
+
* Deletes a contact person.
|
|
294
|
+
*
|
|
295
|
+
* @generated from rpc fits.api.mvm.v1.ContactService.Delete
|
|
296
|
+
*/
|
|
297
|
+
delete: {
|
|
298
|
+
methodKind: "unary";
|
|
299
|
+
input: typeof ContactServiceDeleteRequestSchema;
|
|
300
|
+
output: typeof ContactServiceDeleteResponseSchema;
|
|
301
|
+
};
|
|
302
|
+
}>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file fits/api/mvm/v1/contact.proto (package fits.api.mvm.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { 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 "../../v1/common_pb.js";
|
|
7
|
+
import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb.js";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file fits/api/mvm/v1/contact.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_fits_api_mvm_v1_contact = /*@__PURE__*/ fileDesc("Ch1maXRzL2FwaS9tdm0vdjEvY29udGFjdC5wcm90bxIPZml0cy5hcGkubXZtLnYxItQBCgdDb250YWN0EhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEh8KCmZpcnN0X25hbWUYAiABKAlCC7pICHIGwLOusQIBEh4KCWxhc3RfbmFtZRgDIAEoCUILukgIcgbAs66xAgESHwoKZGVwYXJ0bWVudBgEIAEoCUILukgIcgbAs66xAgESGgoFcGhvbmUYBSABKAlCC7pICHIGiLSusQIBEhYKBWVtYWlsGAYgASgJQge6SARyAmABEhsKBnRlbmFudBgHIAEoCUILukgIcgbAs66xAgEiOAoZQ29udGFjdFNlcnZpY2VMaXN0UmVxdWVzdBIbCgZ0ZW5hbnQYASABKAlCC7pICHIGwLOusQIBIkgKGkNvbnRhY3RTZXJ2aWNlTGlzdFJlc3BvbnNlEioKCGNvbnRhY3RzGAEgAygLMhguZml0cy5hcGkubXZtLnYxLkNvbnRhY3QiwwEKG0NvbnRhY3RTZXJ2aWNlQ3JlYXRlUmVxdWVzdBIbCgZ0ZW5hbnQYASABKAlCC7pICHIGwLOusQIBEh8KCmZpcnN0X25hbWUYBCABKAlCC7pICHIGwLOusQIBEh4KCWxhc3RfbmFtZRgFIAEoCUILukgIcgbAs66xAgESHwoKZGVwYXJ0bW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PMYARJxCgZEZWxldGUSLC5maXRzLmFwaS5tdm0udjEuQ29udGFjdFNlcnZpY2VEZWxldGVSZXF1ZXN0Gi0uZml0cy5hcGkubXZtLnYxLkNvbnRhY3RTZXJ2aWNlRGVsZXRlUmVzcG9uc2UiCsLzGAIBAuDzGAFCsQEKE2NvbS5maXRzLmFwaS5tdm0udjFCDENvbnRhY3RQcm90b1ABWi1naXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS9tdm0vdjE7bXZtdjGiAgNGQU2qAg9GaXRzLkFwaS5Ndm0uVjHKAg9GaXRzXEFwaVxNdm1cVjHiAhtGaXRzXEFwaVxNdm1cVjFcR1BCTWV0YWRhdGHqAhJGaXRzOjpBcGk6Ok12bTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message fits.api.mvm.v1.Contact.
|
|
14
|
+
* Use `create(ContactSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export const ContactSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_contact, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message fits.api.mvm.v1.ContactServiceListRequest.
|
|
19
|
+
* Use `create(ContactServiceListRequestSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const ContactServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_contact, 1);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message fits.api.mvm.v1.ContactServiceListResponse.
|
|
24
|
+
* Use `create(ContactServiceListResponseSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const ContactServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_contact, 2);
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message fits.api.mvm.v1.ContactServiceCreateRequest.
|
|
29
|
+
* Use `create(ContactServiceCreateRequestSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const ContactServiceCreateRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_contact, 3);
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message fits.api.mvm.v1.ContactServiceCreateResponse.
|
|
34
|
+
* Use `create(ContactServiceCreateResponseSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export const ContactServiceCreateResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_contact, 4);
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message fits.api.mvm.v1.ContactServiceUpdateRequest.
|
|
39
|
+
* Use `create(ContactServiceUpdateRequestSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const ContactServiceUpdateRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_contact, 5);
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message fits.api.mvm.v1.ContactServiceUpdateResponse.
|
|
44
|
+
* Use `create(ContactServiceUpdateResponseSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export const ContactServiceUpdateResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_contact, 6);
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message fits.api.mvm.v1.ContactServiceDeleteRequest.
|
|
49
|
+
* Use `create(ContactServiceDeleteRequestSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export const ContactServiceDeleteRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_contact, 7);
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message fits.api.mvm.v1.ContactServiceDeleteResponse.
|
|
54
|
+
* Use `create(ContactServiceDeleteResponseSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export const ContactServiceDeleteResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_contact, 8);
|
|
57
|
+
/**
|
|
58
|
+
* ContactService provides CRUD operations on the contact persons available for managed VM (MVM) instances, scoped per tenant.
|
|
59
|
+
*
|
|
60
|
+
* @generated from service fits.api.mvm.v1.ContactService
|
|
61
|
+
*/
|
|
62
|
+
export const ContactService = /*@__PURE__*/ serviceDesc(file_fits_api_mvm_v1_contact, 0);
|
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file fits/api/mvm/v1/contact.proto (package fits.api.mvm.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
|
|
8
|
+
import { file_fits_api_v1_common } from "../../v1/common_pb.js";
|
|
9
|
+
import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb.js";
|
|
10
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file fits/api/mvm/v1/contact.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_fits_api_mvm_v1_contact: GenFile = /*@__PURE__*/
|
|
16
|
+
fileDesc("Ch1maXRzL2FwaS9tdm0vdjEvY29udGFjdC5wcm90bxIPZml0cy5hcGkubXZtLnYxItQBCgdDb250YWN0EhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEh8KCmZpcnN0X25hbWUYAiABKAlCC7pICHIGwLOusQIBEh4KCWxhc3RfbmFtZRgDIAEoCUILukgIcgbAs66xAgESHwoKZGVwYXJ0bWVudBgEIAEoCUILukgIcgbAs66xAgESGgoFcGhvbmUYBSABKAlCC7pICHIGiLSusQIBEhYKBWVtYWlsGAYgASgJQge6SARyAmABEhsKBnRlbmFudBgHIAEoCUILukgIcgbAs66xAgEiOAoZQ29udGFjdFNlcnZpY2VMaXN0UmVxdWVzdBIbCgZ0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MYAwECA+DzGAIScQoGQ3JlYXRlEiwuZml0cy5hcGkubXZtLnYxLkNvbnRhY3RTZXJ2aWNlQ3JlYXRlUmVxdWVzdBotLmZpdHMuYXBpLm12bS52MS5Db250YWN0U2VydmljZUNyZWF0ZVJlc3BvbnNlIgrC8xgCAQLg8xgBEnEKBlVwZGF0ZRIsLmZpdHMuYXBpLm12bS52MS5Db250YWN0U2VydmljZVVwZGF0ZVJlcXVlc3QaLS5maXRzLmFwaS5tdm0udjEuQ29udGFjdFNlcnZpY2VVcGRhdGVSZXNwb25zZSIKwvMYAgEC4PMYARJxCgZEZWxldGUSLC5maXRzLmFwaS5tdm0udjEuQ29udGFjdFNlcnZpY2VEZWxldGVSZXF1ZXN0Gi0uZml0cy5hcGkubXZtLnYxLkNvbnRhY3RTZXJ2aWNlRGVsZXRlUmVzcG9uc2UiCsLzGAIBAuDzGAFCsQEKE2NvbS5maXRzLmFwaS5tdm0udjFCDENvbnRhY3RQcm90b1ABWi1naXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS9tdm0vdjE7bXZtdjGiAgNGQU2qAg9GaXRzLkFwaS5Ndm0uVjHKAg9GaXRzXEFwaVxNdm1cVjHiAhtGaXRzXEFwaVxNdm1cVjFcR1BCTWV0YWRhdGHqAhJGaXRzOjpBcGk6Ok12bTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Contact is a contact person an MVM instance can be assigned to.
|
|
20
|
+
*
|
|
21
|
+
* @generated from message fits.api.mvm.v1.Contact
|
|
22
|
+
*/
|
|
23
|
+
export type Contact = Message<"fits.api.mvm.v1.Contact"> & {
|
|
24
|
+
/**
|
|
25
|
+
* Uuid of this contact.
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: string uuid = 1;
|
|
28
|
+
*/
|
|
29
|
+
uuid: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* First name of the contact.
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: string first_name = 2;
|
|
35
|
+
*/
|
|
36
|
+
firstName: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Last name of the contact.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: string last_name = 3;
|
|
42
|
+
*/
|
|
43
|
+
lastName: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Department of the contact.
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: string department = 4;
|
|
49
|
+
*/
|
|
50
|
+
department: string;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Phone number of the contact.
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: string phone = 5;
|
|
56
|
+
*/
|
|
57
|
+
phone: string;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Email address of the contact.
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: string email = 6;
|
|
63
|
+
*/
|
|
64
|
+
email: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Tenant this contact belongs to.
|
|
68
|
+
*
|
|
69
|
+
* @generated from field: string tenant = 7;
|
|
70
|
+
*/
|
|
71
|
+
tenant: string;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Describes the message fits.api.mvm.v1.Contact.
|
|
76
|
+
* Use `create(ContactSchema)` to create a new message.
|
|
77
|
+
*/
|
|
78
|
+
export const ContactSchema: GenMessage<Contact> = /*@__PURE__*/
|
|
79
|
+
messageDesc(file_fits_api_mvm_v1_contact, 0);
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* ContactServiceListRequest is the request payload for a contact list request.
|
|
83
|
+
*
|
|
84
|
+
* @generated from message fits.api.mvm.v1.ContactServiceListRequest
|
|
85
|
+
*/
|
|
86
|
+
export type ContactServiceListRequest = Message<"fits.api.mvm.v1.ContactServiceListRequest"> & {
|
|
87
|
+
/**
|
|
88
|
+
* Tenant to list available contact persons for.
|
|
89
|
+
*
|
|
90
|
+
* @generated from field: string tenant = 1;
|
|
91
|
+
*/
|
|
92
|
+
tenant: string;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Describes the message fits.api.mvm.v1.ContactServiceListRequest.
|
|
97
|
+
* Use `create(ContactServiceListRequestSchema)` to create a new message.
|
|
98
|
+
*/
|
|
99
|
+
export const ContactServiceListRequestSchema: GenMessage<ContactServiceListRequest> = /*@__PURE__*/
|
|
100
|
+
messageDesc(file_fits_api_mvm_v1_contact, 1);
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* ContactServiceListResponse is the response payload for a contact list request.
|
|
104
|
+
*
|
|
105
|
+
* @generated from message fits.api.mvm.v1.ContactServiceListResponse
|
|
106
|
+
*/
|
|
107
|
+
export type ContactServiceListResponse = Message<"fits.api.mvm.v1.ContactServiceListResponse"> & {
|
|
108
|
+
/**
|
|
109
|
+
* The available contact persons.
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: repeated fits.api.mvm.v1.Contact contacts = 1;
|
|
112
|
+
*/
|
|
113
|
+
contacts: Contact[];
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Describes the message fits.api.mvm.v1.ContactServiceListResponse.
|
|
118
|
+
* Use `create(ContactServiceListResponseSchema)` to create a new message.
|
|
119
|
+
*/
|
|
120
|
+
export const ContactServiceListResponseSchema: GenMessage<ContactServiceListResponse> = /*@__PURE__*/
|
|
121
|
+
messageDesc(file_fits_api_mvm_v1_contact, 2);
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* ContactServiceCreateRequest is the request payload for a contact create request.
|
|
125
|
+
*
|
|
126
|
+
* @generated from message fits.api.mvm.v1.ContactServiceCreateRequest
|
|
127
|
+
*/
|
|
128
|
+
export type ContactServiceCreateRequest = Message<"fits.api.mvm.v1.ContactServiceCreateRequest"> & {
|
|
129
|
+
/**
|
|
130
|
+
* Tenant to create the contact person for.
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: string tenant = 1;
|
|
133
|
+
*/
|
|
134
|
+
tenant: string;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* First name of the contact.
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: string first_name = 4;
|
|
140
|
+
*/
|
|
141
|
+
firstName: string;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Last name of the contact.
|
|
145
|
+
*
|
|
146
|
+
* @generated from field: string last_name = 5;
|
|
147
|
+
*/
|
|
148
|
+
lastName: string;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Department of the contact.
|
|
152
|
+
*
|
|
153
|
+
* @generated from field: string department = 6;
|
|
154
|
+
*/
|
|
155
|
+
department: string;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Phone number of the contact.
|
|
159
|
+
*
|
|
160
|
+
* @generated from field: string phone = 7;
|
|
161
|
+
*/
|
|
162
|
+
phone: string;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Email address of the contact.
|
|
166
|
+
*
|
|
167
|
+
* @generated from field: string email = 8;
|
|
168
|
+
*/
|
|
169
|
+
email: string;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Describes the message fits.api.mvm.v1.ContactServiceCreateRequest.
|
|
174
|
+
* Use `create(ContactServiceCreateRequestSchema)` to create a new message.
|
|
175
|
+
*/
|
|
176
|
+
export const ContactServiceCreateRequestSchema: GenMessage<ContactServiceCreateRequest> = /*@__PURE__*/
|
|
177
|
+
messageDesc(file_fits_api_mvm_v1_contact, 3);
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Response for Create; an empty response means the contact was accepted.
|
|
181
|
+
*
|
|
182
|
+
* @generated from message fits.api.mvm.v1.ContactServiceCreateResponse
|
|
183
|
+
*/
|
|
184
|
+
export type ContactServiceCreateResponse = Message<"fits.api.mvm.v1.ContactServiceCreateResponse"> & {
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Describes the message fits.api.mvm.v1.ContactServiceCreateResponse.
|
|
189
|
+
* Use `create(ContactServiceCreateResponseSchema)` to create a new message.
|
|
190
|
+
*/
|
|
191
|
+
export const ContactServiceCreateResponseSchema: GenMessage<ContactServiceCreateResponse> = /*@__PURE__*/
|
|
192
|
+
messageDesc(file_fits_api_mvm_v1_contact, 4);
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* ContactServiceUpdateRequest is the request payload for a contact update request.
|
|
196
|
+
*
|
|
197
|
+
* @generated from message fits.api.mvm.v1.ContactServiceUpdateRequest
|
|
198
|
+
*/
|
|
199
|
+
export type ContactServiceUpdateRequest = Message<"fits.api.mvm.v1.ContactServiceUpdateRequest"> & {
|
|
200
|
+
/**
|
|
201
|
+
* Tenant the contact belongs to.
|
|
202
|
+
*
|
|
203
|
+
* @generated from field: string tenant = 1;
|
|
204
|
+
*/
|
|
205
|
+
tenant: string;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* UUID of the contact to update.
|
|
209
|
+
*
|
|
210
|
+
* @generated from field: string uuid = 2;
|
|
211
|
+
*/
|
|
212
|
+
uuid: string;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* First name of the contact.
|
|
216
|
+
*
|
|
217
|
+
* @generated from field: string first_name = 5;
|
|
218
|
+
*/
|
|
219
|
+
firstName: string;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Last name of the contact.
|
|
223
|
+
*
|
|
224
|
+
* @generated from field: string last_name = 6;
|
|
225
|
+
*/
|
|
226
|
+
lastName: string;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Department of the contact.
|
|
230
|
+
*
|
|
231
|
+
* @generated from field: string department = 7;
|
|
232
|
+
*/
|
|
233
|
+
department: string;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Phone number of the contact.
|
|
237
|
+
*
|
|
238
|
+
* @generated from field: string phone = 8;
|
|
239
|
+
*/
|
|
240
|
+
phone: string;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Email address of the contact.
|
|
244
|
+
*
|
|
245
|
+
* @generated from field: string email = 9;
|
|
246
|
+
*/
|
|
247
|
+
email: string;
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Describes the message fits.api.mvm.v1.ContactServiceUpdateRequest.
|
|
252
|
+
* Use `create(ContactServiceUpdateRequestSchema)` to create a new message.
|
|
253
|
+
*/
|
|
254
|
+
export const ContactServiceUpdateRequestSchema: GenMessage<ContactServiceUpdateRequest> = /*@__PURE__*/
|
|
255
|
+
messageDesc(file_fits_api_mvm_v1_contact, 5);
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Response for Update; an empty response means the change was accepted.
|
|
259
|
+
*
|
|
260
|
+
* @generated from message fits.api.mvm.v1.ContactServiceUpdateResponse
|
|
261
|
+
*/
|
|
262
|
+
export type ContactServiceUpdateResponse = Message<"fits.api.mvm.v1.ContactServiceUpdateResponse"> & {
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Describes the message fits.api.mvm.v1.ContactServiceUpdateResponse.
|
|
267
|
+
* Use `create(ContactServiceUpdateResponseSchema)` to create a new message.
|
|
268
|
+
*/
|
|
269
|
+
export const ContactServiceUpdateResponseSchema: GenMessage<ContactServiceUpdateResponse> = /*@__PURE__*/
|
|
270
|
+
messageDesc(file_fits_api_mvm_v1_contact, 6);
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* ContactServiceDeleteRequest is the request payload for a contact delete request.
|
|
274
|
+
*
|
|
275
|
+
* @generated from message fits.api.mvm.v1.ContactServiceDeleteRequest
|
|
276
|
+
*/
|
|
277
|
+
export type ContactServiceDeleteRequest = Message<"fits.api.mvm.v1.ContactServiceDeleteRequest"> & {
|
|
278
|
+
/**
|
|
279
|
+
* Tenant the contact belongs to.
|
|
280
|
+
*
|
|
281
|
+
* @generated from field: string tenant = 1;
|
|
282
|
+
*/
|
|
283
|
+
tenant: string;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* UUID of the contact to delete.
|
|
287
|
+
*
|
|
288
|
+
* @generated from field: string uuid = 2;
|
|
289
|
+
*/
|
|
290
|
+
uuid: string;
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Describes the message fits.api.mvm.v1.ContactServiceDeleteRequest.
|
|
295
|
+
* Use `create(ContactServiceDeleteRequestSchema)` to create a new message.
|
|
296
|
+
*/
|
|
297
|
+
export const ContactServiceDeleteRequestSchema: GenMessage<ContactServiceDeleteRequest> = /*@__PURE__*/
|
|
298
|
+
messageDesc(file_fits_api_mvm_v1_contact, 7);
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Response for Delete; an empty response means the cancellation was accepted.
|
|
302
|
+
*
|
|
303
|
+
* @generated from message fits.api.mvm.v1.ContactServiceDeleteResponse
|
|
304
|
+
*/
|
|
305
|
+
export type ContactServiceDeleteResponse = Message<"fits.api.mvm.v1.ContactServiceDeleteResponse"> & {
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Describes the message fits.api.mvm.v1.ContactServiceDeleteResponse.
|
|
310
|
+
* Use `create(ContactServiceDeleteResponseSchema)` to create a new message.
|
|
311
|
+
*/
|
|
312
|
+
export const ContactServiceDeleteResponseSchema: GenMessage<ContactServiceDeleteResponse> = /*@__PURE__*/
|
|
313
|
+
messageDesc(file_fits_api_mvm_v1_contact, 8);
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* ContactService provides CRUD operations on the contact persons available for managed VM (MVM) instances, scoped per tenant.
|
|
317
|
+
*
|
|
318
|
+
* @generated from service fits.api.mvm.v1.ContactService
|
|
319
|
+
*/
|
|
320
|
+
export const ContactService: GenService<{
|
|
321
|
+
/**
|
|
322
|
+
* Returns a list of all contact persons available for a tenant.
|
|
323
|
+
*
|
|
324
|
+
* @generated from rpc fits.api.mvm.v1.ContactService.List
|
|
325
|
+
*/
|
|
326
|
+
list: {
|
|
327
|
+
methodKind: "unary";
|
|
328
|
+
input: typeof ContactServiceListRequestSchema;
|
|
329
|
+
output: typeof ContactServiceListResponseSchema;
|
|
330
|
+
},
|
|
331
|
+
/**
|
|
332
|
+
* Creates a new contact person.
|
|
333
|
+
*
|
|
334
|
+
* @generated from rpc fits.api.mvm.v1.ContactService.Create
|
|
335
|
+
*/
|
|
336
|
+
create: {
|
|
337
|
+
methodKind: "unary";
|
|
338
|
+
input: typeof ContactServiceCreateRequestSchema;
|
|
339
|
+
output: typeof ContactServiceCreateResponseSchema;
|
|
340
|
+
},
|
|
341
|
+
/**
|
|
342
|
+
* Updates an existing contact person.
|
|
343
|
+
*
|
|
344
|
+
* @generated from rpc fits.api.mvm.v1.ContactService.Update
|
|
345
|
+
*/
|
|
346
|
+
update: {
|
|
347
|
+
methodKind: "unary";
|
|
348
|
+
input: typeof ContactServiceUpdateRequestSchema;
|
|
349
|
+
output: typeof ContactServiceUpdateResponseSchema;
|
|
350
|
+
},
|
|
351
|
+
/**
|
|
352
|
+
* Deletes a contact person.
|
|
353
|
+
*
|
|
354
|
+
* @generated from rpc fits.api.mvm.v1.ContactService.Delete
|
|
355
|
+
*/
|
|
356
|
+
delete: {
|
|
357
|
+
methodKind: "unary";
|
|
358
|
+
input: typeof ContactServiceDeleteRequestSchema;
|
|
359
|
+
output: typeof ContactServiceDeleteResponseSchema;
|
|
360
|
+
},
|
|
361
|
+
}> = /*@__PURE__*/
|
|
362
|
+
serviceDesc(file_fits_api_mvm_v1_contact, 0);
|
|
363
|
+
|
|
@@ -6,7 +6,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
6
6
|
export declare const file_fits_api_mvm_v1_location: GenFile;
|
|
7
7
|
/**
|
|
8
8
|
* Location is an available datacenter location for MVM instances.
|
|
9
|
-
*
|
|
9
|
+
* An "AUTO" location lets the backend pick a datacenter within a location.
|
|
10
10
|
*
|
|
11
11
|
* @generated from message fits.api.mvm.v1.Location
|
|
12
12
|
*/
|
|
@@ -34,14 +34,7 @@ export declare const LocationSchema: GenMessage<Location>;
|
|
|
34
34
|
*
|
|
35
35
|
* @generated from message fits.api.mvm.v1.LocationServiceListRequest
|
|
36
36
|
*/
|
|
37
|
-
export type LocationServiceListRequest = Message<"fits.api.mvm.v1.LocationServiceListRequest"> & {
|
|
38
|
-
/**
|
|
39
|
-
* Tenant to list available locations for
|
|
40
|
-
*
|
|
41
|
-
* @generated from field: string tenant = 1;
|
|
42
|
-
*/
|
|
43
|
-
tenant: string;
|
|
44
|
-
};
|
|
37
|
+
export type LocationServiceListRequest = Message<"fits.api.mvm.v1.LocationServiceListRequest"> & {};
|
|
45
38
|
/**
|
|
46
39
|
* Describes the message fits.api.mvm.v1.LocationServiceListRequest.
|
|
47
40
|
* Use `create(LocationServiceListRequestSchema)` to create a new message.
|
|
@@ -66,13 +59,13 @@ export type LocationServiceListResponse = Message<"fits.api.mvm.v1.LocationServi
|
|
|
66
59
|
*/
|
|
67
60
|
export declare const LocationServiceListResponseSchema: GenMessage<LocationServiceListResponse>;
|
|
68
61
|
/**
|
|
69
|
-
* LocationService lists datacenter locations available for
|
|
62
|
+
* LocationService lists datacenter locations available for Managed VM (MVM) instances.
|
|
70
63
|
*
|
|
71
64
|
* @generated from service fits.api.mvm.v1.LocationService
|
|
72
65
|
*/
|
|
73
66
|
export declare const LocationService: GenService<{
|
|
74
67
|
/**
|
|
75
|
-
* Returns a list of all datacenter locations
|
|
68
|
+
* Returns a list of all datacenter locations.
|
|
76
69
|
*
|
|
77
70
|
* @generated from rpc fits.api.mvm.v1.LocationService.List
|
|
78
71
|
*/
|
|
@@ -8,7 +8,7 @@ import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb.
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file fits/api/mvm/v1/location.proto.
|
|
10
10
|
*/
|
|
11
|
-
export const file_fits_api_mvm_v1_location = /*@__PURE__*/ fileDesc("Ch5maXRzL2FwaS9tdm0vdjEvbG9jYXRpb24ucHJvdG8SD2ZpdHMuYXBpLm12bS52MSI+
|
|
11
|
+
export const file_fits_api_mvm_v1_location = /*@__PURE__*/ fileDesc("Ch5maXRzL2FwaS9tdm0vdjEvbG9jYXRpb24ucHJvdG8SD2ZpdHMuYXBpLm12bS52MSI+CghMb2NhdGlvbhIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARIaCgV0aXRsZRgCIAEoCUILukgIcgbAs66xAgEiHAoaTG9jYXRpb25TZXJ2aWNlTGlzdFJlcXVlc3QiSwobTG9jYXRpb25TZXJ2aWNlTGlzdFJlc3BvbnNlEiwKCWxvY2F0aW9ucxgBIAMoCzIZLmZpdHMuYXBpLm12bS52MS5Mb2NhdGlvbjJ+Cg9Mb2NhdGlvblNlcnZpY2USawoETGlzdBIrLmZpdHMuYXBpLm12bS52MS5Mb2NhdGlvblNlcnZpY2VMaXN0UmVxdWVzdBosLmZpdHMuYXBpLm12bS52MS5Mb2NhdGlvblNlcnZpY2VMaXN0UmVzcG9uc2UiCNjzGALg8xgCQrIBChNjb20uZml0cy5hcGkubXZtLnYxQg1Mb2NhdGlvblByb3RvUAFaLWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL212bS92MTttdm12MaICA0ZBTaoCD0ZpdHMuQXBpLk12bS5WMcoCD0ZpdHNcQXBpXE12bVxWMeICG0ZpdHNcQXBpXE12bVxWMVxHUEJNZXRhZGF0YeoCEkZpdHM6OkFwaTo6TXZtOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
|
|
12
12
|
/**
|
|
13
13
|
* Describes the message fits.api.mvm.v1.Location.
|
|
14
14
|
* Use `create(LocationSchema)` to create a new message.
|
|
@@ -25,7 +25,7 @@ export const LocationServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_f
|
|
|
25
25
|
*/
|
|
26
26
|
export const LocationServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_location, 2);
|
|
27
27
|
/**
|
|
28
|
-
* LocationService lists datacenter locations available for
|
|
28
|
+
* LocationService lists datacenter locations available for Managed VM (MVM) instances.
|
|
29
29
|
*
|
|
30
30
|
* @generated from service fits.api.mvm.v1.LocationService
|
|
31
31
|
*/
|
|
@@ -13,11 +13,11 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
13
13
|
* Describes the file fits/api/mvm/v1/location.proto.
|
|
14
14
|
*/
|
|
15
15
|
export const file_fits_api_mvm_v1_location: GenFile = /*@__PURE__*/
|
|
16
|
-
fileDesc("Ch5maXRzL2FwaS9tdm0vdjEvbG9jYXRpb24ucHJvdG8SD2ZpdHMuYXBpLm12bS52MSI+
|
|
16
|
+
fileDesc("Ch5maXRzL2FwaS9tdm0vdjEvbG9jYXRpb24ucHJvdG8SD2ZpdHMuYXBpLm12bS52MSI+CghMb2NhdGlvbhIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARIaCgV0aXRsZRgCIAEoCUILukgIcgbAs66xAgEiHAoaTG9jYXRpb25TZXJ2aWNlTGlzdFJlcXVlc3QiSwobTG9jYXRpb25TZXJ2aWNlTGlzdFJlc3BvbnNlEiwKCWxvY2F0aW9ucxgBIAMoCzIZLmZpdHMuYXBpLm12bS52MS5Mb2NhdGlvbjJ+Cg9Mb2NhdGlvblNlcnZpY2USawoETGlzdBIrLmZpdHMuYXBpLm12bS52MS5Mb2NhdGlvblNlcnZpY2VMaXN0UmVxdWVzdBosLmZpdHMuYXBpLm12bS52MS5Mb2NhdGlvblNlcnZpY2VMaXN0UmVzcG9uc2UiCNjzGALg8xgCQrIBChNjb20uZml0cy5hcGkubXZtLnYxQg1Mb2NhdGlvblByb3RvUAFaLWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL212bS92MTttdm12MaICA0ZBTaoCD0ZpdHMuQXBpLk12bS5WMcoCD0ZpdHNcQXBpXE12bVxWMeICG0ZpdHNcQXBpXE12bVxWMVxHUEJNZXRhZGF0YeoCEkZpdHM6OkFwaTo6TXZtOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Location is an available datacenter location for MVM instances.
|
|
20
|
-
*
|
|
20
|
+
* An "AUTO" location lets the backend pick a datacenter within a location.
|
|
21
21
|
*
|
|
22
22
|
* @generated from message fits.api.mvm.v1.Location
|
|
23
23
|
*/
|
|
@@ -50,12 +50,6 @@ export const LocationSchema: GenMessage<Location> = /*@__PURE__*/
|
|
|
50
50
|
* @generated from message fits.api.mvm.v1.LocationServiceListRequest
|
|
51
51
|
*/
|
|
52
52
|
export type LocationServiceListRequest = Message<"fits.api.mvm.v1.LocationServiceListRequest"> & {
|
|
53
|
-
/**
|
|
54
|
-
* Tenant to list available locations for
|
|
55
|
-
*
|
|
56
|
-
* @generated from field: string tenant = 1;
|
|
57
|
-
*/
|
|
58
|
-
tenant: string;
|
|
59
53
|
};
|
|
60
54
|
|
|
61
55
|
/**
|
|
@@ -87,13 +81,13 @@ export const LocationServiceListResponseSchema: GenMessage<LocationServiceListRe
|
|
|
87
81
|
messageDesc(file_fits_api_mvm_v1_location, 2);
|
|
88
82
|
|
|
89
83
|
/**
|
|
90
|
-
* LocationService lists datacenter locations available for
|
|
84
|
+
* LocationService lists datacenter locations available for Managed VM (MVM) instances.
|
|
91
85
|
*
|
|
92
86
|
* @generated from service fits.api.mvm.v1.LocationService
|
|
93
87
|
*/
|
|
94
88
|
export const LocationService: GenService<{
|
|
95
89
|
/**
|
|
96
|
-
* Returns a list of all datacenter locations
|
|
90
|
+
* Returns a list of all datacenter locations.
|
|
97
91
|
*
|
|
98
92
|
* @generated from rpc fits.api.mvm.v1.LocationService.List
|
|
99
93
|
*/
|
|
@@ -39,7 +39,14 @@ export declare const OSSchema: GenMessage<OS>;
|
|
|
39
39
|
*
|
|
40
40
|
* @generated from message fits.api.mvm.v1.OSServiceListRequest
|
|
41
41
|
*/
|
|
42
|
-
export type OSServiceListRequest = Message<"fits.api.mvm.v1.OSServiceListRequest"> & {
|
|
42
|
+
export type OSServiceListRequest = Message<"fits.api.mvm.v1.OSServiceListRequest"> & {
|
|
43
|
+
/**
|
|
44
|
+
* Tenant to list available operating systems for.
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: string tenant = 1;
|
|
47
|
+
*/
|
|
48
|
+
tenant: string;
|
|
49
|
+
};
|
|
43
50
|
/**
|
|
44
51
|
* Describes the message fits.api.mvm.v1.OSServiceListRequest.
|
|
45
52
|
* Use `create(OSServiceListRequestSchema)` to create a new message.
|
|
@@ -93,13 +100,13 @@ export declare enum OSType {
|
|
|
93
100
|
*/
|
|
94
101
|
export declare const OSTypeSchema: GenEnum<OSType>;
|
|
95
102
|
/**
|
|
96
|
-
* OSService lists operating systems available for managed VM (MVM) instances.
|
|
103
|
+
* OSService lists operating systems available for managed VM (MVM) instances, scoped per tenant.
|
|
97
104
|
*
|
|
98
105
|
* @generated from service fits.api.mvm.v1.OSService
|
|
99
106
|
*/
|
|
100
107
|
export declare const OSService: GenService<{
|
|
101
108
|
/**
|
|
102
|
-
* Returns a list of all operating systems.
|
|
109
|
+
* Returns a list of all operating systems available for a tenant.
|
|
103
110
|
*
|
|
104
111
|
* @generated from rpc fits.api.mvm.v1.OSService.List
|
|
105
112
|
*/
|
package/fits/api/mvm/v1/os_pb.js
CHANGED
|
@@ -8,7 +8,7 @@ import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb.
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file fits/api/mvm/v1/os.proto.
|
|
10
10
|
*/
|
|
11
|
-
export const file_fits_api_mvm_v1_os = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_fits_api_mvm_v1_os = /*@__PURE__*/ fileDesc("ChhmaXRzL2FwaS9tdm0vdjEvb3MucHJvdG8SD2ZpdHMuYXBpLm12bS52MSJfCgJPUxIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARIaCgV0aXRsZRgCIAEoCUILukgIcgbAs66xAgESJQoEdHlwZRgDIAEoDjIXLmZpdHMuYXBpLm12bS52MS5PU1R5cGUiMwoUT1NTZXJ2aWNlTGlzdFJlcXVlc3QSGwoGdGVuYW50GAEgASgJQgu6SAhyBsCzrrECASJHChVPU1NlcnZpY2VMaXN0UmVzcG9uc2USLgoRb3BlcmF0aW5nX3N5c3RlbXMYASADKAsyEy5maXRzLmFwaS5tdm0udjEuT1MqZwoGT1NUeXBlEh0KE09TX1RZUEVfVU5TUEVDSUZJRUQQABoEgrIZABIcCg1PU19UWVBFX0xJTlVYEAEaCYKyGQVsaW51eBIgCg9PU19UWVBFX1dJTkRPV1MQAhoLgrIZB3dpbmRvd3MybwoJT1NTZXJ2aWNlEmIKBExpc3QSJS5maXRzLmFwaS5tdm0udjEuT1NTZXJ2aWNlTGlzdFJlcXVlc3QaJi5maXRzLmFwaS5tdm0udjEuT1NTZXJ2aWNlTGlzdFJlc3BvbnNlIgvC8xgDAQID4PMYAkKsAQoTY29tLmZpdHMuYXBpLm12bS52MUIHT3NQcm90b1ABWi1naXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS9tdm0vdjE7bXZtdjGiAgNGQU2qAg9GaXRzLkFwaS5Ndm0uVjHKAg9GaXRzXEFwaVxNdm1cVjHiAhtGaXRzXEFwaVxNdm1cVjFcR1BCTWV0YWRhdGHqAhJGaXRzOjpBcGk6Ok12bTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
|
|
12
12
|
/**
|
|
13
13
|
* Describes the message fits.api.mvm.v1.OS.
|
|
14
14
|
* Use `create(OSSchema)` to create a new message.
|
|
@@ -55,7 +55,7 @@ export var OSType;
|
|
|
55
55
|
*/
|
|
56
56
|
export const OSTypeSchema = /*@__PURE__*/ enumDesc(file_fits_api_mvm_v1_os, 0);
|
|
57
57
|
/**
|
|
58
|
-
* OSService lists operating systems available for managed VM (MVM) instances.
|
|
58
|
+
* OSService lists operating systems available for managed VM (MVM) instances, scoped per tenant.
|
|
59
59
|
*
|
|
60
60
|
* @generated from service fits.api.mvm.v1.OSService
|
|
61
61
|
*/
|
package/fits/api/mvm/v1/os_pb.ts
CHANGED
|
@@ -13,7 +13,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
13
13
|
* Describes the file fits/api/mvm/v1/os.proto.
|
|
14
14
|
*/
|
|
15
15
|
export const file_fits_api_mvm_v1_os: GenFile = /*@__PURE__*/
|
|
16
|
-
fileDesc("
|
|
16
|
+
fileDesc("ChhmaXRzL2FwaS9tdm0vdjEvb3MucHJvdG8SD2ZpdHMuYXBpLm12bS52MSJfCgJPUxIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARIaCgV0aXRsZRgCIAEoCUILukgIcgbAs66xAgESJQoEdHlwZRgDIAEoDjIXLmZpdHMuYXBpLm12bS52MS5PU1R5cGUiMwoUT1NTZXJ2aWNlTGlzdFJlcXVlc3QSGwoGdGVuYW50GAEgASgJQgu6SAhyBsCzrrECASJHChVPU1NlcnZpY2VMaXN0UmVzcG9uc2USLgoRb3BlcmF0aW5nX3N5c3RlbXMYASADKAsyEy5maXRzLmFwaS5tdm0udjEuT1MqZwoGT1NUeXBlEh0KE09TX1RZUEVfVU5TUEVDSUZJRUQQABoEgrIZABIcCg1PU19UWVBFX0xJTlVYEAEaCYKyGQVsaW51eBIgCg9PU19UWVBFX1dJTkRPV1MQAhoLgrIZB3dpbmRvd3MybwoJT1NTZXJ2aWNlEmIKBExpc3QSJS5maXRzLmFwaS5tdm0udjEuT1NTZXJ2aWNlTGlzdFJlcXVlc3QaJi5maXRzLmFwaS5tdm0udjEuT1NTZXJ2aWNlTGlzdFJlc3BvbnNlIgvC8xgDAQID4PMYAkKsAQoTY29tLmZpdHMuYXBpLm12bS52MUIHT3NQcm90b1ABWi1naXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS9tdm0vdjE7bXZtdjGiAgNGQU2qAg9GaXRzLkFwaS5Ndm0uVjHKAg9GaXRzXEFwaVxNdm1cVjHiAhtGaXRzXEFwaVxNdm1cVjFcR1BCTWV0YWRhdGHqAhJGaXRzOjpBcGk6Ok12bTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* OS is the definition of an available OS for MVM instances.
|
|
@@ -56,6 +56,12 @@ export const OSSchema: GenMessage<OS> = /*@__PURE__*/
|
|
|
56
56
|
* @generated from message fits.api.mvm.v1.OSServiceListRequest
|
|
57
57
|
*/
|
|
58
58
|
export type OSServiceListRequest = Message<"fits.api.mvm.v1.OSServiceListRequest"> & {
|
|
59
|
+
/**
|
|
60
|
+
* Tenant to list available operating systems for.
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: string tenant = 1;
|
|
63
|
+
*/
|
|
64
|
+
tenant: string;
|
|
59
65
|
};
|
|
60
66
|
|
|
61
67
|
/**
|
|
@@ -121,13 +127,13 @@ export const OSTypeSchema: GenEnum<OSType> = /*@__PURE__*/
|
|
|
121
127
|
enumDesc(file_fits_api_mvm_v1_os, 0);
|
|
122
128
|
|
|
123
129
|
/**
|
|
124
|
-
* OSService lists operating systems available for managed VM (MVM) instances.
|
|
130
|
+
* OSService lists operating systems available for managed VM (MVM) instances, scoped per tenant.
|
|
125
131
|
*
|
|
126
132
|
* @generated from service fits.api.mvm.v1.OSService
|
|
127
133
|
*/
|
|
128
134
|
export const OSService: GenService<{
|
|
129
135
|
/**
|
|
130
|
-
* Returns a list of all operating systems.
|
|
136
|
+
* Returns a list of all operating systems available for a tenant.
|
|
131
137
|
*
|
|
132
138
|
* @generated from rpc fits.api.mvm.v1.OSService.List
|
|
133
139
|
*/
|
|
@@ -58,6 +58,12 @@ export declare const trimmed: GenExtension<StringRules, boolean>;
|
|
|
58
58
|
* @generated from extension: optional bool is_ipv4_cidr = 80048960;
|
|
59
59
|
*/
|
|
60
60
|
export declare const is_ipv4_cidr: GenExtension<StringRules, boolean>;
|
|
61
|
+
/**
|
|
62
|
+
* IsPhone validates if the given string is a valid phone number in E.164 format, e.g. +4915123456789
|
|
63
|
+
*
|
|
64
|
+
* @generated from extension: optional bool is_phone = 80048961;
|
|
65
|
+
*/
|
|
66
|
+
export declare const is_phone: GenExtension<StringRules, boolean>;
|
|
61
67
|
/**
|
|
62
68
|
* IsTenantSubjectPermission returns true if name field satisfies our requirements.
|
|
63
69
|
*
|
|
@@ -6,7 +6,7 @@ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file fits/api/v1/predefined_rules.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_fits_api_v1_predefined_rules = /*@__PURE__*/ fileDesc("CiJmaXRzL2FwaS92MS9wcmVkZWZpbmVkX3J1bGVzLnByb3RvEgtmaXRzLmFwaS52MTq4AQoKbWFjYWRkcmVzcxIZLmJ1Zi52YWxpZGF0ZS5TdHJpbmdSdWxlcxi35pUmIAEoCEJ6wkh3CnUKEXN0cmluZy5tYWNhZGRyZXNzEiZ0aGlzIHN0cmluZyBtdXN0IGJlIGEgdmFsaWQgbWFjYWRkcmVzcxo4dGhpcy5tYXRjaGVzKCdeKFswLTlBLUZhLWZdezJ9WzpdKXs1fShbMC05QS1GYS1mXXsyfSkkJylSCm1hY2FkZHJlc3M6mQEKB2lzX25hbWUSGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYuOaVJiABKAhCYsJIXwpdCg5zdHJpbmcuaXNfbmFtZRIjbXVzdCBiZSB3aXRoaW4gMiBhbmQgMTI4IGNoYXJhY3RlcnMaJnRoaXMuc2l6ZSgpID49IDIgJiYgdGhpcy5zaXplKCkgPD0gMTI4UgZpc05hbWU6mgEKDmlzX2Rlc2NyaXB0aW9uEhkuYnVmLnZhbGlkYXRlLlN0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uYWxsKGssIGsgPT0gJyonIHx8IGsubWF0Y2hlcygnXlswLTlhLWZBLUZdezh9LVswLTlhLWZBLUZdezR9LVswLTlhLWZBLUZdezR9LVswLTlhLWZBLUZdezR9LVswLTlhLWZBLUZdezEyfSQnKSlSFXByb2plY3RSb2xlc0tleXNWYWxpZDriAQoXdGVuYW50X3JvbGVzX2tleXNfdmFsaWQSFi5idWYudmFsaWRhdGUuTWFwUnVsZXMY2oKXJiABKAhCjwHCSIsBCogBChZ0ZW5hbnRfcm9sZXMua2V5LnZhbGlkEjNzdWJqZWN0IG11c3QgYmUgJyonIG9yIGJldHdlZW4gMiBhbmQgMTI4IGNoYXJhY3RlcnMaOXRoaXMuYWxsKGssIGsgPT0gJyonIHx8IGsuc2l6ZSgpID49IDIgJiYgay5zaXplKCkgPD0xMjggKVIUdGVuYW50Um9sZXNLZXlzVmFsaWRCoAEKD2NvbS5maXRzLmFwaS52MUIUUHJlZGVmaW5lZFJ1bGVzUHJvdG9QAVopZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvdjE7YXBpdjGiAgNGQViqAgtGaXRzLkFwaS5WMcoCC0ZpdHNcQXBpXFYx4gIXRml0c1xBcGlcVjFcR1BCTWV0YWRhdGHqAg1GaXRzOjpBcGk6OlYx", [file_buf_validate_validate]);
|
|
10
10
|
/**
|
|
11
11
|
* Macaddress returns true if the given string is a valid macadress
|
|
12
12
|
*
|
|
@@ -61,69 +61,75 @@ export const trimmed = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules,
|
|
|
61
61
|
* @generated from extension: optional bool is_ipv4_cidr = 80048960;
|
|
62
62
|
*/
|
|
63
63
|
export const is_ipv4_cidr = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules, 8);
|
|
64
|
+
/**
|
|
65
|
+
* IsPhone validates if the given string is a valid phone number in E.164 format, e.g. +4915123456789
|
|
66
|
+
*
|
|
67
|
+
* @generated from extension: optional bool is_phone = 80048961;
|
|
68
|
+
*/
|
|
69
|
+
export const is_phone = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules, 9);
|
|
64
70
|
/**
|
|
65
71
|
* IsTenantSubjectPermission returns true if name field satisfies our requirements.
|
|
66
72
|
*
|
|
67
73
|
* @generated from extension: optional bool is_tenant_subject_permission = 80048962;
|
|
68
74
|
*/
|
|
69
|
-
export const is_tenant_subject_permission = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules,
|
|
75
|
+
export const is_tenant_subject_permission = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules, 10);
|
|
70
76
|
/**
|
|
71
77
|
* IsProjectSubjectPermission returns true if name field satisfies our requirements.
|
|
72
78
|
*
|
|
73
79
|
* @generated from extension: optional bool is_project_subject_permission = 80048963;
|
|
74
80
|
*/
|
|
75
|
-
export const is_project_subject_permission = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules,
|
|
81
|
+
export const is_project_subject_permission = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules, 11);
|
|
76
82
|
/**
|
|
77
83
|
* Prefixes validates if a slice of prefixes in string form are valid
|
|
78
84
|
*
|
|
79
85
|
* @generated from extension: optional bool prefixes = 80058951;
|
|
80
86
|
*/
|
|
81
|
-
export const prefixes = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules,
|
|
87
|
+
export const prefixes = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules, 12);
|
|
82
88
|
/**
|
|
83
89
|
* Ips validates if a slice of ips in string form are valid
|
|
84
90
|
*
|
|
85
91
|
* @generated from extension: optional bool ips = 80058952;
|
|
86
92
|
*/
|
|
87
|
-
export const ips = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules,
|
|
93
|
+
export const ips = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules, 13);
|
|
88
94
|
/**
|
|
89
95
|
* AreHostAndPort validates if a slice of strings are all in the form of <ip | host>:<port>
|
|
90
96
|
*
|
|
91
97
|
* @generated from extension: optional bool are_host_and_port = 80058953;
|
|
92
98
|
*/
|
|
93
|
-
export const are_host_and_port = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules,
|
|
99
|
+
export const are_host_and_port = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules, 14);
|
|
94
100
|
/**
|
|
95
101
|
* All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end
|
|
96
102
|
*
|
|
97
103
|
* @generated from extension: optional bool all_trimmed = 80058954;
|
|
98
104
|
*/
|
|
99
|
-
export const all_trimmed = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules,
|
|
105
|
+
export const all_trimmed = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules, 15);
|
|
100
106
|
/**
|
|
101
107
|
* Are Names returns true if all strings given are names
|
|
102
108
|
*
|
|
103
109
|
* @generated from extension: optional bool are_names = 80058955;
|
|
104
110
|
*/
|
|
105
|
-
export const are_names = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules,
|
|
111
|
+
export const are_names = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules, 16);
|
|
106
112
|
/**
|
|
107
113
|
* Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end
|
|
108
114
|
*
|
|
109
115
|
* @generated from extension: optional bool keys_and_values_trimmed = 80068951;
|
|
110
116
|
*/
|
|
111
|
-
export const keys_and_values_trimmed = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules,
|
|
117
|
+
export const keys_and_values_trimmed = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules, 17);
|
|
112
118
|
/**
|
|
113
119
|
* Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end
|
|
114
120
|
*
|
|
115
121
|
* @generated from extension: optional bool keys_trimmed = 80068952;
|
|
116
122
|
*/
|
|
117
|
-
export const keys_trimmed = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules,
|
|
123
|
+
export const keys_trimmed = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules, 18);
|
|
118
124
|
/**
|
|
119
125
|
* ProjectRolesKeysValid ensures that project roles keys met our requirements.
|
|
120
126
|
*
|
|
121
127
|
* @generated from extension: optional bool project_roles_keys_valid = 80068953;
|
|
122
128
|
*/
|
|
123
|
-
export const project_roles_keys_valid = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules,
|
|
129
|
+
export const project_roles_keys_valid = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules, 19);
|
|
124
130
|
/**
|
|
125
131
|
* TenantRolesKeysValid ensures that tenant roles keys met our requirements.
|
|
126
132
|
*
|
|
127
133
|
* @generated from extension: optional bool tenant_roles_keys_valid = 80068954;
|
|
128
134
|
*/
|
|
129
|
-
export const tenant_roles_keys_valid = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules,
|
|
135
|
+
export const tenant_roles_keys_valid = /*@__PURE__*/ extDesc(file_fits_api_v1_predefined_rules, 20);
|
|
@@ -11,7 +11,7 @@ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js
|
|
|
11
11
|
* Describes the file fits/api/v1/predefined_rules.proto.
|
|
12
12
|
*/
|
|
13
13
|
export const file_fits_api_v1_predefined_rules: GenFile = /*@__PURE__*/
|
|
14
|
-
fileDesc("CiJmaXRzL2FwaS92MS9wcmVkZWZpbmVkX3J1bGVzLnByb3RvEgtmaXRzLmFwaS52MTq4AQoKbWFjYWRkcmVzcxIZLmJ1Zi52YWxpZGF0ZS5TdHJpbmdSdWxlcxi35pUmIAEoCEJ6wkh3CnUKEXN0cmluZy5tYWNhZGRyZXNzEiZ0aGlzIHN0cmluZyBtdXN0IGJlIGEgdmFsaWQgbWFjYWRkcmVzcxo4dGhpcy5tYXRjaGVzKCdeKFswLTlBLUZhLWZdezJ9WzpdKXs1fShbMC05QS1GYS1mXXsyfSkkJylSCm1hY2FkZHJlc3M6mQEKB2lzX25hbWUSGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMY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cm9qZWN0X3JvbGVzX2tleXNfdmFsaWQSFi5idWYudmFsaWRhdGUuTWFwUnVsZXMY2YKXJiABKAhCvQHCSLkBCrYBChdwcm9qZWN0X3JvbGVzLmtleS52YWxpZBImc3ViamVjdCBtdXN0IGJlIGEgJyonLCBvciBhIHZhbGlkIFVVSUQac3RoaXMuYWxsKGssIGsgPT0gJyonIHx8IGsubWF0Y2hlcygnXlswLTlhLWZBLUZdezh9LVswLTlhLWZBLUZdezR9LVswLTlhLWZBLUZdezR9LVswLTlhLWZBLUZdezR9LVswLTlhLWZBLUZdezEyfSQnKSlSFXByb2plY3RSb2xlc0tleXNWYWxpZDriAQoXdGVuYW50X3JvbGVzX2tleXNfdmFsaWQSFi5idWYudmFsaWRhdGUuTWFwUnVsZXMY2oKXJiABKAhCjwHCSIsBCogBChZ0ZW5hbnRfcm9sZXMua2V5LnZhbGlkEjNzdWJqZWN0IG11c3QgYmUgJyonIG9yIGJldHdlZW4gMiBhbmQgMTI4IGNoYXJhY3RlcnMaOXRoaXMuYWxsKGssIGsgPT0gJyonIHx8IGsuc2l6ZSgpID49IDIgJiYgay5zaXplKCkgPD0xMjggKVIUdGVuYW50Um9sZXNLZXlzVmFsaWRCoAEKD2NvbS5maXRzLmFwaS52MUIUUHJlZGVmaW5lZFJ1bGVzUHJvdG9QAVopZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvdjE7YXBpdjGiAgNGQViqAgtGaXRzLkFwaS5WMcoCC0ZpdHNcQXBpXFYx4gIXRml0c1xBcGlcVjFcR1BCTWV0YWRhdGHqAg1GaXRzOjpBcGk6OlYx", [file_buf_validate_validate]);
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Macaddress returns true if the given string is a valid macadress
|
|
@@ -85,13 +85,21 @@ export const trimmed: GenExtension<StringRules, boolean> = /*@__PURE__*/
|
|
|
85
85
|
export const is_ipv4_cidr: GenExtension<StringRules, boolean> = /*@__PURE__*/
|
|
86
86
|
extDesc(file_fits_api_v1_predefined_rules, 8);
|
|
87
87
|
|
|
88
|
+
/**
|
|
89
|
+
* IsPhone validates if the given string is a valid phone number in E.164 format, e.g. +4915123456789
|
|
90
|
+
*
|
|
91
|
+
* @generated from extension: optional bool is_phone = 80048961;
|
|
92
|
+
*/
|
|
93
|
+
export const is_phone: GenExtension<StringRules, boolean> = /*@__PURE__*/
|
|
94
|
+
extDesc(file_fits_api_v1_predefined_rules, 9);
|
|
95
|
+
|
|
88
96
|
/**
|
|
89
97
|
* IsTenantSubjectPermission returns true if name field satisfies our requirements.
|
|
90
98
|
*
|
|
91
99
|
* @generated from extension: optional bool is_tenant_subject_permission = 80048962;
|
|
92
100
|
*/
|
|
93
101
|
export const is_tenant_subject_permission: GenExtension<StringRules, boolean> = /*@__PURE__*/
|
|
94
|
-
extDesc(file_fits_api_v1_predefined_rules,
|
|
102
|
+
extDesc(file_fits_api_v1_predefined_rules, 10);
|
|
95
103
|
|
|
96
104
|
/**
|
|
97
105
|
* IsProjectSubjectPermission returns true if name field satisfies our requirements.
|
|
@@ -99,7 +107,7 @@ export const is_tenant_subject_permission: GenExtension<StringRules, boolean> =
|
|
|
99
107
|
* @generated from extension: optional bool is_project_subject_permission = 80048963;
|
|
100
108
|
*/
|
|
101
109
|
export const is_project_subject_permission: GenExtension<StringRules, boolean> = /*@__PURE__*/
|
|
102
|
-
extDesc(file_fits_api_v1_predefined_rules,
|
|
110
|
+
extDesc(file_fits_api_v1_predefined_rules, 11);
|
|
103
111
|
|
|
104
112
|
/**
|
|
105
113
|
* Prefixes validates if a slice of prefixes in string form are valid
|
|
@@ -107,7 +115,7 @@ export const is_project_subject_permission: GenExtension<StringRules, boolean> =
|
|
|
107
115
|
* @generated from extension: optional bool prefixes = 80058951;
|
|
108
116
|
*/
|
|
109
117
|
export const prefixes: GenExtension<RepeatedRules, boolean> = /*@__PURE__*/
|
|
110
|
-
extDesc(file_fits_api_v1_predefined_rules,
|
|
118
|
+
extDesc(file_fits_api_v1_predefined_rules, 12);
|
|
111
119
|
|
|
112
120
|
/**
|
|
113
121
|
* Ips validates if a slice of ips in string form are valid
|
|
@@ -115,7 +123,7 @@ export const prefixes: GenExtension<RepeatedRules, boolean> = /*@__PURE__*/
|
|
|
115
123
|
* @generated from extension: optional bool ips = 80058952;
|
|
116
124
|
*/
|
|
117
125
|
export const ips: GenExtension<RepeatedRules, boolean> = /*@__PURE__*/
|
|
118
|
-
extDesc(file_fits_api_v1_predefined_rules,
|
|
126
|
+
extDesc(file_fits_api_v1_predefined_rules, 13);
|
|
119
127
|
|
|
120
128
|
/**
|
|
121
129
|
* AreHostAndPort validates if a slice of strings are all in the form of <ip | host>:<port>
|
|
@@ -123,7 +131,7 @@ export const ips: GenExtension<RepeatedRules, boolean> = /*@__PURE__*/
|
|
|
123
131
|
* @generated from extension: optional bool are_host_and_port = 80058953;
|
|
124
132
|
*/
|
|
125
133
|
export const are_host_and_port: GenExtension<RepeatedRules, boolean> = /*@__PURE__*/
|
|
126
|
-
extDesc(file_fits_api_v1_predefined_rules,
|
|
134
|
+
extDesc(file_fits_api_v1_predefined_rules, 14);
|
|
127
135
|
|
|
128
136
|
/**
|
|
129
137
|
* All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end
|
|
@@ -131,7 +139,7 @@ export const are_host_and_port: GenExtension<RepeatedRules, boolean> = /*@__PURE
|
|
|
131
139
|
* @generated from extension: optional bool all_trimmed = 80058954;
|
|
132
140
|
*/
|
|
133
141
|
export const all_trimmed: GenExtension<RepeatedRules, boolean> = /*@__PURE__*/
|
|
134
|
-
extDesc(file_fits_api_v1_predefined_rules,
|
|
142
|
+
extDesc(file_fits_api_v1_predefined_rules, 15);
|
|
135
143
|
|
|
136
144
|
/**
|
|
137
145
|
* Are Names returns true if all strings given are names
|
|
@@ -139,7 +147,7 @@ export const all_trimmed: GenExtension<RepeatedRules, boolean> = /*@__PURE__*/
|
|
|
139
147
|
* @generated from extension: optional bool are_names = 80058955;
|
|
140
148
|
*/
|
|
141
149
|
export const are_names: GenExtension<RepeatedRules, boolean> = /*@__PURE__*/
|
|
142
|
-
extDesc(file_fits_api_v1_predefined_rules,
|
|
150
|
+
extDesc(file_fits_api_v1_predefined_rules, 16);
|
|
143
151
|
|
|
144
152
|
/**
|
|
145
153
|
* Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end
|
|
@@ -147,7 +155,7 @@ export const are_names: GenExtension<RepeatedRules, boolean> = /*@__PURE__*/
|
|
|
147
155
|
* @generated from extension: optional bool keys_and_values_trimmed = 80068951;
|
|
148
156
|
*/
|
|
149
157
|
export const keys_and_values_trimmed: GenExtension<MapRules, boolean> = /*@__PURE__*/
|
|
150
|
-
extDesc(file_fits_api_v1_predefined_rules,
|
|
158
|
+
extDesc(file_fits_api_v1_predefined_rules, 17);
|
|
151
159
|
|
|
152
160
|
/**
|
|
153
161
|
* Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end
|
|
@@ -155,7 +163,7 @@ export const keys_and_values_trimmed: GenExtension<MapRules, boolean> = /*@__PUR
|
|
|
155
163
|
* @generated from extension: optional bool keys_trimmed = 80068952;
|
|
156
164
|
*/
|
|
157
165
|
export const keys_trimmed: GenExtension<MapRules, boolean> = /*@__PURE__*/
|
|
158
|
-
extDesc(file_fits_api_v1_predefined_rules,
|
|
166
|
+
extDesc(file_fits_api_v1_predefined_rules, 18);
|
|
159
167
|
|
|
160
168
|
/**
|
|
161
169
|
* ProjectRolesKeysValid ensures that project roles keys met our requirements.
|
|
@@ -163,7 +171,7 @@ export const keys_trimmed: GenExtension<MapRules, boolean> = /*@__PURE__*/
|
|
|
163
171
|
* @generated from extension: optional bool project_roles_keys_valid = 80068953;
|
|
164
172
|
*/
|
|
165
173
|
export const project_roles_keys_valid: GenExtension<MapRules, boolean> = /*@__PURE__*/
|
|
166
|
-
extDesc(file_fits_api_v1_predefined_rules,
|
|
174
|
+
extDesc(file_fits_api_v1_predefined_rules, 19);
|
|
167
175
|
|
|
168
176
|
/**
|
|
169
177
|
* TenantRolesKeysValid ensures that tenant roles keys met our requirements.
|
|
@@ -171,5 +179,5 @@ export const project_roles_keys_valid: GenExtension<MapRules, boolean> = /*@__PU
|
|
|
171
179
|
* @generated from extension: optional bool tenant_roles_keys_valid = 80068954;
|
|
172
180
|
*/
|
|
173
181
|
export const tenant_roles_keys_valid: GenExtension<MapRules, boolean> = /*@__PURE__*/
|
|
174
|
-
extDesc(file_fits_api_v1_predefined_rules,
|
|
182
|
+
extDesc(file_fits_api_v1_predefined_rules, 20);
|
|
175
183
|
|
package/package.json
CHANGED