@emilgroup/notification-sdk 0.8.1-beta.24 → 0.8.1-beta.26
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.26 --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.26
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
|
@@ -40,6 +40,18 @@ export interface EmailMessageClass {
|
|
|
40
40
|
* @memberof EmailMessageClass
|
|
41
41
|
*/
|
|
42
42
|
'matchStatus': EmailMessageClassMatchStatusEnum;
|
|
43
|
+
/**
|
|
44
|
+
* What this row is: a message somebody wrote, or a delivery report (bounce) a mail server sent back about an outbound message
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof EmailMessageClass
|
|
47
|
+
*/
|
|
48
|
+
'kind': EmailMessageClassKindEnum;
|
|
49
|
+
/**
|
|
50
|
+
* Delivery report only: code of the outbound message the report is about
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof EmailMessageClass
|
|
53
|
+
*/
|
|
54
|
+
'reportedMessageCode'?: string;
|
|
43
55
|
/**
|
|
44
56
|
* Provider that received an inbound message
|
|
45
57
|
* @type {string}
|
|
@@ -167,6 +179,11 @@ export declare const EmailMessageClassMatchStatusEnum: {
|
|
|
167
179
|
readonly Unassigned: "unassigned";
|
|
168
180
|
};
|
|
169
181
|
export type EmailMessageClassMatchStatusEnum = typeof EmailMessageClassMatchStatusEnum[keyof typeof EmailMessageClassMatchStatusEnum];
|
|
182
|
+
export declare const EmailMessageClassKindEnum: {
|
|
183
|
+
readonly Message: "message";
|
|
184
|
+
readonly DeliveryReport: "delivery_report";
|
|
185
|
+
};
|
|
186
|
+
export type EmailMessageClassKindEnum = typeof EmailMessageClassKindEnum[keyof typeof EmailMessageClassKindEnum];
|
|
170
187
|
export declare const EmailMessageClassProviderEnum: {
|
|
171
188
|
readonly Ses: "ses";
|
|
172
189
|
readonly Msgraph: "msgraph";
|
|
@@ -13,12 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.EmailMessageClassDeliveryStatusEnum = exports.EmailMessageClassDirectionEnum = exports.EmailMessageClassProviderEnum = exports.EmailMessageClassMatchStatusEnum = void 0;
|
|
16
|
+
exports.EmailMessageClassDeliveryStatusEnum = exports.EmailMessageClassDirectionEnum = exports.EmailMessageClassProviderEnum = exports.EmailMessageClassKindEnum = exports.EmailMessageClassMatchStatusEnum = void 0;
|
|
17
17
|
exports.EmailMessageClassMatchStatusEnum = {
|
|
18
18
|
Pending: 'pending',
|
|
19
19
|
Matched: 'matched',
|
|
20
20
|
Unassigned: 'unassigned'
|
|
21
21
|
};
|
|
22
|
+
exports.EmailMessageClassKindEnum = {
|
|
23
|
+
Message: 'message',
|
|
24
|
+
DeliveryReport: 'delivery_report'
|
|
25
|
+
};
|
|
22
26
|
exports.EmailMessageClassProviderEnum = {
|
|
23
27
|
Ses: 'ses',
|
|
24
28
|
Msgraph: 'msgraph'
|
|
@@ -45,6 +45,18 @@ export interface EmailMessageClass {
|
|
|
45
45
|
* @memberof EmailMessageClass
|
|
46
46
|
*/
|
|
47
47
|
'matchStatus': EmailMessageClassMatchStatusEnum;
|
|
48
|
+
/**
|
|
49
|
+
* What this row is: a message somebody wrote, or a delivery report (bounce) a mail server sent back about an outbound message
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof EmailMessageClass
|
|
52
|
+
*/
|
|
53
|
+
'kind': EmailMessageClassKindEnum;
|
|
54
|
+
/**
|
|
55
|
+
* Delivery report only: code of the outbound message the report is about
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof EmailMessageClass
|
|
58
|
+
*/
|
|
59
|
+
'reportedMessageCode'?: string;
|
|
48
60
|
/**
|
|
49
61
|
* Provider that received an inbound message
|
|
50
62
|
* @type {string}
|
|
@@ -174,6 +186,12 @@ export const EmailMessageClassMatchStatusEnum = {
|
|
|
174
186
|
} as const;
|
|
175
187
|
|
|
176
188
|
export type EmailMessageClassMatchStatusEnum = typeof EmailMessageClassMatchStatusEnum[keyof typeof EmailMessageClassMatchStatusEnum];
|
|
189
|
+
export const EmailMessageClassKindEnum = {
|
|
190
|
+
Message: 'message',
|
|
191
|
+
DeliveryReport: 'delivery_report'
|
|
192
|
+
} as const;
|
|
193
|
+
|
|
194
|
+
export type EmailMessageClassKindEnum = typeof EmailMessageClassKindEnum[keyof typeof EmailMessageClassKindEnum];
|
|
177
195
|
export const EmailMessageClassProviderEnum = {
|
|
178
196
|
Ses: 'ses',
|
|
179
197
|
Msgraph: 'msgraph'
|