@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.
Files changed (34) hide show
  1. package/.openapi-generator/FILES +4 -3
  2. package/README.md +2 -2
  3. package/api/email-messages-api.ts +0 -223
  4. package/api/email-tracking-api.ts +231 -8
  5. package/dist/api/email-messages-api.d.ts +0 -122
  6. package/dist/api/email-messages-api.js +0 -191
  7. package/dist/api/email-tracking-api.d.ts +130 -8
  8. package/dist/api/email-tracking-api.js +197 -6
  9. package/dist/models/{assign-email-message-entity-body-dto.d.ts → assign-email-thread-entity-body-dto.d.ts} +9 -9
  10. package/dist/models/{assign-email-message-entity-body-dto.js → assign-email-thread-entity-body-dto.js} +2 -2
  11. package/dist/models/{assign-email-message-entity-response-class.d.ts → assign-email-thread-entity-response-class.d.ts} +7 -7
  12. package/dist/models/email-message-class.d.ts +4 -9
  13. package/dist/models/email-thread-class.d.ts +6 -5
  14. package/dist/models/entity-ref-class.d.ts +37 -0
  15. package/dist/models/entity-ref-class.js +22 -0
  16. package/dist/models/grpc-send-email-request-dto.d.ts +1 -1
  17. package/dist/models/index.d.ts +4 -3
  18. package/dist/models/index.js +4 -3
  19. package/dist/models/send-email-request-dto.d.ts +1 -1
  20. package/dist/models/send-notification-request-dto.d.ts +1 -1
  21. package/dist/models/{unassign-email-message-entity-response-class.d.ts → unassign-email-thread-entity-response-class.d.ts} +7 -7
  22. package/models/{assign-email-message-entity-body-dto.ts → assign-email-thread-entity-body-dto.ts} +9 -9
  23. package/models/{assign-email-message-entity-response-class.ts → assign-email-thread-entity-response-class.ts} +7 -7
  24. package/models/email-message-class.ts +4 -9
  25. package/models/email-thread-class.ts +6 -5
  26. package/models/entity-ref-class.ts +46 -0
  27. package/models/grpc-send-email-request-dto.ts +1 -1
  28. package/models/index.ts +4 -3
  29. package/models/send-email-request-dto.ts +1 -1
  30. package/models/send-notification-request-dto.ts +1 -1
  31. package/models/{unassign-email-message-entity-response-class.ts → unassign-email-thread-entity-response-class.ts} +7 -7
  32. package/package.json +1 -1
  33. /package/dist/models/{assign-email-message-entity-response-class.js → assign-email-thread-entity-response-class.js} +0 -0
  34. /package/dist/models/{unassign-email-message-entity-response-class.js → unassign-email-thread-entity-response-class.js} +0 -0
@@ -17,36 +17,36 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface AssignEmailMessageEntityBodyDto
20
+ * @interface AssignEmailThreadEntityBodyDto
21
21
  */
22
- export interface AssignEmailMessageEntityBodyDto {
22
+ export interface AssignEmailThreadEntityBodyDto {
23
23
  /**
24
- * Type of the entity the email message belongs to
24
+ * Type of the entity the email thread belongs to
25
25
  * @type {string}
26
- * @memberof AssignEmailMessageEntityBodyDto
26
+ * @memberof AssignEmailThreadEntityBodyDto
27
27
  */
28
- 'entityType': AssignEmailMessageEntityBodyDtoEntityTypeEnum;
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 AssignEmailMessageEntityBodyDto
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 AssignEmailMessageEntityBodyDto
38
+ * @memberof AssignEmailThreadEntityBodyDto
39
39
  */
40
40
  'entityNumber'?: string;
41
41
  }
42
42
 
43
- export const AssignEmailMessageEntityBodyDtoEntityTypeEnum = {
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 AssignEmailMessageEntityBodyDtoEntityTypeEnum = typeof AssignEmailMessageEntityBodyDtoEntityTypeEnum[keyof typeof AssignEmailMessageEntityBodyDtoEntityTypeEnum];
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 { EmailMessageClass } from './email-message-class';
16
+ import { EmailThreadClass } from './email-thread-class';
17
17
 
18
18
  /**
19
19
  *
20
20
  * @export
21
- * @interface AssignEmailMessageEntityResponseClass
21
+ * @interface AssignEmailThreadEntityResponseClass
22
22
  */
23
- export interface AssignEmailMessageEntityResponseClass {
23
+ export interface AssignEmailThreadEntityResponseClass {
24
24
  /**
25
- * The email message response.
26
- * @type {EmailMessageClass}
27
- * @memberof AssignEmailMessageEntityResponseClass
25
+ * The email thread response.
26
+ * @type {EmailThreadClass}
27
+ * @memberof AssignEmailThreadEntityResponseClass
28
28
  */
29
- 'message': EmailMessageClass;
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
- * Entity type this message is associated with
164
- * @type {string}
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
- 'entityCode': string;
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
- * Entity type associated with this thread
37
- * @type {string}
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
- 'entityType': string;
41
+ 'entityRef'?: EntityRefClass;
41
42
  /**
42
- * Entity code associated with this thread
43
+ * Number of the entity the thread is linked to
43
44
  * @type {string}
44
45
  * @memberof EmailThreadClass
45
46
  */
46
- 'entityCode': string;
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 entityType and entityCode are provided and reply tracking is enabled.
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-message-entity-body-dto';
2
- export * from './assign-email-message-entity-response-class';
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-message-entity-response-class';
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 entityType and entityCode are provided and reply tracking is enabled.
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 entityType and entityCode are provided.
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 { EmailMessageClass } from './email-message-class';
16
+ import { EmailThreadClass } from './email-thread-class';
17
17
 
18
18
  /**
19
19
  *
20
20
  * @export
21
- * @interface UnassignEmailMessageEntityResponseClass
21
+ * @interface UnassignEmailThreadEntityResponseClass
22
22
  */
23
- export interface UnassignEmailMessageEntityResponseClass {
23
+ export interface UnassignEmailThreadEntityResponseClass {
24
24
  /**
25
- * The email message response.
26
- * @type {EmailMessageClass}
27
- * @memberof UnassignEmailMessageEntityResponseClass
25
+ * The email thread response.
26
+ * @type {EmailThreadClass}
27
+ * @memberof UnassignEmailThreadEntityResponseClass
28
28
  */
29
- 'message': EmailMessageClass;
29
+ 'thread': EmailThreadClass;
30
30
  }
31
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/notification-sdk",
3
- "version": "0.8.1-beta.38",
3
+ "version": "0.8.1-beta.39",
4
4
  "description": "OpenAPI client for @emilgroup/notification-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [