@periskope/types 0.6.133 → 0.6.134

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.
@@ -617,11 +617,11 @@ export type Database = {
617
617
  };
618
618
  Relationships: [
619
619
  {
620
- foreignKeyName: "tbl_chat_participants_fkey_tbl_chats";
621
- columns: ["org_id", "org_phone", "chat_id"];
620
+ foreignKeyName: "fkey_tbl_org_phones";
621
+ columns: ["org_id", "org_phone"];
622
622
  isOneToOne: false;
623
- referencedRelation: "tbl_chats";
624
- referencedColumns: ["org_id", "org_phone", "chat_id"];
623
+ referencedRelation: "tbl_org_phones";
624
+ referencedColumns: ["org_id", "org_phone"];
625
625
  }
626
626
  ];
627
627
  };
@@ -894,11 +894,11 @@ export type Database = {
894
894
  };
895
895
  Relationships: [
896
896
  {
897
- foreignKeyName: "tbl_chats_fkey_tbl_org_phones";
898
- columns: ["org_phone", "org_id"];
897
+ foreignKeyName: "fkey_tbl_org_phones";
898
+ columns: ["org_id", "org_phone"];
899
899
  isOneToOne: false;
900
900
  referencedRelation: "tbl_org_phones";
901
- referencedColumns: ["org_phone", "org_id"];
901
+ referencedColumns: ["org_id", "org_phone"];
902
902
  }
903
903
  ];
904
904
  };
@@ -1378,6 +1378,7 @@ export type Database = {
1378
1378
  is_browser_open: boolean;
1379
1379
  is_ready: boolean | null;
1380
1380
  legacy_version: boolean | null;
1381
+ library: string | null;
1381
1382
  org_id: string;
1382
1383
  org_phone: string | null;
1383
1384
  phone_id: string;
@@ -1398,6 +1399,7 @@ export type Database = {
1398
1399
  is_browser_open?: boolean;
1399
1400
  is_ready?: boolean | null;
1400
1401
  legacy_version?: boolean | null;
1402
+ library?: string | null;
1401
1403
  org_id: string;
1402
1404
  org_phone?: string | null;
1403
1405
  phone_id?: string;
@@ -1418,6 +1420,7 @@ export type Database = {
1418
1420
  is_browser_open?: boolean;
1419
1421
  is_ready?: boolean | null;
1420
1422
  legacy_version?: boolean | null;
1423
+ library?: string | null;
1421
1424
  org_id?: string;
1422
1425
  org_phone?: string | null;
1423
1426
  phone_id?: string;
@@ -1847,7 +1850,14 @@ export type Database = {
1847
1850
  get_export_chats_data: {
1848
1851
  Args: {
1849
1852
  org_id_input: string;
1850
- chat_ids?: string[];
1853
+ chat_id_input?: string[];
1854
+ };
1855
+ Returns: Json;
1856
+ };
1857
+ get_export_tickets_data: {
1858
+ Args: {
1859
+ org_id_input: string;
1860
+ ticket_id_input?: string[];
1851
1861
  };
1852
1862
  Returns: Json;
1853
1863
  };
@@ -1957,7 +1967,7 @@ export type Database = {
1957
1967
  enum_chat_colors: "#B4876E" | "#A5B337" | "#06CF9C" | "#25D366" | "#02A698" | "#7D9EF1" | "#007BFC" | "#5E47DE" | "#7F66FF" | "#9333EA" | "#FA6533" | "#C4532D" | "#DC2626" | "#FF2E74" | "#DB2777";
1958
1968
  enum_chat_tickets_status: "open" | "inprogress" | "closed" | "archived";
1959
1969
  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";
1960
- enum_integration_type: "zapier" | "pabbly" | "api" | "webhook" | "hubspot" | "freshdesk" | "slack" | "jira" | "salesforce" | "zohodesk";
1970
+ enum_integration_type: "zapier" | "pabbly" | "api" | "webhook" | "hubspot" | "freshdesk" | "slack" | "jira" | "salesforce" | "zohodesk" | "gsheets";
1961
1971
  enum_member_role: "admin" | "member";
1962
1972
  };
1963
1973
  CompositeTypes: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.133",
3
+ "version": "0.6.134",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/supabase.types.ts CHANGED
@@ -622,11 +622,11 @@ export type Database = {
622
622
  }
623
623
  Relationships: [
624
624
  {
625
- foreignKeyName: "tbl_chat_participants_fkey_tbl_chats"
626
- columns: ["org_id", "org_phone", "chat_id"]
625
+ foreignKeyName: "fkey_tbl_org_phones"
626
+ columns: ["org_id", "org_phone"]
627
627
  isOneToOne: false
628
- referencedRelation: "tbl_chats"
629
- referencedColumns: ["org_id", "org_phone", "chat_id"]
628
+ referencedRelation: "tbl_org_phones"
629
+ referencedColumns: ["org_id", "org_phone"]
630
630
  },
631
631
  ]
632
632
  }
@@ -903,11 +903,11 @@ export type Database = {
903
903
  }
904
904
  Relationships: [
905
905
  {
906
- foreignKeyName: "tbl_chats_fkey_tbl_org_phones"
907
- columns: ["org_phone", "org_id"]
906
+ foreignKeyName: "fkey_tbl_org_phones"
907
+ columns: ["org_id", "org_phone"]
908
908
  isOneToOne: false
909
909
  referencedRelation: "tbl_org_phones"
910
- referencedColumns: ["org_phone", "org_id"]
910
+ referencedColumns: ["org_id", "org_phone"]
911
911
  },
912
912
  ]
913
913
  }
@@ -1387,6 +1387,7 @@ export type Database = {
1387
1387
  is_browser_open: boolean
1388
1388
  is_ready: boolean | null
1389
1389
  legacy_version: boolean | null
1390
+ library: string | null
1390
1391
  org_id: string
1391
1392
  org_phone: string | null
1392
1393
  phone_id: string
@@ -1407,6 +1408,7 @@ export type Database = {
1407
1408
  is_browser_open?: boolean
1408
1409
  is_ready?: boolean | null
1409
1410
  legacy_version?: boolean | null
1411
+ library?: string | null
1410
1412
  org_id: string
1411
1413
  org_phone?: string | null
1412
1414
  phone_id?: string
@@ -1427,6 +1429,7 @@ export type Database = {
1427
1429
  is_browser_open?: boolean
1428
1430
  is_ready?: boolean | null
1429
1431
  legacy_version?: boolean | null
1432
+ library?: string | null
1430
1433
  org_id?: string
1431
1434
  org_phone?: string | null
1432
1435
  phone_id?: string
@@ -1858,7 +1861,14 @@ export type Database = {
1858
1861
  get_export_chats_data: {
1859
1862
  Args: {
1860
1863
  org_id_input: string
1861
- chat_ids?: string[]
1864
+ chat_id_input?: string[]
1865
+ }
1866
+ Returns: Json
1867
+ }
1868
+ get_export_tickets_data: {
1869
+ Args: {
1870
+ org_id_input: string
1871
+ ticket_id_input?: string[]
1862
1872
  }
1863
1873
  Returns: Json
1864
1874
  }
@@ -2015,6 +2025,7 @@ export type Database = {
2015
2025
  | "jira"
2016
2026
  | "salesforce"
2017
2027
  | "zohodesk"
2028
+ | "gsheets"
2018
2029
  enum_member_role: "admin" | "member"
2019
2030
  }
2020
2031
  CompositeTypes: {