@wirecat/cli-core 0.553.0 → 0.555.0
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/CHANGELOG.md +32 -0
- package/dist/cli/messenger/catch-up-answers.d.ts +50 -1
- package/dist/cli/messenger/catch-up-answers.js +2 -1
- package/dist/cli/messenger/catch-up.d.ts +6 -2
- package/dist/cli/messenger/catch-up.js +11 -2
- package/dist/cli/messenger/conversation-answers.d.ts +3 -0
- package/dist/cli/messenger/inbox.js +1 -1
- package/dist/cli/messenger/message-answers.d.ts +3 -0
- package/dist/cli/messenger/message-writes.d.ts +6 -0
- package/dist/cli/messenger/points.d.ts +9 -4
- package/dist/cli/messenger/points.js +10 -4
- package/dist/cli/messenger/review.js +1 -1
- package/dist/cli/schedule/schedule-command.d.ts +0 -1
- package/dist/cli/schedule/schedule-command.js +6 -1
- package/dist/domain/models.d.ts +4 -0
- package/dist/entities/contact-context.d.ts +6 -0
- package/dist/entities/conversation-results.d.ts +6 -0
- package/dist/entities/evidence.d.ts +24 -0
- package/dist/entities/index.d.ts +263 -3
- package/dist/entities/index.js +1 -0
- package/dist/entities/listener.d.ts +12 -0
- package/dist/entities/message-context.d.ts +9 -0
- package/dist/entities/message-write.d.ts +12 -0
- package/dist/entities/message.d.ts +6 -0
- package/dist/entities/message.js +6 -0
- package/dist/entities/store-records.d.ts +3 -0
- package/dist/mail/cli/index.d.ts +2 -1
- package/dist/mail/cli/index.js +4 -1
- package/dist/mail/cli/review.d.ts +24 -0
- package/dist/mail/cli/review.js +204 -0
- package/dist/mail/email-input.d.ts +2 -0
- package/dist/mail/email-input.js +6 -1
- package/dist/mail/index.d.ts +2 -0
- package/dist/mail/index.js +2 -0
- package/dist/mail/owed.d.ts +11 -0
- package/dist/mail/owed.js +14 -0
- package/dist/mail/retry.js +2 -1
- package/dist/mail/review.d.ts +37 -0
- package/dist/mail/review.js +118 -0
- package/dist/mail/sync.js +5 -1
- package/dist/mail/testing/fake.d.ts +2 -0
- package/dist/mail/testing/fake.js +1 -1
- package/dist/services/agenda-mail.d.ts +15 -0
- package/dist/services/agenda-mail.js +66 -0
- package/dist/services/agenda.d.ts +4 -0
- package/dist/services/agenda.js +17 -7
- package/dist/store/exports.d.ts +1 -0
- package/dist/store/exports.js +1 -0
- package/dist/store/sqlite/email-activity.d.ts +62 -0
- package/dist/store/sqlite/email-activity.js +71 -0
- package/dist/store/sqlite/email-locations.d.ts +1 -0
- package/dist/store/sqlite/email-locations.js +4 -0
- package/dist/store/sqlite/emails.d.ts +9 -3
- package/dist/store/sqlite/emails.js +7 -14
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -447,6 +447,9 @@ export declare const ENTITIES: {
|
|
|
447
447
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
448
448
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
449
449
|
}, undefined>, undefined>;
|
|
450
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
451
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
452
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
450
453
|
}, undefined>, undefined>;
|
|
451
454
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
452
455
|
}, undefined>;
|
|
@@ -664,6 +667,9 @@ export declare const ENTITIES: {
|
|
|
664
667
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
665
668
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
666
669
|
}, undefined>, undefined>;
|
|
670
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
671
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
672
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
667
673
|
}, undefined>, undefined>;
|
|
668
674
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
669
675
|
}, undefined>, v.StrictObjectSchema<{
|
|
@@ -886,6 +892,9 @@ export declare const ENTITIES: {
|
|
|
886
892
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
887
893
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
888
894
|
}, undefined>, undefined>;
|
|
895
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
896
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
897
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
889
898
|
}, undefined>, undefined>;
|
|
890
899
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
891
900
|
}, undefined>, undefined>;
|
|
@@ -1246,6 +1255,9 @@ export declare const ENTITIES: {
|
|
|
1246
1255
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1247
1256
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
1248
1257
|
}, undefined>, undefined>;
|
|
1258
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1259
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1260
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1249
1261
|
}, undefined>, undefined>;
|
|
1250
1262
|
/** The files the message carries; absent when it has none. */
|
|
1251
1263
|
readonly attachments: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
@@ -1470,6 +1482,9 @@ export declare const ENTITIES: {
|
|
|
1470
1482
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1471
1483
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
1472
1484
|
}, undefined>, undefined>;
|
|
1485
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1486
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1487
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1473
1488
|
}, undefined>, undefined>;
|
|
1474
1489
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1475
1490
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
@@ -1687,9 +1702,12 @@ export declare const ENTITIES: {
|
|
|
1687
1702
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1688
1703
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
1689
1704
|
}, undefined>, undefined>;
|
|
1705
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1706
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1707
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1690
1708
|
}, undefined>, undefined>;
|
|
1691
1709
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1692
|
-
}, "attachments" | "chat_id" | "chat_title" | "outgoing" | "ref" | "sender_is_me" | "sender_name" | "text" | "timestamp" | "transcript">;
|
|
1710
|
+
}, "attachments" | "chat_id" | "chat_title" | "email" | "outgoing" | "ref" | "sender_is_me" | "sender_name" | "text" | "timestamp" | "transcript">;
|
|
1693
1711
|
readonly "~standard": v.StandardProps<{
|
|
1694
1712
|
ref: string;
|
|
1695
1713
|
chat_id: string;
|
|
@@ -1733,6 +1751,46 @@ export declare const ENTITIES: {
|
|
|
1733
1751
|
url?: string | undefined;
|
|
1734
1752
|
}[][] | undefined;
|
|
1735
1753
|
}[];
|
|
1754
|
+
email?: {
|
|
1755
|
+
subject: string | null;
|
|
1756
|
+
from: {
|
|
1757
|
+
name: string | null;
|
|
1758
|
+
address: string;
|
|
1759
|
+
ref: string | null;
|
|
1760
|
+
} | null;
|
|
1761
|
+
to: {
|
|
1762
|
+
name: string | null;
|
|
1763
|
+
address: string;
|
|
1764
|
+
ref: string | null;
|
|
1765
|
+
}[];
|
|
1766
|
+
cc: {
|
|
1767
|
+
name: string | null;
|
|
1768
|
+
address: string;
|
|
1769
|
+
ref: string | null;
|
|
1770
|
+
}[];
|
|
1771
|
+
bcc: {
|
|
1772
|
+
name: string | null;
|
|
1773
|
+
address: string;
|
|
1774
|
+
ref: string | null;
|
|
1775
|
+
}[];
|
|
1776
|
+
reply_addresses: {
|
|
1777
|
+
name: string | null;
|
|
1778
|
+
address: string;
|
|
1779
|
+
ref: string | null;
|
|
1780
|
+
}[];
|
|
1781
|
+
labels: string[];
|
|
1782
|
+
thread: string;
|
|
1783
|
+
read: boolean | null;
|
|
1784
|
+
flagged: boolean | null;
|
|
1785
|
+
sender_score?: {
|
|
1786
|
+
score: number;
|
|
1787
|
+
signals: string[];
|
|
1788
|
+
demoted?: true | undefined;
|
|
1789
|
+
} | undefined;
|
|
1790
|
+
bulk?: boolean | undefined;
|
|
1791
|
+
list_id?: string | null | undefined;
|
|
1792
|
+
rule_id?: number | null | undefined;
|
|
1793
|
+
} | undefined;
|
|
1736
1794
|
}, {
|
|
1737
1795
|
ref: string;
|
|
1738
1796
|
chat_id: string;
|
|
@@ -1776,6 +1834,46 @@ export declare const ENTITIES: {
|
|
|
1776
1834
|
url?: string | undefined;
|
|
1777
1835
|
}[][] | undefined;
|
|
1778
1836
|
}[];
|
|
1837
|
+
email?: {
|
|
1838
|
+
subject: string | null;
|
|
1839
|
+
from: {
|
|
1840
|
+
name: string | null;
|
|
1841
|
+
address: string;
|
|
1842
|
+
ref: string | null;
|
|
1843
|
+
} | null;
|
|
1844
|
+
to: {
|
|
1845
|
+
name: string | null;
|
|
1846
|
+
address: string;
|
|
1847
|
+
ref: string | null;
|
|
1848
|
+
}[];
|
|
1849
|
+
cc: {
|
|
1850
|
+
name: string | null;
|
|
1851
|
+
address: string;
|
|
1852
|
+
ref: string | null;
|
|
1853
|
+
}[];
|
|
1854
|
+
bcc: {
|
|
1855
|
+
name: string | null;
|
|
1856
|
+
address: string;
|
|
1857
|
+
ref: string | null;
|
|
1858
|
+
}[];
|
|
1859
|
+
reply_addresses: {
|
|
1860
|
+
name: string | null;
|
|
1861
|
+
address: string;
|
|
1862
|
+
ref: string | null;
|
|
1863
|
+
}[];
|
|
1864
|
+
labels: string[];
|
|
1865
|
+
thread: string;
|
|
1866
|
+
read: boolean | null;
|
|
1867
|
+
flagged: boolean | null;
|
|
1868
|
+
sender_score?: {
|
|
1869
|
+
score: number;
|
|
1870
|
+
signals: string[];
|
|
1871
|
+
demoted?: true | undefined;
|
|
1872
|
+
} | undefined;
|
|
1873
|
+
bulk?: boolean | undefined;
|
|
1874
|
+
list_id?: string | null | undefined;
|
|
1875
|
+
rule_id?: number | null | undefined;
|
|
1876
|
+
} | undefined;
|
|
1779
1877
|
}>;
|
|
1780
1878
|
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
1781
1879
|
ref: string;
|
|
@@ -1820,7 +1918,47 @@ export declare const ENTITIES: {
|
|
|
1820
1918
|
url?: string | undefined;
|
|
1821
1919
|
}[][] | undefined;
|
|
1822
1920
|
}[];
|
|
1823
|
-
|
|
1921
|
+
email?: {
|
|
1922
|
+
subject: string | null;
|
|
1923
|
+
from: {
|
|
1924
|
+
name: string | null;
|
|
1925
|
+
address: string;
|
|
1926
|
+
ref: string | null;
|
|
1927
|
+
} | null;
|
|
1928
|
+
to: {
|
|
1929
|
+
name: string | null;
|
|
1930
|
+
address: string;
|
|
1931
|
+
ref: string | null;
|
|
1932
|
+
}[];
|
|
1933
|
+
cc: {
|
|
1934
|
+
name: string | null;
|
|
1935
|
+
address: string;
|
|
1936
|
+
ref: string | null;
|
|
1937
|
+
}[];
|
|
1938
|
+
bcc: {
|
|
1939
|
+
name: string | null;
|
|
1940
|
+
address: string;
|
|
1941
|
+
ref: string | null;
|
|
1942
|
+
}[];
|
|
1943
|
+
reply_addresses: {
|
|
1944
|
+
name: string | null;
|
|
1945
|
+
address: string;
|
|
1946
|
+
ref: string | null;
|
|
1947
|
+
}[];
|
|
1948
|
+
labels: string[];
|
|
1949
|
+
thread: string;
|
|
1950
|
+
read: boolean | null;
|
|
1951
|
+
flagged: boolean | null;
|
|
1952
|
+
sender_score?: {
|
|
1953
|
+
score: number;
|
|
1954
|
+
signals: string[];
|
|
1955
|
+
demoted?: true | undefined;
|
|
1956
|
+
} | undefined;
|
|
1957
|
+
bulk?: boolean | undefined;
|
|
1958
|
+
list_id?: string | null | undefined;
|
|
1959
|
+
rule_id?: number | null | undefined;
|
|
1960
|
+
} | undefined;
|
|
1961
|
+
}, v.ArrayIssue | v.BooleanIssue | v.EndsWithIssue<string, "Z"> | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MinLengthIssue<string, 1> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue>;
|
|
1824
1962
|
readonly "~types"?: {
|
|
1825
1963
|
readonly input: {
|
|
1826
1964
|
ref: string;
|
|
@@ -1865,6 +2003,46 @@ export declare const ENTITIES: {
|
|
|
1865
2003
|
url?: string | undefined;
|
|
1866
2004
|
}[][] | undefined;
|
|
1867
2005
|
}[];
|
|
2006
|
+
email?: {
|
|
2007
|
+
subject: string | null;
|
|
2008
|
+
from: {
|
|
2009
|
+
name: string | null;
|
|
2010
|
+
address: string;
|
|
2011
|
+
ref: string | null;
|
|
2012
|
+
} | null;
|
|
2013
|
+
to: {
|
|
2014
|
+
name: string | null;
|
|
2015
|
+
address: string;
|
|
2016
|
+
ref: string | null;
|
|
2017
|
+
}[];
|
|
2018
|
+
cc: {
|
|
2019
|
+
name: string | null;
|
|
2020
|
+
address: string;
|
|
2021
|
+
ref: string | null;
|
|
2022
|
+
}[];
|
|
2023
|
+
bcc: {
|
|
2024
|
+
name: string | null;
|
|
2025
|
+
address: string;
|
|
2026
|
+
ref: string | null;
|
|
2027
|
+
}[];
|
|
2028
|
+
reply_addresses: {
|
|
2029
|
+
name: string | null;
|
|
2030
|
+
address: string;
|
|
2031
|
+
ref: string | null;
|
|
2032
|
+
}[];
|
|
2033
|
+
labels: string[];
|
|
2034
|
+
thread: string;
|
|
2035
|
+
read: boolean | null;
|
|
2036
|
+
flagged: boolean | null;
|
|
2037
|
+
sender_score?: {
|
|
2038
|
+
score: number;
|
|
2039
|
+
signals: string[];
|
|
2040
|
+
demoted?: true | undefined;
|
|
2041
|
+
} | undefined;
|
|
2042
|
+
bulk?: boolean | undefined;
|
|
2043
|
+
list_id?: string | null | undefined;
|
|
2044
|
+
rule_id?: number | null | undefined;
|
|
2045
|
+
} | undefined;
|
|
1868
2046
|
};
|
|
1869
2047
|
readonly output: {
|
|
1870
2048
|
ref: string;
|
|
@@ -1909,8 +2087,48 @@ export declare const ENTITIES: {
|
|
|
1909
2087
|
url?: string | undefined;
|
|
1910
2088
|
}[][] | undefined;
|
|
1911
2089
|
}[];
|
|
2090
|
+
email?: {
|
|
2091
|
+
subject: string | null;
|
|
2092
|
+
from: {
|
|
2093
|
+
name: string | null;
|
|
2094
|
+
address: string;
|
|
2095
|
+
ref: string | null;
|
|
2096
|
+
} | null;
|
|
2097
|
+
to: {
|
|
2098
|
+
name: string | null;
|
|
2099
|
+
address: string;
|
|
2100
|
+
ref: string | null;
|
|
2101
|
+
}[];
|
|
2102
|
+
cc: {
|
|
2103
|
+
name: string | null;
|
|
2104
|
+
address: string;
|
|
2105
|
+
ref: string | null;
|
|
2106
|
+
}[];
|
|
2107
|
+
bcc: {
|
|
2108
|
+
name: string | null;
|
|
2109
|
+
address: string;
|
|
2110
|
+
ref: string | null;
|
|
2111
|
+
}[];
|
|
2112
|
+
reply_addresses: {
|
|
2113
|
+
name: string | null;
|
|
2114
|
+
address: string;
|
|
2115
|
+
ref: string | null;
|
|
2116
|
+
}[];
|
|
2117
|
+
labels: string[];
|
|
2118
|
+
thread: string;
|
|
2119
|
+
read: boolean | null;
|
|
2120
|
+
flagged: boolean | null;
|
|
2121
|
+
sender_score?: {
|
|
2122
|
+
score: number;
|
|
2123
|
+
signals: string[];
|
|
2124
|
+
demoted?: true | undefined;
|
|
2125
|
+
} | undefined;
|
|
2126
|
+
bulk?: boolean | undefined;
|
|
2127
|
+
list_id?: string | null | undefined;
|
|
2128
|
+
rule_id?: number | null | undefined;
|
|
2129
|
+
} | undefined;
|
|
1912
2130
|
};
|
|
1913
|
-
readonly issue: v.ArrayIssue | v.BooleanIssue | v.EndsWithIssue<string, "Z"> | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.MinLengthIssue<string, 1> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue;
|
|
2131
|
+
readonly issue: v.ArrayIssue | v.BooleanIssue | v.EndsWithIssue<string, "Z"> | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MinLengthIssue<string, 1> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue;
|
|
1914
2132
|
} | undefined;
|
|
1915
2133
|
};
|
|
1916
2134
|
readonly message_link: v.StrictObjectSchema<{
|
|
@@ -2142,6 +2360,9 @@ export declare const ENTITIES: {
|
|
|
2142
2360
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
2143
2361
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
2144
2362
|
}, undefined>, undefined>;
|
|
2363
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2364
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2365
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2145
2366
|
}, undefined>, undefined>;
|
|
2146
2367
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
2147
2368
|
}, undefined>;
|
|
@@ -2359,6 +2580,9 @@ export declare const ENTITIES: {
|
|
|
2359
2580
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
2360
2581
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
2361
2582
|
}, undefined>, undefined>;
|
|
2583
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2584
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2585
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2362
2586
|
}, undefined>, undefined>;
|
|
2363
2587
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
2364
2588
|
}, undefined>, undefined>, undefined>;
|
|
@@ -2580,6 +2804,9 @@ export declare const ENTITIES: {
|
|
|
2580
2804
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
2581
2805
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
2582
2806
|
}, undefined>, undefined>;
|
|
2807
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2808
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2809
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2583
2810
|
}, undefined>, undefined>;
|
|
2584
2811
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
2585
2812
|
}, undefined>;
|
|
@@ -2797,6 +3024,9 @@ export declare const ENTITIES: {
|
|
|
2797
3024
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
2798
3025
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
2799
3026
|
}, undefined>, undefined>;
|
|
3027
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
3028
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3029
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2800
3030
|
}, undefined>, undefined>;
|
|
2801
3031
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
2802
3032
|
}, undefined>, undefined>, undefined>;
|
|
@@ -3509,6 +3739,9 @@ export declare const ENTITIES: {
|
|
|
3509
3739
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
3510
3740
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
3511
3741
|
}, undefined>, undefined>;
|
|
3742
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
3743
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3744
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3512
3745
|
readonly reply_to: v.ArraySchema<v.StrictObjectSchema<{
|
|
3513
3746
|
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3514
3747
|
readonly address: v.StringSchema<undefined>;
|
|
@@ -7229,6 +7462,9 @@ export declare const ENTITIES: {
|
|
|
7229
7462
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
7230
7463
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
7231
7464
|
}, undefined>, undefined>;
|
|
7465
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7466
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
7467
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
7232
7468
|
}, undefined>, undefined>;
|
|
7233
7469
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
7234
7470
|
}, undefined>, undefined>;
|
|
@@ -7446,6 +7682,9 @@ export declare const ENTITIES: {
|
|
|
7446
7682
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
7447
7683
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
7448
7684
|
}, undefined>, undefined>;
|
|
7685
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7686
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
7687
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
7449
7688
|
}, undefined>, undefined>;
|
|
7450
7689
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
7451
7690
|
}, undefined>], undefined>;
|
|
@@ -7905,6 +8144,9 @@ export declare const ENTITIES: {
|
|
|
7905
8144
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
7906
8145
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
7907
8146
|
}, undefined>, undefined>;
|
|
8147
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
8148
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8149
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
7908
8150
|
}, undefined>, undefined>;
|
|
7909
8151
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
7910
8152
|
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -8413,6 +8655,9 @@ export declare const ENTITIES: {
|
|
|
8413
8655
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8414
8656
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
8415
8657
|
}, undefined>, undefined>;
|
|
8658
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
8659
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8660
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
8416
8661
|
}, undefined>, undefined>;
|
|
8417
8662
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
8418
8663
|
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -9104,6 +9349,9 @@ export declare const ENTITIES: {
|
|
|
9104
9349
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9105
9350
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
9106
9351
|
}, undefined>, undefined>;
|
|
9352
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
9353
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
9354
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
9107
9355
|
}, undefined>, undefined>;
|
|
9108
9356
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
9109
9357
|
}, undefined>, v.StrictObjectSchema<{
|
|
@@ -10775,6 +11023,9 @@ export declare const ENTITIES: {
|
|
|
10775
11023
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
10776
11024
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
10777
11025
|
}, undefined>, undefined>;
|
|
11026
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11027
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
11028
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
10778
11029
|
}, undefined>, undefined>;
|
|
10779
11030
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
10780
11031
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
@@ -10992,6 +11243,9 @@ export declare const ENTITIES: {
|
|
|
10992
11243
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
10993
11244
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
10994
11245
|
}, undefined>, undefined>;
|
|
11246
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11247
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
11248
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
10995
11249
|
}, undefined>, undefined>;
|
|
10996
11250
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
10997
11251
|
}, "chat_title" | "ref" | "sender_name" | "text" | "timestamp">;
|
|
@@ -11247,6 +11501,9 @@ export declare const ENTITIES: {
|
|
|
11247
11501
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
11248
11502
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
11249
11503
|
}, undefined>, undefined>;
|
|
11504
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11505
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
11506
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
11250
11507
|
}, undefined>, undefined>;
|
|
11251
11508
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
11252
11509
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
@@ -11464,6 +11721,9 @@ export declare const ENTITIES: {
|
|
|
11464
11721
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
11465
11722
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
11466
11723
|
}, undefined>, undefined>;
|
|
11724
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11725
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
11726
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
11467
11727
|
}, undefined>, undefined>;
|
|
11468
11728
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
11469
11729
|
}, "chat_title" | "ref" | "sender_name" | "text" | "timestamp">;
|
package/dist/entities/index.js
CHANGED
|
@@ -213,6 +213,9 @@ export declare const watchedMessage: v.StrictObjectSchema<{
|
|
|
213
213
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
214
214
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
215
215
|
}, undefined>, undefined>;
|
|
216
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
217
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
218
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
216
219
|
}, undefined>, undefined>;
|
|
217
220
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
218
221
|
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -722,6 +725,9 @@ export declare const messageEvent: v.VariantSchema<"event", [v.StrictObjectSchem
|
|
|
722
725
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
723
726
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
724
727
|
}, undefined>, undefined>;
|
|
728
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
729
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
730
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
725
731
|
}, undefined>, undefined>;
|
|
726
732
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
727
733
|
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -1338,6 +1344,9 @@ export declare const watchItem: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
1338
1344
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1339
1345
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
1340
1346
|
}, undefined>, undefined>;
|
|
1347
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1348
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1349
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1341
1350
|
}, undefined>, undefined>;
|
|
1342
1351
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1343
1352
|
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -1846,6 +1855,9 @@ export declare const watchItem: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
1846
1855
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1847
1856
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
1848
1857
|
}, undefined>, undefined>;
|
|
1858
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1859
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1860
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1849
1861
|
}, undefined>, undefined>;
|
|
1850
1862
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1851
1863
|
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -219,6 +219,9 @@ export declare const messageThread: v.StrictObjectSchema<{
|
|
|
219
219
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
220
220
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
221
221
|
}, undefined>, undefined>;
|
|
222
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
223
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
224
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
222
225
|
}, undefined>, undefined>;
|
|
223
226
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
224
227
|
}, undefined>, undefined>;
|
|
@@ -460,6 +463,9 @@ export declare const messageContext: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
460
463
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
461
464
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
462
465
|
}, undefined>, undefined>;
|
|
466
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
467
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
468
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
463
469
|
}, undefined>, undefined>;
|
|
464
470
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
465
471
|
}, undefined>, v.StrictObjectSchema<{
|
|
@@ -682,6 +688,9 @@ export declare const messageContext: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
682
688
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
683
689
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
684
690
|
}, undefined>, undefined>;
|
|
691
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
692
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
693
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
685
694
|
}, undefined>, undefined>;
|
|
686
695
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
687
696
|
}, undefined>, undefined>;
|
|
@@ -215,6 +215,9 @@ export declare const messageWrite: v.StrictObjectSchema<{
|
|
|
215
215
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
216
216
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
217
217
|
}, undefined>, undefined>;
|
|
218
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
219
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
220
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
218
221
|
}, undefined>, undefined>;
|
|
219
222
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
220
223
|
}, undefined>;
|
|
@@ -433,6 +436,9 @@ export declare const messageWrite: v.StrictObjectSchema<{
|
|
|
433
436
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
434
437
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
435
438
|
}, undefined>, undefined>;
|
|
439
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
440
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
441
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
436
442
|
}, undefined>, undefined>;
|
|
437
443
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
438
444
|
}, undefined>, undefined>, undefined>;
|
|
@@ -659,6 +665,9 @@ export declare const messageSend: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
659
665
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
660
666
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
661
667
|
}, undefined>, undefined>;
|
|
668
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
669
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
670
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
662
671
|
}, undefined>, undefined>;
|
|
663
672
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
664
673
|
}, undefined>;
|
|
@@ -877,6 +886,9 @@ export declare const messageSend: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
877
886
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
878
887
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
879
888
|
}, undefined>, undefined>;
|
|
889
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
890
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
891
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
880
892
|
}, undefined>, undefined>;
|
|
881
893
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
882
894
|
}, undefined>, undefined>, undefined>;
|
|
@@ -238,6 +238,12 @@ export declare const message: v.StrictObjectSchema<{
|
|
|
238
238
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
239
239
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
240
240
|
}, undefined>, undefined>;
|
|
241
|
+
/** Mail `review`: filed in the mailbox of mail sent to many. */
|
|
242
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
243
|
+
/** Mail `review`: its List-Id, `null` when it has none. */
|
|
244
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
245
|
+
/** Mail `review`: the mail rule that decided how it is stored, by its id in `rules list`; `null` when none. */
|
|
246
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
241
247
|
}, undefined>, undefined>;
|
|
242
248
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
243
249
|
}, undefined>;
|
package/dist/entities/message.js
CHANGED
|
@@ -103,6 +103,12 @@ export const message = v.strictObject({
|
|
|
103
103
|
flagged: v.nullable(v.boolean()),
|
|
104
104
|
/** How much the sender's mail looks like spam, a scam or a robot (memo's score), and why; absent when unscored. */
|
|
105
105
|
sender_score: v.optional(v.strictObject({ score: v.number(), signals: v.array(text), demoted: v.optional(v.literal(true)) })),
|
|
106
|
+
/** Mail `review`: filed in the mailbox of mail sent to many. */
|
|
107
|
+
bulk: v.optional(v.boolean()),
|
|
108
|
+
/** Mail `review`: its List-Id, `null` when it has none. */
|
|
109
|
+
list_id: v.optional(v.nullable(text)),
|
|
110
|
+
/** Mail `review`: the mail rule that decided how it is stored, by its id in `rules list`; `null` when none. */
|
|
111
|
+
rule_id: v.optional(v.nullable(v.number())),
|
|
106
112
|
})),
|
|
107
113
|
provider_metadata: providerMetadata,
|
|
108
114
|
});
|
|
@@ -238,6 +238,9 @@ export declare const storeExport: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
238
238
|
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
239
239
|
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
240
240
|
}, undefined>, undefined>;
|
|
241
|
+
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
242
|
+
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
243
|
+
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
241
244
|
}, undefined>, undefined>;
|
|
242
245
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
243
246
|
}, undefined>, v.StrictObjectSchema<{
|
package/dist/mail/cli/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { Command } from "commander";
|
|
|
2
2
|
import { type MailServerAccess } from "../../mail/server-search.js";
|
|
3
3
|
import type { AppIdentity } from "../../ports/app.js";
|
|
4
4
|
import { type AccountKey, type MessageStore } from "../../store/store.js";
|
|
5
|
+
export { MAIL_REVIEW_QUERY, MAIL_REVIEW_STEPS } from "./review.js";
|
|
5
6
|
/** What a mail CLI hands the shared commands: how to open the store for one run, and whose mail it reads. */
|
|
6
7
|
export interface MailReads {
|
|
7
8
|
app: AppIdentity;
|
|
@@ -21,7 +22,7 @@ export declare const THREAD_QUERY: {
|
|
|
21
22
|
readonly fields: import("@wirecat/cli-base/query").FieldSpec[];
|
|
22
23
|
};
|
|
23
24
|
/**
|
|
24
|
-
* `search messages`, `messages show` and `conversations list|show` over the mail a mail CLI stored: the same
|
|
25
|
+
* `search messages`, `review`, `messages show` and `conversations list|show` over the mail a mail CLI stored: the same
|
|
25
26
|
* query language, ranking and answers as memo's mail search, read only, scoped to the profile's mailbox.
|
|
26
27
|
*/
|
|
27
28
|
export declare const mailReadCommands: (mail: MailReads) => Command[];
|
package/dist/mail/cli/index.js
CHANGED
|
@@ -18,6 +18,8 @@ import { searchMailServer } from "../../mail/server-search.js";
|
|
|
18
18
|
import { atDetail } from "../../output-detail.js";
|
|
19
19
|
import { sourceKey } from "../../services/server-search.js";
|
|
20
20
|
import { queryFilter, THREAD_COLUMNS } from "../../store/store.js";
|
|
21
|
+
import { mailReviewCommand } from "./review.js";
|
|
22
|
+
export { MAIL_REVIEW_QUERY, MAIL_REVIEW_STEPS } from "./review.js";
|
|
21
23
|
/** A locked or broken store must fail the command, not read as "nothing stored yet". */
|
|
22
24
|
const absentAccount = (error) => {
|
|
23
25
|
if (error instanceof CliError && error.code === "not_found")
|
|
@@ -323,11 +325,12 @@ const conversationsCommand = (mail) => {
|
|
|
323
325
|
return conversations;
|
|
324
326
|
};
|
|
325
327
|
/**
|
|
326
|
-
* `search messages`, `messages show` and `conversations list|show` over the mail a mail CLI stored: the same
|
|
328
|
+
* `search messages`, `review`, `messages show` and `conversations list|show` over the mail a mail CLI stored: the same
|
|
327
329
|
* query language, ranking and answers as memo's mail search, read only, scoped to the profile's mailbox.
|
|
328
330
|
*/
|
|
329
331
|
export const mailReadCommands = sharedCommand((mail) => [
|
|
330
332
|
searchCommand(mail),
|
|
333
|
+
mailReviewCommand(mail),
|
|
331
334
|
messagesCommand(mail),
|
|
332
335
|
conversationsCommand(mail),
|
|
333
336
|
]);
|