agentmail 0.1.12 → 0.1.13

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 (56) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/attachments/types/AttachmentInline.d.ts +1 -1
  3. package/dist/cjs/api/resources/domains/types/FeedbackEnabled.d.ts +1 -1
  4. package/dist/cjs/api/resources/inboxes/resources/messages/client/Client.js +4 -1
  5. package/dist/cjs/api/resources/inboxes/resources/messages/client/requests/ListMessagesRequest.d.ts +1 -0
  6. package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.js +4 -1
  7. package/dist/cjs/api/resources/inboxes/resources/threads/client/requests/ListThreadsRequest.d.ts +1 -0
  8. package/dist/cjs/api/resources/pods/resources/domains/client/Client.js +1 -14
  9. package/dist/cjs/api/resources/pods/resources/domains/client/requests/ListDomainsRequest.d.ts +0 -4
  10. package/dist/cjs/api/resources/pods/resources/inboxes/client/Client.js +1 -14
  11. package/dist/cjs/api/resources/pods/resources/inboxes/client/requests/ListInboxesRequest.d.ts +0 -4
  12. package/dist/cjs/api/resources/pods/resources/threads/client/Client.js +4 -1
  13. package/dist/cjs/api/resources/pods/resources/threads/client/requests/ListThreadsRequest.d.ts +1 -0
  14. package/dist/cjs/api/resources/threads/client/Client.js +4 -1
  15. package/dist/cjs/api/resources/threads/client/requests/ListThreadsRequest.d.ts +1 -0
  16. package/dist/cjs/api/resources/webhooks/types/Webhook.d.ts +1 -1
  17. package/dist/cjs/api/types/Ascending.d.ts +1 -1
  18. package/dist/cjs/api/types/IncludeSpam.d.ts +4 -0
  19. package/dist/cjs/api/types/IncludeSpam.js +3 -0
  20. package/dist/cjs/api/types/index.d.ts +1 -0
  21. package/dist/cjs/api/types/index.js +1 -0
  22. package/dist/cjs/serialization/types/IncludeSpam.d.ts +7 -0
  23. package/dist/cjs/serialization/types/IncludeSpam.js +39 -0
  24. package/dist/cjs/serialization/types/index.d.ts +1 -0
  25. package/dist/cjs/serialization/types/index.js +1 -0
  26. package/dist/cjs/version.d.ts +1 -1
  27. package/dist/cjs/version.js +1 -1
  28. package/dist/esm/BaseClient.mjs +2 -2
  29. package/dist/esm/api/resources/attachments/types/AttachmentInline.d.mts +1 -1
  30. package/dist/esm/api/resources/domains/types/FeedbackEnabled.d.mts +1 -1
  31. package/dist/esm/api/resources/inboxes/resources/messages/client/Client.mjs +4 -1
  32. package/dist/esm/api/resources/inboxes/resources/messages/client/requests/ListMessagesRequest.d.mts +1 -0
  33. package/dist/esm/api/resources/inboxes/resources/threads/client/Client.mjs +4 -1
  34. package/dist/esm/api/resources/inboxes/resources/threads/client/requests/ListThreadsRequest.d.mts +1 -0
  35. package/dist/esm/api/resources/pods/resources/domains/client/Client.mjs +1 -14
  36. package/dist/esm/api/resources/pods/resources/domains/client/requests/ListDomainsRequest.d.mts +0 -4
  37. package/dist/esm/api/resources/pods/resources/inboxes/client/Client.mjs +1 -14
  38. package/dist/esm/api/resources/pods/resources/inboxes/client/requests/ListInboxesRequest.d.mts +0 -4
  39. package/dist/esm/api/resources/pods/resources/threads/client/Client.mjs +4 -1
  40. package/dist/esm/api/resources/pods/resources/threads/client/requests/ListThreadsRequest.d.mts +1 -0
  41. package/dist/esm/api/resources/threads/client/Client.mjs +4 -1
  42. package/dist/esm/api/resources/threads/client/requests/ListThreadsRequest.d.mts +1 -0
  43. package/dist/esm/api/resources/webhooks/types/Webhook.d.mts +1 -1
  44. package/dist/esm/api/types/Ascending.d.mts +1 -1
  45. package/dist/esm/api/types/IncludeSpam.d.mts +4 -0
  46. package/dist/esm/api/types/IncludeSpam.mjs +2 -0
  47. package/dist/esm/api/types/index.d.mts +1 -0
  48. package/dist/esm/api/types/index.mjs +1 -0
  49. package/dist/esm/serialization/types/IncludeSpam.d.mts +7 -0
  50. package/dist/esm/serialization/types/IncludeSpam.mjs +3 -0
  51. package/dist/esm/serialization/types/index.d.mts +1 -0
  52. package/dist/esm/serialization/types/index.mjs +1 -0
  53. package/dist/esm/version.d.mts +1 -1
  54. package/dist/esm/version.mjs +1 -1
  55. package/dist/llms-full.txt +66 -18
  56. package/package.json +1 -1
@@ -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.1.12",
47
- "User-Agent": "agentmail/0.1.12",
46
+ "X-Fern-SDK-Version": "0.1.13",
47
+ "User-Agent": "agentmail/0.1.13",
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);
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Whether attachment is part of message body.
2
+ * Attachment is part of message body.
3
3
  */
4
4
  export type AttachmentInline = boolean;
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Whether bounce and complaint notifications are sent to your inboxes.
2
+ * Bounce and complaint notifications are sent to your inboxes.
3
3
  */
4
4
  export type FeedbackEnabled = boolean;
@@ -72,7 +72,7 @@ class MessagesClient {
72
72
  __list(inbox_id_1) {
73
73
  return __awaiter(this, arguments, void 0, function* (inbox_id, request = {}, requestOptions) {
74
74
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
75
- const { limit, pageToken, labels, before, after, ascending } = request;
75
+ const { limit, pageToken, labels, before, after, ascending, includeSpam } = request;
76
76
  const _queryParams = {};
77
77
  if (limit != null) {
78
78
  _queryParams.limit = limit.toString();
@@ -92,6 +92,9 @@ class MessagesClient {
92
92
  if (ascending != null) {
93
93
  _queryParams.ascending = ascending.toString();
94
94
  }
95
+ if (includeSpam != null) {
96
+ _queryParams.include_spam = includeSpam.toString();
97
+ }
95
98
  const _authRequest = yield this._options.authProvider.getAuthRequest();
96
99
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
97
100
  const _response = yield core.fetcher({
@@ -10,4 +10,5 @@ export interface ListMessagesRequest {
10
10
  before?: AgentMail.Before;
11
11
  after?: AgentMail.After;
12
12
  ascending?: AgentMail.Ascending;
13
+ includeSpam?: AgentMail.IncludeSpam;
13
14
  }
@@ -72,7 +72,7 @@ class ThreadsClient {
72
72
  __list(inbox_id_1) {
73
73
  return __awaiter(this, arguments, void 0, function* (inbox_id, request = {}, requestOptions) {
74
74
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
75
- const { limit, pageToken, labels, before, after, ascending } = request;
75
+ const { limit, pageToken, labels, before, after, ascending, includeSpam } = request;
76
76
  const _queryParams = {};
77
77
  if (limit != null) {
78
78
  _queryParams.limit = limit.toString();
@@ -92,6 +92,9 @@ class ThreadsClient {
92
92
  if (ascending != null) {
93
93
  _queryParams.ascending = ascending.toString();
94
94
  }
95
+ if (includeSpam != null) {
96
+ _queryParams.include_spam = includeSpam.toString();
97
+ }
95
98
  const _authRequest = yield this._options.authProvider.getAuthRequest();
96
99
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
97
100
  const _response = yield core.fetcher({
@@ -10,4 +10,5 @@ export interface ListThreadsRequest {
10
10
  before?: AgentMail.Before;
11
11
  after?: AgentMail.After;
12
12
  ascending?: AgentMail.Ascending;
13
+ includeSpam?: AgentMail.IncludeSpam;
13
14
  }
@@ -47,7 +47,6 @@ exports.DomainsClient = void 0;
47
47
  const BaseClient_js_1 = require("../../../../../../BaseClient.js");
48
48
  const headers_js_1 = require("../../../../../../core/headers.js");
49
49
  const core = __importStar(require("../../../../../../core/index.js"));
50
- const json_js_1 = require("../../../../../../core/json.js");
51
50
  const environments = __importStar(require("../../../../../../environments.js"));
52
51
  const errors = __importStar(require("../../../../../../errors/index.js"));
53
52
  const serializers = __importStar(require("../../../../../../serialization/index.js"));
@@ -72,7 +71,7 @@ class DomainsClient {
72
71
  __list(pod_id_1) {
73
72
  return __awaiter(this, arguments, void 0, function* (pod_id, request = {}, requestOptions) {
74
73
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
75
- const { limit, pageToken, labels, before, after, ascending } = request;
74
+ const { limit, pageToken } = request;
76
75
  const _queryParams = {};
77
76
  if (limit != null) {
78
77
  _queryParams.limit = limit.toString();
@@ -80,18 +79,6 @@ class DomainsClient {
80
79
  if (pageToken != null) {
81
80
  _queryParams.page_token = pageToken;
82
81
  }
83
- if (labels != null) {
84
- _queryParams.labels = (0, json_js_1.toJson)(serializers.Labels.jsonOrThrow(labels, { unrecognizedObjectKeys: "strip", omitUndefined: true }));
85
- }
86
- if (before != null) {
87
- _queryParams.before = before.toISOString();
88
- }
89
- if (after != null) {
90
- _queryParams.after = after.toISOString();
91
- }
92
- if (ascending != null) {
93
- _queryParams.ascending = ascending.toString();
94
- }
95
82
  const _authRequest = yield this._options.authProvider.getAuthRequest();
96
83
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
97
84
  const _response = yield core.fetcher({
@@ -6,8 +6,4 @@ import type * as AgentMail from "../../../../../../index.js";
6
6
  export interface ListDomainsRequest {
7
7
  limit?: AgentMail.Limit;
8
8
  pageToken?: AgentMail.PageToken;
9
- labels?: AgentMail.Labels;
10
- before?: AgentMail.Before;
11
- after?: AgentMail.After;
12
- ascending?: AgentMail.Ascending;
13
9
  }
@@ -47,7 +47,6 @@ exports.InboxesClient = void 0;
47
47
  const BaseClient_js_1 = require("../../../../../../BaseClient.js");
48
48
  const headers_js_1 = require("../../../../../../core/headers.js");
49
49
  const core = __importStar(require("../../../../../../core/index.js"));
50
- const json_js_1 = require("../../../../../../core/json.js");
51
50
  const environments = __importStar(require("../../../../../../environments.js"));
52
51
  const errors = __importStar(require("../../../../../../errors/index.js"));
53
52
  const serializers = __importStar(require("../../../../../../serialization/index.js"));
@@ -72,7 +71,7 @@ class InboxesClient {
72
71
  __list(pod_id_1) {
73
72
  return __awaiter(this, arguments, void 0, function* (pod_id, request = {}, requestOptions) {
74
73
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
75
- const { limit, pageToken, labels, before, after, ascending } = request;
74
+ const { limit, pageToken } = request;
76
75
  const _queryParams = {};
77
76
  if (limit != null) {
78
77
  _queryParams.limit = limit.toString();
@@ -80,18 +79,6 @@ class InboxesClient {
80
79
  if (pageToken != null) {
81
80
  _queryParams.page_token = pageToken;
82
81
  }
83
- if (labels != null) {
84
- _queryParams.labels = (0, json_js_1.toJson)(serializers.Labels.jsonOrThrow(labels, { unrecognizedObjectKeys: "strip", omitUndefined: true }));
85
- }
86
- if (before != null) {
87
- _queryParams.before = before.toISOString();
88
- }
89
- if (after != null) {
90
- _queryParams.after = after.toISOString();
91
- }
92
- if (ascending != null) {
93
- _queryParams.ascending = ascending.toString();
94
- }
95
82
  const _authRequest = yield this._options.authProvider.getAuthRequest();
96
83
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
97
84
  const _response = yield core.fetcher({
@@ -6,8 +6,4 @@ import type * as AgentMail from "../../../../../../index.js";
6
6
  export interface ListInboxesRequest {
7
7
  limit?: AgentMail.Limit;
8
8
  pageToken?: AgentMail.PageToken;
9
- labels?: AgentMail.Labels;
10
- before?: AgentMail.Before;
11
- after?: AgentMail.After;
12
- ascending?: AgentMail.Ascending;
13
9
  }
@@ -72,7 +72,7 @@ class ThreadsClient {
72
72
  __list(pod_id_1) {
73
73
  return __awaiter(this, arguments, void 0, function* (pod_id, request = {}, requestOptions) {
74
74
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
75
- const { limit, pageToken, labels, before, after, ascending } = request;
75
+ const { limit, pageToken, labels, before, after, ascending, includeSpam } = request;
76
76
  const _queryParams = {};
77
77
  if (limit != null) {
78
78
  _queryParams.limit = limit.toString();
@@ -92,6 +92,9 @@ class ThreadsClient {
92
92
  if (ascending != null) {
93
93
  _queryParams.ascending = ascending.toString();
94
94
  }
95
+ if (includeSpam != null) {
96
+ _queryParams.include_spam = includeSpam.toString();
97
+ }
95
98
  const _authRequest = yield this._options.authProvider.getAuthRequest();
96
99
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
97
100
  const _response = yield core.fetcher({
@@ -10,4 +10,5 @@ export interface ListThreadsRequest {
10
10
  before?: AgentMail.Before;
11
11
  after?: AgentMail.After;
12
12
  ascending?: AgentMail.Ascending;
13
+ includeSpam?: AgentMail.IncludeSpam;
13
14
  }
@@ -71,7 +71,7 @@ class ThreadsClient {
71
71
  __list() {
72
72
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
73
73
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
74
- const { limit, pageToken, labels, before, after, ascending } = request;
74
+ const { limit, pageToken, labels, before, after, ascending, includeSpam } = request;
75
75
  const _queryParams = {};
76
76
  if (limit != null) {
77
77
  _queryParams.limit = limit.toString();
@@ -91,6 +91,9 @@ class ThreadsClient {
91
91
  if (ascending != null) {
92
92
  _queryParams.ascending = ascending.toString();
93
93
  }
94
+ if (includeSpam != null) {
95
+ _queryParams.include_spam = includeSpam.toString();
96
+ }
94
97
  const _authRequest = yield this._options.authProvider.getAuthRequest();
95
98
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
96
99
  const _response = yield core.fetcher({
@@ -10,4 +10,5 @@ export interface ListThreadsRequest {
10
10
  before?: AgentMail.Before;
11
11
  after?: AgentMail.After;
12
12
  ascending?: AgentMail.Ascending;
13
+ includeSpam?: AgentMail.IncludeSpam;
13
14
  }
@@ -6,7 +6,7 @@ export interface Webhook {
6
6
  inboxIds?: AgentMail.webhooks.InboxIds;
7
7
  /** Secret for webhook signature verification. */
8
8
  secret: string;
9
- /** Whether the webhook is enabled. */
9
+ /** Webhook is enabled. */
10
10
  enabled: boolean;
11
11
  /** Time at which webhook was last updated. */
12
12
  updatedAt: Date;
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Whether to sort in ascending temporal order.
2
+ * Sort in ascending temporal order.
3
3
  */
4
4
  export type Ascending = boolean;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Include spam in results.
3
+ */
4
+ export type IncludeSpam = boolean;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -4,6 +4,7 @@ export * from "./Before.js";
4
4
  export * from "./Count.js";
5
5
  export * from "./ErrorName.js";
6
6
  export * from "./ErrorResponse.js";
7
+ export * from "./IncludeSpam.js";
7
8
  export * from "./Labels.js";
8
9
  export * from "./Limit.js";
9
10
  export * from "./OrganizationId.js";
@@ -20,6 +20,7 @@ __exportStar(require("./Before.js"), exports);
20
20
  __exportStar(require("./Count.js"), exports);
21
21
  __exportStar(require("./ErrorName.js"), exports);
22
22
  __exportStar(require("./ErrorResponse.js"), exports);
23
+ __exportStar(require("./IncludeSpam.js"), exports);
23
24
  __exportStar(require("./Labels.js"), exports);
24
25
  __exportStar(require("./Limit.js"), exports);
25
26
  __exportStar(require("./OrganizationId.js"), exports);
@@ -0,0 +1,7 @@
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 IncludeSpam: core.serialization.Schema<serializers.IncludeSpam.Raw, AgentMail.IncludeSpam>;
5
+ export declare namespace IncludeSpam {
6
+ type Raw = boolean;
7
+ }
@@ -0,0 +1,39 @@
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.IncludeSpam = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ exports.IncludeSpam = core.serialization.boolean();
@@ -4,6 +4,7 @@ export * from "./Before.js";
4
4
  export * from "./Count.js";
5
5
  export * from "./ErrorName.js";
6
6
  export * from "./ErrorResponse.js";
7
+ export * from "./IncludeSpam.js";
7
8
  export * from "./Labels.js";
8
9
  export * from "./Limit.js";
9
10
  export * from "./OrganizationId.js";
@@ -20,6 +20,7 @@ __exportStar(require("./Before.js"), exports);
20
20
  __exportStar(require("./Count.js"), exports);
21
21
  __exportStar(require("./ErrorName.js"), exports);
22
22
  __exportStar(require("./ErrorResponse.js"), exports);
23
+ __exportStar(require("./IncludeSpam.js"), exports);
23
24
  __exportStar(require("./Labels.js"), exports);
24
25
  __exportStar(require("./Limit.js"), exports);
25
26
  __exportStar(require("./OrganizationId.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.12";
1
+ export declare const SDK_VERSION = "0.1.13";
@@ -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.1.12";
4
+ exports.SDK_VERSION = "0.1.13";
@@ -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.1.12",
10
- "User-Agent": "agentmail/0.1.12",
9
+ "X-Fern-SDK-Version": "0.1.13",
10
+ "User-Agent": "agentmail/0.1.13",
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);
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Whether attachment is part of message body.
2
+ * Attachment is part of message body.
3
3
  */
4
4
  export type AttachmentInline = boolean;
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Whether bounce and complaint notifications are sent to your inboxes.
2
+ * Bounce and complaint notifications are sent to your inboxes.
3
3
  */
4
4
  export type FeedbackEnabled = boolean;
@@ -36,7 +36,7 @@ export class MessagesClient {
36
36
  __list(inbox_id_1) {
37
37
  return __awaiter(this, arguments, void 0, function* (inbox_id, request = {}, requestOptions) {
38
38
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
39
- const { limit, pageToken, labels, before, after, ascending } = request;
39
+ const { limit, pageToken, labels, before, after, ascending, includeSpam } = request;
40
40
  const _queryParams = {};
41
41
  if (limit != null) {
42
42
  _queryParams.limit = limit.toString();
@@ -56,6 +56,9 @@ export class MessagesClient {
56
56
  if (ascending != null) {
57
57
  _queryParams.ascending = ascending.toString();
58
58
  }
59
+ if (includeSpam != null) {
60
+ _queryParams.include_spam = includeSpam.toString();
61
+ }
59
62
  const _authRequest = yield this._options.authProvider.getAuthRequest();
60
63
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
61
64
  const _response = yield core.fetcher({
@@ -10,4 +10,5 @@ export interface ListMessagesRequest {
10
10
  before?: AgentMail.Before;
11
11
  after?: AgentMail.After;
12
12
  ascending?: AgentMail.Ascending;
13
+ includeSpam?: AgentMail.IncludeSpam;
13
14
  }
@@ -36,7 +36,7 @@ export class ThreadsClient {
36
36
  __list(inbox_id_1) {
37
37
  return __awaiter(this, arguments, void 0, function* (inbox_id, request = {}, requestOptions) {
38
38
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
39
- const { limit, pageToken, labels, before, after, ascending } = request;
39
+ const { limit, pageToken, labels, before, after, ascending, includeSpam } = request;
40
40
  const _queryParams = {};
41
41
  if (limit != null) {
42
42
  _queryParams.limit = limit.toString();
@@ -56,6 +56,9 @@ export class ThreadsClient {
56
56
  if (ascending != null) {
57
57
  _queryParams.ascending = ascending.toString();
58
58
  }
59
+ if (includeSpam != null) {
60
+ _queryParams.include_spam = includeSpam.toString();
61
+ }
59
62
  const _authRequest = yield this._options.authProvider.getAuthRequest();
60
63
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
61
64
  const _response = yield core.fetcher({
@@ -10,4 +10,5 @@ export interface ListThreadsRequest {
10
10
  before?: AgentMail.Before;
11
11
  after?: AgentMail.After;
12
12
  ascending?: AgentMail.Ascending;
13
+ includeSpam?: AgentMail.IncludeSpam;
13
14
  }
@@ -11,7 +11,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  import { normalizeClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
12
12
  import { mergeHeaders } from "../../../../../../core/headers.mjs";
13
13
  import * as core from "../../../../../../core/index.mjs";
14
- import { toJson } from "../../../../../../core/json.mjs";
15
14
  import * as environments from "../../../../../../environments.mjs";
16
15
  import * as errors from "../../../../../../errors/index.mjs";
17
16
  import * as serializers from "../../../../../../serialization/index.mjs";
@@ -36,7 +35,7 @@ export class DomainsClient {
36
35
  __list(pod_id_1) {
37
36
  return __awaiter(this, arguments, void 0, function* (pod_id, request = {}, requestOptions) {
38
37
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
39
- const { limit, pageToken, labels, before, after, ascending } = request;
38
+ const { limit, pageToken } = request;
40
39
  const _queryParams = {};
41
40
  if (limit != null) {
42
41
  _queryParams.limit = limit.toString();
@@ -44,18 +43,6 @@ export class DomainsClient {
44
43
  if (pageToken != null) {
45
44
  _queryParams.page_token = pageToken;
46
45
  }
47
- if (labels != null) {
48
- _queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, { unrecognizedObjectKeys: "strip", omitUndefined: true }));
49
- }
50
- if (before != null) {
51
- _queryParams.before = before.toISOString();
52
- }
53
- if (after != null) {
54
- _queryParams.after = after.toISOString();
55
- }
56
- if (ascending != null) {
57
- _queryParams.ascending = ascending.toString();
58
- }
59
46
  const _authRequest = yield this._options.authProvider.getAuthRequest();
60
47
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
61
48
  const _response = yield core.fetcher({
@@ -6,8 +6,4 @@ import type * as AgentMail from "../../../../../../index.mjs";
6
6
  export interface ListDomainsRequest {
7
7
  limit?: AgentMail.Limit;
8
8
  pageToken?: AgentMail.PageToken;
9
- labels?: AgentMail.Labels;
10
- before?: AgentMail.Before;
11
- after?: AgentMail.After;
12
- ascending?: AgentMail.Ascending;
13
9
  }
@@ -11,7 +11,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  import { normalizeClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
12
12
  import { mergeHeaders } from "../../../../../../core/headers.mjs";
13
13
  import * as core from "../../../../../../core/index.mjs";
14
- import { toJson } from "../../../../../../core/json.mjs";
15
14
  import * as environments from "../../../../../../environments.mjs";
16
15
  import * as errors from "../../../../../../errors/index.mjs";
17
16
  import * as serializers from "../../../../../../serialization/index.mjs";
@@ -36,7 +35,7 @@ export class InboxesClient {
36
35
  __list(pod_id_1) {
37
36
  return __awaiter(this, arguments, void 0, function* (pod_id, request = {}, requestOptions) {
38
37
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
39
- const { limit, pageToken, labels, before, after, ascending } = request;
38
+ const { limit, pageToken } = request;
40
39
  const _queryParams = {};
41
40
  if (limit != null) {
42
41
  _queryParams.limit = limit.toString();
@@ -44,18 +43,6 @@ export class InboxesClient {
44
43
  if (pageToken != null) {
45
44
  _queryParams.page_token = pageToken;
46
45
  }
47
- if (labels != null) {
48
- _queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, { unrecognizedObjectKeys: "strip", omitUndefined: true }));
49
- }
50
- if (before != null) {
51
- _queryParams.before = before.toISOString();
52
- }
53
- if (after != null) {
54
- _queryParams.after = after.toISOString();
55
- }
56
- if (ascending != null) {
57
- _queryParams.ascending = ascending.toString();
58
- }
59
46
  const _authRequest = yield this._options.authProvider.getAuthRequest();
60
47
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
61
48
  const _response = yield core.fetcher({
@@ -6,8 +6,4 @@ import type * as AgentMail from "../../../../../../index.mjs";
6
6
  export interface ListInboxesRequest {
7
7
  limit?: AgentMail.Limit;
8
8
  pageToken?: AgentMail.PageToken;
9
- labels?: AgentMail.Labels;
10
- before?: AgentMail.Before;
11
- after?: AgentMail.After;
12
- ascending?: AgentMail.Ascending;
13
9
  }
@@ -36,7 +36,7 @@ export class ThreadsClient {
36
36
  __list(pod_id_1) {
37
37
  return __awaiter(this, arguments, void 0, function* (pod_id, request = {}, requestOptions) {
38
38
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
39
- const { limit, pageToken, labels, before, after, ascending } = request;
39
+ const { limit, pageToken, labels, before, after, ascending, includeSpam } = request;
40
40
  const _queryParams = {};
41
41
  if (limit != null) {
42
42
  _queryParams.limit = limit.toString();
@@ -56,6 +56,9 @@ export class ThreadsClient {
56
56
  if (ascending != null) {
57
57
  _queryParams.ascending = ascending.toString();
58
58
  }
59
+ if (includeSpam != null) {
60
+ _queryParams.include_spam = includeSpam.toString();
61
+ }
59
62
  const _authRequest = yield this._options.authProvider.getAuthRequest();
60
63
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
61
64
  const _response = yield core.fetcher({
@@ -10,4 +10,5 @@ export interface ListThreadsRequest {
10
10
  before?: AgentMail.Before;
11
11
  after?: AgentMail.After;
12
12
  ascending?: AgentMail.Ascending;
13
+ includeSpam?: AgentMail.IncludeSpam;
13
14
  }
@@ -35,7 +35,7 @@ export class ThreadsClient {
35
35
  __list() {
36
36
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
37
37
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
38
- const { limit, pageToken, labels, before, after, ascending } = request;
38
+ const { limit, pageToken, labels, before, after, ascending, includeSpam } = request;
39
39
  const _queryParams = {};
40
40
  if (limit != null) {
41
41
  _queryParams.limit = limit.toString();
@@ -55,6 +55,9 @@ export class ThreadsClient {
55
55
  if (ascending != null) {
56
56
  _queryParams.ascending = ascending.toString();
57
57
  }
58
+ if (includeSpam != null) {
59
+ _queryParams.include_spam = includeSpam.toString();
60
+ }
58
61
  const _authRequest = yield this._options.authProvider.getAuthRequest();
59
62
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
60
63
  const _response = yield core.fetcher({
@@ -10,4 +10,5 @@ export interface ListThreadsRequest {
10
10
  before?: AgentMail.Before;
11
11
  after?: AgentMail.After;
12
12
  ascending?: AgentMail.Ascending;
13
+ includeSpam?: AgentMail.IncludeSpam;
13
14
  }
@@ -6,7 +6,7 @@ export interface Webhook {
6
6
  inboxIds?: AgentMail.webhooks.InboxIds;
7
7
  /** Secret for webhook signature verification. */
8
8
  secret: string;
9
- /** Whether the webhook is enabled. */
9
+ /** Webhook is enabled. */
10
10
  enabled: boolean;
11
11
  /** Time at which webhook was last updated. */
12
12
  updatedAt: Date;
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Whether to sort in ascending temporal order.
2
+ * Sort in ascending temporal order.
3
3
  */
4
4
  export type Ascending = boolean;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Include spam in results.
3
+ */
4
+ export type IncludeSpam = boolean;
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -4,6 +4,7 @@ export * from "./Before.mjs";
4
4
  export * from "./Count.mjs";
5
5
  export * from "./ErrorName.mjs";
6
6
  export * from "./ErrorResponse.mjs";
7
+ export * from "./IncludeSpam.mjs";
7
8
  export * from "./Labels.mjs";
8
9
  export * from "./Limit.mjs";
9
10
  export * from "./OrganizationId.mjs";
@@ -4,6 +4,7 @@ export * from "./Before.mjs";
4
4
  export * from "./Count.mjs";
5
5
  export * from "./ErrorName.mjs";
6
6
  export * from "./ErrorResponse.mjs";
7
+ export * from "./IncludeSpam.mjs";
7
8
  export * from "./Labels.mjs";
8
9
  export * from "./Limit.mjs";
9
10
  export * from "./OrganizationId.mjs";
@@ -0,0 +1,7 @@
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 IncludeSpam: core.serialization.Schema<serializers.IncludeSpam.Raw, AgentMail.IncludeSpam>;
5
+ export declare namespace IncludeSpam {
6
+ type Raw = boolean;
7
+ }
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ export const IncludeSpam = core.serialization.boolean();
@@ -4,6 +4,7 @@ export * from "./Before.mjs";
4
4
  export * from "./Count.mjs";
5
5
  export * from "./ErrorName.mjs";
6
6
  export * from "./ErrorResponse.mjs";
7
+ export * from "./IncludeSpam.mjs";
7
8
  export * from "./Labels.mjs";
8
9
  export * from "./Limit.mjs";
9
10
  export * from "./OrganizationId.mjs";
@@ -4,6 +4,7 @@ export * from "./Before.mjs";
4
4
  export * from "./Count.mjs";
5
5
  export * from "./ErrorName.mjs";
6
6
  export * from "./ErrorResponse.mjs";
7
+ export * from "./IncludeSpam.mjs";
7
8
  export * from "./Labels.mjs";
8
9
  export * from "./Limit.mjs";
9
10
  export * from "./OrganizationId.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.12";
1
+ export declare const SDK_VERSION = "0.1.13";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.1.12";
1
+ export const SDK_VERSION = "0.1.13";
@@ -5,7 +5,7 @@
5
5
  <Tip title="Welcome to AgentMail!" icon="fa-solid fa-star" />
6
6
 
7
7
  <Frame caption="We're excited to have you onboard!">
8
- <img src="file:e3f88ce1-e53f-439a-aeac-faf190593e5b" alt="We're excited to have you onboard!" />
8
+ <img src="file:310e2395-5411-4afa-b39b-892397ecb1ca" alt="We're excited to have you onboard!" />
9
9
  </Frame>
10
10
 
11
11
  AgentMail is an API platform for giving AI agents their own inboxes to send, receive, and act upon emails. This allows agents to assume their own identity and communicate via the universal protocol of email with services, people, and other agents.
@@ -171,7 +171,7 @@ This guide will walk you through installing the AgentMail SDK, authenticating wi
171
171
  <Step title="Create an API Key">
172
172
  Now that you're in the console, you'll need to create an API key to
173
173
  authenticate your requests. Navigate to the API Keys section in your console
174
- dashboard. ![API Key Creation Screenshot](file:2fa577e4-6c00-4f62-ae2b-9ba5079d20cb) Click
174
+ dashboard. ![API Key Creation Screenshot](file:96bda405-2981-443a-a64d-e1a2835c9fb0) Click
175
175
  "Create New API Key" and give it a descriptive name. Once created, copy the
176
176
  API key and store it securely. Create a `.env` file in your project's root
177
177
  directory and add your key to it. We recommend using environment variables to
@@ -322,7 +322,7 @@ Unlike traditional email providers that are designed for human scale, AgentMail
322
322
 
323
323
  As the diagram below illustrates, your `organization` is the top-level container that holds all your resources. You can provision many `Inboxes` within your `organization`, each with its own `Threads`, `Messages`, and `Attachments`, allowing you to manage a large fleet of agents seamlessly.
324
324
 
325
- <img src="file:6419a54d-fe30-4f23-b249-ac2842dc7b83" alt="AgentMail Organizational Hierarchy" />
325
+ <img src="file:b0c8b4e6-563d-4ff5-b08c-d9dde55452da" alt="AgentMail Organizational Hierarchy" />
326
326
 
327
327
  <Steps>
328
328
  <Step title="Organization">
@@ -742,7 +742,7 @@ Here is an example of a well-structured and styled HTML header:
742
742
  </CodeBlocks>
743
743
 
744
744
  <Frame caption="Look how pretty this message looks!">
745
- <img src="file:10d09a4f-c2d8-4127-899a-025a124b54f1" alt="rendered css" />
745
+ <img src="file:1e8d927e-c68d-49f1-8278-166497a45a69" alt="rendered css" />
746
746
  </Frame>
747
747
 
748
748
  ## Receiving `Messages`
@@ -1981,7 +1981,7 @@ Configuring your domain is a three-step process: add the domain via API, copy th
1981
1981
  After creating your domain in the AgentMail Console, click the "Download BIND Zone File" button to get the complete zone file.
1982
1982
 
1983
1983
  <Frame caption="Downloading BIND zone file from AgentMail Console">
1984
- <img src="file:bc58b8c2-8e6f-4282-82ae-d5bab90972e4" alt="Download BIND Zone File from Console" />
1984
+ <img src="file:d9e83f6a-1341-4b14-b758-7e3508a231d4" alt="Download BIND Zone File from Console" />
1985
1985
  </Frame>
1986
1986
 
1987
1987
  <Tabs>
@@ -1992,13 +1992,13 @@ Configuring your domain is a three-step process: add the domain via API, copy th
1992
1992
  2. Click **"Import zone file"** in the top right corner
1993
1993
 
1994
1994
  <Frame caption="Importing BIND zone file in AWS Route 53">
1995
- <img src="file:b13c1ad1-3e9a-4673-992c-fb5ef7d689aa" alt="AWS Route 53 BIND Import" />
1995
+ <img src="file:328d8c68-88cf-42ea-bce3-5630206b406d" alt="AWS Route 53 BIND Import" />
1996
1996
  </Frame>
1997
1997
 
1998
1998
  3. Paste the CONTENTS of downloaded BIND zone file
1999
1999
 
2000
2000
  <Frame caption="Open the file with text editor and paste the contents. It should look similar to what we have in this image.">
2001
- <img src="file:c44a24d3-4c13-4dc0-a0c8-1acbff875faf" alt="AWS Route 53 BIND Import" />
2001
+ <img src="file:35f3a2a1-77a9-4a1f-932d-1e580a86eae2" alt="AWS Route 53 BIND Import" />
2002
2002
  </Frame>
2003
2003
 
2004
2004
  4. Review the records and click **"Import"**
@@ -2011,13 +2011,13 @@ Configuring your domain is a three-step process: add the domain via API, copy th
2011
2011
  2. Navigate to **DNS > Records**
2012
2012
 
2013
2013
  <Frame caption="This is what the page looks like">
2014
- <img src="file:780cb57b-57ac-4019-93e9-56db287eadaa" alt="Cloudflare BIND Import" />
2014
+ <img src="file:0caf7073-c006-46c3-aa5b-67ea84d2cf76" alt="Cloudflare BIND Import" />
2015
2015
  </Frame>
2016
2016
 
2017
2017
  3. Click **"Import and Export"**
2018
2018
 
2019
2019
  <Frame caption="You should be able to just drop the file in">
2020
- <img src="file:ff8604b6-bc3f-4665-b21e-35753a033a93" alt="Cloudflare BIND Import" />
2020
+ <img src="file:6ed60e97-c0e8-448d-a7e7-220170cdda24" alt="Cloudflare BIND Import" />
2021
2021
  </Frame>
2022
2022
 
2023
2023
  4. Upload the downloaded BIND zone file as is
@@ -2030,13 +2030,13 @@ Configuring your domain is a three-step process: add the domain via API, copy th
2030
2030
  2. Navigate to the **DNS** subtab of the domain you want to send from
2031
2031
 
2032
2032
  <Frame caption="Click on this button!">
2033
- <img src="file:e68ed8f1-092a-40cc-971d-adb5bcd868cc" alt="Porkbun DNS Management" />
2033
+ <img src="file:9fe338be-7731-4fb0-b136-c2b6fa86a7de" alt="Porkbun DNS Management" />
2034
2034
  </Frame>
2035
2035
 
2036
2036
  3. Scroll down to the quick upload section
2037
2037
 
2038
2038
  <Frame caption="Upload your BIND zone file here">
2039
- <img src="file:5d596ae8-43ee-4c8a-af62-459f250b7301" alt="Porkbun Zone File Import" />
2039
+ <img src="file:db814e7e-4737-488a-bccc-2d581772369b" alt="Porkbun Zone File Import" />
2040
2040
  </Frame>
2041
2041
 
2042
2042
  4. Upload the downloaded BIND zone file as is
@@ -2120,7 +2120,7 @@ Configuring your domain is a three-step process: add the domain via API, copy th
2120
2120
  * **Value:** Can directly copy paste the `value` from the API response (e.g., `{random_letters_numbers}.dkim.amazonses.com`).
2121
2121
 
2122
2122
  <Frame caption="Example of adding a CNAME record in Route 53. Notice that AWS already appends the root domain (agentmail.cc) to the end of the name value!">
2123
- <img src="file:496e2c29-5f47-4ab0-8f86-752e2b9ee25e" alt="AWS Route 53 Record Configuration" />
2123
+ <img src="file:97040bb3-e526-420e-b804-9043ccec9a68" alt="AWS Route 53 Record Configuration" />
2124
2124
  </Frame>
2125
2125
 
2126
2126
  * **TXT (DMARC/SPF):**
@@ -2842,13 +2842,13 @@ Ngrok creates a secure tunnel from a public URL to your local development server
2842
2842
 
2843
2843
  Visit [ngrok.com](https://ngrok.com/) and click "Sign up" to create a free account.
2844
2844
 
2845
- <img src="file:12e912a8-9a87-4eca-bf52-b8b22ca64196" alt="Ngrok homepage" />
2845
+ <img src="file:cacdfa4e-696b-4485-8833-67280879d17d" alt="Ngrok homepage" />
2846
2846
 
2847
2847
  ### 1.2 Choose your platform and install
2848
2848
 
2849
2849
  After logging in, ngrok will guide you through the setup process. Select your operating system and follow the installation instructions.
2850
2850
 
2851
- <img src="file:36deb6da-c444-4272-9156-2afdfe357619" alt="Ngrok setup instructions" />
2851
+ <img src="file:def52365-4003-4d3f-9b50-b9abb02ecd4b" alt="Ngrok setup instructions" />
2852
2852
 
2853
2853
  For macOS, you can install ngrok via Homebrew:
2854
2854
 
@@ -2894,7 +2894,7 @@ ngrok http 3000
2894
2894
 
2895
2895
  You should see output similar to this:
2896
2896
 
2897
- <img src="file:f0447993-8b76-4dad-af12-a208a27dba82" alt="Ngrok terminal output" />
2897
+ <img src="file:2894d030-381a-4542-96a8-38db296ce8d5" alt="Ngrok terminal output" />
2898
2898
 
2899
2899
  Copy the **Forwarding URL** (e.g., `https://your-subdomain.ngrok-free.app`). This is the public URL that AgentMail will use to send webhooks.
2900
2900
 
@@ -2991,7 +2991,7 @@ python webhook_receiver.py
2991
2991
 
2992
2992
  Open your browser and visit `http://127.0.0.1:3000` to see the status page confirming your webhook receiver is running:
2993
2993
 
2994
- <img src="file:10c88199-7f82-479b-ab0a-eb727623ef3c" alt="Webhook receiver status page" />
2994
+ <img src="file:3615403f-ba34-4b46-8b25-c654950bca80" alt="Webhook receiver status page" />
2995
2995
 
2996
2996
  ## Testing Your Setup
2997
2997
 
@@ -3488,7 +3488,7 @@ How you send your emails is just as important as what you send. If you're sendin
3488
3488
  more natural to email providers. AgentMail's ability to create inboxes at
3489
3489
  scale makes this strategy easy to implement.
3490
3490
 
3491
- <img src="file:3417d8c2-94bc-4f35-aaad-c01abf678422" alt="Diagram comparing one inbox sending 1000 emails vs. five inboxes sending 200 each." />
3491
+ <img src="file:3af96ac6-1192-4d7c-9c5c-faefe4c6dc84" alt="Diagram comparing one inbox sending 1000 emails vs. five inboxes sending 200 each." />
3492
3492
  </Step>
3493
3493
 
3494
3494
  <Step title="Protect Your Reputation with Multiple Domains">
@@ -5507,7 +5507,7 @@ Done
5507
5507
 
5508
5508
  Go to your AgentMail inbox and filter by labels to organize your emails:
5509
5509
 
5510
- <img src="file:a6b17d0b-afdd-4747-a4bb-eec153ba7fbc" alt="Test image" />
5510
+ <img src="file:d68eacab-1cee-4bd4-96b5-0e2a1aed4774" alt="Test image" />
5511
5511
 
5512
5512
  **Filter by sentiment:**
5513
5513
 
@@ -8099,6 +8099,10 @@ components:
8099
8099
  type: array
8100
8100
  items:
8101
8101
  type: string
8102
+ type_messages:MessageHeaders:
8103
+ type: object
8104
+ additionalProperties:
8105
+ type: string
8102
8106
  type_messages:MessageSize:
8103
8107
  type: integer
8104
8108
  type_messages:MessageUpdatedAt:
@@ -8155,6 +8159,8 @@ components:
8155
8159
  $ref: '#/components/schemas/type_messages:MessageInReplyTo'
8156
8160
  references:
8157
8161
  $ref: '#/components/schemas/type_messages:MessageReferences'
8162
+ headers:
8163
+ $ref: '#/components/schemas/type_messages:MessageHeaders'
8158
8164
  size:
8159
8165
  $ref: '#/components/schemas/type_messages:MessageSize'
8160
8166
  updated_at:
@@ -8894,6 +8900,10 @@ components:
8894
8900
  type: array
8895
8901
  items:
8896
8902
  type: string
8903
+ type_messages:MessageHeaders:
8904
+ type: object
8905
+ additionalProperties:
8906
+ type: string
8897
8907
  type_messages:MessageSize:
8898
8908
  type: integer
8899
8909
  type_messages:MessageUpdatedAt:
@@ -8933,6 +8943,8 @@ components:
8933
8943
  $ref: '#/components/schemas/type_messages:MessageInReplyTo'
8934
8944
  references:
8935
8945
  $ref: '#/components/schemas/type_messages:MessageReferences'
8946
+ headers:
8947
+ $ref: '#/components/schemas/type_messages:MessageHeaders'
8936
8948
  size:
8937
8949
  $ref: '#/components/schemas/type_messages:MessageSize'
8938
8950
  updated_at:
@@ -9219,6 +9231,10 @@ components:
9219
9231
  type: array
9220
9232
  items:
9221
9233
  type: string
9234
+ type_messages:MessageHeaders:
9235
+ type: object
9236
+ additionalProperties:
9237
+ type: string
9222
9238
  type_messages:MessageSize:
9223
9239
  type: integer
9224
9240
  type_messages:MessageUpdatedAt:
@@ -9275,6 +9291,8 @@ components:
9275
9291
  $ref: '#/components/schemas/type_messages:MessageInReplyTo'
9276
9292
  references:
9277
9293
  $ref: '#/components/schemas/type_messages:MessageReferences'
9294
+ headers:
9295
+ $ref: '#/components/schemas/type_messages:MessageHeaders'
9278
9296
  size:
9279
9297
  $ref: '#/components/schemas/type_messages:MessageSize'
9280
9298
  updated_at:
@@ -10825,6 +10843,10 @@ components:
10825
10843
  type: array
10826
10844
  items:
10827
10845
  type: string
10846
+ type_messages:MessageHeaders:
10847
+ type: object
10848
+ additionalProperties:
10849
+ type: string
10828
10850
  type_messages:MessageSize:
10829
10851
  type: integer
10830
10852
  type_messages:MessageUpdatedAt:
@@ -10881,6 +10903,8 @@ components:
10881
10903
  $ref: '#/components/schemas/type_messages:MessageInReplyTo'
10882
10904
  references:
10883
10905
  $ref: '#/components/schemas/type_messages:MessageReferences'
10906
+ headers:
10907
+ $ref: '#/components/schemas/type_messages:MessageHeaders'
10884
10908
  size:
10885
10909
  $ref: '#/components/schemas/type_messages:MessageSize'
10886
10910
  updated_at:
@@ -13633,6 +13657,10 @@ components:
13633
13657
  type: array
13634
13658
  items:
13635
13659
  type: string
13660
+ type_messages:MessageHeaders:
13661
+ type: object
13662
+ additionalProperties:
13663
+ type: string
13636
13664
  type_messages:MessageSize:
13637
13665
  type: integer
13638
13666
  type_messages:MessageUpdatedAt:
@@ -13689,6 +13717,8 @@ components:
13689
13717
  $ref: '#/components/schemas/type_messages:MessageInReplyTo'
13690
13718
  references:
13691
13719
  $ref: '#/components/schemas/type_messages:MessageReferences'
13720
+ headers:
13721
+ $ref: '#/components/schemas/type_messages:MessageHeaders'
13692
13722
  size:
13693
13723
  $ref: '#/components/schemas/type_messages:MessageSize'
13694
13724
  updated_at:
@@ -17095,6 +17125,10 @@ components:
17095
17125
  type: array
17096
17126
  items:
17097
17127
  type: string
17128
+ type_messages:MessageHeaders:
17129
+ type: object
17130
+ additionalProperties:
17131
+ type: string
17098
17132
  type_messages:MessageSize:
17099
17133
  type: integer
17100
17134
  type_messages:MessageUpdatedAt:
@@ -17151,6 +17185,8 @@ components:
17151
17185
  $ref: '#/components/schemas/type_messages:MessageInReplyTo'
17152
17186
  references:
17153
17187
  $ref: '#/components/schemas/type_messages:MessageReferences'
17188
+ headers:
17189
+ $ref: '#/components/schemas/type_messages:MessageHeaders'
17154
17190
  size:
17155
17191
  $ref: '#/components/schemas/type_messages:MessageSize'
17156
17192
  updated_at:
@@ -18232,6 +18268,10 @@ components:
18232
18268
  type: array
18233
18269
  items:
18234
18270
  type: string
18271
+ type_messages:MessageHeaders:
18272
+ type: object
18273
+ additionalProperties:
18274
+ type: string
18235
18275
  type_messages:MessageSize:
18236
18276
  type: integer
18237
18277
  type_messages:MessageUpdatedAt:
@@ -18288,6 +18328,8 @@ components:
18288
18328
  $ref: '#/components/schemas/type_messages:MessageInReplyTo'
18289
18329
  references:
18290
18330
  $ref: '#/components/schemas/type_messages:MessageReferences'
18331
+ headers:
18332
+ $ref: '#/components/schemas/type_messages:MessageHeaders'
18291
18333
  size:
18292
18334
  $ref: '#/components/schemas/type_messages:MessageSize'
18293
18335
  updated_at:
@@ -21953,6 +21995,10 @@ components:
21953
21995
  type: array
21954
21996
  items:
21955
21997
  type: string
21998
+ type_messages:MessageHeaders:
21999
+ type: object
22000
+ additionalProperties:
22001
+ type: string
21956
22002
  type_messages:MessageSize:
21957
22003
  type: integer
21958
22004
  type_messages:MessageUpdatedAt:
@@ -22009,6 +22055,8 @@ components:
22009
22055
  $ref: '#/components/schemas/type_messages:MessageInReplyTo'
22010
22056
  references:
22011
22057
  $ref: '#/components/schemas/type_messages:MessageReferences'
22058
+ headers:
22059
+ $ref: '#/components/schemas/type_messages:MessageHeaders'
22012
22060
  size:
22013
22061
  $ref: '#/components/schemas/type_messages:MessageSize'
22014
22062
  updated_at:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentmail",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "private": false,
5
5
  "repository": "github:agentmail-to/agentmail-node",
6
6
  "type": "commonjs",