@candesk/contracts 6.19.0 → 6.20.0
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/dist/gen/account.d.ts +2 -0
- package/dist/nest/account.d.ts +2 -0
- package/package.json +1 -1
- package/proto/account.proto +2 -0
package/dist/gen/account.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export interface GetAccountResponse {
|
|
|
19
19
|
role: Role;
|
|
20
20
|
isTelegramLinked: boolean;
|
|
21
21
|
isIdentityVerified: boolean;
|
|
22
|
+
isOwner: boolean;
|
|
22
23
|
}
|
|
23
24
|
export interface InitEmailChangeRequest {
|
|
24
25
|
email: string;
|
|
@@ -133,6 +134,7 @@ export interface StaffAccount {
|
|
|
133
134
|
role: Role;
|
|
134
135
|
createdAt: string;
|
|
135
136
|
isActive: boolean;
|
|
137
|
+
isOwner: boolean;
|
|
136
138
|
}
|
|
137
139
|
export interface AccountService {
|
|
138
140
|
getAccount(request: GetAccountRequest): Promise<GetAccountResponse>;
|
package/dist/nest/account.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export interface GetAccountResponse {
|
|
|
20
20
|
role: Role;
|
|
21
21
|
isTelegramLinked: boolean;
|
|
22
22
|
isIdentityVerified: boolean;
|
|
23
|
+
isOwner: boolean;
|
|
23
24
|
}
|
|
24
25
|
export interface InitEmailChangeRequest {
|
|
25
26
|
email: string;
|
|
@@ -134,6 +135,7 @@ export interface StaffAccount {
|
|
|
134
135
|
role: Role;
|
|
135
136
|
createdAt: string;
|
|
136
137
|
isActive: boolean;
|
|
138
|
+
isOwner: boolean;
|
|
137
139
|
}
|
|
138
140
|
export declare const ACCOUNT_V1_PACKAGE_NAME = "account.v1";
|
|
139
141
|
export interface AccountServiceClient {
|
package/package.json
CHANGED
package/proto/account.proto
CHANGED
|
@@ -39,6 +39,7 @@ message GetAccountResponse {
|
|
|
39
39
|
Role role = 6;
|
|
40
40
|
bool is_telegram_linked = 7;
|
|
41
41
|
bool is_identity_verified = 8;
|
|
42
|
+
bool is_owner = 9;
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
message InitEmailChangeRequest {
|
|
@@ -177,6 +178,7 @@ message StaffAccount {
|
|
|
177
178
|
Role role = 3;
|
|
178
179
|
string created_at = 4;
|
|
179
180
|
bool is_active = 5;
|
|
181
|
+
bool is_owner = 6;
|
|
180
182
|
}
|
|
181
183
|
|
|
182
184
|
enum Role {
|