samva 0.16.0 → 0.18.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 +9 -1
- package/README.md +57 -1
- package/dist/{rolldown-runtime-D7D4PA-g.js → _virtual/_rolldown/runtime.js} +1 -1
- package/dist/client/client/client.gen.js +174 -0
- package/dist/client/client/utils.gen.js +177 -0
- package/dist/client/client.gen.js +8 -0
- package/dist/client/core/auth.gen.js +12 -0
- package/dist/client/core/bodySerializer.gen.js +6 -0
- package/dist/client/core/params.gen.js +77 -0
- package/dist/client/core/pathSerializer.gen.js +82 -0
- package/dist/client/core/serverSentEvents.gen.js +96 -0
- package/dist/client/core/utils.gen.js +78 -0
- package/dist/client/sdk.gen.d.ts +174 -3
- package/dist/{promises-KrA2nSLg.js → client/sdk.gen.js} +464 -2289
- package/dist/client/types.gen.d.ts +1126 -11
- package/dist/client-attribution.js +9 -0
- package/dist/effect/analytics.d.ts +6 -6
- package/dist/effect/analytics.js +11 -9
- package/dist/effect/api-keys.d.ts +13 -13
- package/dist/effect/api-keys.js +13 -12
- package/dist/effect/attachments.d.ts +4 -4
- package/dist/effect/attachments.js +9 -7
- package/dist/effect/brands.d.ts +7 -7
- package/dist/effect/brands.js +12 -10
- package/dist/effect/campaigns.d.ts +18 -18
- package/dist/effect/campaigns.js +17 -15
- package/dist/effect/categories.d.ts +2 -2
- package/dist/effect/categories.js +95 -1
- package/dist/effect/client.d.ts +1 -1
- package/dist/effect/client.js +4 -5
- package/dist/effect/contact-groups.d.ts +14 -14
- package/dist/effect/contact-groups.js +15 -13
- package/dist/effect/contacts.d.ts +77 -25
- package/dist/effect/contacts.js +27 -22
- package/dist/effect/conversations.d.ts +17 -17
- package/dist/effect/conversations.js +18 -16
- package/dist/effect/custom-fields.d.ts +4 -4
- package/dist/effect/custom-fields.js +9 -7
- package/dist/effect/email.d.ts +78 -77
- package/dist/effect/email.js +68 -65
- package/dist/effect/errors.d.ts +2 -0
- package/dist/effect/errors.js +3 -0
- package/dist/effect/events.d.ts +121 -0
- package/dist/effect/events.js +17 -0
- package/dist/effect/extension-installations.d.ts +11 -11
- package/dist/effect/extension-installations.js +14 -12
- package/dist/effect/extensions.d.ts +9 -9
- package/dist/effect/extensions.js +10 -8
- package/dist/effect/feedback.d.ts +2 -2
- package/dist/effect/feedback.js +6 -5
- package/dist/effect/generated/analytics.d.ts +715 -0
- package/dist/effect/generated/analytics.js +188 -0
- package/dist/effect/generated/api-keys.d.ts +1627 -0
- package/dist/effect/generated/api-keys.js +249 -0
- package/dist/effect/generated/attachments.d.ts +554 -0
- package/dist/effect/generated/attachments.js +125 -0
- package/dist/effect/generated/brands.d.ts +1118 -0
- package/dist/effect/generated/brands.js +155 -0
- package/dist/effect/generated/campaigns.d.ts +3783 -0
- package/dist/effect/generated/campaigns.js +491 -0
- package/dist/effect/generated/contact-events.d.ts +158 -0
- package/dist/effect/generated/contact-events.js +37 -0
- package/dist/effect/generated/contact-groups.d.ts +1445 -0
- package/dist/effect/generated/contact-groups.js +419 -0
- package/dist/effect/generated/contacts.d.ts +3789 -0
- package/dist/effect/generated/contacts.js +709 -0
- package/dist/effect/generated/conversations.d.ts +2870 -0
- package/dist/effect/generated/conversations.js +461 -0
- package/dist/effect/generated/custom-fields.d.ts +562 -0
- package/dist/effect/generated/custom-fields.js +162 -0
- package/dist/effect/generated/email.d.ts +10622 -0
- package/dist/effect/generated/email.js +2347 -0
- package/dist/effect/generated/events.d.ts +463 -0
- package/dist/effect/generated/events.js +70 -0
- package/dist/effect/generated/extension-installations.d.ts +1786 -0
- package/dist/effect/generated/extension-installations.js +382 -0
- package/dist/effect/generated/extensions.d.ts +927 -0
- package/dist/effect/generated/extensions.js +203 -0
- package/dist/effect/generated/feedback.d.ts +116 -0
- package/dist/effect/generated/feedback.js +43 -0
- package/dist/effect/generated/index.d.ts +61 -0
- package/dist/effect/generated/journeys.d.ts +6135 -0
- package/dist/effect/generated/journeys.js +464 -0
- package/dist/effect/generated/mailboxes.d.ts +13641 -0
- package/dist/effect/generated/mailboxes.js +2312 -0
- package/dist/effect/generated/media.d.ts +741 -0
- package/dist/effect/generated/media.js +181 -0
- package/dist/effect/generated/messages.d.ts +2355 -0
- package/dist/effect/generated/messages.js +671 -0
- package/dist/effect/generated/namespaces.d.ts +654 -0
- package/dist/effect/generated/namespaces.js +135 -0
- package/dist/effect/generated/operations.d.ts +514 -0
- package/dist/effect/generated/operations.js +80 -0
- package/dist/effect/generated/organizations.d.ts +1111 -0
- package/dist/effect/generated/organizations.js +231 -0
- package/dist/effect/generated/scheduled-messages.d.ts +1798 -0
- package/dist/effect/generated/scheduled-messages.js +190 -0
- package/dist/effect/generated/shared.d.ts +3250 -0
- package/dist/effect/generated/shared.js +1053 -0
- package/dist/effect/generated/subscriptions.d.ts +188 -0
- package/dist/effect/generated/subscriptions.js +61 -0
- package/dist/effect/generated/templates.d.ts +8177 -0
- package/dist/effect/generated/templates.js +2214 -0
- package/dist/effect/generated/unsubscribe-groups.d.ts +1153 -0
- package/dist/effect/generated/unsubscribe-groups.js +267 -0
- package/dist/effect/generated/webhooks.d.ts +1697 -0
- package/dist/effect/generated/webhooks.js +500 -0
- package/dist/effect/generated/whoami.d.ts +291 -0
- package/dist/effect/generated/whoami.js +54 -0
- package/dist/effect/generated-metadata.d.ts +1627 -0
- package/dist/effect/generated-metadata.js +919 -0
- package/dist/effect/index.d.ts +3 -2
- package/dist/effect/index.js +33 -31
- package/dist/effect/internal/client.d.ts +10 -7
- package/dist/effect/internal/client.js +69 -0
- package/dist/effect/internal/email-sender.d.ts +17 -0
- package/dist/effect/internal/email-sender.js +21 -0
- package/dist/effect/internal/mailbox-events.js +33 -0
- package/dist/effect/internal/operation.d.ts +12 -72
- package/dist/effect/internal/operation.js +116 -0
- package/dist/effect/internal/send.d.ts +60 -0
- package/dist/effect/internal/send.js +56 -0
- package/dist/effect/journeys.d.ts +2153 -0
- package/dist/effect/journeys.js +39 -0
- package/dist/effect/mailboxes.d.ts +80 -80
- package/dist/effect/mailboxes.js +135 -3
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/media.js +10 -8
- package/dist/effect/messages.d.ts +16 -16
- package/dist/effect/messages.js +15 -12
- package/dist/effect/namespaces.d.ts +7 -7
- package/dist/effect/namespaces.js +10 -8
- package/dist/effect/operations.d.ts +5 -5
- package/dist/effect/operations.js +8 -6
- package/dist/effect/organizations.d.ts +7 -7
- package/dist/effect/organizations.js +12 -10
- package/dist/effect/pagination.js +39 -0
- package/dist/effect/retry.js +3 -3
- package/dist/effect/runtime.js +25 -0
- package/dist/effect/scheduled-messages.d.ts +7 -7
- package/dist/effect/scheduled-messages.js +10 -8
- package/dist/effect/subscriptions.d.ts +1 -1
- package/dist/effect/subscriptions.js +5 -4
- package/dist/effect/templates.d.ts +40 -40
- package/dist/effect/templates.js +39 -37
- package/dist/effect/unsubscribe-groups.d.ts +11 -11
- package/dist/effect/unsubscribe-groups.js +14 -12
- package/dist/effect/webhooks.d.ts +23 -23
- package/dist/effect/webhooks.js +16 -14
- package/dist/effect/whoami.d.ts +1 -1
- package/dist/effect/whoami.js +5 -4
- package/dist/index.js +4 -3
- package/dist/{inline-attachments-Cegg6tTF.js → inline-attachments.js} +13 -7
- package/dist/{mailbox-events-VKR4f3qq.js → mailbox-events.js} +2 -2
- package/dist/{normalize-B79uJIeb.js → normalize.js} +2 -2
- package/dist/package.js +6 -0
- package/dist/promises/errors.gen.js +1340 -0
- package/dist/promises/index.d.ts +7 -3
- package/dist/promises/index.js +288 -3
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +85 -0
- package/dist/{operation-BTXjPrwf.js → service-map.js} +58 -219
- package/package.json +17 -3
- package/dist/categories-DV51kr2H.js +0 -187
- package/dist/client-BMUew5Wp.js +0 -13794
- package/dist/effect/generated.d.ts +0 -64004
- package/dist/mailboxes-Thp5z0oX.js +0 -161
package/dist/effect/email.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import { type
|
|
1
|
+
import { type EmailAddSenderInput } from "./internal/email-sender";
|
|
2
|
+
import { type EmailSendInput, type SendOptions } from "./internal/send";
|
|
3
|
+
export { TrackingRecipientEmail } from "./generated/email";
|
|
3
4
|
export type { EmailAddSenderInput, EmailSendInput, SendOptions };
|
|
4
5
|
export declare const send: (input: EmailSendInput, options?: SendOptions | undefined) => import("effect/Effect").Effect<{
|
|
5
6
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
@@ -12,18 +13,18 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
12
13
|
readonly unsubscribeGroupId?: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
13
14
|
}[];
|
|
14
15
|
readonly createdAt: string;
|
|
15
|
-
}, import("./
|
|
16
|
+
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").DeliveryUnavailableError | import("./errors").ExternalServiceError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("..").MediaUploadError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
16
17
|
export declare const getTrackingDefaults: (_?: never) => import("effect/Effect").Effect<{
|
|
17
18
|
readonly opens: boolean;
|
|
18
19
|
readonly clicks: boolean;
|
|
19
|
-
}, import("./
|
|
20
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
20
21
|
export declare const updateTrackingDefaults: (input?: {
|
|
21
22
|
readonly opens?: boolean | undefined;
|
|
22
23
|
readonly clicks?: boolean | undefined;
|
|
23
24
|
} | undefined) => import("effect/Effect").Effect<{
|
|
24
25
|
readonly opens: boolean;
|
|
25
26
|
readonly clicks: boolean;
|
|
26
|
-
}, import("./
|
|
27
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
27
28
|
export declare const getRecipientTrackingPreference: (input: {
|
|
28
29
|
readonly email: string;
|
|
29
30
|
}) => import("effect/Effect").Effect<{
|
|
@@ -32,7 +33,7 @@ export declare const getRecipientTrackingPreference: (input: {
|
|
|
32
33
|
readonly trackingOptedOutAt: string | null;
|
|
33
34
|
readonly createdAt: string | null;
|
|
34
35
|
readonly updatedAt: string | null;
|
|
35
|
-
}, import("./
|
|
36
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
36
37
|
export declare const updateRecipientTrackingPreference: (input: {
|
|
37
38
|
readonly email: string;
|
|
38
39
|
readonly optedOut: boolean;
|
|
@@ -42,7 +43,7 @@ export declare const updateRecipientTrackingPreference: (input: {
|
|
|
42
43
|
readonly trackingOptedOutAt: string | null;
|
|
43
44
|
readonly createdAt: string | null;
|
|
44
45
|
readonly updatedAt: string | null;
|
|
45
|
-
}, import("./
|
|
46
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
46
47
|
export declare const listDomains: ((input?: {
|
|
47
48
|
readonly limit?: string | null | undefined;
|
|
48
49
|
readonly cursor?: string | null | undefined;
|
|
@@ -66,7 +67,7 @@ export declare const listDomains: ((input?: {
|
|
|
66
67
|
readonly updatedAt: string;
|
|
67
68
|
}[];
|
|
68
69
|
readonly nextCursor: string | null;
|
|
69
|
-
}, import("./
|
|
70
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
70
71
|
readonly pages: (input?: {
|
|
71
72
|
readonly limit?: string | null | undefined;
|
|
72
73
|
readonly cursor?: string | null | undefined;
|
|
@@ -90,7 +91,7 @@ export declare const listDomains: ((input?: {
|
|
|
90
91
|
readonly updatedAt: string;
|
|
91
92
|
}[];
|
|
92
93
|
readonly nextCursor: string | null;
|
|
93
|
-
}, import("./
|
|
94
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
94
95
|
readonly items: (input?: {
|
|
95
96
|
readonly limit?: string | null | undefined;
|
|
96
97
|
readonly cursor?: string | null | undefined;
|
|
@@ -111,7 +112,7 @@ export declare const listDomains: ((input?: {
|
|
|
111
112
|
readonly series: readonly number[];
|
|
112
113
|
readonly createdAt: string;
|
|
113
114
|
readonly updatedAt: string;
|
|
114
|
-
}, import("./
|
|
115
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
115
116
|
};
|
|
116
117
|
export declare const addDomain: (input: {
|
|
117
118
|
readonly domain: string;
|
|
@@ -143,7 +144,7 @@ export declare const addDomain: (input: {
|
|
|
143
144
|
};
|
|
144
145
|
readonly createdAt: string;
|
|
145
146
|
readonly updatedAt: string;
|
|
146
|
-
}, import("./
|
|
147
|
+
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").EmailChannelError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
147
148
|
export declare const rotateDomainDkim: (input: {
|
|
148
149
|
readonly id: string;
|
|
149
150
|
} & {
|
|
@@ -165,7 +166,7 @@ export declare const rotateDomainDkim: (input: {
|
|
|
165
166
|
readonly value: string;
|
|
166
167
|
};
|
|
167
168
|
readonly minimumRetainUntil: string | null;
|
|
168
|
-
}, import("./
|
|
169
|
+
}, import("./errors").ConflictError | import("./errors").EmailChannelError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
169
170
|
export declare const getDomainVerification: (input: {
|
|
170
171
|
readonly id: string;
|
|
171
172
|
}) => import("effect/Effect").Effect<{
|
|
@@ -280,7 +281,7 @@ export declare const getDomainVerification: (input: {
|
|
|
280
281
|
};
|
|
281
282
|
readonly minimumRetainUntil: string | null;
|
|
282
283
|
} | null;
|
|
283
|
-
}, import("./
|
|
284
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
284
285
|
export declare const advanceDomainVerification: (input: {
|
|
285
286
|
readonly id: string;
|
|
286
287
|
}) => import("effect/Effect").Effect<{
|
|
@@ -395,7 +396,7 @@ export declare const advanceDomainVerification: (input: {
|
|
|
395
396
|
};
|
|
396
397
|
readonly minimumRetainUntil: string | null;
|
|
397
398
|
} | null;
|
|
398
|
-
}, import("./
|
|
399
|
+
}, import("./errors").ConflictError | import("./errors").EmailChannelError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
399
400
|
export declare const getDomainById: (input: {
|
|
400
401
|
readonly id: string;
|
|
401
402
|
}) => import("effect/Effect").Effect<{
|
|
@@ -422,19 +423,19 @@ export declare const getDomainById: (input: {
|
|
|
422
423
|
};
|
|
423
424
|
readonly createdAt: string;
|
|
424
425
|
readonly updatedAt: string;
|
|
425
|
-
}, import("./
|
|
426
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
426
427
|
export declare const removeDomain: (input: {
|
|
427
428
|
readonly id: string;
|
|
428
429
|
}) => import("effect/Effect").Effect<{
|
|
429
430
|
readonly success: boolean;
|
|
430
431
|
readonly message: string;
|
|
431
|
-
}, import("./
|
|
432
|
+
}, import("./errors").BillingProviderError | import("./errors").EmailChannelError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
432
433
|
export declare const setDefaultDomain: (input: {
|
|
433
434
|
readonly id: string;
|
|
434
435
|
}) => import("effect/Effect").Effect<{
|
|
435
436
|
readonly success: boolean;
|
|
436
437
|
readonly message: string;
|
|
437
|
-
}, import("./
|
|
438
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
438
439
|
export declare const updateDomainConfig: (input: {
|
|
439
440
|
readonly id: string;
|
|
440
441
|
readonly openTracking?: boolean | null | undefined;
|
|
@@ -451,7 +452,7 @@ export declare const updateDomainConfig: (input: {
|
|
|
451
452
|
readonly unsubscribeGroupId: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
452
453
|
readonly footerEnabled: boolean | null;
|
|
453
454
|
readonly brandSlug: string | null;
|
|
454
|
-
}, import("./
|
|
455
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
455
456
|
export declare const detectRegistrar: (input: {
|
|
456
457
|
readonly id: string;
|
|
457
458
|
readonly domain: string;
|
|
@@ -460,7 +461,7 @@ export declare const detectRegistrar: (input: {
|
|
|
460
461
|
readonly name: string;
|
|
461
462
|
readonly nameservers: readonly string[];
|
|
462
463
|
readonly docsUrl: string;
|
|
463
|
-
}, import("./
|
|
464
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
464
465
|
export declare const getDomainConnect: (input: {
|
|
465
466
|
readonly id: string;
|
|
466
467
|
readonly mode: "send-and-receive" | "send-only";
|
|
@@ -470,13 +471,13 @@ export declare const getDomainConnect: (input: {
|
|
|
470
471
|
} | {
|
|
471
472
|
readonly eligible: true;
|
|
472
473
|
readonly providerName?: string | null;
|
|
473
|
-
}, import("./
|
|
474
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
474
475
|
export declare const buildDomainConnectApplyUrl: (input: {
|
|
475
476
|
readonly id: string;
|
|
476
477
|
readonly mode: "send-and-receive" | "send-only";
|
|
477
478
|
}) => import("effect/Effect").Effect<{
|
|
478
479
|
readonly url: string;
|
|
479
|
-
}, import("./
|
|
480
|
+
}, import("./errors").ConflictError | import("./errors").EmailChannelError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
480
481
|
export declare const completeDomainConnect: (input: {
|
|
481
482
|
readonly id: string;
|
|
482
483
|
readonly state: string;
|
|
@@ -484,7 +485,7 @@ export declare const completeDomainConnect: (input: {
|
|
|
484
485
|
readonly errorDescription?: string | null | undefined;
|
|
485
486
|
}) => import("effect/Effect").Effect<{
|
|
486
487
|
readonly status: "applied" | "cancelled" | "failed" | "invalid";
|
|
487
|
-
}, import("./
|
|
488
|
+
}, import("./errors").EmailChannelError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
488
489
|
export declare const enableReceiving: (input: {
|
|
489
490
|
readonly id: string;
|
|
490
491
|
readonly domain: string;
|
|
@@ -494,7 +495,7 @@ export declare const enableReceiving: (input: {
|
|
|
494
495
|
}) => import("effect/Effect").Effect<{
|
|
495
496
|
readonly success: true;
|
|
496
497
|
readonly recipients: readonly string[];
|
|
497
|
-
}, import("./
|
|
498
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
498
499
|
export declare const getReceivingStatus: (input: {
|
|
499
500
|
readonly id: string;
|
|
500
501
|
}) => import("effect/Effect").Effect<{
|
|
@@ -527,7 +528,7 @@ export declare const getReceivingStatus: (input: {
|
|
|
527
528
|
}[];
|
|
528
529
|
};
|
|
529
530
|
readonly ready: boolean;
|
|
530
|
-
}, import("./
|
|
531
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
531
532
|
export declare const enableCustomTracking: (input: {
|
|
532
533
|
readonly id: string;
|
|
533
534
|
readonly label?: string | null | undefined;
|
|
@@ -563,7 +564,7 @@ export declare const enableCustomTracking: (input: {
|
|
|
563
564
|
readonly verificationErrors: readonly string[];
|
|
564
565
|
readonly teardownScheduledAt: string | null;
|
|
565
566
|
} | null;
|
|
566
|
-
}, import("./
|
|
567
|
+
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").EmailChannelError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
567
568
|
export declare const getCustomTracking: (input: {
|
|
568
569
|
readonly id: string;
|
|
569
570
|
}) => import("effect/Effect").Effect<{
|
|
@@ -598,7 +599,7 @@ export declare const getCustomTracking: (input: {
|
|
|
598
599
|
readonly verificationErrors: readonly string[];
|
|
599
600
|
readonly teardownScheduledAt: string | null;
|
|
600
601
|
} | null;
|
|
601
|
-
}, import("./
|
|
602
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
602
603
|
export declare const recheckCustomTracking: (input: {
|
|
603
604
|
readonly id: string;
|
|
604
605
|
}) => import("effect/Effect").Effect<{
|
|
@@ -633,7 +634,7 @@ export declare const recheckCustomTracking: (input: {
|
|
|
633
634
|
readonly verificationErrors: readonly string[];
|
|
634
635
|
readonly teardownScheduledAt: string | null;
|
|
635
636
|
} | null;
|
|
636
|
-
}, import("./
|
|
637
|
+
}, import("./errors").ConflictError | import("./errors").EmailChannelError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
637
638
|
export declare const getCustomTrackingDomainConnect: (input: {
|
|
638
639
|
readonly id: string;
|
|
639
640
|
}) => import("effect/Effect").Effect<{
|
|
@@ -642,12 +643,12 @@ export declare const getCustomTrackingDomainConnect: (input: {
|
|
|
642
643
|
} | {
|
|
643
644
|
readonly eligible: true;
|
|
644
645
|
readonly providerName?: string | null;
|
|
645
|
-
}, import("./
|
|
646
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
646
647
|
export declare const buildCustomTrackingDomainConnectApplyUrl: (input: {
|
|
647
648
|
readonly id: string;
|
|
648
649
|
}) => import("effect/Effect").Effect<{
|
|
649
650
|
readonly url: string;
|
|
650
|
-
}, import("./
|
|
651
|
+
}, import("./errors").ConflictError | import("./errors").EmailChannelError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
651
652
|
export declare const completeCustomTrackingDomainConnect: (input: {
|
|
652
653
|
readonly id: string;
|
|
653
654
|
readonly state: string;
|
|
@@ -655,13 +656,13 @@ export declare const completeCustomTrackingDomainConnect: (input: {
|
|
|
655
656
|
readonly errorDescription?: string | null | undefined;
|
|
656
657
|
}) => import("effect/Effect").Effect<{
|
|
657
658
|
readonly status: "applied" | "cancelled" | "failed" | "invalid" | "stale";
|
|
658
|
-
}, import("./
|
|
659
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
659
660
|
export declare const disableCustomTracking: (input: {
|
|
660
661
|
readonly id: string;
|
|
661
662
|
}) => import("effect/Effect").Effect<{
|
|
662
663
|
readonly success: boolean;
|
|
663
664
|
readonly message: string;
|
|
664
|
-
}, import("./
|
|
665
|
+
}, import("./errors").ConflictError | import("./errors").EmailChannelError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
665
666
|
export declare const getDomainWarming: (input: {
|
|
666
667
|
readonly id: string;
|
|
667
668
|
}) => import("effect/Effect").Effect<{
|
|
@@ -727,7 +728,7 @@ export declare const getDomainWarming: (input: {
|
|
|
727
728
|
readonly workspacePauseReason: string | null;
|
|
728
729
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
729
730
|
};
|
|
730
|
-
}, import("./
|
|
731
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
731
732
|
export declare const createDomainWarmingPlan: (input: {
|
|
732
733
|
readonly id: string;
|
|
733
734
|
readonly identity: "migrating" | "new" | "returning";
|
|
@@ -797,7 +798,7 @@ export declare const createDomainWarmingPlan: (input: {
|
|
|
797
798
|
readonly workspacePauseReason: string | null;
|
|
798
799
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
799
800
|
};
|
|
800
|
-
}, import("./
|
|
801
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
801
802
|
export declare const updateDomainWarmingPolicy: (input: {
|
|
802
803
|
readonly id: string;
|
|
803
804
|
readonly dailyGrowthPercent: number;
|
|
@@ -866,7 +867,7 @@ export declare const updateDomainWarmingPolicy: (input: {
|
|
|
866
867
|
readonly workspacePauseReason: string | null;
|
|
867
868
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
868
869
|
};
|
|
869
|
-
}, import("./
|
|
870
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
870
871
|
export declare const cancelDomainWarmingBatch: (input: {
|
|
871
872
|
readonly id: string;
|
|
872
873
|
readonly batchId: string;
|
|
@@ -933,7 +934,7 @@ export declare const cancelDomainWarmingBatch: (input: {
|
|
|
933
934
|
readonly workspacePauseReason: string | null;
|
|
934
935
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
935
936
|
};
|
|
936
|
-
}, import("./
|
|
937
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
937
938
|
export declare const pauseDomainWarming: (input: {
|
|
938
939
|
readonly id: string;
|
|
939
940
|
readonly note?: string | null | undefined;
|
|
@@ -1000,7 +1001,7 @@ export declare const pauseDomainWarming: (input: {
|
|
|
1000
1001
|
readonly workspacePauseReason: string | null;
|
|
1001
1002
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1002
1003
|
};
|
|
1003
|
-
}, import("./
|
|
1004
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1004
1005
|
export declare const resumeDomainWarming: (input: {
|
|
1005
1006
|
readonly id: string;
|
|
1006
1007
|
readonly note?: string | null | undefined;
|
|
@@ -1067,7 +1068,7 @@ export declare const resumeDomainWarming: (input: {
|
|
|
1067
1068
|
readonly workspacePauseReason: string | null;
|
|
1068
1069
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1069
1070
|
};
|
|
1070
|
-
}, import("./
|
|
1071
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1071
1072
|
export declare const completeDomainWarming: (input: {
|
|
1072
1073
|
readonly id: string;
|
|
1073
1074
|
readonly note?: string | null | undefined;
|
|
@@ -1134,7 +1135,7 @@ export declare const completeDomainWarming: (input: {
|
|
|
1134
1135
|
readonly workspacePauseReason: string | null;
|
|
1135
1136
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1136
1137
|
};
|
|
1137
|
-
}, import("./
|
|
1138
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1138
1139
|
export declare const getOnboardingReview: (_?: never) => import("effect/Effect").Effect<{
|
|
1139
1140
|
readonly decision: "approved" | "rejected" | "undecided";
|
|
1140
1141
|
readonly trustTier: "established" | "probation" | "screened";
|
|
@@ -1160,7 +1161,7 @@ export declare const getOnboardingReview: (_?: never) => import("effect/Effect")
|
|
|
1160
1161
|
readonly updatedAt: string;
|
|
1161
1162
|
}[];
|
|
1162
1163
|
readonly updatedAt: string | null;
|
|
1163
|
-
}, import("./
|
|
1164
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1164
1165
|
export declare const reapplyOnboardingReview: (input: {
|
|
1165
1166
|
readonly expectedGeneration: number;
|
|
1166
1167
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1188,7 +1189,7 @@ export declare const reapplyOnboardingReview: (input: {
|
|
|
1188
1189
|
readonly updatedAt: string;
|
|
1189
1190
|
}[];
|
|
1190
1191
|
readonly updatedAt: string | null;
|
|
1191
|
-
}, import("./
|
|
1192
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1192
1193
|
export declare const respondToOnboardingInformationRequest: (input: {
|
|
1193
1194
|
readonly expectedGeneration: number;
|
|
1194
1195
|
readonly responseText: string;
|
|
@@ -1218,7 +1219,7 @@ export declare const respondToOnboardingInformationRequest: (input: {
|
|
|
1218
1219
|
readonly updatedAt: string;
|
|
1219
1220
|
}[];
|
|
1220
1221
|
readonly updatedAt: string | null;
|
|
1221
|
-
}, import("./
|
|
1222
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1222
1223
|
export declare const listSenders: ((input?: {
|
|
1223
1224
|
readonly limit?: string | null | undefined;
|
|
1224
1225
|
readonly cursor?: string | null | undefined;
|
|
@@ -1251,7 +1252,7 @@ export declare const listSenders: ((input?: {
|
|
|
1251
1252
|
readonly updatedAt: string;
|
|
1252
1253
|
}[];
|
|
1253
1254
|
readonly nextCursor: string | null;
|
|
1254
|
-
}, import("./
|
|
1255
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
1255
1256
|
readonly pages: (input?: {
|
|
1256
1257
|
readonly limit?: string | null | undefined;
|
|
1257
1258
|
readonly cursor?: string | null | undefined;
|
|
@@ -1284,7 +1285,7 @@ export declare const listSenders: ((input?: {
|
|
|
1284
1285
|
readonly updatedAt: string;
|
|
1285
1286
|
}[];
|
|
1286
1287
|
readonly nextCursor: string | null;
|
|
1287
|
-
}, import("./
|
|
1288
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1288
1289
|
readonly items: (input?: {
|
|
1289
1290
|
readonly limit?: string | null | undefined;
|
|
1290
1291
|
readonly cursor?: string | null | undefined;
|
|
@@ -1314,7 +1315,7 @@ export declare const listSenders: ((input?: {
|
|
|
1314
1315
|
readonly isActive: boolean;
|
|
1315
1316
|
readonly createdAt: string;
|
|
1316
1317
|
readonly updatedAt: string;
|
|
1317
|
-
}, import("./
|
|
1318
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1318
1319
|
};
|
|
1319
1320
|
export declare const getSender: (input: {
|
|
1320
1321
|
readonly id: string;
|
|
@@ -1341,7 +1342,7 @@ export declare const getSender: (input: {
|
|
|
1341
1342
|
readonly isActive: boolean;
|
|
1342
1343
|
readonly createdAt: string;
|
|
1343
1344
|
readonly updatedAt: string;
|
|
1344
|
-
}, import("./
|
|
1345
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1345
1346
|
export declare const addSender: (input: EmailAddSenderInput, options?: SendOptions | undefined) => import("effect/Effect").Effect<{
|
|
1346
1347
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
1347
1348
|
readonly email: string;
|
|
@@ -1349,7 +1350,7 @@ export declare const addSender: (input: EmailAddSenderInput, options?: SendOptio
|
|
|
1349
1350
|
readonly providerLifecycle: "active" | "deleting" | "failed" | "provisioning";
|
|
1350
1351
|
readonly providerFailureCode: string | null;
|
|
1351
1352
|
readonly createdAt: string;
|
|
1352
|
-
}, import("./
|
|
1353
|
+
}, import("./errors").ConflictError | import("./errors").ExternalServiceError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1353
1354
|
export declare const checkSenderVerification: (input: {
|
|
1354
1355
|
readonly id: string;
|
|
1355
1356
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1357,19 +1358,19 @@ export declare const checkSenderVerification: (input: {
|
|
|
1357
1358
|
readonly email: string;
|
|
1358
1359
|
readonly status: "failed" | "pending" | "verified";
|
|
1359
1360
|
readonly verifiedAt: string | null;
|
|
1360
|
-
}, import("./
|
|
1361
|
+
}, import("./errors").ExternalServiceError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1361
1362
|
export declare const removeSender: (input: {
|
|
1362
1363
|
readonly id: string;
|
|
1363
1364
|
}) => import("effect/Effect").Effect<{
|
|
1364
1365
|
readonly success: boolean;
|
|
1365
1366
|
readonly message: string;
|
|
1366
|
-
}, import("./
|
|
1367
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1367
1368
|
export declare const setDefaultSender: (input: {
|
|
1368
1369
|
readonly id: string;
|
|
1369
1370
|
}) => import("effect/Effect").Effect<{
|
|
1370
1371
|
readonly success: boolean;
|
|
1371
1372
|
readonly message: string;
|
|
1372
|
-
}, import("./
|
|
1373
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1373
1374
|
export declare const getStats: (input?: {
|
|
1374
1375
|
readonly after?: string | null | undefined;
|
|
1375
1376
|
readonly before?: string | null | undefined;
|
|
@@ -1381,18 +1382,18 @@ export declare const getStats: (input?: {
|
|
|
1381
1382
|
readonly deliveryRate: number;
|
|
1382
1383
|
readonly bounceRate: number;
|
|
1383
1384
|
readonly complaintRate: number;
|
|
1384
|
-
}, import("./
|
|
1385
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1385
1386
|
export declare const enableCatchAll: (input: {
|
|
1386
1387
|
readonly id: string;
|
|
1387
1388
|
readonly endpointId?: string | null | undefined;
|
|
1388
1389
|
}) => import("effect/Effect").Effect<{
|
|
1389
1390
|
readonly success: true;
|
|
1390
|
-
}, import("./
|
|
1391
|
+
}, import("./errors").ExternalServiceError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1391
1392
|
export declare const disableCatchAll: (input: {
|
|
1392
1393
|
readonly id: string;
|
|
1393
1394
|
}) => import("effect/Effect").Effect<{
|
|
1394
1395
|
readonly success: true;
|
|
1395
|
-
}, import("./
|
|
1396
|
+
}, import("./errors").ExternalServiceError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1396
1397
|
export declare const getCatchAllConfig: (input: {
|
|
1397
1398
|
readonly domainId: string;
|
|
1398
1399
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1400,13 +1401,13 @@ export declare const getCatchAllConfig: (input: {
|
|
|
1400
1401
|
readonly endpointId: (string & import("effect/Brand").Brand<"WebhookEndpointId">) | null;
|
|
1401
1402
|
readonly emailCount: number;
|
|
1402
1403
|
readonly lastEmailAt: string | null;
|
|
1403
|
-
}, import("./
|
|
1404
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1404
1405
|
export declare const updateCatchAllConfig: (input: {
|
|
1405
1406
|
readonly domainId: string;
|
|
1406
1407
|
readonly endpointId?: string | null | undefined;
|
|
1407
1408
|
}) => import("effect/Effect").Effect<{
|
|
1408
1409
|
readonly success: true;
|
|
1409
|
-
}, import("./
|
|
1410
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1410
1411
|
export declare const getCatchAllStats: (input: {
|
|
1411
1412
|
readonly domainId: string;
|
|
1412
1413
|
readonly after?: string | null | undefined;
|
|
@@ -1422,7 +1423,7 @@ export declare const getCatchAllStats: (input: {
|
|
|
1422
1423
|
readonly lastEmail: string | null;
|
|
1423
1424
|
readonly avgPerDay: number;
|
|
1424
1425
|
} | null;
|
|
1425
|
-
}, import("./
|
|
1426
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1426
1427
|
export declare const listSuppressions: ((input?: {
|
|
1427
1428
|
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" | null | undefined;
|
|
1428
1429
|
readonly status?: "active" | "expired" | null | undefined;
|
|
@@ -1443,7 +1444,7 @@ export declare const listSuppressions: ((input?: {
|
|
|
1443
1444
|
readonly createdAt: string;
|
|
1444
1445
|
}[];
|
|
1445
1446
|
readonly nextCursor: string | null;
|
|
1446
|
-
}, import("./
|
|
1447
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
1447
1448
|
readonly pages: (input?: {
|
|
1448
1449
|
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" | null | undefined;
|
|
1449
1450
|
readonly status?: "active" | "expired" | null | undefined;
|
|
@@ -1464,7 +1465,7 @@ export declare const listSuppressions: ((input?: {
|
|
|
1464
1465
|
readonly createdAt: string;
|
|
1465
1466
|
}[];
|
|
1466
1467
|
readonly nextCursor: string | null;
|
|
1467
|
-
}, import("./
|
|
1468
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1468
1469
|
readonly items: (input?: {
|
|
1469
1470
|
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" | null | undefined;
|
|
1470
1471
|
readonly status?: "active" | "expired" | null | undefined;
|
|
@@ -1482,20 +1483,20 @@ export declare const listSuppressions: ((input?: {
|
|
|
1482
1483
|
readonly isActive: boolean;
|
|
1483
1484
|
readonly expiresAt: string | null;
|
|
1484
1485
|
readonly createdAt: string;
|
|
1485
|
-
}, import("./
|
|
1486
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1486
1487
|
};
|
|
1487
1488
|
export declare const countSuppressions: (_?: never) => import("effect/Effect").Effect<{
|
|
1488
1489
|
readonly bounce: number;
|
|
1489
1490
|
readonly complaint: number;
|
|
1490
1491
|
readonly unsubscribe: number;
|
|
1491
1492
|
readonly manual: number;
|
|
1492
|
-
}, import("./
|
|
1493
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1493
1494
|
export declare const removeSuppression: (input: {
|
|
1494
1495
|
readonly id: string;
|
|
1495
1496
|
}) => import("effect/Effect").Effect<{
|
|
1496
1497
|
readonly success: boolean;
|
|
1497
1498
|
readonly message: string;
|
|
1498
|
-
}, import("./
|
|
1499
|
+
}, import("./errors").EmailChannelError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1499
1500
|
export declare const listBlocks: ((input?: {
|
|
1500
1501
|
readonly blockType?: "domain" | "email" | null | undefined;
|
|
1501
1502
|
readonly isActive?: string | null | undefined;
|
|
@@ -1515,7 +1516,7 @@ export declare const listBlocks: ((input?: {
|
|
|
1515
1516
|
readonly createdAt: string;
|
|
1516
1517
|
}[];
|
|
1517
1518
|
readonly nextCursor: string | null;
|
|
1518
|
-
}, import("./
|
|
1519
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
1519
1520
|
readonly pages: (input?: {
|
|
1520
1521
|
readonly blockType?: "domain" | "email" | null | undefined;
|
|
1521
1522
|
readonly isActive?: string | null | undefined;
|
|
@@ -1535,7 +1536,7 @@ export declare const listBlocks: ((input?: {
|
|
|
1535
1536
|
readonly createdAt: string;
|
|
1536
1537
|
}[];
|
|
1537
1538
|
readonly nextCursor: string | null;
|
|
1538
|
-
}, import("./
|
|
1539
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1539
1540
|
readonly items: (input?: {
|
|
1540
1541
|
readonly blockType?: "domain" | "email" | null | undefined;
|
|
1541
1542
|
readonly isActive?: string | null | undefined;
|
|
@@ -1552,7 +1553,7 @@ export declare const listBlocks: ((input?: {
|
|
|
1552
1553
|
readonly lastBlockedAt: string | null;
|
|
1553
1554
|
readonly expiresAt: string | null;
|
|
1554
1555
|
readonly createdAt: string;
|
|
1555
|
-
}, import("./
|
|
1556
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1556
1557
|
};
|
|
1557
1558
|
export declare const addBlock: (input: {
|
|
1558
1559
|
readonly blockType: "domain" | "email";
|
|
@@ -1569,13 +1570,13 @@ export declare const addBlock: (input: {
|
|
|
1569
1570
|
readonly isActive: boolean;
|
|
1570
1571
|
readonly expiresAt: string | null;
|
|
1571
1572
|
readonly createdAt: string;
|
|
1572
|
-
}, import("./
|
|
1573
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1573
1574
|
export declare const removeBlock: (input: {
|
|
1574
1575
|
readonly id: string;
|
|
1575
1576
|
}) => import("effect/Effect").Effect<{
|
|
1576
1577
|
readonly success: boolean;
|
|
1577
1578
|
readonly message: string;
|
|
1578
|
-
}, import("./
|
|
1579
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1579
1580
|
export declare const updateBlock: (input: {
|
|
1580
1581
|
readonly id: string;
|
|
1581
1582
|
readonly reason?: string | null | undefined;
|
|
@@ -1591,7 +1592,7 @@ export declare const updateBlock: (input: {
|
|
|
1591
1592
|
readonly isActive: boolean;
|
|
1592
1593
|
readonly expiresAt: string | null;
|
|
1593
1594
|
readonly updatedAt: string;
|
|
1594
|
-
}, import("./
|
|
1595
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1595
1596
|
export declare const getBlockLogs: ((input?: {
|
|
1596
1597
|
readonly blockedEmailId?: string | null | undefined;
|
|
1597
1598
|
readonly fromAddress?: string | null | undefined;
|
|
@@ -1614,7 +1615,7 @@ export declare const getBlockLogs: ((input?: {
|
|
|
1614
1615
|
readonly blockedAt: string;
|
|
1615
1616
|
}[];
|
|
1616
1617
|
readonly nextCursor: string | null;
|
|
1617
|
-
}, import("./
|
|
1618
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
1618
1619
|
readonly pages: (input?: {
|
|
1619
1620
|
readonly blockedEmailId?: string | null | undefined;
|
|
1620
1621
|
readonly fromAddress?: string | null | undefined;
|
|
@@ -1637,7 +1638,7 @@ export declare const getBlockLogs: ((input?: {
|
|
|
1637
1638
|
readonly blockedAt: string;
|
|
1638
1639
|
}[];
|
|
1639
1640
|
readonly nextCursor: string | null;
|
|
1640
|
-
}, import("./
|
|
1641
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1641
1642
|
readonly items: (input?: {
|
|
1642
1643
|
readonly blockedEmailId?: string | null | undefined;
|
|
1643
1644
|
readonly fromAddress?: string | null | undefined;
|
|
@@ -1657,7 +1658,7 @@ export declare const getBlockLogs: ((input?: {
|
|
|
1657
1658
|
readonly dkimResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1658
1659
|
readonly dmarcResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1659
1660
|
readonly blockedAt: string;
|
|
1660
|
-
}, import("./
|
|
1661
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1661
1662
|
};
|
|
1662
1663
|
export declare const checkBlocked: (input: {
|
|
1663
1664
|
readonly emailAddress: string;
|
|
@@ -1671,7 +1672,7 @@ export declare const checkBlocked: (input: {
|
|
|
1671
1672
|
readonly expiresAt: string | null;
|
|
1672
1673
|
} | null;
|
|
1673
1674
|
readonly reason: string | null;
|
|
1674
|
-
}, import("./
|
|
1675
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1675
1676
|
export declare const listForwardingRules: (input?: {
|
|
1676
1677
|
readonly domainId?: string | null | undefined;
|
|
1677
1678
|
readonly isActive?: string | null | undefined;
|
|
@@ -1691,7 +1692,7 @@ export declare const listForwardingRules: (input?: {
|
|
|
1691
1692
|
readonly lastForwardedAt: string | null;
|
|
1692
1693
|
readonly createdAt: string;
|
|
1693
1694
|
}[];
|
|
1694
|
-
}, import("./
|
|
1695
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1695
1696
|
export declare const createForwardingRule: (input: {
|
|
1696
1697
|
readonly name: string;
|
|
1697
1698
|
readonly description?: string | null | undefined;
|
|
@@ -1741,13 +1742,13 @@ export declare const createForwardingRule: (input: {
|
|
|
1741
1742
|
readonly priority: number;
|
|
1742
1743
|
readonly isActive: boolean;
|
|
1743
1744
|
readonly createdAt: string;
|
|
1744
|
-
}, import("./
|
|
1745
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1745
1746
|
export declare const deleteForwardingRule: (input: {
|
|
1746
1747
|
readonly id: string;
|
|
1747
1748
|
}) => import("effect/Effect").Effect<{
|
|
1748
1749
|
readonly success: boolean;
|
|
1749
1750
|
readonly message: string;
|
|
1750
|
-
}, import("./
|
|
1751
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1751
1752
|
export declare const updateForwardingRule: (input: {
|
|
1752
1753
|
readonly id: string;
|
|
1753
1754
|
readonly name?: string | null | undefined;
|
|
@@ -1798,7 +1799,7 @@ export declare const updateForwardingRule: (input: {
|
|
|
1798
1799
|
readonly priority: number;
|
|
1799
1800
|
readonly isActive: boolean;
|
|
1800
1801
|
readonly updatedAt: string;
|
|
1801
|
-
}, import("./
|
|
1802
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1802
1803
|
export declare const getForwardingLog: ((input?: {
|
|
1803
1804
|
readonly forwardingRuleId?: string | null | undefined;
|
|
1804
1805
|
readonly status?: "failed" | "forwarded" | "pending" | null | undefined;
|
|
@@ -1821,7 +1822,7 @@ export declare const getForwardingLog: ((input?: {
|
|
|
1821
1822
|
readonly createdAt: string;
|
|
1822
1823
|
}[];
|
|
1823
1824
|
readonly nextCursor: string | null;
|
|
1824
|
-
}, import("./
|
|
1825
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
1825
1826
|
readonly pages: (input?: {
|
|
1826
1827
|
readonly forwardingRuleId?: string | null | undefined;
|
|
1827
1828
|
readonly status?: "failed" | "forwarded" | "pending" | null | undefined;
|
|
@@ -1844,7 +1845,7 @@ export declare const getForwardingLog: ((input?: {
|
|
|
1844
1845
|
readonly createdAt: string;
|
|
1845
1846
|
}[];
|
|
1846
1847
|
readonly nextCursor: string | null;
|
|
1847
|
-
}, import("./
|
|
1848
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1848
1849
|
readonly items: (input?: {
|
|
1849
1850
|
readonly forwardingRuleId?: string | null | undefined;
|
|
1850
1851
|
readonly status?: "failed" | "forwarded" | "pending" | null | undefined;
|
|
@@ -1864,5 +1865,5 @@ export declare const getForwardingLog: ((input?: {
|
|
|
1864
1865
|
readonly messageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
1865
1866
|
readonly forwardedAt: string | null;
|
|
1866
1867
|
readonly createdAt: string;
|
|
1867
|
-
}, import("./
|
|
1868
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1868
1869
|
};
|