@emilgroup/notification-sdk 0.8.1-beta.28 → 0.8.1-beta.3
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 +0 -1
- package/README.md +2 -2
- package/api/email-messages-api.ts +24 -36
- package/api/email-tracking-api.ts +24 -32
- package/api/email-verifications-api.ts +8 -16
- package/api/layouts-api.ts +36 -56
- package/api/notification-templates-api.ts +36 -56
- package/api/notifications-api.ts +4 -8
- package/api.ts +0 -2
- package/dist/api/email-messages-api.d.ts +24 -36
- package/dist/api/email-messages-api.js +22 -34
- package/dist/api/email-tracking-api.d.ts +24 -32
- package/dist/api/email-tracking-api.js +22 -30
- package/dist/api/email-verifications-api.d.ts +8 -16
- package/dist/api/email-verifications-api.js +8 -16
- package/dist/api/layouts-api.d.ts +36 -56
- package/dist/api/layouts-api.js +32 -52
- package/dist/api/notification-templates-api.d.ts +36 -56
- package/dist/api/notification-templates-api.js +32 -52
- package/dist/api/notifications-api.d.ts +4 -8
- package/dist/api/notifications-api.js +4 -8
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/models/email-message-class.d.ts +1 -47
- package/dist/models/email-message-class.js +1 -14
- package/dist/models/send-notification-request-dto.d.ts +0 -9
- package/dist/models/send-notification-request-dto.js +1 -2
- package/models/email-message-class.ts +1 -50
- package/models/send-notification-request-dto.ts +1 -8
- package/package.json +1 -1
- package/api/msgraph-webhooks-api.ts +0 -278
- package/dist/api/msgraph-webhooks-api.d.ts +0 -168
- package/dist/api/msgraph-webhooks-api.js +0 -305
|
@@ -22,8 +22,7 @@ import { ListEmailMessagesResponseClass } from '../models';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const EmailMessagesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @summary Download the email message attachment
|
|
25
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
27
26
|
* @param {string} code
|
|
28
27
|
* @param {number} attachmentId
|
|
29
28
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -32,8 +31,7 @@ export declare const EmailMessagesApiAxiosParamCreator: (configuration?: Configu
|
|
|
32
31
|
*/
|
|
33
32
|
downloadAttachment: (code: string, attachmentId: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
33
|
/**
|
|
35
|
-
*
|
|
36
|
-
* @summary Retrieve the email message
|
|
34
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
37
35
|
* @param {string} code
|
|
38
36
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
39
37
|
* @param {*} [options] Override http request option.
|
|
@@ -41,8 +39,7 @@ export declare const EmailMessagesApiAxiosParamCreator: (configuration?: Configu
|
|
|
41
39
|
*/
|
|
42
40
|
getMessage: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
41
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @summary List the email message attachments
|
|
42
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
46
43
|
* @param {string} code
|
|
47
44
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
48
45
|
* @param {*} [options] Override http request option.
|
|
@@ -50,16 +47,16 @@ export declare const EmailMessagesApiAxiosParamCreator: (configuration?: Configu
|
|
|
50
47
|
*/
|
|
51
48
|
listAttachments: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
49
|
/**
|
|
53
|
-
*
|
|
50
|
+
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
54
51
|
* @summary List email messages
|
|
55
52
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
56
53
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
57
54
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
58
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
55
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
59
56
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
60
57
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
61
58
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: attachments<i>
|
|
62
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
59
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
63
60
|
* @param {*} [options] Override http request option.
|
|
64
61
|
* @throws {RequiredError}
|
|
65
62
|
*/
|
|
@@ -71,8 +68,7 @@ export declare const EmailMessagesApiAxiosParamCreator: (configuration?: Configu
|
|
|
71
68
|
*/
|
|
72
69
|
export declare const EmailMessagesApiFp: (configuration?: Configuration) => {
|
|
73
70
|
/**
|
|
74
|
-
*
|
|
75
|
-
* @summary Download the email message attachment
|
|
71
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
76
72
|
* @param {string} code
|
|
77
73
|
* @param {number} attachmentId
|
|
78
74
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -81,8 +77,7 @@ export declare const EmailMessagesApiFp: (configuration?: Configuration) => {
|
|
|
81
77
|
*/
|
|
82
78
|
downloadAttachment(code: string, attachmentId: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DownloadAttachmentResponseClass>>;
|
|
83
79
|
/**
|
|
84
|
-
*
|
|
85
|
-
* @summary Retrieve the email message
|
|
80
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
86
81
|
* @param {string} code
|
|
87
82
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
88
83
|
* @param {*} [options] Override http request option.
|
|
@@ -90,8 +85,7 @@ export declare const EmailMessagesApiFp: (configuration?: Configuration) => {
|
|
|
90
85
|
*/
|
|
91
86
|
getMessage(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmailMessageResponseClass>>;
|
|
92
87
|
/**
|
|
93
|
-
*
|
|
94
|
-
* @summary List the email message attachments
|
|
88
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
95
89
|
* @param {string} code
|
|
96
90
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
97
91
|
* @param {*} [options] Override http request option.
|
|
@@ -99,16 +93,16 @@ export declare const EmailMessagesApiFp: (configuration?: Configuration) => {
|
|
|
99
93
|
*/
|
|
100
94
|
listAttachments(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEmailAttachmentsResponseClass>>;
|
|
101
95
|
/**
|
|
102
|
-
*
|
|
96
|
+
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
103
97
|
* @summary List email messages
|
|
104
98
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
105
99
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
106
100
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
107
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
101
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
108
102
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
109
103
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
110
104
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: attachments<i>
|
|
111
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
105
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
112
106
|
* @param {*} [options] Override http request option.
|
|
113
107
|
* @throws {RequiredError}
|
|
114
108
|
*/
|
|
@@ -120,8 +114,7 @@ export declare const EmailMessagesApiFp: (configuration?: Configuration) => {
|
|
|
120
114
|
*/
|
|
121
115
|
export declare const EmailMessagesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
122
116
|
/**
|
|
123
|
-
*
|
|
124
|
-
* @summary Download the email message attachment
|
|
117
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
125
118
|
* @param {string} code
|
|
126
119
|
* @param {number} attachmentId
|
|
127
120
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -130,8 +123,7 @@ export declare const EmailMessagesApiFactory: (configuration?: Configuration, ba
|
|
|
130
123
|
*/
|
|
131
124
|
downloadAttachment(code: string, attachmentId: number, authorization?: string, options?: any): AxiosPromise<DownloadAttachmentResponseClass>;
|
|
132
125
|
/**
|
|
133
|
-
*
|
|
134
|
-
* @summary Retrieve the email message
|
|
126
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
135
127
|
* @param {string} code
|
|
136
128
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
137
129
|
* @param {*} [options] Override http request option.
|
|
@@ -139,8 +131,7 @@ export declare const EmailMessagesApiFactory: (configuration?: Configuration, ba
|
|
|
139
131
|
*/
|
|
140
132
|
getMessage(code: string, authorization?: string, options?: any): AxiosPromise<GetEmailMessageResponseClass>;
|
|
141
133
|
/**
|
|
142
|
-
*
|
|
143
|
-
* @summary List the email message attachments
|
|
134
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
144
135
|
* @param {string} code
|
|
145
136
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
146
137
|
* @param {*} [options] Override http request option.
|
|
@@ -148,16 +139,16 @@ export declare const EmailMessagesApiFactory: (configuration?: Configuration, ba
|
|
|
148
139
|
*/
|
|
149
140
|
listAttachments(code: string, authorization?: string, options?: any): AxiosPromise<ListEmailAttachmentsResponseClass>;
|
|
150
141
|
/**
|
|
151
|
-
*
|
|
142
|
+
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
152
143
|
* @summary List email messages
|
|
153
144
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
145
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
155
146
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
156
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
147
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
157
148
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
158
149
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
159
150
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: attachments<i>
|
|
160
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
151
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
161
152
|
* @param {*} [options] Override http request option.
|
|
162
153
|
* @throws {RequiredError}
|
|
163
154
|
*/
|
|
@@ -251,7 +242,7 @@ export interface EmailMessagesApiListEmailMessagesRequest {
|
|
|
251
242
|
*/
|
|
252
243
|
readonly pageToken?: string;
|
|
253
244
|
/**
|
|
254
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
245
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
255
246
|
* @type {string}
|
|
256
247
|
* @memberof EmailMessagesApiListEmailMessages
|
|
257
248
|
*/
|
|
@@ -275,7 +266,7 @@ export interface EmailMessagesApiListEmailMessagesRequest {
|
|
|
275
266
|
*/
|
|
276
267
|
readonly expand?: string;
|
|
277
268
|
/**
|
|
278
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
269
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
279
270
|
* @type {string}
|
|
280
271
|
* @memberof EmailMessagesApiListEmailMessages
|
|
281
272
|
*/
|
|
@@ -289,8 +280,7 @@ export interface EmailMessagesApiListEmailMessagesRequest {
|
|
|
289
280
|
*/
|
|
290
281
|
export declare class EmailMessagesApi extends BaseAPI {
|
|
291
282
|
/**
|
|
292
|
-
*
|
|
293
|
-
* @summary Download the email message attachment
|
|
283
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
294
284
|
* @param {EmailMessagesApiDownloadAttachmentRequest} requestParameters Request parameters.
|
|
295
285
|
* @param {*} [options] Override http request option.
|
|
296
286
|
* @throws {RequiredError}
|
|
@@ -298,8 +288,7 @@ export declare class EmailMessagesApi extends BaseAPI {
|
|
|
298
288
|
*/
|
|
299
289
|
downloadAttachment(requestParameters: EmailMessagesApiDownloadAttachmentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DownloadAttachmentResponseClass, any, {}>>;
|
|
300
290
|
/**
|
|
301
|
-
*
|
|
302
|
-
* @summary Retrieve the email message
|
|
291
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
303
292
|
* @param {EmailMessagesApiGetMessageRequest} requestParameters Request parameters.
|
|
304
293
|
* @param {*} [options] Override http request option.
|
|
305
294
|
* @throws {RequiredError}
|
|
@@ -307,8 +296,7 @@ export declare class EmailMessagesApi extends BaseAPI {
|
|
|
307
296
|
*/
|
|
308
297
|
getMessage(requestParameters: EmailMessagesApiGetMessageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmailMessageResponseClass, any, {}>>;
|
|
309
298
|
/**
|
|
310
|
-
*
|
|
311
|
-
* @summary List the email message attachments
|
|
299
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
312
300
|
* @param {EmailMessagesApiListAttachmentsRequest} requestParameters Request parameters.
|
|
313
301
|
* @param {*} [options] Override http request option.
|
|
314
302
|
* @throws {RequiredError}
|
|
@@ -316,7 +304,7 @@ export declare class EmailMessagesApi extends BaseAPI {
|
|
|
316
304
|
*/
|
|
317
305
|
listAttachments(requestParameters: EmailMessagesApiListAttachmentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEmailAttachmentsResponseClass, any, {}>>;
|
|
318
306
|
/**
|
|
319
|
-
*
|
|
307
|
+
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
320
308
|
* @summary List email messages
|
|
321
309
|
* @param {EmailMessagesApiListEmailMessagesRequest} requestParameters Request parameters.
|
|
322
310
|
* @param {*} [options] Override http request option.
|
|
@@ -93,8 +93,7 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
97
|
-
* @summary Download the email message attachment
|
|
96
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
98
97
|
* @param {string} code
|
|
99
98
|
* @param {number} attachmentId
|
|
100
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -145,8 +144,7 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
|
|
|
145
144
|
});
|
|
146
145
|
},
|
|
147
146
|
/**
|
|
148
|
-
*
|
|
149
|
-
* @summary Retrieve the email message
|
|
147
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
150
148
|
* @param {string} code
|
|
151
149
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
152
150
|
* @param {*} [options] Override http request option.
|
|
@@ -193,8 +191,7 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
|
|
|
193
191
|
});
|
|
194
192
|
},
|
|
195
193
|
/**
|
|
196
|
-
*
|
|
197
|
-
* @summary List the email message attachments
|
|
194
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
198
195
|
* @param {string} code
|
|
199
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
200
197
|
* @param {*} [options] Override http request option.
|
|
@@ -241,16 +238,16 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
|
|
|
241
238
|
});
|
|
242
239
|
},
|
|
243
240
|
/**
|
|
244
|
-
*
|
|
241
|
+
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
245
242
|
* @summary List email messages
|
|
246
243
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
247
244
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
248
245
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
249
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
246
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
250
247
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
251
248
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
252
249
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: attachments<i>
|
|
253
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
250
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
254
251
|
* @param {*} [options] Override http request option.
|
|
255
252
|
* @throws {RequiredError}
|
|
256
253
|
*/
|
|
@@ -323,8 +320,7 @@ var EmailMessagesApiFp = function (configuration) {
|
|
|
323
320
|
var localVarAxiosParamCreator = (0, exports.EmailMessagesApiAxiosParamCreator)(configuration);
|
|
324
321
|
return {
|
|
325
322
|
/**
|
|
326
|
-
*
|
|
327
|
-
* @summary Download the email message attachment
|
|
323
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
328
324
|
* @param {string} code
|
|
329
325
|
* @param {number} attachmentId
|
|
330
326
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -345,8 +341,7 @@ var EmailMessagesApiFp = function (configuration) {
|
|
|
345
341
|
});
|
|
346
342
|
},
|
|
347
343
|
/**
|
|
348
|
-
*
|
|
349
|
-
* @summary Retrieve the email message
|
|
344
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
350
345
|
* @param {string} code
|
|
351
346
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
352
347
|
* @param {*} [options] Override http request option.
|
|
@@ -366,8 +361,7 @@ var EmailMessagesApiFp = function (configuration) {
|
|
|
366
361
|
});
|
|
367
362
|
},
|
|
368
363
|
/**
|
|
369
|
-
*
|
|
370
|
-
* @summary List the email message attachments
|
|
364
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
371
365
|
* @param {string} code
|
|
372
366
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
373
367
|
* @param {*} [options] Override http request option.
|
|
@@ -387,16 +381,16 @@ var EmailMessagesApiFp = function (configuration) {
|
|
|
387
381
|
});
|
|
388
382
|
},
|
|
389
383
|
/**
|
|
390
|
-
*
|
|
384
|
+
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
391
385
|
* @summary List email messages
|
|
392
386
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
393
387
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
394
388
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
395
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
389
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
396
390
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
397
391
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
398
392
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: attachments<i>
|
|
399
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
393
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
400
394
|
* @param {*} [options] Override http request option.
|
|
401
395
|
* @throws {RequiredError}
|
|
402
396
|
*/
|
|
@@ -424,8 +418,7 @@ var EmailMessagesApiFactory = function (configuration, basePath, axios) {
|
|
|
424
418
|
var localVarFp = (0, exports.EmailMessagesApiFp)(configuration);
|
|
425
419
|
return {
|
|
426
420
|
/**
|
|
427
|
-
*
|
|
428
|
-
* @summary Download the email message attachment
|
|
421
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
429
422
|
* @param {string} code
|
|
430
423
|
* @param {number} attachmentId
|
|
431
424
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -436,8 +429,7 @@ var EmailMessagesApiFactory = function (configuration, basePath, axios) {
|
|
|
436
429
|
return localVarFp.downloadAttachment(code, attachmentId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
437
430
|
},
|
|
438
431
|
/**
|
|
439
|
-
*
|
|
440
|
-
* @summary Retrieve the email message
|
|
432
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
441
433
|
* @param {string} code
|
|
442
434
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
443
435
|
* @param {*} [options] Override http request option.
|
|
@@ -447,8 +439,7 @@ var EmailMessagesApiFactory = function (configuration, basePath, axios) {
|
|
|
447
439
|
return localVarFp.getMessage(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
448
440
|
},
|
|
449
441
|
/**
|
|
450
|
-
*
|
|
451
|
-
* @summary List the email message attachments
|
|
442
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
452
443
|
* @param {string} code
|
|
453
444
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
454
445
|
* @param {*} [options] Override http request option.
|
|
@@ -458,16 +449,16 @@ var EmailMessagesApiFactory = function (configuration, basePath, axios) {
|
|
|
458
449
|
return localVarFp.listAttachments(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
459
450
|
},
|
|
460
451
|
/**
|
|
461
|
-
*
|
|
452
|
+
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
462
453
|
* @summary List email messages
|
|
463
454
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
464
455
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
465
456
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
466
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
457
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
467
458
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
468
459
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
469
460
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: attachments<i>
|
|
470
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
461
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
471
462
|
* @param {*} [options] Override http request option.
|
|
472
463
|
* @throws {RequiredError}
|
|
473
464
|
*/
|
|
@@ -489,8 +480,7 @@ var EmailMessagesApi = /** @class */ (function (_super) {
|
|
|
489
480
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
490
481
|
}
|
|
491
482
|
/**
|
|
492
|
-
*
|
|
493
|
-
* @summary Download the email message attachment
|
|
483
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
494
484
|
* @param {EmailMessagesApiDownloadAttachmentRequest} requestParameters Request parameters.
|
|
495
485
|
* @param {*} [options] Override http request option.
|
|
496
486
|
* @throws {RequiredError}
|
|
@@ -501,8 +491,7 @@ var EmailMessagesApi = /** @class */ (function (_super) {
|
|
|
501
491
|
return (0, exports.EmailMessagesApiFp)(this.configuration).downloadAttachment(requestParameters.code, requestParameters.attachmentId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
502
492
|
};
|
|
503
493
|
/**
|
|
504
|
-
*
|
|
505
|
-
* @summary Retrieve the email message
|
|
494
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
506
495
|
* @param {EmailMessagesApiGetMessageRequest} requestParameters Request parameters.
|
|
507
496
|
* @param {*} [options] Override http request option.
|
|
508
497
|
* @throws {RequiredError}
|
|
@@ -513,8 +502,7 @@ var EmailMessagesApi = /** @class */ (function (_super) {
|
|
|
513
502
|
return (0, exports.EmailMessagesApiFp)(this.configuration).getMessage(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
514
503
|
};
|
|
515
504
|
/**
|
|
516
|
-
*
|
|
517
|
-
* @summary List the email message attachments
|
|
505
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
518
506
|
* @param {EmailMessagesApiListAttachmentsRequest} requestParameters Request parameters.
|
|
519
507
|
* @param {*} [options] Override http request option.
|
|
520
508
|
* @throws {RequiredError}
|
|
@@ -525,7 +513,7 @@ var EmailMessagesApi = /** @class */ (function (_super) {
|
|
|
525
513
|
return (0, exports.EmailMessagesApiFp)(this.configuration).listAttachments(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
526
514
|
};
|
|
527
515
|
/**
|
|
528
|
-
*
|
|
516
|
+
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
529
517
|
* @summary List email messages
|
|
530
518
|
* @param {EmailMessagesApiListEmailMessagesRequest} requestParameters Request parameters.
|
|
531
519
|
* @param {*} [options] Override http request option.
|