samva 0.49.0 → 0.51.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 +44 -3
- package/README.md +136 -7
- package/dist/client/sdk.gen.d.ts +63 -18
- package/dist/client/sdk.gen.js +1549 -945
- package/dist/client/types.gen.d.ts +269 -31
- package/dist/effect/agents.d.ts +4 -4
- package/dist/effect/api-keys.d.ts +4 -6
- package/dist/effect/campaigns.d.ts +166 -174
- package/dist/effect/categories.d.ts +2 -2
- package/dist/effect/categories.js +6 -4
- package/dist/effect/contact-groups.d.ts +4 -4
- package/dist/effect/contacts.d.ts +8 -8
- package/dist/effect/conversations.d.ts +4 -4
- package/dist/effect/descriptors/mailboxes.d.ts +41 -1
- package/dist/effect/descriptors/mailboxes.js +53 -1
- package/dist/effect/email.d.ts +17 -16
- package/dist/effect/errors.d.ts +1 -0
- package/dist/effect/errors.js +2 -1
- package/dist/effect/generated/api-keys.d.ts +0 -15
- package/dist/effect/generated/api-keys.js +1 -2
- package/dist/effect/generated/campaigns.d.ts +0 -62
- package/dist/effect/generated/campaigns.js +3 -9
- package/dist/effect/generated/email.d.ts +10 -3
- package/dist/effect/generated/email.js +3 -2
- package/dist/effect/generated/mailboxes.d.ts +780 -77
- package/dist/effect/generated/mailboxes.js +135 -12
- package/dist/effect/generated/namespaces.js +1 -1
- package/dist/effect/generated/policies.js +2 -2
- package/dist/effect/generated/scheduled-messages.d.ts +0 -26
- package/dist/effect/generated/scheduled-messages.js +1 -3
- package/dist/effect/generated/shared.d.ts +28 -31
- package/dist/effect/generated/shared.js +12 -19
- package/dist/effect/generated/template-registrations.d.ts +6 -6
- package/dist/effect/generated/template-registrations.js +3 -3
- package/dist/effect/generated-metadata.d.ts +24 -0
- package/dist/effect/generated-metadata.js +4 -0
- package/dist/effect/index.js +2 -1
- package/dist/effect/integrations.d.ts +2 -2
- package/dist/effect/internal/client.d.ts +19 -2
- package/dist/effect/internal/client.js +10 -2
- package/dist/effect/internal/email-sender.d.ts +4 -4
- package/dist/effect/internal/email-sender.js +5 -3
- package/dist/effect/internal/operation.d.ts +11 -0
- package/dist/effect/internal/operation.js +10 -6
- package/dist/effect/internal/send.d.ts +4 -0
- package/dist/effect/internal/send.js +11 -8
- package/dist/effect/internal/timeout.d.ts +16 -0
- package/dist/effect/internal/timeout.js +20 -0
- package/dist/effect/journeys.d.ts +152 -152
- package/dist/effect/mailboxes.d.ts +54 -30
- package/dist/effect/mailboxes.js +10 -2
- package/dist/effect/messages.d.ts +5 -5
- package/dist/effect/namespaces.d.ts +4 -4
- package/dist/effect/newsletter-domains.d.ts +2 -2
- package/dist/effect/operations.d.ts +2 -2
- package/dist/effect/scheduled-messages.d.ts +2 -6
- package/dist/effect/templates.d.ts +6 -6
- package/dist/effect/topics.d.ts +4 -4
- package/dist/effect/webhooks.d.ts +4 -4
- package/dist/effect/whatsapp-setup-links.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +5 -0
- package/dist/promises/client.js +12 -8
- package/dist/promises/errors.gen.d.ts +12 -1
- package/dist/promises/errors.gen.js +21 -2
- package/dist/promises/index.js +2 -2
- package/dist/promises/request.d.ts +31 -2
- package/dist/promises/request.js +42 -7
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/request-policy.d.ts +9 -0
- package/dist/request-policy.js +16 -1
- package/dist/service-map.d.ts +22 -2
- package/package.json +3 -3
|
@@ -8,14 +8,38 @@ export declare const createImportUpload: (input: {
|
|
|
8
8
|
readonly format: "apple" | "gmail" | "mbox";
|
|
9
9
|
readonly mailboxPath?: string | null | undefined;
|
|
10
10
|
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"mailboxesCreateImportUpload">;
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const signImportUploadParts: (input: {
|
|
12
12
|
readonly id: string;
|
|
13
13
|
readonly importId: string;
|
|
14
|
-
|
|
14
|
+
readonly archiveId: string;
|
|
15
|
+
readonly partNumbers: readonly number[];
|
|
16
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"mailboxesSignImportUploadParts">;
|
|
17
|
+
export declare const completeImportUpload: (input: {
|
|
18
|
+
readonly id: string;
|
|
19
|
+
readonly importId: string;
|
|
20
|
+
readonly archiveId: string;
|
|
21
|
+
readonly parts: readonly {
|
|
22
|
+
readonly partNumber: number;
|
|
23
|
+
readonly etag: string;
|
|
24
|
+
}[];
|
|
25
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"mailboxesCompleteImportUpload">;
|
|
26
|
+
export declare const discardImportUpload: (input: {
|
|
27
|
+
readonly id: string;
|
|
28
|
+
readonly importId: string;
|
|
29
|
+
readonly archiveId: string;
|
|
30
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"mailboxesDiscardImportUpload">;
|
|
31
|
+
export declare const discardImport: (input: {
|
|
32
|
+
readonly id: string;
|
|
33
|
+
readonly importId: string;
|
|
34
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"mailboxesDiscardImport">;
|
|
15
35
|
export declare const getImport: (input: {
|
|
16
36
|
readonly id: string;
|
|
17
37
|
readonly importId: string;
|
|
18
38
|
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"mailboxesGetImport">;
|
|
39
|
+
export declare const startImport: (input: {
|
|
40
|
+
readonly id: string;
|
|
41
|
+
readonly importId: string;
|
|
42
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"mailboxesStartImport">;
|
|
19
43
|
export declare const listImports: (input: {
|
|
20
44
|
readonly id: string;
|
|
21
45
|
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"mailboxesListImports">;
|
|
@@ -46,7 +70,7 @@ export declare const list: ((input?: {
|
|
|
46
70
|
readonly createdAt: string;
|
|
47
71
|
}[];
|
|
48
72
|
readonly nextCursor: string | null;
|
|
49
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
73
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
50
74
|
readonly items: (input?: {
|
|
51
75
|
readonly limit?: number | null | undefined;
|
|
52
76
|
readonly cursor?: string | undefined;
|
|
@@ -64,7 +88,7 @@ export declare const list: ((input?: {
|
|
|
64
88
|
readonly primaryAddress: string | null;
|
|
65
89
|
readonly sendingStatus: "failed" | "pending" | "ready" | null;
|
|
66
90
|
readonly createdAt: string;
|
|
67
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
91
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
68
92
|
};
|
|
69
93
|
export declare const create: (input: {
|
|
70
94
|
readonly namespaceId?: string | null | undefined;
|
|
@@ -140,7 +164,7 @@ export declare const listGrants: ((input: {
|
|
|
140
164
|
readonly createdAt: string;
|
|
141
165
|
}[];
|
|
142
166
|
readonly nextCursor: string | null;
|
|
143
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
167
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
144
168
|
readonly items: (input: {
|
|
145
169
|
readonly id: string;
|
|
146
170
|
readonly limit?: number | null | undefined;
|
|
@@ -154,7 +178,7 @@ export declare const listGrants: ((input: {
|
|
|
154
178
|
};
|
|
155
179
|
readonly permissions: readonly ("action:approve" | "action:propose" | "draft:write" | "label:write" | "mailbox:configure" | "mailbox:read" | "note:write" | "policy:read" | "spam:discard" | "spam:read" | "thread:read" | "thread:write")[];
|
|
156
180
|
readonly createdAt: string;
|
|
157
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
181
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
158
182
|
};
|
|
159
183
|
export declare const createGrant: (input: {
|
|
160
184
|
readonly id: string;
|
|
@@ -384,7 +408,7 @@ export declare const getNeedsYou: ((input?: {
|
|
|
384
408
|
readonly quarantinedMessages: number;
|
|
385
409
|
readonly total: number;
|
|
386
410
|
};
|
|
387
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
411
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
388
412
|
readonly items: (input?: {
|
|
389
413
|
readonly limit?: number | null | undefined;
|
|
390
414
|
readonly cursor?: string | undefined;
|
|
@@ -565,7 +589,7 @@ export declare const getNeedsYou: ((input?: {
|
|
|
565
589
|
readonly reason: "dmarc" | "fraud" | "phishing" | "prompt_injection" | "spam" | "verdict_missing" | "virus" | "virus_unscanned";
|
|
566
590
|
readonly source: "classifier" | "receipt";
|
|
567
591
|
readonly heldAt: string;
|
|
568
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
592
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
569
593
|
};
|
|
570
594
|
export declare const listOrganizationDrafts: ((input?: {
|
|
571
595
|
readonly limit?: number | null | undefined;
|
|
@@ -599,7 +623,7 @@ export declare const listOrganizationDrafts: ((input?: {
|
|
|
599
623
|
};
|
|
600
624
|
}[];
|
|
601
625
|
readonly nextCursor: string | null;
|
|
602
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
626
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
603
627
|
readonly items: (input?: {
|
|
604
628
|
readonly limit?: number | null | undefined;
|
|
605
629
|
readonly cursor?: string | undefined;
|
|
@@ -622,7 +646,7 @@ export declare const listOrganizationDrafts: ((input?: {
|
|
|
622
646
|
readonly address: string | null;
|
|
623
647
|
readonly kind: "personal" | "shared";
|
|
624
648
|
};
|
|
625
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
649
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
626
650
|
};
|
|
627
651
|
export declare const listOrganizationThreads: ((input?: {
|
|
628
652
|
readonly limit?: number | null | undefined;
|
|
@@ -703,7 +727,7 @@ export declare const listOrganizationThreads: ((input?: {
|
|
|
703
727
|
};
|
|
704
728
|
}[];
|
|
705
729
|
readonly nextCursor: string | null;
|
|
706
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
730
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
707
731
|
readonly items: (input?: {
|
|
708
732
|
readonly limit?: number | null | undefined;
|
|
709
733
|
readonly cursor?: string | undefined;
|
|
@@ -761,7 +785,7 @@ export declare const listOrganizationThreads: ((input?: {
|
|
|
761
785
|
readonly address: string | null;
|
|
762
786
|
readonly kind: "personal" | "shared";
|
|
763
787
|
};
|
|
764
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
788
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
765
789
|
};
|
|
766
790
|
export declare const listThreads: ((input: {
|
|
767
791
|
readonly id: string;
|
|
@@ -833,7 +857,7 @@ export declare const listThreads: ((input: {
|
|
|
833
857
|
readonly lastActivityAt: string;
|
|
834
858
|
}[];
|
|
835
859
|
readonly nextCursor: string | null;
|
|
836
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
860
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
837
861
|
readonly items: (input: {
|
|
838
862
|
readonly id: string;
|
|
839
863
|
readonly limit?: number | null | undefined;
|
|
@@ -884,7 +908,7 @@ export declare const listThreads: ((input: {
|
|
|
884
908
|
readonly displayName?: string | null;
|
|
885
909
|
} | null;
|
|
886
910
|
readonly lastActivityAt: string;
|
|
887
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
911
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
888
912
|
};
|
|
889
913
|
export declare const getThread: (input: {
|
|
890
914
|
readonly id: string;
|
|
@@ -959,7 +983,7 @@ export declare const listThreadMessages: ((input: {
|
|
|
959
983
|
readonly occurredAt: string;
|
|
960
984
|
}[];
|
|
961
985
|
readonly nextCursor: string | null;
|
|
962
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
986
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
963
987
|
readonly items: (input: {
|
|
964
988
|
readonly id: string;
|
|
965
989
|
readonly threadId: string;
|
|
@@ -987,7 +1011,7 @@ export declare const listThreadMessages: ((input: {
|
|
|
987
1011
|
readonly preview: string | null;
|
|
988
1012
|
readonly hasAttachments: boolean;
|
|
989
1013
|
readonly occurredAt: string;
|
|
990
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1014
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
991
1015
|
};
|
|
992
1016
|
export declare const getThreadContent: ((input: {
|
|
993
1017
|
readonly id: string;
|
|
@@ -1099,7 +1123,7 @@ export declare const getThreadContent: ((input: {
|
|
|
1099
1123
|
readonly contextMessageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
1100
1124
|
})[];
|
|
1101
1125
|
readonly nextCursor: string | null;
|
|
1102
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1126
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1103
1127
|
readonly items: (input: {
|
|
1104
1128
|
readonly id: string;
|
|
1105
1129
|
readonly threadId: string;
|
|
@@ -1201,7 +1225,7 @@ export declare const getThreadContent: ((input: {
|
|
|
1201
1225
|
} | null;
|
|
1202
1226
|
readonly summary: string | null;
|
|
1203
1227
|
readonly contextMessageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
1204
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1228
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1205
1229
|
};
|
|
1206
1230
|
export declare const listThreadNotes: ((input: {
|
|
1207
1231
|
readonly id: string;
|
|
@@ -1229,7 +1253,7 @@ export declare const listThreadNotes: ((input: {
|
|
|
1229
1253
|
readonly updatedAt: string;
|
|
1230
1254
|
}[];
|
|
1231
1255
|
readonly nextCursor: string | null;
|
|
1232
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1256
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1233
1257
|
readonly items: (input: {
|
|
1234
1258
|
readonly id: string;
|
|
1235
1259
|
readonly threadId: string;
|
|
@@ -1247,7 +1271,7 @@ export declare const listThreadNotes: ((input: {
|
|
|
1247
1271
|
readonly pinned: boolean;
|
|
1248
1272
|
readonly createdAt: string;
|
|
1249
1273
|
readonly updatedAt: string;
|
|
1250
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1274
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1251
1275
|
};
|
|
1252
1276
|
export declare const createNote: (input: {
|
|
1253
1277
|
readonly id: string;
|
|
@@ -1483,7 +1507,7 @@ export declare const listSpamHeld: ((input: {
|
|
|
1483
1507
|
readonly discardedAt: string | null;
|
|
1484
1508
|
}[];
|
|
1485
1509
|
readonly nextCursor: string | null;
|
|
1486
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1510
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1487
1511
|
readonly items: (input: {
|
|
1488
1512
|
readonly id: string;
|
|
1489
1513
|
readonly limit?: number | null | undefined;
|
|
@@ -1505,7 +1529,7 @@ export declare const listSpamHeld: ((input: {
|
|
|
1505
1529
|
readonly releasedAt: string | null;
|
|
1506
1530
|
readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
|
|
1507
1531
|
readonly discardedAt: string | null;
|
|
1508
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1532
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1509
1533
|
};
|
|
1510
1534
|
export declare const discardSpamHeld: (input: {
|
|
1511
1535
|
readonly id: string;
|
|
@@ -1576,7 +1600,7 @@ export declare const listScheduledSends: ((input: {
|
|
|
1576
1600
|
readonly updatedAt: string;
|
|
1577
1601
|
}[];
|
|
1578
1602
|
readonly nextCursor: string | null;
|
|
1579
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1603
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1580
1604
|
readonly items: (input: {
|
|
1581
1605
|
readonly id: string;
|
|
1582
1606
|
readonly limit?: number | null | undefined;
|
|
@@ -1604,7 +1628,7 @@ export declare const listScheduledSends: ((input: {
|
|
|
1604
1628
|
} | null;
|
|
1605
1629
|
readonly createdAt: string;
|
|
1606
1630
|
readonly updatedAt: string;
|
|
1607
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1631
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1608
1632
|
};
|
|
1609
1633
|
export declare const listDrafts: ((input: {
|
|
1610
1634
|
readonly id: string;
|
|
@@ -1631,7 +1655,7 @@ export declare const listDrafts: ((input: {
|
|
|
1631
1655
|
readonly updatedAt: string;
|
|
1632
1656
|
}[];
|
|
1633
1657
|
readonly nextCursor: string | null;
|
|
1634
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1658
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1635
1659
|
readonly items: (input: {
|
|
1636
1660
|
readonly id: string;
|
|
1637
1661
|
readonly limit?: number | null | undefined;
|
|
@@ -1648,7 +1672,7 @@ export declare const listDrafts: ((input: {
|
|
|
1648
1672
|
readonly subject: string | null;
|
|
1649
1673
|
readonly createdAt: string;
|
|
1650
1674
|
readonly updatedAt: string;
|
|
1651
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1675
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1652
1676
|
};
|
|
1653
1677
|
export declare const createDraft: (input: {
|
|
1654
1678
|
readonly channel?: "email" | null | undefined;
|
|
@@ -2011,7 +2035,7 @@ export declare const listActions: ((input: {
|
|
|
2011
2035
|
} | null;
|
|
2012
2036
|
})[];
|
|
2013
2037
|
readonly nextCursor: string | null;
|
|
2014
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
2038
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
2015
2039
|
readonly items: (input: {
|
|
2016
2040
|
readonly id: string;
|
|
2017
2041
|
readonly limit?: number | null | undefined;
|
|
@@ -2305,7 +2329,7 @@ export declare const listActions: ((input: {
|
|
|
2305
2329
|
readonly handoff: {
|
|
2306
2330
|
readonly reason: string;
|
|
2307
2331
|
} | null;
|
|
2308
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
2332
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
2309
2333
|
};
|
|
2310
2334
|
export declare const getAction: (input: {
|
|
2311
2335
|
readonly id: string;
|
|
@@ -2365,7 +2389,7 @@ export declare const listEvents: ((input: {
|
|
|
2365
2389
|
readonly occurredAt: string;
|
|
2366
2390
|
}[];
|
|
2367
2391
|
readonly nextCursor: string | null;
|
|
2368
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
2392
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
2369
2393
|
readonly items: (input: {
|
|
2370
2394
|
readonly id: string;
|
|
2371
2395
|
readonly limit?: number | null | undefined;
|
|
@@ -2386,7 +2410,7 @@ export declare const listEvents: ((input: {
|
|
|
2386
2410
|
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
2387
2411
|
};
|
|
2388
2412
|
readonly occurredAt: string;
|
|
2389
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
2413
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
2390
2414
|
};
|
|
2391
2415
|
export declare const countSplits: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"mailboxesCountSplits">;
|
|
2392
2416
|
export declare const listSplits: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"mailboxesListSplits">;
|
package/dist/effect/mailboxes.js
CHANGED
|
@@ -10,6 +10,7 @@ var mailboxes_exports = /* @__PURE__ */ __exportAll({
|
|
|
10
10
|
addThreadLabels: () => addThreadLabels,
|
|
11
11
|
approveAction: () => approveAction,
|
|
12
12
|
cancelAction: () => cancelAction,
|
|
13
|
+
completeImportUpload: () => completeImportUpload,
|
|
13
14
|
copyMessageAttachment: () => copyMessageAttachment,
|
|
14
15
|
countSplits: () => countSplits,
|
|
15
16
|
create: () => create,
|
|
@@ -26,6 +27,8 @@ var mailboxes_exports = /* @__PURE__ */ __exportAll({
|
|
|
26
27
|
deleteSplit: () => deleteSplit,
|
|
27
28
|
deleteThread: () => deleteThread,
|
|
28
29
|
denyAction: () => denyAction,
|
|
30
|
+
discardImport: () => discardImport,
|
|
31
|
+
discardImportUpload: () => discardImportUpload,
|
|
29
32
|
discardSpamHeld: () => discardSpamHeld,
|
|
30
33
|
emptySpam: () => emptySpam,
|
|
31
34
|
emptyTrash: () => emptyTrash,
|
|
@@ -73,6 +76,7 @@ var mailboxes_exports = /* @__PURE__ */ __exportAll({
|
|
|
73
76
|
sendDraft: () => sendDraft,
|
|
74
77
|
sendMessage: () => sendMessage,
|
|
75
78
|
sendScheduledNow: () => sendScheduledNow,
|
|
79
|
+
signImportUploadParts: () => signImportUploadParts,
|
|
76
80
|
startImport: () => startImport,
|
|
77
81
|
unscheduleSend: () => unscheduleSend,
|
|
78
82
|
update: () => update,
|
|
@@ -86,8 +90,12 @@ var mailboxes_exports = /* @__PURE__ */ __exportAll({
|
|
|
86
90
|
});
|
|
87
91
|
const make = /* @__PURE__ */ forGroup(MailboxesGroup, mailboxesOperations);
|
|
88
92
|
const createImportUpload = /* @__PURE__ */ make("mailboxesCreateImportUpload");
|
|
89
|
-
const
|
|
93
|
+
const signImportUploadParts = /* @__PURE__ */ make("mailboxesSignImportUploadParts");
|
|
94
|
+
const completeImportUpload = /* @__PURE__ */ make("mailboxesCompleteImportUpload");
|
|
95
|
+
const discardImportUpload = /* @__PURE__ */ make("mailboxesDiscardImportUpload");
|
|
96
|
+
const discardImport = /* @__PURE__ */ make("mailboxesDiscardImport");
|
|
90
97
|
const getImport = /* @__PURE__ */ make("mailboxesGetImport");
|
|
98
|
+
const startImport = /* @__PURE__ */ make("mailboxesStartImport");
|
|
91
99
|
const listImports = /* @__PURE__ */ make("mailboxesListImports");
|
|
92
100
|
const list = /* @__PURE__ */ make("mailboxesList");
|
|
93
101
|
const create = /* @__PURE__ */ make("mailboxesCreate");
|
|
@@ -160,6 +168,6 @@ const createSplit = /* @__PURE__ */ make("mailboxesCreateSplit");
|
|
|
160
168
|
const updateSplit = /* @__PURE__ */ make("mailboxesUpdateSplit");
|
|
161
169
|
const deleteSplit = /* @__PURE__ */ make("mailboxesDeleteSplit");
|
|
162
170
|
const listAddresses = /* @__PURE__ */ make("mailboxesListAddresses");
|
|
163
|
-
export { MailboxEventStreamError, addThreadLabels, approveAction, cancelAction, copyMessageAttachment, countSplits, create, createDraft, createEndpoint, createGrant, createImportUpload, createLabel, createNote, createSplit, deleteDraft, deleteLabel, deleteNote, deleteSplit, deleteThread, denyAction, discardSpamHeld, emptySpam, emptyTrash, events, forward, get, getAction, getAgentActivity, getDraft, getImport, getMessage, getMessageAttachment, getMessageRaw, getNeedsYou, getThread, getThreadContent, list, listActions, listAddresses, listDrafts, listEvents, listFolders, listGrants, listImports, listLabels, listOrganizationDrafts, listOrganizationThreads, listScheduledSends, listSpamHeld, listSplits, listThreadMessages, listThreadNotes, listThreads, mailboxes_exports, pause, remove, removeEndpoint, removeThreadLabels, reply, replyAll, rescheduleSend, resume, retryAction, revokeGrant, scheduleDraft, sendDraft, sendMessage, sendScheduledNow, startImport, unscheduleSend, update, updateDraft, updateEndpoint, updateGrant, updateLabel, updateNote, updateSplit, updateThread };
|
|
171
|
+
export { MailboxEventStreamError, addThreadLabels, approveAction, cancelAction, completeImportUpload, copyMessageAttachment, countSplits, create, createDraft, createEndpoint, createGrant, createImportUpload, createLabel, createNote, createSplit, deleteDraft, deleteLabel, deleteNote, deleteSplit, deleteThread, denyAction, discardImport, discardImportUpload, discardSpamHeld, emptySpam, emptyTrash, events, forward, get, getAction, getAgentActivity, getDraft, getImport, getMessage, getMessageAttachment, getMessageRaw, getNeedsYou, getThread, getThreadContent, list, listActions, listAddresses, listDrafts, listEvents, listFolders, listGrants, listImports, listLabels, listOrganizationDrafts, listOrganizationThreads, listScheduledSends, listSpamHeld, listSplits, listThreadMessages, listThreadNotes, listThreads, mailboxes_exports, pause, remove, removeEndpoint, removeThreadLabels, reply, replyAll, rescheduleSend, resume, retryAction, revokeGrant, scheduleDraft, sendDraft, sendMessage, sendScheduledNow, signImportUploadParts, startImport, unscheduleSend, update, updateDraft, updateEndpoint, updateGrant, updateLabel, updateNote, updateSplit, updateThread };
|
|
164
172
|
|
|
165
173
|
//# sourceMappingURL=mailboxes.js.map
|
|
@@ -42,7 +42,7 @@ export declare const list: ((input?: {
|
|
|
42
42
|
readonly createdAt: string;
|
|
43
43
|
}[];
|
|
44
44
|
readonly nextCursor: string | null;
|
|
45
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
45
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
46
46
|
readonly items: (input?: {
|
|
47
47
|
readonly limit?: number | null | undefined;
|
|
48
48
|
readonly cursor?: string | undefined;
|
|
@@ -69,7 +69,7 @@ export declare const list: ((input?: {
|
|
|
69
69
|
readonly subject: string | null;
|
|
70
70
|
readonly waitReason: "campaign-paused" | "content-review" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "rate" | "retry" | "screening-unavailable" | "sending-paused" | "upstream-unavailable" | null;
|
|
71
71
|
readonly createdAt: string;
|
|
72
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
72
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
73
73
|
};
|
|
74
74
|
export declare const send: (input: MessageSendInput, options?: SendOptions | undefined) => import("effect/Effect").Effect<{
|
|
75
75
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
@@ -82,7 +82,7 @@ export declare const send: (input: MessageSendInput, options?: SendOptions | und
|
|
|
82
82
|
readonly topicId?: (string & import("effect/Brand").Brand<"TopicId">) | null;
|
|
83
83
|
}[];
|
|
84
84
|
readonly createdAt: string;
|
|
85
|
-
}, import("./errors.js").BillingProviderError | import("./errors.js").ConflictError | import("./errors.js").DeliveryUnavailableError | import("./errors.js").ExternalServiceError | import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").FromAddressRequiredError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("../index.js").MediaUploadError | import("./errors.js").OnboardingReviewRequiredError | import("./errors.js").PaymentRequiredError | import("./errors.js").RateLimitedError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").SenderNotReadyError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
85
|
+
}, import("./errors.js").BillingProviderError | import("./errors.js").ConflictError | import("./errors.js").DeliveryUnavailableError | import("./errors.js").ExternalServiceError | import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").FromAddressRequiredError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("../index.js").MediaUploadError | import("./errors.js").OnboardingReviewRequiredError | import("./errors.js").PaymentRequiredError | import("./errors.js").RateLimitedError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").SenderNotReadyError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
86
86
|
export declare const get: (input: {
|
|
87
87
|
readonly id: string;
|
|
88
88
|
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"messagesGet">;
|
|
@@ -238,7 +238,7 @@ export declare const getEvents: ((input: {
|
|
|
238
238
|
} | null;
|
|
239
239
|
}[];
|
|
240
240
|
readonly nextCursor: string | null;
|
|
241
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
241
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
242
242
|
readonly items: (input: {
|
|
243
243
|
readonly id: string;
|
|
244
244
|
readonly limit?: number | null | undefined;
|
|
@@ -252,5 +252,5 @@ export declare const getEvents: ((input: {
|
|
|
252
252
|
readonly metadata?: {
|
|
253
253
|
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
254
254
|
} | null;
|
|
255
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
255
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
256
256
|
};
|
|
@@ -16,7 +16,7 @@ export declare const list: ((input?: {
|
|
|
16
16
|
readonly createdAt: string;
|
|
17
17
|
}[];
|
|
18
18
|
readonly nextCursor: string | null;
|
|
19
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
19
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
20
20
|
readonly items: (input?: {
|
|
21
21
|
readonly limit?: number | null | undefined;
|
|
22
22
|
readonly cursor?: string | undefined;
|
|
@@ -26,7 +26,7 @@ export declare const list: ((input?: {
|
|
|
26
26
|
readonly id: string & import("effect/Brand").Brand<"NamespaceId">;
|
|
27
27
|
readonly name: string;
|
|
28
28
|
readonly createdAt: string;
|
|
29
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
29
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
30
30
|
};
|
|
31
31
|
export declare const create: (input: {
|
|
32
32
|
readonly name: string;
|
|
@@ -89,7 +89,7 @@ export declare const listPortalLinks: ((input: {
|
|
|
89
89
|
readonly createdAt: string;
|
|
90
90
|
}[];
|
|
91
91
|
readonly nextCursor: string | null;
|
|
92
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
92
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
93
93
|
readonly items: (input: {
|
|
94
94
|
readonly id: string;
|
|
95
95
|
readonly limit?: number | null | undefined;
|
|
@@ -106,7 +106,7 @@ export declare const listPortalLinks: ((input: {
|
|
|
106
106
|
readonly [x: string]: string;
|
|
107
107
|
};
|
|
108
108
|
readonly createdAt: string;
|
|
109
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
109
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
110
110
|
};
|
|
111
111
|
export declare const revokePortalLink: (input: {
|
|
112
112
|
readonly id: string;
|
|
@@ -30,7 +30,7 @@ export declare const list: ((input: {
|
|
|
30
30
|
readonly verificationErrors: readonly string[];
|
|
31
31
|
}[];
|
|
32
32
|
readonly nextCursor: string | null;
|
|
33
|
-
}, import("./errors.js").ConflictError | import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
33
|
+
}, import("./errors.js").ConflictError | import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
34
34
|
readonly items: (input: {
|
|
35
35
|
readonly id: string;
|
|
36
36
|
readonly limit?: number | null | undefined;
|
|
@@ -55,7 +55,7 @@ export declare const list: ((input: {
|
|
|
55
55
|
readonly value: string;
|
|
56
56
|
}[];
|
|
57
57
|
readonly verificationErrors: readonly string[];
|
|
58
|
-
}, import("./errors.js").ConflictError | import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
58
|
+
}, import("./errors.js").ConflictError | import("./errors.js").FlagDisabledError | import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
59
59
|
};
|
|
60
60
|
export declare const add: (input: {
|
|
61
61
|
readonly id: string;
|
|
@@ -34,7 +34,7 @@ export declare const list: ((input?: {
|
|
|
34
34
|
readonly completedAt: string | null;
|
|
35
35
|
}[];
|
|
36
36
|
readonly nextCursor: string | null;
|
|
37
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
37
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
38
38
|
readonly items: (input?: {
|
|
39
39
|
readonly limit?: number | null | undefined;
|
|
40
40
|
readonly cursor?: string | undefined;
|
|
@@ -62,7 +62,7 @@ export declare const list: ((input?: {
|
|
|
62
62
|
readonly updatedAt: string;
|
|
63
63
|
readonly startedAt: string | null;
|
|
64
64
|
readonly completedAt: string | null;
|
|
65
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
65
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
66
66
|
};
|
|
67
67
|
export declare const get: (input: {
|
|
68
68
|
readonly id: string;
|
|
@@ -826,13 +826,11 @@ export declare const list: ((input?: {
|
|
|
826
826
|
readonly failureReason: string | null;
|
|
827
827
|
readonly attempts: number;
|
|
828
828
|
readonly createdBy: string | null;
|
|
829
|
-
readonly actorEmail: string;
|
|
830
|
-
readonly memberRole: string;
|
|
831
829
|
readonly createdAt: string;
|
|
832
830
|
readonly updatedAt: string;
|
|
833
831
|
}[];
|
|
834
832
|
readonly nextCursor: string | null;
|
|
835
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
833
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
836
834
|
readonly items: (input?: {
|
|
837
835
|
readonly limit?: number | null | undefined;
|
|
838
836
|
readonly cursor?: string | undefined;
|
|
@@ -1153,11 +1151,9 @@ export declare const list: ((input?: {
|
|
|
1153
1151
|
readonly failureReason: string | null;
|
|
1154
1152
|
readonly attempts: number;
|
|
1155
1153
|
readonly createdBy: string | null;
|
|
1156
|
-
readonly actorEmail: string;
|
|
1157
|
-
readonly memberRole: string;
|
|
1158
1154
|
readonly createdAt: string;
|
|
1159
1155
|
readonly updatedAt: string;
|
|
1160
|
-
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1156
|
+
}, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").SamvaTimeoutError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
|
|
1161
1157
|
};
|
|
1162
1158
|
export declare const get: (input: {
|
|
1163
1159
|
readonly id: string;
|