@emilgroup/notification-sdk 0.8.1-beta.21 → 0.8.1-beta.24
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/.openapi-generator/FILES +1 -0
- package/README.md +2 -2
- package/api/email-messages-api.ts +8 -8
- package/api/email-tracking-api.ts +8 -8
- package/api/msgraph-webhooks-api.ts +278 -0
- package/api.ts +2 -0
- package/dist/api/email-messages-api.d.ts +8 -8
- package/dist/api/email-messages-api.js +6 -6
- package/dist/api/email-tracking-api.d.ts +8 -8
- package/dist/api/email-tracking-api.js +6 -6
- package/dist/api/msgraph-webhooks-api.d.ts +168 -0
- package/dist/api/msgraph-webhooks-api.js +305 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/email-message-class.d.ts +30 -1
- package/dist/models/email-message-class.js +10 -1
- package/dist/models/send-notification-request-dto.d.ts +1 -0
- package/dist/models/send-notification-request-dto.js +2 -1
- package/models/email-message-class.ts +32 -1
- package/models/send-notification-request-dto.ts +2 -1
- package/package.json +1 -1
|
@@ -29,11 +29,23 @@ export interface EmailMessageClass {
|
|
|
29
29
|
*/
|
|
30
30
|
'code': string;
|
|
31
31
|
/**
|
|
32
|
-
* Thread code this message belongs to
|
|
32
|
+
* Thread code this message belongs to. Empty only while an inbound message is still being correlated.
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof EmailMessageClass
|
|
35
35
|
*/
|
|
36
36
|
'threadCode': string;
|
|
37
|
+
/**
|
|
38
|
+
* Correlation state of an inbound message: pending, matched (thread and entity known) or unassigned (thread known, no entity yet)
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof EmailMessageClass
|
|
41
|
+
*/
|
|
42
|
+
'matchStatus': EmailMessageClassMatchStatusEnum;
|
|
43
|
+
/**
|
|
44
|
+
* Provider that received an inbound message
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof EmailMessageClass
|
|
47
|
+
*/
|
|
48
|
+
'provider'?: EmailMessageClassProviderEnum;
|
|
37
49
|
/**
|
|
38
50
|
* Direction of the email
|
|
39
51
|
* @type {string}
|
|
@@ -142,7 +154,24 @@ export interface EmailMessageClass {
|
|
|
142
154
|
* @memberof EmailMessageClass
|
|
143
155
|
*/
|
|
144
156
|
'entityCode': string;
|
|
157
|
+
/**
|
|
158
|
+
* Business number of the linked entity (policy, lead, claim or partner number)
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof EmailMessageClass
|
|
161
|
+
*/
|
|
162
|
+
'entityNumber'?: string;
|
|
145
163
|
}
|
|
164
|
+
export declare const EmailMessageClassMatchStatusEnum: {
|
|
165
|
+
readonly Pending: "pending";
|
|
166
|
+
readonly Matched: "matched";
|
|
167
|
+
readonly Unassigned: "unassigned";
|
|
168
|
+
};
|
|
169
|
+
export type EmailMessageClassMatchStatusEnum = typeof EmailMessageClassMatchStatusEnum[keyof typeof EmailMessageClassMatchStatusEnum];
|
|
170
|
+
export declare const EmailMessageClassProviderEnum: {
|
|
171
|
+
readonly Ses: "ses";
|
|
172
|
+
readonly Msgraph: "msgraph";
|
|
173
|
+
};
|
|
174
|
+
export type EmailMessageClassProviderEnum = typeof EmailMessageClassProviderEnum[keyof typeof EmailMessageClassProviderEnum];
|
|
146
175
|
export declare const EmailMessageClassDirectionEnum: {
|
|
147
176
|
readonly Outbound: "outbound";
|
|
148
177
|
readonly Inbound: "inbound";
|
|
@@ -13,7 +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 = void 0;
|
|
16
|
+
exports.EmailMessageClassDeliveryStatusEnum = exports.EmailMessageClassDirectionEnum = exports.EmailMessageClassProviderEnum = exports.EmailMessageClassMatchStatusEnum = void 0;
|
|
17
|
+
exports.EmailMessageClassMatchStatusEnum = {
|
|
18
|
+
Pending: 'pending',
|
|
19
|
+
Matched: 'matched',
|
|
20
|
+
Unassigned: 'unassigned'
|
|
21
|
+
};
|
|
22
|
+
exports.EmailMessageClassProviderEnum = {
|
|
23
|
+
Ses: 'ses',
|
|
24
|
+
Msgraph: 'msgraph'
|
|
25
|
+
};
|
|
17
26
|
exports.EmailMessageClassDirectionEnum = {
|
|
18
27
|
Outbound: 'outbound',
|
|
19
28
|
Inbound: 'inbound'
|
|
@@ -121,5 +121,6 @@ export declare const SendNotificationRequestDtoEntityTypeEnum: {
|
|
|
121
121
|
readonly Claim: "Claim";
|
|
122
122
|
readonly Policy: "Policy";
|
|
123
123
|
readonly Lead: "Lead";
|
|
124
|
+
readonly Partner: "Partner";
|
|
124
125
|
};
|
|
125
126
|
export type SendNotificationRequestDtoEntityTypeEnum = typeof SendNotificationRequestDtoEntityTypeEnum[keyof typeof SendNotificationRequestDtoEntityTypeEnum];
|
|
@@ -34,11 +34,23 @@ export interface EmailMessageClass {
|
|
|
34
34
|
*/
|
|
35
35
|
'code': string;
|
|
36
36
|
/**
|
|
37
|
-
* Thread code this message belongs to
|
|
37
|
+
* Thread code this message belongs to. Empty only while an inbound message is still being correlated.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof EmailMessageClass
|
|
40
40
|
*/
|
|
41
41
|
'threadCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* Correlation state of an inbound message: pending, matched (thread and entity known) or unassigned (thread known, no entity yet)
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof EmailMessageClass
|
|
46
|
+
*/
|
|
47
|
+
'matchStatus': EmailMessageClassMatchStatusEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Provider that received an inbound message
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof EmailMessageClass
|
|
52
|
+
*/
|
|
53
|
+
'provider'?: EmailMessageClassProviderEnum;
|
|
42
54
|
/**
|
|
43
55
|
* Direction of the email
|
|
44
56
|
* @type {string}
|
|
@@ -147,8 +159,27 @@ export interface EmailMessageClass {
|
|
|
147
159
|
* @memberof EmailMessageClass
|
|
148
160
|
*/
|
|
149
161
|
'entityCode': string;
|
|
162
|
+
/**
|
|
163
|
+
* Business number of the linked entity (policy, lead, claim or partner number)
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof EmailMessageClass
|
|
166
|
+
*/
|
|
167
|
+
'entityNumber'?: string;
|
|
150
168
|
}
|
|
151
169
|
|
|
170
|
+
export const EmailMessageClassMatchStatusEnum = {
|
|
171
|
+
Pending: 'pending',
|
|
172
|
+
Matched: 'matched',
|
|
173
|
+
Unassigned: 'unassigned'
|
|
174
|
+
} as const;
|
|
175
|
+
|
|
176
|
+
export type EmailMessageClassMatchStatusEnum = typeof EmailMessageClassMatchStatusEnum[keyof typeof EmailMessageClassMatchStatusEnum];
|
|
177
|
+
export const EmailMessageClassProviderEnum = {
|
|
178
|
+
Ses: 'ses',
|
|
179
|
+
Msgraph: 'msgraph'
|
|
180
|
+
} as const;
|
|
181
|
+
|
|
182
|
+
export type EmailMessageClassProviderEnum = typeof EmailMessageClassProviderEnum[keyof typeof EmailMessageClassProviderEnum];
|
|
152
183
|
export const EmailMessageClassDirectionEnum = {
|
|
153
184
|
Outbound: 'outbound',
|
|
154
185
|
Inbound: 'inbound'
|
|
@@ -122,7 +122,8 @@ export interface SendNotificationRequestDto {
|
|
|
122
122
|
export const SendNotificationRequestDtoEntityTypeEnum = {
|
|
123
123
|
Claim: 'Claim',
|
|
124
124
|
Policy: 'Policy',
|
|
125
|
-
Lead: 'Lead'
|
|
125
|
+
Lead: 'Lead',
|
|
126
|
+
Partner: 'Partner'
|
|
126
127
|
} as const;
|
|
127
128
|
|
|
128
129
|
export type SendNotificationRequestDtoEntityTypeEnum = typeof SendNotificationRequestDtoEntityTypeEnum[keyof typeof SendNotificationRequestDtoEntityTypeEnum];
|