samva 0.17.0 → 0.19.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 +5 -0
- package/README.md +18 -3
- 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 +39 -23
- package/dist/{promises---Kbh-7z.js → client/sdk.gen.js} +87 -2314
- package/dist/client/types.gen.d.ts +175 -44
- package/dist/client-attribution.js +9 -0
- package/dist/effect/analytics.d.ts +6 -6
- package/dist/effect/analytics.js +23 -2
- package/dist/effect/api-keys.d.ts +12 -12
- package/dist/effect/api-keys.js +29 -2
- package/dist/effect/attachments.d.ts +4 -4
- package/dist/effect/attachments.js +19 -2
- package/dist/effect/brands.d.ts +6 -6
- package/dist/effect/brands.js +26 -3
- package/dist/effect/campaigns.d.ts +18 -18
- package/dist/effect/campaigns.js +35 -2
- package/dist/effect/categories.d.ts +2 -2
- package/dist/effect/categories.js +95 -1
- package/dist/effect/client.js +3 -3
- package/dist/effect/contact-groups.d.ts +53 -17
- package/dist/effect/contact-groups.js +31 -2
- package/dist/effect/contacts.d.ts +244 -41
- package/dist/effect/contacts.js +54 -2
- package/dist/effect/conversations.d.ts +28 -28
- package/dist/effect/conversations.js +37 -2
- package/dist/effect/custom-fields.d.ts +4 -4
- package/dist/effect/custom-fields.js +19 -2
- package/dist/effect/email.d.ts +75 -75
- package/dist/effect/email.js +140 -2
- package/dist/effect/errors.d.ts +2 -0
- package/dist/effect/errors.js +3 -0
- package/dist/effect/events.d.ts +2 -2
- package/dist/effect/events.js +17 -3
- package/dist/effect/extension-installations.d.ts +23 -23
- package/dist/effect/extension-installations.js +29 -2
- package/dist/effect/extensions.d.ts +12 -12
- package/dist/effect/extensions.js +21 -2
- package/dist/effect/feedback.d.ts +1 -1
- package/dist/effect/feedback.js +14 -3
- package/dist/{analytics-CaqPRsry.js → effect/generated/analytics.js} +4 -23
- package/dist/{api-keys-Ce1Y4_Ip.js → effect/generated/api-keys.js} +4 -29
- package/dist/{attachments-DYqVIraC.js → effect/generated/attachments.js} +3 -18
- package/dist/{brands-ZwuOGIWO.js → effect/generated/brands.js} +5 -25
- package/dist/{campaigns-DZlz1E9E.js → effect/generated/campaigns.js} +4 -35
- package/dist/effect/generated/contact-events.js +37 -0
- package/dist/effect/generated/contact-groups.d.ts +33 -3
- package/dist/{contact-groups-BLbFXnjq.js → effect/generated/contact-groups.js} +3 -30
- package/dist/effect/generated/contacts.d.ts +477 -54
- package/dist/{contacts-BbsoXXB4.js → effect/generated/contacts.js} +41 -89
- package/dist/effect/generated/conversations.d.ts +25 -25
- package/dist/{conversations-_sRHueML.js → effect/generated/conversations.js} +4 -37
- package/dist/{custom-fields-BHWbwlKn.js → effect/generated/custom-fields.js} +5 -19
- package/dist/{email-R0NAA9PW.js → effect/generated/email.js} +995 -1146
- package/dist/{events-CxbTUHYT.js → effect/generated/events.js} +3 -15
- package/dist/effect/generated/extension-installations.d.ts +44 -44
- package/dist/{extension-installations-CD94LPmk.js → effect/generated/extension-installations.js} +10 -29
- package/dist/effect/generated/extensions.d.ts +10 -10
- package/dist/{extensions-BKyNQLvu.js → effect/generated/extensions.js} +5 -20
- package/dist/{feedback-Bpa09JOS.js → effect/generated/feedback.js} +3 -12
- package/dist/{journeys-CARo_BJT.js → effect/generated/journeys.js} +3 -38
- package/dist/effect/generated/mailboxes.d.ts +310 -0
- package/dist/{mailboxes-BRDn7BIK.js → effect/generated/mailboxes.js} +829 -954
- package/dist/{media-VrrtNnft.js → effect/generated/media.js} +3 -3
- package/dist/effect/generated/messages.d.ts +31 -0
- package/dist/effect/generated/messages.js +677 -0
- package/dist/{namespaces-CcvEbG-y.js → effect/generated/namespaces.js} +3 -20
- package/dist/{operations-CmB3FHwf.js → effect/generated/operations.js} +3 -16
- package/dist/effect/generated/organizations.d.ts +13 -11
- package/dist/{organizations-A-plufWc.js → effect/generated/organizations.js} +9 -26
- package/dist/{scheduled-messages-DkKZRRaN.js → effect/generated/scheduled-messages.js} +4 -21
- package/dist/effect/generated/shared.d.ts +70 -20
- package/dist/effect/generated/shared.js +1073 -0
- package/dist/{subscriptions-DEXYtMXg.js → effect/generated/subscriptions.js} +3 -9
- package/dist/{templates-DZomxsG7.js → effect/generated/templates.js} +3 -78
- package/dist/effect/generated/unsubscribe-groups.d.ts +173 -78
- package/dist/{unsubscribe-groups-Iqk4Isf9.js → effect/generated/unsubscribe-groups.js} +77 -84
- package/dist/effect/generated/webhooks.d.ts +19 -19
- package/dist/{webhooks-CPXuu8Xf.js → effect/generated/webhooks.js} +12 -34
- package/dist/{whoami-Ccz0jwlt.js → effect/generated/whoami.js} +5 -10
- package/dist/effect/generated-metadata.d.ts +7 -2
- package/dist/effect/generated-metadata.js +925 -0
- package/dist/effect/index.d.ts +1 -2
- package/dist/effect/index.js +32 -32
- package/dist/effect/internal/client.js +69 -0
- package/dist/effect/internal/email-sender.js +21 -0
- package/dist/effect/internal/mailbox-events.js +33 -0
- package/dist/effect/internal/operation.js +116 -0
- package/dist/effect/internal/send.js +56 -0
- package/dist/effect/journeys.d.ts +18 -18
- package/dist/effect/journeys.js +39 -2
- package/dist/effect/mailboxes.d.ts +314 -182
- package/dist/effect/mailboxes.js +135 -3
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/media.js +10 -10
- package/dist/effect/messages.d.ts +19 -14
- package/dist/effect/messages.js +15 -14
- package/dist/effect/namespaces.d.ts +7 -7
- package/dist/effect/namespaces.js +21 -2
- package/dist/effect/operations.d.ts +5 -5
- package/dist/effect/operations.js +17 -2
- package/dist/effect/organizations.d.ts +11 -11
- package/dist/effect/organizations.js +25 -2
- package/dist/effect/pagination.js +39 -0
- package/dist/effect/retry.js +3 -3
- package/dist/{runtime-P0l1_2-C.js → effect/runtime.js} +2 -2
- package/dist/effect/scheduled-messages.d.ts +7 -7
- package/dist/effect/scheduled-messages.js +21 -2
- package/dist/effect/subscriptions.d.ts +1 -1
- package/dist/effect/subscriptions.js +10 -2
- package/dist/effect/templates.d.ts +39 -39
- package/dist/effect/templates.js +80 -3
- package/dist/effect/unsubscribe-groups.d.ts +39 -28
- package/dist/effect/unsubscribe-groups.js +29 -2
- package/dist/effect/webhooks.d.ts +22 -22
- package/dist/effect/webhooks.js +35 -3
- package/dist/effect/whoami.d.ts +9 -9
- package/dist/effect/whoami.js +10 -2
- package/dist/index.js +4 -3
- package/dist/{inline-attachments-Bi1hDltp.js → inline-attachments.js} +13 -7
- package/dist/mailbox-events.d.ts +31 -4
- package/dist/{mailbox-events-VKR4f3qq.js → mailbox-events.js} +41 -13
- 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 +1 -1
- package/dist/promises/index.js +288 -3
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +9 -4
- package/dist/{operation-n_IYgNVK.js → service-map.js} +12 -150
- package/package.json +6 -2
- package/dist/categories-CA4XIQAb.js +0 -1011
- package/dist/client-DOzUrdTE.js +0 -1115
- package/dist/send-Bxc0XfGE.js +0 -722
package/dist/effect/email.d.ts
CHANGED
|
@@ -13,18 +13,18 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
13
13
|
readonly unsubscribeGroupId?: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
14
14
|
}[];
|
|
15
15
|
readonly createdAt: string;
|
|
16
|
-
}, 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>;
|
|
17
17
|
export declare const getTrackingDefaults: (_?: never) => import("effect/Effect").Effect<{
|
|
18
18
|
readonly opens: boolean;
|
|
19
19
|
readonly clicks: boolean;
|
|
20
|
-
}, 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>;
|
|
21
21
|
export declare const updateTrackingDefaults: (input?: {
|
|
22
22
|
readonly opens?: boolean | undefined;
|
|
23
23
|
readonly clicks?: boolean | undefined;
|
|
24
24
|
} | undefined) => import("effect/Effect").Effect<{
|
|
25
25
|
readonly opens: boolean;
|
|
26
26
|
readonly clicks: boolean;
|
|
27
|
-
}, 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>;
|
|
28
28
|
export declare const getRecipientTrackingPreference: (input: {
|
|
29
29
|
readonly email: string;
|
|
30
30
|
}) => import("effect/Effect").Effect<{
|
|
@@ -33,7 +33,7 @@ export declare const getRecipientTrackingPreference: (input: {
|
|
|
33
33
|
readonly trackingOptedOutAt: string | null;
|
|
34
34
|
readonly createdAt: string | null;
|
|
35
35
|
readonly updatedAt: string | null;
|
|
36
|
-
}, 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>;
|
|
37
37
|
export declare const updateRecipientTrackingPreference: (input: {
|
|
38
38
|
readonly email: string;
|
|
39
39
|
readonly optedOut: boolean;
|
|
@@ -43,7 +43,7 @@ export declare const updateRecipientTrackingPreference: (input: {
|
|
|
43
43
|
readonly trackingOptedOutAt: string | null;
|
|
44
44
|
readonly createdAt: string | null;
|
|
45
45
|
readonly updatedAt: string | null;
|
|
46
|
-
}, 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>;
|
|
47
47
|
export declare const listDomains: ((input?: {
|
|
48
48
|
readonly limit?: string | null | undefined;
|
|
49
49
|
readonly cursor?: string | null | undefined;
|
|
@@ -67,7 +67,7 @@ export declare const listDomains: ((input?: {
|
|
|
67
67
|
readonly updatedAt: string;
|
|
68
68
|
}[];
|
|
69
69
|
readonly nextCursor: string | null;
|
|
70
|
-
}, 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>) & {
|
|
71
71
|
readonly pages: (input?: {
|
|
72
72
|
readonly limit?: string | null | undefined;
|
|
73
73
|
readonly cursor?: string | null | undefined;
|
|
@@ -91,7 +91,7 @@ export declare const listDomains: ((input?: {
|
|
|
91
91
|
readonly updatedAt: string;
|
|
92
92
|
}[];
|
|
93
93
|
readonly nextCursor: string | null;
|
|
94
|
-
}, 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>;
|
|
95
95
|
readonly items: (input?: {
|
|
96
96
|
readonly limit?: string | null | undefined;
|
|
97
97
|
readonly cursor?: string | null | undefined;
|
|
@@ -112,7 +112,7 @@ export declare const listDomains: ((input?: {
|
|
|
112
112
|
readonly series: readonly number[];
|
|
113
113
|
readonly createdAt: string;
|
|
114
114
|
readonly updatedAt: string;
|
|
115
|
-
}, 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>;
|
|
116
116
|
};
|
|
117
117
|
export declare const addDomain: (input: {
|
|
118
118
|
readonly domain: string;
|
|
@@ -144,7 +144,7 @@ export declare const addDomain: (input: {
|
|
|
144
144
|
};
|
|
145
145
|
readonly createdAt: string;
|
|
146
146
|
readonly updatedAt: string;
|
|
147
|
-
}, 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>;
|
|
148
148
|
export declare const rotateDomainDkim: (input: {
|
|
149
149
|
readonly id: string;
|
|
150
150
|
} & {
|
|
@@ -166,7 +166,7 @@ export declare const rotateDomainDkim: (input: {
|
|
|
166
166
|
readonly value: string;
|
|
167
167
|
};
|
|
168
168
|
readonly minimumRetainUntil: string | null;
|
|
169
|
-
}, 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>;
|
|
170
170
|
export declare const getDomainVerification: (input: {
|
|
171
171
|
readonly id: string;
|
|
172
172
|
}) => import("effect/Effect").Effect<{
|
|
@@ -281,7 +281,7 @@ export declare const getDomainVerification: (input: {
|
|
|
281
281
|
};
|
|
282
282
|
readonly minimumRetainUntil: string | null;
|
|
283
283
|
} | null;
|
|
284
|
-
}, 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>;
|
|
285
285
|
export declare const advanceDomainVerification: (input: {
|
|
286
286
|
readonly id: string;
|
|
287
287
|
}) => import("effect/Effect").Effect<{
|
|
@@ -396,7 +396,7 @@ export declare const advanceDomainVerification: (input: {
|
|
|
396
396
|
};
|
|
397
397
|
readonly minimumRetainUntil: string | null;
|
|
398
398
|
} | null;
|
|
399
|
-
}, 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>;
|
|
400
400
|
export declare const getDomainById: (input: {
|
|
401
401
|
readonly id: string;
|
|
402
402
|
}) => import("effect/Effect").Effect<{
|
|
@@ -423,19 +423,19 @@ export declare const getDomainById: (input: {
|
|
|
423
423
|
};
|
|
424
424
|
readonly createdAt: string;
|
|
425
425
|
readonly updatedAt: string;
|
|
426
|
-
}, 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>;
|
|
427
427
|
export declare const removeDomain: (input: {
|
|
428
428
|
readonly id: string;
|
|
429
429
|
}) => import("effect/Effect").Effect<{
|
|
430
430
|
readonly success: boolean;
|
|
431
431
|
readonly message: string;
|
|
432
|
-
}, 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>;
|
|
433
433
|
export declare const setDefaultDomain: (input: {
|
|
434
434
|
readonly id: string;
|
|
435
435
|
}) => import("effect/Effect").Effect<{
|
|
436
436
|
readonly success: boolean;
|
|
437
437
|
readonly message: string;
|
|
438
|
-
}, 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>;
|
|
439
439
|
export declare const updateDomainConfig: (input: {
|
|
440
440
|
readonly id: string;
|
|
441
441
|
readonly openTracking?: boolean | null | undefined;
|
|
@@ -452,7 +452,7 @@ export declare const updateDomainConfig: (input: {
|
|
|
452
452
|
readonly unsubscribeGroupId: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
453
453
|
readonly footerEnabled: boolean | null;
|
|
454
454
|
readonly brandSlug: string | null;
|
|
455
|
-
}, 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>;
|
|
456
456
|
export declare const detectRegistrar: (input: {
|
|
457
457
|
readonly id: string;
|
|
458
458
|
readonly domain: string;
|
|
@@ -461,7 +461,7 @@ export declare const detectRegistrar: (input: {
|
|
|
461
461
|
readonly name: string;
|
|
462
462
|
readonly nameservers: readonly string[];
|
|
463
463
|
readonly docsUrl: string;
|
|
464
|
-
}, 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>;
|
|
465
465
|
export declare const getDomainConnect: (input: {
|
|
466
466
|
readonly id: string;
|
|
467
467
|
readonly mode: "send-and-receive" | "send-only";
|
|
@@ -471,13 +471,13 @@ export declare const getDomainConnect: (input: {
|
|
|
471
471
|
} | {
|
|
472
472
|
readonly eligible: true;
|
|
473
473
|
readonly providerName?: string | null;
|
|
474
|
-
}, 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>;
|
|
475
475
|
export declare const buildDomainConnectApplyUrl: (input: {
|
|
476
476
|
readonly id: string;
|
|
477
477
|
readonly mode: "send-and-receive" | "send-only";
|
|
478
478
|
}) => import("effect/Effect").Effect<{
|
|
479
479
|
readonly url: string;
|
|
480
|
-
}, 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>;
|
|
481
481
|
export declare const completeDomainConnect: (input: {
|
|
482
482
|
readonly id: string;
|
|
483
483
|
readonly state: string;
|
|
@@ -485,7 +485,7 @@ export declare const completeDomainConnect: (input: {
|
|
|
485
485
|
readonly errorDescription?: string | null | undefined;
|
|
486
486
|
}) => import("effect/Effect").Effect<{
|
|
487
487
|
readonly status: "applied" | "cancelled" | "failed" | "invalid";
|
|
488
|
-
}, 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>;
|
|
489
489
|
export declare const enableReceiving: (input: {
|
|
490
490
|
readonly id: string;
|
|
491
491
|
readonly domain: string;
|
|
@@ -495,7 +495,7 @@ export declare const enableReceiving: (input: {
|
|
|
495
495
|
}) => import("effect/Effect").Effect<{
|
|
496
496
|
readonly success: true;
|
|
497
497
|
readonly recipients: readonly string[];
|
|
498
|
-
}, 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>;
|
|
499
499
|
export declare const getReceivingStatus: (input: {
|
|
500
500
|
readonly id: string;
|
|
501
501
|
}) => import("effect/Effect").Effect<{
|
|
@@ -528,7 +528,7 @@ export declare const getReceivingStatus: (input: {
|
|
|
528
528
|
}[];
|
|
529
529
|
};
|
|
530
530
|
readonly ready: boolean;
|
|
531
|
-
}, 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>;
|
|
532
532
|
export declare const enableCustomTracking: (input: {
|
|
533
533
|
readonly id: string;
|
|
534
534
|
readonly label?: string | null | undefined;
|
|
@@ -564,7 +564,7 @@ export declare const enableCustomTracking: (input: {
|
|
|
564
564
|
readonly verificationErrors: readonly string[];
|
|
565
565
|
readonly teardownScheduledAt: string | null;
|
|
566
566
|
} | null;
|
|
567
|
-
}, 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>;
|
|
568
568
|
export declare const getCustomTracking: (input: {
|
|
569
569
|
readonly id: string;
|
|
570
570
|
}) => import("effect/Effect").Effect<{
|
|
@@ -599,7 +599,7 @@ export declare const getCustomTracking: (input: {
|
|
|
599
599
|
readonly verificationErrors: readonly string[];
|
|
600
600
|
readonly teardownScheduledAt: string | null;
|
|
601
601
|
} | null;
|
|
602
|
-
}, 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>;
|
|
603
603
|
export declare const recheckCustomTracking: (input: {
|
|
604
604
|
readonly id: string;
|
|
605
605
|
}) => import("effect/Effect").Effect<{
|
|
@@ -634,7 +634,7 @@ export declare const recheckCustomTracking: (input: {
|
|
|
634
634
|
readonly verificationErrors: readonly string[];
|
|
635
635
|
readonly teardownScheduledAt: string | null;
|
|
636
636
|
} | null;
|
|
637
|
-
}, 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>;
|
|
638
638
|
export declare const getCustomTrackingDomainConnect: (input: {
|
|
639
639
|
readonly id: string;
|
|
640
640
|
}) => import("effect/Effect").Effect<{
|
|
@@ -643,12 +643,12 @@ export declare const getCustomTrackingDomainConnect: (input: {
|
|
|
643
643
|
} | {
|
|
644
644
|
readonly eligible: true;
|
|
645
645
|
readonly providerName?: string | null;
|
|
646
|
-
}, 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>;
|
|
647
647
|
export declare const buildCustomTrackingDomainConnectApplyUrl: (input: {
|
|
648
648
|
readonly id: string;
|
|
649
649
|
}) => import("effect/Effect").Effect<{
|
|
650
650
|
readonly url: string;
|
|
651
|
-
}, 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>;
|
|
652
652
|
export declare const completeCustomTrackingDomainConnect: (input: {
|
|
653
653
|
readonly id: string;
|
|
654
654
|
readonly state: string;
|
|
@@ -656,13 +656,13 @@ export declare const completeCustomTrackingDomainConnect: (input: {
|
|
|
656
656
|
readonly errorDescription?: string | null | undefined;
|
|
657
657
|
}) => import("effect/Effect").Effect<{
|
|
658
658
|
readonly status: "applied" | "cancelled" | "failed" | "invalid" | "stale";
|
|
659
|
-
}, 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>;
|
|
660
660
|
export declare const disableCustomTracking: (input: {
|
|
661
661
|
readonly id: string;
|
|
662
662
|
}) => import("effect/Effect").Effect<{
|
|
663
663
|
readonly success: boolean;
|
|
664
664
|
readonly message: string;
|
|
665
|
-
}, 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>;
|
|
666
666
|
export declare const getDomainWarming: (input: {
|
|
667
667
|
readonly id: string;
|
|
668
668
|
}) => import("effect/Effect").Effect<{
|
|
@@ -728,7 +728,7 @@ export declare const getDomainWarming: (input: {
|
|
|
728
728
|
readonly workspacePauseReason: string | null;
|
|
729
729
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
730
730
|
};
|
|
731
|
-
}, 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>;
|
|
732
732
|
export declare const createDomainWarmingPlan: (input: {
|
|
733
733
|
readonly id: string;
|
|
734
734
|
readonly identity: "migrating" | "new" | "returning";
|
|
@@ -798,7 +798,7 @@ export declare const createDomainWarmingPlan: (input: {
|
|
|
798
798
|
readonly workspacePauseReason: string | null;
|
|
799
799
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
800
800
|
};
|
|
801
|
-
}, 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>;
|
|
802
802
|
export declare const updateDomainWarmingPolicy: (input: {
|
|
803
803
|
readonly id: string;
|
|
804
804
|
readonly dailyGrowthPercent: number;
|
|
@@ -867,7 +867,7 @@ export declare const updateDomainWarmingPolicy: (input: {
|
|
|
867
867
|
readonly workspacePauseReason: string | null;
|
|
868
868
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
869
869
|
};
|
|
870
|
-
}, 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>;
|
|
871
871
|
export declare const cancelDomainWarmingBatch: (input: {
|
|
872
872
|
readonly id: string;
|
|
873
873
|
readonly batchId: string;
|
|
@@ -934,7 +934,7 @@ export declare const cancelDomainWarmingBatch: (input: {
|
|
|
934
934
|
readonly workspacePauseReason: string | null;
|
|
935
935
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
936
936
|
};
|
|
937
|
-
}, 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>;
|
|
938
938
|
export declare const pauseDomainWarming: (input: {
|
|
939
939
|
readonly id: string;
|
|
940
940
|
readonly note?: string | null | undefined;
|
|
@@ -1001,7 +1001,7 @@ export declare const pauseDomainWarming: (input: {
|
|
|
1001
1001
|
readonly workspacePauseReason: string | null;
|
|
1002
1002
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1003
1003
|
};
|
|
1004
|
-
}, 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>;
|
|
1005
1005
|
export declare const resumeDomainWarming: (input: {
|
|
1006
1006
|
readonly id: string;
|
|
1007
1007
|
readonly note?: string | null | undefined;
|
|
@@ -1068,7 +1068,7 @@ export declare const resumeDomainWarming: (input: {
|
|
|
1068
1068
|
readonly workspacePauseReason: string | null;
|
|
1069
1069
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1070
1070
|
};
|
|
1071
|
-
}, 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>;
|
|
1072
1072
|
export declare const completeDomainWarming: (input: {
|
|
1073
1073
|
readonly id: string;
|
|
1074
1074
|
readonly note?: string | null | undefined;
|
|
@@ -1135,7 +1135,7 @@ export declare const completeDomainWarming: (input: {
|
|
|
1135
1135
|
readonly workspacePauseReason: string | null;
|
|
1136
1136
|
readonly sendingStatus: "disabled" | "enabled" | "reinstated" | "unknown";
|
|
1137
1137
|
};
|
|
1138
|
-
}, 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>;
|
|
1139
1139
|
export declare const getOnboardingReview: (_?: never) => import("effect/Effect").Effect<{
|
|
1140
1140
|
readonly decision: "approved" | "rejected" | "undecided";
|
|
1141
1141
|
readonly trustTier: "established" | "probation" | "screened";
|
|
@@ -1161,7 +1161,7 @@ export declare const getOnboardingReview: (_?: never) => import("effect/Effect")
|
|
|
1161
1161
|
readonly updatedAt: string;
|
|
1162
1162
|
}[];
|
|
1163
1163
|
readonly updatedAt: string | null;
|
|
1164
|
-
}, 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>;
|
|
1165
1165
|
export declare const reapplyOnboardingReview: (input: {
|
|
1166
1166
|
readonly expectedGeneration: number;
|
|
1167
1167
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1189,7 +1189,7 @@ export declare const reapplyOnboardingReview: (input: {
|
|
|
1189
1189
|
readonly updatedAt: string;
|
|
1190
1190
|
}[];
|
|
1191
1191
|
readonly updatedAt: string | null;
|
|
1192
|
-
}, 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>;
|
|
1193
1193
|
export declare const respondToOnboardingInformationRequest: (input: {
|
|
1194
1194
|
readonly expectedGeneration: number;
|
|
1195
1195
|
readonly responseText: string;
|
|
@@ -1219,7 +1219,7 @@ export declare const respondToOnboardingInformationRequest: (input: {
|
|
|
1219
1219
|
readonly updatedAt: string;
|
|
1220
1220
|
}[];
|
|
1221
1221
|
readonly updatedAt: string | null;
|
|
1222
|
-
}, 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>;
|
|
1223
1223
|
export declare const listSenders: ((input?: {
|
|
1224
1224
|
readonly limit?: string | null | undefined;
|
|
1225
1225
|
readonly cursor?: string | null | undefined;
|
|
@@ -1252,7 +1252,7 @@ export declare const listSenders: ((input?: {
|
|
|
1252
1252
|
readonly updatedAt: string;
|
|
1253
1253
|
}[];
|
|
1254
1254
|
readonly nextCursor: string | null;
|
|
1255
|
-
}, 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>) & {
|
|
1256
1256
|
readonly pages: (input?: {
|
|
1257
1257
|
readonly limit?: string | null | undefined;
|
|
1258
1258
|
readonly cursor?: string | null | undefined;
|
|
@@ -1285,7 +1285,7 @@ export declare const listSenders: ((input?: {
|
|
|
1285
1285
|
readonly updatedAt: string;
|
|
1286
1286
|
}[];
|
|
1287
1287
|
readonly nextCursor: string | null;
|
|
1288
|
-
}, 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>;
|
|
1289
1289
|
readonly items: (input?: {
|
|
1290
1290
|
readonly limit?: string | null | undefined;
|
|
1291
1291
|
readonly cursor?: string | null | undefined;
|
|
@@ -1315,7 +1315,7 @@ export declare const listSenders: ((input?: {
|
|
|
1315
1315
|
readonly isActive: boolean;
|
|
1316
1316
|
readonly createdAt: string;
|
|
1317
1317
|
readonly updatedAt: string;
|
|
1318
|
-
}, 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>;
|
|
1319
1319
|
};
|
|
1320
1320
|
export declare const getSender: (input: {
|
|
1321
1321
|
readonly id: string;
|
|
@@ -1342,7 +1342,7 @@ export declare const getSender: (input: {
|
|
|
1342
1342
|
readonly isActive: boolean;
|
|
1343
1343
|
readonly createdAt: string;
|
|
1344
1344
|
readonly updatedAt: string;
|
|
1345
|
-
}, 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>;
|
|
1346
1346
|
export declare const addSender: (input: EmailAddSenderInput, options?: SendOptions | undefined) => import("effect/Effect").Effect<{
|
|
1347
1347
|
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
1348
1348
|
readonly email: string;
|
|
@@ -1350,7 +1350,7 @@ export declare const addSender: (input: EmailAddSenderInput, options?: SendOptio
|
|
|
1350
1350
|
readonly providerLifecycle: "active" | "deleting" | "failed" | "provisioning";
|
|
1351
1351
|
readonly providerFailureCode: string | null;
|
|
1352
1352
|
readonly createdAt: string;
|
|
1353
|
-
}, 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>;
|
|
1354
1354
|
export declare const checkSenderVerification: (input: {
|
|
1355
1355
|
readonly id: string;
|
|
1356
1356
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1358,19 +1358,19 @@ export declare const checkSenderVerification: (input: {
|
|
|
1358
1358
|
readonly email: string;
|
|
1359
1359
|
readonly status: "failed" | "pending" | "verified";
|
|
1360
1360
|
readonly verifiedAt: string | null;
|
|
1361
|
-
}, 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>;
|
|
1362
1362
|
export declare const removeSender: (input: {
|
|
1363
1363
|
readonly id: string;
|
|
1364
1364
|
}) => import("effect/Effect").Effect<{
|
|
1365
1365
|
readonly success: boolean;
|
|
1366
1366
|
readonly message: string;
|
|
1367
|
-
}, 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>;
|
|
1368
1368
|
export declare const setDefaultSender: (input: {
|
|
1369
1369
|
readonly id: string;
|
|
1370
1370
|
}) => import("effect/Effect").Effect<{
|
|
1371
1371
|
readonly success: boolean;
|
|
1372
1372
|
readonly message: string;
|
|
1373
|
-
}, 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>;
|
|
1374
1374
|
export declare const getStats: (input?: {
|
|
1375
1375
|
readonly after?: string | null | undefined;
|
|
1376
1376
|
readonly before?: string | null | undefined;
|
|
@@ -1382,18 +1382,18 @@ export declare const getStats: (input?: {
|
|
|
1382
1382
|
readonly deliveryRate: number;
|
|
1383
1383
|
readonly bounceRate: number;
|
|
1384
1384
|
readonly complaintRate: number;
|
|
1385
|
-
}, 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>;
|
|
1386
1386
|
export declare const enableCatchAll: (input: {
|
|
1387
1387
|
readonly id: string;
|
|
1388
1388
|
readonly endpointId?: string | null | undefined;
|
|
1389
1389
|
}) => import("effect/Effect").Effect<{
|
|
1390
1390
|
readonly success: true;
|
|
1391
|
-
}, 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>;
|
|
1392
1392
|
export declare const disableCatchAll: (input: {
|
|
1393
1393
|
readonly id: string;
|
|
1394
1394
|
}) => import("effect/Effect").Effect<{
|
|
1395
1395
|
readonly success: true;
|
|
1396
|
-
}, 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>;
|
|
1397
1397
|
export declare const getCatchAllConfig: (input: {
|
|
1398
1398
|
readonly domainId: string;
|
|
1399
1399
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1401,13 +1401,13 @@ export declare const getCatchAllConfig: (input: {
|
|
|
1401
1401
|
readonly endpointId: (string & import("effect/Brand").Brand<"WebhookEndpointId">) | null;
|
|
1402
1402
|
readonly emailCount: number;
|
|
1403
1403
|
readonly lastEmailAt: string | null;
|
|
1404
|
-
}, 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>;
|
|
1405
1405
|
export declare const updateCatchAllConfig: (input: {
|
|
1406
1406
|
readonly domainId: string;
|
|
1407
1407
|
readonly endpointId?: string | null | undefined;
|
|
1408
1408
|
}) => import("effect/Effect").Effect<{
|
|
1409
1409
|
readonly success: true;
|
|
1410
|
-
}, 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>;
|
|
1411
1411
|
export declare const getCatchAllStats: (input: {
|
|
1412
1412
|
readonly domainId: string;
|
|
1413
1413
|
readonly after?: string | null | undefined;
|
|
@@ -1423,7 +1423,7 @@ export declare const getCatchAllStats: (input: {
|
|
|
1423
1423
|
readonly lastEmail: string | null;
|
|
1424
1424
|
readonly avgPerDay: number;
|
|
1425
1425
|
} | null;
|
|
1426
|
-
}, 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>;
|
|
1427
1427
|
export declare const listSuppressions: ((input?: {
|
|
1428
1428
|
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" | null | undefined;
|
|
1429
1429
|
readonly status?: "active" | "expired" | null | undefined;
|
|
@@ -1444,7 +1444,7 @@ export declare const listSuppressions: ((input?: {
|
|
|
1444
1444
|
readonly createdAt: string;
|
|
1445
1445
|
}[];
|
|
1446
1446
|
readonly nextCursor: string | null;
|
|
1447
|
-
}, 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>) & {
|
|
1448
1448
|
readonly pages: (input?: {
|
|
1449
1449
|
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" | null | undefined;
|
|
1450
1450
|
readonly status?: "active" | "expired" | null | undefined;
|
|
@@ -1465,7 +1465,7 @@ export declare const listSuppressions: ((input?: {
|
|
|
1465
1465
|
readonly createdAt: string;
|
|
1466
1466
|
}[];
|
|
1467
1467
|
readonly nextCursor: string | null;
|
|
1468
|
-
}, 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>;
|
|
1469
1469
|
readonly items: (input?: {
|
|
1470
1470
|
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" | null | undefined;
|
|
1471
1471
|
readonly status?: "active" | "expired" | null | undefined;
|
|
@@ -1483,20 +1483,20 @@ export declare const listSuppressions: ((input?: {
|
|
|
1483
1483
|
readonly isActive: boolean;
|
|
1484
1484
|
readonly expiresAt: string | null;
|
|
1485
1485
|
readonly createdAt: string;
|
|
1486
|
-
}, 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>;
|
|
1487
1487
|
};
|
|
1488
1488
|
export declare const countSuppressions: (_?: never) => import("effect/Effect").Effect<{
|
|
1489
1489
|
readonly bounce: number;
|
|
1490
1490
|
readonly complaint: number;
|
|
1491
1491
|
readonly unsubscribe: number;
|
|
1492
1492
|
readonly manual: number;
|
|
1493
|
-
}, 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>;
|
|
1494
1494
|
export declare const removeSuppression: (input: {
|
|
1495
1495
|
readonly id: string;
|
|
1496
1496
|
}) => import("effect/Effect").Effect<{
|
|
1497
1497
|
readonly success: boolean;
|
|
1498
1498
|
readonly message: string;
|
|
1499
|
-
}, 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>;
|
|
1500
1500
|
export declare const listBlocks: ((input?: {
|
|
1501
1501
|
readonly blockType?: "domain" | "email" | null | undefined;
|
|
1502
1502
|
readonly isActive?: string | null | undefined;
|
|
@@ -1516,7 +1516,7 @@ export declare const listBlocks: ((input?: {
|
|
|
1516
1516
|
readonly createdAt: string;
|
|
1517
1517
|
}[];
|
|
1518
1518
|
readonly nextCursor: string | null;
|
|
1519
|
-
}, 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>) & {
|
|
1520
1520
|
readonly pages: (input?: {
|
|
1521
1521
|
readonly blockType?: "domain" | "email" | null | undefined;
|
|
1522
1522
|
readonly isActive?: string | null | undefined;
|
|
@@ -1536,7 +1536,7 @@ export declare const listBlocks: ((input?: {
|
|
|
1536
1536
|
readonly createdAt: string;
|
|
1537
1537
|
}[];
|
|
1538
1538
|
readonly nextCursor: string | null;
|
|
1539
|
-
}, 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>;
|
|
1540
1540
|
readonly items: (input?: {
|
|
1541
1541
|
readonly blockType?: "domain" | "email" | null | undefined;
|
|
1542
1542
|
readonly isActive?: string | null | undefined;
|
|
@@ -1553,7 +1553,7 @@ export declare const listBlocks: ((input?: {
|
|
|
1553
1553
|
readonly lastBlockedAt: string | null;
|
|
1554
1554
|
readonly expiresAt: string | null;
|
|
1555
1555
|
readonly createdAt: string;
|
|
1556
|
-
}, 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>;
|
|
1557
1557
|
};
|
|
1558
1558
|
export declare const addBlock: (input: {
|
|
1559
1559
|
readonly blockType: "domain" | "email";
|
|
@@ -1570,13 +1570,13 @@ export declare const addBlock: (input: {
|
|
|
1570
1570
|
readonly isActive: boolean;
|
|
1571
1571
|
readonly expiresAt: string | null;
|
|
1572
1572
|
readonly createdAt: string;
|
|
1573
|
-
}, 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>;
|
|
1574
1574
|
export declare const removeBlock: (input: {
|
|
1575
1575
|
readonly id: string;
|
|
1576
1576
|
}) => import("effect/Effect").Effect<{
|
|
1577
1577
|
readonly success: boolean;
|
|
1578
1578
|
readonly message: string;
|
|
1579
|
-
}, 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>;
|
|
1580
1580
|
export declare const updateBlock: (input: {
|
|
1581
1581
|
readonly id: string;
|
|
1582
1582
|
readonly reason?: string | null | undefined;
|
|
@@ -1592,7 +1592,7 @@ export declare const updateBlock: (input: {
|
|
|
1592
1592
|
readonly isActive: boolean;
|
|
1593
1593
|
readonly expiresAt: string | null;
|
|
1594
1594
|
readonly updatedAt: string;
|
|
1595
|
-
}, 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>;
|
|
1596
1596
|
export declare const getBlockLogs: ((input?: {
|
|
1597
1597
|
readonly blockedEmailId?: string | null | undefined;
|
|
1598
1598
|
readonly fromAddress?: string | null | undefined;
|
|
@@ -1615,7 +1615,7 @@ export declare const getBlockLogs: ((input?: {
|
|
|
1615
1615
|
readonly blockedAt: string;
|
|
1616
1616
|
}[];
|
|
1617
1617
|
readonly nextCursor: string | null;
|
|
1618
|
-
}, 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>) & {
|
|
1619
1619
|
readonly pages: (input?: {
|
|
1620
1620
|
readonly blockedEmailId?: string | null | undefined;
|
|
1621
1621
|
readonly fromAddress?: string | null | undefined;
|
|
@@ -1638,7 +1638,7 @@ export declare const getBlockLogs: ((input?: {
|
|
|
1638
1638
|
readonly blockedAt: string;
|
|
1639
1639
|
}[];
|
|
1640
1640
|
readonly nextCursor: string | null;
|
|
1641
|
-
}, 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>;
|
|
1642
1642
|
readonly items: (input?: {
|
|
1643
1643
|
readonly blockedEmailId?: string | null | undefined;
|
|
1644
1644
|
readonly fromAddress?: string | null | undefined;
|
|
@@ -1658,7 +1658,7 @@ export declare const getBlockLogs: ((input?: {
|
|
|
1658
1658
|
readonly dkimResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1659
1659
|
readonly dmarcResult: "fail" | "neutral" | "none" | "pass" | "permerror" | "policy" | "softfail" | "temperror" | null;
|
|
1660
1660
|
readonly blockedAt: string;
|
|
1661
|
-
}, 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>;
|
|
1662
1662
|
};
|
|
1663
1663
|
export declare const checkBlocked: (input: {
|
|
1664
1664
|
readonly emailAddress: string;
|
|
@@ -1672,7 +1672,7 @@ export declare const checkBlocked: (input: {
|
|
|
1672
1672
|
readonly expiresAt: string | null;
|
|
1673
1673
|
} | null;
|
|
1674
1674
|
readonly reason: string | null;
|
|
1675
|
-
}, 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>;
|
|
1676
1676
|
export declare const listForwardingRules: (input?: {
|
|
1677
1677
|
readonly domainId?: string | null | undefined;
|
|
1678
1678
|
readonly isActive?: string | null | undefined;
|
|
@@ -1692,7 +1692,7 @@ export declare const listForwardingRules: (input?: {
|
|
|
1692
1692
|
readonly lastForwardedAt: string | null;
|
|
1693
1693
|
readonly createdAt: string;
|
|
1694
1694
|
}[];
|
|
1695
|
-
}, 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>;
|
|
1696
1696
|
export declare const createForwardingRule: (input: {
|
|
1697
1697
|
readonly name: string;
|
|
1698
1698
|
readonly description?: string | null | undefined;
|
|
@@ -1742,13 +1742,13 @@ export declare const createForwardingRule: (input: {
|
|
|
1742
1742
|
readonly priority: number;
|
|
1743
1743
|
readonly isActive: boolean;
|
|
1744
1744
|
readonly createdAt: string;
|
|
1745
|
-
}, 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>;
|
|
1746
1746
|
export declare const deleteForwardingRule: (input: {
|
|
1747
1747
|
readonly id: string;
|
|
1748
1748
|
}) => import("effect/Effect").Effect<{
|
|
1749
1749
|
readonly success: boolean;
|
|
1750
1750
|
readonly message: string;
|
|
1751
|
-
}, 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>;
|
|
1752
1752
|
export declare const updateForwardingRule: (input: {
|
|
1753
1753
|
readonly id: string;
|
|
1754
1754
|
readonly name?: string | null | undefined;
|
|
@@ -1799,7 +1799,7 @@ export declare const updateForwardingRule: (input: {
|
|
|
1799
1799
|
readonly priority: number;
|
|
1800
1800
|
readonly isActive: boolean;
|
|
1801
1801
|
readonly updatedAt: string;
|
|
1802
|
-
}, 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>;
|
|
1803
1803
|
export declare const getForwardingLog: ((input?: {
|
|
1804
1804
|
readonly forwardingRuleId?: string | null | undefined;
|
|
1805
1805
|
readonly status?: "failed" | "forwarded" | "pending" | null | undefined;
|
|
@@ -1822,7 +1822,7 @@ export declare const getForwardingLog: ((input?: {
|
|
|
1822
1822
|
readonly createdAt: string;
|
|
1823
1823
|
}[];
|
|
1824
1824
|
readonly nextCursor: string | null;
|
|
1825
|
-
}, 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>) & {
|
|
1826
1826
|
readonly pages: (input?: {
|
|
1827
1827
|
readonly forwardingRuleId?: string | null | undefined;
|
|
1828
1828
|
readonly status?: "failed" | "forwarded" | "pending" | null | undefined;
|
|
@@ -1845,7 +1845,7 @@ export declare const getForwardingLog: ((input?: {
|
|
|
1845
1845
|
readonly createdAt: string;
|
|
1846
1846
|
}[];
|
|
1847
1847
|
readonly nextCursor: string | null;
|
|
1848
|
-
}, 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>;
|
|
1849
1849
|
readonly items: (input?: {
|
|
1850
1850
|
readonly forwardingRuleId?: string | null | undefined;
|
|
1851
1851
|
readonly status?: "failed" | "forwarded" | "pending" | null | undefined;
|
|
@@ -1865,5 +1865,5 @@ export declare const getForwardingLog: ((input?: {
|
|
|
1865
1865
|
readonly messageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
1866
1866
|
readonly forwardedAt: string | null;
|
|
1867
1867
|
readonly createdAt: string;
|
|
1868
|
-
}, 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>;
|
|
1869
1869
|
};
|