@readytomog/contracts 1.5.3 → 1.5.5

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/payment.ts CHANGED
@@ -21,6 +21,7 @@ export interface Transaction {
21
21
  amount: number;
22
22
  userId: string;
23
23
  planId: string;
24
+ subscriptionId: string;
24
25
  }
25
26
 
26
27
  export interface GetHistoryResponse {
package/gen/user.ts CHANGED
@@ -33,6 +33,7 @@ export interface GetUserByIdResponse {
33
33
  isTwoFactorEnabled: boolean;
34
34
  phone: string;
35
35
  roles: Role[];
36
+ email: string;
36
37
  }
37
38
 
38
39
  export const USER_V1_PACKAGE_NAME = "user.v1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@readytomog/contracts",
3
- "version": "1.5.3",
3
+ "version": "1.5.5",
4
4
  "description": "Protobuf definitions and generated Typescript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -25,6 +25,7 @@ message Transaction {
25
25
  int32 amount = 7;
26
26
  string userId = 8;
27
27
  string planId = 9;
28
+ string subscriptionId = 10;
28
29
  }
29
30
 
30
31
  message GetHistoryResponse {
package/proto/user.proto CHANGED
@@ -30,4 +30,5 @@ message GetUserByIdResponse{
30
30
  bool isTwoFactorEnabled = 7;
31
31
  string phone = 8;
32
32
  repeated Role roles = 9;
33
+ string email = 10;
33
34
  }