@fi-ts/api 0.0.0-pr.33.ff516b45 → 0.0.0-pr.35.89ac137a
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/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/mvm_pb.js +1 -1
- package/fits/api/mvm/v1/mvm_pb.ts +1 -1
- 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/pcvm/v1/pcvm_pb.d.ts +11 -7
- package/fits/api/pcvm/v1/pcvm_pb.js +5 -5
- package/fits/api/pcvm/v1/pcvm_pb.ts +12 -8
- package/fits/api/v1/common_pb.d.ts +0 -114
- package/fits/api/v1/common_pb.js +10 -95
- package/fits/api/v1/common_pb.ts +10 -145
- package/fits/api/v1/method_pb.d.ts +1 -7
- package/fits/api/v1/method_pb.js +1 -1
- package/fits/api/v1/method_pb.ts +2 -9
- package/fits/api/v1/predefined_rules_pb.d.ts +0 -6
- package/fits/api/v1/predefined_rules_pb.js +13 -19
- package/fits/api/v1/predefined_rules_pb.ts +13 -21
- package/fits/api/v1/project_pb.d.ts +0 -7
- package/fits/api/v1/project_pb.js +1 -1
- package/fits/api/v1/project_pb.ts +1 -9
- package/fits/api/v1/token_pb.d.ts +1 -7
- package/fits/api/v1/token_pb.js +1 -1
- package/fits/api/v1/token_pb.ts +2 -9
- package/package.json +1 -1
|
@@ -5,42 +5,6 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
5
5
|
* Describes the file fits/api/v1/common.proto.
|
|
6
6
|
*/
|
|
7
7
|
export declare const file_fits_api_v1_common: GenFile;
|
|
8
|
-
/**
|
|
9
|
-
* ProductRoleAssignment grants a product role on one product instance.
|
|
10
|
-
*
|
|
11
|
-
* @generated from message fits.api.v1.ProductRoleAssignment
|
|
12
|
-
*/
|
|
13
|
-
export type ProductRoleAssignment = Message<"fits.api.v1.ProductRoleAssignment"> & {
|
|
14
|
-
/**
|
|
15
|
-
* Product the role applies to.
|
|
16
|
-
*
|
|
17
|
-
* @generated from field: fits.api.v1.Product product = 1;
|
|
18
|
-
*/
|
|
19
|
-
product: Product;
|
|
20
|
-
/**
|
|
21
|
-
* UUID of the product instance (or id when the product does not use UUIDs).
|
|
22
|
-
*
|
|
23
|
-
* @generated from field: string product_uuid = 2;
|
|
24
|
-
*/
|
|
25
|
-
productUuid: string;
|
|
26
|
-
/**
|
|
27
|
-
* UUID of the project the product belongs to.
|
|
28
|
-
*
|
|
29
|
-
* @generated from field: string project_uuid = 3;
|
|
30
|
-
*/
|
|
31
|
-
projectUuid: string;
|
|
32
|
-
/**
|
|
33
|
-
* Role granted on the product.
|
|
34
|
-
*
|
|
35
|
-
* @generated from field: fits.api.v1.ProductRole role = 4;
|
|
36
|
-
*/
|
|
37
|
-
role: ProductRole;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Describes the message fits.api.v1.ProductRoleAssignment.
|
|
41
|
-
* Use `create(ProductRoleAssignmentSchema)` to create a new message.
|
|
42
|
-
*/
|
|
43
|
-
export declare const ProductRoleAssignmentSchema: GenMessage<ProductRoleAssignment>;
|
|
44
8
|
/**
|
|
45
9
|
* Paging defines paging for methods with a lot of results
|
|
46
10
|
*
|
|
@@ -279,72 +243,6 @@ export declare enum OperatorRole {
|
|
|
279
243
|
* Describes the enum fits.api.v1.OperatorRole.
|
|
280
244
|
*/
|
|
281
245
|
export declare const OperatorRoleSchema: GenEnum<OperatorRole>;
|
|
282
|
-
/**
|
|
283
|
-
* Product identifies the resource type a product scoped method acts on.
|
|
284
|
-
* The product instance id is carried by the request as `uuid`, or `id` when it is not a uuid.
|
|
285
|
-
*
|
|
286
|
-
* @generated from enum fits.api.v1.Product
|
|
287
|
-
*/
|
|
288
|
-
export declare enum Product {
|
|
289
|
-
/**
|
|
290
|
-
* PRODUCT_UNSPECIFIED is not specified
|
|
291
|
-
*
|
|
292
|
-
* @generated from enum value: PRODUCT_UNSPECIFIED = 0;
|
|
293
|
-
*/
|
|
294
|
-
UNSPECIFIED = 0,
|
|
295
|
-
/**
|
|
296
|
-
* PRODUCT_MANAGED_VM identifies a ManagedVM (fits.api.mvm.v1.ManagedVM)
|
|
297
|
-
*
|
|
298
|
-
* @generated from enum value: PRODUCT_MANAGED_VM = 1;
|
|
299
|
-
*/
|
|
300
|
-
MANAGED_VM = 1,
|
|
301
|
-
/**
|
|
302
|
-
* PRODUCT_PUBLIC_CLOUD_VM identifies a VM (fits.api.pcvm.v1.PublicCloudVM)
|
|
303
|
-
*
|
|
304
|
-
* @generated from enum value: PRODUCT_PUBLIC_CLOUD_VM = 2;
|
|
305
|
-
*/
|
|
306
|
-
PUBLIC_CLOUD_VM = 2
|
|
307
|
-
}
|
|
308
|
-
/**
|
|
309
|
-
* Describes the enum fits.api.v1.Product.
|
|
310
|
-
*/
|
|
311
|
-
export declare const ProductSchema: GenEnum<Product>;
|
|
312
|
-
/**
|
|
313
|
-
* ProductRole specifies what role a logged in user needs to call this product scoped service.
|
|
314
|
-
* Product roles are independent of project roles.
|
|
315
|
-
*
|
|
316
|
-
* @generated from enum fits.api.v1.ProductRole
|
|
317
|
-
*/
|
|
318
|
-
export declare enum ProductRole {
|
|
319
|
-
/**
|
|
320
|
-
* PRODUCT_ROLE_UNSPECIFIED is not specified
|
|
321
|
-
*
|
|
322
|
-
* @generated from enum value: PRODUCT_ROLE_UNSPECIFIED = 0;
|
|
323
|
-
*/
|
|
324
|
-
UNSPECIFIED = 0,
|
|
325
|
-
/**
|
|
326
|
-
* PRODUCT_ROLE_ADMIN the logged in user needs at least admin role to call this method
|
|
327
|
-
*
|
|
328
|
-
* @generated from enum value: PRODUCT_ROLE_ADMIN = 1;
|
|
329
|
-
*/
|
|
330
|
-
ADMIN = 1,
|
|
331
|
-
/**
|
|
332
|
-
* PRODUCT_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
333
|
-
*
|
|
334
|
-
* @generated from enum value: PRODUCT_ROLE_EDITOR = 2;
|
|
335
|
-
*/
|
|
336
|
-
EDITOR = 2,
|
|
337
|
-
/**
|
|
338
|
-
* PRODUCT_ROLE_VIEWER the logged in user needs at least viewer role to call this method
|
|
339
|
-
*
|
|
340
|
-
* @generated from enum value: PRODUCT_ROLE_VIEWER = 3;
|
|
341
|
-
*/
|
|
342
|
-
VIEWER = 3
|
|
343
|
-
}
|
|
344
|
-
/**
|
|
345
|
-
* Describes the enum fits.api.v1.ProductRole.
|
|
346
|
-
*/
|
|
347
|
-
export declare const ProductRoleSchema: GenEnum<ProductRole>;
|
|
348
246
|
/**
|
|
349
247
|
* Visibility of a method
|
|
350
248
|
*
|
|
@@ -466,18 +364,6 @@ export declare const visibility: GenExtension<MethodOptions, Visibility>;
|
|
|
466
364
|
* @generated from extension: fits.api.v1.Auditing auditing = 51004;
|
|
467
365
|
*/
|
|
468
366
|
export declare const auditing: GenExtension<MethodOptions, Auditing>;
|
|
469
|
-
/**
|
|
470
|
-
* ProductRoles are used to define which product role a logged in user must provide to call this method
|
|
471
|
-
*
|
|
472
|
-
* @generated from extension: repeated fits.api.v1.ProductRole product_roles = 51005;
|
|
473
|
-
*/
|
|
474
|
-
export declare const product_roles: GenExtension<MethodOptions, ProductRole[]>;
|
|
475
|
-
/**
|
|
476
|
-
* Product defines the product a product scoped method acts on. Required whenever product_roles is set.
|
|
477
|
-
*
|
|
478
|
-
* @generated from extension: fits.api.v1.Product product = 51006;
|
|
479
|
-
*/
|
|
480
|
-
export declare const product: GenExtension<MethodOptions, Product>;
|
|
481
367
|
/**
|
|
482
368
|
* StringValue which can be set to a enum
|
|
483
369
|
*
|
package/fits/api/v1/common_pb.js
CHANGED
|
@@ -8,37 +8,32 @@ import { file_google_protobuf_descriptor, file_google_protobuf_timestamp } from
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file fits/api/v1/common.proto.
|
|
10
10
|
*/
|
|
11
|
-
export const file_fits_api_v1_common = /*@__PURE__*/ fileDesc("
|
|
12
|
-
/**
|
|
13
|
-
* Describes the message fits.api.v1.ProductRoleAssignment.
|
|
14
|
-
* Use `create(ProductRoleAssignmentSchema)` to create a new message.
|
|
15
|
-
*/
|
|
16
|
-
export const ProductRoleAssignmentSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_common, 0);
|
|
11
|
+
export const file_fits_api_v1_common = /*@__PURE__*/ fileDesc("ChhmaXRzL2FwaS92MS9jb21tb24ucHJvdG8SC2ZpdHMuYXBpLnYxIkIKBlBhZ2luZxIRCgRwYWdlGAEgASgESACIAQESEgoFY291bnQYAiABKARIAYgBAUIHCgVfcGFnZUIICgZfY291bnQiiAEKBkxhYmVscxJPCgZsYWJlbHMYASADKAsyHy5maXRzLmFwaS52MS5MYWJlbHMuTGFiZWxzRW50cnlCHrpIG5oBGLiVuLECASIHcgUQARiAAioHcgUQABiAAhotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIq8BCgRNZXRhEigKBmxhYmVscxgBIAEoCzITLmZpdHMuYXBpLnYxLkxhYmVsc0gAiAEBEi4KCmNyZWF0ZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnVwZGF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhIKCmdlbmVyYXRpb24YBCABKARCCQoHX2xhYmVscyJDCgxVcGRhdGVMYWJlbHMSIwoGdXBkYXRlGAEgASgLMhMuZml0cy5hcGkudjEuTGFiZWxzEg4KBnJlbW92ZRgCIAMoCSKIAQoKVXBkYXRlTWV0YRIuCgp1cGRhdGVkX2F0GAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBJKChBsb2NraW5nX3N0cmF0ZWd5GAIgASgOMiYuZml0cy5hcGkudjEuT3B0aW1pc3RpY0xvY2tpbmdTdHJhdGVneUIIukgFggECEAEqhwEKClRlbmFudFJvbGUSGwoXVEVOQU5UX1JPTEVfVU5TUEVDSUZJRUQQABIVChFURU5BTlRfUk9MRV9BRE1JThABEhYKElRFTkFOVF9ST0xFX0VESVRPUhACEhYKElRFTkFOVF9ST0xFX1ZJRVdFUhADEhUKEVRFTkFOVF9ST0xFX0dVRVNUEAQqdQoLUHJvamVjdFJvbGUSHAoYUFJPSkVDVF9ST0xFX1VOU1BFQ0lGSUVEEAASFgoSUFJPSkVDVF9ST0xFX0FETUlOEAESFwoTUFJPSkVDVF9ST0xFX0VESVRPUhACEhcKE1BST0pFQ1RfUk9MRV9WSUVXRVIQAyphCgxPcGVyYXRvclJvbGUSHQoZT1BFUkFUT1JfUk9MRV9VTlNQRUNJRklFRBAAEhgKFE9QRVJBVE9SX1JPTEVfRURJVE9SEAESGAoUT1BFUkFUT1JfUk9MRV9WSUVXRVIQAipUCgpWaXNpYmlsaXR5EhoKFlZJU0lCSUxJVFlfVU5TUEVDSUZJRUQQABIVChFWSVNJQklMSVRZX1BVQkxJQxABEhMKD1ZJU0lCSUxJVFlfU0VMRhACKlIKCEF1ZGl0aW5nEhgKFEFVRElUSU5HX1VOU1BFQ0lGSUVEEAASFQoRQVVESVRJTkdfSU5DTFVERUQQARIVChFBVURJVElOR19FWENMVURFRBACKpgBChlPcHRpbWlzdGljTG9ja2luZ1N0cmF0ZWd5EisKJ09QVElNSVNUSUNfTE9DS0lOR19TVFJBVEVHWV9VTlNQRUNJRklFRBAAEiYKIk9QVElNSVNUSUNfTE9DS0lOR19TVFJBVEVHWV9DTElFTlQQARImCiJPUFRJTUlTVElDX0xPQ0tJTkdfU1RSQVRFR1lfU0VSVkVSEAI6XAoMdGVuYW50X3JvbGVzEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYuI4DIAMoDjIXLmZpdHMuYXBpLnYxLlRlbmFudFJvbGVSC3RlbmFudFJvbGVzOl8KDXByb2plY3Rfcm9sZXMSHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxi5jgMgAygOMhguZml0cy5hcGkudjEuUHJvamVjdFJvbGVSDHByb2plY3RSb2xlczpiCg5vcGVyYXRvcl9yb2xlcxIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGLqOAyADKA4yGS5maXRzLmFwaS52MS5PcGVyYXRvclJvbGVSDW9wZXJhdG9yUm9sZXM6WQoKdmlzaWJpbGl0eRIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGLuOAyABKA4yFy5maXRzLmFwaS52MS5WaXNpYmlsaXR5Ugp2aXNpYmlsaXR5OlMKCGF1ZGl0aW5nEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYvI4DIAEoDjIVLmZpdHMuYXBpLnYxLkF1ZGl0aW5nUghhdWRpdGluZzpPChFlbnVtX3N0cmluZ192YWx1ZRIhLmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVPcHRpb25zGKCWAyABKAlSD2VudW1TdHJpbmdWYWx1ZUKXAQoPY29tLmZpdHMuYXBpLnYxQgtDb21tb25Qcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_predefined_rules, file_google_protobuf_descriptor, file_google_protobuf_timestamp]);
|
|
17
12
|
/**
|
|
18
13
|
* Describes the message fits.api.v1.Paging.
|
|
19
14
|
* Use `create(PagingSchema)` to create a new message.
|
|
20
15
|
*/
|
|
21
|
-
export const PagingSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_common,
|
|
16
|
+
export const PagingSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_common, 0);
|
|
22
17
|
/**
|
|
23
18
|
* Describes the message fits.api.v1.Labels.
|
|
24
19
|
* Use `create(LabelsSchema)` to create a new message.
|
|
25
20
|
*/
|
|
26
|
-
export const LabelsSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_common,
|
|
21
|
+
export const LabelsSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_common, 1);
|
|
27
22
|
/**
|
|
28
23
|
* Describes the message fits.api.v1.Meta.
|
|
29
24
|
* Use `create(MetaSchema)` to create a new message.
|
|
30
25
|
*/
|
|
31
|
-
export const MetaSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_common,
|
|
26
|
+
export const MetaSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_common, 2);
|
|
32
27
|
/**
|
|
33
28
|
* Describes the message fits.api.v1.UpdateLabels.
|
|
34
29
|
* Use `create(UpdateLabelsSchema)` to create a new message.
|
|
35
30
|
*/
|
|
36
|
-
export const UpdateLabelsSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_common,
|
|
31
|
+
export const UpdateLabelsSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_common, 3);
|
|
37
32
|
/**
|
|
38
33
|
* Describes the message fits.api.v1.UpdateMeta.
|
|
39
34
|
* Use `create(UpdateMetaSchema)` to create a new message.
|
|
40
35
|
*/
|
|
41
|
-
export const UpdateMetaSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_common,
|
|
36
|
+
export const UpdateMetaSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_common, 4);
|
|
42
37
|
/**
|
|
43
38
|
* TenantRole specifies what role a logged in user needs to call this tenant scoped service
|
|
44
39
|
*
|
|
@@ -149,74 +144,6 @@ export var OperatorRole;
|
|
|
149
144
|
* Describes the enum fits.api.v1.OperatorRole.
|
|
150
145
|
*/
|
|
151
146
|
export const OperatorRoleSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 2);
|
|
152
|
-
/**
|
|
153
|
-
* Product identifies the resource type a product scoped method acts on.
|
|
154
|
-
* The product instance id is carried by the request as `uuid`, or `id` when it is not a uuid.
|
|
155
|
-
*
|
|
156
|
-
* @generated from enum fits.api.v1.Product
|
|
157
|
-
*/
|
|
158
|
-
export var Product;
|
|
159
|
-
(function (Product) {
|
|
160
|
-
/**
|
|
161
|
-
* PRODUCT_UNSPECIFIED is not specified
|
|
162
|
-
*
|
|
163
|
-
* @generated from enum value: PRODUCT_UNSPECIFIED = 0;
|
|
164
|
-
*/
|
|
165
|
-
Product[Product["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
166
|
-
/**
|
|
167
|
-
* PRODUCT_MANAGED_VM identifies a ManagedVM (fits.api.mvm.v1.ManagedVM)
|
|
168
|
-
*
|
|
169
|
-
* @generated from enum value: PRODUCT_MANAGED_VM = 1;
|
|
170
|
-
*/
|
|
171
|
-
Product[Product["MANAGED_VM"] = 1] = "MANAGED_VM";
|
|
172
|
-
/**
|
|
173
|
-
* PRODUCT_PUBLIC_CLOUD_VM identifies a VM (fits.api.pcvm.v1.PublicCloudVM)
|
|
174
|
-
*
|
|
175
|
-
* @generated from enum value: PRODUCT_PUBLIC_CLOUD_VM = 2;
|
|
176
|
-
*/
|
|
177
|
-
Product[Product["PUBLIC_CLOUD_VM"] = 2] = "PUBLIC_CLOUD_VM";
|
|
178
|
-
})(Product || (Product = {}));
|
|
179
|
-
/**
|
|
180
|
-
* Describes the enum fits.api.v1.Product.
|
|
181
|
-
*/
|
|
182
|
-
export const ProductSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 3);
|
|
183
|
-
/**
|
|
184
|
-
* ProductRole specifies what role a logged in user needs to call this product scoped service.
|
|
185
|
-
* Product roles are independent of project roles.
|
|
186
|
-
*
|
|
187
|
-
* @generated from enum fits.api.v1.ProductRole
|
|
188
|
-
*/
|
|
189
|
-
export var ProductRole;
|
|
190
|
-
(function (ProductRole) {
|
|
191
|
-
/**
|
|
192
|
-
* PRODUCT_ROLE_UNSPECIFIED is not specified
|
|
193
|
-
*
|
|
194
|
-
* @generated from enum value: PRODUCT_ROLE_UNSPECIFIED = 0;
|
|
195
|
-
*/
|
|
196
|
-
ProductRole[ProductRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
197
|
-
/**
|
|
198
|
-
* PRODUCT_ROLE_ADMIN the logged in user needs at least admin role to call this method
|
|
199
|
-
*
|
|
200
|
-
* @generated from enum value: PRODUCT_ROLE_ADMIN = 1;
|
|
201
|
-
*/
|
|
202
|
-
ProductRole[ProductRole["ADMIN"] = 1] = "ADMIN";
|
|
203
|
-
/**
|
|
204
|
-
* PRODUCT_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
205
|
-
*
|
|
206
|
-
* @generated from enum value: PRODUCT_ROLE_EDITOR = 2;
|
|
207
|
-
*/
|
|
208
|
-
ProductRole[ProductRole["EDITOR"] = 2] = "EDITOR";
|
|
209
|
-
/**
|
|
210
|
-
* PRODUCT_ROLE_VIEWER the logged in user needs at least viewer role to call this method
|
|
211
|
-
*
|
|
212
|
-
* @generated from enum value: PRODUCT_ROLE_VIEWER = 3;
|
|
213
|
-
*/
|
|
214
|
-
ProductRole[ProductRole["VIEWER"] = 3] = "VIEWER";
|
|
215
|
-
})(ProductRole || (ProductRole = {}));
|
|
216
|
-
/**
|
|
217
|
-
* Describes the enum fits.api.v1.ProductRole.
|
|
218
|
-
*/
|
|
219
|
-
export const ProductRoleSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 4);
|
|
220
147
|
/**
|
|
221
148
|
* Visibility of a method
|
|
222
149
|
*
|
|
@@ -246,7 +173,7 @@ export var Visibility;
|
|
|
246
173
|
/**
|
|
247
174
|
* Describes the enum fits.api.v1.Visibility.
|
|
248
175
|
*/
|
|
249
|
-
export const VisibilitySchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common,
|
|
176
|
+
export const VisibilitySchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 3);
|
|
250
177
|
/**
|
|
251
178
|
* Auditing option specified per service method
|
|
252
179
|
* by default all service methods are included
|
|
@@ -278,7 +205,7 @@ export var Auditing;
|
|
|
278
205
|
/**
|
|
279
206
|
* Describes the enum fits.api.v1.Auditing.
|
|
280
207
|
*/
|
|
281
|
-
export const AuditingSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common,
|
|
208
|
+
export const AuditingSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 4);
|
|
282
209
|
/**
|
|
283
210
|
* OptimisticLockingStrategy defines how optimistic locking should be handled.
|
|
284
211
|
* It defaults to client side, which requires the UpdatedAt timestamp to be provided
|
|
@@ -310,7 +237,7 @@ export var OptimisticLockingStrategy;
|
|
|
310
237
|
/**
|
|
311
238
|
* Describes the enum fits.api.v1.OptimisticLockingStrategy.
|
|
312
239
|
*/
|
|
313
|
-
export const OptimisticLockingStrategySchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common,
|
|
240
|
+
export const OptimisticLockingStrategySchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 5);
|
|
314
241
|
/**
|
|
315
242
|
* TenantRoles are used to define which tenant role a logged in user must provide to call this method
|
|
316
243
|
*
|
|
@@ -341,21 +268,9 @@ export const visibility = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 3);
|
|
|
341
268
|
* @generated from extension: fits.api.v1.Auditing auditing = 51004;
|
|
342
269
|
*/
|
|
343
270
|
export const auditing = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 4);
|
|
344
|
-
/**
|
|
345
|
-
* ProductRoles are used to define which product role a logged in user must provide to call this method
|
|
346
|
-
*
|
|
347
|
-
* @generated from extension: repeated fits.api.v1.ProductRole product_roles = 51005;
|
|
348
|
-
*/
|
|
349
|
-
export const product_roles = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 5);
|
|
350
|
-
/**
|
|
351
|
-
* Product defines the product a product scoped method acts on. Required whenever product_roles is set.
|
|
352
|
-
*
|
|
353
|
-
* @generated from extension: fits.api.v1.Product product = 51006;
|
|
354
|
-
*/
|
|
355
|
-
export const product = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 6);
|
|
356
271
|
/**
|
|
357
272
|
* StringValue which can be set to a enum
|
|
358
273
|
*
|
|
359
274
|
* @generated from extension: string enum_string_value = 52000;
|
|
360
275
|
*/
|
|
361
|
-
export const enum_string_value = /*@__PURE__*/ extDesc(file_fits_api_v1_common,
|
|
276
|
+
export const enum_string_value = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 5);
|
package/fits/api/v1/common_pb.ts
CHANGED
|
@@ -14,49 +14,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
14
14
|
* Describes the file fits/api/v1/common.proto.
|
|
15
15
|
*/
|
|
16
16
|
export const file_fits_api_v1_common: GenFile = /*@__PURE__*/
|
|
17
|
-
fileDesc("
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* ProductRoleAssignment grants a product role on one product instance.
|
|
21
|
-
*
|
|
22
|
-
* @generated from message fits.api.v1.ProductRoleAssignment
|
|
23
|
-
*/
|
|
24
|
-
export type ProductRoleAssignment = Message<"fits.api.v1.ProductRoleAssignment"> & {
|
|
25
|
-
/**
|
|
26
|
-
* Product the role applies to.
|
|
27
|
-
*
|
|
28
|
-
* @generated from field: fits.api.v1.Product product = 1;
|
|
29
|
-
*/
|
|
30
|
-
product: Product;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* UUID of the product instance (or id when the product does not use UUIDs).
|
|
34
|
-
*
|
|
35
|
-
* @generated from field: string product_uuid = 2;
|
|
36
|
-
*/
|
|
37
|
-
productUuid: string;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* UUID of the project the product belongs to.
|
|
41
|
-
*
|
|
42
|
-
* @generated from field: string project_uuid = 3;
|
|
43
|
-
*/
|
|
44
|
-
projectUuid: string;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Role granted on the product.
|
|
48
|
-
*
|
|
49
|
-
* @generated from field: fits.api.v1.ProductRole role = 4;
|
|
50
|
-
*/
|
|
51
|
-
role: ProductRole;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Describes the message fits.api.v1.ProductRoleAssignment.
|
|
56
|
-
* Use `create(ProductRoleAssignmentSchema)` to create a new message.
|
|
57
|
-
*/
|
|
58
|
-
export const ProductRoleAssignmentSchema: GenMessage<ProductRoleAssignment> = /*@__PURE__*/
|
|
59
|
-
messageDesc(file_fits_api_v1_common, 0);
|
|
17
|
+
fileDesc("ChhmaXRzL2FwaS92MS9jb21tb24ucHJvdG8SC2ZpdHMuYXBpLnYxIkIKBlBhZ2luZxIRCgRwYWdlGAEgASgESACIAQESEgoFY291bnQYAiABKARIAYgBAUIHCgVfcGFnZUIICgZfY291bnQiiAEKBkxhYmVscxJPCgZsYWJlbHMYASADKAsyHy5maXRzLmFwaS52MS5MYWJlbHMuTGFiZWxzRW50cnlCHrpIG5oBGLiVuLECASIHcgUQARiAAioHcgUQABiAAhotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIq8BCgRNZXRhEigKBmxhYmVscxgBIAEoCzITLmZpdHMuYXBpLnYxLkxhYmVsc0gAiAEBEi4KCmNyZWF0ZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnVwZGF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhIKCmdlbmVyYXRpb24YBCABKARCCQoHX2xhYmVscyJDCgxVcGRhdGVMYWJlbHMSIwoGdXBkYXRlGAEgASgLMhMuZml0cy5hcGkudjEuTGFiZWxzEg4KBnJlbW92ZRgCIAMoCSKIAQoKVXBkYXRlTWV0YRIuCgp1cGRhdGVkX2F0GAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBJKChBsb2NraW5nX3N0cmF0ZWd5GAIgASgOMiYuZml0cy5hcGkudjEuT3B0aW1pc3RpY0xvY2tpbmdTdHJhdGVneUIIukgFggECEAEqhwEKClRlbmFudFJvbGUSGwoXVEVOQU5UX1JPTEVfVU5TUEVDSUZJRUQQABIVChFURU5BTlRfUk9MRV9BRE1JThABEhYKElRFTkFOVF9ST0xFX0VESVRPUhACEhYKElRFTkFOVF9ST0xFX1ZJRVdFUhADEhUKEVRFTkFOVF9ST0xFX0dVRVNUEAQqdQoLUHJvamVjdFJvbGUSHAoYUFJPSkVDVF9ST0xFX1VOU1BFQ0lGSUVEEAASFgoSUFJPSkVDVF9ST0xFX0FETUlOEAESFwoTUFJPSkVDVF9ST0xFX0VESVRPUhACEhcKE1BST0pFQ1RfUk9MRV9WSUVXRVIQAyphCgxPcGVyYXRvclJvbGUSHQoZT1BFUkFUT1JfUk9MRV9VTlNQRUNJRklFRBAAEhgKFE9QRVJBVE9SX1JPTEVfRURJVE9SEAESGAoUT1BFUkFUT1JfUk9MRV9WSUVXRVIQAipUCgpWaXNpYmlsaXR5EhoKFlZJU0lCSUxJVFlfVU5TUEVDSUZJRUQQABIVChFWSVNJQklMSVRZX1BVQkxJQxABEhMKD1ZJU0lCSUxJVFlfU0VMRhACKlIKCEF1ZGl0aW5nEhgKFEFVRElUSU5HX1VOU1BFQ0lGSUVEEAASFQoRQVVESVRJTkdfSU5DTFVERUQQARIVChFBVURJVElOR19FWENMVURFRBACKpgBChlPcHRpbWlzdGljTG9ja2luZ1N0cmF0ZWd5EisKJ09QVElNSVNUSUNfTE9DS0lOR19TVFJBVEVHWV9VTlNQRUNJRklFRBAAEiYKIk9QVElNSVNUSUNfTE9DS0lOR19TVFJBVEVHWV9DTElFTlQQARImCiJPUFRJTUlTVElDX0xPQ0tJTkdfU1RSQVRFR1lfU0VSVkVSEAI6XAoMdGVuYW50X3JvbGVzEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYuI4DIAMoDjIXLmZpdHMuYXBpLnYxLlRlbmFudFJvbGVSC3RlbmFudFJvbGVzOl8KDXByb2plY3Rfcm9sZXMSHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxi5jgMgAygOMhguZml0cy5hcGkudjEuUHJvamVjdFJvbGVSDHByb2plY3RSb2xlczpiCg5vcGVyYXRvcl9yb2xlcxIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGLqOAyADKA4yGS5maXRzLmFwaS52MS5PcGVyYXRvclJvbGVSDW9wZXJhdG9yUm9sZXM6WQoKdmlzaWJpbGl0eRIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGLuOAyABKA4yFy5maXRzLmFwaS52MS5WaXNpYmlsaXR5Ugp2aXNpYmlsaXR5OlMKCGF1ZGl0aW5nEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYvI4DIAEoDjIVLmZpdHMuYXBpLnYxLkF1ZGl0aW5nUghhdWRpdGluZzpPChFlbnVtX3N0cmluZ192YWx1ZRIhLmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVPcHRpb25zGKCWAyABKAlSD2VudW1TdHJpbmdWYWx1ZUKXAQoPY29tLmZpdHMuYXBpLnYxQgtDb21tb25Qcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_predefined_rules, file_google_protobuf_descriptor, file_google_protobuf_timestamp]);
|
|
60
18
|
|
|
61
19
|
/**
|
|
62
20
|
* Paging defines paging for methods with a lot of results
|
|
@@ -85,7 +43,7 @@ export type Paging = Message<"fits.api.v1.Paging"> & {
|
|
|
85
43
|
* Use `create(PagingSchema)` to create a new message.
|
|
86
44
|
*/
|
|
87
45
|
export const PagingSchema: GenMessage<Paging> = /*@__PURE__*/
|
|
88
|
-
messageDesc(file_fits_api_v1_common,
|
|
46
|
+
messageDesc(file_fits_api_v1_common, 0);
|
|
89
47
|
|
|
90
48
|
/**
|
|
91
49
|
* Labels define additional information to a entity
|
|
@@ -106,7 +64,7 @@ export type Labels = Message<"fits.api.v1.Labels"> & {
|
|
|
106
64
|
* Use `create(LabelsSchema)` to create a new message.
|
|
107
65
|
*/
|
|
108
66
|
export const LabelsSchema: GenMessage<Labels> = /*@__PURE__*/
|
|
109
|
-
messageDesc(file_fits_api_v1_common,
|
|
67
|
+
messageDesc(file_fits_api_v1_common, 1);
|
|
110
68
|
|
|
111
69
|
/**
|
|
112
70
|
* Meta of a message
|
|
@@ -149,7 +107,7 @@ export type Meta = Message<"fits.api.v1.Meta"> & {
|
|
|
149
107
|
* Use `create(MetaSchema)` to create a new message.
|
|
150
108
|
*/
|
|
151
109
|
export const MetaSchema: GenMessage<Meta> = /*@__PURE__*/
|
|
152
|
-
messageDesc(file_fits_api_v1_common,
|
|
110
|
+
messageDesc(file_fits_api_v1_common, 2);
|
|
153
111
|
|
|
154
112
|
/**
|
|
155
113
|
* UpdateLabels is a message to update labels
|
|
@@ -177,7 +135,7 @@ export type UpdateLabels = Message<"fits.api.v1.UpdateLabels"> & {
|
|
|
177
135
|
* Use `create(UpdateLabelsSchema)` to create a new message.
|
|
178
136
|
*/
|
|
179
137
|
export const UpdateLabelsSchema: GenMessage<UpdateLabels> = /*@__PURE__*/
|
|
180
|
-
messageDesc(file_fits_api_v1_common,
|
|
138
|
+
messageDesc(file_fits_api_v1_common, 3);
|
|
181
139
|
|
|
182
140
|
/**
|
|
183
141
|
* UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled
|
|
@@ -206,7 +164,7 @@ export type UpdateMeta = Message<"fits.api.v1.UpdateMeta"> & {
|
|
|
206
164
|
* Use `create(UpdateMetaSchema)` to create a new message.
|
|
207
165
|
*/
|
|
208
166
|
export const UpdateMetaSchema: GenMessage<UpdateMeta> = /*@__PURE__*/
|
|
209
|
-
messageDesc(file_fits_api_v1_common,
|
|
167
|
+
messageDesc(file_fits_api_v1_common, 4);
|
|
210
168
|
|
|
211
169
|
/**
|
|
212
170
|
* TenantRole specifies what role a logged in user needs to call this tenant scoped service
|
|
@@ -333,83 +291,6 @@ export enum OperatorRole {
|
|
|
333
291
|
export const OperatorRoleSchema: GenEnum<OperatorRole> = /*@__PURE__*/
|
|
334
292
|
enumDesc(file_fits_api_v1_common, 2);
|
|
335
293
|
|
|
336
|
-
/**
|
|
337
|
-
* Product identifies the resource type a product scoped method acts on.
|
|
338
|
-
* The product instance id is carried by the request as `uuid`, or `id` when it is not a uuid.
|
|
339
|
-
*
|
|
340
|
-
* @generated from enum fits.api.v1.Product
|
|
341
|
-
*/
|
|
342
|
-
export enum Product {
|
|
343
|
-
/**
|
|
344
|
-
* PRODUCT_UNSPECIFIED is not specified
|
|
345
|
-
*
|
|
346
|
-
* @generated from enum value: PRODUCT_UNSPECIFIED = 0;
|
|
347
|
-
*/
|
|
348
|
-
UNSPECIFIED = 0,
|
|
349
|
-
|
|
350
|
-
/**
|
|
351
|
-
* PRODUCT_MANAGED_VM identifies a ManagedVM (fits.api.mvm.v1.ManagedVM)
|
|
352
|
-
*
|
|
353
|
-
* @generated from enum value: PRODUCT_MANAGED_VM = 1;
|
|
354
|
-
*/
|
|
355
|
-
MANAGED_VM = 1,
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* PRODUCT_PUBLIC_CLOUD_VM identifies a VM (fits.api.pcvm.v1.PublicCloudVM)
|
|
359
|
-
*
|
|
360
|
-
* @generated from enum value: PRODUCT_PUBLIC_CLOUD_VM = 2;
|
|
361
|
-
*/
|
|
362
|
-
PUBLIC_CLOUD_VM = 2,
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
* Describes the enum fits.api.v1.Product.
|
|
367
|
-
*/
|
|
368
|
-
export const ProductSchema: GenEnum<Product> = /*@__PURE__*/
|
|
369
|
-
enumDesc(file_fits_api_v1_common, 3);
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* ProductRole specifies what role a logged in user needs to call this product scoped service.
|
|
373
|
-
* Product roles are independent of project roles.
|
|
374
|
-
*
|
|
375
|
-
* @generated from enum fits.api.v1.ProductRole
|
|
376
|
-
*/
|
|
377
|
-
export enum ProductRole {
|
|
378
|
-
/**
|
|
379
|
-
* PRODUCT_ROLE_UNSPECIFIED is not specified
|
|
380
|
-
*
|
|
381
|
-
* @generated from enum value: PRODUCT_ROLE_UNSPECIFIED = 0;
|
|
382
|
-
*/
|
|
383
|
-
UNSPECIFIED = 0,
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* PRODUCT_ROLE_ADMIN the logged in user needs at least admin role to call this method
|
|
387
|
-
*
|
|
388
|
-
* @generated from enum value: PRODUCT_ROLE_ADMIN = 1;
|
|
389
|
-
*/
|
|
390
|
-
ADMIN = 1,
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* PRODUCT_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
394
|
-
*
|
|
395
|
-
* @generated from enum value: PRODUCT_ROLE_EDITOR = 2;
|
|
396
|
-
*/
|
|
397
|
-
EDITOR = 2,
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* PRODUCT_ROLE_VIEWER the logged in user needs at least viewer role to call this method
|
|
401
|
-
*
|
|
402
|
-
* @generated from enum value: PRODUCT_ROLE_VIEWER = 3;
|
|
403
|
-
*/
|
|
404
|
-
VIEWER = 3,
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
/**
|
|
408
|
-
* Describes the enum fits.api.v1.ProductRole.
|
|
409
|
-
*/
|
|
410
|
-
export const ProductRoleSchema: GenEnum<ProductRole> = /*@__PURE__*/
|
|
411
|
-
enumDesc(file_fits_api_v1_common, 4);
|
|
412
|
-
|
|
413
294
|
/**
|
|
414
295
|
* Visibility of a method
|
|
415
296
|
*
|
|
@@ -442,7 +323,7 @@ export enum Visibility {
|
|
|
442
323
|
* Describes the enum fits.api.v1.Visibility.
|
|
443
324
|
*/
|
|
444
325
|
export const VisibilitySchema: GenEnum<Visibility> = /*@__PURE__*/
|
|
445
|
-
enumDesc(file_fits_api_v1_common,
|
|
326
|
+
enumDesc(file_fits_api_v1_common, 3);
|
|
446
327
|
|
|
447
328
|
/**
|
|
448
329
|
* Auditing option specified per service method
|
|
@@ -478,7 +359,7 @@ export enum Auditing {
|
|
|
478
359
|
* Describes the enum fits.api.v1.Auditing.
|
|
479
360
|
*/
|
|
480
361
|
export const AuditingSchema: GenEnum<Auditing> = /*@__PURE__*/
|
|
481
|
-
enumDesc(file_fits_api_v1_common,
|
|
362
|
+
enumDesc(file_fits_api_v1_common, 4);
|
|
482
363
|
|
|
483
364
|
/**
|
|
484
365
|
* OptimisticLockingStrategy defines how optimistic locking should be handled.
|
|
@@ -514,7 +395,7 @@ export enum OptimisticLockingStrategy {
|
|
|
514
395
|
* Describes the enum fits.api.v1.OptimisticLockingStrategy.
|
|
515
396
|
*/
|
|
516
397
|
export const OptimisticLockingStrategySchema: GenEnum<OptimisticLockingStrategy> = /*@__PURE__*/
|
|
517
|
-
enumDesc(file_fits_api_v1_common,
|
|
398
|
+
enumDesc(file_fits_api_v1_common, 5);
|
|
518
399
|
|
|
519
400
|
/**
|
|
520
401
|
* TenantRoles are used to define which tenant role a logged in user must provide to call this method
|
|
@@ -556,27 +437,11 @@ export const visibility: GenExtension<MethodOptions, Visibility> = /*@__PURE__*/
|
|
|
556
437
|
export const auditing: GenExtension<MethodOptions, Auditing> = /*@__PURE__*/
|
|
557
438
|
extDesc(file_fits_api_v1_common, 4);
|
|
558
439
|
|
|
559
|
-
/**
|
|
560
|
-
* ProductRoles are used to define which product role a logged in user must provide to call this method
|
|
561
|
-
*
|
|
562
|
-
* @generated from extension: repeated fits.api.v1.ProductRole product_roles = 51005;
|
|
563
|
-
*/
|
|
564
|
-
export const product_roles: GenExtension<MethodOptions, ProductRole[]> = /*@__PURE__*/
|
|
565
|
-
extDesc(file_fits_api_v1_common, 5);
|
|
566
|
-
|
|
567
|
-
/**
|
|
568
|
-
* Product defines the product a product scoped method acts on. Required whenever product_roles is set.
|
|
569
|
-
*
|
|
570
|
-
* @generated from extension: fits.api.v1.Product product = 51006;
|
|
571
|
-
*/
|
|
572
|
-
export const product: GenExtension<MethodOptions, Product> = /*@__PURE__*/
|
|
573
|
-
extDesc(file_fits_api_v1_common, 6);
|
|
574
|
-
|
|
575
440
|
/**
|
|
576
441
|
* StringValue which can be set to a enum
|
|
577
442
|
*
|
|
578
443
|
* @generated from extension: string enum_string_value = 52000;
|
|
579
444
|
*/
|
|
580
445
|
export const enum_string_value: GenExtension<EnumValueOptions, string> = /*@__PURE__*/
|
|
581
|
-
extDesc(file_fits_api_v1_common,
|
|
446
|
+
extDesc(file_fits_api_v1_common, 5);
|
|
582
447
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type { OperatorRole,
|
|
2
|
+
import type { OperatorRole, ProjectRole, TenantRole } from "./common_pb.js";
|
|
3
3
|
import type { MethodPermission } from "./token_pb.js";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
5
|
/**
|
|
@@ -80,12 +80,6 @@ export type MethodServiceTokenScopedListResponse = Message<"fits.api.v1.MethodSe
|
|
|
80
80
|
* @generated from field: optional fits.api.v1.OperatorRole operator_role = 4;
|
|
81
81
|
*/
|
|
82
82
|
operatorRole?: OperatorRole | undefined;
|
|
83
|
-
/**
|
|
84
|
-
* ProductRoles lists the product roles of the token owner
|
|
85
|
-
*
|
|
86
|
-
* @generated from field: repeated fits.api.v1.ProductRoleAssignment product_roles = 5;
|
|
87
|
-
*/
|
|
88
|
-
productRoles: ProductRoleAssignment[];
|
|
89
83
|
};
|
|
90
84
|
/**
|
|
91
85
|
* Describes the message fits.api.v1.MethodServiceTokenScopedListResponse.
|
package/fits/api/v1/method_pb.js
CHANGED
|
@@ -8,7 +8,7 @@ import { file_fits_api_v1_token } from "./token_pb.js";
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file fits/api/v1/method.proto.
|
|
10
10
|
*/
|
|
11
|
-
export const file_fits_api_v1_method = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_fits_api_v1_method = /*@__PURE__*/ fileDesc("ChhmaXRzL2FwaS92MS9tZXRob2QucHJvdG8SC2ZpdHMuYXBpLnYxIhoKGE1ldGhvZFNlcnZpY2VMaXN0UmVxdWVzdCIsChlNZXRob2RTZXJ2aWNlTGlzdFJlc3BvbnNlEg8KB21ldGhvZHMYASADKAkiJQojTWV0aG9kU2VydmljZVRva2VuU2NvcGVkTGlzdFJlcXVlc3Qi/wMKJE1ldGhvZFNlcnZpY2VUb2tlblNjb3BlZExpc3RSZXNwb25zZRIyCgtwZXJtaXNzaW9ucxgBIAMoCzIdLmZpdHMuYXBpLnYxLk1ldGhvZFBlcm1pc3Npb24SWgoNcHJvamVjdF9yb2xlcxgCIAMoCzJDLmZpdHMuYXBpLnYxLk1ldGhvZFNlcnZpY2VUb2tlblNjb3BlZExpc3RSZXNwb25zZS5Qcm9qZWN0Um9sZXNFbnRyeRJYCgx0ZW5hbnRfcm9sZXMYAyADKAsyQi5maXRzLmFwaS52MS5NZXRob2RTZXJ2aWNlVG9rZW5TY29wZWRMaXN0UmVzcG9uc2UuVGVuYW50Um9sZXNFbnRyeRI/Cg1vcGVyYXRvcl9yb2xlGAQgASgOMhkuZml0cy5hcGkudjEuT3BlcmF0b3JSb2xlQgi6SAWCAQIQAUgAiAEBGk0KEVByb2plY3RSb2xlc0VudHJ5EgsKA2tleRgBIAEoCRInCgV2YWx1ZRgCIAEoDjIYLmZpdHMuYXBpLnYxLlByb2plY3RSb2xlOgI4ARpLChBUZW5hbnRSb2xlc0VudHJ5EgsKA2tleRgBIAEoCRImCgV2YWx1ZRgCIAEoDjIXLmZpdHMuYXBpLnYxLlRlbmFudFJvbGU6AjgBQhAKDl9vcGVyYXRvcl9yb2xlMvMBCg1NZXRob2RTZXJ2aWNlEl8KBExpc3QSJS5maXRzLmFwaS52MS5NZXRob2RTZXJ2aWNlTGlzdFJlcXVlc3QaJi5maXRzLmFwaS52MS5NZXRob2RTZXJ2aWNlTGlzdFJlc3BvbnNlIgjY8xgB4PMYAhKAAQoPVG9rZW5TY29wZWRMaXN0EjAuZml0cy5hcGkudjEuTWV0aG9kU2VydmljZVRva2VuU2NvcGVkTGlzdFJlcXVlc3QaMS5maXRzLmFwaS52MS5NZXRob2RTZXJ2aWNlVG9rZW5TY29wZWRMaXN0UmVzcG9uc2UiCNjzGALg8xgCQpcBCg9jb20uZml0cy5hcGkudjFCC01ldGhvZFByb3RvUAFaKWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL3YxO2FwaXYxogIDRkFYqgILRml0cy5BcGkuVjHKAgtGaXRzXEFwaVxWMeICF0ZpdHNcQXBpXFYxXEdQQk1ldGFkYXRh6gINRml0czo6QXBpOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_token]);
|
|
12
12
|
/**
|
|
13
13
|
* Describes the message fits.api.v1.MethodServiceListRequest.
|
|
14
14
|
* Use `create(MethodServiceListRequestSchema)` to create a new message.
|
package/fits/api/v1/method_pb.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
7
|
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
8
|
-
import type { OperatorRole,
|
|
8
|
+
import type { OperatorRole, ProjectRole, TenantRole } from "./common_pb.js";
|
|
9
9
|
import { file_fits_api_v1_common } from "./common_pb.js";
|
|
10
10
|
import type { MethodPermission } from "./token_pb.js";
|
|
11
11
|
import { file_fits_api_v1_token } from "./token_pb.js";
|
|
@@ -15,7 +15,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
15
15
|
* Describes the file fits/api/v1/method.proto.
|
|
16
16
|
*/
|
|
17
17
|
export const file_fits_api_v1_method: GenFile = /*@__PURE__*/
|
|
18
|
-
fileDesc("
|
|
18
|
+
fileDesc("ChhmaXRzL2FwaS92MS9tZXRob2QucHJvdG8SC2ZpdHMuYXBpLnYxIhoKGE1ldGhvZFNlcnZpY2VMaXN0UmVxdWVzdCIsChlNZXRob2RTZXJ2aWNlTGlzdFJlc3BvbnNlEg8KB21ldGhvZHMYASADKAkiJQojTWV0aG9kU2VydmljZVRva2VuU2NvcGVkTGlzdFJlcXVlc3Qi/wMKJE1ldGhvZFNlcnZpY2VUb2tlblNjb3BlZExpc3RSZXNwb25zZRIyCgtwZXJtaXNzaW9ucxgBIAMoCzIdLmZpdHMuYXBpLnYxLk1ldGhvZFBlcm1pc3Npb24SWgoNcHJvamVjdF9yb2xlcxgCIAMoCzJDLmZpdHMuYXBpLnYxLk1ldGhvZFNlcnZpY2VUb2tlblNjb3BlZExpc3RSZXNwb25zZS5Qcm9qZWN0Um9sZXNFbnRyeRJYCgx0ZW5hbnRfcm9sZXMYAyADKAsyQi5maXRzLmFwaS52MS5NZXRob2RTZXJ2aWNlVG9rZW5TY29wZWRMaXN0UmVzcG9uc2UuVGVuYW50Um9sZXNFbnRyeRI/Cg1vcGVyYXRvcl9yb2xlGAQgASgOMhkuZml0cy5hcGkudjEuT3BlcmF0b3JSb2xlQgi6SAWCAQIQAUgAiAEBGk0KEVByb2plY3RSb2xlc0VudHJ5EgsKA2tleRgBIAEoCRInCgV2YWx1ZRgCIAEoDjIYLmZpdHMuYXBpLnYxLlByb2plY3RSb2xlOgI4ARpLChBUZW5hbnRSb2xlc0VudHJ5EgsKA2tleRgBIAEoCRImCgV2YWx1ZRgCIAEoDjIXLmZpdHMuYXBpLnYxLlRlbmFudFJvbGU6AjgBQhAKDl9vcGVyYXRvcl9yb2xlMvMBCg1NZXRob2RTZXJ2aWNlEl8KBExpc3QSJS5maXRzLmFwaS52MS5NZXRob2RTZXJ2aWNlTGlzdFJlcXVlc3QaJi5maXRzLmFwaS52MS5NZXRob2RTZXJ2aWNlTGlzdFJlc3BvbnNlIgjY8xgB4PMYAhKAAQoPVG9rZW5TY29wZWRMaXN0EjAuZml0cy5hcGkudjEuTWV0aG9kU2VydmljZVRva2VuU2NvcGVkTGlzdFJlcXVlc3QaMS5maXRzLmFwaS52MS5NZXRob2RTZXJ2aWNlVG9rZW5TY29wZWRMaXN0UmVzcG9uc2UiCNjzGALg8xgCQpcBCg9jb20uZml0cy5hcGkudjFCC01ldGhvZFByb3RvUAFaKWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL3YxO2FwaXYxogIDRkFYqgILRml0cy5BcGkuVjHKAgtGaXRzXEFwaVxWMeICF0ZpdHNcQXBpXFYxXEdQQk1ldGFkYXRh6gINRml0czo6QXBpOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_token]);
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* MethodServiceListRequest is the request payload for listing all public methods.
|
|
@@ -101,13 +101,6 @@ export type MethodServiceTokenScopedListResponse = Message<"fits.api.v1.MethodSe
|
|
|
101
101
|
* @generated from field: optional fits.api.v1.OperatorRole operator_role = 4;
|
|
102
102
|
*/
|
|
103
103
|
operatorRole?: OperatorRole | undefined;
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* ProductRoles lists the product roles of the token owner
|
|
107
|
-
*
|
|
108
|
-
* @generated from field: repeated fits.api.v1.ProductRoleAssignment product_roles = 5;
|
|
109
|
-
*/
|
|
110
|
-
productRoles: ProductRoleAssignment[];
|
|
111
104
|
};
|
|
112
105
|
|
|
113
106
|
/**
|
|
@@ -52,12 +52,6 @@ export declare const is_ip_or_hostname: GenExtension<StringRules, boolean>;
|
|
|
52
52
|
* @generated from extension: optional bool trimmed = 80048958;
|
|
53
53
|
*/
|
|
54
54
|
export declare const trimmed: GenExtension<StringRules, boolean>;
|
|
55
|
-
/**
|
|
56
|
-
* IsProjectSlug enforces the string to be usable as a project slug.
|
|
57
|
-
*
|
|
58
|
-
* @generated from extension: optional bool is_project_slug = 80048959;
|
|
59
|
-
*/
|
|
60
|
-
export declare const is_project_slug: GenExtension<StringRules, boolean>;
|
|
61
55
|
/**
|
|
62
56
|
* IsIpv4Cidr validates if the given string is a valid IPv4 CIDR, e.g. 10.0.0.0/24
|
|
63
57
|
*
|