@remit/api-zod-schemas 0.0.82 → 0.0.84
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/README.md +6 -1
- package/middleware.d.ts.map +1 -1
- package/middleware.js +10 -2
- package/middleware.js.map +1 -1
- package/middleware.ts +10 -5
- package/package.json +1 -1
- package/schemas.d.ts +304 -22
- package/schemas.d.ts.map +1 -1
- package/schemas.js +57 -17
- package/schemas.js.map +1 -1
- package/schemas.ts +63 -18
package/schemas.d.ts
CHANGED
|
@@ -314,6 +314,7 @@ export declare const ClassificationLabelSchema: z.ZodEnum<{
|
|
|
314
314
|
Automated: "Automated";
|
|
315
315
|
Transactional: "Transactional";
|
|
316
316
|
Social: "Social";
|
|
317
|
+
ColdOutreach: "ColdOutreach";
|
|
317
318
|
}>;
|
|
318
319
|
export declare const ClassificationFailureKindSchema: z.ZodEnum<{
|
|
319
320
|
Unauthorized: "Unauthorized";
|
|
@@ -330,6 +331,16 @@ export declare const ClassificationFieldSchema: z.ZodEnum<{
|
|
|
330
331
|
Model: "Model";
|
|
331
332
|
BaseUrl: "BaseUrl";
|
|
332
333
|
}>;
|
|
334
|
+
export declare const MessageCategorySchema: z.ZodEnum<{
|
|
335
|
+
personal: "personal";
|
|
336
|
+
uncategorized: "uncategorized";
|
|
337
|
+
newsletter: "newsletter";
|
|
338
|
+
marketing: "marketing";
|
|
339
|
+
automated: "automated";
|
|
340
|
+
transactional: "transactional";
|
|
341
|
+
social: "social";
|
|
342
|
+
coldOutreach: "coldOutreach";
|
|
343
|
+
}>;
|
|
333
344
|
export declare const SortOrderSchema: z.ZodEnum<{
|
|
334
345
|
asc: "asc";
|
|
335
346
|
desc: "desc";
|
|
@@ -352,15 +363,6 @@ export declare const StarColorSchema: z.ZodEnum<{
|
|
|
352
363
|
yellow_check: "yellow_check";
|
|
353
364
|
blue_star: "blue_star";
|
|
354
365
|
}>;
|
|
355
|
-
export declare const MessageCategorySchema: z.ZodEnum<{
|
|
356
|
-
personal: "personal";
|
|
357
|
-
uncategorized: "uncategorized";
|
|
358
|
-
newsletter: "newsletter";
|
|
359
|
-
marketing: "marketing";
|
|
360
|
-
automated: "automated";
|
|
361
|
-
transactional: "transactional";
|
|
362
|
-
social: "social";
|
|
363
|
-
}>;
|
|
364
366
|
export declare const SenderTrustSchema: z.ZodEnum<{
|
|
365
367
|
unknown: "unknown";
|
|
366
368
|
wellknown: "wellknown";
|
|
@@ -1820,6 +1822,8 @@ export declare const FilterSchema: z.ZodObject<{
|
|
|
1820
1822
|
words: z.ZodArray<z.ZodString>;
|
|
1821
1823
|
}, z.core.$strip>]>;
|
|
1822
1824
|
}, z.core.$strip>]>;
|
|
1825
|
+
priority: z.ZodNumber;
|
|
1826
|
+
stop: z.ZodBoolean;
|
|
1823
1827
|
actionLabelId: z.ZodString;
|
|
1824
1828
|
actionMailboxId: z.ZodString;
|
|
1825
1829
|
createdAt: z.ZodNumber;
|
|
@@ -1862,10 +1866,44 @@ export declare const FilterResponseSchema: z.ZodObject<{
|
|
|
1862
1866
|
}>;
|
|
1863
1867
|
value: z.ZodString;
|
|
1864
1868
|
}, z.core.$strip>>;
|
|
1869
|
+
priority: z.ZodNumber;
|
|
1870
|
+
stop: z.ZodBoolean;
|
|
1865
1871
|
actionLabelId: z.ZodString;
|
|
1866
1872
|
actionMailboxId: z.ZodString;
|
|
1867
1873
|
createdAt: z.ZodNumber;
|
|
1868
1874
|
updatedAt: z.ZodNumber;
|
|
1875
|
+
rule: z.ZodObject<{
|
|
1876
|
+
version: z.ZodLiteral<1>;
|
|
1877
|
+
test: z.ZodUnion<readonly [z.ZodType<FilterAllOfTest, unknown, z.core.$ZodTypeInternals<FilterAllOfTest, unknown>>, z.ZodType<FilterAnyOfTest, unknown, z.core.$ZodTypeInternals<FilterAnyOfTest, unknown>>, z.ZodType<FilterNotTest, unknown, z.core.$ZodTypeInternals<FilterNotTest, unknown>>, z.ZodObject<{
|
|
1878
|
+
test: z.ZodLiteral<"header">;
|
|
1879
|
+
match: z.ZodEnum<{
|
|
1880
|
+
Is: "Is";
|
|
1881
|
+
Contains: "Contains";
|
|
1882
|
+
}>;
|
|
1883
|
+
header: z.ZodEnum<{
|
|
1884
|
+
From: "From";
|
|
1885
|
+
Subject: "Subject";
|
|
1886
|
+
ListId: "ListId";
|
|
1887
|
+
}>;
|
|
1888
|
+
key: z.ZodString;
|
|
1889
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1890
|
+
test: z.ZodLiteral<"address">;
|
|
1891
|
+
match: z.ZodEnum<{
|
|
1892
|
+
Is: "Is";
|
|
1893
|
+
Contains: "Contains";
|
|
1894
|
+
}>;
|
|
1895
|
+
part: z.ZodEnum<{
|
|
1896
|
+
All: "All";
|
|
1897
|
+
Localpart: "Localpart";
|
|
1898
|
+
Domain: "Domain";
|
|
1899
|
+
RegistrableDomain: "RegistrableDomain";
|
|
1900
|
+
}>;
|
|
1901
|
+
key: z.ZodString;
|
|
1902
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1903
|
+
test: z.ZodLiteral<"hasWords">;
|
|
1904
|
+
words: z.ZodArray<z.ZodString>;
|
|
1905
|
+
}, z.core.$strip>]>;
|
|
1906
|
+
}, z.core.$strip>;
|
|
1869
1907
|
}, z.core.$strip>;
|
|
1870
1908
|
export declare const CreateFilterInputSchema: z.ZodObject<{
|
|
1871
1909
|
name: z.ZodString;
|
|
@@ -1878,7 +1916,11 @@ export declare const CreateFilterInputSchema: z.ZodObject<{
|
|
|
1878
1916
|
And: "And";
|
|
1879
1917
|
Or: "Or";
|
|
1880
1918
|
}>;
|
|
1881
|
-
|
|
1919
|
+
actionLabelId: z.ZodString;
|
|
1920
|
+
actionMailboxId: z.ZodString;
|
|
1921
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
1922
|
+
stop: z.ZodOptional<z.ZodBoolean>;
|
|
1923
|
+
literalClauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1882
1924
|
field: z.ZodEnum<{
|
|
1883
1925
|
From: "From";
|
|
1884
1926
|
Subject: "Subject";
|
|
@@ -1887,9 +1929,39 @@ export declare const CreateFilterInputSchema: z.ZodObject<{
|
|
|
1887
1929
|
FromDomain: "FromDomain";
|
|
1888
1930
|
}>;
|
|
1889
1931
|
value: z.ZodString;
|
|
1932
|
+
}, z.core.$strip>>>;
|
|
1933
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
1934
|
+
version: z.ZodLiteral<1>;
|
|
1935
|
+
test: z.ZodUnion<readonly [z.ZodType<FilterAllOfTest, unknown, z.core.$ZodTypeInternals<FilterAllOfTest, unknown>>, z.ZodType<FilterAnyOfTest, unknown, z.core.$ZodTypeInternals<FilterAnyOfTest, unknown>>, z.ZodType<FilterNotTest, unknown, z.core.$ZodTypeInternals<FilterNotTest, unknown>>, z.ZodObject<{
|
|
1936
|
+
test: z.ZodLiteral<"header">;
|
|
1937
|
+
match: z.ZodEnum<{
|
|
1938
|
+
Is: "Is";
|
|
1939
|
+
Contains: "Contains";
|
|
1940
|
+
}>;
|
|
1941
|
+
header: z.ZodEnum<{
|
|
1942
|
+
From: "From";
|
|
1943
|
+
Subject: "Subject";
|
|
1944
|
+
ListId: "ListId";
|
|
1945
|
+
}>;
|
|
1946
|
+
key: z.ZodString;
|
|
1947
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1948
|
+
test: z.ZodLiteral<"address">;
|
|
1949
|
+
match: z.ZodEnum<{
|
|
1950
|
+
Is: "Is";
|
|
1951
|
+
Contains: "Contains";
|
|
1952
|
+
}>;
|
|
1953
|
+
part: z.ZodEnum<{
|
|
1954
|
+
All: "All";
|
|
1955
|
+
Localpart: "Localpart";
|
|
1956
|
+
Domain: "Domain";
|
|
1957
|
+
RegistrableDomain: "RegistrableDomain";
|
|
1958
|
+
}>;
|
|
1959
|
+
key: z.ZodString;
|
|
1960
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1961
|
+
test: z.ZodLiteral<"hasWords">;
|
|
1962
|
+
words: z.ZodArray<z.ZodString>;
|
|
1963
|
+
}, z.core.$strip>]>;
|
|
1890
1964
|
}, z.core.$strip>>;
|
|
1891
|
-
actionLabelId: z.ZodString;
|
|
1892
|
-
actionMailboxId: z.ZodString;
|
|
1893
1965
|
}, z.core.$strip>;
|
|
1894
1966
|
export declare const CreateFilterResponseSchema: z.ZodObject<{
|
|
1895
1967
|
filterId: z.ZodString;
|
|
@@ -1928,29 +2000,63 @@ export declare const CreateFilterResponseSchema: z.ZodObject<{
|
|
|
1928
2000
|
}>;
|
|
1929
2001
|
value: z.ZodString;
|
|
1930
2002
|
}, z.core.$strip>>;
|
|
2003
|
+
priority: z.ZodNumber;
|
|
2004
|
+
stop: z.ZodBoolean;
|
|
1931
2005
|
actionLabelId: z.ZodString;
|
|
1932
2006
|
actionMailboxId: z.ZodString;
|
|
1933
2007
|
createdAt: z.ZodNumber;
|
|
1934
2008
|
updatedAt: z.ZodNumber;
|
|
2009
|
+
rule: z.ZodObject<{
|
|
2010
|
+
version: z.ZodLiteral<1>;
|
|
2011
|
+
test: z.ZodUnion<readonly [z.ZodType<FilterAllOfTest, unknown, z.core.$ZodTypeInternals<FilterAllOfTest, unknown>>, z.ZodType<FilterAnyOfTest, unknown, z.core.$ZodTypeInternals<FilterAnyOfTest, unknown>>, z.ZodType<FilterNotTest, unknown, z.core.$ZodTypeInternals<FilterNotTest, unknown>>, z.ZodObject<{
|
|
2012
|
+
test: z.ZodLiteral<"header">;
|
|
2013
|
+
match: z.ZodEnum<{
|
|
2014
|
+
Is: "Is";
|
|
2015
|
+
Contains: "Contains";
|
|
2016
|
+
}>;
|
|
2017
|
+
header: z.ZodEnum<{
|
|
2018
|
+
From: "From";
|
|
2019
|
+
Subject: "Subject";
|
|
2020
|
+
ListId: "ListId";
|
|
2021
|
+
}>;
|
|
2022
|
+
key: z.ZodString;
|
|
2023
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2024
|
+
test: z.ZodLiteral<"address">;
|
|
2025
|
+
match: z.ZodEnum<{
|
|
2026
|
+
Is: "Is";
|
|
2027
|
+
Contains: "Contains";
|
|
2028
|
+
}>;
|
|
2029
|
+
part: z.ZodEnum<{
|
|
2030
|
+
All: "All";
|
|
2031
|
+
Localpart: "Localpart";
|
|
2032
|
+
Domain: "Domain";
|
|
2033
|
+
RegistrableDomain: "RegistrableDomain";
|
|
2034
|
+
}>;
|
|
2035
|
+
key: z.ZodString;
|
|
2036
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2037
|
+
test: z.ZodLiteral<"hasWords">;
|
|
2038
|
+
words: z.ZodArray<z.ZodString>;
|
|
2039
|
+
}, z.core.$strip>]>;
|
|
2040
|
+
}, z.core.$strip>;
|
|
1935
2041
|
organizeJobId: z.ZodString;
|
|
1936
2042
|
}, z.core.$strip>;
|
|
1937
2043
|
export declare const UpdateFilterInputSchema: z.ZodObject<{
|
|
1938
|
-
name: z.ZodString
|
|
1939
|
-
scope: z.ZodEnum<{
|
|
2044
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2045
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1940
2046
|
Standing: "Standing";
|
|
1941
2047
|
Temporary: "Temporary";
|
|
1942
|
-
}
|
|
2048
|
+
}>>;
|
|
1943
2049
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
1944
|
-
state: z.ZodEnum<{
|
|
2050
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
1945
2051
|
Active: "Active";
|
|
1946
2052
|
Disabled: "Disabled";
|
|
1947
2053
|
Expired: "Expired";
|
|
1948
|
-
}
|
|
1949
|
-
matchOperator: z.ZodEnum<{
|
|
2054
|
+
}>>;
|
|
2055
|
+
matchOperator: z.ZodOptional<z.ZodEnum<{
|
|
1950
2056
|
And: "And";
|
|
1951
2057
|
Or: "Or";
|
|
1952
|
-
}
|
|
1953
|
-
literalClauses: z.ZodArray<z.ZodObject<{
|
|
2058
|
+
}>>;
|
|
2059
|
+
literalClauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1954
2060
|
field: z.ZodEnum<{
|
|
1955
2061
|
From: "From";
|
|
1956
2062
|
Subject: "Subject";
|
|
@@ -1959,9 +2065,43 @@ export declare const UpdateFilterInputSchema: z.ZodObject<{
|
|
|
1959
2065
|
FromDomain: "FromDomain";
|
|
1960
2066
|
}>;
|
|
1961
2067
|
value: z.ZodString;
|
|
2068
|
+
}, z.core.$strip>>>;
|
|
2069
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
2070
|
+
stop: z.ZodOptional<z.ZodBoolean>;
|
|
2071
|
+
actionLabelId: z.ZodOptional<z.ZodString>;
|
|
2072
|
+
actionMailboxId: z.ZodOptional<z.ZodString>;
|
|
2073
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
2074
|
+
version: z.ZodLiteral<1>;
|
|
2075
|
+
test: z.ZodUnion<readonly [z.ZodType<FilterAllOfTest, unknown, z.core.$ZodTypeInternals<FilterAllOfTest, unknown>>, z.ZodType<FilterAnyOfTest, unknown, z.core.$ZodTypeInternals<FilterAnyOfTest, unknown>>, z.ZodType<FilterNotTest, unknown, z.core.$ZodTypeInternals<FilterNotTest, unknown>>, z.ZodObject<{
|
|
2076
|
+
test: z.ZodLiteral<"header">;
|
|
2077
|
+
match: z.ZodEnum<{
|
|
2078
|
+
Is: "Is";
|
|
2079
|
+
Contains: "Contains";
|
|
2080
|
+
}>;
|
|
2081
|
+
header: z.ZodEnum<{
|
|
2082
|
+
From: "From";
|
|
2083
|
+
Subject: "Subject";
|
|
2084
|
+
ListId: "ListId";
|
|
2085
|
+
}>;
|
|
2086
|
+
key: z.ZodString;
|
|
2087
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2088
|
+
test: z.ZodLiteral<"address">;
|
|
2089
|
+
match: z.ZodEnum<{
|
|
2090
|
+
Is: "Is";
|
|
2091
|
+
Contains: "Contains";
|
|
2092
|
+
}>;
|
|
2093
|
+
part: z.ZodEnum<{
|
|
2094
|
+
All: "All";
|
|
2095
|
+
Localpart: "Localpart";
|
|
2096
|
+
Domain: "Domain";
|
|
2097
|
+
RegistrableDomain: "RegistrableDomain";
|
|
2098
|
+
}>;
|
|
2099
|
+
key: z.ZodString;
|
|
2100
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2101
|
+
test: z.ZodLiteral<"hasWords">;
|
|
2102
|
+
words: z.ZodArray<z.ZodString>;
|
|
2103
|
+
}, z.core.$strip>]>;
|
|
1962
2104
|
}, z.core.$strip>>;
|
|
1963
|
-
actionLabelId: z.ZodString;
|
|
1964
|
-
actionMailboxId: z.ZodString;
|
|
1965
2105
|
}, z.core.$strip>;
|
|
1966
2106
|
export declare const LabelSchema: z.ZodObject<{
|
|
1967
2107
|
labelId: z.ZodString;
|
|
@@ -2960,6 +3100,7 @@ export declare const ClassificationTestPassedSchema: z.ZodObject<{
|
|
|
2960
3100
|
Automated: "Automated";
|
|
2961
3101
|
Transactional: "Transactional";
|
|
2962
3102
|
Social: "Social";
|
|
3103
|
+
ColdOutreach: "ColdOutreach";
|
|
2963
3104
|
}>;
|
|
2964
3105
|
confidence: z.ZodNumber;
|
|
2965
3106
|
}, z.core.$strip>;
|
|
@@ -2984,6 +3125,74 @@ export declare const ClassificationTestFailedSchema: z.ZodObject<{
|
|
|
2984
3125
|
}>>;
|
|
2985
3126
|
fix: z.ZodString;
|
|
2986
3127
|
}, z.core.$strip>;
|
|
3128
|
+
export declare const ClassifierCategoryCountSchema: z.ZodObject<{
|
|
3129
|
+
category: z.ZodEnum<{
|
|
3130
|
+
personal: "personal";
|
|
3131
|
+
uncategorized: "uncategorized";
|
|
3132
|
+
newsletter: "newsletter";
|
|
3133
|
+
marketing: "marketing";
|
|
3134
|
+
automated: "automated";
|
|
3135
|
+
transactional: "transactional";
|
|
3136
|
+
social: "social";
|
|
3137
|
+
coldOutreach: "coldOutreach";
|
|
3138
|
+
}>;
|
|
3139
|
+
count: z.ZodNumber;
|
|
3140
|
+
}, z.core.$strip>;
|
|
3141
|
+
export declare const ClassifierLabelCountSchema: z.ZodObject<{
|
|
3142
|
+
label: z.ZodEnum<{
|
|
3143
|
+
Spam: "Spam";
|
|
3144
|
+
Phishing: "Phishing";
|
|
3145
|
+
Priority: "Priority";
|
|
3146
|
+
Personal: "Personal";
|
|
3147
|
+
Newsletter: "Newsletter";
|
|
3148
|
+
Marketing: "Marketing";
|
|
3149
|
+
Automated: "Automated";
|
|
3150
|
+
Transactional: "Transactional";
|
|
3151
|
+
Social: "Social";
|
|
3152
|
+
ColdOutreach: "ColdOutreach";
|
|
3153
|
+
}>;
|
|
3154
|
+
count: z.ZodNumber;
|
|
3155
|
+
}, z.core.$strip>;
|
|
3156
|
+
export declare const ClassifierCorrectionsSchema: z.ZodObject<{
|
|
3157
|
+
spamReportedNotJunk: z.ZodNumber;
|
|
3158
|
+
categoryOverridden: z.ZodNumber;
|
|
3159
|
+
}, z.core.$strip>;
|
|
3160
|
+
export declare const ClassifierStatsSchema: z.ZodObject<{
|
|
3161
|
+
since: z.ZodString;
|
|
3162
|
+
examined: z.ZodNumber;
|
|
3163
|
+
byCategory: z.ZodArray<z.ZodObject<{
|
|
3164
|
+
category: z.ZodEnum<{
|
|
3165
|
+
personal: "personal";
|
|
3166
|
+
uncategorized: "uncategorized";
|
|
3167
|
+
newsletter: "newsletter";
|
|
3168
|
+
marketing: "marketing";
|
|
3169
|
+
automated: "automated";
|
|
3170
|
+
transactional: "transactional";
|
|
3171
|
+
social: "social";
|
|
3172
|
+
coldOutreach: "coldOutreach";
|
|
3173
|
+
}>;
|
|
3174
|
+
count: z.ZodNumber;
|
|
3175
|
+
}, z.core.$strip>>;
|
|
3176
|
+
byLabel: z.ZodArray<z.ZodObject<{
|
|
3177
|
+
label: z.ZodEnum<{
|
|
3178
|
+
Spam: "Spam";
|
|
3179
|
+
Phishing: "Phishing";
|
|
3180
|
+
Priority: "Priority";
|
|
3181
|
+
Personal: "Personal";
|
|
3182
|
+
Newsletter: "Newsletter";
|
|
3183
|
+
Marketing: "Marketing";
|
|
3184
|
+
Automated: "Automated";
|
|
3185
|
+
Transactional: "Transactional";
|
|
3186
|
+
Social: "Social";
|
|
3187
|
+
ColdOutreach: "ColdOutreach";
|
|
3188
|
+
}>;
|
|
3189
|
+
count: z.ZodNumber;
|
|
3190
|
+
}, z.core.$strip>>;
|
|
3191
|
+
corrections: z.ZodObject<{
|
|
3192
|
+
spamReportedNotJunk: z.ZodNumber;
|
|
3193
|
+
categoryOverridden: z.ZodNumber;
|
|
3194
|
+
}, z.core.$strip>;
|
|
3195
|
+
}, z.core.$strip>;
|
|
2987
3196
|
export declare const CalendarTaskResponseSchema: z.ZodObject<{
|
|
2988
3197
|
calendarTaskId: z.ZodString;
|
|
2989
3198
|
calendarId: z.ZodString;
|
|
@@ -3217,6 +3426,7 @@ export declare const ThreadMessageSchema: z.ZodObject<{
|
|
|
3217
3426
|
automated: "automated";
|
|
3218
3427
|
transactional: "transactional";
|
|
3219
3428
|
social: "social";
|
|
3429
|
+
coldOutreach: "coldOutreach";
|
|
3220
3430
|
}>;
|
|
3221
3431
|
createdAt: z.ZodNumber;
|
|
3222
3432
|
updatedAt: z.ZodNumber;
|
|
@@ -3323,6 +3533,7 @@ export declare const ThreadMessageResponseSchema: z.ZodObject<{
|
|
|
3323
3533
|
automated: "automated";
|
|
3324
3534
|
transactional: "transactional";
|
|
3325
3535
|
social: "social";
|
|
3536
|
+
coldOutreach: "coldOutreach";
|
|
3326
3537
|
}>;
|
|
3327
3538
|
senderTrust: z.ZodEnum<{
|
|
3328
3539
|
unknown: "unknown";
|
|
@@ -3454,6 +3665,7 @@ export declare const ThreadMessageListResponseSchema: z.ZodObject<{
|
|
|
3454
3665
|
automated: "automated";
|
|
3455
3666
|
transactional: "transactional";
|
|
3456
3667
|
social: "social";
|
|
3668
|
+
coldOutreach: "coldOutreach";
|
|
3457
3669
|
}>;
|
|
3458
3670
|
senderTrust: z.ZodEnum<{
|
|
3459
3671
|
unknown: "unknown";
|
|
@@ -3585,6 +3797,7 @@ export declare const ThreadSearchResponseSchema: z.ZodObject<{
|
|
|
3585
3797
|
automated: "automated";
|
|
3586
3798
|
transactional: "transactional";
|
|
3587
3799
|
social: "social";
|
|
3800
|
+
coldOutreach: "coldOutreach";
|
|
3588
3801
|
}>;
|
|
3589
3802
|
senderTrust: z.ZodEnum<{
|
|
3590
3803
|
unknown: "unknown";
|
|
@@ -3946,6 +4159,7 @@ export declare const CategoryFlagSchema: z.ZodObject<{
|
|
|
3946
4159
|
automated: "automated";
|
|
3947
4160
|
transactional: "transactional";
|
|
3948
4161
|
social: "social";
|
|
4162
|
+
coldOutreach: "coldOutreach";
|
|
3949
4163
|
}>;
|
|
3950
4164
|
}, z.core.$strip>;
|
|
3951
4165
|
export declare const AutoArchiveFlagSchema: z.ZodObject<{
|
|
@@ -4025,6 +4239,7 @@ export declare const AddressFlagsSchema: z.ZodObject<{
|
|
|
4025
4239
|
automated: "automated";
|
|
4026
4240
|
transactional: "transactional";
|
|
4027
4241
|
social: "social";
|
|
4242
|
+
coldOutreach: "coldOutreach";
|
|
4028
4243
|
}>;
|
|
4029
4244
|
}, z.core.$strip>>;
|
|
4030
4245
|
autoArchive: z.ZodOptional<z.ZodObject<{
|
|
@@ -4113,6 +4328,7 @@ export declare const AddressSchema: z.ZodObject<{
|
|
|
4113
4328
|
automated: "automated";
|
|
4114
4329
|
transactional: "transactional";
|
|
4115
4330
|
social: "social";
|
|
4331
|
+
coldOutreach: "coldOutreach";
|
|
4116
4332
|
}>;
|
|
4117
4333
|
}, z.core.$strip>>;
|
|
4118
4334
|
autoArchive: z.ZodOptional<z.ZodObject<{
|
|
@@ -4209,6 +4425,7 @@ export declare const AddressResponseSchema: z.ZodObject<{
|
|
|
4209
4425
|
automated: "automated";
|
|
4210
4426
|
transactional: "transactional";
|
|
4211
4427
|
social: "social";
|
|
4428
|
+
coldOutreach: "coldOutreach";
|
|
4212
4429
|
}>;
|
|
4213
4430
|
}, z.core.$strip>>;
|
|
4214
4431
|
autoArchive: z.ZodOptional<z.ZodObject<{
|
|
@@ -4297,6 +4514,7 @@ export declare const UpdateAddressFlagsInputSchema: z.ZodObject<{
|
|
|
4297
4514
|
automated: "automated";
|
|
4298
4515
|
transactional: "transactional";
|
|
4299
4516
|
social: "social";
|
|
4517
|
+
coldOutreach: "coldOutreach";
|
|
4300
4518
|
}>;
|
|
4301
4519
|
}, z.core.$strip>, z.ZodNull]>>;
|
|
4302
4520
|
autoArchive: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -4378,6 +4596,7 @@ export declare const UpdateAddressInputSchema: z.ZodObject<{
|
|
|
4378
4596
|
automated: "automated";
|
|
4379
4597
|
transactional: "transactional";
|
|
4380
4598
|
social: "social";
|
|
4599
|
+
coldOutreach: "coldOutreach";
|
|
4381
4600
|
}>;
|
|
4382
4601
|
}, z.core.$strip>, z.ZodNull]>>;
|
|
4383
4602
|
autoArchive: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -4554,6 +4773,7 @@ export declare const EnvelopeAddressResponseSchema: z.ZodObject<{
|
|
|
4554
4773
|
automated: "automated";
|
|
4555
4774
|
transactional: "transactional";
|
|
4556
4775
|
social: "social";
|
|
4776
|
+
coldOutreach: "coldOutreach";
|
|
4557
4777
|
}>;
|
|
4558
4778
|
}, z.core.$strip>>;
|
|
4559
4779
|
autoArchive: z.ZodOptional<z.ZodObject<{
|
|
@@ -4653,6 +4873,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
4653
4873
|
automated: "automated";
|
|
4654
4874
|
transactional: "transactional";
|
|
4655
4875
|
social: "social";
|
|
4876
|
+
coldOutreach: "coldOutreach";
|
|
4656
4877
|
}>;
|
|
4657
4878
|
}, z.core.$strip>>;
|
|
4658
4879
|
autoArchive: z.ZodOptional<z.ZodObject<{
|
|
@@ -4747,6 +4968,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
4747
4968
|
automated: "automated";
|
|
4748
4969
|
transactional: "transactional";
|
|
4749
4970
|
social: "social";
|
|
4971
|
+
coldOutreach: "coldOutreach";
|
|
4750
4972
|
}>;
|
|
4751
4973
|
}, z.core.$strip>>;
|
|
4752
4974
|
autoArchive: z.ZodOptional<z.ZodObject<{
|
|
@@ -4841,6 +5063,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
4841
5063
|
automated: "automated";
|
|
4842
5064
|
transactional: "transactional";
|
|
4843
5065
|
social: "social";
|
|
5066
|
+
coldOutreach: "coldOutreach";
|
|
4844
5067
|
}>;
|
|
4845
5068
|
}, z.core.$strip>>;
|
|
4846
5069
|
autoArchive: z.ZodOptional<z.ZodObject<{
|
|
@@ -4935,6 +5158,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
4935
5158
|
automated: "automated";
|
|
4936
5159
|
transactional: "transactional";
|
|
4937
5160
|
social: "social";
|
|
5161
|
+
coldOutreach: "coldOutreach";
|
|
4938
5162
|
}>;
|
|
4939
5163
|
}, z.core.$strip>>;
|
|
4940
5164
|
autoArchive: z.ZodOptional<z.ZodObject<{
|
|
@@ -5029,6 +5253,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
5029
5253
|
automated: "automated";
|
|
5030
5254
|
transactional: "transactional";
|
|
5031
5255
|
social: "social";
|
|
5256
|
+
coldOutreach: "coldOutreach";
|
|
5032
5257
|
}>;
|
|
5033
5258
|
}, z.core.$strip>>;
|
|
5034
5259
|
autoArchive: z.ZodOptional<z.ZodObject<{
|
|
@@ -5055,6 +5280,7 @@ export declare const EnvelopeResponseSchema: z.ZodObject<{
|
|
|
5055
5280
|
automated: "automated";
|
|
5056
5281
|
transactional: "transactional";
|
|
5057
5282
|
social: "social";
|
|
5283
|
+
coldOutreach: "coldOutreach";
|
|
5058
5284
|
}>;
|
|
5059
5285
|
senderTrust: z.ZodEnum<{
|
|
5060
5286
|
unknown: "unknown";
|
|
@@ -5246,6 +5472,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
5246
5472
|
automated: "automated";
|
|
5247
5473
|
transactional: "transactional";
|
|
5248
5474
|
social: "social";
|
|
5475
|
+
coldOutreach: "coldOutreach";
|
|
5249
5476
|
}>;
|
|
5250
5477
|
}, z.core.$strip>>;
|
|
5251
5478
|
autoArchive: z.ZodOptional<z.ZodObject<{
|
|
@@ -5340,6 +5567,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
5340
5567
|
automated: "automated";
|
|
5341
5568
|
transactional: "transactional";
|
|
5342
5569
|
social: "social";
|
|
5570
|
+
coldOutreach: "coldOutreach";
|
|
5343
5571
|
}>;
|
|
5344
5572
|
}, z.core.$strip>>;
|
|
5345
5573
|
autoArchive: z.ZodOptional<z.ZodObject<{
|
|
@@ -5434,6 +5662,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
5434
5662
|
automated: "automated";
|
|
5435
5663
|
transactional: "transactional";
|
|
5436
5664
|
social: "social";
|
|
5665
|
+
coldOutreach: "coldOutreach";
|
|
5437
5666
|
}>;
|
|
5438
5667
|
}, z.core.$strip>>;
|
|
5439
5668
|
autoArchive: z.ZodOptional<z.ZodObject<{
|
|
@@ -5528,6 +5757,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
5528
5757
|
automated: "automated";
|
|
5529
5758
|
transactional: "transactional";
|
|
5530
5759
|
social: "social";
|
|
5760
|
+
coldOutreach: "coldOutreach";
|
|
5531
5761
|
}>;
|
|
5532
5762
|
}, z.core.$strip>>;
|
|
5533
5763
|
autoArchive: z.ZodOptional<z.ZodObject<{
|
|
@@ -5622,6 +5852,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
5622
5852
|
automated: "automated";
|
|
5623
5853
|
transactional: "transactional";
|
|
5624
5854
|
social: "social";
|
|
5855
|
+
coldOutreach: "coldOutreach";
|
|
5625
5856
|
}>;
|
|
5626
5857
|
}, z.core.$strip>>;
|
|
5627
5858
|
autoArchive: z.ZodOptional<z.ZodObject<{
|
|
@@ -5648,6 +5879,7 @@ export declare const DescribeMessageResponseSchema: z.ZodObject<{
|
|
|
5648
5879
|
automated: "automated";
|
|
5649
5880
|
transactional: "transactional";
|
|
5650
5881
|
social: "social";
|
|
5882
|
+
coldOutreach: "coldOutreach";
|
|
5651
5883
|
}>;
|
|
5652
5884
|
senderTrust: z.ZodEnum<{
|
|
5653
5885
|
unknown: "unknown";
|
|
@@ -5722,6 +5954,22 @@ export declare const MessageFilterMoveSchema: z.ZodObject<{
|
|
|
5722
5954
|
destinationMailboxId: z.ZodString;
|
|
5723
5955
|
decidedAt: z.ZodNumber;
|
|
5724
5956
|
}, z.core.$strip>;
|
|
5957
|
+
export declare const ClassifierScoreSchema: z.ZodObject<{
|
|
5958
|
+
label: z.ZodEnum<{
|
|
5959
|
+
Spam: "Spam";
|
|
5960
|
+
Phishing: "Phishing";
|
|
5961
|
+
Priority: "Priority";
|
|
5962
|
+
Personal: "Personal";
|
|
5963
|
+
Newsletter: "Newsletter";
|
|
5964
|
+
Marketing: "Marketing";
|
|
5965
|
+
Automated: "Automated";
|
|
5966
|
+
Transactional: "Transactional";
|
|
5967
|
+
Social: "Social";
|
|
5968
|
+
ColdOutreach: "ColdOutreach";
|
|
5969
|
+
}>;
|
|
5970
|
+
confidence: z.ZodNumber;
|
|
5971
|
+
confident: z.ZodBoolean;
|
|
5972
|
+
}, z.core.$strip>;
|
|
5725
5973
|
export declare const MessageRecordSchema: z.ZodObject<{
|
|
5726
5974
|
messageId: z.ZodString;
|
|
5727
5975
|
mailboxId: z.ZodString;
|
|
@@ -5760,6 +6008,7 @@ export declare const MessageRecordSchema: z.ZodObject<{
|
|
|
5760
6008
|
automated: "automated";
|
|
5761
6009
|
transactional: "transactional";
|
|
5762
6010
|
social: "social";
|
|
6011
|
+
coldOutreach: "coldOutreach";
|
|
5763
6012
|
}>;
|
|
5764
6013
|
classificationState: z.ZodEnum<{
|
|
5765
6014
|
NotExamined: "NotExamined";
|
|
@@ -5842,6 +6091,22 @@ export declare const MessageRecordSchema: z.ZodObject<{
|
|
|
5842
6091
|
decidedAt: z.ZodNumber;
|
|
5843
6092
|
}, z.core.$strip>>;
|
|
5844
6093
|
placementDecidedAt: z.ZodOptional<z.ZodNumber>;
|
|
6094
|
+
classifierScores: z.ZodArray<z.ZodObject<{
|
|
6095
|
+
label: z.ZodEnum<{
|
|
6096
|
+
Spam: "Spam";
|
|
6097
|
+
Phishing: "Phishing";
|
|
6098
|
+
Priority: "Priority";
|
|
6099
|
+
Personal: "Personal";
|
|
6100
|
+
Newsletter: "Newsletter";
|
|
6101
|
+
Marketing: "Marketing";
|
|
6102
|
+
Automated: "Automated";
|
|
6103
|
+
Transactional: "Transactional";
|
|
6104
|
+
Social: "Social";
|
|
6105
|
+
ColdOutreach: "ColdOutreach";
|
|
6106
|
+
}>;
|
|
6107
|
+
confidence: z.ZodNumber;
|
|
6108
|
+
confident: z.ZodBoolean;
|
|
6109
|
+
}, z.core.$strip>>;
|
|
5845
6110
|
spamReport: z.ZodOptional<z.ZodObject<{
|
|
5846
6111
|
reportedAt: z.ZodNumber;
|
|
5847
6112
|
}, z.core.$strip>>;
|
|
@@ -5886,6 +6151,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
5886
6151
|
automated: "automated";
|
|
5887
6152
|
transactional: "transactional";
|
|
5888
6153
|
social: "social";
|
|
6154
|
+
coldOutreach: "coldOutreach";
|
|
5889
6155
|
}>;
|
|
5890
6156
|
classificationState: z.ZodEnum<{
|
|
5891
6157
|
NotExamined: "NotExamined";
|
|
@@ -5968,6 +6234,22 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
5968
6234
|
decidedAt: z.ZodNumber;
|
|
5969
6235
|
}, z.core.$strip>>;
|
|
5970
6236
|
placementDecidedAt: z.ZodOptional<z.ZodNumber>;
|
|
6237
|
+
classifierScores: z.ZodArray<z.ZodObject<{
|
|
6238
|
+
label: z.ZodEnum<{
|
|
6239
|
+
Spam: "Spam";
|
|
6240
|
+
Phishing: "Phishing";
|
|
6241
|
+
Priority: "Priority";
|
|
6242
|
+
Personal: "Personal";
|
|
6243
|
+
Newsletter: "Newsletter";
|
|
6244
|
+
Marketing: "Marketing";
|
|
6245
|
+
Automated: "Automated";
|
|
6246
|
+
Transactional: "Transactional";
|
|
6247
|
+
Social: "Social";
|
|
6248
|
+
ColdOutreach: "ColdOutreach";
|
|
6249
|
+
}>;
|
|
6250
|
+
confidence: z.ZodNumber;
|
|
6251
|
+
confident: z.ZodBoolean;
|
|
6252
|
+
}, z.core.$strip>>;
|
|
5971
6253
|
spamReport: z.ZodOptional<z.ZodObject<{
|
|
5972
6254
|
reportedAt: z.ZodNumber;
|
|
5973
6255
|
}, z.core.$strip>>;
|