@periskope/types 0.6.119 → 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.
@@ -666,6 +666,7 @@ export type Database = {
666
666
  closed_at: string | null;
667
667
  created_at: string;
668
668
  due_date: string | null;
669
+ freshdesk_metadata: Json | null;
669
670
  hubspot_metadata: Json | null;
670
671
  is_deleted: boolean;
671
672
  label_ids: Json | null;
@@ -678,7 +679,7 @@ export type Database = {
678
679
  status: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
679
680
  subject: string;
680
681
  ticket_id: string;
681
- ticket_metadata: Json | null;
682
+ zohodesk_metadata: Json | null;
682
683
  };
683
684
  Insert: {
684
685
  assigned_by?: string | null;
@@ -688,6 +689,7 @@ export type Database = {
688
689
  closed_at?: string | null;
689
690
  created_at?: string;
690
691
  due_date?: string | null;
692
+ freshdesk_metadata?: Json | null;
691
693
  hubspot_metadata?: Json | null;
692
694
  is_deleted?: boolean;
693
695
  label_ids?: Json | null;
@@ -700,7 +702,7 @@ export type Database = {
700
702
  status?: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
701
703
  subject: string;
702
704
  ticket_id?: string;
703
- ticket_metadata?: Json | null;
705
+ zohodesk_metadata?: Json | null;
704
706
  };
705
707
  Update: {
706
708
  assigned_by?: string | null;
@@ -710,6 +712,7 @@ export type Database = {
710
712
  closed_at?: string | null;
711
713
  created_at?: string;
712
714
  due_date?: string | null;
715
+ freshdesk_metadata?: Json | null;
713
716
  hubspot_metadata?: Json | null;
714
717
  is_deleted?: boolean;
715
718
  label_ids?: Json | null;
@@ -722,7 +725,7 @@ export type Database = {
722
725
  status?: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
723
726
  subject?: string;
724
727
  ticket_id?: string;
725
- ticket_metadata?: Json | null;
728
+ zohodesk_metadata?: Json | null;
726
729
  };
727
730
  Relationships: [
728
731
  {
@@ -1548,7 +1551,9 @@ export type Database = {
1548
1551
  created_at: string | null;
1549
1552
  is_enterprise: boolean | null;
1550
1553
  is_free_trial: boolean | null;
1554
+ is_freshdesk_connected: boolean | null;
1551
1555
  is_hubspot_connected: boolean | null;
1556
+ is_zohodesk_connected: boolean | null;
1552
1557
  org_id: string | null;
1553
1558
  org_image: string | null;
1554
1559
  org_metadata: Json | null;
@@ -1569,7 +1574,9 @@ export type Database = {
1569
1574
  created_at?: string | null;
1570
1575
  is_enterprise?: never;
1571
1576
  is_free_trial?: never;
1577
+ is_freshdesk_connected?: never;
1572
1578
  is_hubspot_connected?: never;
1579
+ is_zohodesk_connected?: never;
1573
1580
  org_id?: string | null;
1574
1581
  org_image?: string | null;
1575
1582
  org_metadata?: Json | null;
@@ -1590,7 +1597,9 @@ export type Database = {
1590
1597
  created_at?: string | null;
1591
1598
  is_enterprise?: never;
1592
1599
  is_free_trial?: never;
1600
+ is_freshdesk_connected?: never;
1593
1601
  is_hubspot_connected?: never;
1602
+ is_zohodesk_connected?: never;
1594
1603
  org_id?: string | null;
1595
1604
  org_image?: string | null;
1596
1605
  org_metadata?: Json | null;
@@ -1817,8 +1826,8 @@ export type Database = {
1817
1826
  enum_broadcast_status: "inprogress" | "completed" | "stopped";
1818
1827
  enum_chat_colors: "#B4876E" | "#A5B337" | "#06CF9C" | "#25D366" | "#02A698" | "#7D9EF1" | "#007BFC" | "#5E47DE" | "#7F66FF" | "#9333EA" | "#FA6533" | "#C4532D" | "#DC2626" | "#FF2E74" | "#DB2777";
1819
1828
  enum_chat_tickets_status: "open" | "inprogress" | "closed" | "archived";
1820
- 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";
1821
- 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";
1822
1831
  enum_member_role: "admin" | "member";
1823
1832
  };
1824
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: boolean;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.119",
3
+ "version": "0.6.120",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/supabase.types.ts CHANGED
@@ -671,6 +671,7 @@ export type Database = {
671
671
  closed_at: string | null
672
672
  created_at: string
673
673
  due_date: string | null
674
+ freshdesk_metadata: Json | null
674
675
  hubspot_metadata: Json | null
675
676
  is_deleted: boolean
676
677
  label_ids: Json | null
@@ -683,7 +684,7 @@ export type Database = {
683
684
  status: Database["public"]["Enums"]["enum_chat_tickets_status"] | null
684
685
  subject: string
685
686
  ticket_id: string
686
- ticket_metadata: Json | null
687
+ zohodesk_metadata: Json | null
687
688
  }
688
689
  Insert: {
689
690
  assigned_by?: string | null
@@ -693,6 +694,7 @@ export type Database = {
693
694
  closed_at?: string | null
694
695
  created_at?: string
695
696
  due_date?: string | null
697
+ freshdesk_metadata?: Json | null
696
698
  hubspot_metadata?: Json | null
697
699
  is_deleted?: boolean
698
700
  label_ids?: Json | null
@@ -707,7 +709,7 @@ export type Database = {
707
709
  | null
708
710
  subject: string
709
711
  ticket_id?: string
710
- ticket_metadata?: Json | null
712
+ zohodesk_metadata?: Json | null
711
713
  }
712
714
  Update: {
713
715
  assigned_by?: string | null
@@ -717,6 +719,7 @@ export type Database = {
717
719
  closed_at?: string | null
718
720
  created_at?: string
719
721
  due_date?: string | null
722
+ freshdesk_metadata?: Json | null
720
723
  hubspot_metadata?: Json | null
721
724
  is_deleted?: boolean
722
725
  label_ids?: Json | null
@@ -731,7 +734,7 @@ export type Database = {
731
734
  | null
732
735
  subject?: string
733
736
  ticket_id?: string
734
- ticket_metadata?: Json | null
737
+ zohodesk_metadata?: Json | null
735
738
  }
736
739
  Relationships: [
737
740
  {
@@ -1559,7 +1562,9 @@ export type Database = {
1559
1562
  created_at: string | null
1560
1563
  is_enterprise: boolean | null
1561
1564
  is_free_trial: boolean | null
1565
+ is_freshdesk_connected: boolean | null
1562
1566
  is_hubspot_connected: boolean | null
1567
+ is_zohodesk_connected: boolean | null
1563
1568
  org_id: string | null
1564
1569
  org_image: string | null
1565
1570
  org_metadata: Json | null
@@ -1580,7 +1585,9 @@ export type Database = {
1580
1585
  created_at?: string | null
1581
1586
  is_enterprise?: never
1582
1587
  is_free_trial?: never
1588
+ is_freshdesk_connected?: never
1583
1589
  is_hubspot_connected?: never
1590
+ is_zohodesk_connected?: never
1584
1591
  org_id?: string | null
1585
1592
  org_image?: string | null
1586
1593
  org_metadata?: Json | null
@@ -1601,7 +1608,9 @@ export type Database = {
1601
1608
  created_at?: string | null
1602
1609
  is_enterprise?: never
1603
1610
  is_free_trial?: never
1611
+ is_freshdesk_connected?: never
1604
1612
  is_hubspot_connected?: never
1613
+ is_zohodesk_connected?: never
1605
1614
  org_id?: string | null
1606
1615
  org_image?: string | null
1607
1616
  org_metadata?: Json | null
@@ -1864,6 +1873,7 @@ export type Database = {
1864
1873
  | "ticket.created"
1865
1874
  | "ticket.updated"
1866
1875
  | "ticket.deleted"
1876
+ | "org.integrations.updated"
1867
1877
  enum_integration_type:
1868
1878
  | "zapier"
1869
1879
  | "pabbly"
@@ -1874,6 +1884,7 @@ export type Database = {
1874
1884
  | "slack"
1875
1885
  | "jira"
1876
1886
  | "salesforce"
1887
+ | "zohodesk"
1877
1888
  enum_member_role: "admin" | "member"
1878
1889
  }
1879
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: boolean;
227
+ has_access?: boolean;
225
228
  }
226
229
  >;
227
230