@fi-ts/api 0.0.1-alpha.0 → 0.0.2
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/buf/validate/validate_pb.ts +1 -1
- package/fits/api/mvm/v1/domain_pb.d.ts +89 -0
- package/fits/api/mvm/v1/domain_pb.js +32 -0
- package/fits/api/mvm/v1/domain_pb.ts +113 -0
- package/fits/api/mvm/v1/ldap_pb.d.ts +89 -0
- package/fits/api/mvm/v1/ldap_pb.js +32 -0
- package/fits/api/mvm/v1/ldap_pb.ts +113 -0
- package/fits/api/mvm/v1/location_pb.d.ts +84 -0
- package/fits/api/mvm/v1/location_pb.js +32 -0
- package/fits/api/mvm/v1/location_pb.ts +107 -0
- package/fits/api/mvm/v1/mvm_pb.d.ts +1451 -0
- package/fits/api/mvm/v1/mvm_pb.js +391 -0
- package/fits/api/mvm/v1/mvm_pb.ts +1679 -0
- package/fits/api/mvm/v1/os_pb.d.ts +111 -0
- package/fits/api/mvm/v1/os_pb.js +62 -0
- package/fits/api/mvm/v1/os_pb.ts +141 -0
- package/fits/api/mvm/v1/vlan_pb.d.ts +125 -0
- package/fits/api/mvm/v1/vlan_pb.js +32 -0
- package/fits/api/mvm/v1/vlan_pb.ts +155 -0
- package/fits/api/v1/common_pb.js +3 -3
- package/fits/api/v1/common_pb.ts +3 -3
- package/fits/api/v1/health_pb.js +2 -2
- package/fits/api/v1/health_pb.ts +2 -2
- package/fits/api/v1/ip_pb.d.ts +1 -1
- package/fits/api/v1/ip_pb.js +4 -4
- package/fits/api/v1/ip_pb.ts +5 -5
- package/fits/api/v1/method_pb.d.ts +2 -2
- package/fits/api/v1/method_pb.js +4 -4
- package/fits/api/v1/method_pb.ts +6 -6
- package/fits/api/v1/predefined_rules_pb.d.ts +37 -1
- package/fits/api/v1/predefined_rules_pb.js +45 -9
- package/fits/api/v1/predefined_rules_pb.ts +58 -10
- package/fits/api/v1/project_pb.d.ts +11 -5
- package/fits/api/v1/project_pb.js +5 -6
- package/fits/api/v1/project_pb.ts +17 -11
- package/fits/api/v1/tenant_pb.d.ts +10 -10
- package/fits/api/v1/tenant_pb.js +5 -6
- package/fits/api/v1/tenant_pb.ts +15 -16
- package/fits/api/v1/token_pb.d.ts +177 -12
- package/fits/api/v1/token_pb.js +46 -16
- package/fits/api/v1/token_pb.ts +210 -28
- package/fits/api/v1/version_pb.js +4 -4
- package/fits/api/v1/version_pb.ts +4 -4
- package/package.json +1 -1
- package/fits/api/v1/partition_pb.d.ts +0 -251
- package/fits/api/v1/partition_pb.js +0 -62
- package/fits/api/v1/partition_pb.ts +0 -300
- package/fits/api/v1/user_pb.d.ts +0 -108
- package/fits/api/v1/user_pb.js +0 -34
- package/fits/api/v1/user_pb.ts +0 -139
- package/fits/api/v1/vpn_pb.d.ts +0 -55
- package/fits/api/v1/vpn_pb.js +0 -14
- package/fits/api/v1/vpn_pb.ts +0 -72
package/fits/api/v1/tenant_pb.js
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
|
|
2
2
|
// @generated from file fits/api/v1/tenant.proto (package fits.api.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
-
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
6
|
-
import { file_fits_api_v1_common } from "./common_pb";
|
|
7
|
-
import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb";
|
|
8
|
-
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
5
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
6
|
+
import { file_fits_api_v1_common } from "./common_pb.js";
|
|
7
|
+
import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb.js";
|
|
9
8
|
/**
|
|
10
9
|
* Describes the file fits/api/v1/tenant.proto.
|
|
11
10
|
*/
|
|
12
|
-
export const file_fits_api_v1_tenant = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_fits_api_v1_tenant = /*@__PURE__*/ fileDesc("ChhmaXRzL2FwaS92MS90ZW5hbnQucHJvdG8SC2ZpdHMuYXBpLnYxIqwBCgZUZW5hbnQSDQoFbG9naW4YASABKAkSHwoEbWV0YRgCIAEoCzIRLmZpdHMuYXBpLnYxLk1ldGESGQoEbmFtZRgDIAEoCUILukgIcgbAs66xAgESDQoFZW1haWwYBCABKAkSIAoLZGVzY3JpcHRpb24YBSABKAlCC7pICHIGyLOusQIBEhIKCmF2YXRhcl91cmwYBiABKAkSEgoKY3JlYXRlZF9ieRgHIAEoCSKQAQoYVGVuYW50U2VydmljZUxpc3RSZXF1ZXN0Eg8KAmlkGAEgASgJSACIAQESHgoEbmFtZRgCIAEoCUILukgIcgbAs66xAgFIAYgBARIoCgZsYWJlbHMYAyABKAsyEy5maXRzLmFwaS52MS5MYWJlbHNIAogBAUIFCgNfaWRCBwoFX25hbWVCCQoHX2xhYmVscyIpChdUZW5hbnRTZXJ2aWNlR2V0UmVxdWVzdBIOCgZ0ZW5hbnQYASABKAki4gEKGlRlbmFudFNlcnZpY2VDcmVhdGVSZXF1ZXN0EhkKBG5hbWUYASABKAlCC7pICHIGwLOusQIBEiUKC2Rlc2NyaXB0aW9uGAIgASgJQgu6SAhyBsizrrECAUgAiAEBEhsKBWVtYWlsGAMgASgJQge6SARyAmABSAGIAQESFwoKYXZhdGFyX3VybBgEIAEoCUgCiAEBEiMKBmxhYmVscxgFIAEoCzITLmZpdHMuYXBpLnYxLkxhYmVsc0IOCgxfZGVzY3JpcHRpb25CCAoGX2VtYWlsQg0KC19hdmF0YXJfdXJsIswCChpUZW5hbnRTZXJ2aWNlVXBkYXRlUmVxdWVzdBIOCgZ0ZW5hbnQYASABKAkSNAoLdXBkYXRlX21ldGEYAiABKAsyFy5maXR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0cy5hcGkudjEuVGVuYW50U2VydmljZUxpc3RSZXNwb25zZSII2PMYAuDzGAISYAoDR2V0EiQuZml0cy5hcGkudjEuVGVuYW50U2VydmljZUdldFJlcXVlc3QaJS5maXRzLmFwaS52MS5UZW5hbnRTZXJ2aWNlR2V0UmVzcG9uc2UiDMLzGAQBAgME4PMYAhJnCgZVcGRhdGUSJy5maXRzLmFwaS52MS5UZW5hbnRTZXJ2aWNlVXBkYXRlUmVxdWVzdBooLmZpdHMuYXBpLnYxLlRlbmFudFNlcnZpY2VVcGRhdGVSZXNwb25zZSIKwvMYAgEC4PMYARJnCgZEZWxldGUSJy5maXRzLmFwaS52MS5UZW5hbnRTZXJ2aWNlRGVsZXRlUmVxdWVzdBooLmZpdHMuYXBpLnYxLlRlbmFudFNlcnZpY2VEZWxldGVSZXNwb25zZSIKwvMYAgEC4PMYAUKXAQoPY29tLmZpdHMuYXBpLnYxQgtUZW5hbnRQcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
|
|
13
12
|
/**
|
|
14
13
|
* Describes the message fits.api.v1.Tenant.
|
|
15
14
|
* Use `create(TenantSchema)` to create a new message.
|
package/fits/api/v1/tenant_pb.ts
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
|
|
2
2
|
// @generated from file fits/api/v1/tenant.proto (package fits.api.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
5
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
-
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
|
-
import type { Labels, Meta, UpdateLabels, UpdateMeta } from "./common_pb";
|
|
9
|
-
import { file_fits_api_v1_common } from "./common_pb";
|
|
10
|
-
import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb";
|
|
11
|
-
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
8
|
+
import type { Labels, Meta, UpdateLabels, UpdateMeta } from "./common_pb.js";
|
|
9
|
+
import { file_fits_api_v1_common } from "./common_pb.js";
|
|
10
|
+
import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb.js";
|
|
12
11
|
import type { Message } from "@bufbuild/protobuf";
|
|
13
12
|
|
|
14
13
|
/**
|
|
15
14
|
* Describes the file fits/api/v1/tenant.proto.
|
|
16
15
|
*/
|
|
17
16
|
export const file_fits_api_v1_tenant: GenFile = /*@__PURE__*/
|
|
18
|
-
fileDesc("
|
|
17
|
+
fileDesc("ChhmaXRzL2FwaS92MS90ZW5hbnQucHJvdG8SC2ZpdHMuYXBpLnYxIqwBCgZUZW5hbnQSDQoFbG9naW4YASABKAkSHwoEbWV0YRgCIAEoCzIRLmZpdHMuYXBpLnYxLk1ldGESGQoEbmFtZRgDIAEoCUILukgIcgbAs66xAgESDQoFZW1haWwYBCABKAkSIAoLZGVzY3JpcHRpb24YBSABKAlCC7pICHIGyLOusQIBEhIKCmF2YXRhcl91cmwYBiABKAkSEgoKY3JlYXRlZF9ieRgHIAEoCSKQAQoYVGVuYW50U2VydmljZUxpc3RSZXF1ZXN0Eg8KAmlkGAEgASgJSACIAQESHgoEbmFtZRgCIAEoCUILukgIcgbAs66xAgFIAYgBARIoCgZsYWJlbHMYAyABKAsyEy5maXRzLmFwaS52MS5MYWJlbHN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ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
|
|
19
18
|
|
|
20
19
|
/**
|
|
21
20
|
* Tenant is a customer of the platform
|
|
@@ -122,11 +121,11 @@ export const TenantServiceListRequestSchema: GenMessage<TenantServiceListRequest
|
|
|
122
121
|
*/
|
|
123
122
|
export type TenantServiceGetRequest = Message<"fits.api.v1.TenantServiceGetRequest"> & {
|
|
124
123
|
/**
|
|
125
|
-
*
|
|
124
|
+
* Tenant is the login of the tenant
|
|
126
125
|
*
|
|
127
|
-
* @generated from field: string
|
|
126
|
+
* @generated from field: string tenant = 1;
|
|
128
127
|
*/
|
|
129
|
-
|
|
128
|
+
tenant: string;
|
|
130
129
|
};
|
|
131
130
|
|
|
132
131
|
/**
|
|
@@ -192,11 +191,11 @@ export const TenantServiceCreateRequestSchema: GenMessage<TenantServiceCreateReq
|
|
|
192
191
|
*/
|
|
193
192
|
export type TenantServiceUpdateRequest = Message<"fits.api.v1.TenantServiceUpdateRequest"> & {
|
|
194
193
|
/**
|
|
195
|
-
*
|
|
194
|
+
* Tenant is the login of the tenant
|
|
196
195
|
*
|
|
197
|
-
* @generated from field: string
|
|
196
|
+
* @generated from field: string tenant = 1;
|
|
198
197
|
*/
|
|
199
|
-
|
|
198
|
+
tenant: string;
|
|
200
199
|
|
|
201
200
|
/**
|
|
202
201
|
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
@@ -255,11 +254,11 @@ export const TenantServiceUpdateRequestSchema: GenMessage<TenantServiceUpdateReq
|
|
|
255
254
|
*/
|
|
256
255
|
export type TenantServiceDeleteRequest = Message<"fits.api.v1.TenantServiceDeleteRequest"> & {
|
|
257
256
|
/**
|
|
258
|
-
*
|
|
257
|
+
* Tenant is the login of the tenant
|
|
259
258
|
*
|
|
260
|
-
* @generated from field: string
|
|
259
|
+
* @generated from field: string tenant = 1;
|
|
261
260
|
*/
|
|
262
|
-
|
|
261
|
+
tenant: string;
|
|
263
262
|
};
|
|
264
263
|
|
|
265
264
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type { AdminRole, Labels, Meta, ProjectRole, TenantRole, UpdateLabels, UpdateMeta } from "./common_pb";
|
|
2
|
+
import type { AdminRole, Labels, Meta, ProjectRole, TenantRole, UpdateLabels, UpdateMeta } from "./common_pb.js";
|
|
3
3
|
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
5
|
/**
|
|
@@ -50,9 +50,9 @@ export type Token = Message<"fits.api.v1.Token"> & {
|
|
|
50
50
|
/**
|
|
51
51
|
* Permissions is a list of service methods this token can be used for
|
|
52
52
|
*
|
|
53
|
-
* @generated from field: repeated fits.api.v1.
|
|
53
|
+
* @generated from field: repeated fits.api.v1.PermissionsByVisibility permissions = 5;
|
|
54
54
|
*/
|
|
55
|
-
permissions:
|
|
55
|
+
permissions: PermissionsByVisibility[];
|
|
56
56
|
/**
|
|
57
57
|
* Expires gives the date in the future after which this token can not be used anymore
|
|
58
58
|
*
|
|
@@ -80,7 +80,7 @@ export type Token = Message<"fits.api.v1.Token"> & {
|
|
|
80
80
|
[key: string]: ProjectRole;
|
|
81
81
|
};
|
|
82
82
|
/**
|
|
83
|
-
* TenantRoles associates a tenant id with the corresponding role of the token owner
|
|
83
|
+
* TenantRoles associates a tenant id with the corresponding role of the token owner.
|
|
84
84
|
*
|
|
85
85
|
* @generated from field: map<string, fits.api.v1.TenantRole> tenant_roles = 10;
|
|
86
86
|
*/
|
|
@@ -112,11 +112,11 @@ export type TokenServiceCreateRequest = Message<"fits.api.v1.TokenServiceCreateR
|
|
|
112
112
|
*/
|
|
113
113
|
description: string;
|
|
114
114
|
/**
|
|
115
|
-
* Permissions is a list of service methods this token can be used for
|
|
115
|
+
* Permissions is a list of service methods this token can be used for.
|
|
116
116
|
*
|
|
117
|
-
* @generated from field: repeated fits.api.v1.
|
|
117
|
+
* @generated from field: repeated fits.api.v1.PermissionsByVisibility permissions = 2;
|
|
118
118
|
*/
|
|
119
|
-
permissions:
|
|
119
|
+
permissions: PermissionsByVisibility[];
|
|
120
120
|
/**
|
|
121
121
|
* Expires gives the duration since now, after which this token can not be used anymore
|
|
122
122
|
*
|
|
@@ -132,7 +132,7 @@ export type TokenServiceCreateRequest = Message<"fits.api.v1.TokenServiceCreateR
|
|
|
132
132
|
[key: string]: ProjectRole;
|
|
133
133
|
};
|
|
134
134
|
/**
|
|
135
|
-
*
|
|
135
|
+
* TenantRoles associates a tenant id with the corresponding role of the token owner.
|
|
136
136
|
*
|
|
137
137
|
* @generated from field: map<string, fits.api.v1.TenantRole> tenant_roles = 5;
|
|
138
138
|
*/
|
|
@@ -186,6 +186,171 @@ export type MethodPermission = Message<"fits.api.v1.MethodPermission"> & {
|
|
|
186
186
|
* Use `create(MethodPermissionSchema)` to create a new message.
|
|
187
187
|
*/
|
|
188
188
|
export declare const MethodPermissionSchema: GenMessage<MethodPermission>;
|
|
189
|
+
/**
|
|
190
|
+
* PermissionsByVisibility contains method permissions by visibility.
|
|
191
|
+
*
|
|
192
|
+
* @generated from message fits.api.v1.PermissionsByVisibility
|
|
193
|
+
*/
|
|
194
|
+
export type PermissionsByVisibility = Message<"fits.api.v1.PermissionsByVisibility"> & {
|
|
195
|
+
/**
|
|
196
|
+
* Visibility defines the visibility of the requested method permissions.
|
|
197
|
+
*
|
|
198
|
+
* @generated from oneof fits.api.v1.PermissionsByVisibility.visibility
|
|
199
|
+
*/
|
|
200
|
+
visibility: {
|
|
201
|
+
/**
|
|
202
|
+
* PublicPermissions carries public method permissions.
|
|
203
|
+
*
|
|
204
|
+
* @generated from field: fits.api.v1.PublicPermissions public = 1;
|
|
205
|
+
*/
|
|
206
|
+
value: PublicPermissions;
|
|
207
|
+
case: "public";
|
|
208
|
+
} | {
|
|
209
|
+
/**
|
|
210
|
+
* SelfPermissions carries self method permissions.
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: fits.api.v1.SelfPermissions self = 2;
|
|
213
|
+
*/
|
|
214
|
+
value: SelfPermissions;
|
|
215
|
+
case: "self";
|
|
216
|
+
} | {
|
|
217
|
+
/**
|
|
218
|
+
* ProjectPermissions carries project method permissions.
|
|
219
|
+
*
|
|
220
|
+
* @generated from field: fits.api.v1.ProjectPermissions project = 3;
|
|
221
|
+
*/
|
|
222
|
+
value: ProjectPermissions;
|
|
223
|
+
case: "project";
|
|
224
|
+
} | {
|
|
225
|
+
/**
|
|
226
|
+
* TenantPermissions carries tenant method permissions.
|
|
227
|
+
*
|
|
228
|
+
* @generated from field: fits.api.v1.TenantPermissions tenant = 4;
|
|
229
|
+
*/
|
|
230
|
+
value: TenantPermissions;
|
|
231
|
+
case: "tenant";
|
|
232
|
+
} | {
|
|
233
|
+
/**
|
|
234
|
+
* AdminPermissions carries admin method permissions.
|
|
235
|
+
*
|
|
236
|
+
* @generated from field: fits.api.v1.AdminPermissions admin = 5;
|
|
237
|
+
*/
|
|
238
|
+
value: AdminPermissions;
|
|
239
|
+
case: "admin";
|
|
240
|
+
} | {
|
|
241
|
+
case: undefined;
|
|
242
|
+
value?: undefined;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* Describes the message fits.api.v1.PermissionsByVisibility.
|
|
247
|
+
* Use `create(PermissionsByVisibilitySchema)` to create a new message.
|
|
248
|
+
*/
|
|
249
|
+
export declare const PermissionsByVisibilitySchema: GenMessage<PermissionsByVisibility>;
|
|
250
|
+
/**
|
|
251
|
+
* PublicPermissions carries public method permissions.
|
|
252
|
+
*
|
|
253
|
+
* @generated from message fits.api.v1.PublicPermissions
|
|
254
|
+
*/
|
|
255
|
+
export type PublicPermissions = Message<"fits.api.v1.PublicPermissions"> & {
|
|
256
|
+
/**
|
|
257
|
+
* Methods which should be accessible.
|
|
258
|
+
*
|
|
259
|
+
* @generated from field: repeated string methods = 1;
|
|
260
|
+
*/
|
|
261
|
+
methods: string[];
|
|
262
|
+
};
|
|
263
|
+
/**
|
|
264
|
+
* Describes the message fits.api.v1.PublicPermissions.
|
|
265
|
+
* Use `create(PublicPermissionsSchema)` to create a new message.
|
|
266
|
+
*/
|
|
267
|
+
export declare const PublicPermissionsSchema: GenMessage<PublicPermissions>;
|
|
268
|
+
/**
|
|
269
|
+
* SelfPermissions carries self method permissions.
|
|
270
|
+
*
|
|
271
|
+
* @generated from message fits.api.v1.SelfPermissions
|
|
272
|
+
*/
|
|
273
|
+
export type SelfPermissions = Message<"fits.api.v1.SelfPermissions"> & {
|
|
274
|
+
/**
|
|
275
|
+
* Methods which should be accessible.
|
|
276
|
+
*
|
|
277
|
+
* @generated from field: repeated string methods = 1;
|
|
278
|
+
*/
|
|
279
|
+
methods: string[];
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* Describes the message fits.api.v1.SelfPermissions.
|
|
283
|
+
* Use `create(SelfPermissionsSchema)` to create a new message.
|
|
284
|
+
*/
|
|
285
|
+
export declare const SelfPermissionsSchema: GenMessage<SelfPermissions>;
|
|
286
|
+
/**
|
|
287
|
+
* ProjectPermissions carries project method permissions.
|
|
288
|
+
*
|
|
289
|
+
* @generated from message fits.api.v1.ProjectPermissions
|
|
290
|
+
*/
|
|
291
|
+
export type ProjectPermissions = Message<"fits.api.v1.ProjectPermissions"> & {
|
|
292
|
+
/**
|
|
293
|
+
* Project scope for the permissions.
|
|
294
|
+
* Asterisk (*) can be specified to match any subject.
|
|
295
|
+
*
|
|
296
|
+
* @generated from field: string project = 1;
|
|
297
|
+
*/
|
|
298
|
+
project: string;
|
|
299
|
+
/**
|
|
300
|
+
* Methods which should be accessible.
|
|
301
|
+
*
|
|
302
|
+
* @generated from field: repeated string methods = 2;
|
|
303
|
+
*/
|
|
304
|
+
methods: string[];
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* Describes the message fits.api.v1.ProjectPermissions.
|
|
308
|
+
* Use `create(ProjectPermissionsSchema)` to create a new message.
|
|
309
|
+
*/
|
|
310
|
+
export declare const ProjectPermissionsSchema: GenMessage<ProjectPermissions>;
|
|
311
|
+
/**
|
|
312
|
+
* TenantPermissions carries tenant method permissions.
|
|
313
|
+
*
|
|
314
|
+
* @generated from message fits.api.v1.TenantPermissions
|
|
315
|
+
*/
|
|
316
|
+
export type TenantPermissions = Message<"fits.api.v1.TenantPermissions"> & {
|
|
317
|
+
/**
|
|
318
|
+
* Login of the tenant.
|
|
319
|
+
* Asterisk (*) can be specified to match any subject.
|
|
320
|
+
*
|
|
321
|
+
* @generated from field: string login = 1;
|
|
322
|
+
*/
|
|
323
|
+
login: string;
|
|
324
|
+
/**
|
|
325
|
+
* Methods which should be accessible.
|
|
326
|
+
*
|
|
327
|
+
* @generated from field: repeated string methods = 2;
|
|
328
|
+
*/
|
|
329
|
+
methods: string[];
|
|
330
|
+
};
|
|
331
|
+
/**
|
|
332
|
+
* Describes the message fits.api.v1.TenantPermissions.
|
|
333
|
+
* Use `create(TenantPermissionsSchema)` to create a new message.
|
|
334
|
+
*/
|
|
335
|
+
export declare const TenantPermissionsSchema: GenMessage<TenantPermissions>;
|
|
336
|
+
/**
|
|
337
|
+
* AdminPermissions carries admin method permissions.
|
|
338
|
+
*
|
|
339
|
+
* @generated from message fits.api.v1.AdminPermissions
|
|
340
|
+
*/
|
|
341
|
+
export type AdminPermissions = Message<"fits.api.v1.AdminPermissions"> & {
|
|
342
|
+
/**
|
|
343
|
+
* Methods which should be accessible.
|
|
344
|
+
*
|
|
345
|
+
* @generated from field: repeated string methods = 1;
|
|
346
|
+
*/
|
|
347
|
+
methods: string[];
|
|
348
|
+
};
|
|
349
|
+
/**
|
|
350
|
+
* Describes the message fits.api.v1.AdminPermissions.
|
|
351
|
+
* Use `create(AdminPermissionsSchema)` to create a new message.
|
|
352
|
+
*/
|
|
353
|
+
export declare const AdminPermissionsSchema: GenMessage<AdminPermissions>;
|
|
189
354
|
/**
|
|
190
355
|
* TokenServiceCreateResponse is the response payload of a token create request
|
|
191
356
|
*
|
|
@@ -294,11 +459,11 @@ export type TokenServiceUpdateRequest = Message<"fits.api.v1.TokenServiceUpdateR
|
|
|
294
459
|
*/
|
|
295
460
|
description?: string | undefined;
|
|
296
461
|
/**
|
|
297
|
-
* Permissions is a list of service methods this token can be used for
|
|
462
|
+
* Permissions is a list of service methods this token can be used for.
|
|
298
463
|
*
|
|
299
|
-
* @generated from field: repeated fits.api.v1.
|
|
464
|
+
* @generated from field: repeated fits.api.v1.PermissionsByVisibility permissions = 4;
|
|
300
465
|
*/
|
|
301
|
-
permissions:
|
|
466
|
+
permissions: PermissionsByVisibility[];
|
|
302
467
|
/**
|
|
303
468
|
* ProjectRoles associates a project id with the corresponding role of the token owner
|
|
304
469
|
*
|
|
@@ -308,7 +473,7 @@ export type TokenServiceUpdateRequest = Message<"fits.api.v1.TokenServiceUpdateR
|
|
|
308
473
|
[key: string]: ProjectRole;
|
|
309
474
|
};
|
|
310
475
|
/**
|
|
311
|
-
* TenantRoles associates a tenant id with the corresponding role of the token owner
|
|
476
|
+
* TenantRoles associates a tenant id with the corresponding role of the token owner.
|
|
312
477
|
*
|
|
313
478
|
* @generated from field: map<string, fits.api.v1.TenantRole> tenant_roles = 6;
|
|
314
479
|
*/
|
package/fits/api/v1/token_pb.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
|
|
2
2
|
// @generated from file fits/api/v1/token.proto (package fits.api.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
-
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
6
|
-
import { file_fits_api_v1_common } from "./common_pb";
|
|
7
|
-
import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb";
|
|
5
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
6
|
+
import { file_fits_api_v1_common } from "./common_pb.js";
|
|
7
|
+
import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb.js";
|
|
8
8
|
import { file_google_protobuf_duration, 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("ChdmaXRzL2FwaS92MS90b2tlbi5wcm90bxILZml0cy5hcGkudjEi7wYKBVRva2VuEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhgKBHVzZXIYAiABKAlCCrpIB3IFEAIYgAQSHwoEbWV0YRgDIAEoCzIRLmZpdHMuYXBpLnYxLk1ldGESIAoLZGVzY3JpcHRpb24YBCABKAlCC7pICHIGyLOusQIBEkQKC3Blcm1pc3Npb25zGAUgAygLMiQuZml0cy5hcGkudjEuUGVybWlzc2lvbnNCeVZpc2liaWxpdHlCCbpIBpIBAxD0AxIrCgdleHBpcmVzGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBItCglpc3N1ZWRfYXQYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjQKCnRva2VuX3R5cGUYCCABKA4yFi5maXRzLmFwaS52MS5Ub2tlblR5cGVCCLpIBYIBAhABEjsKDXByb2plY3Rfcm9sZXMYCSADKAsyJC5maXRzLmFwaS52MS5Ub2tlbi5Qcm9qZWN0Um9sZXNFbnRyeRJUCgx0ZW5hbnRfcm9sZXMYCiADKAsyIy5maXRzLmFwaS52MS5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VhdGVSZXF1ZXN0GicuZml0cy5hcGkudjEuVG9rZW5TZXJ2aWNlQ3JlYXRlUmVzcG9uc2UiCNjzGALg8xgBEmMKBlVwZGF0ZRImLmZpdHMuYXBpLnYxLlRva2VuU2VydmljZVVwZGF0ZVJlcXVlc3QaJy5maXRzLmFwaS52MS5Ub2tlblNlcnZpY2VVcGRhdGVSZXNwb25zZSII2PMYAuDzGAESXQoETGlzdBIkLmZpdHMuYXBpLnYxLlRva2VuU2VydmljZUxpc3RSZXF1ZXN0GiUuZml0cy5hcGkudjEuVG9rZW5TZXJ2aWNlTGlzdFJlc3BvbnNlIgjY8xgC4PMYARJjCgZSZXZva2USJi5maXRzLmFwaS52MS5Ub2tlblNlcnZpY2VSZXZva2VSZXF1ZXN0GicuZml0cy5hcGkudjEuVG9rZW5TZXJ2aWNlUmV2b2tlUmVzcG9uc2UiCNjzGALg8xgBEmYKB1JlZnJlc2gSJy5maXRzLmFwaS52MS5Ub2tlblNlcnZpY2VSZWZyZXNoUmVxdWVzdBooLmZpdHMuYXBpLnYxLlRva2VuU2VydmljZVJlZnJlc2hSZXNwb25zZSII2PMYAuDzGAFClgEKD2NvbS5maXRzLmFwaS52MUIKVG9rZW5Qcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules, file_google_protobuf_duration, 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.
|
|
@@ -25,61 +25,91 @@ export const TokenServiceCreateRequestSchema = /*@__PURE__*/ messageDesc(file_fi
|
|
|
25
25
|
* Use `create(MethodPermissionSchema)` to create a new message.
|
|
26
26
|
*/
|
|
27
27
|
export const MethodPermissionSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 2);
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message fits.api.v1.PermissionsByVisibility.
|
|
30
|
+
* Use `create(PermissionsByVisibilitySchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export const PermissionsByVisibilitySchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 3);
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message fits.api.v1.PublicPermissions.
|
|
35
|
+
* Use `create(PublicPermissionsSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const PublicPermissionsSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 4);
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message fits.api.v1.SelfPermissions.
|
|
40
|
+
* Use `create(SelfPermissionsSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export const SelfPermissionsSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 5);
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message fits.api.v1.ProjectPermissions.
|
|
45
|
+
* Use `create(ProjectPermissionsSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const ProjectPermissionsSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 6);
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message fits.api.v1.TenantPermissions.
|
|
50
|
+
* Use `create(TenantPermissionsSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const TenantPermissionsSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 7);
|
|
53
|
+
/**
|
|
54
|
+
* Describes the message fits.api.v1.AdminPermissions.
|
|
55
|
+
* Use `create(AdminPermissionsSchema)` to create a new message.
|
|
56
|
+
*/
|
|
57
|
+
export const AdminPermissionsSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 8);
|
|
28
58
|
/**
|
|
29
59
|
* Describes the message fits.api.v1.TokenServiceCreateResponse.
|
|
30
60
|
* Use `create(TokenServiceCreateResponseSchema)` to create a new message.
|
|
31
61
|
*/
|
|
32
|
-
export const TokenServiceCreateResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token,
|
|
62
|
+
export const TokenServiceCreateResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 9);
|
|
33
63
|
/**
|
|
34
64
|
* Describes the message fits.api.v1.TokenServiceListRequest.
|
|
35
65
|
* Use `create(TokenServiceListRequestSchema)` to create a new message.
|
|
36
66
|
*/
|
|
37
|
-
export const TokenServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token,
|
|
67
|
+
export const TokenServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 10);
|
|
38
68
|
/**
|
|
39
69
|
* Describes the message fits.api.v1.TokenServiceListResponse.
|
|
40
70
|
* Use `create(TokenServiceListResponseSchema)` to create a new message.
|
|
41
71
|
*/
|
|
42
|
-
export const TokenServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token,
|
|
72
|
+
export const TokenServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 11);
|
|
43
73
|
/**
|
|
44
74
|
* Describes the message fits.api.v1.TokenServiceRevokeRequest.
|
|
45
75
|
* Use `create(TokenServiceRevokeRequestSchema)` to create a new message.
|
|
46
76
|
*/
|
|
47
|
-
export const TokenServiceRevokeRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token,
|
|
77
|
+
export const TokenServiceRevokeRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 12);
|
|
48
78
|
/**
|
|
49
79
|
* Describes the message fits.api.v1.TokenServiceRevokeResponse.
|
|
50
80
|
* Use `create(TokenServiceRevokeResponseSchema)` to create a new message.
|
|
51
81
|
*/
|
|
52
|
-
export const TokenServiceRevokeResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token,
|
|
82
|
+
export const TokenServiceRevokeResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 13);
|
|
53
83
|
/**
|
|
54
84
|
* Describes the message fits.api.v1.TokenServiceUpdateRequest.
|
|
55
85
|
* Use `create(TokenServiceUpdateRequestSchema)` to create a new message.
|
|
56
86
|
*/
|
|
57
|
-
export const TokenServiceUpdateRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token,
|
|
87
|
+
export const TokenServiceUpdateRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 14);
|
|
58
88
|
/**
|
|
59
89
|
* Describes the message fits.api.v1.TokenServiceUpdateResponse.
|
|
60
90
|
* Use `create(TokenServiceUpdateResponseSchema)` to create a new message.
|
|
61
91
|
*/
|
|
62
|
-
export const TokenServiceUpdateResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token,
|
|
92
|
+
export const TokenServiceUpdateResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 15);
|
|
63
93
|
/**
|
|
64
94
|
* Describes the message fits.api.v1.TokenServiceGetRequest.
|
|
65
95
|
* Use `create(TokenServiceGetRequestSchema)` to create a new message.
|
|
66
96
|
*/
|
|
67
|
-
export const TokenServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token,
|
|
97
|
+
export const TokenServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 16);
|
|
68
98
|
/**
|
|
69
99
|
* Describes the message fits.api.v1.TokenServiceGetResponse.
|
|
70
100
|
* Use `create(TokenServiceGetResponseSchema)` to create a new message.
|
|
71
101
|
*/
|
|
72
|
-
export const TokenServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token,
|
|
102
|
+
export const TokenServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 17);
|
|
73
103
|
/**
|
|
74
104
|
* Describes the message fits.api.v1.TokenServiceRefreshRequest.
|
|
75
105
|
* Use `create(TokenServiceRefreshRequestSchema)` to create a new message.
|
|
76
106
|
*/
|
|
77
|
-
export const TokenServiceRefreshRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token,
|
|
107
|
+
export const TokenServiceRefreshRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 18);
|
|
78
108
|
/**
|
|
79
109
|
* Describes the message fits.api.v1.TokenServiceRefreshResponse.
|
|
80
110
|
* Use `create(TokenServiceRefreshResponseSchema)` to create a new message.
|
|
81
111
|
*/
|
|
82
|
-
export const TokenServiceRefreshResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token,
|
|
112
|
+
export const TokenServiceRefreshResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_token, 19);
|
|
83
113
|
/**
|
|
84
114
|
* TokenType specifies different use cases of tokens
|
|
85
115
|
*
|