@pnp/cli-microsoft365 6.0.0-beta.c561c1f → 6.0.0-beta.de4f962
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/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +0 -3
- package/dist/m365/aad/commands.js +0 -1
- package/dist/m365/outlook/commands/mail/mail-send.js +0 -3
- package/dist/m365/outlook/commands.js +1 -2
- package/dist/m365/teams/commands/channel/channel-member-add.js +0 -4
- package/dist/m365/teams/commands/channel/channel-member-list.js +0 -4
- package/dist/m365/teams/commands/channel/channel-member-remove.js +0 -4
- package/dist/m365/teams/commands.js +0 -3
- package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-restore.md +1 -7
- package/docs/docs/cmd/outlook/mail/mail-send.md +1 -7
- package/docs/docs/cmd/spo/site/site-add.md +2 -2
- package/docs/docs/cmd/spo/site/site-groupify.md +0 -6
- package/docs/docs/cmd/teams/channel/channel-member-add.md +0 -6
- package/docs/docs/cmd/teams/channel/channel-member-list.md +0 -6
- package/docs/docs/cmd/teams/channel/channel-member-remove.md +0 -6
- package/package.json +1 -1
|
@@ -34,9 +34,6 @@ class AadO365GroupRecycleBinItemRestoreCommand extends GraphCommand_1.default {
|
|
|
34
34
|
get description() {
|
|
35
35
|
return 'Restores a deleted Microsoft 365 Group';
|
|
36
36
|
}
|
|
37
|
-
alias() {
|
|
38
|
-
return [commands_1.default.O365GROUP_RESTORE];
|
|
39
|
-
}
|
|
40
37
|
commandAction(logger, args, cb) {
|
|
41
38
|
if (this.verbose) {
|
|
42
39
|
logger.logToStderr(`Restoring Microsoft 365 Group: ${args.options.id || args.options.displayName || args.options.mailNickname}...`);
|
|
@@ -38,7 +38,6 @@ exports.default = {
|
|
|
38
38
|
O365GROUP_REPORT_ACTIVITYFILECOUNTS: `${prefix} o365group report activityfilecounts`,
|
|
39
39
|
O365GROUP_REPORT_ACTIVITYGROUPCOUNTS: `${prefix} o365group report activitygroupcounts`,
|
|
40
40
|
O365GROUP_REPORT_ACTIVITYSTORAGE: `${prefix} o365group report activitystorage`,
|
|
41
|
-
O365GROUP_RESTORE: `${prefix} o365group restore`,
|
|
42
41
|
O365GROUP_USER_ADD: `${prefix} o365group user add`,
|
|
43
42
|
O365GROUP_USER_LIST: `${prefix} o365group user list`,
|
|
44
43
|
O365GROUP_USER_REMOVE: `${prefix} o365group user remove`,
|
|
@@ -32,9 +32,6 @@ class OutlookMailSendCommand extends GraphCommand_1.default {
|
|
|
32
32
|
get description() {
|
|
33
33
|
return 'Sends e-mail on behalf of the current user';
|
|
34
34
|
}
|
|
35
|
-
alias() {
|
|
36
|
-
return [commands_1.default.SENDMAIL];
|
|
37
|
-
}
|
|
38
35
|
commandAction(logger, args, cb) {
|
|
39
36
|
const bodyContents = args.options.bodyContents;
|
|
40
37
|
const requestOptions = {
|
|
@@ -17,7 +17,6 @@ exports.default = {
|
|
|
17
17
|
REPORT_MAILBOXUSAGEQUOTASTATUSMAILBOXCOUNTS: `${prefix} report mailboxusagequotastatusmailboxcounts`,
|
|
18
18
|
REPORT_MAILBOXUSAGESTORAGE: `${prefix} report mailboxusagestorage`,
|
|
19
19
|
ROOM_LIST: `${prefix} room list`,
|
|
20
|
-
ROOMLIST_LIST: `${prefix} roomlist list
|
|
21
|
-
SENDMAIL: `${prefix} sendmail`
|
|
20
|
+
ROOMLIST_LIST: `${prefix} roomlist list`
|
|
22
21
|
};
|
|
23
22
|
//# sourceMappingURL=commands.js.map
|
|
@@ -36,11 +36,7 @@ class TeamsChannelMemberAddCommand extends GraphCommand_1.default {
|
|
|
36
36
|
get description() {
|
|
37
37
|
return 'Adds a conversation member in a private channel.';
|
|
38
38
|
}
|
|
39
|
-
alias() {
|
|
40
|
-
return [commands_1.default.CONVERSATIONMEMBER_ADD];
|
|
41
|
-
}
|
|
42
39
|
commandAction(logger, args, cb) {
|
|
43
|
-
this.showDeprecationWarning(logger, commands_1.default.CONVERSATIONMEMBER_ADD, commands_1.default.CHANNEL_MEMBER_ADD);
|
|
44
40
|
let teamId = '';
|
|
45
41
|
let channelId = '';
|
|
46
42
|
this
|
|
@@ -36,14 +36,10 @@ class TeamsChannelMemberListCommand extends GraphCommand_1.default {
|
|
|
36
36
|
get description() {
|
|
37
37
|
return 'Lists members of the specified Microsoft Teams team channel';
|
|
38
38
|
}
|
|
39
|
-
alias() {
|
|
40
|
-
return [commands_1.default.CONVERSATIONMEMBER_LIST];
|
|
41
|
-
}
|
|
42
39
|
defaultProperties() {
|
|
43
40
|
return ['id', 'roles', 'displayName', 'userId', 'email'];
|
|
44
41
|
}
|
|
45
42
|
commandAction(logger, args, cb) {
|
|
46
|
-
this.showDeprecationWarning(logger, commands_1.default.CONVERSATIONMEMBER_LIST, commands_1.default.CHANNEL_MEMBER_LIST);
|
|
47
43
|
this
|
|
48
44
|
.getTeamId(args)
|
|
49
45
|
.then((teamId) => {
|
|
@@ -38,11 +38,7 @@ class TeamsChannelMemberRemoveCommand extends GraphCommand_1.default {
|
|
|
38
38
|
get description() {
|
|
39
39
|
return 'Updates the role of the specified member in the specified Microsoft Teams private team channel';
|
|
40
40
|
}
|
|
41
|
-
alias() {
|
|
42
|
-
return [commands_1.default.CONVERSATIONMEMBER_REMOVE];
|
|
43
|
-
}
|
|
44
41
|
commandAction(logger, args, cb) {
|
|
45
|
-
this.showDeprecationWarning(logger, commands_1.default.CONVERSATIONMEMBER_REMOVE, commands_1.default.CHANNEL_MEMBER_REMOVE);
|
|
46
42
|
const removeMember = () => {
|
|
47
43
|
this
|
|
48
44
|
.removeMemberFromChannel(args)
|
|
@@ -23,9 +23,6 @@ exports.default = {
|
|
|
23
23
|
CHAT_MEMBER_LIST: `${prefix} chat member list`,
|
|
24
24
|
CHAT_MESSAGE_LIST: `${prefix} chat message list`,
|
|
25
25
|
CHAT_MESSAGE_SEND: `${prefix} chat message send`,
|
|
26
|
-
CONVERSATIONMEMBER_ADD: `${prefix} conversationmember add`,
|
|
27
|
-
CONVERSATIONMEMBER_LIST: `${prefix} conversationmember list`,
|
|
28
|
-
CONVERSATIONMEMBER_REMOVE: `${prefix} conversationmember remove`,
|
|
29
26
|
FUNSETTINGS_LIST: `${prefix} funsettings list`,
|
|
30
27
|
FUNSETTINGS_SET: `${prefix} funsettings set`,
|
|
31
28
|
GUESTSETTINGS_LIST: `${prefix} guestsettings list`,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# aad o365group restore
|
|
1
|
+
# aad o365group recyclebinitem restore
|
|
2
2
|
|
|
3
3
|
Restores a deleted Microsoft 365 Group
|
|
4
4
|
|
|
@@ -8,12 +8,6 @@ Restores a deleted Microsoft 365 Group
|
|
|
8
8
|
m365 aad o365group recyclebinitem restore [options]
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
## Alias
|
|
12
|
-
|
|
13
|
-
```sh
|
|
14
|
-
m365 aad o365group restore [options]
|
|
15
|
-
```
|
|
16
|
-
|
|
17
11
|
## Options
|
|
18
12
|
|
|
19
13
|
`-i, --id [id]`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# outlook
|
|
1
|
+
# outlook mail send
|
|
2
2
|
|
|
3
3
|
Sends e-mail on behalf of the current user
|
|
4
4
|
|
|
@@ -8,12 +8,6 @@ Sends e-mail on behalf of the current user
|
|
|
8
8
|
m365 outlook mail send [options]
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
## Alias
|
|
12
|
-
|
|
13
|
-
```sh
|
|
14
|
-
m365 outlook sendmail [options]
|
|
15
|
-
```
|
|
16
|
-
|
|
17
11
|
## Options
|
|
18
12
|
|
|
19
13
|
`-s, --subject <subject>`
|
|
@@ -87,9 +87,9 @@ The value of the `--storageQuota` option must not exceed the company's available
|
|
|
87
87
|
|
|
88
88
|
The value of the `--storageQuotaWarningLevel` option must not exceed the the value of the `--storageQuota` option.
|
|
89
89
|
|
|
90
|
-
If you try to create a site with the same URL as a site that has been previously moved to the recycle bin, you will get an error. To avoid this error, you can use the `--removeDeletedSite` option. Prior to creating the site, the spo site
|
|
90
|
+
If you try to create a site with the same URL as a site that has been previously moved to the recycle bin, you will get an error. To avoid this error, you can use the `--removeDeletedSite` option. Prior to creating the site, the spo site add command will check if the site with the specified URL has been previously moved to the recycle bin and if so, will remove it. Because removing sites from the recycle bin might take a moment, it should be used in conjunction with the `--wait` option so that the new site is not created before the old site is fully removed.
|
|
91
91
|
|
|
92
|
-
Deleting and creating classic site collections is by default asynchronous and depending on the current state of Office 365, might take up to few minutes. If you're building a script with steps that require the site to be fully provisioned, you should use the `--wait` flag. When using this flag, the spo site
|
|
92
|
+
Deleting and creating classic site collections is by default asynchronous and depending on the current state of Office 365, might take up to few minutes. If you're building a script with steps that require the site to be fully provisioned, you should use the `--wait` flag. When using this flag, the spo site add command will keep running until it received confirmation from Office 365 that the site has been fully provisioned.
|
|
93
93
|
|
|
94
94
|
## Remarks for modern sites
|
|
95
95
|
|
|
@@ -8,12 +8,6 @@ Remove the specified member from the specified Microsoft Teams private team chan
|
|
|
8
8
|
m365 teams channel member remove [options]
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
## Alias
|
|
12
|
-
|
|
13
|
-
```sh
|
|
14
|
-
m365 teams conversationmember remove [options]
|
|
15
|
-
```
|
|
16
|
-
|
|
17
11
|
## Options
|
|
18
12
|
|
|
19
13
|
`--teamId [teamId]`
|
package/package.json
CHANGED