agentmail 0.0.51 → 0.0.52
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.
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/webhooks/resources/events/types/Bounce.d.ts +15 -0
- package/dist/cjs/api/resources/webhooks/resources/events/types/Bounce.js +5 -0
- package/dist/cjs/api/resources/webhooks/resources/events/types/MessageBouncedPayload.d.ts +9 -0
- package/dist/cjs/api/resources/webhooks/resources/events/types/MessageBouncedPayload.js +5 -0
- package/dist/cjs/api/resources/webhooks/resources/events/types/Recipient.d.ts +9 -0
- package/dist/cjs/api/resources/webhooks/resources/events/types/Recipient.js +5 -0
- package/dist/cjs/api/resources/webhooks/resources/events/types/Timestamp.d.ts +7 -0
- package/dist/cjs/api/resources/webhooks/resources/events/types/Timestamp.js +5 -0
- package/dist/cjs/api/resources/webhooks/resources/events/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/webhooks/resources/events/types/index.js +4 -0
- package/dist/cjs/api/resources/webhooks/types/EventType.d.ts +2 -1
- package/dist/cjs/api/resources/webhooks/types/EventType.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/webhooks/resources/events/types/Bounce.d.mts +15 -0
- package/dist/esm/api/resources/webhooks/resources/events/types/Bounce.mjs +4 -0
- package/dist/esm/api/resources/webhooks/resources/events/types/MessageBouncedPayload.d.mts +9 -0
- package/dist/esm/api/resources/webhooks/resources/events/types/MessageBouncedPayload.mjs +4 -0
- package/dist/esm/api/resources/webhooks/resources/events/types/Recipient.d.mts +9 -0
- package/dist/esm/api/resources/webhooks/resources/events/types/Recipient.mjs +4 -0
- package/dist/esm/api/resources/webhooks/resources/events/types/Timestamp.d.mts +7 -0
- package/dist/esm/api/resources/webhooks/resources/events/types/Timestamp.mjs +4 -0
- package/dist/esm/api/resources/webhooks/resources/events/types/index.d.mts +4 -0
- package/dist/esm/api/resources/webhooks/resources/events/types/index.mjs +4 -0
- package/dist/esm/api/resources/webhooks/types/EventType.d.mts +2 -1
- package/dist/esm/api/resources/webhooks/types/EventType.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/Client.js
CHANGED
|
@@ -51,8 +51,8 @@ class AgentMailClient {
|
|
|
51
51
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
52
52
|
"X-Fern-Language": "JavaScript",
|
|
53
53
|
"X-Fern-SDK-Name": "agentmail",
|
|
54
|
-
"X-Fern-SDK-Version": "0.0.
|
|
55
|
-
"User-Agent": "agentmail/0.0.
|
|
54
|
+
"X-Fern-SDK-Version": "0.0.52",
|
|
55
|
+
"User-Agent": "agentmail/0.0.52",
|
|
56
56
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
57
57
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
58
58
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as AgentMail from "../../../../../index.js";
|
|
5
|
+
export interface Bounce {
|
|
6
|
+
inbox_id: AgentMail.inboxes.InboxId;
|
|
7
|
+
message_id: AgentMail.MessageId;
|
|
8
|
+
timestamp: AgentMail.webhooks.Timestamp;
|
|
9
|
+
/** Bounce type. */
|
|
10
|
+
type: string;
|
|
11
|
+
/** Bounce sub-type. */
|
|
12
|
+
sub_type: string;
|
|
13
|
+
/** Bounced recipients. */
|
|
14
|
+
recipients: AgentMail.webhooks.Recipient[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as AgentMail from "../../../../../index.js";
|
|
5
|
+
export interface MessageBouncedPayload {
|
|
6
|
+
event_type: AgentMail.webhooks.EventType;
|
|
7
|
+
event_id: AgentMail.webhooks.EventId;
|
|
8
|
+
bounce: AgentMail.webhooks.Bounce;
|
|
9
|
+
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export * from "./EventId.js";
|
|
2
|
+
export * from "./Timestamp.js";
|
|
3
|
+
export * from "./Recipient.js";
|
|
4
|
+
export * from "./Bounce.js";
|
|
5
|
+
export * from "./MessageBouncedPayload.js";
|
|
2
6
|
export * from "./MessageReceivedPayload.js";
|
|
3
7
|
export * from "./SvixId.js";
|
|
4
8
|
export * from "./SvixTimestamp.js";
|
|
@@ -15,6 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./EventId.js"), exports);
|
|
18
|
+
__exportStar(require("./Timestamp.js"), exports);
|
|
19
|
+
__exportStar(require("./Recipient.js"), exports);
|
|
20
|
+
__exportStar(require("./Bounce.js"), exports);
|
|
21
|
+
__exportStar(require("./MessageBouncedPayload.js"), exports);
|
|
18
22
|
__exportStar(require("./MessageReceivedPayload.js"), exports);
|
|
19
23
|
__exportStar(require("./SvixId.js"), exports);
|
|
20
24
|
__exportStar(require("./SvixTimestamp.js"), exports);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type EventType = "message.received";
|
|
4
|
+
export type EventType = "message.received" | "message.bounced";
|
|
5
5
|
export declare const EventType: {
|
|
6
6
|
readonly MessageReceived: "message.received";
|
|
7
|
+
readonly MessageBounced: "message.bounced";
|
|
7
8
|
};
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.52";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -15,8 +15,8 @@ export class AgentMailClient {
|
|
|
15
15
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
16
16
|
"X-Fern-Language": "JavaScript",
|
|
17
17
|
"X-Fern-SDK-Name": "agentmail",
|
|
18
|
-
"X-Fern-SDK-Version": "0.0.
|
|
19
|
-
"User-Agent": "agentmail/0.0.
|
|
18
|
+
"X-Fern-SDK-Version": "0.0.52",
|
|
19
|
+
"User-Agent": "agentmail/0.0.52",
|
|
20
20
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
21
21
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
22
22
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as AgentMail from "../../../../../index.mjs";
|
|
5
|
+
export interface Bounce {
|
|
6
|
+
inbox_id: AgentMail.inboxes.InboxId;
|
|
7
|
+
message_id: AgentMail.MessageId;
|
|
8
|
+
timestamp: AgentMail.webhooks.Timestamp;
|
|
9
|
+
/** Bounce type. */
|
|
10
|
+
type: string;
|
|
11
|
+
/** Bounce sub-type. */
|
|
12
|
+
sub_type: string;
|
|
13
|
+
/** Bounced recipients. */
|
|
14
|
+
recipients: AgentMail.webhooks.Recipient[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as AgentMail from "../../../../../index.mjs";
|
|
5
|
+
export interface MessageBouncedPayload {
|
|
6
|
+
event_type: AgentMail.webhooks.EventType;
|
|
7
|
+
event_id: AgentMail.webhooks.EventId;
|
|
8
|
+
bounce: AgentMail.webhooks.Bounce;
|
|
9
|
+
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export * from "./EventId.mjs";
|
|
2
|
+
export * from "./Timestamp.mjs";
|
|
3
|
+
export * from "./Recipient.mjs";
|
|
4
|
+
export * from "./Bounce.mjs";
|
|
5
|
+
export * from "./MessageBouncedPayload.mjs";
|
|
2
6
|
export * from "./MessageReceivedPayload.mjs";
|
|
3
7
|
export * from "./SvixId.mjs";
|
|
4
8
|
export * from "./SvixTimestamp.mjs";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export * from "./EventId.mjs";
|
|
2
|
+
export * from "./Timestamp.mjs";
|
|
3
|
+
export * from "./Recipient.mjs";
|
|
4
|
+
export * from "./Bounce.mjs";
|
|
5
|
+
export * from "./MessageBouncedPayload.mjs";
|
|
2
6
|
export * from "./MessageReceivedPayload.mjs";
|
|
3
7
|
export * from "./SvixId.mjs";
|
|
4
8
|
export * from "./SvixTimestamp.mjs";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type EventType = "message.received";
|
|
4
|
+
export type EventType = "message.received" | "message.bounced";
|
|
5
5
|
export declare const EventType: {
|
|
6
6
|
readonly MessageReceived: "message.received";
|
|
7
|
+
readonly MessageBounced: "message.bounced";
|
|
7
8
|
};
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.52";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.52";
|