You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"SELECT s.* FROM s3object s WHERE s.direction = 'in' AND s.visibility = 'visible' AND s.status = 'handled' AND s.flow IS NULL AND s.type != 'voice'",
17
17
),
18
18
(
19
-
SystemLabel.TYPE_FLOWS,
19
+
MsgFolder.HANDLED,
20
20
"SELECT s.* FROM s3object s WHERE s.direction = 'in' AND s.visibility = 'visible' AND s.status = 'handled' AND s.flow IS NOT NULL AND s.type != 'voice'",
21
21
),
22
22
(
23
-
SystemLabel.TYPE_ARCHIVED,
23
+
MsgFolder.ARCHIVED,
24
24
"SELECT s.* FROM s3object s WHERE s.direction = 'in' AND s.visibility = 'archived' AND s.status = 'handled' AND s.type != 'voice'",
25
25
),
26
26
(
27
-
SystemLabel.TYPE_OUTBOX,
27
+
MsgFolder.OUTBOX,
28
28
"SELECT s.* FROM s3object s WHERE s.direction = 'out' AND s.visibility = 'visible' AND s.status IN ('initializing', 'queued', 'errored')",
29
29
),
30
30
(
31
-
SystemLabel.TYPE_SENT,
31
+
MsgFolder.SENT,
32
32
"SELECT s.* FROM s3object s WHERE s.direction = 'out' AND s.visibility = 'visible' AND s.status IN ('wired', 'sent', 'delivered', 'read')",
33
33
),
34
34
(
35
-
SystemLabel.TYPE_FAILED,
35
+
MsgFolder.FAILED,
36
36
"SELECT s.* FROM s3object s WHERE s.direction = 'out' AND s.visibility = 'visible' AND s.status = 'failed'",
0 commit comments