@emilgroup/notification-sdk 0.8.1-beta.5 → 0.8.1-beta.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/README.md +2 -2
  3. package/api/email-mailboxes-api.ts +148 -0
  4. package/api/email-messages-api.ts +40 -28
  5. package/api/email-subscriptions-api.ts +559 -0
  6. package/api/email-tracking-api.ts +271 -40
  7. package/api/email-verifications-api.ts +16 -8
  8. package/api/layouts-api.ts +56 -36
  9. package/api/msgraph-webhooks-api.ts +278 -0
  10. package/api/notification-templates-api.ts +56 -36
  11. package/api/notifications-api.ts +115 -4
  12. package/api.ts +6 -0
  13. package/base.ts +36 -15
  14. package/configuration.ts +11 -0
  15. package/dist/api/email-mailboxes-api.d.ts +87 -0
  16. package/dist/api/email-mailboxes-api.js +218 -0
  17. package/dist/api/email-messages-api.d.ts +40 -28
  18. package/dist/api/email-messages-api.js +37 -25
  19. package/dist/api/email-subscriptions-api.d.ts +319 -0
  20. package/dist/api/email-subscriptions-api.js +537 -0
  21. package/dist/api/email-tracking-api.d.ts +170 -40
  22. package/dist/api/email-tracking-api.js +233 -34
  23. package/dist/api/email-verifications-api.d.ts +16 -8
  24. package/dist/api/email-verifications-api.js +16 -8
  25. package/dist/api/layouts-api.d.ts +56 -36
  26. package/dist/api/layouts-api.js +52 -32
  27. package/dist/api/msgraph-webhooks-api.d.ts +168 -0
  28. package/dist/api/msgraph-webhooks-api.js +305 -0
  29. package/dist/api/notification-templates-api.d.ts +56 -36
  30. package/dist/api/notification-templates-api.js +52 -32
  31. package/dist/api/notifications-api.d.ts +65 -4
  32. package/dist/api/notifications-api.js +101 -4
  33. package/dist/api.d.ts +3 -0
  34. package/dist/api.js +3 -0
  35. package/dist/base.d.ts +1 -0
  36. package/dist/base.js +36 -16
  37. package/dist/configuration.d.ts +9 -0
  38. package/dist/configuration.js +1 -0
  39. package/dist/models/assign-email-thread-entity-body-dto.d.ts +43 -0
  40. package/dist/models/assign-email-thread-entity-body-dto.js +22 -0
  41. package/dist/models/assign-email-thread-entity-response-class.d.ts +25 -0
  42. package/dist/models/assign-email-thread-entity-response-class.js +15 -0
  43. package/dist/models/email-mailbox-class.d.ts +47 -0
  44. package/dist/models/email-mailbox-class.js +20 -0
  45. package/dist/models/email-message-class.d.ts +73 -7
  46. package/dist/models/email-message-class.js +22 -3
  47. package/dist/models/email-message-summary-class.d.ts +98 -0
  48. package/dist/models/email-message-summary-class.js +33 -0
  49. package/dist/models/email-subscription-class.d.ts +104 -0
  50. package/dist/models/email-subscription-class.js +23 -0
  51. package/dist/models/email-thread-class.d.ts +37 -5
  52. package/dist/models/entity-ref-class.d.ts +37 -0
  53. package/dist/models/entity-ref-class.js +22 -0
  54. package/dist/models/get-email-subscription-response-class.d.ts +25 -0
  55. package/dist/models/get-email-subscription-response-class.js +15 -0
  56. package/dist/models/grpc-send-email-request-dto.d.ts +137 -0
  57. package/dist/models/grpc-send-email-request-dto.js +22 -0
  58. package/dist/models/index.d.ts +17 -0
  59. package/dist/models/index.js +17 -0
  60. package/dist/models/inline-attachment-dto.d.ts +36 -0
  61. package/dist/models/inline-attachment-dto.js +15 -0
  62. package/dist/models/list-email-mailboxes-response-class.d.ts +43 -0
  63. package/dist/models/list-email-mailboxes-response-class.js +15 -0
  64. package/dist/models/list-email-subscriptions-response-class.d.ts +43 -0
  65. package/dist/models/list-email-subscriptions-response-class.js +15 -0
  66. package/dist/models/reconcile-email-subscriptions-request-dto.d.ts +24 -0
  67. package/dist/models/reconcile-email-subscriptions-request-dto.js +15 -0
  68. package/dist/models/reconcile-email-subscriptions-response-class.d.ts +48 -0
  69. package/dist/models/reconcile-email-subscriptions-response-class.js +15 -0
  70. package/dist/models/renew-email-subscription-response-class.d.ts +25 -0
  71. package/dist/models/renew-email-subscription-response-class.js +15 -0
  72. package/dist/models/send-email-request-dto.d.ts +131 -0
  73. package/dist/models/send-email-request-dto.js +22 -0
  74. package/dist/models/send-email-response-class.d.ts +24 -0
  75. package/dist/models/send-email-response-class.js +15 -0
  76. package/dist/models/send-notification-request-dto.d.ts +10 -1
  77. package/dist/models/send-notification-request-dto.js +2 -1
  78. package/dist/models/unassign-email-thread-entity-response-class.d.ts +25 -0
  79. package/dist/models/unassign-email-thread-entity-response-class.js +15 -0
  80. package/models/assign-email-thread-entity-body-dto.ts +52 -0
  81. package/models/assign-email-thread-entity-response-class.ts +31 -0
  82. package/models/email-mailbox-class.ts +56 -0
  83. package/models/email-message-class.ts +78 -8
  84. package/models/email-message-summary-class.ts +109 -0
  85. package/models/email-subscription-class.ts +113 -0
  86. package/models/email-thread-class.ts +37 -5
  87. package/models/entity-ref-class.ts +46 -0
  88. package/models/get-email-subscription-response-class.ts +31 -0
  89. package/models/grpc-send-email-request-dto.ts +144 -0
  90. package/models/index.ts +17 -0
  91. package/models/inline-attachment-dto.ts +42 -0
  92. package/models/list-email-mailboxes-response-class.ts +49 -0
  93. package/models/list-email-subscriptions-response-class.ts +49 -0
  94. package/models/reconcile-email-subscriptions-request-dto.ts +30 -0
  95. package/models/reconcile-email-subscriptions-response-class.ts +54 -0
  96. package/models/renew-email-subscription-response-class.ts +31 -0
  97. package/models/send-email-request-dto.ts +138 -0
  98. package/models/send-email-response-class.ts +30 -0
  99. package/models/send-notification-request-dto.ts +9 -2
  100. package/models/unassign-email-thread-entity-response-class.ts +31 -0
  101. package/package.json +1 -1
@@ -93,7 +93,8 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
96
+ * Returns a download URL for the given attachment of the email message. **Required Permissions** \"notification-management.email-messages.view\"
97
+ * @summary Download the email message attachment
97
98
  * @param {string} code
98
99
  * @param {number} attachmentId
99
100
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -144,7 +145,8 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
144
145
  });
145
146
  },
146
147
  /**
147
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
148
+ * Retrieves the details of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
149
+ * @summary Retrieve the email message
148
150
  * @param {string} code
149
151
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
150
152
  * @param {*} [options] Override http request option.
@@ -191,7 +193,8 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
191
193
  });
192
194
  },
193
195
  /**
194
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
196
+ * Returns the attachments of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
197
+ * @summary List the email message attachments
195
198
  * @param {string} code
196
199
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
197
200
  * @param {*} [options] Override http request option.
@@ -238,16 +241,16 @@ var EmailMessagesApiAxiosParamCreator = function (configuration) {
238
241
  });
239
242
  },
240
243
  /**
241
- * Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
244
+ * Returns a list of sent and received email messages. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
242
245
  * @summary List email messages
243
246
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
244
247
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
245
248
  * @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.
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>
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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
247
250
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
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>
251
+ * @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, workflowStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
249
252
  * @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>
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>
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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
251
254
  * @param {*} [options] Override http request option.
252
255
  * @throws {RequiredError}
253
256
  */
@@ -320,7 +323,8 @@ var EmailMessagesApiFp = function (configuration) {
320
323
  var localVarAxiosParamCreator = (0, exports.EmailMessagesApiAxiosParamCreator)(configuration);
321
324
  return {
322
325
  /**
323
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
326
+ * Returns a download URL for the given attachment of the email message. **Required Permissions** \"notification-management.email-messages.view\"
327
+ * @summary Download the email message attachment
324
328
  * @param {string} code
325
329
  * @param {number} attachmentId
326
330
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -341,7 +345,8 @@ var EmailMessagesApiFp = function (configuration) {
341
345
  });
342
346
  },
343
347
  /**
344
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
348
+ * Retrieves the details of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
349
+ * @summary Retrieve the email message
345
350
  * @param {string} code
346
351
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
347
352
  * @param {*} [options] Override http request option.
@@ -361,7 +366,8 @@ var EmailMessagesApiFp = function (configuration) {
361
366
  });
362
367
  },
363
368
  /**
364
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
369
+ * Returns the attachments of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
370
+ * @summary List the email message attachments
365
371
  * @param {string} code
366
372
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
367
373
  * @param {*} [options] Override http request option.
@@ -381,16 +387,16 @@ var EmailMessagesApiFp = function (configuration) {
381
387
  });
382
388
  },
383
389
  /**
384
- * Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
390
+ * Returns a list of sent and received email messages. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
385
391
  * @summary List email messages
386
392
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
387
393
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
388
394
  * @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.
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>
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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
390
396
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
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>
397
+ * @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, workflowStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
392
398
  * @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>
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>
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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
394
400
  * @param {*} [options] Override http request option.
395
401
  * @throws {RequiredError}
396
402
  */
@@ -418,7 +424,8 @@ var EmailMessagesApiFactory = function (configuration, basePath, axios) {
418
424
  var localVarFp = (0, exports.EmailMessagesApiFp)(configuration);
419
425
  return {
420
426
  /**
421
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
427
+ * Returns a download URL for the given attachment of the email message. **Required Permissions** \"notification-management.email-messages.view\"
428
+ * @summary Download the email message attachment
422
429
  * @param {string} code
423
430
  * @param {number} attachmentId
424
431
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -429,7 +436,8 @@ var EmailMessagesApiFactory = function (configuration, basePath, axios) {
429
436
  return localVarFp.downloadAttachment(code, attachmentId, authorization, options).then(function (request) { return request(axios, basePath); });
430
437
  },
431
438
  /**
432
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
439
+ * Retrieves the details of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
440
+ * @summary Retrieve the email message
433
441
  * @param {string} code
434
442
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
435
443
  * @param {*} [options] Override http request option.
@@ -439,7 +447,8 @@ var EmailMessagesApiFactory = function (configuration, basePath, axios) {
439
447
  return localVarFp.getMessage(code, authorization, options).then(function (request) { return request(axios, basePath); });
440
448
  },
441
449
  /**
442
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
450
+ * Returns the attachments of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
451
+ * @summary List the email message attachments
443
452
  * @param {string} code
444
453
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
445
454
  * @param {*} [options] Override http request option.
@@ -449,16 +458,16 @@ var EmailMessagesApiFactory = function (configuration, basePath, axios) {
449
458
  return localVarFp.listAttachments(code, authorization, options).then(function (request) { return request(axios, basePath); });
450
459
  },
451
460
  /**
452
- * Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
461
+ * Returns a list of sent and received email messages. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
453
462
  * @summary List email messages
454
463
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
455
464
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
456
465
  * @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.
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>
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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
458
467
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
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>
468
+ * @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, workflowStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
460
469
  * @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>
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>
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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
462
471
  * @param {*} [options] Override http request option.
463
472
  * @throws {RequiredError}
464
473
  */
@@ -480,7 +489,8 @@ var EmailMessagesApi = /** @class */ (function (_super) {
480
489
  return _super !== null && _super.apply(this, arguments) || this;
481
490
  }
482
491
  /**
483
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
492
+ * Returns a download URL for the given attachment of the email message. **Required Permissions** \"notification-management.email-messages.view\"
493
+ * @summary Download the email message attachment
484
494
  * @param {EmailMessagesApiDownloadAttachmentRequest} requestParameters Request parameters.
485
495
  * @param {*} [options] Override http request option.
486
496
  * @throws {RequiredError}
@@ -491,7 +501,8 @@ var EmailMessagesApi = /** @class */ (function (_super) {
491
501
  return (0, exports.EmailMessagesApiFp)(this.configuration).downloadAttachment(requestParameters.code, requestParameters.attachmentId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
492
502
  };
493
503
  /**
494
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
504
+ * Retrieves the details of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
505
+ * @summary Retrieve the email message
495
506
  * @param {EmailMessagesApiGetMessageRequest} requestParameters Request parameters.
496
507
  * @param {*} [options] Override http request option.
497
508
  * @throws {RequiredError}
@@ -502,7 +513,8 @@ var EmailMessagesApi = /** @class */ (function (_super) {
502
513
  return (0, exports.EmailMessagesApiFp)(this.configuration).getMessage(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
503
514
  };
504
515
  /**
505
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
516
+ * Returns the attachments of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
517
+ * @summary List the email message attachments
506
518
  * @param {EmailMessagesApiListAttachmentsRequest} requestParameters Request parameters.
507
519
  * @param {*} [options] Override http request option.
508
520
  * @throws {RequiredError}
@@ -513,7 +525,7 @@ var EmailMessagesApi = /** @class */ (function (_super) {
513
525
  return (0, exports.EmailMessagesApiFp)(this.configuration).listAttachments(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
514
526
  };
515
527
  /**
516
- * Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
528
+ * Returns a list of sent and received email messages. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
517
529
  * @summary List email messages
518
530
  * @param {EmailMessagesApiListEmailMessagesRequest} requestParameters Request parameters.
519
531
  * @param {*} [options] Override http request option.
@@ -0,0 +1,319 @@
1
+ /**
2
+ * EMIL NotificationService
3
+ * The EMIL NotificationService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { GetEmailSubscriptionResponseClass } from '../models';
16
+ import { ListEmailSubscriptionsResponseClass } from '../models';
17
+ import { ReconcileEmailSubscriptionsRequestDto } from '../models';
18
+ import { ReconcileEmailSubscriptionsResponseClass } from '../models';
19
+ import { RenewEmailSubscriptionResponseClass } from '../models';
20
+ /**
21
+ * EmailSubscriptionsApi - axios parameter creator
22
+ * @export
23
+ */
24
+ export declare const EmailSubscriptionsApiAxiosParamCreator: (configuration?: Configuration) => {
25
+ /**
26
+ * Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
27
+ * @summary Retrieve the email subscription
28
+ * @param {number} id
29
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
30
+ * @param {*} [options] Override http request option.
31
+ * @throws {RequiredError}
32
+ */
33
+ getEmailSubscription: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34
+ /**
35
+ * Returns the Microsoft Graph mail subscriptions of the tenant, one per mailbox and folder of the email channel, with their status, expiry and last error. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.settings.view\"
36
+ * @summary List email subscriptions
37
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
38
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
39
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
40
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productSlug, mailbox, folder, status, subscriptionId, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt&lt;/i&gt;
41
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
42
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, mailbox, folder, status, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt&lt;/i&gt;
43
+ * @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.&lt;br/&gt; &lt;br/&gt;
44
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productSlug, mailbox, folder, status, subscriptionId, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt&lt;/i&gt;
45
+ * @param {*} [options] Override http request option.
46
+ * @throws {RequiredError}
47
+ */
48
+ listEmailSubscriptions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
49
+ /**
50
+ * Brings the subscriptions in line with the mailboxes and folders of the email channel: creates the missing ones, deletes the ones no longer configured and recreates expired or failed ones. Returns how many subscriptions each step touched. **Required Permissions** \"tenant-management.settings.update\"
51
+ * @summary Reconcile the email subscriptions
52
+ * @param {ReconcileEmailSubscriptionsRequestDto} reconcileEmailSubscriptionsRequestDto
53
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ */
57
+ reconcileEmailSubscriptions: (reconcileEmailSubscriptionsRequestDto: ReconcileEmailSubscriptionsRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
58
+ /**
59
+ * Renews the subscription in Microsoft Graph right away and returns it with its new expiry. A pending or failed subscription, or one Graph no longer knows, is created again. Fails with 503 when Graph rejects the call; the error is kept on the subscription. **Required Permissions** \"tenant-management.settings.update\"
60
+ * @summary Renew the email subscription
61
+ * @param {number} id
62
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
63
+ * @param {*} [options] Override http request option.
64
+ * @throws {RequiredError}
65
+ */
66
+ renewEmailSubscription: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
+ };
68
+ /**
69
+ * EmailSubscriptionsApi - functional programming interface
70
+ * @export
71
+ */
72
+ export declare const EmailSubscriptionsApiFp: (configuration?: Configuration) => {
73
+ /**
74
+ * Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
75
+ * @summary Retrieve the email subscription
76
+ * @param {number} id
77
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
78
+ * @param {*} [options] Override http request option.
79
+ * @throws {RequiredError}
80
+ */
81
+ getEmailSubscription(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmailSubscriptionResponseClass>>;
82
+ /**
83
+ * Returns the Microsoft Graph mail subscriptions of the tenant, one per mailbox and folder of the email channel, with their status, expiry and last error. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.settings.view\"
84
+ * @summary List email subscriptions
85
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
86
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
87
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
88
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productSlug, mailbox, folder, status, subscriptionId, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt&lt;/i&gt;
89
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
90
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, mailbox, folder, status, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt&lt;/i&gt;
91
+ * @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.&lt;br/&gt; &lt;br/&gt;
92
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productSlug, mailbox, folder, status, subscriptionId, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt&lt;/i&gt;
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ listEmailSubscriptions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEmailSubscriptionsResponseClass>>;
97
+ /**
98
+ * Brings the subscriptions in line with the mailboxes and folders of the email channel: creates the missing ones, deletes the ones no longer configured and recreates expired or failed ones. Returns how many subscriptions each step touched. **Required Permissions** \"tenant-management.settings.update\"
99
+ * @summary Reconcile the email subscriptions
100
+ * @param {ReconcileEmailSubscriptionsRequestDto} reconcileEmailSubscriptionsRequestDto
101
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
102
+ * @param {*} [options] Override http request option.
103
+ * @throws {RequiredError}
104
+ */
105
+ reconcileEmailSubscriptions(reconcileEmailSubscriptionsRequestDto: ReconcileEmailSubscriptionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReconcileEmailSubscriptionsResponseClass>>;
106
+ /**
107
+ * Renews the subscription in Microsoft Graph right away and returns it with its new expiry. A pending or failed subscription, or one Graph no longer knows, is created again. Fails with 503 when Graph rejects the call; the error is kept on the subscription. **Required Permissions** \"tenant-management.settings.update\"
108
+ * @summary Renew the email subscription
109
+ * @param {number} id
110
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
111
+ * @param {*} [options] Override http request option.
112
+ * @throws {RequiredError}
113
+ */
114
+ renewEmailSubscription(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RenewEmailSubscriptionResponseClass>>;
115
+ };
116
+ /**
117
+ * EmailSubscriptionsApi - factory interface
118
+ * @export
119
+ */
120
+ export declare const EmailSubscriptionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
121
+ /**
122
+ * Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
123
+ * @summary Retrieve the email subscription
124
+ * @param {number} id
125
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ */
129
+ getEmailSubscription(id: number, authorization?: string, options?: any): AxiosPromise<GetEmailSubscriptionResponseClass>;
130
+ /**
131
+ * Returns the Microsoft Graph mail subscriptions of the tenant, one per mailbox and folder of the email channel, with their status, expiry and last error. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.settings.view\"
132
+ * @summary List email subscriptions
133
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
134
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
135
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
136
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productSlug, mailbox, folder, status, subscriptionId, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt&lt;/i&gt;
137
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
138
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, mailbox, folder, status, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt&lt;/i&gt;
139
+ * @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.&lt;br/&gt; &lt;br/&gt;
140
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productSlug, mailbox, folder, status, subscriptionId, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt&lt;/i&gt;
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ */
144
+ listEmailSubscriptions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListEmailSubscriptionsResponseClass>;
145
+ /**
146
+ * Brings the subscriptions in line with the mailboxes and folders of the email channel: creates the missing ones, deletes the ones no longer configured and recreates expired or failed ones. Returns how many subscriptions each step touched. **Required Permissions** \"tenant-management.settings.update\"
147
+ * @summary Reconcile the email subscriptions
148
+ * @param {ReconcileEmailSubscriptionsRequestDto} reconcileEmailSubscriptionsRequestDto
149
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
150
+ * @param {*} [options] Override http request option.
151
+ * @throws {RequiredError}
152
+ */
153
+ reconcileEmailSubscriptions(reconcileEmailSubscriptionsRequestDto: ReconcileEmailSubscriptionsRequestDto, authorization?: string, options?: any): AxiosPromise<ReconcileEmailSubscriptionsResponseClass>;
154
+ /**
155
+ * Renews the subscription in Microsoft Graph right away and returns it with its new expiry. A pending or failed subscription, or one Graph no longer knows, is created again. Fails with 503 when Graph rejects the call; the error is kept on the subscription. **Required Permissions** \"tenant-management.settings.update\"
156
+ * @summary Renew the email subscription
157
+ * @param {number} id
158
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
159
+ * @param {*} [options] Override http request option.
160
+ * @throws {RequiredError}
161
+ */
162
+ renewEmailSubscription(id: number, authorization?: string, options?: any): AxiosPromise<RenewEmailSubscriptionResponseClass>;
163
+ };
164
+ /**
165
+ * Request parameters for getEmailSubscription operation in EmailSubscriptionsApi.
166
+ * @export
167
+ * @interface EmailSubscriptionsApiGetEmailSubscriptionRequest
168
+ */
169
+ export interface EmailSubscriptionsApiGetEmailSubscriptionRequest {
170
+ /**
171
+ *
172
+ * @type {number}
173
+ * @memberof EmailSubscriptionsApiGetEmailSubscription
174
+ */
175
+ readonly id: number;
176
+ /**
177
+ * Bearer Token: provided by the login endpoint under the name accessToken.
178
+ * @type {string}
179
+ * @memberof EmailSubscriptionsApiGetEmailSubscription
180
+ */
181
+ readonly authorization?: string;
182
+ }
183
+ /**
184
+ * Request parameters for listEmailSubscriptions operation in EmailSubscriptionsApi.
185
+ * @export
186
+ * @interface EmailSubscriptionsApiListEmailSubscriptionsRequest
187
+ */
188
+ export interface EmailSubscriptionsApiListEmailSubscriptionsRequest {
189
+ /**
190
+ * Bearer Token: provided by the login endpoint under the name accessToken.
191
+ * @type {string}
192
+ * @memberof EmailSubscriptionsApiListEmailSubscriptions
193
+ */
194
+ readonly authorization?: string;
195
+ /**
196
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
197
+ * @type {number}
198
+ * @memberof EmailSubscriptionsApiListEmailSubscriptions
199
+ */
200
+ readonly pageSize?: number;
201
+ /**
202
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
203
+ * @type {string}
204
+ * @memberof EmailSubscriptionsApiListEmailSubscriptions
205
+ */
206
+ readonly pageToken?: string;
207
+ /**
208
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productSlug, mailbox, folder, status, subscriptionId, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt&lt;/i&gt;
209
+ * @type {string}
210
+ * @memberof EmailSubscriptionsApiListEmailSubscriptions
211
+ */
212
+ readonly filter?: string;
213
+ /**
214
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
215
+ * @type {string}
216
+ * @memberof EmailSubscriptionsApiListEmailSubscriptions
217
+ */
218
+ readonly search?: string;
219
+ /**
220
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, mailbox, folder, status, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt&lt;/i&gt;
221
+ * @type {string}
222
+ * @memberof EmailSubscriptionsApiListEmailSubscriptions
223
+ */
224
+ readonly order?: string;
225
+ /**
226
+ * 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.&lt;br/&gt; &lt;br/&gt;
227
+ * @type {string}
228
+ * @memberof EmailSubscriptionsApiListEmailSubscriptions
229
+ */
230
+ readonly expand?: string;
231
+ /**
232
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productSlug, mailbox, folder, status, subscriptionId, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt&lt;/i&gt;
233
+ * @type {string}
234
+ * @memberof EmailSubscriptionsApiListEmailSubscriptions
235
+ */
236
+ readonly filters?: string;
237
+ }
238
+ /**
239
+ * Request parameters for reconcileEmailSubscriptions operation in EmailSubscriptionsApi.
240
+ * @export
241
+ * @interface EmailSubscriptionsApiReconcileEmailSubscriptionsRequest
242
+ */
243
+ export interface EmailSubscriptionsApiReconcileEmailSubscriptionsRequest {
244
+ /**
245
+ *
246
+ * @type {ReconcileEmailSubscriptionsRequestDto}
247
+ * @memberof EmailSubscriptionsApiReconcileEmailSubscriptions
248
+ */
249
+ readonly reconcileEmailSubscriptionsRequestDto: ReconcileEmailSubscriptionsRequestDto;
250
+ /**
251
+ * Bearer Token: provided by the login endpoint under the name accessToken.
252
+ * @type {string}
253
+ * @memberof EmailSubscriptionsApiReconcileEmailSubscriptions
254
+ */
255
+ readonly authorization?: string;
256
+ }
257
+ /**
258
+ * Request parameters for renewEmailSubscription operation in EmailSubscriptionsApi.
259
+ * @export
260
+ * @interface EmailSubscriptionsApiRenewEmailSubscriptionRequest
261
+ */
262
+ export interface EmailSubscriptionsApiRenewEmailSubscriptionRequest {
263
+ /**
264
+ *
265
+ * @type {number}
266
+ * @memberof EmailSubscriptionsApiRenewEmailSubscription
267
+ */
268
+ readonly id: number;
269
+ /**
270
+ * Bearer Token: provided by the login endpoint under the name accessToken.
271
+ * @type {string}
272
+ * @memberof EmailSubscriptionsApiRenewEmailSubscription
273
+ */
274
+ readonly authorization?: string;
275
+ }
276
+ /**
277
+ * EmailSubscriptionsApi - object-oriented interface
278
+ * @export
279
+ * @class EmailSubscriptionsApi
280
+ * @extends {BaseAPI}
281
+ */
282
+ export declare class EmailSubscriptionsApi extends BaseAPI {
283
+ /**
284
+ * Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
285
+ * @summary Retrieve the email subscription
286
+ * @param {EmailSubscriptionsApiGetEmailSubscriptionRequest} requestParameters Request parameters.
287
+ * @param {*} [options] Override http request option.
288
+ * @throws {RequiredError}
289
+ * @memberof EmailSubscriptionsApi
290
+ */
291
+ getEmailSubscription(requestParameters: EmailSubscriptionsApiGetEmailSubscriptionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmailSubscriptionResponseClass, any, {}>>;
292
+ /**
293
+ * Returns the Microsoft Graph mail subscriptions of the tenant, one per mailbox and folder of the email channel, with their status, expiry and last error. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.settings.view\"
294
+ * @summary List email subscriptions
295
+ * @param {EmailSubscriptionsApiListEmailSubscriptionsRequest} requestParameters Request parameters.
296
+ * @param {*} [options] Override http request option.
297
+ * @throws {RequiredError}
298
+ * @memberof EmailSubscriptionsApi
299
+ */
300
+ listEmailSubscriptions(requestParameters?: EmailSubscriptionsApiListEmailSubscriptionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEmailSubscriptionsResponseClass, any, {}>>;
301
+ /**
302
+ * Brings the subscriptions in line with the mailboxes and folders of the email channel: creates the missing ones, deletes the ones no longer configured and recreates expired or failed ones. Returns how many subscriptions each step touched. **Required Permissions** \"tenant-management.settings.update\"
303
+ * @summary Reconcile the email subscriptions
304
+ * @param {EmailSubscriptionsApiReconcileEmailSubscriptionsRequest} requestParameters Request parameters.
305
+ * @param {*} [options] Override http request option.
306
+ * @throws {RequiredError}
307
+ * @memberof EmailSubscriptionsApi
308
+ */
309
+ reconcileEmailSubscriptions(requestParameters: EmailSubscriptionsApiReconcileEmailSubscriptionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReconcileEmailSubscriptionsResponseClass, any, {}>>;
310
+ /**
311
+ * Renews the subscription in Microsoft Graph right away and returns it with its new expiry. A pending or failed subscription, or one Graph no longer knows, is created again. Fails with 503 when Graph rejects the call; the error is kept on the subscription. **Required Permissions** \"tenant-management.settings.update\"
312
+ * @summary Renew the email subscription
313
+ * @param {EmailSubscriptionsApiRenewEmailSubscriptionRequest} requestParameters Request parameters.
314
+ * @param {*} [options] Override http request option.
315
+ * @throws {RequiredError}
316
+ * @memberof EmailSubscriptionsApi
317
+ */
318
+ renewEmailSubscription(requestParameters: EmailSubscriptionsApiRenewEmailSubscriptionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RenewEmailSubscriptionResponseClass, any, {}>>;
319
+ }