samva 0.9.0 → 0.11.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 +60 -10
- package/dist/client/sdk.gen.d.ts +1106 -215
- package/dist/client/types.gen.d.ts +11554 -6343
- package/dist/{client-DB7zbTti.js → client-8YXjfsVc.js} +6492 -3068
- package/dist/{client-attribution-vK1yjEdG.js → client-attribution-Ct2FKITg.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 +100 -44
- 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 +6 -6
- package/dist/effect/brands.js +2 -2
- package/dist/effect/campaigns.d.ts +33 -63
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/client.js +1 -1
- package/dist/effect/contact-groups.d.ts +33 -50
- package/dist/effect/contact-groups.js +1 -1
- package/dist/effect/contacts.d.ts +327 -729
- package/dist/effect/contacts.js +10 -2
- package/dist/effect/conversations.d.ts +579 -1134
- package/dist/effect/conversations.js +14 -2
- package/dist/effect/custom-fields.d.ts +5 -55
- package/dist/effect/custom-fields.js +1 -1
- package/dist/effect/email.d.ts +283 -317
- package/dist/effect/email.js +5 -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 +31383 -14386
- package/dist/effect/index.d.ts +6 -1
- package/dist/effect/index.js +7 -2
- package/dist/effect/internal/client.d.ts +5 -2
- package/dist/effect/internal/mailbox-events.d.ts +11 -0
- package/dist/effect/internal/operation.d.ts +23 -377
- package/dist/effect/mailboxes.d.ts +1676 -0
- package/dist/effect/mailboxes.js +3 -0
- package/dist/effect/media.d.ts +9 -9
- package/dist/effect/media.js +1 -1
- package/dist/effect/messages.d.ts +173 -940
- 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 +8 -7
- package/dist/effect/organizations.js +1 -1
- package/dist/effect/pagination.d.ts +16 -21
- package/dist/effect/scheduled-messages.d.ts +15 -25
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/templates.d.ts +213 -290
- package/dist/effect/templates.js +2 -2
- package/dist/effect/unsubscribe-groups.d.ts +22 -76
- package/dist/effect/unsubscribe-groups.js +1 -1
- package/dist/effect/webhooks.d.ts +119 -41
- package/dist/effect/webhooks.js +2 -2
- package/dist/index.js +3 -2
- package/dist/mailbox-events-CcWm8lO4.js +617 -0
- package/dist/mailbox-events.d.ts +175 -0
- package/dist/mailboxes-4gJMAJh4.js +147 -0
- package/dist/{operation-Cdp1EI_1.js → operation-BuyvAsZ1.js} +403 -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-DoEUUjNM.js → promises-CqAmI39P.js} +3242 -556
- package/dist/service-map.d.ts +458 -36
- package/package.json +28 -8
package/dist/effect/email.d.ts
CHANGED
|
@@ -2,206 +2,28 @@ 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;
|
|
193
|
-
|
|
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;
|
|
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/
|
|
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;
|
|
201
23
|
} | undefined) => import("effect/Effect").Effect<{
|
|
202
24
|
readonly opens: boolean;
|
|
203
25
|
readonly clicks: boolean;
|
|
204
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
26
|
+
}, 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>;
|
|
205
27
|
export declare const getRecipientTrackingPreference: (input: {
|
|
206
28
|
readonly email: string;
|
|
207
29
|
}) => import("effect/Effect").Effect<{
|
|
@@ -210,7 +32,7 @@ export declare const getRecipientTrackingPreference: (input: {
|
|
|
210
32
|
readonly trackingOptedOutAt: string | null;
|
|
211
33
|
readonly createdAt: string | null;
|
|
212
34
|
readonly updatedAt: string | null;
|
|
213
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
35
|
+
}, 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>;
|
|
214
36
|
export declare const updateRecipientTrackingPreference: (input: {
|
|
215
37
|
readonly email: string;
|
|
216
38
|
readonly optedOut: boolean;
|
|
@@ -220,10 +42,10 @@ export declare const updateRecipientTrackingPreference: (input: {
|
|
|
220
42
|
readonly trackingOptedOutAt: string | null;
|
|
221
43
|
readonly createdAt: string | null;
|
|
222
44
|
readonly updatedAt: string | null;
|
|
223
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
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/unstable/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/unstable/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/
|
|
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;
|
|
@@ -335,7 +147,7 @@ export declare const addDomain: (input: {
|
|
|
335
147
|
};
|
|
336
148
|
readonly createdAt: string;
|
|
337
149
|
readonly updatedAt: string;
|
|
338
|
-
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
150
|
+
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").RateLimitedError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
339
151
|
export declare const rotateDomainDkim: (input: {
|
|
340
152
|
readonly id: string;
|
|
341
153
|
} & {
|
|
@@ -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/
|
|
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/
|
|
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<{
|
|
@@ -587,7 +399,7 @@ export declare const advanceDomainVerification: (input: {
|
|
|
587
399
|
};
|
|
588
400
|
readonly minimumRetainUntil: string | null;
|
|
589
401
|
} | null;
|
|
590
|
-
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
402
|
+
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").RateLimitedError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
591
403
|
export declare const getDomainById: (input: {
|
|
592
404
|
readonly id: string;
|
|
593
405
|
}) => import("effect/Effect").Effect<{
|
|
@@ -615,32 +427,32 @@ 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/
|
|
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/
|
|
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<{
|
|
628
440
|
readonly success: boolean;
|
|
629
441
|
readonly message: string;
|
|
630
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
442
|
+
}, 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>;
|
|
631
443
|
export declare const setDomainDefaultSender: (input: {
|
|
632
444
|
readonly id: string;
|
|
633
445
|
readonly senderId: string;
|
|
634
446
|
}) => import("effect/Effect").Effect<{
|
|
635
447
|
readonly success: boolean;
|
|
636
448
|
readonly message: string;
|
|
637
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
449
|
+
}, 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>;
|
|
638
450
|
export declare const clearDomainDefaultSender: (input: {
|
|
639
451
|
readonly id: string;
|
|
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/
|
|
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/
|
|
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/
|
|
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,13 +488,13 @@ 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/
|
|
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;
|
|
683
495
|
}) => import("effect/Effect").Effect<{
|
|
684
496
|
readonly url: string;
|
|
685
|
-
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
497
|
+
}, 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>;
|
|
686
498
|
export declare const completeDomainConnect: (input: {
|
|
687
499
|
readonly id: string;
|
|
688
500
|
readonly state: 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/
|
|
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;
|
|
@@ -700,7 +512,7 @@ export declare const enableReceiving: (input: {
|
|
|
700
512
|
}) => import("effect/Effect").Effect<{
|
|
701
513
|
readonly success: true;
|
|
702
514
|
readonly recipients: readonly string[];
|
|
703
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
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>;
|
|
704
516
|
export declare const enableCustomTracking: (input: {
|
|
705
517
|
readonly id: string;
|
|
706
518
|
readonly label?: string | null | undefined;
|
|
@@ -728,7 +540,7 @@ export declare const enableCustomTracking: (input: {
|
|
|
728
540
|
readonly verificationErrors: readonly string[];
|
|
729
541
|
readonly teardownScheduledAt: string | null;
|
|
730
542
|
} | null;
|
|
731
|
-
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
543
|
+
}, import("./generated").BillingProviderError | 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>;
|
|
732
544
|
export declare const getCustomTracking: (input: {
|
|
733
545
|
readonly id: string;
|
|
734
546
|
}) => import("effect/Effect").Effect<{
|
|
@@ -755,7 +567,7 @@ export declare const getCustomTracking: (input: {
|
|
|
755
567
|
readonly verificationErrors: readonly string[];
|
|
756
568
|
readonly teardownScheduledAt: string | null;
|
|
757
569
|
} | null;
|
|
758
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
570
|
+
}, 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>;
|
|
759
571
|
export declare const getCustomTrackingDomainConnect: (input: {
|
|
760
572
|
readonly id: string;
|
|
761
573
|
}) => import("effect/Effect").Effect<{
|
|
@@ -764,12 +576,12 @@ export declare const getCustomTrackingDomainConnect: (input: {
|
|
|
764
576
|
} | {
|
|
765
577
|
readonly eligible: true;
|
|
766
578
|
readonly providerName?: string | null;
|
|
767
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
579
|
+
}, 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
580
|
export declare const buildCustomTrackingDomainConnectApplyUrl: (input: {
|
|
769
581
|
readonly id: string;
|
|
770
582
|
}) => import("effect/Effect").Effect<{
|
|
771
583
|
readonly url: string;
|
|
772
|
-
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
584
|
+
}, 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>;
|
|
773
585
|
export declare const completeCustomTrackingDomainConnect: (input: {
|
|
774
586
|
readonly id: string;
|
|
775
587
|
readonly state: string;
|
|
@@ -777,13 +589,13 @@ export declare const completeCustomTrackingDomainConnect: (input: {
|
|
|
777
589
|
readonly errorDescription?: string | null | undefined;
|
|
778
590
|
}) => import("effect/Effect").Effect<{
|
|
779
591
|
readonly status: "applied" | "cancelled" | "failed" | "invalid" | "stale";
|
|
780
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
592
|
+
}, 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
593
|
export declare const disableCustomTracking: (input: {
|
|
782
594
|
readonly id: string;
|
|
783
595
|
}) => import("effect/Effect").Effect<{
|
|
784
596
|
readonly success: boolean;
|
|
785
597
|
readonly message: string;
|
|
786
|
-
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
598
|
+
}, 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
599
|
export declare const getDomainWarming: (input: {
|
|
788
600
|
readonly id: string;
|
|
789
601
|
}) => import("effect/Effect").Effect<{
|
|
@@ -849,7 +661,7 @@ export declare const getDomainWarming: (input: {
|
|
|
849
661
|
readonly workspacePauseReason: string | null;
|
|
850
662
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
851
663
|
};
|
|
852
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
664
|
+
}, 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
665
|
export declare const createDomainWarmingPlan: (input: {
|
|
854
666
|
readonly id: string;
|
|
855
667
|
readonly identity: string;
|
|
@@ -919,7 +731,7 @@ export declare const createDomainWarmingPlan: (input: {
|
|
|
919
731
|
readonly workspacePauseReason: string | null;
|
|
920
732
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
921
733
|
};
|
|
922
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
734
|
+
}, 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>;
|
|
923
735
|
export declare const updateDomainWarmingPolicy: (input: {
|
|
924
736
|
readonly id: string;
|
|
925
737
|
readonly dailyGrowthPercent: number;
|
|
@@ -988,7 +800,7 @@ export declare const updateDomainWarmingPolicy: (input: {
|
|
|
988
800
|
readonly workspacePauseReason: string | null;
|
|
989
801
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
990
802
|
};
|
|
991
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
803
|
+
}, 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>;
|
|
992
804
|
export declare const cancelDomainWarmingBatch: (input: {
|
|
993
805
|
readonly id: string;
|
|
994
806
|
readonly batchId: string;
|
|
@@ -1055,7 +867,7 @@ export declare const cancelDomainWarmingBatch: (input: {
|
|
|
1055
867
|
readonly workspacePauseReason: string | null;
|
|
1056
868
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1057
869
|
};
|
|
1058
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
870
|
+
}, 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
871
|
export declare const pauseDomainWarming: (input: {
|
|
1060
872
|
readonly id: string;
|
|
1061
873
|
readonly note?: string | null | undefined;
|
|
@@ -1122,7 +934,7 @@ export declare const pauseDomainWarming: (input: {
|
|
|
1122
934
|
readonly workspacePauseReason: string | null;
|
|
1123
935
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1124
936
|
};
|
|
1125
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
937
|
+
}, 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
938
|
export declare const resumeDomainWarming: (input: {
|
|
1127
939
|
readonly id: string;
|
|
1128
940
|
readonly note?: string | null | undefined;
|
|
@@ -1189,7 +1001,7 @@ export declare const resumeDomainWarming: (input: {
|
|
|
1189
1001
|
readonly workspacePauseReason: string | null;
|
|
1190
1002
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1191
1003
|
};
|
|
1192
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1004
|
+
}, 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
1005
|
export declare const completeDomainWarming: (input: {
|
|
1194
1006
|
readonly id: string;
|
|
1195
1007
|
readonly note?: string | null | undefined;
|
|
@@ -1256,7 +1068,7 @@ export declare const completeDomainWarming: (input: {
|
|
|
1256
1068
|
readonly workspacePauseReason: string | null;
|
|
1257
1069
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1258
1070
|
};
|
|
1259
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1071
|
+
}, 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
1072
|
export declare const getOnboardingReview: (_?: never) => import("effect/Effect").Effect<{
|
|
1261
1073
|
readonly decision: "approved" | "rejected" | "undecided";
|
|
1262
1074
|
readonly trustTier: "established" | "probation" | "screened";
|
|
@@ -1282,7 +1094,7 @@ export declare const getOnboardingReview: (_?: never) => import("effect/Effect")
|
|
|
1282
1094
|
readonly updatedAt: string;
|
|
1283
1095
|
}[];
|
|
1284
1096
|
readonly updatedAt: string | null;
|
|
1285
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1097
|
+
}, 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
1098
|
export declare const reapplyOnboardingReview: (input: {
|
|
1287
1099
|
readonly expectedGeneration: number;
|
|
1288
1100
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1310,7 +1122,7 @@ export declare const reapplyOnboardingReview: (input: {
|
|
|
1310
1122
|
readonly updatedAt: string;
|
|
1311
1123
|
}[];
|
|
1312
1124
|
readonly updatedAt: string | null;
|
|
1313
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1125
|
+
}, 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
1126
|
export declare const respondToOnboardingInformationRequest: (input: {
|
|
1315
1127
|
readonly expectedGeneration: number;
|
|
1316
1128
|
readonly responseText: string;
|
|
@@ -1340,10 +1152,10 @@ export declare const respondToOnboardingInformationRequest: (input: {
|
|
|
1340
1152
|
readonly updatedAt: string;
|
|
1341
1153
|
}[];
|
|
1342
1154
|
readonly updatedAt: string | null;
|
|
1343
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1155
|
+
}, 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
1156
|
export declare const listSenders: ((input?: {
|
|
1345
|
-
readonly page?: string | null | undefined;
|
|
1346
1157
|
readonly limit?: string | null | undefined;
|
|
1158
|
+
readonly cursor?: string | null | undefined;
|
|
1347
1159
|
readonly verificationStatus?: string | null | undefined;
|
|
1348
1160
|
readonly isActive?: string | null | undefined;
|
|
1349
1161
|
readonly isDefault?: string | null | undefined;
|
|
@@ -1372,16 +1184,11 @@ export declare const listSenders: ((input?: {
|
|
|
1372
1184
|
readonly createdAt: string;
|
|
1373
1185
|
readonly updatedAt: string;
|
|
1374
1186
|
}[];
|
|
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/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>) & {
|
|
1187
|
+
readonly nextCursor: string | null;
|
|
1188
|
+
}, 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
1189
|
readonly pages: (input?: {
|
|
1383
|
-
readonly page?: string | null | undefined;
|
|
1384
1190
|
readonly limit?: string | null | undefined;
|
|
1191
|
+
readonly cursor?: string | null | undefined;
|
|
1385
1192
|
readonly verificationStatus?: string | null | undefined;
|
|
1386
1193
|
readonly isActive?: string | null | undefined;
|
|
1387
1194
|
readonly isDefault?: string | null | undefined;
|
|
@@ -1410,16 +1217,11 @@ export declare const listSenders: ((input?: {
|
|
|
1410
1217
|
readonly createdAt: string;
|
|
1411
1218
|
readonly updatedAt: string;
|
|
1412
1219
|
}[];
|
|
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/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1220
|
+
readonly nextCursor: string | null;
|
|
1221
|
+
}, 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
1222
|
readonly items: (input?: {
|
|
1421
|
-
readonly page?: string | null | undefined;
|
|
1422
1223
|
readonly limit?: string | null | undefined;
|
|
1224
|
+
readonly cursor?: string | null | undefined;
|
|
1423
1225
|
readonly verificationStatus?: string | null | undefined;
|
|
1424
1226
|
readonly isActive?: string | null | undefined;
|
|
1425
1227
|
readonly isDefault?: string | null | undefined;
|
|
@@ -1446,7 +1248,7 @@ export declare const listSenders: ((input?: {
|
|
|
1446
1248
|
readonly isActive: boolean;
|
|
1447
1249
|
readonly createdAt: string;
|
|
1448
1250
|
readonly updatedAt: string;
|
|
1449
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1251
|
+
}, 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
1252
|
};
|
|
1451
1253
|
export declare const getSender: (input: {
|
|
1452
1254
|
readonly id: string;
|
|
@@ -1473,7 +1275,7 @@ export declare const getSender: (input: {
|
|
|
1473
1275
|
readonly isActive: boolean;
|
|
1474
1276
|
readonly createdAt: string;
|
|
1475
1277
|
readonly updatedAt: string;
|
|
1476
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1278
|
+
}, 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
1279
|
export declare const addSender: (input: EmailAddSenderInput, options?: SendOptions | undefined) => import("effect/Effect").Effect<{
|
|
1478
1280
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
1479
1281
|
readonly email: string;
|
|
@@ -1481,7 +1283,7 @@ export declare const addSender: (input: EmailAddSenderInput, options?: SendOptio
|
|
|
1481
1283
|
readonly providerLifecycle: "active" | "deleting" | "failed" | "provisioning";
|
|
1482
1284
|
readonly providerFailureCode: string | null;
|
|
1483
1285
|
readonly createdAt: string;
|
|
1484
|
-
}, import("./generated").ConflictError | import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1286
|
+
}, import("./generated").ConflictError | 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>;
|
|
1485
1287
|
export declare const checkSenderVerification: (input: {
|
|
1486
1288
|
readonly id: string;
|
|
1487
1289
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1489,22 +1291,22 @@ export declare const checkSenderVerification: (input: {
|
|
|
1489
1291
|
readonly email: string;
|
|
1490
1292
|
readonly status: "failed" | "pending" | "verified";
|
|
1491
1293
|
readonly verifiedAt: string | null;
|
|
1492
|
-
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1294
|
+
}, 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
1295
|
export declare const removeSender: (input: {
|
|
1494
1296
|
readonly id: string;
|
|
1495
1297
|
}) => import("effect/Effect").Effect<{
|
|
1496
1298
|
readonly success: boolean;
|
|
1497
1299
|
readonly message: string;
|
|
1498
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1300
|
+
}, 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>;
|
|
1499
1301
|
export declare const setDefaultSender: (input: {
|
|
1500
1302
|
readonly id: string;
|
|
1501
1303
|
}) => import("effect/Effect").Effect<{
|
|
1502
1304
|
readonly success: boolean;
|
|
1503
1305
|
readonly message: string;
|
|
1504
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1306
|
+
}, 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
1307
|
export declare const getStats: (input?: {
|
|
1506
|
-
readonly
|
|
1507
|
-
readonly
|
|
1308
|
+
readonly after?: string | null | undefined;
|
|
1309
|
+
readonly before?: string | null | undefined;
|
|
1508
1310
|
} | undefined) => import("effect/Effect").Effect<{
|
|
1509
1311
|
readonly totalSent: number;
|
|
1510
1312
|
readonly totalDelivered: number;
|
|
@@ -1513,18 +1315,18 @@ export declare const getStats: (input?: {
|
|
|
1513
1315
|
readonly deliveryRate: number;
|
|
1514
1316
|
readonly bounceRate: number;
|
|
1515
1317
|
readonly complaintRate: number;
|
|
1516
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1318
|
+
}, 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
1319
|
export declare const enableCatchAll: (input: {
|
|
1518
|
-
readonly
|
|
1320
|
+
readonly id: string;
|
|
1519
1321
|
readonly endpointId: string;
|
|
1520
1322
|
}) => import("effect/Effect").Effect<{
|
|
1521
1323
|
readonly success: true;
|
|
1522
|
-
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1324
|
+
}, 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
1325
|
export declare const disableCatchAll: (input: {
|
|
1524
|
-
readonly
|
|
1326
|
+
readonly id: string;
|
|
1525
1327
|
}) => import("effect/Effect").Effect<{
|
|
1526
1328
|
readonly success: true;
|
|
1527
|
-
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1329
|
+
}, 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>;
|
|
1528
1330
|
export declare const getCatchAllConfig: (input: {
|
|
1529
1331
|
readonly domainId: string;
|
|
1530
1332
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1532,17 +1334,17 @@ export declare const getCatchAllConfig: (input: {
|
|
|
1532
1334
|
readonly endpointId: (string & import("effect/Brand").Brand<"WebhookEndpointId">) | null;
|
|
1533
1335
|
readonly emailCount: number;
|
|
1534
1336
|
readonly lastEmailAt: string | null;
|
|
1535
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1337
|
+
}, 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
1338
|
export declare const updateCatchAllConfig: (input: {
|
|
1537
1339
|
readonly domainId: string;
|
|
1538
1340
|
readonly endpointId?: string | null | undefined;
|
|
1539
1341
|
}) => import("effect/Effect").Effect<{
|
|
1540
1342
|
readonly success: true;
|
|
1541
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1343
|
+
}, 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
1344
|
export declare const getCatchAllStats: (input: {
|
|
1543
1345
|
readonly domainId: string;
|
|
1544
|
-
readonly
|
|
1545
|
-
readonly
|
|
1346
|
+
readonly after?: string | null | undefined;
|
|
1347
|
+
readonly before?: string | null | undefined;
|
|
1546
1348
|
}) => import("effect/Effect").Effect<{
|
|
1547
1349
|
readonly domain: string;
|
|
1548
1350
|
readonly isCatchAllEnabled: boolean;
|
|
@@ -1554,15 +1356,15 @@ export declare const getCatchAllStats: (input: {
|
|
|
1554
1356
|
readonly lastEmail: string | null;
|
|
1555
1357
|
readonly avgPerDay: number;
|
|
1556
1358
|
} | null;
|
|
1557
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1558
|
-
export declare const listSuppressions: (input?: {
|
|
1359
|
+
}, 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>;
|
|
1360
|
+
export declare const listSuppressions: ((input?: {
|
|
1559
1361
|
readonly type?: string | null | undefined;
|
|
1560
1362
|
readonly status?: string | null | undefined;
|
|
1561
1363
|
readonly search?: string | null | undefined;
|
|
1562
1364
|
readonly limit?: string | null | undefined;
|
|
1563
|
-
readonly
|
|
1365
|
+
readonly cursor?: string | null | undefined;
|
|
1564
1366
|
} | undefined) => import("effect/Effect").Effect<{
|
|
1565
|
-
readonly
|
|
1367
|
+
readonly items: readonly {
|
|
1566
1368
|
readonly id: string & import("effect/Brand").Brand<"SuppressionId">;
|
|
1567
1369
|
readonly email: string;
|
|
1568
1370
|
readonly type: "bounce" | "complaint" | "manual" | "unsubscribe";
|
|
@@ -1574,21 +1376,67 @@ export declare const listSuppressions: (input?: {
|
|
|
1574
1376
|
readonly expiresAt: string | null;
|
|
1575
1377
|
readonly createdAt: string;
|
|
1576
1378
|
}[];
|
|
1577
|
-
readonly
|
|
1578
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1379
|
+
readonly nextCursor: string | null;
|
|
1380
|
+
}, 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>) & {
|
|
1381
|
+
readonly pages: (input?: {
|
|
1382
|
+
readonly type?: string | null | undefined;
|
|
1383
|
+
readonly status?: string | null | undefined;
|
|
1384
|
+
readonly search?: string | null | undefined;
|
|
1385
|
+
readonly limit?: string | null | undefined;
|
|
1386
|
+
readonly cursor?: string | null | undefined;
|
|
1387
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
1388
|
+
readonly items: readonly {
|
|
1389
|
+
readonly id: string & import("effect/Brand").Brand<"SuppressionId">;
|
|
1390
|
+
readonly email: string;
|
|
1391
|
+
readonly type: "bounce" | "complaint" | "manual" | "unsubscribe";
|
|
1392
|
+
readonly bounceType: string | null;
|
|
1393
|
+
readonly bounceSubType: string | null;
|
|
1394
|
+
readonly reason: string | null;
|
|
1395
|
+
readonly messageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
1396
|
+
readonly isActive: boolean;
|
|
1397
|
+
readonly expiresAt: string | null;
|
|
1398
|
+
readonly createdAt: string;
|
|
1399
|
+
}[];
|
|
1400
|
+
readonly nextCursor: string | null;
|
|
1401
|
+
}, 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>;
|
|
1402
|
+
readonly items: (input?: {
|
|
1403
|
+
readonly type?: string | null | undefined;
|
|
1404
|
+
readonly status?: string | null | undefined;
|
|
1405
|
+
readonly search?: string | null | undefined;
|
|
1406
|
+
readonly limit?: string | null | undefined;
|
|
1407
|
+
readonly cursor?: string | null | undefined;
|
|
1408
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
1409
|
+
readonly id: string & import("effect/Brand").Brand<"SuppressionId">;
|
|
1410
|
+
readonly email: string;
|
|
1411
|
+
readonly type: "bounce" | "complaint" | "manual" | "unsubscribe";
|
|
1412
|
+
readonly bounceType: string | null;
|
|
1413
|
+
readonly bounceSubType: string | null;
|
|
1414
|
+
readonly reason: string | null;
|
|
1415
|
+
readonly messageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
1416
|
+
readonly isActive: boolean;
|
|
1417
|
+
readonly expiresAt: string | null;
|
|
1418
|
+
readonly createdAt: string;
|
|
1419
|
+
}, 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
|
+
};
|
|
1421
|
+
export declare const countSuppressions: (_?: never) => import("effect/Effect").Effect<{
|
|
1422
|
+
readonly bounce: number;
|
|
1423
|
+
readonly complaint: number;
|
|
1424
|
+
readonly unsubscribe: number;
|
|
1425
|
+
readonly manual: number;
|
|
1426
|
+
}, 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
1427
|
export declare const removeSuppression: (input: {
|
|
1580
1428
|
readonly id: string;
|
|
1581
1429
|
}) => import("effect/Effect").Effect<{
|
|
1582
1430
|
readonly success: boolean;
|
|
1583
1431
|
readonly message: string;
|
|
1584
|
-
}, import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1585
|
-
export declare const listBlocks: (input?: {
|
|
1432
|
+
}, 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>;
|
|
1433
|
+
export declare const listBlocks: ((input?: {
|
|
1586
1434
|
readonly blockType?: string | null | undefined;
|
|
1587
1435
|
readonly isActive?: string | null | undefined;
|
|
1588
1436
|
readonly limit?: string | null | undefined;
|
|
1589
|
-
readonly
|
|
1437
|
+
readonly cursor?: string | null | undefined;
|
|
1590
1438
|
} | undefined) => import("effect/Effect").Effect<{
|
|
1591
|
-
readonly
|
|
1439
|
+
readonly items: readonly {
|
|
1592
1440
|
readonly id: string & import("effect/Brand").Brand<"BlockedEmailId">;
|
|
1593
1441
|
readonly blockType: "domain" | "email";
|
|
1594
1442
|
readonly blockValue: string;
|
|
@@ -1600,8 +1448,46 @@ export declare const listBlocks: (input?: {
|
|
|
1600
1448
|
readonly expiresAt: string | null;
|
|
1601
1449
|
readonly createdAt: string;
|
|
1602
1450
|
}[];
|
|
1603
|
-
readonly
|
|
1604
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1451
|
+
readonly nextCursor: string | null;
|
|
1452
|
+
}, 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>) & {
|
|
1453
|
+
readonly pages: (input?: {
|
|
1454
|
+
readonly blockType?: string | null | undefined;
|
|
1455
|
+
readonly isActive?: string | null | undefined;
|
|
1456
|
+
readonly limit?: string | null | undefined;
|
|
1457
|
+
readonly cursor?: string | null | undefined;
|
|
1458
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
1459
|
+
readonly items: readonly {
|
|
1460
|
+
readonly id: string & import("effect/Brand").Brand<"BlockedEmailId">;
|
|
1461
|
+
readonly blockType: "domain" | "email";
|
|
1462
|
+
readonly blockValue: string;
|
|
1463
|
+
readonly reason: string;
|
|
1464
|
+
readonly notes: string | null;
|
|
1465
|
+
readonly isActive: boolean;
|
|
1466
|
+
readonly blockCount: number;
|
|
1467
|
+
readonly lastBlockedAt: string | null;
|
|
1468
|
+
readonly expiresAt: string | null;
|
|
1469
|
+
readonly createdAt: string;
|
|
1470
|
+
}[];
|
|
1471
|
+
readonly nextCursor: string | null;
|
|
1472
|
+
}, 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>;
|
|
1473
|
+
readonly items: (input?: {
|
|
1474
|
+
readonly blockType?: string | null | undefined;
|
|
1475
|
+
readonly isActive?: string | null | undefined;
|
|
1476
|
+
readonly limit?: string | null | undefined;
|
|
1477
|
+
readonly cursor?: string | null | undefined;
|
|
1478
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
1479
|
+
readonly id: string & import("effect/Brand").Brand<"BlockedEmailId">;
|
|
1480
|
+
readonly blockType: "domain" | "email";
|
|
1481
|
+
readonly blockValue: string;
|
|
1482
|
+
readonly reason: string;
|
|
1483
|
+
readonly notes: string | null;
|
|
1484
|
+
readonly isActive: boolean;
|
|
1485
|
+
readonly blockCount: number;
|
|
1486
|
+
readonly lastBlockedAt: string | null;
|
|
1487
|
+
readonly expiresAt: string | null;
|
|
1488
|
+
readonly createdAt: string;
|
|
1489
|
+
}, 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>;
|
|
1490
|
+
};
|
|
1605
1491
|
export declare const addBlock: (input: {
|
|
1606
1492
|
readonly blockType: string;
|
|
1607
1493
|
readonly blockValue: string;
|
|
@@ -1617,13 +1503,13 @@ export declare const addBlock: (input: {
|
|
|
1617
1503
|
readonly isActive: boolean;
|
|
1618
1504
|
readonly expiresAt: string | null;
|
|
1619
1505
|
readonly createdAt: string;
|
|
1620
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1506
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1621
1507
|
export declare const removeBlock: (input: {
|
|
1622
1508
|
readonly id: string;
|
|
1623
1509
|
}) => import("effect/Effect").Effect<{
|
|
1624
1510
|
readonly success: boolean;
|
|
1625
1511
|
readonly message: string;
|
|
1626
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1512
|
+
}, 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
1513
|
export declare const updateBlock: (input: {
|
|
1628
1514
|
readonly id: string;
|
|
1629
1515
|
readonly reason?: string | null | undefined;
|
|
@@ -1639,16 +1525,16 @@ export declare const updateBlock: (input: {
|
|
|
1639
1525
|
readonly isActive: boolean;
|
|
1640
1526
|
readonly expiresAt: string | null;
|
|
1641
1527
|
readonly updatedAt: string;
|
|
1642
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1643
|
-
export declare const getBlockLogs: (input?: {
|
|
1528
|
+
}, 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>;
|
|
1529
|
+
export declare const getBlockLogs: ((input?: {
|
|
1644
1530
|
readonly blockedEmailId?: string | null | undefined;
|
|
1645
1531
|
readonly fromAddress?: string | null | undefined;
|
|
1646
|
-
readonly
|
|
1647
|
-
readonly
|
|
1532
|
+
readonly after?: string | null | undefined;
|
|
1533
|
+
readonly before?: string | null | undefined;
|
|
1648
1534
|
readonly limit?: string | null | undefined;
|
|
1649
|
-
readonly
|
|
1535
|
+
readonly cursor?: string | null | undefined;
|
|
1650
1536
|
} | undefined) => import("effect/Effect").Effect<{
|
|
1651
|
-
readonly
|
|
1537
|
+
readonly items: readonly {
|
|
1652
1538
|
readonly id: string & import("effect/Brand").Brand<"BlockedEmailLogId">;
|
|
1653
1539
|
readonly fromAddress: string;
|
|
1654
1540
|
readonly toAddress: string;
|
|
@@ -1661,8 +1547,52 @@ export declare const getBlockLogs: (input?: {
|
|
|
1661
1547
|
readonly dmarcResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1662
1548
|
readonly blockedAt: string;
|
|
1663
1549
|
}[];
|
|
1664
|
-
readonly
|
|
1665
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1550
|
+
readonly nextCursor: string | null;
|
|
1551
|
+
}, 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>) & {
|
|
1552
|
+
readonly pages: (input?: {
|
|
1553
|
+
readonly blockedEmailId?: string | null | undefined;
|
|
1554
|
+
readonly fromAddress?: string | null | undefined;
|
|
1555
|
+
readonly after?: string | null | undefined;
|
|
1556
|
+
readonly before?: string | null | undefined;
|
|
1557
|
+
readonly limit?: string | null | undefined;
|
|
1558
|
+
readonly cursor?: string | null | undefined;
|
|
1559
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
1560
|
+
readonly items: readonly {
|
|
1561
|
+
readonly id: string & import("effect/Brand").Brand<"BlockedEmailLogId">;
|
|
1562
|
+
readonly fromAddress: string;
|
|
1563
|
+
readonly toAddress: string;
|
|
1564
|
+
readonly subject: string | null;
|
|
1565
|
+
readonly blockType: "domain" | "email";
|
|
1566
|
+
readonly blockValue: string;
|
|
1567
|
+
readonly blockReason: string;
|
|
1568
|
+
readonly spfResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1569
|
+
readonly dkimResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1570
|
+
readonly dmarcResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1571
|
+
readonly blockedAt: string;
|
|
1572
|
+
}[];
|
|
1573
|
+
readonly nextCursor: string | null;
|
|
1574
|
+
}, 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>;
|
|
1575
|
+
readonly items: (input?: {
|
|
1576
|
+
readonly blockedEmailId?: string | null | undefined;
|
|
1577
|
+
readonly fromAddress?: string | null | undefined;
|
|
1578
|
+
readonly after?: string | null | undefined;
|
|
1579
|
+
readonly before?: string | null | undefined;
|
|
1580
|
+
readonly limit?: string | null | undefined;
|
|
1581
|
+
readonly cursor?: string | null | undefined;
|
|
1582
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
1583
|
+
readonly id: string & import("effect/Brand").Brand<"BlockedEmailLogId">;
|
|
1584
|
+
readonly fromAddress: string;
|
|
1585
|
+
readonly toAddress: string;
|
|
1586
|
+
readonly subject: string | null;
|
|
1587
|
+
readonly blockType: "domain" | "email";
|
|
1588
|
+
readonly blockValue: string;
|
|
1589
|
+
readonly blockReason: string;
|
|
1590
|
+
readonly spfResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1591
|
+
readonly dkimResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1592
|
+
readonly dmarcResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1593
|
+
readonly blockedAt: string;
|
|
1594
|
+
}, 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>;
|
|
1595
|
+
};
|
|
1666
1596
|
export declare const checkBlocked: (input: {
|
|
1667
1597
|
readonly emailAddress: string;
|
|
1668
1598
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1675,14 +1605,12 @@ export declare const checkBlocked: (input: {
|
|
|
1675
1605
|
readonly expiresAt: string | null;
|
|
1676
1606
|
} | null;
|
|
1677
1607
|
readonly reason: string | null;
|
|
1678
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1608
|
+
}, 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
1609
|
export declare const listForwardingRules: (input?: {
|
|
1680
1610
|
readonly domainId?: string | null | undefined;
|
|
1681
1611
|
readonly isActive?: string | null | undefined;
|
|
1682
|
-
readonly limit?: string | null | undefined;
|
|
1683
|
-
readonly offset?: string | null | undefined;
|
|
1684
1612
|
} | undefined) => import("effect/Effect").Effect<{
|
|
1685
|
-
readonly
|
|
1613
|
+
readonly items: readonly {
|
|
1686
1614
|
readonly id: string & import("effect/Brand").Brand<"EmailForwardingRuleId">;
|
|
1687
1615
|
readonly name: string;
|
|
1688
1616
|
readonly description: string | null;
|
|
@@ -1696,8 +1624,7 @@ export declare const listForwardingRules: (input?: {
|
|
|
1696
1624
|
readonly lastForwardedAt: string | null;
|
|
1697
1625
|
readonly createdAt: string;
|
|
1698
1626
|
}[];
|
|
1699
|
-
|
|
1700
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1627
|
+
}, 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
1628
|
export declare const createForwardingRule: (input: {
|
|
1702
1629
|
readonly name: string;
|
|
1703
1630
|
readonly description?: string | null | undefined;
|
|
@@ -1747,13 +1674,13 @@ export declare const createForwardingRule: (input: {
|
|
|
1747
1674
|
readonly priority: number;
|
|
1748
1675
|
readonly isActive: boolean;
|
|
1749
1676
|
readonly createdAt: string;
|
|
1750
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1677
|
+
}, 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
1678
|
export declare const deleteForwardingRule: (input: {
|
|
1752
1679
|
readonly id: string;
|
|
1753
1680
|
}) => import("effect/Effect").Effect<{
|
|
1754
1681
|
readonly success: boolean;
|
|
1755
1682
|
readonly message: string;
|
|
1756
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1683
|
+
}, 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
1684
|
export declare const updateForwardingRule: (input: {
|
|
1758
1685
|
readonly id: string;
|
|
1759
1686
|
readonly name?: string | null | undefined;
|
|
@@ -1804,16 +1731,16 @@ export declare const updateForwardingRule: (input: {
|
|
|
1804
1731
|
readonly priority: number;
|
|
1805
1732
|
readonly isActive: boolean;
|
|
1806
1733
|
readonly updatedAt: string;
|
|
1807
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
1808
|
-
export declare const getForwardingLog: (input?: {
|
|
1734
|
+
}, 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>;
|
|
1735
|
+
export declare const getForwardingLog: ((input?: {
|
|
1809
1736
|
readonly forwardingRuleId?: string | null | undefined;
|
|
1810
1737
|
readonly status?: string | null | undefined;
|
|
1811
|
-
readonly
|
|
1812
|
-
readonly
|
|
1738
|
+
readonly after?: string | null | undefined;
|
|
1739
|
+
readonly before?: string | null | undefined;
|
|
1813
1740
|
readonly limit?: string | null | undefined;
|
|
1814
|
-
readonly
|
|
1741
|
+
readonly cursor?: string | null | undefined;
|
|
1815
1742
|
} | undefined) => import("effect/Effect").Effect<{
|
|
1816
|
-
readonly
|
|
1743
|
+
readonly items: readonly {
|
|
1817
1744
|
readonly id: string;
|
|
1818
1745
|
readonly forwardingRuleId: (string & import("effect/Brand").Brand<"EmailForwardingRuleId">) | null;
|
|
1819
1746
|
readonly originalFromAddress: string;
|
|
@@ -1822,14 +1749,53 @@ export declare const getForwardingLog: (input?: {
|
|
|
1822
1749
|
readonly forwardedTo: readonly string[];
|
|
1823
1750
|
readonly status: "failed" | "forwarded" | "pending";
|
|
1824
1751
|
readonly errorMessage: string | null;
|
|
1752
|
+
readonly messageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
1825
1753
|
readonly forwardedAt: string | null;
|
|
1826
1754
|
readonly createdAt: string;
|
|
1827
1755
|
}[];
|
|
1828
|
-
readonly
|
|
1829
|
-
|
|
1830
|
-
readonly
|
|
1831
|
-
readonly
|
|
1832
|
-
readonly
|
|
1833
|
-
readonly
|
|
1834
|
-
|
|
1835
|
-
|
|
1756
|
+
readonly nextCursor: string | null;
|
|
1757
|
+
}, 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>) & {
|
|
1758
|
+
readonly pages: (input?: {
|
|
1759
|
+
readonly forwardingRuleId?: string | null | undefined;
|
|
1760
|
+
readonly status?: string | null | undefined;
|
|
1761
|
+
readonly after?: string | null | undefined;
|
|
1762
|
+
readonly before?: string | null | undefined;
|
|
1763
|
+
readonly limit?: string | null | undefined;
|
|
1764
|
+
readonly cursor?: string | null | undefined;
|
|
1765
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
1766
|
+
readonly items: readonly {
|
|
1767
|
+
readonly id: string;
|
|
1768
|
+
readonly forwardingRuleId: (string & import("effect/Brand").Brand<"EmailForwardingRuleId">) | null;
|
|
1769
|
+
readonly originalFromAddress: string;
|
|
1770
|
+
readonly originalToAddress: string;
|
|
1771
|
+
readonly originalSubject: string | null;
|
|
1772
|
+
readonly forwardedTo: readonly string[];
|
|
1773
|
+
readonly status: "failed" | "forwarded" | "pending";
|
|
1774
|
+
readonly errorMessage: string | null;
|
|
1775
|
+
readonly messageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
1776
|
+
readonly forwardedAt: string | null;
|
|
1777
|
+
readonly createdAt: string;
|
|
1778
|
+
}[];
|
|
1779
|
+
readonly nextCursor: string | null;
|
|
1780
|
+
}, 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>;
|
|
1781
|
+
readonly items: (input?: {
|
|
1782
|
+
readonly forwardingRuleId?: string | null | undefined;
|
|
1783
|
+
readonly status?: string | null | undefined;
|
|
1784
|
+
readonly after?: string | null | undefined;
|
|
1785
|
+
readonly before?: string | null | undefined;
|
|
1786
|
+
readonly limit?: string | null | undefined;
|
|
1787
|
+
readonly cursor?: string | null | undefined;
|
|
1788
|
+
} | undefined) => import("effect/Stream").Stream<{
|
|
1789
|
+
readonly id: string;
|
|
1790
|
+
readonly forwardingRuleId: (string & import("effect/Brand").Brand<"EmailForwardingRuleId">) | null;
|
|
1791
|
+
readonly originalFromAddress: string;
|
|
1792
|
+
readonly originalToAddress: string;
|
|
1793
|
+
readonly originalSubject: string | null;
|
|
1794
|
+
readonly forwardedTo: readonly string[];
|
|
1795
|
+
readonly status: "failed" | "forwarded" | "pending";
|
|
1796
|
+
readonly errorMessage: string | null;
|
|
1797
|
+
readonly messageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
1798
|
+
readonly forwardedAt: string | null;
|
|
1799
|
+
readonly createdAt: string;
|
|
1800
|
+
}, 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>;
|
|
1801
|
+
};
|