agentmail 0.0.57 → 0.0.58

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.
Files changed (40) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/drafts/types/CreateDraftRequest.d.ts +1 -0
  3. package/dist/cjs/api/resources/drafts/types/Draft.d.ts +1 -2
  4. package/dist/cjs/api/resources/drafts/types/DraftInReplyTo.d.ts +7 -0
  5. package/dist/cjs/api/resources/drafts/types/DraftInReplyTo.js +5 -0
  6. package/dist/cjs/api/resources/drafts/types/index.d.ts +1 -0
  7. package/dist/cjs/api/resources/drafts/types/index.js +1 -0
  8. package/dist/cjs/api/resources/inboxes/resources/drafts/client/Client.d.ts +1 -0
  9. package/dist/cjs/api/resources/inboxes/resources/drafts/client/Client.js +1 -0
  10. package/dist/cjs/serialization/resources/drafts/types/CreateDraftRequest.d.ts +2 -0
  11. package/dist/cjs/serialization/resources/drafts/types/CreateDraftRequest.js +2 -0
  12. package/dist/cjs/serialization/resources/drafts/types/Draft.d.ts +2 -1
  13. package/dist/cjs/serialization/resources/drafts/types/Draft.js +2 -1
  14. package/dist/cjs/serialization/resources/drafts/types/DraftInReplyTo.d.ts +10 -0
  15. package/dist/cjs/serialization/resources/drafts/types/DraftInReplyTo.js +41 -0
  16. package/dist/cjs/serialization/resources/drafts/types/index.d.ts +1 -0
  17. package/dist/cjs/serialization/resources/drafts/types/index.js +1 -0
  18. package/dist/cjs/version.d.ts +1 -1
  19. package/dist/cjs/version.js +1 -1
  20. package/dist/esm/Client.mjs +2 -2
  21. package/dist/esm/api/resources/drafts/types/CreateDraftRequest.d.mts +1 -0
  22. package/dist/esm/api/resources/drafts/types/Draft.d.mts +1 -2
  23. package/dist/esm/api/resources/drafts/types/DraftInReplyTo.d.mts +7 -0
  24. package/dist/esm/api/resources/drafts/types/DraftInReplyTo.mjs +4 -0
  25. package/dist/esm/api/resources/drafts/types/index.d.mts +1 -0
  26. package/dist/esm/api/resources/drafts/types/index.mjs +1 -0
  27. package/dist/esm/api/resources/inboxes/resources/drafts/client/Client.d.mts +1 -0
  28. package/dist/esm/api/resources/inboxes/resources/drafts/client/Client.mjs +1 -0
  29. package/dist/esm/serialization/resources/drafts/types/CreateDraftRequest.d.mts +2 -0
  30. package/dist/esm/serialization/resources/drafts/types/CreateDraftRequest.mjs +2 -0
  31. package/dist/esm/serialization/resources/drafts/types/Draft.d.mts +2 -1
  32. package/dist/esm/serialization/resources/drafts/types/Draft.mjs +2 -1
  33. package/dist/esm/serialization/resources/drafts/types/DraftInReplyTo.d.mts +10 -0
  34. package/dist/esm/serialization/resources/drafts/types/DraftInReplyTo.mjs +5 -0
  35. package/dist/esm/serialization/resources/drafts/types/index.d.mts +1 -0
  36. package/dist/esm/serialization/resources/drafts/types/index.mjs +1 -0
  37. package/dist/esm/version.d.mts +1 -1
  38. package/dist/esm/version.mjs +1 -1
  39. package/package.json +1 -1
  40. package/reference.md +1 -0
@@ -51,8 +51,8 @@ class AgentMailClient {
51
51
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
52
52
  "X-Fern-Language": "JavaScript",
53
53
  "X-Fern-SDK-Name": "agentmail",
54
- "X-Fern-SDK-Version": "0.0.57",
55
- "User-Agent": "agentmail/0.0.57",
54
+ "X-Fern-SDK-Version": "0.0.58",
55
+ "User-Agent": "agentmail/0.0.58",
56
56
  "X-Fern-Runtime": core.RUNTIME.type,
57
57
  "X-Fern-Runtime-Version": core.RUNTIME.version,
58
58
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -11,5 +11,6 @@ export interface CreateDraftRequest {
11
11
  subject?: AgentMail.DraftSubject;
12
12
  text?: AgentMail.DraftText;
13
13
  html?: AgentMail.DraftHtml;
14
+ inReplyTo?: AgentMail.DraftInReplyTo;
14
15
  sendAt?: AgentMail.DraftSendAt;
15
16
  }
@@ -16,8 +16,7 @@ export interface Draft {
16
16
  text?: AgentMail.DraftText;
17
17
  html?: AgentMail.DraftHtml;
18
18
  attachments?: AgentMail.DraftAttachments;
19
- /** ID of message being replied to. */
20
- inReplyTo?: string;
19
+ inReplyTo?: AgentMail.DraftInReplyTo;
21
20
  /** IDs of previous messages in thread. */
22
21
  references?: string[];
23
22
  sendStatus?: AgentMail.DraftSendStatus;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * ID of message being replied to.
6
+ */
7
+ export type DraftInReplyTo = string;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,6 +9,7 @@ export * from "./DraftPreview.js";
9
9
  export * from "./DraftText.js";
10
10
  export * from "./DraftHtml.js";
11
11
  export * from "./DraftAttachments.js";
12
+ export * from "./DraftInReplyTo.js";
12
13
  export * from "./DraftSendStatus.js";
13
14
  export * from "./DraftSendAt.js";
14
15
  export * from "./DraftUpdatedAt.js";
@@ -25,6 +25,7 @@ __exportStar(require("./DraftPreview.js"), exports);
25
25
  __exportStar(require("./DraftText.js"), exports);
26
26
  __exportStar(require("./DraftHtml.js"), exports);
27
27
  __exportStar(require("./DraftAttachments.js"), exports);
28
+ __exportStar(require("./DraftInReplyTo.js"), exports);
28
29
  __exportStar(require("./DraftSendStatus.js"), exports);
29
30
  __exportStar(require("./DraftSendAt.js"), exports);
30
31
  __exportStar(require("./DraftUpdatedAt.js"), exports);
@@ -70,6 +70,7 @@ export declare class Drafts {
70
70
  * subject: undefined,
71
71
  * text: undefined,
72
72
  * html: undefined,
73
+ * inReplyTo: undefined,
73
74
  * sendAt: undefined
74
75
  * })
75
76
  */
@@ -240,6 +240,7 @@ class Drafts {
240
240
  * subject: undefined,
241
241
  * text: undefined,
242
242
  * html: undefined,
243
+ * inReplyTo: undefined,
243
244
  * sendAt: undefined
244
245
  * })
245
246
  */
@@ -12,6 +12,7 @@ import { DraftBcc } from "./DraftBcc.js";
12
12
  import { DraftSubject } from "./DraftSubject.js";
13
13
  import { DraftText } from "./DraftText.js";
14
14
  import { DraftHtml } from "./DraftHtml.js";
15
+ import { DraftInReplyTo } from "./DraftInReplyTo.js";
15
16
  import { DraftSendAt } from "./DraftSendAt.js";
16
17
  export declare const CreateDraftRequest: core.serialization.ObjectSchema<serializers.CreateDraftRequest.Raw, AgentMail.CreateDraftRequest>;
17
18
  export declare namespace CreateDraftRequest {
@@ -24,6 +25,7 @@ export declare namespace CreateDraftRequest {
24
25
  subject?: DraftSubject.Raw | null;
25
26
  text?: DraftText.Raw | null;
26
27
  html?: DraftHtml.Raw | null;
28
+ in_reply_to?: DraftInReplyTo.Raw | null;
27
29
  send_at?: DraftSendAt.Raw | null;
28
30
  }
29
31
  }
@@ -46,6 +46,7 @@ const DraftBcc_js_1 = require("./DraftBcc.js");
46
46
  const DraftSubject_js_1 = require("./DraftSubject.js");
47
47
  const DraftText_js_1 = require("./DraftText.js");
48
48
  const DraftHtml_js_1 = require("./DraftHtml.js");
49
+ const DraftInReplyTo_js_1 = require("./DraftInReplyTo.js");
49
50
  const DraftSendAt_js_1 = require("./DraftSendAt.js");
50
51
  exports.CreateDraftRequest = core.serialization.object({
51
52
  labels: DraftLabels_js_1.DraftLabels.optional(),
@@ -56,5 +57,6 @@ exports.CreateDraftRequest = core.serialization.object({
56
57
  subject: DraftSubject_js_1.DraftSubject.optional(),
57
58
  text: DraftText_js_1.DraftText.optional(),
58
59
  html: DraftHtml_js_1.DraftHtml.optional(),
60
+ inReplyTo: core.serialization.property("in_reply_to", DraftInReplyTo_js_1.DraftInReplyTo.optional()),
59
61
  sendAt: core.serialization.property("send_at", DraftSendAt_js_1.DraftSendAt.optional()),
60
62
  });
@@ -17,6 +17,7 @@ import { DraftPreview } from "./DraftPreview.js";
17
17
  import { DraftText } from "./DraftText.js";
18
18
  import { DraftHtml } from "./DraftHtml.js";
19
19
  import { DraftAttachments } from "./DraftAttachments.js";
20
+ import { DraftInReplyTo } from "./DraftInReplyTo.js";
20
21
  import { DraftSendStatus } from "./DraftSendStatus.js";
21
22
  import { DraftSendAt } from "./DraftSendAt.js";
22
23
  import { DraftUpdatedAt } from "./DraftUpdatedAt.js";
@@ -36,7 +37,7 @@ export declare namespace Draft {
36
37
  text?: DraftText.Raw | null;
37
38
  html?: DraftHtml.Raw | null;
38
39
  attachments?: DraftAttachments.Raw | null;
39
- in_reply_to?: string | null;
40
+ in_reply_to?: DraftInReplyTo.Raw | null;
40
41
  references?: string[] | null;
41
42
  send_status?: DraftSendStatus.Raw | null;
42
43
  send_at?: DraftSendAt.Raw | null;
@@ -51,6 +51,7 @@ const DraftPreview_js_1 = require("./DraftPreview.js");
51
51
  const DraftText_js_1 = require("./DraftText.js");
52
52
  const DraftHtml_js_1 = require("./DraftHtml.js");
53
53
  const DraftAttachments_js_1 = require("./DraftAttachments.js");
54
+ const DraftInReplyTo_js_1 = require("./DraftInReplyTo.js");
54
55
  const DraftSendStatus_js_1 = require("./DraftSendStatus.js");
55
56
  const DraftSendAt_js_1 = require("./DraftSendAt.js");
56
57
  const DraftUpdatedAt_js_1 = require("./DraftUpdatedAt.js");
@@ -68,7 +69,7 @@ exports.Draft = core.serialization.object({
68
69
  text: DraftText_js_1.DraftText.optional(),
69
70
  html: DraftHtml_js_1.DraftHtml.optional(),
70
71
  attachments: DraftAttachments_js_1.DraftAttachments.optional(),
71
- inReplyTo: core.serialization.property("in_reply_to", core.serialization.string().optional()),
72
+ inReplyTo: core.serialization.property("in_reply_to", DraftInReplyTo_js_1.DraftInReplyTo.optional()),
72
73
  references: core.serialization.list(core.serialization.string()).optional(),
73
74
  sendStatus: core.serialization.property("send_status", DraftSendStatus_js_1.DraftSendStatus.optional()),
74
75
  sendAt: core.serialization.property("send_at", DraftSendAt_js_1.DraftSendAt.optional()),
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index.js";
5
+ import * as AgentMail from "../../../../api/index.js";
6
+ import * as core from "../../../../core/index.js";
7
+ export declare const DraftInReplyTo: core.serialization.Schema<serializers.DraftInReplyTo.Raw, AgentMail.DraftInReplyTo>;
8
+ export declare namespace DraftInReplyTo {
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.DraftInReplyTo = void 0;
40
+ const core = __importStar(require("../../../../core/index.js"));
41
+ exports.DraftInReplyTo = core.serialization.string();
@@ -9,6 +9,7 @@ export * from "./DraftPreview.js";
9
9
  export * from "./DraftText.js";
10
10
  export * from "./DraftHtml.js";
11
11
  export * from "./DraftAttachments.js";
12
+ export * from "./DraftInReplyTo.js";
12
13
  export * from "./DraftSendStatus.js";
13
14
  export * from "./DraftSendAt.js";
14
15
  export * from "./DraftUpdatedAt.js";
@@ -25,6 +25,7 @@ __exportStar(require("./DraftPreview.js"), exports);
25
25
  __exportStar(require("./DraftText.js"), exports);
26
26
  __exportStar(require("./DraftHtml.js"), exports);
27
27
  __exportStar(require("./DraftAttachments.js"), exports);
28
+ __exportStar(require("./DraftInReplyTo.js"), exports);
28
29
  __exportStar(require("./DraftSendStatus.js"), exports);
29
30
  __exportStar(require("./DraftSendAt.js"), exports);
30
31
  __exportStar(require("./DraftUpdatedAt.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.57";
1
+ export declare const SDK_VERSION = "0.0.58";
@@ -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.0.57";
4
+ exports.SDK_VERSION = "0.0.58";
@@ -15,8 +15,8 @@ export class AgentMailClient {
15
15
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
16
16
  "X-Fern-Language": "JavaScript",
17
17
  "X-Fern-SDK-Name": "agentmail",
18
- "X-Fern-SDK-Version": "0.0.57",
19
- "User-Agent": "agentmail/0.0.57",
18
+ "X-Fern-SDK-Version": "0.0.58",
19
+ "User-Agent": "agentmail/0.0.58",
20
20
  "X-Fern-Runtime": core.RUNTIME.type,
21
21
  "X-Fern-Runtime-Version": core.RUNTIME.version,
22
22
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -11,5 +11,6 @@ export interface CreateDraftRequest {
11
11
  subject?: AgentMail.DraftSubject;
12
12
  text?: AgentMail.DraftText;
13
13
  html?: AgentMail.DraftHtml;
14
+ inReplyTo?: AgentMail.DraftInReplyTo;
14
15
  sendAt?: AgentMail.DraftSendAt;
15
16
  }
@@ -16,8 +16,7 @@ export interface Draft {
16
16
  text?: AgentMail.DraftText;
17
17
  html?: AgentMail.DraftHtml;
18
18
  attachments?: AgentMail.DraftAttachments;
19
- /** ID of message being replied to. */
20
- inReplyTo?: string;
19
+ inReplyTo?: AgentMail.DraftInReplyTo;
21
20
  /** IDs of previous messages in thread. */
22
21
  references?: string[];
23
22
  sendStatus?: AgentMail.DraftSendStatus;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * ID of message being replied to.
6
+ */
7
+ export type DraftInReplyTo = string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -9,6 +9,7 @@ export * from "./DraftPreview.mjs";
9
9
  export * from "./DraftText.mjs";
10
10
  export * from "./DraftHtml.mjs";
11
11
  export * from "./DraftAttachments.mjs";
12
+ export * from "./DraftInReplyTo.mjs";
12
13
  export * from "./DraftSendStatus.mjs";
13
14
  export * from "./DraftSendAt.mjs";
14
15
  export * from "./DraftUpdatedAt.mjs";
@@ -9,6 +9,7 @@ export * from "./DraftPreview.mjs";
9
9
  export * from "./DraftText.mjs";
10
10
  export * from "./DraftHtml.mjs";
11
11
  export * from "./DraftAttachments.mjs";
12
+ export * from "./DraftInReplyTo.mjs";
12
13
  export * from "./DraftSendStatus.mjs";
13
14
  export * from "./DraftSendAt.mjs";
14
15
  export * from "./DraftUpdatedAt.mjs";
@@ -70,6 +70,7 @@ export declare class Drafts {
70
70
  * subject: undefined,
71
71
  * text: undefined,
72
72
  * html: undefined,
73
+ * inReplyTo: undefined,
73
74
  * sendAt: undefined
74
75
  * })
75
76
  */
@@ -204,6 +204,7 @@ export class Drafts {
204
204
  * subject: undefined,
205
205
  * text: undefined,
206
206
  * html: undefined,
207
+ * inReplyTo: undefined,
207
208
  * sendAt: undefined
208
209
  * })
209
210
  */
@@ -12,6 +12,7 @@ import { DraftBcc } from "./DraftBcc.mjs";
12
12
  import { DraftSubject } from "./DraftSubject.mjs";
13
13
  import { DraftText } from "./DraftText.mjs";
14
14
  import { DraftHtml } from "./DraftHtml.mjs";
15
+ import { DraftInReplyTo } from "./DraftInReplyTo.mjs";
15
16
  import { DraftSendAt } from "./DraftSendAt.mjs";
16
17
  export declare const CreateDraftRequest: core.serialization.ObjectSchema<serializers.CreateDraftRequest.Raw, AgentMail.CreateDraftRequest>;
17
18
  export declare namespace CreateDraftRequest {
@@ -24,6 +25,7 @@ export declare namespace CreateDraftRequest {
24
25
  subject?: DraftSubject.Raw | null;
25
26
  text?: DraftText.Raw | null;
26
27
  html?: DraftHtml.Raw | null;
28
+ in_reply_to?: DraftInReplyTo.Raw | null;
27
29
  send_at?: DraftSendAt.Raw | null;
28
30
  }
29
31
  }
@@ -10,6 +10,7 @@ import { DraftBcc } from "./DraftBcc.mjs";
10
10
  import { DraftSubject } from "./DraftSubject.mjs";
11
11
  import { DraftText } from "./DraftText.mjs";
12
12
  import { DraftHtml } from "./DraftHtml.mjs";
13
+ import { DraftInReplyTo } from "./DraftInReplyTo.mjs";
13
14
  import { DraftSendAt } from "./DraftSendAt.mjs";
14
15
  export const CreateDraftRequest = core.serialization.object({
15
16
  labels: DraftLabels.optional(),
@@ -20,5 +21,6 @@ export const CreateDraftRequest = core.serialization.object({
20
21
  subject: DraftSubject.optional(),
21
22
  text: DraftText.optional(),
22
23
  html: DraftHtml.optional(),
24
+ inReplyTo: core.serialization.property("in_reply_to", DraftInReplyTo.optional()),
23
25
  sendAt: core.serialization.property("send_at", DraftSendAt.optional()),
24
26
  });
@@ -17,6 +17,7 @@ import { DraftPreview } from "./DraftPreview.mjs";
17
17
  import { DraftText } from "./DraftText.mjs";
18
18
  import { DraftHtml } from "./DraftHtml.mjs";
19
19
  import { DraftAttachments } from "./DraftAttachments.mjs";
20
+ import { DraftInReplyTo } from "./DraftInReplyTo.mjs";
20
21
  import { DraftSendStatus } from "./DraftSendStatus.mjs";
21
22
  import { DraftSendAt } from "./DraftSendAt.mjs";
22
23
  import { DraftUpdatedAt } from "./DraftUpdatedAt.mjs";
@@ -36,7 +37,7 @@ export declare namespace Draft {
36
37
  text?: DraftText.Raw | null;
37
38
  html?: DraftHtml.Raw | null;
38
39
  attachments?: DraftAttachments.Raw | null;
39
- in_reply_to?: string | null;
40
+ in_reply_to?: DraftInReplyTo.Raw | null;
40
41
  references?: string[] | null;
41
42
  send_status?: DraftSendStatus.Raw | null;
42
43
  send_at?: DraftSendAt.Raw | null;
@@ -15,6 +15,7 @@ import { DraftPreview } from "./DraftPreview.mjs";
15
15
  import { DraftText } from "./DraftText.mjs";
16
16
  import { DraftHtml } from "./DraftHtml.mjs";
17
17
  import { DraftAttachments } from "./DraftAttachments.mjs";
18
+ import { DraftInReplyTo } from "./DraftInReplyTo.mjs";
18
19
  import { DraftSendStatus } from "./DraftSendStatus.mjs";
19
20
  import { DraftSendAt } from "./DraftSendAt.mjs";
20
21
  import { DraftUpdatedAt } from "./DraftUpdatedAt.mjs";
@@ -32,7 +33,7 @@ export const Draft = core.serialization.object({
32
33
  text: DraftText.optional(),
33
34
  html: DraftHtml.optional(),
34
35
  attachments: DraftAttachments.optional(),
35
- inReplyTo: core.serialization.property("in_reply_to", core.serialization.string().optional()),
36
+ inReplyTo: core.serialization.property("in_reply_to", DraftInReplyTo.optional()),
36
37
  references: core.serialization.list(core.serialization.string()).optional(),
37
38
  sendStatus: core.serialization.property("send_status", DraftSendStatus.optional()),
38
39
  sendAt: core.serialization.property("send_at", DraftSendAt.optional()),
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index.mjs";
5
+ import * as AgentMail from "../../../../api/index.mjs";
6
+ import * as core from "../../../../core/index.mjs";
7
+ export declare const DraftInReplyTo: core.serialization.Schema<serializers.DraftInReplyTo.Raw, AgentMail.DraftInReplyTo>;
8
+ export declare namespace DraftInReplyTo {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as core from "../../../../core/index.mjs";
5
+ export const DraftInReplyTo = core.serialization.string();
@@ -9,6 +9,7 @@ export * from "./DraftPreview.mjs";
9
9
  export * from "./DraftText.mjs";
10
10
  export * from "./DraftHtml.mjs";
11
11
  export * from "./DraftAttachments.mjs";
12
+ export * from "./DraftInReplyTo.mjs";
12
13
  export * from "./DraftSendStatus.mjs";
13
14
  export * from "./DraftSendAt.mjs";
14
15
  export * from "./DraftUpdatedAt.mjs";
@@ -9,6 +9,7 @@ export * from "./DraftPreview.mjs";
9
9
  export * from "./DraftText.mjs";
10
10
  export * from "./DraftHtml.mjs";
11
11
  export * from "./DraftAttachments.mjs";
12
+ export * from "./DraftInReplyTo.mjs";
12
13
  export * from "./DraftSendStatus.mjs";
13
14
  export * from "./DraftSendAt.mjs";
14
15
  export * from "./DraftUpdatedAt.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.57";
1
+ export declare const SDK_VERSION = "0.0.58";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.57";
1
+ export const SDK_VERSION = "0.0.58";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentmail",
3
- "version": "0.0.57",
3
+ "version": "0.0.58",
4
4
  "private": false,
5
5
  "repository": "github:agentmail-to/agentmail-node",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -780,6 +780,7 @@ await client.inboxes.drafts.create("inbox_id", {
780
780
  subject: undefined,
781
781
  text: undefined,
782
782
  html: undefined,
783
+ inReplyTo: undefined,
783
784
  sendAt: undefined,
784
785
  });
785
786
  ```