@periskope/types 0.6.118 → 0.6.120
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 +17 -5
- package/dist/types.d.ts +4 -1
- package/package.json +1 -1
- package/supabase.types.ts +17 -3
- package/types.ts +4 -1
package/dist/supabase.types.d.ts
CHANGED
|
@@ -336,6 +336,7 @@ export type Database = {
|
|
|
336
336
|
org_id: string;
|
|
337
337
|
org_phone: string;
|
|
338
338
|
performed_by: string | null;
|
|
339
|
+
poll_vote_info: Json | null;
|
|
339
340
|
prev_body: string | null;
|
|
340
341
|
quoted_message_id: string | null;
|
|
341
342
|
raw_data: Json | null;
|
|
@@ -388,6 +389,7 @@ export type Database = {
|
|
|
388
389
|
org_id: string;
|
|
389
390
|
org_phone: string;
|
|
390
391
|
performed_by?: string | null;
|
|
392
|
+
poll_vote_info?: Json | null;
|
|
391
393
|
prev_body?: string | null;
|
|
392
394
|
quoted_message_id?: string | null;
|
|
393
395
|
raw_data?: Json | null;
|
|
@@ -440,6 +442,7 @@ export type Database = {
|
|
|
440
442
|
org_id?: string;
|
|
441
443
|
org_phone?: string;
|
|
442
444
|
performed_by?: string | null;
|
|
445
|
+
poll_vote_info?: Json | null;
|
|
443
446
|
prev_body?: string | null;
|
|
444
447
|
quoted_message_id?: string | null;
|
|
445
448
|
raw_data?: Json | null;
|
|
@@ -663,6 +666,7 @@ export type Database = {
|
|
|
663
666
|
closed_at: string | null;
|
|
664
667
|
created_at: string;
|
|
665
668
|
due_date: string | null;
|
|
669
|
+
freshdesk_metadata: Json | null;
|
|
666
670
|
hubspot_metadata: Json | null;
|
|
667
671
|
is_deleted: boolean;
|
|
668
672
|
label_ids: Json | null;
|
|
@@ -675,7 +679,7 @@ export type Database = {
|
|
|
675
679
|
status: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
|
|
676
680
|
subject: string;
|
|
677
681
|
ticket_id: string;
|
|
678
|
-
|
|
682
|
+
zohodesk_metadata: Json | null;
|
|
679
683
|
};
|
|
680
684
|
Insert: {
|
|
681
685
|
assigned_by?: string | null;
|
|
@@ -685,6 +689,7 @@ export type Database = {
|
|
|
685
689
|
closed_at?: string | null;
|
|
686
690
|
created_at?: string;
|
|
687
691
|
due_date?: string | null;
|
|
692
|
+
freshdesk_metadata?: Json | null;
|
|
688
693
|
hubspot_metadata?: Json | null;
|
|
689
694
|
is_deleted?: boolean;
|
|
690
695
|
label_ids?: Json | null;
|
|
@@ -697,7 +702,7 @@ export type Database = {
|
|
|
697
702
|
status?: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
|
|
698
703
|
subject: string;
|
|
699
704
|
ticket_id?: string;
|
|
700
|
-
|
|
705
|
+
zohodesk_metadata?: Json | null;
|
|
701
706
|
};
|
|
702
707
|
Update: {
|
|
703
708
|
assigned_by?: string | null;
|
|
@@ -707,6 +712,7 @@ export type Database = {
|
|
|
707
712
|
closed_at?: string | null;
|
|
708
713
|
created_at?: string;
|
|
709
714
|
due_date?: string | null;
|
|
715
|
+
freshdesk_metadata?: Json | null;
|
|
710
716
|
hubspot_metadata?: Json | null;
|
|
711
717
|
is_deleted?: boolean;
|
|
712
718
|
label_ids?: Json | null;
|
|
@@ -719,7 +725,7 @@ export type Database = {
|
|
|
719
725
|
status?: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
|
|
720
726
|
subject?: string;
|
|
721
727
|
ticket_id?: string;
|
|
722
|
-
|
|
728
|
+
zohodesk_metadata?: Json | null;
|
|
723
729
|
};
|
|
724
730
|
Relationships: [
|
|
725
731
|
{
|
|
@@ -1545,7 +1551,9 @@ export type Database = {
|
|
|
1545
1551
|
created_at: string | null;
|
|
1546
1552
|
is_enterprise: boolean | null;
|
|
1547
1553
|
is_free_trial: boolean | null;
|
|
1554
|
+
is_freshdesk_connected: boolean | null;
|
|
1548
1555
|
is_hubspot_connected: boolean | null;
|
|
1556
|
+
is_zohodesk_connected: boolean | null;
|
|
1549
1557
|
org_id: string | null;
|
|
1550
1558
|
org_image: string | null;
|
|
1551
1559
|
org_metadata: Json | null;
|
|
@@ -1566,7 +1574,9 @@ export type Database = {
|
|
|
1566
1574
|
created_at?: string | null;
|
|
1567
1575
|
is_enterprise?: never;
|
|
1568
1576
|
is_free_trial?: never;
|
|
1577
|
+
is_freshdesk_connected?: never;
|
|
1569
1578
|
is_hubspot_connected?: never;
|
|
1579
|
+
is_zohodesk_connected?: never;
|
|
1570
1580
|
org_id?: string | null;
|
|
1571
1581
|
org_image?: string | null;
|
|
1572
1582
|
org_metadata?: Json | null;
|
|
@@ -1587,7 +1597,9 @@ export type Database = {
|
|
|
1587
1597
|
created_at?: string | null;
|
|
1588
1598
|
is_enterprise?: never;
|
|
1589
1599
|
is_free_trial?: never;
|
|
1600
|
+
is_freshdesk_connected?: never;
|
|
1590
1601
|
is_hubspot_connected?: never;
|
|
1602
|
+
is_zohodesk_connected?: never;
|
|
1591
1603
|
org_id?: string | null;
|
|
1592
1604
|
org_image?: string | null;
|
|
1593
1605
|
org_metadata?: Json | null;
|
|
@@ -1814,8 +1826,8 @@ export type Database = {
|
|
|
1814
1826
|
enum_broadcast_status: "inprogress" | "completed" | "stopped";
|
|
1815
1827
|
enum_chat_colors: "#B4876E" | "#A5B337" | "#06CF9C" | "#25D366" | "#02A698" | "#7D9EF1" | "#007BFC" | "#5E47DE" | "#7F66FF" | "#9333EA" | "#FA6533" | "#C4532D" | "#DC2626" | "#FF2E74" | "#DB2777";
|
|
1816
1828
|
enum_chat_tickets_status: "open" | "inprogress" | "closed" | "archived";
|
|
1817
|
-
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";
|
|
1818
|
-
enum_integration_type: "zapier" | "pabbly" | "api" | "webhook" | "hubspot" | "freshdesk" | "slack" | "jira" | "salesforce";
|
|
1829
|
+
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";
|
|
1830
|
+
enum_integration_type: "zapier" | "pabbly" | "api" | "webhook" | "hubspot" | "freshdesk" | "slack" | "jira" | "salesforce" | "zohodesk";
|
|
1819
1831
|
enum_member_role: "admin" | "member";
|
|
1820
1832
|
};
|
|
1821
1833
|
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;
|
|
@@ -178,7 +181,7 @@ export type ContactType = Merge<Tables<'tbl_contacts'>, {
|
|
|
178
181
|
export type ReactionType = Tables<'tbl_chat_reactions'>;
|
|
179
182
|
export type NotificationType = Tables<'tbl_chat_notifications'>;
|
|
180
183
|
export type ChatAccessType = Merge<Tables<'tbl_org_members'>, {
|
|
181
|
-
has_access
|
|
184
|
+
has_access?: boolean;
|
|
182
185
|
}>;
|
|
183
186
|
export declare const labelColors: string[];
|
|
184
187
|
export declare const enumChatColors: readonly ["#B4876E", "#A5B337", "#06CF9C", "#25D366", "#02A698", "#7D9EF1", "#007BFC", "#5E47DE", "#7F66FF", "#9333EA", "#FA6533", "#C4532D", "#DC2626", "#FF2E74", "#DB2777"];
|
package/package.json
CHANGED
package/supabase.types.ts
CHANGED
|
@@ -341,6 +341,7 @@ export type Database = {
|
|
|
341
341
|
org_id: string
|
|
342
342
|
org_phone: string
|
|
343
343
|
performed_by: string | null
|
|
344
|
+
poll_vote_info: Json | null
|
|
344
345
|
prev_body: string | null
|
|
345
346
|
quoted_message_id: string | null
|
|
346
347
|
raw_data: Json | null
|
|
@@ -393,6 +394,7 @@ export type Database = {
|
|
|
393
394
|
org_id: string
|
|
394
395
|
org_phone: string
|
|
395
396
|
performed_by?: string | null
|
|
397
|
+
poll_vote_info?: Json | null
|
|
396
398
|
prev_body?: string | null
|
|
397
399
|
quoted_message_id?: string | null
|
|
398
400
|
raw_data?: Json | null
|
|
@@ -445,6 +447,7 @@ export type Database = {
|
|
|
445
447
|
org_id?: string
|
|
446
448
|
org_phone?: string
|
|
447
449
|
performed_by?: string | null
|
|
450
|
+
poll_vote_info?: Json | null
|
|
448
451
|
prev_body?: string | null
|
|
449
452
|
quoted_message_id?: string | null
|
|
450
453
|
raw_data?: Json | null
|
|
@@ -668,6 +671,7 @@ export type Database = {
|
|
|
668
671
|
closed_at: string | null
|
|
669
672
|
created_at: string
|
|
670
673
|
due_date: string | null
|
|
674
|
+
freshdesk_metadata: Json | null
|
|
671
675
|
hubspot_metadata: Json | null
|
|
672
676
|
is_deleted: boolean
|
|
673
677
|
label_ids: Json | null
|
|
@@ -680,7 +684,7 @@ export type Database = {
|
|
|
680
684
|
status: Database["public"]["Enums"]["enum_chat_tickets_status"] | null
|
|
681
685
|
subject: string
|
|
682
686
|
ticket_id: string
|
|
683
|
-
|
|
687
|
+
zohodesk_metadata: Json | null
|
|
684
688
|
}
|
|
685
689
|
Insert: {
|
|
686
690
|
assigned_by?: string | null
|
|
@@ -690,6 +694,7 @@ export type Database = {
|
|
|
690
694
|
closed_at?: string | null
|
|
691
695
|
created_at?: string
|
|
692
696
|
due_date?: string | null
|
|
697
|
+
freshdesk_metadata?: Json | null
|
|
693
698
|
hubspot_metadata?: Json | null
|
|
694
699
|
is_deleted?: boolean
|
|
695
700
|
label_ids?: Json | null
|
|
@@ -704,7 +709,7 @@ export type Database = {
|
|
|
704
709
|
| null
|
|
705
710
|
subject: string
|
|
706
711
|
ticket_id?: string
|
|
707
|
-
|
|
712
|
+
zohodesk_metadata?: Json | null
|
|
708
713
|
}
|
|
709
714
|
Update: {
|
|
710
715
|
assigned_by?: string | null
|
|
@@ -714,6 +719,7 @@ export type Database = {
|
|
|
714
719
|
closed_at?: string | null
|
|
715
720
|
created_at?: string
|
|
716
721
|
due_date?: string | null
|
|
722
|
+
freshdesk_metadata?: Json | null
|
|
717
723
|
hubspot_metadata?: Json | null
|
|
718
724
|
is_deleted?: boolean
|
|
719
725
|
label_ids?: Json | null
|
|
@@ -728,7 +734,7 @@ export type Database = {
|
|
|
728
734
|
| null
|
|
729
735
|
subject?: string
|
|
730
736
|
ticket_id?: string
|
|
731
|
-
|
|
737
|
+
zohodesk_metadata?: Json | null
|
|
732
738
|
}
|
|
733
739
|
Relationships: [
|
|
734
740
|
{
|
|
@@ -1556,7 +1562,9 @@ export type Database = {
|
|
|
1556
1562
|
created_at: string | null
|
|
1557
1563
|
is_enterprise: boolean | null
|
|
1558
1564
|
is_free_trial: boolean | null
|
|
1565
|
+
is_freshdesk_connected: boolean | null
|
|
1559
1566
|
is_hubspot_connected: boolean | null
|
|
1567
|
+
is_zohodesk_connected: boolean | null
|
|
1560
1568
|
org_id: string | null
|
|
1561
1569
|
org_image: string | null
|
|
1562
1570
|
org_metadata: Json | null
|
|
@@ -1577,7 +1585,9 @@ export type Database = {
|
|
|
1577
1585
|
created_at?: string | null
|
|
1578
1586
|
is_enterprise?: never
|
|
1579
1587
|
is_free_trial?: never
|
|
1588
|
+
is_freshdesk_connected?: never
|
|
1580
1589
|
is_hubspot_connected?: never
|
|
1590
|
+
is_zohodesk_connected?: never
|
|
1581
1591
|
org_id?: string | null
|
|
1582
1592
|
org_image?: string | null
|
|
1583
1593
|
org_metadata?: Json | null
|
|
@@ -1598,7 +1608,9 @@ export type Database = {
|
|
|
1598
1608
|
created_at?: string | null
|
|
1599
1609
|
is_enterprise?: never
|
|
1600
1610
|
is_free_trial?: never
|
|
1611
|
+
is_freshdesk_connected?: never
|
|
1601
1612
|
is_hubspot_connected?: never
|
|
1613
|
+
is_zohodesk_connected?: never
|
|
1602
1614
|
org_id?: string | null
|
|
1603
1615
|
org_image?: string | null
|
|
1604
1616
|
org_metadata?: Json | null
|
|
@@ -1861,6 +1873,7 @@ export type Database = {
|
|
|
1861
1873
|
| "ticket.created"
|
|
1862
1874
|
| "ticket.updated"
|
|
1863
1875
|
| "ticket.deleted"
|
|
1876
|
+
| "org.integrations.updated"
|
|
1864
1877
|
enum_integration_type:
|
|
1865
1878
|
| "zapier"
|
|
1866
1879
|
| "pabbly"
|
|
@@ -1871,6 +1884,7 @@ export type Database = {
|
|
|
1871
1884
|
| "slack"
|
|
1872
1885
|
| "jira"
|
|
1873
1886
|
| "salesforce"
|
|
1887
|
+
| "zohodesk"
|
|
1874
1888
|
enum_member_role: "admin" | "member"
|
|
1875
1889
|
}
|
|
1876
1890
|
CompositeTypes: {
|
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;
|
|
@@ -221,7 +224,7 @@ export type NotificationType = Tables<'tbl_chat_notifications'>;
|
|
|
221
224
|
export type ChatAccessType = Merge<
|
|
222
225
|
Tables<'tbl_org_members'>,
|
|
223
226
|
{
|
|
224
|
-
has_access
|
|
227
|
+
has_access?: boolean;
|
|
225
228
|
}
|
|
226
229
|
>;
|
|
227
230
|
|