@periskope/types 0.6.103 → 0.6.104

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
@@ -85,8 +85,6 @@ export type OrgMetadata = {
85
85
  ticket_prefix: string;
86
86
  referralSource?: string;
87
87
  surveyData?: MicrosurveyData;
88
- onboarding: Record<string, boolean>;
89
- onboarding_completed_at: Date | null;
90
88
  preferences?: OrgPreferences;
91
89
  hubspot_pipelines?: {
92
90
  id: string;
@@ -151,7 +149,8 @@ export type ChatType = Merge<
151
149
  } | null;
152
150
  info_admins_only: boolean;
153
151
  messages_admins_only: boolean;
154
- // is_open?: boolean;
152
+ unread_count?: { [key: string]: number };
153
+ active_phone: string | null;
155
154
  }
156
155
  >;
157
156
 
@@ -205,14 +204,17 @@ export type TicketType = OverrideProperties<
205
204
  };
206
205
  object_data?: HubspotObjectDataType;
207
206
  } | null;
208
- close_ticket_metadata?: {
209
- closed_by: string;
210
- closed_at: string;
211
- closed_message?: string | null;
212
- send_reply_message_id?: string | null;
213
- } | null;
207
+ close_ticket_metadata?:
208
+ | {
209
+ closed_by: string;
210
+ closed_at: string;
211
+ closed_message?: string | null;
212
+ send_reply_message_id?: string | null;
213
+ }
214
+ | any;
214
215
  }
215
216
  >;
217
+
216
218
  export type ContactType = Merge<
217
219
  Tables<'tbl_contacts'>,
218
220
  {