@emilgroup/notification-sdk 0.8.1-beta.7 → 0.8.1-beta.71
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 +25 -0
- package/README.md +2 -2
- package/api/email-mailboxes-api.ts +153 -0
- package/api/email-messages-api.ts +197 -40
- package/api/email-subscriptions-api.ts +799 -0
- package/api/email-tracking-api.ts +313 -52
- package/api/email-verifications-api.ts +32 -14
- package/api/health-api.ts +1 -1
- package/api/layouts-api.ts +96 -51
- package/api/msgraph-webhooks-api.ts +278 -0
- package/api/notification-templates-api.ts +96 -51
- package/api/notifications-api.ts +128 -7
- package/api.ts +6 -0
- package/base.ts +239 -43
- package/common.ts +3 -2
- package/configuration.ts +20 -0
- package/dist/api/email-mailboxes-api.d.ts +87 -0
- package/dist/api/email-mailboxes-api.js +225 -0
- package/dist/api/email-messages-api.d.ts +110 -32
- package/dist/api/email-messages-api.js +199 -56
- package/dist/api/email-subscriptions-api.d.ts +432 -0
- package/dist/api/email-subscriptions-api.js +761 -0
- package/dist/api/email-tracking-api.d.ts +174 -44
- package/dist/api/email-tracking-api.js +299 -64
- package/dist/api/email-verifications-api.d.ts +18 -10
- package/dist/api/email-verifications-api.js +46 -24
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/health-api.js +1 -1
- package/dist/api/layouts-api.d.ts +61 -41
- package/dist/api/layouts-api.js +119 -70
- package/dist/api/msgraph-webhooks-api.d.ts +168 -0
- package/dist/api/msgraph-webhooks-api.js +305 -0
- package/dist/api/notification-templates-api.d.ts +61 -41
- package/dist/api/notification-templates-api.js +119 -70
- package/dist/api/notifications-api.d.ts +66 -5
- package/dist/api/notifications-api.js +123 -12
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/base.d.ts +26 -0
- package/dist/base.js +243 -60
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/dist/models/assign-email-thread-entity-body-dto.d.ts +43 -0
- package/dist/models/assign-email-thread-entity-body-dto.js +22 -0
- package/dist/models/assign-email-thread-entity-response-class.d.ts +25 -0
- package/dist/models/assign-email-thread-entity-response-class.js +15 -0
- package/dist/models/catch-up-email-subscription-response-class.d.ts +24 -0
- package/dist/models/catch-up-email-subscription-response-class.js +15 -0
- package/dist/models/catch-up-email-subscriptions-request-dto.d.ts +24 -0
- package/dist/models/catch-up-email-subscriptions-request-dto.js +15 -0
- package/dist/models/catch-up-email-subscriptions-response-class.d.ts +30 -0
- package/dist/models/catch-up-email-subscriptions-response-class.js +15 -0
- package/dist/models/email-mailbox-class.d.ts +47 -0
- package/dist/models/email-mailbox-class.js +20 -0
- package/dist/models/email-message-class.d.ts +102 -7
- package/dist/models/email-message-class.js +25 -2
- package/dist/models/email-message-summary-class.d.ts +121 -0
- package/dist/models/email-message-summary-class.js +37 -0
- package/dist/models/email-subscription-class.d.ts +110 -0
- package/dist/models/email-subscription-class.js +23 -0
- package/dist/models/email-thread-class.d.ts +37 -5
- package/dist/models/entity-ref-class.d.ts +37 -0
- package/dist/models/entity-ref-class.js +22 -0
- package/dist/models/get-email-subscription-response-class.d.ts +25 -0
- package/dist/models/get-email-subscription-response-class.js +15 -0
- package/dist/models/grpc-send-email-request-dto.d.ts +137 -0
- package/dist/models/grpc-send-email-request-dto.js +22 -0
- package/dist/models/index.d.ts +22 -0
- package/dist/models/index.js +22 -0
- package/dist/models/inline-attachment-dto.d.ts +36 -0
- package/dist/models/inline-attachment-dto.js +15 -0
- package/dist/models/list-email-mailboxes-response-class.d.ts +43 -0
- package/dist/models/list-email-mailboxes-response-class.js +15 -0
- package/dist/models/list-email-subscriptions-response-class.d.ts +43 -0
- package/dist/models/list-email-subscriptions-response-class.js +15 -0
- package/dist/models/reconcile-email-subscriptions-request-dto.d.ts +24 -0
- package/dist/models/reconcile-email-subscriptions-request-dto.js +15 -0
- package/dist/models/reconcile-email-subscriptions-response-class.d.ts +48 -0
- package/dist/models/reconcile-email-subscriptions-response-class.js +15 -0
- package/dist/models/renew-email-subscription-response-class.d.ts +25 -0
- package/dist/models/renew-email-subscription-response-class.js +15 -0
- package/dist/models/resend-email-message-body-dto.d.ts +30 -0
- package/dist/models/resend-email-message-body-dto.js +15 -0
- package/dist/models/resend-email-message-response-class.d.ts +25 -0
- package/dist/models/resend-email-message-response-class.js +15 -0
- package/dist/models/send-email-request-dto.d.ts +131 -0
- package/dist/models/send-email-request-dto.js +22 -0
- package/dist/models/send-email-response-class.d.ts +24 -0
- package/dist/models/send-email-response-class.js +15 -0
- package/dist/models/send-notification-request-dto.d.ts +10 -1
- package/dist/models/send-notification-request-dto.js +2 -1
- package/dist/models/unassign-email-thread-entity-response-class.d.ts +25 -0
- package/dist/models/unassign-email-thread-entity-response-class.js +15 -0
- package/models/assign-email-thread-entity-body-dto.ts +52 -0
- package/models/assign-email-thread-entity-response-class.ts +31 -0
- package/models/catch-up-email-subscription-response-class.ts +30 -0
- package/models/catch-up-email-subscriptions-request-dto.ts +30 -0
- package/models/catch-up-email-subscriptions-response-class.ts +36 -0
- package/models/email-mailbox-class.ts +56 -0
- package/models/email-message-class.ts +108 -8
- package/models/email-message-summary-class.ts +133 -0
- package/models/email-subscription-class.ts +119 -0
- package/models/email-thread-class.ts +37 -5
- package/models/entity-ref-class.ts +46 -0
- package/models/get-email-subscription-response-class.ts +31 -0
- package/models/grpc-send-email-request-dto.ts +144 -0
- package/models/index.ts +22 -0
- package/models/inline-attachment-dto.ts +42 -0
- package/models/list-email-mailboxes-response-class.ts +49 -0
- package/models/list-email-subscriptions-response-class.ts +49 -0
- package/models/reconcile-email-subscriptions-request-dto.ts +30 -0
- package/models/reconcile-email-subscriptions-response-class.ts +54 -0
- package/models/renew-email-subscription-response-class.ts +31 -0
- package/models/resend-email-message-body-dto.ts +36 -0
- package/models/resend-email-message-response-class.ts +31 -0
- package/models/send-email-request-dto.ts +138 -0
- package/models/send-email-response-class.ts +30 -0
- package/models/send-notification-request-dto.ts +9 -2
- package/models/unassign-email-thread-entity-response-class.ts +31 -0
- package/package.json +2 -2
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { EmailMessageSummaryClass } from './email-message-summary-class';
|
|
13
|
+
import { EntityRefClass } from './entity-ref-class';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
@@ -28,17 +30,17 @@ export interface EmailThreadClass {
|
|
|
28
30
|
*/
|
|
29
31
|
'code': string;
|
|
30
32
|
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {
|
|
33
|
+
* The entity the thread, and every message in it, is linked to. Not set while the thread is unassigned.
|
|
34
|
+
* @type {EntityRefClass}
|
|
33
35
|
* @memberof EmailThreadClass
|
|
34
36
|
*/
|
|
35
|
-
'
|
|
37
|
+
'entityRef'?: EntityRefClass;
|
|
36
38
|
/**
|
|
37
|
-
*
|
|
39
|
+
* Number of the entity the thread is linked to
|
|
38
40
|
* @type {string}
|
|
39
41
|
* @memberof EmailThreadClass
|
|
40
42
|
*/
|
|
41
|
-
'
|
|
43
|
+
'entityNumber'?: string;
|
|
42
44
|
/**
|
|
43
45
|
* Email subject of the thread
|
|
44
46
|
* @type {string}
|
|
@@ -51,6 +53,12 @@ export interface EmailThreadClass {
|
|
|
51
53
|
* @memberof EmailThreadClass
|
|
52
54
|
*/
|
|
53
55
|
'status': EmailThreadClassStatusEnum;
|
|
56
|
+
/**
|
|
57
|
+
* Mailbox the thread belongs to: the Microsoft 365 mailbox the conversation lives in, or the sender address for SES. Empty for a thread opened by an inbound email that matched nothing.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof EmailThreadClass
|
|
60
|
+
*/
|
|
61
|
+
'mailbox'?: string;
|
|
54
62
|
/**
|
|
55
63
|
* User who created this thread
|
|
56
64
|
* @type {string}
|
|
@@ -75,6 +83,30 @@ export interface EmailThreadClass {
|
|
|
75
83
|
* @memberof EmailThreadClass
|
|
76
84
|
*/
|
|
77
85
|
'updatedAt': string;
|
|
86
|
+
/**
|
|
87
|
+
* Number of messages in the thread. Delivery reports (bounces) are not counted.
|
|
88
|
+
* @type {number}
|
|
89
|
+
* @memberof EmailThreadClass
|
|
90
|
+
*/
|
|
91
|
+
'messageCount': number;
|
|
92
|
+
/**
|
|
93
|
+
* When the newest message of the thread was received, or sent for an outbound message
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof EmailThreadClass
|
|
96
|
+
*/
|
|
97
|
+
'lastMessageAt'?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Newest message of the thread, the one a thread row in a list shows. Set when listing threads.
|
|
100
|
+
* @type {EmailMessageSummaryClass}
|
|
101
|
+
* @memberof EmailThreadClass
|
|
102
|
+
*/
|
|
103
|
+
'latestMessage'?: EmailMessageSummaryClass;
|
|
104
|
+
/**
|
|
105
|
+
* Every message of the thread, newest first. Only filled when listing with expand=messages; bodies are fetched per message.
|
|
106
|
+
* @type {Array<EmailMessageSummaryClass>}
|
|
107
|
+
* @memberof EmailThreadClass
|
|
108
|
+
*/
|
|
109
|
+
'messages': Array<EmailMessageSummaryClass>;
|
|
78
110
|
}
|
|
79
111
|
export declare const EmailThreadClassStatusEnum: {
|
|
80
112
|
readonly Open: "open";
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EntityRefClass
|
|
16
|
+
*/
|
|
17
|
+
export interface EntityRefClass {
|
|
18
|
+
/**
|
|
19
|
+
* Type of the linked entity
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EntityRefClass
|
|
22
|
+
*/
|
|
23
|
+
'type': EntityRefClassTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Code of the linked entity
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EntityRefClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
}
|
|
31
|
+
export declare const EntityRefClassTypeEnum: {
|
|
32
|
+
readonly Claim: "Claim";
|
|
33
|
+
readonly Policy: "Policy";
|
|
34
|
+
readonly Lead: "Lead";
|
|
35
|
+
readonly Partner: "Partner";
|
|
36
|
+
};
|
|
37
|
+
export type EntityRefClassTypeEnum = typeof EntityRefClassTypeEnum[keyof typeof EntityRefClassTypeEnum];
|
|
@@ -0,0 +1,22 @@
|
|
|
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 });
|
|
16
|
+
exports.EntityRefClassTypeEnum = void 0;
|
|
17
|
+
exports.EntityRefClassTypeEnum = {
|
|
18
|
+
Claim: 'Claim',
|
|
19
|
+
Policy: 'Policy',
|
|
20
|
+
Lead: 'Lead',
|
|
21
|
+
Partner: 'Partner'
|
|
22
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { EmailSubscriptionClass } from './email-subscription-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetEmailSubscriptionResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetEmailSubscriptionResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The email subscription response.
|
|
21
|
+
* @type {EmailSubscriptionClass}
|
|
22
|
+
* @memberof GetEmailSubscriptionResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'emailSubscription': EmailSubscriptionClass;
|
|
25
|
+
}
|
|
@@ -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 });
|
|
@@ -0,0 +1,137 @@
|
|
|
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 { InlineAttachmentDto } from './inline-attachment-dto';
|
|
13
|
+
import { S3DocumentDto } from './s3-document-dto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface GrpcSendEmailRequestDto
|
|
18
|
+
*/
|
|
19
|
+
export interface GrpcSendEmailRequestDto {
|
|
20
|
+
/**
|
|
21
|
+
* Subject of the email
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof GrpcSendEmailRequestDto
|
|
24
|
+
*/
|
|
25
|
+
'emailSubject': string;
|
|
26
|
+
/**
|
|
27
|
+
* HTML body of the email, sent as given. Required unless textBody is set.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof GrpcSendEmailRequestDto
|
|
30
|
+
*/
|
|
31
|
+
'htmlBody'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Plain-text body of the email. Sent as the text alternative when htmlBody is also set. Required unless htmlBody is set.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof GrpcSendEmailRequestDto
|
|
36
|
+
*/
|
|
37
|
+
'textBody'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Email address of the sender. Defaults to the sender configured in the tenant settings.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof GrpcSendEmailRequestDto
|
|
42
|
+
*/
|
|
43
|
+
'emailSender'?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Email addresses of the receivers
|
|
46
|
+
* @type {Array<string>}
|
|
47
|
+
* @memberof GrpcSendEmailRequestDto
|
|
48
|
+
*/
|
|
49
|
+
'emailTo': Array<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Email addresses that receive a copy of the email
|
|
52
|
+
* @type {Array<string>}
|
|
53
|
+
* @memberof GrpcSendEmailRequestDto
|
|
54
|
+
*/
|
|
55
|
+
'emailCc'?: Array<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Email addresses that receive a copy of the email without the other recipients knowing
|
|
58
|
+
* @type {Array<string>}
|
|
59
|
+
* @memberof GrpcSendEmailRequestDto
|
|
60
|
+
*/
|
|
61
|
+
'emailBcc'?: Array<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Attachments that have already been uploaded to S3
|
|
64
|
+
* @type {Array<S3DocumentDto>}
|
|
65
|
+
* @memberof GrpcSendEmailRequestDto
|
|
66
|
+
*/
|
|
67
|
+
'attachments'?: Array<S3DocumentDto>;
|
|
68
|
+
/**
|
|
69
|
+
* Attachments sent with the request as base64 content. They are stored in S3 before the email is sent. Their decoded size may not exceed 10 MB in total.
|
|
70
|
+
* @type {Array<InlineAttachmentDto>}
|
|
71
|
+
* @memberof GrpcSendEmailRequestDto
|
|
72
|
+
*/
|
|
73
|
+
'inlineAttachments'?: Array<InlineAttachmentDto>;
|
|
74
|
+
/**
|
|
75
|
+
* Product slug used to look up a product-specific sender in the tenant settings, stored under productSlug_sender-email
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof GrpcSendEmailRequestDto
|
|
78
|
+
*/
|
|
79
|
+
'productSlug'?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Entity type for email reply tracking
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof GrpcSendEmailRequestDto
|
|
84
|
+
*/
|
|
85
|
+
'entityType'?: GrpcSendEmailRequestDtoEntityTypeEnum;
|
|
86
|
+
/**
|
|
87
|
+
* Entity code for email reply tracking
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof GrpcSendEmailRequestDto
|
|
90
|
+
*/
|
|
91
|
+
'entityCode'?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Reply-To address. Auto-generated when reply tracking is enabled.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof GrpcSendEmailRequestDto
|
|
96
|
+
*/
|
|
97
|
+
'replyTo'?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Custom Message-ID header. Auto-generated if not provided.
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof GrpcSendEmailRequestDto
|
|
102
|
+
*/
|
|
103
|
+
'customMessageId'?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Message-ID of the email this is replying to (for threading)
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof GrpcSendEmailRequestDto
|
|
108
|
+
*/
|
|
109
|
+
'inReplyTo'?: string;
|
|
110
|
+
/**
|
|
111
|
+
* Message-IDs for email thread chain
|
|
112
|
+
* @type {Array<string>}
|
|
113
|
+
* @memberof GrpcSendEmailRequestDto
|
|
114
|
+
*/
|
|
115
|
+
'references'?: Array<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Custom headers to set on the outgoing email
|
|
118
|
+
* @type {{ [key: string]: string; }}
|
|
119
|
+
* @memberof GrpcSendEmailRequestDto
|
|
120
|
+
*/
|
|
121
|
+
'customHeaders'?: {
|
|
122
|
+
[key: string]: string;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {object}
|
|
127
|
+
* @memberof GrpcSendEmailRequestDto
|
|
128
|
+
*/
|
|
129
|
+
'entityRef'?: object;
|
|
130
|
+
}
|
|
131
|
+
export declare const GrpcSendEmailRequestDtoEntityTypeEnum: {
|
|
132
|
+
readonly Claim: "Claim";
|
|
133
|
+
readonly Policy: "Policy";
|
|
134
|
+
readonly Lead: "Lead";
|
|
135
|
+
readonly Partner: "Partner";
|
|
136
|
+
};
|
|
137
|
+
export type GrpcSendEmailRequestDtoEntityTypeEnum = typeof GrpcSendEmailRequestDtoEntityTypeEnum[keyof typeof GrpcSendEmailRequestDtoEntityTypeEnum];
|
|
@@ -0,0 +1,22 @@
|
|
|
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 });
|
|
16
|
+
exports.GrpcSendEmailRequestDtoEntityTypeEnum = void 0;
|
|
17
|
+
exports.GrpcSendEmailRequestDtoEntityTypeEnum = {
|
|
18
|
+
Claim: 'Claim',
|
|
19
|
+
Policy: 'Policy',
|
|
20
|
+
Lead: 'Lead',
|
|
21
|
+
Partner: 'Partner'
|
|
22
|
+
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export * from './assign-email-thread-entity-body-dto';
|
|
2
|
+
export * from './assign-email-thread-entity-response-class';
|
|
3
|
+
export * from './catch-up-email-subscription-response-class';
|
|
4
|
+
export * from './catch-up-email-subscriptions-request-dto';
|
|
5
|
+
export * from './catch-up-email-subscriptions-response-class';
|
|
1
6
|
export * from './complete-email-verification-dto';
|
|
2
7
|
export * from './complete-email-verification-response-class';
|
|
3
8
|
export * from './create-layout-request-dto';
|
|
@@ -8,29 +13,46 @@ export * from './delete-layout-request-dto';
|
|
|
8
13
|
export * from './delete-notification-template-request-dto';
|
|
9
14
|
export * from './download-attachment-response-class';
|
|
10
15
|
export * from './email-attachment-class';
|
|
16
|
+
export * from './email-mailbox-class';
|
|
11
17
|
export * from './email-message-class';
|
|
18
|
+
export * from './email-message-summary-class';
|
|
19
|
+
export * from './email-subscription-class';
|
|
12
20
|
export * from './email-thread-class';
|
|
21
|
+
export * from './entity-ref-class';
|
|
13
22
|
export * from './get-email-message-response-class';
|
|
23
|
+
export * from './get-email-subscription-response-class';
|
|
14
24
|
export * from './get-email-thread-response-class';
|
|
15
25
|
export * from './get-layout-request-dto';
|
|
16
26
|
export * from './get-layout-response-class';
|
|
17
27
|
export * from './get-notification-template-request-dto';
|
|
18
28
|
export * from './get-notification-template-response-class';
|
|
29
|
+
export * from './grpc-send-email-request-dto';
|
|
19
30
|
export * from './html-template-class';
|
|
20
31
|
export * from './initiate-email-verification-dto';
|
|
21
32
|
export * from './initiate-email-verification-response-class';
|
|
33
|
+
export * from './inline-attachment-dto';
|
|
22
34
|
export * from './inline-response200';
|
|
23
35
|
export * from './inline-response503';
|
|
24
36
|
export * from './layout-class';
|
|
25
37
|
export * from './list-email-attachments-response-class';
|
|
38
|
+
export * from './list-email-mailboxes-response-class';
|
|
26
39
|
export * from './list-email-messages-response-class';
|
|
40
|
+
export * from './list-email-subscriptions-response-class';
|
|
27
41
|
export * from './list-email-threads-response-class';
|
|
28
42
|
export * from './list-layouts-response-class';
|
|
29
43
|
export * from './list-notification-templates-response-class';
|
|
30
44
|
export * from './notification-template-class';
|
|
45
|
+
export * from './reconcile-email-subscriptions-request-dto';
|
|
46
|
+
export * from './reconcile-email-subscriptions-response-class';
|
|
47
|
+
export * from './renew-email-subscription-response-class';
|
|
48
|
+
export * from './resend-email-message-body-dto';
|
|
49
|
+
export * from './resend-email-message-response-class';
|
|
31
50
|
export * from './s3-document-dto';
|
|
51
|
+
export * from './send-email-request-dto';
|
|
52
|
+
export * from './send-email-response-class';
|
|
32
53
|
export * from './send-notification-request-dto';
|
|
33
54
|
export * from './send-notification-response-class';
|
|
55
|
+
export * from './unassign-email-thread-entity-response-class';
|
|
34
56
|
export * from './update-html-template-request-dto';
|
|
35
57
|
export * from './update-layout-request-dto';
|
|
36
58
|
export * from './update-layout-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -14,6 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./assign-email-thread-entity-body-dto"), exports);
|
|
18
|
+
__exportStar(require("./assign-email-thread-entity-response-class"), exports);
|
|
19
|
+
__exportStar(require("./catch-up-email-subscription-response-class"), exports);
|
|
20
|
+
__exportStar(require("./catch-up-email-subscriptions-request-dto"), exports);
|
|
21
|
+
__exportStar(require("./catch-up-email-subscriptions-response-class"), exports);
|
|
17
22
|
__exportStar(require("./complete-email-verification-dto"), exports);
|
|
18
23
|
__exportStar(require("./complete-email-verification-response-class"), exports);
|
|
19
24
|
__exportStar(require("./create-layout-request-dto"), exports);
|
|
@@ -24,29 +29,46 @@ __exportStar(require("./delete-layout-request-dto"), exports);
|
|
|
24
29
|
__exportStar(require("./delete-notification-template-request-dto"), exports);
|
|
25
30
|
__exportStar(require("./download-attachment-response-class"), exports);
|
|
26
31
|
__exportStar(require("./email-attachment-class"), exports);
|
|
32
|
+
__exportStar(require("./email-mailbox-class"), exports);
|
|
27
33
|
__exportStar(require("./email-message-class"), exports);
|
|
34
|
+
__exportStar(require("./email-message-summary-class"), exports);
|
|
35
|
+
__exportStar(require("./email-subscription-class"), exports);
|
|
28
36
|
__exportStar(require("./email-thread-class"), exports);
|
|
37
|
+
__exportStar(require("./entity-ref-class"), exports);
|
|
29
38
|
__exportStar(require("./get-email-message-response-class"), exports);
|
|
39
|
+
__exportStar(require("./get-email-subscription-response-class"), exports);
|
|
30
40
|
__exportStar(require("./get-email-thread-response-class"), exports);
|
|
31
41
|
__exportStar(require("./get-layout-request-dto"), exports);
|
|
32
42
|
__exportStar(require("./get-layout-response-class"), exports);
|
|
33
43
|
__exportStar(require("./get-notification-template-request-dto"), exports);
|
|
34
44
|
__exportStar(require("./get-notification-template-response-class"), exports);
|
|
45
|
+
__exportStar(require("./grpc-send-email-request-dto"), exports);
|
|
35
46
|
__exportStar(require("./html-template-class"), exports);
|
|
36
47
|
__exportStar(require("./initiate-email-verification-dto"), exports);
|
|
37
48
|
__exportStar(require("./initiate-email-verification-response-class"), exports);
|
|
49
|
+
__exportStar(require("./inline-attachment-dto"), exports);
|
|
38
50
|
__exportStar(require("./inline-response200"), exports);
|
|
39
51
|
__exportStar(require("./inline-response503"), exports);
|
|
40
52
|
__exportStar(require("./layout-class"), exports);
|
|
41
53
|
__exportStar(require("./list-email-attachments-response-class"), exports);
|
|
54
|
+
__exportStar(require("./list-email-mailboxes-response-class"), exports);
|
|
42
55
|
__exportStar(require("./list-email-messages-response-class"), exports);
|
|
56
|
+
__exportStar(require("./list-email-subscriptions-response-class"), exports);
|
|
43
57
|
__exportStar(require("./list-email-threads-response-class"), exports);
|
|
44
58
|
__exportStar(require("./list-layouts-response-class"), exports);
|
|
45
59
|
__exportStar(require("./list-notification-templates-response-class"), exports);
|
|
46
60
|
__exportStar(require("./notification-template-class"), exports);
|
|
61
|
+
__exportStar(require("./reconcile-email-subscriptions-request-dto"), exports);
|
|
62
|
+
__exportStar(require("./reconcile-email-subscriptions-response-class"), exports);
|
|
63
|
+
__exportStar(require("./renew-email-subscription-response-class"), exports);
|
|
64
|
+
__exportStar(require("./resend-email-message-body-dto"), exports);
|
|
65
|
+
__exportStar(require("./resend-email-message-response-class"), exports);
|
|
47
66
|
__exportStar(require("./s3-document-dto"), exports);
|
|
67
|
+
__exportStar(require("./send-email-request-dto"), exports);
|
|
68
|
+
__exportStar(require("./send-email-response-class"), exports);
|
|
48
69
|
__exportStar(require("./send-notification-request-dto"), exports);
|
|
49
70
|
__exportStar(require("./send-notification-response-class"), exports);
|
|
71
|
+
__exportStar(require("./unassign-email-thread-entity-response-class"), exports);
|
|
50
72
|
__exportStar(require("./update-html-template-request-dto"), exports);
|
|
51
73
|
__exportStar(require("./update-layout-request-dto"), exports);
|
|
52
74
|
__exportStar(require("./update-layout-response-class"), exports);
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InlineAttachmentDto
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineAttachmentDto {
|
|
18
|
+
/**
|
|
19
|
+
* File name shown to the recipient
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineAttachmentDto
|
|
22
|
+
*/
|
|
23
|
+
'filename': string;
|
|
24
|
+
/**
|
|
25
|
+
* Base64-encoded file content
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InlineAttachmentDto
|
|
28
|
+
*/
|
|
29
|
+
'contentBase64': string;
|
|
30
|
+
/**
|
|
31
|
+
* MIME type of the file
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InlineAttachmentDto
|
|
34
|
+
*/
|
|
35
|
+
'contentType'?: string;
|
|
36
|
+
}
|
|
@@ -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 });
|
|
@@ -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 { EmailMailboxClass } from './email-mailbox-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListEmailMailboxesResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListEmailMailboxesResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Next page token.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ListEmailMailboxesResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'nextPageToken': string;
|
|
25
|
+
/**
|
|
26
|
+
* Total amount of items.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListEmailMailboxesResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'totalItems': number;
|
|
31
|
+
/**
|
|
32
|
+
* Items per page.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListEmailMailboxesResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'itemsPerPage': number;
|
|
37
|
+
/**
|
|
38
|
+
* Mailboxes of the tenant, sorted by address
|
|
39
|
+
* @type {Array<EmailMailboxClass>}
|
|
40
|
+
* @memberof ListEmailMailboxesResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'items': Array<EmailMailboxClass>;
|
|
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 });
|
|
@@ -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 { EmailSubscriptionClass } from './email-subscription-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListEmailSubscriptionsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListEmailSubscriptionsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* List of email subscriptions
|
|
21
|
+
* @type {Array<EmailSubscriptionClass>}
|
|
22
|
+
* @memberof ListEmailSubscriptionsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<EmailSubscriptionClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Token for next page of results
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListEmailSubscriptionsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
/**
|
|
32
|
+
* Total number of items
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListEmailSubscriptionsResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'totalItems': number;
|
|
37
|
+
/**
|
|
38
|
+
* Number of items per page
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListEmailSubscriptionsResponseClass
|
|
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 });
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ReconcileEmailSubscriptionsRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ReconcileEmailSubscriptionsRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Reconcile the email channel of this product. Omit it to reconcile the tenant-wide email channel.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReconcileEmailSubscriptionsRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'productSlug'?: string;
|
|
24
|
+
}
|
|
@@ -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 });
|