resend 6.32.1-preview-inboxes.3 → 6.32.1-preview-inboxes.4
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/index.cjs +4 -3
- package/dist/index.d.cts +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +4 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -64,7 +64,7 @@ const INBOX_LABEL_COLORS = [
|
|
|
64
64
|
];
|
|
65
65
|
//#endregion
|
|
66
66
|
//#region package.json
|
|
67
|
-
var version = "6.32.1-preview-inboxes.
|
|
67
|
+
var version = "6.32.1-preview-inboxes.4";
|
|
68
68
|
//#endregion
|
|
69
69
|
//#region src/common/utils/build-pagination-query.ts
|
|
70
70
|
function buildPaginationUrl(base, options) {
|
|
@@ -1134,13 +1134,14 @@ var InboxThreadEmails = class {
|
|
|
1134
1134
|
return this.resend.get(`/inboxes/${inboxId}/threads/${threadId}/emails/${emailId}`, requestOptions);
|
|
1135
1135
|
}
|
|
1136
1136
|
async reply(payload, options = {}) {
|
|
1137
|
-
const { inboxId, threadId, emailId, cc, bcc, html, text, subject } = payload;
|
|
1137
|
+
const { inboxId, threadId, emailId, cc, bcc, html, text, subject, replyAll } = payload;
|
|
1138
1138
|
return this.resend.post(`/inboxes/${inboxId}/threads/${threadId}/emails/${emailId}/reply`, {
|
|
1139
1139
|
cc,
|
|
1140
1140
|
bcc,
|
|
1141
1141
|
html,
|
|
1142
1142
|
text,
|
|
1143
|
-
subject
|
|
1143
|
+
subject,
|
|
1144
|
+
reply_all: replyAll
|
|
1144
1145
|
}, options);
|
|
1145
1146
|
}
|
|
1146
1147
|
async forward(payload, options = {}) {
|
package/dist/index.d.cts
CHANGED
|
@@ -2041,6 +2041,7 @@ type ReplyInboxThreadEmailOptions = {
|
|
|
2041
2041
|
cc?: string | string[];
|
|
2042
2042
|
bcc?: string | string[];
|
|
2043
2043
|
subject?: string;
|
|
2044
|
+
replyAll?: boolean;
|
|
2044
2045
|
};
|
|
2045
2046
|
interface ReplyInboxThreadEmailRequestOptions extends PostOptions, IdempotentRequest {}
|
|
2046
2047
|
type ReplyInboxThreadEmailResponseSuccess = InboxMessage & {
|
package/dist/index.d.mts
CHANGED
|
@@ -2041,6 +2041,7 @@ type ReplyInboxThreadEmailOptions = {
|
|
|
2041
2041
|
cc?: string | string[];
|
|
2042
2042
|
bcc?: string | string[];
|
|
2043
2043
|
subject?: string;
|
|
2044
|
+
replyAll?: boolean;
|
|
2044
2045
|
};
|
|
2045
2046
|
interface ReplyInboxThreadEmailRequestOptions extends PostOptions, IdempotentRequest {}
|
|
2046
2047
|
type ReplyInboxThreadEmailResponseSuccess = InboxMessage & {
|
package/dist/index.mjs
CHANGED
|
@@ -40,7 +40,7 @@ const INBOX_LABEL_COLORS = [
|
|
|
40
40
|
];
|
|
41
41
|
//#endregion
|
|
42
42
|
//#region package.json
|
|
43
|
-
var version = "6.32.1-preview-inboxes.
|
|
43
|
+
var version = "6.32.1-preview-inboxes.4";
|
|
44
44
|
//#endregion
|
|
45
45
|
//#region src/common/utils/build-pagination-query.ts
|
|
46
46
|
function buildPaginationUrl(base, options) {
|
|
@@ -1110,13 +1110,14 @@ var InboxThreadEmails = class {
|
|
|
1110
1110
|
return this.resend.get(`/inboxes/${inboxId}/threads/${threadId}/emails/${emailId}`, requestOptions);
|
|
1111
1111
|
}
|
|
1112
1112
|
async reply(payload, options = {}) {
|
|
1113
|
-
const { inboxId, threadId, emailId, cc, bcc, html, text, subject } = payload;
|
|
1113
|
+
const { inboxId, threadId, emailId, cc, bcc, html, text, subject, replyAll } = payload;
|
|
1114
1114
|
return this.resend.post(`/inboxes/${inboxId}/threads/${threadId}/emails/${emailId}/reply`, {
|
|
1115
1115
|
cc,
|
|
1116
1116
|
bcc,
|
|
1117
1117
|
html,
|
|
1118
1118
|
text,
|
|
1119
|
-
subject
|
|
1119
|
+
subject,
|
|
1120
|
+
reply_all: replyAll
|
|
1120
1121
|
}, options);
|
|
1121
1122
|
}
|
|
1122
1123
|
async forward(payload, options = {}) {
|