-
Notifications
You must be signed in to change notification settings - Fork 12
Add purge mailboxes for O365 Org #623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add purge mailboxes for O365 Org #623
Conversation
Codecov Report
@@ Coverage Diff @@
## vbo-purge-beta #623 +/- ##
===================================================
- Coverage 83.63% 60.88% -22.75%
===================================================
Files 711 726 +15
Lines 6368 7962 +1594
Branches 388 461 +73
===================================================
- Hits 5326 4848 -478
- Misses 1030 3102 +2072
Partials 12 12
Continue to review full report at Codecov.
|
iamtash
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
creating a O365MailboxPurgeRequest class would keep with a pattern we have for POST requests but not sure if it is compulsory here
@iamtash Yeah I also wanna say that pattern might not apply here since the body takes in an array instead of an object from the start. And creating a |
| * @returns {Promise<unknown>} | ||
| */ | ||
| /* istanbul ignore next: autogenerated */ | ||
| async purgeMailboxes(mailboxes: Array<O365PurgeMailboxJson>): Promise<unknown> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets not take in the json interface, rather the class
an example of a method that takes an array of TS class instances is |
Nice! Updated! |
http://doc.10.api.iland.test/1.0/#/Office%20365%20Backup/purgeMailboxes
http://doc.10.api.iland.test/1.0/#/Office%20365%20Backup/getPurgeMailboxes