@periskope/types 0.6.263 → 0.6.265
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 +10 -59
- package/dist/supabase.types.d.ts.map +1 -1
- package/dist/supabase.types.js +4 -3
- package/dist/types.d.ts +6 -0
- 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 -5
- package/src/object.types.ts +100 -100
- package/src/rules.types.ts +2109 -2109
- package/src/supabase.types.ts +14 -62
- package/src/types.ts +1237 -1232
- package/tsconfig.json +18 -18
- package/update_package.ps1 +21 -21
- package/dist/workflows.types.d.ts +0 -307
- package/dist/workflows.types.d.ts.map +0 -1
- package/dist/workflows.types.js +0 -256
- package/src/workflows.types.ts +0 -692
- package/tsconfig.tsbuildinfo +0 -1
package/src/supabase.types.ts
CHANGED
|
@@ -690,6 +690,7 @@ export type Database = {
|
|
|
690
690
|
body: string | null
|
|
691
691
|
chat_id: string | null
|
|
692
692
|
from_me: boolean | null
|
|
693
|
+
is_deleted: boolean | null
|
|
693
694
|
is_private_note: boolean
|
|
694
695
|
media: Json | null
|
|
695
696
|
mentioned_ids: string[] | null
|
|
@@ -711,6 +712,7 @@ export type Database = {
|
|
|
711
712
|
body?: string | null
|
|
712
713
|
chat_id?: string | null
|
|
713
714
|
from_me?: boolean | null
|
|
715
|
+
is_deleted?: boolean | null
|
|
714
716
|
is_private_note?: boolean
|
|
715
717
|
media?: Json | null
|
|
716
718
|
mentioned_ids?: string[] | null
|
|
@@ -732,6 +734,7 @@ export type Database = {
|
|
|
732
734
|
body?: string | null
|
|
733
735
|
chat_id?: string | null
|
|
734
736
|
from_me?: boolean | null
|
|
737
|
+
is_deleted?: boolean | null
|
|
735
738
|
is_private_note?: boolean
|
|
736
739
|
media?: Json | null
|
|
737
740
|
mentioned_ids?: string[] | null
|
|
@@ -842,6 +845,7 @@ export type Database = {
|
|
|
842
845
|
label_ids: Json | null
|
|
843
846
|
latest_message_timestamp: string | null
|
|
844
847
|
org_id: string
|
|
848
|
+
snooze_metadata: Json | null
|
|
845
849
|
updated_at: string | null
|
|
846
850
|
zohodesk_metadata: Json | null
|
|
847
851
|
}
|
|
@@ -861,6 +865,7 @@ export type Database = {
|
|
|
861
865
|
label_ids?: Json | null
|
|
862
866
|
latest_message_timestamp?: string | null
|
|
863
867
|
org_id: string
|
|
868
|
+
snooze_metadata?: Json | null
|
|
864
869
|
updated_at?: string | null
|
|
865
870
|
zohodesk_metadata?: Json | null
|
|
866
871
|
}
|
|
@@ -880,6 +885,7 @@ export type Database = {
|
|
|
880
885
|
label_ids?: Json | null
|
|
881
886
|
latest_message_timestamp?: string | null
|
|
882
887
|
org_id?: string
|
|
888
|
+
snooze_metadata?: Json | null
|
|
883
889
|
updated_at?: string | null
|
|
884
890
|
zohodesk_metadata?: Json | null
|
|
885
891
|
}
|
|
@@ -1893,63 +1899,6 @@ export type Database = {
|
|
|
1893
1899
|
},
|
|
1894
1900
|
]
|
|
1895
1901
|
}
|
|
1896
|
-
tbl_org_workflows: {
|
|
1897
|
-
Row: {
|
|
1898
|
-
actions: Json
|
|
1899
|
-
created_at: string
|
|
1900
|
-
deleted_at: string | null
|
|
1901
|
-
id: string
|
|
1902
|
-
is_active: boolean
|
|
1903
|
-
name: string
|
|
1904
|
-
org_id: string
|
|
1905
|
-
trigger: string
|
|
1906
|
-
trigger_metadata: Json
|
|
1907
|
-
updated_at: string
|
|
1908
|
-
updated_by: string
|
|
1909
|
-
}
|
|
1910
|
-
Insert: {
|
|
1911
|
-
actions?: Json
|
|
1912
|
-
created_at?: string
|
|
1913
|
-
deleted_at?: string | null
|
|
1914
|
-
id?: string
|
|
1915
|
-
is_active?: boolean
|
|
1916
|
-
name: string
|
|
1917
|
-
org_id: string
|
|
1918
|
-
trigger: string
|
|
1919
|
-
trigger_metadata?: Json
|
|
1920
|
-
updated_at?: string
|
|
1921
|
-
updated_by: string
|
|
1922
|
-
}
|
|
1923
|
-
Update: {
|
|
1924
|
-
actions?: Json
|
|
1925
|
-
created_at?: string
|
|
1926
|
-
deleted_at?: string | null
|
|
1927
|
-
id?: string
|
|
1928
|
-
is_active?: boolean
|
|
1929
|
-
name?: string
|
|
1930
|
-
org_id?: string
|
|
1931
|
-
trigger?: string
|
|
1932
|
-
trigger_metadata?: Json
|
|
1933
|
-
updated_at?: string
|
|
1934
|
-
updated_by?: string
|
|
1935
|
-
}
|
|
1936
|
-
Relationships: [
|
|
1937
|
-
{
|
|
1938
|
-
foreignKeyName: "tbl_org_workflows_org_id_fkey"
|
|
1939
|
-
columns: ["org_id"]
|
|
1940
|
-
isOneToOne: false
|
|
1941
|
-
referencedRelation: "tbl_org"
|
|
1942
|
-
referencedColumns: ["org_id"]
|
|
1943
|
-
},
|
|
1944
|
-
{
|
|
1945
|
-
foreignKeyName: "tbl_org_workflows_org_id_fkey"
|
|
1946
|
-
columns: ["org_id"]
|
|
1947
|
-
isOneToOne: false
|
|
1948
|
-
referencedRelation: "view_org"
|
|
1949
|
-
referencedColumns: ["org_id"]
|
|
1950
|
-
},
|
|
1951
|
-
]
|
|
1952
|
-
}
|
|
1953
1902
|
tbl_quick_replies: {
|
|
1954
1903
|
Row: {
|
|
1955
1904
|
command: string | null
|
|
@@ -2243,6 +2192,7 @@ export type Database = {
|
|
|
2243
2192
|
flag_count_map: Json | null
|
|
2244
2193
|
freshdesk_metadata: Json | null
|
|
2245
2194
|
group_description: string | null
|
|
2195
|
+
group_metadata: Json | null
|
|
2246
2196
|
hubspot_metadata: Json | null
|
|
2247
2197
|
info_admins_only: boolean | null
|
|
2248
2198
|
initiated_by: string | null
|
|
@@ -2257,6 +2207,7 @@ export type Database = {
|
|
|
2257
2207
|
org_id: string | null
|
|
2258
2208
|
org_phone: string | null
|
|
2259
2209
|
pinned_messages: Json | null
|
|
2210
|
+
snooze_metadata: Json | null
|
|
2260
2211
|
updated_at: string | null
|
|
2261
2212
|
zohodesk_metadata: Json | null
|
|
2262
2213
|
}
|
|
@@ -2797,10 +2748,10 @@ export type Database = {
|
|
|
2797
2748
|
| "reaction.added"
|
|
2798
2749
|
| "message.ticket.attached"
|
|
2799
2750
|
| "org.phone.created"
|
|
2800
|
-
| "org.phone.updated"
|
|
2801
2751
|
| "org.phone.connected"
|
|
2802
2752
|
| "org.phone.disconnected"
|
|
2803
2753
|
| "org.phone.qr"
|
|
2754
|
+
| "org.phone.updated"
|
|
2804
2755
|
enum_integration_type:
|
|
2805
2756
|
| "zapier"
|
|
2806
2757
|
| "pabbly"
|
|
@@ -3373,9 +3324,6 @@ export const Constants = {
|
|
|
3373
3324
|
"org.updated",
|
|
3374
3325
|
"org.member.created",
|
|
3375
3326
|
"org.member.updated",
|
|
3376
|
-
"org.phone.created",
|
|
3377
|
-
"org.phone.connected",
|
|
3378
|
-
"org.phone.disconnected",
|
|
3379
3327
|
"org.subscription.trial_will_end",
|
|
3380
3328
|
"chat.created",
|
|
3381
3329
|
"chat.updated",
|
|
@@ -3395,7 +3343,11 @@ export const Constants = {
|
|
|
3395
3343
|
"chat.label.updated",
|
|
3396
3344
|
"reaction.added",
|
|
3397
3345
|
"message.ticket.attached",
|
|
3346
|
+
"org.phone.created",
|
|
3347
|
+
"org.phone.connected",
|
|
3348
|
+
"org.phone.disconnected",
|
|
3398
3349
|
"org.phone.qr",
|
|
3350
|
+
"org.phone.updated",
|
|
3399
3351
|
],
|
|
3400
3352
|
enum_integration_type: [
|
|
3401
3353
|
"zapier",
|
|
@@ -3418,4 +3370,4 @@ export const Constants = {
|
|
|
3418
3370
|
},
|
|
3419
3371
|
} as const
|
|
3420
3372
|
|
|
3421
|
-
|
|
3373
|
+
|