@candesk/contracts 1.2.0 → 1.3.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.
@@ -27,6 +27,7 @@ export interface ConfirmEmailChangeRequest {
27
27
  email: string;
28
28
  code: string;
29
29
  userId: string;
30
+ refreshToken: string;
30
31
  }
31
32
  export interface ConfirmEmailChangeResponse {
32
33
  ok: boolean;
@@ -42,6 +43,7 @@ export interface ConfirmPhoneChangeRequest {
42
43
  phone: string;
43
44
  code: string;
44
45
  userId: string;
46
+ refreshToken: string;
45
47
  }
46
48
  export interface ConfirmPhoneChangeResponse {
47
49
  ok: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candesk/contracts",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Protobuf contracts for Candesk microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -38,6 +38,7 @@ message ConfirmEmailChangeRequest {
38
38
  string email = 1;
39
39
  string code = 2;
40
40
  string user_id = 3;
41
+ string refresh_token = 4;
41
42
  }
42
43
 
43
44
  message ConfirmEmailChangeResponse {
@@ -57,6 +58,7 @@ message ConfirmPhoneChangeRequest {
57
58
  string phone = 1;
58
59
  string code = 2;
59
60
  string user_id = 3;
61
+ string refresh_token = 4;
60
62
  }
61
63
 
62
64
  message ConfirmPhoneChangeResponse {