Skip to content

Commit f554216

Browse files
Release 0.4.6
1 parent 1d16faa commit f554216

File tree

9 files changed

+21
-5
lines changed

9 files changed

+21
-5
lines changed

.fern/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
}
1414
}
1515
},
16-
"sdkVersion": "0.4.5"
16+
"sdkVersion": "0.4.6"
1717
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "agentmail",
3-
"version": "0.4.5",
3+
"version": "0.4.6",
44
"private": false,
55
"repository": {
66
"type": "git",

src/BaseClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ export function normalizeClientOptions<T extends BaseClientOptions = BaseClientO
5151
{
5252
"X-Fern-Language": "JavaScript",
5353
"X-Fern-SDK-Name": "agentmail",
54-
"X-Fern-SDK-Version": "0.4.5",
55-
"User-Agent": "agentmail/0.4.5",
54+
"X-Fern-SDK-Version": "0.4.6",
55+
"User-Agent": "agentmail/0.4.6",
5656
"X-Fern-Runtime": core.RUNTIME.type,
5757
"X-Fern-Runtime-Version": core.RUNTIME.version,
5858
},

src/api/resources/drafts/types/DraftItem.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export interface DraftItem {
1212
subject?: AgentMail.DraftSubject;
1313
preview?: AgentMail.DraftPreview;
1414
attachments?: AgentMail.DraftAttachments;
15+
inReplyTo?: AgentMail.DraftInReplyTo;
1516
sendStatus?: AgentMail.DraftSendStatus;
1617
sendAt?: AgentMail.DraftSendAt;
1718
updatedAt: AgentMail.DraftUpdatedAt;

src/serialization/resources/drafts/types/DraftItem.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { DraftAttachments } from "./DraftAttachments.js";
88
import { DraftBcc } from "./DraftBcc.js";
99
import { DraftCc } from "./DraftCc.js";
1010
import { DraftId } from "./DraftId.js";
11+
import { DraftInReplyTo } from "./DraftInReplyTo.js";
1112
import { DraftLabels } from "./DraftLabels.js";
1213
import { DraftPreview } from "./DraftPreview.js";
1314
import { DraftSendAt } from "./DraftSendAt.js";
@@ -27,6 +28,7 @@ export const DraftItem: core.serialization.ObjectSchema<serializers.DraftItem.Ra
2728
subject: DraftSubject.optional(),
2829
preview: DraftPreview.optional(),
2930
attachments: DraftAttachments.optional(),
31+
inReplyTo: core.serialization.property("in_reply_to", DraftInReplyTo.optional()),
3032
sendStatus: core.serialization.property("send_status", DraftSendStatus.optional()),
3133
sendAt: core.serialization.property("send_at", DraftSendAt.optional()),
3234
updatedAt: core.serialization.property("updated_at", DraftUpdatedAt),
@@ -43,6 +45,7 @@ export declare namespace DraftItem {
4345
subject?: DraftSubject.Raw | null;
4446
preview?: DraftPreview.Raw | null;
4547
attachments?: DraftAttachments.Raw | null;
48+
in_reply_to?: DraftInReplyTo.Raw | null;
4649
send_status?: DraftSendStatus.Raw | null;
4750
send_at?: DraftSendAt.Raw | null;
4851
updated_at: DraftUpdatedAt.Raw;

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = "0.4.5";
1+
export const SDK_VERSION = "0.4.6";

tests/wire/drafts.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ describe("DraftsClient", () => {
4545
content_id: "content_id",
4646
},
4747
],
48+
in_reply_to: "in_reply_to",
4849
send_status: "scheduled",
4950
send_at: "2024-01-15T09:30:00Z",
5051
updated_at: "2024-01-15T09:30:00Z",
@@ -76,6 +77,7 @@ describe("DraftsClient", () => {
7677
content_id: "content_id",
7778
},
7879
],
80+
in_reply_to: "in_reply_to",
7981
send_status: "scheduled",
8082
send_at: "2024-01-15T09:30:00Z",
8183
updated_at: "2024-01-15T09:30:00Z",
@@ -117,6 +119,7 @@ describe("DraftsClient", () => {
117119
contentId: "content_id",
118120
},
119121
],
122+
inReplyTo: "in_reply_to",
120123
sendStatus: "scheduled",
121124
sendAt: new Date("2024-01-15T09:30:00.000Z"),
122125
updatedAt: new Date("2024-01-15T09:30:00.000Z"),
@@ -148,6 +151,7 @@ describe("DraftsClient", () => {
148151
contentId: "content_id",
149152
},
150153
],
154+
inReplyTo: "in_reply_to",
151155
sendStatus: "scheduled",
152156
sendAt: new Date("2024-01-15T09:30:00.000Z"),
153157
updatedAt: new Date("2024-01-15T09:30:00.000Z"),

tests/wire/inboxes/drafts.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ describe("DraftsClient", () => {
4545
content_id: "content_id",
4646
},
4747
],
48+
in_reply_to: "in_reply_to",
4849
send_status: "scheduled",
4950
send_at: "2024-01-15T09:30:00Z",
5051
updated_at: "2024-01-15T09:30:00Z",
@@ -76,6 +77,7 @@ describe("DraftsClient", () => {
7677
content_id: "content_id",
7778
},
7879
],
80+
in_reply_to: "in_reply_to",
7981
send_status: "scheduled",
8082
send_at: "2024-01-15T09:30:00Z",
8183
updated_at: "2024-01-15T09:30:00Z",
@@ -123,6 +125,7 @@ describe("DraftsClient", () => {
123125
contentId: "content_id",
124126
},
125127
],
128+
inReplyTo: "in_reply_to",
126129
sendStatus: "scheduled",
127130
sendAt: new Date("2024-01-15T09:30:00.000Z"),
128131
updatedAt: new Date("2024-01-15T09:30:00.000Z"),
@@ -154,6 +157,7 @@ describe("DraftsClient", () => {
154157
contentId: "content_id",
155158
},
156159
],
160+
inReplyTo: "in_reply_to",
157161
sendStatus: "scheduled",
158162
sendAt: new Date("2024-01-15T09:30:00.000Z"),
159163
updatedAt: new Date("2024-01-15T09:30:00.000Z"),

tests/wire/pods/drafts.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ describe("DraftsClient", () => {
4545
content_id: "content_id",
4646
},
4747
],
48+
in_reply_to: "in_reply_to",
4849
send_status: "scheduled",
4950
send_at: "2024-01-15T09:30:00Z",
5051
updated_at: "2024-01-15T09:30:00Z",
@@ -76,6 +77,7 @@ describe("DraftsClient", () => {
7677
content_id: "content_id",
7778
},
7879
],
80+
in_reply_to: "in_reply_to",
7981
send_status: "scheduled",
8082
send_at: "2024-01-15T09:30:00Z",
8183
updated_at: "2024-01-15T09:30:00Z",
@@ -123,6 +125,7 @@ describe("DraftsClient", () => {
123125
contentId: "content_id",
124126
},
125127
],
128+
inReplyTo: "in_reply_to",
126129
sendStatus: "scheduled",
127130
sendAt: new Date("2024-01-15T09:30:00.000Z"),
128131
updatedAt: new Date("2024-01-15T09:30:00.000Z"),
@@ -154,6 +157,7 @@ describe("DraftsClient", () => {
154157
contentId: "content_id",
155158
},
156159
],
160+
inReplyTo: "in_reply_to",
157161
sendStatus: "scheduled",
158162
sendAt: new Date("2024-01-15T09:30:00.000Z"),
159163
updatedAt: new Date("2024-01-15T09:30:00.000Z"),

0 commit comments

Comments
 (0)