agentmail 0.0.25 → 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 +3 -3
- package/api/resources/inboxes/types/ListInboxesResponse.d.ts +2 -2
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/messages/client/Client.js +5 -5
- package/api/resources/messages/types/ListMessagesResponse.d.ts +2 -2
- package/api/resources/messages/types/Message.d.ts +2 -4
- package/api/resources/messages/types/MessageItem.d.ts +2 -0
- 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 +2 -2
- package/api/resources/threads/types/ListThreadsResponse.d.ts +2 -2
- package/api/resources/webhooks/client/Client.js +4 -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 +3 -3
- package/dist/api/resources/inboxes/types/ListInboxesResponse.d.ts +2 -2
- 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 +5 -5
- package/dist/api/resources/messages/types/ListMessagesResponse.d.ts +2 -2
- package/dist/api/resources/messages/types/Message.d.ts +2 -4
- package/dist/api/resources/messages/types/MessageItem.d.ts +2 -0
- 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 +2 -2
- package/dist/api/resources/threads/types/ListThreadsResponse.d.ts +2 -2
- package/dist/api/resources/webhooks/client/Client.js +4 -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/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 +4 -6
- package/dist/serialization/resources/messages/types/Message.js +4 -6
- package/dist/serialization/resources/messages/types/MessageItem.d.ts +4 -0
- package/dist/serialization/resources/messages/types/MessageItem.js +4 -0
- 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/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/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 +4 -6
- package/serialization/resources/messages/types/Message.js +4 -6
- package/serialization/resources/messages/types/MessageItem.d.ts +4 -0
- package/serialization/resources/messages/types/MessageItem.js +4 -0
- 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/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
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.DraftText = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.DraftText = core.serialization.string();
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as AgentMail from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const DraftTo: core.serialization.Schema<serializers.DraftTo.Raw, AgentMail.DraftTo>;
|
|
8
|
+
export declare namespace DraftTo {
|
|
9
|
+
type Raw = string[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.DraftTo = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.DraftTo = core.serialization.list(core.serialization.string());
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as AgentMail from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const DraftUpdatedAt: core.serialization.Schema<serializers.DraftUpdatedAt.Raw, AgentMail.DraftUpdatedAt>;
|
|
8
|
+
export declare namespace DraftUpdatedAt {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.DraftUpdatedAt = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.DraftUpdatedAt = core.serialization.date();
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as AgentMail from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { Count } from "../../../types/Count";
|
|
8
|
+
import { Limit } from "../../../types/Limit";
|
|
9
|
+
import { LastKey } from "../../../types/LastKey";
|
|
10
|
+
import { DraftItem } from "./DraftItem";
|
|
11
|
+
export declare const ListDraftsResponse: core.serialization.ObjectSchema<serializers.ListDraftsResponse.Raw, AgentMail.ListDraftsResponse>;
|
|
12
|
+
export declare namespace ListDraftsResponse {
|
|
13
|
+
interface Raw {
|
|
14
|
+
count: Count.Raw;
|
|
15
|
+
limit?: Limit.Raw | null;
|
|
16
|
+
last_key?: LastKey.Raw | null;
|
|
17
|
+
drafts: DraftItem.Raw[];
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ListDraftsResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Count_1 = require("../../../types/Count");
|
|
42
|
+
const Limit_1 = require("../../../types/Limit");
|
|
43
|
+
const LastKey_1 = require("../../../types/LastKey");
|
|
44
|
+
const DraftItem_1 = require("./DraftItem");
|
|
45
|
+
exports.ListDraftsResponse = core.serialization.object({
|
|
46
|
+
count: Count_1.Count,
|
|
47
|
+
limit: Limit_1.Limit.optional(),
|
|
48
|
+
lastKey: core.serialization.property("last_key", LastKey_1.LastKey.optional()),
|
|
49
|
+
drafts: core.serialization.list(DraftItem_1.DraftItem),
|
|
50
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from "./DraftId";
|
|
2
|
+
export * from "./DraftEventId";
|
|
3
|
+
export * from "./DraftLabels";
|
|
4
|
+
export * from "./DraftUpdatedAt";
|
|
5
|
+
export * from "./DraftCreatedAt";
|
|
6
|
+
export * from "./DraftTo";
|
|
7
|
+
export * from "./DraftCc";
|
|
8
|
+
export * from "./DraftBcc";
|
|
9
|
+
export * from "./DraftSubject";
|
|
10
|
+
export * from "./DraftPreview";
|
|
11
|
+
export * from "./DraftText";
|
|
12
|
+
export * from "./DraftHtml";
|
|
13
|
+
export * from "./DraftAttachments";
|
|
14
|
+
export * from "./DraftInReplyTo";
|
|
15
|
+
export * from "./DraftReferences";
|
|
16
|
+
export * from "./DraftItem";
|
|
17
|
+
export * from "./Draft";
|
|
18
|
+
export * from "./ListDraftsResponse";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./DraftId"), exports);
|
|
18
|
+
__exportStar(require("./DraftEventId"), exports);
|
|
19
|
+
__exportStar(require("./DraftLabels"), exports);
|
|
20
|
+
__exportStar(require("./DraftUpdatedAt"), exports);
|
|
21
|
+
__exportStar(require("./DraftCreatedAt"), exports);
|
|
22
|
+
__exportStar(require("./DraftTo"), exports);
|
|
23
|
+
__exportStar(require("./DraftCc"), exports);
|
|
24
|
+
__exportStar(require("./DraftBcc"), exports);
|
|
25
|
+
__exportStar(require("./DraftSubject"), exports);
|
|
26
|
+
__exportStar(require("./DraftPreview"), exports);
|
|
27
|
+
__exportStar(require("./DraftText"), exports);
|
|
28
|
+
__exportStar(require("./DraftHtml"), exports);
|
|
29
|
+
__exportStar(require("./DraftAttachments"), exports);
|
|
30
|
+
__exportStar(require("./DraftInReplyTo"), exports);
|
|
31
|
+
__exportStar(require("./DraftReferences"), exports);
|
|
32
|
+
__exportStar(require("./DraftItem"), exports);
|
|
33
|
+
__exportStar(require("./Draft"), exports);
|
|
34
|
+
__exportStar(require("./ListDraftsResponse"), 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 { Inbox } from "./Inbox";
|
|
8
7
|
import { Count } from "../../../types/Count";
|
|
9
8
|
import { Limit } from "../../../types/Limit";
|
|
10
9
|
import { LastKey } from "../../../types/LastKey";
|
|
10
|
+
import { Inbox } from "./Inbox";
|
|
11
11
|
export declare const ListInboxesResponse: core.serialization.ObjectSchema<serializers.ListInboxesResponse.Raw, AgentMail.ListInboxesResponse>;
|
|
12
12
|
export declare namespace ListInboxesResponse {
|
|
13
13
|
interface Raw {
|
|
14
|
-
inboxes: Inbox.Raw[];
|
|
15
14
|
count: Count.Raw;
|
|
16
15
|
limit?: Limit.Raw | null;
|
|
17
16
|
last_key?: LastKey.Raw | null;
|
|
17
|
+
inboxes: Inbox.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.ListInboxesResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const Inbox_1 = require("./Inbox");
|
|
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 Inbox_1 = require("./Inbox");
|
|
45
45
|
exports.ListInboxesResponse = core.serialization.object({
|
|
46
|
-
inboxes: core.serialization.list(Inbox_1.Inbox),
|
|
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
|
+
inboxes: core.serialization.list(Inbox_1.Inbox),
|
|
50
50
|
});
|
|
@@ -36,7 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.webhooks = exports.threads = exports.messages = exports.inboxes = void 0;
|
|
39
|
+
exports.webhooks = exports.threads = exports.messages = exports.inboxes = exports.drafts = void 0;
|
|
40
|
+
exports.drafts = __importStar(require("./drafts"));
|
|
41
|
+
__exportStar(require("./drafts/types"), exports);
|
|
40
42
|
exports.inboxes = __importStar(require("./inboxes"));
|
|
41
43
|
__exportStar(require("./inboxes/types"), exports);
|
|
42
44
|
exports.messages = __importStar(require("./messages"));
|
|
@@ -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 { MessageItem } from "./MessageItem";
|
|
8
7
|
import { Count } from "../../../types/Count";
|
|
9
8
|
import { Limit } from "../../../types/Limit";
|
|
10
9
|
import { LastKey } from "../../../types/LastKey";
|
|
10
|
+
import { MessageItem } from "./MessageItem";
|
|
11
11
|
export declare const ListMessagesResponse: core.serialization.ObjectSchema<serializers.ListMessagesResponse.Raw, AgentMail.ListMessagesResponse>;
|
|
12
12
|
export declare namespace ListMessagesResponse {
|
|
13
13
|
interface Raw {
|
|
14
|
-
messages: MessageItem.Raw[];
|
|
15
14
|
count: Count.Raw;
|
|
16
15
|
limit?: Limit.Raw | null;
|
|
17
16
|
last_key?: LastKey.Raw | null;
|
|
17
|
+
messages: MessageItem.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.ListMessagesResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const MessageItem_1 = require("./MessageItem");
|
|
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 MessageItem_1 = require("./MessageItem");
|
|
45
45
|
exports.ListMessagesResponse = core.serialization.object({
|
|
46
|
-
messages: core.serialization.list(MessageItem_1.MessageItem),
|
|
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
|
+
messages: core.serialization.list(MessageItem_1.MessageItem),
|
|
50
50
|
});
|
|
@@ -11,12 +11,11 @@ import { MessageEventId } from "./MessageEventId";
|
|
|
11
11
|
import { MessageLabels } from "./MessageLabels";
|
|
12
12
|
import { MessageTimestamp } from "./MessageTimestamp";
|
|
13
13
|
import { MessageFrom } from "./MessageFrom";
|
|
14
|
-
import { MessageReplyTo } from "./MessageReplyTo";
|
|
15
|
-
import { MessageSubject } from "./MessageSubject";
|
|
16
|
-
import { MessagePreview } from "./MessagePreview";
|
|
17
14
|
import { MessageTo } from "./MessageTo";
|
|
18
15
|
import { MessageCc } from "./MessageCc";
|
|
19
16
|
import { MessageBcc } from "./MessageBcc";
|
|
17
|
+
import { MessageSubject } from "./MessageSubject";
|
|
18
|
+
import { MessagePreview } from "./MessagePreview";
|
|
20
19
|
import { MessageText } from "./MessageText";
|
|
21
20
|
import { MessageHtml } from "./MessageHtml";
|
|
22
21
|
import { MessageAttachments } from "./MessageAttachments";
|
|
@@ -32,12 +31,11 @@ export declare namespace Message {
|
|
|
32
31
|
labels: MessageLabels.Raw;
|
|
33
32
|
timestamp: MessageTimestamp.Raw;
|
|
34
33
|
from: MessageFrom.Raw;
|
|
35
|
-
reply_to?: MessageReplyTo.Raw | null;
|
|
36
|
-
subject?: MessageSubject.Raw | null;
|
|
37
|
-
preview?: MessagePreview.Raw | null;
|
|
38
34
|
to: MessageTo.Raw;
|
|
39
35
|
cc?: MessageCc.Raw | null;
|
|
40
36
|
bcc?: MessageBcc.Raw | null;
|
|
37
|
+
subject?: MessageSubject.Raw | null;
|
|
38
|
+
preview?: MessagePreview.Raw | null;
|
|
41
39
|
text?: MessageText.Raw | null;
|
|
42
40
|
html?: MessageHtml.Raw | null;
|
|
43
41
|
attachments?: MessageAttachments.Raw | null;
|
|
@@ -45,12 +45,11 @@ const MessageEventId_1 = require("./MessageEventId");
|
|
|
45
45
|
const MessageLabels_1 = require("./MessageLabels");
|
|
46
46
|
const MessageTimestamp_1 = require("./MessageTimestamp");
|
|
47
47
|
const MessageFrom_1 = require("./MessageFrom");
|
|
48
|
-
const MessageReplyTo_1 = require("./MessageReplyTo");
|
|
49
|
-
const MessageSubject_1 = require("./MessageSubject");
|
|
50
|
-
const MessagePreview_1 = require("./MessagePreview");
|
|
51
48
|
const MessageTo_1 = require("./MessageTo");
|
|
52
49
|
const MessageCc_1 = require("./MessageCc");
|
|
53
50
|
const MessageBcc_1 = require("./MessageBcc");
|
|
51
|
+
const MessageSubject_1 = require("./MessageSubject");
|
|
52
|
+
const MessagePreview_1 = require("./MessagePreview");
|
|
54
53
|
const MessageText_1 = require("./MessageText");
|
|
55
54
|
const MessageHtml_1 = require("./MessageHtml");
|
|
56
55
|
const MessageAttachments_1 = require("./MessageAttachments");
|
|
@@ -64,12 +63,11 @@ exports.Message = core.serialization.object({
|
|
|
64
63
|
labels: MessageLabels_1.MessageLabels,
|
|
65
64
|
timestamp: MessageTimestamp_1.MessageTimestamp,
|
|
66
65
|
from: MessageFrom_1.MessageFrom,
|
|
67
|
-
replyTo: core.serialization.property("reply_to", MessageReplyTo_1.MessageReplyTo.optional()),
|
|
68
|
-
subject: MessageSubject_1.MessageSubject.optional(),
|
|
69
|
-
preview: MessagePreview_1.MessagePreview.optional(),
|
|
70
66
|
to: MessageTo_1.MessageTo,
|
|
71
67
|
cc: MessageCc_1.MessageCc.optional(),
|
|
72
68
|
bcc: MessageBcc_1.MessageBcc.optional(),
|
|
69
|
+
subject: MessageSubject_1.MessageSubject.optional(),
|
|
70
|
+
preview: MessagePreview_1.MessagePreview.optional(),
|
|
73
71
|
text: MessageText_1.MessageText.optional(),
|
|
74
72
|
html: MessageHtml_1.MessageHtml.optional(),
|
|
75
73
|
attachments: MessageAttachments_1.MessageAttachments.optional(),
|
|
@@ -17,6 +17,8 @@ import { MessageBcc } from "./MessageBcc";
|
|
|
17
17
|
import { MessageSubject } from "./MessageSubject";
|
|
18
18
|
import { MessagePreview } from "./MessagePreview";
|
|
19
19
|
import { MessageAttachments } from "./MessageAttachments";
|
|
20
|
+
import { MessageInReplyTo } from "./MessageInReplyTo";
|
|
21
|
+
import { MessageReferences } from "./MessageReferences";
|
|
20
22
|
export declare const MessageItem: core.serialization.ObjectSchema<serializers.MessageItem.Raw, AgentMail.MessageItem>;
|
|
21
23
|
export declare namespace MessageItem {
|
|
22
24
|
interface Raw {
|
|
@@ -33,5 +35,7 @@ export declare namespace MessageItem {
|
|
|
33
35
|
subject?: MessageSubject.Raw | null;
|
|
34
36
|
preview?: MessagePreview.Raw | null;
|
|
35
37
|
attachments?: MessageAttachments.Raw | null;
|
|
38
|
+
in_reply_to?: MessageInReplyTo.Raw | null;
|
|
39
|
+
references?: MessageReferences.Raw | null;
|
|
36
40
|
}
|
|
37
41
|
}
|
|
@@ -51,6 +51,8 @@ const MessageBcc_1 = require("./MessageBcc");
|
|
|
51
51
|
const MessageSubject_1 = require("./MessageSubject");
|
|
52
52
|
const MessagePreview_1 = require("./MessagePreview");
|
|
53
53
|
const MessageAttachments_1 = require("./MessageAttachments");
|
|
54
|
+
const MessageInReplyTo_1 = require("./MessageInReplyTo");
|
|
55
|
+
const MessageReferences_1 = require("./MessageReferences");
|
|
54
56
|
exports.MessageItem = core.serialization.object({
|
|
55
57
|
inboxId: core.serialization.property("inbox_id", InboxId_1.InboxId),
|
|
56
58
|
threadId: core.serialization.property("thread_id", ThreadId_1.ThreadId),
|
|
@@ -65,4 +67,6 @@ exports.MessageItem = core.serialization.object({
|
|
|
65
67
|
subject: MessageSubject_1.MessageSubject.optional(),
|
|
66
68
|
preview: MessagePreview_1.MessagePreview.optional(),
|
|
67
69
|
attachments: MessageAttachments_1.MessageAttachments.optional(),
|
|
70
|
+
inReplyTo: core.serialization.property("in_reply_to", MessageInReplyTo_1.MessageInReplyTo.optional()),
|
|
71
|
+
references: MessageReferences_1.MessageReferences.optional(),
|
|
68
72
|
});
|
|
@@ -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,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/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.26";
|
package/dist/version.js
CHANGED