@pnp/cli-microsoft365 9.0.0-beta.0d94b15 → 9.0.0-beta.1516729

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 (85) hide show
  1. package/allCommands.json +1 -1
  2. package/allCommandsFull.json +1 -1
  3. package/dist/Auth.js +11 -12
  4. package/dist/Command.js +1 -3
  5. package/dist/cli/cli.js +57 -8
  6. package/dist/config.js +60 -5
  7. package/dist/m365/app/commands/permission/permission-add.js +9 -9
  8. package/dist/m365/base/SpoCommand.js +1 -1
  9. package/dist/m365/cli/commands/cli-consent.js +9 -5
  10. package/dist/m365/cli/commands/cli-doctor.js +2 -2
  11. package/dist/m365/cli/commands/cli-reconsent.js +2 -3
  12. package/dist/m365/cli/commands/config/config-set.js +12 -3
  13. package/dist/m365/commands/login.js +38 -14
  14. package/dist/m365/commands/setup.js +256 -33
  15. package/dist/m365/commands/status.js +2 -2
  16. package/dist/m365/connection/commands/connection-list.js +4 -4
  17. package/dist/m365/entra/commands/app/app-add.js +52 -288
  18. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +13 -13
  19. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +18 -18
  20. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-list.js +1 -1
  21. package/dist/m365/entra/commands/group/group-user-list.js +4 -4
  22. package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +4 -4
  23. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +3 -3
  24. package/dist/m365/entra/commands/m365group/m365group-user-list.js +9 -6
  25. package/dist/m365/onenote/commands/notebook/notebook-add.js +132 -0
  26. package/dist/m365/onenote/commands.js +1 -0
  27. package/dist/m365/outlook/commands/message/message-get.js +11 -11
  28. package/dist/m365/spfx/commands/project/DeployWorkflow.js +1 -1
  29. package/dist/m365/spfx/commands/project/project-github-workflow-add.js +10 -1
  30. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +1 -0
  31. package/dist/m365/spo/commands/file/file-copy.js +34 -55
  32. package/dist/m365/spo/commands/folder/folder-set.js +4 -0
  33. package/dist/m365/spo/commands/list/list-list.js +4 -1
  34. package/dist/m365/spo/commands/site/site-appcatalog-remove.js +24 -48
  35. package/dist/m365/spo/commands/site/site-get.js +12 -16
  36. package/dist/m365/spo/commands/site/site-remove.js +7 -1
  37. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +22 -2
  38. package/dist/m365/spo/commands.js +1 -0
  39. package/dist/m365/viva/commands/engage/engage-group-list.js +5 -0
  40. package/dist/m365/viva/commands/engage/engage-group-user-add.js +5 -0
  41. package/dist/m365/viva/commands/engage/engage-group-user-remove.js +5 -0
  42. package/dist/m365/viva/commands/engage/engage-message-add.js +5 -0
  43. package/dist/m365/viva/commands/engage/engage-message-get.js +5 -0
  44. package/dist/m365/viva/commands/engage/engage-message-like-set.js +5 -0
  45. package/dist/m365/viva/commands/engage/engage-message-list.js +5 -0
  46. package/dist/m365/viva/commands/engage/engage-message-remove.js +5 -0
  47. package/dist/m365/viva/commands/engage/engage-network-list.js +5 -0
  48. package/dist/m365/viva/commands/engage/engage-report-activitycounts.js +8 -0
  49. package/dist/m365/viva/commands/engage/engage-report-activityusercounts.js +8 -0
  50. package/dist/m365/viva/commands/engage/engage-report-activityuserdetail.js +8 -0
  51. package/dist/m365/viva/commands/engage/engage-report-deviceusagedistributionusercounts.js +8 -0
  52. package/dist/m365/viva/commands/engage/engage-report-deviceusageusercounts.js +8 -0
  53. package/dist/m365/viva/commands/engage/engage-report-deviceusageuserdetail.js +8 -0
  54. package/dist/m365/viva/commands/engage/engage-report-groupsactivitycounts.js +8 -0
  55. package/dist/m365/viva/commands/engage/engage-report-groupsactivitydetail.js +8 -0
  56. package/dist/m365/viva/commands/engage/engage-report-groupsactivitygroupcounts.js +8 -0
  57. package/dist/m365/viva/commands/engage/engage-search.js +5 -0
  58. package/dist/m365/viva/commands/engage/engage-user-get.js +5 -0
  59. package/dist/m365/viva/commands/engage/engage-user-list.js +5 -0
  60. package/dist/m365/viva/commands/engage/yammerCommands.js +25 -0
  61. package/dist/settingsNames.js +7 -1
  62. package/dist/utils/entraApp.js +283 -0
  63. package/dist/utils/spo.js +0 -74
  64. package/docs/docs/_clisettings.mdx +6 -0
  65. package/docs/docs/cmd/app/permission/permission-add.mdx +5 -5
  66. package/docs/docs/cmd/cli/cli-consent.mdx +1 -1
  67. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +12 -12
  68. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +14 -14
  69. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-list.mdx +5 -5
  70. package/docs/docs/cmd/entra/group/group-user-list.mdx +7 -7
  71. package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +5 -5
  72. package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-list.mdx +3 -3
  73. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +1 -1
  74. package/docs/docs/cmd/onenote/notebook/notebook-add.mdx +169 -0
  75. package/docs/docs/cmd/outlook/message/message-get.mdx +5 -5
  76. package/docs/docs/cmd/setup.mdx +16 -3
  77. package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +12 -11
  78. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +5 -6
  79. package/docs/docs/cmd/spo/file/file-copy.mdx +12 -119
  80. package/docs/docs/cmd/spo/folder/folder-set.mdx +6 -0
  81. package/docs/docs/cmd/spo/list/list-list.mdx +7 -5
  82. package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +2 -11
  83. package/docs/docs/cmd/spo/site/site-remove.mdx +3 -0
  84. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +49 -2
  85. package/package.json +1 -1
@@ -10,6 +10,12 @@ Updates a folder
10
10
  m365 spo folder set [options]
11
11
  ```
12
12
 
13
+ ## Alias
14
+
15
+ ```sh
16
+ m365 spo folder rename [options]
17
+ ```
18
+
13
19
  ## Options
14
20
 
15
21
  ```md definition-list
@@ -126,7 +126,8 @@ m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x --fil
126
126
  "ParserDisabled": false,
127
127
  "ServerTemplateCanCreateFolders": false,
128
128
  "TemplateFeatureId": "00000000-0000-0000-0000-000000000000",
129
- "Title": "Theme Gallery"
129
+ "Title": "Theme Gallery",
130
+ "Url": "/_catalogs/theme"
130
131
  }
131
132
  ]
132
133
  ```
@@ -135,17 +136,17 @@ m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x --fil
135
136
  <TabItem value="Text">
136
137
 
137
138
  ```text
138
- Id Title
139
+ Id Url
139
140
  ------------------------------------ ----------------
140
- 66e5148c-7060-4479-88e7-636d79579148 Theme Gallery
141
+ 66e5148c-7060-4479-88e7-636d79579148 /_catalogs/theme
141
142
  ```
142
143
 
143
144
  </TabItem>
144
145
  <TabItem value="CSV">
145
146
 
146
147
  ```csv
147
- Id,Title
148
- 66e5148c-7060-4479-88e7-636d79579148,Theme Gallery
148
+ Id,Url
149
+ Theme Gallery,/_catalogs/theme,66e5148c-7060-4479-88e7-636d79579148
149
150
  ```
150
151
 
151
152
  </TabItem>
@@ -210,6 +211,7 @@ m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x --fil
210
211
  ServerTemplateCanCreateFolders | true
211
212
  TemplateFeatureId | 00000000-0000-0000-0000-000000000000
212
213
  Title | Theme Gallery
214
+ Url | //\_catalogs/theme
213
215
  ```
214
216
 
215
217
  </TabItem>
@@ -14,10 +14,7 @@ m365 spo site appcatalog remove [options]
14
14
 
15
15
  ```md definition-list
16
16
  `-u, --siteUrl <siteUrl>`
17
- : URL of the site collection containing the app catalog to disable.
18
-
19
- `-f, --force`
20
- : Don't prompt for confirmation.
17
+ : URL of the site collection containing the app catalog to disable
21
18
  ```
22
19
 
23
20
  <Global />
@@ -34,18 +31,12 @@ To use this command you have to have permissions to access the tenant admin site
34
31
 
35
32
  ## Examples
36
33
 
37
- Remove the site collection app catalog from specified site.
34
+ Remove the site collection app catalog from specified site
38
35
 
39
36
  ```sh
40
37
  m365 spo site appcatalog remove --siteUrl https://contoso.sharepoint/sites/site
41
38
  ```
42
39
 
43
- Remove the site collection app catalog from specified site without prompting for confirmation.
44
-
45
- ```sh
46
- m365 spo site appcatalog remove --siteUrl https://contoso.sharepoint/sites/site --force
47
- ```
48
-
49
40
  ## Response
50
41
 
51
42
  The command won't return a response on success.
@@ -22,6 +22,9 @@ m365 spo site remove [options]
22
22
  `--fromRecycleBin`
23
23
  : Set to remove the site from the recycle bin.
24
24
 
25
+ `--wait`
26
+ : (deprecated) Wait for the site to be removed before completing the command.
27
+
25
28
  `-f, --force`
26
29
  : Don't prompt for confirmation.
27
30
  ```
@@ -17,6 +17,9 @@ m365 spo tenant recyclebinitem restore [options]
17
17
  ```md definition-list
18
18
  `-u, --siteUrl <siteUrl>`
19
19
  : URL of the site.
20
+
21
+ `--wait`
22
+ : (deprecated) Wait for the site collection to be restored before completing the command.
20
23
  ```
21
24
 
22
25
  <Global />
@@ -31,7 +34,7 @@ To use this command you must be a Global or SharePoint administrator.
31
34
 
32
35
  ## Examples
33
36
 
34
- Restores a deleted site collection from tenant recycle bin.
37
+ Restore a deleted site collection from tenant recycle bin
35
38
 
36
39
  ```sh
37
40
  m365 spo tenant recyclebinitem restore --siteUrl https://contoso.sharepoint.com/sites/team
@@ -39,4 +42,48 @@ m365 spo tenant recyclebinitem restore --siteUrl https://contoso.sharepoint.com/
39
42
 
40
43
  ## Response
41
44
 
42
- The command won't return a response on success.
45
+ <Tabs>
46
+ <TabItem value="JSON">
47
+
48
+ ```json
49
+ {
50
+ "HasTimedout": false,
51
+ "IsComplete": true,
52
+ "PollingInterval": 15000
53
+ }
54
+ ```
55
+
56
+ </TabItem>
57
+ <TabItem value="Text">
58
+
59
+ ```text
60
+ HasTimedout : false
61
+ IsComplete : true
62
+ PollingInterval: 15000
63
+ ```
64
+
65
+ </TabItem>
66
+ <TabItem value="CSV">
67
+
68
+ ```csv
69
+ HasTimedout,IsComplete,PollingInterval
70
+ ,1,15000
71
+ ```
72
+
73
+ </TabItem>
74
+ <TabItem value="Markdown">
75
+
76
+ ```md
77
+ # spo tenant recyclebinitem restore --siteUrl "https://contoso.sharepoint.com/teams/team1"
78
+
79
+ Date: 2023-06-22
80
+
81
+ Property | Value
82
+ ---------|-------
83
+ HasTimedout | false
84
+ IsComplete | true
85
+ PollingInterval | 15000
86
+ ```
87
+
88
+ </TabItem>
89
+ </Tabs>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "9.0.0-beta.0d94b15",
3
+ "version": "9.0.0-beta.1516729",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",