@keystrokehq/resend 0.0.1
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 +184 -0
- package/dist/_official/index.d.mts +2 -0
- package/dist/_official/index.mjs +3 -0
- package/dist/_runtime/index.d.mts +1 -0
- package/dist/_runtime/index.mjs +1 -0
- package/dist/api-keys.d.mts +67 -0
- package/dist/api-keys.mjs +90 -0
- package/dist/broadcasts.d.mts +238 -0
- package/dist/broadcasts.mjs +178 -0
- package/dist/client.d.mts +27 -0
- package/dist/client.mjs +40 -0
- package/dist/connection.d.mts +2 -0
- package/dist/connection.mjs +3 -0
- package/dist/contact-properties.d.mts +139 -0
- package/dist/contact-properties.mjs +115 -0
- package/dist/contacts.d.mts +218 -0
- package/dist/contacts.mjs +225 -0
- package/dist/domains.d.mts +293 -0
- package/dist/domains.mjs +160 -0
- package/dist/emails-receiving.d.mts +177 -0
- package/dist/emails-receiving.mjs +114 -0
- package/dist/emails.d.mts +307 -0
- package/dist/emails.mjs +241 -0
- package/dist/events.d.mts +571 -0
- package/dist/events.mjs +178 -0
- package/dist/factory-B3VyPRsL.mjs +8 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +1 -0
- package/dist/integration-BR1nTAnU.mjs +28 -0
- package/dist/integration-ClH0F7x-.d.mts +49 -0
- package/dist/logs.d.mts +71 -0
- package/dist/logs.mjs +61 -0
- package/dist/schemas.d.mts +77 -0
- package/dist/schemas.mjs +68 -0
- package/dist/segments.d.mts +112 -0
- package/dist/segments.mjs +120 -0
- package/dist/templates.d.mts +193 -0
- package/dist/templates.mjs +151 -0
- package/dist/topics.d.mts +125 -0
- package/dist/topics.mjs +113 -0
- package/dist/triggers.d.mts +68 -0
- package/dist/triggers.mjs +141 -0
- package/dist/verification.d.mts +49 -0
- package/dist/verification.mjs +139 -0
- package/dist/webhooks.d.mts +285 -0
- package/dist/webhooks.mjs +124 -0
- package/package.json +137 -0
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
|
+
|
|
5
|
+
//#region src/domains.d.ts
|
|
6
|
+
declare const domainSummarySchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9
|
+
region: z.ZodOptional<z.ZodEnum<{
|
|
10
|
+
"us-east-1": "us-east-1";
|
|
11
|
+
"eu-west-1": "eu-west-1";
|
|
12
|
+
"sa-east-1": "sa-east-1";
|
|
13
|
+
"ap-northeast-1": "ap-northeast-1";
|
|
14
|
+
}>>;
|
|
15
|
+
status: z.ZodOptional<z.ZodString>;
|
|
16
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
|
+
declare const domainDetailSchema: z.ZodObject<{
|
|
19
|
+
id: z.ZodString;
|
|
20
|
+
name: z.ZodOptional<z.ZodString>;
|
|
21
|
+
region: z.ZodOptional<z.ZodEnum<{
|
|
22
|
+
"us-east-1": "us-east-1";
|
|
23
|
+
"eu-west-1": "eu-west-1";
|
|
24
|
+
"sa-east-1": "sa-east-1";
|
|
25
|
+
"ap-northeast-1": "ap-northeast-1";
|
|
26
|
+
}>>;
|
|
27
|
+
status: z.ZodOptional<z.ZodString>;
|
|
28
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
29
|
+
open_tracking: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
click_tracking: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
tracking_subdomain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
32
|
+
custom_return_path: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
tls: z.ZodOptional<z.ZodEnum<{
|
|
34
|
+
opportunistic: "opportunistic";
|
|
35
|
+
enforced: "enforced";
|
|
36
|
+
}>>;
|
|
37
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
38
|
+
sending: z.ZodOptional<z.ZodEnum<{
|
|
39
|
+
enabled: "enabled";
|
|
40
|
+
disabled: "disabled";
|
|
41
|
+
}>>;
|
|
42
|
+
receiving: z.ZodOptional<z.ZodEnum<{
|
|
43
|
+
enabled: "enabled";
|
|
44
|
+
disabled: "disabled";
|
|
45
|
+
}>>;
|
|
46
|
+
}, z.core.$strip>>;
|
|
47
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48
|
+
record: z.ZodOptional<z.ZodString>;
|
|
49
|
+
name: z.ZodOptional<z.ZodString>;
|
|
50
|
+
type: z.ZodOptional<z.ZodString>;
|
|
51
|
+
value: z.ZodOptional<z.ZodString>;
|
|
52
|
+
ttl: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
53
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
54
|
+
status: z.ZodOptional<z.ZodString>;
|
|
55
|
+
}, z.core.$loose>>>;
|
|
56
|
+
}, z.core.$loose>;
|
|
57
|
+
declare const createDomain: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
58
|
+
name: z.ZodString;
|
|
59
|
+
region: z.ZodOptional<z.ZodEnum<{
|
|
60
|
+
"us-east-1": "us-east-1";
|
|
61
|
+
"eu-west-1": "eu-west-1";
|
|
62
|
+
"sa-east-1": "sa-east-1";
|
|
63
|
+
"ap-northeast-1": "ap-northeast-1";
|
|
64
|
+
}>>;
|
|
65
|
+
custom_return_path: z.ZodOptional<z.ZodString>;
|
|
66
|
+
open_tracking: z.ZodOptional<z.ZodBoolean>;
|
|
67
|
+
click_tracking: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
+
tracking_subdomain: z.ZodOptional<z.ZodString>;
|
|
69
|
+
tls: z.ZodOptional<z.ZodEnum<{
|
|
70
|
+
opportunistic: "opportunistic";
|
|
71
|
+
enforced: "enforced";
|
|
72
|
+
}>>;
|
|
73
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
74
|
+
sending: z.ZodOptional<z.ZodEnum<{
|
|
75
|
+
enabled: "enabled";
|
|
76
|
+
disabled: "disabled";
|
|
77
|
+
}>>;
|
|
78
|
+
receiving: z.ZodOptional<z.ZodEnum<{
|
|
79
|
+
enabled: "enabled";
|
|
80
|
+
disabled: "disabled";
|
|
81
|
+
}>>;
|
|
82
|
+
}, z.core.$strip>>;
|
|
83
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
+
id: z.ZodString;
|
|
85
|
+
name: z.ZodOptional<z.ZodString>;
|
|
86
|
+
region: z.ZodOptional<z.ZodEnum<{
|
|
87
|
+
"us-east-1": "us-east-1";
|
|
88
|
+
"eu-west-1": "eu-west-1";
|
|
89
|
+
"sa-east-1": "sa-east-1";
|
|
90
|
+
"ap-northeast-1": "ap-northeast-1";
|
|
91
|
+
}>>;
|
|
92
|
+
status: z.ZodOptional<z.ZodString>;
|
|
93
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
94
|
+
open_tracking: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
+
click_tracking: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
+
tracking_subdomain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
97
|
+
custom_return_path: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
98
|
+
tls: z.ZodOptional<z.ZodEnum<{
|
|
99
|
+
opportunistic: "opportunistic";
|
|
100
|
+
enforced: "enforced";
|
|
101
|
+
}>>;
|
|
102
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
103
|
+
sending: z.ZodOptional<z.ZodEnum<{
|
|
104
|
+
enabled: "enabled";
|
|
105
|
+
disabled: "disabled";
|
|
106
|
+
}>>;
|
|
107
|
+
receiving: z.ZodOptional<z.ZodEnum<{
|
|
108
|
+
enabled: "enabled";
|
|
109
|
+
disabled: "disabled";
|
|
110
|
+
}>>;
|
|
111
|
+
}, z.core.$strip>>;
|
|
112
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
113
|
+
record: z.ZodOptional<z.ZodString>;
|
|
114
|
+
name: z.ZodOptional<z.ZodString>;
|
|
115
|
+
type: z.ZodOptional<z.ZodString>;
|
|
116
|
+
value: z.ZodOptional<z.ZodString>;
|
|
117
|
+
ttl: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
118
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
119
|
+
status: z.ZodOptional<z.ZodString>;
|
|
120
|
+
}, z.core.$loose>>>;
|
|
121
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
122
|
+
RESEND_API_KEY: z.ZodString;
|
|
123
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
124
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
125
|
+
RESEND_API_KEY: z.ZodString;
|
|
126
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
127
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
128
|
+
declare const listDomains: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
129
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
130
|
+
after: z.ZodOptional<z.ZodString>;
|
|
131
|
+
before: z.ZodOptional<z.ZodString>;
|
|
132
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
133
|
+
object: z.ZodLiteral<"list">;
|
|
134
|
+
has_more: z.ZodBoolean;
|
|
135
|
+
data: z.ZodArray<z.ZodObject<{
|
|
136
|
+
id: z.ZodString;
|
|
137
|
+
name: z.ZodOptional<z.ZodString>;
|
|
138
|
+
region: z.ZodOptional<z.ZodEnum<{
|
|
139
|
+
"us-east-1": "us-east-1";
|
|
140
|
+
"eu-west-1": "eu-west-1";
|
|
141
|
+
"sa-east-1": "sa-east-1";
|
|
142
|
+
"ap-northeast-1": "ap-northeast-1";
|
|
143
|
+
}>>;
|
|
144
|
+
status: z.ZodOptional<z.ZodString>;
|
|
145
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
146
|
+
}, z.core.$loose>>;
|
|
147
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
148
|
+
RESEND_API_KEY: z.ZodString;
|
|
149
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
150
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
151
|
+
RESEND_API_KEY: z.ZodString;
|
|
152
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
153
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
154
|
+
declare const retrieveDomain: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
155
|
+
id: z.ZodString;
|
|
156
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
157
|
+
id: z.ZodString;
|
|
158
|
+
name: z.ZodOptional<z.ZodString>;
|
|
159
|
+
region: z.ZodOptional<z.ZodEnum<{
|
|
160
|
+
"us-east-1": "us-east-1";
|
|
161
|
+
"eu-west-1": "eu-west-1";
|
|
162
|
+
"sa-east-1": "sa-east-1";
|
|
163
|
+
"ap-northeast-1": "ap-northeast-1";
|
|
164
|
+
}>>;
|
|
165
|
+
status: z.ZodOptional<z.ZodString>;
|
|
166
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
167
|
+
open_tracking: z.ZodOptional<z.ZodBoolean>;
|
|
168
|
+
click_tracking: z.ZodOptional<z.ZodBoolean>;
|
|
169
|
+
tracking_subdomain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
170
|
+
custom_return_path: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
171
|
+
tls: z.ZodOptional<z.ZodEnum<{
|
|
172
|
+
opportunistic: "opportunistic";
|
|
173
|
+
enforced: "enforced";
|
|
174
|
+
}>>;
|
|
175
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
176
|
+
sending: z.ZodOptional<z.ZodEnum<{
|
|
177
|
+
enabled: "enabled";
|
|
178
|
+
disabled: "disabled";
|
|
179
|
+
}>>;
|
|
180
|
+
receiving: z.ZodOptional<z.ZodEnum<{
|
|
181
|
+
enabled: "enabled";
|
|
182
|
+
disabled: "disabled";
|
|
183
|
+
}>>;
|
|
184
|
+
}, z.core.$strip>>;
|
|
185
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
186
|
+
record: z.ZodOptional<z.ZodString>;
|
|
187
|
+
name: z.ZodOptional<z.ZodString>;
|
|
188
|
+
type: z.ZodOptional<z.ZodString>;
|
|
189
|
+
value: z.ZodOptional<z.ZodString>;
|
|
190
|
+
ttl: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
191
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
192
|
+
status: z.ZodOptional<z.ZodString>;
|
|
193
|
+
}, z.core.$loose>>>;
|
|
194
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
195
|
+
RESEND_API_KEY: z.ZodString;
|
|
196
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
197
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
198
|
+
RESEND_API_KEY: z.ZodString;
|
|
199
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
200
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
201
|
+
declare const updateDomain: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
202
|
+
id: z.ZodString;
|
|
203
|
+
open_tracking: z.ZodOptional<z.ZodBoolean>;
|
|
204
|
+
click_tracking: z.ZodOptional<z.ZodBoolean>;
|
|
205
|
+
tracking_subdomain: z.ZodOptional<z.ZodString>;
|
|
206
|
+
tls: z.ZodOptional<z.ZodEnum<{
|
|
207
|
+
opportunistic: "opportunistic";
|
|
208
|
+
enforced: "enforced";
|
|
209
|
+
}>>;
|
|
210
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
211
|
+
sending: z.ZodOptional<z.ZodEnum<{
|
|
212
|
+
enabled: "enabled";
|
|
213
|
+
disabled: "disabled";
|
|
214
|
+
}>>;
|
|
215
|
+
receiving: z.ZodOptional<z.ZodEnum<{
|
|
216
|
+
enabled: "enabled";
|
|
217
|
+
disabled: "disabled";
|
|
218
|
+
}>>;
|
|
219
|
+
}, z.core.$strip>>;
|
|
220
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
221
|
+
id: z.ZodString;
|
|
222
|
+
name: z.ZodOptional<z.ZodString>;
|
|
223
|
+
region: z.ZodOptional<z.ZodEnum<{
|
|
224
|
+
"us-east-1": "us-east-1";
|
|
225
|
+
"eu-west-1": "eu-west-1";
|
|
226
|
+
"sa-east-1": "sa-east-1";
|
|
227
|
+
"ap-northeast-1": "ap-northeast-1";
|
|
228
|
+
}>>;
|
|
229
|
+
status: z.ZodOptional<z.ZodString>;
|
|
230
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
231
|
+
open_tracking: z.ZodOptional<z.ZodBoolean>;
|
|
232
|
+
click_tracking: z.ZodOptional<z.ZodBoolean>;
|
|
233
|
+
tracking_subdomain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
234
|
+
custom_return_path: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
235
|
+
tls: z.ZodOptional<z.ZodEnum<{
|
|
236
|
+
opportunistic: "opportunistic";
|
|
237
|
+
enforced: "enforced";
|
|
238
|
+
}>>;
|
|
239
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
240
|
+
sending: z.ZodOptional<z.ZodEnum<{
|
|
241
|
+
enabled: "enabled";
|
|
242
|
+
disabled: "disabled";
|
|
243
|
+
}>>;
|
|
244
|
+
receiving: z.ZodOptional<z.ZodEnum<{
|
|
245
|
+
enabled: "enabled";
|
|
246
|
+
disabled: "disabled";
|
|
247
|
+
}>>;
|
|
248
|
+
}, z.core.$strip>>;
|
|
249
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
250
|
+
record: z.ZodOptional<z.ZodString>;
|
|
251
|
+
name: z.ZodOptional<z.ZodString>;
|
|
252
|
+
type: z.ZodOptional<z.ZodString>;
|
|
253
|
+
value: z.ZodOptional<z.ZodString>;
|
|
254
|
+
ttl: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
255
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
256
|
+
status: z.ZodOptional<z.ZodString>;
|
|
257
|
+
}, z.core.$loose>>>;
|
|
258
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
259
|
+
RESEND_API_KEY: z.ZodString;
|
|
260
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
261
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
262
|
+
RESEND_API_KEY: z.ZodString;
|
|
263
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
264
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
265
|
+
declare const verifyDomain: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
266
|
+
id: z.ZodString;
|
|
267
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
268
|
+
id: z.ZodString;
|
|
269
|
+
object: z.ZodOptional<z.ZodLiteral<"domain">>;
|
|
270
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
271
|
+
RESEND_API_KEY: z.ZodString;
|
|
272
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
273
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
274
|
+
RESEND_API_KEY: z.ZodString;
|
|
275
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
276
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
277
|
+
declare const deleteDomain: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
278
|
+
id: z.ZodString;
|
|
279
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
280
|
+
object: z.ZodOptional<z.ZodLiteral<"domain">>;
|
|
281
|
+
id: z.ZodString;
|
|
282
|
+
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
283
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
284
|
+
RESEND_API_KEY: z.ZodString;
|
|
285
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
286
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
287
|
+
RESEND_API_KEY: z.ZodString;
|
|
288
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
289
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
290
|
+
type ResendDomainSummary = z.infer<typeof domainSummarySchema>;
|
|
291
|
+
type ResendDomainDetail = z.infer<typeof domainDetailSchema>;
|
|
292
|
+
//#endregion
|
|
293
|
+
export { ResendDomainDetail, ResendDomainSummary, createDomain, deleteDomain, listDomains, retrieveDomain, updateDomain, verifyDomain };
|
package/dist/domains.mjs
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { createResendClient } from "./client.mjs";
|
|
2
|
+
import { paginationQuerySchema, resendCapabilityStateSchema, resendListEnvelope, resendRegionSchema, resendTlsPolicySchema } from "./schemas.mjs";
|
|
3
|
+
import { t as resendOperation } from "./factory-B3VyPRsL.mjs";
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
|
|
6
|
+
//#region src/domains.ts
|
|
7
|
+
/**
|
|
8
|
+
* resend/domains.ts
|
|
9
|
+
*
|
|
10
|
+
* Operations backing the Resend `/domains` endpoints.
|
|
11
|
+
* PLAN.md § 6.3: 6 operations (create, list, get, update, verify, delete).
|
|
12
|
+
*
|
|
13
|
+
* A domain carries sending and optionally receiving capabilities, is
|
|
14
|
+
* placed in one of four Resend regions at creation time, and exposes
|
|
15
|
+
* DNS records (SPF/DKIM/CNAME) to configure on the owning registrar.
|
|
16
|
+
* The `verify` action kicks a re-check; the `status` field on the
|
|
17
|
+
* resource reflects the result.
|
|
18
|
+
*/
|
|
19
|
+
const domainCapabilitiesSchema = z.object({
|
|
20
|
+
sending: resendCapabilityStateSchema.optional(),
|
|
21
|
+
receiving: resendCapabilityStateSchema.optional()
|
|
22
|
+
}).refine((c) => c.sending !== void 0 || c.receiving !== void 0, "At least one of sending or receiving must be set.");
|
|
23
|
+
const dnsRecordSchema = z.object({
|
|
24
|
+
record: z.string().optional(),
|
|
25
|
+
name: z.string().optional(),
|
|
26
|
+
type: z.string().optional(),
|
|
27
|
+
value: z.string().optional(),
|
|
28
|
+
ttl: z.union([z.string(), z.number()]).optional(),
|
|
29
|
+
priority: z.number().optional(),
|
|
30
|
+
status: z.string().optional()
|
|
31
|
+
}).passthrough();
|
|
32
|
+
const domainSummarySchema = z.object({
|
|
33
|
+
id: z.string(),
|
|
34
|
+
name: z.string().optional(),
|
|
35
|
+
region: resendRegionSchema.optional(),
|
|
36
|
+
status: z.string().optional(),
|
|
37
|
+
created_at: z.string().optional()
|
|
38
|
+
}).passthrough();
|
|
39
|
+
const domainDetailSchema = domainSummarySchema.extend({
|
|
40
|
+
open_tracking: z.boolean().optional(),
|
|
41
|
+
click_tracking: z.boolean().optional(),
|
|
42
|
+
tracking_subdomain: z.string().optional().nullable(),
|
|
43
|
+
custom_return_path: z.string().optional().nullable(),
|
|
44
|
+
tls: resendTlsPolicySchema.optional(),
|
|
45
|
+
capabilities: domainCapabilitiesSchema.optional(),
|
|
46
|
+
records: z.array(dnsRecordSchema).optional()
|
|
47
|
+
}).passthrough();
|
|
48
|
+
const listDomainsResponseSchema = resendListEnvelope(domainSummarySchema);
|
|
49
|
+
const createDomain = resendOperation({
|
|
50
|
+
id: "create_resend_domain",
|
|
51
|
+
name: "Create Resend Domain",
|
|
52
|
+
description: "Register a new sending or receiving domain.",
|
|
53
|
+
input: z.object({
|
|
54
|
+
name: z.string().min(1),
|
|
55
|
+
region: resendRegionSchema.optional(),
|
|
56
|
+
custom_return_path: z.string().optional(),
|
|
57
|
+
open_tracking: z.boolean().optional(),
|
|
58
|
+
click_tracking: z.boolean().optional(),
|
|
59
|
+
tracking_subdomain: z.string().optional(),
|
|
60
|
+
tls: resendTlsPolicySchema.optional(),
|
|
61
|
+
capabilities: domainCapabilitiesSchema.optional()
|
|
62
|
+
}),
|
|
63
|
+
output: domainDetailSchema,
|
|
64
|
+
needsApproval: true,
|
|
65
|
+
run: async (input, credentials) => {
|
|
66
|
+
return createResendClient(credentials).request({
|
|
67
|
+
method: "POST",
|
|
68
|
+
path: "/domains",
|
|
69
|
+
body: input
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
const listDomains = resendOperation({
|
|
74
|
+
id: "list_resend_domains",
|
|
75
|
+
name: "List Resend Domains",
|
|
76
|
+
description: "Retrieve a list of domains.",
|
|
77
|
+
input: paginationQuerySchema,
|
|
78
|
+
output: listDomainsResponseSchema,
|
|
79
|
+
run: async (input, credentials) => {
|
|
80
|
+
return createResendClient(credentials).request({
|
|
81
|
+
method: "GET",
|
|
82
|
+
path: "/domains",
|
|
83
|
+
query: input
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
const retrieveDomain = resendOperation({
|
|
88
|
+
id: "retrieve_resend_domain",
|
|
89
|
+
name: "Retrieve Resend Domain",
|
|
90
|
+
description: "Retrieve a domain by id, including DNS records.",
|
|
91
|
+
input: z.object({ id: z.string().min(1) }),
|
|
92
|
+
output: domainDetailSchema,
|
|
93
|
+
run: async (input, credentials) => {
|
|
94
|
+
return createResendClient(credentials).request({
|
|
95
|
+
method: "GET",
|
|
96
|
+
path: `/domains/${encodeURIComponent(input.id)}`
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
const updateDomain = resendOperation({
|
|
101
|
+
id: "update_resend_domain",
|
|
102
|
+
name: "Update Resend Domain",
|
|
103
|
+
description: "Update tracking, TLS, or receiving settings on a domain.",
|
|
104
|
+
input: z.object({
|
|
105
|
+
id: z.string().min(1),
|
|
106
|
+
open_tracking: z.boolean().optional(),
|
|
107
|
+
click_tracking: z.boolean().optional(),
|
|
108
|
+
tracking_subdomain: z.string().optional(),
|
|
109
|
+
tls: resendTlsPolicySchema.optional(),
|
|
110
|
+
capabilities: domainCapabilitiesSchema.optional()
|
|
111
|
+
}),
|
|
112
|
+
output: domainDetailSchema,
|
|
113
|
+
needsApproval: true,
|
|
114
|
+
run: async (input, credentials) => {
|
|
115
|
+
const { id, ...body } = input;
|
|
116
|
+
return createResendClient(credentials).request({
|
|
117
|
+
method: "PATCH",
|
|
118
|
+
path: `/domains/${encodeURIComponent(id)}`,
|
|
119
|
+
body
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
const verifyDomain = resendOperation({
|
|
124
|
+
id: "verify_resend_domain",
|
|
125
|
+
name: "Verify Resend Domain",
|
|
126
|
+
description: "Trigger DNS verification on a domain.",
|
|
127
|
+
input: z.object({ id: z.string().min(1) }),
|
|
128
|
+
output: z.object({
|
|
129
|
+
id: z.string(),
|
|
130
|
+
object: z.literal("domain").optional()
|
|
131
|
+
}).passthrough(),
|
|
132
|
+
needsApproval: true,
|
|
133
|
+
run: async (input, credentials) => {
|
|
134
|
+
return createResendClient(credentials).request({
|
|
135
|
+
method: "POST",
|
|
136
|
+
path: `/domains/${encodeURIComponent(input.id)}/verify`
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
const deleteDomain = resendOperation({
|
|
141
|
+
id: "delete_resend_domain",
|
|
142
|
+
name: "Delete Resend Domain",
|
|
143
|
+
description: "Delete a domain.",
|
|
144
|
+
input: z.object({ id: z.string().min(1) }),
|
|
145
|
+
output: z.object({
|
|
146
|
+
object: z.literal("domain").optional(),
|
|
147
|
+
id: z.string(),
|
|
148
|
+
deleted: z.boolean().optional()
|
|
149
|
+
}).passthrough(),
|
|
150
|
+
needsApproval: true,
|
|
151
|
+
run: async (input, credentials) => {
|
|
152
|
+
return createResendClient(credentials).request({
|
|
153
|
+
method: "DELETE",
|
|
154
|
+
path: `/domains/${encodeURIComponent(input.id)}`
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
//#endregion
|
|
160
|
+
export { createDomain, deleteDomain, listDomains, retrieveDomain, updateDomain, verifyDomain };
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
|
+
|
|
5
|
+
//#region src/emails-receiving.d.ts
|
|
6
|
+
declare const receivedAttachmentSummarySchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
9
|
+
content_type: z.ZodOptional<z.ZodString>;
|
|
10
|
+
content_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
content_disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const receivedAttachmentDetailSchema: z.ZodObject<{
|
|
15
|
+
id: z.ZodString;
|
|
16
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
17
|
+
content_type: z.ZodOptional<z.ZodString>;
|
|
18
|
+
content_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
content_disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
url: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const receivedEmailSummarySchema: z.ZodObject<{
|
|
24
|
+
id: z.ZodString;
|
|
25
|
+
object: z.ZodOptional<z.ZodLiteral<"email">>;
|
|
26
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
27
|
+
to: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
|
+
from: z.ZodOptional<z.ZodString>;
|
|
29
|
+
bcc: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30
|
+
cc: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
+
reply_to: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
33
|
+
message_id: z.ZodOptional<z.ZodString>;
|
|
34
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
35
|
+
id: z.ZodString;
|
|
36
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
37
|
+
content_type: z.ZodOptional<z.ZodString>;
|
|
38
|
+
content_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
content_disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
|
+
}, z.core.$loose>;
|
|
43
|
+
declare const receivedEmailDetailSchema: z.ZodObject<{
|
|
44
|
+
id: z.ZodString;
|
|
45
|
+
object: z.ZodOptional<z.ZodLiteral<"email">>;
|
|
46
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
47
|
+
to: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
48
|
+
from: z.ZodOptional<z.ZodString>;
|
|
49
|
+
bcc: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
50
|
+
cc: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
51
|
+
reply_to: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
52
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
53
|
+
message_id: z.ZodOptional<z.ZodString>;
|
|
54
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
55
|
+
id: z.ZodString;
|
|
56
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
57
|
+
content_type: z.ZodOptional<z.ZodString>;
|
|
58
|
+
content_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
content_disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
}, z.core.$loose>>>;
|
|
62
|
+
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
65
|
+
}, z.core.$loose>;
|
|
66
|
+
declare const listReceivedEmails: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
67
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
68
|
+
after: z.ZodOptional<z.ZodString>;
|
|
69
|
+
before: z.ZodOptional<z.ZodString>;
|
|
70
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
71
|
+
object: z.ZodLiteral<"list">;
|
|
72
|
+
has_more: z.ZodBoolean;
|
|
73
|
+
data: z.ZodArray<z.ZodObject<{
|
|
74
|
+
id: z.ZodString;
|
|
75
|
+
object: z.ZodOptional<z.ZodLiteral<"email">>;
|
|
76
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
77
|
+
to: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
78
|
+
from: z.ZodOptional<z.ZodString>;
|
|
79
|
+
bcc: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
80
|
+
cc: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
81
|
+
reply_to: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
82
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
83
|
+
message_id: z.ZodOptional<z.ZodString>;
|
|
84
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
85
|
+
id: z.ZodString;
|
|
86
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
87
|
+
content_type: z.ZodOptional<z.ZodString>;
|
|
88
|
+
content_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
+
content_disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
91
|
+
}, z.core.$loose>>>;
|
|
92
|
+
}, z.core.$loose>>;
|
|
93
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
94
|
+
RESEND_API_KEY: z.ZodString;
|
|
95
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
96
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
97
|
+
RESEND_API_KEY: z.ZodString;
|
|
98
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
99
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
100
|
+
declare const retrieveReceivedEmail: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
101
|
+
id: z.ZodString;
|
|
102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
103
|
+
id: z.ZodString;
|
|
104
|
+
object: z.ZodOptional<z.ZodLiteral<"email">>;
|
|
105
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
106
|
+
to: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
107
|
+
from: z.ZodOptional<z.ZodString>;
|
|
108
|
+
bcc: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
109
|
+
cc: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
110
|
+
reply_to: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
111
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
112
|
+
message_id: z.ZodOptional<z.ZodString>;
|
|
113
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
114
|
+
id: z.ZodString;
|
|
115
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
116
|
+
content_type: z.ZodOptional<z.ZodString>;
|
|
117
|
+
content_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
118
|
+
content_disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
120
|
+
}, z.core.$loose>>>;
|
|
121
|
+
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
123
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
124
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
125
|
+
RESEND_API_KEY: z.ZodString;
|
|
126
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
127
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
128
|
+
RESEND_API_KEY: z.ZodString;
|
|
129
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
130
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
131
|
+
declare const listReceivedAttachments: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
132
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
133
|
+
after: z.ZodOptional<z.ZodString>;
|
|
134
|
+
before: z.ZodOptional<z.ZodString>;
|
|
135
|
+
email_id: z.ZodString;
|
|
136
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
137
|
+
object: z.ZodLiteral<"list">;
|
|
138
|
+
has_more: z.ZodBoolean;
|
|
139
|
+
data: z.ZodArray<z.ZodObject<{
|
|
140
|
+
id: z.ZodString;
|
|
141
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
142
|
+
content_type: z.ZodOptional<z.ZodString>;
|
|
143
|
+
content_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
144
|
+
content_disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
145
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
146
|
+
}, z.core.$loose>>;
|
|
147
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
148
|
+
RESEND_API_KEY: z.ZodString;
|
|
149
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
150
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
151
|
+
RESEND_API_KEY: z.ZodString;
|
|
152
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
153
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
154
|
+
declare const retrieveReceivedAttachment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
155
|
+
email_id: z.ZodString;
|
|
156
|
+
attachment_id: z.ZodString;
|
|
157
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
158
|
+
id: z.ZodString;
|
|
159
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
160
|
+
content_type: z.ZodOptional<z.ZodString>;
|
|
161
|
+
content_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162
|
+
content_disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
163
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
164
|
+
url: z.ZodOptional<z.ZodString>;
|
|
165
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
166
|
+
RESEND_API_KEY: z.ZodString;
|
|
167
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
168
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
169
|
+
RESEND_API_KEY: z.ZodString;
|
|
170
|
+
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
171
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
172
|
+
type ResendReceivedEmailSummary = z.infer<typeof receivedEmailSummarySchema>;
|
|
173
|
+
type ResendReceivedEmailDetail = z.infer<typeof receivedEmailDetailSchema>;
|
|
174
|
+
type ResendReceivedAttachmentSummary = z.infer<typeof receivedAttachmentSummarySchema>;
|
|
175
|
+
type ResendReceivedAttachmentDetail = z.infer<typeof receivedAttachmentDetailSchema>;
|
|
176
|
+
//#endregion
|
|
177
|
+
export { ResendReceivedAttachmentDetail, ResendReceivedAttachmentSummary, ResendReceivedEmailDetail, ResendReceivedEmailSummary, listReceivedAttachments, listReceivedEmails, retrieveReceivedAttachment, retrieveReceivedEmail };
|