agentmail 0.4.5 → 0.4.6

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.
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "agentmail",
46
- "X-Fern-SDK-Version": "0.4.5",
47
- "User-Agent": "agentmail/0.4.5",
46
+ "X-Fern-SDK-Version": "0.4.6",
47
+ "User-Agent": "agentmail/0.4.6",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -9,6 +9,7 @@ export interface DraftItem {
9
9
  subject?: AgentMail.DraftSubject;
10
10
  preview?: AgentMail.DraftPreview;
11
11
  attachments?: AgentMail.DraftAttachments;
12
+ inReplyTo?: AgentMail.DraftInReplyTo;
12
13
  sendStatus?: AgentMail.DraftSendStatus;
13
14
  sendAt?: AgentMail.DraftSendAt;
14
15
  updatedAt: AgentMail.DraftUpdatedAt;
@@ -6,6 +6,7 @@ import { DraftAttachments } from "./DraftAttachments.js";
6
6
  import { DraftBcc } from "./DraftBcc.js";
7
7
  import { DraftCc } from "./DraftCc.js";
8
8
  import { DraftId } from "./DraftId.js";
9
+ import { DraftInReplyTo } from "./DraftInReplyTo.js";
9
10
  import { DraftLabels } from "./DraftLabels.js";
10
11
  import { DraftPreview } from "./DraftPreview.js";
11
12
  import { DraftSendAt } from "./DraftSendAt.js";
@@ -25,6 +26,7 @@ export declare namespace DraftItem {
25
26
  subject?: DraftSubject.Raw | null;
26
27
  preview?: DraftPreview.Raw | null;
27
28
  attachments?: DraftAttachments.Raw | null;
29
+ in_reply_to?: DraftInReplyTo.Raw | null;
28
30
  send_status?: DraftSendStatus.Raw | null;
29
31
  send_at?: DraftSendAt.Raw | null;
30
32
  updated_at: DraftUpdatedAt.Raw;
@@ -41,6 +41,7 @@ const DraftAttachments_js_1 = require("./DraftAttachments.js");
41
41
  const DraftBcc_js_1 = require("./DraftBcc.js");
42
42
  const DraftCc_js_1 = require("./DraftCc.js");
43
43
  const DraftId_js_1 = require("./DraftId.js");
44
+ const DraftInReplyTo_js_1 = require("./DraftInReplyTo.js");
44
45
  const DraftLabels_js_1 = require("./DraftLabels.js");
45
46
  const DraftPreview_js_1 = require("./DraftPreview.js");
46
47
  const DraftSendAt_js_1 = require("./DraftSendAt.js");
@@ -58,6 +59,7 @@ exports.DraftItem = core.serialization.object({
58
59
  subject: DraftSubject_js_1.DraftSubject.optional(),
59
60
  preview: DraftPreview_js_1.DraftPreview.optional(),
60
61
  attachments: DraftAttachments_js_1.DraftAttachments.optional(),
62
+ inReplyTo: core.serialization.property("in_reply_to", DraftInReplyTo_js_1.DraftInReplyTo.optional()),
61
63
  sendStatus: core.serialization.property("send_status", DraftSendStatus_js_1.DraftSendStatus.optional()),
62
64
  sendAt: core.serialization.property("send_at", DraftSendAt_js_1.DraftSendAt.optional()),
63
65
  updatedAt: core.serialization.property("updated_at", DraftUpdatedAt_js_1.DraftUpdatedAt),
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.4.5";
1
+ export declare const SDK_VERSION = "0.4.6";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.4.5";
4
+ exports.SDK_VERSION = "0.4.6";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "agentmail",
9
- "X-Fern-SDK-Version": "0.4.5",
10
- "User-Agent": "agentmail/0.4.5",
9
+ "X-Fern-SDK-Version": "0.4.6",
10
+ "User-Agent": "agentmail/0.4.6",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -9,6 +9,7 @@ export interface DraftItem {
9
9
  subject?: AgentMail.DraftSubject;
10
10
  preview?: AgentMail.DraftPreview;
11
11
  attachments?: AgentMail.DraftAttachments;
12
+ inReplyTo?: AgentMail.DraftInReplyTo;
12
13
  sendStatus?: AgentMail.DraftSendStatus;
13
14
  sendAt?: AgentMail.DraftSendAt;
14
15
  updatedAt: AgentMail.DraftUpdatedAt;
@@ -6,6 +6,7 @@ import { DraftAttachments } from "./DraftAttachments.mjs";
6
6
  import { DraftBcc } from "./DraftBcc.mjs";
7
7
  import { DraftCc } from "./DraftCc.mjs";
8
8
  import { DraftId } from "./DraftId.mjs";
9
+ import { DraftInReplyTo } from "./DraftInReplyTo.mjs";
9
10
  import { DraftLabels } from "./DraftLabels.mjs";
10
11
  import { DraftPreview } from "./DraftPreview.mjs";
11
12
  import { DraftSendAt } from "./DraftSendAt.mjs";
@@ -25,6 +26,7 @@ export declare namespace DraftItem {
25
26
  subject?: DraftSubject.Raw | null;
26
27
  preview?: DraftPreview.Raw | null;
27
28
  attachments?: DraftAttachments.Raw | null;
29
+ in_reply_to?: DraftInReplyTo.Raw | null;
28
30
  send_status?: DraftSendStatus.Raw | null;
29
31
  send_at?: DraftSendAt.Raw | null;
30
32
  updated_at: DraftUpdatedAt.Raw;
@@ -5,6 +5,7 @@ import { DraftAttachments } from "./DraftAttachments.mjs";
5
5
  import { DraftBcc } from "./DraftBcc.mjs";
6
6
  import { DraftCc } from "./DraftCc.mjs";
7
7
  import { DraftId } from "./DraftId.mjs";
8
+ import { DraftInReplyTo } from "./DraftInReplyTo.mjs";
8
9
  import { DraftLabels } from "./DraftLabels.mjs";
9
10
  import { DraftPreview } from "./DraftPreview.mjs";
10
11
  import { DraftSendAt } from "./DraftSendAt.mjs";
@@ -22,6 +23,7 @@ export const DraftItem = core.serialization.object({
22
23
  subject: DraftSubject.optional(),
23
24
  preview: DraftPreview.optional(),
24
25
  attachments: DraftAttachments.optional(),
26
+ inReplyTo: core.serialization.property("in_reply_to", DraftInReplyTo.optional()),
25
27
  sendStatus: core.serialization.property("send_status", DraftSendStatus.optional()),
26
28
  sendAt: core.serialization.property("send_at", DraftSendAt.optional()),
27
29
  updatedAt: core.serialization.property("updated_at", DraftUpdatedAt),
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.4.5";
1
+ export declare const SDK_VERSION = "0.4.6";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.4.5";
1
+ export const SDK_VERSION = "0.4.6";