samva 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +3 -2
- package/README.md +12 -2
- package/dist/{categories-CsUa8ojo.js → categories-4u9Az4No.js} +28 -8
- package/dist/client/sdk.gen.d.ts +545 -74
- package/dist/client/types.gen.d.ts +3907 -747
- package/dist/{client-BmZK_uCt.js → client-DCM6U0-I.js} +3061 -808
- package/dist/{client-attribution-BslSOa_8.js → client-attribution-DYUSAa76.js} +2 -2
- package/dist/effect/analytics.d.ts +66 -0
- package/dist/effect/analytics.js +21 -0
- package/dist/effect/api-keys.d.ts +198 -34
- package/dist/effect/api-keys.js +1 -1
- package/dist/effect/attachments.d.ts +53 -0
- package/dist/effect/attachments.js +17 -0
- package/dist/effect/campaigns.d.ts +52 -18
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/categories.d.ts +3 -3
- package/dist/effect/categories.js +1 -1
- package/dist/effect/client.js +1 -1
- package/dist/effect/contact-groups.d.ts +375 -0
- package/dist/effect/contact-groups.js +29 -0
- package/dist/effect/contacts.d.ts +35 -19
- package/dist/effect/contacts.js +1 -1
- package/dist/effect/conversations.d.ts +191 -44
- package/dist/effect/conversations.js +1 -1
- package/dist/effect/custom-fields.d.ts +111 -0
- package/dist/effect/custom-fields.js +17 -0
- package/dist/effect/design.d.ts +2 -2
- package/dist/effect/design.js +1 -1
- package/dist/effect/email.d.ts +931 -97
- package/dist/effect/email.js +27 -3
- package/dist/effect/generated-metadata.d.ts +16 -4
- package/dist/effect/generated.d.ts +19596 -10819
- package/dist/effect/index.d.ts +6 -1
- package/dist/effect/index.js +8 -3
- package/dist/effect/internal/operation.d.ts +124 -26
- package/dist/effect/media.d.ts +8 -8
- package/dist/effect/media.js +1 -1
- package/dist/effect/messages.d.ts +473 -64
- package/dist/effect/messages.js +5 -3
- package/dist/effect/operations.d.ts +6 -6
- package/dist/effect/operations.js +1 -1
- package/dist/effect/organizations.d.ts +7 -110
- package/dist/effect/organizations.js +2 -4
- package/dist/effect/retry.js +1 -1
- package/dist/effect/scheduled-messages.d.ts +96 -12
- package/dist/effect/scheduled-messages.js +5 -3
- package/dist/effect/templates.d.ts +35 -295
- package/dist/effect/templates.js +3 -5
- package/dist/effect/unsubscribe-groups.d.ts +161 -0
- package/dist/effect/unsubscribe-groups.js +25 -0
- package/dist/effect/webhooks.d.ts +52 -18
- package/dist/effect/webhooks.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{normalize-BiIJnycv.js → normalize-B79uJIeb.js} +13 -14
- package/dist/normalize.d.ts +3 -7
- package/dist/{operation-B1knNlxk.js → operation-02YX3hY9.js} +144 -8
- package/dist/promises/errors.gen.d.ts +47 -39
- package/dist/promises/index.d.ts +19 -4
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-n1opem5V.js → promises-8MaPNAam.js} +1679 -267
- package/dist/service-map.d.ts +221 -8
- package/package.json +29 -9
package/dist/effect/email.d.ts
CHANGED
|
@@ -12,7 +12,33 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
12
12
|
} | null;
|
|
13
13
|
readonly channel: "email";
|
|
14
14
|
readonly direction: "inbound" | "outbound";
|
|
15
|
-
readonly content:
|
|
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
|
+
};
|
|
16
42
|
readonly metadata: {
|
|
17
43
|
readonly [x: string]: import("./generated").JsonValue;
|
|
18
44
|
} | null;
|
|
@@ -21,17 +47,28 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
21
47
|
readonly tags: readonly string[];
|
|
22
48
|
readonly categories: readonly string[];
|
|
23
49
|
readonly isTest: boolean;
|
|
24
|
-
readonly isInternal: boolean;
|
|
25
|
-
readonly isAutomated: boolean;
|
|
26
50
|
readonly externalId: string | null;
|
|
27
51
|
readonly referenceId: string | null;
|
|
28
|
-
readonly
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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;
|
|
32
70
|
readonly createdAt: string;
|
|
33
71
|
readonly updatedAt: string;
|
|
34
|
-
readonly createdBy: string | null;
|
|
35
72
|
readonly fromContact: {
|
|
36
73
|
readonly id: string;
|
|
37
74
|
readonly name: string;
|
|
@@ -78,6 +115,11 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
78
115
|
} | null;
|
|
79
116
|
}[];
|
|
80
117
|
readonly deliveries: readonly {
|
|
118
|
+
readonly scheduling: {
|
|
119
|
+
readonly dueAt: string;
|
|
120
|
+
readonly expiresAt: string;
|
|
121
|
+
readonly waitReason: "campaign-paused" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "rate" | "retry" | "sending-paused" | "upstream-unavailable" | null;
|
|
122
|
+
} | null;
|
|
81
123
|
readonly id: string;
|
|
82
124
|
readonly messageId: string;
|
|
83
125
|
readonly recipientId: string | null;
|
|
@@ -96,17 +138,24 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
96
138
|
readonly terminalAt: string | null;
|
|
97
139
|
readonly errorCode: string | null;
|
|
98
140
|
readonly errorMessage: string | null;
|
|
99
|
-
readonly errorDetails:
|
|
141
|
+
readonly errorDetails: {
|
|
142
|
+
readonly code?: string | null;
|
|
143
|
+
readonly name?: string | null;
|
|
144
|
+
readonly message?: string | null;
|
|
145
|
+
readonly details?: {
|
|
146
|
+
readonly [x: string]: string | number | null;
|
|
147
|
+
} | null;
|
|
148
|
+
readonly retryable?: boolean | null;
|
|
149
|
+
} | null;
|
|
100
150
|
readonly cost: string;
|
|
101
151
|
readonly currency: string;
|
|
102
152
|
readonly idempotencyKey: string | null;
|
|
103
|
-
readonly metadata: import("./generated").JsonValue;
|
|
104
153
|
readonly createdAt: string;
|
|
105
154
|
readonly updatedAt: string;
|
|
106
155
|
}[];
|
|
107
156
|
readonly emailDeliveryDetails: readonly {
|
|
108
157
|
readonly deliveryId: string;
|
|
109
|
-
readonly messageIdHeader: string
|
|
158
|
+
readonly messageIdHeader: string;
|
|
110
159
|
readonly inReplyTo: string | null;
|
|
111
160
|
readonly references: readonly string[] | null;
|
|
112
161
|
readonly subject: string;
|
|
@@ -138,18 +187,18 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
138
187
|
readonly createdAt: string;
|
|
139
188
|
readonly updatedAt: string;
|
|
140
189
|
}[];
|
|
141
|
-
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").ExternalServiceError | import("./generated").FlagDisabledError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").RateLimitedError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError
|
|
190
|
+
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").DeliveryUnavailableError | import("./generated").ExternalServiceError | import("./generated").FlagDisabledError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/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>;
|
|
142
191
|
export declare const getTrackingDefaults: (_?: never) => import("effect/Effect").Effect<{
|
|
143
192
|
readonly opens: boolean;
|
|
144
193
|
readonly clicks: boolean;
|
|
145
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
194
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
146
195
|
export declare const updateTrackingDefaults: (input?: {
|
|
147
196
|
readonly opens?: boolean | undefined;
|
|
148
197
|
readonly clicks?: boolean | undefined;
|
|
149
198
|
} | undefined) => import("effect/Effect").Effect<{
|
|
150
199
|
readonly opens: boolean;
|
|
151
200
|
readonly clicks: boolean;
|
|
152
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
201
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
153
202
|
export declare const getRecipientTrackingPreference: (input: {
|
|
154
203
|
readonly email: string;
|
|
155
204
|
}) => import("effect/Effect").Effect<{
|
|
@@ -158,7 +207,7 @@ export declare const getRecipientTrackingPreference: (input: {
|
|
|
158
207
|
readonly trackingOptedOutAt: string | null;
|
|
159
208
|
readonly createdAt: string | null;
|
|
160
209
|
readonly updatedAt: string | null;
|
|
161
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
210
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
162
211
|
export declare const updateRecipientTrackingPreference: (input: {
|
|
163
212
|
readonly email: string;
|
|
164
213
|
readonly optedOut: boolean;
|
|
@@ -168,7 +217,7 @@ export declare const updateRecipientTrackingPreference: (input: {
|
|
|
168
217
|
readonly trackingOptedOutAt: string | null;
|
|
169
218
|
readonly createdAt: string | null;
|
|
170
219
|
readonly updatedAt: string | null;
|
|
171
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
220
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
172
221
|
export declare const listDomains: ((input?: {
|
|
173
222
|
readonly page?: string | null | undefined;
|
|
174
223
|
readonly limit?: string | null | undefined;
|
|
@@ -176,11 +225,18 @@ export declare const listDomains: ((input?: {
|
|
|
176
225
|
readonly items: readonly {
|
|
177
226
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
178
227
|
readonly domain: string;
|
|
179
|
-
readonly phase: "degraded" | "dns-setup" | "failed" | "
|
|
228
|
+
readonly phase: "degraded" | "dns-setup" | "failed" | "provisioning" | "ready" | "verifying";
|
|
180
229
|
readonly dkimSelector?: string | null;
|
|
181
230
|
readonly dkimPublicKey?: string | null;
|
|
182
231
|
readonly isDefault: boolean;
|
|
183
232
|
readonly defaultSenderId: (string & import("effect/Brand").Brand<"EmailSenderId">) | null;
|
|
233
|
+
readonly deliverability: {
|
|
234
|
+
readonly bounceRate: number;
|
|
235
|
+
readonly complaintRate: number;
|
|
236
|
+
readonly windowSends: number;
|
|
237
|
+
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
238
|
+
};
|
|
239
|
+
readonly series: readonly number[];
|
|
184
240
|
readonly createdAt: string;
|
|
185
241
|
readonly updatedAt: string;
|
|
186
242
|
}[];
|
|
@@ -190,7 +246,7 @@ export declare const listDomains: ((input?: {
|
|
|
190
246
|
readonly total: number;
|
|
191
247
|
readonly totalPages: number;
|
|
192
248
|
};
|
|
193
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>) & {
|
|
249
|
+
}, 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>) & {
|
|
194
250
|
readonly pages: (input?: {
|
|
195
251
|
readonly page?: string | null | undefined;
|
|
196
252
|
readonly limit?: string | null | undefined;
|
|
@@ -198,11 +254,18 @@ export declare const listDomains: ((input?: {
|
|
|
198
254
|
readonly items: readonly {
|
|
199
255
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
200
256
|
readonly domain: string;
|
|
201
|
-
readonly phase: "degraded" | "dns-setup" | "failed" | "
|
|
257
|
+
readonly phase: "degraded" | "dns-setup" | "failed" | "provisioning" | "ready" | "verifying";
|
|
202
258
|
readonly dkimSelector?: string | null;
|
|
203
259
|
readonly dkimPublicKey?: string | null;
|
|
204
260
|
readonly isDefault: boolean;
|
|
205
261
|
readonly defaultSenderId: (string & import("effect/Brand").Brand<"EmailSenderId">) | null;
|
|
262
|
+
readonly deliverability: {
|
|
263
|
+
readonly bounceRate: number;
|
|
264
|
+
readonly complaintRate: number;
|
|
265
|
+
readonly windowSends: number;
|
|
266
|
+
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
267
|
+
};
|
|
268
|
+
readonly series: readonly number[];
|
|
206
269
|
readonly createdAt: string;
|
|
207
270
|
readonly updatedAt: string;
|
|
208
271
|
}[];
|
|
@@ -212,21 +275,28 @@ export declare const listDomains: ((input?: {
|
|
|
212
275
|
readonly total: number;
|
|
213
276
|
readonly totalPages: number;
|
|
214
277
|
};
|
|
215
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
278
|
+
}, 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>;
|
|
216
279
|
readonly items: (input?: {
|
|
217
280
|
readonly page?: string | null | undefined;
|
|
218
281
|
readonly limit?: string | null | undefined;
|
|
219
282
|
} | undefined) => import("effect/Stream").Stream<{
|
|
220
283
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
221
284
|
readonly domain: string;
|
|
222
|
-
readonly phase: "degraded" | "dns-setup" | "failed" | "
|
|
285
|
+
readonly phase: "degraded" | "dns-setup" | "failed" | "provisioning" | "ready" | "verifying";
|
|
223
286
|
readonly dkimSelector?: string | null;
|
|
224
287
|
readonly dkimPublicKey?: string | null;
|
|
225
288
|
readonly isDefault: boolean;
|
|
226
289
|
readonly defaultSenderId: (string & import("effect/Brand").Brand<"EmailSenderId">) | null;
|
|
290
|
+
readonly deliverability: {
|
|
291
|
+
readonly bounceRate: number;
|
|
292
|
+
readonly complaintRate: number;
|
|
293
|
+
readonly windowSends: number;
|
|
294
|
+
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
295
|
+
};
|
|
296
|
+
readonly series: readonly number[];
|
|
227
297
|
readonly createdAt: string;
|
|
228
298
|
readonly updatedAt: string;
|
|
229
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
299
|
+
}, 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>;
|
|
230
300
|
};
|
|
231
301
|
export declare const addDomain: (input: {
|
|
232
302
|
readonly domain: string;
|
|
@@ -237,7 +307,7 @@ export declare const addDomain: (input: {
|
|
|
237
307
|
}) => import("effect/Effect").Effect<{
|
|
238
308
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
239
309
|
readonly domain: string;
|
|
240
|
-
readonly phase: "degraded" | "dns-setup" | "failed" | "
|
|
310
|
+
readonly phase: "degraded" | "dns-setup" | "failed" | "provisioning" | "ready" | "verifying";
|
|
241
311
|
readonly dkimSelector?: string | null;
|
|
242
312
|
readonly dkimPublicKey?: string | null;
|
|
243
313
|
readonly dnsRecords: readonly {
|
|
@@ -254,18 +324,50 @@ export declare const addDomain: (input: {
|
|
|
254
324
|
readonly deliverability: {
|
|
255
325
|
readonly bounceRate: number;
|
|
256
326
|
readonly complaintRate: number;
|
|
327
|
+
readonly windowSends: number;
|
|
257
328
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
258
329
|
};
|
|
259
330
|
readonly createdAt: string;
|
|
260
331
|
readonly updatedAt: string;
|
|
261
|
-
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
332
|
+
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/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>;
|
|
333
|
+
export declare const rotateDomainDkim: (input: {
|
|
334
|
+
readonly id: string;
|
|
335
|
+
} & {
|
|
336
|
+
readonly idempotencyKey: string;
|
|
337
|
+
}) => import("effect/Effect").Effect<{
|
|
338
|
+
readonly id: string;
|
|
339
|
+
readonly domainId: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
340
|
+
readonly phase: "complete" | "cutover" | "staged";
|
|
341
|
+
readonly selector: string;
|
|
342
|
+
readonly record: {
|
|
343
|
+
readonly name: string;
|
|
344
|
+
readonly type: "TXT";
|
|
345
|
+
readonly value: string;
|
|
346
|
+
readonly ttl: string;
|
|
347
|
+
};
|
|
348
|
+
readonly formerRecord: {
|
|
349
|
+
readonly name: string;
|
|
350
|
+
readonly type: "TXT";
|
|
351
|
+
readonly value: string;
|
|
352
|
+
};
|
|
353
|
+
readonly minimumRetainUntil: string | null;
|
|
354
|
+
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
262
355
|
export declare const getDomainVerification: (input: {
|
|
263
356
|
readonly id: string;
|
|
264
357
|
}) => import("effect/Effect").Effect<{
|
|
265
358
|
readonly domainId: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
266
359
|
readonly domain: string;
|
|
267
|
-
readonly phase: "degraded" | "dns-setup" | "failed" | "
|
|
268
|
-
readonly
|
|
360
|
+
readonly phase: "degraded" | "dns-setup" | "failed" | "provisioning" | "ready" | "verifying";
|
|
361
|
+
readonly dns: {
|
|
362
|
+
readonly observed: boolean;
|
|
363
|
+
readonly total: number;
|
|
364
|
+
readonly satisfied: number;
|
|
365
|
+
readonly missing: number;
|
|
366
|
+
readonly mismatch: number;
|
|
367
|
+
readonly unknown: number;
|
|
368
|
+
};
|
|
369
|
+
readonly requirements: readonly {
|
|
370
|
+
readonly key: string;
|
|
269
371
|
readonly record: {
|
|
270
372
|
readonly type: "A" | "AAAA" | "CAA" | "CNAME" | "MX" | "NS" | "PTR" | "SOA" | "SRV" | "TXT";
|
|
271
373
|
readonly name: string;
|
|
@@ -274,13 +376,29 @@ export declare const getDomainVerification: (input: {
|
|
|
274
376
|
readonly description?: string | null;
|
|
275
377
|
readonly priority?: number | null;
|
|
276
378
|
};
|
|
277
|
-
readonly status: "
|
|
278
|
-
readonly
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
readonly
|
|
282
|
-
readonly
|
|
283
|
-
|
|
379
|
+
readonly status: "mismatch" | "missing" | "satisfied" | "unknown";
|
|
380
|
+
readonly evidence: readonly ({
|
|
381
|
+
readonly _tag: "PublicDns";
|
|
382
|
+
readonly resolver: string;
|
|
383
|
+
readonly status: "mismatch" | "missing" | "satisfied" | "unknown";
|
|
384
|
+
readonly values: readonly string[];
|
|
385
|
+
readonly detail: string | null;
|
|
386
|
+
readonly observedAt: string;
|
|
387
|
+
} | {
|
|
388
|
+
readonly _tag: "Provider";
|
|
389
|
+
readonly provider: string;
|
|
390
|
+
readonly status: "mismatch" | "missing" | "satisfied" | "unknown";
|
|
391
|
+
readonly values: readonly string[];
|
|
392
|
+
readonly detail: string | null;
|
|
393
|
+
readonly observedAt: string;
|
|
394
|
+
} | {
|
|
395
|
+
readonly _tag: "Host";
|
|
396
|
+
readonly source: string;
|
|
397
|
+
readonly status: "failed" | "ok" | "pending";
|
|
398
|
+
readonly label: string;
|
|
399
|
+
readonly detail: string | null;
|
|
400
|
+
readonly observedAt: string;
|
|
401
|
+
})[];
|
|
284
402
|
}[];
|
|
285
403
|
readonly provider: {
|
|
286
404
|
readonly identity: "failed" | "pending" | "unknown" | "verified";
|
|
@@ -295,14 +413,76 @@ export declare const getDomainVerification: (input: {
|
|
|
295
413
|
readonly message: string;
|
|
296
414
|
readonly failedAt: string;
|
|
297
415
|
} | null;
|
|
298
|
-
|
|
416
|
+
readonly provisioning: {
|
|
417
|
+
readonly status: "failed" | "none" | "running" | "succeeded";
|
|
418
|
+
readonly generation: number;
|
|
419
|
+
readonly revision: number;
|
|
420
|
+
};
|
|
421
|
+
readonly health: {
|
|
422
|
+
readonly actionOwner: "customer" | "none" | "samva" | "upstream";
|
|
423
|
+
readonly action: string;
|
|
424
|
+
readonly freshness: "current" | "stale" | "unknown";
|
|
425
|
+
readonly observedAt: string | null;
|
|
426
|
+
readonly staleAt: string | null;
|
|
427
|
+
readonly nextRetryAt: string | null;
|
|
428
|
+
readonly reason: "dns-action-required" | "dns-unavailable" | "inactive" | "observation-stale" | "observation-unknown" | "ownership-conflict" | "ready" | "samva-repair" | "signing-custody-action-required" | "verification-failed" | "verification-pending";
|
|
429
|
+
};
|
|
430
|
+
readonly sending: {
|
|
431
|
+
readonly actionOwner: "customer" | "none" | "samva" | "upstream";
|
|
432
|
+
readonly action: string;
|
|
433
|
+
readonly freshness: "current" | "stale" | "unknown";
|
|
434
|
+
readonly observedAt: string | null;
|
|
435
|
+
readonly staleAt: string | null;
|
|
436
|
+
readonly nextRetryAt: string | null;
|
|
437
|
+
readonly status: "blocked" | "ready" | "unknown";
|
|
438
|
+
readonly reason: "domain-not-ready" | "domain-observation-stale" | "operator-paused" | "ready" | "sending-paused" | "sending-status-stale" | "sending-status-unknown";
|
|
439
|
+
};
|
|
440
|
+
readonly dmarc: {
|
|
441
|
+
readonly status: "invalid" | "missing" | "multiple" | "unknown" | "valid";
|
|
442
|
+
readonly source: "direct" | "none" | "organizational";
|
|
443
|
+
readonly policyDomain: string | null;
|
|
444
|
+
readonly policy: "none" | "quarantine" | "reject" | null;
|
|
445
|
+
readonly subdomainPolicy: "none" | "quarantine" | "reject" | null;
|
|
446
|
+
readonly effectivePolicy: "none" | "quarantine" | "reject" | null;
|
|
447
|
+
readonly observedAt: string | null;
|
|
448
|
+
readonly staleAt: string | null;
|
|
449
|
+
readonly guidance: string;
|
|
450
|
+
};
|
|
451
|
+
readonly rotation: {
|
|
452
|
+
readonly id: string;
|
|
453
|
+
readonly domainId: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
454
|
+
readonly phase: "complete" | "cutover" | "staged";
|
|
455
|
+
readonly selector: string;
|
|
456
|
+
readonly record: {
|
|
457
|
+
readonly name: string;
|
|
458
|
+
readonly type: "TXT";
|
|
459
|
+
readonly value: string;
|
|
460
|
+
readonly ttl: string;
|
|
461
|
+
};
|
|
462
|
+
readonly formerRecord: {
|
|
463
|
+
readonly name: string;
|
|
464
|
+
readonly type: "TXT";
|
|
465
|
+
readonly value: string;
|
|
466
|
+
};
|
|
467
|
+
readonly minimumRetainUntil: string | null;
|
|
468
|
+
} | null;
|
|
469
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
299
470
|
export declare const advanceDomainVerification: (input: {
|
|
300
471
|
readonly id: string;
|
|
301
472
|
}) => import("effect/Effect").Effect<{
|
|
302
473
|
readonly domainId: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
303
474
|
readonly domain: string;
|
|
304
|
-
readonly phase: "degraded" | "dns-setup" | "failed" | "
|
|
305
|
-
readonly
|
|
475
|
+
readonly phase: "degraded" | "dns-setup" | "failed" | "provisioning" | "ready" | "verifying";
|
|
476
|
+
readonly dns: {
|
|
477
|
+
readonly observed: boolean;
|
|
478
|
+
readonly total: number;
|
|
479
|
+
readonly satisfied: number;
|
|
480
|
+
readonly missing: number;
|
|
481
|
+
readonly mismatch: number;
|
|
482
|
+
readonly unknown: number;
|
|
483
|
+
};
|
|
484
|
+
readonly requirements: readonly {
|
|
485
|
+
readonly key: string;
|
|
306
486
|
readonly record: {
|
|
307
487
|
readonly type: "A" | "AAAA" | "CAA" | "CNAME" | "MX" | "NS" | "PTR" | "SOA" | "SRV" | "TXT";
|
|
308
488
|
readonly name: string;
|
|
@@ -311,13 +491,29 @@ export declare const advanceDomainVerification: (input: {
|
|
|
311
491
|
readonly description?: string | null;
|
|
312
492
|
readonly priority?: number | null;
|
|
313
493
|
};
|
|
314
|
-
readonly status: "
|
|
315
|
-
readonly
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
readonly
|
|
319
|
-
readonly
|
|
320
|
-
|
|
494
|
+
readonly status: "mismatch" | "missing" | "satisfied" | "unknown";
|
|
495
|
+
readonly evidence: readonly ({
|
|
496
|
+
readonly _tag: "PublicDns";
|
|
497
|
+
readonly resolver: string;
|
|
498
|
+
readonly status: "mismatch" | "missing" | "satisfied" | "unknown";
|
|
499
|
+
readonly values: readonly string[];
|
|
500
|
+
readonly detail: string | null;
|
|
501
|
+
readonly observedAt: string;
|
|
502
|
+
} | {
|
|
503
|
+
readonly _tag: "Provider";
|
|
504
|
+
readonly provider: string;
|
|
505
|
+
readonly status: "mismatch" | "missing" | "satisfied" | "unknown";
|
|
506
|
+
readonly values: readonly string[];
|
|
507
|
+
readonly detail: string | null;
|
|
508
|
+
readonly observedAt: string;
|
|
509
|
+
} | {
|
|
510
|
+
readonly _tag: "Host";
|
|
511
|
+
readonly source: string;
|
|
512
|
+
readonly status: "failed" | "ok" | "pending";
|
|
513
|
+
readonly label: string;
|
|
514
|
+
readonly detail: string | null;
|
|
515
|
+
readonly observedAt: string;
|
|
516
|
+
})[];
|
|
321
517
|
}[];
|
|
322
518
|
readonly provider: {
|
|
323
519
|
readonly identity: "failed" | "pending" | "unknown" | "verified";
|
|
@@ -332,13 +528,66 @@ export declare const advanceDomainVerification: (input: {
|
|
|
332
528
|
readonly message: string;
|
|
333
529
|
readonly failedAt: string;
|
|
334
530
|
} | null;
|
|
335
|
-
|
|
531
|
+
readonly provisioning: {
|
|
532
|
+
readonly status: "failed" | "none" | "running" | "succeeded";
|
|
533
|
+
readonly generation: number;
|
|
534
|
+
readonly revision: number;
|
|
535
|
+
};
|
|
536
|
+
readonly health: {
|
|
537
|
+
readonly actionOwner: "customer" | "none" | "samva" | "upstream";
|
|
538
|
+
readonly action: string;
|
|
539
|
+
readonly freshness: "current" | "stale" | "unknown";
|
|
540
|
+
readonly observedAt: string | null;
|
|
541
|
+
readonly staleAt: string | null;
|
|
542
|
+
readonly nextRetryAt: string | null;
|
|
543
|
+
readonly reason: "dns-action-required" | "dns-unavailable" | "inactive" | "observation-stale" | "observation-unknown" | "ownership-conflict" | "ready" | "samva-repair" | "signing-custody-action-required" | "verification-failed" | "verification-pending";
|
|
544
|
+
};
|
|
545
|
+
readonly sending: {
|
|
546
|
+
readonly actionOwner: "customer" | "none" | "samva" | "upstream";
|
|
547
|
+
readonly action: string;
|
|
548
|
+
readonly freshness: "current" | "stale" | "unknown";
|
|
549
|
+
readonly observedAt: string | null;
|
|
550
|
+
readonly staleAt: string | null;
|
|
551
|
+
readonly nextRetryAt: string | null;
|
|
552
|
+
readonly status: "blocked" | "ready" | "unknown";
|
|
553
|
+
readonly reason: "domain-not-ready" | "domain-observation-stale" | "operator-paused" | "ready" | "sending-paused" | "sending-status-stale" | "sending-status-unknown";
|
|
554
|
+
};
|
|
555
|
+
readonly dmarc: {
|
|
556
|
+
readonly status: "invalid" | "missing" | "multiple" | "unknown" | "valid";
|
|
557
|
+
readonly source: "direct" | "none" | "organizational";
|
|
558
|
+
readonly policyDomain: string | null;
|
|
559
|
+
readonly policy: "none" | "quarantine" | "reject" | null;
|
|
560
|
+
readonly subdomainPolicy: "none" | "quarantine" | "reject" | null;
|
|
561
|
+
readonly effectivePolicy: "none" | "quarantine" | "reject" | null;
|
|
562
|
+
readonly observedAt: string | null;
|
|
563
|
+
readonly staleAt: string | null;
|
|
564
|
+
readonly guidance: string;
|
|
565
|
+
};
|
|
566
|
+
readonly rotation: {
|
|
567
|
+
readonly id: string;
|
|
568
|
+
readonly domainId: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
569
|
+
readonly phase: "complete" | "cutover" | "staged";
|
|
570
|
+
readonly selector: string;
|
|
571
|
+
readonly record: {
|
|
572
|
+
readonly name: string;
|
|
573
|
+
readonly type: "TXT";
|
|
574
|
+
readonly value: string;
|
|
575
|
+
readonly ttl: string;
|
|
576
|
+
};
|
|
577
|
+
readonly formerRecord: {
|
|
578
|
+
readonly name: string;
|
|
579
|
+
readonly type: "TXT";
|
|
580
|
+
readonly value: string;
|
|
581
|
+
};
|
|
582
|
+
readonly minimumRetainUntil: string | null;
|
|
583
|
+
} | null;
|
|
584
|
+
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").RateLimitedError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
336
585
|
export declare const getDomainById: (input: {
|
|
337
586
|
readonly id: string;
|
|
338
587
|
}) => import("effect/Effect").Effect<{
|
|
339
588
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
340
589
|
readonly domain: string;
|
|
341
|
-
readonly phase: "degraded" | "dns-setup" | "failed" | "
|
|
590
|
+
readonly phase: "degraded" | "dns-setup" | "failed" | "provisioning" | "ready" | "verifying";
|
|
342
591
|
readonly dkimSelector?: string | null;
|
|
343
592
|
readonly dkimPublicKey?: string | null;
|
|
344
593
|
readonly dnsRecords: readonly {
|
|
@@ -355,36 +604,37 @@ export declare const getDomainById: (input: {
|
|
|
355
604
|
readonly deliverability: {
|
|
356
605
|
readonly bounceRate: number;
|
|
357
606
|
readonly complaintRate: number;
|
|
607
|
+
readonly windowSends: number;
|
|
358
608
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
359
609
|
};
|
|
360
610
|
readonly createdAt: string;
|
|
361
611
|
readonly updatedAt: string;
|
|
362
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
612
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
363
613
|
export declare const removeDomain: (input: {
|
|
364
614
|
readonly id: string;
|
|
365
615
|
}) => import("effect/Effect").Effect<{
|
|
366
616
|
readonly success: boolean;
|
|
367
617
|
readonly message: string;
|
|
368
|
-
}, import("./generated").BillingProviderError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
618
|
+
}, import("./generated").BillingProviderError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
369
619
|
export declare const setDefaultDomain: (input: {
|
|
370
620
|
readonly id: string;
|
|
371
621
|
}) => import("effect/Effect").Effect<{
|
|
372
622
|
readonly success: boolean;
|
|
373
623
|
readonly message: string;
|
|
374
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
624
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
375
625
|
export declare const setDomainDefaultSender: (input: {
|
|
376
626
|
readonly id: string;
|
|
377
627
|
readonly senderId: string;
|
|
378
628
|
}) => import("effect/Effect").Effect<{
|
|
379
629
|
readonly success: boolean;
|
|
380
630
|
readonly message: string;
|
|
381
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
631
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
382
632
|
export declare const clearDomainDefaultSender: (input: {
|
|
383
633
|
readonly id: string;
|
|
384
634
|
}) => import("effect/Effect").Effect<{
|
|
385
635
|
readonly success: boolean;
|
|
386
636
|
readonly message: string;
|
|
387
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
637
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
388
638
|
export declare const updateDomainConfig: (input: {
|
|
389
639
|
readonly id: string;
|
|
390
640
|
readonly openTracking?: boolean | null | undefined;
|
|
@@ -399,7 +649,7 @@ export declare const updateDomainConfig: (input: {
|
|
|
399
649
|
readonly replyTo: readonly string[] | null;
|
|
400
650
|
readonly unsubscribeGroupId: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
401
651
|
readonly footerEnabled: boolean | null;
|
|
402
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
652
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
403
653
|
export declare const detectRegistrar: (input: {
|
|
404
654
|
readonly id: string;
|
|
405
655
|
readonly domain: string;
|
|
@@ -408,7 +658,7 @@ export declare const detectRegistrar: (input: {
|
|
|
408
658
|
readonly name: string;
|
|
409
659
|
readonly nameservers: readonly string[];
|
|
410
660
|
readonly docsUrl: string;
|
|
411
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
661
|
+
}, 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>;
|
|
412
662
|
export declare const getDomainConnect: (input: {
|
|
413
663
|
readonly id: string;
|
|
414
664
|
readonly mode: string;
|
|
@@ -418,20 +668,21 @@ export declare const getDomainConnect: (input: {
|
|
|
418
668
|
} | {
|
|
419
669
|
readonly eligible: true;
|
|
420
670
|
readonly providerName?: string | null;
|
|
421
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
671
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
422
672
|
export declare const buildDomainConnectApplyUrl: (input: {
|
|
423
673
|
readonly id: string;
|
|
424
674
|
readonly mode: string;
|
|
425
675
|
}) => import("effect/Effect").Effect<{
|
|
426
676
|
readonly url: string;
|
|
427
|
-
}, import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
677
|
+
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
428
678
|
export declare const completeDomainConnect: (input: {
|
|
429
679
|
readonly id: string;
|
|
430
680
|
readonly state: string;
|
|
431
681
|
readonly error?: string | null | undefined;
|
|
682
|
+
readonly errorDescription?: string | null | undefined;
|
|
432
683
|
}) => import("effect/Effect").Effect<{
|
|
433
|
-
readonly status: "applied" | "cancelled" | "invalid";
|
|
434
|
-
}, import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
684
|
+
readonly status: "applied" | "cancelled" | "failed" | "invalid";
|
|
685
|
+
}, import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
435
686
|
export declare const enableReceiving: (input: {
|
|
436
687
|
readonly id: string;
|
|
437
688
|
readonly domain: string;
|
|
@@ -440,9 +691,8 @@ export declare const enableReceiving: (input: {
|
|
|
440
691
|
readonly addresses?: readonly string[] | null | undefined;
|
|
441
692
|
}) => import("effect/Effect").Effect<{
|
|
442
693
|
readonly success: true;
|
|
443
|
-
readonly ruleName: string;
|
|
444
694
|
readonly recipients: readonly string[];
|
|
445
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
695
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
446
696
|
export declare const enableCustomTracking: (input: {
|
|
447
697
|
readonly id: string;
|
|
448
698
|
readonly label?: string | null | undefined;
|
|
@@ -470,7 +720,7 @@ export declare const enableCustomTracking: (input: {
|
|
|
470
720
|
readonly verificationErrors: readonly string[];
|
|
471
721
|
readonly teardownScheduledAt: string | null;
|
|
472
722
|
} | null;
|
|
473
|
-
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
723
|
+
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
474
724
|
export declare const getCustomTracking: (input: {
|
|
475
725
|
readonly id: string;
|
|
476
726
|
}) => import("effect/Effect").Effect<{
|
|
@@ -497,7 +747,7 @@ export declare const getCustomTracking: (input: {
|
|
|
497
747
|
readonly verificationErrors: readonly string[];
|
|
498
748
|
readonly teardownScheduledAt: string | null;
|
|
499
749
|
} | null;
|
|
500
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
750
|
+
}, 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>;
|
|
501
751
|
export declare const getCustomTrackingDomainConnect: (input: {
|
|
502
752
|
readonly id: string;
|
|
503
753
|
}) => import("effect/Effect").Effect<{
|
|
@@ -506,25 +756,580 @@ export declare const getCustomTrackingDomainConnect: (input: {
|
|
|
506
756
|
} | {
|
|
507
757
|
readonly eligible: true;
|
|
508
758
|
readonly providerName?: string | null;
|
|
509
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
759
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
510
760
|
export declare const buildCustomTrackingDomainConnectApplyUrl: (input: {
|
|
511
761
|
readonly id: string;
|
|
512
762
|
}) => import("effect/Effect").Effect<{
|
|
513
763
|
readonly url: string;
|
|
514
|
-
}, import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
764
|
+
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
515
765
|
export declare const completeCustomTrackingDomainConnect: (input: {
|
|
516
766
|
readonly id: string;
|
|
517
767
|
readonly state: string;
|
|
518
768
|
readonly error?: string | null | undefined;
|
|
769
|
+
readonly errorDescription?: string | null | undefined;
|
|
519
770
|
}) => import("effect/Effect").Effect<{
|
|
520
|
-
readonly status: "applied" | "cancelled" | "invalid" | "stale";
|
|
521
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
771
|
+
readonly status: "applied" | "cancelled" | "failed" | "invalid" | "stale";
|
|
772
|
+
}, 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>;
|
|
522
773
|
export declare const disableCustomTracking: (input: {
|
|
523
774
|
readonly id: string;
|
|
524
775
|
}) => import("effect/Effect").Effect<{
|
|
525
776
|
readonly success: boolean;
|
|
526
777
|
readonly message: string;
|
|
527
|
-
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
778
|
+
}, import("./generated").ConflictError | import("./generated").EmailChannelError | 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>;
|
|
779
|
+
export declare const getDomainWarming: (input: {
|
|
780
|
+
readonly id: string;
|
|
781
|
+
}) => import("effect/Effect").Effect<{
|
|
782
|
+
readonly domain: {
|
|
783
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
784
|
+
readonly domain: string;
|
|
785
|
+
};
|
|
786
|
+
readonly plan: {
|
|
787
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingPlanId">;
|
|
788
|
+
readonly status: "active" | "completed" | "paused";
|
|
789
|
+
readonly identity: "migrating" | "new" | "returning";
|
|
790
|
+
readonly initialDailyRecipients: number;
|
|
791
|
+
readonly dailyGrowthPercent: number;
|
|
792
|
+
readonly targetDailyRecipients: number;
|
|
793
|
+
readonly holdReason: string | null;
|
|
794
|
+
readonly heldAt: string | null;
|
|
795
|
+
readonly pausedAt: string | null;
|
|
796
|
+
readonly completedAt: string | null;
|
|
797
|
+
readonly createdAt: string;
|
|
798
|
+
readonly updatedAt: string;
|
|
799
|
+
} | null;
|
|
800
|
+
readonly batches: readonly {
|
|
801
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingBatchId">;
|
|
802
|
+
readonly sequence: number;
|
|
803
|
+
readonly state: "cancelled" | "closed" | "open" | "scheduled";
|
|
804
|
+
readonly startsAt: string;
|
|
805
|
+
readonly endsAt: string;
|
|
806
|
+
readonly allowanceRecipients: number;
|
|
807
|
+
readonly dailyGrowthPercent: number;
|
|
808
|
+
readonly targetDailyRecipients: number;
|
|
809
|
+
readonly reservedRecipients: number;
|
|
810
|
+
readonly acceptedRecipients: number;
|
|
811
|
+
readonly cancelledAt: string | null;
|
|
812
|
+
readonly createdAt: string;
|
|
813
|
+
}[];
|
|
814
|
+
readonly decisions: readonly {
|
|
815
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingDecisionId">;
|
|
816
|
+
readonly kind: "completed" | "held" | "paused" | "plan-created" | "policy-updated" | "resumed" | "window-cancelled" | "window-opened";
|
|
817
|
+
readonly batchId: (string & import("effect/Brand").Brand<"EmailDomainWarmingBatchId">) | null;
|
|
818
|
+
readonly actor: string;
|
|
819
|
+
readonly note: string | null;
|
|
820
|
+
readonly createdAt: string;
|
|
821
|
+
}[];
|
|
822
|
+
readonly evidence: {
|
|
823
|
+
readonly observedAt: string;
|
|
824
|
+
readonly windowHours: number;
|
|
825
|
+
readonly minimumSends: number;
|
|
826
|
+
readonly sent: number;
|
|
827
|
+
readonly bounced: number;
|
|
828
|
+
readonly complained: number;
|
|
829
|
+
readonly hourly: readonly {
|
|
830
|
+
readonly sent: number;
|
|
831
|
+
readonly bounced: number;
|
|
832
|
+
readonly complained: number;
|
|
833
|
+
}[];
|
|
834
|
+
readonly bounceThreshold: number;
|
|
835
|
+
readonly complaintThreshold: number;
|
|
836
|
+
readonly verdict: "healthy" | "insufficient-evidence" | "over-threshold";
|
|
837
|
+
readonly thresholdReason: string | null;
|
|
838
|
+
};
|
|
839
|
+
readonly holds: {
|
|
840
|
+
readonly workspacePausedAt: string | null;
|
|
841
|
+
readonly workspacePauseReason: string | null;
|
|
842
|
+
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
843
|
+
};
|
|
844
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
845
|
+
export declare const createDomainWarmingPlan: (input: {
|
|
846
|
+
readonly id: string;
|
|
847
|
+
readonly identity: string;
|
|
848
|
+
readonly initialDailyRecipients: number;
|
|
849
|
+
readonly dailyGrowthPercent: number;
|
|
850
|
+
readonly targetDailyRecipients: number;
|
|
851
|
+
}) => import("effect/Effect").Effect<{
|
|
852
|
+
readonly domain: {
|
|
853
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
854
|
+
readonly domain: string;
|
|
855
|
+
};
|
|
856
|
+
readonly plan: {
|
|
857
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingPlanId">;
|
|
858
|
+
readonly status: "active" | "completed" | "paused";
|
|
859
|
+
readonly identity: "migrating" | "new" | "returning";
|
|
860
|
+
readonly initialDailyRecipients: number;
|
|
861
|
+
readonly dailyGrowthPercent: number;
|
|
862
|
+
readonly targetDailyRecipients: number;
|
|
863
|
+
readonly holdReason: string | null;
|
|
864
|
+
readonly heldAt: string | null;
|
|
865
|
+
readonly pausedAt: string | null;
|
|
866
|
+
readonly completedAt: string | null;
|
|
867
|
+
readonly createdAt: string;
|
|
868
|
+
readonly updatedAt: string;
|
|
869
|
+
} | null;
|
|
870
|
+
readonly batches: readonly {
|
|
871
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingBatchId">;
|
|
872
|
+
readonly sequence: number;
|
|
873
|
+
readonly state: "cancelled" | "closed" | "open" | "scheduled";
|
|
874
|
+
readonly startsAt: string;
|
|
875
|
+
readonly endsAt: string;
|
|
876
|
+
readonly allowanceRecipients: number;
|
|
877
|
+
readonly dailyGrowthPercent: number;
|
|
878
|
+
readonly targetDailyRecipients: number;
|
|
879
|
+
readonly reservedRecipients: number;
|
|
880
|
+
readonly acceptedRecipients: number;
|
|
881
|
+
readonly cancelledAt: string | null;
|
|
882
|
+
readonly createdAt: string;
|
|
883
|
+
}[];
|
|
884
|
+
readonly decisions: readonly {
|
|
885
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingDecisionId">;
|
|
886
|
+
readonly kind: "completed" | "held" | "paused" | "plan-created" | "policy-updated" | "resumed" | "window-cancelled" | "window-opened";
|
|
887
|
+
readonly batchId: (string & import("effect/Brand").Brand<"EmailDomainWarmingBatchId">) | null;
|
|
888
|
+
readonly actor: string;
|
|
889
|
+
readonly note: string | null;
|
|
890
|
+
readonly createdAt: string;
|
|
891
|
+
}[];
|
|
892
|
+
readonly evidence: {
|
|
893
|
+
readonly observedAt: string;
|
|
894
|
+
readonly windowHours: number;
|
|
895
|
+
readonly minimumSends: number;
|
|
896
|
+
readonly sent: number;
|
|
897
|
+
readonly bounced: number;
|
|
898
|
+
readonly complained: number;
|
|
899
|
+
readonly hourly: readonly {
|
|
900
|
+
readonly sent: number;
|
|
901
|
+
readonly bounced: number;
|
|
902
|
+
readonly complained: number;
|
|
903
|
+
}[];
|
|
904
|
+
readonly bounceThreshold: number;
|
|
905
|
+
readonly complaintThreshold: number;
|
|
906
|
+
readonly verdict: "healthy" | "insufficient-evidence" | "over-threshold";
|
|
907
|
+
readonly thresholdReason: string | null;
|
|
908
|
+
};
|
|
909
|
+
readonly holds: {
|
|
910
|
+
readonly workspacePausedAt: string | null;
|
|
911
|
+
readonly workspacePauseReason: string | null;
|
|
912
|
+
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
913
|
+
};
|
|
914
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
915
|
+
export declare const updateDomainWarmingPolicy: (input: {
|
|
916
|
+
readonly id: string;
|
|
917
|
+
readonly dailyGrowthPercent: number;
|
|
918
|
+
readonly targetDailyRecipients: number;
|
|
919
|
+
readonly note?: string | null | undefined;
|
|
920
|
+
}) => import("effect/Effect").Effect<{
|
|
921
|
+
readonly domain: {
|
|
922
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
923
|
+
readonly domain: string;
|
|
924
|
+
};
|
|
925
|
+
readonly plan: {
|
|
926
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingPlanId">;
|
|
927
|
+
readonly status: "active" | "completed" | "paused";
|
|
928
|
+
readonly identity: "migrating" | "new" | "returning";
|
|
929
|
+
readonly initialDailyRecipients: number;
|
|
930
|
+
readonly dailyGrowthPercent: number;
|
|
931
|
+
readonly targetDailyRecipients: number;
|
|
932
|
+
readonly holdReason: string | null;
|
|
933
|
+
readonly heldAt: string | null;
|
|
934
|
+
readonly pausedAt: string | null;
|
|
935
|
+
readonly completedAt: string | null;
|
|
936
|
+
readonly createdAt: string;
|
|
937
|
+
readonly updatedAt: string;
|
|
938
|
+
} | null;
|
|
939
|
+
readonly batches: readonly {
|
|
940
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingBatchId">;
|
|
941
|
+
readonly sequence: number;
|
|
942
|
+
readonly state: "cancelled" | "closed" | "open" | "scheduled";
|
|
943
|
+
readonly startsAt: string;
|
|
944
|
+
readonly endsAt: string;
|
|
945
|
+
readonly allowanceRecipients: number;
|
|
946
|
+
readonly dailyGrowthPercent: number;
|
|
947
|
+
readonly targetDailyRecipients: number;
|
|
948
|
+
readonly reservedRecipients: number;
|
|
949
|
+
readonly acceptedRecipients: number;
|
|
950
|
+
readonly cancelledAt: string | null;
|
|
951
|
+
readonly createdAt: string;
|
|
952
|
+
}[];
|
|
953
|
+
readonly decisions: readonly {
|
|
954
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingDecisionId">;
|
|
955
|
+
readonly kind: "completed" | "held" | "paused" | "plan-created" | "policy-updated" | "resumed" | "window-cancelled" | "window-opened";
|
|
956
|
+
readonly batchId: (string & import("effect/Brand").Brand<"EmailDomainWarmingBatchId">) | null;
|
|
957
|
+
readonly actor: string;
|
|
958
|
+
readonly note: string | null;
|
|
959
|
+
readonly createdAt: string;
|
|
960
|
+
}[];
|
|
961
|
+
readonly evidence: {
|
|
962
|
+
readonly observedAt: string;
|
|
963
|
+
readonly windowHours: number;
|
|
964
|
+
readonly minimumSends: number;
|
|
965
|
+
readonly sent: number;
|
|
966
|
+
readonly bounced: number;
|
|
967
|
+
readonly complained: number;
|
|
968
|
+
readonly hourly: readonly {
|
|
969
|
+
readonly sent: number;
|
|
970
|
+
readonly bounced: number;
|
|
971
|
+
readonly complained: number;
|
|
972
|
+
}[];
|
|
973
|
+
readonly bounceThreshold: number;
|
|
974
|
+
readonly complaintThreshold: number;
|
|
975
|
+
readonly verdict: "healthy" | "insufficient-evidence" | "over-threshold";
|
|
976
|
+
readonly thresholdReason: string | null;
|
|
977
|
+
};
|
|
978
|
+
readonly holds: {
|
|
979
|
+
readonly workspacePausedAt: string | null;
|
|
980
|
+
readonly workspacePauseReason: string | null;
|
|
981
|
+
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
982
|
+
};
|
|
983
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
984
|
+
export declare const cancelDomainWarmingBatch: (input: {
|
|
985
|
+
readonly id: string;
|
|
986
|
+
readonly batchId: string;
|
|
987
|
+
}) => import("effect/Effect").Effect<{
|
|
988
|
+
readonly domain: {
|
|
989
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
990
|
+
readonly domain: string;
|
|
991
|
+
};
|
|
992
|
+
readonly plan: {
|
|
993
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingPlanId">;
|
|
994
|
+
readonly status: "active" | "completed" | "paused";
|
|
995
|
+
readonly identity: "migrating" | "new" | "returning";
|
|
996
|
+
readonly initialDailyRecipients: number;
|
|
997
|
+
readonly dailyGrowthPercent: number;
|
|
998
|
+
readonly targetDailyRecipients: number;
|
|
999
|
+
readonly holdReason: string | null;
|
|
1000
|
+
readonly heldAt: string | null;
|
|
1001
|
+
readonly pausedAt: string | null;
|
|
1002
|
+
readonly completedAt: string | null;
|
|
1003
|
+
readonly createdAt: string;
|
|
1004
|
+
readonly updatedAt: string;
|
|
1005
|
+
} | null;
|
|
1006
|
+
readonly batches: readonly {
|
|
1007
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingBatchId">;
|
|
1008
|
+
readonly sequence: number;
|
|
1009
|
+
readonly state: "cancelled" | "closed" | "open" | "scheduled";
|
|
1010
|
+
readonly startsAt: string;
|
|
1011
|
+
readonly endsAt: string;
|
|
1012
|
+
readonly allowanceRecipients: number;
|
|
1013
|
+
readonly dailyGrowthPercent: number;
|
|
1014
|
+
readonly targetDailyRecipients: number;
|
|
1015
|
+
readonly reservedRecipients: number;
|
|
1016
|
+
readonly acceptedRecipients: number;
|
|
1017
|
+
readonly cancelledAt: string | null;
|
|
1018
|
+
readonly createdAt: string;
|
|
1019
|
+
}[];
|
|
1020
|
+
readonly decisions: readonly {
|
|
1021
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingDecisionId">;
|
|
1022
|
+
readonly kind: "completed" | "held" | "paused" | "plan-created" | "policy-updated" | "resumed" | "window-cancelled" | "window-opened";
|
|
1023
|
+
readonly batchId: (string & import("effect/Brand").Brand<"EmailDomainWarmingBatchId">) | null;
|
|
1024
|
+
readonly actor: string;
|
|
1025
|
+
readonly note: string | null;
|
|
1026
|
+
readonly createdAt: string;
|
|
1027
|
+
}[];
|
|
1028
|
+
readonly evidence: {
|
|
1029
|
+
readonly observedAt: string;
|
|
1030
|
+
readonly windowHours: number;
|
|
1031
|
+
readonly minimumSends: number;
|
|
1032
|
+
readonly sent: number;
|
|
1033
|
+
readonly bounced: number;
|
|
1034
|
+
readonly complained: number;
|
|
1035
|
+
readonly hourly: readonly {
|
|
1036
|
+
readonly sent: number;
|
|
1037
|
+
readonly bounced: number;
|
|
1038
|
+
readonly complained: number;
|
|
1039
|
+
}[];
|
|
1040
|
+
readonly bounceThreshold: number;
|
|
1041
|
+
readonly complaintThreshold: number;
|
|
1042
|
+
readonly verdict: "healthy" | "insufficient-evidence" | "over-threshold";
|
|
1043
|
+
readonly thresholdReason: string | null;
|
|
1044
|
+
};
|
|
1045
|
+
readonly holds: {
|
|
1046
|
+
readonly workspacePausedAt: string | null;
|
|
1047
|
+
readonly workspacePauseReason: string | null;
|
|
1048
|
+
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1049
|
+
};
|
|
1050
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1051
|
+
export declare const pauseDomainWarming: (input: {
|
|
1052
|
+
readonly id: string;
|
|
1053
|
+
readonly note?: string | null | undefined;
|
|
1054
|
+
}) => import("effect/Effect").Effect<{
|
|
1055
|
+
readonly domain: {
|
|
1056
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
1057
|
+
readonly domain: string;
|
|
1058
|
+
};
|
|
1059
|
+
readonly plan: {
|
|
1060
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingPlanId">;
|
|
1061
|
+
readonly status: "active" | "completed" | "paused";
|
|
1062
|
+
readonly identity: "migrating" | "new" | "returning";
|
|
1063
|
+
readonly initialDailyRecipients: number;
|
|
1064
|
+
readonly dailyGrowthPercent: number;
|
|
1065
|
+
readonly targetDailyRecipients: number;
|
|
1066
|
+
readonly holdReason: string | null;
|
|
1067
|
+
readonly heldAt: string | null;
|
|
1068
|
+
readonly pausedAt: string | null;
|
|
1069
|
+
readonly completedAt: string | null;
|
|
1070
|
+
readonly createdAt: string;
|
|
1071
|
+
readonly updatedAt: string;
|
|
1072
|
+
} | null;
|
|
1073
|
+
readonly batches: readonly {
|
|
1074
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingBatchId">;
|
|
1075
|
+
readonly sequence: number;
|
|
1076
|
+
readonly state: "cancelled" | "closed" | "open" | "scheduled";
|
|
1077
|
+
readonly startsAt: string;
|
|
1078
|
+
readonly endsAt: string;
|
|
1079
|
+
readonly allowanceRecipients: number;
|
|
1080
|
+
readonly dailyGrowthPercent: number;
|
|
1081
|
+
readonly targetDailyRecipients: number;
|
|
1082
|
+
readonly reservedRecipients: number;
|
|
1083
|
+
readonly acceptedRecipients: number;
|
|
1084
|
+
readonly cancelledAt: string | null;
|
|
1085
|
+
readonly createdAt: string;
|
|
1086
|
+
}[];
|
|
1087
|
+
readonly decisions: readonly {
|
|
1088
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingDecisionId">;
|
|
1089
|
+
readonly kind: "completed" | "held" | "paused" | "plan-created" | "policy-updated" | "resumed" | "window-cancelled" | "window-opened";
|
|
1090
|
+
readonly batchId: (string & import("effect/Brand").Brand<"EmailDomainWarmingBatchId">) | null;
|
|
1091
|
+
readonly actor: string;
|
|
1092
|
+
readonly note: string | null;
|
|
1093
|
+
readonly createdAt: string;
|
|
1094
|
+
}[];
|
|
1095
|
+
readonly evidence: {
|
|
1096
|
+
readonly observedAt: string;
|
|
1097
|
+
readonly windowHours: number;
|
|
1098
|
+
readonly minimumSends: number;
|
|
1099
|
+
readonly sent: number;
|
|
1100
|
+
readonly bounced: number;
|
|
1101
|
+
readonly complained: number;
|
|
1102
|
+
readonly hourly: readonly {
|
|
1103
|
+
readonly sent: number;
|
|
1104
|
+
readonly bounced: number;
|
|
1105
|
+
readonly complained: number;
|
|
1106
|
+
}[];
|
|
1107
|
+
readonly bounceThreshold: number;
|
|
1108
|
+
readonly complaintThreshold: number;
|
|
1109
|
+
readonly verdict: "healthy" | "insufficient-evidence" | "over-threshold";
|
|
1110
|
+
readonly thresholdReason: string | null;
|
|
1111
|
+
};
|
|
1112
|
+
readonly holds: {
|
|
1113
|
+
readonly workspacePausedAt: string | null;
|
|
1114
|
+
readonly workspacePauseReason: string | null;
|
|
1115
|
+
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1116
|
+
};
|
|
1117
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1118
|
+
export declare const resumeDomainWarming: (input: {
|
|
1119
|
+
readonly id: string;
|
|
1120
|
+
readonly note?: string | null | undefined;
|
|
1121
|
+
}) => import("effect/Effect").Effect<{
|
|
1122
|
+
readonly domain: {
|
|
1123
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
1124
|
+
readonly domain: string;
|
|
1125
|
+
};
|
|
1126
|
+
readonly plan: {
|
|
1127
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingPlanId">;
|
|
1128
|
+
readonly status: "active" | "completed" | "paused";
|
|
1129
|
+
readonly identity: "migrating" | "new" | "returning";
|
|
1130
|
+
readonly initialDailyRecipients: number;
|
|
1131
|
+
readonly dailyGrowthPercent: number;
|
|
1132
|
+
readonly targetDailyRecipients: number;
|
|
1133
|
+
readonly holdReason: string | null;
|
|
1134
|
+
readonly heldAt: string | null;
|
|
1135
|
+
readonly pausedAt: string | null;
|
|
1136
|
+
readonly completedAt: string | null;
|
|
1137
|
+
readonly createdAt: string;
|
|
1138
|
+
readonly updatedAt: string;
|
|
1139
|
+
} | null;
|
|
1140
|
+
readonly batches: readonly {
|
|
1141
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingBatchId">;
|
|
1142
|
+
readonly sequence: number;
|
|
1143
|
+
readonly state: "cancelled" | "closed" | "open" | "scheduled";
|
|
1144
|
+
readonly startsAt: string;
|
|
1145
|
+
readonly endsAt: string;
|
|
1146
|
+
readonly allowanceRecipients: number;
|
|
1147
|
+
readonly dailyGrowthPercent: number;
|
|
1148
|
+
readonly targetDailyRecipients: number;
|
|
1149
|
+
readonly reservedRecipients: number;
|
|
1150
|
+
readonly acceptedRecipients: number;
|
|
1151
|
+
readonly cancelledAt: string | null;
|
|
1152
|
+
readonly createdAt: string;
|
|
1153
|
+
}[];
|
|
1154
|
+
readonly decisions: readonly {
|
|
1155
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingDecisionId">;
|
|
1156
|
+
readonly kind: "completed" | "held" | "paused" | "plan-created" | "policy-updated" | "resumed" | "window-cancelled" | "window-opened";
|
|
1157
|
+
readonly batchId: (string & import("effect/Brand").Brand<"EmailDomainWarmingBatchId">) | null;
|
|
1158
|
+
readonly actor: string;
|
|
1159
|
+
readonly note: string | null;
|
|
1160
|
+
readonly createdAt: string;
|
|
1161
|
+
}[];
|
|
1162
|
+
readonly evidence: {
|
|
1163
|
+
readonly observedAt: string;
|
|
1164
|
+
readonly windowHours: number;
|
|
1165
|
+
readonly minimumSends: number;
|
|
1166
|
+
readonly sent: number;
|
|
1167
|
+
readonly bounced: number;
|
|
1168
|
+
readonly complained: number;
|
|
1169
|
+
readonly hourly: readonly {
|
|
1170
|
+
readonly sent: number;
|
|
1171
|
+
readonly bounced: number;
|
|
1172
|
+
readonly complained: number;
|
|
1173
|
+
}[];
|
|
1174
|
+
readonly bounceThreshold: number;
|
|
1175
|
+
readonly complaintThreshold: number;
|
|
1176
|
+
readonly verdict: "healthy" | "insufficient-evidence" | "over-threshold";
|
|
1177
|
+
readonly thresholdReason: string | null;
|
|
1178
|
+
};
|
|
1179
|
+
readonly holds: {
|
|
1180
|
+
readonly workspacePausedAt: string | null;
|
|
1181
|
+
readonly workspacePauseReason: string | null;
|
|
1182
|
+
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1183
|
+
};
|
|
1184
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1185
|
+
export declare const completeDomainWarming: (input: {
|
|
1186
|
+
readonly id: string;
|
|
1187
|
+
readonly note?: string | null | undefined;
|
|
1188
|
+
}) => import("effect/Effect").Effect<{
|
|
1189
|
+
readonly domain: {
|
|
1190
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
1191
|
+
readonly domain: string;
|
|
1192
|
+
};
|
|
1193
|
+
readonly plan: {
|
|
1194
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingPlanId">;
|
|
1195
|
+
readonly status: "active" | "completed" | "paused";
|
|
1196
|
+
readonly identity: "migrating" | "new" | "returning";
|
|
1197
|
+
readonly initialDailyRecipients: number;
|
|
1198
|
+
readonly dailyGrowthPercent: number;
|
|
1199
|
+
readonly targetDailyRecipients: number;
|
|
1200
|
+
readonly holdReason: string | null;
|
|
1201
|
+
readonly heldAt: string | null;
|
|
1202
|
+
readonly pausedAt: string | null;
|
|
1203
|
+
readonly completedAt: string | null;
|
|
1204
|
+
readonly createdAt: string;
|
|
1205
|
+
readonly updatedAt: string;
|
|
1206
|
+
} | null;
|
|
1207
|
+
readonly batches: readonly {
|
|
1208
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingBatchId">;
|
|
1209
|
+
readonly sequence: number;
|
|
1210
|
+
readonly state: "cancelled" | "closed" | "open" | "scheduled";
|
|
1211
|
+
readonly startsAt: string;
|
|
1212
|
+
readonly endsAt: string;
|
|
1213
|
+
readonly allowanceRecipients: number;
|
|
1214
|
+
readonly dailyGrowthPercent: number;
|
|
1215
|
+
readonly targetDailyRecipients: number;
|
|
1216
|
+
readonly reservedRecipients: number;
|
|
1217
|
+
readonly acceptedRecipients: number;
|
|
1218
|
+
readonly cancelledAt: string | null;
|
|
1219
|
+
readonly createdAt: string;
|
|
1220
|
+
}[];
|
|
1221
|
+
readonly decisions: readonly {
|
|
1222
|
+
readonly id: string & import("effect/Brand").Brand<"EmailDomainWarmingDecisionId">;
|
|
1223
|
+
readonly kind: "completed" | "held" | "paused" | "plan-created" | "policy-updated" | "resumed" | "window-cancelled" | "window-opened";
|
|
1224
|
+
readonly batchId: (string & import("effect/Brand").Brand<"EmailDomainWarmingBatchId">) | null;
|
|
1225
|
+
readonly actor: string;
|
|
1226
|
+
readonly note: string | null;
|
|
1227
|
+
readonly createdAt: string;
|
|
1228
|
+
}[];
|
|
1229
|
+
readonly evidence: {
|
|
1230
|
+
readonly observedAt: string;
|
|
1231
|
+
readonly windowHours: number;
|
|
1232
|
+
readonly minimumSends: number;
|
|
1233
|
+
readonly sent: number;
|
|
1234
|
+
readonly bounced: number;
|
|
1235
|
+
readonly complained: number;
|
|
1236
|
+
readonly hourly: readonly {
|
|
1237
|
+
readonly sent: number;
|
|
1238
|
+
readonly bounced: number;
|
|
1239
|
+
readonly complained: number;
|
|
1240
|
+
}[];
|
|
1241
|
+
readonly bounceThreshold: number;
|
|
1242
|
+
readonly complaintThreshold: number;
|
|
1243
|
+
readonly verdict: "healthy" | "insufficient-evidence" | "over-threshold";
|
|
1244
|
+
readonly thresholdReason: string | null;
|
|
1245
|
+
};
|
|
1246
|
+
readonly holds: {
|
|
1247
|
+
readonly workspacePausedAt: string | null;
|
|
1248
|
+
readonly workspacePauseReason: string | null;
|
|
1249
|
+
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1250
|
+
};
|
|
1251
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1252
|
+
export declare const getOnboardingReview: (_?: never) => import("effect/Effect").Effect<{
|
|
1253
|
+
readonly decision: "approved" | "exempt" | "rejected" | "undecided";
|
|
1254
|
+
readonly stage: "automated_review" | "collecting" | "complete" | "information_requested" | "manual_review";
|
|
1255
|
+
readonly generation: number;
|
|
1256
|
+
readonly canSend: boolean;
|
|
1257
|
+
readonly code: "identity_changed" | "identity_review_rejected" | "identity_review_required" | "information_required" | "review_in_progress" | "review_rejected" | "review_required" | null;
|
|
1258
|
+
readonly nextAction: "contact_support" | "provide_information" | "reapply" | "verify_sending_identity" | "wait_for_review" | null;
|
|
1259
|
+
readonly canReapply: boolean;
|
|
1260
|
+
readonly informationRequest: {
|
|
1261
|
+
readonly id: string;
|
|
1262
|
+
readonly requestedFields: readonly string[];
|
|
1263
|
+
readonly requestedAt: string;
|
|
1264
|
+
readonly canRespond: boolean;
|
|
1265
|
+
} | null;
|
|
1266
|
+
readonly identities: readonly {
|
|
1267
|
+
readonly identityId: string;
|
|
1268
|
+
readonly decision: "approved" | "rejected" | "undecided";
|
|
1269
|
+
readonly generation: number;
|
|
1270
|
+
readonly canSend: boolean;
|
|
1271
|
+
readonly code: "identity_changed" | "identity_review_rejected" | "identity_review_required" | "information_required" | "review_in_progress" | "review_rejected" | "review_required" | null;
|
|
1272
|
+
readonly nextAction: "contact_support" | "provide_information" | "reapply" | "verify_sending_identity" | "wait_for_review" | null;
|
|
1273
|
+
readonly updatedAt: string;
|
|
1274
|
+
}[];
|
|
1275
|
+
readonly updatedAt: string | null;
|
|
1276
|
+
}, 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>;
|
|
1277
|
+
export declare const reapplyOnboardingReview: (input: {
|
|
1278
|
+
readonly expectedGeneration: number;
|
|
1279
|
+
}) => import("effect/Effect").Effect<{
|
|
1280
|
+
readonly decision: "approved" | "exempt" | "rejected" | "undecided";
|
|
1281
|
+
readonly stage: "automated_review" | "collecting" | "complete" | "information_requested" | "manual_review";
|
|
1282
|
+
readonly generation: number;
|
|
1283
|
+
readonly canSend: boolean;
|
|
1284
|
+
readonly code: "identity_changed" | "identity_review_rejected" | "identity_review_required" | "information_required" | "review_in_progress" | "review_rejected" | "review_required" | null;
|
|
1285
|
+
readonly nextAction: "contact_support" | "provide_information" | "reapply" | "verify_sending_identity" | "wait_for_review" | null;
|
|
1286
|
+
readonly canReapply: boolean;
|
|
1287
|
+
readonly informationRequest: {
|
|
1288
|
+
readonly id: string;
|
|
1289
|
+
readonly requestedFields: readonly string[];
|
|
1290
|
+
readonly requestedAt: string;
|
|
1291
|
+
readonly canRespond: boolean;
|
|
1292
|
+
} | null;
|
|
1293
|
+
readonly identities: readonly {
|
|
1294
|
+
readonly identityId: string;
|
|
1295
|
+
readonly decision: "approved" | "rejected" | "undecided";
|
|
1296
|
+
readonly generation: number;
|
|
1297
|
+
readonly canSend: boolean;
|
|
1298
|
+
readonly code: "identity_changed" | "identity_review_rejected" | "identity_review_required" | "information_required" | "review_in_progress" | "review_rejected" | "review_required" | null;
|
|
1299
|
+
readonly nextAction: "contact_support" | "provide_information" | "reapply" | "verify_sending_identity" | "wait_for_review" | null;
|
|
1300
|
+
readonly updatedAt: string;
|
|
1301
|
+
}[];
|
|
1302
|
+
readonly updatedAt: string | null;
|
|
1303
|
+
}, import("./generated").ConflictError | 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>;
|
|
1304
|
+
export declare const respondToOnboardingInformationRequest: (input: {
|
|
1305
|
+
readonly expectedGeneration: number;
|
|
1306
|
+
readonly responseText: string;
|
|
1307
|
+
readonly evidenceMediaIds: readonly string[];
|
|
1308
|
+
}) => import("effect/Effect").Effect<{
|
|
1309
|
+
readonly decision: "approved" | "exempt" | "rejected" | "undecided";
|
|
1310
|
+
readonly stage: "automated_review" | "collecting" | "complete" | "information_requested" | "manual_review";
|
|
1311
|
+
readonly generation: number;
|
|
1312
|
+
readonly canSend: boolean;
|
|
1313
|
+
readonly code: "identity_changed" | "identity_review_rejected" | "identity_review_required" | "information_required" | "review_in_progress" | "review_rejected" | "review_required" | null;
|
|
1314
|
+
readonly nextAction: "contact_support" | "provide_information" | "reapply" | "verify_sending_identity" | "wait_for_review" | null;
|
|
1315
|
+
readonly canReapply: boolean;
|
|
1316
|
+
readonly informationRequest: {
|
|
1317
|
+
readonly id: string;
|
|
1318
|
+
readonly requestedFields: readonly string[];
|
|
1319
|
+
readonly requestedAt: string;
|
|
1320
|
+
readonly canRespond: boolean;
|
|
1321
|
+
} | null;
|
|
1322
|
+
readonly identities: readonly {
|
|
1323
|
+
readonly identityId: string;
|
|
1324
|
+
readonly decision: "approved" | "rejected" | "undecided";
|
|
1325
|
+
readonly generation: number;
|
|
1326
|
+
readonly canSend: boolean;
|
|
1327
|
+
readonly code: "identity_changed" | "identity_review_rejected" | "identity_review_required" | "information_required" | "review_in_progress" | "review_rejected" | "review_required" | null;
|
|
1328
|
+
readonly nextAction: "contact_support" | "provide_information" | "reapply" | "verify_sending_identity" | "wait_for_review" | null;
|
|
1329
|
+
readonly updatedAt: string;
|
|
1330
|
+
}[];
|
|
1331
|
+
readonly updatedAt: string | null;
|
|
1332
|
+
}, import("./generated").ConflictError | 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>;
|
|
528
1333
|
export declare const listSenders: ((input?: {
|
|
529
1334
|
readonly page?: string | null | undefined;
|
|
530
1335
|
readonly limit?: string | null | undefined;
|
|
@@ -548,8 +1353,10 @@ export declare const listSenders: ((input?: {
|
|
|
548
1353
|
readonly deliverability: {
|
|
549
1354
|
readonly bounceRate: number;
|
|
550
1355
|
readonly complaintRate: number;
|
|
1356
|
+
readonly windowSends: number;
|
|
551
1357
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
552
1358
|
};
|
|
1359
|
+
readonly series: readonly number[];
|
|
553
1360
|
readonly isActive: boolean;
|
|
554
1361
|
readonly createdAt: string;
|
|
555
1362
|
readonly updatedAt: string;
|
|
@@ -560,7 +1367,7 @@ export declare const listSenders: ((input?: {
|
|
|
560
1367
|
readonly total: number;
|
|
561
1368
|
readonly totalPages: number;
|
|
562
1369
|
};
|
|
563
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>) & {
|
|
1370
|
+
}, 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>) & {
|
|
564
1371
|
readonly pages: (input?: {
|
|
565
1372
|
readonly page?: string | null | undefined;
|
|
566
1373
|
readonly limit?: string | null | undefined;
|
|
@@ -584,8 +1391,10 @@ export declare const listSenders: ((input?: {
|
|
|
584
1391
|
readonly deliverability: {
|
|
585
1392
|
readonly bounceRate: number;
|
|
586
1393
|
readonly complaintRate: number;
|
|
1394
|
+
readonly windowSends: number;
|
|
587
1395
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
588
1396
|
};
|
|
1397
|
+
readonly series: readonly number[];
|
|
589
1398
|
readonly isActive: boolean;
|
|
590
1399
|
readonly createdAt: string;
|
|
591
1400
|
readonly updatedAt: string;
|
|
@@ -596,7 +1405,7 @@ export declare const listSenders: ((input?: {
|
|
|
596
1405
|
readonly total: number;
|
|
597
1406
|
readonly totalPages: number;
|
|
598
1407
|
};
|
|
599
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1408
|
+
}, 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>;
|
|
600
1409
|
readonly items: (input?: {
|
|
601
1410
|
readonly page?: string | null | undefined;
|
|
602
1411
|
readonly limit?: string | null | undefined;
|
|
@@ -619,13 +1428,41 @@ export declare const listSenders: ((input?: {
|
|
|
619
1428
|
readonly deliverability: {
|
|
620
1429
|
readonly bounceRate: number;
|
|
621
1430
|
readonly complaintRate: number;
|
|
1431
|
+
readonly windowSends: number;
|
|
622
1432
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
623
1433
|
};
|
|
1434
|
+
readonly series: readonly number[];
|
|
624
1435
|
readonly isActive: boolean;
|
|
625
1436
|
readonly createdAt: string;
|
|
626
1437
|
readonly updatedAt: string;
|
|
627
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1438
|
+
}, 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>;
|
|
628
1439
|
};
|
|
1440
|
+
export declare const getSender: (input: {
|
|
1441
|
+
readonly id: string;
|
|
1442
|
+
}) => import("effect/Effect").Effect<{
|
|
1443
|
+
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
1444
|
+
readonly organizationId: string;
|
|
1445
|
+
readonly email: string;
|
|
1446
|
+
readonly name: string | null;
|
|
1447
|
+
readonly domainId: (string & import("effect/Brand").Brand<"EmailDomainId">) | null;
|
|
1448
|
+
readonly verificationStatus: "failed" | "pending" | "verified";
|
|
1449
|
+
readonly verifiedAt: string | null;
|
|
1450
|
+
readonly verificationToken: string | null;
|
|
1451
|
+
readonly providerLifecycle: "active" | "deleting" | "failed" | "provisioning";
|
|
1452
|
+
readonly providerFailureCode: string | null;
|
|
1453
|
+
readonly isDefault: boolean;
|
|
1454
|
+
readonly replyToEmails: readonly string[] | null;
|
|
1455
|
+
readonly deliverability: {
|
|
1456
|
+
readonly bounceRate: number;
|
|
1457
|
+
readonly complaintRate: number;
|
|
1458
|
+
readonly windowSends: number;
|
|
1459
|
+
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1460
|
+
};
|
|
1461
|
+
readonly series: readonly number[];
|
|
1462
|
+
readonly isActive: boolean;
|
|
1463
|
+
readonly createdAt: string;
|
|
1464
|
+
readonly updatedAt: string;
|
|
1465
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
629
1466
|
export declare const addSender: (input: EmailAddSenderInput, options?: SendOptions | undefined) => import("effect/Effect").Effect<{
|
|
630
1467
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
631
1468
|
readonly email: string;
|
|
@@ -633,7 +1470,7 @@ export declare const addSender: (input: EmailAddSenderInput, options?: SendOptio
|
|
|
633
1470
|
readonly providerLifecycle: "active" | "deleting" | "failed" | "provisioning";
|
|
634
1471
|
readonly providerFailureCode: string | null;
|
|
635
1472
|
readonly createdAt: string;
|
|
636
|
-
}, import("./generated").ConflictError | import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1473
|
+
}, import("./generated").ConflictError | import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
637
1474
|
export declare const checkSenderVerification: (input: {
|
|
638
1475
|
readonly id: string;
|
|
639
1476
|
}) => import("effect/Effect").Effect<{
|
|
@@ -641,19 +1478,19 @@ export declare const checkSenderVerification: (input: {
|
|
|
641
1478
|
readonly email: string;
|
|
642
1479
|
readonly status: "failed" | "pending" | "verified";
|
|
643
1480
|
readonly verifiedAt: string | null;
|
|
644
|
-
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1481
|
+
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
645
1482
|
export declare const removeSender: (input: {
|
|
646
1483
|
readonly id: string;
|
|
647
1484
|
}) => import("effect/Effect").Effect<{
|
|
648
1485
|
readonly success: boolean;
|
|
649
1486
|
readonly message: string;
|
|
650
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1487
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
651
1488
|
export declare const setDefaultSender: (input: {
|
|
652
1489
|
readonly id: string;
|
|
653
1490
|
}) => import("effect/Effect").Effect<{
|
|
654
1491
|
readonly success: boolean;
|
|
655
1492
|
readonly message: string;
|
|
656
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1493
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
657
1494
|
export declare const getStats: (input?: {
|
|
658
1495
|
readonly startDate?: string | null | undefined;
|
|
659
1496
|
readonly endDate?: string | null | undefined;
|
|
@@ -665,34 +1502,32 @@ export declare const getStats: (input?: {
|
|
|
665
1502
|
readonly deliveryRate: number;
|
|
666
1503
|
readonly bounceRate: number;
|
|
667
1504
|
readonly complaintRate: number;
|
|
668
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1505
|
+
}, 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>;
|
|
669
1506
|
export declare const enableCatchAll: (input: {
|
|
670
1507
|
readonly domainId: string;
|
|
671
1508
|
readonly endpointId: string;
|
|
672
1509
|
}) => import("effect/Effect").Effect<{
|
|
673
1510
|
readonly success: true;
|
|
674
|
-
|
|
675
|
-
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1511
|
+
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
676
1512
|
export declare const disableCatchAll: (input: {
|
|
677
1513
|
readonly domainId: string;
|
|
678
1514
|
}) => import("effect/Effect").Effect<{
|
|
679
1515
|
readonly success: true;
|
|
680
|
-
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1516
|
+
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
681
1517
|
export declare const getCatchAllConfig: (input: {
|
|
682
1518
|
readonly domainId: string;
|
|
683
1519
|
}) => import("effect/Effect").Effect<{
|
|
684
1520
|
readonly enabled: boolean;
|
|
685
1521
|
readonly endpointId: (string & import("effect/Brand").Brand<"WebhookEndpointId">) | null;
|
|
686
|
-
readonly receiptRuleName: string | null;
|
|
687
1522
|
readonly emailCount: number;
|
|
688
1523
|
readonly lastEmailAt: string | null;
|
|
689
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1524
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
690
1525
|
export declare const updateCatchAllConfig: (input: {
|
|
691
1526
|
readonly domainId: string;
|
|
692
1527
|
readonly endpointId?: string | null | undefined;
|
|
693
1528
|
}) => import("effect/Effect").Effect<{
|
|
694
1529
|
readonly success: true;
|
|
695
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1530
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
696
1531
|
export declare const getCatchAllStats: (input: {
|
|
697
1532
|
readonly domainId: string;
|
|
698
1533
|
readonly startDate?: string | null | undefined;
|
|
@@ -708,7 +1543,7 @@ export declare const getCatchAllStats: (input: {
|
|
|
708
1543
|
readonly lastEmail: string | null;
|
|
709
1544
|
readonly avgPerDay: number;
|
|
710
1545
|
} | null;
|
|
711
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1546
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
712
1547
|
export declare const listSuppressions: (input?: {
|
|
713
1548
|
readonly type?: string | null | undefined;
|
|
714
1549
|
readonly status?: string | null | undefined;
|
|
@@ -729,13 +1564,13 @@ export declare const listSuppressions: (input?: {
|
|
|
729
1564
|
readonly createdAt: string;
|
|
730
1565
|
}[];
|
|
731
1566
|
readonly total: number;
|
|
732
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1567
|
+
}, 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>;
|
|
733
1568
|
export declare const removeSuppression: (input: {
|
|
734
1569
|
readonly id: string;
|
|
735
1570
|
}) => import("effect/Effect").Effect<{
|
|
736
1571
|
readonly success: boolean;
|
|
737
1572
|
readonly message: string;
|
|
738
|
-
}, import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1573
|
+
}, import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
739
1574
|
export declare const listBlocks: (input?: {
|
|
740
1575
|
readonly blockType?: string | null | undefined;
|
|
741
1576
|
readonly isActive?: string | null | undefined;
|
|
@@ -755,7 +1590,7 @@ export declare const listBlocks: (input?: {
|
|
|
755
1590
|
readonly createdAt: string;
|
|
756
1591
|
}[];
|
|
757
1592
|
readonly total: number;
|
|
758
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1593
|
+
}, 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>;
|
|
759
1594
|
export declare const addBlock: (input: {
|
|
760
1595
|
readonly blockType: string;
|
|
761
1596
|
readonly blockValue: string;
|
|
@@ -771,13 +1606,13 @@ export declare const addBlock: (input: {
|
|
|
771
1606
|
readonly isActive: boolean;
|
|
772
1607
|
readonly expiresAt: string | null;
|
|
773
1608
|
readonly createdAt: string;
|
|
774
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1609
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
775
1610
|
export declare const removeBlock: (input: {
|
|
776
1611
|
readonly id: string;
|
|
777
1612
|
}) => import("effect/Effect").Effect<{
|
|
778
1613
|
readonly success: boolean;
|
|
779
1614
|
readonly message: string;
|
|
780
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1615
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
781
1616
|
export declare const updateBlock: (input: {
|
|
782
1617
|
readonly id: string;
|
|
783
1618
|
readonly reason?: string | null | undefined;
|
|
@@ -793,7 +1628,7 @@ export declare const updateBlock: (input: {
|
|
|
793
1628
|
readonly isActive: boolean;
|
|
794
1629
|
readonly expiresAt: string | null;
|
|
795
1630
|
readonly updatedAt: string;
|
|
796
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1631
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
797
1632
|
export declare const getBlockLogs: (input?: {
|
|
798
1633
|
readonly blockedEmailId?: string | null | undefined;
|
|
799
1634
|
readonly fromAddress?: string | null | undefined;
|
|
@@ -810,14 +1645,13 @@ export declare const getBlockLogs: (input?: {
|
|
|
810
1645
|
readonly blockType: "domain" | "email";
|
|
811
1646
|
readonly blockValue: string;
|
|
812
1647
|
readonly blockReason: string;
|
|
813
|
-
readonly spfResult:
|
|
814
|
-
readonly dkimResult:
|
|
815
|
-
readonly dmarcResult:
|
|
816
|
-
readonly spamScore: number | null;
|
|
1648
|
+
readonly spfResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1649
|
+
readonly dkimResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1650
|
+
readonly dmarcResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
817
1651
|
readonly blockedAt: string;
|
|
818
1652
|
}[];
|
|
819
1653
|
readonly total: number;
|
|
820
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1654
|
+
}, 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>;
|
|
821
1655
|
export declare const checkBlocked: (input: {
|
|
822
1656
|
readonly emailAddress: string;
|
|
823
1657
|
}) => import("effect/Effect").Effect<{
|
|
@@ -830,7 +1664,7 @@ export declare const checkBlocked: (input: {
|
|
|
830
1664
|
readonly expiresAt: string | null;
|
|
831
1665
|
} | null;
|
|
832
1666
|
readonly reason: string | null;
|
|
833
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1667
|
+
}, 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>;
|
|
834
1668
|
export declare const listForwardingRules: (input?: {
|
|
835
1669
|
readonly domainId?: string | null | undefined;
|
|
836
1670
|
readonly isActive?: string | null | undefined;
|
|
@@ -852,7 +1686,7 @@ export declare const listForwardingRules: (input?: {
|
|
|
852
1686
|
readonly createdAt: string;
|
|
853
1687
|
}[];
|
|
854
1688
|
readonly total: number;
|
|
855
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1689
|
+
}, 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>;
|
|
856
1690
|
export declare const createForwardingRule: (input: {
|
|
857
1691
|
readonly name: string;
|
|
858
1692
|
readonly description?: string | null | undefined;
|
|
@@ -902,13 +1736,13 @@ export declare const createForwardingRule: (input: {
|
|
|
902
1736
|
readonly priority: number;
|
|
903
1737
|
readonly isActive: boolean;
|
|
904
1738
|
readonly createdAt: string;
|
|
905
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1739
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
906
1740
|
export declare const deleteForwardingRule: (input: {
|
|
907
1741
|
readonly id: string;
|
|
908
1742
|
}) => import("effect/Effect").Effect<{
|
|
909
1743
|
readonly success: boolean;
|
|
910
1744
|
readonly message: string;
|
|
911
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1745
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
912
1746
|
export declare const updateForwardingRule: (input: {
|
|
913
1747
|
readonly id: string;
|
|
914
1748
|
readonly name?: string | null | undefined;
|
|
@@ -959,7 +1793,7 @@ export declare const updateForwardingRule: (input: {
|
|
|
959
1793
|
readonly priority: number;
|
|
960
1794
|
readonly isActive: boolean;
|
|
961
1795
|
readonly updatedAt: string;
|
|
962
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1796
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
963
1797
|
export declare const getForwardingLog: (input?: {
|
|
964
1798
|
readonly forwardingRuleId?: string | null | undefined;
|
|
965
1799
|
readonly status?: string | null | undefined;
|
|
@@ -987,4 +1821,4 @@ export declare const getForwardingLog: (input?: {
|
|
|
987
1821
|
readonly successRate: number;
|
|
988
1822
|
readonly failureRate: number;
|
|
989
1823
|
} | null;
|
|
990
|
-
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
1824
|
+
}, 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>;
|