@pnp/cli-microsoft365 5.9.0-beta.0d30334 → 5.9.0-beta.1713b46
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/.eslintrc.js +4 -2
- package/dist/m365/aad/commands/app/app-add.js +37 -13
- package/dist/m365/outlook/commands/mail/mail-send.js +1 -1
- package/dist/m365/planner/commands/bucket/bucket-get.js +1 -1
- package/dist/m365/pp/commands/Environment.js +3 -0
- package/dist/m365/pp/commands/environment/environment-get.js +75 -0
- package/dist/m365/pp/commands.js +1 -0
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +14 -6
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +15 -7
- package/dist/m365/spo/commands/list/list-webhook-add.js +19 -11
- package/dist/m365/spo/commands/list/list-webhook-get.js +17 -9
- package/dist/m365/spo/commands/list/list-webhook-list.js +23 -24
- package/dist/m365/spo/commands/list/list-webhook-remove.js +19 -11
- package/dist/m365/spo/commands/list/list-webhook-set.js +18 -10
- package/dist/m365/todo/commands/task/task-set.js +53 -1
- package/docs/docs/cmd/pp/environment/environment-get.md +38 -0
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.md +2 -2
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.md +2 -2
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +11 -8
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +14 -5
- package/docs/docs/cmd/spo/list/list-webhook-add.md +15 -16
- package/docs/docs/cmd/spo/list/list-webhook-get.md +15 -6
- package/docs/docs/cmd/spo/list/list-webhook-list.md +16 -7
- package/docs/docs/cmd/spo/list/list-webhook-remove.md +12 -10
- package/docs/docs/cmd/spo/list/list-webhook-set.md +13 -11
- package/docs/docs/cmd/todo/task/task-set.md +29 -2
- package/package.json +4 -1
|
@@ -11,22 +11,25 @@ m365 spo list webhook set [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: URL of the site where the list
|
|
14
|
+
: URL of the site where the list is located.
|
|
15
15
|
|
|
16
16
|
`-l, --listId [listId]`
|
|
17
|
-
: ID of the list
|
|
17
|
+
: ID of the list. Specify either `listId`, `listTitle` or `listUrl`.
|
|
18
18
|
|
|
19
19
|
`-t, --listTitle [listTitle]`
|
|
20
|
-
: Title of the list
|
|
20
|
+
: Title of the list. Specify either `listId`, `listTitle` or `listUrl`.
|
|
21
|
+
|
|
22
|
+
`--listUrl [listUrl]`
|
|
23
|
+
: Server- or site-relative URL of the list. Specify either `listId`, `listTitle` or `listUrl`.
|
|
21
24
|
|
|
22
25
|
`-i, --id [id]`
|
|
23
|
-
: ID of the webhook to update
|
|
26
|
+
: ID of the webhook to update.
|
|
24
27
|
|
|
25
28
|
`-n, --notificationUrl [notificationUrl]`
|
|
26
|
-
: The new notification url
|
|
29
|
+
: The new notification url.
|
|
27
30
|
|
|
28
31
|
`-e, --expirationDateTime [expirationDateTime]`
|
|
29
|
-
: The new expiration date
|
|
32
|
+
: The new expiration date.
|
|
30
33
|
|
|
31
34
|
--8<-- "docs/cmd/_global.md"
|
|
32
35
|
|
|
@@ -36,21 +39,20 @@ If the specified `id` doesn't refer to an existing webhook, you will get a `404
|
|
|
36
39
|
|
|
37
40
|
## Examples
|
|
38
41
|
|
|
39
|
-
Update the notification url of a webhook with
|
|
42
|
+
Update the notification url of a webhook with a specific ID attached to a list with a specific ID in a specific site to a specific URL
|
|
40
43
|
|
|
41
44
|
```sh
|
|
42
45
|
m365 spo list webhook set --webUrl https://contoso.sharepoint.com/sites/ninja --listId 0cd891ef-afce-4e55-b836-fce03286cccf --id cc27a922-8224-4296-90a5-ebbc54da2e81 --notificationUrl https://contoso-functions.azurewebsites.net/webhook
|
|
43
46
|
```
|
|
44
47
|
|
|
45
|
-
Update the expiration date of a webhook with
|
|
48
|
+
Update the expiration date of a webhook with a specific ID attached to a list with a specific title in a specific site to a specfic date
|
|
46
49
|
|
|
47
50
|
```sh
|
|
48
51
|
m365 spo list webhook set --webUrl https://contoso.sharepoint.com/sites/ninja --listTitle Documents --id cc27a922-8224-4296-90a5-ebbc54da2e81 --expirationDateTime 2018-10-09T18:15
|
|
49
52
|
```
|
|
50
53
|
|
|
51
|
-
|
|
52
|
-
and the expiration date to _March 2nd, 2019_
|
|
54
|
+
Update the notification url of a webhook with a specific ID attached to a list with a specific URL in a specific site to a specific URL and the expiration date to a specific date
|
|
53
55
|
|
|
54
56
|
```sh
|
|
55
|
-
m365 spo list webhook set --webUrl https://contoso.sharepoint.com/sites/ninja --
|
|
57
|
+
m365 spo list webhook set --webUrl https://contoso.sharepoint.com/sites/ninja --listUrl '/sites/ninja/Documents' --id cc27a922-8224-4296-90a5-ebbc54da2e81 --notificationUrl https://contoso-functions.azurewebsites.net/webhook --expirationDateTime 2019-03-02
|
|
56
58
|
```
|
|
@@ -25,18 +25,45 @@ m365 todo task set [options]
|
|
|
25
25
|
`--listId [listId]`
|
|
26
26
|
: The id of the task list in which the task exists. Specify either `listName` or `listId`, not both
|
|
27
27
|
|
|
28
|
+
`--bodyContent [bodyContent]`
|
|
29
|
+
: The body content of the task. In the UI this is called 'notes'.
|
|
30
|
+
|
|
31
|
+
`--bodyContentType [bodyContentType]`
|
|
32
|
+
: The type of the body content. Possible values are `text` and `html`. Default is `text`.
|
|
33
|
+
|
|
34
|
+
`--importance [importance]`
|
|
35
|
+
: The importance of the task. Possible values are: `low`, `normal`, `high`.
|
|
36
|
+
|
|
37
|
+
`--dueDateTime [dueDateTime]`
|
|
38
|
+
: The date and time when the task is due. This should be defined as a valid ISO 8601 string in the UTC time zone. Only date value is needed, time value is always ignored.
|
|
39
|
+
|
|
40
|
+
`--reminderDateTime [reminderDateTime]`
|
|
41
|
+
: The date and time for a reminder alert of the task to occur. This should be defined as a valid ISO 8601 string in the UTC time zone.
|
|
42
|
+
|
|
28
43
|
--8<-- "docs/cmd/_global.md"
|
|
29
44
|
|
|
30
45
|
## Examples
|
|
31
46
|
|
|
32
|
-
Update a task with title _New task_ to _Update doco_ in Microsoft To Do tasks list with
|
|
47
|
+
Update a task with title _New task_ to _Update doco_ in Microsoft To Do tasks list with a specific name
|
|
33
48
|
|
|
34
49
|
```sh
|
|
35
50
|
m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --title "Update doco" --listName "My task list"
|
|
36
51
|
```
|
|
37
52
|
|
|
38
|
-
Update a task with status from _notStarted_ to _inProgress_ in Microsoft To Do tasks list with
|
|
53
|
+
Update a task with status from _notStarted_ to _inProgress_ in Microsoft To Do tasks list with a specific name
|
|
39
54
|
|
|
40
55
|
```sh
|
|
41
56
|
m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --status "inProgress" --listName "My task list"
|
|
42
57
|
```
|
|
58
|
+
|
|
59
|
+
Update a task with bodyContent and reminder and flag it as important in Microsoft To Do tasks list with a specific name
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --listName "My task list" --bodyContent "I should not forget this" --reminderDateTime 2023-01-01T12:00:00Z --importance high
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Update a task with due date in Microsoft To Do tasks list with list id
|
|
66
|
+
|
|
67
|
+
```sh
|
|
68
|
+
m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --listId "AQMkADlhMTRkOGEzLWQ1M2QtNGVkNS04NjdmLWU0NzJhMjZmZWNmMwAuAAADKvwNgAMNPE_zFNRJXVrU1wEAhHKQZHItDEOVCn8U3xuA2AABmQeVPwAAAA==" --dueDateTime 2023-01-01
|
|
69
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "5.9.0-beta.
|
|
3
|
+
"version": "5.9.0-beta.1713b46",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -122,6 +122,7 @@
|
|
|
122
122
|
"Faleel, Mohamed Ashiq <ashiqf@gmail.com>",
|
|
123
123
|
"Ford, Lee <fordyman@gmail.com>",
|
|
124
124
|
"Freese, Luise <49960482+LuiseFreese@users.noreply.github.com>",
|
|
125
|
+
"Gaston Flores <gaston.flrs@gmail.com>",
|
|
125
126
|
"Georgiev, Velin <velin.georgiev@gmail.com>",
|
|
126
127
|
"Ghuge, Pramod <pramod7@gmail.com>",
|
|
127
128
|
"Gölles, Thomas <thomy@outlook.at>",
|
|
@@ -129,6 +130,7 @@
|
|
|
129
130
|
"Harding, Phil <pil.harding@platinumdogs.co.uk>",
|
|
130
131
|
"Hawrylak, Paweł <phawrylak@outlook.com>",
|
|
131
132
|
"Holemans, Milan <Milan.Holemans@vanroey.be>",
|
|
133
|
+
"Hüseyin Saatçi <huseyins@comodo.net>",
|
|
132
134
|
"Honen, Nicholas <nickhonen@gmail.com>",
|
|
133
135
|
"Högberg, Joakim <joakim.hogberg@bravero.se>",
|
|
134
136
|
"Hvam, Allan <ahp@delegate.dk>",
|
|
@@ -166,6 +168,7 @@
|
|
|
166
168
|
"Priem, Mark <mark.priem@outlook.com>",
|
|
167
169
|
"Raju, Arnie <arnie.raju@thesolutioncollective.com.au>",
|
|
168
170
|
"Ramalho, David <dramalho@storm.ie>",
|
|
171
|
+
"Rathi, Tanmay <tanmay_rathi@intuit.com>",
|
|
169
172
|
"Reekmans, Yannick <reekmans.yannick@gmail.com>",
|
|
170
173
|
"Romano, Rodrigo <rodrigo@rodrigoromano.net>",
|
|
171
174
|
"Romão, Douglas <douglas.romao@trentim.com>",
|