@periskope/types 0.6.418 → 0.6.420
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 +21 -4
- package/dist/supabase.types.d.ts.map +1 -1
- package/dist/types.d.ts +2 -1
- package/dist/types.d.ts.map +1 -1
- package/mod_json_type.ps1 +108 -108
- package/mod_json_type.sh +22 -22
- package/package.json +19 -19
- package/src/index.ts +4 -4
- package/src/object.types.ts +109 -109
- package/src/rules.types.ts +3026 -3026
- package/src/supabase.types.ts +23 -4
- package/src/types.ts +1792 -1789
- package/src/workflows.types.ts +1296 -1296
- package/tsconfig.json +37 -37
- package/tsconfig.tsbuildinfo +1 -0
- package/update_package.ps1 +21 -21
package/src/supabase.types.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
export type Json = { [key: string]: any } | any
|
|
2
2
|
|
|
3
3
|
export type Database = {
|
|
4
|
+
// Allows to automatically instantiate createClient with right options
|
|
5
|
+
// instead of createClient<Database, { PostgrestVersion: 'XX' }>(URL, KEY)
|
|
6
|
+
__InternalSupabase: {
|
|
7
|
+
PostgrestVersion: "12.2.3 (519615d)"
|
|
8
|
+
}
|
|
4
9
|
internal: {
|
|
5
10
|
Tables: {
|
|
6
11
|
config: {
|
|
@@ -872,6 +877,7 @@ export type Database = {
|
|
|
872
877
|
has_quoted_msg: boolean | null
|
|
873
878
|
has_reaction: boolean | null
|
|
874
879
|
id: Json | null
|
|
880
|
+
interactive: Json | null
|
|
875
881
|
invite_v4: Json | null
|
|
876
882
|
is_deleted: boolean | null
|
|
877
883
|
is_ephemeral: boolean | null
|
|
@@ -901,6 +907,7 @@ export type Database = {
|
|
|
901
907
|
timestamp: string | null
|
|
902
908
|
to: string | null
|
|
903
909
|
token: string | null
|
|
910
|
+
translated_body: Json | null
|
|
904
911
|
unique_id: string | null
|
|
905
912
|
updated_at: string | null
|
|
906
913
|
vcards: string[] | null
|
|
@@ -926,6 +933,7 @@ export type Database = {
|
|
|
926
933
|
has_quoted_msg?: boolean | null
|
|
927
934
|
has_reaction?: boolean | null
|
|
928
935
|
id?: Json | null
|
|
936
|
+
interactive?: Json | null
|
|
929
937
|
invite_v4?: Json | null
|
|
930
938
|
is_deleted?: boolean | null
|
|
931
939
|
is_ephemeral?: boolean | null
|
|
@@ -955,6 +963,7 @@ export type Database = {
|
|
|
955
963
|
timestamp?: string | null
|
|
956
964
|
to?: string | null
|
|
957
965
|
token?: string | null
|
|
966
|
+
translated_body?: Json | null
|
|
958
967
|
unique_id?: string | null
|
|
959
968
|
updated_at?: string | null
|
|
960
969
|
vcards?: string[] | null
|
|
@@ -980,6 +989,7 @@ export type Database = {
|
|
|
980
989
|
has_quoted_msg?: boolean | null
|
|
981
990
|
has_reaction?: boolean | null
|
|
982
991
|
id?: Json | null
|
|
992
|
+
interactive?: Json | null
|
|
983
993
|
invite_v4?: Json | null
|
|
984
994
|
is_deleted?: boolean | null
|
|
985
995
|
is_ephemeral?: boolean | null
|
|
@@ -1009,6 +1019,7 @@ export type Database = {
|
|
|
1009
1019
|
timestamp?: string | null
|
|
1010
1020
|
to?: string | null
|
|
1011
1021
|
token?: string | null
|
|
1022
|
+
translated_body?: Json | null
|
|
1012
1023
|
unique_id?: string | null
|
|
1013
1024
|
updated_at?: string | null
|
|
1014
1025
|
vcards?: string[] | null
|
|
@@ -2068,6 +2079,7 @@ export type Database = {
|
|
|
2068
2079
|
server_image: string | null
|
|
2069
2080
|
server_ip: string | null
|
|
2070
2081
|
server_name: string | null
|
|
2082
|
+
server_port: number | null
|
|
2071
2083
|
server_zone: string | null
|
|
2072
2084
|
updated_at: string | null
|
|
2073
2085
|
wa_state: string | null
|
|
@@ -2092,6 +2104,7 @@ export type Database = {
|
|
|
2092
2104
|
server_image?: string | null
|
|
2093
2105
|
server_ip?: string | null
|
|
2094
2106
|
server_name?: string | null
|
|
2107
|
+
server_port?: number | null
|
|
2095
2108
|
server_zone?: string | null
|
|
2096
2109
|
updated_at?: string | null
|
|
2097
2110
|
wa_state?: string | null
|
|
@@ -2116,6 +2129,7 @@ export type Database = {
|
|
|
2116
2129
|
server_image?: string | null
|
|
2117
2130
|
server_ip?: string | null
|
|
2118
2131
|
server_name?: string | null
|
|
2132
|
+
server_port?: number | null
|
|
2119
2133
|
server_zone?: string | null
|
|
2120
2134
|
updated_at?: string | null
|
|
2121
2135
|
wa_state?: string | null
|
|
@@ -2156,12 +2170,13 @@ export type Database = {
|
|
|
2156
2170
|
Row: {
|
|
2157
2171
|
assignee: string | null
|
|
2158
2172
|
associated_object_metadata: Json | null
|
|
2173
|
+
chat_id: string | null
|
|
2159
2174
|
completed_metadata: Json | null
|
|
2160
2175
|
created_at: string
|
|
2161
2176
|
created_by: string
|
|
2162
2177
|
due_date: string | null
|
|
2163
2178
|
last_updated_at: string
|
|
2164
|
-
last_updated_by: string
|
|
2179
|
+
last_updated_by: string | null
|
|
2165
2180
|
notes: string | null
|
|
2166
2181
|
org_id: string
|
|
2167
2182
|
priority: number
|
|
@@ -2175,12 +2190,13 @@ export type Database = {
|
|
|
2175
2190
|
Insert: {
|
|
2176
2191
|
assignee?: string | null
|
|
2177
2192
|
associated_object_metadata?: Json | null
|
|
2193
|
+
chat_id?: string | null
|
|
2178
2194
|
completed_metadata?: Json | null
|
|
2179
2195
|
created_at?: string
|
|
2180
2196
|
created_by?: string
|
|
2181
2197
|
due_date?: string | null
|
|
2182
2198
|
last_updated_at?: string
|
|
2183
|
-
last_updated_by
|
|
2199
|
+
last_updated_by?: string | null
|
|
2184
2200
|
notes?: string | null
|
|
2185
2201
|
org_id: string
|
|
2186
2202
|
priority?: number
|
|
@@ -2194,12 +2210,13 @@ export type Database = {
|
|
|
2194
2210
|
Update: {
|
|
2195
2211
|
assignee?: string | null
|
|
2196
2212
|
associated_object_metadata?: Json | null
|
|
2213
|
+
chat_id?: string | null
|
|
2197
2214
|
completed_metadata?: Json | null
|
|
2198
2215
|
created_at?: string
|
|
2199
2216
|
created_by?: string
|
|
2200
2217
|
due_date?: string | null
|
|
2201
2218
|
last_updated_at?: string
|
|
2202
|
-
last_updated_by?: string
|
|
2219
|
+
last_updated_by?: string | null
|
|
2203
2220
|
notes?: string | null
|
|
2204
2221
|
org_id?: string
|
|
2205
2222
|
priority?: number
|
|
@@ -2951,7 +2968,7 @@ export type Database = {
|
|
|
2951
2968
|
Args: {
|
|
2952
2969
|
chat_id_input: string
|
|
2953
2970
|
org_id_input: string
|
|
2954
|
-
org_phone_input
|
|
2971
|
+
org_phone_input?: string
|
|
2955
2972
|
}
|
|
2956
2973
|
Returns: Json
|
|
2957
2974
|
}
|
|
@@ -3289,6 +3306,7 @@ export type Database = {
|
|
|
3289
3306
|
has_quoted_msg: boolean | null
|
|
3290
3307
|
has_reaction: boolean | null
|
|
3291
3308
|
id: Json | null
|
|
3309
|
+
interactive: Json | null
|
|
3292
3310
|
invite_v4: Json | null
|
|
3293
3311
|
is_deleted: boolean | null
|
|
3294
3312
|
is_ephemeral: boolean | null
|
|
@@ -3318,6 +3336,7 @@ export type Database = {
|
|
|
3318
3336
|
timestamp: string | null
|
|
3319
3337
|
to: string | null
|
|
3320
3338
|
token: string | null
|
|
3339
|
+
translated_body: Json | null
|
|
3321
3340
|
unique_id: string | null
|
|
3322
3341
|
updated_at: string | null
|
|
3323
3342
|
vcards: string[] | null
|