@periskope/types 0.6.284 → 0.6.286
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/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/supabase.types.d.ts +54 -64
- package/dist/supabase.types.d.ts.map +1 -1
- package/dist/types.d.ts +9 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/workflows.types.d.ts +47 -6
- package/dist/workflows.types.d.ts.map +1 -1
- package/dist/workflows.types.js +51 -2
- package/package.json +1 -1
- package/src/index.ts +0 -1
- package/src/supabase.types.ts +56 -73
- package/src/types.ts +8 -3
- package/tsconfig.tsbuildinfo +1 -1
- package/src/workflows.types.ts +0 -692
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/supabase.types.d.ts
CHANGED
|
@@ -121,6 +121,45 @@ export type Database = {
|
|
|
121
121
|
};
|
|
122
122
|
Relationships: [];
|
|
123
123
|
};
|
|
124
|
+
tbl_org_warmup: {
|
|
125
|
+
Row: {
|
|
126
|
+
created_at: string;
|
|
127
|
+
id: string;
|
|
128
|
+
is_active: boolean;
|
|
129
|
+
org_id: string;
|
|
130
|
+
org_phone: string;
|
|
131
|
+
phone_id: string;
|
|
132
|
+
started_at: string | null;
|
|
133
|
+
started_by: string | null;
|
|
134
|
+
timezone: string | null;
|
|
135
|
+
warmup_chats: Json;
|
|
136
|
+
};
|
|
137
|
+
Insert: {
|
|
138
|
+
created_at?: string;
|
|
139
|
+
id?: string;
|
|
140
|
+
is_active?: boolean;
|
|
141
|
+
org_id: string;
|
|
142
|
+
org_phone: string;
|
|
143
|
+
phone_id: string;
|
|
144
|
+
started_at?: string | null;
|
|
145
|
+
started_by?: string | null;
|
|
146
|
+
timezone?: string | null;
|
|
147
|
+
warmup_chats?: Json;
|
|
148
|
+
};
|
|
149
|
+
Update: {
|
|
150
|
+
created_at?: string;
|
|
151
|
+
id?: string;
|
|
152
|
+
is_active?: boolean;
|
|
153
|
+
org_id?: string;
|
|
154
|
+
org_phone?: string;
|
|
155
|
+
phone_id?: string;
|
|
156
|
+
started_at?: string | null;
|
|
157
|
+
started_by?: string | null;
|
|
158
|
+
timezone?: string | null;
|
|
159
|
+
warmup_chats?: Json;
|
|
160
|
+
};
|
|
161
|
+
Relationships: [];
|
|
162
|
+
};
|
|
124
163
|
tbl_tools_whatsapp_links: {
|
|
125
164
|
Row: {
|
|
126
165
|
created_at: string;
|
|
@@ -880,6 +919,7 @@ export type Database = {
|
|
|
880
919
|
flag_count_map: Json | null;
|
|
881
920
|
freshdesk_metadata: Json | null;
|
|
882
921
|
hubspot_metadata: Json | null;
|
|
922
|
+
is_archived: boolean;
|
|
883
923
|
label_ids: Json | null;
|
|
884
924
|
latest_message_timestamp: string | null;
|
|
885
925
|
org_id: string;
|
|
@@ -901,6 +941,7 @@ export type Database = {
|
|
|
901
941
|
flag_count_map?: Json | null;
|
|
902
942
|
freshdesk_metadata?: Json | null;
|
|
903
943
|
hubspot_metadata?: Json | null;
|
|
944
|
+
is_archived?: boolean;
|
|
904
945
|
label_ids?: Json | null;
|
|
905
946
|
latest_message_timestamp?: string | null;
|
|
906
947
|
org_id: string;
|
|
@@ -922,6 +963,7 @@ export type Database = {
|
|
|
922
963
|
flag_count_map?: Json | null;
|
|
923
964
|
freshdesk_metadata?: Json | null;
|
|
924
965
|
hubspot_metadata?: Json | null;
|
|
966
|
+
is_archived?: boolean;
|
|
925
967
|
label_ids?: Json | null;
|
|
926
968
|
latest_message_timestamp?: string | null;
|
|
927
969
|
org_id?: string;
|
|
@@ -1941,63 +1983,6 @@ export type Database = {
|
|
|
1941
1983
|
}
|
|
1942
1984
|
];
|
|
1943
1985
|
};
|
|
1944
|
-
tbl_org_workflows: {
|
|
1945
|
-
Row: {
|
|
1946
|
-
actions: Json;
|
|
1947
|
-
created_at: string;
|
|
1948
|
-
deleted_at: string | null;
|
|
1949
|
-
id: string;
|
|
1950
|
-
is_active: boolean;
|
|
1951
|
-
name: string;
|
|
1952
|
-
org_id: string;
|
|
1953
|
-
trigger: string;
|
|
1954
|
-
trigger_metadata: Json;
|
|
1955
|
-
updated_at: string;
|
|
1956
|
-
updated_by: string;
|
|
1957
|
-
};
|
|
1958
|
-
Insert: {
|
|
1959
|
-
actions?: Json;
|
|
1960
|
-
created_at?: string;
|
|
1961
|
-
deleted_at?: string | null;
|
|
1962
|
-
id?: string;
|
|
1963
|
-
is_active?: boolean;
|
|
1964
|
-
name: string;
|
|
1965
|
-
org_id: string;
|
|
1966
|
-
trigger: string;
|
|
1967
|
-
trigger_metadata?: Json;
|
|
1968
|
-
updated_at?: string;
|
|
1969
|
-
updated_by: string;
|
|
1970
|
-
};
|
|
1971
|
-
Update: {
|
|
1972
|
-
actions?: Json;
|
|
1973
|
-
created_at?: string;
|
|
1974
|
-
deleted_at?: string | null;
|
|
1975
|
-
id?: string;
|
|
1976
|
-
is_active?: boolean;
|
|
1977
|
-
name?: string;
|
|
1978
|
-
org_id?: string;
|
|
1979
|
-
trigger?: string;
|
|
1980
|
-
trigger_metadata?: Json;
|
|
1981
|
-
updated_at?: string;
|
|
1982
|
-
updated_by?: string;
|
|
1983
|
-
};
|
|
1984
|
-
Relationships: [
|
|
1985
|
-
{
|
|
1986
|
-
foreignKeyName: "tbl_org_workflows_org_id_fkey";
|
|
1987
|
-
columns: ["org_id"];
|
|
1988
|
-
isOneToOne: false;
|
|
1989
|
-
referencedRelation: "tbl_org";
|
|
1990
|
-
referencedColumns: ["org_id"];
|
|
1991
|
-
},
|
|
1992
|
-
{
|
|
1993
|
-
foreignKeyName: "tbl_org_workflows_org_id_fkey";
|
|
1994
|
-
columns: ["org_id"];
|
|
1995
|
-
isOneToOne: false;
|
|
1996
|
-
referencedRelation: "view_org";
|
|
1997
|
-
referencedColumns: ["org_id"];
|
|
1998
|
-
}
|
|
1999
|
-
];
|
|
2000
|
-
};
|
|
2001
1986
|
tbl_quick_replies: {
|
|
2002
1987
|
Row: {
|
|
2003
1988
|
command: string | null;
|
|
@@ -2483,6 +2468,13 @@ export type Database = {
|
|
|
2483
2468
|
};
|
|
2484
2469
|
Returns: Json[];
|
|
2485
2470
|
};
|
|
2471
|
+
get_chat_properties_by_chat_ids: {
|
|
2472
|
+
Args: {
|
|
2473
|
+
org_id_input: string;
|
|
2474
|
+
chat_id_input?: string[];
|
|
2475
|
+
};
|
|
2476
|
+
Returns: Json;
|
|
2477
|
+
};
|
|
2486
2478
|
get_chat_rule_info: {
|
|
2487
2479
|
Args: {
|
|
2488
2480
|
chat_id_input: string;
|
|
@@ -2533,13 +2525,6 @@ export type Database = {
|
|
|
2533
2525
|
};
|
|
2534
2526
|
Returns: Json;
|
|
2535
2527
|
};
|
|
2536
|
-
get_chat_properties_by_chat_ids: {
|
|
2537
|
-
Args: {
|
|
2538
|
-
org_id_input: string;
|
|
2539
|
-
chat_id_input?: string[];
|
|
2540
|
-
};
|
|
2541
|
-
Returns: Json;
|
|
2542
|
-
};
|
|
2543
2528
|
get_export_members_data: {
|
|
2544
2529
|
Args: {
|
|
2545
2530
|
org_id_input: string;
|
|
@@ -2645,6 +2630,10 @@ export type Database = {
|
|
|
2645
2630
|
Args: {
|
|
2646
2631
|
org_id_input: string;
|
|
2647
2632
|
query_embedding_input: string;
|
|
2633
|
+
} | {
|
|
2634
|
+
org_id_input: string;
|
|
2635
|
+
query_embedding_input: string;
|
|
2636
|
+
confidence_score_input: number;
|
|
2648
2637
|
};
|
|
2649
2638
|
Returns: Json;
|
|
2650
2639
|
};
|
|
@@ -2772,6 +2761,7 @@ export type Database = {
|
|
|
2772
2761
|
unique_message_id_input?: string;
|
|
2773
2762
|
org_phone_input?: string;
|
|
2774
2763
|
replace?: boolean;
|
|
2764
|
+
full_update?: boolean;
|
|
2775
2765
|
};
|
|
2776
2766
|
Returns: {
|
|
2777
2767
|
ack: string | null;
|