@t-cinema/contracts 1.0.0 → 1.0.1
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/auth.ts +2 -2
- package/package.json +1 -1
- package/proto/auth.proto +2 -2
package/gen/auth.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { Observable } from "rxjs";
|
|
|
10
10
|
|
|
11
11
|
export const protobufPackage = "auth.v1";
|
|
12
12
|
|
|
13
|
-
export enum
|
|
13
|
+
export enum OtpType {
|
|
14
14
|
email = 0,
|
|
15
15
|
phone = 1,
|
|
16
16
|
UNRECOGNIZED = -1,
|
|
@@ -18,7 +18,7 @@ export enum EOtpType {
|
|
|
18
18
|
|
|
19
19
|
export interface SendOtpRequest {
|
|
20
20
|
identifier: string;
|
|
21
|
-
type:
|
|
21
|
+
type: OtpType;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export interface SendOtpResponse {
|
package/package.json
CHANGED
package/proto/auth.proto
CHANGED
|
@@ -6,14 +6,14 @@ service AuthService {
|
|
|
6
6
|
rpc SendOtp (SendOtpRequest) returns (SendOtpResponse);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
enum
|
|
9
|
+
enum OtpType {
|
|
10
10
|
email = 0;
|
|
11
11
|
phone = 1;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
message SendOtpRequest {
|
|
15
15
|
string identifier = 1;
|
|
16
|
-
|
|
16
|
+
OtpType type = 2;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
message SendOtpResponse {
|