@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.
@@ -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 sendmail
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 classic 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.
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 classic add command will keep running until it received confirmation from Office 365 that the site has been fully provisioned.
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
 
@@ -11,12 +11,6 @@ Connects site collection to an Microsoft 365 Group
11
11
  m365 spo site groupify [options]
12
12
  ```
13
13
 
14
- ## Alias
15
-
16
- ```sh
17
- m365 spo site groupify
18
- ```
19
-
20
14
  ## Options
21
15
 
22
16
  `-u, --url <url>`
@@ -8,12 +8,6 @@ Adds a specified member in the specified Microsoft Teams private team channel
8
8
  m365 teams channel member add [options]
9
9
  ```
10
10
 
11
- ## Alias
12
-
13
- ```sh
14
- m365 teams conversationmember add [options]
15
- ```
16
-
17
11
  ## Options
18
12
 
19
13
  `-i, --teamId [teamId]`
@@ -8,12 +8,6 @@ Lists members of the specified Microsoft Teams team channel
8
8
  m365 teams channel member list [options]
9
9
  ```
10
10
 
11
- ## Alias
12
-
13
- ```sh
14
- m365 teams conversationmember list [options]
15
- ```
16
-
17
11
  ## Options
18
12
 
19
13
  `-i, --teamId [teamId]`
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "6.0.0-beta.c561c1f",
3
+ "version": "6.0.0-beta.de4f962",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",