@fi-ts/api 0.0.1 → 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 +4 -3
- package/fits/api/mvm/v1/location_pb.js +4 -4
- package/fits/api/mvm/v1/location_pb.ts +8 -7
- package/fits/api/mvm/v1/mvm_pb.d.ts +1 -1
- package/fits/api/mvm/v1/mvm_pb.js +4 -4
- package/fits/api/mvm/v1/mvm_pb.ts +5 -5
- package/fits/api/mvm/v1/os_pb.js +4 -4
- package/fits/api/mvm/v1/os_pb.ts +4 -4
- package/fits/api/mvm/v1/vlan_pb.d.ts +26 -64
- package/fits/api/mvm/v1/vlan_pb.js +6 -50
- package/fits/api/mvm/v1/vlan_pb.ts +33 -77
- 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 +25 -1
- package/fits/api/v1/predefined_rules_pb.js +33 -9
- package/fits/api/v1/predefined_rules_pb.ts +42 -10
- package/fits/api/v1/project_pb.d.ts +1 -1
- package/fits/api/v1/project_pb.js +4 -4
- package/fits/api/v1/project_pb.ts +5 -5
- package/fits/api/v1/tenant_pb.d.ts +1 -1
- package/fits/api/v1/tenant_pb.js +4 -4
- package/fits/api/v1/tenant_pb.ts +5 -5
- 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/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("ChdmaXRzL2FwaS92MS90b2tlbi5wcm90bxILZml0cy5hcGkudjEi7wYKBVRva2VuEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhgKBHVzZXIYAiABKAlCCrpIB3IFEAIYgAQSHwoEbWV0YRgDIAEoCzIRLmZpdHMuYXBpLnYxLk1ldGESIAoLZGVzY3JpcHRpb24YBCABKAlCC7pICHIGyLOusQIBEkQKC3Blcm1pc3Npb25zGAUgAygLMiQuZml0cy5hcGkudjEuUGVybWlzc2lvbnNCeVZpc2liaWxpdHlCCbpIBpIBAxD0AxIrCgdleHBpcmVzGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBItCglpc3N1ZWRfYXQYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjQKCnRva2VuX3R5cGUYCCABKA4yFi5maXRzLmFwaS52MS5Ub2tlblR5cGVCCLpIBYIBAhABEjsKDXByb2plY3Rfcm9sZXMYCSADKAsyJC5maXRzLmFwaS52MS5Ub2tlbi5Qcm9qZWN0Um9sZXNFbnRyeRJUCgx0ZW5hbnRfcm9sZXMYCiADKAsyIy5maXRzLmFwaS52MS5Ub2tlbi5UZW5hbnRSb2xlc0VudHJ5Qhm6SBaaARPAlbixAgHQlbixAgEqBYIBAhABEjkKCmFkbWluX3JvbGUYCyABKA4yFi5maXRzLmFwaS52MS5BZG1pblJvbGVCCLpIBYIBAhABSACIAQEaTQoRUHJvamVjdFJvbGVzRW50cnkSCwoDa2V5GAEgASgJEicKBXZhbHVlGAIgASgOMhguZml0cy5hcGkudjEuUHJvamVjdFJvbGU6AjgBGksKEFRlbmFudFJvbGVzRW50cnkSCwoDa2V5GAEgASgJEiYKBXZhbHVlGAIgASgOMhcuZml0cy5hcGkudjEuVGVuYW50Um9sZToC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Y8xgC4PMYARJjCgZSZXZva2USJi5maXRzLmFwaS52MS5Ub2tlblNlcnZpY2VSZXZva2VSZXF1ZXN0GicuZml0cy5hcGkudjEuVG9rZW5TZXJ2aWNlUmV2b2tlUmVzcG9uc2UiCNjzGALg8xgBEmYKB1JlZnJlc2gSJy5maXRzLmFwaS52MS5Ub2tlblNlcnZpY2VSZWZyZXNoUmVxdWVzdBooLmZpdHMuYXBpLnYxLlRva2VuU2VydmljZVJlZnJlc2hSZXNwb25zZSII2PMYAuDzGAFClgEKD2NvbS5maXRzLmFwaS52MUIKVG9rZW5Qcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [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
|
*
|
package/fits/api/v1/token_pb.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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
|
|
|
5
5
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
-
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
|
-
import type { AdminRole, Labels, Meta, ProjectRole, TenantRole, 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";
|
|
7
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
8
|
+
import type { AdminRole, Labels, Meta, ProjectRole, TenantRole, 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";
|
|
11
11
|
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
12
12
|
import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
13
13
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -16,7 +16,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
16
16
|
* Describes the file fits/api/v1/token.proto.
|
|
17
17
|
*/
|
|
18
18
|
export const file_fits_api_v1_token: GenFile = /*@__PURE__*/
|
|
19
|
-
fileDesc("
|
|
19
|
+
fileDesc("ChdmaXRzL2FwaS92MS90b2tlbi5wcm90bxILZml0cy5hcGkudjEi7wYKBVRva2VuEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhgKBHVzZXIYAiABKAlCCrpIB3IFEAIYgAQSHwoEbWV0YRgDIAEoCzIRLmZpdHMuYXBpLnYxLk1ldGESIAoLZGVzY3JpcHRpb24YBCABKAlCC7pICHIGyLOusQIBEkQKC3Blcm1pc3Npb25zGAUgAygLMiQuZml0cy5hcGkudjEuUGVybWlzc2lvbnNCeVZpc2liaWxpdHlCCbpIBpIBAxD0AxIrCgdleHBpcmVzGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBItCglpc3N1ZWRfYXQYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjQKCnRva2VuX3R5cGUYCCABKA4yFi5maXRzLmFwaS52MS5Ub2tlblR5cGVCCLpIBYIBAhABEjsKDXByb2plY3Rfcm9sZXMYCSADKAsyJC5maXRzLmFwaS52MS5Ub2tlbi5Qcm9qZWN0Um9sZXNFbnRyeRJUCgx0ZW5hbnRfcm9sZXMYCiADKAsyIy5maXRzLmFwaS52MS5Ub2tlbi5UZW5hbnRSb2xlc0VudHJ5Qhm6SBaaARPAlbixAgHQlbixAgEqBYIBAhABEjkKCmFkbWluX3JvbGUYCyABKA4yFi5maXRzLmFwaS52MS5BZG1pblJvbGVCCLpIBYIBAhABSACIAQEaTQoRUHJvamVjdFJvbGVzRW50cnkSCwoDa2V5GAEgASgJEicKBXZhbHVlGAIgASgOMhguZml0cy5hcGkudjEuUHJvamVjdFJvbGU6AjgBGksKEFRlbmFudFJvbGVzRW50cnkSCwoDa2V5GAEgASgJEiYKBXZhbHVlGAIgASgOMhcuZml0cy5hcGkudjEuVGVuYW50Um9sZToCOAE6nwG6SJsBGpgBCht0b2tlbi5wZXJ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mFwaS52MS5Ub2tlblNlcnZpY2VSZXZva2VSZXF1ZXN0GicuZml0cy5hcGkudjEuVG9rZW5TZXJ2aWNlUmV2b2tlUmVzcG9uc2UiCNjzGALg8xgBEmYKB1JlZnJlc2gSJy5maXRzLmFwaS52MS5Ub2tlblNlcnZpY2VSZWZyZXNoUmVxdWVzdBooLmZpdHMuYXBpLnYxLlRva2VuU2VydmljZVJlZnJlc2hSZXNwb25zZSII2PMYAuDzGAFClgEKD2NvbS5maXRzLmFwaS52MUIKVG9rZW5Qcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules, file_google_protobuf_duration, file_google_protobuf_timestamp]);
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Token generates a jwt authentication token to access the api
|
|
@@ -66,9 +66,9 @@ export type Token = Message<"fits.api.v1.Token"> & {
|
|
|
66
66
|
/**
|
|
67
67
|
* Permissions is a list of service methods this token can be used for
|
|
68
68
|
*
|
|
69
|
-
* @generated from field: repeated fits.api.v1.
|
|
69
|
+
* @generated from field: repeated fits.api.v1.PermissionsByVisibility permissions = 5;
|
|
70
70
|
*/
|
|
71
|
-
permissions:
|
|
71
|
+
permissions: PermissionsByVisibility[];
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* Expires gives the date in the future after which this token can not be used anymore
|
|
@@ -99,7 +99,7 @@ export type Token = Message<"fits.api.v1.Token"> & {
|
|
|
99
99
|
projectRoles: { [key: string]: ProjectRole };
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
|
-
* TenantRoles associates a tenant id with the corresponding role of the token owner
|
|
102
|
+
* TenantRoles associates a tenant id with the corresponding role of the token owner.
|
|
103
103
|
*
|
|
104
104
|
* @generated from field: map<string, fits.api.v1.TenantRole> tenant_roles = 10;
|
|
105
105
|
*/
|
|
@@ -134,11 +134,11 @@ export type TokenServiceCreateRequest = Message<"fits.api.v1.TokenServiceCreateR
|
|
|
134
134
|
description: string;
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
|
-
* Permissions is a list of service methods this token can be used for
|
|
137
|
+
* Permissions is a list of service methods this token can be used for.
|
|
138
138
|
*
|
|
139
|
-
* @generated from field: repeated fits.api.v1.
|
|
139
|
+
* @generated from field: repeated fits.api.v1.PermissionsByVisibility permissions = 2;
|
|
140
140
|
*/
|
|
141
|
-
permissions:
|
|
141
|
+
permissions: PermissionsByVisibility[];
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
144
|
* Expires gives the duration since now, after which this token can not be used anymore
|
|
@@ -155,7 +155,7 @@ export type TokenServiceCreateRequest = Message<"fits.api.v1.TokenServiceCreateR
|
|
|
155
155
|
projectRoles: { [key: string]: ProjectRole };
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
|
-
*
|
|
158
|
+
* TenantRoles associates a tenant id with the corresponding role of the token owner.
|
|
159
159
|
*
|
|
160
160
|
* @generated from field: map<string, fits.api.v1.TenantRole> tenant_roles = 5;
|
|
161
161
|
*/
|
|
@@ -216,6 +216,188 @@ export type MethodPermission = Message<"fits.api.v1.MethodPermission"> & {
|
|
|
216
216
|
export const MethodPermissionSchema: GenMessage<MethodPermission> = /*@__PURE__*/
|
|
217
217
|
messageDesc(file_fits_api_v1_token, 2);
|
|
218
218
|
|
|
219
|
+
/**
|
|
220
|
+
* PermissionsByVisibility contains method permissions by visibility.
|
|
221
|
+
*
|
|
222
|
+
* @generated from message fits.api.v1.PermissionsByVisibility
|
|
223
|
+
*/
|
|
224
|
+
export type PermissionsByVisibility = Message<"fits.api.v1.PermissionsByVisibility"> & {
|
|
225
|
+
/**
|
|
226
|
+
* Visibility defines the visibility of the requested method permissions.
|
|
227
|
+
*
|
|
228
|
+
* @generated from oneof fits.api.v1.PermissionsByVisibility.visibility
|
|
229
|
+
*/
|
|
230
|
+
visibility: {
|
|
231
|
+
/**
|
|
232
|
+
* PublicPermissions carries public method permissions.
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: fits.api.v1.PublicPermissions public = 1;
|
|
235
|
+
*/
|
|
236
|
+
value: PublicPermissions;
|
|
237
|
+
case: "public";
|
|
238
|
+
} | {
|
|
239
|
+
/**
|
|
240
|
+
* SelfPermissions carries self method permissions.
|
|
241
|
+
*
|
|
242
|
+
* @generated from field: fits.api.v1.SelfPermissions self = 2;
|
|
243
|
+
*/
|
|
244
|
+
value: SelfPermissions;
|
|
245
|
+
case: "self";
|
|
246
|
+
} | {
|
|
247
|
+
/**
|
|
248
|
+
* ProjectPermissions carries project method permissions.
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: fits.api.v1.ProjectPermissions project = 3;
|
|
251
|
+
*/
|
|
252
|
+
value: ProjectPermissions;
|
|
253
|
+
case: "project";
|
|
254
|
+
} | {
|
|
255
|
+
/**
|
|
256
|
+
* TenantPermissions carries tenant method permissions.
|
|
257
|
+
*
|
|
258
|
+
* @generated from field: fits.api.v1.TenantPermissions tenant = 4;
|
|
259
|
+
*/
|
|
260
|
+
value: TenantPermissions;
|
|
261
|
+
case: "tenant";
|
|
262
|
+
} | {
|
|
263
|
+
/**
|
|
264
|
+
* AdminPermissions carries admin method permissions.
|
|
265
|
+
*
|
|
266
|
+
* @generated from field: fits.api.v1.AdminPermissions admin = 5;
|
|
267
|
+
*/
|
|
268
|
+
value: AdminPermissions;
|
|
269
|
+
case: "admin";
|
|
270
|
+
} | { case: undefined; value?: undefined };
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Describes the message fits.api.v1.PermissionsByVisibility.
|
|
275
|
+
* Use `create(PermissionsByVisibilitySchema)` to create a new message.
|
|
276
|
+
*/
|
|
277
|
+
export const PermissionsByVisibilitySchema: GenMessage<PermissionsByVisibility> = /*@__PURE__*/
|
|
278
|
+
messageDesc(file_fits_api_v1_token, 3);
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* PublicPermissions carries public method permissions.
|
|
282
|
+
*
|
|
283
|
+
* @generated from message fits.api.v1.PublicPermissions
|
|
284
|
+
*/
|
|
285
|
+
export type PublicPermissions = Message<"fits.api.v1.PublicPermissions"> & {
|
|
286
|
+
/**
|
|
287
|
+
* Methods which should be accessible.
|
|
288
|
+
*
|
|
289
|
+
* @generated from field: repeated string methods = 1;
|
|
290
|
+
*/
|
|
291
|
+
methods: string[];
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Describes the message fits.api.v1.PublicPermissions.
|
|
296
|
+
* Use `create(PublicPermissionsSchema)` to create a new message.
|
|
297
|
+
*/
|
|
298
|
+
export const PublicPermissionsSchema: GenMessage<PublicPermissions> = /*@__PURE__*/
|
|
299
|
+
messageDesc(file_fits_api_v1_token, 4);
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* SelfPermissions carries self method permissions.
|
|
303
|
+
*
|
|
304
|
+
* @generated from message fits.api.v1.SelfPermissions
|
|
305
|
+
*/
|
|
306
|
+
export type SelfPermissions = Message<"fits.api.v1.SelfPermissions"> & {
|
|
307
|
+
/**
|
|
308
|
+
* Methods which should be accessible.
|
|
309
|
+
*
|
|
310
|
+
* @generated from field: repeated string methods = 1;
|
|
311
|
+
*/
|
|
312
|
+
methods: string[];
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Describes the message fits.api.v1.SelfPermissions.
|
|
317
|
+
* Use `create(SelfPermissionsSchema)` to create a new message.
|
|
318
|
+
*/
|
|
319
|
+
export const SelfPermissionsSchema: GenMessage<SelfPermissions> = /*@__PURE__*/
|
|
320
|
+
messageDesc(file_fits_api_v1_token, 5);
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* ProjectPermissions carries project method permissions.
|
|
324
|
+
*
|
|
325
|
+
* @generated from message fits.api.v1.ProjectPermissions
|
|
326
|
+
*/
|
|
327
|
+
export type ProjectPermissions = Message<"fits.api.v1.ProjectPermissions"> & {
|
|
328
|
+
/**
|
|
329
|
+
* Project scope for the permissions.
|
|
330
|
+
* Asterisk (*) can be specified to match any subject.
|
|
331
|
+
*
|
|
332
|
+
* @generated from field: string project = 1;
|
|
333
|
+
*/
|
|
334
|
+
project: string;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Methods which should be accessible.
|
|
338
|
+
*
|
|
339
|
+
* @generated from field: repeated string methods = 2;
|
|
340
|
+
*/
|
|
341
|
+
methods: string[];
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Describes the message fits.api.v1.ProjectPermissions.
|
|
346
|
+
* Use `create(ProjectPermissionsSchema)` to create a new message.
|
|
347
|
+
*/
|
|
348
|
+
export const ProjectPermissionsSchema: GenMessage<ProjectPermissions> = /*@__PURE__*/
|
|
349
|
+
messageDesc(file_fits_api_v1_token, 6);
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* TenantPermissions carries tenant method permissions.
|
|
353
|
+
*
|
|
354
|
+
* @generated from message fits.api.v1.TenantPermissions
|
|
355
|
+
*/
|
|
356
|
+
export type TenantPermissions = Message<"fits.api.v1.TenantPermissions"> & {
|
|
357
|
+
/**
|
|
358
|
+
* Login of the tenant.
|
|
359
|
+
* Asterisk (*) can be specified to match any subject.
|
|
360
|
+
*
|
|
361
|
+
* @generated from field: string login = 1;
|
|
362
|
+
*/
|
|
363
|
+
login: string;
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Methods which should be accessible.
|
|
367
|
+
*
|
|
368
|
+
* @generated from field: repeated string methods = 2;
|
|
369
|
+
*/
|
|
370
|
+
methods: string[];
|
|
371
|
+
};
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Describes the message fits.api.v1.TenantPermissions.
|
|
375
|
+
* Use `create(TenantPermissionsSchema)` to create a new message.
|
|
376
|
+
*/
|
|
377
|
+
export const TenantPermissionsSchema: GenMessage<TenantPermissions> = /*@__PURE__*/
|
|
378
|
+
messageDesc(file_fits_api_v1_token, 7);
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* AdminPermissions carries admin method permissions.
|
|
382
|
+
*
|
|
383
|
+
* @generated from message fits.api.v1.AdminPermissions
|
|
384
|
+
*/
|
|
385
|
+
export type AdminPermissions = Message<"fits.api.v1.AdminPermissions"> & {
|
|
386
|
+
/**
|
|
387
|
+
* Methods which should be accessible.
|
|
388
|
+
*
|
|
389
|
+
* @generated from field: repeated string methods = 1;
|
|
390
|
+
*/
|
|
391
|
+
methods: string[];
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Describes the message fits.api.v1.AdminPermissions.
|
|
396
|
+
* Use `create(AdminPermissionsSchema)` to create a new message.
|
|
397
|
+
*/
|
|
398
|
+
export const AdminPermissionsSchema: GenMessage<AdminPermissions> = /*@__PURE__*/
|
|
399
|
+
messageDesc(file_fits_api_v1_token, 8);
|
|
400
|
+
|
|
219
401
|
/**
|
|
220
402
|
* TokenServiceCreateResponse is the response payload of a token create request
|
|
221
403
|
*
|
|
@@ -242,7 +424,7 @@ export type TokenServiceCreateResponse = Message<"fits.api.v1.TokenServiceCreate
|
|
|
242
424
|
* Use `create(TokenServiceCreateResponseSchema)` to create a new message.
|
|
243
425
|
*/
|
|
244
426
|
export const TokenServiceCreateResponseSchema: GenMessage<TokenServiceCreateResponse> = /*@__PURE__*/
|
|
245
|
-
messageDesc(file_fits_api_v1_token,
|
|
427
|
+
messageDesc(file_fits_api_v1_token, 9);
|
|
246
428
|
|
|
247
429
|
/**
|
|
248
430
|
* TokenServiceListRequest is the request payload to list tokens
|
|
@@ -257,7 +439,7 @@ export type TokenServiceListRequest = Message<"fits.api.v1.TokenServiceListReque
|
|
|
257
439
|
* Use `create(TokenServiceListRequestSchema)` to create a new message.
|
|
258
440
|
*/
|
|
259
441
|
export const TokenServiceListRequestSchema: GenMessage<TokenServiceListRequest> = /*@__PURE__*/
|
|
260
|
-
messageDesc(file_fits_api_v1_token,
|
|
442
|
+
messageDesc(file_fits_api_v1_token, 10);
|
|
261
443
|
|
|
262
444
|
/**
|
|
263
445
|
* TokenServiceListResponse is the response payload of a token list request
|
|
@@ -278,7 +460,7 @@ export type TokenServiceListResponse = Message<"fits.api.v1.TokenServiceListResp
|
|
|
278
460
|
* Use `create(TokenServiceListResponseSchema)` to create a new message.
|
|
279
461
|
*/
|
|
280
462
|
export const TokenServiceListResponseSchema: GenMessage<TokenServiceListResponse> = /*@__PURE__*/
|
|
281
|
-
messageDesc(file_fits_api_v1_token,
|
|
463
|
+
messageDesc(file_fits_api_v1_token, 11);
|
|
282
464
|
|
|
283
465
|
/**
|
|
284
466
|
* TokenServiceRevokeRequest is the request payload of a token revoke request
|
|
@@ -299,7 +481,7 @@ export type TokenServiceRevokeRequest = Message<"fits.api.v1.TokenServiceRevokeR
|
|
|
299
481
|
* Use `create(TokenServiceRevokeRequestSchema)` to create a new message.
|
|
300
482
|
*/
|
|
301
483
|
export const TokenServiceRevokeRequestSchema: GenMessage<TokenServiceRevokeRequest> = /*@__PURE__*/
|
|
302
|
-
messageDesc(file_fits_api_v1_token,
|
|
484
|
+
messageDesc(file_fits_api_v1_token, 12);
|
|
303
485
|
|
|
304
486
|
/**
|
|
305
487
|
* TokenServiceRevokeResponse is the response payload of a token revoke request
|
|
@@ -314,7 +496,7 @@ export type TokenServiceRevokeResponse = Message<"fits.api.v1.TokenServiceRevoke
|
|
|
314
496
|
* Use `create(TokenServiceRevokeResponseSchema)` to create a new message.
|
|
315
497
|
*/
|
|
316
498
|
export const TokenServiceRevokeResponseSchema: GenMessage<TokenServiceRevokeResponse> = /*@__PURE__*/
|
|
317
|
-
messageDesc(file_fits_api_v1_token,
|
|
499
|
+
messageDesc(file_fits_api_v1_token, 13);
|
|
318
500
|
|
|
319
501
|
/**
|
|
320
502
|
* TokenServiceUpdateRequest is the request payload of a token update request
|
|
@@ -345,11 +527,11 @@ export type TokenServiceUpdateRequest = Message<"fits.api.v1.TokenServiceUpdateR
|
|
|
345
527
|
description?: string | undefined;
|
|
346
528
|
|
|
347
529
|
/**
|
|
348
|
-
* Permissions is a list of service methods this token can be used for
|
|
530
|
+
* Permissions is a list of service methods this token can be used for.
|
|
349
531
|
*
|
|
350
|
-
* @generated from field: repeated fits.api.v1.
|
|
532
|
+
* @generated from field: repeated fits.api.v1.PermissionsByVisibility permissions = 4;
|
|
351
533
|
*/
|
|
352
|
-
permissions:
|
|
534
|
+
permissions: PermissionsByVisibility[];
|
|
353
535
|
|
|
354
536
|
/**
|
|
355
537
|
* ProjectRoles associates a project id with the corresponding role of the token owner
|
|
@@ -359,7 +541,7 @@ export type TokenServiceUpdateRequest = Message<"fits.api.v1.TokenServiceUpdateR
|
|
|
359
541
|
projectRoles: { [key: string]: ProjectRole };
|
|
360
542
|
|
|
361
543
|
/**
|
|
362
|
-
* TenantRoles associates a tenant id with the corresponding role of the token owner
|
|
544
|
+
* TenantRoles associates a tenant id with the corresponding role of the token owner.
|
|
363
545
|
*
|
|
364
546
|
* @generated from field: map<string, fits.api.v1.TenantRole> tenant_roles = 6;
|
|
365
547
|
*/
|
|
@@ -385,7 +567,7 @@ export type TokenServiceUpdateRequest = Message<"fits.api.v1.TokenServiceUpdateR
|
|
|
385
567
|
* Use `create(TokenServiceUpdateRequestSchema)` to create a new message.
|
|
386
568
|
*/
|
|
387
569
|
export const TokenServiceUpdateRequestSchema: GenMessage<TokenServiceUpdateRequest> = /*@__PURE__*/
|
|
388
|
-
messageDesc(file_fits_api_v1_token,
|
|
570
|
+
messageDesc(file_fits_api_v1_token, 14);
|
|
389
571
|
|
|
390
572
|
/**
|
|
391
573
|
* TokenServiceUpdateResponse is the response payload of a token update request
|
|
@@ -406,7 +588,7 @@ export type TokenServiceUpdateResponse = Message<"fits.api.v1.TokenServiceUpdate
|
|
|
406
588
|
* Use `create(TokenServiceUpdateResponseSchema)` to create a new message.
|
|
407
589
|
*/
|
|
408
590
|
export const TokenServiceUpdateResponseSchema: GenMessage<TokenServiceUpdateResponse> = /*@__PURE__*/
|
|
409
|
-
messageDesc(file_fits_api_v1_token,
|
|
591
|
+
messageDesc(file_fits_api_v1_token, 15);
|
|
410
592
|
|
|
411
593
|
/**
|
|
412
594
|
* TokenServiceGetRequest is the request payload of a token get request
|
|
@@ -427,7 +609,7 @@ export type TokenServiceGetRequest = Message<"fits.api.v1.TokenServiceGetRequest
|
|
|
427
609
|
* Use `create(TokenServiceGetRequestSchema)` to create a new message.
|
|
428
610
|
*/
|
|
429
611
|
export const TokenServiceGetRequestSchema: GenMessage<TokenServiceGetRequest> = /*@__PURE__*/
|
|
430
|
-
messageDesc(file_fits_api_v1_token,
|
|
612
|
+
messageDesc(file_fits_api_v1_token, 16);
|
|
431
613
|
|
|
432
614
|
/**
|
|
433
615
|
* TokenServiceGetResponse is the response payload of a token get request
|
|
@@ -448,7 +630,7 @@ export type TokenServiceGetResponse = Message<"fits.api.v1.TokenServiceGetRespon
|
|
|
448
630
|
* Use `create(TokenServiceGetResponseSchema)` to create a new message.
|
|
449
631
|
*/
|
|
450
632
|
export const TokenServiceGetResponseSchema: GenMessage<TokenServiceGetResponse> = /*@__PURE__*/
|
|
451
|
-
messageDesc(file_fits_api_v1_token,
|
|
633
|
+
messageDesc(file_fits_api_v1_token, 17);
|
|
452
634
|
|
|
453
635
|
/**
|
|
454
636
|
* TokenServiceRefreshRequest is the request payload of a token refresh request
|
|
@@ -465,7 +647,7 @@ export type TokenServiceRefreshRequest = Message<"fits.api.v1.TokenServiceRefres
|
|
|
465
647
|
* Use `create(TokenServiceRefreshRequestSchema)` to create a new message.
|
|
466
648
|
*/
|
|
467
649
|
export const TokenServiceRefreshRequestSchema: GenMessage<TokenServiceRefreshRequest> = /*@__PURE__*/
|
|
468
|
-
messageDesc(file_fits_api_v1_token,
|
|
650
|
+
messageDesc(file_fits_api_v1_token, 18);
|
|
469
651
|
|
|
470
652
|
/**
|
|
471
653
|
* TokenServiceRefreshResponse is the response payload of a token refresh request
|
|
@@ -493,7 +675,7 @@ export type TokenServiceRefreshResponse = Message<"fits.api.v1.TokenServiceRefre
|
|
|
493
675
|
* Use `create(TokenServiceRefreshResponseSchema)` to create a new message.
|
|
494
676
|
*/
|
|
495
677
|
export const TokenServiceRefreshResponseSchema: GenMessage<TokenServiceRefreshResponse> = /*@__PURE__*/
|
|
496
|
-
messageDesc(file_fits_api_v1_token,
|
|
678
|
+
messageDesc(file_fits_api_v1_token, 19);
|
|
497
679
|
|
|
498
680
|
/**
|
|
499
681
|
* TokenType specifies different use cases of tokens
|
|
@@ -1,10 +1,10 @@
|
|
|
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/version.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";
|
|
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
|
/**
|
|
9
9
|
* Describes the file fits/api/v1/version.proto.
|
|
10
10
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
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/version.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 { file_fits_api_v1_common } from "./common_pb";
|
|
9
|
-
import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb";
|
|
7
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
8
|
+
import { file_fits_api_v1_common } from "./common_pb.js";
|
|
9
|
+
import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb.js";
|
|
10
10
|
import type { Message } from "@bufbuild/protobuf";
|
|
11
11
|
|
|
12
12
|
/**
|
package/package.json
CHANGED