agentmail 0.1.11 → 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 (85) 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/messages/types/Message.d.ts +1 -0
  9. package/dist/cjs/api/resources/messages/types/MessageHeaders.d.ts +4 -0
  10. package/dist/cjs/api/resources/messages/types/MessageHeaders.js +3 -0
  11. package/dist/cjs/api/resources/messages/types/MessageItem.d.ts +1 -0
  12. package/dist/cjs/api/resources/messages/types/index.d.ts +1 -0
  13. package/dist/cjs/api/resources/messages/types/index.js +1 -0
  14. package/dist/cjs/api/resources/pods/resources/domains/client/Client.js +1 -14
  15. package/dist/cjs/api/resources/pods/resources/domains/client/requests/ListDomainsRequest.d.ts +0 -4
  16. package/dist/cjs/api/resources/pods/resources/inboxes/client/Client.js +1 -14
  17. package/dist/cjs/api/resources/pods/resources/inboxes/client/requests/ListInboxesRequest.d.ts +0 -4
  18. package/dist/cjs/api/resources/pods/resources/threads/client/Client.js +4 -1
  19. package/dist/cjs/api/resources/pods/resources/threads/client/requests/ListThreadsRequest.d.ts +1 -0
  20. package/dist/cjs/api/resources/threads/client/Client.js +4 -1
  21. package/dist/cjs/api/resources/threads/client/requests/ListThreadsRequest.d.ts +1 -0
  22. package/dist/cjs/api/resources/webhooks/types/Webhook.d.ts +1 -1
  23. package/dist/cjs/api/types/Ascending.d.ts +1 -1
  24. package/dist/cjs/api/types/IncludeSpam.d.ts +4 -0
  25. package/dist/cjs/api/types/IncludeSpam.js +3 -0
  26. package/dist/cjs/api/types/index.d.ts +1 -0
  27. package/dist/cjs/api/types/index.js +1 -0
  28. package/dist/cjs/serialization/resources/messages/types/Message.d.ts +2 -0
  29. package/dist/cjs/serialization/resources/messages/types/Message.js +2 -0
  30. package/dist/cjs/serialization/resources/messages/types/MessageHeaders.d.ts +7 -0
  31. package/dist/cjs/serialization/resources/messages/types/MessageHeaders.js +39 -0
  32. package/dist/cjs/serialization/resources/messages/types/MessageItem.d.ts +2 -0
  33. package/dist/cjs/serialization/resources/messages/types/MessageItem.js +2 -0
  34. package/dist/cjs/serialization/resources/messages/types/index.d.ts +1 -0
  35. package/dist/cjs/serialization/resources/messages/types/index.js +1 -0
  36. package/dist/cjs/serialization/types/IncludeSpam.d.ts +7 -0
  37. package/dist/cjs/serialization/types/IncludeSpam.js +39 -0
  38. package/dist/cjs/serialization/types/index.d.ts +1 -0
  39. package/dist/cjs/serialization/types/index.js +1 -0
  40. package/dist/cjs/version.d.ts +1 -1
  41. package/dist/cjs/version.js +1 -1
  42. package/dist/esm/BaseClient.mjs +2 -2
  43. package/dist/esm/api/resources/attachments/types/AttachmentInline.d.mts +1 -1
  44. package/dist/esm/api/resources/domains/types/FeedbackEnabled.d.mts +1 -1
  45. package/dist/esm/api/resources/inboxes/resources/messages/client/Client.mjs +4 -1
  46. package/dist/esm/api/resources/inboxes/resources/messages/client/requests/ListMessagesRequest.d.mts +1 -0
  47. package/dist/esm/api/resources/inboxes/resources/threads/client/Client.mjs +4 -1
  48. package/dist/esm/api/resources/inboxes/resources/threads/client/requests/ListThreadsRequest.d.mts +1 -0
  49. package/dist/esm/api/resources/messages/types/Message.d.mts +1 -0
  50. package/dist/esm/api/resources/messages/types/MessageHeaders.d.mts +4 -0
  51. package/dist/esm/api/resources/messages/types/MessageHeaders.mjs +2 -0
  52. package/dist/esm/api/resources/messages/types/MessageItem.d.mts +1 -0
  53. package/dist/esm/api/resources/messages/types/index.d.mts +1 -0
  54. package/dist/esm/api/resources/messages/types/index.mjs +1 -0
  55. package/dist/esm/api/resources/pods/resources/domains/client/Client.mjs +1 -14
  56. package/dist/esm/api/resources/pods/resources/domains/client/requests/ListDomainsRequest.d.mts +0 -4
  57. package/dist/esm/api/resources/pods/resources/inboxes/client/Client.mjs +1 -14
  58. package/dist/esm/api/resources/pods/resources/inboxes/client/requests/ListInboxesRequest.d.mts +0 -4
  59. package/dist/esm/api/resources/pods/resources/threads/client/Client.mjs +4 -1
  60. package/dist/esm/api/resources/pods/resources/threads/client/requests/ListThreadsRequest.d.mts +1 -0
  61. package/dist/esm/api/resources/threads/client/Client.mjs +4 -1
  62. package/dist/esm/api/resources/threads/client/requests/ListThreadsRequest.d.mts +1 -0
  63. package/dist/esm/api/resources/webhooks/types/Webhook.d.mts +1 -1
  64. package/dist/esm/api/types/Ascending.d.mts +1 -1
  65. package/dist/esm/api/types/IncludeSpam.d.mts +4 -0
  66. package/dist/esm/api/types/IncludeSpam.mjs +2 -0
  67. package/dist/esm/api/types/index.d.mts +1 -0
  68. package/dist/esm/api/types/index.mjs +1 -0
  69. package/dist/esm/serialization/resources/messages/types/Message.d.mts +2 -0
  70. package/dist/esm/serialization/resources/messages/types/Message.mjs +2 -0
  71. package/dist/esm/serialization/resources/messages/types/MessageHeaders.d.mts +7 -0
  72. package/dist/esm/serialization/resources/messages/types/MessageHeaders.mjs +3 -0
  73. package/dist/esm/serialization/resources/messages/types/MessageItem.d.mts +2 -0
  74. package/dist/esm/serialization/resources/messages/types/MessageItem.mjs +2 -0
  75. package/dist/esm/serialization/resources/messages/types/index.d.mts +1 -0
  76. package/dist/esm/serialization/resources/messages/types/index.mjs +1 -0
  77. package/dist/esm/serialization/types/IncludeSpam.d.mts +7 -0
  78. package/dist/esm/serialization/types/IncludeSpam.mjs +3 -0
  79. package/dist/esm/serialization/types/index.d.mts +1 -0
  80. package/dist/esm/serialization/types/index.mjs +1 -0
  81. package/dist/esm/version.d.mts +1 -1
  82. package/dist/esm/version.mjs +1 -1
  83. package/dist/llms-full.txt +845 -52
  84. package/dist/llms.txt +3 -1
  85. package/package.json +1 -1
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Headers in message.
3
+ */
4
+ export type MessageHeaders = Record<string, string>;
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -14,6 +14,7 @@ export interface MessageItem {
14
14
  attachments?: AgentMail.MessageAttachments;
15
15
  inReplyTo?: AgentMail.MessageInReplyTo;
16
16
  references?: AgentMail.MessageReferences;
17
+ headers?: AgentMail.MessageHeaders;
17
18
  size: AgentMail.MessageSize;
18
19
  updatedAt: AgentMail.MessageUpdatedAt;
19
20
  createdAt: AgentMail.MessageCreatedAt;
@@ -6,6 +6,7 @@ export * from "./MessageBcc.mjs";
6
6
  export * from "./MessageCc.mjs";
7
7
  export * from "./MessageCreatedAt.mjs";
8
8
  export * from "./MessageFrom.mjs";
9
+ export * from "./MessageHeaders.mjs";
9
10
  export * from "./MessageHtml.mjs";
10
11
  export * from "./MessageId.mjs";
11
12
  export * from "./MessageInReplyTo.mjs";
@@ -6,6 +6,7 @@ export * from "./MessageBcc.mjs";
6
6
  export * from "./MessageCc.mjs";
7
7
  export * from "./MessageCreatedAt.mjs";
8
8
  export * from "./MessageFrom.mjs";
9
+ export * from "./MessageHeaders.mjs";
9
10
  export * from "./MessageHtml.mjs";
10
11
  export * from "./MessageId.mjs";
11
12
  export * from "./MessageInReplyTo.mjs";
@@ -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";
@@ -8,6 +8,7 @@ import { MessageBcc } from "./MessageBcc.mjs";
8
8
  import { MessageCc } from "./MessageCc.mjs";
9
9
  import { MessageCreatedAt } from "./MessageCreatedAt.mjs";
10
10
  import { MessageFrom } from "./MessageFrom.mjs";
11
+ import { MessageHeaders } from "./MessageHeaders.mjs";
11
12
  import { MessageHtml } from "./MessageHtml.mjs";
12
13
  import { MessageId } from "./MessageId.mjs";
13
14
  import { MessageInReplyTo } from "./MessageInReplyTo.mjs";
@@ -42,6 +43,7 @@ export declare namespace Message {
42
43
  attachments?: MessageAttachments.Raw | null;
43
44
  in_reply_to?: MessageInReplyTo.Raw | null;
44
45
  references?: MessageReferences.Raw | null;
46
+ headers?: MessageHeaders.Raw | null;
45
47
  size: MessageSize.Raw;
46
48
  updated_at: MessageUpdatedAt.Raw;
47
49
  created_at: MessageCreatedAt.Raw;
@@ -7,6 +7,7 @@ import { MessageBcc } from "./MessageBcc.mjs";
7
7
  import { MessageCc } from "./MessageCc.mjs";
8
8
  import { MessageCreatedAt } from "./MessageCreatedAt.mjs";
9
9
  import { MessageFrom } from "./MessageFrom.mjs";
10
+ import { MessageHeaders } from "./MessageHeaders.mjs";
10
11
  import { MessageHtml } from "./MessageHtml.mjs";
11
12
  import { MessageId } from "./MessageId.mjs";
12
13
  import { MessageInReplyTo } from "./MessageInReplyTo.mjs";
@@ -39,6 +40,7 @@ export const Message = core.serialization.object({
39
40
  attachments: MessageAttachments.optional(),
40
41
  inReplyTo: core.serialization.property("in_reply_to", MessageInReplyTo.optional()),
41
42
  references: MessageReferences.optional(),
43
+ headers: MessageHeaders.optional(),
42
44
  size: MessageSize,
43
45
  updatedAt: core.serialization.property("updated_at", MessageUpdatedAt),
44
46
  createdAt: core.serialization.property("created_at", MessageCreatedAt),
@@ -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 MessageHeaders: core.serialization.Schema<serializers.MessageHeaders.Raw, AgentMail.MessageHeaders>;
5
+ export declare namespace MessageHeaders {
6
+ type Raw = Record<string, string>;
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 MessageHeaders = core.serialization.record(core.serialization.string(), core.serialization.string());
@@ -8,6 +8,7 @@ import { MessageBcc } from "./MessageBcc.mjs";
8
8
  import { MessageCc } from "./MessageCc.mjs";
9
9
  import { MessageCreatedAt } from "./MessageCreatedAt.mjs";
10
10
  import { MessageFrom } from "./MessageFrom.mjs";
11
+ import { MessageHeaders } from "./MessageHeaders.mjs";
11
12
  import { MessageId } from "./MessageId.mjs";
12
13
  import { MessageInReplyTo } from "./MessageInReplyTo.mjs";
13
14
  import { MessageLabels } from "./MessageLabels.mjs";
@@ -35,6 +36,7 @@ export declare namespace MessageItem {
35
36
  attachments?: MessageAttachments.Raw | null;
36
37
  in_reply_to?: MessageInReplyTo.Raw | null;
37
38
  references?: MessageReferences.Raw | null;
39
+ headers?: MessageHeaders.Raw | null;
38
40
  size: MessageSize.Raw;
39
41
  updated_at: MessageUpdatedAt.Raw;
40
42
  created_at: MessageCreatedAt.Raw;
@@ -7,6 +7,7 @@ import { MessageBcc } from "./MessageBcc.mjs";
7
7
  import { MessageCc } from "./MessageCc.mjs";
8
8
  import { MessageCreatedAt } from "./MessageCreatedAt.mjs";
9
9
  import { MessageFrom } from "./MessageFrom.mjs";
10
+ import { MessageHeaders } from "./MessageHeaders.mjs";
10
11
  import { MessageId } from "./MessageId.mjs";
11
12
  import { MessageInReplyTo } from "./MessageInReplyTo.mjs";
12
13
  import { MessageLabels } from "./MessageLabels.mjs";
@@ -32,6 +33,7 @@ export const MessageItem = core.serialization.object({
32
33
  attachments: MessageAttachments.optional(),
33
34
  inReplyTo: core.serialization.property("in_reply_to", MessageInReplyTo.optional()),
34
35
  references: MessageReferences.optional(),
36
+ headers: MessageHeaders.optional(),
35
37
  size: MessageSize,
36
38
  updatedAt: core.serialization.property("updated_at", MessageUpdatedAt),
37
39
  createdAt: core.serialization.property("created_at", MessageCreatedAt),
@@ -6,6 +6,7 @@ export * from "./MessageBcc.mjs";
6
6
  export * from "./MessageCc.mjs";
7
7
  export * from "./MessageCreatedAt.mjs";
8
8
  export * from "./MessageFrom.mjs";
9
+ export * from "./MessageHeaders.mjs";
9
10
  export * from "./MessageHtml.mjs";
10
11
  export * from "./MessageId.mjs";
11
12
  export * from "./MessageInReplyTo.mjs";
@@ -6,6 +6,7 @@ export * from "./MessageBcc.mjs";
6
6
  export * from "./MessageCc.mjs";
7
7
  export * from "./MessageCreatedAt.mjs";
8
8
  export * from "./MessageFrom.mjs";
9
+ export * from "./MessageHeaders.mjs";
9
10
  export * from "./MessageHtml.mjs";
10
11
  export * from "./MessageId.mjs";
11
12
  export * from "./MessageInReplyTo.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.11";
1
+ export declare const SDK_VERSION = "0.1.13";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.1.11";
1
+ export const SDK_VERSION = "0.1.13";