mailgun.js 12.1.0 → 12.1.1
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/AMD/definitions.amd.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [12.1.1](https://github.com/mailgun/mailgun.js/compare/v12.1.0...v12.1.1) (2025-10-10)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* Domain template types are missing headers field ([bb84b3f](https://github.com/mailgun/mailgun.js/commits/bb84b3fb49acd60e31c22924d70930e3208e5d62))
|
|
11
|
+
|
|
5
12
|
## [12.1.0](https://github.com/mailgun/mailgun.js/compare/v12.0.3...v12.1.0) (2025-09-25)
|
|
6
13
|
|
|
7
14
|
|
package/CJS/definitions.cjs
CHANGED
package/ESM/definitions.node.js
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { YesNo } from '../../Enums/index.js';
|
|
2
2
|
import { IDomainTemplate } from '../../Interfaces/Domains/index.js';
|
|
3
3
|
import { PagesList, ParsedPagesList } from '../Common/index.js';
|
|
4
|
+
export type DomainTemplateAllowedHeaders = {
|
|
5
|
+
From?: string;
|
|
6
|
+
'Reply-To'?: string;
|
|
7
|
+
Subject?: string;
|
|
8
|
+
};
|
|
4
9
|
export type DomainTemplateData = {
|
|
5
10
|
name: string;
|
|
6
11
|
description: string;
|
|
@@ -8,6 +13,8 @@ export type DomainTemplateData = {
|
|
|
8
13
|
tag?: string;
|
|
9
14
|
engine?: string;
|
|
10
15
|
comment?: string;
|
|
16
|
+
createdBy?: string;
|
|
17
|
+
headers?: DomainTemplateAllowedHeaders;
|
|
11
18
|
};
|
|
12
19
|
export type DomainTemplateVersionData = {
|
|
13
20
|
template: string;
|
|
@@ -15,6 +22,7 @@ export type DomainTemplateVersionData = {
|
|
|
15
22
|
engine?: string;
|
|
16
23
|
comment?: string;
|
|
17
24
|
active?: YesNo;
|
|
25
|
+
headers?: DomainTemplateAllowedHeaders;
|
|
18
26
|
};
|
|
19
27
|
export type DomainTemplateUpdateData = {
|
|
20
28
|
description: string;
|
|
@@ -23,6 +31,7 @@ export type DomainTemplateUpdateVersionData = {
|
|
|
23
31
|
template?: string;
|
|
24
32
|
comment?: string;
|
|
25
33
|
active?: YesNo;
|
|
34
|
+
headers?: DomainTemplateAllowedHeaders;
|
|
26
35
|
};
|
|
27
36
|
export type DomainTemplatesQuery = {
|
|
28
37
|
/** 'page' (optionally 'p') params from previous response's 'paging' object.
|
|
@@ -46,6 +55,7 @@ export type ShortTemplateVersion = {
|
|
|
46
55
|
};
|
|
47
56
|
export type TemplateVersion = ShortTemplateVersion & {
|
|
48
57
|
template: string;
|
|
58
|
+
headers?: DomainTemplateAllowedHeaders;
|
|
49
59
|
};
|
|
50
60
|
export type CreateDomainTemplateAPIResponse = {
|
|
51
61
|
status: number;
|
package/package.json
CHANGED
package/version.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
12.1.
|
|
1
|
+
12.1.1
|