agentmail 0.2.5 → 0.2.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.
Files changed (31) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/attachments/types/SendAttachment.d.ts +4 -1
  3. package/dist/cjs/api/resources/attachments/types/index.d.ts +0 -1
  4. package/dist/cjs/api/resources/attachments/types/index.js +0 -1
  5. package/dist/cjs/serialization/resources/attachments/types/SendAttachment.d.ts +2 -2
  6. package/dist/cjs/serialization/resources/attachments/types/SendAttachment.js +2 -2
  7. package/dist/cjs/serialization/resources/attachments/types/index.d.ts +0 -1
  8. package/dist/cjs/serialization/resources/attachments/types/index.js +0 -1
  9. package/dist/cjs/version.d.ts +1 -1
  10. package/dist/cjs/version.js +1 -1
  11. package/dist/esm/BaseClient.mjs +2 -2
  12. package/dist/esm/api/resources/attachments/types/SendAttachment.d.mts +4 -1
  13. package/dist/esm/api/resources/attachments/types/index.d.mts +0 -1
  14. package/dist/esm/api/resources/attachments/types/index.mjs +0 -1
  15. package/dist/esm/serialization/resources/attachments/types/SendAttachment.d.mts +2 -2
  16. package/dist/esm/serialization/resources/attachments/types/SendAttachment.mjs +2 -2
  17. package/dist/esm/serialization/resources/attachments/types/index.d.mts +0 -1
  18. package/dist/esm/serialization/resources/attachments/types/index.mjs +0 -1
  19. package/dist/esm/version.d.mts +1 -1
  20. package/dist/esm/version.mjs +1 -1
  21. package/dist/llms-full.txt +311 -0
  22. package/dist/llms.txt +1 -0
  23. package/package.json +1 -1
  24. package/dist/cjs/api/resources/attachments/types/AttachmentContent.d.ts +0 -4
  25. package/dist/cjs/api/resources/attachments/types/AttachmentContent.js +0 -3
  26. package/dist/cjs/serialization/resources/attachments/types/AttachmentContent.d.ts +0 -7
  27. package/dist/cjs/serialization/resources/attachments/types/AttachmentContent.js +0 -39
  28. package/dist/esm/api/resources/attachments/types/AttachmentContent.d.mts +0 -4
  29. package/dist/esm/api/resources/attachments/types/AttachmentContent.mjs +0 -2
  30. package/dist/esm/serialization/resources/attachments/types/AttachmentContent.d.mts +0 -7
  31. package/dist/esm/serialization/resources/attachments/types/AttachmentContent.mjs +0 -3
@@ -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.2.5",
47
- "User-Agent": "agentmail/0.2.5",
46
+ "X-Fern-SDK-Version": "0.2.6",
47
+ "User-Agent": "agentmail/0.2.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);
@@ -4,5 +4,8 @@ export interface SendAttachment {
4
4
  contentType?: AgentMail.AttachmentContentType;
5
5
  contentDisposition?: AgentMail.AttachmentContentDisposition;
6
6
  contentId?: AgentMail.AttachmentContentId;
7
- content: AgentMail.AttachmentContent;
7
+ /** Base64 encoded content of attachment. */
8
+ content?: string;
9
+ /** URL to the attachment. */
10
+ url?: string;
8
11
  }
@@ -1,5 +1,4 @@
1
1
  export * from "./Attachment.js";
2
- export * from "./AttachmentContent.js";
3
2
  export * from "./AttachmentContentDisposition.js";
4
3
  export * from "./AttachmentContentId.js";
5
4
  export * from "./AttachmentContentType.js";
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Attachment.js"), exports);
18
- __exportStar(require("./AttachmentContent.js"), exports);
19
18
  __exportStar(require("./AttachmentContentDisposition.js"), exports);
20
19
  __exportStar(require("./AttachmentContentId.js"), exports);
21
20
  __exportStar(require("./AttachmentContentType.js"), exports);
@@ -1,7 +1,6 @@
1
1
  import type * as AgentMail from "../../../../api/index.js";
2
2
  import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
- import { AttachmentContent } from "./AttachmentContent.js";
5
4
  import { AttachmentContentDisposition } from "./AttachmentContentDisposition.js";
6
5
  import { AttachmentContentId } from "./AttachmentContentId.js";
7
6
  import { AttachmentContentType } from "./AttachmentContentType.js";
@@ -13,6 +12,7 @@ export declare namespace SendAttachment {
13
12
  content_type?: AttachmentContentType.Raw | null;
14
13
  content_disposition?: AttachmentContentDisposition.Raw | null;
15
14
  content_id?: AttachmentContentId.Raw | null;
16
- content: AttachmentContent.Raw;
15
+ content?: string | null;
16
+ url?: string | null;
17
17
  }
18
18
  }
@@ -36,7 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.SendAttachment = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
- const AttachmentContent_js_1 = require("./AttachmentContent.js");
40
39
  const AttachmentContentDisposition_js_1 = require("./AttachmentContentDisposition.js");
41
40
  const AttachmentContentId_js_1 = require("./AttachmentContentId.js");
42
41
  const AttachmentContentType_js_1 = require("./AttachmentContentType.js");
@@ -46,5 +45,6 @@ exports.SendAttachment = core.serialization.object({
46
45
  contentType: core.serialization.property("content_type", AttachmentContentType_js_1.AttachmentContentType.optional()),
47
46
  contentDisposition: core.serialization.property("content_disposition", AttachmentContentDisposition_js_1.AttachmentContentDisposition.optional()),
48
47
  contentId: core.serialization.property("content_id", AttachmentContentId_js_1.AttachmentContentId.optional()),
49
- content: AttachmentContent_js_1.AttachmentContent,
48
+ content: core.serialization.string().optional(),
49
+ url: core.serialization.string().optional(),
50
50
  });
@@ -1,5 +1,4 @@
1
1
  export * from "./Attachment.js";
2
- export * from "./AttachmentContent.js";
3
2
  export * from "./AttachmentContentDisposition.js";
4
3
  export * from "./AttachmentContentId.js";
5
4
  export * from "./AttachmentContentType.js";
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Attachment.js"), exports);
18
- __exportStar(require("./AttachmentContent.js"), exports);
19
18
  __exportStar(require("./AttachmentContentDisposition.js"), exports);
20
19
  __exportStar(require("./AttachmentContentId.js"), exports);
21
20
  __exportStar(require("./AttachmentContentType.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.2.5";
1
+ export declare const SDK_VERSION = "0.2.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.2.5";
4
+ exports.SDK_VERSION = "0.2.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.2.5",
10
- "User-Agent": "agentmail/0.2.5",
9
+ "X-Fern-SDK-Version": "0.2.6",
10
+ "User-Agent": "agentmail/0.2.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);
@@ -4,5 +4,8 @@ export interface SendAttachment {
4
4
  contentType?: AgentMail.AttachmentContentType;
5
5
  contentDisposition?: AgentMail.AttachmentContentDisposition;
6
6
  contentId?: AgentMail.AttachmentContentId;
7
- content: AgentMail.AttachmentContent;
7
+ /** Base64 encoded content of attachment. */
8
+ content?: string;
9
+ /** URL to the attachment. */
10
+ url?: string;
8
11
  }
@@ -1,5 +1,4 @@
1
1
  export * from "./Attachment.mjs";
2
- export * from "./AttachmentContent.mjs";
3
2
  export * from "./AttachmentContentDisposition.mjs";
4
3
  export * from "./AttachmentContentId.mjs";
5
4
  export * from "./AttachmentContentType.mjs";
@@ -1,5 +1,4 @@
1
1
  export * from "./Attachment.mjs";
2
- export * from "./AttachmentContent.mjs";
3
2
  export * from "./AttachmentContentDisposition.mjs";
4
3
  export * from "./AttachmentContentId.mjs";
5
4
  export * from "./AttachmentContentType.mjs";
@@ -1,7 +1,6 @@
1
1
  import type * as AgentMail from "../../../../api/index.mjs";
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
- import { AttachmentContent } from "./AttachmentContent.mjs";
5
4
  import { AttachmentContentDisposition } from "./AttachmentContentDisposition.mjs";
6
5
  import { AttachmentContentId } from "./AttachmentContentId.mjs";
7
6
  import { AttachmentContentType } from "./AttachmentContentType.mjs";
@@ -13,6 +12,7 @@ export declare namespace SendAttachment {
13
12
  content_type?: AttachmentContentType.Raw | null;
14
13
  content_disposition?: AttachmentContentDisposition.Raw | null;
15
14
  content_id?: AttachmentContentId.Raw | null;
16
- content: AttachmentContent.Raw;
15
+ content?: string | null;
16
+ url?: string | null;
17
17
  }
18
18
  }
@@ -1,6 +1,5 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
- import { AttachmentContent } from "./AttachmentContent.mjs";
4
3
  import { AttachmentContentDisposition } from "./AttachmentContentDisposition.mjs";
5
4
  import { AttachmentContentId } from "./AttachmentContentId.mjs";
6
5
  import { AttachmentContentType } from "./AttachmentContentType.mjs";
@@ -10,5 +9,6 @@ export const SendAttachment = core.serialization.object({
10
9
  contentType: core.serialization.property("content_type", AttachmentContentType.optional()),
11
10
  contentDisposition: core.serialization.property("content_disposition", AttachmentContentDisposition.optional()),
12
11
  contentId: core.serialization.property("content_id", AttachmentContentId.optional()),
13
- content: AttachmentContent,
12
+ content: core.serialization.string().optional(),
13
+ url: core.serialization.string().optional(),
14
14
  });
@@ -1,5 +1,4 @@
1
1
  export * from "./Attachment.mjs";
2
- export * from "./AttachmentContent.mjs";
3
2
  export * from "./AttachmentContentDisposition.mjs";
4
3
  export * from "./AttachmentContentId.mjs";
5
4
  export * from "./AttachmentContentType.mjs";
@@ -1,5 +1,4 @@
1
1
  export * from "./Attachment.mjs";
2
- export * from "./AttachmentContent.mjs";
3
2
  export * from "./AttachmentContentDisposition.mjs";
4
3
  export * from "./AttachmentContentId.mjs";
5
4
  export * from "./AttachmentContentType.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.2.5";
1
+ export declare const SDK_VERSION = "0.2.6";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.2.5";
1
+ export const SDK_VERSION = "0.2.6";
@@ -12313,6 +12313,317 @@ let dataTask = session.dataTask(with: request as URLRequest, completionHandler:
12313
12313
  dataTask.resume()
12314
12314
  ```
12315
12315
 
12316
+ # Forward Message
12317
+
12318
+ POST https://api.agentmail.to/v0/inboxes/{inbox_id}/messages/{message_id}/forward
12319
+ Content-Type: application/json
12320
+
12321
+ Reference: https://docs.agentmail.to/api-reference/inboxes/messages/forward
12322
+
12323
+ ## OpenAPI Specification
12324
+
12325
+ ```yaml
12326
+ openapi: 3.1.1
12327
+ info:
12328
+ title: Forward Message
12329
+ version: endpoint_inboxes/messages.forward
12330
+ paths:
12331
+ /v0/inboxes/{inbox_id}/messages/{message_id}/forward:
12332
+ post:
12333
+ operationId: forward
12334
+ summary: Forward Message
12335
+ tags:
12336
+ - - subpackage_inboxes
12337
+ - subpackage_inboxes/messages
12338
+ parameters:
12339
+ - name: inbox_id
12340
+ in: path
12341
+ required: true
12342
+ schema:
12343
+ $ref: '#/components/schemas/type_inboxes:InboxId'
12344
+ - name: message_id
12345
+ in: path
12346
+ required: true
12347
+ schema:
12348
+ $ref: '#/components/schemas/type_messages:MessageId'
12349
+ - name: Authorization
12350
+ in: header
12351
+ description: >-
12352
+ Bearer authentication of the form `Bearer <token>`, where token is
12353
+ your auth token.
12354
+ required: true
12355
+ schema:
12356
+ type: string
12357
+ responses:
12358
+ '200':
12359
+ description: Response with status 200
12360
+ content:
12361
+ application/json:
12362
+ schema:
12363
+ $ref: '#/components/schemas/type_messages:SendMessageResponse'
12364
+ '400':
12365
+ description: Error response with status 400
12366
+ content: {}
12367
+ '403':
12368
+ description: Error response with status 403
12369
+ content: {}
12370
+ '404':
12371
+ description: Error response with status 404
12372
+ content: {}
12373
+ requestBody:
12374
+ content:
12375
+ application/json:
12376
+ schema:
12377
+ $ref: '#/components/schemas/type_messages:SendMessageRequest'
12378
+ components:
12379
+ schemas:
12380
+ type_inboxes:InboxId:
12381
+ type: string
12382
+ type_messages:MessageId:
12383
+ type: string
12384
+ type_messages:MessageLabels:
12385
+ type: array
12386
+ items:
12387
+ type: string
12388
+ type_messages:Addresses:
12389
+ oneOf:
12390
+ - type: string
12391
+ - type: array
12392
+ items:
12393
+ type: string
12394
+ type_messages:SendMessageReplyTo:
12395
+ $ref: '#/components/schemas/type_messages:Addresses'
12396
+ type_messages:SendMessageTo:
12397
+ $ref: '#/components/schemas/type_messages:Addresses'
12398
+ type_messages:SendMessageCc:
12399
+ $ref: '#/components/schemas/type_messages:Addresses'
12400
+ type_messages:SendMessageBcc:
12401
+ $ref: '#/components/schemas/type_messages:Addresses'
12402
+ type_messages:MessageSubject:
12403
+ type: string
12404
+ type_messages:MessageText:
12405
+ type: string
12406
+ type_messages:MessageHtml:
12407
+ type: string
12408
+ type_attachments:AttachmentFilename:
12409
+ type: string
12410
+ type_attachments:AttachmentContentType:
12411
+ type: string
12412
+ type_attachments:AttachmentContentDisposition:
12413
+ type: string
12414
+ enum:
12415
+ - value: inline
12416
+ - value: attachment
12417
+ type_attachments:AttachmentContentId:
12418
+ type: string
12419
+ type_attachments:AttachmentContent:
12420
+ type: string
12421
+ type_attachments:SendAttachment:
12422
+ type: object
12423
+ properties:
12424
+ filename:
12425
+ $ref: '#/components/schemas/type_attachments:AttachmentFilename'
12426
+ content_type:
12427
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
12428
+ content_disposition:
12429
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
12430
+ content_id:
12431
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
12432
+ content:
12433
+ $ref: '#/components/schemas/type_attachments:AttachmentContent'
12434
+ required:
12435
+ - content
12436
+ type_messages:SendMessageAttachments:
12437
+ type: array
12438
+ items:
12439
+ $ref: '#/components/schemas/type_attachments:SendAttachment'
12440
+ type_messages:SendMessageHeaders:
12441
+ type: object
12442
+ additionalProperties:
12443
+ type: string
12444
+ type_messages:SendMessageRequest:
12445
+ type: object
12446
+ properties:
12447
+ labels:
12448
+ $ref: '#/components/schemas/type_messages:MessageLabels'
12449
+ reply_to:
12450
+ $ref: '#/components/schemas/type_messages:SendMessageReplyTo'
12451
+ to:
12452
+ $ref: '#/components/schemas/type_messages:SendMessageTo'
12453
+ cc:
12454
+ $ref: '#/components/schemas/type_messages:SendMessageCc'
12455
+ bcc:
12456
+ $ref: '#/components/schemas/type_messages:SendMessageBcc'
12457
+ subject:
12458
+ $ref: '#/components/schemas/type_messages:MessageSubject'
12459
+ text:
12460
+ $ref: '#/components/schemas/type_messages:MessageText'
12461
+ html:
12462
+ $ref: '#/components/schemas/type_messages:MessageHtml'
12463
+ attachments:
12464
+ $ref: '#/components/schemas/type_messages:SendMessageAttachments'
12465
+ headers:
12466
+ $ref: '#/components/schemas/type_messages:SendMessageHeaders'
12467
+ type_threads:ThreadId:
12468
+ type: string
12469
+ type_messages:SendMessageResponse:
12470
+ type: object
12471
+ properties:
12472
+ message_id:
12473
+ $ref: '#/components/schemas/type_messages:MessageId'
12474
+ thread_id:
12475
+ $ref: '#/components/schemas/type_threads:ThreadId'
12476
+ required:
12477
+ - message_id
12478
+ - thread_id
12479
+
12480
+ ```
12481
+
12482
+ ## SDK Code Examples
12483
+
12484
+ ```typescript
12485
+ import { AgentMailClient } from "agentmail";
12486
+
12487
+ async function main() {
12488
+ const client = new AgentMailClient({
12489
+ environment: "https://api.agentmail.to",
12490
+ apiKey: "YOUR_TOKEN_HERE",
12491
+ });
12492
+ await client.inboxes.messages.forward("inbox_id", "message_id", {});
12493
+ }
12494
+ main();
12495
+
12496
+ ```
12497
+
12498
+ ```python
12499
+ from agentmail import AgentMail
12500
+
12501
+ client = AgentMail(
12502
+ base_url="https://api.agentmail.to",
12503
+ api_key="YOUR_TOKEN_HERE"
12504
+ )
12505
+
12506
+ client.inboxes.messages.forward(
12507
+ inbox_id="inbox_id",
12508
+ message_id="message_id"
12509
+ )
12510
+
12511
+ ```
12512
+
12513
+ ```go
12514
+ package main
12515
+
12516
+ import (
12517
+ "fmt"
12518
+ "strings"
12519
+ "net/http"
12520
+ "io"
12521
+ )
12522
+
12523
+ func main() {
12524
+
12525
+ url := "https://api.agentmail.to/v0/inboxes/inbox_id/messages/message_id/forward"
12526
+
12527
+ payload := strings.NewReader("{}")
12528
+
12529
+ req, _ := http.NewRequest("POST", url, payload)
12530
+
12531
+ req.Header.Add("Authorization", "Bearer <api_key>")
12532
+ req.Header.Add("Content-Type", "application/json")
12533
+
12534
+ res, _ := http.DefaultClient.Do(req)
12535
+
12536
+ defer res.Body.Close()
12537
+ body, _ := io.ReadAll(res.Body)
12538
+
12539
+ fmt.Println(res)
12540
+ fmt.Println(string(body))
12541
+
12542
+ }
12543
+ ```
12544
+
12545
+ ```ruby
12546
+ require 'uri'
12547
+ require 'net/http'
12548
+
12549
+ url = URI("https://api.agentmail.to/v0/inboxes/inbox_id/messages/message_id/forward")
12550
+
12551
+ http = Net::HTTP.new(url.host, url.port)
12552
+ http.use_ssl = true
12553
+
12554
+ request = Net::HTTP::Post.new(url)
12555
+ request["Authorization"] = 'Bearer <api_key>'
12556
+ request["Content-Type"] = 'application/json'
12557
+ request.body = "{}"
12558
+
12559
+ response = http.request(request)
12560
+ puts response.read_body
12561
+ ```
12562
+
12563
+ ```java
12564
+ HttpResponse<String> response = Unirest.post("https://api.agentmail.to/v0/inboxes/inbox_id/messages/message_id/forward")
12565
+ .header("Authorization", "Bearer <api_key>")
12566
+ .header("Content-Type", "application/json")
12567
+ .body("{}")
12568
+ .asString();
12569
+ ```
12570
+
12571
+ ```php
12572
+ <?php
12573
+
12574
+ $client = new \GuzzleHttp\Client();
12575
+
12576
+ $response = $client->request('POST', 'https://api.agentmail.to/v0/inboxes/inbox_id/messages/message_id/forward', [
12577
+ 'body' => '{}',
12578
+ 'headers' => [
12579
+ 'Authorization' => 'Bearer <api_key>',
12580
+ 'Content-Type' => 'application/json',
12581
+ ],
12582
+ ]);
12583
+
12584
+ echo $response->getBody();
12585
+ ```
12586
+
12587
+ ```csharp
12588
+ var client = new RestClient("https://api.agentmail.to/v0/inboxes/inbox_id/messages/message_id/forward");
12589
+ var request = new RestRequest(Method.POST);
12590
+ request.AddHeader("Authorization", "Bearer <api_key>");
12591
+ request.AddHeader("Content-Type", "application/json");
12592
+ request.AddParameter("application/json", "{}", ParameterType.RequestBody);
12593
+ IRestResponse response = client.Execute(request);
12594
+ ```
12595
+
12596
+ ```swift
12597
+ import Foundation
12598
+
12599
+ let headers = [
12600
+ "Authorization": "Bearer <api_key>",
12601
+ "Content-Type": "application/json"
12602
+ ]
12603
+ let parameters = [] as [String : Any]
12604
+
12605
+ let postData = JSONSerialization.data(withJSONObject: parameters, options: [])
12606
+
12607
+ let request = NSMutableURLRequest(url: NSURL(string: "https://api.agentmail.to/v0/inboxes/inbox_id/messages/message_id/forward")! as URL,
12608
+ cachePolicy: .useProtocolCachePolicy,
12609
+ timeoutInterval: 10.0)
12610
+ request.httpMethod = "POST"
12611
+ request.allHTTPHeaderFields = headers
12612
+ request.httpBody = postData as Data
12613
+
12614
+ let session = URLSession.shared
12615
+ let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
12616
+ if (error != nil) {
12617
+ print(error as Any)
12618
+ } else {
12619
+ let httpResponse = response as? HTTPURLResponse
12620
+ print(httpResponse)
12621
+ }
12622
+ })
12623
+
12624
+ dataTask.resume()
12625
+ ```
12626
+
12316
12627
  # Update Message
12317
12628
 
12318
12629
  PATCH https://api.agentmail.to/v0/inboxes/{inbox_id}/messages/{message_id}
package/dist/llms.txt CHANGED
@@ -57,6 +57,7 @@
57
57
  - API Reference > Inboxes > Messages [Send Message](https://docs.agentmail.to/api-reference/inboxes/messages/send.mdx)
58
58
  - API Reference > Inboxes > Messages [Reply To Message](https://docs.agentmail.to/api-reference/inboxes/messages/reply.mdx)
59
59
  - API Reference > Inboxes > Messages [Reply All Message](https://docs.agentmail.to/api-reference/inboxes/messages/reply-all.mdx)
60
+ - API Reference > Inboxes > Messages [Forward Message](https://docs.agentmail.to/api-reference/inboxes/messages/forward.mdx)
60
61
  - API Reference > Inboxes > Messages [Update Message](https://docs.agentmail.to/api-reference/inboxes/messages/update.mdx)
61
62
  - API Reference > Inboxes > Drafts [List Drafts](https://docs.agentmail.to/api-reference/inboxes/drafts/list.mdx)
62
63
  - API Reference > Inboxes > Drafts [Get Draft](https://docs.agentmail.to/api-reference/inboxes/drafts/get.mdx)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentmail",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,4 +0,0 @@
1
- /**
2
- * Base64 encoded content of attachment.
3
- */
4
- export type AttachmentContent = string;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import type * as AgentMail from "../../../../api/index.js";
2
- import * as core from "../../../../core/index.js";
3
- import type * as serializers from "../../../index.js";
4
- export declare const AttachmentContent: core.serialization.Schema<serializers.AttachmentContent.Raw, AgentMail.AttachmentContent>;
5
- export declare namespace AttachmentContent {
6
- type Raw = string;
7
- }
@@ -1,39 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.AttachmentContent = void 0;
38
- const core = __importStar(require("../../../../core/index.js"));
39
- exports.AttachmentContent = core.serialization.string();
@@ -1,4 +0,0 @@
1
- /**
2
- * Base64 encoded content of attachment.
3
- */
4
- export type AttachmentContent = string;
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,7 +0,0 @@
1
- import type * as AgentMail from "../../../../api/index.mjs";
2
- import * as core from "../../../../core/index.mjs";
3
- import type * as serializers from "../../../index.mjs";
4
- export declare const AttachmentContent: core.serialization.Schema<serializers.AttachmentContent.Raw, AgentMail.AttachmentContent>;
5
- export declare namespace AttachmentContent {
6
- type Raw = string;
7
- }
@@ -1,3 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- import * as core from "../../../../core/index.mjs";
3
- export const AttachmentContent = core.serialization.string();