@fi-ts/api 0.0.0-pr.18.fe8ea23f → 0.0.0-pr.19.e8a0d4f2
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/location_pb.js +4 -4
- package/fits/api/mvm/v1/location_pb.ts +4 -4
- 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.js +4 -4
- package/fits/api/mvm/v1/vlan_pb.ts +4 -4
- 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 +1 -1
- package/fits/api/v1/predefined_rules_pb.js +2 -2
- package/fits/api/v1/predefined_rules_pb.ts +3 -3
- 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 +1 -1
- package/fits/api/v1/token_pb.js +4 -4
- package/fits/api/v1/token_pb.ts +5 -5
- 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/user_pb.d.ts
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type { Project } from "./project_pb";
|
|
3
|
-
import type { Tenant } from "./tenant_pb";
|
|
4
|
-
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
-
/**
|
|
6
|
-
* Describes the file fits/api/v1/user.proto.
|
|
7
|
-
*/
|
|
8
|
-
export declare const file_fits_api_v1_user: GenFile;
|
|
9
|
-
/**
|
|
10
|
-
* User represents an end user of the platform.
|
|
11
|
-
*
|
|
12
|
-
* @generated from message fits.api.v1.User
|
|
13
|
-
*/
|
|
14
|
-
export type User = Message<"fits.api.v1.User"> & {
|
|
15
|
-
/**
|
|
16
|
-
* Login is the login at the provider
|
|
17
|
-
*
|
|
18
|
-
* @generated from field: string login = 1;
|
|
19
|
-
*/
|
|
20
|
-
login: string;
|
|
21
|
-
/**
|
|
22
|
-
* Name of the user
|
|
23
|
-
*
|
|
24
|
-
* @generated from field: string name = 2;
|
|
25
|
-
*/
|
|
26
|
-
name: string;
|
|
27
|
-
/**
|
|
28
|
-
* Email of the user
|
|
29
|
-
*
|
|
30
|
-
* @generated from field: string email = 3;
|
|
31
|
-
*/
|
|
32
|
-
email: string;
|
|
33
|
-
/**
|
|
34
|
-
* AvatarUrl of the user
|
|
35
|
-
*
|
|
36
|
-
* @generated from field: string avatar_url = 4;
|
|
37
|
-
*/
|
|
38
|
-
avatarUrl: string;
|
|
39
|
-
/**
|
|
40
|
-
* Tenants the user belongs to
|
|
41
|
-
*
|
|
42
|
-
* @generated from field: repeated fits.api.v1.Tenant tenants = 5;
|
|
43
|
-
*/
|
|
44
|
-
tenants: Tenant[];
|
|
45
|
-
/**
|
|
46
|
-
* Projects the user belongs to
|
|
47
|
-
*
|
|
48
|
-
* @generated from field: repeated fits.api.v1.Project projects = 6;
|
|
49
|
-
*/
|
|
50
|
-
projects: Project[];
|
|
51
|
-
/**
|
|
52
|
-
* DefaultTenant this user belongs to
|
|
53
|
-
*
|
|
54
|
-
* @generated from field: fits.api.v1.Tenant default_tenant = 7;
|
|
55
|
-
*/
|
|
56
|
-
defaultTenant?: Tenant | undefined;
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Describes the message fits.api.v1.User.
|
|
60
|
-
* Use `create(UserSchema)` to create a new message.
|
|
61
|
-
*/
|
|
62
|
-
export declare const UserSchema: GenMessage<User>;
|
|
63
|
-
/**
|
|
64
|
-
* UserServiceGetRequest is the request payload for getting the user.
|
|
65
|
-
*
|
|
66
|
-
* @generated from message fits.api.v1.UserServiceGetRequest
|
|
67
|
-
*/
|
|
68
|
-
export type UserServiceGetRequest = Message<"fits.api.v1.UserServiceGetRequest"> & {};
|
|
69
|
-
/**
|
|
70
|
-
* Describes the message fits.api.v1.UserServiceGetRequest.
|
|
71
|
-
* Use `create(UserServiceGetRequestSchema)` to create a new message.
|
|
72
|
-
*/
|
|
73
|
-
export declare const UserServiceGetRequestSchema: GenMessage<UserServiceGetRequest>;
|
|
74
|
-
/**
|
|
75
|
-
* UserServiceGetResponse is the response payload for getting the user.
|
|
76
|
-
*
|
|
77
|
-
* @generated from message fits.api.v1.UserServiceGetResponse
|
|
78
|
-
*/
|
|
79
|
-
export type UserServiceGetResponse = Message<"fits.api.v1.UserServiceGetResponse"> & {
|
|
80
|
-
/**
|
|
81
|
-
* User contains the authenticated user
|
|
82
|
-
*
|
|
83
|
-
* @generated from field: fits.api.v1.User user = 1;
|
|
84
|
-
*/
|
|
85
|
-
user?: User | undefined;
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* Describes the message fits.api.v1.UserServiceGetResponse.
|
|
89
|
-
* Use `create(UserServiceGetResponseSchema)` to create a new message.
|
|
90
|
-
*/
|
|
91
|
-
export declare const UserServiceGetResponseSchema: GenMessage<UserServiceGetResponse>;
|
|
92
|
-
/**
|
|
93
|
-
* UserService provides user information operations.
|
|
94
|
-
*
|
|
95
|
-
* @generated from service fits.api.v1.UserService
|
|
96
|
-
*/
|
|
97
|
-
export declare const UserService: GenService<{
|
|
98
|
-
/**
|
|
99
|
-
* Returns the authenticated user.
|
|
100
|
-
*
|
|
101
|
-
* @generated from rpc fits.api.v1.UserService.Get
|
|
102
|
-
*/
|
|
103
|
-
get: {
|
|
104
|
-
methodKind: "unary";
|
|
105
|
-
input: typeof UserServiceGetRequestSchema;
|
|
106
|
-
output: typeof UserServiceGetResponseSchema;
|
|
107
|
-
};
|
|
108
|
-
}>;
|
package/fits/api/v1/user_pb.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file fits/api/v1/user.proto (package fits.api.v1, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
-
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
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_fits_api_v1_project } from "./project_pb";
|
|
9
|
-
import { file_fits_api_v1_tenant } from "./tenant_pb";
|
|
10
|
-
/**
|
|
11
|
-
* Describes the file fits/api/v1/user.proto.
|
|
12
|
-
*/
|
|
13
|
-
export const file_fits_api_v1_user = /*@__PURE__*/ fileDesc("ChZmaXRzL2FwaS92MS91c2VyLnByb3RvEgtmaXRzLmFwaS52MSLOAQoEVXNlchINCgVsb2dpbhgBIAEoCRIZCgRuYW1lGAIgASgJQgu6SAhyBsCzrrECARINCgVlbWFpbBgDIAEoCRISCgphdmF0YXJfdXJsGAQgASgJEiQKB3RlbmFudHMYBSADKAsyEy5maXRzLmFwaS52MS5UZW5hbnQSJgoIcHJvamVjdHMYBiADKAsyFC5maXRzLmFwaS52MS5Qcm9qZWN0EisKDmRlZmF1bHRfdGVuYW50GAcgASgLMhMuZml0cy5hcGkudjEuVGVuYW50IhcKFVVzZXJTZXJ2aWNlR2V0UmVxdWVzdCI5ChZVc2VyU2VydmljZUdldFJlc3BvbnNlEh8KBHVzZXIYASABKAsyES5maXRzLmFwaS52MS5Vc2VyMmcKC1VzZXJTZXJ2aWNlElgKA0dldBIiLmZpdHMuYXBpLnYxLlVzZXJTZXJ2aWNlR2V0UmVxdWVzdBojLmZpdHMuYXBpLnYxLlVzZXJTZXJ2aWNlR2V0UmVzcG9uc2UiCNjzGALg8xgBQpUBCg9jb20uZml0cy5hcGkudjFCCVVzZXJQcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules, file_fits_api_v1_project, file_fits_api_v1_tenant]);
|
|
14
|
-
/**
|
|
15
|
-
* Describes the message fits.api.v1.User.
|
|
16
|
-
* Use `create(UserSchema)` to create a new message.
|
|
17
|
-
*/
|
|
18
|
-
export const UserSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_user, 0);
|
|
19
|
-
/**
|
|
20
|
-
* Describes the message fits.api.v1.UserServiceGetRequest.
|
|
21
|
-
* Use `create(UserServiceGetRequestSchema)` to create a new message.
|
|
22
|
-
*/
|
|
23
|
-
export const UserServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_user, 1);
|
|
24
|
-
/**
|
|
25
|
-
* Describes the message fits.api.v1.UserServiceGetResponse.
|
|
26
|
-
* Use `create(UserServiceGetResponseSchema)` to create a new message.
|
|
27
|
-
*/
|
|
28
|
-
export const UserServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_user, 2);
|
|
29
|
-
/**
|
|
30
|
-
* UserService provides user information operations.
|
|
31
|
-
*
|
|
32
|
-
* @generated from service fits.api.v1.UserService
|
|
33
|
-
*/
|
|
34
|
-
export const UserService = /*@__PURE__*/ serviceDesc(file_fits_api_v1_user, 0);
|
package/fits/api/v1/user_pb.ts
DELETED
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file fits/api/v1/user.proto (package fits.api.v1, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
-
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
-
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
|
-
import { file_fits_api_v1_common } from "./common_pb";
|
|
9
|
-
import { file_fits_api_v1_predefined_rules } from "./predefined_rules_pb";
|
|
10
|
-
import type { Project } from "./project_pb";
|
|
11
|
-
import { file_fits_api_v1_project } from "./project_pb";
|
|
12
|
-
import type { Tenant } from "./tenant_pb";
|
|
13
|
-
import { file_fits_api_v1_tenant } from "./tenant_pb";
|
|
14
|
-
import type { Message } from "@bufbuild/protobuf";
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Describes the file fits/api/v1/user.proto.
|
|
18
|
-
*/
|
|
19
|
-
export const file_fits_api_v1_user: GenFile = /*@__PURE__*/
|
|
20
|
-
fileDesc("ChZmaXRzL2FwaS92MS91c2VyLnByb3RvEgtmaXRzLmFwaS52MSLOAQoEVXNlchINCgVsb2dpbhgBIAEoCRIZCgRuYW1lGAIgASgJQgu6SAhyBsCzrrECARINCgVlbWFpbBgDIAEoCRISCgphdmF0YXJfdXJsGAQgASgJEiQKB3RlbmFudHMYBSADKAsyEy5maXRzLmFwaS52MS5UZW5hbnQSJgoIcHJvamVjdHMYBiADKAsyFC5maXRzLmFwaS52MS5Qcm9qZWN0EisKDmRlZmF1bHRfdGVuYW50GAcgASgLMhMuZml0cy5hcGkudjEuVGVuYW50IhcKFVVzZXJTZXJ2aWNlR2V0UmVxdWVzdCI5ChZVc2VyU2VydmljZUdldFJlc3BvbnNlEh8KBHVzZXIYASABKAsyES5maXRzLmFwaS52MS5Vc2VyMmcKC1VzZXJTZXJ2aWNlElgKA0dldBIiLmZpdHMuYXBpLnYxLlVzZXJTZXJ2aWNlR2V0UmVxdWVzdBojLmZpdHMuYXBpLnYxLlVzZXJTZXJ2aWNlR2V0UmVzcG9uc2UiCNjzGALg8xgBQpUBCg9jb20uZml0cy5hcGkudjFCCVVzZXJQcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules, file_fits_api_v1_project, file_fits_api_v1_tenant]);
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* User represents an end user of the platform.
|
|
24
|
-
*
|
|
25
|
-
* @generated from message fits.api.v1.User
|
|
26
|
-
*/
|
|
27
|
-
export type User = Message<"fits.api.v1.User"> & {
|
|
28
|
-
/**
|
|
29
|
-
* Login is the login at the provider
|
|
30
|
-
*
|
|
31
|
-
* @generated from field: string login = 1;
|
|
32
|
-
*/
|
|
33
|
-
login: string;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Name of the user
|
|
37
|
-
*
|
|
38
|
-
* @generated from field: string name = 2;
|
|
39
|
-
*/
|
|
40
|
-
name: string;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Email of the user
|
|
44
|
-
*
|
|
45
|
-
* @generated from field: string email = 3;
|
|
46
|
-
*/
|
|
47
|
-
email: string;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* AvatarUrl of the user
|
|
51
|
-
*
|
|
52
|
-
* @generated from field: string avatar_url = 4;
|
|
53
|
-
*/
|
|
54
|
-
avatarUrl: string;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Tenants the user belongs to
|
|
58
|
-
*
|
|
59
|
-
* @generated from field: repeated fits.api.v1.Tenant tenants = 5;
|
|
60
|
-
*/
|
|
61
|
-
tenants: Tenant[];
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Projects the user belongs to
|
|
65
|
-
*
|
|
66
|
-
* @generated from field: repeated fits.api.v1.Project projects = 6;
|
|
67
|
-
*/
|
|
68
|
-
projects: Project[];
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* DefaultTenant this user belongs to
|
|
72
|
-
*
|
|
73
|
-
* @generated from field: fits.api.v1.Tenant default_tenant = 7;
|
|
74
|
-
*/
|
|
75
|
-
defaultTenant?: Tenant | undefined;
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Describes the message fits.api.v1.User.
|
|
80
|
-
* Use `create(UserSchema)` to create a new message.
|
|
81
|
-
*/
|
|
82
|
-
export const UserSchema: GenMessage<User> = /*@__PURE__*/
|
|
83
|
-
messageDesc(file_fits_api_v1_user, 0);
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* UserServiceGetRequest is the request payload for getting the user.
|
|
87
|
-
*
|
|
88
|
-
* @generated from message fits.api.v1.UserServiceGetRequest
|
|
89
|
-
*/
|
|
90
|
-
export type UserServiceGetRequest = Message<"fits.api.v1.UserServiceGetRequest"> & {
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Describes the message fits.api.v1.UserServiceGetRequest.
|
|
95
|
-
* Use `create(UserServiceGetRequestSchema)` to create a new message.
|
|
96
|
-
*/
|
|
97
|
-
export const UserServiceGetRequestSchema: GenMessage<UserServiceGetRequest> = /*@__PURE__*/
|
|
98
|
-
messageDesc(file_fits_api_v1_user, 1);
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* UserServiceGetResponse is the response payload for getting the user.
|
|
102
|
-
*
|
|
103
|
-
* @generated from message fits.api.v1.UserServiceGetResponse
|
|
104
|
-
*/
|
|
105
|
-
export type UserServiceGetResponse = Message<"fits.api.v1.UserServiceGetResponse"> & {
|
|
106
|
-
/**
|
|
107
|
-
* User contains the authenticated user
|
|
108
|
-
*
|
|
109
|
-
* @generated from field: fits.api.v1.User user = 1;
|
|
110
|
-
*/
|
|
111
|
-
user?: User | undefined;
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Describes the message fits.api.v1.UserServiceGetResponse.
|
|
116
|
-
* Use `create(UserServiceGetResponseSchema)` to create a new message.
|
|
117
|
-
*/
|
|
118
|
-
export const UserServiceGetResponseSchema: GenMessage<UserServiceGetResponse> = /*@__PURE__*/
|
|
119
|
-
messageDesc(file_fits_api_v1_user, 2);
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* UserService provides user information operations.
|
|
123
|
-
*
|
|
124
|
-
* @generated from service fits.api.v1.UserService
|
|
125
|
-
*/
|
|
126
|
-
export const UserService: GenService<{
|
|
127
|
-
/**
|
|
128
|
-
* Returns the authenticated user.
|
|
129
|
-
*
|
|
130
|
-
* @generated from rpc fits.api.v1.UserService.Get
|
|
131
|
-
*/
|
|
132
|
-
get: {
|
|
133
|
-
methodKind: "unary";
|
|
134
|
-
input: typeof UserServiceGetRequestSchema;
|
|
135
|
-
output: typeof UserServiceGetResponseSchema;
|
|
136
|
-
},
|
|
137
|
-
}> = /*@__PURE__*/
|
|
138
|
-
serviceDesc(file_fits_api_v1_user, 0);
|
|
139
|
-
|