@periskope/types 0.6.300 → 0.6.302
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.
- package/dist/supabase.types.d.ts +94 -57
- package/dist/supabase.types.d.ts.map +1 -1
- package/dist/supabase.types.js +3 -0
- package/package.json +1 -1
- package/src/supabase.types.ts +44 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/billing.types.d.ts +0 -14
- package/dist/billing.types.d.ts.map +0 -1
- package/dist/billing.types.js +0 -2
package/dist/supabase.types.d.ts
CHANGED
|
@@ -2,6 +2,31 @@ 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
|
+
};
|
|
5
30
|
internal: {
|
|
6
31
|
Tables: {
|
|
7
32
|
config: {
|
|
@@ -1986,63 +2011,6 @@ export type Database = {
|
|
|
1986
2011
|
}
|
|
1987
2012
|
];
|
|
1988
2013
|
};
|
|
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
|
-
};
|
|
2046
2014
|
tbl_quick_replies: {
|
|
2047
2015
|
Row: {
|
|
2048
2016
|
command: string | null;
|
|
@@ -2251,6 +2219,50 @@ export type Database = {
|
|
|
2251
2219
|
}
|
|
2252
2220
|
];
|
|
2253
2221
|
};
|
|
2222
|
+
tbl_task_audit_logs: {
|
|
2223
|
+
Row: {
|
|
2224
|
+
action: string | null;
|
|
2225
|
+
log_id: string;
|
|
2226
|
+
new_record: Json | null;
|
|
2227
|
+
old_record: Json | null;
|
|
2228
|
+
org_id: string | null;
|
|
2229
|
+
performed_by: string | null;
|
|
2230
|
+
task_id: string | null;
|
|
2231
|
+
timestamp: string;
|
|
2232
|
+
type: string | null;
|
|
2233
|
+
};
|
|
2234
|
+
Insert: {
|
|
2235
|
+
action?: string | null;
|
|
2236
|
+
log_id?: string;
|
|
2237
|
+
new_record?: Json | null;
|
|
2238
|
+
old_record?: Json | null;
|
|
2239
|
+
org_id?: string | null;
|
|
2240
|
+
performed_by?: string | null;
|
|
2241
|
+
task_id?: string | null;
|
|
2242
|
+
timestamp?: string;
|
|
2243
|
+
type?: string | null;
|
|
2244
|
+
};
|
|
2245
|
+
Update: {
|
|
2246
|
+
action?: string | null;
|
|
2247
|
+
log_id?: string;
|
|
2248
|
+
new_record?: Json | null;
|
|
2249
|
+
old_record?: Json | null;
|
|
2250
|
+
org_id?: string | null;
|
|
2251
|
+
performed_by?: string | null;
|
|
2252
|
+
task_id?: string | null;
|
|
2253
|
+
timestamp?: string;
|
|
2254
|
+
type?: string | null;
|
|
2255
|
+
};
|
|
2256
|
+
Relationships: [
|
|
2257
|
+
{
|
|
2258
|
+
foreignKeyName: "tbl_task_audit_logs_fkey";
|
|
2259
|
+
columns: ["task_id"];
|
|
2260
|
+
isOneToOne: false;
|
|
2261
|
+
referencedRelation: "tbl_org_tasks";
|
|
2262
|
+
referencedColumns: ["task_id"];
|
|
2263
|
+
}
|
|
2264
|
+
];
|
|
2265
|
+
};
|
|
2254
2266
|
tbl_ticket_audit_logs: {
|
|
2255
2267
|
Row: {
|
|
2256
2268
|
action: string | null;
|
|
@@ -2753,6 +2765,17 @@ export type Database = {
|
|
|
2753
2765
|
};
|
|
2754
2766
|
Returns: Json;
|
|
2755
2767
|
};
|
|
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
|
+
};
|
|
2756
2779
|
get_relevant_context: {
|
|
2757
2780
|
Args: {
|
|
2758
2781
|
org_id_input: string;
|
|
@@ -2801,6 +2824,17 @@ export type Database = {
|
|
|
2801
2824
|
};
|
|
2802
2825
|
Returns: Json;
|
|
2803
2826
|
};
|
|
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
|
+
};
|
|
2804
2838
|
get_universal_search_result: {
|
|
2805
2839
|
Args: {
|
|
2806
2840
|
search_category_input: string;
|
|
@@ -3497,6 +3531,9 @@ export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof Defaul
|
|
|
3497
3531
|
schema: keyof Database;
|
|
3498
3532
|
} ? Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
|
|
3499
3533
|
export declare const Constants: {
|
|
3534
|
+
readonly graphql_public: {
|
|
3535
|
+
readonly Enums: {};
|
|
3536
|
+
};
|
|
3500
3537
|
readonly internal: {
|
|
3501
3538
|
readonly Enums: {};
|
|
3502
3539
|
};
|