@periskope/types 0.6.111 → 0.6.113

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.
@@ -240,7 +240,6 @@ export type Database = {
240
240
  };
241
241
  tbl_chat_access: {
242
242
  Row: {
243
- active_phone: string | null;
244
243
  chat_id: string;
245
244
  email: string;
246
245
  has_access: boolean | null;
@@ -249,7 +248,6 @@ export type Database = {
249
248
  org_id: string;
250
249
  };
251
250
  Insert: {
252
- active_phone?: string | null;
253
251
  chat_id: string;
254
252
  email: string;
255
253
  has_access?: boolean | null;
@@ -258,7 +256,6 @@ export type Database = {
258
256
  org_id: string;
259
257
  };
260
258
  Update: {
261
- active_phone?: string | null;
262
259
  chat_id?: string;
263
260
  email?: string;
264
261
  has_access?: boolean | null;
@@ -1725,8 +1722,12 @@ export type Database = {
1725
1722
  Args: {
1726
1723
  org_id_input: string;
1727
1724
  contact_ids_input?: string[];
1728
- with_name?: boolean;
1729
1725
  sync_phone_contacts?: boolean;
1726
+ search_input?: string;
1727
+ label_ids_input?: string[];
1728
+ is_internal_input?: boolean;
1729
+ page_number?: number;
1730
+ page_size?: number;
1730
1731
  };
1731
1732
  Returns: Json;
1732
1733
  };
@@ -1819,6 +1820,14 @@ export type Database = {
1819
1820
  Args: Record<PropertyKey, never>;
1820
1821
  Returns: Database["public"]["Enums"]["enum_member_role"];
1821
1822
  };
1823
+ update_custom_properties: {
1824
+ Args: {
1825
+ org_id_input: string;
1826
+ row_properties_map: Json;
1827
+ replace_properties?: boolean;
1828
+ };
1829
+ Returns: undefined;
1830
+ };
1822
1831
  update_labels: {
1823
1832
  Args: {
1824
1833
  org_id_input: string;
@@ -1833,7 +1842,7 @@ export type Database = {
1833
1842
  enum_broadcast_status: "inprogress" | "completed" | "stopped";
1834
1843
  enum_chat_colors: "#B4876E" | "#A5B337" | "#06CF9C" | "#25D366" | "#02A698" | "#7D9EF1" | "#007BFC" | "#5E47DE" | "#7F66FF" | "#9333EA" | "#FA6533" | "#C4532D" | "#DC2626" | "#FF2E74" | "#DB2777";
1835
1844
  enum_chat_tickets_status: "open" | "inprogress" | "closed" | "archived";
1836
- 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.member.invited";
1845
+ 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";
1837
1846
  enum_integration_type: "zapier" | "pabbly" | "api" | "webhook" | "hubspot" | "freshdesk" | "slack" | "jira" | "salesforce" | "zohodesk";
1838
1847
  enum_member_role: "admin" | "member";
1839
1848
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.111",
3
+ "version": "0.6.113",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/supabase.types.ts CHANGED
@@ -245,7 +245,6 @@ export type Database = {
245
245
  }
246
246
  tbl_chat_access: {
247
247
  Row: {
248
- active_phone: string | null
249
248
  chat_id: string
250
249
  email: string
251
250
  has_access: boolean | null
@@ -254,7 +253,6 @@ export type Database = {
254
253
  org_id: string
255
254
  }
256
255
  Insert: {
257
- active_phone?: string | null
258
256
  chat_id: string
259
257
  email: string
260
258
  has_access?: boolean | null
@@ -263,7 +261,6 @@ export type Database = {
263
261
  org_id: string
264
262
  }
265
263
  Update: {
266
- active_phone?: string | null
267
264
  chat_id?: string
268
265
  email?: string
269
266
  has_access?: boolean | null
@@ -1736,8 +1733,12 @@ export type Database = {
1736
1733
  Args: {
1737
1734
  org_id_input: string
1738
1735
  contact_ids_input?: string[]
1739
- with_name?: boolean
1740
1736
  sync_phone_contacts?: boolean
1737
+ search_input?: string
1738
+ label_ids_input?: string[]
1739
+ is_internal_input?: boolean
1740
+ page_number?: number
1741
+ page_size?: number
1741
1742
  }
1742
1743
  Returns: Json
1743
1744
  }
@@ -1830,6 +1831,14 @@ export type Database = {
1830
1831
  Args: Record<PropertyKey, never>
1831
1832
  Returns: Database["public"]["Enums"]["enum_member_role"]
1832
1833
  }
1834
+ update_custom_properties: {
1835
+ Args: {
1836
+ org_id_input: string
1837
+ row_properties_map: Json
1838
+ replace_properties?: boolean
1839
+ }
1840
+ Returns: undefined
1841
+ }
1833
1842
  update_labels: {
1834
1843
  Args: {
1835
1844
  org_id_input: string
@@ -1880,7 +1889,7 @@ export type Database = {
1880
1889
  | "ticket.created"
1881
1890
  | "ticket.updated"
1882
1891
  | "ticket.deleted"
1883
- | "org.member.invited"
1892
+ | "org.integrations.updated"
1884
1893
  enum_integration_type:
1885
1894
  | "zapier"
1886
1895
  | "pabbly"