@emilgroup/notification-sdk 0.8.1-beta.59 → 0.8.1-beta.6
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 -23
- package/README.md +2 -2
- package/api/email-messages-api.ts +36 -56
- package/api/email-tracking-api.ts +48 -291
- package/api/email-verifications-api.ts +12 -24
- package/api/layouts-api.ts +46 -76
- package/api/notification-templates-api.ts +46 -76
- package/api/notifications-api.ts +6 -121
- package/api.ts +0 -6
- package/base.ts +41 -174
- package/configuration.ts +0 -20
- package/dist/api/email-messages-api.d.ts +28 -40
- package/dist/api/email-messages-api.js +40 -62
- package/dist/api/email-tracking-api.d.ts +40 -170
- package/dist/api/email-tracking-api.js +48 -261
- package/dist/api/email-verifications-api.d.ts +8 -16
- package/dist/api/email-verifications-api.js +16 -30
- package/dist/api/layouts-api.d.ts +36 -56
- package/dist/api/layouts-api.js +50 -81
- package/dist/api/notification-templates-api.d.ts +36 -56
- package/dist/api/notification-templates-api.js +50 -81
- package/dist/api/notifications-api.d.ts +4 -65
- package/dist/api/notifications-api.js +8 -111
- package/dist/api.d.ts +0 -3
- package/dist/api.js +0 -3
- package/dist/base.d.ts +0 -24
- package/dist/base.js +59 -178
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -2
- package/dist/models/email-message-class.d.ts +7 -73
- package/dist/models/email-message-class.js +3 -22
- package/dist/models/email-thread-class.d.ts +5 -37
- package/dist/models/index.d.ts +0 -20
- package/dist/models/index.js +0 -20
- package/dist/models/send-notification-request-dto.d.ts +1 -10
- package/dist/models/send-notification-request-dto.js +1 -2
- package/models/email-message-class.ts +8 -78
- package/models/email-thread-class.ts +5 -37
- package/models/index.ts +0 -20
- package/models/send-notification-request-dto.ts +2 -9
- package/package.json +1 -1
- package/api/email-mailboxes-api.ts +0 -150
- package/api/email-subscriptions-api.ts +0 -781
- package/api/msgraph-webhooks-api.ts +0 -278
- package/dist/api/email-mailboxes-api.d.ts +0 -87
- package/dist/api/email-mailboxes-api.js +0 -221
- package/dist/api/email-subscriptions-api.d.ts +0 -432
- package/dist/api/email-subscriptions-api.js +0 -738
- package/dist/api/msgraph-webhooks-api.d.ts +0 -168
- package/dist/api/msgraph-webhooks-api.js +0 -305
- package/dist/models/assign-email-thread-entity-body-dto.d.ts +0 -43
- package/dist/models/assign-email-thread-entity-body-dto.js +0 -22
- package/dist/models/assign-email-thread-entity-response-class.d.ts +0 -25
- package/dist/models/assign-email-thread-entity-response-class.js +0 -15
- package/dist/models/catch-up-email-subscription-response-class.d.ts +0 -24
- package/dist/models/catch-up-email-subscription-response-class.js +0 -15
- package/dist/models/catch-up-email-subscriptions-request-dto.d.ts +0 -24
- package/dist/models/catch-up-email-subscriptions-request-dto.js +0 -15
- package/dist/models/catch-up-email-subscriptions-response-class.d.ts +0 -30
- package/dist/models/catch-up-email-subscriptions-response-class.js +0 -15
- package/dist/models/email-mailbox-class.d.ts +0 -47
- package/dist/models/email-mailbox-class.js +0 -20
- package/dist/models/email-message-summary-class.d.ts +0 -98
- package/dist/models/email-message-summary-class.js +0 -33
- package/dist/models/email-subscription-class.d.ts +0 -110
- package/dist/models/email-subscription-class.js +0 -23
- package/dist/models/entity-ref-class.d.ts +0 -37
- package/dist/models/entity-ref-class.js +0 -22
- package/dist/models/get-email-subscription-response-class.d.ts +0 -25
- package/dist/models/get-email-subscription-response-class.js +0 -15
- package/dist/models/grpc-send-email-request-dto.d.ts +0 -137
- package/dist/models/grpc-send-email-request-dto.js +0 -22
- package/dist/models/inline-attachment-dto.d.ts +0 -36
- package/dist/models/inline-attachment-dto.js +0 -15
- package/dist/models/list-email-mailboxes-response-class.d.ts +0 -43
- package/dist/models/list-email-mailboxes-response-class.js +0 -15
- package/dist/models/list-email-subscriptions-response-class.d.ts +0 -43
- package/dist/models/list-email-subscriptions-response-class.js +0 -15
- package/dist/models/reconcile-email-subscriptions-request-dto.d.ts +0 -24
- package/dist/models/reconcile-email-subscriptions-request-dto.js +0 -15
- package/dist/models/reconcile-email-subscriptions-response-class.d.ts +0 -48
- package/dist/models/reconcile-email-subscriptions-response-class.js +0 -15
- package/dist/models/renew-email-subscription-response-class.d.ts +0 -25
- package/dist/models/renew-email-subscription-response-class.js +0 -15
- package/dist/models/send-email-request-dto.d.ts +0 -131
- package/dist/models/send-email-request-dto.js +0 -22
- package/dist/models/send-email-response-class.d.ts +0 -24
- package/dist/models/send-email-response-class.js +0 -15
- package/dist/models/unassign-email-thread-entity-response-class.d.ts +0 -25
- package/dist/models/unassign-email-thread-entity-response-class.js +0 -15
- package/models/assign-email-thread-entity-body-dto.ts +0 -52
- package/models/assign-email-thread-entity-response-class.ts +0 -31
- package/models/catch-up-email-subscription-response-class.ts +0 -30
- package/models/catch-up-email-subscriptions-request-dto.ts +0 -30
- package/models/catch-up-email-subscriptions-response-class.ts +0 -36
- package/models/email-mailbox-class.ts +0 -56
- package/models/email-message-summary-class.ts +0 -109
- package/models/email-subscription-class.ts +0 -119
- package/models/entity-ref-class.ts +0 -46
- package/models/get-email-subscription-response-class.ts +0 -31
- package/models/grpc-send-email-request-dto.ts +0 -144
- package/models/inline-attachment-dto.ts +0 -42
- package/models/list-email-mailboxes-response-class.ts +0 -49
- package/models/list-email-subscriptions-response-class.ts +0 -49
- package/models/reconcile-email-subscriptions-request-dto.ts +0 -30
- package/models/reconcile-email-subscriptions-response-class.ts +0 -54
- package/models/renew-email-subscription-response-class.ts +0 -31
- package/models/send-email-request-dto.ts +0 -138
- package/models/send-email-response-class.ts +0 -30
- package/models/unassign-email-thread-entity-response-class.ts +0 -31
|
@@ -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.
|
|
@@ -104,7 +103,7 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
|
|
|
104
103
|
downloadAttachment: function (code, attachmentId, authorization, options) {
|
|
105
104
|
if (options === void 0) { options = {}; }
|
|
106
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
107
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
108
107
|
return __generator(this, function (_a) {
|
|
109
108
|
switch (_a.label) {
|
|
110
109
|
case 0:
|
|
@@ -125,16 +124,13 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
|
|
|
125
124
|
localVarQueryParameter = {};
|
|
126
125
|
// authentication bearer required
|
|
127
126
|
// http bearer authentication required
|
|
128
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
129
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
130
|
-
];
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
131
128
|
case 1:
|
|
132
129
|
// authentication bearer required
|
|
133
130
|
// http bearer authentication required
|
|
134
131
|
_a.sent();
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
132
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
138
134
|
}
|
|
139
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
140
136
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -148,8 +144,7 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
|
|
|
148
144
|
});
|
|
149
145
|
},
|
|
150
146
|
/**
|
|
151
|
-
*
|
|
152
|
-
* @summary Retrieve the email message
|
|
147
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
153
148
|
* @param {string} code
|
|
154
149
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
155
150
|
* @param {*} [options] Override http request option.
|
|
@@ -158,7 +153,7 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
|
|
|
158
153
|
getMessage: function (code, authorization, options) {
|
|
159
154
|
if (options === void 0) { options = {}; }
|
|
160
155
|
return __awaiter(_this, void 0, void 0, function () {
|
|
161
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
156
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
157
|
return __generator(this, function (_a) {
|
|
163
158
|
switch (_a.label) {
|
|
164
159
|
case 0:
|
|
@@ -176,16 +171,13 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
|
|
|
176
171
|
localVarQueryParameter = {};
|
|
177
172
|
// authentication bearer required
|
|
178
173
|
// http bearer authentication required
|
|
179
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
180
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
181
|
-
];
|
|
174
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
182
175
|
case 1:
|
|
183
176
|
// authentication bearer required
|
|
184
177
|
// http bearer authentication required
|
|
185
178
|
_a.sent();
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
179
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
180
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
189
181
|
}
|
|
190
182
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
191
183
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -199,8 +191,7 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
|
|
|
199
191
|
});
|
|
200
192
|
},
|
|
201
193
|
/**
|
|
202
|
-
*
|
|
203
|
-
* @summary List the email message attachments
|
|
194
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
204
195
|
* @param {string} code
|
|
205
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
206
197
|
* @param {*} [options] Override http request option.
|
|
@@ -209,7 +200,7 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
|
|
|
209
200
|
listAttachments: function (code, authorization, options) {
|
|
210
201
|
if (options === void 0) { options = {}; }
|
|
211
202
|
return __awaiter(_this, void 0, void 0, function () {
|
|
212
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
203
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
213
204
|
return __generator(this, function (_a) {
|
|
214
205
|
switch (_a.label) {
|
|
215
206
|
case 0:
|
|
@@ -227,16 +218,13 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
|
|
|
227
218
|
localVarQueryParameter = {};
|
|
228
219
|
// authentication bearer required
|
|
229
220
|
// http bearer authentication required
|
|
230
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
231
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
232
|
-
];
|
|
221
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
233
222
|
case 1:
|
|
234
223
|
// authentication bearer required
|
|
235
224
|
// http bearer authentication required
|
|
236
225
|
_a.sent();
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
226
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
227
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
240
228
|
}
|
|
241
229
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
242
230
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -250,23 +238,23 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
|
|
|
250
238
|
});
|
|
251
239
|
},
|
|
252
240
|
/**
|
|
253
|
-
*
|
|
241
|
+
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
254
242
|
* @summary List email messages
|
|
255
243
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
256
244
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
257
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.
|
|
258
|
-
* @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>
|
|
259
247
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
260
|
-
* @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,
|
|
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>
|
|
261
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>
|
|
262
|
-
* @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>
|
|
263
251
|
* @param {*} [options] Override http request option.
|
|
264
252
|
* @throws {RequiredError}
|
|
265
253
|
*/
|
|
266
254
|
listEmailMessages: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
267
255
|
if (options === void 0) { options = {}; }
|
|
268
256
|
return __awaiter(_this, void 0, void 0, function () {
|
|
269
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
257
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
270
258
|
return __generator(this, function (_a) {
|
|
271
259
|
switch (_a.label) {
|
|
272
260
|
case 0:
|
|
@@ -307,9 +295,8 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
|
|
|
307
295
|
if (filters !== undefined) {
|
|
308
296
|
localVarQueryParameter['filters'] = filters;
|
|
309
297
|
}
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
298
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
299
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
313
300
|
}
|
|
314
301
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
315
302
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -333,8 +320,7 @@ var EmailMessagesApiFp = function (configuration) {
|
|
|
333
320
|
var localVarAxiosParamCreator = (0, exports.EmailMessagesApiAxiosParamCreator)(configuration);
|
|
334
321
|
return {
|
|
335
322
|
/**
|
|
336
|
-
*
|
|
337
|
-
* @summary Download the email message attachment
|
|
323
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
338
324
|
* @param {string} code
|
|
339
325
|
* @param {number} attachmentId
|
|
340
326
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -355,8 +341,7 @@ var EmailMessagesApiFp = function (configuration) {
|
|
|
355
341
|
});
|
|
356
342
|
},
|
|
357
343
|
/**
|
|
358
|
-
*
|
|
359
|
-
* @summary Retrieve the email message
|
|
344
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
360
345
|
* @param {string} code
|
|
361
346
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
362
347
|
* @param {*} [options] Override http request option.
|
|
@@ -376,8 +361,7 @@ var EmailMessagesApiFp = function (configuration) {
|
|
|
376
361
|
});
|
|
377
362
|
},
|
|
378
363
|
/**
|
|
379
|
-
*
|
|
380
|
-
* @summary List the email message attachments
|
|
364
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
381
365
|
* @param {string} code
|
|
382
366
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
383
367
|
* @param {*} [options] Override http request option.
|
|
@@ -397,16 +381,16 @@ var EmailMessagesApiFp = function (configuration) {
|
|
|
397
381
|
});
|
|
398
382
|
},
|
|
399
383
|
/**
|
|
400
|
-
*
|
|
384
|
+
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
401
385
|
* @summary List email messages
|
|
402
386
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
403
387
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
404
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.
|
|
405
|
-
* @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>
|
|
406
390
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
407
|
-
* @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,
|
|
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>
|
|
408
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>
|
|
409
|
-
* @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>
|
|
410
394
|
* @param {*} [options] Override http request option.
|
|
411
395
|
* @throws {RequiredError}
|
|
412
396
|
*/
|
|
@@ -434,8 +418,7 @@ var EmailMessagesApiFactory = function (configuration, basePath, axios) {
|
|
|
434
418
|
var localVarFp = (0, exports.EmailMessagesApiFp)(configuration);
|
|
435
419
|
return {
|
|
436
420
|
/**
|
|
437
|
-
*
|
|
438
|
-
* @summary Download the email message attachment
|
|
421
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
439
422
|
* @param {string} code
|
|
440
423
|
* @param {number} attachmentId
|
|
441
424
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -446,8 +429,7 @@ var EmailMessagesApiFactory = function (configuration, basePath, axios) {
|
|
|
446
429
|
return localVarFp.downloadAttachment(code, attachmentId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
447
430
|
},
|
|
448
431
|
/**
|
|
449
|
-
*
|
|
450
|
-
* @summary Retrieve the email message
|
|
432
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
451
433
|
* @param {string} code
|
|
452
434
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
453
435
|
* @param {*} [options] Override http request option.
|
|
@@ -457,8 +439,7 @@ var EmailMessagesApiFactory = function (configuration, basePath, axios) {
|
|
|
457
439
|
return localVarFp.getMessage(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
458
440
|
},
|
|
459
441
|
/**
|
|
460
|
-
*
|
|
461
|
-
* @summary List the email message attachments
|
|
442
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
462
443
|
* @param {string} code
|
|
463
444
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
464
445
|
* @param {*} [options] Override http request option.
|
|
@@ -468,16 +449,16 @@ var EmailMessagesApiFactory = function (configuration, basePath, axios) {
|
|
|
468
449
|
return localVarFp.listAttachments(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
469
450
|
},
|
|
470
451
|
/**
|
|
471
|
-
*
|
|
452
|
+
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
472
453
|
* @summary List email messages
|
|
473
454
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
474
455
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
475
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.
|
|
476
|
-
* @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>
|
|
477
458
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
478
|
-
* @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,
|
|
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>
|
|
479
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>
|
|
480
|
-
* @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>
|
|
481
462
|
* @param {*} [options] Override http request option.
|
|
482
463
|
* @throws {RequiredError}
|
|
483
464
|
*/
|
|
@@ -499,8 +480,7 @@ var EmailMessagesApi = /** @class */ (function (_super) {
|
|
|
499
480
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
500
481
|
}
|
|
501
482
|
/**
|
|
502
|
-
*
|
|
503
|
-
* @summary Download the email message attachment
|
|
483
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
504
484
|
* @param {EmailMessagesApiDownloadAttachmentRequest} requestParameters Request parameters.
|
|
505
485
|
* @param {*} [options] Override http request option.
|
|
506
486
|
* @throws {RequiredError}
|
|
@@ -511,8 +491,7 @@ var EmailMessagesApi = /** @class */ (function (_super) {
|
|
|
511
491
|
return (0, exports.EmailMessagesApiFp)(this.configuration).downloadAttachment(requestParameters.code, requestParameters.attachmentId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
512
492
|
};
|
|
513
493
|
/**
|
|
514
|
-
*
|
|
515
|
-
* @summary Retrieve the email message
|
|
494
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
516
495
|
* @param {EmailMessagesApiGetMessageRequest} requestParameters Request parameters.
|
|
517
496
|
* @param {*} [options] Override http request option.
|
|
518
497
|
* @throws {RequiredError}
|
|
@@ -523,8 +502,7 @@ var EmailMessagesApi = /** @class */ (function (_super) {
|
|
|
523
502
|
return (0, exports.EmailMessagesApiFp)(this.configuration).getMessage(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
524
503
|
};
|
|
525
504
|
/**
|
|
526
|
-
*
|
|
527
|
-
* @summary List the email message attachments
|
|
505
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
528
506
|
* @param {EmailMessagesApiListAttachmentsRequest} requestParameters Request parameters.
|
|
529
507
|
* @param {*} [options] Override http request option.
|
|
530
508
|
* @throws {RequiredError}
|
|
@@ -535,7 +513,7 @@ var EmailMessagesApi = /** @class */ (function (_super) {
|
|
|
535
513
|
return (0, exports.EmailMessagesApiFp)(this.configuration).listAttachments(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
536
514
|
};
|
|
537
515
|
/**
|
|
538
|
-
*
|
|
516
|
+
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
539
517
|
* @summary List email messages
|
|
540
518
|
* @param {EmailMessagesApiListEmailMessagesRequest} requestParameters Request parameters.
|
|
541
519
|
* @param {*} [options] Override http request option.
|