@emilgroup/notification-sdk 0.8.1-beta.67 → 0.8.1-beta.68
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/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/email-message-class.d.ts +1 -1
- package/dist/models/resend-email-message-body-dto.d.ts +2 -2
- package/models/email-message-class.ts +1 -1
- package/models/resend-email-message-body-dto.ts +2 -2
- package/package.json +1 -1
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.68 --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.68
|
|
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
|
|
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 newAddress 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
|
|
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 newAddress 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
|
|
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 newAddress 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
|
|
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 newAddress 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
|
|
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 newAddress 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
|
|
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 newAddress 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
|
|
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 newAddress 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
|
|
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 newAddress 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
|
|
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 newAddress 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
|
|
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 newAddress 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
|
|
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 newAddress 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
|
|
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 newAddress 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.
|
|
@@ -198,7 +198,7 @@ export interface EmailMessageClass {
|
|
|
198
198
|
*/
|
|
199
199
|
'resendReason'?: EmailMessageClassResendReasonEnum;
|
|
200
200
|
/**
|
|
201
|
-
* Set only on an email resent because of a bounce: the address that bounced
|
|
201
|
+
* Set only on an email resent because of a bounce: the bounced address that was corrected, or the bounced addresses, comma-separated, when none was corrected. `toAddresses` holds the addresses the email was resent to.
|
|
202
202
|
* @type {string}
|
|
203
203
|
* @memberof EmailMessageClass
|
|
204
204
|
*/
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface ResendEmailMessageBodyDto {
|
|
18
18
|
/**
|
|
19
|
-
* Bounced emails only:
|
|
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
20
|
* @type {string}
|
|
21
21
|
* @memberof ResendEmailMessageBodyDto
|
|
22
22
|
*/
|
|
23
23
|
'recipient'?: string;
|
|
24
24
|
/**
|
|
25
|
-
* Bounced emails only: the corrected address.
|
|
25
|
+
* Bounced emails only: the corrected address. It replaces the bounced recipient; any other bounced recipients still receive the email.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ResendEmailMessageBodyDto
|
|
28
28
|
*/
|
|
@@ -203,7 +203,7 @@ export interface EmailMessageClass {
|
|
|
203
203
|
*/
|
|
204
204
|
'resendReason'?: EmailMessageClassResendReasonEnum;
|
|
205
205
|
/**
|
|
206
|
-
* Set only on an email resent because of a bounce: the address that bounced
|
|
206
|
+
* Set only on an email resent because of a bounce: the bounced address that was corrected, or the bounced addresses, comma-separated, when none was corrected. `toAddresses` holds the addresses the email was resent to.
|
|
207
207
|
* @type {string}
|
|
208
208
|
* @memberof EmailMessageClass
|
|
209
209
|
*/
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface ResendEmailMessageBodyDto {
|
|
23
23
|
/**
|
|
24
|
-
* Bounced emails only:
|
|
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
25
|
* @type {string}
|
|
26
26
|
* @memberof ResendEmailMessageBodyDto
|
|
27
27
|
*/
|
|
28
28
|
'recipient'?: string;
|
|
29
29
|
/**
|
|
30
|
-
* Bounced emails only: the corrected address.
|
|
30
|
+
* Bounced emails only: the corrected address. It replaces the bounced recipient; any other bounced recipients still receive the email.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof ResendEmailMessageBodyDto
|
|
33
33
|
*/
|