samva 0.1.1 → 0.3.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 +10 -3
- package/dist/client/sdk.gen.d.ts +333 -188
- package/dist/client/types.gen.d.ts +1452 -718
- package/dist/{client-DVALvDUe.js → client-BOghX8fr.js} +1990 -1631
- package/dist/effect/api-keys.d.ts +14 -14
- package/dist/effect/api-keys.js +1 -1
- package/dist/effect/campaigns.d.ts +233 -861
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/categories.d.ts +1 -1
- package/dist/effect/client.js +1 -1
- package/dist/effect/contacts.d.ts +131 -231
- package/dist/effect/contacts.js +1 -1
- package/dist/effect/conversations.d.ts +91 -208
- package/dist/effect/conversations.js +1 -1
- package/dist/effect/design.d.ts +11 -11
- package/dist/effect/design.js +1 -1
- package/dist/effect/email.d.ts +164 -168
- package/dist/effect/email.js +20 -18
- package/dist/effect/generated.d.ts +13753 -14935
- package/dist/effect/index.d.ts +1 -0
- package/dist/effect/index.js +3 -2
- package/dist/effect/internal/operation.d.ts +15 -113
- package/dist/effect/media.d.ts +80 -0
- package/dist/effect/media.js +19 -0
- package/dist/effect/messages.d.ts +41 -261
- package/dist/effect/messages.js +1 -1
- package/dist/effect/operations.d.ts +10 -10
- package/dist/effect/operations.js +1 -1
- package/dist/effect/organizations.d.ts +24 -42
- package/dist/effect/organizations.js +1 -1
- package/dist/effect/scheduled-messages.d.ts +43 -502
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/templates.d.ts +312 -1542
- package/dist/effect/templates.js +26 -18
- package/dist/effect/webhooks.d.ts +26 -27
- package/dist/effect/webhooks.js +2 -2
- package/dist/index.js +1 -1
- package/dist/{normalize-LkWl4HUF.js → normalize-BKFjbR9t.js} +5 -13
- package/dist/normalize.d.ts +3 -33
- package/dist/{operation-UtKNITtG.js → operation-C2Q4cFJL.js} +67 -26
- package/dist/promises/index.d.ts +6 -14
- package/dist/promises/index.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-QxEfMTho.js → promises-oiy7mOyu.js} +680 -157
- package/dist/service-map.d.ts +92 -40
- package/package.json +19 -14
package/dist/effect/email.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
10
10
|
readonly actorMetadata: {
|
|
11
11
|
readonly [x: string]: import("./generated").JsonValue;
|
|
12
12
|
} | null;
|
|
13
|
-
readonly channel: "
|
|
13
|
+
readonly channel: "email";
|
|
14
14
|
readonly direction: "outbound" | "inbound";
|
|
15
15
|
readonly content: import("./generated").JsonValue;
|
|
16
16
|
readonly metadata: {
|
|
@@ -38,7 +38,7 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
38
38
|
readonly displayName: string | null;
|
|
39
39
|
readonly type: string;
|
|
40
40
|
readonly identities: readonly {
|
|
41
|
-
readonly channel: "
|
|
41
|
+
readonly channel: "email";
|
|
42
42
|
readonly identifier: string;
|
|
43
43
|
readonly verified: boolean;
|
|
44
44
|
}[];
|
|
@@ -49,7 +49,7 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
49
49
|
readonly displayName: string | null;
|
|
50
50
|
readonly type: string;
|
|
51
51
|
readonly identities: readonly {
|
|
52
|
-
readonly channel: "
|
|
52
|
+
readonly channel: "email";
|
|
53
53
|
readonly identifier: string;
|
|
54
54
|
readonly verified: boolean;
|
|
55
55
|
}[];
|
|
@@ -71,7 +71,7 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
71
71
|
readonly displayName: string | null;
|
|
72
72
|
readonly type: string;
|
|
73
73
|
readonly identities: readonly {
|
|
74
|
-
readonly channel: "
|
|
74
|
+
readonly channel: "email";
|
|
75
75
|
readonly identifier: string;
|
|
76
76
|
readonly verified: boolean;
|
|
77
77
|
}[];
|
|
@@ -81,7 +81,7 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
81
81
|
readonly id: string;
|
|
82
82
|
readonly messageId: string;
|
|
83
83
|
readonly recipientId: string | null;
|
|
84
|
-
readonly channel: "
|
|
84
|
+
readonly channel: "email";
|
|
85
85
|
readonly status: "pending" | "scheduled" | "queued" | "processing" | "sent" | "delivered" | "read" | "failed" | "bounced" | "complained";
|
|
86
86
|
readonly attemptCount: number;
|
|
87
87
|
readonly maxAttempts: number;
|
|
@@ -138,62 +138,18 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
138
138
|
readonly createdAt: string;
|
|
139
139
|
readonly updatedAt: string;
|
|
140
140
|
}[];
|
|
141
|
-
|
|
142
|
-
readonly deliveryId: string;
|
|
143
|
-
readonly fromNumber: string;
|
|
144
|
-
readonly toNumber: string;
|
|
145
|
-
readonly segmentCount: number;
|
|
146
|
-
readonly encoding: string;
|
|
147
|
-
readonly dltTemplateId: string | null;
|
|
148
|
-
readonly dltEntityId: string | null;
|
|
149
|
-
readonly dltContentId: string | null;
|
|
150
|
-
readonly carrier: string | null;
|
|
151
|
-
readonly numSegmentsReported: number | null;
|
|
152
|
-
readonly createdAt: string;
|
|
153
|
-
readonly updatedAt: string;
|
|
154
|
-
}[];
|
|
155
|
-
readonly whatsappDeliveryDetails: readonly {
|
|
156
|
-
readonly deliveryId: string;
|
|
157
|
-
readonly fromNumber: string;
|
|
158
|
-
readonly toNumber: string;
|
|
159
|
-
readonly messageType: "text" | "image" | "video" | "audio" | "document" | "location" | "contacts" | "template" | "interactive" | "sticker" | "reaction" | "order" | "button" | "system" | "unsupported";
|
|
160
|
-
readonly templateName: string | null;
|
|
161
|
-
readonly templateLanguage: string | null;
|
|
162
|
-
readonly templateCategory: string | null;
|
|
163
|
-
readonly templateParams: {
|
|
164
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
165
|
-
} | null;
|
|
166
|
-
readonly mediaUrl: string | null;
|
|
167
|
-
readonly mediaType: string | null;
|
|
168
|
-
readonly mediaS3Key: string | null;
|
|
169
|
-
readonly interactiveType: string | null;
|
|
170
|
-
readonly contextMessageId: string | null;
|
|
171
|
-
readonly conversationType: "marketing" | "utility" | "authentication" | "service" | null;
|
|
172
|
-
readonly serviceWindowId: string | null;
|
|
173
|
-
readonly freeEntryPointId: string | null;
|
|
174
|
-
readonly isBillable: boolean;
|
|
175
|
-
readonly pricing: {
|
|
176
|
-
readonly messageCost: string;
|
|
177
|
-
readonly reason: string;
|
|
178
|
-
readonly sentInServiceWindow: boolean;
|
|
179
|
-
readonly sentInFreeEntryPoint: boolean;
|
|
180
|
-
} | null;
|
|
181
|
-
readonly recipientId: string | null;
|
|
182
|
-
readonly createdAt: string;
|
|
183
|
-
readonly updatedAt: string;
|
|
184
|
-
}[];
|
|
185
|
-
}, import("effect/SchemaError").SchemaError | import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").ExternalServiceError | import("./generated").FlagDisabledError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").RateLimitedError | import("./generated").ResourceNotFoundError | import("./generated").UnauthorizedError | import("./generated").ValidationError | import("./generated").WebhookEnqueueError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
|
|
141
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").ResourceNotFoundError | import("./generated").ValidationError | import("./generated").BillingProviderError | import("./generated").FlagDisabledError | import("./generated").ConflictError | import("./generated").ExternalServiceError | import("./generated").RateLimitedError | import("./generated").WebhookEnqueueError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
186
142
|
export declare const getTrackingDefaults: (_?: never) => import("effect/Effect").Effect<{
|
|
187
143
|
readonly opens: boolean;
|
|
188
144
|
readonly clicks: boolean;
|
|
189
|
-
}, import("
|
|
145
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
190
146
|
export declare const updateTrackingDefaults: (input?: {
|
|
191
147
|
readonly opens?: boolean | undefined;
|
|
192
148
|
readonly clicks?: boolean | undefined;
|
|
193
149
|
} | undefined) => import("effect/Effect").Effect<{
|
|
194
150
|
readonly opens: boolean;
|
|
195
151
|
readonly clicks: boolean;
|
|
196
|
-
}, import("
|
|
152
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
197
153
|
export declare const getRecipientTrackingPreference: (input: {
|
|
198
154
|
readonly email: string;
|
|
199
155
|
}) => import("effect/Effect").Effect<{
|
|
@@ -202,7 +158,7 @@ export declare const getRecipientTrackingPreference: (input: {
|
|
|
202
158
|
readonly trackingOptedOutAt: string | null;
|
|
203
159
|
readonly createdAt: string | null;
|
|
204
160
|
readonly updatedAt: string | null;
|
|
205
|
-
}, import("
|
|
161
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
206
162
|
export declare const updateRecipientTrackingPreference: (input: {
|
|
207
163
|
readonly email: string;
|
|
208
164
|
readonly optedOut: boolean;
|
|
@@ -212,7 +168,7 @@ export declare const updateRecipientTrackingPreference: (input: {
|
|
|
212
168
|
readonly trackingOptedOutAt: string | null;
|
|
213
169
|
readonly createdAt: string | null;
|
|
214
170
|
readonly updatedAt: string | null;
|
|
215
|
-
}, import("
|
|
171
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
216
172
|
export declare const listDomains: ((input?: {
|
|
217
173
|
readonly limit?: string | null | undefined;
|
|
218
174
|
readonly page?: string | null | undefined;
|
|
@@ -222,7 +178,7 @@ export declare const listDomains: ((input?: {
|
|
|
222
178
|
readonly createdAt: string;
|
|
223
179
|
readonly updatedAt: string;
|
|
224
180
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
225
|
-
readonly
|
|
181
|
+
readonly phase: "failed" | "dns-setup" | "provider-setup" | "provider-verification" | "ready" | "degraded";
|
|
226
182
|
readonly defaultSenderId: (string & import("effect/Brand").Brand<"EmailSenderId">) | null;
|
|
227
183
|
readonly isDefault: boolean;
|
|
228
184
|
readonly dkimSelector?: string | null;
|
|
@@ -234,7 +190,7 @@ export declare const listDomains: ((input?: {
|
|
|
234
190
|
readonly total: number;
|
|
235
191
|
readonly totalPages: number;
|
|
236
192
|
};
|
|
237
|
-
}, import("
|
|
193
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>) & {
|
|
238
194
|
readonly pages: (input?: {
|
|
239
195
|
readonly limit?: string | null | undefined;
|
|
240
196
|
readonly page?: string | null | undefined;
|
|
@@ -244,7 +200,7 @@ export declare const listDomains: ((input?: {
|
|
|
244
200
|
readonly createdAt: string;
|
|
245
201
|
readonly updatedAt: string;
|
|
246
202
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
247
|
-
readonly
|
|
203
|
+
readonly phase: "failed" | "dns-setup" | "provider-setup" | "provider-verification" | "ready" | "degraded";
|
|
248
204
|
readonly defaultSenderId: (string & import("effect/Brand").Brand<"EmailSenderId">) | null;
|
|
249
205
|
readonly isDefault: boolean;
|
|
250
206
|
readonly dkimSelector?: string | null;
|
|
@@ -256,7 +212,7 @@ export declare const listDomains: ((input?: {
|
|
|
256
212
|
readonly total: number;
|
|
257
213
|
readonly totalPages: number;
|
|
258
214
|
};
|
|
259
|
-
}, import("
|
|
215
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
260
216
|
readonly items: (input?: {
|
|
261
217
|
readonly limit?: string | null | undefined;
|
|
262
218
|
readonly page?: string | null | undefined;
|
|
@@ -265,12 +221,12 @@ export declare const listDomains: ((input?: {
|
|
|
265
221
|
readonly createdAt: string;
|
|
266
222
|
readonly updatedAt: string;
|
|
267
223
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
268
|
-
readonly
|
|
224
|
+
readonly phase: "failed" | "dns-setup" | "provider-setup" | "provider-verification" | "ready" | "degraded";
|
|
269
225
|
readonly defaultSenderId: (string & import("effect/Brand").Brand<"EmailSenderId">) | null;
|
|
270
226
|
readonly isDefault: boolean;
|
|
271
227
|
readonly dkimSelector?: string | null;
|
|
272
228
|
readonly dkimPublicKey?: string | null;
|
|
273
|
-
}, import("
|
|
229
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
274
230
|
};
|
|
275
231
|
export declare const addDomain: (input: {
|
|
276
232
|
readonly domain: string;
|
|
@@ -279,7 +235,7 @@ export declare const addDomain: (input: {
|
|
|
279
235
|
readonly createdAt: string;
|
|
280
236
|
readonly updatedAt: string;
|
|
281
237
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
282
|
-
readonly
|
|
238
|
+
readonly phase: "failed" | "dns-setup" | "provider-setup" | "provider-verification" | "ready" | "degraded";
|
|
283
239
|
readonly dnsRecords: readonly {
|
|
284
240
|
readonly name: string;
|
|
285
241
|
readonly type: string;
|
|
@@ -298,59 +254,81 @@ export declare const addDomain: (input: {
|
|
|
298
254
|
};
|
|
299
255
|
readonly dkimSelector?: string | null;
|
|
300
256
|
readonly dkimPublicKey?: string | null;
|
|
301
|
-
}, import("
|
|
302
|
-
export declare const
|
|
303
|
-
readonly
|
|
304
|
-
} & {
|
|
305
|
-
readonly idempotencyKey: string;
|
|
257
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").EmailChannelError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
258
|
+
export declare const getDomainVerification: (input: {
|
|
259
|
+
readonly id: string;
|
|
306
260
|
}) => import("effect/Effect").Effect<{
|
|
307
|
-
readonly
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
readonly
|
|
312
|
-
|
|
313
|
-
readonly
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
readonly
|
|
317
|
-
readonly
|
|
261
|
+
readonly domainId: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
262
|
+
readonly domain: string;
|
|
263
|
+
readonly phase: "failed" | "dns-setup" | "provider-setup" | "provider-verification" | "ready" | "degraded";
|
|
264
|
+
readonly records: readonly {
|
|
265
|
+
readonly status: "unchecked" | "missing" | "mismatch" | "found";
|
|
266
|
+
readonly record: {
|
|
267
|
+
readonly name: string;
|
|
268
|
+
readonly type: "A" | "AAAA" | "CNAME" | "MX" | "NS" | "SOA" | "PTR" | "SRV" | "TXT" | "CAA";
|
|
269
|
+
readonly value: string;
|
|
270
|
+
readonly priority?: number | null;
|
|
271
|
+
readonly description?: string | null;
|
|
272
|
+
readonly ttl?: string | null;
|
|
318
273
|
};
|
|
319
|
-
readonly
|
|
320
|
-
readonly
|
|
321
|
-
readonly
|
|
322
|
-
readonly code: "validation-failed" | "conflict" | "capacity-unavailable" | "provider-unavailable" | "timed-out" | "internal";
|
|
274
|
+
readonly observedValues: readonly string[];
|
|
275
|
+
readonly checkedAt?: string | null;
|
|
276
|
+
readonly resolutionFailure?: {
|
|
323
277
|
readonly message: string;
|
|
278
|
+
readonly code?: string | null;
|
|
324
279
|
} | null;
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
readonly
|
|
328
|
-
readonly
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
export declare const verifyDomain: (input: {
|
|
342
|
-
readonly id: string;
|
|
343
|
-
}) => import("effect/Effect").Effect<{
|
|
344
|
-
readonly success: true;
|
|
345
|
-
}, import("effect/SchemaError").SchemaError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
|
|
346
|
-
export declare const checkDomainVerification: (input: {
|
|
280
|
+
}[];
|
|
281
|
+
readonly provider: {
|
|
282
|
+
readonly identity: "pending" | "failed" | "unknown" | "verified";
|
|
283
|
+
readonly dkim?: "pending" | "failed" | "unknown" | "verified" | null;
|
|
284
|
+
readonly mailFrom?: "pending" | "failed" | "unknown" | "verified" | null;
|
|
285
|
+
} | null;
|
|
286
|
+
readonly operationId: (string & import("effect/Brand").Brand<"OperationId">) | null;
|
|
287
|
+
readonly checkedAt: string | null;
|
|
288
|
+
readonly nextCheckAt: string | null;
|
|
289
|
+
readonly failure: {
|
|
290
|
+
readonly code: string;
|
|
291
|
+
readonly message: string;
|
|
292
|
+
readonly failedAt: string;
|
|
293
|
+
} | null;
|
|
294
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
295
|
+
export declare const advanceDomainVerification: (input: {
|
|
347
296
|
readonly id: string;
|
|
348
297
|
}) => import("effect/Effect").Effect<{
|
|
298
|
+
readonly domainId: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
349
299
|
readonly domain: string;
|
|
350
|
-
readonly
|
|
351
|
-
readonly
|
|
352
|
-
|
|
353
|
-
|
|
300
|
+
readonly phase: "failed" | "dns-setup" | "provider-setup" | "provider-verification" | "ready" | "degraded";
|
|
301
|
+
readonly records: readonly {
|
|
302
|
+
readonly status: "unchecked" | "missing" | "mismatch" | "found";
|
|
303
|
+
readonly record: {
|
|
304
|
+
readonly name: string;
|
|
305
|
+
readonly type: "A" | "AAAA" | "CNAME" | "MX" | "NS" | "SOA" | "PTR" | "SRV" | "TXT" | "CAA";
|
|
306
|
+
readonly value: string;
|
|
307
|
+
readonly priority?: number | null;
|
|
308
|
+
readonly description?: string | null;
|
|
309
|
+
readonly ttl?: string | null;
|
|
310
|
+
};
|
|
311
|
+
readonly observedValues: readonly string[];
|
|
312
|
+
readonly checkedAt?: string | null;
|
|
313
|
+
readonly resolutionFailure?: {
|
|
314
|
+
readonly message: string;
|
|
315
|
+
readonly code?: string | null;
|
|
316
|
+
} | null;
|
|
317
|
+
}[];
|
|
318
|
+
readonly provider: {
|
|
319
|
+
readonly identity: "pending" | "failed" | "unknown" | "verified";
|
|
320
|
+
readonly dkim?: "pending" | "failed" | "unknown" | "verified" | null;
|
|
321
|
+
readonly mailFrom?: "pending" | "failed" | "unknown" | "verified" | null;
|
|
322
|
+
} | null;
|
|
323
|
+
readonly operationId: (string & import("effect/Brand").Brand<"OperationId">) | null;
|
|
324
|
+
readonly checkedAt: string | null;
|
|
325
|
+
readonly nextCheckAt: string | null;
|
|
326
|
+
readonly failure: {
|
|
327
|
+
readonly code: string;
|
|
328
|
+
readonly message: string;
|
|
329
|
+
readonly failedAt: string;
|
|
330
|
+
} | null;
|
|
331
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").ValidationError | import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").RateLimitedError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
354
332
|
export declare const getDomainById: (input: {
|
|
355
333
|
readonly id: string;
|
|
356
334
|
}) => import("effect/Effect").Effect<{
|
|
@@ -358,7 +336,7 @@ export declare const getDomainById: (input: {
|
|
|
358
336
|
readonly createdAt: string;
|
|
359
337
|
readonly updatedAt: string;
|
|
360
338
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
361
|
-
readonly
|
|
339
|
+
readonly phase: "failed" | "dns-setup" | "provider-setup" | "provider-verification" | "ready" | "degraded";
|
|
362
340
|
readonly dnsRecords: readonly {
|
|
363
341
|
readonly name: string;
|
|
364
342
|
readonly type: string;
|
|
@@ -377,32 +355,32 @@ export declare const getDomainById: (input: {
|
|
|
377
355
|
};
|
|
378
356
|
readonly dkimSelector?: string | null;
|
|
379
357
|
readonly dkimPublicKey?: string | null;
|
|
380
|
-
}, import("
|
|
358
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
381
359
|
export declare const removeDomain: (input: {
|
|
382
360
|
readonly id: string;
|
|
383
361
|
}) => import("effect/Effect").Effect<{
|
|
384
362
|
readonly success: boolean;
|
|
385
363
|
readonly message: string;
|
|
386
|
-
}, import("
|
|
364
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").BillingProviderError | import("./generated").EmailChannelError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
387
365
|
export declare const setDefaultDomain: (input: {
|
|
388
366
|
readonly id: string;
|
|
389
367
|
}) => import("effect/Effect").Effect<{
|
|
390
368
|
readonly success: boolean;
|
|
391
369
|
readonly message: string;
|
|
392
|
-
}, import("
|
|
370
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
393
371
|
export declare const setDomainDefaultSender: (input: {
|
|
394
372
|
readonly id: string;
|
|
395
373
|
readonly senderId: string;
|
|
396
374
|
}) => import("effect/Effect").Effect<{
|
|
397
375
|
readonly success: boolean;
|
|
398
376
|
readonly message: string;
|
|
399
|
-
}, import("
|
|
377
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
400
378
|
export declare const clearDomainDefaultSender: (input: {
|
|
401
379
|
readonly id: string;
|
|
402
380
|
}) => import("effect/Effect").Effect<{
|
|
403
381
|
readonly success: boolean;
|
|
404
382
|
readonly message: string;
|
|
405
|
-
}, import("
|
|
383
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
406
384
|
export declare const updateDomainConfig: (input: {
|
|
407
385
|
readonly id: string;
|
|
408
386
|
readonly replyTo?: readonly string[] | null | undefined;
|
|
@@ -417,7 +395,7 @@ export declare const updateDomainConfig: (input: {
|
|
|
417
395
|
readonly replyTo: readonly string[] | null;
|
|
418
396
|
readonly unsubscribeGroupId: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
419
397
|
readonly footerEnabled: boolean | null;
|
|
420
|
-
}, import("
|
|
398
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
421
399
|
export declare const detectRegistrar: (input: {
|
|
422
400
|
readonly id: string;
|
|
423
401
|
readonly domain: string;
|
|
@@ -426,27 +404,30 @@ export declare const detectRegistrar: (input: {
|
|
|
426
404
|
readonly name: string;
|
|
427
405
|
readonly nameservers: readonly string[];
|
|
428
406
|
readonly docsUrl: string;
|
|
429
|
-
}, import("
|
|
407
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
430
408
|
export declare const getDomainConnect: (input: {
|
|
431
409
|
readonly id: string;
|
|
410
|
+
readonly mode: string;
|
|
432
411
|
}) => import("effect/Effect").Effect<{
|
|
433
|
-
readonly eligible:
|
|
434
|
-
readonly reason
|
|
412
|
+
readonly eligible: false;
|
|
413
|
+
readonly reason: "no-record" | "no-settings" | "no-sync" | "no-template" | "unavailable";
|
|
414
|
+
} | {
|
|
415
|
+
readonly eligible: true;
|
|
435
416
|
readonly providerName?: string | null;
|
|
436
|
-
}, import("
|
|
417
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
437
418
|
export declare const buildDomainConnectApplyUrl: (input: {
|
|
438
419
|
readonly id: string;
|
|
439
|
-
readonly
|
|
420
|
+
readonly mode: string;
|
|
440
421
|
}) => import("effect/Effect").Effect<{
|
|
441
422
|
readonly url: string;
|
|
442
|
-
}, import("
|
|
423
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").ValidationError | import("./generated").EmailChannelError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
443
424
|
export declare const completeDomainConnect: (input: {
|
|
444
425
|
readonly id: string;
|
|
445
426
|
readonly state: string;
|
|
446
427
|
readonly error?: string | null | undefined;
|
|
447
428
|
}) => import("effect/Effect").Effect<{
|
|
448
429
|
readonly status: "cancelled" | "applied" | "invalid";
|
|
449
|
-
}, import("
|
|
430
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").EmailChannelError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
450
431
|
export declare const enableReceiving: (input: {
|
|
451
432
|
readonly id: string;
|
|
452
433
|
readonly domain: string;
|
|
@@ -457,19 +438,13 @@ export declare const enableReceiving: (input: {
|
|
|
457
438
|
readonly success: true;
|
|
458
439
|
readonly ruleName: string;
|
|
459
440
|
readonly recipients: readonly string[];
|
|
460
|
-
}, import("
|
|
461
|
-
export declare const
|
|
462
|
-
readonly id: string;
|
|
463
|
-
}) => import("effect/Effect").Effect<{
|
|
464
|
-
readonly domain: string;
|
|
465
|
-
readonly status: "pending" | "failed" | "verified";
|
|
466
|
-
}, import("effect/SchemaError").SchemaError | import("./generated").ForbiddenError | import("./generated").ResourceNotFoundError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
|
|
467
|
-
export declare const enableBrandedTracking: (input: {
|
|
441
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
442
|
+
export declare const enableCustomTracking: (input: {
|
|
468
443
|
readonly id: string;
|
|
469
444
|
readonly label?: string | null | undefined;
|
|
470
445
|
}) => import("effect/Effect").Effect<{
|
|
471
446
|
readonly enabled: boolean;
|
|
472
|
-
readonly
|
|
447
|
+
readonly customTracking: {
|
|
473
448
|
readonly status: "pending" | "disabled" | "caa-blocked" | "active" | "teardown-scheduled";
|
|
474
449
|
readonly label: string;
|
|
475
450
|
readonly hostname: string;
|
|
@@ -491,12 +466,12 @@ export declare const enableBrandedTracking: (input: {
|
|
|
491
466
|
readonly verificationErrors: readonly string[];
|
|
492
467
|
readonly teardownScheduledAt: string | null;
|
|
493
468
|
} | null;
|
|
494
|
-
}, import("
|
|
495
|
-
export declare const
|
|
469
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ValidationError | import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").EmailChannelError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
470
|
+
export declare const getCustomTracking: (input: {
|
|
496
471
|
readonly id: string;
|
|
497
472
|
}) => import("effect/Effect").Effect<{
|
|
498
473
|
readonly enabled: boolean;
|
|
499
|
-
readonly
|
|
474
|
+
readonly customTracking: {
|
|
500
475
|
readonly status: "pending" | "disabled" | "caa-blocked" | "active" | "teardown-scheduled";
|
|
501
476
|
readonly label: string;
|
|
502
477
|
readonly hostname: string;
|
|
@@ -518,19 +493,40 @@ export declare const getBrandedTracking: (input: {
|
|
|
518
493
|
readonly verificationErrors: readonly string[];
|
|
519
494
|
readonly teardownScheduledAt: string | null;
|
|
520
495
|
} | null;
|
|
521
|
-
}, import("
|
|
522
|
-
export declare const
|
|
496
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
497
|
+
export declare const getCustomTrackingDomainConnect: (input: {
|
|
498
|
+
readonly id: string;
|
|
499
|
+
}) => import("effect/Effect").Effect<{
|
|
500
|
+
readonly eligible: false;
|
|
501
|
+
readonly reason: "no-record" | "no-settings" | "no-sync" | "no-template" | "unavailable";
|
|
502
|
+
} | {
|
|
503
|
+
readonly eligible: true;
|
|
504
|
+
readonly providerName?: string | null;
|
|
505
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
506
|
+
export declare const buildCustomTrackingDomainConnectApplyUrl: (input: {
|
|
507
|
+
readonly id: string;
|
|
508
|
+
}) => import("effect/Effect").Effect<{
|
|
509
|
+
readonly url: string;
|
|
510
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").ValidationError | import("./generated").EmailChannelError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
511
|
+
export declare const completeCustomTrackingDomainConnect: (input: {
|
|
512
|
+
readonly id: string;
|
|
513
|
+
readonly state: string;
|
|
514
|
+
readonly error?: string | null | undefined;
|
|
515
|
+
}) => import("effect/Effect").Effect<{
|
|
516
|
+
readonly status: "cancelled" | "applied" | "invalid" | "stale";
|
|
517
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
518
|
+
export declare const disableCustomTracking: (input: {
|
|
523
519
|
readonly id: string;
|
|
524
520
|
}) => import("effect/Effect").Effect<{
|
|
525
521
|
readonly success: boolean;
|
|
526
522
|
readonly message: string;
|
|
527
|
-
}, import("
|
|
523
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ConflictError | import("./generated").EmailChannelError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
528
524
|
export declare const listSenders: ((input?: {
|
|
529
525
|
readonly limit?: string | null | undefined;
|
|
530
|
-
readonly verificationStatus?: string | null | undefined;
|
|
531
526
|
readonly page?: string | null | undefined;
|
|
532
|
-
readonly isDefault?: string | null | undefined;
|
|
533
527
|
readonly isActive?: string | null | undefined;
|
|
528
|
+
readonly isDefault?: string | null | undefined;
|
|
529
|
+
readonly verificationStatus?: string | null | undefined;
|
|
534
530
|
} | undefined) => import("effect/Effect").Effect<{
|
|
535
531
|
readonly items: readonly {
|
|
536
532
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
@@ -558,13 +554,13 @@ export declare const listSenders: ((input?: {
|
|
|
558
554
|
readonly total: number;
|
|
559
555
|
readonly totalPages: number;
|
|
560
556
|
};
|
|
561
|
-
}, import("
|
|
557
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>) & {
|
|
562
558
|
readonly pages: (input?: {
|
|
563
559
|
readonly limit?: string | null | undefined;
|
|
564
|
-
readonly verificationStatus?: string | null | undefined;
|
|
565
560
|
readonly page?: string | null | undefined;
|
|
566
|
-
readonly isDefault?: string | null | undefined;
|
|
567
561
|
readonly isActive?: string | null | undefined;
|
|
562
|
+
readonly isDefault?: string | null | undefined;
|
|
563
|
+
readonly verificationStatus?: string | null | undefined;
|
|
568
564
|
} | undefined) => import("effect/Stream").Stream<{
|
|
569
565
|
readonly items: readonly {
|
|
570
566
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
@@ -592,13 +588,13 @@ export declare const listSenders: ((input?: {
|
|
|
592
588
|
readonly total: number;
|
|
593
589
|
readonly totalPages: number;
|
|
594
590
|
};
|
|
595
|
-
}, import("
|
|
591
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
596
592
|
readonly items: (input?: {
|
|
597
593
|
readonly limit?: string | null | undefined;
|
|
598
|
-
readonly verificationStatus?: string | null | undefined;
|
|
599
594
|
readonly page?: string | null | undefined;
|
|
600
|
-
readonly isDefault?: string | null | undefined;
|
|
601
595
|
readonly isActive?: string | null | undefined;
|
|
596
|
+
readonly isDefault?: string | null | undefined;
|
|
597
|
+
readonly verificationStatus?: string | null | undefined;
|
|
602
598
|
} | undefined) => import("effect/Stream").Stream<{
|
|
603
599
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
604
600
|
readonly organizationId: string;
|
|
@@ -618,14 +614,14 @@ export declare const listSenders: ((input?: {
|
|
|
618
614
|
readonly isActive: boolean;
|
|
619
615
|
readonly createdAt: string;
|
|
620
616
|
readonly updatedAt: string;
|
|
621
|
-
}, import("
|
|
617
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
622
618
|
};
|
|
623
619
|
export declare const addSender: (input: EmailAddSenderInput) => import("effect/Effect").Effect<{
|
|
624
620
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
625
621
|
readonly email: string;
|
|
626
622
|
readonly status: "pending" | "failed" | "verified";
|
|
627
623
|
readonly createdAt: string;
|
|
628
|
-
}, import("
|
|
624
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").ValidationError | import("./generated").ConflictError | import("./generated").ExternalServiceError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
629
625
|
export declare const checkSenderVerification: (input: {
|
|
630
626
|
readonly id: string;
|
|
631
627
|
}) => import("effect/Effect").Effect<{
|
|
@@ -633,19 +629,19 @@ export declare const checkSenderVerification: (input: {
|
|
|
633
629
|
readonly email: string;
|
|
634
630
|
readonly status: "pending" | "failed" | "verified";
|
|
635
631
|
readonly verifiedAt: string | null;
|
|
636
|
-
}, import("
|
|
632
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").ResourceNotFoundError | import("./generated").ExternalServiceError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
637
633
|
export declare const removeSender: (input: {
|
|
638
634
|
readonly id: string;
|
|
639
635
|
}) => import("effect/Effect").Effect<{
|
|
640
636
|
readonly success: boolean;
|
|
641
637
|
readonly message: string;
|
|
642
|
-
}, import("
|
|
638
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
643
639
|
export declare const setDefaultSender: (input: {
|
|
644
640
|
readonly id: string;
|
|
645
641
|
}) => import("effect/Effect").Effect<{
|
|
646
642
|
readonly success: boolean;
|
|
647
643
|
readonly message: string;
|
|
648
|
-
}, import("
|
|
644
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
649
645
|
export declare const getStats: (input?: {
|
|
650
646
|
readonly startDate?: string | null | undefined;
|
|
651
647
|
readonly endDate?: string | null | undefined;
|
|
@@ -657,19 +653,19 @@ export declare const getStats: (input?: {
|
|
|
657
653
|
readonly deliveryRate: number;
|
|
658
654
|
readonly bounceRate: number;
|
|
659
655
|
readonly complaintRate: number;
|
|
660
|
-
}, import("
|
|
656
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
661
657
|
export declare const enableCatchAll: (input: {
|
|
662
658
|
readonly domainId: string;
|
|
663
659
|
readonly endpointId: string;
|
|
664
660
|
}) => import("effect/Effect").Effect<{
|
|
665
661
|
readonly success: true;
|
|
666
662
|
readonly receiptRuleName: string;
|
|
667
|
-
}, import("
|
|
663
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").ExternalServiceError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
668
664
|
export declare const disableCatchAll: (input: {
|
|
669
665
|
readonly domainId: string;
|
|
670
666
|
}) => import("effect/Effect").Effect<{
|
|
671
667
|
readonly success: true;
|
|
672
|
-
}, import("
|
|
668
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").ValidationError | import("./generated").ExternalServiceError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
673
669
|
export declare const getCatchAllConfig: (input: {
|
|
674
670
|
readonly domainId: string;
|
|
675
671
|
}) => import("effect/Effect").Effect<{
|
|
@@ -678,13 +674,13 @@ export declare const getCatchAllConfig: (input: {
|
|
|
678
674
|
readonly receiptRuleName: string | null;
|
|
679
675
|
readonly emailCount: number;
|
|
680
676
|
readonly lastEmailAt: string | null;
|
|
681
|
-
}, import("
|
|
677
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
682
678
|
export declare const updateCatchAllConfig: (input: {
|
|
683
679
|
readonly domainId: string;
|
|
684
680
|
readonly endpointId?: string | null | undefined;
|
|
685
681
|
}) => import("effect/Effect").Effect<{
|
|
686
682
|
readonly success: true;
|
|
687
|
-
}, import("
|
|
683
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
688
684
|
export declare const getCatchAllStats: (input: {
|
|
689
685
|
readonly domainId: string;
|
|
690
686
|
readonly startDate?: string | null | undefined;
|
|
@@ -700,7 +696,7 @@ export declare const getCatchAllStats: (input: {
|
|
|
700
696
|
readonly lastEmail: string | null;
|
|
701
697
|
readonly avgPerDay: number;
|
|
702
698
|
} | null;
|
|
703
|
-
}, import("
|
|
699
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
704
700
|
export declare const listSuppressions: (input?: {
|
|
705
701
|
readonly limit?: string | null | undefined;
|
|
706
702
|
readonly type?: string | null | undefined;
|
|
@@ -721,13 +717,13 @@ export declare const listSuppressions: (input?: {
|
|
|
721
717
|
readonly createdAt: string;
|
|
722
718
|
}[];
|
|
723
719
|
readonly total: number;
|
|
724
|
-
}, import("
|
|
720
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
725
721
|
export declare const removeSuppression: (input: {
|
|
726
722
|
readonly id: string;
|
|
727
723
|
}) => import("effect/Effect").Effect<{
|
|
728
724
|
readonly success: boolean;
|
|
729
725
|
readonly message: string;
|
|
730
|
-
}, import("
|
|
726
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").EmailChannelError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
731
727
|
export declare const listBlocks: (input?: {
|
|
732
728
|
readonly limit?: string | null | undefined;
|
|
733
729
|
readonly isActive?: string | null | undefined;
|
|
@@ -747,7 +743,7 @@ export declare const listBlocks: (input?: {
|
|
|
747
743
|
readonly createdAt: string;
|
|
748
744
|
}[];
|
|
749
745
|
readonly total: number;
|
|
750
|
-
}, import("
|
|
746
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
751
747
|
export declare const addBlock: (input: {
|
|
752
748
|
readonly reason: string;
|
|
753
749
|
readonly blockType: string;
|
|
@@ -763,13 +759,13 @@ export declare const addBlock: (input: {
|
|
|
763
759
|
readonly isActive: boolean;
|
|
764
760
|
readonly expiresAt: string | null;
|
|
765
761
|
readonly createdAt: string;
|
|
766
|
-
}, import("
|
|
762
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").ValidationError | import("./generated").ConflictError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
767
763
|
export declare const removeBlock: (input: {
|
|
768
764
|
readonly id: string;
|
|
769
765
|
}) => import("effect/Effect").Effect<{
|
|
770
766
|
readonly success: boolean;
|
|
771
767
|
readonly message: string;
|
|
772
|
-
}, import("
|
|
768
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
773
769
|
export declare const updateBlock: (input: {
|
|
774
770
|
readonly id: string;
|
|
775
771
|
readonly reason?: string | null | undefined;
|
|
@@ -785,7 +781,7 @@ export declare const updateBlock: (input: {
|
|
|
785
781
|
readonly isActive: boolean;
|
|
786
782
|
readonly expiresAt: string | null;
|
|
787
783
|
readonly updatedAt: string;
|
|
788
|
-
}, import("
|
|
784
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
789
785
|
export declare const getBlockLogs: (input?: {
|
|
790
786
|
readonly limit?: string | null | undefined;
|
|
791
787
|
readonly startDate?: string | null | undefined;
|
|
@@ -809,7 +805,7 @@ export declare const getBlockLogs: (input?: {
|
|
|
809
805
|
readonly blockedAt: string;
|
|
810
806
|
}[];
|
|
811
807
|
readonly total: number;
|
|
812
|
-
}, import("
|
|
808
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
813
809
|
export declare const checkBlocked: (input: {
|
|
814
810
|
readonly emailAddress: string;
|
|
815
811
|
}) => import("effect/Effect").Effect<{
|
|
@@ -822,7 +818,7 @@ export declare const checkBlocked: (input: {
|
|
|
822
818
|
readonly expiresAt: string | null;
|
|
823
819
|
} | null;
|
|
824
820
|
readonly reason: string | null;
|
|
825
|
-
}, import("
|
|
821
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
826
822
|
export declare const listForwardingRules: (input?: {
|
|
827
823
|
readonly limit?: string | null | undefined;
|
|
828
824
|
readonly domainId?: string | null | undefined;
|
|
@@ -844,7 +840,7 @@ export declare const listForwardingRules: (input?: {
|
|
|
844
840
|
readonly createdAt: string;
|
|
845
841
|
}[];
|
|
846
842
|
readonly total: number;
|
|
847
|
-
}, import("
|
|
843
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
848
844
|
export declare const createForwardingRule: (input: {
|
|
849
845
|
readonly name: string;
|
|
850
846
|
readonly forwardTo: readonly string[];
|
|
@@ -894,13 +890,13 @@ export declare const createForwardingRule: (input: {
|
|
|
894
890
|
readonly priority: number;
|
|
895
891
|
readonly isActive: boolean;
|
|
896
892
|
readonly createdAt: string;
|
|
897
|
-
}, import("
|
|
893
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
898
894
|
export declare const deleteForwardingRule: (input: {
|
|
899
895
|
readonly id: string;
|
|
900
896
|
}) => import("effect/Effect").Effect<{
|
|
901
897
|
readonly success: boolean;
|
|
902
898
|
readonly message: string;
|
|
903
|
-
}, import("
|
|
899
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
904
900
|
export declare const updateForwardingRule: (input: {
|
|
905
901
|
readonly id: string;
|
|
906
902
|
readonly priority?: number | null | undefined;
|
|
@@ -951,7 +947,7 @@ export declare const updateForwardingRule: (input: {
|
|
|
951
947
|
readonly priority: number;
|
|
952
948
|
readonly isActive: boolean;
|
|
953
949
|
readonly updatedAt: string;
|
|
954
|
-
}, import("
|
|
950
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|
|
955
951
|
export declare const getForwardingLog: (input?: {
|
|
956
952
|
readonly limit?: string | null | undefined;
|
|
957
953
|
readonly status?: string | null | undefined;
|
|
@@ -979,4 +975,4 @@ export declare const getForwardingLog: (input?: {
|
|
|
979
975
|
readonly successRate: number;
|
|
980
976
|
readonly failureRate: number;
|
|
981
977
|
} | null;
|
|
982
|
-
}, import("
|
|
978
|
+
}, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
|