resend 6.26.0 → 6.28.0-preview-inboxes.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/dist/index.cjs +204 -1
- package/dist/index.d.cts +485 -1
- package/dist/index.d.mts +485 -1
- package/dist/index.mjs +202 -2
- package/package.json +16 -14
- package/readme.md +16 -0
package/dist/index.d.mts
CHANGED
|
@@ -1754,6 +1754,424 @@ interface UpdateEventResponseSuccess {
|
|
|
1754
1754
|
}
|
|
1755
1755
|
type UpdateEventResponse = Response<UpdateEventResponseSuccess>;
|
|
1756
1756
|
//#endregion
|
|
1757
|
+
//#region src/inboxes/drafts/interfaces/draft.d.ts
|
|
1758
|
+
type InboxDraftType = 'standalone' | 'reply';
|
|
1759
|
+
interface InboxDraft {
|
|
1760
|
+
object: 'inbox_draft';
|
|
1761
|
+
id: string;
|
|
1762
|
+
type: InboxDraftType;
|
|
1763
|
+
to: string[] | null;
|
|
1764
|
+
cc: string[];
|
|
1765
|
+
bcc: string[];
|
|
1766
|
+
subject: string | null;
|
|
1767
|
+
html: string | null;
|
|
1768
|
+
text: string | null;
|
|
1769
|
+
thread_id: string | null;
|
|
1770
|
+
reply_to_email_id: string | null;
|
|
1771
|
+
email_id: string | null;
|
|
1772
|
+
created_at: string;
|
|
1773
|
+
updated_at: string;
|
|
1774
|
+
}
|
|
1775
|
+
interface InboxDraftListItem {
|
|
1776
|
+
id: string;
|
|
1777
|
+
type: InboxDraftType;
|
|
1778
|
+
to: string[] | null;
|
|
1779
|
+
cc: string[];
|
|
1780
|
+
bcc: string[];
|
|
1781
|
+
subject: string | null;
|
|
1782
|
+
snippet: string | null;
|
|
1783
|
+
thread_id: string | null;
|
|
1784
|
+
reply_to_email_id: string | null;
|
|
1785
|
+
updated_at: string;
|
|
1786
|
+
}
|
|
1787
|
+
//#endregion
|
|
1788
|
+
//#region src/inboxes/drafts/interfaces/create-inbox-draft.interface.d.ts
|
|
1789
|
+
type CreateInboxDraftContent = RequireAtLeastOne<{
|
|
1790
|
+
to?: string | string[];
|
|
1791
|
+
cc?: string | string[];
|
|
1792
|
+
bcc?: string | string[];
|
|
1793
|
+
subject?: string | null;
|
|
1794
|
+
text?: string | null;
|
|
1795
|
+
html?: string | null;
|
|
1796
|
+
}>;
|
|
1797
|
+
type CreateInboxDraftOptions = {
|
|
1798
|
+
inboxId: string;
|
|
1799
|
+
} & CreateInboxDraftContent & ({
|
|
1800
|
+
threadId: string;
|
|
1801
|
+
replyToEmailId: string;
|
|
1802
|
+
} | {
|
|
1803
|
+
threadId?: never;
|
|
1804
|
+
replyToEmailId?: never;
|
|
1805
|
+
});
|
|
1806
|
+
interface CreateInboxDraftRequestOptions extends PostOptions {}
|
|
1807
|
+
type CreateInboxDraftResponseSuccess = InboxDraft;
|
|
1808
|
+
type CreateInboxDraftResponse = Response<CreateInboxDraftResponseSuccess>;
|
|
1809
|
+
//#endregion
|
|
1810
|
+
//#region src/inboxes/drafts/interfaces/get-inbox-draft.interface.d.ts
|
|
1811
|
+
interface GetInboxDraftOptions {
|
|
1812
|
+
inboxId: string;
|
|
1813
|
+
draftId: string;
|
|
1814
|
+
}
|
|
1815
|
+
type GetInboxDraftResponseSuccess = InboxDraft;
|
|
1816
|
+
type GetInboxDraftResponse = Response<GetInboxDraftResponseSuccess>;
|
|
1817
|
+
//#endregion
|
|
1818
|
+
//#region src/inboxes/drafts/interfaces/list-inbox-drafts.interface.d.ts
|
|
1819
|
+
interface ListInboxDraftsOptions {
|
|
1820
|
+
inboxId: string;
|
|
1821
|
+
cursor?: string;
|
|
1822
|
+
}
|
|
1823
|
+
interface ListInboxDraftsResponseSuccess {
|
|
1824
|
+
object: 'list';
|
|
1825
|
+
has_more: boolean;
|
|
1826
|
+
next_cursor: string | null;
|
|
1827
|
+
data: InboxDraftListItem[];
|
|
1828
|
+
}
|
|
1829
|
+
type ListInboxDraftsResponse = Response<ListInboxDraftsResponseSuccess>;
|
|
1830
|
+
//#endregion
|
|
1831
|
+
//#region src/inboxes/drafts/interfaces/remove-inbox-draft.interface.d.ts
|
|
1832
|
+
interface RemoveInboxDraftOptions {
|
|
1833
|
+
inboxId: string;
|
|
1834
|
+
draftId: string;
|
|
1835
|
+
}
|
|
1836
|
+
interface RemoveInboxDraftResponseSuccess {
|
|
1837
|
+
object: 'inbox_draft';
|
|
1838
|
+
id: string;
|
|
1839
|
+
deleted: boolean;
|
|
1840
|
+
}
|
|
1841
|
+
type RemoveInboxDraftResponse = Response<RemoveInboxDraftResponseSuccess>;
|
|
1842
|
+
//#endregion
|
|
1843
|
+
//#region src/inboxes/drafts/interfaces/send-inbox-draft.interface.d.ts
|
|
1844
|
+
interface SendInboxDraftOptions {
|
|
1845
|
+
inboxId: string;
|
|
1846
|
+
draftId: string;
|
|
1847
|
+
}
|
|
1848
|
+
interface SendInboxDraftRequestOptions extends PostOptions {}
|
|
1849
|
+
interface SendInboxDraftResponseSuccess {
|
|
1850
|
+
object: 'inbox_draft';
|
|
1851
|
+
id: string;
|
|
1852
|
+
thread_id: string;
|
|
1853
|
+
email_id: string;
|
|
1854
|
+
}
|
|
1855
|
+
type SendInboxDraftResponse = Response<SendInboxDraftResponseSuccess>;
|
|
1856
|
+
//#endregion
|
|
1857
|
+
//#region src/inboxes/drafts/interfaces/update-inbox-draft.interface.d.ts
|
|
1858
|
+
type UpdateInboxDraftOptions = {
|
|
1859
|
+
inboxId: string;
|
|
1860
|
+
draftId: string;
|
|
1861
|
+
} & RequireAtLeastOne<{
|
|
1862
|
+
to?: string | string[] | null;
|
|
1863
|
+
cc?: string | string[] | null;
|
|
1864
|
+
bcc?: string | string[] | null;
|
|
1865
|
+
subject?: string | null;
|
|
1866
|
+
text?: string | null;
|
|
1867
|
+
html?: string | null;
|
|
1868
|
+
}>;
|
|
1869
|
+
type UpdateInboxDraftResponseSuccess = InboxDraft;
|
|
1870
|
+
type UpdateInboxDraftResponse = Response<UpdateInboxDraftResponseSuccess>;
|
|
1871
|
+
//#endregion
|
|
1872
|
+
//#region src/inboxes/interfaces/inbox.d.ts
|
|
1873
|
+
declare const INBOX_MESSAGE_FOLDERS: readonly ["inbox", "archive", "spam", "sent", "trash"];
|
|
1874
|
+
type InboxMessageFolder = (typeof INBOX_MESSAGE_FOLDERS)[number];
|
|
1875
|
+
declare const MOVE_THREAD_FOLDERS: readonly ["inbox", "archive", "spam", "trash"];
|
|
1876
|
+
type MoveThreadFolder = (typeof MOVE_THREAD_FOLDERS)[number];
|
|
1877
|
+
declare const INBOX_LABEL_COLORS: readonly ["cyan", "teal", "grass", "lime", "yellow", "orange", "iris", "plum", "crimson", "bronze", "mauve"];
|
|
1878
|
+
type InboxLabelColor = (typeof INBOX_LABEL_COLORS)[number];
|
|
1879
|
+
interface Inbox {
|
|
1880
|
+
id: string;
|
|
1881
|
+
name: string | null;
|
|
1882
|
+
email_address: string;
|
|
1883
|
+
friendly_name: string | null;
|
|
1884
|
+
unread: number;
|
|
1885
|
+
last_received: string | null;
|
|
1886
|
+
}
|
|
1887
|
+
//#endregion
|
|
1888
|
+
//#region src/inboxes/labels/interfaces/create-inbox-label.interface.d.ts
|
|
1889
|
+
interface CreateInboxLabelOptions {
|
|
1890
|
+
inboxId: string;
|
|
1891
|
+
name: string;
|
|
1892
|
+
color?: InboxLabelColor;
|
|
1893
|
+
}
|
|
1894
|
+
interface CreateInboxLabelRequestOptions extends PostOptions {}
|
|
1895
|
+
interface CreateInboxLabelResponseSuccess {
|
|
1896
|
+
object: 'inbox_label';
|
|
1897
|
+
id: string;
|
|
1898
|
+
name: string;
|
|
1899
|
+
color: InboxLabelColor;
|
|
1900
|
+
created_at: string;
|
|
1901
|
+
}
|
|
1902
|
+
type CreateInboxLabelResponse = Response<CreateInboxLabelResponseSuccess>;
|
|
1903
|
+
//#endregion
|
|
1904
|
+
//#region src/inboxes/labels/interfaces/label.d.ts
|
|
1905
|
+
interface InboxLabel {
|
|
1906
|
+
id: string;
|
|
1907
|
+
name: string;
|
|
1908
|
+
color: InboxLabelColor;
|
|
1909
|
+
created_at: string;
|
|
1910
|
+
}
|
|
1911
|
+
//#endregion
|
|
1912
|
+
//#region src/inboxes/labels/interfaces/list-inbox-labels.interface.d.ts
|
|
1913
|
+
interface ListInboxLabelsOptions {
|
|
1914
|
+
inboxId: string;
|
|
1915
|
+
}
|
|
1916
|
+
interface ListInboxLabelsResponseSuccess {
|
|
1917
|
+
object: 'list';
|
|
1918
|
+
has_more: boolean;
|
|
1919
|
+
data: InboxLabel[];
|
|
1920
|
+
}
|
|
1921
|
+
type ListInboxLabelsResponse = Response<ListInboxLabelsResponseSuccess>;
|
|
1922
|
+
//#endregion
|
|
1923
|
+
//#region src/inboxes/labels/interfaces/remove-inbox-label.interface.d.ts
|
|
1924
|
+
interface RemoveInboxLabelOptions {
|
|
1925
|
+
inboxId: string;
|
|
1926
|
+
labelId: string;
|
|
1927
|
+
}
|
|
1928
|
+
interface RemoveInboxLabelResponseSuccess {
|
|
1929
|
+
object: 'inbox_label';
|
|
1930
|
+
id: string;
|
|
1931
|
+
deleted: boolean;
|
|
1932
|
+
}
|
|
1933
|
+
type RemoveInboxLabelResponse = Response<RemoveInboxLabelResponseSuccess>;
|
|
1934
|
+
//#endregion
|
|
1935
|
+
//#region src/inboxes/labels/interfaces/update-inbox-label.interface.d.ts
|
|
1936
|
+
interface UpdateInboxLabelOptions {
|
|
1937
|
+
inboxId: string;
|
|
1938
|
+
labelId: string;
|
|
1939
|
+
name?: string;
|
|
1940
|
+
color?: InboxLabelColor;
|
|
1941
|
+
}
|
|
1942
|
+
interface UpdateInboxLabelResponseSuccess {
|
|
1943
|
+
object: 'inbox_label';
|
|
1944
|
+
id: string;
|
|
1945
|
+
}
|
|
1946
|
+
type UpdateInboxLabelResponse = Response<UpdateInboxLabelResponseSuccess>;
|
|
1947
|
+
//#endregion
|
|
1948
|
+
//#region src/inboxes/threads/interfaces/thread.d.ts
|
|
1949
|
+
interface InboxThreadLabel {
|
|
1950
|
+
id: string;
|
|
1951
|
+
name: string;
|
|
1952
|
+
color: InboxLabelColor;
|
|
1953
|
+
}
|
|
1954
|
+
interface InboxThread {
|
|
1955
|
+
id: string;
|
|
1956
|
+
subject: string | null;
|
|
1957
|
+
from: string | null;
|
|
1958
|
+
to: string[];
|
|
1959
|
+
cc: string[];
|
|
1960
|
+
bcc: string[];
|
|
1961
|
+
labels: InboxThreadLabel[];
|
|
1962
|
+
message_count: number;
|
|
1963
|
+
has_attachment: boolean;
|
|
1964
|
+
has_draft: boolean;
|
|
1965
|
+
read: boolean;
|
|
1966
|
+
received_at: string;
|
|
1967
|
+
}
|
|
1968
|
+
interface InboxThreadSummary {
|
|
1969
|
+
object: 'inbox_thread';
|
|
1970
|
+
id: string;
|
|
1971
|
+
subject: string | null;
|
|
1972
|
+
folder: InboxMessageFolder;
|
|
1973
|
+
labels: InboxThreadLabel[];
|
|
1974
|
+
read: boolean;
|
|
1975
|
+
}
|
|
1976
|
+
interface InboxMessageAttachment {
|
|
1977
|
+
id: string;
|
|
1978
|
+
filename: string | null;
|
|
1979
|
+
size: number | null;
|
|
1980
|
+
}
|
|
1981
|
+
interface InboxMessage {
|
|
1982
|
+
id: string;
|
|
1983
|
+
direction: 'inbound' | 'outbound';
|
|
1984
|
+
from: string;
|
|
1985
|
+
to: string[];
|
|
1986
|
+
cc: string[];
|
|
1987
|
+
bcc: string[];
|
|
1988
|
+
reply_to: string[];
|
|
1989
|
+
subject: string | null;
|
|
1990
|
+
message_id: string | null;
|
|
1991
|
+
html: string | null;
|
|
1992
|
+
text: string | null;
|
|
1993
|
+
attachments: InboxMessageAttachment[];
|
|
1994
|
+
read: boolean;
|
|
1995
|
+
received_at: string;
|
|
1996
|
+
}
|
|
1997
|
+
//#endregion
|
|
1998
|
+
//#region src/inboxes/threads/interfaces/forward-inbox-thread-email.interface.d.ts
|
|
1999
|
+
interface ForwardInboxThreadEmailOptions {
|
|
2000
|
+
inboxId: string;
|
|
2001
|
+
threadId: string;
|
|
2002
|
+
emailId: string;
|
|
2003
|
+
to: string | string[];
|
|
2004
|
+
html?: string;
|
|
2005
|
+
text?: string;
|
|
2006
|
+
subject?: string;
|
|
2007
|
+
}
|
|
2008
|
+
interface ForwardInboxThreadEmailRequestOptions extends PostOptions {}
|
|
2009
|
+
interface ForwardInboxThreadEmailResponseSuccess {
|
|
2010
|
+
id: string;
|
|
2011
|
+
email_id: string;
|
|
2012
|
+
direction: 'outbound';
|
|
2013
|
+
from: string;
|
|
2014
|
+
to: string[];
|
|
2015
|
+
cc: string[];
|
|
2016
|
+
bcc: string[];
|
|
2017
|
+
html: string | null;
|
|
2018
|
+
text: string | null;
|
|
2019
|
+
attachments: InboxMessageAttachment[];
|
|
2020
|
+
read: boolean;
|
|
2021
|
+
received_at: string;
|
|
2022
|
+
}
|
|
2023
|
+
type ForwardInboxThreadEmailResponse = Response<ForwardInboxThreadEmailResponseSuccess>;
|
|
2024
|
+
//#endregion
|
|
2025
|
+
//#region src/inboxes/threads/interfaces/get-inbox-thread.interface.d.ts
|
|
2026
|
+
interface GetInboxThreadOptions {
|
|
2027
|
+
inboxId: string;
|
|
2028
|
+
threadId: string;
|
|
2029
|
+
}
|
|
2030
|
+
interface GetInboxThreadResponseSuccess extends InboxThreadSummary {
|
|
2031
|
+
messages: {
|
|
2032
|
+
has_more: boolean;
|
|
2033
|
+
data: InboxMessage[];
|
|
2034
|
+
};
|
|
2035
|
+
}
|
|
2036
|
+
type GetInboxThreadResponse = Response<GetInboxThreadResponseSuccess>;
|
|
2037
|
+
//#endregion
|
|
2038
|
+
//#region src/inboxes/threads/interfaces/get-inbox-thread-email.interface.d.ts
|
|
2039
|
+
interface GetInboxThreadEmailOptions {
|
|
2040
|
+
inboxId: string;
|
|
2041
|
+
threadId: string;
|
|
2042
|
+
emailId: string;
|
|
2043
|
+
}
|
|
2044
|
+
type GetInboxThreadEmailResponseSuccess = InboxMessage;
|
|
2045
|
+
type GetInboxThreadEmailResponse = Response<GetInboxThreadEmailResponseSuccess>;
|
|
2046
|
+
//#endregion
|
|
2047
|
+
//#region src/inboxes/threads/interfaces/list-inbox-threads.interface.d.ts
|
|
2048
|
+
interface ListInboxThreadsOptions {
|
|
2049
|
+
inboxId: string;
|
|
2050
|
+
folder?: InboxMessageFolder;
|
|
2051
|
+
query?: string;
|
|
2052
|
+
from?: string;
|
|
2053
|
+
label?: string | string[];
|
|
2054
|
+
cursor?: string;
|
|
2055
|
+
}
|
|
2056
|
+
interface ListInboxThreadsResponseSuccess {
|
|
2057
|
+
object: 'list';
|
|
2058
|
+
has_more: boolean;
|
|
2059
|
+
next_cursor: string | null;
|
|
2060
|
+
data: InboxThread[];
|
|
2061
|
+
}
|
|
2062
|
+
type ListInboxThreadsResponse = Response<ListInboxThreadsResponseSuccess>;
|
|
2063
|
+
//#endregion
|
|
2064
|
+
//#region src/inboxes/threads/interfaces/remove-inbox-thread.interface.d.ts
|
|
2065
|
+
interface RemoveInboxThreadOptions {
|
|
2066
|
+
inboxId: string;
|
|
2067
|
+
threadId: string;
|
|
2068
|
+
}
|
|
2069
|
+
interface RemoveInboxThreadResponseSuccess {
|
|
2070
|
+
object: 'inbox_thread';
|
|
2071
|
+
id: string;
|
|
2072
|
+
deleted: boolean;
|
|
2073
|
+
}
|
|
2074
|
+
type RemoveInboxThreadResponse = Response<RemoveInboxThreadResponseSuccess>;
|
|
2075
|
+
//#endregion
|
|
2076
|
+
//#region src/inboxes/threads/interfaces/reply-inbox-thread-email.interface.d.ts
|
|
2077
|
+
type ReplyInboxThreadEmailOptions = {
|
|
2078
|
+
inboxId: string;
|
|
2079
|
+
threadId: string;
|
|
2080
|
+
emailId: string;
|
|
2081
|
+
} & RequireAtLeastOne<{
|
|
2082
|
+
html?: string;
|
|
2083
|
+
text?: string;
|
|
2084
|
+
}> & {
|
|
2085
|
+
subject?: string;
|
|
2086
|
+
};
|
|
2087
|
+
interface ReplyInboxThreadEmailRequestOptions extends PostOptions {}
|
|
2088
|
+
type ReplyInboxThreadEmailResponseSuccess = InboxMessage & {
|
|
2089
|
+
email_id: string;
|
|
2090
|
+
};
|
|
2091
|
+
type ReplyInboxThreadEmailResponse = Response<ReplyInboxThreadEmailResponseSuccess>;
|
|
2092
|
+
//#endregion
|
|
2093
|
+
//#region src/inboxes/threads/interfaces/update-inbox-thread.interface.d.ts
|
|
2094
|
+
type UpdateInboxThreadOptions = {
|
|
2095
|
+
inboxId: string;
|
|
2096
|
+
threadId: string;
|
|
2097
|
+
} & RequireAtLeastOne<{
|
|
2098
|
+
read?: boolean;
|
|
2099
|
+
folder?: MoveThreadFolder;
|
|
2100
|
+
labelId?: string;
|
|
2101
|
+
}>;
|
|
2102
|
+
interface UpdateInboxThreadResponseSuccess {
|
|
2103
|
+
object: 'inbox';
|
|
2104
|
+
id: string;
|
|
2105
|
+
subject: string | null;
|
|
2106
|
+
folder: InboxMessageFolder;
|
|
2107
|
+
labels: InboxThreadLabel[];
|
|
2108
|
+
read: boolean;
|
|
2109
|
+
}
|
|
2110
|
+
type UpdateInboxThreadResponse = Response<UpdateInboxThreadResponseSuccess>;
|
|
2111
|
+
//#endregion
|
|
2112
|
+
//#region src/inboxes/interfaces/create-inbox.interface.d.ts
|
|
2113
|
+
interface CreateInboxOptions {
|
|
2114
|
+
emailAddress: string;
|
|
2115
|
+
name?: string;
|
|
2116
|
+
forwarding?: boolean;
|
|
2117
|
+
friendlyName?: string;
|
|
2118
|
+
}
|
|
2119
|
+
interface CreateInboxRequestOptions extends PostOptions {}
|
|
2120
|
+
interface CreateInboxResponseSuccess {
|
|
2121
|
+
object: 'inbox';
|
|
2122
|
+
id: string;
|
|
2123
|
+
name: string;
|
|
2124
|
+
email_address: string;
|
|
2125
|
+
domain_id: string;
|
|
2126
|
+
forwarding_address: string | null;
|
|
2127
|
+
friendly_name: string | null;
|
|
2128
|
+
unread: number;
|
|
2129
|
+
created_at: string;
|
|
2130
|
+
}
|
|
2131
|
+
type CreateInboxResponse = Response<CreateInboxResponseSuccess>;
|
|
2132
|
+
//#endregion
|
|
2133
|
+
//#region src/inboxes/interfaces/get-inbox.interface.d.ts
|
|
2134
|
+
interface GetInboxResponseSuccess {
|
|
2135
|
+
object: 'inbox';
|
|
2136
|
+
id: string;
|
|
2137
|
+
name: string | null;
|
|
2138
|
+
email_address: string;
|
|
2139
|
+
forwarding_address: string | null;
|
|
2140
|
+
friendly_name: string | null;
|
|
2141
|
+
unread: number;
|
|
2142
|
+
drafts: number;
|
|
2143
|
+
last_received: string | null;
|
|
2144
|
+
}
|
|
2145
|
+
type GetInboxResponse = Response<GetInboxResponseSuccess>;
|
|
2146
|
+
//#endregion
|
|
2147
|
+
//#region src/inboxes/interfaces/list-inboxes.interface.d.ts
|
|
2148
|
+
type ListInboxesOptions = PaginationOptions;
|
|
2149
|
+
interface ListInboxesResponseSuccess {
|
|
2150
|
+
object: 'list';
|
|
2151
|
+
has_more: boolean;
|
|
2152
|
+
data: Inbox[];
|
|
2153
|
+
}
|
|
2154
|
+
type ListInboxesResponse = Response<ListInboxesResponseSuccess>;
|
|
2155
|
+
//#endregion
|
|
2156
|
+
//#region src/inboxes/interfaces/remove-inbox.interface.d.ts
|
|
2157
|
+
interface RemoveInboxResponseSuccess {
|
|
2158
|
+
object: 'inbox';
|
|
2159
|
+
id: string;
|
|
2160
|
+
deleted: boolean;
|
|
2161
|
+
}
|
|
2162
|
+
type RemoveInboxResponse = Response<RemoveInboxResponseSuccess>;
|
|
2163
|
+
//#endregion
|
|
2164
|
+
//#region src/inboxes/interfaces/update-inbox.interface.d.ts
|
|
2165
|
+
type UpdateInboxOptions = RequireAtLeastOne<{
|
|
2166
|
+
name?: string;
|
|
2167
|
+
friendlyName?: string;
|
|
2168
|
+
}>;
|
|
2169
|
+
interface UpdateInboxResponseSuccess {
|
|
2170
|
+
object: 'inbox';
|
|
2171
|
+
id: string;
|
|
2172
|
+
}
|
|
2173
|
+
type UpdateInboxResponse = Response<UpdateInboxResponseSuccess>;
|
|
2174
|
+
//#endregion
|
|
1757
2175
|
//#region src/logs/interfaces/log.d.ts
|
|
1758
2176
|
interface Log {
|
|
1759
2177
|
id: string;
|
|
@@ -2001,6 +2419,62 @@ declare class Events$1 {
|
|
|
2001
2419
|
remove(identifier: string): Promise<RemoveEventResponse>;
|
|
2002
2420
|
}
|
|
2003
2421
|
//#endregion
|
|
2422
|
+
//#region src/inboxes/drafts/drafts.d.ts
|
|
2423
|
+
declare class InboxDrafts {
|
|
2424
|
+
private readonly resend;
|
|
2425
|
+
constructor(resend: Resend);
|
|
2426
|
+
list(options: ListInboxDraftsOptions): Promise<ListInboxDraftsResponse>;
|
|
2427
|
+
create(payload: CreateInboxDraftOptions, options?: CreateInboxDraftRequestOptions): Promise<CreateInboxDraftResponse>;
|
|
2428
|
+
get(options: GetInboxDraftOptions): Promise<GetInboxDraftResponse>;
|
|
2429
|
+
update(options: UpdateInboxDraftOptions): Promise<UpdateInboxDraftResponse>;
|
|
2430
|
+
remove(options: RemoveInboxDraftOptions): Promise<RemoveInboxDraftResponse>;
|
|
2431
|
+
send(payload: SendInboxDraftOptions, options?: SendInboxDraftRequestOptions): Promise<SendInboxDraftResponse>;
|
|
2432
|
+
}
|
|
2433
|
+
//#endregion
|
|
2434
|
+
//#region src/inboxes/labels/labels.d.ts
|
|
2435
|
+
declare class InboxLabels {
|
|
2436
|
+
private readonly resend;
|
|
2437
|
+
constructor(resend: Resend);
|
|
2438
|
+
list(options: ListInboxLabelsOptions): Promise<ListInboxLabelsResponse>;
|
|
2439
|
+
create(payload: CreateInboxLabelOptions, options?: CreateInboxLabelRequestOptions): Promise<CreateInboxLabelResponse>;
|
|
2440
|
+
update(options: UpdateInboxLabelOptions): Promise<UpdateInboxLabelResponse>;
|
|
2441
|
+
remove(options: RemoveInboxLabelOptions): Promise<RemoveInboxLabelResponse>;
|
|
2442
|
+
}
|
|
2443
|
+
//#endregion
|
|
2444
|
+
//#region src/inboxes/threads/emails/emails.d.ts
|
|
2445
|
+
declare class InboxThreadEmails {
|
|
2446
|
+
private readonly resend;
|
|
2447
|
+
constructor(resend: Resend);
|
|
2448
|
+
get(options: GetInboxThreadEmailOptions): Promise<GetInboxThreadEmailResponse>;
|
|
2449
|
+
reply(payload: ReplyInboxThreadEmailOptions, options?: ReplyInboxThreadEmailRequestOptions): Promise<ReplyInboxThreadEmailResponse>;
|
|
2450
|
+
forward(payload: ForwardInboxThreadEmailOptions, options?: ForwardInboxThreadEmailRequestOptions): Promise<ForwardInboxThreadEmailResponse>;
|
|
2451
|
+
}
|
|
2452
|
+
//#endregion
|
|
2453
|
+
//#region src/inboxes/threads/threads.d.ts
|
|
2454
|
+
declare class InboxThreads {
|
|
2455
|
+
private readonly resend;
|
|
2456
|
+
readonly emails: InboxThreadEmails;
|
|
2457
|
+
constructor(resend: Resend);
|
|
2458
|
+
list(options: ListInboxThreadsOptions): Promise<ListInboxThreadsResponse>;
|
|
2459
|
+
get(options: GetInboxThreadOptions): Promise<GetInboxThreadResponse>;
|
|
2460
|
+
update(options: UpdateInboxThreadOptions): Promise<UpdateInboxThreadResponse>;
|
|
2461
|
+
remove(options: RemoveInboxThreadOptions): Promise<RemoveInboxThreadResponse>;
|
|
2462
|
+
}
|
|
2463
|
+
//#endregion
|
|
2464
|
+
//#region src/inboxes/inboxes.d.ts
|
|
2465
|
+
declare class Inboxes {
|
|
2466
|
+
private readonly resend;
|
|
2467
|
+
readonly threads: InboxThreads;
|
|
2468
|
+
readonly labels: InboxLabels;
|
|
2469
|
+
readonly drafts: InboxDrafts;
|
|
2470
|
+
constructor(resend: Resend);
|
|
2471
|
+
create(payload: CreateInboxOptions, options?: CreateInboxRequestOptions): Promise<CreateInboxResponse>;
|
|
2472
|
+
list(options?: ListInboxesOptions): Promise<ListInboxesResponse>;
|
|
2473
|
+
get(id: string): Promise<GetInboxResponse>;
|
|
2474
|
+
update(id: string, payload: UpdateInboxOptions): Promise<UpdateInboxResponse>;
|
|
2475
|
+
remove(id: string): Promise<RemoveInboxResponse>;
|
|
2476
|
+
}
|
|
2477
|
+
//#endregion
|
|
2004
2478
|
//#region src/logs/logs.d.ts
|
|
2005
2479
|
declare class Logs {
|
|
2006
2480
|
private readonly resend;
|
|
@@ -2663,6 +3137,14 @@ type RemoveWebhookResponseSuccess = Pick<Webhook, 'id'> & {
|
|
|
2663
3137
|
};
|
|
2664
3138
|
type RemoveWebhookResponse = Response<RemoveWebhookResponseSuccess>;
|
|
2665
3139
|
//#endregion
|
|
3140
|
+
//#region src/webhooks/interfaces/rotate-webhook-signing-secret.interface.d.ts
|
|
3141
|
+
interface RotateWebhookSigningSecretResponseSuccess {
|
|
3142
|
+
object: 'webhook';
|
|
3143
|
+
id: string;
|
|
3144
|
+
signing_secret: string;
|
|
3145
|
+
}
|
|
3146
|
+
type RotateWebhookSigningSecretResponse = Response<RotateWebhookSigningSecretResponseSuccess>;
|
|
3147
|
+
//#endregion
|
|
2666
3148
|
//#region src/webhooks/interfaces/update-webhook.interface.d.ts
|
|
2667
3149
|
interface UpdateWebhookOptions {
|
|
2668
3150
|
endpoint?: string;
|
|
@@ -2695,6 +3177,7 @@ declare class Webhooks {
|
|
|
2695
3177
|
list(options?: ListWebhooksOptions): Promise<ListWebhooksResponse>;
|
|
2696
3178
|
update(id: string, payload: UpdateWebhookOptions): Promise<UpdateWebhookResponse>;
|
|
2697
3179
|
remove(id: string): Promise<RemoveWebhookResponse>;
|
|
3180
|
+
rotateSigningSecret(id: string): Promise<RotateWebhookSigningSecretResponse>;
|
|
2698
3181
|
verify(payload: VerifyWebhookOptions): WebhookEventPayload;
|
|
2699
3182
|
}
|
|
2700
3183
|
//#endregion
|
|
@@ -2722,6 +3205,7 @@ declare class Resend {
|
|
|
2722
3205
|
readonly domains: Domains;
|
|
2723
3206
|
readonly emails: Emails;
|
|
2724
3207
|
readonly events: Events$1;
|
|
3208
|
+
readonly inboxes: Inboxes;
|
|
2725
3209
|
readonly logs: Logs;
|
|
2726
3210
|
readonly oauthGrants: OAuthGrants;
|
|
2727
3211
|
readonly suppressions: Suppressions;
|
|
@@ -2738,4 +3222,4 @@ declare class Resend {
|
|
|
2738
3222
|
delete<T>(path: string, query?: unknown, options?: DeleteOptions): Promise<Response<T>>;
|
|
2739
3223
|
}
|
|
2740
3224
|
//#endregion
|
|
2741
|
-
export { AddContactSegmentOptions, AddContactSegmentResponse, AddContactSegmentResponseSuccess, AddSuppressionOptions, AddSuppressionResponse, AddSuppressionResponseSuccess, AddToSegmentStepConfig, ApiContactProperty, ApiKey, Attachment, AttachmentData, Automation, AutomationConnection, AutomationConnectionType, AutomationResponseConnection, AutomationResponseStep, AutomationRun, AutomationRunItem, AutomationRunStatus, AutomationRunStep, AutomationRunStepStatus, AutomationStatus, AutomationStep, AutomationStepType, BatchAddSuppressionsOptions, BatchAddSuppressionsResponse, BatchAddSuppressionsResponseSuccess, BatchRemoveSuppressionsOptions, BatchRemoveSuppressionsResponse, BatchRemoveSuppressionsResponseSuccess, Broadcast, BroadcastClickedLink, BroadcastRecipient, BroadcastRecipientBounceType, BroadcastRecipientClickedLink, BroadcastRecipientEventType, CancelBroadcastResponse, CancelBroadcastResponseSuccess, CancelEmailResponse, CancelEmailResponseSuccess, ClaimDomainOptions, ClaimDomainRequestOptions, ClaimDomainResponse, ClaimDomainResponseSuccess, ConditionRule, ConditionStepConfig, Contact, ContactCreatedEvent, ContactDeleteStepConfig, ContactDeletedEvent, ContactImport, ContactImportColumnMap, ContactImportCounts, ContactImportOnConflict, ContactImportPropertyMapping, ContactImportPropertyType, ContactImportSegment, ContactImportStatus, ContactImportTopic, ContactProperty, ContactSegmentsBaseOptions, ContactTopic, ContactUpdateStepConfig, ContactUpdatedEvent, CreateApiKeyOptions, CreateApiKeyRequestOptions, CreateApiKeyResponse, CreateApiKeyResponseSuccess, CreateAutomationOptions, CreateAutomationResponse, CreateAutomationResponseSuccess, CreateBatchEmailOptions, CreateBatchOptions, CreateBatchRequestOptions, CreateBatchResponse, CreateBatchSuccessResponse, CreateBroadcastOptions, CreateBroadcastRequestOptions, CreateBroadcastResponse, CreateBroadcastResponseSuccess, CreateContactImportOptions, CreateContactImportRequestOptions, CreateContactImportResponse, CreateContactImportResponseSuccess, CreateContactOptions, CreateContactPropertyApiOptions, CreateContactPropertyOptions, CreateContactPropertyResponse, CreateContactPropertyResponseSuccess, CreateContactRequestOptions, CreateContactResponse, CreateContactResponseSuccess, CreateDomainOptions, CreateDomainRequestOptions, CreateDomainResponse, CreateDomainResponseSuccess, CreateEmailOptions, CreateEmailRequestOptions, CreateEmailResponse, CreateEmailResponseSuccess, CreateEventOptions, CreateEventResponse, CreateEventResponseSuccess, CreateSegmentOptions, CreateSegmentRequestOptions, CreateSegmentResponse, CreateSegmentResponseSuccess, CreateTemplateOptions, CreateTemplateRequestOptions, CreateTemplateResponse, CreateTemplateResponseSuccess, CreateTopicOptions, CreateTopicResponse, CreateTopicResponseSuccess, CreateWebhookOptions, CreateWebhookRequestOptions, CreateWebhookResponse, CreateWebhookResponseSuccess, DelayStepConfig, DeleteOptions, Domain, DomainApiOptions, DomainCapabilities, DomainCapabilityStatus, DomainClaim, DomainClaimBlockedReason, DomainClaimRecord, DomainClaimStatus, DomainCreatedEvent, DomainDeletedEvent, DomainDkimRecord, DomainNameservers, DomainRecordStatus, DomainRecords, DomainRegion, DomainSpfRecord, DomainStatus, DomainUpdatedEvent, DuplicateAutomationResponse, DuplicateAutomationResponseSuccess, DuplicateTemplateResponse, DuplicateTemplateResponseSuccess, EmailApiAttachment, EmailApiOptions, EmailBouncedEvent, EmailClickedEvent, EmailComplainedEvent, EmailDeliveredEvent, EmailDeliveryDelayedEvent, EmailFailedEvent, EmailMetric, EmailMetricsDataRow, EmailMetricsDimension, EmailMetricsGranularity, EmailMetricsTotals, EmailOpenedEvent, EmailReceivedEvent, EmailScheduledEvent, EmailSentEvent, EmailSuppressedEvent, type ErrorResponse, Event, EventSchemaMap, EventSchemaType, ForwardReceivingEmailOptions, ForwardReceivingEmailRequestOptions, ForwardReceivingEmailResponse, ForwardReceivingEmailResponseSuccess, GetAttachmentOptions, GetAttachmentResponse, GetAttachmentResponseSuccess, GetAutomationResponse, GetAutomationResponseSuccess, GetAutomationRunOptions, GetAutomationRunResponse, GetAutomationRunResponseSuccess, GetBroadcastResponse, GetBroadcastResponseSuccess, GetContactImportResponse, GetContactImportResponseSuccess, GetContactOptions, GetContactPropertyResponse, GetContactPropertyResponseSuccess, GetContactResponse, GetContactResponseSuccess, GetDomainClaimResponse, GetDomainClaimResponseSuccess, GetDomainResponse, GetDomainResponseSuccess, GetEmailResponse, GetEmailResponseSuccess, GetEmailsMetricsOptions, GetEmailsMetricsResponse, GetEmailsMetricsResponseSuccess, GetEventResponse, GetEventResponseSuccess, GetLogResponse, GetLogResponseSuccess, GetOptions, GetReceivingEmailOptions, GetReceivingEmailResponse, GetReceivingEmailResponseSuccess, GetSegmentResponse, GetSegmentResponseSuccess, GetSuppressionResponse, GetSuppressionResponseSuccess, GetTemplateResponse, GetTemplateResponseSuccess, GetTopicOptions, GetTopicResponse, GetTopicResponseSuccess, GetWebhookEventOptions, GetWebhookEventResponse, GetWebhookEventResponseSuccess, GetWebhookResponse, GetWebhookResponseSuccess, IdempotentRequest, InboundAttachment, LegacyCreateContactOptions, ListApiKeysOptions, ListApiKeysResponse, ListApiKeysResponseSuccess, ListAttachmentsOptions, ListAttachmentsResponse, ListAttachmentsResponseSuccess, ListAutomationRunsOptions, ListAutomationRunsResponse, ListAutomationRunsResponseSuccess, ListAutomationsOptions, ListAutomationsResponse, ListAutomationsResponseSuccess, ListBroadcastClickedLinksOptions, ListBroadcastClickedLinksResponse, ListBroadcastClickedLinksResponseSuccess, ListBroadcastRecipientsOptions, ListBroadcastRecipientsResponse, ListBroadcastRecipientsResponseSuccess, ListBroadcastsOptions, ListBroadcastsResponse, ListBroadcastsResponseSuccess, ListContactImportsOptions, ListContactImportsResponse, ListContactImportsResponseSuccess, ListContactPropertiesOptions, ListContactPropertiesResponse, ListContactPropertiesResponseSuccess, ListContactSegmentsOptions, ListContactSegmentsResponse, ListContactSegmentsResponseSuccess, ListContactTopicsOptions, ListContactTopicsRequestOptions, ListContactTopicsResponse, ListContactTopicsResponseSuccess, ListContactsOptions, ListContactsResponse, ListContactsResponseSuccess, ListDomainsOptions, ListDomainsResponse, ListDomainsResponseSuccess, ListEmail, ListEmailsOptions, ListEmailsResponse, ListEmailsResponseSuccess, ListEventsOptions, ListEventsResponse, ListEventsResponseSuccess, ListLogsOptions, ListLogsResponse, ListLogsResponseSuccess, ListOAuthGrantsOptions, ListOAuthGrantsResponse, ListOAuthGrantsResponseSuccess, ListReceivingEmail, ListReceivingEmailsOptions, ListReceivingEmailsResponse, ListReceivingEmailsResponseSuccess, ListSegmentsOptions, ListSegmentsResponse, ListSegmentsResponseSuccess, ListSuppressionsOptions, ListSuppressionsResponse, ListSuppressionsResponseSuccess, ListTemplatesOptions, ListTemplatesResponse, ListTemplatesResponseSuccess, ListTopicsResponse, ListTopicsResponseSuccess, ListWebhookEventAttemptsOptions, ListWebhookEventAttemptsResponse, ListWebhookEventAttemptsResponseSuccess, ListWebhookEventsOptions, ListWebhookEventsResponse, ListWebhookEventsResponseSuccess, ListWebhooksOptions, ListWebhooksResponse, ListWebhooksResponseSuccess, Log, OAuthGrant, PaginatedData, PaginationOptions, PatchOptions, PostOptions, PublishTemplateResponse, PublishTemplateResponseSuccess, PutOptions, ReceivingRecord, RemoveApiKeyResponse, RemoveApiKeyResponseSuccess, RemoveAutomationResponse, RemoveAutomationResponseSuccess, RemoveBroadcastResponse, RemoveBroadcastResponseSuccess, RemoveContactOptions, RemoveContactPropertyResponse, RemoveContactPropertyResponseSuccess, RemoveContactSegmentOptions, RemoveContactSegmentResponse, RemoveContactSegmentResponseSuccess, RemoveContactsResponse, RemoveContactsResponseSuccess, RemoveDomainsResponse, RemoveDomainsResponseSuccess, RemoveEventResponse, RemoveEventResponseSuccess, RemoveSegmentResponse, RemoveSegmentResponseSuccess, RemoveSuppressionResponse, RemoveSuppressionResponseSuccess, RemoveTemplateResponse, RemoveTemplateResponseSuccess, RemoveTopicResponse, RemoveTopicResponseSuccess, RemoveWebhookResponse, RemoveWebhookResponseSuccess, ReplayWebhookEventOptions, ReplayWebhookEventResponse, ReplayWebhookEventResponseSuccess, RequireAtLeastOne, Resend, type ResendOptions, type Response, RevokeOAuthGrantResponse, RevokeOAuthGrantResponseSuccess, Segment, SelectingField, SendBroadcastOptions, SendBroadcastRequestOptions, SendBroadcastResponse, SendBroadcastResponseSuccess, SendEmailStepConfig, SendEventOptions, SendEventResponse, SendEventResponseSuccess, ShareEmailOptions, ShareEmailResponse, ShareEmailResponseSuccess, StopAutomationResponse, StopAutomationResponseSuccess, Suppression, SuppressionAddedEvent, SuppressionListEntry, SuppressionOrigin, SuppressionRemovedEvent, Tag, Template, TemplateVariable, TemplateVariableValue, Topic, TrackingCaaRecord, TrackingRecord, TriggerStepConfig, UpdateApiKeyOptions, UpdateApiKeyResponse, UpdateApiKeyResponseSuccess, UpdateAutomationOptions, UpdateAutomationResponse, UpdateAutomationResponseSuccess, UpdateBroadcastOptions, UpdateBroadcastResponse, UpdateBroadcastResponseSuccess, UpdateContactOptions, UpdateContactPropertyApiOptions, UpdateContactPropertyOptions, UpdateContactPropertyResponse, UpdateContactPropertyResponseSuccess, UpdateContactResponse, UpdateContactResponseSuccess, UpdateContactTopicsOptions, UpdateContactTopicsRequestOptions, UpdateContactTopicsResponse, UpdateContactTopicsResponseSuccess, UpdateDomainsOptions, UpdateDomainsResponse, UpdateDomainsResponseSuccess, UpdateEmailOptions, UpdateEmailResponse, UpdateEmailResponseSuccess, UpdateEventOptions, UpdateEventResponse, UpdateEventResponseSuccess, UpdateSegmentOptions, UpdateSegmentResponse, UpdateSegmentResponseSuccess, UpdateTemplateOptions, UpdateTemplateResponse, UpdateTemplateResponseSuccess, UpdateTopicOptions, UpdateTopicResponse, UpdateTopicResponseSuccess, UpdateWebhookOptions, UpdateWebhookResponse, UpdateWebhookResponseSuccess, VerifyDomainClaimResponse, VerifyDomainClaimResponseSuccess, VerifyDomainsResponse, VerifyDomainsResponseSuccess, WaitForEventStepConfig, Webhook, WebhookEvent, WebhookEventAttempt, WebhookEventLog, WebhookEventLogStatus, WebhookEventPayload };
|
|
3225
|
+
export { AddContactSegmentOptions, AddContactSegmentResponse, AddContactSegmentResponseSuccess, AddSuppressionOptions, AddSuppressionResponse, AddSuppressionResponseSuccess, AddToSegmentStepConfig, ApiContactProperty, ApiKey, Attachment, AttachmentData, Automation, AutomationConnection, AutomationConnectionType, AutomationResponseConnection, AutomationResponseStep, AutomationRun, AutomationRunItem, AutomationRunStatus, AutomationRunStep, AutomationRunStepStatus, AutomationStatus, AutomationStep, AutomationStepType, BatchAddSuppressionsOptions, BatchAddSuppressionsResponse, BatchAddSuppressionsResponseSuccess, BatchRemoveSuppressionsOptions, BatchRemoveSuppressionsResponse, BatchRemoveSuppressionsResponseSuccess, Broadcast, BroadcastClickedLink, BroadcastRecipient, BroadcastRecipientBounceType, BroadcastRecipientClickedLink, BroadcastRecipientEventType, CancelBroadcastResponse, CancelBroadcastResponseSuccess, CancelEmailResponse, CancelEmailResponseSuccess, ClaimDomainOptions, ClaimDomainRequestOptions, ClaimDomainResponse, ClaimDomainResponseSuccess, ConditionRule, ConditionStepConfig, Contact, ContactCreatedEvent, ContactDeleteStepConfig, ContactDeletedEvent, ContactImport, ContactImportColumnMap, ContactImportCounts, ContactImportOnConflict, ContactImportPropertyMapping, ContactImportPropertyType, ContactImportSegment, ContactImportStatus, ContactImportTopic, ContactProperty, ContactSegmentsBaseOptions, ContactTopic, ContactUpdateStepConfig, ContactUpdatedEvent, CreateApiKeyOptions, CreateApiKeyRequestOptions, CreateApiKeyResponse, CreateApiKeyResponseSuccess, CreateAutomationOptions, CreateAutomationResponse, CreateAutomationResponseSuccess, CreateBatchEmailOptions, CreateBatchOptions, CreateBatchRequestOptions, CreateBatchResponse, CreateBatchSuccessResponse, CreateBroadcastOptions, CreateBroadcastRequestOptions, CreateBroadcastResponse, CreateBroadcastResponseSuccess, CreateContactImportOptions, CreateContactImportRequestOptions, CreateContactImportResponse, CreateContactImportResponseSuccess, CreateContactOptions, CreateContactPropertyApiOptions, CreateContactPropertyOptions, CreateContactPropertyResponse, CreateContactPropertyResponseSuccess, CreateContactRequestOptions, CreateContactResponse, CreateContactResponseSuccess, CreateDomainOptions, CreateDomainRequestOptions, CreateDomainResponse, CreateDomainResponseSuccess, CreateEmailOptions, CreateEmailRequestOptions, CreateEmailResponse, CreateEmailResponseSuccess, CreateEventOptions, CreateEventResponse, CreateEventResponseSuccess, CreateInboxDraftOptions, CreateInboxDraftRequestOptions, CreateInboxDraftResponse, CreateInboxDraftResponseSuccess, CreateInboxLabelOptions, CreateInboxLabelRequestOptions, CreateInboxLabelResponse, CreateInboxLabelResponseSuccess, CreateInboxOptions, CreateInboxRequestOptions, CreateInboxResponse, CreateInboxResponseSuccess, CreateSegmentOptions, CreateSegmentRequestOptions, CreateSegmentResponse, CreateSegmentResponseSuccess, CreateTemplateOptions, CreateTemplateRequestOptions, CreateTemplateResponse, CreateTemplateResponseSuccess, CreateTopicOptions, CreateTopicResponse, CreateTopicResponseSuccess, CreateWebhookOptions, CreateWebhookRequestOptions, CreateWebhookResponse, CreateWebhookResponseSuccess, DelayStepConfig, DeleteOptions, Domain, DomainApiOptions, DomainCapabilities, DomainCapabilityStatus, DomainClaim, DomainClaimBlockedReason, DomainClaimRecord, DomainClaimStatus, DomainCreatedEvent, DomainDeletedEvent, DomainDkimRecord, DomainNameservers, DomainRecordStatus, DomainRecords, DomainRegion, DomainSpfRecord, DomainStatus, DomainUpdatedEvent, DuplicateAutomationResponse, DuplicateAutomationResponseSuccess, DuplicateTemplateResponse, DuplicateTemplateResponseSuccess, EmailApiAttachment, EmailApiOptions, EmailBouncedEvent, EmailClickedEvent, EmailComplainedEvent, EmailDeliveredEvent, EmailDeliveryDelayedEvent, EmailFailedEvent, EmailMetric, EmailMetricsDataRow, EmailMetricsDimension, EmailMetricsGranularity, EmailMetricsTotals, EmailOpenedEvent, EmailReceivedEvent, EmailScheduledEvent, EmailSentEvent, EmailSuppressedEvent, type ErrorResponse, Event, EventSchemaMap, EventSchemaType, ForwardInboxThreadEmailOptions, ForwardInboxThreadEmailRequestOptions, ForwardInboxThreadEmailResponse, ForwardInboxThreadEmailResponseSuccess, ForwardReceivingEmailOptions, ForwardReceivingEmailRequestOptions, ForwardReceivingEmailResponse, ForwardReceivingEmailResponseSuccess, GetAttachmentOptions, GetAttachmentResponse, GetAttachmentResponseSuccess, GetAutomationResponse, GetAutomationResponseSuccess, GetAutomationRunOptions, GetAutomationRunResponse, GetAutomationRunResponseSuccess, GetBroadcastResponse, GetBroadcastResponseSuccess, GetContactImportResponse, GetContactImportResponseSuccess, GetContactOptions, GetContactPropertyResponse, GetContactPropertyResponseSuccess, GetContactResponse, GetContactResponseSuccess, GetDomainClaimResponse, GetDomainClaimResponseSuccess, GetDomainResponse, GetDomainResponseSuccess, GetEmailResponse, GetEmailResponseSuccess, GetEmailsMetricsOptions, GetEmailsMetricsResponse, GetEmailsMetricsResponseSuccess, GetEventResponse, GetEventResponseSuccess, GetInboxDraftOptions, GetInboxDraftResponse, GetInboxDraftResponseSuccess, GetInboxResponse, GetInboxResponseSuccess, GetInboxThreadEmailOptions, GetInboxThreadEmailResponse, GetInboxThreadEmailResponseSuccess, GetInboxThreadOptions, GetInboxThreadResponse, GetInboxThreadResponseSuccess, GetLogResponse, GetLogResponseSuccess, GetOptions, GetReceivingEmailOptions, GetReceivingEmailResponse, GetReceivingEmailResponseSuccess, GetSegmentResponse, GetSegmentResponseSuccess, GetSuppressionResponse, GetSuppressionResponseSuccess, GetTemplateResponse, GetTemplateResponseSuccess, GetTopicOptions, GetTopicResponse, GetTopicResponseSuccess, GetWebhookEventOptions, GetWebhookEventResponse, GetWebhookEventResponseSuccess, GetWebhookResponse, GetWebhookResponseSuccess, INBOX_LABEL_COLORS, INBOX_MESSAGE_FOLDERS, IdempotentRequest, InboundAttachment, Inbox, InboxDraft, InboxDraftListItem, InboxDraftType, InboxLabel, InboxLabelColor, InboxMessage, InboxMessageAttachment, InboxMessageFolder, InboxThread, InboxThreadLabel, InboxThreadSummary, LegacyCreateContactOptions, ListApiKeysOptions, ListApiKeysResponse, ListApiKeysResponseSuccess, ListAttachmentsOptions, ListAttachmentsResponse, ListAttachmentsResponseSuccess, ListAutomationRunsOptions, ListAutomationRunsResponse, ListAutomationRunsResponseSuccess, ListAutomationsOptions, ListAutomationsResponse, ListAutomationsResponseSuccess, ListBroadcastClickedLinksOptions, ListBroadcastClickedLinksResponse, ListBroadcastClickedLinksResponseSuccess, ListBroadcastRecipientsOptions, ListBroadcastRecipientsResponse, ListBroadcastRecipientsResponseSuccess, ListBroadcastsOptions, ListBroadcastsResponse, ListBroadcastsResponseSuccess, ListContactImportsOptions, ListContactImportsResponse, ListContactImportsResponseSuccess, ListContactPropertiesOptions, ListContactPropertiesResponse, ListContactPropertiesResponseSuccess, ListContactSegmentsOptions, ListContactSegmentsResponse, ListContactSegmentsResponseSuccess, ListContactTopicsOptions, ListContactTopicsRequestOptions, ListContactTopicsResponse, ListContactTopicsResponseSuccess, ListContactsOptions, ListContactsResponse, ListContactsResponseSuccess, ListDomainsOptions, ListDomainsResponse, ListDomainsResponseSuccess, ListEmail, ListEmailsOptions, ListEmailsResponse, ListEmailsResponseSuccess, ListEventsOptions, ListEventsResponse, ListEventsResponseSuccess, ListInboxDraftsOptions, ListInboxDraftsResponse, ListInboxDraftsResponseSuccess, ListInboxLabelsOptions, ListInboxLabelsResponse, ListInboxLabelsResponseSuccess, ListInboxThreadsOptions, ListInboxThreadsResponse, ListInboxThreadsResponseSuccess, ListInboxesOptions, ListInboxesResponse, ListInboxesResponseSuccess, ListLogsOptions, ListLogsResponse, ListLogsResponseSuccess, ListOAuthGrantsOptions, ListOAuthGrantsResponse, ListOAuthGrantsResponseSuccess, ListReceivingEmail, ListReceivingEmailsOptions, ListReceivingEmailsResponse, ListReceivingEmailsResponseSuccess, ListSegmentsOptions, ListSegmentsResponse, ListSegmentsResponseSuccess, ListSuppressionsOptions, ListSuppressionsResponse, ListSuppressionsResponseSuccess, ListTemplatesOptions, ListTemplatesResponse, ListTemplatesResponseSuccess, ListTopicsResponse, ListTopicsResponseSuccess, ListWebhookEventAttemptsOptions, ListWebhookEventAttemptsResponse, ListWebhookEventAttemptsResponseSuccess, ListWebhookEventsOptions, ListWebhookEventsResponse, ListWebhookEventsResponseSuccess, ListWebhooksOptions, ListWebhooksResponse, ListWebhooksResponseSuccess, Log, MOVE_THREAD_FOLDERS, MoveThreadFolder, OAuthGrant, PaginatedData, PaginationOptions, PatchOptions, PostOptions, PublishTemplateResponse, PublishTemplateResponseSuccess, PutOptions, ReceivingRecord, RemoveApiKeyResponse, RemoveApiKeyResponseSuccess, RemoveAutomationResponse, RemoveAutomationResponseSuccess, RemoveBroadcastResponse, RemoveBroadcastResponseSuccess, RemoveContactOptions, RemoveContactPropertyResponse, RemoveContactPropertyResponseSuccess, RemoveContactSegmentOptions, RemoveContactSegmentResponse, RemoveContactSegmentResponseSuccess, RemoveContactsResponse, RemoveContactsResponseSuccess, RemoveDomainsResponse, RemoveDomainsResponseSuccess, RemoveEventResponse, RemoveEventResponseSuccess, RemoveInboxDraftOptions, RemoveInboxDraftResponse, RemoveInboxDraftResponseSuccess, RemoveInboxLabelOptions, RemoveInboxLabelResponse, RemoveInboxLabelResponseSuccess, RemoveInboxResponse, RemoveInboxResponseSuccess, RemoveInboxThreadOptions, RemoveInboxThreadResponse, RemoveInboxThreadResponseSuccess, RemoveSegmentResponse, RemoveSegmentResponseSuccess, RemoveSuppressionResponse, RemoveSuppressionResponseSuccess, RemoveTemplateResponse, RemoveTemplateResponseSuccess, RemoveTopicResponse, RemoveTopicResponseSuccess, RemoveWebhookResponse, RemoveWebhookResponseSuccess, ReplayWebhookEventOptions, ReplayWebhookEventResponse, ReplayWebhookEventResponseSuccess, ReplyInboxThreadEmailOptions, ReplyInboxThreadEmailRequestOptions, ReplyInboxThreadEmailResponse, ReplyInboxThreadEmailResponseSuccess, RequireAtLeastOne, Resend, type ResendOptions, type Response, RevokeOAuthGrantResponse, RevokeOAuthGrantResponseSuccess, RotateWebhookSigningSecretResponse, RotateWebhookSigningSecretResponseSuccess, Segment, SelectingField, SendBroadcastOptions, SendBroadcastRequestOptions, SendBroadcastResponse, SendBroadcastResponseSuccess, SendEmailStepConfig, SendEventOptions, SendEventResponse, SendEventResponseSuccess, SendInboxDraftOptions, SendInboxDraftRequestOptions, SendInboxDraftResponse, SendInboxDraftResponseSuccess, ShareEmailOptions, ShareEmailResponse, ShareEmailResponseSuccess, StopAutomationResponse, StopAutomationResponseSuccess, Suppression, SuppressionAddedEvent, SuppressionListEntry, SuppressionOrigin, SuppressionRemovedEvent, Tag, Template, TemplateVariable, TemplateVariableValue, Topic, TrackingCaaRecord, TrackingRecord, TriggerStepConfig, UpdateApiKeyOptions, UpdateApiKeyResponse, UpdateApiKeyResponseSuccess, UpdateAutomationOptions, UpdateAutomationResponse, UpdateAutomationResponseSuccess, UpdateBroadcastOptions, UpdateBroadcastResponse, UpdateBroadcastResponseSuccess, UpdateContactOptions, UpdateContactPropertyApiOptions, UpdateContactPropertyOptions, UpdateContactPropertyResponse, UpdateContactPropertyResponseSuccess, UpdateContactResponse, UpdateContactResponseSuccess, UpdateContactTopicsOptions, UpdateContactTopicsRequestOptions, UpdateContactTopicsResponse, UpdateContactTopicsResponseSuccess, UpdateDomainsOptions, UpdateDomainsResponse, UpdateDomainsResponseSuccess, UpdateEmailOptions, UpdateEmailResponse, UpdateEmailResponseSuccess, UpdateEventOptions, UpdateEventResponse, UpdateEventResponseSuccess, UpdateInboxDraftOptions, UpdateInboxDraftResponse, UpdateInboxDraftResponseSuccess, UpdateInboxLabelOptions, UpdateInboxLabelResponse, UpdateInboxLabelResponseSuccess, UpdateInboxOptions, UpdateInboxResponse, UpdateInboxResponseSuccess, UpdateInboxThreadOptions, UpdateInboxThreadResponse, UpdateInboxThreadResponseSuccess, UpdateSegmentOptions, UpdateSegmentResponse, UpdateSegmentResponseSuccess, UpdateTemplateOptions, UpdateTemplateResponse, UpdateTemplateResponseSuccess, UpdateTopicOptions, UpdateTopicResponse, UpdateTopicResponseSuccess, UpdateWebhookOptions, UpdateWebhookResponse, UpdateWebhookResponseSuccess, VerifyDomainClaimResponse, VerifyDomainClaimResponseSuccess, VerifyDomainsResponse, VerifyDomainsResponseSuccess, WaitForEventStepConfig, Webhook, WebhookEvent, WebhookEventAttempt, WebhookEventLog, WebhookEventLogStatus, WebhookEventPayload };
|