Skip to content

Commit d0f67b5

Browse files
Release 0.2.6
1 parent 34333f6 commit d0f67b5

10 files changed

Lines changed: 13 additions & 31 deletions

File tree

‎.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.2.5"
16+
"sdkVersion": "0.2.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.2.5",
3+
"version": "0.2.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.2.5",
55-
"User-Agent": "agentmail/0.2.5",
54+
"X-Fern-SDK-Version": "0.2.6",
55+
"User-Agent": "agentmail/0.2.6",
5656
"X-Fern-Runtime": core.RUNTIME.type,
5757
"X-Fern-Runtime-Version": core.RUNTIME.version,
5858
},

‎src/api/resources/attachments/types/AttachmentContent.ts‎

Lines changed: 0 additions & 6 deletions
This file was deleted.

‎src/api/resources/attachments/types/SendAttachment.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@ export interface SendAttachment {
77
contentType?: AgentMail.AttachmentContentType;
88
contentDisposition?: AgentMail.AttachmentContentDisposition;
99
contentId?: AgentMail.AttachmentContentId;
10-
content: AgentMail.AttachmentContent;
10+
/** Base64 encoded content of attachment. */
11+
content?: string;
12+
/** URL to the attachment. */
13+
url?: string;
1114
}

‎src/api/resources/attachments/types/index.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
export * from "./Attachment.js";
2-
export * from "./AttachmentContent.js";
32
export * from "./AttachmentContentDisposition.js";
43
export * from "./AttachmentContentId.js";
54
export * from "./AttachmentContentType.js";

‎src/serialization/resources/attachments/types/AttachmentContent.ts‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

‎src/serialization/resources/attachments/types/SendAttachment.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import type * as AgentMail from "../../../../api/index.js";
44
import * as core from "../../../../core/index.js";
55
import type * as serializers from "../../../index.js";
6-
import { AttachmentContent } from "./AttachmentContent.js";
76
import { AttachmentContentDisposition } from "./AttachmentContentDisposition.js";
87
import { AttachmentContentId } from "./AttachmentContentId.js";
98
import { AttachmentContentType } from "./AttachmentContentType.js";
@@ -15,7 +14,8 @@ export const SendAttachment: core.serialization.ObjectSchema<serializers.SendAtt
1514
contentType: core.serialization.property("content_type", AttachmentContentType.optional()),
1615
contentDisposition: core.serialization.property("content_disposition", AttachmentContentDisposition.optional()),
1716
contentId: core.serialization.property("content_id", AttachmentContentId.optional()),
18-
content: AttachmentContent,
17+
content: core.serialization.string().optional(),
18+
url: core.serialization.string().optional(),
1919
});
2020

2121
export declare namespace SendAttachment {
@@ -24,6 +24,7 @@ export declare namespace SendAttachment {
2424
content_type?: AttachmentContentType.Raw | null;
2525
content_disposition?: AttachmentContentDisposition.Raw | null;
2626
content_id?: AttachmentContentId.Raw | null;
27-
content: AttachmentContent.Raw;
27+
content?: string | null;
28+
url?: string | null;
2829
}
2930
}

‎src/serialization/resources/attachments/types/index.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
export * from "./Attachment.js";
2-
export * from "./AttachmentContent.js";
32
export * from "./AttachmentContentDisposition.js";
43
export * from "./AttachmentContentId.js";
54
export * from "./AttachmentContentType.js";

‎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.2.5";
1+
export const SDK_VERSION = "0.2.6";

0 commit comments

Comments
 (0)