@periskope/types 0.6.176 → 0.6.178

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.
@@ -884,7 +884,7 @@ export type Database = {
884
884
  response_time?: number | null;
885
885
  status?: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
886
886
  subject: string;
887
- ticket_id: string;
887
+ ticket_id?: string;
888
888
  zohodesk_metadata?: Json | null;
889
889
  };
890
890
  Update: {
@@ -1876,6 +1876,7 @@ export type Database = {
1876
1876
  };
1877
1877
  view_chats: {
1878
1878
  Row: {
1879
+ add_members_admins_only: boolean | null;
1879
1880
  assigned_to: string | null;
1880
1881
  chat_access: Json | null;
1881
1882
  chat_id: string | null;
@@ -1895,7 +1896,6 @@ export type Database = {
1895
1896
  is_muted: boolean | null;
1896
1897
  label_ids: Json | null;
1897
1898
  latest_message: Json | null;
1898
- member_add_mode: string | null;
1899
1899
  member_count: number | null;
1900
1900
  message_unread_count: number | null;
1901
1901
  messages_admins_only: boolean | null;
package/dist/types.d.ts CHANGED
@@ -89,10 +89,17 @@ export type OrgMetadata = {
89
89
  [id: string]: number;
90
90
  };
91
91
  };
92
+ rules?: {
93
+ limit?: number;
94
+ };
95
+ ai?: {
96
+ flag_prompt?: string;
97
+ };
92
98
  };
93
99
  type AccessScopes = {
94
100
  feature_flags: Record<string, boolean>;
95
101
  integrations: boolean;
102
+ rules: boolean;
96
103
  exports: boolean;
97
104
  };
98
105
  export type OrgType = OverrideProperties<Merge<Tables<'tbl_org'>, {
@@ -466,7 +473,7 @@ export type PollResultType = {
466
473
  export type CreateGroupOptions = {
467
474
  messagesAdminsOnly?: boolean;
468
475
  infoAdminsOnly?: boolean;
469
- memberAddMode?: boolean;
476
+ addMembersAdminsOnly?: boolean;
470
477
  image?: string;
471
478
  name?: string;
472
479
  description?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.176",
3
+ "version": "0.6.178",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/supabase.types.ts CHANGED
@@ -891,7 +891,7 @@ export type Database = {
891
891
  | Database["public"]["Enums"]["enum_chat_tickets_status"]
892
892
  | null
893
893
  subject: string
894
- ticket_id: string
894
+ ticket_id?: string
895
895
  zohodesk_metadata?: Json | null
896
896
  }
897
897
  Update: {
@@ -1887,6 +1887,7 @@ export type Database = {
1887
1887
  }
1888
1888
  view_chats: {
1889
1889
  Row: {
1890
+ add_members_admins_only: boolean | null
1890
1891
  assigned_to: string | null
1891
1892
  chat_access: Json | null
1892
1893
  chat_id: string | null
@@ -1906,7 +1907,6 @@ export type Database = {
1906
1907
  is_muted: boolean | null
1907
1908
  label_ids: Json | null
1908
1909
  latest_message: Json | null
1909
- member_add_mode: string | null
1910
1910
  member_count: number | null
1911
1911
  message_unread_count: number | null
1912
1912
  messages_admins_only: boolean | null
package/types.ts CHANGED
@@ -106,11 +106,18 @@ export type OrgMetadata = {
106
106
  [id: string]: number;
107
107
  };
108
108
  };
109
+ rules?: {
110
+ limit?: number;
111
+ }
112
+ ai?: {
113
+ flag_prompt?: string;
114
+ }
109
115
  };
110
116
 
111
117
  type AccessScopes = {
112
118
  feature_flags: Record<string, boolean>;
113
119
  integrations: boolean;
120
+ rules: boolean;
114
121
  exports: boolean;
115
122
  };
116
123
 
@@ -633,7 +640,7 @@ export type PollResultType = {
633
640
  export type CreateGroupOptions = {
634
641
  messagesAdminsOnly?: boolean;
635
642
  infoAdminsOnly?: boolean;
636
- memberAddMode?: boolean;
643
+ addMembersAdminsOnly?: boolean;
637
644
  image?: string;
638
645
  name?: string;
639
646
  description?: string;