@emilgroup/notification-sdk 0.8.1-beta.6 → 0.8.1-beta.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/.openapi-generator/FILES +23 -0
  2. package/README.md +2 -2
  3. package/api/email-mailboxes-api.ts +150 -0
  4. package/api/email-messages-api.ts +56 -36
  5. package/api/email-subscriptions-api.ts +781 -0
  6. package/api/email-tracking-api.ts +291 -48
  7. package/api/email-verifications-api.ts +24 -12
  8. package/api/layouts-api.ts +76 -46
  9. package/api/msgraph-webhooks-api.ts +278 -0
  10. package/api/notification-templates-api.ts +76 -46
  11. package/api/notifications-api.ts +121 -6
  12. package/api.ts +6 -0
  13. package/base.ts +174 -41
  14. package/common.ts +3 -2
  15. package/configuration.ts +20 -0
  16. package/dist/api/email-mailboxes-api.d.ts +87 -0
  17. package/dist/api/email-mailboxes-api.js +221 -0
  18. package/dist/api/email-messages-api.d.ts +44 -32
  19. package/dist/api/email-messages-api.js +62 -40
  20. package/dist/api/email-subscriptions-api.d.ts +432 -0
  21. package/dist/api/email-subscriptions-api.js +738 -0
  22. package/dist/api/email-tracking-api.d.ts +174 -44
  23. package/dist/api/email-tracking-api.js +261 -48
  24. package/dist/api/email-verifications-api.d.ts +18 -10
  25. package/dist/api/email-verifications-api.js +30 -16
  26. package/dist/api/health-api.d.ts +1 -1
  27. package/dist/api/layouts-api.d.ts +61 -41
  28. package/dist/api/layouts-api.js +81 -50
  29. package/dist/api/msgraph-webhooks-api.d.ts +168 -0
  30. package/dist/api/msgraph-webhooks-api.js +305 -0
  31. package/dist/api/notification-templates-api.d.ts +61 -41
  32. package/dist/api/notification-templates-api.js +81 -50
  33. package/dist/api/notifications-api.d.ts +66 -5
  34. package/dist/api/notifications-api.js +111 -8
  35. package/dist/api.d.ts +3 -0
  36. package/dist/api.js +3 -0
  37. package/dist/base.d.ts +24 -0
  38. package/dist/base.js +178 -59
  39. package/dist/common.d.ts +1 -1
  40. package/dist/common.js +1 -0
  41. package/dist/configuration.d.ts +17 -0
  42. package/dist/configuration.js +2 -0
  43. package/dist/models/assign-email-thread-entity-body-dto.d.ts +43 -0
  44. package/dist/models/assign-email-thread-entity-body-dto.js +22 -0
  45. package/dist/models/assign-email-thread-entity-response-class.d.ts +25 -0
  46. package/dist/models/assign-email-thread-entity-response-class.js +15 -0
  47. package/dist/models/catch-up-email-subscription-response-class.d.ts +24 -0
  48. package/dist/models/catch-up-email-subscription-response-class.js +15 -0
  49. package/dist/models/catch-up-email-subscriptions-request-dto.d.ts +24 -0
  50. package/dist/models/catch-up-email-subscriptions-request-dto.js +15 -0
  51. package/dist/models/catch-up-email-subscriptions-response-class.d.ts +30 -0
  52. package/dist/models/catch-up-email-subscriptions-response-class.js +15 -0
  53. package/dist/models/email-mailbox-class.d.ts +47 -0
  54. package/dist/models/email-mailbox-class.js +20 -0
  55. package/dist/models/email-message-class.d.ts +73 -7
  56. package/dist/models/email-message-class.js +22 -3
  57. package/dist/models/email-message-summary-class.d.ts +98 -0
  58. package/dist/models/email-message-summary-class.js +33 -0
  59. package/dist/models/email-subscription-class.d.ts +110 -0
  60. package/dist/models/email-subscription-class.js +23 -0
  61. package/dist/models/email-thread-class.d.ts +37 -5
  62. package/dist/models/entity-ref-class.d.ts +37 -0
  63. package/dist/models/entity-ref-class.js +22 -0
  64. package/dist/models/get-email-subscription-response-class.d.ts +25 -0
  65. package/dist/models/get-email-subscription-response-class.js +15 -0
  66. package/dist/models/grpc-send-email-request-dto.d.ts +137 -0
  67. package/dist/models/grpc-send-email-request-dto.js +22 -0
  68. package/dist/models/index.d.ts +20 -0
  69. package/dist/models/index.js +20 -0
  70. package/dist/models/inline-attachment-dto.d.ts +36 -0
  71. package/dist/models/inline-attachment-dto.js +15 -0
  72. package/dist/models/list-email-mailboxes-response-class.d.ts +43 -0
  73. package/dist/models/list-email-mailboxes-response-class.js +15 -0
  74. package/dist/models/list-email-subscriptions-response-class.d.ts +43 -0
  75. package/dist/models/list-email-subscriptions-response-class.js +15 -0
  76. package/dist/models/reconcile-email-subscriptions-request-dto.d.ts +24 -0
  77. package/dist/models/reconcile-email-subscriptions-request-dto.js +15 -0
  78. package/dist/models/reconcile-email-subscriptions-response-class.d.ts +48 -0
  79. package/dist/models/reconcile-email-subscriptions-response-class.js +15 -0
  80. package/dist/models/renew-email-subscription-response-class.d.ts +25 -0
  81. package/dist/models/renew-email-subscription-response-class.js +15 -0
  82. package/dist/models/send-email-request-dto.d.ts +131 -0
  83. package/dist/models/send-email-request-dto.js +22 -0
  84. package/dist/models/send-email-response-class.d.ts +24 -0
  85. package/dist/models/send-email-response-class.js +15 -0
  86. package/dist/models/send-notification-request-dto.d.ts +10 -1
  87. package/dist/models/send-notification-request-dto.js +2 -1
  88. package/dist/models/unassign-email-thread-entity-response-class.d.ts +25 -0
  89. package/dist/models/unassign-email-thread-entity-response-class.js +15 -0
  90. package/models/assign-email-thread-entity-body-dto.ts +52 -0
  91. package/models/assign-email-thread-entity-response-class.ts +31 -0
  92. package/models/catch-up-email-subscription-response-class.ts +30 -0
  93. package/models/catch-up-email-subscriptions-request-dto.ts +30 -0
  94. package/models/catch-up-email-subscriptions-response-class.ts +36 -0
  95. package/models/email-mailbox-class.ts +56 -0
  96. package/models/email-message-class.ts +78 -8
  97. package/models/email-message-summary-class.ts +109 -0
  98. package/models/email-subscription-class.ts +119 -0
  99. package/models/email-thread-class.ts +37 -5
  100. package/models/entity-ref-class.ts +46 -0
  101. package/models/get-email-subscription-response-class.ts +31 -0
  102. package/models/grpc-send-email-request-dto.ts +144 -0
  103. package/models/index.ts +20 -0
  104. package/models/inline-attachment-dto.ts +42 -0
  105. package/models/list-email-mailboxes-response-class.ts +49 -0
  106. package/models/list-email-subscriptions-response-class.ts +49 -0
  107. package/models/reconcile-email-subscriptions-request-dto.ts +30 -0
  108. package/models/reconcile-email-subscriptions-response-class.ts +54 -0
  109. package/models/renew-email-subscription-response-class.ts +31 -0
  110. package/models/send-email-request-dto.ts +138 -0
  111. package/models/send-email-response-class.ts +30 -0
  112. package/models/send-notification-request-dto.ts +9 -2
  113. package/models/unassign-email-thread-entity-response-class.ts +31 -0
  114. package/package.json +2 -2
@@ -0,0 +1,110 @@
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 EmailSubscriptionClass
16
+ */
17
+ export interface EmailSubscriptionClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof EmailSubscriptionClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Tenant the subscription belongs to
26
+ * @type {string}
27
+ * @memberof EmailSubscriptionClass
28
+ */
29
+ 'tenantSlug': string;
30
+ /**
31
+ * Product whose email channel configures the mailbox. Empty for the tenant-wide email channel.
32
+ * @type {string}
33
+ * @memberof EmailSubscriptionClass
34
+ */
35
+ 'productSlug'?: string;
36
+ /**
37
+ * Mailbox whose incoming mail is delivered to the platform
38
+ * @type {string}
39
+ * @memberof EmailSubscriptionClass
40
+ */
41
+ 'mailbox': string;
42
+ /**
43
+ * Mailbox folder the subscription watches
44
+ * @type {string}
45
+ * @memberof EmailSubscriptionClass
46
+ */
47
+ 'folder': string;
48
+ /**
49
+ * Id of the subscription in Microsoft Graph. Empty while the subscription is not created yet.
50
+ * @type {string}
51
+ * @memberof EmailSubscriptionClass
52
+ */
53
+ 'subscriptionId'?: string;
54
+ /**
55
+ * 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.
56
+ * @type {string}
57
+ * @memberof EmailSubscriptionClass
58
+ */
59
+ 'status': EmailSubscriptionClassStatusEnum;
60
+ /**
61
+ * When Microsoft Graph stops delivering mail unless the subscription is renewed. Renewed automatically within the last 24 hours.
62
+ * @type {string}
63
+ * @memberof EmailSubscriptionClass
64
+ */
65
+ 'expiresAt'?: string;
66
+ /**
67
+ * When the subscription was last created or renewed
68
+ * @type {string}
69
+ * @memberof EmailSubscriptionClass
70
+ */
71
+ 'lastRenewedAt'?: string;
72
+ /**
73
+ * When Microsoft Graph last notified about new mail
74
+ * @type {string}
75
+ * @memberof EmailSubscriptionClass
76
+ */
77
+ 'lastNotificationAt'?: string;
78
+ /**
79
+ * When the last catch-up of missed mail finished. Empty until the first one runs.
80
+ * @type {string}
81
+ * @memberof EmailSubscriptionClass
82
+ */
83
+ 'lastDeltaAt'?: string;
84
+ /**
85
+ * Error of the last failed Graph call, empty once it succeeds
86
+ * @type {string}
87
+ * @memberof EmailSubscriptionClass
88
+ */
89
+ 'lastError'?: string;
90
+ /**
91
+ * Created at timestamp
92
+ * @type {string}
93
+ * @memberof EmailSubscriptionClass
94
+ */
95
+ 'createdAt': string;
96
+ /**
97
+ * Updated at timestamp
98
+ * @type {string}
99
+ * @memberof EmailSubscriptionClass
100
+ */
101
+ 'updatedAt': string;
102
+ }
103
+ export declare const EmailSubscriptionClassStatusEnum: {
104
+ readonly Pending: "pending";
105
+ readonly Active: "active";
106
+ readonly Failed: "failed";
107
+ readonly Deleting: "deleting";
108
+ readonly DeletionFailed: "deletion-failed";
109
+ };
110
+ export type EmailSubscriptionClassStatusEnum = typeof EmailSubscriptionClassStatusEnum[keyof typeof EmailSubscriptionClassStatusEnum];
@@ -0,0 +1,23 @@
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.EmailSubscriptionClassStatusEnum = void 0;
17
+ exports.EmailSubscriptionClassStatusEnum = {
18
+ Pending: 'pending',
19
+ Active: 'active',
20
+ Failed: 'failed',
21
+ Deleting: 'deleting',
22
+ DeletionFailed: 'deletion-failed'
23
+ };
@@ -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
- * Entity type associated with this thread
32
- * @type {string}
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
- 'entityType': string;
37
+ 'entityRef'?: EntityRefClass;
36
38
  /**
37
- * Entity code associated with this thread
39
+ * Number of the entity the thread is linked to
38
40
  * @type {string}
39
41
  * @memberof EmailThreadClass
40
42
  */
41
- 'entityCode': string;
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
+ };
@@ -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,44 @@ 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';
31
48
  export * from './s3-document-dto';
49
+ export * from './send-email-request-dto';
50
+ export * from './send-email-response-class';
32
51
  export * from './send-notification-request-dto';
33
52
  export * from './send-notification-response-class';
53
+ export * from './unassign-email-thread-entity-response-class';
34
54
  export * from './update-html-template-request-dto';
35
55
  export * from './update-layout-request-dto';
36
56
  export * from './update-layout-response-class';
@@ -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,44 @@ __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);
47
64
  __exportStar(require("./s3-document-dto"), exports);
65
+ __exportStar(require("./send-email-request-dto"), exports);
66
+ __exportStar(require("./send-email-response-class"), exports);
48
67
  __exportStar(require("./send-notification-request-dto"), exports);
49
68
  __exportStar(require("./send-notification-response-class"), exports);
69
+ __exportStar(require("./unassign-email-thread-entity-response-class"), exports);
50
70
  __exportStar(require("./update-html-template-request-dto"), exports);
51
71
  __exportStar(require("./update-layout-request-dto"), exports);
52
72
  __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
+ }