@periskope/types 0.6.112 → 0.6.113
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 +14 -6
- package/dist/types.d.ts +3 -0
- package/package.json +1 -1
- package/supabase.types.ts +15 -5
- package/types.ts +3 -0
package/dist/supabase.types.d.ts
CHANGED
|
@@ -689,6 +689,7 @@ export type Database = {
|
|
|
689
689
|
closed_at: string | null;
|
|
690
690
|
created_at: string;
|
|
691
691
|
due_date: string | null;
|
|
692
|
+
freshdesk_metadata: Json | null;
|
|
692
693
|
hubspot_metadata: Json | null;
|
|
693
694
|
is_deleted: boolean;
|
|
694
695
|
label_ids: Json | null;
|
|
@@ -701,7 +702,7 @@ export type Database = {
|
|
|
701
702
|
status: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
|
|
702
703
|
subject: string;
|
|
703
704
|
ticket_id: string;
|
|
704
|
-
|
|
705
|
+
zohodesk_metadata: Json | null;
|
|
705
706
|
};
|
|
706
707
|
Insert: {
|
|
707
708
|
assigned_by?: string | null;
|
|
@@ -711,6 +712,7 @@ export type Database = {
|
|
|
711
712
|
closed_at?: string | null;
|
|
712
713
|
created_at?: string;
|
|
713
714
|
due_date?: string | null;
|
|
715
|
+
freshdesk_metadata?: Json | null;
|
|
714
716
|
hubspot_metadata?: Json | null;
|
|
715
717
|
is_deleted?: boolean;
|
|
716
718
|
label_ids?: Json | null;
|
|
@@ -723,7 +725,7 @@ export type Database = {
|
|
|
723
725
|
status?: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
|
|
724
726
|
subject: string;
|
|
725
727
|
ticket_id?: string;
|
|
726
|
-
|
|
728
|
+
zohodesk_metadata?: Json | null;
|
|
727
729
|
};
|
|
728
730
|
Update: {
|
|
729
731
|
assigned_by?: string | null;
|
|
@@ -733,6 +735,7 @@ export type Database = {
|
|
|
733
735
|
closed_at?: string | null;
|
|
734
736
|
created_at?: string;
|
|
735
737
|
due_date?: string | null;
|
|
738
|
+
freshdesk_metadata?: Json | null;
|
|
736
739
|
hubspot_metadata?: Json | null;
|
|
737
740
|
is_deleted?: boolean;
|
|
738
741
|
label_ids?: Json | null;
|
|
@@ -745,7 +748,7 @@ export type Database = {
|
|
|
745
748
|
status?: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
|
|
746
749
|
subject?: string;
|
|
747
750
|
ticket_id?: string;
|
|
748
|
-
|
|
751
|
+
zohodesk_metadata?: Json | null;
|
|
749
752
|
};
|
|
750
753
|
Relationships: [
|
|
751
754
|
{
|
|
@@ -1574,7 +1577,9 @@ export type Database = {
|
|
|
1574
1577
|
created_at: string | null;
|
|
1575
1578
|
is_enterprise: boolean | null;
|
|
1576
1579
|
is_free_trial: boolean | null;
|
|
1580
|
+
is_freshdesk_connected: boolean | null;
|
|
1577
1581
|
is_hubspot_connected: boolean | null;
|
|
1582
|
+
is_zohodesk_connected: boolean | null;
|
|
1578
1583
|
org_id: string | null;
|
|
1579
1584
|
org_image: string | null;
|
|
1580
1585
|
org_metadata: Json | null;
|
|
@@ -1595,7 +1600,9 @@ export type Database = {
|
|
|
1595
1600
|
created_at?: string | null;
|
|
1596
1601
|
is_enterprise?: never;
|
|
1597
1602
|
is_free_trial?: never;
|
|
1603
|
+
is_freshdesk_connected?: never;
|
|
1598
1604
|
is_hubspot_connected?: never;
|
|
1605
|
+
is_zohodesk_connected?: never;
|
|
1599
1606
|
org_id?: string | null;
|
|
1600
1607
|
org_image?: string | null;
|
|
1601
1608
|
org_metadata?: Json | null;
|
|
@@ -1616,7 +1623,9 @@ export type Database = {
|
|
|
1616
1623
|
created_at?: string | null;
|
|
1617
1624
|
is_enterprise?: never;
|
|
1618
1625
|
is_free_trial?: never;
|
|
1626
|
+
is_freshdesk_connected?: never;
|
|
1619
1627
|
is_hubspot_connected?: never;
|
|
1628
|
+
is_zohodesk_connected?: never;
|
|
1620
1629
|
org_id?: string | null;
|
|
1621
1630
|
org_image?: string | null;
|
|
1622
1631
|
org_metadata?: Json | null;
|
|
@@ -1713,7 +1722,6 @@ export type Database = {
|
|
|
1713
1722
|
Args: {
|
|
1714
1723
|
org_id_input: string;
|
|
1715
1724
|
contact_ids_input?: string[];
|
|
1716
|
-
with_name?: boolean;
|
|
1717
1725
|
sync_phone_contacts?: boolean;
|
|
1718
1726
|
search_input?: string;
|
|
1719
1727
|
label_ids_input?: string[];
|
|
@@ -1834,8 +1842,8 @@ export type Database = {
|
|
|
1834
1842
|
enum_broadcast_status: "inprogress" | "completed" | "stopped";
|
|
1835
1843
|
enum_chat_colors: "#B4876E" | "#A5B337" | "#06CF9C" | "#25D366" | "#02A698" | "#7D9EF1" | "#007BFC" | "#5E47DE" | "#7F66FF" | "#9333EA" | "#FA6533" | "#C4532D" | "#DC2626" | "#FF2E74" | "#DB2777";
|
|
1836
1844
|
enum_chat_tickets_status: "open" | "inprogress" | "closed" | "archived";
|
|
1837
|
-
enum_integration_name: "org.created" | "org.updated" | "org.member.created" | "org.member.updated" | "org.phone.created" | "org.phone.connected" | "org.phone.disconnected" | "org.subscription.trial_will_end" | "chat.created" | "chat.updated" | "chat.notification.created" | "message.created" | "message.updated" | "message.deleted" | "message.ack.updated" | "reaction.created" | "reaction.updated" | "ticket.created" | "ticket.updated" | "ticket.deleted";
|
|
1838
|
-
enum_integration_type: "zapier" | "pabbly" | "api" | "webhook" | "hubspot" | "freshdesk" | "slack" | "jira" | "salesforce";
|
|
1845
|
+
enum_integration_name: "org.created" | "org.updated" | "org.member.created" | "org.member.updated" | "org.phone.created" | "org.phone.connected" | "org.phone.disconnected" | "org.subscription.trial_will_end" | "chat.created" | "chat.updated" | "chat.notification.created" | "message.created" | "message.updated" | "message.deleted" | "message.ack.updated" | "reaction.created" | "reaction.updated" | "ticket.created" | "ticket.updated" | "ticket.deleted" | "org.integrations.updated";
|
|
1846
|
+
enum_integration_type: "zapier" | "pabbly" | "api" | "webhook" | "hubspot" | "freshdesk" | "slack" | "jira" | "salesforce" | "zohodesk";
|
|
1839
1847
|
enum_member_role: "admin" | "member";
|
|
1840
1848
|
};
|
|
1841
1849
|
CompositeTypes: {
|
package/dist/types.d.ts
CHANGED
|
@@ -82,6 +82,8 @@ export type OrgType = OverrideProperties<Merge<Tables<'tbl_org'>, {
|
|
|
82
82
|
is_enterprise: boolean;
|
|
83
83
|
is_free_trial: boolean;
|
|
84
84
|
is_hubspot_connected: boolean;
|
|
85
|
+
is_freshdesk_connected: boolean;
|
|
86
|
+
is_zohodesk_connected: boolean;
|
|
85
87
|
access_scopes: AccessScopes;
|
|
86
88
|
}>, {
|
|
87
89
|
org_plan: OrgPlan<AllPlans | Enterprise>;
|
|
@@ -164,6 +166,7 @@ export type TicketType = OverrideProperties<Tables<'tbl_chat_tickets'>, {
|
|
|
164
166
|
};
|
|
165
167
|
object_data?: HubspotObjectDataType;
|
|
166
168
|
} | null;
|
|
169
|
+
freshdesk_metadata: Record<string, string>;
|
|
167
170
|
close_ticket_metadata?: {
|
|
168
171
|
closed_by: string;
|
|
169
172
|
closed_at: string;
|
package/package.json
CHANGED
package/supabase.types.ts
CHANGED
|
@@ -694,6 +694,7 @@ export type Database = {
|
|
|
694
694
|
closed_at: string | null
|
|
695
695
|
created_at: string
|
|
696
696
|
due_date: string | null
|
|
697
|
+
freshdesk_metadata: Json | null
|
|
697
698
|
hubspot_metadata: Json | null
|
|
698
699
|
is_deleted: boolean
|
|
699
700
|
label_ids: Json | null
|
|
@@ -706,7 +707,7 @@ export type Database = {
|
|
|
706
707
|
status: Database["public"]["Enums"]["enum_chat_tickets_status"] | null
|
|
707
708
|
subject: string
|
|
708
709
|
ticket_id: string
|
|
709
|
-
|
|
710
|
+
zohodesk_metadata: Json | null
|
|
710
711
|
}
|
|
711
712
|
Insert: {
|
|
712
713
|
assigned_by?: string | null
|
|
@@ -716,6 +717,7 @@ export type Database = {
|
|
|
716
717
|
closed_at?: string | null
|
|
717
718
|
created_at?: string
|
|
718
719
|
due_date?: string | null
|
|
720
|
+
freshdesk_metadata?: Json | null
|
|
719
721
|
hubspot_metadata?: Json | null
|
|
720
722
|
is_deleted?: boolean
|
|
721
723
|
label_ids?: Json | null
|
|
@@ -730,7 +732,7 @@ export type Database = {
|
|
|
730
732
|
| null
|
|
731
733
|
subject: string
|
|
732
734
|
ticket_id?: string
|
|
733
|
-
|
|
735
|
+
zohodesk_metadata?: Json | null
|
|
734
736
|
}
|
|
735
737
|
Update: {
|
|
736
738
|
assigned_by?: string | null
|
|
@@ -740,6 +742,7 @@ export type Database = {
|
|
|
740
742
|
closed_at?: string | null
|
|
741
743
|
created_at?: string
|
|
742
744
|
due_date?: string | null
|
|
745
|
+
freshdesk_metadata?: Json | null
|
|
743
746
|
hubspot_metadata?: Json | null
|
|
744
747
|
is_deleted?: boolean
|
|
745
748
|
label_ids?: Json | null
|
|
@@ -754,7 +757,7 @@ export type Database = {
|
|
|
754
757
|
| null
|
|
755
758
|
subject?: string
|
|
756
759
|
ticket_id?: string
|
|
757
|
-
|
|
760
|
+
zohodesk_metadata?: Json | null
|
|
758
761
|
}
|
|
759
762
|
Relationships: [
|
|
760
763
|
{
|
|
@@ -1585,7 +1588,9 @@ export type Database = {
|
|
|
1585
1588
|
created_at: string | null
|
|
1586
1589
|
is_enterprise: boolean | null
|
|
1587
1590
|
is_free_trial: boolean | null
|
|
1591
|
+
is_freshdesk_connected: boolean | null
|
|
1588
1592
|
is_hubspot_connected: boolean | null
|
|
1593
|
+
is_zohodesk_connected: boolean | null
|
|
1589
1594
|
org_id: string | null
|
|
1590
1595
|
org_image: string | null
|
|
1591
1596
|
org_metadata: Json | null
|
|
@@ -1606,7 +1611,9 @@ export type Database = {
|
|
|
1606
1611
|
created_at?: string | null
|
|
1607
1612
|
is_enterprise?: never
|
|
1608
1613
|
is_free_trial?: never
|
|
1614
|
+
is_freshdesk_connected?: never
|
|
1609
1615
|
is_hubspot_connected?: never
|
|
1616
|
+
is_zohodesk_connected?: never
|
|
1610
1617
|
org_id?: string | null
|
|
1611
1618
|
org_image?: string | null
|
|
1612
1619
|
org_metadata?: Json | null
|
|
@@ -1627,7 +1634,9 @@ export type Database = {
|
|
|
1627
1634
|
created_at?: string | null
|
|
1628
1635
|
is_enterprise?: never
|
|
1629
1636
|
is_free_trial?: never
|
|
1637
|
+
is_freshdesk_connected?: never
|
|
1630
1638
|
is_hubspot_connected?: never
|
|
1639
|
+
is_zohodesk_connected?: never
|
|
1631
1640
|
org_id?: string | null
|
|
1632
1641
|
org_image?: string | null
|
|
1633
1642
|
org_metadata?: Json | null
|
|
@@ -1724,7 +1733,6 @@ export type Database = {
|
|
|
1724
1733
|
Args: {
|
|
1725
1734
|
org_id_input: string
|
|
1726
1735
|
contact_ids_input?: string[]
|
|
1727
|
-
with_name?: boolean
|
|
1728
1736
|
sync_phone_contacts?: boolean
|
|
1729
1737
|
search_input?: string
|
|
1730
1738
|
label_ids_input?: string[]
|
|
@@ -1881,6 +1889,7 @@ export type Database = {
|
|
|
1881
1889
|
| "ticket.created"
|
|
1882
1890
|
| "ticket.updated"
|
|
1883
1891
|
| "ticket.deleted"
|
|
1892
|
+
| "org.integrations.updated"
|
|
1884
1893
|
enum_integration_type:
|
|
1885
1894
|
| "zapier"
|
|
1886
1895
|
| "pabbly"
|
|
@@ -1891,6 +1900,7 @@ export type Database = {
|
|
|
1891
1900
|
| "slack"
|
|
1892
1901
|
| "jira"
|
|
1893
1902
|
| "salesforce"
|
|
1903
|
+
| "zohodesk"
|
|
1894
1904
|
enum_member_role: "admin" | "member"
|
|
1895
1905
|
}
|
|
1896
1906
|
CompositeTypes: {
|
|
@@ -2290,4 +2300,4 @@ export type Enums<
|
|
|
2290
2300
|
? PublicSchema["Enums"][PublicEnumNameOrOptions]
|
|
2291
2301
|
: never
|
|
2292
2302
|
|
|
2293
|
-
|
|
2303
|
+
|
package/types.ts
CHANGED
|
@@ -104,6 +104,8 @@ export type OrgType = OverrideProperties<
|
|
|
104
104
|
is_enterprise: boolean;
|
|
105
105
|
is_free_trial: boolean;
|
|
106
106
|
is_hubspot_connected: boolean;
|
|
107
|
+
is_freshdesk_connected: boolean;
|
|
108
|
+
is_zohodesk_connected: boolean;
|
|
107
109
|
access_scopes: AccessScopes;
|
|
108
110
|
}
|
|
109
111
|
>,
|
|
@@ -196,6 +198,7 @@ export type TicketType = OverrideProperties<
|
|
|
196
198
|
};
|
|
197
199
|
object_data?: HubspotObjectDataType;
|
|
198
200
|
} | null;
|
|
201
|
+
freshdesk_metadata: Record<string, string>;
|
|
199
202
|
close_ticket_metadata?:
|
|
200
203
|
| {
|
|
201
204
|
closed_by: string;
|