samva 0.10.0 → 0.12.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/README.md +59 -9
- package/dist/client/sdk.gen.d.ts +1126 -219
- package/dist/client/types.gen.d.ts +11655 -6311
- package/dist/{client-mI4S99Ts.js → client-Cj1bqIEe.js} +5169 -1639
- package/dist/{client-attribution-Bl4nTEsE.js → client-attribution-BTWYSXxo.js} +2 -2
- package/dist/effect/analytics.d.ts +18 -18
- package/dist/effect/analytics.js +1 -1
- package/dist/effect/api-keys.d.ts +99 -43
- package/dist/effect/api-keys.js +2 -4
- package/dist/effect/attachments.d.ts +5 -6
- package/dist/effect/attachments.js +1 -1
- package/dist/effect/brands.d.ts +4 -4
- package/dist/effect/brands.js +2 -2
- package/dist/effect/campaigns.d.ts +30 -60
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/client.js +1 -1
- package/dist/effect/contact-groups.d.ts +29 -46
- package/dist/effect/contact-groups.js +1 -1
- package/dist/effect/contacts.d.ts +324 -726
- package/dist/effect/contacts.js +10 -2
- package/dist/effect/conversations.d.ts +575 -1130
- package/dist/effect/conversations.js +14 -2
- package/dist/effect/custom-fields.d.ts +3 -53
- package/dist/effect/custom-fields.js +1 -1
- package/dist/effect/email.d.ts +349 -298
- package/dist/effect/email.js +9 -3
- package/dist/effect/extension-installations.d.ts +218 -0
- package/dist/effect/extension-installations.js +25 -0
- package/dist/effect/extensions.d.ts +192 -0
- package/dist/effect/extensions.js +19 -0
- package/dist/effect/feedback.d.ts +12 -0
- package/dist/effect/feedback.js +13 -0
- package/dist/effect/generated.d.ts +33011 -15519
- package/dist/effect/index.d.ts +6 -1
- package/dist/effect/index.js +7 -2
- package/dist/effect/internal/client.d.ts +3 -0
- package/dist/effect/internal/mailbox-events.d.ts +11 -0
- package/dist/effect/internal/operation.d.ts +20 -374
- package/dist/effect/mailboxes.d.ts +1676 -0
- package/dist/effect/mailboxes.js +3 -0
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/media.js +1 -1
- package/dist/effect/messages.d.ts +171 -938
- package/dist/effect/messages.js +6 -2
- package/dist/effect/namespaces.d.ts +82 -0
- package/dist/effect/namespaces.js +19 -0
- package/dist/effect/operations.d.ts +68 -12
- package/dist/effect/operations.js +1 -1
- package/dist/effect/organizations.d.ts +5 -4
- package/dist/effect/organizations.js +1 -1
- package/dist/effect/pagination.d.ts +16 -21
- package/dist/effect/scheduled-messages.d.ts +13 -23
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/templates.d.ts +204 -281
- package/dist/effect/templates.js +2 -2
- package/dist/effect/unsubscribe-groups.d.ts +21 -75
- package/dist/effect/unsubscribe-groups.js +1 -1
- package/dist/effect/webhooks.d.ts +117 -39
- package/dist/effect/webhooks.js +2 -2
- package/dist/index.js +3 -2
- package/dist/mailbox-events-CsbF35vH.js +629 -0
- package/dist/mailbox-events.d.ts +178 -0
- package/dist/mailboxes-BtcktcNB.js +147 -0
- package/dist/{operation-DQWJO4jY.js → operation-BEghYyLu.js} +411 -67
- package/dist/promises/errors.gen.d.ts +5 -0
- package/dist/promises/index.d.ts +23 -1
- package/dist/promises/index.js +3 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-C7D4oaHn.js → promises-BzrwhHEW.js} +3273 -547
- package/dist/service-map.d.ts +468 -36
- package/package.json +22 -2
package/dist/effect/email.d.ts
CHANGED
|
@@ -2,199 +2,21 @@ export { TrackingRecipientEmail } from "./generated";
|
|
|
2
2
|
import { type EmailAddSenderInput, type EmailSendInput, type SendOptions } from "./internal/operation";
|
|
3
3
|
export type { EmailAddSenderInput, EmailSendInput, SendOptions };
|
|
4
4
|
export declare const send: (input: EmailSendInput, options?: SendOptions | undefined) => import("effect/Effect").Effect<{
|
|
5
|
-
readonly id: string
|
|
6
|
-
readonly organizationId: string;
|
|
7
|
-
readonly conversationId: string | null;
|
|
8
|
-
readonly parentMessageId: string | null;
|
|
9
|
-
readonly fromActorId: string;
|
|
10
|
-
readonly actorMetadata: {
|
|
11
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
12
|
-
} | null;
|
|
13
|
-
readonly channel: "email";
|
|
14
|
-
readonly direction: "inbound" | "outbound";
|
|
15
|
-
readonly content: {
|
|
16
|
-
readonly text?: string | null;
|
|
17
|
-
readonly html?: string | null;
|
|
18
|
-
readonly markdown?: string | null;
|
|
19
|
-
readonly email?: {
|
|
20
|
-
readonly subject?: string | null;
|
|
21
|
-
readonly html?: string | null;
|
|
22
|
-
readonly text?: string | null;
|
|
23
|
-
readonly headers?: {
|
|
24
|
-
readonly [x: string]: string;
|
|
25
|
-
} | null;
|
|
26
|
-
readonly tracking?: {
|
|
27
|
-
readonly opens?: boolean;
|
|
28
|
-
readonly clicks?: boolean;
|
|
29
|
-
};
|
|
30
|
-
readonly attachments?: readonly {
|
|
31
|
-
readonly filename: string;
|
|
32
|
-
readonly content?: string | null;
|
|
33
|
-
readonly mediaId?: (string & import("effect/Brand").Brand<"MediaId">) | null;
|
|
34
|
-
readonly contentType: string;
|
|
35
|
-
readonly size: number;
|
|
36
|
-
}[] | null;
|
|
37
|
-
} | null;
|
|
38
|
-
readonly metadata?: {
|
|
39
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
40
|
-
} | null;
|
|
41
|
-
};
|
|
42
|
-
readonly metadata: {
|
|
43
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
44
|
-
} | null;
|
|
5
|
+
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
45
6
|
readonly status: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent";
|
|
46
|
-
readonly scheduledAt: string | null;
|
|
47
|
-
readonly tags: readonly string[];
|
|
48
|
-
readonly categories: readonly string[];
|
|
49
|
-
readonly isTest: boolean;
|
|
50
|
-
readonly externalId: string | null;
|
|
51
|
-
readonly referenceId: string | null;
|
|
52
|
-
readonly submission: {
|
|
53
|
-
readonly origin: "campaign" | "direct" | "scheduled";
|
|
54
|
-
readonly transport: "http" | null;
|
|
55
|
-
readonly credential: {
|
|
56
|
-
readonly kind: "api_key";
|
|
57
|
-
readonly apiKeyId: (string & import("effect/Brand").Brand<"ApiKeyId">) | null;
|
|
58
|
-
} | {
|
|
59
|
-
readonly kind: "oauth";
|
|
60
|
-
readonly clientId: string | null;
|
|
61
|
-
} | {
|
|
62
|
-
readonly kind: "session";
|
|
63
|
-
} | null;
|
|
64
|
-
readonly userId: (string & import("effect/Brand").Brand<"UserId">) | null;
|
|
65
|
-
readonly client: {
|
|
66
|
-
readonly surface: "cli" | "mcp" | "typescript-effect" | "typescript-promise";
|
|
67
|
-
readonly version: string;
|
|
68
|
-
} | null;
|
|
69
|
-
} | null;
|
|
70
|
-
readonly createdAt: string;
|
|
71
|
-
readonly updatedAt: string;
|
|
72
|
-
readonly fromContact: {
|
|
73
|
-
readonly id: string;
|
|
74
|
-
readonly name: string;
|
|
75
|
-
readonly displayName: string | null;
|
|
76
|
-
readonly type: string;
|
|
77
|
-
readonly identities: readonly {
|
|
78
|
-
readonly channel: "email";
|
|
79
|
-
readonly identifier: string;
|
|
80
|
-
readonly verified: boolean;
|
|
81
|
-
}[];
|
|
82
|
-
} | null;
|
|
83
|
-
readonly toContacts: readonly {
|
|
84
|
-
readonly id: string;
|
|
85
|
-
readonly name: string;
|
|
86
|
-
readonly displayName: string | null;
|
|
87
|
-
readonly type: string;
|
|
88
|
-
readonly identities: readonly {
|
|
89
|
-
readonly channel: "email";
|
|
90
|
-
readonly identifier: string;
|
|
91
|
-
readonly verified: boolean;
|
|
92
|
-
}[];
|
|
93
|
-
}[];
|
|
94
|
-
readonly recipients: readonly {
|
|
95
|
-
readonly id: string;
|
|
96
|
-
readonly messageId: string;
|
|
97
|
-
readonly actorId: string | null;
|
|
98
|
-
readonly contactId: string | null;
|
|
99
|
-
readonly identityId: string | null;
|
|
100
|
-
readonly kind: "bcc" | "cc" | "to";
|
|
101
|
-
readonly address: string;
|
|
102
|
-
readonly status: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent";
|
|
103
|
-
readonly createdAt: string;
|
|
104
|
-
readonly updatedAt: string;
|
|
105
|
-
readonly contact: {
|
|
106
|
-
readonly id: string;
|
|
107
|
-
readonly name: string;
|
|
108
|
-
readonly displayName: string | null;
|
|
109
|
-
readonly type: string;
|
|
110
|
-
readonly identities: readonly {
|
|
111
|
-
readonly channel: "email";
|
|
112
|
-
readonly identifier: string;
|
|
113
|
-
readonly verified: boolean;
|
|
114
|
-
}[];
|
|
115
|
-
} | null;
|
|
116
|
-
}[];
|
|
117
|
-
readonly deliveries: readonly {
|
|
118
|
-
readonly scheduling: {
|
|
119
|
-
readonly dueAt: string;
|
|
120
|
-
readonly expiresAt: string;
|
|
121
|
-
readonly waitReason: "campaign-paused" | "content-review" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "rate" | "retry" | "sending-paused" | "upstream-unavailable" | null;
|
|
122
|
-
readonly reviewExpectedAt: string | null;
|
|
123
|
-
} | null;
|
|
124
|
-
readonly id: string;
|
|
125
|
-
readonly messageId: string;
|
|
126
|
-
readonly recipientId: string | null;
|
|
127
|
-
readonly channel: "email";
|
|
128
|
-
readonly status: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent";
|
|
129
|
-
readonly attemptCount: number;
|
|
130
|
-
readonly maxAttempts: number;
|
|
131
|
-
readonly queuedAt: string | null;
|
|
132
|
-
readonly claimedAt: string | null;
|
|
133
|
-
readonly lastAttemptAt: string | null;
|
|
134
|
-
readonly nextRetryAt: string | null;
|
|
135
|
-
readonly sentAt: string | null;
|
|
136
|
-
readonly deliveredAt: string | null;
|
|
137
|
-
readonly readAt: string | null;
|
|
138
|
-
readonly failedAt: string | null;
|
|
139
|
-
readonly terminalAt: string | null;
|
|
140
|
-
readonly errorCode: string | null;
|
|
141
|
-
readonly errorMessage: string | null;
|
|
142
|
-
readonly errorDetails: {
|
|
143
|
-
readonly code?: string | null;
|
|
144
|
-
readonly name?: string | null;
|
|
145
|
-
readonly message?: string | null;
|
|
146
|
-
readonly details?: {
|
|
147
|
-
readonly [x: string]: string | number | null;
|
|
148
|
-
} | null;
|
|
149
|
-
readonly retryable?: boolean | null;
|
|
150
|
-
} | null;
|
|
151
|
-
readonly cost: string;
|
|
152
|
-
readonly currency: string;
|
|
153
|
-
readonly idempotencyKey: string | null;
|
|
154
|
-
readonly createdAt: string;
|
|
155
|
-
readonly updatedAt: string;
|
|
156
|
-
}[];
|
|
157
|
-
readonly emailDeliveryDetails: readonly {
|
|
158
|
-
readonly deliveryId: string;
|
|
159
|
-
readonly messageIdHeader: string;
|
|
160
|
-
readonly inReplyTo: string | null;
|
|
161
|
-
readonly references: readonly string[] | null;
|
|
162
|
-
readonly subject: string;
|
|
163
|
-
readonly fromEmail: string;
|
|
164
|
-
readonly fromName: string | null;
|
|
165
|
-
readonly toEmails: readonly string[];
|
|
166
|
-
readonly toName: string | null;
|
|
167
|
-
readonly ccEmails: readonly string[] | null;
|
|
168
|
-
readonly bccEmails: readonly string[] | null;
|
|
169
|
-
readonly replyToEmails: readonly string[] | null;
|
|
170
|
-
readonly hasAttachments: boolean;
|
|
171
|
-
readonly attachmentCount: number;
|
|
172
|
-
readonly listUnsubscribeUrl: string | null;
|
|
173
|
-
readonly listUnsubscribeEmail: string | null;
|
|
174
|
-
readonly threadPosition: number | null;
|
|
175
|
-
readonly newContent: string | null;
|
|
176
|
-
readonly quotedContent: string | null;
|
|
177
|
-
readonly hasQuotedContent: boolean;
|
|
178
|
-
readonly dkimVerdict: string | null;
|
|
179
|
-
readonly spfVerdict: string | null;
|
|
180
|
-
readonly dmarcVerdict: string | null;
|
|
181
|
-
readonly isAutoReply: boolean;
|
|
182
|
-
readonly autoReplyReason: "auto-response" | "delivery-status" | "out-of-office" | "read-receipt" | null;
|
|
183
|
-
readonly priority: string | null;
|
|
184
|
-
readonly parsingErrors: readonly string[] | null;
|
|
185
|
-
readonly parsingDuration: number | null;
|
|
186
|
-
readonly receivedAt: string | null;
|
|
187
|
-
readonly processedAt: string | null;
|
|
188
|
-
readonly createdAt: string;
|
|
189
|
-
readonly updatedAt: string;
|
|
190
|
-
}[];
|
|
191
7
|
readonly waitReason: "campaign-paused" | "content-review" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "rate" | "retry" | "sending-paused" | "upstream-unavailable" | null;
|
|
192
8
|
readonly reviewExpectedAt: string | null;
|
|
9
|
+
readonly skippedRecipients: readonly {
|
|
10
|
+
readonly address: string;
|
|
11
|
+
readonly reason: "bounce" | "complaint" | "group-unsubscribe" | "manual" | "unsubscribe";
|
|
12
|
+
readonly unsubscribeGroupId?: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
13
|
+
}[];
|
|
14
|
+
readonly createdAt: string;
|
|
193
15
|
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").DeliveryUnavailableError | import("./generated").ExternalServiceError | import("./generated").FlagDisabledError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").OnboardingReviewRequiredError | import("./generated").PaymentRequiredError | import("./generated").RateLimitedError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
194
16
|
export declare const getTrackingDefaults: (_?: never) => import("effect/Effect").Effect<{
|
|
195
17
|
readonly opens: boolean;
|
|
196
18
|
readonly clicks: boolean;
|
|
197
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
19
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
198
20
|
export declare const updateTrackingDefaults: (input?: {
|
|
199
21
|
readonly opens?: boolean | undefined;
|
|
200
22
|
readonly clicks?: boolean | undefined;
|
|
@@ -222,8 +44,8 @@ export declare const updateRecipientTrackingPreference: (input: {
|
|
|
222
44
|
readonly updatedAt: string | null;
|
|
223
45
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
224
46
|
export declare const listDomains: ((input?: {
|
|
225
|
-
readonly page?: string | null | undefined;
|
|
226
47
|
readonly limit?: string | null | undefined;
|
|
48
|
+
readonly cursor?: string | null | undefined;
|
|
227
49
|
readonly sendable?: string | null | undefined;
|
|
228
50
|
} | undefined) => import("effect/Effect").Effect<{
|
|
229
51
|
readonly items: readonly {
|
|
@@ -244,16 +66,11 @@ export declare const listDomains: ((input?: {
|
|
|
244
66
|
readonly createdAt: string;
|
|
245
67
|
readonly updatedAt: string;
|
|
246
68
|
}[];
|
|
247
|
-
readonly
|
|
248
|
-
|
|
249
|
-
readonly limit: number;
|
|
250
|
-
readonly total: number;
|
|
251
|
-
readonly totalPages: number;
|
|
252
|
-
};
|
|
253
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>) & {
|
|
69
|
+
readonly nextCursor: string | null;
|
|
70
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
|
|
254
71
|
readonly pages: (input?: {
|
|
255
|
-
readonly page?: string | null | undefined;
|
|
256
72
|
readonly limit?: string | null | undefined;
|
|
73
|
+
readonly cursor?: string | null | undefined;
|
|
257
74
|
readonly sendable?: string | null | undefined;
|
|
258
75
|
} | undefined) => import("effect/Stream").Stream<{
|
|
259
76
|
readonly items: readonly {
|
|
@@ -274,16 +91,11 @@ export declare const listDomains: ((input?: {
|
|
|
274
91
|
readonly createdAt: string;
|
|
275
92
|
readonly updatedAt: string;
|
|
276
93
|
}[];
|
|
277
|
-
readonly
|
|
278
|
-
|
|
279
|
-
readonly limit: number;
|
|
280
|
-
readonly total: number;
|
|
281
|
-
readonly totalPages: number;
|
|
282
|
-
};
|
|
283
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
94
|
+
readonly nextCursor: string | null;
|
|
95
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
284
96
|
readonly items: (input?: {
|
|
285
|
-
readonly page?: string | null | undefined;
|
|
286
97
|
readonly limit?: string | null | undefined;
|
|
98
|
+
readonly cursor?: string | null | undefined;
|
|
287
99
|
readonly sendable?: string | null | undefined;
|
|
288
100
|
} | undefined) => import("effect/Stream").Stream<{
|
|
289
101
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
@@ -302,7 +114,7 @@ export declare const listDomains: ((input?: {
|
|
|
302
114
|
readonly series: readonly number[];
|
|
303
115
|
readonly createdAt: string;
|
|
304
116
|
readonly updatedAt: string;
|
|
305
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
117
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
306
118
|
};
|
|
307
119
|
export declare const addDomain: (input: {
|
|
308
120
|
readonly domain: string;
|
|
@@ -357,7 +169,7 @@ export declare const rotateDomainDkim: (input: {
|
|
|
357
169
|
readonly value: string;
|
|
358
170
|
};
|
|
359
171
|
readonly minimumRetainUntil: string | null;
|
|
360
|
-
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
172
|
+
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
361
173
|
export declare const getDomainVerification: (input: {
|
|
362
174
|
readonly id: string;
|
|
363
175
|
}) => import("effect/Effect").Effect<{
|
|
@@ -472,7 +284,7 @@ export declare const getDomainVerification: (input: {
|
|
|
472
284
|
};
|
|
473
285
|
readonly minimumRetainUntil: string | null;
|
|
474
286
|
} | null;
|
|
475
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
287
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
476
288
|
export declare const advanceDomainVerification: (input: {
|
|
477
289
|
readonly id: string;
|
|
478
290
|
}) => import("effect/Effect").Effect<{
|
|
@@ -615,13 +427,13 @@ export declare const getDomainById: (input: {
|
|
|
615
427
|
};
|
|
616
428
|
readonly createdAt: string;
|
|
617
429
|
readonly updatedAt: string;
|
|
618
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
430
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
619
431
|
export declare const removeDomain: (input: {
|
|
620
432
|
readonly id: string;
|
|
621
433
|
}) => import("effect/Effect").Effect<{
|
|
622
434
|
readonly success: boolean;
|
|
623
435
|
readonly message: string;
|
|
624
|
-
}, import("./generated").BillingProviderError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
436
|
+
}, import("./generated").BillingProviderError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
625
437
|
export declare const setDefaultDomain: (input: {
|
|
626
438
|
readonly id: string;
|
|
627
439
|
}) => import("effect/Effect").Effect<{
|
|
@@ -640,7 +452,7 @@ export declare const clearDomainDefaultSender: (input: {
|
|
|
640
452
|
}) => import("effect/Effect").Effect<{
|
|
641
453
|
readonly success: boolean;
|
|
642
454
|
readonly message: string;
|
|
643
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
455
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
644
456
|
export declare const updateDomainConfig: (input: {
|
|
645
457
|
readonly id: string;
|
|
646
458
|
readonly openTracking?: boolean | null | undefined;
|
|
@@ -657,7 +469,7 @@ export declare const updateDomainConfig: (input: {
|
|
|
657
469
|
readonly unsubscribeGroupId: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
658
470
|
readonly footerEnabled: boolean | null;
|
|
659
471
|
readonly brandSlug: string | null;
|
|
660
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
472
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
661
473
|
export declare const detectRegistrar: (input: {
|
|
662
474
|
readonly id: string;
|
|
663
475
|
readonly domain: string;
|
|
@@ -666,7 +478,7 @@ export declare const detectRegistrar: (input: {
|
|
|
666
478
|
readonly name: string;
|
|
667
479
|
readonly nameservers: readonly string[];
|
|
668
480
|
readonly docsUrl: string;
|
|
669
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
481
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
670
482
|
export declare const getDomainConnect: (input: {
|
|
671
483
|
readonly id: string;
|
|
672
484
|
readonly mode: string;
|
|
@@ -676,7 +488,7 @@ export declare const getDomainConnect: (input: {
|
|
|
676
488
|
} | {
|
|
677
489
|
readonly eligible: true;
|
|
678
490
|
readonly providerName?: string | null;
|
|
679
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
491
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
680
492
|
export declare const buildDomainConnectApplyUrl: (input: {
|
|
681
493
|
readonly id: string;
|
|
682
494
|
readonly mode: string;
|
|
@@ -690,7 +502,7 @@ export declare const completeDomainConnect: (input: {
|
|
|
690
502
|
readonly errorDescription?: string | null | undefined;
|
|
691
503
|
}) => import("effect/Effect").Effect<{
|
|
692
504
|
readonly status: "applied" | "cancelled" | "failed" | "invalid";
|
|
693
|
-
}, import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
505
|
+
}, import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
694
506
|
export declare const enableReceiving: (input: {
|
|
695
507
|
readonly id: string;
|
|
696
508
|
readonly domain: string;
|
|
@@ -701,6 +513,39 @@ export declare const enableReceiving: (input: {
|
|
|
701
513
|
readonly success: true;
|
|
702
514
|
readonly recipients: readonly string[];
|
|
703
515
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
516
|
+
export declare const getReceivingStatus: (input: {
|
|
517
|
+
readonly id: string;
|
|
518
|
+
}) => import("effect/Effect").Effect<{
|
|
519
|
+
readonly domain: string;
|
|
520
|
+
readonly receivingHost: string;
|
|
521
|
+
readonly sending: {
|
|
522
|
+
readonly satisfied: boolean;
|
|
523
|
+
readonly phase: "degraded" | "dns-setup" | "failed" | "provisioning" | "ready" | "verifying";
|
|
524
|
+
};
|
|
525
|
+
readonly destination: {
|
|
526
|
+
readonly satisfied: boolean;
|
|
527
|
+
readonly endpointId: (string & import("effect/Brand").Brand<"WebhookEndpointId">) | null;
|
|
528
|
+
readonly forwardingRules: number;
|
|
529
|
+
readonly mailboxes: number;
|
|
530
|
+
};
|
|
531
|
+
readonly receiving: {
|
|
532
|
+
readonly satisfied: boolean;
|
|
533
|
+
readonly catchAll: boolean;
|
|
534
|
+
};
|
|
535
|
+
readonly mx: {
|
|
536
|
+
readonly satisfied: boolean;
|
|
537
|
+
readonly state: "elsewhere" | "missing" | "pointing-here" | "unknown";
|
|
538
|
+
readonly expected: {
|
|
539
|
+
readonly exchange: string;
|
|
540
|
+
readonly priority: number;
|
|
541
|
+
};
|
|
542
|
+
readonly current: readonly {
|
|
543
|
+
readonly exchange: string;
|
|
544
|
+
readonly priority: number;
|
|
545
|
+
}[];
|
|
546
|
+
};
|
|
547
|
+
readonly ready: boolean;
|
|
548
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
704
549
|
export declare const enableCustomTracking: (input: {
|
|
705
550
|
readonly id: string;
|
|
706
551
|
readonly label?: string | null | undefined;
|
|
@@ -712,6 +557,14 @@ export declare const enableCustomTracking: (input: {
|
|
|
712
557
|
readonly hostname: string;
|
|
713
558
|
readonly region: string;
|
|
714
559
|
readonly sslStatus: string | null;
|
|
560
|
+
readonly certificate: {
|
|
561
|
+
readonly reason: {
|
|
562
|
+
readonly code: "awaiting-dcv" | "awaiting-hostname" | "caa-blocked" | "initializing" | "issuing" | "provider-unreachable" | "ready" | "timed-out" | "validation-error" | "verifying-route";
|
|
563
|
+
readonly message: string;
|
|
564
|
+
};
|
|
565
|
+
readonly lastCheckedAt: string | null;
|
|
566
|
+
readonly nextCheckAt: string | null;
|
|
567
|
+
} | null;
|
|
715
568
|
readonly dnsRecords: {
|
|
716
569
|
readonly tracking: {
|
|
717
570
|
readonly name: string;
|
|
@@ -739,6 +592,14 @@ export declare const getCustomTracking: (input: {
|
|
|
739
592
|
readonly hostname: string;
|
|
740
593
|
readonly region: string;
|
|
741
594
|
readonly sslStatus: string | null;
|
|
595
|
+
readonly certificate: {
|
|
596
|
+
readonly reason: {
|
|
597
|
+
readonly code: "awaiting-dcv" | "awaiting-hostname" | "caa-blocked" | "initializing" | "issuing" | "provider-unreachable" | "ready" | "timed-out" | "validation-error" | "verifying-route";
|
|
598
|
+
readonly message: string;
|
|
599
|
+
};
|
|
600
|
+
readonly lastCheckedAt: string | null;
|
|
601
|
+
readonly nextCheckAt: string | null;
|
|
602
|
+
} | null;
|
|
742
603
|
readonly dnsRecords: {
|
|
743
604
|
readonly tracking: {
|
|
744
605
|
readonly name: string;
|
|
@@ -755,7 +616,42 @@ export declare const getCustomTracking: (input: {
|
|
|
755
616
|
readonly verificationErrors: readonly string[];
|
|
756
617
|
readonly teardownScheduledAt: string | null;
|
|
757
618
|
} | null;
|
|
758
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
619
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
620
|
+
export declare const recheckCustomTracking: (input: {
|
|
621
|
+
readonly id: string;
|
|
622
|
+
}) => import("effect/Effect").Effect<{
|
|
623
|
+
readonly enabled: boolean;
|
|
624
|
+
readonly customTracking: {
|
|
625
|
+
readonly status: "active" | "caa-blocked" | "disabled" | "pending" | "teardown-scheduled";
|
|
626
|
+
readonly label: string;
|
|
627
|
+
readonly hostname: string;
|
|
628
|
+
readonly region: string;
|
|
629
|
+
readonly sslStatus: string | null;
|
|
630
|
+
readonly certificate: {
|
|
631
|
+
readonly reason: {
|
|
632
|
+
readonly code: "awaiting-dcv" | "awaiting-hostname" | "caa-blocked" | "initializing" | "issuing" | "provider-unreachable" | "ready" | "timed-out" | "validation-error" | "verifying-route";
|
|
633
|
+
readonly message: string;
|
|
634
|
+
};
|
|
635
|
+
readonly lastCheckedAt: string | null;
|
|
636
|
+
readonly nextCheckAt: string | null;
|
|
637
|
+
} | null;
|
|
638
|
+
readonly dnsRecords: {
|
|
639
|
+
readonly tracking: {
|
|
640
|
+
readonly name: string;
|
|
641
|
+
readonly type: string;
|
|
642
|
+
readonly value: string;
|
|
643
|
+
} | null;
|
|
644
|
+
readonly dcvDelegation: {
|
|
645
|
+
readonly name: string;
|
|
646
|
+
readonly type: string;
|
|
647
|
+
readonly value: string;
|
|
648
|
+
} | null;
|
|
649
|
+
};
|
|
650
|
+
readonly caaBlocked: boolean;
|
|
651
|
+
readonly verificationErrors: readonly string[];
|
|
652
|
+
readonly teardownScheduledAt: string | null;
|
|
653
|
+
} | null;
|
|
654
|
+
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
759
655
|
export declare const getCustomTrackingDomainConnect: (input: {
|
|
760
656
|
readonly id: string;
|
|
761
657
|
}) => import("effect/Effect").Effect<{
|
|
@@ -764,7 +660,7 @@ export declare const getCustomTrackingDomainConnect: (input: {
|
|
|
764
660
|
} | {
|
|
765
661
|
readonly eligible: true;
|
|
766
662
|
readonly providerName?: string | null;
|
|
767
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
663
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
768
664
|
export declare const buildCustomTrackingDomainConnectApplyUrl: (input: {
|
|
769
665
|
readonly id: string;
|
|
770
666
|
}) => import("effect/Effect").Effect<{
|
|
@@ -777,13 +673,13 @@ export declare const completeCustomTrackingDomainConnect: (input: {
|
|
|
777
673
|
readonly errorDescription?: string | null | undefined;
|
|
778
674
|
}) => import("effect/Effect").Effect<{
|
|
779
675
|
readonly status: "applied" | "cancelled" | "failed" | "invalid" | "stale";
|
|
780
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
676
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
781
677
|
export declare const disableCustomTracking: (input: {
|
|
782
678
|
readonly id: string;
|
|
783
679
|
}) => import("effect/Effect").Effect<{
|
|
784
680
|
readonly success: boolean;
|
|
785
681
|
readonly message: string;
|
|
786
|
-
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
682
|
+
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
787
683
|
export declare const getDomainWarming: (input: {
|
|
788
684
|
readonly id: string;
|
|
789
685
|
}) => import("effect/Effect").Effect<{
|
|
@@ -849,7 +745,7 @@ export declare const getDomainWarming: (input: {
|
|
|
849
745
|
readonly workspacePauseReason: string | null;
|
|
850
746
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
851
747
|
};
|
|
852
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
748
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
853
749
|
export declare const createDomainWarmingPlan: (input: {
|
|
854
750
|
readonly id: string;
|
|
855
751
|
readonly identity: string;
|
|
@@ -1055,7 +951,7 @@ export declare const cancelDomainWarmingBatch: (input: {
|
|
|
1055
951
|
readonly workspacePauseReason: string | null;
|
|
1056
952
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1057
953
|
};
|
|
1058
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
954
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1059
955
|
export declare const pauseDomainWarming: (input: {
|
|
1060
956
|
readonly id: string;
|
|
1061
957
|
readonly note?: string | null | undefined;
|
|
@@ -1122,7 +1018,7 @@ export declare const pauseDomainWarming: (input: {
|
|
|
1122
1018
|
readonly workspacePauseReason: string | null;
|
|
1123
1019
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1124
1020
|
};
|
|
1125
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1021
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1126
1022
|
export declare const resumeDomainWarming: (input: {
|
|
1127
1023
|
readonly id: string;
|
|
1128
1024
|
readonly note?: string | null | undefined;
|
|
@@ -1189,7 +1085,7 @@ export declare const resumeDomainWarming: (input: {
|
|
|
1189
1085
|
readonly workspacePauseReason: string | null;
|
|
1190
1086
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1191
1087
|
};
|
|
1192
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1088
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1193
1089
|
export declare const completeDomainWarming: (input: {
|
|
1194
1090
|
readonly id: string;
|
|
1195
1091
|
readonly note?: string | null | undefined;
|
|
@@ -1256,7 +1152,7 @@ export declare const completeDomainWarming: (input: {
|
|
|
1256
1152
|
readonly workspacePauseReason: string | null;
|
|
1257
1153
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1258
1154
|
};
|
|
1259
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1155
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1260
1156
|
export declare const getOnboardingReview: (_?: never) => import("effect/Effect").Effect<{
|
|
1261
1157
|
readonly decision: "approved" | "rejected" | "undecided";
|
|
1262
1158
|
readonly trustTier: "established" | "probation" | "screened";
|
|
@@ -1282,7 +1178,7 @@ export declare const getOnboardingReview: (_?: never) => import("effect/Effect")
|
|
|
1282
1178
|
readonly updatedAt: string;
|
|
1283
1179
|
}[];
|
|
1284
1180
|
readonly updatedAt: string | null;
|
|
1285
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1181
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1286
1182
|
export declare const reapplyOnboardingReview: (input: {
|
|
1287
1183
|
readonly expectedGeneration: number;
|
|
1288
1184
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1310,7 +1206,7 @@ export declare const reapplyOnboardingReview: (input: {
|
|
|
1310
1206
|
readonly updatedAt: string;
|
|
1311
1207
|
}[];
|
|
1312
1208
|
readonly updatedAt: string | null;
|
|
1313
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1209
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1314
1210
|
export declare const respondToOnboardingInformationRequest: (input: {
|
|
1315
1211
|
readonly expectedGeneration: number;
|
|
1316
1212
|
readonly responseText: string;
|
|
@@ -1340,10 +1236,10 @@ export declare const respondToOnboardingInformationRequest: (input: {
|
|
|
1340
1236
|
readonly updatedAt: string;
|
|
1341
1237
|
}[];
|
|
1342
1238
|
readonly updatedAt: string | null;
|
|
1343
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1239
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1344
1240
|
export declare const listSenders: ((input?: {
|
|
1345
|
-
readonly page?: string | null | undefined;
|
|
1346
1241
|
readonly limit?: string | null | undefined;
|
|
1242
|
+
readonly cursor?: string | null | undefined;
|
|
1347
1243
|
readonly verificationStatus?: string | null | undefined;
|
|
1348
1244
|
readonly isActive?: string | null | undefined;
|
|
1349
1245
|
readonly isDefault?: string | null | undefined;
|
|
@@ -1372,16 +1268,11 @@ export declare const listSenders: ((input?: {
|
|
|
1372
1268
|
readonly createdAt: string;
|
|
1373
1269
|
readonly updatedAt: string;
|
|
1374
1270
|
}[];
|
|
1375
|
-
readonly
|
|
1376
|
-
|
|
1377
|
-
readonly limit: number;
|
|
1378
|
-
readonly total: number;
|
|
1379
|
-
readonly totalPages: number;
|
|
1380
|
-
};
|
|
1381
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>) & {
|
|
1271
|
+
readonly nextCursor: string | null;
|
|
1272
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
|
|
1382
1273
|
readonly pages: (input?: {
|
|
1383
|
-
readonly page?: string | null | undefined;
|
|
1384
1274
|
readonly limit?: string | null | undefined;
|
|
1275
|
+
readonly cursor?: string | null | undefined;
|
|
1385
1276
|
readonly verificationStatus?: string | null | undefined;
|
|
1386
1277
|
readonly isActive?: string | null | undefined;
|
|
1387
1278
|
readonly isDefault?: string | null | undefined;
|
|
@@ -1410,16 +1301,11 @@ export declare const listSenders: ((input?: {
|
|
|
1410
1301
|
readonly createdAt: string;
|
|
1411
1302
|
readonly updatedAt: string;
|
|
1412
1303
|
}[];
|
|
1413
|
-
readonly
|
|
1414
|
-
|
|
1415
|
-
readonly limit: number;
|
|
1416
|
-
readonly total: number;
|
|
1417
|
-
readonly totalPages: number;
|
|
1418
|
-
};
|
|
1419
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1304
|
+
readonly nextCursor: string | null;
|
|
1305
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1420
1306
|
readonly items: (input?: {
|
|
1421
|
-
readonly page?: string | null | undefined;
|
|
1422
1307
|
readonly limit?: string | null | undefined;
|
|
1308
|
+
readonly cursor?: string | null | undefined;
|
|
1423
1309
|
readonly verificationStatus?: string | null | undefined;
|
|
1424
1310
|
readonly isActive?: string | null | undefined;
|
|
1425
1311
|
readonly isDefault?: string | null | undefined;
|
|
@@ -1446,7 +1332,7 @@ export declare const listSenders: ((input?: {
|
|
|
1446
1332
|
readonly isActive: boolean;
|
|
1447
1333
|
readonly createdAt: string;
|
|
1448
1334
|
readonly updatedAt: string;
|
|
1449
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1335
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1450
1336
|
};
|
|
1451
1337
|
export declare const getSender: (input: {
|
|
1452
1338
|
readonly id: string;
|
|
@@ -1473,7 +1359,7 @@ export declare const getSender: (input: {
|
|
|
1473
1359
|
readonly isActive: boolean;
|
|
1474
1360
|
readonly createdAt: string;
|
|
1475
1361
|
readonly updatedAt: string;
|
|
1476
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1362
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1477
1363
|
export declare const addSender: (input: EmailAddSenderInput, options?: SendOptions | undefined) => import("effect/Effect").Effect<{
|
|
1478
1364
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
1479
1365
|
readonly email: string;
|
|
@@ -1489,7 +1375,7 @@ export declare const checkSenderVerification: (input: {
|
|
|
1489
1375
|
readonly email: string;
|
|
1490
1376
|
readonly status: "failed" | "pending" | "verified";
|
|
1491
1377
|
readonly verifiedAt: string | null;
|
|
1492
|
-
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1378
|
+
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1493
1379
|
export declare const removeSender: (input: {
|
|
1494
1380
|
readonly id: string;
|
|
1495
1381
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1503,8 +1389,8 @@ export declare const setDefaultSender: (input: {
|
|
|
1503
1389
|
readonly message: string;
|
|
1504
1390
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1505
1391
|
export declare const getStats: (input?: {
|
|
1506
|
-
readonly
|
|
1507
|
-
readonly
|
|
1392
|
+
readonly after?: string | null | undefined;
|
|
1393
|
+
readonly before?: string | null | undefined;
|
|
1508
1394
|
} | undefined) => import("effect/Effect").Effect<{
|
|
1509
1395
|
readonly totalSent: number;
|
|
1510
1396
|
readonly totalDelivered: number;
|
|
@@ -1513,15 +1399,15 @@ export declare const getStats: (input?: {
|
|
|
1513
1399
|
readonly deliveryRate: number;
|
|
1514
1400
|
readonly bounceRate: number;
|
|
1515
1401
|
readonly complaintRate: number;
|
|
1516
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1402
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1517
1403
|
export declare const enableCatchAll: (input: {
|
|
1518
|
-
readonly
|
|
1519
|
-
readonly endpointId
|
|
1404
|
+
readonly id: string;
|
|
1405
|
+
readonly endpointId?: string | null | undefined;
|
|
1520
1406
|
}) => import("effect/Effect").Effect<{
|
|
1521
1407
|
readonly success: true;
|
|
1522
|
-
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1408
|
+
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1523
1409
|
export declare const disableCatchAll: (input: {
|
|
1524
|
-
readonly
|
|
1410
|
+
readonly id: string;
|
|
1525
1411
|
}) => import("effect/Effect").Effect<{
|
|
1526
1412
|
readonly success: true;
|
|
1527
1413
|
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
@@ -1532,7 +1418,7 @@ export declare const getCatchAllConfig: (input: {
|
|
|
1532
1418
|
readonly endpointId: (string & import("effect/Brand").Brand<"WebhookEndpointId">) | null;
|
|
1533
1419
|
readonly emailCount: number;
|
|
1534
1420
|
readonly lastEmailAt: string | null;
|
|
1535
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1421
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1536
1422
|
export declare const updateCatchAllConfig: (input: {
|
|
1537
1423
|
readonly domainId: string;
|
|
1538
1424
|
readonly endpointId?: string | null | undefined;
|
|
@@ -1541,8 +1427,8 @@ export declare const updateCatchAllConfig: (input: {
|
|
|
1541
1427
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1542
1428
|
export declare const getCatchAllStats: (input: {
|
|
1543
1429
|
readonly domainId: string;
|
|
1544
|
-
readonly
|
|
1545
|
-
readonly
|
|
1430
|
+
readonly after?: string | null | undefined;
|
|
1431
|
+
readonly before?: string | null | undefined;
|
|
1546
1432
|
}) => import("effect/Effect").Effect<{
|
|
1547
1433
|
readonly domain: string;
|
|
1548
1434
|
readonly isCatchAllEnabled: boolean;
|
|
@@ -1554,15 +1440,15 @@ export declare const getCatchAllStats: (input: {
|
|
|
1554
1440
|
readonly lastEmail: string | null;
|
|
1555
1441
|
readonly avgPerDay: number;
|
|
1556
1442
|
} | null;
|
|
1557
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1558
|
-
export declare const listSuppressions: (input?: {
|
|
1443
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1444
|
+
export declare const listSuppressions: ((input?: {
|
|
1559
1445
|
readonly type?: string | null | undefined;
|
|
1560
1446
|
readonly status?: string | null | undefined;
|
|
1561
1447
|
readonly search?: string | null | undefined;
|
|
1562
1448
|
readonly limit?: string | null | undefined;
|
|
1563
|
-
readonly
|
|
1449
|
+
readonly cursor?: string | null | undefined;
|
|
1564
1450
|
} | undefined) => import("effect/Effect").Effect<{
|
|
1565
|
-
readonly
|
|
1451
|
+
readonly items: readonly {
|
|
1566
1452
|
readonly id: string & import("effect/Brand").Brand<"SuppressionId">;
|
|
1567
1453
|
readonly email: string;
|
|
1568
1454
|
readonly type: "bounce" | "complaint" | "manual" | "unsubscribe";
|
|
@@ -1574,21 +1460,67 @@ export declare const listSuppressions: (input?: {
|
|
|
1574
1460
|
readonly expiresAt: string | null;
|
|
1575
1461
|
readonly createdAt: string;
|
|
1576
1462
|
}[];
|
|
1577
|
-
readonly
|
|
1578
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service
|
|
1463
|
+
readonly nextCursor: string | null;
|
|
1464
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
|
|
1465
|
+
readonly pages: (input?: {
|
|
1466
|
+
readonly type?: string | null | undefined;
|
|
1467
|
+
readonly status?: string | null | undefined;
|
|
1468
|
+
readonly search?: string | null | undefined;
|
|
1469
|
+
readonly limit?: string | null | undefined;
|
|
1470
|
+
readonly cursor?: string | null | undefined;
|
|
1471
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
1472
|
+
readonly items: readonly {
|
|
1473
|
+
readonly id: string & import("effect/Brand").Brand<"SuppressionId">;
|
|
1474
|
+
readonly email: string;
|
|
1475
|
+
readonly type: "bounce" | "complaint" | "manual" | "unsubscribe";
|
|
1476
|
+
readonly bounceType: string | null;
|
|
1477
|
+
readonly bounceSubType: string | null;
|
|
1478
|
+
readonly reason: string | null;
|
|
1479
|
+
readonly messageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
1480
|
+
readonly isActive: boolean;
|
|
1481
|
+
readonly expiresAt: string | null;
|
|
1482
|
+
readonly createdAt: string;
|
|
1483
|
+
}[];
|
|
1484
|
+
readonly nextCursor: string | null;
|
|
1485
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1486
|
+
readonly items: (input?: {
|
|
1487
|
+
readonly type?: string | null | undefined;
|
|
1488
|
+
readonly status?: string | null | undefined;
|
|
1489
|
+
readonly search?: string | null | undefined;
|
|
1490
|
+
readonly limit?: string | null | undefined;
|
|
1491
|
+
readonly cursor?: string | null | undefined;
|
|
1492
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
1493
|
+
readonly id: string & import("effect/Brand").Brand<"SuppressionId">;
|
|
1494
|
+
readonly email: string;
|
|
1495
|
+
readonly type: "bounce" | "complaint" | "manual" | "unsubscribe";
|
|
1496
|
+
readonly bounceType: string | null;
|
|
1497
|
+
readonly bounceSubType: string | null;
|
|
1498
|
+
readonly reason: string | null;
|
|
1499
|
+
readonly messageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
1500
|
+
readonly isActive: boolean;
|
|
1501
|
+
readonly expiresAt: string | null;
|
|
1502
|
+
readonly createdAt: string;
|
|
1503
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1504
|
+
};
|
|
1505
|
+
export declare const countSuppressions: (_?: never) => import("effect/Effect").Effect<{
|
|
1506
|
+
readonly bounce: number;
|
|
1507
|
+
readonly complaint: number;
|
|
1508
|
+
readonly unsubscribe: number;
|
|
1509
|
+
readonly manual: number;
|
|
1510
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1579
1511
|
export declare const removeSuppression: (input: {
|
|
1580
1512
|
readonly id: string;
|
|
1581
1513
|
}) => import("effect/Effect").Effect<{
|
|
1582
1514
|
readonly success: boolean;
|
|
1583
1515
|
readonly message: string;
|
|
1584
|
-
}, import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1585
|
-
export declare const listBlocks: (input?: {
|
|
1516
|
+
}, import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1517
|
+
export declare const listBlocks: ((input?: {
|
|
1586
1518
|
readonly blockType?: string | null | undefined;
|
|
1587
1519
|
readonly isActive?: string | null | undefined;
|
|
1588
1520
|
readonly limit?: string | null | undefined;
|
|
1589
|
-
readonly
|
|
1521
|
+
readonly cursor?: string | null | undefined;
|
|
1590
1522
|
} | undefined) => import("effect/Effect").Effect<{
|
|
1591
|
-
readonly
|
|
1523
|
+
readonly items: readonly {
|
|
1592
1524
|
readonly id: string & import("effect/Brand").Brand<"BlockedEmailId">;
|
|
1593
1525
|
readonly blockType: "domain" | "email";
|
|
1594
1526
|
readonly blockValue: string;
|
|
@@ -1600,8 +1532,46 @@ export declare const listBlocks: (input?: {
|
|
|
1600
1532
|
readonly expiresAt: string | null;
|
|
1601
1533
|
readonly createdAt: string;
|
|
1602
1534
|
}[];
|
|
1603
|
-
readonly
|
|
1604
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service
|
|
1535
|
+
readonly nextCursor: string | null;
|
|
1536
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
|
|
1537
|
+
readonly pages: (input?: {
|
|
1538
|
+
readonly blockType?: string | null | undefined;
|
|
1539
|
+
readonly isActive?: string | null | undefined;
|
|
1540
|
+
readonly limit?: string | null | undefined;
|
|
1541
|
+
readonly cursor?: string | null | undefined;
|
|
1542
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
1543
|
+
readonly items: readonly {
|
|
1544
|
+
readonly id: string & import("effect/Brand").Brand<"BlockedEmailId">;
|
|
1545
|
+
readonly blockType: "domain" | "email";
|
|
1546
|
+
readonly blockValue: string;
|
|
1547
|
+
readonly reason: string;
|
|
1548
|
+
readonly notes: string | null;
|
|
1549
|
+
readonly isActive: boolean;
|
|
1550
|
+
readonly blockCount: number;
|
|
1551
|
+
readonly lastBlockedAt: string | null;
|
|
1552
|
+
readonly expiresAt: string | null;
|
|
1553
|
+
readonly createdAt: string;
|
|
1554
|
+
}[];
|
|
1555
|
+
readonly nextCursor: string | null;
|
|
1556
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1557
|
+
readonly items: (input?: {
|
|
1558
|
+
readonly blockType?: string | null | undefined;
|
|
1559
|
+
readonly isActive?: string | null | undefined;
|
|
1560
|
+
readonly limit?: string | null | undefined;
|
|
1561
|
+
readonly cursor?: string | null | undefined;
|
|
1562
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
1563
|
+
readonly id: string & import("effect/Brand").Brand<"BlockedEmailId">;
|
|
1564
|
+
readonly blockType: "domain" | "email";
|
|
1565
|
+
readonly blockValue: string;
|
|
1566
|
+
readonly reason: string;
|
|
1567
|
+
readonly notes: string | null;
|
|
1568
|
+
readonly isActive: boolean;
|
|
1569
|
+
readonly blockCount: number;
|
|
1570
|
+
readonly lastBlockedAt: string | null;
|
|
1571
|
+
readonly expiresAt: string | null;
|
|
1572
|
+
readonly createdAt: string;
|
|
1573
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1574
|
+
};
|
|
1605
1575
|
export declare const addBlock: (input: {
|
|
1606
1576
|
readonly blockType: string;
|
|
1607
1577
|
readonly blockValue: string;
|
|
@@ -1623,7 +1593,7 @@ export declare const removeBlock: (input: {
|
|
|
1623
1593
|
}) => import("effect/Effect").Effect<{
|
|
1624
1594
|
readonly success: boolean;
|
|
1625
1595
|
readonly message: string;
|
|
1626
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1596
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1627
1597
|
export declare const updateBlock: (input: {
|
|
1628
1598
|
readonly id: string;
|
|
1629
1599
|
readonly reason?: string | null | undefined;
|
|
@@ -1639,16 +1609,16 @@ export declare const updateBlock: (input: {
|
|
|
1639
1609
|
readonly isActive: boolean;
|
|
1640
1610
|
readonly expiresAt: string | null;
|
|
1641
1611
|
readonly updatedAt: string;
|
|
1642
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1643
|
-
export declare const getBlockLogs: (input?: {
|
|
1612
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1613
|
+
export declare const getBlockLogs: ((input?: {
|
|
1644
1614
|
readonly blockedEmailId?: string | null | undefined;
|
|
1645
1615
|
readonly fromAddress?: string | null | undefined;
|
|
1646
|
-
readonly
|
|
1647
|
-
readonly
|
|
1616
|
+
readonly after?: string | null | undefined;
|
|
1617
|
+
readonly before?: string | null | undefined;
|
|
1648
1618
|
readonly limit?: string | null | undefined;
|
|
1649
|
-
readonly
|
|
1619
|
+
readonly cursor?: string | null | undefined;
|
|
1650
1620
|
} | undefined) => import("effect/Effect").Effect<{
|
|
1651
|
-
readonly
|
|
1621
|
+
readonly items: readonly {
|
|
1652
1622
|
readonly id: string & import("effect/Brand").Brand<"BlockedEmailLogId">;
|
|
1653
1623
|
readonly fromAddress: string;
|
|
1654
1624
|
readonly toAddress: string;
|
|
@@ -1661,8 +1631,52 @@ export declare const getBlockLogs: (input?: {
|
|
|
1661
1631
|
readonly dmarcResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1662
1632
|
readonly blockedAt: string;
|
|
1663
1633
|
}[];
|
|
1664
|
-
readonly
|
|
1665
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service
|
|
1634
|
+
readonly nextCursor: string | null;
|
|
1635
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
|
|
1636
|
+
readonly pages: (input?: {
|
|
1637
|
+
readonly blockedEmailId?: string | null | undefined;
|
|
1638
|
+
readonly fromAddress?: string | null | undefined;
|
|
1639
|
+
readonly after?: string | null | undefined;
|
|
1640
|
+
readonly before?: string | null | undefined;
|
|
1641
|
+
readonly limit?: string | null | undefined;
|
|
1642
|
+
readonly cursor?: string | null | undefined;
|
|
1643
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
1644
|
+
readonly items: readonly {
|
|
1645
|
+
readonly id: string & import("effect/Brand").Brand<"BlockedEmailLogId">;
|
|
1646
|
+
readonly fromAddress: string;
|
|
1647
|
+
readonly toAddress: string;
|
|
1648
|
+
readonly subject: string | null;
|
|
1649
|
+
readonly blockType: "domain" | "email";
|
|
1650
|
+
readonly blockValue: string;
|
|
1651
|
+
readonly blockReason: string;
|
|
1652
|
+
readonly spfResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1653
|
+
readonly dkimResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1654
|
+
readonly dmarcResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1655
|
+
readonly blockedAt: string;
|
|
1656
|
+
}[];
|
|
1657
|
+
readonly nextCursor: string | null;
|
|
1658
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1659
|
+
readonly items: (input?: {
|
|
1660
|
+
readonly blockedEmailId?: string | null | undefined;
|
|
1661
|
+
readonly fromAddress?: string | null | undefined;
|
|
1662
|
+
readonly after?: string | null | undefined;
|
|
1663
|
+
readonly before?: string | null | undefined;
|
|
1664
|
+
readonly limit?: string | null | undefined;
|
|
1665
|
+
readonly cursor?: string | null | undefined;
|
|
1666
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
1667
|
+
readonly id: string & import("effect/Brand").Brand<"BlockedEmailLogId">;
|
|
1668
|
+
readonly fromAddress: string;
|
|
1669
|
+
readonly toAddress: string;
|
|
1670
|
+
readonly subject: string | null;
|
|
1671
|
+
readonly blockType: "domain" | "email";
|
|
1672
|
+
readonly blockValue: string;
|
|
1673
|
+
readonly blockReason: string;
|
|
1674
|
+
readonly spfResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1675
|
+
readonly dkimResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1676
|
+
readonly dmarcResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1677
|
+
readonly blockedAt: string;
|
|
1678
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1679
|
+
};
|
|
1666
1680
|
export declare const checkBlocked: (input: {
|
|
1667
1681
|
readonly emailAddress: string;
|
|
1668
1682
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1675,17 +1689,16 @@ export declare const checkBlocked: (input: {
|
|
|
1675
1689
|
readonly expiresAt: string | null;
|
|
1676
1690
|
} | null;
|
|
1677
1691
|
readonly reason: string | null;
|
|
1678
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1692
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1679
1693
|
export declare const listForwardingRules: (input?: {
|
|
1680
1694
|
readonly domainId?: string | null | undefined;
|
|
1681
1695
|
readonly isActive?: string | null | undefined;
|
|
1682
|
-
readonly limit?: string | null | undefined;
|
|
1683
|
-
readonly offset?: string | null | undefined;
|
|
1684
1696
|
} | undefined) => import("effect/Effect").Effect<{
|
|
1685
|
-
readonly
|
|
1697
|
+
readonly items: readonly {
|
|
1686
1698
|
readonly id: string & import("effect/Brand").Brand<"EmailForwardingRuleId">;
|
|
1687
1699
|
readonly name: string;
|
|
1688
1700
|
readonly description: string | null;
|
|
1701
|
+
readonly domainId: (string & import("effect/Brand").Brand<"EmailDomainId">) | null;
|
|
1689
1702
|
readonly sourcePattern: string | null;
|
|
1690
1703
|
readonly forwardTo: readonly string[];
|
|
1691
1704
|
readonly preserveHeaders: boolean;
|
|
@@ -1696,8 +1709,7 @@ export declare const listForwardingRules: (input?: {
|
|
|
1696
1709
|
readonly lastForwardedAt: string | null;
|
|
1697
1710
|
readonly createdAt: string;
|
|
1698
1711
|
}[];
|
|
1699
|
-
|
|
1700
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1712
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1701
1713
|
export declare const createForwardingRule: (input: {
|
|
1702
1714
|
readonly name: string;
|
|
1703
1715
|
readonly description?: string | null | undefined;
|
|
@@ -1747,13 +1759,13 @@ export declare const createForwardingRule: (input: {
|
|
|
1747
1759
|
readonly priority: number;
|
|
1748
1760
|
readonly isActive: boolean;
|
|
1749
1761
|
readonly createdAt: string;
|
|
1750
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1762
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1751
1763
|
export declare const deleteForwardingRule: (input: {
|
|
1752
1764
|
readonly id: string;
|
|
1753
1765
|
}) => import("effect/Effect").Effect<{
|
|
1754
1766
|
readonly success: boolean;
|
|
1755
1767
|
readonly message: string;
|
|
1756
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1768
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1757
1769
|
export declare const updateForwardingRule: (input: {
|
|
1758
1770
|
readonly id: string;
|
|
1759
1771
|
readonly name?: string | null | undefined;
|
|
@@ -1804,16 +1816,16 @@ export declare const updateForwardingRule: (input: {
|
|
|
1804
1816
|
readonly priority: number;
|
|
1805
1817
|
readonly isActive: boolean;
|
|
1806
1818
|
readonly updatedAt: string;
|
|
1807
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1808
|
-
export declare const getForwardingLog: (input?: {
|
|
1819
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1820
|
+
export declare const getForwardingLog: ((input?: {
|
|
1809
1821
|
readonly forwardingRuleId?: string | null | undefined;
|
|
1810
1822
|
readonly status?: string | null | undefined;
|
|
1811
|
-
readonly
|
|
1812
|
-
readonly
|
|
1823
|
+
readonly after?: string | null | undefined;
|
|
1824
|
+
readonly before?: string | null | undefined;
|
|
1813
1825
|
readonly limit?: string | null | undefined;
|
|
1814
|
-
readonly
|
|
1826
|
+
readonly cursor?: string | null | undefined;
|
|
1815
1827
|
} | undefined) => import("effect/Effect").Effect<{
|
|
1816
|
-
readonly
|
|
1828
|
+
readonly items: readonly {
|
|
1817
1829
|
readonly id: string;
|
|
1818
1830
|
readonly forwardingRuleId: (string & import("effect/Brand").Brand<"EmailForwardingRuleId">) | null;
|
|
1819
1831
|
readonly originalFromAddress: string;
|
|
@@ -1822,14 +1834,53 @@ export declare const getForwardingLog: (input?: {
|
|
|
1822
1834
|
readonly forwardedTo: readonly string[];
|
|
1823
1835
|
readonly status: "failed" | "forwarded" | "pending";
|
|
1824
1836
|
readonly errorMessage: string | null;
|
|
1837
|
+
readonly messageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
1825
1838
|
readonly forwardedAt: string | null;
|
|
1826
1839
|
readonly createdAt: string;
|
|
1827
1840
|
}[];
|
|
1828
|
-
readonly
|
|
1829
|
-
|
|
1830
|
-
readonly
|
|
1831
|
-
readonly
|
|
1832
|
-
readonly
|
|
1833
|
-
readonly
|
|
1834
|
-
|
|
1835
|
-
|
|
1841
|
+
readonly nextCursor: string | null;
|
|
1842
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
|
|
1843
|
+
readonly pages: (input?: {
|
|
1844
|
+
readonly forwardingRuleId?: string | null | undefined;
|
|
1845
|
+
readonly status?: string | null | undefined;
|
|
1846
|
+
readonly after?: string | null | undefined;
|
|
1847
|
+
readonly before?: string | null | undefined;
|
|
1848
|
+
readonly limit?: string | null | undefined;
|
|
1849
|
+
readonly cursor?: string | null | undefined;
|
|
1850
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
1851
|
+
readonly items: readonly {
|
|
1852
|
+
readonly id: string;
|
|
1853
|
+
readonly forwardingRuleId: (string & import("effect/Brand").Brand<"EmailForwardingRuleId">) | null;
|
|
1854
|
+
readonly originalFromAddress: string;
|
|
1855
|
+
readonly originalToAddress: string;
|
|
1856
|
+
readonly originalSubject: string | null;
|
|
1857
|
+
readonly forwardedTo: readonly string[];
|
|
1858
|
+
readonly status: "failed" | "forwarded" | "pending";
|
|
1859
|
+
readonly errorMessage: string | null;
|
|
1860
|
+
readonly messageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
1861
|
+
readonly forwardedAt: string | null;
|
|
1862
|
+
readonly createdAt: string;
|
|
1863
|
+
}[];
|
|
1864
|
+
readonly nextCursor: string | null;
|
|
1865
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1866
|
+
readonly items: (input?: {
|
|
1867
|
+
readonly forwardingRuleId?: string | null | undefined;
|
|
1868
|
+
readonly status?: string | null | undefined;
|
|
1869
|
+
readonly after?: string | null | undefined;
|
|
1870
|
+
readonly before?: string | null | undefined;
|
|
1871
|
+
readonly limit?: string | null | undefined;
|
|
1872
|
+
readonly cursor?: string | null | undefined;
|
|
1873
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
1874
|
+
readonly id: string;
|
|
1875
|
+
readonly forwardingRuleId: (string & import("effect/Brand").Brand<"EmailForwardingRuleId">) | null;
|
|
1876
|
+
readonly originalFromAddress: string;
|
|
1877
|
+
readonly originalToAddress: string;
|
|
1878
|
+
readonly originalSubject: string | null;
|
|
1879
|
+
readonly forwardedTo: readonly string[];
|
|
1880
|
+
readonly status: "failed" | "forwarded" | "pending";
|
|
1881
|
+
readonly errorMessage: string | null;
|
|
1882
|
+
readonly messageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
1883
|
+
readonly forwardedAt: string | null;
|
|
1884
|
+
readonly createdAt: string;
|
|
1885
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1886
|
+
};
|