@emilgroup/notification-sdk 0.8.1-beta.0 → 0.8.1-beta.10
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/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/notification-sdk@0.8.1-beta.
|
|
20
|
+
npm install @emilgroup/notification-sdk@0.8.1-beta.10 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/notification-sdk@0.8.1-beta.
|
|
24
|
+
yarn add @emilgroup/notification-sdk@0.8.1-beta.10
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
|
@@ -66,10 +66,12 @@ export interface SendNotificationRequestDto {
|
|
|
66
66
|
'productSlug'?: string;
|
|
67
67
|
/**
|
|
68
68
|
* Payload is used by the template engine to replace all template variables with proper data. For more information, please go to https://github.com/flosch/pongo2.
|
|
69
|
-
* @type {object}
|
|
69
|
+
* @type {{ [key: string]: object; }}
|
|
70
70
|
* @memberof SendNotificationRequestDto
|
|
71
71
|
*/
|
|
72
|
-
'payload':
|
|
72
|
+
'payload': {
|
|
73
|
+
[key: string]: object;
|
|
74
|
+
};
|
|
73
75
|
/**
|
|
74
76
|
* Entity type for email reply tracking.
|
|
75
77
|
* @type {string}
|
|
@@ -106,6 +108,14 @@ export interface SendNotificationRequestDto {
|
|
|
106
108
|
* @memberof SendNotificationRequestDto
|
|
107
109
|
*/
|
|
108
110
|
'references': Array<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Custom headers to set on the outgoing email
|
|
113
|
+
* @type {{ [key: string]: string; }}
|
|
114
|
+
* @memberof SendNotificationRequestDto
|
|
115
|
+
*/
|
|
116
|
+
'customHeaders': {
|
|
117
|
+
[key: string]: string;
|
|
118
|
+
};
|
|
109
119
|
}
|
|
110
120
|
export declare const SendNotificationRequestDtoEntityTypeEnum: {
|
|
111
121
|
readonly Claim: "Claim";
|
|
@@ -71,10 +71,10 @@ export interface SendNotificationRequestDto {
|
|
|
71
71
|
'productSlug'?: string;
|
|
72
72
|
/**
|
|
73
73
|
* Payload is used by the template engine to replace all template variables with proper data. For more information, please go to https://github.com/flosch/pongo2.
|
|
74
|
-
* @type {object}
|
|
74
|
+
* @type {{ [key: string]: object; }}
|
|
75
75
|
* @memberof SendNotificationRequestDto
|
|
76
76
|
*/
|
|
77
|
-
'payload': object;
|
|
77
|
+
'payload': { [key: string]: object; };
|
|
78
78
|
/**
|
|
79
79
|
* Entity type for email reply tracking.
|
|
80
80
|
* @type {string}
|
|
@@ -111,6 +111,12 @@ export interface SendNotificationRequestDto {
|
|
|
111
111
|
* @memberof SendNotificationRequestDto
|
|
112
112
|
*/
|
|
113
113
|
'references': Array<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Custom headers to set on the outgoing email
|
|
116
|
+
* @type {{ [key: string]: string; }}
|
|
117
|
+
* @memberof SendNotificationRequestDto
|
|
118
|
+
*/
|
|
119
|
+
'customHeaders': { [key: string]: string; };
|
|
114
120
|
}
|
|
115
121
|
|
|
116
122
|
export const SendNotificationRequestDtoEntityTypeEnum = {
|