@periskope/types 0.6.106 → 0.6.108
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/supabase.types.d.ts +226 -227
- package/dist/types.d.ts +6 -2
- package/package.json +1 -1
- package/supabase.types.ts +1396 -1397
- package/types.ts +19 -12
package/dist/types.d.ts
CHANGED
|
@@ -88,6 +88,7 @@ export type OrgType = OverrideProperties<Merge<Tables<'tbl_org'>, {
|
|
|
88
88
|
is_enterprise: boolean;
|
|
89
89
|
is_free_trial: boolean;
|
|
90
90
|
is_hubspot_connected: boolean;
|
|
91
|
+
is_freshdesk_connected: boolean;
|
|
91
92
|
access_scopes: AccessScopes;
|
|
92
93
|
}>, {
|
|
93
94
|
org_plan: OrgPlan<AllPlans | Enterprise>;
|
|
@@ -167,6 +168,7 @@ export type TicketType = OverrideProperties<Tables<'tbl_chat_tickets'>, {
|
|
|
167
168
|
};
|
|
168
169
|
object_data?: HubspotObjectDataType;
|
|
169
170
|
} | null;
|
|
171
|
+
freshdesk_metadata: Record<string, string>;
|
|
170
172
|
close_ticket_metadata?: {
|
|
171
173
|
closed_by: string;
|
|
172
174
|
closed_at: string;
|
|
@@ -212,11 +214,12 @@ export type SingleMessagePayload = SendMessageContent & {
|
|
|
212
214
|
job_id?: string;
|
|
213
215
|
};
|
|
214
216
|
export type MessageAttachmentFileTypes = 'image' | 'audio' | 'document' | 'video';
|
|
215
|
-
export type
|
|
217
|
+
export type AttachmentFileType = {
|
|
216
218
|
result: string;
|
|
217
219
|
file: File | null;
|
|
218
220
|
type: MessageAttachmentFileTypes;
|
|
219
|
-
}
|
|
221
|
+
};
|
|
222
|
+
export type AttachmentLinkType = {
|
|
220
223
|
link: {
|
|
221
224
|
url: string;
|
|
222
225
|
type: MessageAttachmentFileTypes;
|
|
@@ -224,6 +227,7 @@ export type AttachmentTypeProps = {
|
|
|
224
227
|
mimetype?: string;
|
|
225
228
|
};
|
|
226
229
|
};
|
|
230
|
+
export type AttachmentTypeProps = AttachmentFileType | AttachmentLinkType;
|
|
227
231
|
export type BroadcastLogType = Tables<'view_broadcast_logs'> & {
|
|
228
232
|
logs: (Tables<'tbl_broadcast_logs'> & Partial<ChatType>)[];
|
|
229
233
|
} & {
|