agentmail 0.0.52 → 0.0.53
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/Complaint.d.ts +15 -0
- package/dist/cjs/api/resources/webhooks/resources/events/types/Complaint.js +5 -0
- package/dist/cjs/api/resources/webhooks/resources/events/types/MessageComplainedPayload.d.ts +9 -0
- package/dist/cjs/api/resources/webhooks/resources/events/types/MessageComplainedPayload.js +5 -0
- package/dist/cjs/api/resources/webhooks/resources/events/types/index.d.ts +3 -1
- package/dist/cjs/api/resources/webhooks/resources/events/types/index.js +3 -1
- 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/Complaint.d.mts +15 -0
- package/dist/esm/api/resources/webhooks/resources/events/types/Complaint.mjs +4 -0
- package/dist/esm/api/resources/webhooks/resources/events/types/MessageComplainedPayload.d.mts +9 -0
- package/dist/esm/api/resources/webhooks/resources/events/types/MessageComplainedPayload.mjs +4 -0
- package/dist/esm/api/resources/webhooks/resources/events/types/index.d.mts +3 -1
- package/dist/esm/api/resources/webhooks/resources/events/types/index.mjs +3 -1
- 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.53",
|
|
55
|
+
"User-Agent": "agentmail/0.0.53",
|
|
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 Complaint {
|
|
6
|
+
inbox_id: AgentMail.inboxes.InboxId;
|
|
7
|
+
message_id: AgentMail.MessageId;
|
|
8
|
+
timestamp: AgentMail.webhooks.Timestamp;
|
|
9
|
+
/** Complaint type. */
|
|
10
|
+
type: string;
|
|
11
|
+
/** Complaint sub-type. */
|
|
12
|
+
sub_type: string;
|
|
13
|
+
/** Complained recipients. */
|
|
14
|
+
recipients: string[];
|
|
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 MessageComplainedPayload {
|
|
6
|
+
event_type: AgentMail.webhooks.EventType;
|
|
7
|
+
event_id: AgentMail.webhooks.EventId;
|
|
8
|
+
complaint: AgentMail.webhooks.Complaint;
|
|
9
|
+
}
|
|
@@ -2,8 +2,10 @@ export * from "./EventId.js";
|
|
|
2
2
|
export * from "./Timestamp.js";
|
|
3
3
|
export * from "./Recipient.js";
|
|
4
4
|
export * from "./Bounce.js";
|
|
5
|
-
export * from "./
|
|
5
|
+
export * from "./Complaint.js";
|
|
6
6
|
export * from "./MessageReceivedPayload.js";
|
|
7
|
+
export * from "./MessageBouncedPayload.js";
|
|
8
|
+
export * from "./MessageComplainedPayload.js";
|
|
7
9
|
export * from "./SvixId.js";
|
|
8
10
|
export * from "./SvixTimestamp.js";
|
|
9
11
|
export * from "./SvixSignature.js";
|
|
@@ -18,8 +18,10 @@ __exportStar(require("./EventId.js"), exports);
|
|
|
18
18
|
__exportStar(require("./Timestamp.js"), exports);
|
|
19
19
|
__exportStar(require("./Recipient.js"), exports);
|
|
20
20
|
__exportStar(require("./Bounce.js"), exports);
|
|
21
|
-
__exportStar(require("./
|
|
21
|
+
__exportStar(require("./Complaint.js"), exports);
|
|
22
22
|
__exportStar(require("./MessageReceivedPayload.js"), exports);
|
|
23
|
+
__exportStar(require("./MessageBouncedPayload.js"), exports);
|
|
24
|
+
__exportStar(require("./MessageComplainedPayload.js"), exports);
|
|
23
25
|
__exportStar(require("./SvixId.js"), exports);
|
|
24
26
|
__exportStar(require("./SvixTimestamp.js"), exports);
|
|
25
27
|
__exportStar(require("./SvixSignature.js"), exports);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type EventType = "message.received" | "message.bounced";
|
|
4
|
+
export type EventType = "message.received" | "message.bounced" | "message.complained";
|
|
5
5
|
export declare const EventType: {
|
|
6
6
|
readonly MessageReceived: "message.received";
|
|
7
7
|
readonly MessageBounced: "message.bounced";
|
|
8
|
+
readonly MessageComplained: "message.complained";
|
|
8
9
|
};
|
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.53";
|
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.53",
|
|
19
|
+
"User-Agent": "agentmail/0.0.53",
|
|
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 Complaint {
|
|
6
|
+
inbox_id: AgentMail.inboxes.InboxId;
|
|
7
|
+
message_id: AgentMail.MessageId;
|
|
8
|
+
timestamp: AgentMail.webhooks.Timestamp;
|
|
9
|
+
/** Complaint type. */
|
|
10
|
+
type: string;
|
|
11
|
+
/** Complaint sub-type. */
|
|
12
|
+
sub_type: string;
|
|
13
|
+
/** Complained recipients. */
|
|
14
|
+
recipients: string[];
|
|
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 MessageComplainedPayload {
|
|
6
|
+
event_type: AgentMail.webhooks.EventType;
|
|
7
|
+
event_id: AgentMail.webhooks.EventId;
|
|
8
|
+
complaint: AgentMail.webhooks.Complaint;
|
|
9
|
+
}
|
|
@@ -2,8 +2,10 @@ export * from "./EventId.mjs";
|
|
|
2
2
|
export * from "./Timestamp.mjs";
|
|
3
3
|
export * from "./Recipient.mjs";
|
|
4
4
|
export * from "./Bounce.mjs";
|
|
5
|
-
export * from "./
|
|
5
|
+
export * from "./Complaint.mjs";
|
|
6
6
|
export * from "./MessageReceivedPayload.mjs";
|
|
7
|
+
export * from "./MessageBouncedPayload.mjs";
|
|
8
|
+
export * from "./MessageComplainedPayload.mjs";
|
|
7
9
|
export * from "./SvixId.mjs";
|
|
8
10
|
export * from "./SvixTimestamp.mjs";
|
|
9
11
|
export * from "./SvixSignature.mjs";
|
|
@@ -2,8 +2,10 @@ export * from "./EventId.mjs";
|
|
|
2
2
|
export * from "./Timestamp.mjs";
|
|
3
3
|
export * from "./Recipient.mjs";
|
|
4
4
|
export * from "./Bounce.mjs";
|
|
5
|
-
export * from "./
|
|
5
|
+
export * from "./Complaint.mjs";
|
|
6
6
|
export * from "./MessageReceivedPayload.mjs";
|
|
7
|
+
export * from "./MessageBouncedPayload.mjs";
|
|
8
|
+
export * from "./MessageComplainedPayload.mjs";
|
|
7
9
|
export * from "./SvixId.mjs";
|
|
8
10
|
export * from "./SvixTimestamp.mjs";
|
|
9
11
|
export * from "./SvixSignature.mjs";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type EventType = "message.received" | "message.bounced";
|
|
4
|
+
export type EventType = "message.received" | "message.bounced" | "message.complained";
|
|
5
5
|
export declare const EventType: {
|
|
6
6
|
readonly MessageReceived: "message.received";
|
|
7
7
|
readonly MessageBounced: "message.bounced";
|
|
8
|
+
readonly MessageComplained: "message.complained";
|
|
8
9
|
};
|
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.53";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.53";
|