@metal-stack/api 0.4.4 → 0.5.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/{js/Makefile → Makefile} +5 -2
- package/bun.lock +74 -0
- package/client-test.d.ts +1 -0
- package/client-test.js +45 -0
- package/client-test.ts +49 -0
- package/client.d.ts +97 -0
- package/client.js +347 -0
- package/client.ts +662 -0
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/component_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/component_pb.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/image_pb.d.ts +16 -16
- package/{js/metalstack → metalstack}/admin/v2/image_pb.ts +16 -16
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.d.ts +47 -55
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.js +1 -1
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.ts +48 -55
- package/{js/metalstack → metalstack}/admin/v2/network_pb.d.ts +195 -37
- package/{js/metalstack → metalstack}/admin/v2/network_pb.js +36 -5
- package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +222 -42
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.d.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/project_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/project_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.d.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_pb.d.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_pb.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.d.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/task_pb.d.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/task_pb.js +8 -8
- package/{js/metalstack → metalstack}/admin/v2/task_pb.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.d.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/token_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/token_pb.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.d.ts +13 -13
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.ts +13 -13
- package/{js/metalstack → metalstack}/api/v2/audit_pb.d.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/audit_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/audit_pb.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/common_pb.d.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/common_pb.js +47 -47
- package/{js/metalstack → metalstack}/api/v2/common_pb.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/component_pb.d.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/component_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/component_pb.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.d.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.js +23 -23
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/health_pb.d.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/health_pb.js +13 -13
- package/{js/metalstack → metalstack}/api/v2/health_pb.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/image_pb.d.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/image_pb.js +9 -9
- package/{js/metalstack → metalstack}/api/v2/image_pb.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/ip_pb.d.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/ip_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/ip_pb.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/machine_pb.d.ts +422 -374
- package/{js/metalstack → metalstack}/api/v2/machine_pb.js +94 -89
- package/{js/metalstack → metalstack}/api/v2/machine_pb.ts +453 -396
- package/{js/metalstack → metalstack}/api/v2/method_pb.d.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/method_pb.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/network_pb.d.ts +146 -98
- package/{js/metalstack → metalstack}/api/v2/network_pb.js +30 -20
- package/{js/metalstack → metalstack}/api/v2/network_pb.ts +158 -102
- package/{js/metalstack → metalstack}/api/v2/partition_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/partition_pb.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.d.ts +30 -24
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.js +40 -34
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.ts +42 -34
- package/{js/metalstack → metalstack}/api/v2/project_pb.d.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/project_pb.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.d.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_pb.js +6 -6
- package/{js/metalstack → metalstack}/api/v2/size_pb.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.d.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/switch_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/switch_pb.js +1 -1
- package/{js/metalstack → metalstack}/api/v2/switch_pb.ts +9 -9
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.d.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/token_pb.d.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/token_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/token_pb.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/user_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/user_pb.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/version_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/version_pb.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.ts +6 -6
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.d.ts +15 -17
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.js +1 -1
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.ts +16 -16
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.d.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/component_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/component_pb.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/event_pb.d.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/event_pb.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.d.ts +12 -12
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.ts +12 -12
- package/package.json +4 -3
- package/test-interceptor.d.ts +9 -0
- package/test-interceptor.js +33 -0
- package/test-interceptor.ts +49 -0
- package/tsconfig.json +14 -0
- package/LICENSE +0 -21
- package/README.md +0 -117
- package/js/tsconfig.json +0 -70
- /package/{js/buf → buf}/validate/validate_pb.d.ts +0 -0
- /package/{js/buf → buf}/validate/validate_pb.js +0 -0
- /package/{js/buf → buf}/validate/validate_pb.ts +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/audit_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/image_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/ip_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/switch_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/token_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/method_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/user_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/version_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/boot_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/event_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/switch_pb.js +0 -0
|
@@ -7,49 +7,49 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const file_metalstack_api_v2_tenant: GenFile;
|
|
9
9
|
/**
|
|
10
|
-
* Tenant is a customer of the platform
|
|
10
|
+
* Tenant is a customer of the platform.
|
|
11
11
|
*
|
|
12
12
|
* @generated from message metalstack.api.v2.Tenant
|
|
13
13
|
*/
|
|
14
14
|
export type Tenant = Message<"metalstack.api.v2.Tenant"> & {
|
|
15
15
|
/**
|
|
16
|
-
* Login of the tenant
|
|
16
|
+
* Login of the tenant.
|
|
17
17
|
*
|
|
18
18
|
* @generated from field: string login = 1;
|
|
19
19
|
*/
|
|
20
20
|
login: string;
|
|
21
21
|
/**
|
|
22
|
-
* Meta for this tenant
|
|
22
|
+
* Meta for this tenant.
|
|
23
23
|
*
|
|
24
24
|
* @generated from field: metalstack.api.v2.Meta meta = 2;
|
|
25
25
|
*/
|
|
26
26
|
meta?: Meta | undefined;
|
|
27
27
|
/**
|
|
28
|
-
* Name of the tenant
|
|
28
|
+
* Name of the tenant.
|
|
29
29
|
*
|
|
30
30
|
* @generated from field: string name = 3;
|
|
31
31
|
*/
|
|
32
32
|
name: string;
|
|
33
33
|
/**
|
|
34
|
-
* Email of the tenant
|
|
34
|
+
* Email of the tenant.
|
|
35
35
|
*
|
|
36
36
|
* @generated from field: string email = 4;
|
|
37
37
|
*/
|
|
38
38
|
email: string;
|
|
39
39
|
/**
|
|
40
|
-
* Description of this tenant
|
|
40
|
+
* Description of this tenant.
|
|
41
41
|
*
|
|
42
42
|
* @generated from field: string description = 5;
|
|
43
43
|
*/
|
|
44
44
|
description: string;
|
|
45
45
|
/**
|
|
46
|
-
* AvatarUrl of the tenant
|
|
46
|
+
* AvatarUrl of the tenant.
|
|
47
47
|
*
|
|
48
48
|
* @generated from field: string avatar_url = 6;
|
|
49
49
|
*/
|
|
50
50
|
avatarUrl: string;
|
|
51
51
|
/**
|
|
52
|
-
* CreatedBy stores who created this tenant
|
|
52
|
+
* CreatedBy stores who created this tenant.
|
|
53
53
|
*
|
|
54
54
|
* @generated from field: string created_by = 7;
|
|
55
55
|
*/
|
|
@@ -61,37 +61,37 @@ export type Tenant = Message<"metalstack.api.v2.Tenant"> & {
|
|
|
61
61
|
*/
|
|
62
62
|
export declare const TenantSchema: GenMessage<Tenant>;
|
|
63
63
|
/**
|
|
64
|
-
* TenantMember defines a user that participates in a tenant
|
|
64
|
+
* TenantMember defines a user that participates in a tenant.
|
|
65
65
|
*
|
|
66
66
|
* @generated from message metalstack.api.v2.TenantMember
|
|
67
67
|
*/
|
|
68
68
|
export type TenantMember = Message<"metalstack.api.v2.TenantMember"> & {
|
|
69
69
|
/**
|
|
70
|
-
* Id is the user id of the member
|
|
70
|
+
* Id is the user id of the member.
|
|
71
71
|
*
|
|
72
72
|
* @generated from field: string id = 1;
|
|
73
73
|
*/
|
|
74
74
|
id: string;
|
|
75
75
|
/**
|
|
76
|
-
* Role is the role of the member
|
|
76
|
+
* Role is the role of the member.
|
|
77
77
|
*
|
|
78
78
|
* @generated from field: metalstack.api.v2.TenantRole role = 2;
|
|
79
79
|
*/
|
|
80
80
|
role: TenantRole;
|
|
81
81
|
/**
|
|
82
|
-
* Projects in which a user is a direct member
|
|
82
|
+
* Projects in which a user is a direct member.
|
|
83
83
|
*
|
|
84
84
|
* @generated from field: repeated string projects = 3;
|
|
85
85
|
*/
|
|
86
86
|
projects: string[];
|
|
87
87
|
/**
|
|
88
|
-
* CreatedAt the date when the member was added to the tenant
|
|
88
|
+
* CreatedAt the date when the member was added to the tenant.
|
|
89
89
|
*
|
|
90
90
|
* @generated from field: google.protobuf.Timestamp created_at = 4;
|
|
91
91
|
*/
|
|
92
92
|
createdAt?: Timestamp | undefined;
|
|
93
93
|
/**
|
|
94
|
-
* Meta for this tenant member
|
|
94
|
+
* Meta for this tenant member.
|
|
95
95
|
*
|
|
96
96
|
* @generated from field: metalstack.api.v2.Meta meta = 5;
|
|
97
97
|
*/
|
|
@@ -103,61 +103,61 @@ export type TenantMember = Message<"metalstack.api.v2.TenantMember"> & {
|
|
|
103
103
|
*/
|
|
104
104
|
export declare const TenantMemberSchema: GenMessage<TenantMember>;
|
|
105
105
|
/**
|
|
106
|
-
* TenantInvite defines invite to tenant
|
|
106
|
+
* TenantInvite defines invite to tenant.
|
|
107
107
|
*
|
|
108
108
|
* @generated from message metalstack.api.v2.TenantInvite
|
|
109
109
|
*/
|
|
110
110
|
export type TenantInvite = Message<"metalstack.api.v2.TenantInvite"> & {
|
|
111
111
|
/**
|
|
112
|
-
* Secret is the secret part of the invite, typically part of the url
|
|
112
|
+
* Secret is the secret part of the invite, typically part of the url.
|
|
113
113
|
*
|
|
114
114
|
* @generated from field: string secret = 1;
|
|
115
115
|
*/
|
|
116
116
|
secret: string;
|
|
117
117
|
/**
|
|
118
|
-
* TargetTenant is the tenant id for which this invite was created
|
|
118
|
+
* TargetTenant is the tenant id for which this invite was created.
|
|
119
119
|
*
|
|
120
120
|
* @generated from field: string target_tenant = 2;
|
|
121
121
|
*/
|
|
122
122
|
targetTenant: string;
|
|
123
123
|
/**
|
|
124
|
-
* Role is the role in this tenant the user will get after accepting the invitation
|
|
124
|
+
* Role is the role in this tenant the user will get after accepting the invitation.
|
|
125
125
|
*
|
|
126
126
|
* @generated from field: metalstack.api.v2.TenantRole role = 3;
|
|
127
127
|
*/
|
|
128
128
|
role: TenantRole;
|
|
129
129
|
/**
|
|
130
|
-
* Joined is false as long as a user has not accepted the invite
|
|
130
|
+
* Joined is false as long as a user has not accepted the invite.
|
|
131
131
|
*
|
|
132
132
|
* @generated from field: bool joined = 4;
|
|
133
133
|
*/
|
|
134
134
|
joined: boolean;
|
|
135
135
|
/**
|
|
136
|
-
* TargetTenantName is the tenant name for which this invite was created
|
|
136
|
+
* TargetTenantName is the tenant name for which this invite was created.
|
|
137
137
|
*
|
|
138
138
|
* @generated from field: string target_tenant_name = 5;
|
|
139
139
|
*/
|
|
140
140
|
targetTenantName: string;
|
|
141
141
|
/**
|
|
142
|
-
* Tenant is the login of the tenant inviting another user to join this tenant
|
|
142
|
+
* Tenant is the login of the tenant inviting another user to join this tenant.
|
|
143
143
|
*
|
|
144
144
|
* @generated from field: string tenant = 6;
|
|
145
145
|
*/
|
|
146
146
|
tenant: string;
|
|
147
147
|
/**
|
|
148
|
-
* TenantName is the name of the tenant inviting another user to join this tenant
|
|
148
|
+
* TenantName is the name of the tenant inviting another user to join this tenant.
|
|
149
149
|
*
|
|
150
150
|
* @generated from field: string tenant_name = 7;
|
|
151
151
|
*/
|
|
152
152
|
tenantName: string;
|
|
153
153
|
/**
|
|
154
|
-
* ExpiresAt the date when this invite expires
|
|
154
|
+
* ExpiresAt the date when this invite expires.
|
|
155
155
|
*
|
|
156
156
|
* @generated from field: google.protobuf.Timestamp expires_at = 8;
|
|
157
157
|
*/
|
|
158
158
|
expiresAt?: Timestamp | undefined;
|
|
159
159
|
/**
|
|
160
|
-
* JoinedAt the date when the member accepted this invite
|
|
160
|
+
* JoinedAt the date when the member accepted this invite.
|
|
161
161
|
*
|
|
162
162
|
* @generated from field: google.protobuf.Timestamp joined_at = 9;
|
|
163
163
|
*/
|
|
@@ -169,13 +169,13 @@ export type TenantInvite = Message<"metalstack.api.v2.TenantInvite"> & {
|
|
|
169
169
|
*/
|
|
170
170
|
export declare const TenantInviteSchema: GenMessage<TenantInvite>;
|
|
171
171
|
/**
|
|
172
|
-
* TenantServiceListRequest is the request payload of the tenant list request
|
|
172
|
+
* TenantServiceListRequest is the request payload of the tenant list request.
|
|
173
173
|
*
|
|
174
174
|
* @generated from message metalstack.api.v2.TenantServiceListRequest
|
|
175
175
|
*/
|
|
176
176
|
export type TenantServiceListRequest = Message<"metalstack.api.v2.TenantServiceListRequest"> & {
|
|
177
177
|
/**
|
|
178
|
-
* Query for tenants
|
|
178
|
+
* Query for tenants.
|
|
179
179
|
*
|
|
180
180
|
* @generated from field: metalstack.api.v2.TenantQuery query = 1;
|
|
181
181
|
*/
|
|
@@ -187,31 +187,31 @@ export type TenantServiceListRequest = Message<"metalstack.api.v2.TenantServiceL
|
|
|
187
187
|
*/
|
|
188
188
|
export declare const TenantServiceListRequestSchema: GenMessage<TenantServiceListRequest>;
|
|
189
189
|
/**
|
|
190
|
-
* TenantQuery is used to search tenants
|
|
190
|
+
* TenantQuery is used to search tenants.
|
|
191
191
|
*
|
|
192
192
|
* @generated from message metalstack.api.v2.TenantQuery
|
|
193
193
|
*/
|
|
194
194
|
export type TenantQuery = Message<"metalstack.api.v2.TenantQuery"> & {
|
|
195
195
|
/**
|
|
196
|
-
* Id filters tenants by login
|
|
196
|
+
* Id filters tenants by login.
|
|
197
197
|
*
|
|
198
198
|
* @generated from field: optional string login = 1;
|
|
199
199
|
*/
|
|
200
200
|
login?: string | undefined;
|
|
201
201
|
/**
|
|
202
|
-
* Name filters tenants by name
|
|
202
|
+
* Name filters tenants by name.
|
|
203
203
|
*
|
|
204
204
|
* @generated from field: optional string name = 2;
|
|
205
205
|
*/
|
|
206
206
|
name?: string | undefined;
|
|
207
207
|
/**
|
|
208
|
-
* Labels lists only projects containing the given labels
|
|
208
|
+
* Labels lists only projects containing the given labels.
|
|
209
209
|
*
|
|
210
210
|
* @generated from field: optional metalstack.api.v2.Labels labels = 3;
|
|
211
211
|
*/
|
|
212
212
|
labels?: Labels | undefined;
|
|
213
213
|
/**
|
|
214
|
-
* Paging details for the list request
|
|
214
|
+
* Paging details for the list request.
|
|
215
215
|
*
|
|
216
216
|
* @generated from field: metalstack.api.v2.Paging paging = 4;
|
|
217
217
|
*/
|
|
@@ -223,13 +223,13 @@ export type TenantQuery = Message<"metalstack.api.v2.TenantQuery"> & {
|
|
|
223
223
|
*/
|
|
224
224
|
export declare const TenantQuerySchema: GenMessage<TenantQuery>;
|
|
225
225
|
/**
|
|
226
|
-
* TenantServiceGetRequest is the request payload of the tenant get request
|
|
226
|
+
* TenantServiceGetRequest is the request payload of the tenant get request.
|
|
227
227
|
*
|
|
228
228
|
* @generated from message metalstack.api.v2.TenantServiceGetRequest
|
|
229
229
|
*/
|
|
230
230
|
export type TenantServiceGetRequest = Message<"metalstack.api.v2.TenantServiceGetRequest"> & {
|
|
231
231
|
/**
|
|
232
|
-
* Login of the tenant
|
|
232
|
+
* Login of the tenant.
|
|
233
233
|
*
|
|
234
234
|
* @generated from field: string login = 1;
|
|
235
235
|
*/
|
|
@@ -241,37 +241,37 @@ export type TenantServiceGetRequest = Message<"metalstack.api.v2.TenantServiceGe
|
|
|
241
241
|
*/
|
|
242
242
|
export declare const TenantServiceGetRequestSchema: GenMessage<TenantServiceGetRequest>;
|
|
243
243
|
/**
|
|
244
|
-
* TenantServiceCreateRequest is the request payload of the tenant create request
|
|
244
|
+
* TenantServiceCreateRequest is the request payload of the tenant create request.
|
|
245
245
|
*
|
|
246
246
|
* @generated from message metalstack.api.v2.TenantServiceCreateRequest
|
|
247
247
|
*/
|
|
248
248
|
export type TenantServiceCreateRequest = Message<"metalstack.api.v2.TenantServiceCreateRequest"> & {
|
|
249
249
|
/**
|
|
250
|
-
* Name of this tenant
|
|
250
|
+
* Name of this tenant.
|
|
251
251
|
*
|
|
252
252
|
* @generated from field: string name = 1;
|
|
253
253
|
*/
|
|
254
254
|
name: string;
|
|
255
255
|
/**
|
|
256
|
-
* Description of this tenant
|
|
256
|
+
* Description of this tenant.
|
|
257
257
|
*
|
|
258
258
|
* @generated from field: optional string description = 2;
|
|
259
259
|
*/
|
|
260
260
|
description?: string | undefined;
|
|
261
261
|
/**
|
|
262
|
-
* Email of the tenant, if not set will be inherited from the creator
|
|
262
|
+
* Email of the tenant, if not set will be inherited from the creator.
|
|
263
263
|
*
|
|
264
264
|
* @generated from field: optional string email = 3;
|
|
265
265
|
*/
|
|
266
266
|
email?: string | undefined;
|
|
267
267
|
/**
|
|
268
|
-
* AvatarUrl of the tenant
|
|
268
|
+
* AvatarUrl of the tenant.
|
|
269
269
|
*
|
|
270
270
|
* @generated from field: optional string avatar_url = 4;
|
|
271
271
|
*/
|
|
272
272
|
avatarUrl?: string | undefined;
|
|
273
273
|
/**
|
|
274
|
-
* Labels on the tenant
|
|
274
|
+
* Labels on the tenant.
|
|
275
275
|
*
|
|
276
276
|
* @generated from field: metalstack.api.v2.Labels labels = 5;
|
|
277
277
|
*/
|
|
@@ -283,49 +283,49 @@ export type TenantServiceCreateRequest = Message<"metalstack.api.v2.TenantServic
|
|
|
283
283
|
*/
|
|
284
284
|
export declare const TenantServiceCreateRequestSchema: GenMessage<TenantServiceCreateRequest>;
|
|
285
285
|
/**
|
|
286
|
-
* TenantServiceUpdateRequest is the request payload of the tenant update request
|
|
286
|
+
* TenantServiceUpdateRequest is the request payload of the tenant update request.
|
|
287
287
|
*
|
|
288
288
|
* @generated from message metalstack.api.v2.TenantServiceUpdateRequest
|
|
289
289
|
*/
|
|
290
290
|
export type TenantServiceUpdateRequest = Message<"metalstack.api.v2.TenantServiceUpdateRequest"> & {
|
|
291
291
|
/**
|
|
292
|
-
* Login of the tenant
|
|
292
|
+
* Login of the tenant.
|
|
293
293
|
*
|
|
294
294
|
* @generated from field: string login = 1;
|
|
295
295
|
*/
|
|
296
296
|
login: string;
|
|
297
297
|
/**
|
|
298
|
-
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
298
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request.
|
|
299
299
|
*
|
|
300
300
|
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
301
301
|
*/
|
|
302
302
|
updateMeta?: UpdateMeta | undefined;
|
|
303
303
|
/**
|
|
304
|
-
* Name of the tenant
|
|
304
|
+
* Name of the tenant.
|
|
305
305
|
*
|
|
306
306
|
* @generated from field: optional string name = 3;
|
|
307
307
|
*/
|
|
308
308
|
name?: string | undefined;
|
|
309
309
|
/**
|
|
310
|
-
* Email of the tenant
|
|
310
|
+
* Email of the tenant.
|
|
311
311
|
*
|
|
312
312
|
* @generated from field: optional string email = 4;
|
|
313
313
|
*/
|
|
314
314
|
email?: string | undefined;
|
|
315
315
|
/**
|
|
316
|
-
* Description of this tenant
|
|
316
|
+
* Description of this tenant.
|
|
317
317
|
*
|
|
318
318
|
* @generated from field: optional string description = 5;
|
|
319
319
|
*/
|
|
320
320
|
description?: string | undefined;
|
|
321
321
|
/**
|
|
322
|
-
* AvatarUrl of the tenant
|
|
322
|
+
* AvatarUrl of the tenant.
|
|
323
323
|
*
|
|
324
324
|
* @generated from field: optional string avatar_url = 6;
|
|
325
325
|
*/
|
|
326
326
|
avatarUrl?: string | undefined;
|
|
327
327
|
/**
|
|
328
|
-
* Labels on the tenant
|
|
328
|
+
* Labels on the tenant.
|
|
329
329
|
*
|
|
330
330
|
* @generated from field: optional metalstack.api.v2.UpdateLabels labels = 7;
|
|
331
331
|
*/
|
|
@@ -337,13 +337,13 @@ export type TenantServiceUpdateRequest = Message<"metalstack.api.v2.TenantServic
|
|
|
337
337
|
*/
|
|
338
338
|
export declare const TenantServiceUpdateRequestSchema: GenMessage<TenantServiceUpdateRequest>;
|
|
339
339
|
/**
|
|
340
|
-
* TenantServiceDeleteRequest is the request payload of the tenant delete request
|
|
340
|
+
* TenantServiceDeleteRequest is the request payload of the tenant delete request.
|
|
341
341
|
*
|
|
342
342
|
* @generated from message metalstack.api.v2.TenantServiceDeleteRequest
|
|
343
343
|
*/
|
|
344
344
|
export type TenantServiceDeleteRequest = Message<"metalstack.api.v2.TenantServiceDeleteRequest"> & {
|
|
345
345
|
/**
|
|
346
|
-
* Login of the tenant
|
|
346
|
+
* Login of the tenant.
|
|
347
347
|
*
|
|
348
348
|
* @generated from field: string login = 1;
|
|
349
349
|
*/
|
|
@@ -355,19 +355,19 @@ export type TenantServiceDeleteRequest = Message<"metalstack.api.v2.TenantServic
|
|
|
355
355
|
*/
|
|
356
356
|
export declare const TenantServiceDeleteRequestSchema: GenMessage<TenantServiceDeleteRequest>;
|
|
357
357
|
/**
|
|
358
|
-
* TenantServiceGetResponse is the response payload of the tenant get request
|
|
358
|
+
* TenantServiceGetResponse is the response payload of the tenant get request.
|
|
359
359
|
*
|
|
360
360
|
* @generated from message metalstack.api.v2.TenantServiceGetResponse
|
|
361
361
|
*/
|
|
362
362
|
export type TenantServiceGetResponse = Message<"metalstack.api.v2.TenantServiceGetResponse"> & {
|
|
363
363
|
/**
|
|
364
|
-
* Tenant is the tenant
|
|
364
|
+
* Tenant is the tenant.
|
|
365
365
|
*
|
|
366
366
|
* @generated from field: metalstack.api.v2.Tenant tenant = 1;
|
|
367
367
|
*/
|
|
368
368
|
tenant?: Tenant | undefined;
|
|
369
369
|
/**
|
|
370
|
-
* TenantMembers of this tenant
|
|
370
|
+
* TenantMembers of this tenant.
|
|
371
371
|
*
|
|
372
372
|
* @generated from field: repeated metalstack.api.v2.TenantMember tenant_members = 2;
|
|
373
373
|
*/
|
|
@@ -379,13 +379,13 @@ export type TenantServiceGetResponse = Message<"metalstack.api.v2.TenantServiceG
|
|
|
379
379
|
*/
|
|
380
380
|
export declare const TenantServiceGetResponseSchema: GenMessage<TenantServiceGetResponse>;
|
|
381
381
|
/**
|
|
382
|
-
* TenantServiceListResponse is the response payload of the tenant list request
|
|
382
|
+
* TenantServiceListResponse is the response payload of the tenant list request.
|
|
383
383
|
*
|
|
384
384
|
* @generated from message metalstack.api.v2.TenantServiceListResponse
|
|
385
385
|
*/
|
|
386
386
|
export type TenantServiceListResponse = Message<"metalstack.api.v2.TenantServiceListResponse"> & {
|
|
387
387
|
/**
|
|
388
|
-
* Tenants is the list of tenants
|
|
388
|
+
* Tenants is the list of tenants.
|
|
389
389
|
*
|
|
390
390
|
* @generated from field: repeated metalstack.api.v2.Tenant tenants = 1;
|
|
391
391
|
*/
|
|
@@ -397,13 +397,13 @@ export type TenantServiceListResponse = Message<"metalstack.api.v2.TenantService
|
|
|
397
397
|
*/
|
|
398
398
|
export declare const TenantServiceListResponseSchema: GenMessage<TenantServiceListResponse>;
|
|
399
399
|
/**
|
|
400
|
-
* TenantServiceCreateResponse is the response payload of the tenant create request
|
|
400
|
+
* TenantServiceCreateResponse is the response payload of the tenant create request.
|
|
401
401
|
*
|
|
402
402
|
* @generated from message metalstack.api.v2.TenantServiceCreateResponse
|
|
403
403
|
*/
|
|
404
404
|
export type TenantServiceCreateResponse = Message<"metalstack.api.v2.TenantServiceCreateResponse"> & {
|
|
405
405
|
/**
|
|
406
|
-
* Tenant is the tenant
|
|
406
|
+
* Tenant is the tenant.
|
|
407
407
|
*
|
|
408
408
|
* @generated from field: metalstack.api.v2.Tenant tenant = 1;
|
|
409
409
|
*/
|
|
@@ -415,13 +415,13 @@ export type TenantServiceCreateResponse = Message<"metalstack.api.v2.TenantServi
|
|
|
415
415
|
*/
|
|
416
416
|
export declare const TenantServiceCreateResponseSchema: GenMessage<TenantServiceCreateResponse>;
|
|
417
417
|
/**
|
|
418
|
-
* TenantServiceUpdateResponse is the response payload of the tenant update request
|
|
418
|
+
* TenantServiceUpdateResponse is the response payload of the tenant update request.
|
|
419
419
|
*
|
|
420
420
|
* @generated from message metalstack.api.v2.TenantServiceUpdateResponse
|
|
421
421
|
*/
|
|
422
422
|
export type TenantServiceUpdateResponse = Message<"metalstack.api.v2.TenantServiceUpdateResponse"> & {
|
|
423
423
|
/**
|
|
424
|
-
* Tenant is the tenant
|
|
424
|
+
* Tenant is the tenant.
|
|
425
425
|
*
|
|
426
426
|
* @generated from field: metalstack.api.v2.Tenant tenant = 1;
|
|
427
427
|
*/
|
|
@@ -433,13 +433,13 @@ export type TenantServiceUpdateResponse = Message<"metalstack.api.v2.TenantServi
|
|
|
433
433
|
*/
|
|
434
434
|
export declare const TenantServiceUpdateResponseSchema: GenMessage<TenantServiceUpdateResponse>;
|
|
435
435
|
/**
|
|
436
|
-
* TenantServiceDeleteResponse is the response payload of the tenant delete request
|
|
436
|
+
* TenantServiceDeleteResponse is the response payload of the tenant delete request.
|
|
437
437
|
*
|
|
438
438
|
* @generated from message metalstack.api.v2.TenantServiceDeleteResponse
|
|
439
439
|
*/
|
|
440
440
|
export type TenantServiceDeleteResponse = Message<"metalstack.api.v2.TenantServiceDeleteResponse"> & {
|
|
441
441
|
/**
|
|
442
|
-
* Tenant is the tenant
|
|
442
|
+
* Tenant is the tenant.
|
|
443
443
|
*
|
|
444
444
|
* @generated from field: metalstack.api.v2.Tenant tenant = 1;
|
|
445
445
|
*/
|
|
@@ -451,19 +451,19 @@ export type TenantServiceDeleteResponse = Message<"metalstack.api.v2.TenantServi
|
|
|
451
451
|
*/
|
|
452
452
|
export declare const TenantServiceDeleteResponseSchema: GenMessage<TenantServiceDeleteResponse>;
|
|
453
453
|
/**
|
|
454
|
-
* TenantServiceInviteRequest is used to invite a member to a tenant
|
|
454
|
+
* TenantServiceInviteRequest is used to invite a member to a tenant.
|
|
455
455
|
*
|
|
456
456
|
* @generated from message metalstack.api.v2.TenantServiceInviteRequest
|
|
457
457
|
*/
|
|
458
458
|
export type TenantServiceInviteRequest = Message<"metalstack.api.v2.TenantServiceInviteRequest"> & {
|
|
459
459
|
/**
|
|
460
|
-
* Login of the tenant
|
|
460
|
+
* Login of the tenant.
|
|
461
461
|
*
|
|
462
462
|
* @generated from field: string login = 1;
|
|
463
463
|
*/
|
|
464
464
|
login: string;
|
|
465
465
|
/**
|
|
466
|
-
* Role of this user in this tenant
|
|
466
|
+
* Role of this user in this tenant.
|
|
467
467
|
*
|
|
468
468
|
* @generated from field: metalstack.api.v2.TenantRole role = 2;
|
|
469
469
|
*/
|
|
@@ -475,15 +475,13 @@ export type TenantServiceInviteRequest = Message<"metalstack.api.v2.TenantServic
|
|
|
475
475
|
*/
|
|
476
476
|
export declare const TenantServiceInviteRequestSchema: GenMessage<TenantServiceInviteRequest>;
|
|
477
477
|
/**
|
|
478
|
-
* TenantServiceInviteRequest is the response payload to a invite member request
|
|
478
|
+
* TenantServiceInviteRequest is the response payload to a invite member request.
|
|
479
479
|
*
|
|
480
480
|
* @generated from message metalstack.api.v2.TenantServiceInviteResponse
|
|
481
481
|
*/
|
|
482
482
|
export type TenantServiceInviteResponse = Message<"metalstack.api.v2.TenantServiceInviteResponse"> & {
|
|
483
483
|
/**
|
|
484
|
-
* Invite contains a secret which can be sent to a potential user
|
|
485
|
-
* can be appended to the invitation endpoint at our cloud console like
|
|
486
|
-
* console.metalstack.cloud/invite/<secret>
|
|
484
|
+
* Invite contains a secret which can be sent to a potential user.
|
|
487
485
|
*
|
|
488
486
|
* @generated from field: metalstack.api.v2.TenantInvite invite = 1;
|
|
489
487
|
*/
|
|
@@ -495,13 +493,13 @@ export type TenantServiceInviteResponse = Message<"metalstack.api.v2.TenantServi
|
|
|
495
493
|
*/
|
|
496
494
|
export declare const TenantServiceInviteResponseSchema: GenMessage<TenantServiceInviteResponse>;
|
|
497
495
|
/**
|
|
498
|
-
* TenantServiceInvitesListRequest is the request payload to a list invites request
|
|
496
|
+
* TenantServiceInvitesListRequest is the request payload to a list invites request.
|
|
499
497
|
*
|
|
500
498
|
* @generated from message metalstack.api.v2.TenantServiceInvitesListRequest
|
|
501
499
|
*/
|
|
502
500
|
export type TenantServiceInvitesListRequest = Message<"metalstack.api.v2.TenantServiceInvitesListRequest"> & {
|
|
503
501
|
/**
|
|
504
|
-
* Login of the tenant
|
|
502
|
+
* Login of the tenant.
|
|
505
503
|
*
|
|
506
504
|
* @generated from field: string login = 1;
|
|
507
505
|
*/
|
|
@@ -513,13 +511,13 @@ export type TenantServiceInvitesListRequest = Message<"metalstack.api.v2.TenantS
|
|
|
513
511
|
*/
|
|
514
512
|
export declare const TenantServiceInvitesListRequestSchema: GenMessage<TenantServiceInvitesListRequest>;
|
|
515
513
|
/**
|
|
516
|
-
* TenantServiceInvitesListResponse is the response payload to a list invites request
|
|
514
|
+
* TenantServiceInvitesListResponse is the response payload to a list invites request.
|
|
517
515
|
*
|
|
518
516
|
* @generated from message metalstack.api.v2.TenantServiceInvitesListResponse
|
|
519
517
|
*/
|
|
520
518
|
export type TenantServiceInvitesListResponse = Message<"metalstack.api.v2.TenantServiceInvitesListResponse"> & {
|
|
521
519
|
/**
|
|
522
|
-
* Invites that have not yet accepted the invitation to this tenant
|
|
520
|
+
* Invites that have not yet accepted the invitation to this tenant.
|
|
523
521
|
*
|
|
524
522
|
* @generated from field: repeated metalstack.api.v2.TenantInvite invites = 1;
|
|
525
523
|
*/
|
|
@@ -531,13 +529,13 @@ export type TenantServiceInvitesListResponse = Message<"metalstack.api.v2.Tenant
|
|
|
531
529
|
*/
|
|
532
530
|
export declare const TenantServiceInvitesListResponseSchema: GenMessage<TenantServiceInvitesListResponse>;
|
|
533
531
|
/**
|
|
534
|
-
* TenantServiceInviteGetRequest is the request payload to get a invite
|
|
532
|
+
* TenantServiceInviteGetRequest is the request payload to get a invite.
|
|
535
533
|
*
|
|
536
534
|
* @generated from message metalstack.api.v2.TenantServiceInviteGetRequest
|
|
537
535
|
*/
|
|
538
536
|
export type TenantServiceInviteGetRequest = Message<"metalstack.api.v2.TenantServiceInviteGetRequest"> & {
|
|
539
537
|
/**
|
|
540
|
-
* Secret of the invite to get
|
|
538
|
+
* Secret of the invite to get.
|
|
541
539
|
*
|
|
542
540
|
* @generated from field: string secret = 1;
|
|
543
541
|
*/
|
|
@@ -549,13 +547,13 @@ export type TenantServiceInviteGetRequest = Message<"metalstack.api.v2.TenantSer
|
|
|
549
547
|
*/
|
|
550
548
|
export declare const TenantServiceInviteGetRequestSchema: GenMessage<TenantServiceInviteGetRequest>;
|
|
551
549
|
/**
|
|
552
|
-
* TenantServiceInviteGetResponse is the response payload to a get invite request
|
|
550
|
+
* TenantServiceInviteGetResponse is the response payload to a get invite request.
|
|
553
551
|
*
|
|
554
552
|
* @generated from message metalstack.api.v2.TenantServiceInviteGetResponse
|
|
555
553
|
*/
|
|
556
554
|
export type TenantServiceInviteGetResponse = Message<"metalstack.api.v2.TenantServiceInviteGetResponse"> & {
|
|
557
555
|
/**
|
|
558
|
-
* Invite is the invite
|
|
556
|
+
* Invite is the invite.
|
|
559
557
|
*
|
|
560
558
|
* @generated from field: metalstack.api.v2.TenantInvite invite = 1;
|
|
561
559
|
*/
|
|
@@ -567,19 +565,19 @@ export type TenantServiceInviteGetResponse = Message<"metalstack.api.v2.TenantSe
|
|
|
567
565
|
*/
|
|
568
566
|
export declare const TenantServiceInviteGetResponseSchema: GenMessage<TenantServiceInviteGetResponse>;
|
|
569
567
|
/**
|
|
570
|
-
* TenantServiceRemoveMemberRequest is used to remove a member from a tenant
|
|
568
|
+
* TenantServiceRemoveMemberRequest is used to remove a member from a tenant.
|
|
571
569
|
*
|
|
572
570
|
* @generated from message metalstack.api.v2.TenantServiceRemoveMemberRequest
|
|
573
571
|
*/
|
|
574
572
|
export type TenantServiceRemoveMemberRequest = Message<"metalstack.api.v2.TenantServiceRemoveMemberRequest"> & {
|
|
575
573
|
/**
|
|
576
|
-
* Login of the tenant
|
|
574
|
+
* Login of the tenant.
|
|
577
575
|
*
|
|
578
576
|
* @generated from field: string login = 1;
|
|
579
577
|
*/
|
|
580
578
|
login: string;
|
|
581
579
|
/**
|
|
582
|
-
* Member is the id of the member to remove from this tenant
|
|
580
|
+
* Member is the id of the member to remove from this tenant.
|
|
583
581
|
*
|
|
584
582
|
* @generated from field: string member = 2;
|
|
585
583
|
*/
|
|
@@ -591,13 +589,13 @@ export type TenantServiceRemoveMemberRequest = Message<"metalstack.api.v2.Tenant
|
|
|
591
589
|
*/
|
|
592
590
|
export declare const TenantServiceRemoveMemberRequestSchema: GenMessage<TenantServiceRemoveMemberRequest>;
|
|
593
591
|
/**
|
|
594
|
-
* TenantServiceLeaveTenantRequest is used to leave a tenant
|
|
592
|
+
* TenantServiceLeaveTenantRequest is used to leave a tenant.
|
|
595
593
|
*
|
|
596
594
|
* @generated from message metalstack.api.v2.TenantServiceLeaveRequest
|
|
597
595
|
*/
|
|
598
596
|
export type TenantServiceLeaveRequest = Message<"metalstack.api.v2.TenantServiceLeaveRequest"> & {
|
|
599
597
|
/**
|
|
600
|
-
* Login of the tenant
|
|
598
|
+
* Login of the tenant.
|
|
601
599
|
*
|
|
602
600
|
* @generated from field: string login = 1;
|
|
603
601
|
*/
|
|
@@ -609,7 +607,7 @@ export type TenantServiceLeaveRequest = Message<"metalstack.api.v2.TenantService
|
|
|
609
607
|
*/
|
|
610
608
|
export declare const TenantServiceLeaveRequestSchema: GenMessage<TenantServiceLeaveRequest>;
|
|
611
609
|
/**
|
|
612
|
-
* TenantServiceLeaveTenantResponse is the response payload to a leave tenant request
|
|
610
|
+
* TenantServiceLeaveTenantResponse is the response payload to a leave tenant request.
|
|
613
611
|
*
|
|
614
612
|
* @generated from message metalstack.api.v2.TenantServiceLeaveResponse
|
|
615
613
|
*/
|
|
@@ -620,13 +618,13 @@ export type TenantServiceLeaveResponse = Message<"metalstack.api.v2.TenantServic
|
|
|
620
618
|
*/
|
|
621
619
|
export declare const TenantServiceLeaveResponseSchema: GenMessage<TenantServiceLeaveResponse>;
|
|
622
620
|
/**
|
|
623
|
-
* TenantServiceRemoveMemberResponse is the response payload to a remove member request
|
|
621
|
+
* TenantServiceRemoveMemberResponse is the response payload to a remove member request.
|
|
624
622
|
*
|
|
625
623
|
* @generated from message metalstack.api.v2.TenantServiceRemoveMemberResponse
|
|
626
624
|
*/
|
|
627
625
|
export type TenantServiceRemoveMemberResponse = Message<"metalstack.api.v2.TenantServiceRemoveMemberResponse"> & {
|
|
628
626
|
/**
|
|
629
|
-
* TenantMember is the removed tenant member
|
|
627
|
+
* TenantMember is the removed tenant member.
|
|
630
628
|
*
|
|
631
629
|
* @generated from field: metalstack.api.v2.TenantMember tenant_member = 1;
|
|
632
630
|
*/
|
|
@@ -638,13 +636,13 @@ export type TenantServiceRemoveMemberResponse = Message<"metalstack.api.v2.Tenan
|
|
|
638
636
|
*/
|
|
639
637
|
export declare const TenantServiceRemoveMemberResponseSchema: GenMessage<TenantServiceRemoveMemberResponse>;
|
|
640
638
|
/**
|
|
641
|
-
* TenantServiceInviteAcceptRequest is the request payload to a accept invite request
|
|
639
|
+
* TenantServiceInviteAcceptRequest is the request payload to a accept invite request.
|
|
642
640
|
*
|
|
643
641
|
* @generated from message metalstack.api.v2.TenantServiceInviteAcceptRequest
|
|
644
642
|
*/
|
|
645
643
|
export type TenantServiceInviteAcceptRequest = Message<"metalstack.api.v2.TenantServiceInviteAcceptRequest"> & {
|
|
646
644
|
/**
|
|
647
|
-
* Secret is the invitation secret part of the invitation url
|
|
645
|
+
* Secret is the invitation secret part of the invitation url.
|
|
648
646
|
*
|
|
649
647
|
* @generated from field: string secret = 1;
|
|
650
648
|
*/
|
|
@@ -656,19 +654,19 @@ export type TenantServiceInviteAcceptRequest = Message<"metalstack.api.v2.Tenant
|
|
|
656
654
|
*/
|
|
657
655
|
export declare const TenantServiceInviteAcceptRequestSchema: GenMessage<TenantServiceInviteAcceptRequest>;
|
|
658
656
|
/**
|
|
659
|
-
* TenantServiceInviteAcceptResponse is the response payload to a accept invite request
|
|
657
|
+
* TenantServiceInviteAcceptResponse is the response payload to a accept invite request.
|
|
660
658
|
*
|
|
661
659
|
* @generated from message metalstack.api.v2.TenantServiceInviteAcceptResponse
|
|
662
660
|
*/
|
|
663
661
|
export type TenantServiceInviteAcceptResponse = Message<"metalstack.api.v2.TenantServiceInviteAcceptResponse"> & {
|
|
664
662
|
/**
|
|
665
|
-
* Tenant ID of the joined tenant
|
|
663
|
+
* Tenant ID of the joined tenant.
|
|
666
664
|
*
|
|
667
665
|
* @generated from field: string tenant = 1;
|
|
668
666
|
*/
|
|
669
667
|
tenant: string;
|
|
670
668
|
/**
|
|
671
|
-
* TenantName of the joined tenant
|
|
669
|
+
* TenantName of the joined tenant.
|
|
672
670
|
*
|
|
673
671
|
* @generated from field: string tenant_name = 2;
|
|
674
672
|
*/
|
|
@@ -680,19 +678,19 @@ export type TenantServiceInviteAcceptResponse = Message<"metalstack.api.v2.Tenan
|
|
|
680
678
|
*/
|
|
681
679
|
export declare const TenantServiceInviteAcceptResponseSchema: GenMessage<TenantServiceInviteAcceptResponse>;
|
|
682
680
|
/**
|
|
683
|
-
* TenantServiceInviteDeleteRequest is the request payload to a delete invite
|
|
681
|
+
* TenantServiceInviteDeleteRequest is the request payload to a delete invite.
|
|
684
682
|
*
|
|
685
683
|
* @generated from message metalstack.api.v2.TenantServiceInviteDeleteRequest
|
|
686
684
|
*/
|
|
687
685
|
export type TenantServiceInviteDeleteRequest = Message<"metalstack.api.v2.TenantServiceInviteDeleteRequest"> & {
|
|
688
686
|
/**
|
|
689
|
-
* Login of the tenant
|
|
687
|
+
* Login of the tenant.
|
|
690
688
|
*
|
|
691
689
|
* @generated from field: string login = 1;
|
|
692
690
|
*/
|
|
693
691
|
login: string;
|
|
694
692
|
/**
|
|
695
|
-
* Secret of the invite to delete
|
|
693
|
+
* Secret of the invite to delete.
|
|
696
694
|
*
|
|
697
695
|
* @generated from field: string secret = 2;
|
|
698
696
|
*/
|
|
@@ -704,7 +702,7 @@ export type TenantServiceInviteDeleteRequest = Message<"metalstack.api.v2.Tenant
|
|
|
704
702
|
*/
|
|
705
703
|
export declare const TenantServiceInviteDeleteRequestSchema: GenMessage<TenantServiceInviteDeleteRequest>;
|
|
706
704
|
/**
|
|
707
|
-
* TenantServiceInviteDeleteResponse is the response payload of a delete invite request
|
|
705
|
+
* TenantServiceInviteDeleteResponse is the response payload of a delete invite request.
|
|
708
706
|
*
|
|
709
707
|
* @generated from message metalstack.api.v2.TenantServiceInviteDeleteResponse
|
|
710
708
|
*/
|
|
@@ -715,25 +713,25 @@ export type TenantServiceInviteDeleteResponse = Message<"metalstack.api.v2.Tenan
|
|
|
715
713
|
*/
|
|
716
714
|
export declare const TenantServiceInviteDeleteResponseSchema: GenMessage<TenantServiceInviteDeleteResponse>;
|
|
717
715
|
/**
|
|
718
|
-
* TenantServiceAddMemberRequest is the request payload for adding a member to a tenant
|
|
716
|
+
* TenantServiceAddMemberRequest is the request payload for adding a member to a tenant.
|
|
719
717
|
*
|
|
720
718
|
* @generated from message metalstack.api.v2.TenantServiceAddMemberRequest
|
|
721
719
|
*/
|
|
722
720
|
export type TenantServiceAddMemberRequest = Message<"metalstack.api.v2.TenantServiceAddMemberRequest"> & {
|
|
723
721
|
/**
|
|
724
|
-
* Login of the tenant to which the member will be added
|
|
722
|
+
* Login of the tenant to which the member will be added.
|
|
725
723
|
*
|
|
726
724
|
* @generated from field: string login = 1;
|
|
727
725
|
*/
|
|
728
726
|
login: string;
|
|
729
727
|
/**
|
|
730
|
-
* Login of the member to add
|
|
728
|
+
* Login of the member to add.
|
|
731
729
|
*
|
|
732
730
|
* @generated from field: string member = 2;
|
|
733
731
|
*/
|
|
734
732
|
member: string;
|
|
735
733
|
/**
|
|
736
|
-
* Role to assign to the new member
|
|
734
|
+
* Role to assign to the new member.
|
|
737
735
|
*
|
|
738
736
|
* @generated from field: metalstack.api.v2.TenantRole role = 3;
|
|
739
737
|
*/
|
|
@@ -745,13 +743,13 @@ export type TenantServiceAddMemberRequest = Message<"metalstack.api.v2.TenantSer
|
|
|
745
743
|
*/
|
|
746
744
|
export declare const TenantServiceAddMemberRequestSchema: GenMessage<TenantServiceAddMemberRequest>;
|
|
747
745
|
/**
|
|
748
|
-
* TenantServiceAddMemberResponse is the response payload for the add member request
|
|
746
|
+
* TenantServiceAddMemberResponse is the response payload for the add member request.
|
|
749
747
|
*
|
|
750
748
|
* @generated from message metalstack.api.v2.TenantServiceAddMemberResponse
|
|
751
749
|
*/
|
|
752
750
|
export type TenantServiceAddMemberResponse = Message<"metalstack.api.v2.TenantServiceAddMemberResponse"> & {
|
|
753
751
|
/**
|
|
754
|
-
* TenantMember is the added tenant member
|
|
752
|
+
* TenantMember is the added tenant member.
|
|
755
753
|
*
|
|
756
754
|
* @generated from field: metalstack.api.v2.TenantMember tenant_member = 1;
|
|
757
755
|
*/
|
|
@@ -763,25 +761,25 @@ export type TenantServiceAddMemberResponse = Message<"metalstack.api.v2.TenantSe
|
|
|
763
761
|
*/
|
|
764
762
|
export declare const TenantServiceAddMemberResponseSchema: GenMessage<TenantServiceAddMemberResponse>;
|
|
765
763
|
/**
|
|
766
|
-
* TenantServiceUpdateMemberRequest is used to update a member from a tenant
|
|
764
|
+
* TenantServiceUpdateMemberRequest is used to update a member from a tenant.
|
|
767
765
|
*
|
|
768
766
|
* @generated from message metalstack.api.v2.TenantServiceUpdateMemberRequest
|
|
769
767
|
*/
|
|
770
768
|
export type TenantServiceUpdateMemberRequest = Message<"metalstack.api.v2.TenantServiceUpdateMemberRequest"> & {
|
|
771
769
|
/**
|
|
772
|
-
* Login of the tenant
|
|
770
|
+
* Login of the tenant.
|
|
773
771
|
*
|
|
774
772
|
* @generated from field: string login = 1;
|
|
775
773
|
*/
|
|
776
774
|
login: string;
|
|
777
775
|
/**
|
|
778
|
-
* Member is the id of the member to update in this tenant
|
|
776
|
+
* Member is the id of the member to update in this tenant.
|
|
779
777
|
*
|
|
780
778
|
* @generated from field: string member = 2;
|
|
781
779
|
*/
|
|
782
780
|
member: string;
|
|
783
781
|
/**
|
|
784
|
-
* Role of this user in this tenant
|
|
782
|
+
* Role of this user in this tenant.
|
|
785
783
|
*
|
|
786
784
|
* @generated from field: metalstack.api.v2.TenantRole role = 3;
|
|
787
785
|
*/
|
|
@@ -793,13 +791,13 @@ export type TenantServiceUpdateMemberRequest = Message<"metalstack.api.v2.Tenant
|
|
|
793
791
|
*/
|
|
794
792
|
export declare const TenantServiceUpdateMemberRequestSchema: GenMessage<TenantServiceUpdateMemberRequest>;
|
|
795
793
|
/**
|
|
796
|
-
* TenantServiceUpdateMemberResponse is the response payload to a update member request
|
|
794
|
+
* TenantServiceUpdateMemberResponse is the response payload to a update member request.
|
|
797
795
|
*
|
|
798
796
|
* @generated from message metalstack.api.v2.TenantServiceUpdateMemberResponse
|
|
799
797
|
*/
|
|
800
798
|
export type TenantServiceUpdateMemberResponse = Message<"metalstack.api.v2.TenantServiceUpdateMemberResponse"> & {
|
|
801
799
|
/**
|
|
802
|
-
* TenantMember is the updated membership
|
|
800
|
+
* TenantMember is the updated membership.
|
|
803
801
|
*
|
|
804
802
|
* @generated from field: metalstack.api.v2.TenantMember tenant_member = 1;
|
|
805
803
|
*/
|
|
@@ -837,7 +835,7 @@ export declare const TenantService: GenService<{
|
|
|
837
835
|
output: typeof TenantServiceListResponseSchema;
|
|
838
836
|
};
|
|
839
837
|
/**
|
|
840
|
-
* Get a tenant
|
|
838
|
+
* Get a tenant.
|
|
841
839
|
*
|
|
842
840
|
* @generated from rpc metalstack.api.v2.TenantService.Get
|
|
843
841
|
*/
|
|
@@ -847,7 +845,7 @@ export declare const TenantService: GenService<{
|
|
|
847
845
|
output: typeof TenantServiceGetResponseSchema;
|
|
848
846
|
};
|
|
849
847
|
/**
|
|
850
|
-
* Update a tenant
|
|
848
|
+
* Update a tenant.
|
|
851
849
|
*
|
|
852
850
|
* @generated from rpc metalstack.api.v2.TenantService.Update
|
|
853
851
|
*/
|
|
@@ -857,7 +855,7 @@ export declare const TenantService: GenService<{
|
|
|
857
855
|
output: typeof TenantServiceUpdateResponseSchema;
|
|
858
856
|
};
|
|
859
857
|
/**
|
|
860
|
-
* Delete a tenant
|
|
858
|
+
* Delete a tenant.
|
|
861
859
|
*
|
|
862
860
|
* @generated from rpc metalstack.api.v2.TenantService.Delete
|
|
863
861
|
*/
|
|
@@ -867,7 +865,7 @@ export declare const TenantService: GenService<{
|
|
|
867
865
|
output: typeof TenantServiceDeleteResponseSchema;
|
|
868
866
|
};
|
|
869
867
|
/**
|
|
870
|
-
* Leave removes a member from a tenant
|
|
868
|
+
* Leave removes a member from a tenant.
|
|
871
869
|
*
|
|
872
870
|
* @generated from rpc metalstack.api.v2.TenantService.Leave
|
|
873
871
|
*/
|
|
@@ -877,7 +875,7 @@ export declare const TenantService: GenService<{
|
|
|
877
875
|
output: typeof TenantServiceLeaveResponseSchema;
|
|
878
876
|
};
|
|
879
877
|
/**
|
|
880
|
-
* AddMember adds a member to a tenant
|
|
878
|
+
* AddMember adds a member to a tenant.
|
|
881
879
|
*
|
|
882
880
|
* @generated from rpc metalstack.api.v2.TenantService.AddMember
|
|
883
881
|
*/
|
|
@@ -887,7 +885,7 @@ export declare const TenantService: GenService<{
|
|
|
887
885
|
output: typeof TenantServiceAddMemberResponseSchema;
|
|
888
886
|
};
|
|
889
887
|
/**
|
|
890
|
-
* RemoveMember removes a member from a tenant
|
|
888
|
+
* RemoveMember removes a member from a tenant.
|
|
891
889
|
*
|
|
892
890
|
* @generated from rpc metalstack.api.v2.TenantService.RemoveMember
|
|
893
891
|
*/
|
|
@@ -897,7 +895,7 @@ export declare const TenantService: GenService<{
|
|
|
897
895
|
output: typeof TenantServiceRemoveMemberResponseSchema;
|
|
898
896
|
};
|
|
899
897
|
/**
|
|
900
|
-
* UpdateMember update a member of a tenant
|
|
898
|
+
* UpdateMember update a member of a tenant.
|
|
901
899
|
*
|
|
902
900
|
* @generated from rpc metalstack.api.v2.TenantService.UpdateMember
|
|
903
901
|
*/
|
|
@@ -907,7 +905,7 @@ export declare const TenantService: GenService<{
|
|
|
907
905
|
output: typeof TenantServiceUpdateMemberResponseSchema;
|
|
908
906
|
};
|
|
909
907
|
/**
|
|
910
|
-
* Invite a user to a tenant
|
|
908
|
+
* Invite a user to a tenant.
|
|
911
909
|
*
|
|
912
910
|
* @generated from rpc metalstack.api.v2.TenantService.Invite
|
|
913
911
|
*/
|
|
@@ -917,7 +915,7 @@ export declare const TenantService: GenService<{
|
|
|
917
915
|
output: typeof TenantServiceInviteResponseSchema;
|
|
918
916
|
};
|
|
919
917
|
/**
|
|
920
|
-
* InviteAccept is called from a user to accept an invitation
|
|
918
|
+
* InviteAccept is called from a user to accept an invitation.
|
|
921
919
|
*
|
|
922
920
|
* @generated from rpc metalstack.api.v2.TenantService.InviteAccept
|
|
923
921
|
*/
|
|
@@ -927,7 +925,7 @@ export declare const TenantService: GenService<{
|
|
|
927
925
|
output: typeof TenantServiceInviteAcceptResponseSchema;
|
|
928
926
|
};
|
|
929
927
|
/**
|
|
930
|
-
* InviteDelete deletes a pending invitation
|
|
928
|
+
* InviteDelete deletes a pending invitation.
|
|
931
929
|
*
|
|
932
930
|
* @generated from rpc metalstack.api.v2.TenantService.InviteDelete
|
|
933
931
|
*/
|
|
@@ -937,7 +935,7 @@ export declare const TenantService: GenService<{
|
|
|
937
935
|
output: typeof TenantServiceInviteDeleteResponseSchema;
|
|
938
936
|
};
|
|
939
937
|
/**
|
|
940
|
-
* InvitesList list all invites to a tenant
|
|
938
|
+
* InvitesList list all invites to a tenant.
|
|
941
939
|
*
|
|
942
940
|
* @generated from rpc metalstack.api.v2.TenantService.InvitesList
|
|
943
941
|
*/
|
|
@@ -947,7 +945,7 @@ export declare const TenantService: GenService<{
|
|
|
947
945
|
output: typeof TenantServiceInvitesListResponseSchema;
|
|
948
946
|
};
|
|
949
947
|
/**
|
|
950
|
-
* InviteGet get an invite
|
|
948
|
+
* InviteGet get an invite.
|
|
951
949
|
*
|
|
952
950
|
* @generated from rpc metalstack.api.v2.TenantService.InviteGet
|
|
953
951
|
*/
|