@pnp/cli-microsoft365 6.0.0-beta.cd80a69 → 6.0.0-beta.d557a48

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 (261) hide show
  1. package/.eslintrc.js +4 -2
  2. package/dist/Command.js +16 -2
  3. package/dist/m365/aad/commands/app/app-add.js +40 -17
  4. package/dist/m365/aad/commands/app/app-list.js +38 -0
  5. package/dist/m365/aad/commands/user/user-guest-add.js +103 -0
  6. package/dist/m365/aad/commands.js +2 -0
  7. package/dist/m365/adaptivecard/commands/adaptivecard-send.js +4 -4
  8. package/dist/m365/base/SpoCommand.js +12 -11
  9. package/dist/m365/commands/status.js +6 -1
  10. package/dist/m365/outlook/commands/mail/mail-send.js +54 -30
  11. package/dist/m365/outlook/commands/message/message-get.js +97 -0
  12. package/dist/m365/outlook/commands.js +1 -0
  13. package/dist/m365/planner/commands/bucket/bucket-get.js +5 -8
  14. package/dist/m365/planner/commands/plan/plan-get.js +11 -31
  15. package/dist/m365/pp/commands/card/card-clone.js +122 -0
  16. package/dist/m365/pp/commands/card/card-get.js +110 -0
  17. package/dist/m365/pp/commands/card/card-remove.js +130 -0
  18. package/dist/m365/pp/commands/gateway/gateway-get.js +70 -0
  19. package/dist/m365/pp/commands/solution/solution-get.js +117 -0
  20. package/dist/m365/pp/commands.js +5 -0
  21. package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.16.0-beta.1.js → doctor-1.16.0-rc.0.js} +6 -6
  22. package/dist/m365/spfx/commands/project/project-doctor.js +5 -2
  23. package/dist/m365/spfx/commands/project/project-externalize.js +4 -1
  24. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +2 -1
  25. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +2 -1
  26. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +2 -1
  27. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010004_YORC_componentType.js +2 -1
  28. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +2 -1
  29. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +3 -2
  30. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +2 -1
  31. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010008_YORC_nodeVersion.js +2 -1
  32. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010009_YORC_sdkVersions_microsoft_graph_client.js +56 -0
  33. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010010_YORC_sdkVersions_teams_js.js +56 -0
  34. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-beta.1.js → upgrade-1.16.0-rc.0.js} +44 -28
  35. package/dist/m365/spfx/commands/project/project-upgrade.js +5 -2
  36. package/dist/m365/spfx/commands/spfx-doctor.js +6 -6
  37. package/dist/m365/spo/commands/contenttype/contenttype-add.js +82 -43
  38. package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +53 -21
  39. package/dist/m365/spo/commands/contenttype/contenttype-get.js +35 -14
  40. package/dist/m365/spo/commands/field/field-add.js +26 -1
  41. package/dist/m365/spo/commands/field/field-set.js +23 -13
  42. package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -15
  43. package/dist/m365/spo/commands/folder/folder-list.js +35 -12
  44. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +11 -1
  45. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +12 -1
  46. package/dist/m365/spo/commands/hubsite/hubsite-connect.js +93 -18
  47. package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +69 -13
  48. package/dist/m365/spo/commands/list/list-roleassignment-add.js +5 -23
  49. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +4 -15
  50. package/dist/m365/spo/commands/list/list-roleinheritance-break.js +14 -6
  51. package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +14 -6
  52. package/dist/m365/spo/commands/list/list-set.js +31 -8
  53. package/dist/m365/spo/commands/list/list-view-field-add.js +19 -5
  54. package/dist/m365/spo/commands/list/list-view-field-remove.js +18 -4
  55. package/dist/m365/spo/commands/list/list-view-field-set.js +18 -4
  56. package/dist/m365/spo/commands/list/list-view-list.js +14 -10
  57. package/dist/m365/spo/commands/list/list-view-remove.js +17 -8
  58. package/dist/m365/spo/commands/list/list-view-set.js +19 -7
  59. package/dist/m365/spo/commands/list/list-webhook-get.js +2 -3
  60. package/dist/m365/spo/commands/list/list-webhook-list.js +4 -28
  61. package/dist/m365/spo/commands/list/list-webhook-set.js +11 -12
  62. package/dist/m365/spo/commands/listitem/listitem-add.js +24 -14
  63. package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +18 -8
  64. package/dist/m365/spo/commands/listitem/listitem-get.js +18 -8
  65. package/dist/m365/spo/commands/listitem/listitem-isrecord.js +20 -10
  66. package/dist/m365/spo/commands/listitem/listitem-list.js +21 -14
  67. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +19 -12
  68. package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +24 -21
  69. package/dist/m365/spo/commands/listitem/listitem-remove.js +19 -11
  70. package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +239 -0
  71. package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +4 -15
  72. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +13 -5
  73. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +13 -5
  74. package/dist/m365/spo/commands/listitem/listitem-set.js +52 -44
  75. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +4 -7
  76. package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +15 -2
  77. package/dist/m365/spo/commands/site/site-add.js +4 -11
  78. package/dist/m365/spo/commands/site/site-hubsite-connect.js +75 -0
  79. package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +93 -0
  80. package/dist/m365/spo/commands/{hubsite/hubsite-theme-sync.js → site/site-hubsite-theme-sync.js} +11 -11
  81. package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +4 -7
  82. package/dist/m365/spo/commands/web/web-roleassignment-add.js +4 -15
  83. package/dist/m365/spo/commands/web/web-roleassignment-remove.js +4 -8
  84. package/dist/m365/spo/commands/web/web-roleinheritance-break.js +100 -0
  85. package/dist/m365/spo/commands.js +5 -1
  86. package/dist/m365/teams/commands/channel/channel-get.js +2 -2
  87. package/dist/m365/teams/commands/channel/channel-remove.js +56 -39
  88. package/dist/m365/teams/commands/channel/channel-set.js +57 -19
  89. package/dist/m365/teams/commands/team/team-archive.js +4 -7
  90. package/dist/m365/teams/commands/team/team-remove.js +3 -3
  91. package/dist/m365/teams/commands/team/team-set.js +0 -7
  92. package/dist/m365/teams/commands/team/team-unarchive.js +3 -3
  93. package/dist/m365/todo/commands/list/list-get.js +89 -0
  94. package/dist/m365/todo/commands/task/task-add.js +55 -3
  95. package/dist/m365/todo/commands/task/task-get.js +108 -0
  96. package/dist/m365/todo/commands.js +2 -0
  97. package/dist/utils/md.js +8 -1
  98. package/docs/docs/_clisettings.md +18 -0
  99. package/docs/docs/cmd/aad/app/app-add.md +19 -19
  100. package/docs/docs/cmd/aad/app/app-list.md +149 -0
  101. package/docs/docs/cmd/aad/user/user-guest-add.md +107 -0
  102. package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +12 -5
  103. package/docs/docs/cmd/app/app-get.md +156 -0
  104. package/docs/docs/cmd/app/app-open.md +20 -0
  105. package/docs/docs/cmd/app/permission/permission-list.md +43 -0
  106. package/docs/docs/cmd/booking/business/business-get.md +107 -0
  107. package/docs/docs/cmd/booking/business/business-list.md +34 -0
  108. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +4 -11
  109. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -10
  110. package/docs/docs/cmd/outlook/mail/mail-send.md +13 -0
  111. package/docs/docs/cmd/outlook/message/message-get.md +48 -0
  112. package/docs/docs/cmd/pa/app/app-get.md +184 -0
  113. package/docs/docs/cmd/pa/app/app-list.md +181 -0
  114. package/docs/docs/cmd/pa/app/app-remove.md +4 -0
  115. package/docs/docs/cmd/pa/connector/connector-export.md +4 -0
  116. package/docs/docs/cmd/pa/connector/connector-list.md +89 -0
  117. package/docs/docs/cmd/pa/environment/environment-get.md +113 -0
  118. package/docs/docs/cmd/pa/environment/environment-list.md +109 -0
  119. package/docs/docs/cmd/pa/pcf/pcf-init.md +4 -0
  120. package/docs/docs/cmd/pa/solution/solution-init.md +5 -0
  121. package/docs/docs/cmd/pa/solution/solution-reference-add.md +4 -0
  122. package/docs/docs/cmd/planner/bucket/bucket-add.md +29 -0
  123. package/docs/docs/cmd/planner/bucket/bucket-get.md +29 -0
  124. package/docs/docs/cmd/planner/bucket/bucket-list.md +30 -0
  125. package/docs/docs/cmd/planner/bucket/bucket-remove.md +4 -0
  126. package/docs/docs/cmd/planner/bucket/bucket-set.md +4 -0
  127. package/docs/docs/cmd/planner/plan/plan-add.md +123 -0
  128. package/docs/docs/cmd/planner/plan/plan-get.md +77 -8
  129. package/docs/docs/cmd/planner/plan/plan-list.md +45 -0
  130. package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
  131. package/docs/docs/cmd/planner/task/task-get.md +0 -3
  132. package/docs/docs/cmd/pp/card/card-clone.md +77 -0
  133. package/docs/docs/cmd/pp/card/card-get.md +122 -0
  134. package/docs/docs/cmd/pp/card/card-list.md +71 -0
  135. package/docs/docs/cmd/pp/card/card-remove.md +82 -0
  136. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +85 -0
  137. package/docs/docs/cmd/pp/environment/environment-get.md +308 -0
  138. package/docs/docs/cmd/pp/environment/environment-list.md +312 -0
  139. package/docs/docs/cmd/pp/gateway/gateway-get.md +56 -0
  140. package/docs/docs/cmd/pp/gateway/gateway-list.md +35 -0
  141. package/docs/docs/cmd/pp/managementapp/managementapp-add.md +23 -0
  142. package/docs/docs/cmd/pp/managementapp/managementapp-list.md +27 -0
  143. package/docs/docs/cmd/pp/solution/solution-get.md +86 -0
  144. package/docs/docs/cmd/pp/solution/solution-list.md +37 -0
  145. package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +62 -0
  146. package/docs/docs/cmd/spfx/project/project-rename.md +1 -14
  147. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  148. package/docs/docs/cmd/spo/contenttype/contenttype-add.md +20 -2
  149. package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.md +22 -4
  150. package/docs/docs/cmd/spo/contenttype/contenttype-get.md +21 -3
  151. package/docs/docs/cmd/spo/customaction/customaction-add.md +3 -0
  152. package/docs/docs/cmd/spo/customaction/customaction-set.md +3 -2
  153. package/docs/docs/cmd/spo/field/field-add.md +20 -2
  154. package/docs/docs/cmd/spo/field/field-set.md +15 -3
  155. package/docs/docs/cmd/spo/file/file-roleassignment-add.md +9 -9
  156. package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +3 -3
  157. package/docs/docs/cmd/spo/folder/folder-list.md +45 -0
  158. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +6 -0
  159. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +6 -0
  160. package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +36 -14
  161. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +28 -12
  162. package/docs/docs/cmd/spo/hubsite/hubsite-register.md +2 -2
  163. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +2 -2
  164. package/docs/docs/cmd/spo/list/list-roleassignment-add.md +9 -9
  165. package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +8 -8
  166. package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +11 -8
  167. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +16 -7
  168. package/docs/docs/cmd/spo/list/list-set.md +18 -6
  169. package/docs/docs/cmd/spo/list/list-view-field-add.md +14 -4
  170. package/docs/docs/cmd/spo/list/list-view-field-remove.md +11 -2
  171. package/docs/docs/cmd/spo/list/list-view-field-set.md +18 -2
  172. package/docs/docs/cmd/spo/list/list-view-list.md +16 -7
  173. package/docs/docs/cmd/spo/list/list-view-remove.md +12 -3
  174. package/docs/docs/cmd/spo/list/list-view-set.md +20 -6
  175. package/docs/docs/cmd/spo/list/list-webhook-get.md +1 -1
  176. package/docs/docs/cmd/spo/list/list-webhook-list.md +3 -9
  177. package/docs/docs/cmd/spo/list/list-webhook-set.md +11 -4
  178. package/docs/docs/cmd/spo/listitem/listitem-add.md +11 -2
  179. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +11 -2
  180. package/docs/docs/cmd/spo/listitem/listitem-get.md +11 -2
  181. package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +12 -2
  182. package/docs/docs/cmd/spo/listitem/listitem-list.md +17 -8
  183. package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +7 -4
  184. package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +11 -2
  185. package/docs/docs/cmd/spo/listitem/listitem-remove.md +11 -2
  186. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +81 -0
  187. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.md +8 -8
  188. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +7 -4
  189. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +8 -5
  190. package/docs/docs/cmd/spo/listitem/listitem-set.md +7 -4
  191. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +14 -19
  192. package/docs/docs/cmd/spo/page/page-control-set.md +2 -1
  193. package/docs/docs/cmd/spo/site/site-add.md +0 -3
  194. package/docs/docs/cmd/spo/site/site-hubsite-connect.md +40 -0
  195. package/docs/docs/cmd/spo/site/site-hubsite-disconnect.md +42 -0
  196. package/docs/docs/cmd/spo/{hubsite/hubsite-theme-sync.md → site/site-hubsite-theme-sync.md} +5 -5
  197. package/docs/docs/cmd/spo/sitedesign/sitedesign-get.md +2 -2
  198. package/docs/docs/cmd/spo/term/term-add.md +5 -0
  199. package/docs/docs/cmd/spo/term/term-set-add.md +6 -1
  200. package/docs/docs/cmd/spo/web/web-roleassignment-add.md +6 -6
  201. package/docs/docs/cmd/spo/web/web-roleassignment-remove.md +4 -4
  202. package/docs/docs/cmd/spo/web/web-roleinheritance-break.md +44 -0
  203. package/docs/docs/cmd/teams/channel/channel-get.md +7 -7
  204. package/docs/docs/cmd/teams/channel/channel-remove.md +12 -9
  205. package/docs/docs/cmd/teams/channel/channel-set.md +13 -6
  206. package/docs/docs/cmd/teams/message/message-get.md +80 -0
  207. package/docs/docs/cmd/teams/message/message-list.md +63 -0
  208. package/docs/docs/cmd/teams/message/message-reply-list.md +63 -0
  209. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.md +31 -0
  210. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.md +4 -0
  211. package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.md +35 -0
  212. package/docs/docs/cmd/teams/report/report-deviceusageusercounts.md +36 -0
  213. package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.md +41 -0
  214. package/docs/docs/cmd/teams/report/report-directroutingcalls.md +49 -0
  215. package/docs/docs/cmd/teams/report/report-pstncalls.md +49 -0
  216. package/docs/docs/cmd/teams/report/report-useractivitycounts.md +39 -0
  217. package/docs/docs/cmd/teams/report/report-useractivityusercounts.md +33 -0
  218. package/docs/docs/cmd/teams/report/report-useractivityuserdetail.md +58 -0
  219. package/docs/docs/cmd/teams/tab/tab-add.md +35 -0
  220. package/docs/docs/cmd/teams/tab/tab-get.md +35 -0
  221. package/docs/docs/cmd/teams/tab/tab-list.md +43 -0
  222. package/docs/docs/cmd/teams/tab/tab-remove.md +4 -0
  223. package/docs/docs/cmd/teams/team/team-add.md +145 -0
  224. package/docs/docs/cmd/teams/team/team-archive.md +7 -3
  225. package/docs/docs/cmd/teams/team/team-clone.md +4 -3
  226. package/docs/docs/cmd/teams/team/team-get.md +78 -0
  227. package/docs/docs/cmd/teams/team/team-list.md +30 -0
  228. package/docs/docs/cmd/teams/team/team-remove.md +7 -3
  229. package/docs/docs/cmd/teams/team/team-set.md +4 -3
  230. package/docs/docs/cmd/teams/team/team-unarchive.md +5 -2
  231. package/docs/docs/cmd/teams/user/user-app-add.md +4 -0
  232. package/docs/docs/cmd/teams/user/user-app-list.md +40 -0
  233. package/docs/docs/cmd/teams/user/user-app-remove.md +4 -0
  234. package/docs/docs/cmd/teams/user/user-list.md +31 -0
  235. package/docs/docs/cmd/tenant/id/id-get.md +20 -0
  236. package/docs/docs/cmd/tenant/report/report-activeusercounts.md +35 -0
  237. package/docs/docs/cmd/tenant/report/report-activeuserdetail.md +49 -0
  238. package/docs/docs/cmd/tenant/report/report-office365activationcounts.md +32 -0
  239. package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.md +30 -0
  240. package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.md +36 -0
  241. package/docs/docs/cmd/tenant/report/report-servicesusercounts.md +41 -0
  242. package/docs/docs/cmd/tenant/security/security-alerts-list.md +105 -0
  243. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +87 -0
  244. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +91 -0
  245. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.md +62 -0
  246. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +51 -0
  247. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.md +64 -0
  248. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +52 -0
  249. package/docs/docs/cmd/todo/list/list-add.md +32 -1
  250. package/docs/docs/cmd/todo/list/list-get.md +61 -0
  251. package/docs/docs/cmd/todo/list/list-list.md +31 -0
  252. package/docs/docs/cmd/todo/list/list-remove.md +10 -6
  253. package/docs/docs/cmd/todo/list/list-set.md +9 -5
  254. package/docs/docs/cmd/todo/task/task-add.md +88 -5
  255. package/docs/docs/cmd/todo/task/task-get.md +75 -0
  256. package/docs/docs/cmd/todo/task/task-list.md +47 -0
  257. package/docs/docs/cmd/todo/task/task-remove.md +9 -4
  258. package/docs/docs/cmd/todo/task/task-set.md +59 -5
  259. package/docs/docs/cmd/util/accesstoken/accesstoken-get.md +20 -0
  260. package/docs/docs/cmd/viva/connections/connections-app-create.md +4 -0
  261. package/package.json +13 -4
@@ -11,26 +11,109 @@ 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
+ ```
64
+
65
+ ## Response
66
+
67
+ ### Standard response
68
+
69
+ === "JSON"
70
+
71
+ ```json
72
+ {
73
+ "importance": "high",
74
+ "isReminderOn": true,
75
+ "status": "notStarted",
76
+ "title": "New task",
77
+ "createdDateTime": "2022-10-29T10:54:06.3672421Z",
78
+ "lastModifiedDateTime": "2022-10-29T10:54:06.5078837Z",
79
+ "hasAttachments": false,
80
+ "categories": [],
81
+ "id": "AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA=",
82
+ "body": {
83
+ "content": "I should not forget this",
84
+ "contentType": "text"
85
+ },
86
+ "dueDateTime": {
87
+ "dateTime": "2023-01-01T00:00:00.0000000",
88
+ "timeZone": "UTC"
89
+ },
90
+ "reminderDateTime": {
91
+ "dateTime": "2023-01-01T12:00:00.0000000",
92
+ "timeZone": "UTC"
93
+ }
94
+ }
95
+ ```
96
+
97
+ === "Text"
98
+
99
+ ```text
100
+ body : {"content":"I should not forget this","contentType":"text"}
101
+ categories : []
102
+ createdDateTime : 2022-10-29T10:54:06.3672421Z
103
+ dueDateTime : {"dateTime":"2023-01-01T00:00:00.0000000","timeZone":"UTC"}
104
+ hasAttachments : false
105
+ id : AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA=
106
+ importance : high
107
+ isReminderOn : true
108
+ lastModifiedDateTime: 2022-10-29T10:54:06.5078837Z
109
+ reminderDateTime : {"dateTime":"2023-01-01T12:00:00.0000000","timeZone":"UTC"}
110
+ status : notStarted
111
+ title : New task
112
+ ```
113
+
114
+ === "CSV"
115
+
116
+ ```csv
117
+ importance,isReminderOn,status,title,createdDateTime,lastModifiedDateTime,hasAttachments,categories,id,body,dueDateTime,reminderDateTime
118
+ high,1,notStarted,New task,2022-10-29T10:54:06.3672421Z,2022-10-29T10:54:06.5078837Z,,[],AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA=,"{""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""}"
119
+ ```
@@ -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 the list.
15
+
16
+ `--listName [listName]`
17
+ : The name of the task list to return tasks from. Specify either `listName` or `listId`, but not both.
18
+
19
+ `--listId [listId]`
20
+ : The id of the task list to return tasks from. Specify either `listName` or `listId`, but 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
+ ```
@@ -31,3 +31,50 @@ List tasks from Microsoft To Do tasks list with the id AQMkAGYzNjMxYTU4LTJjZjYtN
31
31
  ```sh
32
32
  m365 todo task list --listId "AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MAAuAAADMN-7V4K8g0q_adetip1DygEAxMBBaLl1lk_dAn8KkjfXKQABF-BAgwAAAA=="
33
33
  ```
34
+
35
+ ## Response
36
+
37
+ === "JSON"
38
+
39
+ ```json
40
+ [
41
+ {
42
+ "importance": "high",
43
+ "isReminderOn": true,
44
+ "status": "notStarted",
45
+ "title": "New task",
46
+ "createdDateTime": "2022-10-29T11:03:20.9175176Z",
47
+ "lastModifiedDateTime": "2022-10-29T11:13:23.6672968Z",
48
+ "hasAttachments": false,
49
+ "categories": [],
50
+ "id": "AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAL3xdLTAADEwEFouXWWT50CfwqSN9cpAAL3xhtSAAA=",
51
+ "body": {
52
+ "content": "I should not forget this",
53
+ "contentType": "text"
54
+ },
55
+ "dueDateTime": {
56
+ "dateTime": "2023-01-01T00:00:00.0000000",
57
+ "timeZone": "UTC"
58
+ },
59
+ "reminderDateTime": {
60
+ "dateTime": "2023-01-01T12:00:00.0000000",
61
+ "timeZone": "UTC"
62
+ }
63
+ }
64
+ ]
65
+ ```
66
+
67
+ === "Text"
68
+
69
+ ```text
70
+ id title status createdDateTime lastModifiedDateTime
71
+ -------------------------------------------------------------------------------------------------------------------------------------------------------- -------------- ---------- ---------------------------- ----------------------------
72
+ AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAL3xdLTAADEwEFouXWWT50CfwqSN9cpAAL3xhtSAAA= New task notStarted 2022-10-29T11:03:20.9175176Z 2022-10-29T11:13:23.6672968Z
73
+ ```
74
+
75
+ === "CSV"
76
+
77
+ ```csv
78
+ id,title,status,createdDateTime,lastModifiedDateTime
79
+ AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAL3xdLTAADEwEFouXWWT50CfwqSN9cpAAL3xhtSAAA=,New task,notStarted,2022-10-29T11:03:20.9175176Z,2022-10-29T11:13:23.6672968Z
80
+ ```
@@ -11,16 +11,16 @@ m365 todo task remove [options]
11
11
  ## Options
12
12
 
13
13
  `-i, --id <id>`
14
- : The id of the task to remove
14
+ : The id of the task to remove.
15
15
 
16
16
  `--listName [listName]`
17
- : The name of the task list in which the task exists. Specify either `listId` or `listName`, not both
17
+ : The name of the task list in which the task exists. Specify either `listId` or `listName`, but not both.
18
18
 
19
19
  `--listId [listId]`
20
- : The id of the task list in which the task exists. Specify either `listId` or `listName`, not both
20
+ : The id of the task list in which the task exists. Specify either `listId` or `listName`, but not both.
21
21
 
22
22
  `--confirm`
23
- : Don't prompt for confirmation
23
+ : Don't prompt for confirmation.
24
24
 
25
25
  --8<-- "docs/cmd/_global.md"
26
26
 
@@ -37,3 +37,8 @@ Removes Microsoft To Do task with the specified id in a list with the specified
37
37
  ```sh
38
38
  m365 todo task remove --id "BBMkAGI3NDhlZmQzLWQxYjAtNGJjNy04NmYwLWQ0M2IzZTNlMDUwNAAuAAAAAACQ1l2jfH6VSZraktP8Z7auAQCbV93BagWITZhL3J6BMqhjAAD9pHIhBBB=" --listId "AAMkAGI3NDhlZmQzLWQxYjAtNGJjNy04NmYwLWQ0M2IzZTNlMDUwNAAuAAAAAACQ1l2jfH6VSZraktP8Z7auAQCbV93BagWITZhL3J6BMqhjAAD9pHIhAAA="
39
39
  ```
40
+
41
+ ## Response
42
+
43
+ The command won't return a response on success.
44
+
@@ -11,19 +11,19 @@ m365 todo task set [options]
11
11
  ## Options
12
12
 
13
13
  `-i, --id <id>`
14
- : The id of the task to update
14
+ : The id of the task to update.
15
15
 
16
16
  `-t, --title [title]`
17
- : Sets the task title
17
+ : Sets the task title.
18
18
 
19
19
  `-s, --status [status]`
20
- : Sets the status of the task. Allowed values `notStarted`,`inProgress`,`completed`,`waitingOnOthers`,`deferred`
20
+ : Sets the status of the task. Allowed values are `notStarted`, `inProgress`, `completed`, `waitingOnOthers`, `deferred`.
21
21
 
22
22
  `--listName [listName]`
23
- : The name of the task list in which the task exists. Specify either `listName` or `listId`, not both
23
+ : The name of the task list in which the task exists. Specify either `listName` or `listId`, but not both.
24
24
 
25
25
  `--listId [listId]`
26
- : The id of the task list in which the task exists. Specify either `listName` or `listId`, not both
26
+ : The id of the task list in which the task exists. Specify either `listName` or `listId`, but not both.
27
27
 
28
28
  `--bodyContent [bodyContent]`
29
29
  : The body content of the task. In the UI this is called 'notes'.
@@ -67,3 +67,57 @@ Update a task with due date in Microsoft To Do tasks list with list id
67
67
  ```sh
68
68
  m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --listId "AQMkADlhMTRkOGEzLWQ1M2QtNGVkNS04NjdmLWU0NzJhMjZmZWNmMwAuAAADKvwNgAMNPE_zFNRJXVrU1wEAhHKQZHItDEOVCn8U3xuA2AABmQeVPwAAAA==" --dueDateTime 2023-01-01
69
69
  ```
70
+
71
+ ## Response
72
+
73
+ === "JSON"
74
+
75
+ ```json
76
+ {
77
+ "importance": "high",
78
+ "isReminderOn": true,
79
+ "status": "notStarted",
80
+ "title": "Update doco",
81
+ "createdDateTime": "2022-10-29T11:03:20.9175176Z",
82
+ "lastModifiedDateTime": "2022-10-30T14:07:03.0718199Z",
83
+ "hasAttachments": false,
84
+ "categories": [],
85
+ "id": "AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAL3xdLTAADEwEFouXWWT50CfwqSN9cpAAL3xhtSAAA=",
86
+ "body": {
87
+ "content": "I should not forget this",
88
+ "contentType": "text"
89
+ },
90
+ "dueDateTime": {
91
+ "dateTime": "2023-01-01T00:00:00.0000000",
92
+ "timeZone": "UTC"
93
+ },
94
+ "reminderDateTime": {
95
+ "dateTime": "2023-01-01T12:00:00.0000000",
96
+ "timeZone": "UTC"
97
+ }
98
+ }
99
+ ```
100
+
101
+ === "Text"
102
+
103
+ ```text
104
+ body : {"content":"I should not forget this","contentType":"text"}
105
+ categories : []
106
+ createdDateTime : 2022-10-29T11:03:20.9175176Z
107
+ dueDateTime : {"dateTime":"2023-01-01T00:00:00.0000000","timeZone":"UTC"}
108
+ hasAttachments : false
109
+ id : AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAL3xdLTAADEwEFouXWWT50CfwqSN9cpAAL3xhtSAAA=
110
+ importance : high
111
+ isReminderOn : true
112
+ lastModifiedDateTime: 2022-10-30T14:08:17.6665299Z
113
+ reminderDateTime : {"dateTime":"2023-01-01T12:00:00.0000000","timeZone":"UTC"}
114
+ status : notStarted
115
+ title : Update doco
116
+ ```
117
+
118
+ === "CSV"
119
+
120
+ ```csv
121
+ importance,isReminderOn,status,title,createdDateTime,lastModifiedDateTime,hasAttachments,categories,id,body,dueDateTime,reminderDateTime
122
+ 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
+ ```
@@ -43,3 +43,23 @@ Get a new access token for SharePoint Online
43
43
  ```sh
44
44
  m365 util accesstoken get --resource https://contoso.sharepoint.com --new
45
45
  ```
46
+
47
+ ## Response
48
+
49
+ === "JSON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lkcyI6IFsKICAgICI2MmU5MDM5NC02OWY1LTQyMzctOTE5MC0wMTIxNzcxNDVlMTAiLAogICAgImI3OWZiZjRkLTNlZjktNDY4OS04MTQzLTc2YjE5NGU4NTUwOSIKICBdCn0=.Y6yWiwlla_qNGKjePmkLsF8Oq0ZFK3ujk8eHixwtHIyus5g1ojbo7K-1lgExXrKGAp59YGLIKWoU7t-LeblKrdB35QHGjRoiQk0VaomE75iX9k-if_5D98h2N6t9WwSHGQcBj3lMonG4lmQfNV5hmBx9xFwJtCkbInaFRmoLZPBCcAFKrLRzE6LjdecXaBnGtxucWKsVOZVc6RRLTvWNpKbQLuJ3azremB77qZ49BxtuVLCgYzYsf8a14mJhMlEN4_m6mPjhdmElcr8JSe6EZRxrGlKMhUhkhc4zhjkQ_nDHqzXkin80FUbyX1y5U4r71KUJvtn5bqxeDK20DQD6mQ
65
+ ```
@@ -66,6 +66,10 @@ Create a Viva Connections desktop app package
66
66
  m365 viva connections app create --portalUrl https://contoso.sharepoint.com --name Contoso --description "Contoso company app" --longDescription "Stay on top of what's happening at Contoso" --companyName Contoso --companyWebsiteUrl https://contoso.com --coloredIconPath icon-color.png --outlineIconPath icon-outline.png
67
67
  ```
68
68
 
69
+ ## Response
70
+
71
+ The command won't return a response on success.
72
+
69
73
  ## More information
70
74
 
71
75
  - Add Viva Connections for Microsoft Teams desktop: [https://docs.microsoft.com/sharepoint/viva-connections](https://docs.microsoft.com/sharepoint/viva-connections?WT.mc_id=m365-15896-cxa)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "6.0.0-beta.cd80a69",
3
+ "version": "6.0.0-beta.d557a48",
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,25 +116,28 @@
116
116
  "Calabro, David <davej.calabro@gmail.com>",
117
117
  "Choudhary, Karnail Singh <pradhankarnail@gmail.com>",
118
118
  "Connell, Andrew <me@andrewconnell.com>",
119
- "Conor O'Callaghan <brioscaibriste@gmail.com>",
119
+ "De Cleyre, Nico <nico.de.cleyre@gmail.com>",
120
120
  "Deshpande, Vardhaman <vardhaman.rd@gmail.com>",
121
121
  "Dyjas, Robert <15113729+robdy@users.noreply.github.com>",
122
122
  "Faleel, Mohamed Ashiq <ashiqf@gmail.com>",
123
+ "Flores, Gaston <gaston.flrs@gmail.com>",
123
124
  "Ford, Lee <fordyman@gmail.com>",
124
125
  "Freese, Luise <49960482+LuiseFreese@users.noreply.github.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
+ "Greuel, Dan <dgreuel@gmail.com>",
128
130
  "Hagström, Joakim <johags@johags-sb2.localdomain>",
129
131
  "Harding, Phil <pil.harding@platinumdogs.co.uk>",
130
132
  "Hawrylak, Paweł <phawrylak@outlook.com>",
131
133
  "Holemans, Milan <Milan.Holemans@vanroey.be>",
132
134
  "Honen, Nicholas <nickhonen@gmail.com>",
133
135
  "Högberg, Joakim <joakim.hogberg@bravero.se>",
136
+ "Hunt, Geoffrey <info@runningdeveloper.com>",
134
137
  "Hvam, Allan <ahp@delegate.dk>",
135
138
  "Jaakke, Robert <robert.jaakke@mavention.nl>",
136
- "John Rafael <dragonwood0@protonmail.com>",
137
139
  "Kailasam, Balamurugan <kshsbala@engineer.com>",
140
+ "Karda, Akash <akashkarda@gmail.com>",
138
141
  "Kasireddy, Prasad <prasad.gietcse@gmail.com>",
139
142
  "Keijzers, Paul <KbWorks@users.noreply.github.com>",
140
143
  "Kelkar, Vipul <vipul.kelkar@outlook.com>",
@@ -156,7 +159,9 @@
156
159
  "Mücklisch, Steve <steve.muecklisch@gmail.com>",
157
160
  "Nachan, Nanddeep <nanddeepnachan@gmail.com>",
158
161
  "Nachan, Smita <smita.nachan@gmail.com>",
162
+ "Nadir, Daniaal <daniaal1030@gmail.com>",
159
163
  "Nikolić, Aleksandar <alexandair@live.com>",
164
+ "O'Callaghan, Conor <brioscaibriste@gmail.com>",
160
165
  "Otto <berot3@gmail.com>",
161
166
  "Pandey, Vividh <vividh.pandey.13@gmail.com>",
162
167
  "Patil, Atharva <atharvapatil19202@gmail.com>",
@@ -164,13 +169,16 @@
164
169
  "Powney, Mark <powney.mark@outlook.com>",
165
170
  "pramod74 <pramod.lumb@gmail.com>",
166
171
  "Priem, Mark <mark.priem@outlook.com>",
172
+ "Rafael, John <dragonwood0@protonmail.com>",
167
173
  "Raju, Arnie <arnie.raju@thesolutioncollective.com.au>",
168
174
  "Ramalho, David <dramalho@storm.ie>",
169
175
  "Rathi, Tanmay <tanmay_rathi@intuit.com>",
170
176
  "Reekmans, Yannick <reekmans.yannick@gmail.com>",
177
+ "Raghwendra Rishabh <rishabhraghwendra2002@gmail.com>",
171
178
  "Romano, Rodrigo <rodrigo@rodrigoromano.net>",
172
179
  "Romão, Douglas <douglas.romao@trentim.com>",
173
180
  "Rozinov, Roman <roman.rozinov@sogeti.com>",
181
+ "Saatçi, Hüseyin <huseyins@comodo.net>",
174
182
  "Schaeflein, Paul <paul@schaeflein.net>",
175
183
  "Schot, Albert-Jan <appie@digiwijs.nl>",
176
184
  "Schouten, Robert <robert.schouten@wortell.nl>",
@@ -183,6 +191,7 @@
183
191
  "Sitaraman, Rajesh <rajesh.sitaraman@outlook.com>",
184
192
  "Sittler, Laurent <laurent.sittler@lsonline.fr>",
185
193
  "Skelly, Pete <peteskelly@gmail.com>",
194
+ "Solazzi, Riccardo <rick.zal239@gmail.com>",
186
195
  "Sotelo, Aaron <soteloaaron16@gmail.com>",
187
196
  "strafe <strafe@users.noreply.github.com>",
188
197
  "Struyf, Elio <info@estruyf.be>",