@candesk/contracts 2.0.0 → 2.1.0

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.
@@ -49,6 +49,7 @@ export interface TelegramVerifyResponse {
49
49
  export interface TelegramCompleteRequest {
50
50
  sessionId: string;
51
51
  phone: string;
52
+ telegramId: string;
52
53
  }
53
54
  export interface TelegramCompleteResponse {
54
55
  sessionId: string;
@@ -50,6 +50,7 @@ export interface TelegramVerifyResponse {
50
50
  export interface TelegramCompleteRequest {
51
51
  sessionId: string;
52
52
  phone: string;
53
+ telegramId: string;
53
54
  }
54
55
  export interface TelegramCompleteResponse {
55
56
  sessionId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candesk/contracts",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "Protobuf contracts for Candesk microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/auth.proto CHANGED
@@ -72,6 +72,7 @@ message TelegramVerifyResponse {
72
72
  message TelegramCompleteRequest {
73
73
  string session_id = 1;
74
74
  string phone = 2;
75
+ string telegram_id = 3;
75
76
  }
76
77
 
77
78
  message TelegramCompleteResponse {