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