@emilgroup/notification-sdk 0.8.1-beta.5 → 0.8.1-beta.50
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 +20 -0
- package/README.md +2 -2
- package/api/email-mailboxes-api.ts +148 -0
- package/api/email-messages-api.ts +40 -28
- package/api/email-subscriptions-api.ts +559 -0
- package/api/email-tracking-api.ts +271 -40
- package/api/email-verifications-api.ts +16 -8
- package/api/layouts-api.ts +56 -36
- package/api/msgraph-webhooks-api.ts +278 -0
- package/api/notification-templates-api.ts +56 -36
- package/api/notifications-api.ts +115 -4
- package/api.ts +6 -0
- package/base.ts +36 -15
- package/configuration.ts +11 -0
- package/dist/api/email-mailboxes-api.d.ts +87 -0
- package/dist/api/email-mailboxes-api.js +218 -0
- package/dist/api/email-messages-api.d.ts +40 -28
- package/dist/api/email-messages-api.js +37 -25
- package/dist/api/email-subscriptions-api.d.ts +319 -0
- package/dist/api/email-subscriptions-api.js +537 -0
- package/dist/api/email-tracking-api.d.ts +170 -40
- package/dist/api/email-tracking-api.js +233 -34
- package/dist/api/email-verifications-api.d.ts +16 -8
- package/dist/api/email-verifications-api.js +16 -8
- package/dist/api/layouts-api.d.ts +56 -36
- package/dist/api/layouts-api.js +52 -32
- 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 +56 -36
- package/dist/api/notification-templates-api.js +52 -32
- package/dist/api/notifications-api.d.ts +65 -4
- package/dist/api/notifications-api.js +101 -4
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/base.d.ts +1 -0
- package/dist/base.js +36 -16
- package/dist/configuration.d.ts +9 -0
- package/dist/configuration.js +1 -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/email-mailbox-class.d.ts +47 -0
- package/dist/models/email-mailbox-class.js +20 -0
- package/dist/models/email-message-class.d.ts +73 -7
- package/dist/models/email-message-class.js +22 -3
- package/dist/models/email-message-summary-class.d.ts +98 -0
- package/dist/models/email-message-summary-class.js +33 -0
- package/dist/models/email-subscription-class.d.ts +104 -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 +17 -0
- package/dist/models/index.js +17 -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/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/email-mailbox-class.ts +56 -0
- package/models/email-message-class.ts +78 -8
- package/models/email-message-summary-class.ts +109 -0
- package/models/email-subscription-class.ts +113 -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 +17 -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/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 +1 -1
|
@@ -0,0 +1,113 @@
|
|
|
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 EmailSubscriptionClass
|
|
21
|
+
*/
|
|
22
|
+
export interface EmailSubscriptionClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof EmailSubscriptionClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Tenant the subscription belongs to
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof EmailSubscriptionClass
|
|
33
|
+
*/
|
|
34
|
+
'tenantSlug': string;
|
|
35
|
+
/**
|
|
36
|
+
* Product whose email channel configures the mailbox. Empty for the tenant-wide email channel.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof EmailSubscriptionClass
|
|
39
|
+
*/
|
|
40
|
+
'productSlug'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Mailbox whose incoming mail is delivered to the platform
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof EmailSubscriptionClass
|
|
45
|
+
*/
|
|
46
|
+
'mailbox': string;
|
|
47
|
+
/**
|
|
48
|
+
* Mailbox folder the subscription watches
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof EmailSubscriptionClass
|
|
51
|
+
*/
|
|
52
|
+
'folder': string;
|
|
53
|
+
/**
|
|
54
|
+
* Id of the subscription in Microsoft Graph. Empty while the subscription is not created yet.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof EmailSubscriptionClass
|
|
57
|
+
*/
|
|
58
|
+
'subscriptionId'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Subscription status. active: Graph delivers new mail. pending: the subscription still has to be created. failed: Graph could not renew it in time. deleting / deletion-failed: the mailbox was removed from the email channel and the subscription is being deleted.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof EmailSubscriptionClass
|
|
63
|
+
*/
|
|
64
|
+
'status': EmailSubscriptionClassStatusEnum;
|
|
65
|
+
/**
|
|
66
|
+
* When Microsoft Graph stops delivering mail unless the subscription is renewed. Renewed automatically within the last 24 hours.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof EmailSubscriptionClass
|
|
69
|
+
*/
|
|
70
|
+
'expiresAt'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* When the subscription was last created or renewed
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof EmailSubscriptionClass
|
|
75
|
+
*/
|
|
76
|
+
'lastRenewedAt'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* When Microsoft Graph last notified about new mail
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof EmailSubscriptionClass
|
|
81
|
+
*/
|
|
82
|
+
'lastNotificationAt'?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Error of the last failed Graph call, empty once it succeeds
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof EmailSubscriptionClass
|
|
87
|
+
*/
|
|
88
|
+
'lastError'?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Created at timestamp
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof EmailSubscriptionClass
|
|
93
|
+
*/
|
|
94
|
+
'createdAt': string;
|
|
95
|
+
/**
|
|
96
|
+
* Updated at timestamp
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof EmailSubscriptionClass
|
|
99
|
+
*/
|
|
100
|
+
'updatedAt': string;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export const EmailSubscriptionClassStatusEnum = {
|
|
104
|
+
Pending: 'pending',
|
|
105
|
+
Active: 'active',
|
|
106
|
+
Failed: 'failed',
|
|
107
|
+
Deleting: 'deleting',
|
|
108
|
+
DeletionFailed: 'deletion-failed'
|
|
109
|
+
} as const;
|
|
110
|
+
|
|
111
|
+
export type EmailSubscriptionClassStatusEnum = typeof EmailSubscriptionClassStatusEnum[keyof typeof EmailSubscriptionClassStatusEnum];
|
|
112
|
+
|
|
113
|
+
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { EmailMessageSummaryClass } from './email-message-summary-class';
|
|
17
|
+
import { EntityRefClass } from './entity-ref-class';
|
|
16
18
|
|
|
17
19
|
/**
|
|
18
20
|
*
|
|
@@ -33,17 +35,17 @@ export interface EmailThreadClass {
|
|
|
33
35
|
*/
|
|
34
36
|
'code': string;
|
|
35
37
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {
|
|
38
|
+
* The entity the thread, and every message in it, is linked to. Not set while the thread is unassigned.
|
|
39
|
+
* @type {EntityRefClass}
|
|
38
40
|
* @memberof EmailThreadClass
|
|
39
41
|
*/
|
|
40
|
-
'
|
|
42
|
+
'entityRef'?: EntityRefClass;
|
|
41
43
|
/**
|
|
42
|
-
*
|
|
44
|
+
* Number of the entity the thread is linked to
|
|
43
45
|
* @type {string}
|
|
44
46
|
* @memberof EmailThreadClass
|
|
45
47
|
*/
|
|
46
|
-
'
|
|
48
|
+
'entityNumber'?: string;
|
|
47
49
|
/**
|
|
48
50
|
* Email subject of the thread
|
|
49
51
|
* @type {string}
|
|
@@ -56,6 +58,12 @@ export interface EmailThreadClass {
|
|
|
56
58
|
* @memberof EmailThreadClass
|
|
57
59
|
*/
|
|
58
60
|
'status': EmailThreadClassStatusEnum;
|
|
61
|
+
/**
|
|
62
|
+
* 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.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof EmailThreadClass
|
|
65
|
+
*/
|
|
66
|
+
'mailbox'?: string;
|
|
59
67
|
/**
|
|
60
68
|
* User who created this thread
|
|
61
69
|
* @type {string}
|
|
@@ -80,6 +88,30 @@ export interface EmailThreadClass {
|
|
|
80
88
|
* @memberof EmailThreadClass
|
|
81
89
|
*/
|
|
82
90
|
'updatedAt': string;
|
|
91
|
+
/**
|
|
92
|
+
* Number of messages in the thread. Delivery reports (bounces) are not counted.
|
|
93
|
+
* @type {number}
|
|
94
|
+
* @memberof EmailThreadClass
|
|
95
|
+
*/
|
|
96
|
+
'messageCount': number;
|
|
97
|
+
/**
|
|
98
|
+
* When the newest message of the thread was received, or sent for an outbound message
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof EmailThreadClass
|
|
101
|
+
*/
|
|
102
|
+
'lastMessageAt'?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Newest message of the thread, the one a thread row in a list shows. Set when listing threads.
|
|
105
|
+
* @type {EmailMessageSummaryClass}
|
|
106
|
+
* @memberof EmailThreadClass
|
|
107
|
+
*/
|
|
108
|
+
'latestMessage'?: EmailMessageSummaryClass;
|
|
109
|
+
/**
|
|
110
|
+
* Every message of the thread, newest first. Only filled when listing with expand=messages; bodies are fetched per message.
|
|
111
|
+
* @type {Array<EmailMessageSummaryClass>}
|
|
112
|
+
* @memberof EmailThreadClass
|
|
113
|
+
*/
|
|
114
|
+
'messages': Array<EmailMessageSummaryClass>;
|
|
83
115
|
}
|
|
84
116
|
|
|
85
117
|
export const EmailThreadClassStatusEnum = {
|
|
@@ -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
|
+
|
|
@@ -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 { EmailSubscriptionClass } from './email-subscription-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetEmailSubscriptionResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetEmailSubscriptionResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The email subscription response.
|
|
26
|
+
* @type {EmailSubscriptionClass}
|
|
27
|
+
* @memberof GetEmailSubscriptionResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'emailSubscription': EmailSubscriptionClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,144 @@
|
|
|
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 { InlineAttachmentDto } from './inline-attachment-dto';
|
|
17
|
+
import { S3DocumentDto } from './s3-document-dto';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface GrpcSendEmailRequestDto
|
|
23
|
+
*/
|
|
24
|
+
export interface GrpcSendEmailRequestDto {
|
|
25
|
+
/**
|
|
26
|
+
* Subject of the email
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GrpcSendEmailRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'emailSubject': string;
|
|
31
|
+
/**
|
|
32
|
+
* HTML body of the email, sent as given. Required unless textBody is set.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GrpcSendEmailRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'htmlBody'?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Plain-text body of the email. Sent as the text alternative when htmlBody is also set. Required unless htmlBody is set.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof GrpcSendEmailRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'textBody'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Email address of the sender. Defaults to the sender configured in the tenant settings.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof GrpcSendEmailRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'emailSender'?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Email addresses of the receivers
|
|
51
|
+
* @type {Array<string>}
|
|
52
|
+
* @memberof GrpcSendEmailRequestDto
|
|
53
|
+
*/
|
|
54
|
+
'emailTo': Array<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Email addresses that receive a copy of the email
|
|
57
|
+
* @type {Array<string>}
|
|
58
|
+
* @memberof GrpcSendEmailRequestDto
|
|
59
|
+
*/
|
|
60
|
+
'emailCc'?: Array<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Email addresses that receive a copy of the email without the other recipients knowing
|
|
63
|
+
* @type {Array<string>}
|
|
64
|
+
* @memberof GrpcSendEmailRequestDto
|
|
65
|
+
*/
|
|
66
|
+
'emailBcc'?: Array<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Attachments that have already been uploaded to S3
|
|
69
|
+
* @type {Array<S3DocumentDto>}
|
|
70
|
+
* @memberof GrpcSendEmailRequestDto
|
|
71
|
+
*/
|
|
72
|
+
'attachments'?: Array<S3DocumentDto>;
|
|
73
|
+
/**
|
|
74
|
+
* 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.
|
|
75
|
+
* @type {Array<InlineAttachmentDto>}
|
|
76
|
+
* @memberof GrpcSendEmailRequestDto
|
|
77
|
+
*/
|
|
78
|
+
'inlineAttachments'?: Array<InlineAttachmentDto>;
|
|
79
|
+
/**
|
|
80
|
+
* Product slug used to look up a product-specific sender in the tenant settings, stored under productSlug_sender-email
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof GrpcSendEmailRequestDto
|
|
83
|
+
*/
|
|
84
|
+
'productSlug'?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Entity type for email reply tracking
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof GrpcSendEmailRequestDto
|
|
89
|
+
*/
|
|
90
|
+
'entityType'?: GrpcSendEmailRequestDtoEntityTypeEnum;
|
|
91
|
+
/**
|
|
92
|
+
* Entity code for email reply tracking
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof GrpcSendEmailRequestDto
|
|
95
|
+
*/
|
|
96
|
+
'entityCode'?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Reply-To address. Auto-generated when reply tracking is enabled.
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof GrpcSendEmailRequestDto
|
|
101
|
+
*/
|
|
102
|
+
'replyTo'?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Custom Message-ID header. Auto-generated if not provided.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof GrpcSendEmailRequestDto
|
|
107
|
+
*/
|
|
108
|
+
'customMessageId'?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Message-ID of the email this is replying to (for threading)
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof GrpcSendEmailRequestDto
|
|
113
|
+
*/
|
|
114
|
+
'inReplyTo'?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Message-IDs for email thread chain
|
|
117
|
+
* @type {Array<string>}
|
|
118
|
+
* @memberof GrpcSendEmailRequestDto
|
|
119
|
+
*/
|
|
120
|
+
'references'?: Array<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Custom headers to set on the outgoing email
|
|
123
|
+
* @type {{ [key: string]: string; }}
|
|
124
|
+
* @memberof GrpcSendEmailRequestDto
|
|
125
|
+
*/
|
|
126
|
+
'customHeaders'?: { [key: string]: string; };
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {object}
|
|
130
|
+
* @memberof GrpcSendEmailRequestDto
|
|
131
|
+
*/
|
|
132
|
+
'entityRef'?: object;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export const GrpcSendEmailRequestDtoEntityTypeEnum = {
|
|
136
|
+
Claim: 'Claim',
|
|
137
|
+
Policy: 'Policy',
|
|
138
|
+
Lead: 'Lead',
|
|
139
|
+
Partner: 'Partner'
|
|
140
|
+
} as const;
|
|
141
|
+
|
|
142
|
+
export type GrpcSendEmailRequestDtoEntityTypeEnum = typeof GrpcSendEmailRequestDtoEntityTypeEnum[keyof typeof GrpcSendEmailRequestDtoEntityTypeEnum];
|
|
143
|
+
|
|
144
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from './assign-email-thread-entity-body-dto';
|
|
2
|
+
export * from './assign-email-thread-entity-response-class';
|
|
1
3
|
export * from './complete-email-verification-dto';
|
|
2
4
|
export * from './complete-email-verification-response-class';
|
|
3
5
|
export * from './create-layout-request-dto';
|
|
@@ -8,29 +10,44 @@ export * from './delete-layout-request-dto';
|
|
|
8
10
|
export * from './delete-notification-template-request-dto';
|
|
9
11
|
export * from './download-attachment-response-class';
|
|
10
12
|
export * from './email-attachment-class';
|
|
13
|
+
export * from './email-mailbox-class';
|
|
11
14
|
export * from './email-message-class';
|
|
15
|
+
export * from './email-message-summary-class';
|
|
16
|
+
export * from './email-subscription-class';
|
|
12
17
|
export * from './email-thread-class';
|
|
18
|
+
export * from './entity-ref-class';
|
|
13
19
|
export * from './get-email-message-response-class';
|
|
20
|
+
export * from './get-email-subscription-response-class';
|
|
14
21
|
export * from './get-email-thread-response-class';
|
|
15
22
|
export * from './get-layout-request-dto';
|
|
16
23
|
export * from './get-layout-response-class';
|
|
17
24
|
export * from './get-notification-template-request-dto';
|
|
18
25
|
export * from './get-notification-template-response-class';
|
|
26
|
+
export * from './grpc-send-email-request-dto';
|
|
19
27
|
export * from './html-template-class';
|
|
20
28
|
export * from './initiate-email-verification-dto';
|
|
21
29
|
export * from './initiate-email-verification-response-class';
|
|
30
|
+
export * from './inline-attachment-dto';
|
|
22
31
|
export * from './inline-response200';
|
|
23
32
|
export * from './inline-response503';
|
|
24
33
|
export * from './layout-class';
|
|
25
34
|
export * from './list-email-attachments-response-class';
|
|
35
|
+
export * from './list-email-mailboxes-response-class';
|
|
26
36
|
export * from './list-email-messages-response-class';
|
|
37
|
+
export * from './list-email-subscriptions-response-class';
|
|
27
38
|
export * from './list-email-threads-response-class';
|
|
28
39
|
export * from './list-layouts-response-class';
|
|
29
40
|
export * from './list-notification-templates-response-class';
|
|
30
41
|
export * from './notification-template-class';
|
|
42
|
+
export * from './reconcile-email-subscriptions-request-dto';
|
|
43
|
+
export * from './reconcile-email-subscriptions-response-class';
|
|
44
|
+
export * from './renew-email-subscription-response-class';
|
|
31
45
|
export * from './s3-document-dto';
|
|
46
|
+
export * from './send-email-request-dto';
|
|
47
|
+
export * from './send-email-response-class';
|
|
32
48
|
export * from './send-notification-request-dto';
|
|
33
49
|
export * from './send-notification-response-class';
|
|
50
|
+
export * from './unassign-email-thread-entity-response-class';
|
|
34
51
|
export * from './update-html-template-request-dto';
|
|
35
52
|
export * from './update-layout-request-dto';
|
|
36
53
|
export * from './update-layout-response-class';
|
|
@@ -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 InlineAttachmentDto
|
|
21
|
+
*/
|
|
22
|
+
export interface InlineAttachmentDto {
|
|
23
|
+
/**
|
|
24
|
+
* File name shown to the recipient
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InlineAttachmentDto
|
|
27
|
+
*/
|
|
28
|
+
'filename': string;
|
|
29
|
+
/**
|
|
30
|
+
* Base64-encoded file content
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof InlineAttachmentDto
|
|
33
|
+
*/
|
|
34
|
+
'contentBase64': string;
|
|
35
|
+
/**
|
|
36
|
+
* MIME type of the file
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InlineAttachmentDto
|
|
39
|
+
*/
|
|
40
|
+
'contentType'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -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 { EmailMailboxClass } from './email-mailbox-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListEmailMailboxesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListEmailMailboxesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Next page token.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListEmailMailboxesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListEmailMailboxesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListEmailMailboxesResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* Mailboxes of the tenant, sorted by address
|
|
44
|
+
* @type {Array<EmailMailboxClass>}
|
|
45
|
+
* @memberof ListEmailMailboxesResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<EmailMailboxClass>;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -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 { EmailSubscriptionClass } from './email-subscription-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListEmailSubscriptionsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListEmailSubscriptionsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* List of email subscriptions
|
|
26
|
+
* @type {Array<EmailSubscriptionClass>}
|
|
27
|
+
* @memberof ListEmailSubscriptionsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<EmailSubscriptionClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Token for next page of results
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListEmailSubscriptionsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Total number of items
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListEmailSubscriptionsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'totalItems': number;
|
|
42
|
+
/**
|
|
43
|
+
* Number of items per page
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListEmailSubscriptionsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'itemsPerPage': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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 ReconcileEmailSubscriptionsRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface ReconcileEmailSubscriptionsRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Reconcile the email channel of this product. Omit it to reconcile the tenant-wide email channel.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ReconcileEmailSubscriptionsRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'productSlug'?: string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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 ReconcileEmailSubscriptionsResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ReconcileEmailSubscriptionsResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Subscriptions created for mailboxes and folders that had none
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ReconcileEmailSubscriptionsResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'created': number;
|
|
29
|
+
/**
|
|
30
|
+
* Subscriptions deleted because their mailbox or folder left the email channel
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof ReconcileEmailSubscriptionsResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'deleted': number;
|
|
35
|
+
/**
|
|
36
|
+
* Subscriptions created again because they expired or failed
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof ReconcileEmailSubscriptionsResponseClass
|
|
39
|
+
*/
|
|
40
|
+
'resubscribed': number;
|
|
41
|
+
/**
|
|
42
|
+
* Subscriptions that were already in place
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof ReconcileEmailSubscriptionsResponseClass
|
|
45
|
+
*/
|
|
46
|
+
'unchanged': number;
|
|
47
|
+
/**
|
|
48
|
+
* Subscriptions whose Graph call failed. The sweep retries them, and the email subscription list shows the error.
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof ReconcileEmailSubscriptionsResponseClass
|
|
51
|
+
*/
|
|
52
|
+
'failed': number;
|
|
53
|
+
}
|
|
54
|
+
|