@periskope/types 0.6.302 → 0.6.303

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.
@@ -2,31 +2,6 @@ export type Json = {
2
2
  [key: string]: any;
3
3
  } | any;
4
4
  export type Database = {
5
- graphql_public: {
6
- Tables: {
7
- [_ in never]: never;
8
- };
9
- Views: {
10
- [_ in never]: never;
11
- };
12
- Functions: {
13
- graphql: {
14
- Args: {
15
- operationName?: string;
16
- query?: string;
17
- variables?: Json;
18
- extensions?: Json;
19
- };
20
- Returns: Json;
21
- };
22
- };
23
- Enums: {
24
- [_ in never]: never;
25
- };
26
- CompositeTypes: {
27
- [_ in never]: never;
28
- };
29
- };
30
5
  internal: {
31
6
  Tables: {
32
7
  config: {
@@ -2011,6 +1986,63 @@ export type Database = {
2011
1986
  }
2012
1987
  ];
2013
1988
  };
1989
+ tbl_org_workflows: {
1990
+ Row: {
1991
+ actions: Json;
1992
+ created_at: string;
1993
+ deleted_at: string | null;
1994
+ id: string;
1995
+ is_active: boolean;
1996
+ name: string;
1997
+ org_id: string;
1998
+ trigger: string;
1999
+ trigger_metadata: Json;
2000
+ updated_at: string;
2001
+ updated_by: string;
2002
+ };
2003
+ Insert: {
2004
+ actions?: Json;
2005
+ created_at?: string;
2006
+ deleted_at?: string | null;
2007
+ id?: string;
2008
+ is_active?: boolean;
2009
+ name: string;
2010
+ org_id: string;
2011
+ trigger: string;
2012
+ trigger_metadata?: Json;
2013
+ updated_at?: string;
2014
+ updated_by: string;
2015
+ };
2016
+ Update: {
2017
+ actions?: Json;
2018
+ created_at?: string;
2019
+ deleted_at?: string | null;
2020
+ id?: string;
2021
+ is_active?: boolean;
2022
+ name?: string;
2023
+ org_id?: string;
2024
+ trigger?: string;
2025
+ trigger_metadata?: Json;
2026
+ updated_at?: string;
2027
+ updated_by?: string;
2028
+ };
2029
+ Relationships: [
2030
+ {
2031
+ foreignKeyName: "tbl_org_workflows_org_id_fkey";
2032
+ columns: ["org_id"];
2033
+ isOneToOne: false;
2034
+ referencedRelation: "tbl_org";
2035
+ referencedColumns: ["org_id"];
2036
+ },
2037
+ {
2038
+ foreignKeyName: "tbl_org_workflows_org_id_fkey";
2039
+ columns: ["org_id"];
2040
+ isOneToOne: false;
2041
+ referencedRelation: "view_org";
2042
+ referencedColumns: ["org_id"];
2043
+ }
2044
+ ];
2045
+ };
2014
2046
  tbl_quick_replies: {
2015
2047
  Row: {
2016
2048
  command: string | null;
@@ -2765,17 +2797,6 @@ export type Database = {
2765
2797
  };
2766
2798
  Returns: Json;
2767
2799
  };
2768
- get_reaction_workflow_info: {
2769
- Args: {
2770
- reaction_id_input: string;
2771
- org_id_input: string;
2772
- org_phone_input: string;
2773
- message_id_input: string;
2774
- reaction_sender_id_input: string;
2775
- chat_id_input: string;
2776
- };
2777
- Returns: Json;
2778
- };
2779
2800
  get_relevant_context: {
2780
2801
  Args: {
2781
2802
  org_id_input: string;
@@ -2824,17 +2845,6 @@ export type Database = {
2824
2845
  };
2825
2846
  Returns: Json;
2826
2847
  };
2827
- get_ticket_workflow_info: {
2828
- Args: {
2829
- ticket_id_input: string;
2830
- org_id_input: string;
2831
- org_phone_input: string;
2832
- chat_id_input: string;
2833
- message_id_input: string;
2834
- sender_id_input: string;
2835
- };
2836
- Returns: Json;
2837
- };
2838
2848
  get_universal_search_result: {
2839
2849
  Args: {
2840
2850
  search_category_input: string;
@@ -3531,9 +3541,6 @@ export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof Defaul
3531
3541
  schema: keyof Database;
3532
3542
  } ? Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
3533
3543
  export declare const Constants: {
3534
- readonly graphql_public: {
3535
- readonly Enums: {};
3536
- };
3537
3544
  readonly internal: {
3538
3545
  readonly Enums: {};
3539
3546
  };