samva 0.3.0 → 0.4.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/AGENTS.md +1 -1
- package/README.md +5 -1
- package/dist/client/sdk.gen.d.ts +167 -184
- package/dist/client/types.gen.d.ts +1362 -662
- package/dist/{client-BOghX8fr.js → client-BmZK_uCt.js} +1797 -935
- package/dist/client-attribution-BslSOa_8.js +9 -0
- package/dist/client-attribution.d.ts +2 -0
- package/dist/effect/api-keys.d.ts +51 -51
- package/dist/effect/api-keys.js +1 -1
- package/dist/effect/campaigns.d.ts +253 -219
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/categories.d.ts +6 -6
- package/dist/effect/client.js +1 -1
- package/dist/effect/contacts.d.ts +225 -225
- package/dist/effect/contacts.js +1 -1
- package/dist/effect/conversations.d.ts +293 -293
- package/dist/effect/conversations.js +1 -1
- package/dist/effect/design.d.ts +76 -76
- package/dist/effect/design.js +1 -1
- package/dist/effect/email.d.ts +225 -213
- package/dist/effect/email.js +2 -2
- package/dist/effect/generated.d.ts +12174 -11888
- package/dist/effect/index.js +1 -1
- package/dist/effect/internal/client.d.ts +1 -1
- package/dist/effect/internal/operation.d.ts +20 -19
- package/dist/effect/media.d.ts +9 -9
- package/dist/effect/media.js +1 -1
- package/dist/effect/messages.d.ts +64 -61
- package/dist/effect/messages.js +1 -1
- package/dist/effect/operations.d.ts +17 -17
- package/dist/effect/operations.js +1 -1
- package/dist/effect/organizations.d.ts +162 -162
- package/dist/effect/organizations.js +1 -1
- package/dist/effect/runtime.d.ts +0 -2
- package/dist/effect/scheduled-messages.d.ts +290 -276
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/templates.d.ts +1371 -1554
- package/dist/effect/templates.js +40 -30
- package/dist/effect/webhooks.d.ts +47 -47
- package/dist/effect/webhooks.js +2 -2
- package/dist/index.js +1 -1
- package/dist/{normalize-BKFjbR9t.js → normalize-BiIJnycv.js} +2 -3
- package/dist/{operation-C2Q4cFJL.js → operation-B1knNlxk.js} +65 -38
- package/dist/promises/index.d.ts +10 -8
- package/dist/promises/index.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-oiy7mOyu.js → promises-n1opem5V.js} +293 -262
- package/dist/service-map.d.ts +70 -44
- package/package.json +13 -14
package/dist/effect/email.d.ts
CHANGED
|
@@ -11,12 +11,12 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
11
11
|
readonly [x: string]: import("./generated").JsonValue;
|
|
12
12
|
} | null;
|
|
13
13
|
readonly channel: "email";
|
|
14
|
-
readonly direction: "
|
|
14
|
+
readonly direction: "inbound" | "outbound";
|
|
15
15
|
readonly content: import("./generated").JsonValue;
|
|
16
16
|
readonly metadata: {
|
|
17
17
|
readonly [x: string]: import("./generated").JsonValue;
|
|
18
18
|
} | null;
|
|
19
|
-
readonly status: "
|
|
19
|
+
readonly status: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent";
|
|
20
20
|
readonly scheduledAt: string | null;
|
|
21
21
|
readonly tags: readonly string[];
|
|
22
22
|
readonly categories: readonly string[];
|
|
@@ -60,9 +60,9 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
60
60
|
readonly actorId: string | null;
|
|
61
61
|
readonly contactId: string | null;
|
|
62
62
|
readonly identityId: string | null;
|
|
63
|
-
readonly kind: "
|
|
63
|
+
readonly kind: "bcc" | "cc" | "to";
|
|
64
64
|
readonly address: string;
|
|
65
|
-
readonly status: "
|
|
65
|
+
readonly status: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent";
|
|
66
66
|
readonly createdAt: string;
|
|
67
67
|
readonly updatedAt: string;
|
|
68
68
|
readonly contact: {
|
|
@@ -82,7 +82,7 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
82
82
|
readonly messageId: string;
|
|
83
83
|
readonly recipientId: string | null;
|
|
84
84
|
readonly channel: "email";
|
|
85
|
-
readonly status: "
|
|
85
|
+
readonly status: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent";
|
|
86
86
|
readonly attemptCount: number;
|
|
87
87
|
readonly maxAttempts: number;
|
|
88
88
|
readonly queuedAt: string | null;
|
|
@@ -129,7 +129,7 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
129
129
|
readonly spfVerdict: string | null;
|
|
130
130
|
readonly dmarcVerdict: string | null;
|
|
131
131
|
readonly isAutoReply: boolean;
|
|
132
|
-
readonly autoReplyReason: "
|
|
132
|
+
readonly autoReplyReason: "auto-response" | "delivery-status" | "out-of-office" | "read-receipt" | null;
|
|
133
133
|
readonly priority: string | null;
|
|
134
134
|
readonly parsingErrors: readonly string[] | null;
|
|
135
135
|
readonly parsingDuration: number | null;
|
|
@@ -138,18 +138,18 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
138
138
|
readonly createdAt: string;
|
|
139
139
|
readonly updatedAt: string;
|
|
140
140
|
}[];
|
|
141
|
-
}, import("./generated").
|
|
141
|
+
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").ExternalServiceError | import("./generated").FlagDisabledError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").RateLimitedError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError | import("./generated").WebhookEnqueueError, import("./client").Service>;
|
|
142
142
|
export declare const getTrackingDefaults: (_?: never) => import("effect/Effect").Effect<{
|
|
143
143
|
readonly opens: boolean;
|
|
144
144
|
readonly clicks: boolean;
|
|
145
|
-
}, import("./generated").
|
|
145
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
146
146
|
export declare const updateTrackingDefaults: (input?: {
|
|
147
147
|
readonly opens?: boolean | undefined;
|
|
148
148
|
readonly clicks?: boolean | undefined;
|
|
149
149
|
} | undefined) => import("effect/Effect").Effect<{
|
|
150
150
|
readonly opens: boolean;
|
|
151
151
|
readonly clicks: boolean;
|
|
152
|
-
}, import("./generated").
|
|
152
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
153
153
|
export declare const getRecipientTrackingPreference: (input: {
|
|
154
154
|
readonly email: string;
|
|
155
155
|
}) => import("effect/Effect").Effect<{
|
|
@@ -158,7 +158,7 @@ export declare const getRecipientTrackingPreference: (input: {
|
|
|
158
158
|
readonly trackingOptedOutAt: string | null;
|
|
159
159
|
readonly createdAt: string | null;
|
|
160
160
|
readonly updatedAt: string | null;
|
|
161
|
-
}, import("./generated").
|
|
161
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
162
162
|
export declare const updateRecipientTrackingPreference: (input: {
|
|
163
163
|
readonly email: string;
|
|
164
164
|
readonly optedOut: boolean;
|
|
@@ -168,21 +168,21 @@ export declare const updateRecipientTrackingPreference: (input: {
|
|
|
168
168
|
readonly trackingOptedOutAt: string | null;
|
|
169
169
|
readonly createdAt: string | null;
|
|
170
170
|
readonly updatedAt: string | null;
|
|
171
|
-
}, import("./generated").
|
|
171
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
172
172
|
export declare const listDomains: ((input?: {
|
|
173
|
-
readonly limit?: string | null | undefined;
|
|
174
173
|
readonly page?: string | null | undefined;
|
|
174
|
+
readonly limit?: string | null | undefined;
|
|
175
175
|
} | undefined) => import("effect/Effect").Effect<{
|
|
176
176
|
readonly items: readonly {
|
|
177
|
-
readonly domain: string;
|
|
178
|
-
readonly createdAt: string;
|
|
179
|
-
readonly updatedAt: string;
|
|
180
177
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
181
|
-
readonly
|
|
182
|
-
readonly
|
|
183
|
-
readonly isDefault: boolean;
|
|
178
|
+
readonly domain: string;
|
|
179
|
+
readonly phase: "degraded" | "dns-setup" | "failed" | "provider-setup" | "provider-verification" | "ready";
|
|
184
180
|
readonly dkimSelector?: string | null;
|
|
185
181
|
readonly dkimPublicKey?: string | null;
|
|
182
|
+
readonly isDefault: boolean;
|
|
183
|
+
readonly defaultSenderId: (string & import("effect/Brand").Brand<"EmailSenderId">) | null;
|
|
184
|
+
readonly createdAt: string;
|
|
185
|
+
readonly updatedAt: string;
|
|
186
186
|
}[];
|
|
187
187
|
readonly pagination: {
|
|
188
188
|
readonly page: number;
|
|
@@ -190,21 +190,21 @@ export declare const listDomains: ((input?: {
|
|
|
190
190
|
readonly total: number;
|
|
191
191
|
readonly totalPages: number;
|
|
192
192
|
};
|
|
193
|
-
}, import("./generated").
|
|
193
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>) & {
|
|
194
194
|
readonly pages: (input?: {
|
|
195
|
-
readonly limit?: string | null | undefined;
|
|
196
195
|
readonly page?: string | null | undefined;
|
|
196
|
+
readonly limit?: string | null | undefined;
|
|
197
197
|
} | undefined) => import("effect/Stream").Stream<{
|
|
198
198
|
readonly items: readonly {
|
|
199
|
-
readonly domain: string;
|
|
200
|
-
readonly createdAt: string;
|
|
201
|
-
readonly updatedAt: string;
|
|
202
199
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
203
|
-
readonly
|
|
204
|
-
readonly
|
|
205
|
-
readonly isDefault: boolean;
|
|
200
|
+
readonly domain: string;
|
|
201
|
+
readonly phase: "degraded" | "dns-setup" | "failed" | "provider-setup" | "provider-verification" | "ready";
|
|
206
202
|
readonly dkimSelector?: string | null;
|
|
207
203
|
readonly dkimPublicKey?: string | null;
|
|
204
|
+
readonly isDefault: boolean;
|
|
205
|
+
readonly defaultSenderId: (string & import("effect/Brand").Brand<"EmailSenderId">) | null;
|
|
206
|
+
readonly createdAt: string;
|
|
207
|
+
readonly updatedAt: string;
|
|
208
208
|
}[];
|
|
209
209
|
readonly pagination: {
|
|
210
210
|
readonly page: number;
|
|
@@ -212,76 +212,80 @@ export declare const listDomains: ((input?: {
|
|
|
212
212
|
readonly total: number;
|
|
213
213
|
readonly totalPages: number;
|
|
214
214
|
};
|
|
215
|
-
}, import("./generated").
|
|
215
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
216
216
|
readonly items: (input?: {
|
|
217
|
-
readonly limit?: string | null | undefined;
|
|
218
217
|
readonly page?: string | null | undefined;
|
|
218
|
+
readonly limit?: string | null | undefined;
|
|
219
219
|
} | undefined) => import("effect/Stream").Stream<{
|
|
220
|
-
readonly domain: string;
|
|
221
|
-
readonly createdAt: string;
|
|
222
|
-
readonly updatedAt: string;
|
|
223
220
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
224
|
-
readonly
|
|
225
|
-
readonly
|
|
226
|
-
readonly isDefault: boolean;
|
|
221
|
+
readonly domain: string;
|
|
222
|
+
readonly phase: "degraded" | "dns-setup" | "failed" | "provider-setup" | "provider-verification" | "ready";
|
|
227
223
|
readonly dkimSelector?: string | null;
|
|
228
224
|
readonly dkimPublicKey?: string | null;
|
|
229
|
-
|
|
225
|
+
readonly isDefault: boolean;
|
|
226
|
+
readonly defaultSenderId: (string & import("effect/Brand").Brand<"EmailSenderId">) | null;
|
|
227
|
+
readonly createdAt: string;
|
|
228
|
+
readonly updatedAt: string;
|
|
229
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
230
230
|
};
|
|
231
231
|
export declare const addDomain: (input: {
|
|
232
232
|
readonly domain: string;
|
|
233
|
+
readonly connection?: {
|
|
234
|
+
readonly connectionId: string;
|
|
235
|
+
readonly zone: string;
|
|
236
|
+
} | null | undefined;
|
|
233
237
|
}) => import("effect/Effect").Effect<{
|
|
234
|
-
readonly domain: string;
|
|
235
|
-
readonly createdAt: string;
|
|
236
|
-
readonly updatedAt: string;
|
|
237
238
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
238
|
-
readonly
|
|
239
|
+
readonly domain: string;
|
|
240
|
+
readonly phase: "degraded" | "dns-setup" | "failed" | "provider-setup" | "provider-verification" | "ready";
|
|
241
|
+
readonly dkimSelector?: string | null;
|
|
242
|
+
readonly dkimPublicKey?: string | null;
|
|
239
243
|
readonly dnsRecords: readonly {
|
|
244
|
+
readonly type: "A" | "AAAA" | "CAA" | "CNAME" | "MX" | "NS" | "PTR" | "SOA" | "SRV" | "TXT";
|
|
240
245
|
readonly name: string;
|
|
241
|
-
readonly type: string;
|
|
242
246
|
readonly value: string;
|
|
243
|
-
readonly priority?: number | null;
|
|
244
|
-
readonly description?: string | null;
|
|
245
247
|
readonly ttl?: string | null;
|
|
248
|
+
readonly description?: string | null;
|
|
249
|
+
readonly priority?: number | null;
|
|
246
250
|
}[];
|
|
247
251
|
readonly verifiedAt: string | null;
|
|
248
|
-
readonly defaultSenderId: (string & import("effect/Brand").Brand<"EmailSenderId">) | null;
|
|
249
252
|
readonly isDefault: boolean;
|
|
253
|
+
readonly defaultSenderId: (string & import("effect/Brand").Brand<"EmailSenderId">) | null;
|
|
250
254
|
readonly deliverability: {
|
|
251
255
|
readonly bounceRate: number;
|
|
252
256
|
readonly complaintRate: number;
|
|
253
|
-
readonly sendingStatus: "
|
|
257
|
+
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
254
258
|
};
|
|
255
|
-
readonly
|
|
256
|
-
readonly
|
|
257
|
-
}, import("./generated").
|
|
259
|
+
readonly createdAt: string;
|
|
260
|
+
readonly updatedAt: string;
|
|
261
|
+
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
258
262
|
export declare const getDomainVerification: (input: {
|
|
259
263
|
readonly id: string;
|
|
260
264
|
}) => import("effect/Effect").Effect<{
|
|
261
265
|
readonly domainId: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
262
266
|
readonly domain: string;
|
|
263
|
-
readonly phase: "
|
|
267
|
+
readonly phase: "degraded" | "dns-setup" | "failed" | "provider-setup" | "provider-verification" | "ready";
|
|
264
268
|
readonly records: readonly {
|
|
265
|
-
readonly status: "unchecked" | "missing" | "mismatch" | "found";
|
|
266
269
|
readonly record: {
|
|
270
|
+
readonly type: "A" | "AAAA" | "CAA" | "CNAME" | "MX" | "NS" | "PTR" | "SOA" | "SRV" | "TXT";
|
|
267
271
|
readonly name: string;
|
|
268
|
-
readonly type: "A" | "AAAA" | "CNAME" | "MX" | "NS" | "SOA" | "PTR" | "SRV" | "TXT" | "CAA";
|
|
269
272
|
readonly value: string;
|
|
270
|
-
readonly priority?: number | null;
|
|
271
|
-
readonly description?: string | null;
|
|
272
273
|
readonly ttl?: string | null;
|
|
274
|
+
readonly description?: string | null;
|
|
275
|
+
readonly priority?: number | null;
|
|
273
276
|
};
|
|
277
|
+
readonly status: "found" | "mismatch" | "missing" | "unchecked";
|
|
274
278
|
readonly observedValues: readonly string[];
|
|
275
279
|
readonly checkedAt?: string | null;
|
|
276
280
|
readonly resolutionFailure?: {
|
|
277
|
-
readonly message: string;
|
|
278
281
|
readonly code?: string | null;
|
|
282
|
+
readonly message: string;
|
|
279
283
|
} | null;
|
|
280
284
|
}[];
|
|
281
285
|
readonly provider: {
|
|
282
|
-
readonly identity: "
|
|
283
|
-
readonly dkim?: "
|
|
284
|
-
readonly mailFrom?: "
|
|
286
|
+
readonly identity: "failed" | "pending" | "unknown" | "verified";
|
|
287
|
+
readonly dkim?: "failed" | "pending" | "unknown" | "verified" | null;
|
|
288
|
+
readonly mailFrom?: "failed" | "pending" | "unknown" | "verified" | null;
|
|
285
289
|
} | null;
|
|
286
290
|
readonly operationId: (string & import("effect/Brand").Brand<"OperationId">) | null;
|
|
287
291
|
readonly checkedAt: string | null;
|
|
@@ -291,34 +295,34 @@ export declare const getDomainVerification: (input: {
|
|
|
291
295
|
readonly message: string;
|
|
292
296
|
readonly failedAt: string;
|
|
293
297
|
} | null;
|
|
294
|
-
}, import("./generated").
|
|
298
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
295
299
|
export declare const advanceDomainVerification: (input: {
|
|
296
300
|
readonly id: string;
|
|
297
301
|
}) => import("effect/Effect").Effect<{
|
|
298
302
|
readonly domainId: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
299
303
|
readonly domain: string;
|
|
300
|
-
readonly phase: "
|
|
304
|
+
readonly phase: "degraded" | "dns-setup" | "failed" | "provider-setup" | "provider-verification" | "ready";
|
|
301
305
|
readonly records: readonly {
|
|
302
|
-
readonly status: "unchecked" | "missing" | "mismatch" | "found";
|
|
303
306
|
readonly record: {
|
|
307
|
+
readonly type: "A" | "AAAA" | "CAA" | "CNAME" | "MX" | "NS" | "PTR" | "SOA" | "SRV" | "TXT";
|
|
304
308
|
readonly name: string;
|
|
305
|
-
readonly type: "A" | "AAAA" | "CNAME" | "MX" | "NS" | "SOA" | "PTR" | "SRV" | "TXT" | "CAA";
|
|
306
309
|
readonly value: string;
|
|
307
|
-
readonly priority?: number | null;
|
|
308
|
-
readonly description?: string | null;
|
|
309
310
|
readonly ttl?: string | null;
|
|
311
|
+
readonly description?: string | null;
|
|
312
|
+
readonly priority?: number | null;
|
|
310
313
|
};
|
|
314
|
+
readonly status: "found" | "mismatch" | "missing" | "unchecked";
|
|
311
315
|
readonly observedValues: readonly string[];
|
|
312
316
|
readonly checkedAt?: string | null;
|
|
313
317
|
readonly resolutionFailure?: {
|
|
314
|
-
readonly message: string;
|
|
315
318
|
readonly code?: string | null;
|
|
319
|
+
readonly message: string;
|
|
316
320
|
} | null;
|
|
317
321
|
}[];
|
|
318
322
|
readonly provider: {
|
|
319
|
-
readonly identity: "
|
|
320
|
-
readonly dkim?: "
|
|
321
|
-
readonly mailFrom?: "
|
|
323
|
+
readonly identity: "failed" | "pending" | "unknown" | "verified";
|
|
324
|
+
readonly dkim?: "failed" | "pending" | "unknown" | "verified" | null;
|
|
325
|
+
readonly mailFrom?: "failed" | "pending" | "unknown" | "verified" | null;
|
|
322
326
|
} | null;
|
|
323
327
|
readonly operationId: (string & import("effect/Brand").Brand<"OperationId">) | null;
|
|
324
328
|
readonly checkedAt: string | null;
|
|
@@ -328,65 +332,65 @@ export declare const advanceDomainVerification: (input: {
|
|
|
328
332
|
readonly message: string;
|
|
329
333
|
readonly failedAt: string;
|
|
330
334
|
} | null;
|
|
331
|
-
}, import("./generated").
|
|
335
|
+
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").RateLimitedError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
332
336
|
export declare const getDomainById: (input: {
|
|
333
337
|
readonly id: string;
|
|
334
338
|
}) => import("effect/Effect").Effect<{
|
|
335
|
-
readonly domain: string;
|
|
336
|
-
readonly createdAt: string;
|
|
337
|
-
readonly updatedAt: string;
|
|
338
339
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
339
|
-
readonly
|
|
340
|
+
readonly domain: string;
|
|
341
|
+
readonly phase: "degraded" | "dns-setup" | "failed" | "provider-setup" | "provider-verification" | "ready";
|
|
342
|
+
readonly dkimSelector?: string | null;
|
|
343
|
+
readonly dkimPublicKey?: string | null;
|
|
340
344
|
readonly dnsRecords: readonly {
|
|
345
|
+
readonly type: "A" | "AAAA" | "CAA" | "CNAME" | "MX" | "NS" | "PTR" | "SOA" | "SRV" | "TXT";
|
|
341
346
|
readonly name: string;
|
|
342
|
-
readonly type: string;
|
|
343
347
|
readonly value: string;
|
|
344
|
-
readonly priority?: number | null;
|
|
345
|
-
readonly description?: string | null;
|
|
346
348
|
readonly ttl?: string | null;
|
|
349
|
+
readonly description?: string | null;
|
|
350
|
+
readonly priority?: number | null;
|
|
347
351
|
}[];
|
|
348
352
|
readonly verifiedAt: string | null;
|
|
349
|
-
readonly defaultSenderId: (string & import("effect/Brand").Brand<"EmailSenderId">) | null;
|
|
350
353
|
readonly isDefault: boolean;
|
|
354
|
+
readonly defaultSenderId: (string & import("effect/Brand").Brand<"EmailSenderId">) | null;
|
|
351
355
|
readonly deliverability: {
|
|
352
356
|
readonly bounceRate: number;
|
|
353
357
|
readonly complaintRate: number;
|
|
354
|
-
readonly sendingStatus: "
|
|
358
|
+
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
355
359
|
};
|
|
356
|
-
readonly
|
|
357
|
-
readonly
|
|
358
|
-
}, import("./generated").
|
|
360
|
+
readonly createdAt: string;
|
|
361
|
+
readonly updatedAt: string;
|
|
362
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
359
363
|
export declare const removeDomain: (input: {
|
|
360
364
|
readonly id: string;
|
|
361
365
|
}) => import("effect/Effect").Effect<{
|
|
362
366
|
readonly success: boolean;
|
|
363
367
|
readonly message: string;
|
|
364
|
-
}, import("./generated").
|
|
368
|
+
}, import("./generated").BillingProviderError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
365
369
|
export declare const setDefaultDomain: (input: {
|
|
366
370
|
readonly id: string;
|
|
367
371
|
}) => import("effect/Effect").Effect<{
|
|
368
372
|
readonly success: boolean;
|
|
369
373
|
readonly message: string;
|
|
370
|
-
}, import("./generated").
|
|
374
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
371
375
|
export declare const setDomainDefaultSender: (input: {
|
|
372
376
|
readonly id: string;
|
|
373
377
|
readonly senderId: string;
|
|
374
378
|
}) => import("effect/Effect").Effect<{
|
|
375
379
|
readonly success: boolean;
|
|
376
380
|
readonly message: string;
|
|
377
|
-
}, import("./generated").
|
|
381
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
378
382
|
export declare const clearDomainDefaultSender: (input: {
|
|
379
383
|
readonly id: string;
|
|
380
384
|
}) => import("effect/Effect").Effect<{
|
|
381
385
|
readonly success: boolean;
|
|
382
386
|
readonly message: string;
|
|
383
|
-
}, import("./generated").
|
|
387
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
384
388
|
export declare const updateDomainConfig: (input: {
|
|
385
389
|
readonly id: string;
|
|
386
|
-
readonly replyTo?: readonly string[] | null | undefined;
|
|
387
|
-
readonly unsubscribeGroupId?: string | null | undefined;
|
|
388
390
|
readonly openTracking?: boolean | null | undefined;
|
|
389
391
|
readonly clickTracking?: boolean | null | undefined;
|
|
392
|
+
readonly replyTo?: readonly string[] | null | undefined;
|
|
393
|
+
readonly unsubscribeGroupId?: string | null | undefined;
|
|
390
394
|
readonly footerEnabled?: boolean | null | undefined;
|
|
391
395
|
}) => import("effect/Effect").Effect<{
|
|
392
396
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
@@ -395,7 +399,7 @@ export declare const updateDomainConfig: (input: {
|
|
|
395
399
|
readonly replyTo: readonly string[] | null;
|
|
396
400
|
readonly unsubscribeGroupId: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
397
401
|
readonly footerEnabled: boolean | null;
|
|
398
|
-
}, import("./generated").
|
|
402
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
399
403
|
export declare const detectRegistrar: (input: {
|
|
400
404
|
readonly id: string;
|
|
401
405
|
readonly domain: string;
|
|
@@ -404,7 +408,7 @@ export declare const detectRegistrar: (input: {
|
|
|
404
408
|
readonly name: string;
|
|
405
409
|
readonly nameservers: readonly string[];
|
|
406
410
|
readonly docsUrl: string;
|
|
407
|
-
}, import("./generated").
|
|
411
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
408
412
|
export declare const getDomainConnect: (input: {
|
|
409
413
|
readonly id: string;
|
|
410
414
|
readonly mode: string;
|
|
@@ -414,38 +418,38 @@ export declare const getDomainConnect: (input: {
|
|
|
414
418
|
} | {
|
|
415
419
|
readonly eligible: true;
|
|
416
420
|
readonly providerName?: string | null;
|
|
417
|
-
}, import("./generated").
|
|
421
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
418
422
|
export declare const buildDomainConnectApplyUrl: (input: {
|
|
419
423
|
readonly id: string;
|
|
420
424
|
readonly mode: string;
|
|
421
425
|
}) => import("effect/Effect").Effect<{
|
|
422
426
|
readonly url: string;
|
|
423
|
-
}, import("./generated").
|
|
427
|
+
}, import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
424
428
|
export declare const completeDomainConnect: (input: {
|
|
425
429
|
readonly id: string;
|
|
426
430
|
readonly state: string;
|
|
427
431
|
readonly error?: string | null | undefined;
|
|
428
432
|
}) => import("effect/Effect").Effect<{
|
|
429
|
-
readonly status: "
|
|
430
|
-
}, import("./generated").
|
|
433
|
+
readonly status: "applied" | "cancelled" | "invalid";
|
|
434
|
+
}, import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
431
435
|
export declare const enableReceiving: (input: {
|
|
432
436
|
readonly id: string;
|
|
433
437
|
readonly domain: string;
|
|
434
|
-
readonly endpointId?: string | null | undefined;
|
|
435
438
|
readonly catchAll?: boolean | null | undefined;
|
|
439
|
+
readonly endpointId?: string | null | undefined;
|
|
436
440
|
readonly addresses?: readonly string[] | null | undefined;
|
|
437
441
|
}) => import("effect/Effect").Effect<{
|
|
438
442
|
readonly success: true;
|
|
439
443
|
readonly ruleName: string;
|
|
440
444
|
readonly recipients: readonly string[];
|
|
441
|
-
}, import("./generated").
|
|
445
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
442
446
|
export declare const enableCustomTracking: (input: {
|
|
443
447
|
readonly id: string;
|
|
444
448
|
readonly label?: string | null | undefined;
|
|
445
449
|
}) => import("effect/Effect").Effect<{
|
|
446
450
|
readonly enabled: boolean;
|
|
447
451
|
readonly customTracking: {
|
|
448
|
-
readonly status: "
|
|
452
|
+
readonly status: "active" | "caa-blocked" | "disabled" | "pending" | "teardown-scheduled";
|
|
449
453
|
readonly label: string;
|
|
450
454
|
readonly hostname: string;
|
|
451
455
|
readonly region: string;
|
|
@@ -466,13 +470,13 @@ export declare const enableCustomTracking: (input: {
|
|
|
466
470
|
readonly verificationErrors: readonly string[];
|
|
467
471
|
readonly teardownScheduledAt: string | null;
|
|
468
472
|
} | null;
|
|
469
|
-
}, import("./generated").
|
|
473
|
+
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
470
474
|
export declare const getCustomTracking: (input: {
|
|
471
475
|
readonly id: string;
|
|
472
476
|
}) => import("effect/Effect").Effect<{
|
|
473
477
|
readonly enabled: boolean;
|
|
474
478
|
readonly customTracking: {
|
|
475
|
-
readonly status: "
|
|
479
|
+
readonly status: "active" | "caa-blocked" | "disabled" | "pending" | "teardown-scheduled";
|
|
476
480
|
readonly label: string;
|
|
477
481
|
readonly hostname: string;
|
|
478
482
|
readonly region: string;
|
|
@@ -493,7 +497,7 @@ export declare const getCustomTracking: (input: {
|
|
|
493
497
|
readonly verificationErrors: readonly string[];
|
|
494
498
|
readonly teardownScheduledAt: string | null;
|
|
495
499
|
} | null;
|
|
496
|
-
}, import("./generated").
|
|
500
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
497
501
|
export declare const getCustomTrackingDomainConnect: (input: {
|
|
498
502
|
readonly id: string;
|
|
499
503
|
}) => import("effect/Effect").Effect<{
|
|
@@ -502,31 +506,31 @@ export declare const getCustomTrackingDomainConnect: (input: {
|
|
|
502
506
|
} | {
|
|
503
507
|
readonly eligible: true;
|
|
504
508
|
readonly providerName?: string | null;
|
|
505
|
-
}, import("./generated").
|
|
509
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
506
510
|
export declare const buildCustomTrackingDomainConnectApplyUrl: (input: {
|
|
507
511
|
readonly id: string;
|
|
508
512
|
}) => import("effect/Effect").Effect<{
|
|
509
513
|
readonly url: string;
|
|
510
|
-
}, import("./generated").
|
|
514
|
+
}, import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
511
515
|
export declare const completeCustomTrackingDomainConnect: (input: {
|
|
512
516
|
readonly id: string;
|
|
513
517
|
readonly state: string;
|
|
514
518
|
readonly error?: string | null | undefined;
|
|
515
519
|
}) => import("effect/Effect").Effect<{
|
|
516
|
-
readonly status: "
|
|
517
|
-
}, import("./generated").
|
|
520
|
+
readonly status: "applied" | "cancelled" | "invalid" | "stale";
|
|
521
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
518
522
|
export declare const disableCustomTracking: (input: {
|
|
519
523
|
readonly id: string;
|
|
520
524
|
}) => import("effect/Effect").Effect<{
|
|
521
525
|
readonly success: boolean;
|
|
522
526
|
readonly message: string;
|
|
523
|
-
}, import("./generated").
|
|
527
|
+
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
524
528
|
export declare const listSenders: ((input?: {
|
|
525
|
-
readonly limit?: string | null | undefined;
|
|
526
529
|
readonly page?: string | null | undefined;
|
|
530
|
+
readonly limit?: string | null | undefined;
|
|
531
|
+
readonly verificationStatus?: string | null | undefined;
|
|
527
532
|
readonly isActive?: string | null | undefined;
|
|
528
533
|
readonly isDefault?: string | null | undefined;
|
|
529
|
-
readonly verificationStatus?: string | null | undefined;
|
|
530
534
|
} | undefined) => import("effect/Effect").Effect<{
|
|
531
535
|
readonly items: readonly {
|
|
532
536
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
@@ -534,15 +538,17 @@ export declare const listSenders: ((input?: {
|
|
|
534
538
|
readonly email: string;
|
|
535
539
|
readonly name: string | null;
|
|
536
540
|
readonly domainId: (string & import("effect/Brand").Brand<"EmailDomainId">) | null;
|
|
537
|
-
readonly verificationStatus: "
|
|
541
|
+
readonly verificationStatus: "failed" | "pending" | "verified";
|
|
538
542
|
readonly verifiedAt: string | null;
|
|
539
543
|
readonly verificationToken: string | null;
|
|
544
|
+
readonly providerLifecycle: "active" | "deleting" | "failed" | "provisioning";
|
|
545
|
+
readonly providerFailureCode: string | null;
|
|
540
546
|
readonly isDefault: boolean;
|
|
541
547
|
readonly replyToEmails: readonly string[] | null;
|
|
542
548
|
readonly deliverability: {
|
|
543
549
|
readonly bounceRate: number;
|
|
544
550
|
readonly complaintRate: number;
|
|
545
|
-
readonly sendingStatus: "
|
|
551
|
+
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
546
552
|
};
|
|
547
553
|
readonly isActive: boolean;
|
|
548
554
|
readonly createdAt: string;
|
|
@@ -554,13 +560,13 @@ export declare const listSenders: ((input?: {
|
|
|
554
560
|
readonly total: number;
|
|
555
561
|
readonly totalPages: number;
|
|
556
562
|
};
|
|
557
|
-
}, import("./generated").
|
|
563
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>) & {
|
|
558
564
|
readonly pages: (input?: {
|
|
559
|
-
readonly limit?: string | null | undefined;
|
|
560
565
|
readonly page?: string | null | undefined;
|
|
566
|
+
readonly limit?: string | null | undefined;
|
|
567
|
+
readonly verificationStatus?: string | null | undefined;
|
|
561
568
|
readonly isActive?: string | null | undefined;
|
|
562
569
|
readonly isDefault?: string | null | undefined;
|
|
563
|
-
readonly verificationStatus?: string | null | undefined;
|
|
564
570
|
} | undefined) => import("effect/Stream").Stream<{
|
|
565
571
|
readonly items: readonly {
|
|
566
572
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
@@ -568,15 +574,17 @@ export declare const listSenders: ((input?: {
|
|
|
568
574
|
readonly email: string;
|
|
569
575
|
readonly name: string | null;
|
|
570
576
|
readonly domainId: (string & import("effect/Brand").Brand<"EmailDomainId">) | null;
|
|
571
|
-
readonly verificationStatus: "
|
|
577
|
+
readonly verificationStatus: "failed" | "pending" | "verified";
|
|
572
578
|
readonly verifiedAt: string | null;
|
|
573
579
|
readonly verificationToken: string | null;
|
|
580
|
+
readonly providerLifecycle: "active" | "deleting" | "failed" | "provisioning";
|
|
581
|
+
readonly providerFailureCode: string | null;
|
|
574
582
|
readonly isDefault: boolean;
|
|
575
583
|
readonly replyToEmails: readonly string[] | null;
|
|
576
584
|
readonly deliverability: {
|
|
577
585
|
readonly bounceRate: number;
|
|
578
586
|
readonly complaintRate: number;
|
|
579
|
-
readonly sendingStatus: "
|
|
587
|
+
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
580
588
|
};
|
|
581
589
|
readonly isActive: boolean;
|
|
582
590
|
readonly createdAt: string;
|
|
@@ -588,60 +596,64 @@ export declare const listSenders: ((input?: {
|
|
|
588
596
|
readonly total: number;
|
|
589
597
|
readonly totalPages: number;
|
|
590
598
|
};
|
|
591
|
-
}, import("./generated").
|
|
599
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
592
600
|
readonly items: (input?: {
|
|
593
|
-
readonly limit?: string | null | undefined;
|
|
594
601
|
readonly page?: string | null | undefined;
|
|
602
|
+
readonly limit?: string | null | undefined;
|
|
603
|
+
readonly verificationStatus?: string | null | undefined;
|
|
595
604
|
readonly isActive?: string | null | undefined;
|
|
596
605
|
readonly isDefault?: string | null | undefined;
|
|
597
|
-
readonly verificationStatus?: string | null | undefined;
|
|
598
606
|
} | undefined) => import("effect/Stream").Stream<{
|
|
599
607
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
600
608
|
readonly organizationId: string;
|
|
601
609
|
readonly email: string;
|
|
602
610
|
readonly name: string | null;
|
|
603
611
|
readonly domainId: (string & import("effect/Brand").Brand<"EmailDomainId">) | null;
|
|
604
|
-
readonly verificationStatus: "
|
|
612
|
+
readonly verificationStatus: "failed" | "pending" | "verified";
|
|
605
613
|
readonly verifiedAt: string | null;
|
|
606
614
|
readonly verificationToken: string | null;
|
|
615
|
+
readonly providerLifecycle: "active" | "deleting" | "failed" | "provisioning";
|
|
616
|
+
readonly providerFailureCode: string | null;
|
|
607
617
|
readonly isDefault: boolean;
|
|
608
618
|
readonly replyToEmails: readonly string[] | null;
|
|
609
619
|
readonly deliverability: {
|
|
610
620
|
readonly bounceRate: number;
|
|
611
621
|
readonly complaintRate: number;
|
|
612
|
-
readonly sendingStatus: "
|
|
622
|
+
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
613
623
|
};
|
|
614
624
|
readonly isActive: boolean;
|
|
615
625
|
readonly createdAt: string;
|
|
616
626
|
readonly updatedAt: string;
|
|
617
|
-
}, import("./generated").
|
|
627
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
618
628
|
};
|
|
619
|
-
export declare const addSender: (input: EmailAddSenderInput) => import("effect/Effect").Effect<{
|
|
629
|
+
export declare const addSender: (input: EmailAddSenderInput, options?: SendOptions | undefined) => import("effect/Effect").Effect<{
|
|
620
630
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
621
631
|
readonly email: string;
|
|
622
|
-
readonly status: "
|
|
632
|
+
readonly status: "failed" | "pending" | "verified";
|
|
633
|
+
readonly providerLifecycle: "active" | "deleting" | "failed" | "provisioning";
|
|
634
|
+
readonly providerFailureCode: string | null;
|
|
623
635
|
readonly createdAt: string;
|
|
624
|
-
}, import("./generated").
|
|
636
|
+
}, import("./generated").ConflictError | import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
625
637
|
export declare const checkSenderVerification: (input: {
|
|
626
638
|
readonly id: string;
|
|
627
639
|
}) => import("effect/Effect").Effect<{
|
|
628
640
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
629
641
|
readonly email: string;
|
|
630
|
-
readonly status: "
|
|
642
|
+
readonly status: "failed" | "pending" | "verified";
|
|
631
643
|
readonly verifiedAt: string | null;
|
|
632
|
-
}, import("./generated").
|
|
644
|
+
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
633
645
|
export declare const removeSender: (input: {
|
|
634
646
|
readonly id: string;
|
|
635
647
|
}) => import("effect/Effect").Effect<{
|
|
636
648
|
readonly success: boolean;
|
|
637
649
|
readonly message: string;
|
|
638
|
-
}, import("./generated").
|
|
650
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
639
651
|
export declare const setDefaultSender: (input: {
|
|
640
652
|
readonly id: string;
|
|
641
653
|
}) => import("effect/Effect").Effect<{
|
|
642
654
|
readonly success: boolean;
|
|
643
655
|
readonly message: string;
|
|
644
|
-
}, import("./generated").
|
|
656
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
645
657
|
export declare const getStats: (input?: {
|
|
646
658
|
readonly startDate?: string | null | undefined;
|
|
647
659
|
readonly endDate?: string | null | undefined;
|
|
@@ -653,19 +665,19 @@ export declare const getStats: (input?: {
|
|
|
653
665
|
readonly deliveryRate: number;
|
|
654
666
|
readonly bounceRate: number;
|
|
655
667
|
readonly complaintRate: number;
|
|
656
|
-
}, import("./generated").
|
|
668
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
657
669
|
export declare const enableCatchAll: (input: {
|
|
658
670
|
readonly domainId: string;
|
|
659
671
|
readonly endpointId: string;
|
|
660
672
|
}) => import("effect/Effect").Effect<{
|
|
661
673
|
readonly success: true;
|
|
662
674
|
readonly receiptRuleName: string;
|
|
663
|
-
}, import("./generated").
|
|
675
|
+
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
664
676
|
export declare const disableCatchAll: (input: {
|
|
665
677
|
readonly domainId: string;
|
|
666
678
|
}) => import("effect/Effect").Effect<{
|
|
667
679
|
readonly success: true;
|
|
668
|
-
}, import("./generated").
|
|
680
|
+
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
669
681
|
export declare const getCatchAllConfig: (input: {
|
|
670
682
|
readonly domainId: string;
|
|
671
683
|
}) => import("effect/Effect").Effect<{
|
|
@@ -674,40 +686,40 @@ export declare const getCatchAllConfig: (input: {
|
|
|
674
686
|
readonly receiptRuleName: string | null;
|
|
675
687
|
readonly emailCount: number;
|
|
676
688
|
readonly lastEmailAt: string | null;
|
|
677
|
-
}, import("./generated").
|
|
689
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
678
690
|
export declare const updateCatchAllConfig: (input: {
|
|
679
691
|
readonly domainId: string;
|
|
680
692
|
readonly endpointId?: string | null | undefined;
|
|
681
693
|
}) => import("effect/Effect").Effect<{
|
|
682
694
|
readonly success: true;
|
|
683
|
-
}, import("./generated").
|
|
695
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
684
696
|
export declare const getCatchAllStats: (input: {
|
|
685
697
|
readonly domainId: string;
|
|
686
698
|
readonly startDate?: string | null | undefined;
|
|
687
699
|
readonly endDate?: string | null | undefined;
|
|
688
700
|
}) => import("effect/Effect").Effect<{
|
|
689
701
|
readonly domain: string;
|
|
690
|
-
readonly catchAllLastEmailAt: string | null;
|
|
691
702
|
readonly isCatchAllEnabled: boolean;
|
|
692
703
|
readonly catchAllEmailCount: number;
|
|
704
|
+
readonly catchAllLastEmailAt: string | null;
|
|
693
705
|
readonly timeRange?: {
|
|
694
706
|
readonly emailsReceived: number;
|
|
695
707
|
readonly firstEmail: string | null;
|
|
696
708
|
readonly lastEmail: string | null;
|
|
697
709
|
readonly avgPerDay: number;
|
|
698
710
|
} | null;
|
|
699
|
-
}, import("./generated").
|
|
711
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
700
712
|
export declare const listSuppressions: (input?: {
|
|
701
|
-
readonly limit?: string | null | undefined;
|
|
702
713
|
readonly type?: string | null | undefined;
|
|
703
|
-
readonly search?: string | null | undefined;
|
|
704
714
|
readonly status?: string | null | undefined;
|
|
715
|
+
readonly search?: string | null | undefined;
|
|
716
|
+
readonly limit?: string | null | undefined;
|
|
705
717
|
readonly offset?: string | null | undefined;
|
|
706
718
|
} | undefined) => import("effect/Effect").Effect<{
|
|
707
719
|
readonly suppressions: readonly {
|
|
708
720
|
readonly id: string & import("effect/Brand").Brand<"SuppressionId">;
|
|
709
721
|
readonly email: string;
|
|
710
|
-
readonly type: "bounce" | "complaint" | "
|
|
722
|
+
readonly type: "bounce" | "complaint" | "manual" | "unsubscribe";
|
|
711
723
|
readonly bounceType: string | null;
|
|
712
724
|
readonly bounceSubType: string | null;
|
|
713
725
|
readonly reason: string | null;
|
|
@@ -717,22 +729,22 @@ export declare const listSuppressions: (input?: {
|
|
|
717
729
|
readonly createdAt: string;
|
|
718
730
|
}[];
|
|
719
731
|
readonly total: number;
|
|
720
|
-
}, import("./generated").
|
|
732
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
721
733
|
export declare const removeSuppression: (input: {
|
|
722
734
|
readonly id: string;
|
|
723
735
|
}) => import("effect/Effect").Effect<{
|
|
724
736
|
readonly success: boolean;
|
|
725
737
|
readonly message: string;
|
|
726
|
-
}, import("./generated").
|
|
738
|
+
}, import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
727
739
|
export declare const listBlocks: (input?: {
|
|
728
|
-
readonly limit?: string | null | undefined;
|
|
729
|
-
readonly isActive?: string | null | undefined;
|
|
730
740
|
readonly blockType?: string | null | undefined;
|
|
741
|
+
readonly isActive?: string | null | undefined;
|
|
742
|
+
readonly limit?: string | null | undefined;
|
|
731
743
|
readonly offset?: string | null | undefined;
|
|
732
744
|
} | undefined) => import("effect/Effect").Effect<{
|
|
733
745
|
readonly blocks: readonly {
|
|
734
746
|
readonly id: string & import("effect/Brand").Brand<"BlockedEmailId">;
|
|
735
|
-
readonly blockType: "
|
|
747
|
+
readonly blockType: "domain" | "email";
|
|
736
748
|
readonly blockValue: string;
|
|
737
749
|
readonly reason: string;
|
|
738
750
|
readonly notes: string | null;
|
|
@@ -743,59 +755,59 @@ export declare const listBlocks: (input?: {
|
|
|
743
755
|
readonly createdAt: string;
|
|
744
756
|
}[];
|
|
745
757
|
readonly total: number;
|
|
746
|
-
}, import("./generated").
|
|
758
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
747
759
|
export declare const addBlock: (input: {
|
|
748
|
-
readonly reason: string;
|
|
749
760
|
readonly blockType: string;
|
|
750
761
|
readonly blockValue: string;
|
|
751
|
-
readonly
|
|
762
|
+
readonly reason: string;
|
|
752
763
|
readonly notes?: string | null | undefined;
|
|
764
|
+
readonly expiresAt?: string | null | undefined;
|
|
753
765
|
}) => import("effect/Effect").Effect<{
|
|
754
766
|
readonly id: string & import("effect/Brand").Brand<"BlockedEmailId">;
|
|
755
|
-
readonly blockType: "
|
|
767
|
+
readonly blockType: "domain" | "email";
|
|
756
768
|
readonly blockValue: string;
|
|
757
769
|
readonly reason: string;
|
|
758
770
|
readonly notes: string | null;
|
|
759
771
|
readonly isActive: boolean;
|
|
760
772
|
readonly expiresAt: string | null;
|
|
761
773
|
readonly createdAt: string;
|
|
762
|
-
}, import("./generated").
|
|
774
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
763
775
|
export declare const removeBlock: (input: {
|
|
764
776
|
readonly id: string;
|
|
765
777
|
}) => import("effect/Effect").Effect<{
|
|
766
778
|
readonly success: boolean;
|
|
767
779
|
readonly message: string;
|
|
768
|
-
}, import("./generated").
|
|
780
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
769
781
|
export declare const updateBlock: (input: {
|
|
770
782
|
readonly id: string;
|
|
771
783
|
readonly reason?: string | null | undefined;
|
|
772
|
-
readonly expiresAt?: string | null | undefined;
|
|
773
|
-
readonly isActive?: boolean | null | undefined;
|
|
774
784
|
readonly notes?: string | null | undefined;
|
|
785
|
+
readonly isActive?: boolean | null | undefined;
|
|
786
|
+
readonly expiresAt?: string | null | undefined;
|
|
775
787
|
}) => import("effect/Effect").Effect<{
|
|
776
788
|
readonly id: string & import("effect/Brand").Brand<"BlockedEmailId">;
|
|
777
|
-
readonly blockType: "
|
|
789
|
+
readonly blockType: "domain" | "email";
|
|
778
790
|
readonly blockValue: string;
|
|
779
791
|
readonly reason: string;
|
|
780
792
|
readonly notes: string | null;
|
|
781
793
|
readonly isActive: boolean;
|
|
782
794
|
readonly expiresAt: string | null;
|
|
783
795
|
readonly updatedAt: string;
|
|
784
|
-
}, import("./generated").
|
|
796
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
785
797
|
export declare const getBlockLogs: (input?: {
|
|
786
|
-
readonly
|
|
798
|
+
readonly blockedEmailId?: string | null | undefined;
|
|
799
|
+
readonly fromAddress?: string | null | undefined;
|
|
787
800
|
readonly startDate?: string | null | undefined;
|
|
788
801
|
readonly endDate?: string | null | undefined;
|
|
802
|
+
readonly limit?: string | null | undefined;
|
|
789
803
|
readonly offset?: string | null | undefined;
|
|
790
|
-
readonly blockedEmailId?: string | null | undefined;
|
|
791
|
-
readonly fromAddress?: string | null | undefined;
|
|
792
804
|
} | undefined) => import("effect/Effect").Effect<{
|
|
793
805
|
readonly logs: readonly {
|
|
794
806
|
readonly id: string & import("effect/Brand").Brand<"BlockedEmailLogId">;
|
|
795
807
|
readonly fromAddress: string;
|
|
796
808
|
readonly toAddress: string;
|
|
797
809
|
readonly subject: string | null;
|
|
798
|
-
readonly blockType: "
|
|
810
|
+
readonly blockType: "domain" | "email";
|
|
799
811
|
readonly blockValue: string;
|
|
800
812
|
readonly blockReason: string;
|
|
801
813
|
readonly spfResult: string | null;
|
|
@@ -805,24 +817,24 @@ export declare const getBlockLogs: (input?: {
|
|
|
805
817
|
readonly blockedAt: string;
|
|
806
818
|
}[];
|
|
807
819
|
readonly total: number;
|
|
808
|
-
}, import("./generated").
|
|
820
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
809
821
|
export declare const checkBlocked: (input: {
|
|
810
822
|
readonly emailAddress: string;
|
|
811
823
|
}) => import("effect/Effect").Effect<{
|
|
812
824
|
readonly isBlocked: boolean;
|
|
813
825
|
readonly blockingRule: {
|
|
814
826
|
readonly id: string & import("effect/Brand").Brand<"BlockedEmailId">;
|
|
815
|
-
readonly blockType: "
|
|
827
|
+
readonly blockType: "domain" | "email";
|
|
816
828
|
readonly blockValue: string;
|
|
817
829
|
readonly reason: string;
|
|
818
830
|
readonly expiresAt: string | null;
|
|
819
831
|
} | null;
|
|
820
832
|
readonly reason: string | null;
|
|
821
|
-
}, import("./generated").
|
|
833
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
822
834
|
export declare const listForwardingRules: (input?: {
|
|
823
|
-
readonly limit?: string | null | undefined;
|
|
824
835
|
readonly domainId?: string | null | undefined;
|
|
825
836
|
readonly isActive?: string | null | undefined;
|
|
837
|
+
readonly limit?: string | null | undefined;
|
|
826
838
|
readonly offset?: string | null | undefined;
|
|
827
839
|
} | undefined) => import("effect/Effect").Effect<{
|
|
828
840
|
readonly rules: readonly {
|
|
@@ -840,49 +852,49 @@ export declare const listForwardingRules: (input?: {
|
|
|
840
852
|
readonly createdAt: string;
|
|
841
853
|
}[];
|
|
842
854
|
readonly total: number;
|
|
843
|
-
}, import("./generated").
|
|
855
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
844
856
|
export declare const createForwardingRule: (input: {
|
|
845
857
|
readonly name: string;
|
|
858
|
+
readonly description?: string | null | undefined;
|
|
859
|
+
readonly domainId?: string | null | undefined;
|
|
860
|
+
readonly sourcePattern?: string | null | undefined;
|
|
846
861
|
readonly forwardTo: readonly string[];
|
|
862
|
+
readonly preserveHeaders?: boolean | null | undefined;
|
|
863
|
+
readonly appendNote?: string | null | undefined;
|
|
864
|
+
readonly conditions?: {
|
|
865
|
+
readonly subjectContains?: readonly string[] | null | undefined;
|
|
866
|
+
readonly fromContains?: readonly string[] | null | undefined;
|
|
867
|
+
readonly hasAttachments?: boolean | null | undefined;
|
|
868
|
+
} | null | undefined;
|
|
847
869
|
readonly priority?: number | null | undefined;
|
|
870
|
+
readonly isActive?: boolean | null | undefined;
|
|
848
871
|
readonly metadata?: {
|
|
849
872
|
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | {
|
|
850
873
|
readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
851
874
|
} | null)[] | {
|
|
852
|
-
readonly [x: string]: string | number | boolean |
|
|
875
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
853
876
|
} | null)[] | {
|
|
854
|
-
readonly [x: string]: string | number | boolean |
|
|
877
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
855
878
|
} | null)[] | {
|
|
856
|
-
readonly [x: string]: string | number | boolean |
|
|
879
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
857
880
|
} | null)[] | {
|
|
858
|
-
readonly [x: string]: string | number | boolean |
|
|
881
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
859
882
|
} | null)[] | {
|
|
860
|
-
readonly [x: string]: string | number | boolean |
|
|
883
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
861
884
|
} | null)[] | {
|
|
862
|
-
readonly [x: string]: string | number | boolean |
|
|
885
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
863
886
|
} | null)[] | {
|
|
864
|
-
readonly [x: string]: string | number | boolean |
|
|
887
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
865
888
|
} | null)[] | {
|
|
866
|
-
readonly [x: string]: string | number | boolean |
|
|
889
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
867
890
|
} | null)[] | {
|
|
868
|
-
readonly [x: string]: string | number | boolean |
|
|
891
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
869
892
|
} | null)[] | {
|
|
870
|
-
readonly [x: string]: string | number | boolean |
|
|
893
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
871
894
|
} | null)[] | {
|
|
872
|
-
readonly [x: string]: string | number | boolean |
|
|
895
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
873
896
|
} | null | undefined;
|
|
874
897
|
} | null | undefined;
|
|
875
|
-
readonly domainId?: string | null | undefined;
|
|
876
|
-
readonly description?: string | null | undefined;
|
|
877
|
-
readonly isActive?: boolean | null | undefined;
|
|
878
|
-
readonly sourcePattern?: string | null | undefined;
|
|
879
|
-
readonly preserveHeaders?: boolean | null | undefined;
|
|
880
|
-
readonly appendNote?: string | null | undefined;
|
|
881
|
-
readonly conditions?: {
|
|
882
|
-
readonly subjectContains?: readonly string[] | null | undefined;
|
|
883
|
-
readonly fromContains?: readonly string[] | null | undefined;
|
|
884
|
-
readonly hasAttachments?: boolean | null | undefined;
|
|
885
|
-
} | null | undefined;
|
|
886
898
|
}) => import("effect/Effect").Effect<{
|
|
887
899
|
readonly id: string & import("effect/Brand").Brand<"EmailForwardingRuleId">;
|
|
888
900
|
readonly name: string;
|
|
@@ -890,56 +902,56 @@ export declare const createForwardingRule: (input: {
|
|
|
890
902
|
readonly priority: number;
|
|
891
903
|
readonly isActive: boolean;
|
|
892
904
|
readonly createdAt: string;
|
|
893
|
-
}, import("./generated").
|
|
905
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
894
906
|
export declare const deleteForwardingRule: (input: {
|
|
895
907
|
readonly id: string;
|
|
896
908
|
}) => import("effect/Effect").Effect<{
|
|
897
909
|
readonly success: boolean;
|
|
898
910
|
readonly message: string;
|
|
899
|
-
}, import("./generated").
|
|
911
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
900
912
|
export declare const updateForwardingRule: (input: {
|
|
901
913
|
readonly id: string;
|
|
902
|
-
readonly priority?: number | null | undefined;
|
|
903
914
|
readonly name?: string | null | undefined;
|
|
915
|
+
readonly description?: string | null | undefined;
|
|
916
|
+
readonly domainId?: string | null | undefined;
|
|
917
|
+
readonly sourcePattern?: string | null | undefined;
|
|
918
|
+
readonly forwardTo?: readonly string[] | null | undefined;
|
|
919
|
+
readonly preserveHeaders?: boolean | null | undefined;
|
|
920
|
+
readonly appendNote?: string | null | undefined;
|
|
921
|
+
readonly conditions?: {
|
|
922
|
+
readonly subjectContains?: readonly string[] | null | undefined;
|
|
923
|
+
readonly fromContains?: readonly string[] | null | undefined;
|
|
924
|
+
readonly hasAttachments?: boolean | null | undefined;
|
|
925
|
+
} | null | undefined;
|
|
926
|
+
readonly priority?: number | null | undefined;
|
|
927
|
+
readonly isActive?: boolean | null | undefined;
|
|
904
928
|
readonly metadata?: {
|
|
905
929
|
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | {
|
|
906
930
|
readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
907
931
|
} | null)[] | {
|
|
908
|
-
readonly [x: string]: string | number | boolean |
|
|
932
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
909
933
|
} | null)[] | {
|
|
910
|
-
readonly [x: string]: string | number | boolean |
|
|
934
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
911
935
|
} | null)[] | {
|
|
912
|
-
readonly [x: string]: string | number | boolean |
|
|
936
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
913
937
|
} | null)[] | {
|
|
914
|
-
readonly [x: string]: string | number | boolean |
|
|
938
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
915
939
|
} | null)[] | {
|
|
916
|
-
readonly [x: string]: string | number | boolean |
|
|
940
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
917
941
|
} | null)[] | {
|
|
918
|
-
readonly [x: string]: string | number | boolean |
|
|
942
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
919
943
|
} | null)[] | {
|
|
920
|
-
readonly [x: string]: string | number | boolean |
|
|
944
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
921
945
|
} | null)[] | {
|
|
922
|
-
readonly [x: string]: string | number | boolean |
|
|
946
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
923
947
|
} | null)[] | {
|
|
924
|
-
readonly [x: string]: string | number | boolean |
|
|
948
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
925
949
|
} | null)[] | {
|
|
926
|
-
readonly [x: string]: string | number | boolean |
|
|
950
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
927
951
|
} | null)[] | {
|
|
928
|
-
readonly [x: string]: string | number | boolean |
|
|
952
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
929
953
|
} | null | undefined;
|
|
930
954
|
} | null | undefined;
|
|
931
|
-
readonly domainId?: string | null | undefined;
|
|
932
|
-
readonly description?: string | null | undefined;
|
|
933
|
-
readonly isActive?: boolean | null | undefined;
|
|
934
|
-
readonly sourcePattern?: string | null | undefined;
|
|
935
|
-
readonly forwardTo?: readonly string[] | null | undefined;
|
|
936
|
-
readonly preserveHeaders?: boolean | null | undefined;
|
|
937
|
-
readonly appendNote?: string | null | undefined;
|
|
938
|
-
readonly conditions?: {
|
|
939
|
-
readonly subjectContains?: readonly string[] | null | undefined;
|
|
940
|
-
readonly fromContains?: readonly string[] | null | undefined;
|
|
941
|
-
readonly hasAttachments?: boolean | null | undefined;
|
|
942
|
-
} | null | undefined;
|
|
943
955
|
}) => import("effect/Effect").Effect<{
|
|
944
956
|
readonly id: string & import("effect/Brand").Brand<"EmailForwardingRuleId">;
|
|
945
957
|
readonly name: string;
|
|
@@ -947,17 +959,15 @@ export declare const updateForwardingRule: (input: {
|
|
|
947
959
|
readonly priority: number;
|
|
948
960
|
readonly isActive: boolean;
|
|
949
961
|
readonly updatedAt: string;
|
|
950
|
-
}, import("./generated").
|
|
962
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
951
963
|
export declare const getForwardingLog: (input?: {
|
|
952
|
-
readonly
|
|
964
|
+
readonly forwardingRuleId?: string | null | undefined;
|
|
953
965
|
readonly status?: string | null | undefined;
|
|
954
966
|
readonly startDate?: string | null | undefined;
|
|
955
967
|
readonly endDate?: string | null | undefined;
|
|
968
|
+
readonly limit?: string | null | undefined;
|
|
956
969
|
readonly offset?: string | null | undefined;
|
|
957
|
-
readonly forwardingRuleId?: string | null | undefined;
|
|
958
970
|
} | undefined) => import("effect/Effect").Effect<{
|
|
959
|
-
readonly total: number;
|
|
960
|
-
readonly hasMore: boolean;
|
|
961
971
|
readonly logs: readonly {
|
|
962
972
|
readonly id: string;
|
|
963
973
|
readonly forwardingRuleId: (string & import("effect/Brand").Brand<"EmailForwardingRuleId">) | null;
|
|
@@ -965,14 +975,16 @@ export declare const getForwardingLog: (input?: {
|
|
|
965
975
|
readonly originalToAddress: string;
|
|
966
976
|
readonly originalSubject: string | null;
|
|
967
977
|
readonly forwardedTo: readonly string[];
|
|
968
|
-
readonly status: "
|
|
978
|
+
readonly status: "failed" | "forwarded" | "pending";
|
|
969
979
|
readonly errorMessage: string | null;
|
|
970
980
|
readonly forwardedAt: string | null;
|
|
971
981
|
readonly createdAt: string;
|
|
972
982
|
}[];
|
|
983
|
+
readonly total: number;
|
|
984
|
+
readonly hasMore: boolean;
|
|
973
985
|
readonly stats?: {
|
|
974
986
|
readonly totalForwarded: number;
|
|
975
987
|
readonly successRate: number;
|
|
976
988
|
readonly failureRate: number;
|
|
977
989
|
} | null;
|
|
978
|
-
}, import("./generated").
|
|
990
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|