@ilyadulyuk-teacinema/contacts 1.0.5 → 1.0.6
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/gen/account.ts +6 -6
- package/package.json +1 -1
- package/proto/account.proto +2 -2
package/gen/account.ts
CHANGED
|
@@ -72,9 +72,9 @@ export const ACCOUNT_V1_PACKAGE_NAME = "account.v1";
|
|
|
72
72
|
export interface AccountServiceClient {
|
|
73
73
|
getAccount(request: GetAccountRequest): Observable<GetAccountResponse>;
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
initEmailChange(request: InitEmailChangeRequest): Observable<InitEmailChangeResponse>;
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
confirmEmailChange(request: ConfirmEmailChangeRequest): Observable<ConfirmEmailChangeResponse>;
|
|
78
78
|
|
|
79
79
|
initPhoneChange(request: InitPhoneChangeRequest): Observable<InitPhoneChangeResponse>;
|
|
80
80
|
|
|
@@ -86,11 +86,11 @@ export interface AccountServiceController {
|
|
|
86
86
|
request: GetAccountRequest,
|
|
87
87
|
): Promise<GetAccountResponse> | Observable<GetAccountResponse> | GetAccountResponse;
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
initEmailChange(
|
|
90
90
|
request: InitEmailChangeRequest,
|
|
91
91
|
): Promise<InitEmailChangeResponse> | Observable<InitEmailChangeResponse> | InitEmailChangeResponse;
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
confirmEmailChange(
|
|
94
94
|
request: ConfirmEmailChangeRequest,
|
|
95
95
|
): Promise<ConfirmEmailChangeResponse> | Observable<ConfirmEmailChangeResponse> | ConfirmEmailChangeResponse;
|
|
96
96
|
|
|
@@ -107,8 +107,8 @@ export function AccountServiceControllerMethods() {
|
|
|
107
107
|
return function (constructor: Function) {
|
|
108
108
|
const grpcMethods: string[] = [
|
|
109
109
|
"getAccount",
|
|
110
|
-
"
|
|
111
|
-
"
|
|
110
|
+
"initEmailChange",
|
|
111
|
+
"confirmEmailChange",
|
|
112
112
|
"initPhoneChange",
|
|
113
113
|
"confirmPhoneChange",
|
|
114
114
|
];
|
package/package.json
CHANGED
package/proto/account.proto
CHANGED
|
@@ -5,8 +5,8 @@ package account.v1;
|
|
|
5
5
|
service AccountService {
|
|
6
6
|
rpc GetAccount (GetAccountRequest) returns (GetAccountResponse);
|
|
7
7
|
|
|
8
|
-
rpc
|
|
9
|
-
rpc
|
|
8
|
+
rpc InitEmailChange (InitEmailChangeRequest) returns (InitEmailChangeResponse);
|
|
9
|
+
rpc ConfirmEmailChange (ConfirmEmailChangeRequest) returns (ConfirmEmailChangeResponse);
|
|
10
10
|
|
|
11
11
|
rpc InitPhoneChange (InitPhoneChangeRequest) returns (InitPhoneChangeResponse);
|
|
12
12
|
rpc ConfirmPhoneChange (ConfirmPhoneChangeRequest) returns (ConfirmPhoneChangeResponse);
|