@periskope/types 0.6.108 → 0.6.110

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/types.ts CHANGED
@@ -1,18 +1,9 @@
1
- import { Chat, Location } from '@periskope/whatsapp-web.js';
2
1
  import type { default as _Stripe } from 'stripe';
3
2
  import { Merge, OverrideProperties } from 'type-fest';
4
3
  import { Tables } from './supabase.types';
5
4
 
6
5
  /* ----------------------------- TYPE SHORTHANDS ---------------------------- */
7
6
 
8
- /* ------------------------------ WHATSAPP ------------------------------ */
9
-
10
- export type WhatsappChat = Chat & {
11
- groupMetadata?: any;
12
- pinned?: boolean;
13
- invite_link?: string;
14
- };
15
-
16
7
  /* ------------------------------ PERISKOPE TYPES ------------------------------ */
17
8
 
18
9
  export enum AllPlans {
@@ -114,6 +105,7 @@ export type OrgType = OverrideProperties<
114
105
  is_free_trial: boolean;
115
106
  is_hubspot_connected: boolean;
116
107
  is_freshdesk_connected: boolean;
108
+ is_zohodesk_connected: boolean;
117
109
  access_scopes: AccessScopes;
118
110
  }
119
111
  >,
@@ -152,6 +144,7 @@ export type ChatType = Merge<
152
144
  messages_admins_only: boolean;
153
145
  unread_count?: { [key: string]: number };
154
146
  active_phone: string | null;
147
+ flag_count_map?: { [key: string]: number };
155
148
  }
156
149
  >;
157
150
 
@@ -321,6 +314,7 @@ export type MessageAttachmentFileTypes =
321
314
  result: string;
322
315
  file: File | null;
323
316
  type: MessageAttachmentFileTypes;
317
+ localFileURL?:string
324
318
  }
325
319
 
326
320
  export type AttachmentLinkType = {