samva 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/client/sdk.gen.d.ts +94 -36
- package/dist/client/sdk.gen.js +269 -55
- package/dist/client/types.gen.d.ts +497 -106
- package/dist/effect/campaigns.d.ts +35 -3
- package/dist/effect/contact-groups.d.ts +39 -3
- package/dist/effect/contacts.d.ts +240 -17
- package/dist/effect/contacts.js +3 -1
- package/dist/effect/conversations.d.ts +11 -11
- package/dist/effect/email.d.ts +22 -6
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/extension-installations.d.ts +12 -12
- package/dist/effect/extensions.d.ts +3 -3
- package/dist/effect/generated/campaigns.d.ts +73 -4
- package/dist/effect/generated/campaigns.js +18 -1
- package/dist/effect/generated/contact-groups.d.ts +33 -3
- package/dist/effect/generated/contacts.d.ts +608 -55
- package/dist/effect/generated/contacts.js +55 -10
- package/dist/effect/generated/conversations.d.ts +25 -25
- package/dist/effect/generated/conversations.js +1 -1
- package/dist/effect/generated/email.d.ts +162 -1
- package/dist/effect/generated/email.js +31 -11
- package/dist/effect/generated/extension-installations.d.ts +44 -44
- package/dist/effect/generated/extension-installations.js +6 -0
- package/dist/effect/generated/extensions.d.ts +10 -10
- package/dist/effect/generated/extensions.js +2 -0
- package/dist/effect/generated/journeys.d.ts +13 -61
- package/dist/effect/generated/journeys.js +5 -5
- package/dist/effect/generated/mailboxes.d.ts +584 -78
- package/dist/effect/generated/mailboxes.js +65 -24
- package/dist/effect/generated/messages.d.ts +35 -1
- package/dist/effect/generated/messages.js +9 -2
- package/dist/effect/generated/namespaces.d.ts +432 -2
- package/dist/effect/generated/namespaces.js +91 -4
- package/dist/effect/generated/organizations.d.ts +13 -11
- package/dist/effect/generated/organizations.js +7 -3
- package/dist/effect/generated/shared.d.ts +104 -49
- package/dist/effect/generated/shared.js +51 -28
- package/dist/effect/generated/templates.d.ts +44 -1
- package/dist/effect/generated/templates.js +9 -3
- package/dist/effect/generated/unsubscribe-groups.d.ts +173 -78
- package/dist/effect/generated/unsubscribe-groups.js +75 -58
- package/dist/effect/generated/webhooks.d.ts +19 -19
- package/dist/effect/generated/webhooks.js +8 -0
- package/dist/effect/generated-metadata.d.ts +22 -6
- package/dist/effect/generated-metadata.js +334 -329
- package/dist/effect/index.js +2 -2
- package/dist/effect/journeys.d.ts +4 -4
- package/dist/effect/mailboxes.d.ts +144 -12
- package/dist/effect/messages.d.ts +8 -0
- package/dist/effect/namespaces.d.ts +29 -0
- package/dist/effect/namespaces.js +7 -1
- package/dist/effect/organizations.d.ts +4 -4
- package/dist/effect/templates.d.ts +12 -1
- package/dist/effect/unsubscribe-groups.d.ts +29 -18
- package/dist/effect/unsubscribe-groups.js +5 -5
- package/dist/effect/webhooks.d.ts +8 -8
- package/dist/index.js +2 -2
- package/dist/mailbox-events.d.ts +31 -4
- package/dist/mailbox-events.js +39 -11
- package/dist/package.js +1 -1
- package/dist/promises/errors.gen.d.ts +2 -12
- package/dist/promises/errors.gen.js +1 -26
- package/dist/promises/index.d.ts +1 -1
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +24 -4
- package/dist/service-map.js +26 -2
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as EffectBrand from "effect/Brand";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
3
3
|
import * as Schema from "effect/Schema";
|
|
4
|
-
import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, Cursor, EmailChannelError, EmailDomainId, EmailSenderId, ExternalServiceError, ForbiddenError, GatewayTimeoutError, InternalError, JsonValue, MediaId, MessageId, OperationId, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SendsSeries, UnauthorizedError, UnsubscribeId, ValidationError, WebhookEndpointId } from "./shared";
|
|
4
|
+
import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, Cursor, EmailChannelError, EmailDomainId, EmailSenderId, ExternalServiceError, ForbiddenError, GatewayTimeoutError, InternalError, JsonValue, MediaId, MessageId, NamespaceId, OperationId, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SendsSeries, UnauthorizedError, UnsubscribeId, ValidationError, WebhookEndpointId } from "./shared";
|
|
5
5
|
export type BlockedEmailId = string & EffectBrand.Brand<"BlockedEmailId">;
|
|
6
6
|
export declare const BlockedEmailId: Schema.brand<Schema.String, "BlockedEmailId">;
|
|
7
7
|
export type SuccessResult = {
|
|
@@ -349,6 +349,7 @@ export type EmailDomainPage = {
|
|
|
349
349
|
readonly phase: "dns-setup" | "provisioning" | "verifying" | "ready" | "degraded" | "failed";
|
|
350
350
|
readonly dkimSelector?: string | null;
|
|
351
351
|
readonly dkimPublicKey?: string | null;
|
|
352
|
+
readonly namespaceId: NamespaceId | null;
|
|
352
353
|
readonly isDefault: boolean;
|
|
353
354
|
readonly deliverability: DeliverabilityFacts;
|
|
354
355
|
readonly series: SendsSeries;
|
|
@@ -364,6 +365,7 @@ export declare const EmailDomainPage: Schema.Struct<{
|
|
|
364
365
|
readonly phase: Schema.Union<readonly [Schema.Literal<"dns-setup">, Schema.Literal<"provisioning">, Schema.Literal<"verifying">, Schema.Literal<"ready">, Schema.Literal<"degraded">, Schema.Literal<"failed">]>;
|
|
365
366
|
readonly dkimSelector: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
366
367
|
readonly dkimPublicKey: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
368
|
+
readonly namespaceId: Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>;
|
|
367
369
|
readonly isDefault: Schema.Boolean;
|
|
368
370
|
readonly deliverability: Schema.Struct<{
|
|
369
371
|
readonly bounceRate: Schema.Finite;
|
|
@@ -392,6 +394,7 @@ export type EmailDomainDetailed = {
|
|
|
392
394
|
readonly priority?: number | null;
|
|
393
395
|
}>;
|
|
394
396
|
readonly verifiedAt: string | null;
|
|
397
|
+
readonly namespaceId: NamespaceId | null;
|
|
395
398
|
readonly isDefault: boolean;
|
|
396
399
|
readonly deliverability: DeliverabilityFacts;
|
|
397
400
|
readonly createdAt: string;
|
|
@@ -412,6 +415,7 @@ export declare const EmailDomainDetailed: Schema.Struct<{
|
|
|
412
415
|
readonly priority: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
413
416
|
}>>;
|
|
414
417
|
readonly verifiedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
418
|
+
readonly namespaceId: Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>;
|
|
415
419
|
readonly isDefault: Schema.Boolean;
|
|
416
420
|
readonly deliverability: Schema.Struct<{
|
|
417
421
|
readonly bounceRate: Schema.Finite;
|
|
@@ -692,6 +696,7 @@ export type EmailSenderPage = {
|
|
|
692
696
|
readonly email: string;
|
|
693
697
|
readonly name: string | null;
|
|
694
698
|
readonly domainId: EmailDomainId | null;
|
|
699
|
+
readonly namespaceId: NamespaceId | null;
|
|
695
700
|
readonly verificationStatus: "pending" | "verified" | "failed";
|
|
696
701
|
readonly verifiedAt: string | null;
|
|
697
702
|
readonly verificationToken: string | null;
|
|
@@ -714,6 +719,7 @@ export declare const EmailSenderPage: Schema.Struct<{
|
|
|
714
719
|
readonly email: Schema.String;
|
|
715
720
|
readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
716
721
|
readonly domainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
722
|
+
readonly namespaceId: Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>;
|
|
717
723
|
readonly verificationStatus: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"verified">, Schema.Literal<"failed">]>;
|
|
718
724
|
readonly verifiedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
719
725
|
readonly verificationToken: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1412,11 +1418,13 @@ export type EmailListDomainsQuery = {
|
|
|
1412
1418
|
readonly limit?: string | null;
|
|
1413
1419
|
readonly cursor?: Cursor | null;
|
|
1414
1420
|
readonly sendable?: "true" | null;
|
|
1421
|
+
readonly namespaceId?: NamespaceId | null;
|
|
1415
1422
|
};
|
|
1416
1423
|
export declare const EmailListDomainsQuery: Schema.Struct<{
|
|
1417
1424
|
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1418
1425
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1419
1426
|
readonly sendable: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"true">, Schema.Null]>>;
|
|
1427
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
1420
1428
|
}>;
|
|
1421
1429
|
export type EmailListDomains200 = EmailDomainPage;
|
|
1422
1430
|
export declare const EmailListDomains200: Schema.Struct<{
|
|
@@ -1426,6 +1434,7 @@ export declare const EmailListDomains200: Schema.Struct<{
|
|
|
1426
1434
|
readonly phase: Schema.Union<readonly [Schema.Literal<"dns-setup">, Schema.Literal<"provisioning">, Schema.Literal<"verifying">, Schema.Literal<"ready">, Schema.Literal<"degraded">, Schema.Literal<"failed">]>;
|
|
1427
1435
|
readonly dkimSelector: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1428
1436
|
readonly dkimPublicKey: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1437
|
+
readonly namespaceId: Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>;
|
|
1429
1438
|
readonly isDefault: Schema.Boolean;
|
|
1430
1439
|
readonly deliverability: Schema.Struct<{
|
|
1431
1440
|
readonly bounceRate: Schema.Finite;
|
|
@@ -1455,6 +1464,7 @@ export type EmailAddDomainRequestJson = {
|
|
|
1455
1464
|
readonly connectionId: string;
|
|
1456
1465
|
readonly zone: string;
|
|
1457
1466
|
} | null;
|
|
1467
|
+
readonly namespaceId?: NamespaceId | null;
|
|
1458
1468
|
};
|
|
1459
1469
|
export declare const EmailAddDomainRequestJson: Schema.Struct<{
|
|
1460
1470
|
readonly domain: Schema.String;
|
|
@@ -1462,6 +1472,7 @@ export declare const EmailAddDomainRequestJson: Schema.Struct<{
|
|
|
1462
1472
|
readonly connectionId: Schema.String;
|
|
1463
1473
|
readonly zone: Schema.String;
|
|
1464
1474
|
}>, Schema.Null]>>;
|
|
1475
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
1465
1476
|
}>;
|
|
1466
1477
|
export type EmailAddDomain201 = EmailDomainDetailed;
|
|
1467
1478
|
export declare const EmailAddDomain201: Schema.Struct<{
|
|
@@ -1479,6 +1490,7 @@ export declare const EmailAddDomain201: Schema.Struct<{
|
|
|
1479
1490
|
readonly priority: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
1480
1491
|
}>>;
|
|
1481
1492
|
readonly verifiedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1493
|
+
readonly namespaceId: Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>;
|
|
1482
1494
|
readonly isDefault: Schema.Boolean;
|
|
1483
1495
|
readonly deliverability: Schema.Struct<{
|
|
1484
1496
|
readonly bounceRate: Schema.Finite;
|
|
@@ -1495,6 +1507,8 @@ export type EmailAddDomain402 = PaymentRequiredError;
|
|
|
1495
1507
|
export declare const EmailAddDomain402: typeof PaymentRequiredError;
|
|
1496
1508
|
export type EmailAddDomain403 = ForbiddenError;
|
|
1497
1509
|
export declare const EmailAddDomain403: typeof ForbiddenError;
|
|
1510
|
+
export type EmailAddDomain404 = ResourceNotFoundError;
|
|
1511
|
+
export declare const EmailAddDomain404: typeof ResourceNotFoundError;
|
|
1498
1512
|
export type EmailAddDomain409 = ConflictError;
|
|
1499
1513
|
export declare const EmailAddDomain409: typeof ConflictError;
|
|
1500
1514
|
export type EmailAddDomain422 = ValidationError;
|
|
@@ -1529,6 +1543,7 @@ export declare const EmailGetDomainById200: Schema.Struct<{
|
|
|
1529
1543
|
readonly priority: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
1530
1544
|
}>>;
|
|
1531
1545
|
readonly verifiedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1546
|
+
readonly namespaceId: Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>;
|
|
1532
1547
|
readonly isDefault: Schema.Boolean;
|
|
1533
1548
|
readonly deliverability: Schema.Struct<{
|
|
1534
1549
|
readonly bounceRate: Schema.Finite;
|
|
@@ -1672,6 +1687,8 @@ export type EmailGetCustomTracking401 = UnauthorizedError;
|
|
|
1672
1687
|
export declare const EmailGetCustomTracking401: typeof UnauthorizedError;
|
|
1673
1688
|
export type EmailGetCustomTracking403 = ForbiddenError;
|
|
1674
1689
|
export declare const EmailGetCustomTracking403: typeof ForbiddenError;
|
|
1690
|
+
export type EmailGetCustomTracking404 = ResourceNotFoundError;
|
|
1691
|
+
export declare const EmailGetCustomTracking404: typeof ResourceNotFoundError;
|
|
1675
1692
|
export type EmailGetCustomTracking422 = ValidationError;
|
|
1676
1693
|
export declare const EmailGetCustomTracking422: typeof ValidationError;
|
|
1677
1694
|
export type EmailGetCustomTracking500 = InternalError;
|
|
@@ -1728,6 +1745,8 @@ export type EmailEnableCustomTracking401 = UnauthorizedError;
|
|
|
1728
1745
|
export declare const EmailEnableCustomTracking401: typeof UnauthorizedError;
|
|
1729
1746
|
export type EmailEnableCustomTracking403 = ForbiddenError;
|
|
1730
1747
|
export declare const EmailEnableCustomTracking403: typeof ForbiddenError;
|
|
1748
|
+
export type EmailEnableCustomTracking404 = ResourceNotFoundError;
|
|
1749
|
+
export declare const EmailEnableCustomTracking404: typeof ResourceNotFoundError;
|
|
1731
1750
|
export type EmailEnableCustomTracking409 = ConflictError;
|
|
1732
1751
|
export declare const EmailEnableCustomTracking409: typeof ConflictError;
|
|
1733
1752
|
export type EmailEnableCustomTracking422 = ValidationError;
|
|
@@ -1753,6 +1772,8 @@ export type EmailDisableCustomTracking401 = UnauthorizedError;
|
|
|
1753
1772
|
export declare const EmailDisableCustomTracking401: typeof UnauthorizedError;
|
|
1754
1773
|
export type EmailDisableCustomTracking403 = ForbiddenError;
|
|
1755
1774
|
export declare const EmailDisableCustomTracking403: typeof ForbiddenError;
|
|
1775
|
+
export type EmailDisableCustomTracking404 = ResourceNotFoundError;
|
|
1776
|
+
export declare const EmailDisableCustomTracking404: typeof ResourceNotFoundError;
|
|
1756
1777
|
export type EmailDisableCustomTracking409 = ConflictError;
|
|
1757
1778
|
export declare const EmailDisableCustomTracking409: typeof ConflictError;
|
|
1758
1779
|
export type EmailDisableCustomTracking422 = ValidationError;
|
|
@@ -1839,6 +1860,8 @@ export type EmailCompleteCustomTrackingDomainConnect401 = UnauthorizedError;
|
|
|
1839
1860
|
export declare const EmailCompleteCustomTrackingDomainConnect401: typeof UnauthorizedError;
|
|
1840
1861
|
export type EmailCompleteCustomTrackingDomainConnect403 = ForbiddenError;
|
|
1841
1862
|
export declare const EmailCompleteCustomTrackingDomainConnect403: typeof ForbiddenError;
|
|
1863
|
+
export type EmailCompleteCustomTrackingDomainConnect404 = ResourceNotFoundError;
|
|
1864
|
+
export declare const EmailCompleteCustomTrackingDomainConnect404: typeof ResourceNotFoundError;
|
|
1842
1865
|
export type EmailCompleteCustomTrackingDomainConnect422 = ValidationError;
|
|
1843
1866
|
export declare const EmailCompleteCustomTrackingDomainConnect422: typeof ValidationError;
|
|
1844
1867
|
export type EmailCompleteCustomTrackingDomainConnect500 = InternalError;
|
|
@@ -2196,6 +2219,8 @@ export type EmailDetectRegistrar401 = UnauthorizedError;
|
|
|
2196
2219
|
export declare const EmailDetectRegistrar401: typeof UnauthorizedError;
|
|
2197
2220
|
export type EmailDetectRegistrar403 = ForbiddenError;
|
|
2198
2221
|
export declare const EmailDetectRegistrar403: typeof ForbiddenError;
|
|
2222
|
+
export type EmailDetectRegistrar404 = ResourceNotFoundError;
|
|
2223
|
+
export declare const EmailDetectRegistrar404: typeof ResourceNotFoundError;
|
|
2199
2224
|
export type EmailDetectRegistrar422 = ValidationError;
|
|
2200
2225
|
export declare const EmailDetectRegistrar422: typeof ValidationError;
|
|
2201
2226
|
export type EmailDetectRegistrar500 = InternalError;
|
|
@@ -3521,6 +3546,7 @@ export type EmailListSendersQuery = {
|
|
|
3521
3546
|
readonly verificationStatus?: "pending" | "verified" | "failed" | null;
|
|
3522
3547
|
readonly isActive?: string | null;
|
|
3523
3548
|
readonly isDefault?: string | null;
|
|
3549
|
+
readonly namespaceId?: NamespaceId | null;
|
|
3524
3550
|
};
|
|
3525
3551
|
export declare const EmailListSendersQuery: Schema.Struct<{
|
|
3526
3552
|
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -3528,6 +3554,7 @@ export declare const EmailListSendersQuery: Schema.Struct<{
|
|
|
3528
3554
|
readonly verificationStatus: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"verified">, Schema.Literal<"failed">]>, Schema.Null]>>;
|
|
3529
3555
|
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3530
3556
|
readonly isDefault: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3557
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
3531
3558
|
}>;
|
|
3532
3559
|
export type EmailListSenders200 = EmailSenderPage;
|
|
3533
3560
|
export declare const EmailListSenders200: Schema.Struct<{
|
|
@@ -3537,6 +3564,7 @@ export declare const EmailListSenders200: Schema.Struct<{
|
|
|
3537
3564
|
readonly email: Schema.String;
|
|
3538
3565
|
readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3539
3566
|
readonly domainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
3567
|
+
readonly namespaceId: Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>;
|
|
3540
3568
|
readonly verificationStatus: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"verified">, Schema.Literal<"failed">]>;
|
|
3541
3569
|
readonly verifiedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3542
3570
|
readonly verificationToken: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -3578,12 +3606,14 @@ export type EmailAddSenderRequestJson = {
|
|
|
3578
3606
|
readonly domainId?: EmailDomainId | null;
|
|
3579
3607
|
readonly name?: string | null | null;
|
|
3580
3608
|
readonly replyToEmails?: ReadonlyArray<string> | null | null;
|
|
3609
|
+
readonly namespaceId?: NamespaceId | null;
|
|
3581
3610
|
};
|
|
3582
3611
|
export declare const EmailAddSenderRequestJson: Schema.Struct<{
|
|
3583
3612
|
readonly email: Schema.String;
|
|
3584
3613
|
readonly domainId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>>;
|
|
3585
3614
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
3586
3615
|
readonly replyToEmails: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
3616
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
3587
3617
|
}>;
|
|
3588
3618
|
export type EmailAddSender201 = {
|
|
3589
3619
|
readonly id: EmailSenderId;
|
|
@@ -3629,6 +3659,7 @@ export type EmailGetSender200 = {
|
|
|
3629
3659
|
readonly email: string;
|
|
3630
3660
|
readonly name: string | null;
|
|
3631
3661
|
readonly domainId: EmailDomainId | null;
|
|
3662
|
+
readonly namespaceId: NamespaceId | null;
|
|
3632
3663
|
readonly verificationStatus: "pending" | "verified" | "failed";
|
|
3633
3664
|
readonly verifiedAt: string | null;
|
|
3634
3665
|
readonly verificationToken: string | null;
|
|
@@ -3648,6 +3679,7 @@ export declare const EmailGetSender200: Schema.Struct<{
|
|
|
3648
3679
|
readonly email: Schema.String;
|
|
3649
3680
|
readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3650
3681
|
readonly domainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
3682
|
+
readonly namespaceId: Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>;
|
|
3651
3683
|
readonly verificationStatus: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"verified">, Schema.Literal<"failed">]>;
|
|
3652
3684
|
readonly verifiedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3653
3685
|
readonly verificationToken: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -4067,6 +4099,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
4067
4099
|
readonly connectionId: Schema.String;
|
|
4068
4100
|
readonly zone: Schema.String;
|
|
4069
4101
|
}>, Schema.Null]>>;
|
|
4102
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
4070
4103
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
4071
4104
|
readonly id: Schema.brand<Schema.String, "EmailDomainId">;
|
|
4072
4105
|
readonly domain: Schema.String;
|
|
@@ -4082,6 +4115,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
4082
4115
|
readonly priority: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
4083
4116
|
}>>;
|
|
4084
4117
|
readonly verifiedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4118
|
+
readonly namespaceId: Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>;
|
|
4085
4119
|
readonly isDefault: Schema.Boolean;
|
|
4086
4120
|
readonly deliverability: Schema.Struct<{
|
|
4087
4121
|
readonly bounceRate: Schema.Finite;
|
|
@@ -4179,6 +4213,26 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
4179
4213
|
readonly _tag: Schema.tag<"RateLimitedError">;
|
|
4180
4214
|
readonly message: Schema.String;
|
|
4181
4215
|
readonly retryAfterSeconds: Schema.Finite;
|
|
4216
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
4217
|
+
readonly _tag: "ResourceNotFoundError";
|
|
4218
|
+
readonly resource: string;
|
|
4219
|
+
readonly id: string;
|
|
4220
|
+
readonly message: string;
|
|
4221
|
+
}, readonly [Schema.Struct<{
|
|
4222
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
4223
|
+
readonly resource: Schema.String;
|
|
4224
|
+
readonly id: Schema.String;
|
|
4225
|
+
readonly message: Schema.String;
|
|
4226
|
+
}>], {
|
|
4227
|
+
readonly _tag: "ResourceNotFoundError";
|
|
4228
|
+
readonly resource: string;
|
|
4229
|
+
readonly id: string;
|
|
4230
|
+
readonly message: string;
|
|
4231
|
+
}>, Schema.Struct<{
|
|
4232
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
4233
|
+
readonly resource: Schema.String;
|
|
4234
|
+
readonly id: Schema.String;
|
|
4235
|
+
readonly message: Schema.String;
|
|
4182
4236
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
4183
4237
|
readonly _tag: "UnauthorizedError";
|
|
4184
4238
|
readonly message: string;
|
|
@@ -4216,6 +4270,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
4216
4270
|
readonly domainId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>>;
|
|
4217
4271
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
4218
4272
|
readonly replyToEmails: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
4273
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
4219
4274
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
4220
4275
|
readonly "idempotency-key": Schema.String;
|
|
4221
4276
|
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -5210,6 +5265,26 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
5210
5265
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
5211
5266
|
readonly message: Schema.String;
|
|
5212
5267
|
readonly retryAfterSeconds: Schema.Finite;
|
|
5268
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
5269
|
+
readonly _tag: "ResourceNotFoundError";
|
|
5270
|
+
readonly resource: string;
|
|
5271
|
+
readonly id: string;
|
|
5272
|
+
readonly message: string;
|
|
5273
|
+
}, readonly [Schema.Struct<{
|
|
5274
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
5275
|
+
readonly resource: Schema.String;
|
|
5276
|
+
readonly id: Schema.String;
|
|
5277
|
+
readonly message: Schema.String;
|
|
5278
|
+
}>], {
|
|
5279
|
+
readonly _tag: "ResourceNotFoundError";
|
|
5280
|
+
readonly resource: string;
|
|
5281
|
+
readonly id: string;
|
|
5282
|
+
readonly message: string;
|
|
5283
|
+
}>, Schema.Struct<{
|
|
5284
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
5285
|
+
readonly resource: Schema.String;
|
|
5286
|
+
readonly id: Schema.String;
|
|
5287
|
+
readonly message: Schema.String;
|
|
5213
5288
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
5214
5289
|
readonly _tag: "UnauthorizedError";
|
|
5215
5290
|
readonly message: string;
|
|
@@ -5997,6 +6072,26 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
5997
6072
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
5998
6073
|
readonly message: Schema.String;
|
|
5999
6074
|
readonly retryAfterSeconds: Schema.Finite;
|
|
6075
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
6076
|
+
readonly _tag: "ResourceNotFoundError";
|
|
6077
|
+
readonly resource: string;
|
|
6078
|
+
readonly id: string;
|
|
6079
|
+
readonly message: string;
|
|
6080
|
+
}, readonly [Schema.Struct<{
|
|
6081
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
6082
|
+
readonly resource: Schema.String;
|
|
6083
|
+
readonly id: Schema.String;
|
|
6084
|
+
readonly message: Schema.String;
|
|
6085
|
+
}>], {
|
|
6086
|
+
readonly _tag: "ResourceNotFoundError";
|
|
6087
|
+
readonly resource: string;
|
|
6088
|
+
readonly id: string;
|
|
6089
|
+
readonly message: string;
|
|
6090
|
+
}>, Schema.Struct<{
|
|
6091
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
6092
|
+
readonly resource: Schema.String;
|
|
6093
|
+
readonly id: Schema.String;
|
|
6094
|
+
readonly message: Schema.String;
|
|
6000
6095
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
6001
6096
|
readonly _tag: "UnauthorizedError";
|
|
6002
6097
|
readonly message: string;
|
|
@@ -6198,6 +6293,26 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
6198
6293
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
6199
6294
|
readonly message: Schema.String;
|
|
6200
6295
|
readonly retryAfterSeconds: Schema.Finite;
|
|
6296
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
6297
|
+
readonly _tag: "ResourceNotFoundError";
|
|
6298
|
+
readonly resource: string;
|
|
6299
|
+
readonly id: string;
|
|
6300
|
+
readonly message: string;
|
|
6301
|
+
}, readonly [Schema.Struct<{
|
|
6302
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
6303
|
+
readonly resource: Schema.String;
|
|
6304
|
+
readonly id: Schema.String;
|
|
6305
|
+
readonly message: Schema.String;
|
|
6306
|
+
}>], {
|
|
6307
|
+
readonly _tag: "ResourceNotFoundError";
|
|
6308
|
+
readonly resource: string;
|
|
6309
|
+
readonly id: string;
|
|
6310
|
+
readonly message: string;
|
|
6311
|
+
}>, Schema.Struct<{
|
|
6312
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
6313
|
+
readonly resource: Schema.String;
|
|
6314
|
+
readonly id: Schema.String;
|
|
6315
|
+
readonly message: Schema.String;
|
|
6201
6316
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
6202
6317
|
readonly _tag: "UnauthorizedError";
|
|
6203
6318
|
readonly message: string;
|
|
@@ -6412,6 +6527,26 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
6412
6527
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
6413
6528
|
readonly message: Schema.String;
|
|
6414
6529
|
readonly retryAfterSeconds: Schema.Finite;
|
|
6530
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
6531
|
+
readonly _tag: "ResourceNotFoundError";
|
|
6532
|
+
readonly resource: string;
|
|
6533
|
+
readonly id: string;
|
|
6534
|
+
readonly message: string;
|
|
6535
|
+
}, readonly [Schema.Struct<{
|
|
6536
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
6537
|
+
readonly resource: Schema.String;
|
|
6538
|
+
readonly id: Schema.String;
|
|
6539
|
+
readonly message: Schema.String;
|
|
6540
|
+
}>], {
|
|
6541
|
+
readonly _tag: "ResourceNotFoundError";
|
|
6542
|
+
readonly resource: string;
|
|
6543
|
+
readonly id: string;
|
|
6544
|
+
readonly message: string;
|
|
6545
|
+
}>, Schema.Struct<{
|
|
6546
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
6547
|
+
readonly resource: Schema.String;
|
|
6548
|
+
readonly id: Schema.String;
|
|
6549
|
+
readonly message: Schema.String;
|
|
6415
6550
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
6416
6551
|
readonly _tag: "UnauthorizedError";
|
|
6417
6552
|
readonly message: string;
|
|
@@ -6860,6 +6995,26 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
6860
6995
|
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
6861
6996
|
readonly message: Schema.String;
|
|
6862
6997
|
readonly retryAfterSeconds: Schema.Finite;
|
|
6998
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
6999
|
+
readonly _tag: "ResourceNotFoundError";
|
|
7000
|
+
readonly resource: string;
|
|
7001
|
+
readonly id: string;
|
|
7002
|
+
readonly message: string;
|
|
7003
|
+
}, readonly [Schema.Struct<{
|
|
7004
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
7005
|
+
readonly resource: Schema.String;
|
|
7006
|
+
readonly id: Schema.String;
|
|
7007
|
+
readonly message: Schema.String;
|
|
7008
|
+
}>], {
|
|
7009
|
+
readonly _tag: "ResourceNotFoundError";
|
|
7010
|
+
readonly resource: string;
|
|
7011
|
+
readonly id: string;
|
|
7012
|
+
readonly message: string;
|
|
7013
|
+
}>, Schema.Struct<{
|
|
7014
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
7015
|
+
readonly resource: Schema.String;
|
|
7016
|
+
readonly id: Schema.String;
|
|
7017
|
+
readonly message: Schema.String;
|
|
6863
7018
|
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
6864
7019
|
readonly _tag: "UnauthorizedError";
|
|
6865
7020
|
readonly message: string;
|
|
@@ -6997,6 +7152,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
6997
7152
|
readonly priority: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
6998
7153
|
}>>;
|
|
6999
7154
|
readonly verifiedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7155
|
+
readonly namespaceId: Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>;
|
|
7000
7156
|
readonly isDefault: Schema.Boolean;
|
|
7001
7157
|
readonly deliverability: Schema.Struct<{
|
|
7002
7158
|
readonly bounceRate: Schema.Finite;
|
|
@@ -7870,6 +8026,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
7870
8026
|
readonly email: Schema.String;
|
|
7871
8027
|
readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7872
8028
|
readonly domainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
8029
|
+
readonly namespaceId: Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>;
|
|
7873
8030
|
readonly verificationStatus: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"verified">, Schema.Literal<"failed">]>;
|
|
7874
8031
|
readonly verifiedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7875
8032
|
readonly verificationToken: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -8204,6 +8361,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
8204
8361
|
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8205
8362
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8206
8363
|
readonly sendable: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"true">, Schema.Null]>>;
|
|
8364
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
8207
8365
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
8208
8366
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
8209
8367
|
readonly id: Schema.brand<Schema.String, "EmailDomainId">;
|
|
@@ -8211,6 +8369,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
8211
8369
|
readonly phase: Schema.Union<readonly [Schema.Literal<"dns-setup">, Schema.Literal<"provisioning">, Schema.Literal<"verifying">, Schema.Literal<"ready">, Schema.Literal<"degraded">, Schema.Literal<"failed">]>;
|
|
8212
8370
|
readonly dkimSelector: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8213
8371
|
readonly dkimPublicKey: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8372
|
+
readonly namespaceId: Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>;
|
|
8214
8373
|
readonly isDefault: Schema.Boolean;
|
|
8215
8374
|
readonly deliverability: Schema.Struct<{
|
|
8216
8375
|
readonly bounceRate: Schema.Finite;
|
|
@@ -8368,6 +8527,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
8368
8527
|
readonly verificationStatus: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"verified">, Schema.Literal<"failed">]>, Schema.Null]>>;
|
|
8369
8528
|
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8370
8529
|
readonly isDefault: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8530
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
8371
8531
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
8372
8532
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
8373
8533
|
readonly id: Schema.brand<Schema.String, "EmailSenderId">;
|
|
@@ -8375,6 +8535,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
8375
8535
|
readonly email: Schema.String;
|
|
8376
8536
|
readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
8377
8537
|
readonly domainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
8538
|
+
readonly namespaceId: Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>;
|
|
8378
8539
|
readonly verificationStatus: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"verified">, Schema.Literal<"failed">]>;
|
|
8379
8540
|
readonly verifiedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
8380
8541
|
readonly verificationToken: Schema.Union<readonly [Schema.String, Schema.Null]>;
|