agentmail 0.4.19 → 0.4.20

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.
@@ -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.4.19",
47
- "User-Agent": "agentmail/0.4.19",
46
+ "X-Fern-SDK-Version": "0.4.20",
47
+ "User-Agent": "agentmail/0.4.20",
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,6 +1,13 @@
1
- /** Type of inbox event. */
1
+ /**
2
+ * Type of inbox event. Wire format is dot.case to match the
3
+ * convention used by webhook events (`message.received`,
4
+ * `domain.verified`, etc. in events.yml). Pre-2026-04 these were
5
+ * `label_added`/`label_removed` (snake_case). The Fern enum's `name`
6
+ * field stays uppercase-snake (Fern convention); only the wire
7
+ * `value` changed.
8
+ */
2
9
  export declare const InboxEventType: {
3
- readonly LabelAdded: "label_added";
4
- readonly LabelRemoved: "label_removed";
10
+ readonly LabelAdded: "label.added";
11
+ readonly LabelRemoved: "label.removed";
5
12
  };
6
13
  export type InboxEventType = (typeof InboxEventType)[keyof typeof InboxEventType];
@@ -2,8 +2,15 @@
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.InboxEventType = void 0;
5
- /** Type of inbox event. */
5
+ /**
6
+ * Type of inbox event. Wire format is dot.case to match the
7
+ * convention used by webhook events (`message.received`,
8
+ * `domain.verified`, etc. in events.yml). Pre-2026-04 these were
9
+ * `label_added`/`label_removed` (snake_case). The Fern enum's `name`
10
+ * field stays uppercase-snake (Fern convention); only the wire
11
+ * `value` changed.
12
+ */
6
13
  exports.InboxEventType = {
7
- LabelAdded: "label_added",
8
- LabelRemoved: "label_removed",
14
+ LabelAdded: "label.added",
15
+ LabelRemoved: "label.removed",
9
16
  };
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
4
  export declare const InboxEventType: core.serialization.Schema<serializers.InboxEventType.Raw, AgentMail.InboxEventType>;
5
5
  export declare namespace InboxEventType {
6
- type Raw = "label_added" | "label_removed";
6
+ type Raw = "label.added" | "label.removed";
7
7
  }
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.InboxEventType = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
- exports.InboxEventType = core.serialization.enum_(["label_added", "label_removed"]);
39
+ exports.InboxEventType = core.serialization.enum_(["label.added", "label.removed"]);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.4.19";
1
+ export declare const SDK_VERSION = "0.4.20";
@@ -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.4.19";
4
+ exports.SDK_VERSION = "0.4.20";
@@ -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.4.19",
10
- "User-Agent": "agentmail/0.4.19",
9
+ "X-Fern-SDK-Version": "0.4.20",
10
+ "User-Agent": "agentmail/0.4.20",
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,6 +1,13 @@
1
- /** Type of inbox event. */
1
+ /**
2
+ * Type of inbox event. Wire format is dot.case to match the
3
+ * convention used by webhook events (`message.received`,
4
+ * `domain.verified`, etc. in events.yml). Pre-2026-04 these were
5
+ * `label_added`/`label_removed` (snake_case). The Fern enum's `name`
6
+ * field stays uppercase-snake (Fern convention); only the wire
7
+ * `value` changed.
8
+ */
2
9
  export declare const InboxEventType: {
3
- readonly LabelAdded: "label_added";
4
- readonly LabelRemoved: "label_removed";
10
+ readonly LabelAdded: "label.added";
11
+ readonly LabelRemoved: "label.removed";
5
12
  };
6
13
  export type InboxEventType = (typeof InboxEventType)[keyof typeof InboxEventType];
@@ -1,6 +1,13 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- /** Type of inbox event. */
2
+ /**
3
+ * Type of inbox event. Wire format is dot.case to match the
4
+ * convention used by webhook events (`message.received`,
5
+ * `domain.verified`, etc. in events.yml). Pre-2026-04 these were
6
+ * `label_added`/`label_removed` (snake_case). The Fern enum's `name`
7
+ * field stays uppercase-snake (Fern convention); only the wire
8
+ * `value` changed.
9
+ */
3
10
  export const InboxEventType = {
4
- LabelAdded: "label_added",
5
- LabelRemoved: "label_removed",
11
+ LabelAdded: "label.added",
12
+ LabelRemoved: "label.removed",
6
13
  };
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
4
  export declare const InboxEventType: core.serialization.Schema<serializers.InboxEventType.Raw, AgentMail.InboxEventType>;
5
5
  export declare namespace InboxEventType {
6
- type Raw = "label_added" | "label_removed";
6
+ type Raw = "label.added" | "label.removed";
7
7
  }
@@ -1,3 +1,3 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
- export const InboxEventType = core.serialization.enum_(["label_added", "label_removed"]);
3
+ export const InboxEventType = core.serialization.enum_(["label.added", "label.removed"]);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.4.19";
1
+ export declare const SDK_VERSION = "0.4.20";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.4.19";
1
+ export const SDK_VERSION = "0.4.20";