@periskope/types 0.6.111 → 0.6.112
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 +18 -17
- package/dist/types.d.ts +0 -3
- package/package.json +1 -1
- package/supabase.types.ts +17 -18
- package/types.ts +0 -3
package/dist/supabase.types.d.ts
CHANGED
|
@@ -240,7 +240,6 @@ export type Database = {
|
|
|
240
240
|
};
|
|
241
241
|
tbl_chat_access: {
|
|
242
242
|
Row: {
|
|
243
|
-
active_phone: string | null;
|
|
244
243
|
chat_id: string;
|
|
245
244
|
email: string;
|
|
246
245
|
has_access: boolean | null;
|
|
@@ -249,7 +248,6 @@ export type Database = {
|
|
|
249
248
|
org_id: string;
|
|
250
249
|
};
|
|
251
250
|
Insert: {
|
|
252
|
-
active_phone?: string | null;
|
|
253
251
|
chat_id: string;
|
|
254
252
|
email: string;
|
|
255
253
|
has_access?: boolean | null;
|
|
@@ -258,7 +256,6 @@ export type Database = {
|
|
|
258
256
|
org_id: string;
|
|
259
257
|
};
|
|
260
258
|
Update: {
|
|
261
|
-
active_phone?: string | null;
|
|
262
259
|
chat_id?: string;
|
|
263
260
|
email?: string;
|
|
264
261
|
has_access?: boolean | null;
|
|
@@ -692,7 +689,6 @@ export type Database = {
|
|
|
692
689
|
closed_at: string | null;
|
|
693
690
|
created_at: string;
|
|
694
691
|
due_date: string | null;
|
|
695
|
-
freshdesk_metadata: Json | null;
|
|
696
692
|
hubspot_metadata: Json | null;
|
|
697
693
|
is_deleted: boolean;
|
|
698
694
|
label_ids: Json | null;
|
|
@@ -705,7 +701,7 @@ export type Database = {
|
|
|
705
701
|
status: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
|
|
706
702
|
subject: string;
|
|
707
703
|
ticket_id: string;
|
|
708
|
-
|
|
704
|
+
ticket_metadata: Json | null;
|
|
709
705
|
};
|
|
710
706
|
Insert: {
|
|
711
707
|
assigned_by?: string | null;
|
|
@@ -715,7 +711,6 @@ export type Database = {
|
|
|
715
711
|
closed_at?: string | null;
|
|
716
712
|
created_at?: string;
|
|
717
713
|
due_date?: string | null;
|
|
718
|
-
freshdesk_metadata?: Json | null;
|
|
719
714
|
hubspot_metadata?: Json | null;
|
|
720
715
|
is_deleted?: boolean;
|
|
721
716
|
label_ids?: Json | null;
|
|
@@ -728,7 +723,7 @@ export type Database = {
|
|
|
728
723
|
status?: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
|
|
729
724
|
subject: string;
|
|
730
725
|
ticket_id?: string;
|
|
731
|
-
|
|
726
|
+
ticket_metadata?: Json | null;
|
|
732
727
|
};
|
|
733
728
|
Update: {
|
|
734
729
|
assigned_by?: string | null;
|
|
@@ -738,7 +733,6 @@ export type Database = {
|
|
|
738
733
|
closed_at?: string | null;
|
|
739
734
|
created_at?: string;
|
|
740
735
|
due_date?: string | null;
|
|
741
|
-
freshdesk_metadata?: Json | null;
|
|
742
736
|
hubspot_metadata?: Json | null;
|
|
743
737
|
is_deleted?: boolean;
|
|
744
738
|
label_ids?: Json | null;
|
|
@@ -751,7 +745,7 @@ export type Database = {
|
|
|
751
745
|
status?: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
|
|
752
746
|
subject?: string;
|
|
753
747
|
ticket_id?: string;
|
|
754
|
-
|
|
748
|
+
ticket_metadata?: Json | null;
|
|
755
749
|
};
|
|
756
750
|
Relationships: [
|
|
757
751
|
{
|
|
@@ -1580,9 +1574,7 @@ export type Database = {
|
|
|
1580
1574
|
created_at: string | null;
|
|
1581
1575
|
is_enterprise: boolean | null;
|
|
1582
1576
|
is_free_trial: boolean | null;
|
|
1583
|
-
is_freshdesk_connected: boolean | null;
|
|
1584
1577
|
is_hubspot_connected: boolean | null;
|
|
1585
|
-
is_zohodesk_connected: boolean | null;
|
|
1586
1578
|
org_id: string | null;
|
|
1587
1579
|
org_image: string | null;
|
|
1588
1580
|
org_metadata: Json | null;
|
|
@@ -1603,9 +1595,7 @@ export type Database = {
|
|
|
1603
1595
|
created_at?: string | null;
|
|
1604
1596
|
is_enterprise?: never;
|
|
1605
1597
|
is_free_trial?: never;
|
|
1606
|
-
is_freshdesk_connected?: never;
|
|
1607
1598
|
is_hubspot_connected?: never;
|
|
1608
|
-
is_zohodesk_connected?: never;
|
|
1609
1599
|
org_id?: string | null;
|
|
1610
1600
|
org_image?: string | null;
|
|
1611
1601
|
org_metadata?: Json | null;
|
|
@@ -1626,9 +1616,7 @@ export type Database = {
|
|
|
1626
1616
|
created_at?: string | null;
|
|
1627
1617
|
is_enterprise?: never;
|
|
1628
1618
|
is_free_trial?: never;
|
|
1629
|
-
is_freshdesk_connected?: never;
|
|
1630
1619
|
is_hubspot_connected?: never;
|
|
1631
|
-
is_zohodesk_connected?: never;
|
|
1632
1620
|
org_id?: string | null;
|
|
1633
1621
|
org_image?: string | null;
|
|
1634
1622
|
org_metadata?: Json | null;
|
|
@@ -1727,6 +1715,11 @@ export type Database = {
|
|
|
1727
1715
|
contact_ids_input?: string[];
|
|
1728
1716
|
with_name?: boolean;
|
|
1729
1717
|
sync_phone_contacts?: boolean;
|
|
1718
|
+
search_input?: string;
|
|
1719
|
+
label_ids_input?: string[];
|
|
1720
|
+
is_internal_input?: boolean;
|
|
1721
|
+
page_number?: number;
|
|
1722
|
+
page_size?: number;
|
|
1730
1723
|
};
|
|
1731
1724
|
Returns: Json;
|
|
1732
1725
|
};
|
|
@@ -1819,6 +1812,14 @@ export type Database = {
|
|
|
1819
1812
|
Args: Record<PropertyKey, never>;
|
|
1820
1813
|
Returns: Database["public"]["Enums"]["enum_member_role"];
|
|
1821
1814
|
};
|
|
1815
|
+
update_custom_properties: {
|
|
1816
|
+
Args: {
|
|
1817
|
+
org_id_input: string;
|
|
1818
|
+
row_properties_map: Json;
|
|
1819
|
+
replace_properties?: boolean;
|
|
1820
|
+
};
|
|
1821
|
+
Returns: undefined;
|
|
1822
|
+
};
|
|
1822
1823
|
update_labels: {
|
|
1823
1824
|
Args: {
|
|
1824
1825
|
org_id_input: string;
|
|
@@ -1833,8 +1834,8 @@ export type Database = {
|
|
|
1833
1834
|
enum_broadcast_status: "inprogress" | "completed" | "stopped";
|
|
1834
1835
|
enum_chat_colors: "#B4876E" | "#A5B337" | "#06CF9C" | "#25D366" | "#02A698" | "#7D9EF1" | "#007BFC" | "#5E47DE" | "#7F66FF" | "#9333EA" | "#FA6533" | "#C4532D" | "#DC2626" | "#FF2E74" | "#DB2777";
|
|
1835
1836
|
enum_chat_tickets_status: "open" | "inprogress" | "closed" | "archived";
|
|
1836
|
-
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"
|
|
1837
|
-
enum_integration_type: "zapier" | "pabbly" | "api" | "webhook" | "hubspot" | "freshdesk" | "slack" | "jira" | "salesforce"
|
|
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";
|
|
1838
1839
|
enum_member_role: "admin" | "member";
|
|
1839
1840
|
};
|
|
1840
1841
|
CompositeTypes: {
|
package/dist/types.d.ts
CHANGED
|
@@ -82,8 +82,6 @@ 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;
|
|
87
85
|
access_scopes: AccessScopes;
|
|
88
86
|
}>, {
|
|
89
87
|
org_plan: OrgPlan<AllPlans | Enterprise>;
|
|
@@ -166,7 +164,6 @@ export type TicketType = OverrideProperties<Tables<'tbl_chat_tickets'>, {
|
|
|
166
164
|
};
|
|
167
165
|
object_data?: HubspotObjectDataType;
|
|
168
166
|
} | null;
|
|
169
|
-
freshdesk_metadata: Record<string, string>;
|
|
170
167
|
close_ticket_metadata?: {
|
|
171
168
|
closed_by: string;
|
|
172
169
|
closed_at: string;
|
package/package.json
CHANGED
package/supabase.types.ts
CHANGED
|
@@ -245,7 +245,6 @@ export type Database = {
|
|
|
245
245
|
}
|
|
246
246
|
tbl_chat_access: {
|
|
247
247
|
Row: {
|
|
248
|
-
active_phone: string | null
|
|
249
248
|
chat_id: string
|
|
250
249
|
email: string
|
|
251
250
|
has_access: boolean | null
|
|
@@ -254,7 +253,6 @@ export type Database = {
|
|
|
254
253
|
org_id: string
|
|
255
254
|
}
|
|
256
255
|
Insert: {
|
|
257
|
-
active_phone?: string | null
|
|
258
256
|
chat_id: string
|
|
259
257
|
email: string
|
|
260
258
|
has_access?: boolean | null
|
|
@@ -263,7 +261,6 @@ export type Database = {
|
|
|
263
261
|
org_id: string
|
|
264
262
|
}
|
|
265
263
|
Update: {
|
|
266
|
-
active_phone?: string | null
|
|
267
264
|
chat_id?: string
|
|
268
265
|
email?: string
|
|
269
266
|
has_access?: boolean | null
|
|
@@ -697,7 +694,6 @@ export type Database = {
|
|
|
697
694
|
closed_at: string | null
|
|
698
695
|
created_at: string
|
|
699
696
|
due_date: string | null
|
|
700
|
-
freshdesk_metadata: Json | null
|
|
701
697
|
hubspot_metadata: Json | null
|
|
702
698
|
is_deleted: boolean
|
|
703
699
|
label_ids: Json | null
|
|
@@ -710,7 +706,7 @@ export type Database = {
|
|
|
710
706
|
status: Database["public"]["Enums"]["enum_chat_tickets_status"] | null
|
|
711
707
|
subject: string
|
|
712
708
|
ticket_id: string
|
|
713
|
-
|
|
709
|
+
ticket_metadata: Json | null
|
|
714
710
|
}
|
|
715
711
|
Insert: {
|
|
716
712
|
assigned_by?: string | null
|
|
@@ -720,7 +716,6 @@ export type Database = {
|
|
|
720
716
|
closed_at?: string | null
|
|
721
717
|
created_at?: string
|
|
722
718
|
due_date?: string | null
|
|
723
|
-
freshdesk_metadata?: Json | null
|
|
724
719
|
hubspot_metadata?: Json | null
|
|
725
720
|
is_deleted?: boolean
|
|
726
721
|
label_ids?: Json | null
|
|
@@ -735,7 +730,7 @@ export type Database = {
|
|
|
735
730
|
| null
|
|
736
731
|
subject: string
|
|
737
732
|
ticket_id?: string
|
|
738
|
-
|
|
733
|
+
ticket_metadata?: Json | null
|
|
739
734
|
}
|
|
740
735
|
Update: {
|
|
741
736
|
assigned_by?: string | null
|
|
@@ -745,7 +740,6 @@ export type Database = {
|
|
|
745
740
|
closed_at?: string | null
|
|
746
741
|
created_at?: string
|
|
747
742
|
due_date?: string | null
|
|
748
|
-
freshdesk_metadata?: Json | null
|
|
749
743
|
hubspot_metadata?: Json | null
|
|
750
744
|
is_deleted?: boolean
|
|
751
745
|
label_ids?: Json | null
|
|
@@ -760,7 +754,7 @@ export type Database = {
|
|
|
760
754
|
| null
|
|
761
755
|
subject?: string
|
|
762
756
|
ticket_id?: string
|
|
763
|
-
|
|
757
|
+
ticket_metadata?: Json | null
|
|
764
758
|
}
|
|
765
759
|
Relationships: [
|
|
766
760
|
{
|
|
@@ -1591,9 +1585,7 @@ export type Database = {
|
|
|
1591
1585
|
created_at: string | null
|
|
1592
1586
|
is_enterprise: boolean | null
|
|
1593
1587
|
is_free_trial: boolean | null
|
|
1594
|
-
is_freshdesk_connected: boolean | null
|
|
1595
1588
|
is_hubspot_connected: boolean | null
|
|
1596
|
-
is_zohodesk_connected: boolean | null
|
|
1597
1589
|
org_id: string | null
|
|
1598
1590
|
org_image: string | null
|
|
1599
1591
|
org_metadata: Json | null
|
|
@@ -1614,9 +1606,7 @@ export type Database = {
|
|
|
1614
1606
|
created_at?: string | null
|
|
1615
1607
|
is_enterprise?: never
|
|
1616
1608
|
is_free_trial?: never
|
|
1617
|
-
is_freshdesk_connected?: never
|
|
1618
1609
|
is_hubspot_connected?: never
|
|
1619
|
-
is_zohodesk_connected?: never
|
|
1620
1610
|
org_id?: string | null
|
|
1621
1611
|
org_image?: string | null
|
|
1622
1612
|
org_metadata?: Json | null
|
|
@@ -1637,9 +1627,7 @@ export type Database = {
|
|
|
1637
1627
|
created_at?: string | null
|
|
1638
1628
|
is_enterprise?: never
|
|
1639
1629
|
is_free_trial?: never
|
|
1640
|
-
is_freshdesk_connected?: never
|
|
1641
1630
|
is_hubspot_connected?: never
|
|
1642
|
-
is_zohodesk_connected?: never
|
|
1643
1631
|
org_id?: string | null
|
|
1644
1632
|
org_image?: string | null
|
|
1645
1633
|
org_metadata?: Json | null
|
|
@@ -1738,6 +1726,11 @@ export type Database = {
|
|
|
1738
1726
|
contact_ids_input?: string[]
|
|
1739
1727
|
with_name?: boolean
|
|
1740
1728
|
sync_phone_contacts?: boolean
|
|
1729
|
+
search_input?: string
|
|
1730
|
+
label_ids_input?: string[]
|
|
1731
|
+
is_internal_input?: boolean
|
|
1732
|
+
page_number?: number
|
|
1733
|
+
page_size?: number
|
|
1741
1734
|
}
|
|
1742
1735
|
Returns: Json
|
|
1743
1736
|
}
|
|
@@ -1830,6 +1823,14 @@ export type Database = {
|
|
|
1830
1823
|
Args: Record<PropertyKey, never>
|
|
1831
1824
|
Returns: Database["public"]["Enums"]["enum_member_role"]
|
|
1832
1825
|
}
|
|
1826
|
+
update_custom_properties: {
|
|
1827
|
+
Args: {
|
|
1828
|
+
org_id_input: string
|
|
1829
|
+
row_properties_map: Json
|
|
1830
|
+
replace_properties?: boolean
|
|
1831
|
+
}
|
|
1832
|
+
Returns: undefined
|
|
1833
|
+
}
|
|
1833
1834
|
update_labels: {
|
|
1834
1835
|
Args: {
|
|
1835
1836
|
org_id_input: string
|
|
@@ -1880,7 +1881,6 @@ export type Database = {
|
|
|
1880
1881
|
| "ticket.created"
|
|
1881
1882
|
| "ticket.updated"
|
|
1882
1883
|
| "ticket.deleted"
|
|
1883
|
-
| "org.member.invited"
|
|
1884
1884
|
enum_integration_type:
|
|
1885
1885
|
| "zapier"
|
|
1886
1886
|
| "pabbly"
|
|
@@ -1891,7 +1891,6 @@ export type Database = {
|
|
|
1891
1891
|
| "slack"
|
|
1892
1892
|
| "jira"
|
|
1893
1893
|
| "salesforce"
|
|
1894
|
-
| "zohodesk"
|
|
1895
1894
|
enum_member_role: "admin" | "member"
|
|
1896
1895
|
}
|
|
1897
1896
|
CompositeTypes: {
|
|
@@ -2291,4 +2290,4 @@ export type Enums<
|
|
|
2291
2290
|
? PublicSchema["Enums"][PublicEnumNameOrOptions]
|
|
2292
2291
|
: never
|
|
2293
2292
|
|
|
2294
|
-
|
|
2293
|
+
|
package/types.ts
CHANGED
|
@@ -104,8 +104,6 @@ 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;
|
|
109
107
|
access_scopes: AccessScopes;
|
|
110
108
|
}
|
|
111
109
|
>,
|
|
@@ -198,7 +196,6 @@ export type TicketType = OverrideProperties<
|
|
|
198
196
|
};
|
|
199
197
|
object_data?: HubspotObjectDataType;
|
|
200
198
|
} | null;
|
|
201
|
-
freshdesk_metadata: Record<string, string>;
|
|
202
199
|
close_ticket_metadata?:
|
|
203
200
|
| {
|
|
204
201
|
closed_by: string;
|