agentmail 0.0.24 → 0.0.26
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/Client.d.ts +3 -0
- package/Client.js +7 -2
- package/README.md +1 -1
- package/api/resources/drafts/client/Client.d.ts +53 -0
- package/api/resources/drafts/client/Client.js +218 -0
- package/api/resources/drafts/client/index.d.ts +1 -0
- package/api/resources/drafts/client/index.js +17 -0
- package/api/resources/drafts/client/requests/ListDraftsRequest.d.ts +15 -0
- package/api/resources/drafts/client/requests/index.d.ts +1 -0
- package/api/resources/drafts/client/requests/index.js +2 -0
- package/api/resources/drafts/index.d.ts +2 -0
- package/api/resources/drafts/index.js +18 -0
- package/api/resources/drafts/types/Draft.d.ts +51 -0
- package/api/resources/drafts/types/DraftAttachments.d.ts +8 -0
- package/api/resources/drafts/types/DraftAttachments.js +5 -0
- package/api/resources/drafts/types/DraftBcc.d.ts +7 -0
- package/api/resources/drafts/types/DraftBcc.js +5 -0
- package/api/resources/drafts/types/DraftCc.d.ts +7 -0
- package/api/resources/drafts/types/DraftCc.js +5 -0
- package/api/resources/drafts/types/DraftCreatedAt.d.ts +7 -0
- package/api/resources/drafts/types/DraftCreatedAt.js +5 -0
- package/api/resources/drafts/types/DraftEventId.d.ts +7 -0
- package/api/resources/drafts/types/DraftEventId.js +5 -0
- package/api/resources/drafts/types/DraftHtml.d.ts +7 -0
- package/api/resources/drafts/types/DraftHtml.js +5 -0
- package/api/resources/drafts/types/DraftId.d.ts +7 -0
- package/api/resources/drafts/types/DraftId.js +5 -0
- package/api/resources/drafts/types/DraftInReplyTo.d.ts +7 -0
- package/api/resources/drafts/types/DraftInReplyTo.js +5 -0
- package/api/resources/drafts/types/DraftItem.d.ts +21 -0
- package/api/resources/drafts/types/DraftItem.js +5 -0
- package/api/resources/drafts/types/DraftLabels.d.ts +7 -0
- package/api/resources/drafts/types/DraftLabels.js +5 -0
- package/api/resources/drafts/types/DraftPreview.d.ts +7 -0
- package/api/resources/drafts/types/DraftPreview.js +5 -0
- package/api/resources/drafts/types/DraftReferences.d.ts +7 -0
- package/api/resources/drafts/types/DraftReferences.js +5 -0
- package/api/resources/drafts/types/DraftSubject.d.ts +7 -0
- package/api/resources/drafts/types/DraftSubject.js +5 -0
- package/api/resources/drafts/types/DraftText.d.ts +7 -0
- package/api/resources/drafts/types/DraftText.js +5 -0
- package/api/resources/drafts/types/DraftTo.d.ts +7 -0
- package/api/resources/drafts/types/DraftTo.js +5 -0
- package/api/resources/drafts/types/DraftUpdatedAt.d.ts +7 -0
- package/api/resources/drafts/types/DraftUpdatedAt.js +5 -0
- package/api/resources/drafts/types/ListDraftsResponse.d.ts +51 -0
- package/api/resources/drafts/types/ListDraftsResponse.js +5 -0
- package/api/resources/drafts/types/index.d.ts +18 -0
- package/api/resources/drafts/types/index.js +34 -0
- package/api/resources/inboxes/client/Client.js +8 -3
- package/api/resources/inboxes/types/Inbox.d.ts +0 -4
- package/api/resources/inboxes/types/ListInboxesResponse.d.ts +2 -3
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/messages/client/Client.js +18 -5
- package/api/resources/messages/types/ListMessagesResponse.d.ts +6 -4
- package/api/resources/messages/types/Message.d.ts +4 -8
- package/api/resources/messages/types/MessageItem.d.ts +3 -0
- package/api/resources/messages/types/SendAttachment.d.ts +1 -1
- package/api/resources/messages/types/index.d.ts +4 -5
- package/api/resources/messages/types/index.js +4 -5
- package/api/resources/threads/client/Client.js +6 -2
- package/api/resources/threads/types/ListThreadsResponse.d.ts +4 -2
- package/api/resources/threads/types/Thread.d.ts +2 -5
- package/api/resources/threads/types/ThreadItem.d.ts +1 -0
- package/api/resources/threads/types/index.d.ts +1 -1
- package/api/resources/threads/types/index.js +1 -1
- package/api/resources/webhooks/client/Client.js +10 -4
- package/api/resources/webhooks/types/ListWebhooksResponse.d.ts +2 -2
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +7 -2
- package/dist/api/resources/drafts/client/Client.d.ts +53 -0
- package/dist/api/resources/drafts/client/Client.js +218 -0
- package/dist/api/resources/drafts/client/index.d.ts +1 -0
- package/dist/api/resources/drafts/client/index.js +17 -0
- package/dist/api/resources/drafts/client/requests/ListDraftsRequest.d.ts +15 -0
- package/dist/api/resources/drafts/client/requests/ListDraftsRequest.js +5 -0
- package/dist/api/resources/drafts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/drafts/client/requests/index.js +2 -0
- package/dist/api/resources/drafts/index.d.ts +2 -0
- package/dist/api/resources/drafts/index.js +18 -0
- package/dist/api/resources/drafts/types/Draft.d.ts +51 -0
- package/dist/api/resources/drafts/types/Draft.js +5 -0
- package/dist/api/resources/drafts/types/DraftAttachments.d.ts +8 -0
- package/dist/api/resources/drafts/types/DraftAttachments.js +5 -0
- package/dist/api/resources/drafts/types/DraftBcc.d.ts +7 -0
- package/dist/api/resources/drafts/types/DraftBcc.js +5 -0
- package/dist/api/resources/drafts/types/DraftCc.d.ts +7 -0
- package/dist/api/resources/drafts/types/DraftCc.js +5 -0
- package/dist/api/resources/drafts/types/DraftCreatedAt.d.ts +7 -0
- package/dist/api/resources/drafts/types/DraftCreatedAt.js +5 -0
- package/dist/api/resources/drafts/types/DraftEventId.d.ts +7 -0
- package/dist/api/resources/drafts/types/DraftEventId.js +5 -0
- package/dist/api/resources/drafts/types/DraftHtml.d.ts +7 -0
- package/dist/api/resources/drafts/types/DraftHtml.js +5 -0
- package/dist/api/resources/drafts/types/DraftId.d.ts +7 -0
- package/dist/api/resources/drafts/types/DraftId.js +5 -0
- package/dist/api/resources/drafts/types/DraftInReplyTo.d.ts +7 -0
- package/dist/api/resources/drafts/types/DraftInReplyTo.js +5 -0
- package/dist/api/resources/drafts/types/DraftItem.d.ts +21 -0
- package/dist/api/resources/drafts/types/DraftItem.js +5 -0
- package/dist/api/resources/drafts/types/DraftLabels.d.ts +7 -0
- package/dist/api/resources/drafts/types/DraftLabels.js +5 -0
- package/dist/api/resources/drafts/types/DraftPreview.d.ts +7 -0
- package/dist/api/resources/drafts/types/DraftPreview.js +5 -0
- package/dist/api/resources/drafts/types/DraftReferences.d.ts +7 -0
- package/dist/api/resources/drafts/types/DraftReferences.js +5 -0
- package/dist/api/resources/drafts/types/DraftSubject.d.ts +7 -0
- package/dist/api/resources/drafts/types/DraftSubject.js +5 -0
- package/dist/api/resources/drafts/types/DraftText.d.ts +7 -0
- package/dist/api/resources/drafts/types/DraftText.js +5 -0
- package/dist/api/resources/drafts/types/DraftTo.d.ts +7 -0
- package/dist/api/resources/drafts/types/DraftTo.js +5 -0
- package/dist/api/resources/drafts/types/DraftUpdatedAt.d.ts +7 -0
- package/dist/api/resources/drafts/types/DraftUpdatedAt.js +5 -0
- package/dist/api/resources/drafts/types/ListDraftsResponse.d.ts +51 -0
- package/dist/api/resources/drafts/types/ListDraftsResponse.js +5 -0
- package/dist/api/resources/drafts/types/index.d.ts +18 -0
- package/dist/api/resources/drafts/types/index.js +34 -0
- package/dist/api/resources/inboxes/client/Client.js +8 -3
- package/dist/api/resources/inboxes/types/Inbox.d.ts +0 -4
- package/dist/api/resources/inboxes/types/ListInboxesResponse.d.ts +2 -3
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/messages/client/Client.js +18 -5
- package/dist/api/resources/messages/types/ListMessagesResponse.d.ts +6 -4
- package/dist/api/resources/messages/types/Message.d.ts +4 -8
- package/dist/api/resources/messages/types/MessageItem.d.ts +3 -0
- package/dist/api/resources/messages/types/SendAttachment.d.ts +1 -1
- package/dist/api/resources/messages/types/index.d.ts +4 -5
- package/dist/api/resources/messages/types/index.js +4 -5
- package/dist/api/resources/threads/client/Client.js +6 -2
- package/dist/api/resources/threads/types/ListThreadsResponse.d.ts +4 -2
- package/dist/api/resources/threads/types/Thread.d.ts +2 -5
- package/dist/api/resources/threads/types/ThreadItem.d.ts +1 -0
- package/dist/api/resources/threads/types/index.d.ts +1 -1
- package/dist/api/resources/threads/types/index.js +1 -1
- package/dist/api/resources/webhooks/client/Client.js +10 -4
- package/dist/api/resources/webhooks/types/ListWebhooksResponse.d.ts +2 -2
- package/dist/serialization/resources/drafts/index.d.ts +1 -0
- package/dist/serialization/resources/drafts/index.js +17 -0
- package/dist/serialization/resources/drafts/types/Draft.d.ts +45 -0
- package/dist/serialization/resources/drafts/types/Draft.js +76 -0
- package/dist/serialization/resources/drafts/types/DraftAttachments.d.ts +11 -0
- package/dist/serialization/resources/drafts/types/DraftAttachments.js +42 -0
- package/dist/serialization/resources/drafts/types/DraftBcc.d.ts +10 -0
- package/dist/serialization/resources/drafts/types/DraftBcc.js +41 -0
- package/dist/serialization/resources/drafts/types/DraftCc.d.ts +10 -0
- package/dist/serialization/resources/drafts/types/DraftCc.js +41 -0
- package/dist/serialization/resources/{messages/types/MessageReplyTo.d.ts → drafts/types/DraftCreatedAt.d.ts} +2 -2
- package/dist/serialization/resources/{messages/types/MessageReplyTo.js → drafts/types/DraftCreatedAt.js} +2 -2
- package/{serialization/resources/messages/types/MessageReplyTo.d.ts → dist/serialization/resources/drafts/types/DraftEventId.d.ts} +2 -2
- package/{serialization/resources/messages/types/MessageReplyTo.js → dist/serialization/resources/drafts/types/DraftEventId.js} +2 -2
- package/dist/serialization/resources/drafts/types/DraftHtml.d.ts +10 -0
- package/dist/serialization/resources/drafts/types/DraftHtml.js +41 -0
- package/dist/serialization/resources/drafts/types/DraftId.d.ts +10 -0
- package/dist/serialization/resources/drafts/types/DraftId.js +41 -0
- package/dist/serialization/resources/drafts/types/DraftInReplyTo.d.ts +10 -0
- package/dist/serialization/resources/drafts/types/DraftInReplyTo.js +41 -0
- package/dist/serialization/resources/drafts/types/DraftItem.d.ts +41 -0
- package/dist/serialization/resources/drafts/types/DraftItem.js +72 -0
- package/dist/serialization/resources/drafts/types/DraftLabels.d.ts +10 -0
- package/dist/serialization/resources/drafts/types/DraftLabels.js +41 -0
- package/dist/serialization/resources/drafts/types/DraftPreview.d.ts +10 -0
- package/dist/serialization/resources/drafts/types/DraftPreview.js +41 -0
- package/dist/serialization/resources/drafts/types/DraftReferences.d.ts +10 -0
- package/dist/serialization/resources/drafts/types/DraftReferences.js +41 -0
- package/dist/serialization/resources/drafts/types/DraftSubject.d.ts +10 -0
- package/dist/serialization/resources/drafts/types/DraftSubject.js +41 -0
- package/dist/serialization/resources/drafts/types/DraftText.d.ts +10 -0
- package/dist/serialization/resources/drafts/types/DraftText.js +41 -0
- package/dist/serialization/resources/drafts/types/DraftTo.d.ts +10 -0
- package/dist/serialization/resources/drafts/types/DraftTo.js +41 -0
- package/dist/serialization/resources/drafts/types/DraftUpdatedAt.d.ts +10 -0
- package/dist/serialization/resources/drafts/types/DraftUpdatedAt.js +41 -0
- package/dist/serialization/resources/drafts/types/ListDraftsResponse.d.ts +19 -0
- package/dist/serialization/resources/drafts/types/ListDraftsResponse.js +50 -0
- package/dist/serialization/resources/drafts/types/index.d.ts +18 -0
- package/dist/serialization/resources/drafts/types/index.js +34 -0
- package/dist/serialization/resources/inboxes/types/Inbox.d.ts +0 -1
- package/dist/serialization/resources/inboxes/types/Inbox.js +0 -1
- package/dist/serialization/resources/inboxes/types/ListInboxesResponse.d.ts +2 -2
- package/dist/serialization/resources/inboxes/types/ListInboxesResponse.js +2 -2
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/messages/types/ListMessagesResponse.d.ts +2 -2
- package/dist/serialization/resources/messages/types/ListMessagesResponse.js +2 -2
- package/dist/serialization/resources/messages/types/Message.d.ts +6 -10
- package/dist/serialization/resources/messages/types/Message.js +6 -10
- package/dist/serialization/resources/messages/types/MessageItem.d.ts +6 -0
- package/dist/serialization/resources/messages/types/MessageItem.js +6 -0
- package/dist/serialization/resources/messages/types/SendAttachment.d.ts +1 -1
- package/dist/serialization/resources/messages/types/SendAttachment.js +1 -1
- package/dist/serialization/resources/messages/types/index.d.ts +4 -5
- package/dist/serialization/resources/messages/types/index.js +4 -5
- package/dist/serialization/resources/threads/types/ListThreadsResponse.d.ts +2 -2
- package/dist/serialization/resources/threads/types/ListThreadsResponse.js +2 -2
- package/dist/serialization/resources/threads/types/Thread.d.ts +2 -4
- package/dist/serialization/resources/threads/types/Thread.js +2 -4
- package/dist/serialization/resources/threads/types/ThreadItem.d.ts +2 -0
- package/dist/serialization/resources/threads/types/ThreadItem.js +2 -0
- package/dist/serialization/resources/threads/types/index.d.ts +1 -1
- package/dist/serialization/resources/threads/types/index.js +1 -1
- package/dist/serialization/resources/webhooks/types/ListWebhooksResponse.d.ts +2 -2
- package/dist/serialization/resources/webhooks/types/ListWebhooksResponse.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +116 -0
- package/serialization/resources/drafts/index.d.ts +1 -0
- package/serialization/resources/drafts/index.js +17 -0
- package/serialization/resources/drafts/types/Draft.d.ts +45 -0
- package/serialization/resources/drafts/types/Draft.js +76 -0
- package/serialization/resources/drafts/types/DraftAttachments.d.ts +11 -0
- package/serialization/resources/drafts/types/DraftAttachments.js +42 -0
- package/serialization/resources/drafts/types/DraftBcc.d.ts +10 -0
- package/serialization/resources/drafts/types/DraftBcc.js +41 -0
- package/serialization/resources/drafts/types/DraftCc.d.ts +10 -0
- package/serialization/resources/drafts/types/DraftCc.js +41 -0
- package/serialization/resources/drafts/types/DraftCreatedAt.d.ts +10 -0
- package/serialization/resources/drafts/types/DraftCreatedAt.js +41 -0
- package/serialization/resources/drafts/types/DraftEventId.d.ts +10 -0
- package/serialization/resources/drafts/types/DraftEventId.js +41 -0
- package/serialization/resources/drafts/types/DraftHtml.d.ts +10 -0
- package/serialization/resources/drafts/types/DraftHtml.js +41 -0
- package/serialization/resources/drafts/types/DraftId.d.ts +10 -0
- package/serialization/resources/drafts/types/DraftId.js +41 -0
- package/serialization/resources/drafts/types/DraftInReplyTo.d.ts +10 -0
- package/serialization/resources/drafts/types/DraftInReplyTo.js +41 -0
- package/serialization/resources/drafts/types/DraftItem.d.ts +41 -0
- package/serialization/resources/drafts/types/DraftItem.js +72 -0
- package/serialization/resources/drafts/types/DraftLabels.d.ts +10 -0
- package/serialization/resources/drafts/types/DraftLabels.js +41 -0
- package/serialization/resources/drafts/types/DraftPreview.d.ts +10 -0
- package/serialization/resources/drafts/types/DraftPreview.js +41 -0
- package/serialization/resources/drafts/types/DraftReferences.d.ts +10 -0
- package/serialization/resources/drafts/types/DraftReferences.js +41 -0
- package/serialization/resources/drafts/types/DraftSubject.d.ts +10 -0
- package/serialization/resources/drafts/types/DraftSubject.js +41 -0
- package/serialization/resources/drafts/types/DraftText.d.ts +10 -0
- package/serialization/resources/drafts/types/DraftText.js +41 -0
- package/serialization/resources/drafts/types/DraftTo.d.ts +10 -0
- package/serialization/resources/drafts/types/DraftTo.js +41 -0
- package/serialization/resources/drafts/types/DraftUpdatedAt.d.ts +10 -0
- package/serialization/resources/drafts/types/DraftUpdatedAt.js +41 -0
- package/serialization/resources/drafts/types/ListDraftsResponse.d.ts +19 -0
- package/serialization/resources/drafts/types/ListDraftsResponse.js +50 -0
- package/serialization/resources/drafts/types/index.d.ts +18 -0
- package/serialization/resources/drafts/types/index.js +34 -0
- package/serialization/resources/inboxes/types/Inbox.d.ts +0 -1
- package/serialization/resources/inboxes/types/Inbox.js +0 -1
- package/serialization/resources/inboxes/types/ListInboxesResponse.d.ts +2 -2
- package/serialization/resources/inboxes/types/ListInboxesResponse.js +2 -2
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/messages/types/ListMessagesResponse.d.ts +2 -2
- package/serialization/resources/messages/types/ListMessagesResponse.js +2 -2
- package/serialization/resources/messages/types/Message.d.ts +6 -10
- package/serialization/resources/messages/types/Message.js +6 -10
- package/serialization/resources/messages/types/MessageItem.d.ts +6 -0
- package/serialization/resources/messages/types/MessageItem.js +6 -0
- package/serialization/resources/messages/types/SendAttachment.d.ts +1 -1
- package/serialization/resources/messages/types/SendAttachment.js +1 -1
- package/serialization/resources/messages/types/index.d.ts +4 -5
- package/serialization/resources/messages/types/index.js +4 -5
- package/serialization/resources/threads/types/ListThreadsResponse.d.ts +2 -2
- package/serialization/resources/threads/types/ListThreadsResponse.js +2 -2
- package/serialization/resources/threads/types/Thread.d.ts +2 -4
- package/serialization/resources/threads/types/Thread.js +2 -4
- package/serialization/resources/threads/types/ThreadItem.d.ts +2 -0
- package/serialization/resources/threads/types/ThreadItem.js +2 -0
- package/serialization/resources/threads/types/index.d.ts +1 -1
- package/serialization/resources/threads/types/index.js +1 -1
- package/serialization/resources/webhooks/types/ListWebhooksResponse.d.ts +2 -2
- package/serialization/resources/webhooks/types/ListWebhooksResponse.js +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/messages/types/MessageReplyTo.d.ts +0 -7
- package/dist/api/resources/messages/types/MessageReplyTo.d.ts +0 -7
- /package/api/resources/{messages/types/MessageReplyTo.js → drafts/client/requests/ListDraftsRequest.js} +0 -0
- /package/{dist/api/resources/messages/types/MessageReplyTo.js → api/resources/drafts/types/Draft.js} +0 -0
|
@@ -11,18 +11,17 @@ export * from "./MessageEventId";
|
|
|
11
11
|
export * from "./MessageLabels";
|
|
12
12
|
export * from "./MessageTimestamp";
|
|
13
13
|
export * from "./MessageFrom";
|
|
14
|
-
export * from "./MessageReplyTo";
|
|
15
|
-
export * from "./MessageSubject";
|
|
16
|
-
export * from "./MessagePreview";
|
|
17
14
|
export * from "./MessageTo";
|
|
18
15
|
export * from "./MessageCc";
|
|
19
16
|
export * from "./MessageBcc";
|
|
17
|
+
export * from "./MessageSubject";
|
|
18
|
+
export * from "./MessagePreview";
|
|
19
|
+
export * from "./MessageText";
|
|
20
|
+
export * from "./MessageHtml";
|
|
20
21
|
export * from "./MessageAttachments";
|
|
21
22
|
export * from "./MessageInReplyTo";
|
|
22
23
|
export * from "./MessageReferences";
|
|
23
24
|
export * from "./MessageItem";
|
|
24
|
-
export * from "./MessageText";
|
|
25
|
-
export * from "./MessageHtml";
|
|
26
25
|
export * from "./Message";
|
|
27
26
|
export * from "./ListMessagesResponse";
|
|
28
27
|
export * from "./Addresses";
|
|
@@ -27,18 +27,17 @@ __exportStar(require("./MessageEventId"), exports);
|
|
|
27
27
|
__exportStar(require("./MessageLabels"), exports);
|
|
28
28
|
__exportStar(require("./MessageTimestamp"), exports);
|
|
29
29
|
__exportStar(require("./MessageFrom"), exports);
|
|
30
|
-
__exportStar(require("./MessageReplyTo"), exports);
|
|
31
|
-
__exportStar(require("./MessageSubject"), exports);
|
|
32
|
-
__exportStar(require("./MessagePreview"), exports);
|
|
33
30
|
__exportStar(require("./MessageTo"), exports);
|
|
34
31
|
__exportStar(require("./MessageCc"), exports);
|
|
35
32
|
__exportStar(require("./MessageBcc"), exports);
|
|
33
|
+
__exportStar(require("./MessageSubject"), exports);
|
|
34
|
+
__exportStar(require("./MessagePreview"), exports);
|
|
35
|
+
__exportStar(require("./MessageText"), exports);
|
|
36
|
+
__exportStar(require("./MessageHtml"), exports);
|
|
36
37
|
__exportStar(require("./MessageAttachments"), exports);
|
|
37
38
|
__exportStar(require("./MessageInReplyTo"), exports);
|
|
38
39
|
__exportStar(require("./MessageReferences"), exports);
|
|
39
40
|
__exportStar(require("./MessageItem"), exports);
|
|
40
|
-
__exportStar(require("./MessageText"), exports);
|
|
41
|
-
__exportStar(require("./MessageHtml"), exports);
|
|
42
41
|
__exportStar(require("./Message"), exports);
|
|
43
42
|
__exportStar(require("./ListMessagesResponse"), exports);
|
|
44
43
|
__exportStar(require("./Addresses"), exports);
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as AgentMail from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
import { ThreadItem } from "./ThreadItem";
|
|
8
7
|
import { Count } from "../../../types/Count";
|
|
9
8
|
import { Limit } from "../../../types/Limit";
|
|
10
9
|
import { LastKey } from "../../../types/LastKey";
|
|
10
|
+
import { ThreadItem } from "./ThreadItem";
|
|
11
11
|
export declare const ListThreadsResponse: core.serialization.ObjectSchema<serializers.ListThreadsResponse.Raw, AgentMail.ListThreadsResponse>;
|
|
12
12
|
export declare namespace ListThreadsResponse {
|
|
13
13
|
interface Raw {
|
|
14
|
-
threads: ThreadItem.Raw[];
|
|
15
14
|
count: Count.Raw;
|
|
16
15
|
limit?: Limit.Raw | null;
|
|
17
16
|
last_key?: LastKey.Raw | null;
|
|
17
|
+
threads: ThreadItem.Raw[];
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -38,13 +38,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ListThreadsResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const ThreadItem_1 = require("./ThreadItem");
|
|
42
41
|
const Count_1 = require("../../../types/Count");
|
|
43
42
|
const Limit_1 = require("../../../types/Limit");
|
|
44
43
|
const LastKey_1 = require("../../../types/LastKey");
|
|
44
|
+
const ThreadItem_1 = require("./ThreadItem");
|
|
45
45
|
exports.ListThreadsResponse = core.serialization.object({
|
|
46
|
-
threads: core.serialization.list(ThreadItem_1.ThreadItem),
|
|
47
46
|
count: Count_1.Count,
|
|
48
47
|
limit: Limit_1.Limit.optional(),
|
|
49
48
|
lastKey: core.serialization.property("last_key", LastKey_1.LastKey.optional()),
|
|
49
|
+
threads: core.serialization.list(ThreadItem_1.ThreadItem),
|
|
50
50
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as AgentMail from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
+
import { InboxId } from "../../inboxes/types/InboxId";
|
|
7
8
|
import { ThreadId } from "./ThreadId";
|
|
8
9
|
import { ThreadEventId } from "./ThreadEventId";
|
|
9
10
|
import { ThreadLabels } from "./ThreadLabels";
|
|
@@ -15,11 +16,10 @@ import { ThreadSubject } from "./ThreadSubject";
|
|
|
15
16
|
import { ThreadPreview } from "./ThreadPreview";
|
|
16
17
|
import { ThreadAttachments } from "./ThreadAttachments";
|
|
17
18
|
import { Message } from "../../messages/types/Message";
|
|
18
|
-
import { InboxId } from "../../inboxes/types/InboxId";
|
|
19
|
-
import { OrganizationId } from "../../../types/OrganizationId";
|
|
20
19
|
export declare const Thread: core.serialization.ObjectSchema<serializers.Thread.Raw, AgentMail.Thread>;
|
|
21
20
|
export declare namespace Thread {
|
|
22
21
|
interface Raw {
|
|
22
|
+
inbox_id: InboxId.Raw;
|
|
23
23
|
thread_id: ThreadId.Raw;
|
|
24
24
|
event_id: ThreadEventId.Raw;
|
|
25
25
|
labels: ThreadLabels.Raw;
|
|
@@ -31,7 +31,5 @@ export declare namespace Thread {
|
|
|
31
31
|
preview?: ThreadPreview.Raw | null;
|
|
32
32
|
attachments?: ThreadAttachments.Raw | null;
|
|
33
33
|
messages: Message.Raw[];
|
|
34
|
-
inbox_id: InboxId.Raw;
|
|
35
|
-
organization_id: OrganizationId.Raw;
|
|
36
34
|
}
|
|
37
35
|
}
|
|
@@ -38,6 +38,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.Thread = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const InboxId_1 = require("../../inboxes/types/InboxId");
|
|
41
42
|
const ThreadId_1 = require("./ThreadId");
|
|
42
43
|
const ThreadEventId_1 = require("./ThreadEventId");
|
|
43
44
|
const ThreadLabels_1 = require("./ThreadLabels");
|
|
@@ -49,9 +50,8 @@ const ThreadSubject_1 = require("./ThreadSubject");
|
|
|
49
50
|
const ThreadPreview_1 = require("./ThreadPreview");
|
|
50
51
|
const ThreadAttachments_1 = require("./ThreadAttachments");
|
|
51
52
|
const Message_1 = require("../../messages/types/Message");
|
|
52
|
-
const InboxId_1 = require("../../inboxes/types/InboxId");
|
|
53
|
-
const OrganizationId_1 = require("../../../types/OrganizationId");
|
|
54
53
|
exports.Thread = core.serialization.object({
|
|
54
|
+
inboxId: core.serialization.property("inbox_id", InboxId_1.InboxId),
|
|
55
55
|
threadId: core.serialization.property("thread_id", ThreadId_1.ThreadId),
|
|
56
56
|
eventId: core.serialization.property("event_id", ThreadEventId_1.ThreadEventId),
|
|
57
57
|
labels: ThreadLabels_1.ThreadLabels,
|
|
@@ -63,6 +63,4 @@ exports.Thread = core.serialization.object({
|
|
|
63
63
|
preview: ThreadPreview_1.ThreadPreview.optional(),
|
|
64
64
|
attachments: ThreadAttachments_1.ThreadAttachments.optional(),
|
|
65
65
|
messages: core.serialization.list(Message_1.Message),
|
|
66
|
-
inboxId: core.serialization.property("inbox_id", InboxId_1.InboxId),
|
|
67
|
-
organizationId: core.serialization.property("organization_id", OrganizationId_1.OrganizationId),
|
|
68
66
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as AgentMail from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
+
import { InboxId } from "../../inboxes/types/InboxId";
|
|
7
8
|
import { ThreadId } from "./ThreadId";
|
|
8
9
|
import { ThreadEventId } from "./ThreadEventId";
|
|
9
10
|
import { ThreadLabels } from "./ThreadLabels";
|
|
@@ -17,6 +18,7 @@ import { ThreadAttachments } from "./ThreadAttachments";
|
|
|
17
18
|
export declare const ThreadItem: core.serialization.ObjectSchema<serializers.ThreadItem.Raw, AgentMail.ThreadItem>;
|
|
18
19
|
export declare namespace ThreadItem {
|
|
19
20
|
interface Raw {
|
|
21
|
+
inbox_id: InboxId.Raw;
|
|
20
22
|
thread_id: ThreadId.Raw;
|
|
21
23
|
event_id: ThreadEventId.Raw;
|
|
22
24
|
labels: ThreadLabels.Raw;
|
|
@@ -38,6 +38,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ThreadItem = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const InboxId_1 = require("../../inboxes/types/InboxId");
|
|
41
42
|
const ThreadId_1 = require("./ThreadId");
|
|
42
43
|
const ThreadEventId_1 = require("./ThreadEventId");
|
|
43
44
|
const ThreadLabels_1 = require("./ThreadLabels");
|
|
@@ -49,6 +50,7 @@ const ThreadSubject_1 = require("./ThreadSubject");
|
|
|
49
50
|
const ThreadPreview_1 = require("./ThreadPreview");
|
|
50
51
|
const ThreadAttachments_1 = require("./ThreadAttachments");
|
|
51
52
|
exports.ThreadItem = core.serialization.object({
|
|
53
|
+
inboxId: core.serialization.property("inbox_id", InboxId_1.InboxId),
|
|
52
54
|
threadId: core.serialization.property("thread_id", ThreadId_1.ThreadId),
|
|
53
55
|
eventId: core.serialization.property("event_id", ThreadEventId_1.ThreadEventId),
|
|
54
56
|
labels: ThreadLabels_1.ThreadLabels,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from "./ThreadAttachment";
|
|
2
1
|
export * from "./ThreadId";
|
|
3
2
|
export * from "./ThreadEventId";
|
|
4
3
|
export * from "./ThreadLabels";
|
|
@@ -8,6 +7,7 @@ export * from "./ThreadRecipients";
|
|
|
8
7
|
export * from "./ThreadMessageCount";
|
|
9
8
|
export * from "./ThreadSubject";
|
|
10
9
|
export * from "./ThreadPreview";
|
|
10
|
+
export * from "./ThreadAttachment";
|
|
11
11
|
export * from "./ThreadAttachments";
|
|
12
12
|
export * from "./ThreadItem";
|
|
13
13
|
export * from "./Thread";
|
|
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./ThreadAttachment"), exports);
|
|
18
17
|
__exportStar(require("./ThreadId"), exports);
|
|
19
18
|
__exportStar(require("./ThreadEventId"), exports);
|
|
20
19
|
__exportStar(require("./ThreadLabels"), exports);
|
|
@@ -24,6 +23,7 @@ __exportStar(require("./ThreadRecipients"), exports);
|
|
|
24
23
|
__exportStar(require("./ThreadMessageCount"), exports);
|
|
25
24
|
__exportStar(require("./ThreadSubject"), exports);
|
|
26
25
|
__exportStar(require("./ThreadPreview"), exports);
|
|
26
|
+
__exportStar(require("./ThreadAttachment"), exports);
|
|
27
27
|
__exportStar(require("./ThreadAttachments"), exports);
|
|
28
28
|
__exportStar(require("./ThreadItem"), exports);
|
|
29
29
|
__exportStar(require("./Thread"), exports);
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as AgentMail from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
import { Webhook } from "./Webhook";
|
|
8
7
|
import { Count } from "../../../types/Count";
|
|
9
8
|
import { Limit } from "../../../types/Limit";
|
|
10
9
|
import { LastKey } from "../../../types/LastKey";
|
|
10
|
+
import { Webhook } from "./Webhook";
|
|
11
11
|
export declare const ListWebhooksResponse: core.serialization.ObjectSchema<serializers.ListWebhooksResponse.Raw, AgentMail.ListWebhooksResponse>;
|
|
12
12
|
export declare namespace ListWebhooksResponse {
|
|
13
13
|
interface Raw {
|
|
14
|
-
webhooks: Webhook.Raw[];
|
|
15
14
|
count: Count.Raw;
|
|
16
15
|
limit?: Limit.Raw | null;
|
|
17
16
|
last_key?: LastKey.Raw | null;
|
|
17
|
+
webhooks: Webhook.Raw[];
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -38,13 +38,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ListWebhooksResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const Webhook_1 = require("./Webhook");
|
|
42
41
|
const Count_1 = require("../../../types/Count");
|
|
43
42
|
const Limit_1 = require("../../../types/Limit");
|
|
44
43
|
const LastKey_1 = require("../../../types/LastKey");
|
|
44
|
+
const Webhook_1 = require("./Webhook");
|
|
45
45
|
exports.ListWebhooksResponse = core.serialization.object({
|
|
46
|
-
webhooks: core.serialization.list(Webhook_1.Webhook),
|
|
47
46
|
count: Count_1.Count,
|
|
48
47
|
limit: Limit_1.Limit.optional(),
|
|
49
48
|
lastKey: core.serialization.property("last_key", LastKey_1.LastKey.optional()),
|
|
49
|
+
webhooks: core.serialization.list(Webhook_1.Webhook),
|
|
50
50
|
});
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.26";
|
package/version.js
CHANGED
|
File without changes
|
/package/{dist/api/resources/messages/types/MessageReplyTo.js → api/resources/drafts/types/Draft.js}
RENAMED
|
File without changes
|