@periskope/types 0.6.107 → 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 +8 -0
- package/dist/types.js +0 -1
- package/package.json +1 -1
- package/supabase.types.ts +1396 -1397
- package/types.ts +11 -0
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
import { Chat, Location } from '@periskope/whatsapp-web.js';
|
|
1
2
|
import type { default as _Stripe } from 'stripe';
|
|
2
3
|
import { Merge, OverrideProperties } from 'type-fest';
|
|
3
4
|
import { Tables } from './supabase.types';
|
|
5
|
+
export type WhatsappChat = Chat & {
|
|
6
|
+
groupMetadata?: any;
|
|
7
|
+
pinned?: boolean;
|
|
8
|
+
invite_link?: string;
|
|
9
|
+
};
|
|
4
10
|
export declare enum AllPlans {
|
|
5
11
|
FREE_TRIAL = "free-trial",
|
|
6
12
|
ENTERPRISE = "enterprise",
|
|
@@ -82,6 +88,7 @@ export type OrgType = OverrideProperties<Merge<Tables<'tbl_org'>, {
|
|
|
82
88
|
is_enterprise: boolean;
|
|
83
89
|
is_free_trial: boolean;
|
|
84
90
|
is_hubspot_connected: boolean;
|
|
91
|
+
is_freshdesk_connected: boolean;
|
|
85
92
|
access_scopes: AccessScopes;
|
|
86
93
|
}>, {
|
|
87
94
|
org_plan: OrgPlan<AllPlans | Enterprise>;
|
|
@@ -161,6 +168,7 @@ export type TicketType = OverrideProperties<Tables<'tbl_chat_tickets'>, {
|
|
|
161
168
|
};
|
|
162
169
|
object_data?: HubspotObjectDataType;
|
|
163
170
|
} | null;
|
|
171
|
+
freshdesk_metadata: Record<string, string>;
|
|
164
172
|
close_ticket_metadata?: {
|
|
165
173
|
closed_by: string;
|
|
166
174
|
closed_at: string;
|
package/dist/types.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IntegrationLogType = exports.SUPPORTED_TYPES = exports.enumChatColors = exports.labelColors = exports.AllPlans = void 0;
|
|
4
|
-
/* ----------------------------- TYPE SHORTHANDS ---------------------------- */
|
|
5
4
|
/* ------------------------------ PERISKOPE TYPES ------------------------------ */
|
|
6
5
|
var AllPlans;
|
|
7
6
|
(function (AllPlans) {
|