feat: add custom email headers (#260)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "usesend"
|
||||
version = "0.2.4"
|
||||
version = "0.2.5"
|
||||
description = "Python SDK for the UseSend API"
|
||||
authors = ["UseSend"]
|
||||
license = "MIT"
|
||||
|
||||
@@ -215,6 +215,7 @@ EmailCreate = TypedDict(
|
||||
'attachments': NotRequired[List[Attachment]],
|
||||
'scheduledAt': NotRequired[Union[datetime, str]],
|
||||
'inReplyToId': NotRequired[str],
|
||||
'headers': NotRequired[Dict[str, str]],
|
||||
}
|
||||
)
|
||||
|
||||
@@ -239,6 +240,7 @@ EmailBatchItem = TypedDict(
|
||||
'attachments': NotRequired[List[Attachment]],
|
||||
'scheduledAt': NotRequired[Union[datetime, str]],
|
||||
'inReplyToId': NotRequired[str],
|
||||
'headers': NotRequired[Dict[str, str]],
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "usesend-js",
|
||||
"version": "1.5.3",
|
||||
"version": "1.5.4",
|
||||
"description": "",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
|
||||
Vendored
+8
@@ -535,6 +535,10 @@ export interface paths {
|
||||
bcc?: string | string[];
|
||||
text?: string | null;
|
||||
html?: string | null;
|
||||
/** @description Custom headers to included with the emails */
|
||||
headers?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
attachments?: {
|
||||
filename: string;
|
||||
content: string;
|
||||
@@ -598,6 +602,10 @@ export interface paths {
|
||||
bcc?: string | string[];
|
||||
text?: string | null;
|
||||
html?: string | null;
|
||||
/** @description Custom headers to included with the emails */
|
||||
headers?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
attachments?: {
|
||||
filename: string;
|
||||
content: string;
|
||||
|
||||
Reference in New Issue
Block a user