@periskope/types 0.6.42 → 0.6.43
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 +5 -61
- package/dist/types.d.ts +1 -3
- package/package.json +1 -1
- package/supabase.types.ts +1328 -1384
- package/types.ts +1 -3
package/dist/supabase.types.d.ts
CHANGED
|
@@ -807,7 +807,7 @@ export interface Database {
|
|
|
807
807
|
phone_name: string | null;
|
|
808
808
|
qr_code: string | null;
|
|
809
809
|
server_ip: string | null;
|
|
810
|
-
updated_at: string;
|
|
810
|
+
updated_at: string | null;
|
|
811
811
|
wa_state: string | null;
|
|
812
812
|
};
|
|
813
813
|
Insert: {
|
|
@@ -820,7 +820,7 @@ export interface Database {
|
|
|
820
820
|
phone_name?: string | null;
|
|
821
821
|
qr_code?: string | null;
|
|
822
822
|
server_ip?: string | null;
|
|
823
|
-
updated_at?: string;
|
|
823
|
+
updated_at?: string | null;
|
|
824
824
|
wa_state?: string | null;
|
|
825
825
|
};
|
|
826
826
|
Update: {
|
|
@@ -833,7 +833,7 @@ export interface Database {
|
|
|
833
833
|
phone_name?: string | null;
|
|
834
834
|
qr_code?: string | null;
|
|
835
835
|
server_ip?: string | null;
|
|
836
|
-
updated_at?: string;
|
|
836
|
+
updated_at?: string | null;
|
|
837
837
|
wa_state?: string | null;
|
|
838
838
|
};
|
|
839
839
|
Relationships: [
|
|
@@ -913,64 +913,6 @@ export interface Database {
|
|
|
913
913
|
updated_at: string | null;
|
|
914
914
|
vcards: string[] | null;
|
|
915
915
|
};
|
|
916
|
-
Insert: {
|
|
917
|
-
ack?: string | null;
|
|
918
|
-
author?: string | null;
|
|
919
|
-
body?: string | null;
|
|
920
|
-
broadcast_id?: string | null;
|
|
921
|
-
chat_id?: string | null;
|
|
922
|
-
delivery_info?: Json | null;
|
|
923
|
-
from_me?: boolean | null;
|
|
924
|
-
invite_v4?: Json | null;
|
|
925
|
-
is_deleted?: boolean | null;
|
|
926
|
-
links?: Json | null;
|
|
927
|
-
location?: Json | null;
|
|
928
|
-
media?: Json | null;
|
|
929
|
-
mentioned_ids?: string[] | null;
|
|
930
|
-
message_id?: string | null;
|
|
931
|
-
message_ticket_id?: string | null;
|
|
932
|
-
message_type?: string | null;
|
|
933
|
-
org_id?: string | null;
|
|
934
|
-
org_phone?: string | null;
|
|
935
|
-
performed_by?: string | null;
|
|
936
|
-
prev_body?: string | null;
|
|
937
|
-
quoted_message_id?: string | null;
|
|
938
|
-
sender_phone?: string | null;
|
|
939
|
-
sent_message_id?: string | null;
|
|
940
|
-
timestamp?: string | null;
|
|
941
|
-
unique_id?: string | null;
|
|
942
|
-
updated_at?: string | null;
|
|
943
|
-
vcards?: string[] | null;
|
|
944
|
-
};
|
|
945
|
-
Update: {
|
|
946
|
-
ack?: string | null;
|
|
947
|
-
author?: string | null;
|
|
948
|
-
body?: string | null;
|
|
949
|
-
broadcast_id?: string | null;
|
|
950
|
-
chat_id?: string | null;
|
|
951
|
-
delivery_info?: Json | null;
|
|
952
|
-
from_me?: boolean | null;
|
|
953
|
-
invite_v4?: Json | null;
|
|
954
|
-
is_deleted?: boolean | null;
|
|
955
|
-
links?: Json | null;
|
|
956
|
-
location?: Json | null;
|
|
957
|
-
media?: Json | null;
|
|
958
|
-
mentioned_ids?: string[] | null;
|
|
959
|
-
message_id?: string | null;
|
|
960
|
-
message_ticket_id?: string | null;
|
|
961
|
-
message_type?: string | null;
|
|
962
|
-
org_id?: string | null;
|
|
963
|
-
org_phone?: string | null;
|
|
964
|
-
performed_by?: string | null;
|
|
965
|
-
prev_body?: string | null;
|
|
966
|
-
quoted_message_id?: string | null;
|
|
967
|
-
sender_phone?: string | null;
|
|
968
|
-
sent_message_id?: string | null;
|
|
969
|
-
timestamp?: string | null;
|
|
970
|
-
unique_id?: string | null;
|
|
971
|
-
updated_at?: string | null;
|
|
972
|
-
vcards?: string[] | null;
|
|
973
|
-
};
|
|
974
916
|
Relationships: [
|
|
975
917
|
{
|
|
976
918
|
foreignKeyName: "tbl_chat_messages_fkey_tbl_org_phones";
|
|
@@ -1029,6 +971,7 @@ export interface Database {
|
|
|
1029
971
|
Args: {
|
|
1030
972
|
broadcast_id_input: string;
|
|
1031
973
|
chat_id_input?: string;
|
|
974
|
+
org_id_input?: string;
|
|
1032
975
|
};
|
|
1033
976
|
Returns: Json;
|
|
1034
977
|
};
|
|
@@ -1043,6 +986,7 @@ export interface Database {
|
|
|
1043
986
|
chat_id_input?: string[];
|
|
1044
987
|
with_metadata?: boolean;
|
|
1045
988
|
last_updated_at_input?: string;
|
|
989
|
+
org_id_input?: string;
|
|
1046
990
|
};
|
|
1047
991
|
Returns: Json;
|
|
1048
992
|
};
|
package/dist/types.d.ts
CHANGED
|
@@ -86,13 +86,11 @@ export type LogsType = {
|
|
|
86
86
|
total_count: number | null;
|
|
87
87
|
delivery_info: MessageInfo | null;
|
|
88
88
|
delivered_count: number | null;
|
|
89
|
-
chat_image: string | null;
|
|
90
|
-
chat_name: string | null;
|
|
91
89
|
members: Partial<ChatMemberType>[];
|
|
92
90
|
member_count: number | null;
|
|
93
91
|
};
|
|
94
92
|
export type BroadcastLogType = Tables<'view_broadcast_logs'> & {
|
|
95
|
-
logs: LogsType[];
|
|
93
|
+
logs: (LogsType & ChatType)[];
|
|
96
94
|
};
|
|
97
95
|
export type ChatParticipantOperation = {
|
|
98
96
|
participant_ids: string[];
|