@platfformx/proto-contracts 1.1.10 → 1.1.11

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.
@@ -16,7 +16,7 @@ export interface InitEmailChangeRequest {
16
16
  email: string;
17
17
  }
18
18
  export interface InitEmailChangeResponse {
19
- verificationId: string;
19
+ retryAfterSec: number;
20
20
  }
21
21
  export interface ConfirmEmailChangeRequest {
22
22
  userId: string;
@@ -31,12 +31,10 @@ export interface InitPhoneChangeRequest {
31
31
  phone: string;
32
32
  }
33
33
  export interface InitPhoneChangeResponse {
34
- verificationId: string;
34
+ retryAfterSec: number;
35
35
  }
36
36
  export interface ConfirmPhoneChangeRequest {
37
37
  userId: string;
38
- phone: string;
39
- verificationId: string;
40
38
  code: string;
41
39
  }
42
40
  export interface ConfirmPhoneChangeResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platfformx/proto-contracts",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -32,12 +32,12 @@ message InitEmailChangeRequest {
32
32
  }
33
33
 
34
34
  message InitEmailChangeResponse {
35
- string verification_id = 2;
35
+ int32 retry_after_sec = 1;
36
36
  }
37
37
 
38
38
  message ConfirmEmailChangeRequest {
39
39
  string user_id = 1;
40
- string verification_id = 3;
40
+ string verification_id = 2;
41
41
  }
42
42
 
43
43
  message ConfirmEmailChangeResponse {
@@ -51,14 +51,12 @@ message InitPhoneChangeRequest {
51
51
  }
52
52
 
53
53
  message InitPhoneChangeResponse {
54
- string verification_id = 1;
54
+ int32 retry_after_sec = 1;
55
55
  }
56
56
 
57
57
  message ConfirmPhoneChangeRequest {
58
58
  string user_id = 1;
59
- string phone = 2;
60
- string verification_id = 3;
61
- string code = 4;
59
+ string code = 2;
62
60
  }
63
61
 
64
62
  message ConfirmPhoneChangeResponse {