@periskope/types 0.6.134 → 0.6.136

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
@@ -123,6 +123,7 @@ export type ChatType = Merge<Tables<'view_chats'>, {
123
123
  flag_count_map?: {
124
124
  [key: string]: number;
125
125
  };
126
+ pin?: boolean;
126
127
  }>;
127
128
  export type MediaType = {
128
129
  path: string;
@@ -150,7 +151,7 @@ export type MessageType = Merge<OverrideProperties<Tables<'tbl_chat_messages'>,
150
151
  reactions?: ReactionType[];
151
152
  message_payload?: SingleMessagePayload;
152
153
  show_unread?: boolean;
153
- highlight?: boolean;
154
+ highlight?: number;
154
155
  }>;
155
156
  export type MessageFlagType = {
156
157
  status: boolean;
@@ -326,6 +327,7 @@ export type TicketInfoType = {
326
327
  } | null;
327
328
  };
328
329
  };
330
+ export type IntegrationLogObjectType = 'chat' | 'message' | 'reaction' | 'ticket';
329
331
  export declare enum IntegrationLogType {
330
332
  NEW_CHAT = "chat.created",
331
333
  NEW_CHAT_NOTIFICATION = "chat.notification.created",
@@ -386,6 +388,7 @@ export type UserPreferences = {
386
388
  left_sidebar_open: boolean;
387
389
  right_sidepanel_open: boolean;
388
390
  sync_wa_unread_count: boolean;
391
+ pinned_chats: string[];
389
392
  };
390
393
  export type PollSendType = {
391
394
  pollName: string;
@@ -399,4 +402,12 @@ export type PollSendType = {
399
402
  export type PollResultType = {
400
403
  [name: string]: Record<string, string>;
401
404
  };
405
+ export type CreateGroupOptions = {
406
+ messagesAdminsOnly?: boolean;
407
+ infoAdminsOnly?: boolean;
408
+ memberAddMode?: boolean;
409
+ image?: string;
410
+ name?: string;
411
+ description?: string;
412
+ };
402
413
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.134",
3
+ "version": "0.6.136",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",