@emilgroup/notification-sdk-node 1.4.1-beta.1 → 1.4.1-beta.14
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 +11 -0
- package/README.md +2 -2
- package/api/email-messages-api.ts +372 -0
- package/api/email-tracking-api.ts +541 -0
- package/api.ts +4 -0
- package/base.ts +0 -1
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/email-messages-api.d.ts +205 -0
- package/dist/api/email-messages-api.js +405 -0
- package/dist/api/email-tracking-api.d.ts +301 -0
- package/dist/api/email-tracking-api.js +524 -0
- package/dist/api/email-verifications-api.d.ts +2 -2
- package/dist/api/layouts-api.d.ts +5 -5
- package/dist/api/notification-templates-api.d.ts +5 -5
- package/dist/api/notifications-api.d.ts +1 -1
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/common.d.ts +1 -1
- package/dist/models/download-attachment-response-class.d.ts +36 -0
- package/dist/models/download-attachment-response-class.js +15 -0
- package/dist/models/email-attachment-class.d.ts +84 -0
- package/dist/models/email-attachment-class.js +15 -0
- package/dist/models/email-message-class.d.ts +140 -0
- package/dist/models/email-message-class.js +27 -0
- package/dist/models/email-thread-class.d.ts +83 -0
- package/dist/models/email-thread-class.js +20 -0
- package/dist/models/get-email-message-response-class.d.ts +25 -0
- package/dist/models/get-email-message-response-class.js +15 -0
- package/dist/models/get-email-thread-response-class.d.ts +25 -0
- package/dist/models/get-email-thread-response-class.js +15 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/list-email-attachments-response-class.d.ts +25 -0
- package/dist/models/list-email-attachments-response-class.js +15 -0
- package/dist/models/list-email-messages-response-class.d.ts +43 -0
- package/dist/models/list-email-messages-response-class.js +15 -0
- package/dist/models/list-email-threads-response-class.d.ts +43 -0
- package/dist/models/list-email-threads-response-class.js +15 -0
- package/dist/models/send-notification-request-dto.d.ts +44 -2
- package/dist/models/send-notification-request-dto.js +6 -0
- package/models/download-attachment-response-class.ts +42 -0
- package/models/email-attachment-class.ts +90 -0
- package/models/email-message-class.ts +150 -0
- package/models/email-thread-class.ts +92 -0
- package/models/get-email-message-response-class.ts +31 -0
- package/models/get-email-thread-response-class.ts +31 -0
- package/models/index.ts +9 -0
- package/models/list-email-attachments-response-class.ts +31 -0
- package/models/list-email-messages-response-class.ts +49 -0
- package/models/list-email-threads-response-class.ts +49 -0
- package/models/send-notification-request-dto.ts +47 -2
- package/package.json +3 -3
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL NotificationService
|
|
3
|
+
* The EMIL NotificationService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { EmailThreadClass } from './email-thread-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListEmailThreadsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListEmailThreadsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* List of email threads
|
|
21
|
+
* @type {Array<EmailThreadClass>}
|
|
22
|
+
* @memberof ListEmailThreadsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<EmailThreadClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Token for next page of results
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListEmailThreadsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
/**
|
|
32
|
+
* Total number of items
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListEmailThreadsResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'totalItems': number;
|
|
37
|
+
/**
|
|
38
|
+
* Number of items per page
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListEmailThreadsResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'itemsPerPage': number;
|
|
43
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL NotificationService
|
|
6
|
+
* The EMIL NotificationService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -59,15 +59,57 @@ export interface SendNotificationRequestDto {
|
|
|
59
59
|
*/
|
|
60
60
|
'attachments': Array<S3DocumentDto>;
|
|
61
61
|
/**
|
|
62
|
-
* It is possible to use the product slug to fetch a different senderEmail from the tenant settings.
|
|
62
|
+
* It is possible to use the product slug to fetch a different senderEmail from the tenant settings. It should be in the form of productSlug_sender-email
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @memberof SendNotificationRequestDto
|
|
65
65
|
*/
|
|
66
66
|
'productSlug'?: string;
|
|
67
67
|
/**
|
|
68
|
-
* Payload is used by the template engine to replace all template variables with proper data.
|
|
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
69
|
* @type {object}
|
|
70
70
|
* @memberof SendNotificationRequestDto
|
|
71
71
|
*/
|
|
72
72
|
'payload': object;
|
|
73
|
+
/**
|
|
74
|
+
* Entity type for email reply tracking.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof SendNotificationRequestDto
|
|
77
|
+
*/
|
|
78
|
+
'entityType'?: SendNotificationRequestDtoEntityTypeEnum;
|
|
79
|
+
/**
|
|
80
|
+
* Entity code for email reply tracking
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof SendNotificationRequestDto
|
|
83
|
+
*/
|
|
84
|
+
'entityCode'?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Reply-To address for email reply tracking. Auto-generated when entityType and entityCode are provided.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof SendNotificationRequestDto
|
|
89
|
+
*/
|
|
90
|
+
'replyTo'?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Custom Message-ID header. Auto-generated if not provided.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof SendNotificationRequestDto
|
|
95
|
+
*/
|
|
96
|
+
'customMessageId'?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Message-ID of the email this is replying to (for threading)
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof SendNotificationRequestDto
|
|
101
|
+
*/
|
|
102
|
+
'inReplyTo'?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Message-IDs for email thread chain
|
|
105
|
+
* @type {Array<string>}
|
|
106
|
+
* @memberof SendNotificationRequestDto
|
|
107
|
+
*/
|
|
108
|
+
'references': Array<string>;
|
|
73
109
|
}
|
|
110
|
+
export declare const SendNotificationRequestDtoEntityTypeEnum: {
|
|
111
|
+
readonly Claim: "Claim";
|
|
112
|
+
readonly Policy: "Policy";
|
|
113
|
+
readonly Lead: "Lead";
|
|
114
|
+
};
|
|
115
|
+
export type SendNotificationRequestDtoEntityTypeEnum = typeof SendNotificationRequestDtoEntityTypeEnum[keyof typeof SendNotificationRequestDtoEntityTypeEnum];
|
|
@@ -13,3 +13,9 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SendNotificationRequestDtoEntityTypeEnum = void 0;
|
|
17
|
+
exports.SendNotificationRequestDtoEntityTypeEnum = {
|
|
18
|
+
Claim: 'Claim',
|
|
19
|
+
Policy: 'Policy',
|
|
20
|
+
Lead: 'Lead'
|
|
21
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
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 DownloadAttachmentResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface DownloadAttachmentResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Presigned S3 URL for downloading the attachment
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DownloadAttachmentResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'url': string;
|
|
29
|
+
/**
|
|
30
|
+
* Original filename of the attachment
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof DownloadAttachmentResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'filename': string;
|
|
35
|
+
/**
|
|
36
|
+
* MIME content type of the attachment
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof DownloadAttachmentResponseClass
|
|
39
|
+
*/
|
|
40
|
+
'contentType': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,90 @@
|
|
|
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 EmailAttachmentClass
|
|
21
|
+
*/
|
|
22
|
+
export interface EmailAttachmentClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof EmailAttachmentClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier code for the attachment
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof EmailAttachmentClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Message code this attachment belongs to
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof EmailAttachmentClass
|
|
39
|
+
*/
|
|
40
|
+
'messageCode': string;
|
|
41
|
+
/**
|
|
42
|
+
* Original filename of the attachment
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof EmailAttachmentClass
|
|
45
|
+
*/
|
|
46
|
+
'filename': string;
|
|
47
|
+
/**
|
|
48
|
+
* MIME content type
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof EmailAttachmentClass
|
|
51
|
+
*/
|
|
52
|
+
'contentType'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Size of the attachment in bytes
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof EmailAttachmentClass
|
|
57
|
+
*/
|
|
58
|
+
'sizeBytes'?: number;
|
|
59
|
+
/**
|
|
60
|
+
* S3 bucket where the attachment is stored
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof EmailAttachmentClass
|
|
63
|
+
*/
|
|
64
|
+
's3Bucket': string;
|
|
65
|
+
/**
|
|
66
|
+
* S3 key of the attachment
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof EmailAttachmentClass
|
|
69
|
+
*/
|
|
70
|
+
's3Key': string;
|
|
71
|
+
/**
|
|
72
|
+
* User who created this attachment
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof EmailAttachmentClass
|
|
75
|
+
*/
|
|
76
|
+
'createdBy': string;
|
|
77
|
+
/**
|
|
78
|
+
* User who last updated this attachment
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof EmailAttachmentClass
|
|
81
|
+
*/
|
|
82
|
+
'updatedBy': string;
|
|
83
|
+
/**
|
|
84
|
+
* Timestamp when the attachment was created
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof EmailAttachmentClass
|
|
87
|
+
*/
|
|
88
|
+
'createdAt': string;
|
|
89
|
+
}
|
|
90
|
+
|
|
@@ -0,0 +1,150 @@
|
|
|
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
|
+
import { EmailAttachmentClass } from './email-attachment-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface EmailMessageClass
|
|
22
|
+
*/
|
|
23
|
+
export interface EmailMessageClass {
|
|
24
|
+
/**
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof EmailMessageClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier code for the email message
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof EmailMessageClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
* Thread code this message belongs to
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof EmailMessageClass
|
|
40
|
+
*/
|
|
41
|
+
'threadCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* Direction of the email
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof EmailMessageClass
|
|
46
|
+
*/
|
|
47
|
+
'direction': EmailMessageClassDirectionEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Sender email address
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof EmailMessageClass
|
|
52
|
+
*/
|
|
53
|
+
'fromAddress': string;
|
|
54
|
+
/**
|
|
55
|
+
* Recipient email addresses
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof EmailMessageClass
|
|
58
|
+
*/
|
|
59
|
+
'toAddresses': string;
|
|
60
|
+
/**
|
|
61
|
+
* CC email addresses
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof EmailMessageClass
|
|
64
|
+
*/
|
|
65
|
+
'ccAddresses'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Email subject
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof EmailMessageClass
|
|
70
|
+
*/
|
|
71
|
+
'subject'?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Plain text body of the email
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof EmailMessageClass
|
|
76
|
+
*/
|
|
77
|
+
'bodyText'?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Delivery status of the email
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof EmailMessageClass
|
|
82
|
+
*/
|
|
83
|
+
'deliveryStatus': EmailMessageClassDeliveryStatusEnum;
|
|
84
|
+
/**
|
|
85
|
+
* Message-ID header value
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof EmailMessageClass
|
|
88
|
+
*/
|
|
89
|
+
'messageIdHeader'?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Timestamp when the email was sent
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof EmailMessageClass
|
|
94
|
+
*/
|
|
95
|
+
'sentAt'?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Timestamp when the email was received
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof EmailMessageClass
|
|
100
|
+
*/
|
|
101
|
+
'receivedAt'?: string;
|
|
102
|
+
/**
|
|
103
|
+
* User who created this message
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof EmailMessageClass
|
|
106
|
+
*/
|
|
107
|
+
'createdBy': string;
|
|
108
|
+
/**
|
|
109
|
+
* User who last updated this message
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof EmailMessageClass
|
|
112
|
+
*/
|
|
113
|
+
'updatedBy': string;
|
|
114
|
+
/**
|
|
115
|
+
* Time at which the object was created.
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof EmailMessageClass
|
|
118
|
+
*/
|
|
119
|
+
'createdAt': string;
|
|
120
|
+
/**
|
|
121
|
+
* Time at which the object was updated.
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof EmailMessageClass
|
|
124
|
+
*/
|
|
125
|
+
'updatedAt': string;
|
|
126
|
+
/**
|
|
127
|
+
* Attachments on this message
|
|
128
|
+
* @type {Array<EmailAttachmentClass>}
|
|
129
|
+
* @memberof EmailMessageClass
|
|
130
|
+
*/
|
|
131
|
+
'attachments': Array<EmailAttachmentClass>;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export const EmailMessageClassDirectionEnum = {
|
|
135
|
+
Outbound: 'outbound',
|
|
136
|
+
Inbound: 'inbound'
|
|
137
|
+
} as const;
|
|
138
|
+
|
|
139
|
+
export type EmailMessageClassDirectionEnum = typeof EmailMessageClassDirectionEnum[keyof typeof EmailMessageClassDirectionEnum];
|
|
140
|
+
export const EmailMessageClassDeliveryStatusEnum = {
|
|
141
|
+
Pending: 'pending',
|
|
142
|
+
Sent: 'sent',
|
|
143
|
+
Delivered: 'delivered',
|
|
144
|
+
Bounced: 'bounced',
|
|
145
|
+
Failed: 'failed'
|
|
146
|
+
} as const;
|
|
147
|
+
|
|
148
|
+
export type EmailMessageClassDeliveryStatusEnum = typeof EmailMessageClassDeliveryStatusEnum[keyof typeof EmailMessageClassDeliveryStatusEnum];
|
|
149
|
+
|
|
150
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
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 EmailThreadClass
|
|
21
|
+
*/
|
|
22
|
+
export interface EmailThreadClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof EmailThreadClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier code for the email thread
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof EmailThreadClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Entity type associated with this thread
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof EmailThreadClass
|
|
39
|
+
*/
|
|
40
|
+
'entityType': string;
|
|
41
|
+
/**
|
|
42
|
+
* Entity code associated with this thread
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof EmailThreadClass
|
|
45
|
+
*/
|
|
46
|
+
'entityCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* Email subject of the thread
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof EmailThreadClass
|
|
51
|
+
*/
|
|
52
|
+
'subject'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Thread status
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof EmailThreadClass
|
|
57
|
+
*/
|
|
58
|
+
'status': EmailThreadClassStatusEnum;
|
|
59
|
+
/**
|
|
60
|
+
* User who created this thread
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof EmailThreadClass
|
|
63
|
+
*/
|
|
64
|
+
'createdBy': string;
|
|
65
|
+
/**
|
|
66
|
+
* User who last updated this thread
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof EmailThreadClass
|
|
69
|
+
*/
|
|
70
|
+
'updatedBy': string;
|
|
71
|
+
/**
|
|
72
|
+
* Time at which the object was created.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof EmailThreadClass
|
|
75
|
+
*/
|
|
76
|
+
'createdAt': string;
|
|
77
|
+
/**
|
|
78
|
+
* Time at which the object was updated.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof EmailThreadClass
|
|
81
|
+
*/
|
|
82
|
+
'updatedAt': string;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export const EmailThreadClassStatusEnum = {
|
|
86
|
+
Open: 'open',
|
|
87
|
+
Closed: 'closed'
|
|
88
|
+
} as const;
|
|
89
|
+
|
|
90
|
+
export type EmailThreadClassStatusEnum = typeof EmailThreadClassStatusEnum[keyof typeof EmailThreadClassStatusEnum];
|
|
91
|
+
|
|
92
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import { EmailMessageClass } from './email-message-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetEmailMessageResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetEmailMessageResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The email message response.
|
|
26
|
+
* @type {EmailMessageClass}
|
|
27
|
+
* @memberof GetEmailMessageResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'message': EmailMessageClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import { EmailThreadClass } from './email-thread-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetEmailThreadResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetEmailThreadResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The email thread response.
|
|
26
|
+
* @type {EmailThreadClass}
|
|
27
|
+
* @memberof GetEmailThreadResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'thread': EmailThreadClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -6,6 +6,12 @@ export * from './create-notification-template-request-dto';
|
|
|
6
6
|
export * from './create-notification-template-response-class';
|
|
7
7
|
export * from './delete-layout-request-dto';
|
|
8
8
|
export * from './delete-notification-template-request-dto';
|
|
9
|
+
export * from './download-attachment-response-class';
|
|
10
|
+
export * from './email-attachment-class';
|
|
11
|
+
export * from './email-message-class';
|
|
12
|
+
export * from './email-thread-class';
|
|
13
|
+
export * from './get-email-message-response-class';
|
|
14
|
+
export * from './get-email-thread-response-class';
|
|
9
15
|
export * from './get-layout-request-dto';
|
|
10
16
|
export * from './get-layout-response-class';
|
|
11
17
|
export * from './get-notification-template-request-dto';
|
|
@@ -16,6 +22,9 @@ export * from './initiate-email-verification-response-class';
|
|
|
16
22
|
export * from './inline-response200';
|
|
17
23
|
export * from './inline-response503';
|
|
18
24
|
export * from './layout-class';
|
|
25
|
+
export * from './list-email-attachments-response-class';
|
|
26
|
+
export * from './list-email-messages-response-class';
|
|
27
|
+
export * from './list-email-threads-response-class';
|
|
19
28
|
export * from './list-layouts-response-class';
|
|
20
29
|
export * from './list-notification-templates-response-class';
|
|
21
30
|
export * from './notification-template-class';
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import { EmailAttachmentClass } from './email-attachment-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListEmailAttachmentsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListEmailAttachmentsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* List of email attachments
|
|
26
|
+
* @type {Array<EmailAttachmentClass>}
|
|
27
|
+
* @memberof ListEmailAttachmentsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<EmailAttachmentClass>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
import { EmailMessageClass } from './email-message-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListEmailMessagesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListEmailMessagesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* List of email messages
|
|
26
|
+
* @type {Array<EmailMessageClass>}
|
|
27
|
+
* @memberof ListEmailMessagesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<EmailMessageClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Token for next page of results
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListEmailMessagesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Total number of items
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListEmailMessagesResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'totalItems': number;
|
|
42
|
+
/**
|
|
43
|
+
* Number of items per page
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListEmailMessagesResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'itemsPerPage': number;
|
|
48
|
+
}
|
|
49
|
+
|