@periskope/types 0.6.319 → 0.6.321

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.
@@ -210,6 +210,54 @@ export type Database = {
210
210
  }
211
211
  Relationships: []
212
212
  }
213
+ temp_chat_properties: {
214
+ Row: {
215
+ chat_id: string
216
+ org_id: string
217
+ updated_at: string
218
+ }
219
+ Insert: {
220
+ chat_id: string
221
+ org_id: string
222
+ updated_at?: string
223
+ }
224
+ Update: {
225
+ chat_id?: string
226
+ org_id?: string
227
+ updated_at?: string
228
+ }
229
+ Relationships: []
230
+ }
231
+ temp_flag_status: {
232
+ Row: {
233
+ chat_id: string
234
+ created_at: string
235
+ flag_metadata: Json | null
236
+ flag_status: boolean | null
237
+ org_id: string
238
+ unique_id: string
239
+ updated_at: string | null
240
+ }
241
+ Insert: {
242
+ chat_id: string
243
+ created_at?: string
244
+ flag_metadata?: Json | null
245
+ flag_status?: boolean | null
246
+ org_id: string
247
+ unique_id: string
248
+ updated_at?: string | null
249
+ }
250
+ Update: {
251
+ chat_id?: string
252
+ created_at?: string
253
+ flag_metadata?: Json | null
254
+ flag_status?: boolean | null
255
+ org_id?: string
256
+ unique_id?: string
257
+ updated_at?: string | null
258
+ }
259
+ Relationships: []
260
+ }
213
261
  }
214
262
  Views: {
215
263
  [_ in never]: never
@@ -2591,7 +2639,9 @@ export type Database = {
2591
2639
  Returns: boolean
2592
2640
  }
2593
2641
  compute_chat_access: {
2594
- Args: { org_id_input: string; chat_id_input?: string }
2642
+ Args: {
2643
+ chat_properties_row: Database["public"]["Tables"]["tbl_chat_properties"]["Row"]
2644
+ }
2595
2645
  Returns: {
2596
2646
  result_chat_id: string
2597
2647
  new_chat_access: Json
@@ -2806,10 +2856,10 @@ export type Database = {
2806
2856
  }
2807
2857
  get_relevant_context: {
2808
2858
  Args: {
2809
- org_id_input: string
2810
- query_embedding_input: string
2859
+ org_id_input: string
2860
+ query_embedding_input: string
2811
2861
  confidence_score_input?: number
2812
- }
2862
+ }
2813
2863
  Returns: Json
2814
2864
  }
2815
2865
  get_sender_workflow_info: {
@@ -2823,9 +2873,9 @@ export type Database = {
2823
2873
  }
2824
2874
  get_task_rule_info: {
2825
2875
  Args: {
2826
- org_id_input: string
2827
2876
  task_id_input: string
2828
2877
  task_type_input: string
2878
+ org_id_input: string
2829
2879
  chat_id_input?: string
2830
2880
  org_phone_input?: string
2831
2881
  sender_id_input?: string
@@ -3593,4 +3643,4 @@ export const Constants = {
3593
3643
  },
3594
3644
  } as const
3595
3645
 
3596
-
3646
+