@alebooking/contracts 1.0.14 → 1.0.15
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 +8 -5
- package/package.json +1 -1
- package/proto/auth.proto +9 -1
package/gen/auth.ts
CHANGED
|
@@ -44,13 +44,16 @@ export interface TelegramInitResponse {
|
|
|
44
44
|
url: string;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
export interface
|
|
48
|
-
|
|
47
|
+
export interface TelegramVerifyRequestQuery {
|
|
48
|
+
id: number;
|
|
49
|
+
firstName: string;
|
|
50
|
+
lastName: string;
|
|
51
|
+
username: string;
|
|
52
|
+
hash: string;
|
|
49
53
|
}
|
|
50
54
|
|
|
51
|
-
export interface
|
|
52
|
-
|
|
53
|
-
value: string;
|
|
55
|
+
export interface TelegramVerifyRequest {
|
|
56
|
+
query: TelegramVerifyRequestQuery | undefined;
|
|
54
57
|
}
|
|
55
58
|
|
|
56
59
|
export interface TelegramVerifyResponse {
|
package/package.json
CHANGED
package/proto/auth.proto
CHANGED
|
@@ -46,8 +46,16 @@ message TelegramInitResponse {
|
|
|
46
46
|
string url = 1;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
message TelegramVerifyRequestQuery {
|
|
50
|
+
int32 id = 1;
|
|
51
|
+
string first_name = 2;
|
|
52
|
+
string last_name = 3;
|
|
53
|
+
string username = 4;
|
|
54
|
+
string hash = 7;
|
|
55
|
+
}
|
|
56
|
+
|
|
49
57
|
message TelegramVerifyRequest {
|
|
50
|
-
|
|
58
|
+
TelegramVerifyRequestQuery query = 1;
|
|
51
59
|
}
|
|
52
60
|
|
|
53
61
|
message TelegramVerifyResponse {
|