samva 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +9 -0
- package/README.md +51 -6
- package/dist/{categories-Bcwq5jPV.js → categories-BGUBFdH9.js} +9 -1
- package/dist/client/sdk.gen.d.ts +105 -18
- package/dist/client/types.gen.d.ts +786 -118
- package/dist/{client-DYPNDvVU.js → client-CZjhOKPM.js} +694 -122
- package/dist/effect/analytics.d.ts +6 -6
- package/dist/effect/analytics.js +1 -1
- package/dist/effect/api-keys.d.ts +20 -20
- package/dist/effect/api-keys.js +1 -1
- package/dist/effect/attachments.js +1 -1
- package/dist/effect/brands.js +2 -2
- package/dist/effect/campaigns.d.ts +12 -12
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/categories.js +1 -1
- package/dist/effect/client.js +1 -1
- package/dist/effect/contact-groups.d.ts +9 -9
- package/dist/effect/contact-groups.js +1 -1
- package/dist/effect/contacts.d.ts +126 -73
- package/dist/effect/contacts.js +1 -1
- package/dist/effect/conversations.d.ts +20 -20
- package/dist/effect/conversations.js +1 -1
- package/dist/effect/custom-fields.d.ts +1 -1
- package/dist/effect/custom-fields.js +1 -1
- package/dist/effect/email.d.ts +26 -26
- package/dist/effect/email.js +2 -2
- package/dist/effect/extension-installations.d.ts +3 -3
- package/dist/effect/extension-installations.js +1 -1
- package/dist/effect/extensions.d.ts +3 -3
- package/dist/effect/extensions.js +1 -1
- package/dist/effect/feedback.d.ts +1 -1
- package/dist/effect/feedback.js +2 -2
- package/dist/effect/generated-metadata.d.ts +8 -0
- package/dist/effect/generated.d.ts +6184 -1243
- package/dist/effect/index.d.ts +2 -1
- package/dist/effect/index.js +6 -5
- package/dist/effect/internal/client.d.ts +2 -2
- package/dist/effect/internal/operation.d.ts +9 -9
- package/dist/effect/mailboxes.d.ts +1726 -109
- package/dist/effect/mailboxes.js +3 -3
- package/dist/effect/media.d.ts +1 -1
- package/dist/effect/media.js +1 -1
- package/dist/effect/messages.d.ts +19 -17
- package/dist/effect/messages.js +1 -1
- package/dist/effect/namespaces.js +1 -1
- package/dist/effect/operations.d.ts +6 -6
- package/dist/effect/operations.js +1 -1
- package/dist/effect/organizations.d.ts +30 -0
- package/dist/effect/organizations.js +4 -2
- package/dist/effect/retry.js +1 -1
- package/dist/effect/scheduled-messages.d.ts +6 -6
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/subscriptions.d.ts +15 -0
- package/dist/effect/subscriptions.js +9 -0
- package/dist/effect/templates.d.ts +52 -14
- package/dist/effect/templates.js +5 -3
- package/dist/effect/unsubscribe-groups.d.ts +1 -1
- package/dist/effect/unsubscribe-groups.js +1 -1
- package/dist/effect/webhooks.d.ts +15 -15
- package/dist/effect/webhooks.js +2 -2
- package/dist/index.js +4 -4
- package/dist/{inline-attachments-B56eS0MF.js → inline-attachments-BrNnSMF2.js} +2 -2
- package/dist/{mailbox-events-CsbF35vH.js → mailbox-events-VKR4f3qq.js} +6 -4
- package/dist/mailbox-events.d.ts +1 -1
- package/dist/{mailboxes-D3Kx7elM.js → mailboxes-DT02zP7q.js} +13 -5
- package/dist/{operation-B_Ty1LG-.js → operation-g8nAzmIM.js} +29 -3
- package/dist/promises/errors.gen.d.ts +26 -2
- package/dist/promises/index.d.ts +6 -4
- package/dist/promises/index.js +4 -4
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-D9FJyU0q.js → promises-BFRKhpSS.js} +941 -38
- package/dist/service-map.d.ts +35 -0
- package/package.json +7 -2
package/dist/effect/email.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export type { EmailAddSenderInput, EmailSendInput, SendOptions };
|
|
|
4
4
|
export declare const send: (input: EmailSendInput, options?: SendOptions | undefined) => import("effect/Effect").Effect<{
|
|
5
5
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
6
6
|
readonly status: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent";
|
|
7
|
-
readonly waitReason: "campaign-paused" | "content-review" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "rate" | "retry" | "sending-paused" | "upstream-unavailable" | null;
|
|
7
|
+
readonly waitReason: "campaign-paused" | "content-review" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "rate" | "retry" | "screening-unavailable" | "sending-paused" | "upstream-unavailable" | null;
|
|
8
8
|
readonly reviewExpectedAt: string | null;
|
|
9
9
|
readonly skippedRecipients: readonly {
|
|
10
10
|
readonly address: string;
|
|
@@ -46,7 +46,7 @@ export declare const updateRecipientTrackingPreference: (input: {
|
|
|
46
46
|
export declare const listDomains: ((input?: {
|
|
47
47
|
readonly limit?: string | null | undefined;
|
|
48
48
|
readonly cursor?: string | null | undefined;
|
|
49
|
-
readonly sendable?:
|
|
49
|
+
readonly sendable?: "true" | null | undefined;
|
|
50
50
|
} | undefined) => import("effect/Effect").Effect<{
|
|
51
51
|
readonly items: readonly {
|
|
52
52
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
@@ -71,7 +71,7 @@ export declare const listDomains: ((input?: {
|
|
|
71
71
|
readonly pages: (input?: {
|
|
72
72
|
readonly limit?: string | null | undefined;
|
|
73
73
|
readonly cursor?: string | null | undefined;
|
|
74
|
-
readonly sendable?:
|
|
74
|
+
readonly sendable?: "true" | null | undefined;
|
|
75
75
|
} | undefined) => import("effect/Stream").Stream<{
|
|
76
76
|
readonly items: readonly {
|
|
77
77
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
@@ -96,7 +96,7 @@ export declare const listDomains: ((input?: {
|
|
|
96
96
|
readonly items: (input?: {
|
|
97
97
|
readonly limit?: string | null | undefined;
|
|
98
98
|
readonly cursor?: string | null | undefined;
|
|
99
|
-
readonly sendable?:
|
|
99
|
+
readonly sendable?: "true" | null | undefined;
|
|
100
100
|
} | undefined) => import("effect/Stream").Stream<{
|
|
101
101
|
readonly id: string & import("effect/Brand").Brand<"EmailDomainId">;
|
|
102
102
|
readonly domain: string;
|
|
@@ -427,7 +427,7 @@ export declare const getDomainById: (input: {
|
|
|
427
427
|
};
|
|
428
428
|
readonly createdAt: string;
|
|
429
429
|
readonly updatedAt: string;
|
|
430
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
430
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
431
431
|
export declare const removeDomain: (input: {
|
|
432
432
|
readonly id: string;
|
|
433
433
|
}) => import("effect/Effect").Effect<{
|
|
@@ -481,7 +481,7 @@ export declare const detectRegistrar: (input: {
|
|
|
481
481
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
482
482
|
export declare const getDomainConnect: (input: {
|
|
483
483
|
readonly id: string;
|
|
484
|
-
readonly mode:
|
|
484
|
+
readonly mode: "send-and-receive" | "send-only";
|
|
485
485
|
}) => import("effect/Effect").Effect<{
|
|
486
486
|
readonly eligible: false;
|
|
487
487
|
readonly reason: "no-record" | "no-settings" | "no-sync" | "no-template" | "unavailable";
|
|
@@ -491,7 +491,7 @@ export declare const getDomainConnect: (input: {
|
|
|
491
491
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
492
492
|
export declare const buildDomainConnectApplyUrl: (input: {
|
|
493
493
|
readonly id: string;
|
|
494
|
-
readonly mode:
|
|
494
|
+
readonly mode: "send-and-receive" | "send-only";
|
|
495
495
|
}) => import("effect/Effect").Effect<{
|
|
496
496
|
readonly url: string;
|
|
497
497
|
}, import("./generated").ConflictError | import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
@@ -748,7 +748,7 @@ export declare const getDomainWarming: (input: {
|
|
|
748
748
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
749
749
|
export declare const createDomainWarmingPlan: (input: {
|
|
750
750
|
readonly id: string;
|
|
751
|
-
readonly identity:
|
|
751
|
+
readonly identity: "migrating" | "new" | "returning";
|
|
752
752
|
readonly initialDailyRecipients: number;
|
|
753
753
|
readonly dailyGrowthPercent: number;
|
|
754
754
|
readonly targetDailyRecipients: number;
|
|
@@ -1240,7 +1240,7 @@ export declare const respondToOnboardingInformationRequest: (input: {
|
|
|
1240
1240
|
export declare const listSenders: ((input?: {
|
|
1241
1241
|
readonly limit?: string | null | undefined;
|
|
1242
1242
|
readonly cursor?: string | null | undefined;
|
|
1243
|
-
readonly verificationStatus?:
|
|
1243
|
+
readonly verificationStatus?: "failed" | "pending" | "verified" | null | undefined;
|
|
1244
1244
|
readonly isActive?: string | null | undefined;
|
|
1245
1245
|
readonly isDefault?: string | null | undefined;
|
|
1246
1246
|
} | undefined) => import("effect/Effect").Effect<{
|
|
@@ -1273,7 +1273,7 @@ export declare const listSenders: ((input?: {
|
|
|
1273
1273
|
readonly pages: (input?: {
|
|
1274
1274
|
readonly limit?: string | null | undefined;
|
|
1275
1275
|
readonly cursor?: string | null | undefined;
|
|
1276
|
-
readonly verificationStatus?:
|
|
1276
|
+
readonly verificationStatus?: "failed" | "pending" | "verified" | null | undefined;
|
|
1277
1277
|
readonly isActive?: string | null | undefined;
|
|
1278
1278
|
readonly isDefault?: string | null | undefined;
|
|
1279
1279
|
} | undefined) => import("effect/Stream").Stream<{
|
|
@@ -1306,7 +1306,7 @@ export declare const listSenders: ((input?: {
|
|
|
1306
1306
|
readonly items: (input?: {
|
|
1307
1307
|
readonly limit?: string | null | undefined;
|
|
1308
1308
|
readonly cursor?: string | null | undefined;
|
|
1309
|
-
readonly verificationStatus?:
|
|
1309
|
+
readonly verificationStatus?: "failed" | "pending" | "verified" | null | undefined;
|
|
1310
1310
|
readonly isActive?: string | null | undefined;
|
|
1311
1311
|
readonly isDefault?: string | null | undefined;
|
|
1312
1312
|
} | undefined) => import("effect/Stream").Stream<{
|
|
@@ -1375,7 +1375,7 @@ export declare const checkSenderVerification: (input: {
|
|
|
1375
1375
|
readonly email: string;
|
|
1376
1376
|
readonly status: "failed" | "pending" | "verified";
|
|
1377
1377
|
readonly verifiedAt: string | null;
|
|
1378
|
-
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1378
|
+
}, import("./generated").ExternalServiceError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1379
1379
|
export declare const removeSender: (input: {
|
|
1380
1380
|
readonly id: string;
|
|
1381
1381
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1442,8 +1442,8 @@ export declare const getCatchAllStats: (input: {
|
|
|
1442
1442
|
} | null;
|
|
1443
1443
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1444
1444
|
export declare const listSuppressions: ((input?: {
|
|
1445
|
-
readonly type?:
|
|
1446
|
-
readonly status?:
|
|
1445
|
+
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" | null | undefined;
|
|
1446
|
+
readonly status?: "active" | "expired" | null | undefined;
|
|
1447
1447
|
readonly search?: string | null | undefined;
|
|
1448
1448
|
readonly limit?: string | null | undefined;
|
|
1449
1449
|
readonly cursor?: string | null | undefined;
|
|
@@ -1463,8 +1463,8 @@ export declare const listSuppressions: ((input?: {
|
|
|
1463
1463
|
readonly nextCursor: string | null;
|
|
1464
1464
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
|
|
1465
1465
|
readonly pages: (input?: {
|
|
1466
|
-
readonly type?:
|
|
1467
|
-
readonly status?:
|
|
1466
|
+
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" | null | undefined;
|
|
1467
|
+
readonly status?: "active" | "expired" | null | undefined;
|
|
1468
1468
|
readonly search?: string | null | undefined;
|
|
1469
1469
|
readonly limit?: string | null | undefined;
|
|
1470
1470
|
readonly cursor?: string | null | undefined;
|
|
@@ -1484,8 +1484,8 @@ export declare const listSuppressions: ((input?: {
|
|
|
1484
1484
|
readonly nextCursor: string | null;
|
|
1485
1485
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1486
1486
|
readonly items: (input?: {
|
|
1487
|
-
readonly type?:
|
|
1488
|
-
readonly status?:
|
|
1487
|
+
readonly type?: "bounce" | "complaint" | "manual" | "unsubscribe" | null | undefined;
|
|
1488
|
+
readonly status?: "active" | "expired" | null | undefined;
|
|
1489
1489
|
readonly search?: string | null | undefined;
|
|
1490
1490
|
readonly limit?: string | null | undefined;
|
|
1491
1491
|
readonly cursor?: string | null | undefined;
|
|
@@ -1515,7 +1515,7 @@ export declare const removeSuppression: (input: {
|
|
|
1515
1515
|
readonly message: string;
|
|
1516
1516
|
}, import("./generated").EmailChannelError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1517
1517
|
export declare const listBlocks: ((input?: {
|
|
1518
|
-
readonly blockType?:
|
|
1518
|
+
readonly blockType?: "domain" | "email" | null | undefined;
|
|
1519
1519
|
readonly isActive?: string | null | undefined;
|
|
1520
1520
|
readonly limit?: string | null | undefined;
|
|
1521
1521
|
readonly cursor?: string | null | undefined;
|
|
@@ -1535,7 +1535,7 @@ export declare const listBlocks: ((input?: {
|
|
|
1535
1535
|
readonly nextCursor: string | null;
|
|
1536
1536
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
|
|
1537
1537
|
readonly pages: (input?: {
|
|
1538
|
-
readonly blockType?:
|
|
1538
|
+
readonly blockType?: "domain" | "email" | null | undefined;
|
|
1539
1539
|
readonly isActive?: string | null | undefined;
|
|
1540
1540
|
readonly limit?: string | null | undefined;
|
|
1541
1541
|
readonly cursor?: string | null | undefined;
|
|
@@ -1555,7 +1555,7 @@ export declare const listBlocks: ((input?: {
|
|
|
1555
1555
|
readonly nextCursor: string | null;
|
|
1556
1556
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1557
1557
|
readonly items: (input?: {
|
|
1558
|
-
readonly blockType?:
|
|
1558
|
+
readonly blockType?: "domain" | "email" | null | undefined;
|
|
1559
1559
|
readonly isActive?: string | null | undefined;
|
|
1560
1560
|
readonly limit?: string | null | undefined;
|
|
1561
1561
|
readonly cursor?: string | null | undefined;
|
|
@@ -1573,7 +1573,7 @@ export declare const listBlocks: ((input?: {
|
|
|
1573
1573
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1574
1574
|
};
|
|
1575
1575
|
export declare const addBlock: (input: {
|
|
1576
|
-
readonly blockType:
|
|
1576
|
+
readonly blockType: "domain" | "email";
|
|
1577
1577
|
readonly blockValue: string;
|
|
1578
1578
|
readonly reason: string;
|
|
1579
1579
|
readonly notes?: string | null | undefined;
|
|
@@ -1587,7 +1587,7 @@ export declare const addBlock: (input: {
|
|
|
1587
1587
|
readonly isActive: boolean;
|
|
1588
1588
|
readonly expiresAt: string | null;
|
|
1589
1589
|
readonly createdAt: string;
|
|
1590
|
-
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1590
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1591
1591
|
export declare const removeBlock: (input: {
|
|
1592
1592
|
readonly id: string;
|
|
1593
1593
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1819,7 +1819,7 @@ export declare const updateForwardingRule: (input: {
|
|
|
1819
1819
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1820
1820
|
export declare const getForwardingLog: ((input?: {
|
|
1821
1821
|
readonly forwardingRuleId?: string | null | undefined;
|
|
1822
|
-
readonly status?:
|
|
1822
|
+
readonly status?: "failed" | "forwarded" | "pending" | null | undefined;
|
|
1823
1823
|
readonly after?: string | null | undefined;
|
|
1824
1824
|
readonly before?: string | null | undefined;
|
|
1825
1825
|
readonly limit?: string | null | undefined;
|
|
@@ -1842,7 +1842,7 @@ export declare const getForwardingLog: ((input?: {
|
|
|
1842
1842
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
|
|
1843
1843
|
readonly pages: (input?: {
|
|
1844
1844
|
readonly forwardingRuleId?: string | null | undefined;
|
|
1845
|
-
readonly status?:
|
|
1845
|
+
readonly status?: "failed" | "forwarded" | "pending" | null | undefined;
|
|
1846
1846
|
readonly after?: string | null | undefined;
|
|
1847
1847
|
readonly before?: string | null | undefined;
|
|
1848
1848
|
readonly limit?: string | null | undefined;
|
|
@@ -1865,7 +1865,7 @@ export declare const getForwardingLog: ((input?: {
|
|
|
1865
1865
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1866
1866
|
readonly items: (input?: {
|
|
1867
1867
|
readonly forwardingRuleId?: string | null | undefined;
|
|
1868
|
-
readonly status?:
|
|
1868
|
+
readonly status?: "failed" | "forwarded" | "pending" | null | undefined;
|
|
1869
1869
|
readonly after?: string | null | undefined;
|
|
1870
1870
|
readonly before?: string | null | undefined;
|
|
1871
1871
|
readonly limit?: string | null | undefined;
|
package/dist/effect/email.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make, r as sendEmail, t as addEmailSender } from "../operation-
|
|
3
|
-
import {
|
|
2
|
+
import { n as make, r as sendEmail, t as addEmailSender } from "../operation-g8nAzmIM.js";
|
|
3
|
+
import { A as TrackingRecipientEmail } from "../client-CZjhOKPM.js";
|
|
4
4
|
//#region src/effect/email.ts
|
|
5
5
|
var email_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
TrackingRecipientEmail: () => TrackingRecipientEmail,
|
|
@@ -64,8 +64,8 @@ export declare const install: (input: {
|
|
|
64
64
|
readonly version?: string | null | undefined;
|
|
65
65
|
readonly mailboxIds?: readonly string[] | null | undefined;
|
|
66
66
|
readonly namespaceId?: string | null | undefined;
|
|
67
|
-
readonly permissions?: readonly
|
|
68
|
-
readonly sendMode?:
|
|
67
|
+
readonly permissions?: readonly ("quarantine.read" | "read" | "send" | "update")[] | null | undefined;
|
|
68
|
+
readonly sendMode?: "approval" | "send" | null | undefined;
|
|
69
69
|
readonly webhookUrl?: string | null | undefined;
|
|
70
70
|
}) => import("effect/Effect").Effect<{
|
|
71
71
|
readonly installation: {
|
|
@@ -102,7 +102,7 @@ export declare const install: (input: {
|
|
|
102
102
|
export declare const upgrade: (input: {
|
|
103
103
|
readonly id: string;
|
|
104
104
|
readonly version?: string | null | undefined;
|
|
105
|
-
readonly acceptPermissions?: readonly
|
|
105
|
+
readonly acceptPermissions?: readonly ("event:mailbox.action.pending_approval" | "event:mailbox.message.discarded" | "event:mailbox.message.quarantined" | "event:mailbox.message.received" | "event:mailbox.message.released" | "event:mailbox.message.sent" | "permission:quarantine.read" | "permission:read" | "permission:send" | "permission:update")[] | null | undefined;
|
|
106
106
|
readonly dryRun?: boolean | null | undefined;
|
|
107
107
|
}) => import("effect/Effect").Effect<{
|
|
108
108
|
readonly installation: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make } from "../operation-
|
|
2
|
+
import { n as make } from "../operation-g8nAzmIM.js";
|
|
3
3
|
//#region src/effect/extension-installations.ts
|
|
4
4
|
var extension_installations_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
disable: () => disable,
|
|
@@ -65,9 +65,9 @@ export declare const publish: (input: {
|
|
|
65
65
|
readonly displayName: string;
|
|
66
66
|
readonly description?: string | null | undefined;
|
|
67
67
|
readonly version: string;
|
|
68
|
-
readonly runtime:
|
|
69
|
-
readonly events: readonly
|
|
70
|
-
readonly permissions: readonly
|
|
68
|
+
readonly runtime: "hosted" | "webhook";
|
|
69
|
+
readonly events: readonly ("mailbox.action.pending_approval" | "mailbox.message.discarded" | "mailbox.message.quarantined" | "mailbox.message.received" | "mailbox.message.released" | "mailbox.message.sent")[];
|
|
70
|
+
readonly permissions: readonly ("quarantine.read" | "read" | "send" | "update")[];
|
|
71
71
|
};
|
|
72
72
|
readonly bundle?: string | null | undefined;
|
|
73
73
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make } from "../operation-
|
|
2
|
+
import { n as make } from "../operation-g8nAzmIM.js";
|
|
3
3
|
//#region src/effect/extensions.ts
|
|
4
4
|
var extensions_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
get: () => get,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { SendFeedback as SendPayload } from "./generated";
|
|
2
2
|
export declare const send: (input: {
|
|
3
3
|
readonly message: string;
|
|
4
|
-
readonly category?:
|
|
4
|
+
readonly category?: "bug" | "confusing" | "missing" | "other" | null | undefined;
|
|
5
5
|
readonly context?: {
|
|
6
6
|
readonly operation?: string | null | undefined;
|
|
7
7
|
readonly resourceId?: string | null | undefined;
|
package/dist/effect/feedback.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make } from "../operation-
|
|
3
|
-
import {
|
|
2
|
+
import { n as make } from "../operation-g8nAzmIM.js";
|
|
3
|
+
import { D as SendFeedback } from "../client-CZjhOKPM.js";
|
|
4
4
|
//#region src/effect/feedback.ts
|
|
5
5
|
var feedback_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
SendPayload: () => SendFeedback,
|
|
@@ -47,6 +47,14 @@ export declare const SamvaErrorMetadata: {
|
|
|
47
47
|
readonly categories: readonly ["transient"];
|
|
48
48
|
readonly retryable: true;
|
|
49
49
|
};
|
|
50
|
+
readonly MailboxSendConflictError: {
|
|
51
|
+
readonly categories: readonly [];
|
|
52
|
+
readonly retryable: false;
|
|
53
|
+
};
|
|
54
|
+
readonly MailboxSendRefusedError: {
|
|
55
|
+
readonly categories: readonly [];
|
|
56
|
+
readonly retryable: false;
|
|
57
|
+
};
|
|
50
58
|
readonly OnboardingReviewRequiredError: {
|
|
51
59
|
readonly categories: readonly ["validation"];
|
|
52
60
|
readonly retryable: false;
|