Compare commits
No commits in common. "9a0e51154d49bbb77105820a05bcfc70c2db7747" and "18327d19d3f7c8da49c78733aa8cd3cc64aa4490" have entirely different histories.
9a0e51154d
...
18327d19d3
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@teacinema/contracts",
|
||||
"version": "1.0.9",
|
||||
"version": "1.0.8",
|
||||
"description": "Protocol Buffers contracts for microservices",
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.build.json",
|
||||
|
||||
@ -11,8 +11,6 @@ service AuthService {
|
||||
|
||||
rpc TelegramInit(google.protobuf.Empty) returns (TelegramInitResponse);
|
||||
rpc TelegramVerify(TelegramVerifyRequest) returns (TelegramVerifyResponse);
|
||||
rpc TelegramComplete(TelegramCompleteRequest) returns (TelegramCompleteResponse);
|
||||
rpc TelegramConsume(TelegramConsumeRequest) returns (TelegramConsumeResponse);
|
||||
}
|
||||
|
||||
message SendOtpRequest {
|
||||
@ -57,19 +55,3 @@ message TelegramVerifyResponse {
|
||||
string refresh_token = 3;
|
||||
}
|
||||
}
|
||||
|
||||
message TelegramCompleteRequest {
|
||||
string session_id = 1;
|
||||
string phone = 2;
|
||||
}
|
||||
message TelegramCompleteResponse {
|
||||
string session_id = 1;
|
||||
}
|
||||
|
||||
message TelegramConsumeRequest {
|
||||
string session_id = 1;
|
||||
}
|
||||
message TelegramConsumeResponse {
|
||||
string access_token = 1;
|
||||
string refresh_token = 2;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user