diff --git a/package.json b/package.json index 35d6560..c089ba2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lendry-erp/contracts", - "version": "1.1.2", + "version": "1.1.3", "description": "Protobuf definitions and generated TypeScript types", "type": "commonjs", "main": "./dist/index.js", diff --git a/proto/sso/account.proto b/proto/sso/account.proto index 0044225..de2c942 100644 --- a/proto/sso/account.proto +++ b/proto/sso/account.proto @@ -93,6 +93,7 @@ message ChangeDataRequest { optional string custom_status_emoji = 8; optional string timezone = 9; optional string language = 10; + optional bool is_public = 11; } message ChangeDataResponse { diff --git a/src/events/users/search-users.interface.ts b/src/events/users/search-users.interface.ts index eb120b9..53aaa55 100644 --- a/src/events/users/search-users.interface.ts +++ b/src/events/users/search-users.interface.ts @@ -5,4 +5,6 @@ export interface SearchUsersEvent { phone?: string; fullName?: string; customStatusText?: string; + isPublic?: boolean; + status?: string; }