@emilgroup/notification-sdk 0.8.1-beta.38 → 0.8.1-beta.39
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 +4 -3
- package/README.md +2 -2
- package/api/email-messages-api.ts +0 -223
- package/api/email-tracking-api.ts +231 -8
- package/dist/api/email-messages-api.d.ts +0 -122
- package/dist/api/email-messages-api.js +0 -191
- package/dist/api/email-tracking-api.d.ts +130 -8
- package/dist/api/email-tracking-api.js +197 -6
- package/dist/models/{assign-email-message-entity-body-dto.d.ts → assign-email-thread-entity-body-dto.d.ts} +9 -9
- package/dist/models/{assign-email-message-entity-body-dto.js → assign-email-thread-entity-body-dto.js} +2 -2
- package/dist/models/{assign-email-message-entity-response-class.d.ts → assign-email-thread-entity-response-class.d.ts} +7 -7
- package/dist/models/email-message-class.d.ts +4 -9
- package/dist/models/email-thread-class.d.ts +6 -5
- package/dist/models/entity-ref-class.d.ts +37 -0
- package/dist/models/entity-ref-class.js +22 -0
- package/dist/models/grpc-send-email-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +4 -3
- package/dist/models/index.js +4 -3
- package/dist/models/send-email-request-dto.d.ts +1 -1
- package/dist/models/send-notification-request-dto.d.ts +1 -1
- package/dist/models/{unassign-email-message-entity-response-class.d.ts → unassign-email-thread-entity-response-class.d.ts} +7 -7
- package/models/{assign-email-message-entity-body-dto.ts → assign-email-thread-entity-body-dto.ts} +9 -9
- package/models/{assign-email-message-entity-response-class.ts → assign-email-thread-entity-response-class.ts} +7 -7
- package/models/email-message-class.ts +4 -9
- package/models/email-thread-class.ts +6 -5
- package/models/entity-ref-class.ts +46 -0
- package/models/grpc-send-email-request-dto.ts +1 -1
- package/models/index.ts +4 -3
- package/models/send-email-request-dto.ts +1 -1
- package/models/send-notification-request-dto.ts +1 -1
- package/models/{unassign-email-message-entity-response-class.ts → unassign-email-thread-entity-response-class.ts} +7 -7
- package/package.json +1 -1
- /package/dist/models/{assign-email-message-entity-response-class.js → assign-email-thread-entity-response-class.js} +0 -0
- /package/dist/models/{unassign-email-message-entity-response-class.js → unassign-email-thread-entity-response-class.js} +0 -0
package/models/{assign-email-message-entity-body-dto.ts → assign-email-thread-entity-body-dto.ts}
RENAMED
|
@@ -17,36 +17,36 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface AssignEmailThreadEntityBodyDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface AssignEmailThreadEntityBodyDto {
|
|
23
23
|
/**
|
|
24
|
-
* Type of the entity the email
|
|
24
|
+
* Type of the entity the email thread belongs to
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof AssignEmailThreadEntityBodyDto
|
|
27
27
|
*/
|
|
28
|
-
'entityType':
|
|
28
|
+
'entityType': AssignEmailThreadEntityBodyDtoEntityTypeEnum;
|
|
29
29
|
/**
|
|
30
30
|
* Code of the entity. Required unless entityNumber is set; takes precedence over entityNumber.
|
|
31
31
|
* @type {string}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof AssignEmailThreadEntityBodyDto
|
|
33
33
|
*/
|
|
34
34
|
'entityCode'?: string;
|
|
35
35
|
/**
|
|
36
36
|
* Number of the entity, e.g. the policy number. Used only when entityCode is not set.
|
|
37
37
|
* @type {string}
|
|
38
|
-
* @memberof
|
|
38
|
+
* @memberof AssignEmailThreadEntityBodyDto
|
|
39
39
|
*/
|
|
40
40
|
'entityNumber'?: string;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
export const
|
|
43
|
+
export const AssignEmailThreadEntityBodyDtoEntityTypeEnum = {
|
|
44
44
|
Claim: 'Claim',
|
|
45
45
|
Policy: 'Policy',
|
|
46
46
|
Lead: 'Lead',
|
|
47
47
|
Partner: 'Partner'
|
|
48
48
|
} as const;
|
|
49
49
|
|
|
50
|
-
export type
|
|
50
|
+
export type AssignEmailThreadEntityBodyDtoEntityTypeEnum = typeof AssignEmailThreadEntityBodyDtoEntityTypeEnum[keyof typeof AssignEmailThreadEntityBodyDtoEntityTypeEnum];
|
|
51
51
|
|
|
52
52
|
|
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { EmailThreadClass } from './email-thread-class';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @export
|
|
21
|
-
* @interface
|
|
21
|
+
* @interface AssignEmailThreadEntityResponseClass
|
|
22
22
|
*/
|
|
23
|
-
export interface
|
|
23
|
+
export interface AssignEmailThreadEntityResponseClass {
|
|
24
24
|
/**
|
|
25
|
-
* The email
|
|
26
|
-
* @type {
|
|
27
|
-
* @memberof
|
|
25
|
+
* The email thread response.
|
|
26
|
+
* @type {EmailThreadClass}
|
|
27
|
+
* @memberof AssignEmailThreadEntityResponseClass
|
|
28
28
|
*/
|
|
29
|
-
'
|
|
29
|
+
'thread': EmailThreadClass;
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import { EmailAttachmentClass } from './email-attachment-class';
|
|
17
|
+
import { EntityRefClass } from './entity-ref-class';
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
@@ -160,17 +161,11 @@ export interface EmailMessageClass {
|
|
|
160
161
|
*/
|
|
161
162
|
'attachments': Array<EmailAttachmentClass>;
|
|
162
163
|
/**
|
|
163
|
-
*
|
|
164
|
-
* @type {
|
|
165
|
-
* @memberof EmailMessageClass
|
|
166
|
-
*/
|
|
167
|
-
'entityType': string;
|
|
168
|
-
/**
|
|
169
|
-
* Entity code this message is associated with
|
|
170
|
-
* @type {string}
|
|
164
|
+
* The entity the message\'s thread is linked to. Not set while the message is unassigned.
|
|
165
|
+
* @type {EntityRefClass}
|
|
171
166
|
* @memberof EmailMessageClass
|
|
172
167
|
*/
|
|
173
|
-
'
|
|
168
|
+
'entityRef'?: EntityRefClass;
|
|
174
169
|
/**
|
|
175
170
|
* Business number of the linked entity (policy, lead, claim or partner number)
|
|
176
171
|
* @type {string}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { EntityRefClass } from './entity-ref-class';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -33,17 +34,17 @@ export interface EmailThreadClass {
|
|
|
33
34
|
*/
|
|
34
35
|
'code': string;
|
|
35
36
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {
|
|
37
|
+
* The entity the thread, and every message in it, is linked to. Not set while the thread is unassigned.
|
|
38
|
+
* @type {EntityRefClass}
|
|
38
39
|
* @memberof EmailThreadClass
|
|
39
40
|
*/
|
|
40
|
-
'
|
|
41
|
+
'entityRef'?: EntityRefClass;
|
|
41
42
|
/**
|
|
42
|
-
*
|
|
43
|
+
* Number of the entity the thread is linked to
|
|
43
44
|
* @type {string}
|
|
44
45
|
* @memberof EmailThreadClass
|
|
45
46
|
*/
|
|
46
|
-
'
|
|
47
|
+
'entityNumber'?: string;
|
|
47
48
|
/**
|
|
48
49
|
* Email subject of the thread
|
|
49
50
|
* @type {string}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL NotificationService
|
|
5
|
+
* The EMIL NotificationService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface EntityRefClass
|
|
21
|
+
*/
|
|
22
|
+
export interface EntityRefClass {
|
|
23
|
+
/**
|
|
24
|
+
* Type of the linked entity
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof EntityRefClass
|
|
27
|
+
*/
|
|
28
|
+
'type': EntityRefClassTypeEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Code of the linked entity
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof EntityRefClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export const EntityRefClassTypeEnum = {
|
|
38
|
+
Claim: 'Claim',
|
|
39
|
+
Policy: 'Policy',
|
|
40
|
+
Lead: 'Lead',
|
|
41
|
+
Partner: 'Partner'
|
|
42
|
+
} as const;
|
|
43
|
+
|
|
44
|
+
export type EntityRefClassTypeEnum = typeof EntityRefClassTypeEnum[keyof typeof EntityRefClassTypeEnum];
|
|
45
|
+
|
|
46
|
+
|
|
@@ -95,7 +95,7 @@ export interface GrpcSendEmailRequestDto {
|
|
|
95
95
|
*/
|
|
96
96
|
'entityCode'?: string;
|
|
97
97
|
/**
|
|
98
|
-
* Reply-To address. Auto-generated when
|
|
98
|
+
* Reply-To address. Auto-generated when reply tracking is enabled.
|
|
99
99
|
* @type {string}
|
|
100
100
|
* @memberof GrpcSendEmailRequestDto
|
|
101
101
|
*/
|
package/models/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './assign-email-
|
|
2
|
-
export * from './assign-email-
|
|
1
|
+
export * from './assign-email-thread-entity-body-dto';
|
|
2
|
+
export * from './assign-email-thread-entity-response-class';
|
|
3
3
|
export * from './complete-email-verification-dto';
|
|
4
4
|
export * from './complete-email-verification-response-class';
|
|
5
5
|
export * from './create-layout-request-dto';
|
|
@@ -12,6 +12,7 @@ export * from './download-attachment-response-class';
|
|
|
12
12
|
export * from './email-attachment-class';
|
|
13
13
|
export * from './email-message-class';
|
|
14
14
|
export * from './email-thread-class';
|
|
15
|
+
export * from './entity-ref-class';
|
|
15
16
|
export * from './get-email-message-response-class';
|
|
16
17
|
export * from './get-email-thread-response-class';
|
|
17
18
|
export * from './get-layout-request-dto';
|
|
@@ -37,7 +38,7 @@ export * from './send-email-request-dto';
|
|
|
37
38
|
export * from './send-email-response-class';
|
|
38
39
|
export * from './send-notification-request-dto';
|
|
39
40
|
export * from './send-notification-response-class';
|
|
40
|
-
export * from './unassign-email-
|
|
41
|
+
export * from './unassign-email-thread-entity-response-class';
|
|
41
42
|
export * from './update-html-template-request-dto';
|
|
42
43
|
export * from './update-layout-request-dto';
|
|
43
44
|
export * from './update-layout-response-class';
|
|
@@ -95,7 +95,7 @@ export interface SendEmailRequestDto {
|
|
|
95
95
|
*/
|
|
96
96
|
'entityCode'?: string;
|
|
97
97
|
/**
|
|
98
|
-
* Reply-To address. Auto-generated when
|
|
98
|
+
* Reply-To address. Auto-generated when reply tracking is enabled.
|
|
99
99
|
* @type {string}
|
|
100
100
|
* @memberof SendEmailRequestDto
|
|
101
101
|
*/
|
|
@@ -88,7 +88,7 @@ export interface SendNotificationRequestDto {
|
|
|
88
88
|
*/
|
|
89
89
|
'entityCode'?: string;
|
|
90
90
|
/**
|
|
91
|
-
* Reply-To address for email reply tracking. Auto-generated when
|
|
91
|
+
* Reply-To address for email reply tracking. Auto-generated when reply tracking is enabled.
|
|
92
92
|
* @type {string}
|
|
93
93
|
* @memberof SendNotificationRequestDto
|
|
94
94
|
*/
|
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { EmailThreadClass } from './email-thread-class';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @export
|
|
21
|
-
* @interface
|
|
21
|
+
* @interface UnassignEmailThreadEntityResponseClass
|
|
22
22
|
*/
|
|
23
|
-
export interface
|
|
23
|
+
export interface UnassignEmailThreadEntityResponseClass {
|
|
24
24
|
/**
|
|
25
|
-
* The email
|
|
26
|
-
* @type {
|
|
27
|
-
* @memberof
|
|
25
|
+
* The email thread response.
|
|
26
|
+
* @type {EmailThreadClass}
|
|
27
|
+
* @memberof UnassignEmailThreadEntityResponseClass
|
|
28
28
|
*/
|
|
29
|
-
'
|
|
29
|
+
'thread': EmailThreadClass;
|
|
30
30
|
}
|
|
31
31
|
|
package/package.json
CHANGED
|
File without changes
|