@periskope/types 0.6.159 → 0.6.161

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/dist/types.d.ts CHANGED
@@ -45,6 +45,7 @@ export type OrgPreferences = {
45
45
  mask_phone_numbers?: boolean;
46
46
  show_sender_names?: boolean;
47
47
  closed_chats?: Record<string, number>;
48
+ auto_read_muted_chats?: boolean;
48
49
  };
49
50
  type OrgPreferenceKey = keyof OrgPreferences;
50
51
  export type OrgPreferencesValue = {
@@ -170,7 +171,6 @@ export type MessageType = Merge<OverrideProperties<Tables<'tbl_chat_messages'>,
170
171
  }>, {
171
172
  reactions?: ReactionType[];
172
173
  message_payload?: SingleMessagePayload;
173
- show_unread?: number;
174
174
  highlight?: number;
175
175
  }>;
176
176
  export type MessageFlagType = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.159",
3
+ "version": "0.6.161",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -65,6 +65,7 @@ export type OrgPreferences = {
65
65
  mask_phone_numbers?: boolean;
66
66
  show_sender_names?: boolean;
67
67
  closed_chats?: Record<string, number>;
68
+ auto_read_muted_chats?: boolean;
68
69
  };
69
70
 
70
71
  type OrgPreferenceKey = keyof OrgPreferences;
@@ -200,7 +201,6 @@ export type MessageType = Merge<
200
201
  {
201
202
  reactions?: ReactionType[];
202
203
  message_payload?: SingleMessagePayload;
203
- show_unread?: number;
204
204
  highlight?: number;
205
205
  }
206
206
  >;