@pnp/cli-microsoft365 6.0.0-beta.42305df → 6.0.0-beta.48a730d

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 (203) hide show
  1. package/.eslintrc.js +15 -2
  2. package/README.md +5 -0
  3. package/dist/Command.js +16 -2
  4. package/dist/m365/aad/commands/app/app-add.js +36 -13
  5. package/dist/m365/aad/commands/app/app-list.js +38 -0
  6. package/dist/m365/aad/commands/user/user-guest-add.js +103 -0
  7. package/dist/m365/aad/commands.js +2 -0
  8. package/dist/m365/commands/status.js +6 -1
  9. package/dist/m365/outlook/commands/mail/mail-send.js +55 -31
  10. package/dist/m365/outlook/commands/message/message-get.js +97 -0
  11. package/dist/m365/outlook/commands.js +1 -0
  12. package/dist/m365/planner/commands/bucket/bucket-get.js +1 -1
  13. package/dist/m365/planner/commands/plan/plan-get.js +5 -20
  14. package/dist/m365/pp/commands/Environment.js +3 -0
  15. package/dist/m365/pp/commands/card/card-get.js +110 -0
  16. package/dist/m365/pp/commands/card/card-list.js +68 -0
  17. package/dist/m365/pp/commands/card/card-remove.js +130 -0
  18. package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +6 -12
  19. package/dist/m365/pp/commands/environment/environment-get.js +75 -0
  20. package/dist/m365/pp/commands/gateway/gateway-get.js +70 -0
  21. package/dist/m365/pp/commands/solution/Solution.js +3 -0
  22. package/dist/m365/pp/commands/solution/solution-get.js +117 -0
  23. package/dist/m365/pp/commands/solution/solution-list.js +87 -0
  24. package/dist/m365/pp/commands.js +7 -0
  25. package/dist/m365/spfx/commands/project/project-doctor.js +4 -1
  26. package/dist/m365/spfx/commands/project/project-externalize.js +4 -1
  27. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +2 -1
  28. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +2 -1
  29. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +2 -1
  30. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010004_YORC_componentType.js +2 -1
  31. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +2 -1
  32. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +3 -2
  33. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +2 -1
  34. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010008_YORC_nodeVersion.js +2 -1
  35. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010009_YORC_sdkVersions_microsoft_graph_client.js +56 -0
  36. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010010_YORC_sdkVersions_teams_js.js +56 -0
  37. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +0 -2
  38. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-beta.1.js → upgrade-1.16.0-beta.2.js} +44 -28
  39. package/dist/m365/spfx/commands/project/project-upgrade.js +5 -2
  40. package/dist/m365/spfx/commands/spfx-doctor.js +39 -9
  41. package/dist/m365/spo/commands/contenttype/contenttype-add.js +82 -43
  42. package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +53 -21
  43. package/dist/m365/spo/commands/contenttype/contenttype-get.js +35 -14
  44. package/dist/m365/spo/commands/eventreceiver/EventReceiver.js +3 -0
  45. package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +182 -0
  46. package/dist/m365/spo/commands/field/field-add.js +26 -1
  47. package/dist/m365/spo/commands/field/field-set.js +23 -13
  48. package/dist/m365/spo/commands/file/file-copy.js +25 -39
  49. package/dist/m365/spo/commands/file/file-move.js +24 -37
  50. package/dist/m365/spo/commands/file/file-rename.js +19 -16
  51. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +129 -0
  52. package/dist/m365/spo/commands/folder/folder-list.js +35 -12
  53. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +168 -0
  54. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +11 -1
  55. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +12 -1
  56. package/dist/m365/spo/commands/group/AssociatedGroupPropertiesCollection.js +3 -0
  57. package/dist/m365/spo/commands/group/group-list.js +49 -10
  58. package/dist/m365/spo/commands/list/list-contenttype-add.js +21 -18
  59. package/dist/m365/spo/commands/list/list-contenttype-default-set.js +59 -47
  60. package/dist/m365/spo/commands/list/list-contenttype-list.js +16 -8
  61. package/dist/m365/spo/commands/list/list-contenttype-remove.js +16 -8
  62. package/dist/m365/spo/commands/list/list-roleassignment-add.js +10 -10
  63. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +8 -8
  64. package/dist/m365/spo/commands/list/list-roleinheritance-break.js +14 -6
  65. package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +14 -6
  66. package/dist/m365/spo/commands/list/list-webhook-add.js +19 -11
  67. package/dist/m365/spo/commands/list/list-webhook-get.js +17 -10
  68. package/dist/m365/spo/commands/list/list-webhook-list.js +17 -42
  69. package/dist/m365/spo/commands/list/list-webhook-remove.js +19 -11
  70. package/dist/m365/spo/commands/list/list-webhook-set.js +27 -20
  71. package/dist/m365/spo/commands/listitem/listitem-add.js +24 -14
  72. package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +18 -8
  73. package/dist/m365/spo/commands/listitem/listitem-get.js +18 -8
  74. package/dist/m365/spo/commands/listitem/listitem-isrecord.js +20 -10
  75. package/dist/m365/spo/commands/listitem/listitem-list.js +21 -11
  76. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +19 -12
  77. package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +24 -21
  78. package/dist/m365/spo/commands/listitem/listitem-remove.js +19 -11
  79. package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +239 -0
  80. package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +8 -8
  81. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +13 -5
  82. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +13 -5
  83. package/dist/m365/spo/commands/listitem/listitem-set.js +52 -44
  84. package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +15 -2
  85. package/dist/m365/spo/commands/site/site-add.js +4 -11
  86. package/dist/m365/spo/commands/{hubsite/hubsite-connect.js → site/site-hubsite-connect.js} +10 -10
  87. package/dist/m365/spo/commands/{hubsite/hubsite-disconnect.js → site/site-hubsite-disconnect.js} +13 -13
  88. package/dist/m365/spo/commands/{hubsite/hubsite-theme-sync.js → site/site-hubsite-theme-sync.js} +11 -11
  89. package/dist/m365/spo/commands/web/web-roleassignment-add.js +10 -10
  90. package/dist/m365/spo/commands/web/web-roleassignment-remove.js +8 -8
  91. package/dist/m365/spo/commands/web/web-roleinheritance-break.js +100 -0
  92. package/dist/m365/spo/commands.js +8 -3
  93. package/dist/m365/teams/commands/channel/channel-add.js +9 -9
  94. package/dist/m365/teams/commands/team/team-set.js +0 -7
  95. package/dist/m365/todo/commands/list/list-get.js +89 -0
  96. package/dist/m365/todo/commands/task/task-add.js +55 -3
  97. package/dist/m365/todo/commands/task/task-get.js +108 -0
  98. package/dist/m365/todo/commands/task/task-set.js +53 -1
  99. package/dist/m365/todo/commands.js +2 -0
  100. package/dist/utils/md.js +8 -1
  101. package/docs/docs/_clisettings.md +18 -0
  102. package/docs/docs/cmd/aad/app/app-list.md +149 -0
  103. package/docs/docs/cmd/aad/user/user-guest-add.md +107 -0
  104. package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +3 -0
  105. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +4 -11
  106. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -10
  107. package/docs/docs/cmd/outlook/mail/mail-send.md +13 -0
  108. package/docs/docs/cmd/outlook/message/message-get.md +48 -0
  109. package/docs/docs/cmd/planner/bucket/bucket-add.md +29 -0
  110. package/docs/docs/cmd/planner/bucket/bucket-get.md +29 -0
  111. package/docs/docs/cmd/planner/bucket/bucket-list.md +30 -0
  112. package/docs/docs/cmd/planner/bucket/bucket-remove.md +4 -0
  113. package/docs/docs/cmd/planner/bucket/bucket-set.md +4 -0
  114. package/docs/docs/cmd/planner/plan/plan-add.md +123 -0
  115. package/docs/docs/cmd/planner/plan/plan-get.md +75 -6
  116. package/docs/docs/cmd/planner/plan/plan-list.md +45 -0
  117. package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
  118. package/docs/docs/cmd/planner/task/task-get.md +0 -3
  119. package/docs/docs/cmd/pp/card/card-get.md +51 -0
  120. package/docs/docs/cmd/pp/card/card-list.md +33 -0
  121. package/docs/docs/cmd/pp/card/card-remove.md +82 -0
  122. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +2 -2
  123. package/docs/docs/cmd/pp/environment/environment-get.md +38 -0
  124. package/docs/docs/cmd/pp/environment/environment-list.md +1 -1
  125. package/docs/docs/cmd/pp/gateway/gateway-get.md +24 -0
  126. package/docs/docs/cmd/pp/solution/solution-get.md +51 -0
  127. package/docs/docs/cmd/pp/solution/solution-list.md +33 -0
  128. package/docs/docs/cmd/spfx/project/project-rename.md +1 -14
  129. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  130. package/docs/docs/cmd/spfx/spfx-doctor.md +10 -1
  131. package/docs/docs/cmd/spo/contenttype/contenttype-add.md +20 -2
  132. package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.md +22 -4
  133. package/docs/docs/cmd/spo/contenttype/contenttype-get.md +21 -3
  134. package/docs/docs/cmd/spo/customaction/customaction-add.md +3 -0
  135. package/docs/docs/cmd/spo/customaction/customaction-set.md +3 -2
  136. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.md +2 -2
  137. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.md +69 -0
  138. package/docs/docs/cmd/spo/field/field-add.md +20 -2
  139. package/docs/docs/cmd/spo/field/field-set.md +15 -3
  140. package/docs/docs/cmd/spo/file/file-roleinheritance-break.md +54 -0
  141. package/docs/docs/cmd/spo/folder/folder-list.md +45 -0
  142. package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.md +57 -0
  143. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +6 -0
  144. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +6 -0
  145. package/docs/docs/cmd/spo/group/group-list.md +10 -1
  146. package/docs/docs/cmd/spo/hubsite/hubsite-register.md +2 -2
  147. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +2 -2
  148. package/docs/docs/cmd/spo/list/list-contenttype-add.md +15 -6
  149. package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +16 -7
  150. package/docs/docs/cmd/spo/list/list-contenttype-list.md +15 -6
  151. package/docs/docs/cmd/spo/list/list-contenttype-remove.md +16 -7
  152. package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +11 -8
  153. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +16 -7
  154. package/docs/docs/cmd/spo/list/list-view-set.md +14 -3
  155. package/docs/docs/cmd/spo/list/list-webhook-add.md +15 -16
  156. package/docs/docs/cmd/spo/list/list-webhook-get.md +16 -7
  157. package/docs/docs/cmd/spo/list/list-webhook-list.md +13 -10
  158. package/docs/docs/cmd/spo/list/list-webhook-remove.md +12 -10
  159. package/docs/docs/cmd/spo/list/list-webhook-set.md +21 -12
  160. package/docs/docs/cmd/spo/listitem/listitem-add.md +11 -2
  161. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +11 -2
  162. package/docs/docs/cmd/spo/listitem/listitem-get.md +11 -2
  163. package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +12 -2
  164. package/docs/docs/cmd/spo/listitem/listitem-list.md +10 -1
  165. package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +7 -4
  166. package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +11 -2
  167. package/docs/docs/cmd/spo/listitem/listitem-remove.md +11 -2
  168. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +81 -0
  169. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +7 -4
  170. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +8 -5
  171. package/docs/docs/cmd/spo/listitem/listitem-set.md +7 -4
  172. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +5 -10
  173. package/docs/docs/cmd/spo/page/page-control-set.md +2 -1
  174. package/docs/docs/cmd/spo/site/site-add.md +0 -3
  175. package/docs/docs/cmd/spo/{hubsite/hubsite-connect.md → site/site-hubsite-connect.md} +4 -4
  176. package/docs/docs/cmd/spo/{hubsite/hubsite-disconnect.md → site/site-hubsite-disconnect.md} +7 -7
  177. package/docs/docs/cmd/spo/{hubsite/hubsite-theme-sync.md → site/site-hubsite-theme-sync.md} +5 -5
  178. package/docs/docs/cmd/spo/term/term-add.md +5 -0
  179. package/docs/docs/cmd/spo/term/term-set-add.md +6 -1
  180. package/docs/docs/cmd/spo/web/web-roleinheritance-break.md +44 -0
  181. package/docs/docs/cmd/teams/channel/channel-add.md +4 -4
  182. package/docs/docs/cmd/teams/team/team-clone.md +0 -3
  183. package/docs/docs/cmd/teams/team/team-set.md +0 -3
  184. package/docs/docs/cmd/tenant/id/id-get.md +20 -0
  185. package/docs/docs/cmd/tenant/report/report-activeusercounts.md +35 -0
  186. package/docs/docs/cmd/tenant/report/report-activeuserdetail.md +49 -0
  187. package/docs/docs/cmd/tenant/report/report-office365activationcounts.md +32 -0
  188. package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.md +30 -0
  189. package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.md +36 -0
  190. package/docs/docs/cmd/tenant/report/report-servicesusercounts.md +41 -0
  191. package/docs/docs/cmd/tenant/security/security-alerts-list.md +105 -0
  192. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +87 -0
  193. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +91 -0
  194. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.md +62 -0
  195. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +51 -0
  196. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.md +64 -0
  197. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +52 -0
  198. package/docs/docs/cmd/todo/list/list-get.md +61 -0
  199. package/docs/docs/cmd/todo/task/task-add.md +32 -5
  200. package/docs/docs/cmd/todo/task/task-get.md +75 -0
  201. package/docs/docs/cmd/todo/task/task-set.md +29 -2
  202. package/package.json +13 -3
  203. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006006_CFG_PS_features.js +0 -60
@@ -11,26 +11,53 @@ m365 todo task add [options]
11
11
  ## Options
12
12
 
13
13
  `-t, --title <title>`
14
- : The title of the task
14
+ : The title of the task.
15
15
 
16
16
  `--listName [listName]`
17
- : The name of the list in which to create the task. Specify either `listName` or `listId` but not both
17
+ : The name of the list in which to create the task. Specify either `listName` or `listId` but not both.
18
18
 
19
19
  `--listId [listId]`
20
- : The id of the list in which to create the task. Specify either `listName` or `listId` but not both
20
+ : The id of the list in which to create the task. Specify either `listName` or `listId` but not both.
21
+
22
+ `--bodyContent [bodyContent]`
23
+ : The body content of the task. In the UI this is called 'notes'.
24
+
25
+ `--bodyContentType [bodyContentType]`
26
+ : The type of the body content. Possible values are `text` and `html`. Default is `text`.
27
+
28
+ `--dueDateTime [dueDateTime]`
29
+ : The date 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.
30
+
31
+ `--importance [importance]`
32
+ : The importance of the task. Possible values are: `low`, `normal`, `high`. Default is `normal`.
33
+
34
+ `--reminderDateTime [reminderDateTime]`
35
+ : 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.
21
36
 
22
37
  --8<-- "docs/cmd/_global.md"
23
38
 
24
39
  ## Examples
25
40
 
26
- Add a task with title _New task_ to Microsoft To Do tasks list with the name _My task list_
41
+ Add a task to Microsoft To Do tasks list with with a specific name
27
42
 
28
43
  ```sh
29
44
  m365 todo task add --title "New task" --listName "My task list"
30
45
  ```
31
46
 
32
- Add a task with title _New task_ to Microsoft To Do tasks list with the id `AQMkADlhMTRkOGEzLWQ1M2QtNGVkNS04NjdmLWU0NzJhMjZmZWNmMwAuAAADKvwNgAMNPE_zFNRJXVrU1wEAhHKQZHItDEOVCn8U3xuA2AABmQeVPwAAAA==`
47
+ Add a task to a Microsoft To Do tasks list with a specific id
33
48
 
34
49
  ```sh
35
50
  m365 todo task add --title "New task" --listId "AQMkADlhMTRkOGEzLWQ1M2QtNGVkNS04NjdmLWU0NzJhMjZmZWNmMwAuAAADKvwNgAMNPE_zFNRJXVrU1wEAhHKQZHItDEOVCn8U3xuA2AABmQeVPwAAAA=="
36
51
  ```
52
+
53
+ Create a new task with bodyContent and reminder and flag it as important
54
+
55
+ ```sh
56
+ m365 todo task add --title "New task" --listName "My task list" --bodyContent "I should not forget this" --reminderDateTime 2023-01-01T12:00:00Z --importance high
57
+ ```
58
+
59
+ Create a new task with a specific due date
60
+
61
+ ```sh
62
+ m365 todo task add --title "New task" --listId "AQMkADlhMTRkOGEzLWQ1M2QtNGVkNS04NjdmLWU0NzJhMjZmZWNmMwAuAAADKvwNgAMNPE_zFNRJXVrU1wEAhHKQZHItDEOVCn8U3xuA2AABmQeVPwAAAA==" --dueDateTime 2023-01-01
63
+ ```
@@ -0,0 +1,75 @@
1
+ # todo task get
2
+
3
+ Gets a specific task from a Microsoft To Do task list
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 todo task get [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --id <id>`
14
+ : The ID of the task in de list.
15
+
16
+ `--listName [listName]`
17
+ : The name of the task list to return tasks from. Specify either `listName` or `listId`, not both
18
+
19
+ `--listId [listId]`
20
+ : The id of the task list to return tasks from. Specify either `listName` or `listId`, not both
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Examples
25
+
26
+ Gets a specific task from a Microsoft To Do tasks list based on the name of the list and the task id
27
+
28
+ ```sh
29
+ m365 todo task get --listName "My task list" --id "AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA="
30
+ ```
31
+
32
+ Gets a specific task from a Microsoft To Do tasks list based on the id of the list and the task id
33
+
34
+ ```sh
35
+ m365 todo task get --listId "AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MAAuAAADMN-7V4K8g0q_adetip1DygEAxMBBaLl1lk_dAn8KkjfXKQABF-BAgwAAAA==" --id "AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA="
36
+ ```
37
+
38
+ ## Response
39
+
40
+ === "JSON"
41
+
42
+ ``` json
43
+ {
44
+ "importance": "normal",
45
+ "isReminderOn": false,
46
+ "status": "notStarted",
47
+ "title": "Stay healthy",
48
+ "createdDateTime": "2022-10-23T14:05:09.2673009Z",
49
+ "lastModifiedDateTime": "2022-10-23T14:15:11.3180312Z",
50
+ "hasAttachments": false,
51
+ "categories": [],
52
+ "id": "AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA=",
53
+ "body": {
54
+ "content": "",
55
+ "contentType": "text"
56
+ }
57
+ }
58
+ ```
59
+
60
+ === "Text"
61
+
62
+ ``` text
63
+ createdDateTime : 2022-10-23T14:05:09.2673009Z
64
+ id : AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA=
65
+ lastModifiedDateTime: 2022-10-23T14:15:11.3180312Z
66
+ status : notStarted
67
+ title : Stay healthy
68
+ ```
69
+
70
+ === "CSV"
71
+
72
+ ``` text
73
+ id,title,status,createdDateTime,lastModifiedDateTime
74
+ AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA=,Stay healthy,notStarted,2022-10-23T14:05:09.2673009Z,2022-10-23T14:15:11.3180312Z
75
+ ```
@@ -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 the name _My task list_
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 the name _My task list_
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": "6.0.0-beta.42305df",
3
+ "version": "6.0.0-beta.48a730d",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -101,7 +101,7 @@
101
101
  "contributors": [
102
102
  "Abhishek K M <67158080+Sync271@users.noreply.github.com>",
103
103
  "Ågren, Simon <simon.agren@sogeti.com>",
104
- "Akash Karda <akashkarda@gmail.com>",
104
+ "Ahlawat, Priyanshu <priyanshuahlawat009@gmail.com>",
105
105
  "Albany, Bruce <bruce.albany@gmail.com>",
106
106
  "Auckloo, Reshmee <reshmee011@gmail.com>",
107
107
  "Balasubramaniam, Jayakumar <jayakumar@live.in>",
@@ -116,14 +116,17 @@
116
116
  "Calabro, David <davej.calabro@gmail.com>",
117
117
  "Choudhary, Karnail Singh <pradhankarnail@gmail.com>",
118
118
  "Connell, Andrew <me@andrewconnell.com>",
119
+ "De Cleyre, Nico <nico.de.cleyre@gmail.com>",
119
120
  "Deshpande, Vardhaman <vardhaman.rd@gmail.com>",
120
121
  "Dyjas, Robert <15113729+robdy@users.noreply.github.com>",
121
122
  "Faleel, Mohamed Ashiq <ashiqf@gmail.com>",
123
+ "Flores, Gaston <gaston.flrs@gmail.com>",
122
124
  "Ford, Lee <fordyman@gmail.com>",
123
125
  "Freese, Luise <49960482+LuiseFreese@users.noreply.github.com>",
124
126
  "Georgiev, Velin <velin.georgiev@gmail.com>",
125
127
  "Ghuge, Pramod <pramod7@gmail.com>",
126
128
  "Gölles, Thomas <thomy@outlook.at>",
129
+ "Greuel, Dan <dgreuel@gmail.com>",
127
130
  "Hagström, Joakim <johags@johags-sb2.localdomain>",
128
131
  "Harding, Phil <pil.harding@platinumdogs.co.uk>",
129
132
  "Hawrylak, Paweł <phawrylak@outlook.com>",
@@ -132,8 +135,8 @@
132
135
  "Högberg, Joakim <joakim.hogberg@bravero.se>",
133
136
  "Hvam, Allan <ahp@delegate.dk>",
134
137
  "Jaakke, Robert <robert.jaakke@mavention.nl>",
135
- "John Rafael <dragonwood0@protonmail.com>",
136
138
  "Kailasam, Balamurugan <kshsbala@engineer.com>",
139
+ "Karda, Akash <akashkarda@gmail.com>",
137
140
  "Kasireddy, Prasad <prasad.gietcse@gmail.com>",
138
141
  "Keijzers, Paul <KbWorks@users.noreply.github.com>",
139
142
  "Kelkar, Vipul <vipul.kelkar@outlook.com>",
@@ -155,7 +158,9 @@
155
158
  "Mücklisch, Steve <steve.muecklisch@gmail.com>",
156
159
  "Nachan, Nanddeep <nanddeepnachan@gmail.com>",
157
160
  "Nachan, Smita <smita.nachan@gmail.com>",
161
+ "Nadir, Daniaal <daniaal1030@gmail.com>",
158
162
  "Nikolić, Aleksandar <alexandair@live.com>",
163
+ "O'Callaghan, Conor <brioscaibriste@gmail.com>",
159
164
  "Otto <berot3@gmail.com>",
160
165
  "Pandey, Vividh <vividh.pandey.13@gmail.com>",
161
166
  "Patil, Atharva <atharvapatil19202@gmail.com>",
@@ -163,12 +168,16 @@
163
168
  "Powney, Mark <powney.mark@outlook.com>",
164
169
  "pramod74 <pramod.lumb@gmail.com>",
165
170
  "Priem, Mark <mark.priem@outlook.com>",
171
+ "Rafael, John <dragonwood0@protonmail.com>",
166
172
  "Raju, Arnie <arnie.raju@thesolutioncollective.com.au>",
167
173
  "Ramalho, David <dramalho@storm.ie>",
174
+ "Rathi, Tanmay <tanmay_rathi@intuit.com>",
168
175
  "Reekmans, Yannick <reekmans.yannick@gmail.com>",
176
+ "Raghwendra Rishabh <rishabhraghwendra2002@gmail.com>",
169
177
  "Romano, Rodrigo <rodrigo@rodrigoromano.net>",
170
178
  "Romão, Douglas <douglas.romao@trentim.com>",
171
179
  "Rozinov, Roman <roman.rozinov@sogeti.com>",
180
+ "Saatçi, Hüseyin <huseyins@comodo.net>",
172
181
  "Schaeflein, Paul <paul@schaeflein.net>",
173
182
  "Schot, Albert-Jan <appie@digiwijs.nl>",
174
183
  "Schouten, Robert <robert.schouten@wortell.nl>",
@@ -181,6 +190,7 @@
181
190
  "Sitaraman, Rajesh <rajesh.sitaraman@outlook.com>",
182
191
  "Sittler, Laurent <laurent.sittler@lsonline.fr>",
183
192
  "Skelly, Pete <peteskelly@gmail.com>",
193
+ "Solazzi, Riccardo <rick.zal239@gmail.com>",
184
194
  "Sotelo, Aaron <soteloaaron16@gmail.com>",
185
195
  "strafe <strafe@users.noreply.github.com>",
186
196
  "Struyf, Elio <info@estruyf.be>",
@@ -1,60 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FN006006_CFG_PS_features = void 0;
4
- const uuid_1 = require("uuid");
5
- const JsonRule_1 = require("../../JsonRule");
6
- class FN006006_CFG_PS_features extends JsonRule_1.JsonRule {
7
- constructor() {
8
- super();
9
- }
10
- get id() {
11
- return 'FN006006';
12
- }
13
- get title() {
14
- return 'package-solution.json features';
15
- }
16
- get description() {
17
- return `In package-solution.json add features section`;
18
- }
19
- get resolution() {
20
- return '';
21
- }
22
- get resolutionType() {
23
- return 'json';
24
- }
25
- get severity() {
26
- return 'Required';
27
- }
28
- get file() {
29
- return './config/package-solution.json';
30
- }
31
- visit(project, findings) {
32
- var _a, _b;
33
- if (!project.packageSolutionJson ||
34
- !project.packageSolutionJson.solution) {
35
- return;
36
- }
37
- if (!project.packageSolutionJson.solution.features) {
38
- const resolution = {
39
- solution: {
40
- features: [
41
- {
42
- title: `${(_a = project.packageJson) === null || _a === void 0 ? void 0 : _a.name} Feature`,
43
- description: `The feature that activates elements of the ${(_b = project.packageJson) === null || _b === void 0 ? void 0 : _b.name} solution.`,
44
- id: (0, uuid_1.v4)(),
45
- version: project.packageSolutionJson.solution.version
46
- }
47
- ]
48
- }
49
- };
50
- const node = this.getAstNodeFromFile(project.packageSolutionJson, 'solution');
51
- this.addFindingWithOccurrences([{
52
- file: this.file,
53
- resolution: JSON.stringify(resolution, null, 2),
54
- position: this.getPositionFromNode(node)
55
- }], findings);
56
- }
57
- }
58
- }
59
- exports.FN006006_CFG_PS_features = FN006006_CFG_PS_features;
60
- //# sourceMappingURL=FN006006_CFG_PS_features.js.map