@emilgroup/notification-sdk 0.8.1-beta.72 → 0.8.1-beta.73
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 +1 -0
- package/README.md +2 -2
- package/api/email-messages-api.ts +4 -4
- package/dist/api/email-messages-api.d.ts +4 -4
- package/dist/api/email-messages-api.js +4 -4
- package/dist/models/address-correction-dto.d.ts +30 -0
- package/dist/models/address-correction-dto.js +15 -0
- package/dist/models/email-message-class.d.ts +2 -2
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/resend-email-message-body-dto.d.ts +9 -2
- package/models/address-correction-dto.ts +36 -0
- package/models/email-message-class.ts +2 -2
- package/models/index.ts +1 -0
- package/models/resend-email-message-body-dto.ts +9 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/notification-sdk@0.8.1-beta.
|
|
20
|
+
npm install @emilgroup/notification-sdk@0.8.1-beta.73 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/notification-sdk@0.8.1-beta.
|
|
24
|
+
yarn add @emilgroup/notification-sdk@0.8.1-beta.73
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
|
@@ -274,7 +274,7 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
274
274
|
};
|
|
275
275
|
},
|
|
276
276
|
/**
|
|
277
|
-
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. A failed email is resent to all its original recipients; recipient and
|
|
277
|
+
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. corrections replaces several bounced recipients at once. A failed email is resent to all its original recipients; recipient, newAddress and corrections are not allowed for it. The original email is not changed and can be resent again. The new email starts as pending and carries resentFromMessageCode, resendReason and, for a bounce, resentOriginalRecipient. **Required Permissions** \"notification-management.email-messages.create\"
|
|
278
278
|
* @summary Resend the email message
|
|
279
279
|
* @param {string} code
|
|
280
280
|
* @param {ResendEmailMessageBodyDto} resendEmailMessageBodyDto
|
|
@@ -395,7 +395,7 @@ export const EmailMessagesApiFp = function(configuration?: Configuration) {
|
|
|
395
395
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
396
396
|
},
|
|
397
397
|
/**
|
|
398
|
-
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. A failed email is resent to all its original recipients; recipient and
|
|
398
|
+
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. corrections replaces several bounced recipients at once. A failed email is resent to all its original recipients; recipient, newAddress and corrections are not allowed for it. The original email is not changed and can be resent again. The new email starts as pending and carries resentFromMessageCode, resendReason and, for a bounce, resentOriginalRecipient. **Required Permissions** \"notification-management.email-messages.create\"
|
|
399
399
|
* @summary Resend the email message
|
|
400
400
|
* @param {string} code
|
|
401
401
|
* @param {ResendEmailMessageBodyDto} resendEmailMessageBodyDto
|
|
@@ -469,7 +469,7 @@ export const EmailMessagesApiFactory = function (configuration?: Configuration,
|
|
|
469
469
|
return localVarFp.listEmailMessages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
470
470
|
},
|
|
471
471
|
/**
|
|
472
|
-
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. A failed email is resent to all its original recipients; recipient and
|
|
472
|
+
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. corrections replaces several bounced recipients at once. A failed email is resent to all its original recipients; recipient, newAddress and corrections are not allowed for it. The original email is not changed and can be resent again. The new email starts as pending and carries resentFromMessageCode, resendReason and, for a bounce, resentOriginalRecipient. **Required Permissions** \"notification-management.email-messages.create\"
|
|
473
473
|
* @summary Resend the email message
|
|
474
474
|
* @param {string} code
|
|
475
475
|
* @param {ResendEmailMessageBodyDto} resendEmailMessageBodyDto
|
|
@@ -700,7 +700,7 @@ export class EmailMessagesApi extends BaseAPI {
|
|
|
700
700
|
}
|
|
701
701
|
|
|
702
702
|
/**
|
|
703
|
-
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. A failed email is resent to all its original recipients; recipient and
|
|
703
|
+
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. corrections replaces several bounced recipients at once. A failed email is resent to all its original recipients; recipient, newAddress and corrections are not allowed for it. The original email is not changed and can be resent again. The new email starts as pending and carries resentFromMessageCode, resendReason and, for a bounce, resentOriginalRecipient. **Required Permissions** \"notification-management.email-messages.create\"
|
|
704
704
|
* @summary Resend the email message
|
|
705
705
|
* @param {EmailMessagesApiResendMessageRequest} requestParameters Request parameters.
|
|
706
706
|
* @param {*} [options] Override http request option.
|
|
@@ -67,7 +67,7 @@ export declare const EmailMessagesApiAxiosParamCreator: (configuration?: Configu
|
|
|
67
67
|
*/
|
|
68
68
|
listEmailMessages: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
69
|
/**
|
|
70
|
-
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. A failed email is resent to all its original recipients; recipient and
|
|
70
|
+
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. corrections replaces several bounced recipients at once. A failed email is resent to all its original recipients; recipient, newAddress and corrections are not allowed for it. The original email is not changed and can be resent again. The new email starts as pending and carries resentFromMessageCode, resendReason and, for a bounce, resentOriginalRecipient. **Required Permissions** \"notification-management.email-messages.create\"
|
|
71
71
|
* @summary Resend the email message
|
|
72
72
|
* @param {string} code
|
|
73
73
|
* @param {ResendEmailMessageBodyDto} resendEmailMessageBodyDto
|
|
@@ -126,7 +126,7 @@ export declare const EmailMessagesApiFp: (configuration?: Configuration) => {
|
|
|
126
126
|
*/
|
|
127
127
|
listEmailMessages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEmailMessagesResponseClass>>;
|
|
128
128
|
/**
|
|
129
|
-
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. A failed email is resent to all its original recipients; recipient and
|
|
129
|
+
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. corrections replaces several bounced recipients at once. A failed email is resent to all its original recipients; recipient, newAddress and corrections are not allowed for it. The original email is not changed and can be resent again. The new email starts as pending and carries resentFromMessageCode, resendReason and, for a bounce, resentOriginalRecipient. **Required Permissions** \"notification-management.email-messages.create\"
|
|
130
130
|
* @summary Resend the email message
|
|
131
131
|
* @param {string} code
|
|
132
132
|
* @param {ResendEmailMessageBodyDto} resendEmailMessageBodyDto
|
|
@@ -185,7 +185,7 @@ export declare const EmailMessagesApiFactory: (configuration?: Configuration, ba
|
|
|
185
185
|
*/
|
|
186
186
|
listEmailMessages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListEmailMessagesResponseClass>;
|
|
187
187
|
/**
|
|
188
|
-
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. A failed email is resent to all its original recipients; recipient and
|
|
188
|
+
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. corrections replaces several bounced recipients at once. A failed email is resent to all its original recipients; recipient, newAddress and corrections are not allowed for it. The original email is not changed and can be resent again. The new email starts as pending and carries resentFromMessageCode, resendReason and, for a bounce, resentOriginalRecipient. **Required Permissions** \"notification-management.email-messages.create\"
|
|
189
189
|
* @summary Resend the email message
|
|
190
190
|
* @param {string} code
|
|
191
191
|
* @param {ResendEmailMessageBodyDto} resendEmailMessageBodyDto
|
|
@@ -382,7 +382,7 @@ export declare class EmailMessagesApi extends BaseAPI {
|
|
|
382
382
|
*/
|
|
383
383
|
listEmailMessages(requestParameters?: EmailMessagesApiListEmailMessagesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEmailMessagesResponseClass, any, {}, any>>;
|
|
384
384
|
/**
|
|
385
|
-
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. A failed email is resent to all its original recipients; recipient and
|
|
385
|
+
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. corrections replaces several bounced recipients at once. A failed email is resent to all its original recipients; recipient, newAddress and corrections are not allowed for it. The original email is not changed and can be resent again. The new email starts as pending and carries resentFromMessageCode, resendReason and, for a bounce, resentOriginalRecipient. **Required Permissions** \"notification-management.email-messages.create\"
|
|
386
386
|
* @summary Resend the email message
|
|
387
387
|
* @param {EmailMessagesApiResendMessageRequest} requestParameters Request parameters.
|
|
388
388
|
* @param {*} [options] Override http request option.
|
|
@@ -338,7 +338,7 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
|
|
|
338
338
|
});
|
|
339
339
|
},
|
|
340
340
|
/**
|
|
341
|
-
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. A failed email is resent to all its original recipients; recipient and
|
|
341
|
+
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. corrections replaces several bounced recipients at once. A failed email is resent to all its original recipients; recipient, newAddress and corrections are not allowed for it. The original email is not changed and can be resent again. The new email starts as pending and carries resentFromMessageCode, resendReason and, for a bounce, resentOriginalRecipient. **Required Permissions** \"notification-management.email-messages.create\"
|
|
342
342
|
* @summary Resend the email message
|
|
343
343
|
* @param {string} code
|
|
344
344
|
* @param {ResendEmailMessageBodyDto} resendEmailMessageBodyDto
|
|
@@ -499,7 +499,7 @@ var EmailMessagesApiFp = function (configuration) {
|
|
|
499
499
|
});
|
|
500
500
|
},
|
|
501
501
|
/**
|
|
502
|
-
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. A failed email is resent to all its original recipients; recipient and
|
|
502
|
+
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. corrections replaces several bounced recipients at once. A failed email is resent to all its original recipients; recipient, newAddress and corrections are not allowed for it. The original email is not changed and can be resent again. The new email starts as pending and carries resentFromMessageCode, resendReason and, for a bounce, resentOriginalRecipient. **Required Permissions** \"notification-management.email-messages.create\"
|
|
503
503
|
* @summary Resend the email message
|
|
504
504
|
* @param {string} code
|
|
505
505
|
* @param {ResendEmailMessageBodyDto} resendEmailMessageBodyDto
|
|
@@ -582,7 +582,7 @@ var EmailMessagesApiFactory = function (configuration, basePath, axios) {
|
|
|
582
582
|
return localVarFp.listEmailMessages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
583
583
|
},
|
|
584
584
|
/**
|
|
585
|
-
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. A failed email is resent to all its original recipients; recipient and
|
|
585
|
+
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. corrections replaces several bounced recipients at once. A failed email is resent to all its original recipients; recipient, newAddress and corrections are not allowed for it. The original email is not changed and can be resent again. The new email starts as pending and carries resentFromMessageCode, resendReason and, for a bounce, resentOriginalRecipient. **Required Permissions** \"notification-management.email-messages.create\"
|
|
586
586
|
* @summary Resend the email message
|
|
587
587
|
* @param {string} code
|
|
588
588
|
* @param {ResendEmailMessageBodyDto} resendEmailMessageBodyDto
|
|
@@ -657,7 +657,7 @@ var EmailMessagesApi = /** @class */ (function (_super) {
|
|
|
657
657
|
return (0, exports.EmailMessagesApiFp)(this.configuration).listEmailMessages(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
658
658
|
};
|
|
659
659
|
/**
|
|
660
|
-
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. A failed email is resent to all its original recipients; recipient and
|
|
660
|
+
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to every recipient that bounced, not to the recipients that received it. newAddress replaces one bounced recipient; pass recipient to name it when more than one bounced. corrections replaces several bounced recipients at once. A failed email is resent to all its original recipients; recipient, newAddress and corrections are not allowed for it. The original email is not changed and can be resent again. The new email starts as pending and carries resentFromMessageCode, resendReason and, for a bounce, resentOriginalRecipient. **Required Permissions** \"notification-management.email-messages.create\"
|
|
661
661
|
* @summary Resend the email message
|
|
662
662
|
* @param {EmailMessagesApiResendMessageRequest} requestParameters Request parameters.
|
|
663
663
|
* @param {*} [options] Override http request option.
|
|
@@ -0,0 +1,30 @@
|
|
|
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 AddressCorrectionDto
|
|
16
|
+
*/
|
|
17
|
+
export interface AddressCorrectionDto {
|
|
18
|
+
/**
|
|
19
|
+
* A bounced recipient of the email, as listed in its `bouncedAddresses`.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AddressCorrectionDto
|
|
22
|
+
*/
|
|
23
|
+
'recipient': string;
|
|
24
|
+
/**
|
|
25
|
+
* The address the email goes to instead of `recipient`.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AddressCorrectionDto
|
|
28
|
+
*/
|
|
29
|
+
'newAddress': string;
|
|
30
|
+
}
|
|
@@ -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 });
|
|
@@ -210,11 +210,11 @@ export interface EmailMessageClass {
|
|
|
210
210
|
*/
|
|
211
211
|
'sentByName'?: string;
|
|
212
212
|
/**
|
|
213
|
-
*
|
|
213
|
+
* Set only when `deliveryStatus` is `bounced`: the addresses whose delivery failed, as reported by the receiving mail servers. These are the addresses that can be passed as `recipient` when resending with a corrected address.
|
|
214
214
|
* @type {Array<string>}
|
|
215
215
|
* @memberof EmailMessageClass
|
|
216
216
|
*/
|
|
217
|
-
'bouncedAddresses'
|
|
217
|
+
'bouncedAddresses'?: Array<string>;
|
|
218
218
|
}
|
|
219
219
|
export declare const EmailMessageClassMatchStatusEnum: {
|
|
220
220
|
readonly Pending: "pending";
|
package/dist/models/index.d.ts
CHANGED
package/dist/models/index.js
CHANGED
|
@@ -14,6 +14,7 @@ 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("./address-correction-dto"), exports);
|
|
17
18
|
__exportStar(require("./assign-email-thread-entity-body-dto"), exports);
|
|
18
19
|
__exportStar(require("./assign-email-thread-entity-response-class"), exports);
|
|
19
20
|
__exportStar(require("./catch-up-email-subscription-response-class"), exports);
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { AddressCorrectionDto } from './address-correction-dto';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -16,15 +17,21 @@
|
|
|
16
17
|
*/
|
|
17
18
|
export interface ResendEmailMessageBodyDto {
|
|
18
19
|
/**
|
|
19
|
-
* Bounced emails only. Without newAddress: resend only to this bounced recipient instead of all of them. With newAddress: the bounced recipient whose address is corrected; required when more than one recipient bounced.
|
|
20
|
+
* Bounced emails only. Without newAddress: resend only to this bounced recipient instead of all of them. With newAddress: the bounced recipient whose address is corrected; required when more than one recipient bounced. Not allowed together with corrections.
|
|
20
21
|
* @type {string}
|
|
21
22
|
* @memberof ResendEmailMessageBodyDto
|
|
22
23
|
*/
|
|
23
24
|
'recipient'?: string;
|
|
24
25
|
/**
|
|
25
|
-
* Bounced emails only: the corrected address. It replaces the bounced recipient; any other bounced recipients still receive the email.
|
|
26
|
+
* Bounced emails only: the corrected address. It replaces the bounced recipient; any other bounced recipients still receive the email. Not allowed together with corrections.
|
|
26
27
|
* @type {string}
|
|
27
28
|
* @memberof ResendEmailMessageBodyDto
|
|
28
29
|
*/
|
|
29
30
|
'newAddress'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Bounced emails only: corrects several bounced recipients in one resend. Each bounced recipient can be corrected once; bounced recipients that are not listed receive the email at their original address. Use instead of recipient and newAddress.
|
|
33
|
+
* @type {Array<AddressCorrectionDto>}
|
|
34
|
+
* @memberof ResendEmailMessageBodyDto
|
|
35
|
+
*/
|
|
36
|
+
'corrections'?: Array<AddressCorrectionDto>;
|
|
30
37
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 AddressCorrectionDto
|
|
21
|
+
*/
|
|
22
|
+
export interface AddressCorrectionDto {
|
|
23
|
+
/**
|
|
24
|
+
* A bounced recipient of the email, as listed in its `bouncedAddresses`.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AddressCorrectionDto
|
|
27
|
+
*/
|
|
28
|
+
'recipient': string;
|
|
29
|
+
/**
|
|
30
|
+
* The address the email goes to instead of `recipient`.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AddressCorrectionDto
|
|
33
|
+
*/
|
|
34
|
+
'newAddress': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -215,11 +215,11 @@ export interface EmailMessageClass {
|
|
|
215
215
|
*/
|
|
216
216
|
'sentByName'?: string;
|
|
217
217
|
/**
|
|
218
|
-
*
|
|
218
|
+
* Set only when `deliveryStatus` is `bounced`: the addresses whose delivery failed, as reported by the receiving mail servers. These are the addresses that can be passed as `recipient` when resending with a corrected address.
|
|
219
219
|
* @type {Array<string>}
|
|
220
220
|
* @memberof EmailMessageClass
|
|
221
221
|
*/
|
|
222
|
-
'bouncedAddresses'
|
|
222
|
+
'bouncedAddresses'?: Array<string>;
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
export const EmailMessageClassMatchStatusEnum = {
|
package/models/index.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { AddressCorrectionDto } from './address-correction-dto';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -21,16 +22,22 @@
|
|
|
21
22
|
*/
|
|
22
23
|
export interface ResendEmailMessageBodyDto {
|
|
23
24
|
/**
|
|
24
|
-
* Bounced emails only. Without newAddress: resend only to this bounced recipient instead of all of them. With newAddress: the bounced recipient whose address is corrected; required when more than one recipient bounced.
|
|
25
|
+
* Bounced emails only. Without newAddress: resend only to this bounced recipient instead of all of them. With newAddress: the bounced recipient whose address is corrected; required when more than one recipient bounced. Not allowed together with corrections.
|
|
25
26
|
* @type {string}
|
|
26
27
|
* @memberof ResendEmailMessageBodyDto
|
|
27
28
|
*/
|
|
28
29
|
'recipient'?: string;
|
|
29
30
|
/**
|
|
30
|
-
* Bounced emails only: the corrected address. It replaces the bounced recipient; any other bounced recipients still receive the email.
|
|
31
|
+
* Bounced emails only: the corrected address. It replaces the bounced recipient; any other bounced recipients still receive the email. Not allowed together with corrections.
|
|
31
32
|
* @type {string}
|
|
32
33
|
* @memberof ResendEmailMessageBodyDto
|
|
33
34
|
*/
|
|
34
35
|
'newAddress'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Bounced emails only: corrects several bounced recipients in one resend. Each bounced recipient can be corrected once; bounced recipients that are not listed receive the email at their original address. Use instead of recipient and newAddress.
|
|
38
|
+
* @type {Array<AddressCorrectionDto>}
|
|
39
|
+
* @memberof ResendEmailMessageBodyDto
|
|
40
|
+
*/
|
|
41
|
+
'corrections'?: Array<AddressCorrectionDto>;
|
|
35
42
|
}
|
|
36
43
|
|