@pnp/cli-microsoft365 6.5.0-beta.b69bf55 → 6.5.0-beta.ccd8e85

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 (41) hide show
  1. package/.eslintrc.js +2 -0
  2. package/README.md +3 -3
  3. package/dist/Command.js +17 -7
  4. package/dist/cli/Cli.js +15 -11
  5. package/dist/m365/cli/commands/config/config-set.js +1 -0
  6. package/dist/m365/flow/commands/flow-export.js +6 -6
  7. package/dist/m365/pa/commands/app/app-export.js +197 -0
  8. package/dist/m365/pa/commands.js +1 -0
  9. package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +79 -0
  10. package/dist/m365/purview/commands.js +2 -1
  11. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.17.0-beta.3.js → upgrade-1.17.0.js} +26 -26
  12. package/dist/m365/spfx/commands/project/project-upgrade.js +13 -15
  13. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +27 -13
  14. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-list.js +72 -0
  15. package/dist/m365/spo/commands/commandset/commandset-add.js +2 -1
  16. package/dist/m365/spo/commands/commandset/commandset-remove.js +12 -9
  17. package/dist/m365/spo/commands/commandset/commandset-set.js +12 -9
  18. package/dist/m365/spo/commands/file/file-move.js +1 -1
  19. package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +22 -1
  20. package/dist/m365/spo/commands/listitem/listitem-get.js +21 -6
  21. package/dist/m365/spo/commands/listitem/listitem-retentionlabel-ensure.js +35 -1
  22. package/dist/m365/spo/commands/web/web-set.js +33 -13
  23. package/dist/m365/spo/commands.js +1 -0
  24. package/dist/m365/teams/commands/team/team-list.js +4 -6
  25. package/dist/m365/todo/commands/task/task-set.js +25 -1
  26. package/dist/settingsNames.js +2 -1
  27. package/dist/utils/md.js +4 -3
  28. package/docs/docs/_clisettings.md +1 -0
  29. package/docs/docs/cmd/pa/app/app-export.md +52 -0
  30. package/docs/docs/cmd/purview/threatassessment/threatassessment-get.md +191 -0
  31. package/docs/docs/cmd/spfx/project/project-upgrade.md +2 -2
  32. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +4 -1
  33. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.md +109 -0
  34. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.md +12 -1
  35. package/docs/docs/cmd/spo/list/list-view-remove.md +1 -1
  36. package/docs/docs/cmd/spo/list/list-view-set.md +2 -2
  37. package/docs/docs/cmd/spo/listitem/listitem-get.md +14 -5
  38. package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-ensure.md +15 -2
  39. package/docs/docs/cmd/teams/team/team-list.md +44 -4
  40. package/docs/docs/cmd/todo/task/task-set.md +50 -0
  41. package/package.json +2 -1
@@ -40,8 +40,21 @@ m365 todo task set [options]
40
40
  `--reminderDateTime [reminderDateTime]`
41
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
42
 
43
+ `--categories [categories]`
44
+ : Comma-separated list of categories associated with the task.
45
+
46
+ `--completedDateTime [completedDateTime]`
47
+ : The date and time when the task was finished. This should be defined as a valid ISO 8601 string. `2021-12-16T18:28:48.6964197Z`
48
+
49
+ `--startDateTime [startDateTime]`
50
+ : The date and time when the task is scheduled to start. This should be defined as a valid ISO 8601 string. `2021-12-16T18:28:48.6964197Z`
51
+
43
52
  --8<-- "docs/cmd/_global.md"
44
53
 
54
+ ## Remarks
55
+
56
+ When you specify the values for `categories`, each category can correspond to the displayName property of an [outlookCategory](https://learn.microsoft.com/en-us/graph/api/resources/outlookcategory?view=graph-rest-1.0). It is permissible to use distinct names.
57
+
45
58
  ## Examples
46
59
 
47
60
  Update a task with title _New task_ to _Update doco_ in Microsoft To Do tasks list with a specific name
@@ -68,6 +81,18 @@ Update a task with due date in Microsoft To Do tasks list with list id
68
81
  m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --listId "AQMkADlhMTRkOGEzLWQ1M2QtNGVkNS04NjdmLWU0NzJhMjZmZWNmMwAuAAADKvwNgAMNPE_zFNRJXVrU1wEAhHKQZHItDEOVCn8U3xuA2AABmQeVPwAAAA==" --dueDateTime 2023-01-01
69
82
  ```
70
83
 
84
+ Update a task to Microsoft To Do with several categories
85
+
86
+ ```sh
87
+ m365 todo task set --title "New task" --listName "My task list" --categories "Red category,Important"
88
+ ```
89
+
90
+ Update a task to Microsoft To Do with a start date and set a reminder for the task
91
+
92
+ ```sh
93
+ m365 todo task set --title "New task" --listName "My task list" --startDateTime "2023-12-16T18:28:48.6964197Z" --isReminderOn true
94
+ ```
95
+
71
96
  ## Response
72
97
 
73
98
  === "JSON"
@@ -121,3 +146,28 @@ m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMAB
121
146
  importance,isReminderOn,status,title,createdDateTime,lastModifiedDateTime,hasAttachments,categories,id,body,dueDateTime,reminderDateTime
122
147
  high,1,notStarted,Update doco,2022-10-29T11:03:20.9175176Z,2022-10-30T14:09:14.7687057Z,,[],AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAL3xdLTAADEwEFouXWWT50CfwqSN9cpAAL3xhtSAAA=,"{""content"":""I should not forget this"",""contentType"":""text""}","{""dateTime"":""2023-01-01T00:00:00.0000000"",""timeZone"":""UTC""}","{""dateTime"":""2023-01-01T12:00:00.0000000"",""timeZone"":""UTC""}"
123
148
  ```
149
+
150
+ === "Markdown"
151
+
152
+ ```md
153
+ # todo task set --id "AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAL3xdLTAADEwEFouXWWT50CfwqSN9cpAAL3xhtSAAA=" --title "Update doco" --listName "My task list" --status "notStarted"
154
+
155
+ Date: 4/3/2023
156
+
157
+ ## Update doco (AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAL3xdLTAADEwEFouXWWT50CfwqSN9cpAAL3xhtSAAA=)
158
+
159
+ Property | Value
160
+ ---------|-------
161
+ importance | high
162
+ isReminderOn | true
163
+ status | notStarted
164
+ title | Update doco
165
+ createdDateTime | 2022-10-29T11:03:20.9175176Z
166
+ lastModifiedDateTime | 2022-10-30T14:07:03.0718199Z
167
+ hasAttachments | false
168
+ categories | []
169
+ id | AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAL3xdLTAADEwEFouXWWT50CfwqSN9cpAAL3xhtSAAA=
170
+ body | {"content":"I should not forget this","contentType":"text"}
171
+ dueDateTime | {"dateTime": "2023-01-01T00:00:00.0000000","timeZone": "UTC"}
172
+ reminderDateTime | {"dateTime": "2023-01-01T12:00:00.0000000","timeZone": "UTC"}
173
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "6.5.0-beta.b69bf55",
3
+ "version": "6.5.0-beta.ccd8e85",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -183,6 +183,7 @@
183
183
  "Romão, Douglas <douglas.romao@trentim.com>",
184
184
  "Rozinov, Roman <roman.rozinov@sogeti.com>",
185
185
  "Saatçi, Hüseyin <huseyins@comodo.net>",
186
+ "Sanap, Ganesh <ganeshsanap120694@gmail.com>",
186
187
  "Schaeflein, Paul <paul@schaeflein.net>",
187
188
  "Schot, Albert-Jan <appie@digiwijs.nl>",
188
189
  "Schouten, Robert <robert.schouten@wortell.nl>",