@periskope/types 0.6.132 → 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;
@@ -1513,7 +1516,7 @@ export type Database = {
1513
1516
  performed_by: string | null;
1514
1517
  scheduled_at: string;
1515
1518
  sent_message_id: string;
1516
- status: string | null;
1519
+ status: boolean | null;
1517
1520
  updated_at: string | null;
1518
1521
  };
1519
1522
  Insert: {
@@ -1526,7 +1529,7 @@ export type Database = {
1526
1529
  performed_by?: string | null;
1527
1530
  scheduled_at: string;
1528
1531
  sent_message_id: string;
1529
- status?: string | null;
1532
+ status?: boolean | null;
1530
1533
  updated_at?: string | null;
1531
1534
  };
1532
1535
  Update: {
@@ -1539,7 +1542,7 @@ export type Database = {
1539
1542
  performed_by?: string | null;
1540
1543
  scheduled_at?: string;
1541
1544
  sent_message_id?: string;
1542
- status?: string | null;
1545
+ status?: boolean | null;
1543
1546
  updated_at?: string | null;
1544
1547
  };
1545
1548
  Relationships: [
@@ -1839,15 +1842,22 @@ export type Database = {
1839
1842
  search_input?: string;
1840
1843
  label_ids_input?: string[];
1841
1844
  is_internal_input?: boolean;
1842
- page_number?: number;
1843
- page_size?: number;
1845
+ offset_input?: number;
1846
+ limit_input?: number;
1844
1847
  };
1845
1848
  Returns: Json;
1846
1849
  };
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.132",
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
@@ -1522,7 +1525,7 @@ export type Database = {
1522
1525
  performed_by: string | null
1523
1526
  scheduled_at: string
1524
1527
  sent_message_id: string
1525
- status: string | null
1528
+ status: boolean | null
1526
1529
  updated_at: string | null
1527
1530
  }
1528
1531
  Insert: {
@@ -1535,7 +1538,7 @@ export type Database = {
1535
1538
  performed_by?: string | null
1536
1539
  scheduled_at: string
1537
1540
  sent_message_id: string
1538
- status?: string | null
1541
+ status?: boolean | null
1539
1542
  updated_at?: string | null
1540
1543
  }
1541
1544
  Update: {
@@ -1548,7 +1551,7 @@ export type Database = {
1548
1551
  performed_by?: string | null
1549
1552
  scheduled_at?: string
1550
1553
  sent_message_id?: string
1551
- status?: string | null
1554
+ status?: boolean | null
1552
1555
  updated_at?: string | null
1553
1556
  }
1554
1557
  Relationships: [
@@ -1850,15 +1853,22 @@ export type Database = {
1850
1853
  search_input?: string
1851
1854
  label_ids_input?: string[]
1852
1855
  is_internal_input?: boolean
1853
- page_number?: number
1854
- page_size?: number
1856
+ offset_input?: number
1857
+ limit_input?: number
1855
1858
  }
1856
1859
  Returns: Json
1857
1860
  }
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
  }