@fi-ts/api 0.0.0-pr.30.1af00172 → 0.0.0-pr.30.5473bd33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fits/api/mvm/v1/domain_pb.d.ts +7 -1
- package/fits/api/mvm/v1/domain_pb.js +1 -1
- package/fits/api/mvm/v1/domain_pb.ts +9 -2
- package/fits/api/mvm/v1/mvm_pb.d.ts +1 -8
- package/fits/api/mvm/v1/mvm_pb.ts +1 -8
- package/fits/api/mvm/v1/vlan_pb.d.ts +2 -2
- package/fits/api/mvm/v1/vlan_pb.ts +2 -2
- package/fits/api/v1/common_pb.d.ts +20 -20
- package/fits/api/v1/common_pb.js +26 -26
- package/fits/api/v1/common_pb.ts +21 -21
- package/fits/api/v1/method_pb.d.ts +4 -4
- package/fits/api/v1/method_pb.js +1 -1
- package/fits/api/v1/method_pb.ts +5 -5
- package/fits/api/v1/token_pb.d.ts +14 -14
- package/fits/api/v1/token_pb.js +4 -4
- package/fits/api/v1/token_pb.ts +15 -15
- package/package.json +1 -1
|
@@ -46,6 +46,12 @@ export type DomainServiceListRequest = Message<"fits.api.mvm.v1.DomainServiceLis
|
|
|
46
46
|
* @generated from field: string tenant = 1;
|
|
47
47
|
*/
|
|
48
48
|
tenant: string;
|
|
49
|
+
/**
|
|
50
|
+
* Filter the listed domains by location. A domain is only available in some datacenters.
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: string location_uuid = 2;
|
|
53
|
+
*/
|
|
54
|
+
locationUuid: string;
|
|
49
55
|
};
|
|
50
56
|
/**
|
|
51
57
|
* Describes the message fits.api.mvm.v1.DomainServiceListRequest.
|
|
@@ -77,7 +83,7 @@ export declare const DomainServiceListResponseSchema: GenMessage<DomainServiceLi
|
|
|
77
83
|
*/
|
|
78
84
|
export declare const DomainService: GenService<{
|
|
79
85
|
/**
|
|
80
|
-
* Returns a list of all Windows domains available for a tenant.
|
|
86
|
+
* Returns a list of all Windows domains available for a tenant in a location.
|
|
81
87
|
*
|
|
82
88
|
* @generated from rpc fits.api.mvm.v1.DomainService.List
|
|
83
89
|
*/
|
|
@@ -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/domain.proto.
|
|
10
10
|
*/
|
|
11
|
-
export const file_fits_api_mvm_v1_domain = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_fits_api_mvm_v1_domain = /*@__PURE__*/ fileDesc("ChxmaXRzL2FwaS9tdm0vdjEvZG9tYWluLnByb3RvEg9maXRzLmFwaS5tdm0udjEiWAoGRG9tYWluEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhkKBGZxZG4YAiABKAlCC7pICHIGwLOusQIBEhsKBnRlbmFudBgDIAEoCUILukgIcgbAs66xAgEiWAoYRG9tYWluU2VydmljZUxpc3RSZXF1ZXN0EhsKBnRlbmFudBgBIAEoCUILukgIcgbAs66xAgESHwoNbG9jYXRpb25fdXVpZBgCIAEoCUIIukgFcgOwAQEiRQoZRG9tYWluU2VydmljZUxpc3RSZXNwb25zZRIoCgdkb21haW5zGAEgAygLMhcuZml0cy5hcGkubXZtLnYxLkRvbWFpbjJ7Cg1Eb21haW5TZXJ2aWNlEmoKBExpc3QSKS5maXRzLmFwaS5tdm0udjEuRG9tYWluU2VydmljZUxpc3RSZXF1ZXN0GiouZml0cy5hcGkubXZtLnYxLkRvbWFpblNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQrABChNjb20uZml0cy5hcGkubXZtLnYxQgtEb21haW5Qcm90b1ABWi1naXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS9tdm0vdjE7bXZtdjGiAgNGQU2qAg9GaXRzLkFwaS5Ndm0uVjHKAg9GaXRzXEFwaVxNdm1cVjHiAhtGaXRzXEFwaVxNdm1cVjFcR1BCTWV0YWRhdGHqAhJGaXRzOjpBcGk6Ok12bTo6VjFiBnByb3RvMw", [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.Domain.
|
|
14
14
|
* Use `create(DomainSchema)` to create a new message.
|
|
@@ -13,7 +13,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
13
13
|
* Describes the file fits/api/mvm/v1/domain.proto.
|
|
14
14
|
*/
|
|
15
15
|
export const file_fits_api_mvm_v1_domain: GenFile = /*@__PURE__*/
|
|
16
|
-
fileDesc("
|
|
16
|
+
fileDesc("ChxmaXRzL2FwaS9tdm0vdjEvZG9tYWluLnByb3RvEg9maXRzLmFwaS5tdm0udjEiWAoGRG9tYWluEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhkKBGZxZG4YAiABKAlCC7pICHIGwLOusQIBEhsKBnRlbmFudBgDIAEoCUILukgIcgbAs66xAgEiWAoYRG9tYWluU2VydmljZUxpc3RSZXF1ZXN0EhsKBnRlbmFudBgBIAEoCUILukgIcgbAs66xAgESHwoNbG9jYXRpb25fdXVpZBgCIAEoCUIIukgFcgOwAQEiRQoZRG9tYWluU2VydmljZUxpc3RSZXNwb25zZRIoCgdkb21haW5zGAEgAygLMhcuZml0cy5hcGkubXZtLnYxLkRvbWFpbjJ7Cg1Eb21haW5TZXJ2aWNlEmoKBExpc3QSKS5maXRzLmFwaS5tdm0udjEuRG9tYWluU2VydmljZUxpc3RSZXF1ZXN0GiouZml0cy5hcGkubXZtLnYxLkRvbWFpblNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQrABChNjb20uZml0cy5hcGkubXZtLnYxQgtEb21haW5Qcm90b1ABWi1naXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS9tdm0vdjE7bXZtdjGiAgNGQU2qAg9GaXRzLkFwaS5Ndm0uVjHKAg9GaXRzXEFwaVxNdm1cVjHiAhtGaXRzXEFwaVxNdm1cVjFcR1BCTWV0YWRhdGHqAhJGaXRzOjpBcGk6Ok12bTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Domain is a Windows domain a Windows MVM can join.
|
|
@@ -62,6 +62,13 @@ export type DomainServiceListRequest = Message<"fits.api.mvm.v1.DomainServiceLis
|
|
|
62
62
|
* @generated from field: string tenant = 1;
|
|
63
63
|
*/
|
|
64
64
|
tenant: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Filter the listed domains by location. A domain is only available in some datacenters.
|
|
68
|
+
*
|
|
69
|
+
* @generated from field: string location_uuid = 2;
|
|
70
|
+
*/
|
|
71
|
+
locationUuid: string;
|
|
65
72
|
};
|
|
66
73
|
|
|
67
74
|
/**
|
|
@@ -99,7 +106,7 @@ export const DomainServiceListResponseSchema: GenMessage<DomainServiceListRespon
|
|
|
99
106
|
*/
|
|
100
107
|
export const DomainService: GenService<{
|
|
101
108
|
/**
|
|
102
|
-
* Returns a list of all Windows domains available for a tenant.
|
|
109
|
+
* Returns a list of all Windows domains available for a tenant in a location.
|
|
103
110
|
*
|
|
104
111
|
* @generated from rpc fits.api.mvm.v1.DomainService.List
|
|
105
112
|
*/
|
|
@@ -174,8 +174,6 @@ export type ManagedVM = Message<"fits.api.mvm.v1.ManagedVM"> & {
|
|
|
174
174
|
locationUuid: string;
|
|
175
175
|
/**
|
|
176
176
|
* UUID of the contact person responsible for this MVM.
|
|
177
|
-
* TODO: open discussion with FCN (#23) on whether this becomes a dedicated
|
|
178
|
-
* /contact endpoint.
|
|
179
177
|
*
|
|
180
178
|
* @generated from field: string contact_uuid = 8;
|
|
181
179
|
*/
|
|
@@ -394,7 +392,7 @@ export type MVMServiceCreateRequest = Message<"fits.api.mvm.v1.MVMServiceCreateR
|
|
|
394
392
|
*/
|
|
395
393
|
locationUuid: string;
|
|
396
394
|
/**
|
|
397
|
-
*
|
|
395
|
+
* UUID of the contact person responsible for this MVM.
|
|
398
396
|
*
|
|
399
397
|
* @generated from field: string contact_uuid = 5;
|
|
400
398
|
*/
|
|
@@ -527,8 +525,6 @@ export type LinuxDisk = Message<"fits.api.mvm.v1.LinuxDisk"> & {
|
|
|
527
525
|
* Kind of the disk; determines which operations are allowed on it.
|
|
528
526
|
* Provided by the client in create/add requests and populated by the
|
|
529
527
|
* API in responses.
|
|
530
|
-
* TODO: talk to FCE that we will provide the disk type in create/add
|
|
531
|
-
* requests.
|
|
532
528
|
*
|
|
533
529
|
* @generated from field: optional fits.api.mvm.v1.DiskType disk_type = 6;
|
|
534
530
|
*/
|
|
@@ -581,8 +577,6 @@ export type WindowsDisk = Message<"fits.api.mvm.v1.WindowsDisk"> & {
|
|
|
581
577
|
* Kind of the disk; determines which operations are allowed on it.
|
|
582
578
|
* Provided by the client in create/add requests and populated by the
|
|
583
579
|
* API in responses.
|
|
584
|
-
* TODO: talk to FCE that we will provide the disk type in create/add
|
|
585
|
-
* requests.
|
|
586
580
|
*
|
|
587
581
|
* @generated from field: optional fits.api.mvm.v1.DiskType disk_type = 6;
|
|
588
582
|
*/
|
|
@@ -1075,7 +1069,6 @@ export type MVMServiceDeleteNetworkInterfaceRequest = Message<"fits.api.mvm.v1.M
|
|
|
1075
1069
|
projectUuid: string;
|
|
1076
1070
|
/**
|
|
1077
1071
|
* Order reference for this operation.
|
|
1078
|
-
* TODO: can this be optional?
|
|
1079
1072
|
*
|
|
1080
1073
|
* @generated from field: string order_number = 4;
|
|
1081
1074
|
*/
|
|
@@ -211,8 +211,6 @@ export type ManagedVM = Message<"fits.api.mvm.v1.ManagedVM"> & {
|
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
213
|
* UUID of the contact person responsible for this MVM.
|
|
214
|
-
* TODO: open discussion with FCN (#23) on whether this becomes a dedicated
|
|
215
|
-
* /contact endpoint.
|
|
216
214
|
*
|
|
217
215
|
* @generated from field: string contact_uuid = 8;
|
|
218
216
|
*/
|
|
@@ -461,7 +459,7 @@ export type MVMServiceCreateRequest = Message<"fits.api.mvm.v1.MVMServiceCreateR
|
|
|
461
459
|
locationUuid: string;
|
|
462
460
|
|
|
463
461
|
/**
|
|
464
|
-
*
|
|
462
|
+
* UUID of the contact person responsible for this MVM.
|
|
465
463
|
*
|
|
466
464
|
* @generated from field: string contact_uuid = 5;
|
|
467
465
|
*/
|
|
@@ -609,8 +607,6 @@ export type LinuxDisk = Message<"fits.api.mvm.v1.LinuxDisk"> & {
|
|
|
609
607
|
* Kind of the disk; determines which operations are allowed on it.
|
|
610
608
|
* Provided by the client in create/add requests and populated by the
|
|
611
609
|
* API in responses.
|
|
612
|
-
* TODO: talk to FCE that we will provide the disk type in create/add
|
|
613
|
-
* requests.
|
|
614
610
|
*
|
|
615
611
|
* @generated from field: optional fits.api.mvm.v1.DiskType disk_type = 6;
|
|
616
612
|
*/
|
|
@@ -671,8 +667,6 @@ export type WindowsDisk = Message<"fits.api.mvm.v1.WindowsDisk"> & {
|
|
|
671
667
|
* Kind of the disk; determines which operations are allowed on it.
|
|
672
668
|
* Provided by the client in create/add requests and populated by the
|
|
673
669
|
* API in responses.
|
|
674
|
-
* TODO: talk to FCE that we will provide the disk type in create/add
|
|
675
|
-
* requests.
|
|
676
670
|
*
|
|
677
671
|
* @generated from field: optional fits.api.mvm.v1.DiskType disk_type = 6;
|
|
678
672
|
*/
|
|
@@ -1264,7 +1258,6 @@ export type MVMServiceDeleteNetworkInterfaceRequest = Message<"fits.api.mvm.v1.M
|
|
|
1264
1258
|
|
|
1265
1259
|
/**
|
|
1266
1260
|
* Order reference for this operation.
|
|
1267
|
-
* TODO: can this be optional?
|
|
1268
1261
|
*
|
|
1269
1262
|
* @generated from field: string order_number = 4;
|
|
1270
1263
|
*/
|
|
@@ -35,7 +35,7 @@ export type VLAN = Message<"fits.api.mvm.v1.VLAN"> & {
|
|
|
35
35
|
*/
|
|
36
36
|
subnetCidr: string;
|
|
37
37
|
/**
|
|
38
|
-
* UUID of the location this VLAN belongs to.
|
|
38
|
+
* UUID of the location this VLAN belongs to.
|
|
39
39
|
*
|
|
40
40
|
* @generated from field: string location_uuid = 5;
|
|
41
41
|
*/
|
|
@@ -71,7 +71,7 @@ export type VLANServiceListRequest = Message<"fits.api.mvm.v1.VLANServiceListReq
|
|
|
71
71
|
*/
|
|
72
72
|
tenant: string;
|
|
73
73
|
/**
|
|
74
|
-
* Filter the listed VLANs by location
|
|
74
|
+
* Filter the listed VLANs by location.
|
|
75
75
|
*
|
|
76
76
|
* @generated from field: string location_uuid = 2;
|
|
77
77
|
*/
|
|
@@ -50,7 +50,7 @@ export type VLAN = Message<"fits.api.mvm.v1.VLAN"> & {
|
|
|
50
50
|
subnetCidr: string;
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* UUID of the location this VLAN belongs to.
|
|
53
|
+
* UUID of the location this VLAN belongs to.
|
|
54
54
|
*
|
|
55
55
|
* @generated from field: string location_uuid = 5;
|
|
56
56
|
*/
|
|
@@ -92,7 +92,7 @@ export type VLANServiceListRequest = Message<"fits.api.mvm.v1.VLANServiceListReq
|
|
|
92
92
|
tenant: string;
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
|
-
* Filter the listed VLANs by location
|
|
95
|
+
* Filter the listed VLANs by location.
|
|
96
96
|
*
|
|
97
97
|
* @generated from field: string location_uuid = 2;
|
|
98
98
|
*/
|
|
@@ -149,11 +149,11 @@ export declare enum TenantRole {
|
|
|
149
149
|
*/
|
|
150
150
|
UNSPECIFIED = 0,
|
|
151
151
|
/**
|
|
152
|
-
*
|
|
152
|
+
* TENANT_ROLE_ADMIN the logged in user needs at least admin role to call this method
|
|
153
153
|
*
|
|
154
|
-
* @generated from enum value:
|
|
154
|
+
* @generated from enum value: TENANT_ROLE_ADMIN = 1;
|
|
155
155
|
*/
|
|
156
|
-
|
|
156
|
+
ADMIN = 1,
|
|
157
157
|
/**
|
|
158
158
|
* TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
159
159
|
*
|
|
@@ -192,11 +192,11 @@ export declare enum ProjectRole {
|
|
|
192
192
|
*/
|
|
193
193
|
UNSPECIFIED = 0,
|
|
194
194
|
/**
|
|
195
|
-
*
|
|
195
|
+
* PROJECT_ROLE_ADMIN the logged in user needs at least admin role to call this method
|
|
196
196
|
*
|
|
197
|
-
* @generated from enum value:
|
|
197
|
+
* @generated from enum value: PROJECT_ROLE_ADMIN = 1;
|
|
198
198
|
*/
|
|
199
|
-
|
|
199
|
+
ADMIN = 1,
|
|
200
200
|
/**
|
|
201
201
|
* PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
202
202
|
*
|
|
@@ -215,34 +215,34 @@ export declare enum ProjectRole {
|
|
|
215
215
|
*/
|
|
216
216
|
export declare const ProjectRoleSchema: GenEnum<ProjectRole>;
|
|
217
217
|
/**
|
|
218
|
-
*
|
|
218
|
+
* OperatorRole specifies what role a logged in user needs to call this operator service
|
|
219
219
|
*
|
|
220
|
-
* @generated from enum fits.api.v1.
|
|
220
|
+
* @generated from enum fits.api.v1.OperatorRole
|
|
221
221
|
*/
|
|
222
|
-
export declare enum
|
|
222
|
+
export declare enum OperatorRole {
|
|
223
223
|
/**
|
|
224
|
-
*
|
|
224
|
+
* OPERATOR_ROLE_UNSPECIFIED is not specified
|
|
225
225
|
*
|
|
226
|
-
* @generated from enum value:
|
|
226
|
+
* @generated from enum value: OPERATOR_ROLE_UNSPECIFIED = 0;
|
|
227
227
|
*/
|
|
228
228
|
UNSPECIFIED = 0,
|
|
229
229
|
/**
|
|
230
|
-
*
|
|
230
|
+
* OPERATOR_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
231
231
|
*
|
|
232
|
-
* @generated from enum value:
|
|
232
|
+
* @generated from enum value: OPERATOR_ROLE_EDITOR = 1;
|
|
233
233
|
*/
|
|
234
234
|
EDITOR = 1,
|
|
235
235
|
/**
|
|
236
|
-
*
|
|
236
|
+
* OPERATOR_ROLE_VIEWER the logged in user needs at least viewer role to call this method
|
|
237
237
|
*
|
|
238
|
-
* @generated from enum value:
|
|
238
|
+
* @generated from enum value: OPERATOR_ROLE_VIEWER = 2;
|
|
239
239
|
*/
|
|
240
240
|
VIEWER = 2
|
|
241
241
|
}
|
|
242
242
|
/**
|
|
243
|
-
* Describes the enum fits.api.v1.
|
|
243
|
+
* Describes the enum fits.api.v1.OperatorRole.
|
|
244
244
|
*/
|
|
245
|
-
export declare const
|
|
245
|
+
export declare const OperatorRoleSchema: GenEnum<OperatorRole>;
|
|
246
246
|
/**
|
|
247
247
|
* Visibility of a method
|
|
248
248
|
*
|
|
@@ -347,11 +347,11 @@ export declare const tenant_roles: GenExtension<MethodOptions, TenantRole[]>;
|
|
|
347
347
|
*/
|
|
348
348
|
export declare const project_roles: GenExtension<MethodOptions, ProjectRole[]>;
|
|
349
349
|
/**
|
|
350
|
-
*
|
|
350
|
+
* OperatorRoles are used to define which operator role a logged in user must provide to call this method
|
|
351
351
|
*
|
|
352
|
-
* @generated from extension: repeated fits.api.v1.
|
|
352
|
+
* @generated from extension: repeated fits.api.v1.OperatorRole operator_roles = 51002;
|
|
353
353
|
*/
|
|
354
|
-
export declare const
|
|
354
|
+
export declare const operator_roles: GenExtension<MethodOptions, OperatorRole[]>;
|
|
355
355
|
/**
|
|
356
356
|
* Visibility defines the visibility of this method, this is used to have public or self visible methods
|
|
357
357
|
*
|
package/fits/api/v1/common_pb.js
CHANGED
|
@@ -8,7 +8,7 @@ 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("
|
|
11
|
+
export const file_fits_api_v1_common = /*@__PURE__*/ fileDesc("ChhmaXRzL2FwaS92MS9jb21tb24ucHJvdG8SC2ZpdHMuYXBpLnYxIkIKBlBhZ2luZxIRCgRwYWdlGAEgASgESACIAQESEgoFY291bnQYAiABKARIAYgBAUIHC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2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYvI4DIAEoDjIVLmZpdHMuYXBpLnYxLkF1ZGl0aW5nUghhdWRpdGluZzpPChFlbnVtX3N0cmluZ192YWx1ZRIhLmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVPcHRpb25zGKCWAyABKAlSD2VudW1TdHJpbmdWYWx1ZUKXAQoPY29tLmZpdHMuYXBpLnYxQgtDb21tb25Qcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_predefined_rules, file_google_protobuf_descriptor, file_google_protobuf_timestamp]);
|
|
12
12
|
/**
|
|
13
13
|
* Describes the message fits.api.v1.Paging.
|
|
14
14
|
* Use `create(PagingSchema)` to create a new message.
|
|
@@ -48,11 +48,11 @@ export var TenantRole;
|
|
|
48
48
|
*/
|
|
49
49
|
TenantRole[TenantRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* TENANT_ROLE_ADMIN the logged in user needs at least admin role to call this method
|
|
52
52
|
*
|
|
53
|
-
* @generated from enum value:
|
|
53
|
+
* @generated from enum value: TENANT_ROLE_ADMIN = 1;
|
|
54
54
|
*/
|
|
55
|
-
TenantRole[TenantRole["
|
|
55
|
+
TenantRole[TenantRole["ADMIN"] = 1] = "ADMIN";
|
|
56
56
|
/**
|
|
57
57
|
* TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
58
58
|
*
|
|
@@ -92,11 +92,11 @@ export var ProjectRole;
|
|
|
92
92
|
*/
|
|
93
93
|
ProjectRole[ProjectRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
95
|
+
* PROJECT_ROLE_ADMIN the logged in user needs at least admin role to call this method
|
|
96
96
|
*
|
|
97
|
-
* @generated from enum value:
|
|
97
|
+
* @generated from enum value: PROJECT_ROLE_ADMIN = 1;
|
|
98
98
|
*/
|
|
99
|
-
ProjectRole[ProjectRole["
|
|
99
|
+
ProjectRole[ProjectRole["ADMIN"] = 1] = "ADMIN";
|
|
100
100
|
/**
|
|
101
101
|
* PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
102
102
|
*
|
|
@@ -115,35 +115,35 @@ export var ProjectRole;
|
|
|
115
115
|
*/
|
|
116
116
|
export const ProjectRoleSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 1);
|
|
117
117
|
/**
|
|
118
|
-
*
|
|
118
|
+
* OperatorRole specifies what role a logged in user needs to call this operator service
|
|
119
119
|
*
|
|
120
|
-
* @generated from enum fits.api.v1.
|
|
120
|
+
* @generated from enum fits.api.v1.OperatorRole
|
|
121
121
|
*/
|
|
122
|
-
export var
|
|
123
|
-
(function (
|
|
122
|
+
export var OperatorRole;
|
|
123
|
+
(function (OperatorRole) {
|
|
124
124
|
/**
|
|
125
|
-
*
|
|
125
|
+
* OPERATOR_ROLE_UNSPECIFIED is not specified
|
|
126
126
|
*
|
|
127
|
-
* @generated from enum value:
|
|
127
|
+
* @generated from enum value: OPERATOR_ROLE_UNSPECIFIED = 0;
|
|
128
128
|
*/
|
|
129
|
-
|
|
129
|
+
OperatorRole[OperatorRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
130
130
|
/**
|
|
131
|
-
*
|
|
131
|
+
* OPERATOR_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
132
132
|
*
|
|
133
|
-
* @generated from enum value:
|
|
133
|
+
* @generated from enum value: OPERATOR_ROLE_EDITOR = 1;
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
OperatorRole[OperatorRole["EDITOR"] = 1] = "EDITOR";
|
|
136
136
|
/**
|
|
137
|
-
*
|
|
137
|
+
* OPERATOR_ROLE_VIEWER the logged in user needs at least viewer role to call this method
|
|
138
138
|
*
|
|
139
|
-
* @generated from enum value:
|
|
139
|
+
* @generated from enum value: OPERATOR_ROLE_VIEWER = 2;
|
|
140
140
|
*/
|
|
141
|
-
|
|
142
|
-
})(
|
|
141
|
+
OperatorRole[OperatorRole["VIEWER"] = 2] = "VIEWER";
|
|
142
|
+
})(OperatorRole || (OperatorRole = {}));
|
|
143
143
|
/**
|
|
144
|
-
* Describes the enum fits.api.v1.
|
|
144
|
+
* Describes the enum fits.api.v1.OperatorRole.
|
|
145
145
|
*/
|
|
146
|
-
export const
|
|
146
|
+
export const OperatorRoleSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 2);
|
|
147
147
|
/**
|
|
148
148
|
* Visibility of a method
|
|
149
149
|
*
|
|
@@ -251,11 +251,11 @@ export const tenant_roles = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 0);
|
|
|
251
251
|
*/
|
|
252
252
|
export const project_roles = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 1);
|
|
253
253
|
/**
|
|
254
|
-
*
|
|
254
|
+
* OperatorRoles are used to define which operator role a logged in user must provide to call this method
|
|
255
255
|
*
|
|
256
|
-
* @generated from extension: repeated fits.api.v1.
|
|
256
|
+
* @generated from extension: repeated fits.api.v1.OperatorRole operator_roles = 51002;
|
|
257
257
|
*/
|
|
258
|
-
export const
|
|
258
|
+
export const operator_roles = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 2);
|
|
259
259
|
/**
|
|
260
260
|
* Visibility defines the visibility of this method, this is used to have public or self visible methods
|
|
261
261
|
*
|
package/fits/api/v1/common_pb.ts
CHANGED
|
@@ -14,7 +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("
|
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IeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGLuOAyABKA4yFy5maXRzLmFwaS52MS5WaXNpYmlsaXR5Ugp2aXNpYmlsaXR5OlMKCGF1ZGl0aW5nEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYvI4DIAEoDjIVLmZpdHMuYXBpLnYxLkF1ZGl0aW5nUghhdWRpdGluZzpPChFlbnVtX3N0cmluZ192YWx1ZRIhLmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVPcHRpb25zGKCWAyABKAlSD2VudW1TdHJpbmdWYWx1ZUKXAQoPY29tLmZpdHMuYXBpLnYxQgtDb21tb25Qcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_predefined_rules, file_google_protobuf_descriptor, file_google_protobuf_timestamp]);
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Paging defines paging for methods with a lot of results
|
|
@@ -180,11 +180,11 @@ export enum TenantRole {
|
|
|
180
180
|
UNSPECIFIED = 0,
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
|
-
*
|
|
183
|
+
* TENANT_ROLE_ADMIN the logged in user needs at least admin role to call this method
|
|
184
184
|
*
|
|
185
|
-
* @generated from enum value:
|
|
185
|
+
* @generated from enum value: TENANT_ROLE_ADMIN = 1;
|
|
186
186
|
*/
|
|
187
|
-
|
|
187
|
+
ADMIN = 1,
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
190
|
* TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
@@ -230,11 +230,11 @@ export enum ProjectRole {
|
|
|
230
230
|
UNSPECIFIED = 0,
|
|
231
231
|
|
|
232
232
|
/**
|
|
233
|
-
*
|
|
233
|
+
* PROJECT_ROLE_ADMIN the logged in user needs at least admin role to call this method
|
|
234
234
|
*
|
|
235
|
-
* @generated from enum value:
|
|
235
|
+
* @generated from enum value: PROJECT_ROLE_ADMIN = 1;
|
|
236
236
|
*/
|
|
237
|
-
|
|
237
|
+
ADMIN = 1,
|
|
238
238
|
|
|
239
239
|
/**
|
|
240
240
|
* PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
@@ -258,37 +258,37 @@ export const ProjectRoleSchema: GenEnum<ProjectRole> = /*@__PURE__*/
|
|
|
258
258
|
enumDesc(file_fits_api_v1_common, 1);
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
|
-
*
|
|
261
|
+
* OperatorRole specifies what role a logged in user needs to call this operator service
|
|
262
262
|
*
|
|
263
|
-
* @generated from enum fits.api.v1.
|
|
263
|
+
* @generated from enum fits.api.v1.OperatorRole
|
|
264
264
|
*/
|
|
265
|
-
export enum
|
|
265
|
+
export enum OperatorRole {
|
|
266
266
|
/**
|
|
267
|
-
*
|
|
267
|
+
* OPERATOR_ROLE_UNSPECIFIED is not specified
|
|
268
268
|
*
|
|
269
|
-
* @generated from enum value:
|
|
269
|
+
* @generated from enum value: OPERATOR_ROLE_UNSPECIFIED = 0;
|
|
270
270
|
*/
|
|
271
271
|
UNSPECIFIED = 0,
|
|
272
272
|
|
|
273
273
|
/**
|
|
274
|
-
*
|
|
274
|
+
* OPERATOR_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
275
275
|
*
|
|
276
|
-
* @generated from enum value:
|
|
276
|
+
* @generated from enum value: OPERATOR_ROLE_EDITOR = 1;
|
|
277
277
|
*/
|
|
278
278
|
EDITOR = 1,
|
|
279
279
|
|
|
280
280
|
/**
|
|
281
|
-
*
|
|
281
|
+
* OPERATOR_ROLE_VIEWER the logged in user needs at least viewer role to call this method
|
|
282
282
|
*
|
|
283
|
-
* @generated from enum value:
|
|
283
|
+
* @generated from enum value: OPERATOR_ROLE_VIEWER = 2;
|
|
284
284
|
*/
|
|
285
285
|
VIEWER = 2,
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
/**
|
|
289
|
-
* Describes the enum fits.api.v1.
|
|
289
|
+
* Describes the enum fits.api.v1.OperatorRole.
|
|
290
290
|
*/
|
|
291
|
-
export const
|
|
291
|
+
export const OperatorRoleSchema: GenEnum<OperatorRole> = /*@__PURE__*/
|
|
292
292
|
enumDesc(file_fits_api_v1_common, 2);
|
|
293
293
|
|
|
294
294
|
/**
|
|
@@ -414,11 +414,11 @@ export const project_roles: GenExtension<MethodOptions, ProjectRole[]> = /*@__PU
|
|
|
414
414
|
extDesc(file_fits_api_v1_common, 1);
|
|
415
415
|
|
|
416
416
|
/**
|
|
417
|
-
*
|
|
417
|
+
* OperatorRoles are used to define which operator role a logged in user must provide to call this method
|
|
418
418
|
*
|
|
419
|
-
* @generated from extension: repeated fits.api.v1.
|
|
419
|
+
* @generated from extension: repeated fits.api.v1.OperatorRole operator_roles = 51002;
|
|
420
420
|
*/
|
|
421
|
-
export const
|
|
421
|
+
export const operator_roles: GenExtension<MethodOptions, OperatorRole[]> = /*@__PURE__*/
|
|
422
422
|
extDesc(file_fits_api_v1_common, 2);
|
|
423
423
|
|
|
424
424
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type {
|
|
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
|
/**
|
|
@@ -75,11 +75,11 @@ export type MethodServiceTokenScopedListResponse = Message<"fits.api.v1.MethodSe
|
|
|
75
75
|
[key: string]: TenantRole;
|
|
76
76
|
};
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* OperatorRole defines the operator role of the token owner
|
|
79
79
|
*
|
|
80
|
-
* @generated from field: optional fits.api.v1.
|
|
80
|
+
* @generated from field: optional fits.api.v1.OperatorRole operator_role = 4;
|
|
81
81
|
*/
|
|
82
|
-
|
|
82
|
+
operatorRole?: OperatorRole | undefined;
|
|
83
83
|
};
|
|
84
84
|
/**
|
|
85
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 {
|
|
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.
|
|
@@ -96,11 +96,11 @@ export type MethodServiceTokenScopedListResponse = Message<"fits.api.v1.MethodSe
|
|
|
96
96
|
tenantRoles: { [key: string]: TenantRole };
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* OperatorRole defines the operator role of the token owner
|
|
100
100
|
*
|
|
101
|
-
* @generated from field: optional fits.api.v1.
|
|
101
|
+
* @generated from field: optional fits.api.v1.OperatorRole operator_role = 4;
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
operatorRole?: OperatorRole | undefined;
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type {
|
|
2
|
+
import type { Meta, OperatorRole, ProjectRole, TenantRole } from "./common_pb.js";
|
|
3
3
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
5
|
/**
|
|
@@ -88,11 +88,11 @@ export type Token = Message<"fits.api.v1.Token"> & {
|
|
|
88
88
|
[key: string]: TenantRole;
|
|
89
89
|
};
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* OperatorRole defines the operator role of the token owner
|
|
92
92
|
*
|
|
93
|
-
* @generated from field: optional fits.api.v1.
|
|
93
|
+
* @generated from field: optional fits.api.v1.OperatorRole operator_role = 11;
|
|
94
94
|
*/
|
|
95
|
-
|
|
95
|
+
operatorRole?: OperatorRole | undefined;
|
|
96
96
|
/**
|
|
97
97
|
* RawRoles are the normalized roles transmitted by the OIDC provider.
|
|
98
98
|
*
|
|
@@ -191,12 +191,12 @@ export type PermissionsByVisibility = Message<"fits.api.v1.PermissionsByVisibili
|
|
|
191
191
|
case: "tenant";
|
|
192
192
|
} | {
|
|
193
193
|
/**
|
|
194
|
-
*
|
|
194
|
+
* OperatorPermissions carries operator method permissions.
|
|
195
195
|
*
|
|
196
|
-
* @generated from field: fits.api.v1.
|
|
196
|
+
* @generated from field: fits.api.v1.OperatorPermissions operator = 5;
|
|
197
197
|
*/
|
|
198
|
-
value:
|
|
199
|
-
case: "
|
|
198
|
+
value: OperatorPermissions;
|
|
199
|
+
case: "operator";
|
|
200
200
|
} | {
|
|
201
201
|
case: undefined;
|
|
202
202
|
value?: undefined;
|
|
@@ -294,11 +294,11 @@ export type TenantPermissions = Message<"fits.api.v1.TenantPermissions"> & {
|
|
|
294
294
|
*/
|
|
295
295
|
export declare const TenantPermissionsSchema: GenMessage<TenantPermissions>;
|
|
296
296
|
/**
|
|
297
|
-
*
|
|
297
|
+
* OperatorPermissions carries operator method permissions.
|
|
298
298
|
*
|
|
299
|
-
* @generated from message fits.api.v1.
|
|
299
|
+
* @generated from message fits.api.v1.OperatorPermissions
|
|
300
300
|
*/
|
|
301
|
-
export type
|
|
301
|
+
export type OperatorPermissions = Message<"fits.api.v1.OperatorPermissions"> & {
|
|
302
302
|
/**
|
|
303
303
|
* Methods which should be accessible.
|
|
304
304
|
*
|
|
@@ -307,10 +307,10 @@ export type AdminPermissions = Message<"fits.api.v1.AdminPermissions"> & {
|
|
|
307
307
|
methods: string[];
|
|
308
308
|
};
|
|
309
309
|
/**
|
|
310
|
-
* Describes the message fits.api.v1.
|
|
311
|
-
* Use `create(
|
|
310
|
+
* Describes the message fits.api.v1.OperatorPermissions.
|
|
311
|
+
* Use `create(OperatorPermissionsSchema)` to create a new message.
|
|
312
312
|
*/
|
|
313
|
-
export declare const
|
|
313
|
+
export declare const OperatorPermissionsSchema: GenMessage<OperatorPermissions>;
|
|
314
314
|
/**
|
|
315
315
|
* TokenServiceListRequest is the request payload to list tokens
|
|
316
316
|
*
|
package/fits/api/v1/token_pb.js
CHANGED
|
@@ -9,7 +9,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file fits/api/v1/token.proto.
|
|
11
11
|
*/
|
|
12
|
-
export const file_fits_api_v1_token = /*@__PURE__*/ fileDesc("
|
|
12
|
+
export const file_fits_api_v1_token = /*@__PURE__*/ fileDesc("ChdmaXRzL2FwaS92MS90b2tlbi5wcm90bxILZml0cy5hcGkudjEi0gcKBVRva2VuEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhgKBHVzZXIYAiABKAlCCrpIB3IFEAIYgAQSHwoEbWV0YRg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v1_common, file_fits_api_v1_predefined_rules, file_google_protobuf_timestamp]);
|
|
13
13
|
/**
|
|
14
14
|
* Describes the message fits.api.v1.Token.
|
|
15
15
|
* Use `create(TokenSchema)` to create a new message.
|
|
@@ -46,10 +46,10 @@ export const ProjectPermissionsSchema = /*@__PURE__*/ messageDesc(file_fits_api_
|
|
|
46
46
|
*/
|
|
47
47
|
export const TenantPermissionsSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 6);
|
|
48
48
|
/**
|
|
49
|
-
* Describes the message fits.api.v1.
|
|
50
|
-
* Use `create(
|
|
49
|
+
* Describes the message fits.api.v1.OperatorPermissions.
|
|
50
|
+
* Use `create(OperatorPermissionsSchema)` to create a new message.
|
|
51
51
|
*/
|
|
52
|
-
export const
|
|
52
|
+
export const OperatorPermissionsSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 7);
|
|
53
53
|
/**
|
|
54
54
|
* Describes the message fits.api.v1.TokenServiceListRequest.
|
|
55
55
|
* Use `create(TokenServiceListRequestSchema)` to create a new message.
|
package/fits/api/v1/token_pb.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
7
|
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
8
|
-
import type {
|
|
8
|
+
import type { Meta, OperatorRole, ProjectRole, TenantRole } from "./common_pb.js";
|
|
9
9
|
import { file_fits_api_v1_common } from "./common_pb.js";
|
|
10
10
|
import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb.js";
|
|
11
11
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
@@ -16,7 +16,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
16
16
|
* Describes the file fits/api/v1/token.proto.
|
|
17
17
|
*/
|
|
18
18
|
export const file_fits_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3RvUAFaKWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL3YxO2FwaXYxogIDRkFYqgILRml0cy5BcGkuVjHKAgtGaXRzXEFwaVxWMeICF0ZpdHNcQXBpXFYxXEdQQk1ldGFkYXRh6gINRml0czo6QXBpOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules, file_google_protobuf_timestamp]);
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Token generates a jwt authentication token to access the api
|
|
@@ -106,11 +106,11 @@ export type Token = Message<"fits.api.v1.Token"> & {
|
|
|
106
106
|
tenantRoles: { [key: string]: TenantRole };
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
109
|
+
* OperatorRole defines the operator role of the token owner
|
|
110
110
|
*
|
|
111
|
-
* @generated from field: optional fits.api.v1.
|
|
111
|
+
* @generated from field: optional fits.api.v1.OperatorRole operator_role = 11;
|
|
112
112
|
*/
|
|
113
|
-
|
|
113
|
+
operatorRole?: OperatorRole | undefined;
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* RawRoles are the normalized roles transmitted by the OIDC provider.
|
|
@@ -219,12 +219,12 @@ export type PermissionsByVisibility = Message<"fits.api.v1.PermissionsByVisibili
|
|
|
219
219
|
case: "tenant";
|
|
220
220
|
} | {
|
|
221
221
|
/**
|
|
222
|
-
*
|
|
222
|
+
* OperatorPermissions carries operator method permissions.
|
|
223
223
|
*
|
|
224
|
-
* @generated from field: fits.api.v1.
|
|
224
|
+
* @generated from field: fits.api.v1.OperatorPermissions operator = 5;
|
|
225
225
|
*/
|
|
226
|
-
value:
|
|
227
|
-
case: "
|
|
226
|
+
value: OperatorPermissions;
|
|
227
|
+
case: "operator";
|
|
228
228
|
} | { case: undefined; value?: undefined };
|
|
229
229
|
};
|
|
230
230
|
|
|
@@ -336,11 +336,11 @@ export const TenantPermissionsSchema: GenMessage<TenantPermissions> = /*@__PURE_
|
|
|
336
336
|
messageDesc(file_fits_api_v1_token, 6);
|
|
337
337
|
|
|
338
338
|
/**
|
|
339
|
-
*
|
|
339
|
+
* OperatorPermissions carries operator method permissions.
|
|
340
340
|
*
|
|
341
|
-
* @generated from message fits.api.v1.
|
|
341
|
+
* @generated from message fits.api.v1.OperatorPermissions
|
|
342
342
|
*/
|
|
343
|
-
export type
|
|
343
|
+
export type OperatorPermissions = Message<"fits.api.v1.OperatorPermissions"> & {
|
|
344
344
|
/**
|
|
345
345
|
* Methods which should be accessible.
|
|
346
346
|
*
|
|
@@ -350,10 +350,10 @@ export type AdminPermissions = Message<"fits.api.v1.AdminPermissions"> & {
|
|
|
350
350
|
};
|
|
351
351
|
|
|
352
352
|
/**
|
|
353
|
-
* Describes the message fits.api.v1.
|
|
354
|
-
* Use `create(
|
|
353
|
+
* Describes the message fits.api.v1.OperatorPermissions.
|
|
354
|
+
* Use `create(OperatorPermissionsSchema)` to create a new message.
|
|
355
355
|
*/
|
|
356
|
-
export const
|
|
356
|
+
export const OperatorPermissionsSchema: GenMessage<OperatorPermissions> = /*@__PURE__*/
|
|
357
357
|
messageDesc(file_fits_api_v1_token, 7);
|
|
358
358
|
|
|
359
359
|
/**
|
package/package.json
CHANGED