@periskope/types 0.6.398 → 0.6.399

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.
@@ -1035,8 +1035,8 @@ export type Database = {
1035
1035
  override_chat_access: Json | null;
1036
1036
  snooze_metadata: Json | null;
1037
1037
  updated_at: string | null;
1038
- zohodesk_metadata: Json | null;
1039
1038
  zohocrm_metadata: Json | null;
1039
+ zohodesk_metadata: Json | null;
1040
1040
  };
1041
1041
  Insert: {
1042
1042
  ai_metadata?: Json | null;
@@ -1060,8 +1060,8 @@ export type Database = {
1060
1060
  override_chat_access?: Json | null;
1061
1061
  snooze_metadata?: Json | null;
1062
1062
  updated_at?: string | null;
1063
- zohodesk_metadata?: Json | null;
1064
1063
  zohocrm_metadata?: Json | null;
1064
+ zohodesk_metadata?: Json | null;
1065
1065
  };
1066
1066
  Update: {
1067
1067
  ai_metadata?: Json | null;
@@ -1085,8 +1085,8 @@ export type Database = {
1085
1085
  override_chat_access?: Json | null;
1086
1086
  snooze_metadata?: Json | null;
1087
1087
  updated_at?: string | null;
1088
- zohodesk_metadata?: Json | null;
1089
1088
  zohocrm_metadata?: Json | null;
1089
+ zohodesk_metadata?: Json | null;
1090
1090
  };
1091
1091
  Relationships: [];
1092
1092
  };
@@ -1619,7 +1619,7 @@ export type Database = {
1619
1619
  org_id: string;
1620
1620
  response: Json | null;
1621
1621
  success: boolean;
1622
- type: Database["public"]["Enums"]["enum_integration_type"];
1622
+ type: string;
1623
1623
  };
1624
1624
  Insert: {
1625
1625
  created_at?: string;
@@ -1630,7 +1630,7 @@ export type Database = {
1630
1630
  org_id: string;
1631
1631
  response?: Json | null;
1632
1632
  success?: boolean;
1633
- type: Database["public"]["Enums"]["enum_integration_type"];
1633
+ type: string;
1634
1634
  };
1635
1635
  Update: {
1636
1636
  created_at?: string;
@@ -1641,7 +1641,7 @@ export type Database = {
1641
1641
  org_id?: string;
1642
1642
  response?: Json | null;
1643
1643
  success?: boolean;
1644
- type?: Database["public"]["Enums"]["enum_integration_type"];
1644
+ type?: string;
1645
1645
  };
1646
1646
  Relationships: [
1647
1647
  {
@@ -1891,59 +1891,6 @@ export type Database = {
1891
1891
  }
1892
1892
  ];
1893
1893
  };
1894
- tbl_org_notifications: {
1895
- Row: {
1896
- action_url: string | null;
1897
- body: Json;
1898
- clicked_by: Json | null;
1899
- created_at: string;
1900
- notification_id: string;
1901
- notification_type: Database["public"]["Enums"]["enum_notification_type"];
1902
- org_id: string;
1903
- seen_at: string | null;
1904
- sender_details: Json;
1905
- to: string | null;
1906
- updated_at: string | null;
1907
- };
1908
- Insert: {
1909
- body: Json;
1910
- created_at?: string;
1911
- notification_id?: string;
1912
- notification_type: Database["public"]["Enums"]["enum_notification_type"];
1913
- org_id: string;
1914
- seen_at?: string | null;
1915
- sender_details: Json;
1916
- to?: string | null;
1917
- updated_at?: string | null;
1918
- };
1919
- Update: {
1920
- body?: Json;
1921
- created_at?: string;
1922
- notification_id?: string;
1923
- notification_type?: Database["public"]["Enums"]["enum_notification_type"];
1924
- org_id?: string;
1925
- seen_at?: string | null;
1926
- sender_details?: Json;
1927
- to?: string | null;
1928
- updated_at?: string | null;
1929
- };
1930
- Relationships: [
1931
- {
1932
- foreignKeyName: "tbl_org_notifications_org_id_fkey";
1933
- columns: ["org_id"];
1934
- isOneToOne: false;
1935
- referencedRelation: "tbl_org";
1936
- referencedColumns: ["org_id"];
1937
- },
1938
- {
1939
- foreignKeyName: "tbl_org_notifications_org_id_fkey";
1940
- columns: ["org_id"];
1941
- isOneToOne: false;
1942
- referencedRelation: "view_org";
1943
- referencedColumns: ["org_id"];
1944
- }
1945
- ];
1946
- };
1947
1894
  tbl_org_phones: {
1948
1895
  Row: {
1949
1896
  created_at: string;
@@ -2635,6 +2582,7 @@ export type Database = {
2635
2582
  pinned_messages: Json | null;
2636
2583
  snooze_metadata: Json | null;
2637
2584
  updated_at: string | null;
2585
+ zohocrm_metadata: Json | null;
2638
2586
  zohodesk_metadata: Json | null;
2639
2587
  };
2640
2588
  Relationships: [];
@@ -2648,13 +2596,14 @@ export type Database = {
2648
2596
  allocated_phone_limit: number | null;
2649
2597
  allocated_user_limit: number | null;
2650
2598
  created_at: string | null;
2599
+ hubspot_tokens: Json | null;
2651
2600
  is_enterprise: boolean | null;
2652
2601
  is_free_trial: boolean | null;
2653
2602
  is_freshdesk_connected: boolean | null;
2654
2603
  is_hubspot_connected: boolean | null;
2655
2604
  is_platform: boolean | null;
2656
- is_zohodesk_connected: boolean | null;
2657
2605
  is_zohocrm_connected: boolean | null;
2606
+ is_zohodesk_connected: boolean | null;
2658
2607
  org_alias: string | null;
2659
2608
  org_id: string | null;
2660
2609
  org_image: string | null;
@@ -2681,13 +2630,14 @@ export type Database = {
2681
2630
  allocated_phone_limit?: never;
2682
2631
  allocated_user_limit?: never;
2683
2632
  created_at?: string | null;
2633
+ hubspot_tokens?: never;
2684
2634
  is_enterprise?: never;
2685
2635
  is_free_trial?: never;
2686
2636
  is_freshdesk_connected?: never;
2687
2637
  is_hubspot_connected?: never;
2688
2638
  is_platform?: boolean | null;
2689
- is_zohodesk_connected?: never;
2690
2639
  is_zohocrm_connected?: never;
2640
+ is_zohodesk_connected?: never;
2691
2641
  org_alias?: string | null;
2692
2642
  org_id?: string | null;
2693
2643
  org_image?: string | null;
@@ -2714,13 +2664,14 @@ export type Database = {
2714
2664
  allocated_phone_limit?: never;
2715
2665
  allocated_user_limit?: never;
2716
2666
  created_at?: string | null;
2667
+ hubspot_tokens?: never;
2717
2668
  is_enterprise?: never;
2718
2669
  is_free_trial?: never;
2719
2670
  is_freshdesk_connected?: never;
2720
2671
  is_hubspot_connected?: never;
2721
2672
  is_platform?: boolean | null;
2722
- is_zohodesk_connected?: never;
2723
2673
  is_zohocrm_connected?: never;
2674
+ is_zohodesk_connected?: never;
2724
2675
  org_alias?: string | null;
2725
2676
  org_id?: string | null;
2726
2677
  org_image?: string | null;
@@ -3312,7 +3263,6 @@ export type Database = {
3312
3263
  enum_integration_name: "org.created" | "org.updated" | "org.member.created" | "org.member.updated" | "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" | "message.flagged" | "message.unflagged" | "chat.label.updated" | "reaction.added" | "message.ticket.attached" | "org.phone.created" | "org.phone.connected" | "org.phone.disconnected" | "org.phone.qr" | "org.phone.updated" | "note.created" | "chat.custom_properties.updated";
3313
3264
  enum_integration_type: "zapier" | "pabbly" | "api" | "webhook" | "hubspot" | "freshdesk" | "slack" | "jira" | "salesforce" | "zohodesk" | "zohocrm" | "gsheets";
3314
3265
  enum_member_role: "admin" | "member";
3315
- enum_notification_type: "message" | "mention" | "task" | "ticket" | "org";
3316
3266
  };
3317
3267
  CompositeTypes: {
3318
3268
  [_ in never]: never;
@@ -3696,7 +3646,6 @@ export declare const Constants: {
3696
3646
  readonly enum_integration_name: readonly ["org.created", "org.updated", "org.member.created", "org.member.updated", "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", "message.flagged", "message.unflagged", "chat.label.updated", "reaction.added", "message.ticket.attached", "org.phone.created", "org.phone.connected", "org.phone.disconnected", "org.phone.qr", "org.phone.updated", "note.created", "chat.custom_properties.updated"];
3697
3647
  readonly enum_integration_type: readonly ["zapier", "pabbly", "api", "webhook", "hubspot", "freshdesk", "slack", "jira", "salesforce", "zohodesk", "zohocrm", "gsheets"];
3698
3648
  readonly enum_member_role: readonly ["admin", "member"];
3699
- readonly enum_notification_type: readonly ["message", "mention", "task", "ticket", "org"];
3700
3649
  };
3701
3650
  };
3702
3651
  readonly storage: {