@alebooking/contracts 1.0.8 → 1.0.9

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/account.ts CHANGED
@@ -22,8 +22,8 @@ export interface GetAccountRequest {
22
22
 
23
23
  export interface GetAccountResponse {
24
24
  id: string;
25
- phone: string;
26
- email: string;
25
+ phone?: string | undefined;
26
+ email?: string | undefined;
27
27
  isPhoneVerfiied: boolean;
28
28
  isEmailVerified: boolean;
29
29
  role: Role;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alebooking/contracts",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Protobug definitions and generated TypeScript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -12,8 +12,8 @@ message GetAccountRequest {
12
12
 
13
13
  message GetAccountResponse {
14
14
  string id = 1;
15
- string phone = 2;
16
- string email = 3;
15
+ optional string phone = 2;
16
+ optional string email = 3;
17
17
  bool is_phone_verfiied = 4;
18
18
  bool is_email_verified = 5;
19
19
  Role role = 6;