@pnp/cli-microsoft365 6.1.0-beta.1da0a1d → 6.1.0-beta.240d88d

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 (617) hide show
  1. package/.eslintrc.js +2 -0
  2. package/dist/Auth.js +3 -3
  3. package/dist/Command.js +98 -14
  4. package/dist/GlobalOptions.js +2 -0
  5. package/dist/auth/FileTokenStorage.js +3 -3
  6. package/dist/cli/Cli.js +67 -69
  7. package/dist/index.js +2 -5
  8. package/dist/m365/aad/commands/app/app-add.js +6 -6
  9. package/dist/m365/aad/commands/app/app-get.js +6 -6
  10. package/dist/m365/aad/commands/app/app-remove.js +6 -6
  11. package/dist/m365/aad/commands/app/app-role-add.js +6 -6
  12. package/dist/m365/aad/commands/app/app-role-list.js +6 -6
  13. package/dist/m365/aad/commands/app/app-role-remove.js +6 -6
  14. package/dist/m365/aad/commands/app/app-set.js +6 -6
  15. package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +6 -6
  16. package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +6 -6
  17. package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +6 -6
  18. package/dist/m365/aad/commands/group/group-list.js +6 -6
  19. package/dist/m365/aad/commands/groupsetting/groupsetting-add.js +6 -6
  20. package/dist/m365/aad/commands/groupsetting/groupsetting-get.js +6 -6
  21. package/dist/m365/aad/commands/groupsetting/groupsetting-remove.js +6 -6
  22. package/dist/m365/aad/commands/groupsetting/groupsetting-set.js +6 -6
  23. package/dist/m365/aad/commands/groupsettingtemplate/groupsettingtemplate-get.js +6 -6
  24. package/dist/m365/aad/commands/o365group/o365group-add.js +22 -15
  25. package/dist/m365/aad/commands/o365group/o365group-conversation-list.js +6 -6
  26. package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +6 -6
  27. package/dist/m365/aad/commands/o365group/o365group-get.js +6 -6
  28. package/dist/m365/aad/commands/o365group/o365group-list.js +6 -6
  29. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-clear.js +6 -6
  30. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-list.js +6 -6
  31. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-remove.js +6 -6
  32. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +6 -6
  33. package/dist/m365/aad/commands/o365group/o365group-remove.js +7 -7
  34. package/dist/m365/aad/commands/o365group/o365group-renew.js +6 -6
  35. package/dist/m365/aad/commands/o365group/o365group-set.js +14 -15
  36. package/dist/m365/aad/commands/o365group/o365group-teamify.js +6 -6
  37. package/dist/m365/aad/commands/o365group/o365group-user-add.js +8 -8
  38. package/dist/m365/aad/commands/o365group/o365group-user-list.js +6 -6
  39. package/dist/m365/aad/commands/o365group/o365group-user-remove.js +8 -8
  40. package/dist/m365/aad/commands/o365group/o365group-user-set.js +8 -8
  41. package/dist/m365/aad/commands/oauth2grant/oauth2grant-add.js +6 -6
  42. package/dist/m365/aad/commands/oauth2grant/oauth2grant-list.js +6 -6
  43. package/dist/m365/aad/commands/oauth2grant/oauth2grant-remove.js +5 -5
  44. package/dist/m365/aad/commands/oauth2grant/oauth2grant-set.js +5 -5
  45. package/dist/m365/aad/commands/policy/policy-list.js +6 -6
  46. package/dist/m365/aad/commands/siteclassification/siteclassification-disable.js +6 -6
  47. package/dist/m365/aad/commands/siteclassification/siteclassification-enable.js +6 -6
  48. package/dist/m365/aad/commands/siteclassification/siteclassification-set.js +6 -6
  49. package/dist/m365/aad/commands/sp/sp-add.js +6 -6
  50. package/dist/m365/aad/commands/sp/sp-get.js +6 -6
  51. package/dist/m365/aad/commands/user/user-get.js +6 -6
  52. package/dist/m365/aad/commands/user/user-guest-add.js +6 -6
  53. package/dist/m365/aad/commands/user/user-hibp.js +6 -6
  54. package/dist/m365/aad/commands/user/user-list.js +6 -6
  55. package/dist/m365/aad/commands/user/user-password-validate.js +5 -5
  56. package/dist/m365/aad/commands/user/user-set.js +100 -23
  57. package/dist/m365/aad/commands/user/user-signin-list.js +6 -6
  58. package/dist/m365/adaptivecard/commands/adaptivecard-send.js +6 -6
  59. package/dist/m365/app/commands/app-open.js +6 -6
  60. package/dist/m365/base/AppCommand.js +3 -3
  61. package/dist/m365/base/ContextCommand.js +33 -0
  62. package/dist/m365/booking/commands/business/business-get.js +7 -7
  63. package/dist/m365/cli/commands/cli-consent.js +6 -6
  64. package/dist/m365/cli/commands/cli-issue.js +6 -6
  65. package/dist/m365/cli/commands/completion/completion-pwsh-setup.js +5 -5
  66. package/dist/m365/cli/commands/config/config-get.js +6 -6
  67. package/dist/m365/cli/commands/config/config-reset.js +6 -6
  68. package/dist/m365/cli/commands/config/config-set.js +8 -7
  69. package/dist/m365/commands/login.js +6 -6
  70. package/dist/m365/commands/request.js +8 -8
  71. package/dist/m365/context/commands/context-init.js +28 -0
  72. package/dist/m365/context/commands.js +7 -0
  73. package/dist/m365/file/commands/convert/convert-pdf.js +6 -6
  74. package/dist/m365/file/commands/file-add.js +6 -6
  75. package/dist/m365/file/commands/file-list.js +8 -8
  76. package/dist/m365/flow/commands/environment/environment-get.js +5 -5
  77. package/dist/m365/flow/commands/flow-disable.js +5 -5
  78. package/dist/m365/flow/commands/flow-enable.js +5 -5
  79. package/dist/m365/flow/commands/flow-export.js +6 -6
  80. package/dist/m365/flow/commands/flow-get.js +5 -5
  81. package/dist/m365/flow/commands/flow-list.js +6 -6
  82. package/dist/m365/flow/commands/flow-remove.js +6 -6
  83. package/dist/m365/flow/commands/run/run-cancel.js +6 -6
  84. package/dist/m365/flow/commands/run/run-get.js +5 -5
  85. package/dist/m365/flow/commands/run/run-list.js +5 -5
  86. package/dist/m365/flow/commands/run/run-resubmit.js +6 -6
  87. package/dist/m365/graph/commands/changelog/changelog-list.js +9 -9
  88. package/dist/m365/graph/commands/schemaextension/schemaextension-add.js +6 -6
  89. package/dist/m365/graph/commands/schemaextension/schemaextension-get.js +5 -5
  90. package/dist/m365/graph/commands/schemaextension/schemaextension-list.js +6 -6
  91. package/dist/m365/graph/commands/schemaextension/schemaextension-remove.js +6 -6
  92. package/dist/m365/graph/commands/schemaextension/schemaextension-set.js +6 -6
  93. package/dist/m365/graph/commands/subscription/subscription-add.js +6 -6
  94. package/dist/m365/onenote/commands/notebook/notebook-list.js +6 -6
  95. package/dist/m365/outlook/commands/mail/mail-send.js +12 -12
  96. package/dist/m365/outlook/commands/message/message-get.js +6 -6
  97. package/dist/m365/outlook/commands/message/message-list.js +6 -6
  98. package/dist/m365/outlook/commands/message/message-move.js +6 -6
  99. package/dist/m365/outlook/commands/room/room-list.js +6 -6
  100. package/dist/m365/pa/cds-project-mutator.js +3 -3
  101. package/dist/m365/pa/commands/app/app-get.js +8 -8
  102. package/dist/m365/pa/commands/app/app-list.js +7 -7
  103. package/dist/m365/pa/commands/app/app-remove.js +6 -6
  104. package/dist/m365/pa/commands/connector/connector-export.js +7 -7
  105. package/dist/m365/pa/commands/connector/connector-list.js +5 -5
  106. package/dist/m365/pa/commands/environment/environment-get.js +5 -5
  107. package/dist/m365/pa/commands/pcf/pcf-init.js +6 -6
  108. package/dist/m365/pa/commands/solution/solution-init.js +6 -6
  109. package/dist/m365/pa/commands/solution/solution-reference-add.js +6 -6
  110. package/dist/m365/planner/commands/bucket/bucket-add.js +8 -8
  111. package/dist/m365/planner/commands/bucket/bucket-get.js +6 -6
  112. package/dist/m365/planner/commands/bucket/bucket-list.js +8 -8
  113. package/dist/m365/planner/commands/bucket/bucket-remove.js +6 -6
  114. package/dist/m365/planner/commands/bucket/bucket-set.js +6 -6
  115. package/dist/m365/planner/commands/plan/plan-add.js +8 -8
  116. package/dist/m365/planner/commands/plan/plan-get.js +8 -8
  117. package/dist/m365/planner/commands/plan/plan-list.js +6 -6
  118. package/dist/m365/planner/commands/plan/plan-remove.js +6 -6
  119. package/dist/m365/planner/commands/plan/plan-set.js +305 -0
  120. package/dist/m365/planner/commands/task/task-add.js +6 -6
  121. package/dist/m365/planner/commands/task/task-checklistitem-add.js +6 -6
  122. package/dist/m365/planner/commands/task/task-checklistitem-list.js +5 -5
  123. package/dist/m365/planner/commands/task/task-checklistitem-remove.js +6 -6
  124. package/dist/m365/planner/commands/task/task-get.js +6 -6
  125. package/dist/m365/planner/commands/task/task-list.js +7 -7
  126. package/dist/m365/planner/commands/task/task-reference-add.js +6 -6
  127. package/dist/m365/planner/commands/task/task-reference-list.js +5 -5
  128. package/dist/m365/planner/commands/task/task-reference-remove.js +6 -6
  129. package/dist/m365/planner/commands/task/task-remove.js +6 -6
  130. package/dist/m365/planner/commands/task/task-set.js +6 -6
  131. package/dist/m365/planner/commands/tenant/tenant-settings-set.js +10 -13
  132. package/dist/m365/planner/commands.js +1 -0
  133. package/dist/m365/pp/commands/card/card-clone.js +6 -6
  134. package/dist/m365/pp/commands/card/card-get.js +8 -8
  135. package/dist/m365/pp/commands/card/card-list.js +6 -6
  136. package/dist/m365/pp/commands/card/card-remove.js +6 -6
  137. package/dist/m365/pp/commands/chatbot/chatbot-get.js +111 -0
  138. package/dist/m365/pp/commands/chatbot/chatbot-list.js +6 -6
  139. package/dist/m365/pp/commands/chatbot/chatbot-remove.js +131 -0
  140. package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +6 -6
  141. package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +6 -6
  142. package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +6 -6
  143. package/dist/m365/pp/commands/dataverse/dataverse-table-row-list.js +95 -0
  144. package/dist/m365/pp/commands/dataverse/dataverse-table-row-remove.js +133 -0
  145. package/dist/m365/pp/commands/environment/environment-get.js +6 -6
  146. package/dist/m365/pp/commands/environment/environment-list.js +6 -6
  147. package/dist/m365/pp/commands/gateway/gateway-get.js +6 -6
  148. package/dist/m365/pp/commands/managementapp/managementapp-add.js +6 -6
  149. package/dist/m365/pp/commands/solution/solution-get.js +8 -8
  150. package/dist/m365/pp/commands/solution/solution-list.js +6 -6
  151. package/dist/m365/pp/commands/solution/solution-publisher-add.js +101 -0
  152. package/dist/m365/pp/commands/solution/solution-publisher-get.js +8 -8
  153. package/dist/m365/pp/commands/solution/solution-publisher-list.js +6 -6
  154. package/dist/m365/pp/commands/solution/solution-publisher-remove.js +6 -6
  155. package/dist/m365/pp/commands/solution/solution-remove.js +6 -6
  156. package/dist/m365/pp/commands.js +5 -0
  157. package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +38 -0
  158. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +92 -0
  159. package/dist/m365/purview/commands.js +8 -0
  160. package/dist/m365/search/commands/externalconnection/externalconnection-add.js +6 -6
  161. package/dist/m365/search/commands/externalconnection/externalconnection-get.js +6 -6
  162. package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +6 -6
  163. package/dist/m365/spfx/commands/package/package-generate.js +6 -6
  164. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.16.1.js +23 -0
  165. package/dist/m365/spfx/commands/project/project-doctor.js +16 -10
  166. package/dist/m365/spfx/commands/project/project-externalize.js +14 -9
  167. package/dist/m365/spfx/commands/project/project-model/ScssFile.js +3 -3
  168. package/dist/m365/spfx/commands/project/project-model/TsFile.js +3 -3
  169. package/dist/m365/spfx/commands/project/project-rename.js +6 -6
  170. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006006_CFG_PS_features.js +63 -0
  171. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015009_FILE_config_sass_json.js +14 -0
  172. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +2 -0
  173. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.16.1.js +59 -0
  174. package/dist/m365/spfx/commands/project/project-upgrade.js +16 -10
  175. package/dist/m365/spfx/commands/spfx-doctor.js +24 -9
  176. package/dist/m365/spo/commands/app/app-add.js +6 -6
  177. package/dist/m365/spo/commands/app/app-deploy.js +6 -6
  178. package/dist/m365/spo/commands/app/app-get.js +6 -6
  179. package/dist/m365/spo/commands/app/app-install.js +6 -6
  180. package/dist/m365/spo/commands/app/app-instance-list.js +6 -6
  181. package/dist/m365/spo/commands/app/app-list.js +7 -7
  182. package/dist/m365/spo/commands/app/app-remove.js +6 -6
  183. package/dist/m365/spo/commands/app/app-retract.js +6 -6
  184. package/dist/m365/spo/commands/app/app-teamspackage-download.js +6 -6
  185. package/dist/m365/spo/commands/app/app-uninstall.js +6 -6
  186. package/dist/m365/spo/commands/app/app-upgrade.js +6 -6
  187. package/dist/m365/spo/commands/apppage/apppage-add.js +6 -6
  188. package/dist/m365/spo/commands/apppage/apppage-set.js +6 -6
  189. package/dist/m365/spo/commands/cdn/cdn-get.js +6 -6
  190. package/dist/m365/spo/commands/cdn/cdn-origin-add.js +6 -6
  191. package/dist/m365/spo/commands/cdn/cdn-origin-list.js +6 -6
  192. package/dist/m365/spo/commands/cdn/cdn-origin-remove.js +6 -6
  193. package/dist/m365/spo/commands/cdn/cdn-policy-list.js +6 -6
  194. package/dist/m365/spo/commands/cdn/cdn-policy-set.js +6 -6
  195. package/dist/m365/spo/commands/cdn/cdn-set.js +12 -13
  196. package/dist/m365/spo/commands/contenttype/contenttype-add.js +6 -6
  197. package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +6 -6
  198. package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +15 -24
  199. package/dist/m365/spo/commands/contenttype/contenttype-get.js +6 -6
  200. package/dist/m365/spo/commands/contenttype/contenttype-list.js +7 -7
  201. package/dist/m365/spo/commands/contenttype/contenttype-remove.js +6 -6
  202. package/dist/m365/spo/commands/contenttype/contenttype-set.js +83 -36
  203. package/dist/m365/spo/commands/customaction/customaction-add.js +6 -6
  204. package/dist/m365/spo/commands/customaction/customaction-clear.js +6 -6
  205. package/dist/m365/spo/commands/customaction/customaction-get.js +6 -6
  206. package/dist/m365/spo/commands/customaction/customaction-list.js +7 -7
  207. package/dist/m365/spo/commands/customaction/customaction-remove.js +6 -6
  208. package/dist/m365/spo/commands/customaction/customaction-set.js +7 -7
  209. package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +6 -6
  210. package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +7 -7
  211. package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +6 -6
  212. package/dist/m365/spo/commands/externaluser/externaluser-list.js +6 -6
  213. package/dist/m365/spo/commands/feature/feature-disable.js +6 -6
  214. package/dist/m365/spo/commands/feature/feature-enable.js +6 -6
  215. package/dist/m365/spo/commands/feature/feature-list.js +6 -6
  216. package/dist/m365/spo/commands/field/field-add.js +6 -6
  217. package/dist/m365/spo/commands/field/field-get.js +6 -6
  218. package/dist/m365/spo/commands/field/field-list.js +7 -7
  219. package/dist/m365/spo/commands/field/field-remove.js +6 -6
  220. package/dist/m365/spo/commands/field/field-set.js +6 -6
  221. package/dist/m365/spo/commands/file/file-add.js +9 -9
  222. package/dist/m365/spo/commands/file/file-checkin.js +6 -6
  223. package/dist/m365/spo/commands/file/file-checkout.js +6 -6
  224. package/dist/m365/spo/commands/file/file-copy.js +6 -6
  225. package/dist/m365/spo/commands/file/file-get.js +11 -23
  226. package/dist/m365/spo/commands/file/file-list.js +6 -6
  227. package/dist/m365/spo/commands/file/file-move.js +6 -6
  228. package/dist/m365/spo/commands/file/file-remove.js +6 -6
  229. package/dist/m365/spo/commands/file/file-rename.js +6 -6
  230. package/dist/m365/spo/commands/file/file-roleassignment-add.js +6 -6
  231. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +6 -6
  232. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +6 -6
  233. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +6 -6
  234. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +6 -6
  235. package/dist/m365/spo/commands/file/file-version-clear.js +6 -6
  236. package/dist/m365/spo/commands/file/file-version-get.js +6 -6
  237. package/dist/m365/spo/commands/file/file-version-list.js +8 -8
  238. package/dist/m365/spo/commands/file/file-version-remove.js +6 -6
  239. package/dist/m365/spo/commands/file/file-version-restore.js +6 -6
  240. package/dist/m365/spo/commands/folder/folder-add.js +6 -6
  241. package/dist/m365/spo/commands/folder/folder-copy.js +6 -6
  242. package/dist/m365/spo/commands/folder/folder-get.js +7 -15
  243. package/dist/m365/spo/commands/folder/folder-list.js +7 -7
  244. package/dist/m365/spo/commands/folder/folder-move.js +6 -6
  245. package/dist/m365/spo/commands/folder/folder-remove.js +6 -6
  246. package/dist/m365/spo/commands/folder/folder-rename.js +6 -6
  247. package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +6 -6
  248. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +6 -6
  249. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +6 -6
  250. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +6 -6
  251. package/dist/m365/spo/commands/group/group-add.js +22 -24
  252. package/dist/m365/spo/commands/group/group-get.js +6 -6
  253. package/dist/m365/spo/commands/group/group-list.js +7 -7
  254. package/dist/m365/spo/commands/group/group-member-add.js +8 -8
  255. package/dist/m365/spo/commands/group/group-member-list.js +8 -8
  256. package/dist/m365/spo/commands/group/group-member-remove.js +6 -6
  257. package/dist/m365/spo/commands/group/group-remove.js +6 -6
  258. package/dist/m365/spo/commands/group/group-set.js +22 -24
  259. package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-set.js +12 -17
  260. package/dist/m365/spo/commands/homesite/homesite-remove.js +6 -6
  261. package/dist/m365/spo/commands/homesite/homesite-set.js +6 -6
  262. package/dist/m365/spo/commands/hubsite/hubsite-connect.js +6 -6
  263. package/dist/m365/spo/commands/hubsite/hubsite-data-get.js +6 -6
  264. package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +6 -6
  265. package/dist/m365/spo/commands/hubsite/hubsite-get.js +6 -6
  266. package/dist/m365/spo/commands/hubsite/hubsite-list.js +8 -8
  267. package/dist/m365/spo/commands/hubsite/hubsite-register.js +6 -6
  268. package/dist/m365/spo/commands/hubsite/hubsite-rights-grant.js +6 -6
  269. package/dist/m365/spo/commands/hubsite/hubsite-rights-revoke.js +6 -6
  270. package/dist/m365/spo/commands/hubsite/hubsite-set.js +6 -6
  271. package/dist/m365/spo/commands/hubsite/hubsite-unregister.js +6 -6
  272. package/dist/m365/spo/commands/knowledgehub/knowledgehub-remove.js +6 -6
  273. package/dist/m365/spo/commands/knowledgehub/knowledgehub-set.js +6 -6
  274. package/dist/m365/spo/commands/list/list-add.js +60 -73
  275. package/dist/m365/spo/commands/list/list-contenttype-add.js +6 -6
  276. package/dist/m365/spo/commands/list/list-contenttype-default-set.js +6 -6
  277. package/dist/m365/spo/commands/list/list-contenttype-list.js +8 -8
  278. package/dist/m365/spo/commands/list/list-contenttype-remove.js +6 -6
  279. package/dist/m365/spo/commands/list/list-get.js +6 -6
  280. package/dist/m365/spo/commands/list/list-list.js +6 -6
  281. package/dist/m365/spo/commands/list/list-remove.js +6 -6
  282. package/dist/m365/spo/commands/list/{list-label-get.js → list-retentionlabel-get.js} +22 -18
  283. package/dist/m365/spo/commands/list/{list-label-set.js → list-retentionlabel-set.js} +22 -18
  284. package/dist/m365/spo/commands/list/list-roleassignment-add.js +6 -6
  285. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +6 -6
  286. package/dist/m365/spo/commands/list/list-roleinheritance-break.js +6 -6
  287. package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +6 -6
  288. package/dist/m365/spo/commands/list/list-set.js +59 -71
  289. package/dist/m365/spo/commands/list/list-sitescript-get.js +6 -6
  290. package/dist/m365/spo/commands/list/list-view-add.js +6 -6
  291. package/dist/m365/spo/commands/list/list-view-field-add.js +6 -6
  292. package/dist/m365/spo/commands/list/list-view-field-remove.js +6 -6
  293. package/dist/m365/spo/commands/list/list-view-field-set.js +6 -6
  294. package/dist/m365/spo/commands/list/list-view-get.js +6 -6
  295. package/dist/m365/spo/commands/list/list-view-list.js +8 -8
  296. package/dist/m365/spo/commands/list/list-view-remove.js +6 -6
  297. package/dist/m365/spo/commands/list/list-view-set.js +8 -8
  298. package/dist/m365/spo/commands/list/list-webhook-add.js +6 -6
  299. package/dist/m365/spo/commands/list/list-webhook-get.js +6 -6
  300. package/dist/m365/spo/commands/list/list-webhook-list.js +8 -8
  301. package/dist/m365/spo/commands/list/list-webhook-remove.js +6 -6
  302. package/dist/m365/spo/commands/list/list-webhook-set.js +6 -6
  303. package/dist/m365/spo/commands/listitem/listitem-add.js +9 -9
  304. package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +6 -6
  305. package/dist/m365/spo/commands/listitem/listitem-batch-add.js +26 -19
  306. package/dist/m365/spo/commands/listitem/listitem-get.js +13 -25
  307. package/dist/m365/spo/commands/listitem/listitem-isrecord.js +6 -6
  308. package/dist/m365/spo/commands/listitem/listitem-list.js +8 -8
  309. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +6 -6
  310. package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +6 -6
  311. package/dist/m365/spo/commands/listitem/listitem-remove.js +6 -6
  312. package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +6 -6
  313. package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +6 -6
  314. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +6 -6
  315. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +6 -6
  316. package/dist/m365/spo/commands/listitem/listitem-set.js +16 -13
  317. package/dist/m365/spo/commands/mail/mail-send.js +6 -6
  318. package/dist/m365/spo/commands/navigation/navigation-node-add.js +11 -7
  319. package/dist/m365/spo/commands/navigation/navigation-node-list.js +6 -6
  320. package/dist/m365/spo/commands/navigation/navigation-node-remove.js +6 -6
  321. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +6 -6
  322. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-remove.js +5 -5
  323. package/dist/m365/spo/commands/orgnewssite/orgnewssite-remove.js +6 -6
  324. package/dist/m365/spo/commands/orgnewssite/orgnewssite-set.js +6 -6
  325. package/dist/m365/spo/commands/page/clientsidepages.js +3 -3
  326. package/dist/m365/spo/commands/page/page-add.js +6 -6
  327. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +6 -6
  328. package/dist/m365/spo/commands/page/page-column-get.js +6 -6
  329. package/dist/m365/spo/commands/page/page-column-list.js +6 -6
  330. package/dist/m365/spo/commands/page/page-control-get.js +6 -6
  331. package/dist/m365/spo/commands/page/page-control-list.js +6 -6
  332. package/dist/m365/spo/commands/page/page-control-set.js +6 -6
  333. package/dist/m365/spo/commands/page/page-copy.js +7 -7
  334. package/dist/m365/spo/commands/page/page-get.js +6 -6
  335. package/dist/m365/spo/commands/page/page-header-set.js +6 -6
  336. package/dist/m365/spo/commands/page/page-list.js +6 -6
  337. package/dist/m365/spo/commands/page/page-remove.js +6 -6
  338. package/dist/m365/spo/commands/page/page-section-add.js +6 -6
  339. package/dist/m365/spo/commands/page/page-section-get.js +6 -6
  340. package/dist/m365/spo/commands/page/page-section-list.js +6 -6
  341. package/dist/m365/spo/commands/page/page-set.js +11 -13
  342. package/dist/m365/spo/commands/page/page-template-list.js +6 -6
  343. package/dist/m365/spo/commands/page/page-text-add.js +6 -6
  344. package/dist/m365/spo/commands/propertybag/propertybag-get.js +6 -6
  345. package/dist/m365/spo/commands/propertybag/propertybag-list.js +6 -6
  346. package/dist/m365/spo/commands/propertybag/propertybag-remove.js +6 -6
  347. package/dist/m365/spo/commands/propertybag/propertybag-set.js +6 -6
  348. package/dist/m365/spo/commands/roledefinition/roledefinition-add.js +7 -7
  349. package/dist/m365/spo/commands/roledefinition/roledefinition-get.js +6 -6
  350. package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +8 -19
  351. package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +6 -6
  352. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-add.js +5 -5
  353. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-revoke.js +5 -5
  354. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-approve.js +76 -27
  355. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-deny.js +6 -6
  356. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-set.js +14 -22
  357. package/dist/m365/spo/commands/site/site-add.js +7 -7
  358. package/dist/m365/spo/commands/site/site-appcatalog-add.js +6 -6
  359. package/dist/m365/spo/commands/site/site-appcatalog-remove.js +6 -6
  360. package/dist/m365/spo/commands/site/site-apppermission-add.js +6 -6
  361. package/dist/m365/spo/commands/site/site-apppermission-get.js +6 -6
  362. package/dist/m365/spo/commands/site/site-apppermission-list.js +6 -6
  363. package/dist/m365/spo/commands/site/site-apppermission-remove.js +6 -6
  364. package/dist/m365/spo/commands/site/site-apppermission-set.js +6 -6
  365. package/dist/m365/spo/commands/site/site-chrome-set.js +19 -13
  366. package/dist/m365/spo/commands/site/site-commsite-enable.js +6 -6
  367. package/dist/m365/spo/commands/site/site-ensure.js +14 -10
  368. package/dist/m365/spo/commands/site/site-get.js +6 -6
  369. package/dist/m365/spo/commands/site/site-groupify.js +6 -6
  370. package/dist/m365/spo/commands/site/site-hubsite-connect.js +6 -6
  371. package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +6 -6
  372. package/dist/m365/spo/commands/site/site-hubsite-theme-sync.js +6 -6
  373. package/dist/m365/spo/commands/site/site-inplacerecordsmanagement-set.js +14 -14
  374. package/dist/m365/spo/commands/site/site-list.js +7 -7
  375. package/dist/m365/spo/commands/site/site-recyclebinitem-list.js +7 -7
  376. package/dist/m365/spo/commands/site/site-recyclebinitem-restore.js +6 -6
  377. package/dist/m365/spo/commands/site/site-remove.js +6 -6
  378. package/dist/m365/spo/commands/site/site-rename.js +6 -6
  379. package/dist/m365/spo/commands/site/site-set.js +23 -37
  380. package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +6 -6
  381. package/dist/m365/spo/commands/sitedesign/sitedesign-apply.js +6 -6
  382. package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +6 -6
  383. package/dist/m365/spo/commands/sitedesign/sitedesign-remove.js +6 -6
  384. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-grant.js +6 -6
  385. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-list.js +6 -6
  386. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-revoke.js +6 -6
  387. package/dist/m365/spo/commands/sitedesign/sitedesign-run-list.js +7 -7
  388. package/dist/m365/spo/commands/sitedesign/sitedesign-run-status-get.js +6 -6
  389. package/dist/m365/spo/commands/sitedesign/sitedesign-set.js +14 -15
  390. package/dist/m365/spo/commands/sitedesign/sitedesign-task-get.js +6 -6
  391. package/dist/m365/spo/commands/sitedesign/sitedesign-task-list.js +6 -6
  392. package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +6 -6
  393. package/dist/m365/spo/commands/sitescript/sitescript-add.js +6 -6
  394. package/dist/m365/spo/commands/sitescript/sitescript-get.js +6 -6
  395. package/dist/m365/spo/commands/sitescript/sitescript-remove.js +6 -6
  396. package/dist/m365/spo/commands/sitescript/sitescript-set.js +6 -6
  397. package/dist/m365/spo/commands/spo-search.js +6 -6
  398. package/dist/m365/spo/commands/spo-set.js +6 -6
  399. package/dist/m365/spo/commands/storageentity/storageentity-get.js +5 -5
  400. package/dist/m365/spo/commands/storageentity/storageentity-list.js +6 -6
  401. package/dist/m365/spo/commands/storageentity/storageentity-remove.js +6 -6
  402. package/dist/m365/spo/commands/storageentity/storageentity-set.js +6 -6
  403. package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +6 -6
  404. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +6 -6
  405. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +6 -6
  406. package/dist/m365/spo/commands/tenant/tenant-settings-set.js +73 -63
  407. package/dist/m365/spo/commands/term/term-add.js +6 -6
  408. package/dist/m365/spo/commands/term/term-get.js +6 -6
  409. package/dist/m365/spo/commands/term/term-group-add.js +6 -6
  410. package/dist/m365/spo/commands/term/term-group-get.js +6 -6
  411. package/dist/m365/spo/commands/term/term-list.js +8 -8
  412. package/dist/m365/spo/commands/term/term-set-add.js +6 -6
  413. package/dist/m365/spo/commands/term/term-set-get.js +6 -6
  414. package/dist/m365/spo/commands/term/term-set-list.js +6 -6
  415. package/dist/m365/spo/commands/theme/theme-apply.js +6 -6
  416. package/dist/m365/spo/commands/theme/theme-get.js +5 -5
  417. package/dist/m365/spo/commands/theme/theme-remove.js +6 -6
  418. package/dist/m365/spo/commands/theme/theme-set.js +6 -6
  419. package/dist/m365/spo/commands/user/user-get.js +6 -6
  420. package/dist/m365/spo/commands/user/user-list.js +6 -6
  421. package/dist/m365/spo/commands/user/user-remove.js +6 -6
  422. package/dist/m365/spo/commands/userprofile/userprofile-get.js +6 -6
  423. package/dist/m365/spo/commands/userprofile/userprofile-set.js +5 -5
  424. package/dist/m365/spo/commands/web/web-add.js +6 -6
  425. package/dist/m365/spo/commands/web/web-clientsidewebpart-list.js +6 -6
  426. package/dist/m365/spo/commands/web/web-get.js +11 -22
  427. package/dist/m365/spo/commands/web/web-installedlanguage-list.js +6 -6
  428. package/dist/m365/spo/commands/web/web-list.js +6 -6
  429. package/dist/m365/spo/commands/web/web-reindex.js +6 -6
  430. package/dist/m365/spo/commands/web/web-remove.js +6 -6
  431. package/dist/m365/spo/commands/web/web-retentionlabel-list.js +63 -0
  432. package/dist/m365/spo/commands/web/web-roleassignment-add.js +6 -6
  433. package/dist/m365/spo/commands/web/web-roleassignment-remove.js +6 -6
  434. package/dist/m365/spo/commands/web/web-roleinheritance-break.js +6 -6
  435. package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +6 -6
  436. package/dist/m365/spo/commands/web/web-set.js +18 -31
  437. package/dist/m365/spo/commands.js +3 -0
  438. package/dist/m365/teams/commands/app/app-install.js +6 -6
  439. package/dist/m365/teams/commands/app/app-list.js +7 -7
  440. package/dist/m365/teams/commands/app/app-publish.js +6 -6
  441. package/dist/m365/teams/commands/app/app-remove.js +6 -6
  442. package/dist/m365/teams/commands/app/app-uninstall.js +6 -6
  443. package/dist/m365/teams/commands/app/app-update.js +6 -6
  444. package/dist/m365/teams/commands/cache/cache-remove.js +30 -46
  445. package/dist/m365/teams/commands/channel/channel-add.js +6 -6
  446. package/dist/m365/teams/commands/channel/channel-get.js +6 -6
  447. package/dist/m365/teams/commands/channel/channel-list.js +8 -8
  448. package/dist/m365/teams/commands/channel/channel-member-add.js +6 -6
  449. package/dist/m365/teams/commands/channel/channel-member-list.js +9 -9
  450. package/dist/m365/teams/commands/channel/channel-member-remove.js +6 -6
  451. package/dist/m365/teams/commands/channel/channel-member-set.js +6 -6
  452. package/dist/m365/teams/commands/channel/channel-remove.js +6 -6
  453. package/dist/m365/teams/commands/channel/channel-set.js +6 -6
  454. package/dist/m365/teams/commands/chat/chat-get.js +6 -6
  455. package/dist/m365/teams/commands/chat/chat-list.js +7 -7
  456. package/dist/m365/teams/commands/chat/chat-member-list.js +6 -6
  457. package/dist/m365/teams/commands/chat/chat-message-list.js +6 -6
  458. package/dist/m365/teams/commands/chat/chat-message-send.js +6 -6
  459. package/dist/m365/teams/commands/funsettings/funsettings-list.js +6 -6
  460. package/dist/m365/teams/commands/funsettings/funsettings-set.js +18 -25
  461. package/dist/m365/teams/commands/guestsettings/guestsettings-list.js +6 -6
  462. package/dist/m365/teams/commands/guestsettings/guestsettings-set.js +18 -26
  463. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +121 -0
  464. package/dist/m365/teams/commands/meeting/meeting-get.js +6 -6
  465. package/dist/m365/teams/commands/meeting/meeting-list.js +7 -7
  466. package/dist/m365/teams/commands/membersettings/membersettings-list.js +6 -6
  467. package/dist/m365/teams/commands/membersettings/membersettings-set.js +24 -29
  468. package/dist/m365/teams/commands/message/message-get.js +6 -6
  469. package/dist/m365/teams/commands/message/message-list.js +7 -7
  470. package/dist/m365/teams/commands/message/message-reply-list.js +6 -6
  471. package/dist/m365/teams/commands/messagingsettings/messagingsettings-list.js +6 -6
  472. package/dist/m365/teams/commands/messagingsettings/messagingsettings-set.js +26 -29
  473. package/dist/m365/teams/commands/report/report-directroutingcalls.js +7 -7
  474. package/dist/m365/teams/commands/report/report-pstncalls.js +7 -7
  475. package/dist/m365/teams/commands/tab/tab-add.js +7 -7
  476. package/dist/m365/teams/commands/tab/tab-get.js +6 -6
  477. package/dist/m365/teams/commands/tab/tab-list.js +6 -6
  478. package/dist/m365/teams/commands/tab/tab-remove.js +6 -6
  479. package/dist/m365/teams/commands/team/team-add.js +6 -6
  480. package/dist/m365/teams/commands/team/team-app-list.js +8 -8
  481. package/dist/m365/teams/commands/team/team-archive.js +6 -6
  482. package/dist/m365/teams/commands/team/team-clone.js +6 -6
  483. package/dist/m365/teams/commands/team/team-get.js +6 -6
  484. package/dist/m365/teams/commands/team/team-list.js +6 -6
  485. package/dist/m365/teams/commands/team/team-remove.js +6 -6
  486. package/dist/m365/teams/commands/team/team-set.js +6 -6
  487. package/dist/m365/teams/commands/team/team-unarchive.js +6 -6
  488. package/dist/m365/teams/commands/user/user-app-add.js +6 -6
  489. package/dist/m365/teams/commands/user/user-app-list.js +7 -7
  490. package/dist/m365/teams/commands/user/user-app-remove.js +6 -6
  491. package/dist/m365/teams/commands/user/user-list.js +6 -6
  492. package/dist/m365/teams/commands.js +1 -0
  493. package/dist/m365/tenant/commands/id/id-get.js +6 -6
  494. package/dist/m365/tenant/commands/security/security-alerts-list.js +6 -6
  495. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +6 -6
  496. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-list.js +6 -6
  497. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-get.js +5 -5
  498. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-list.js +5 -5
  499. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-get.js +6 -6
  500. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-list.js +6 -6
  501. package/dist/m365/todo/commands/list/list-add.js +5 -5
  502. package/dist/m365/todo/commands/list/list-get.js +7 -7
  503. package/dist/m365/todo/commands/list/list-remove.js +6 -6
  504. package/dist/m365/todo/commands/list/list-set.js +6 -6
  505. package/dist/m365/todo/commands/task/task-add.js +6 -6
  506. package/dist/m365/todo/commands/task/task-get.js +7 -7
  507. package/dist/m365/todo/commands/task/task-list.js +7 -7
  508. package/dist/m365/todo/commands/task/task-remove.js +6 -6
  509. package/dist/m365/todo/commands/task/task-set.js +6 -6
  510. package/dist/m365/util/commands/accesstoken/accesstoken-get.js +6 -6
  511. package/dist/m365/viva/commands/connections/connections-app-create.js +6 -6
  512. package/dist/m365/yammer/commands/group/group-list.js +6 -6
  513. package/dist/m365/yammer/commands/group/group-user-add.js +6 -6
  514. package/dist/m365/yammer/commands/group/group-user-remove.js +6 -6
  515. package/dist/m365/yammer/commands/message/message-add.js +7 -7
  516. package/dist/m365/yammer/commands/message/message-get.js +6 -6
  517. package/dist/m365/yammer/commands/message/message-like-set.js +15 -16
  518. package/dist/m365/yammer/commands/message/message-list.js +8 -8
  519. package/dist/m365/yammer/commands/message/message-remove.js +6 -6
  520. package/dist/m365/yammer/commands/network/network-list.js +6 -6
  521. package/dist/m365/yammer/commands/user/user-get.js +7 -7
  522. package/dist/m365/yammer/commands/user/user-list.js +8 -8
  523. package/dist/m365/yammer/commands/yammer-search.js +6 -6
  524. package/dist/request.js +38 -38
  525. package/dist/settingsNames.js +1 -0
  526. package/dist/telemetry.js +29 -0
  527. package/dist/utils/formatting.js +37 -0
  528. package/dist/utils/md.js +10 -1
  529. package/docs/docs/_clisettings.md +1 -0
  530. package/docs/docs/cmd/_global.md +1 -1
  531. package/docs/docs/cmd/aad/user/user-set.md +31 -3
  532. package/docs/docs/cmd/cli/cli-consent.md +20 -0
  533. package/docs/docs/cmd/cli/cli-doctor.md +50 -0
  534. package/docs/docs/cmd/cli/cli-issue.md +20 -0
  535. package/docs/docs/cmd/cli/cli-reconsent.md +20 -0
  536. package/docs/docs/cmd/cli/completion/completion-clink-update.md +5 -1
  537. package/docs/docs/cmd/cli/completion/completion-pwsh-setup.md +5 -1
  538. package/docs/docs/cmd/cli/completion/completion-pwsh-update.md +5 -1
  539. package/docs/docs/cmd/cli/completion/completion-sh-setup.md +21 -1
  540. package/docs/docs/cmd/cli/completion/completion-sh-update.md +4 -0
  541. package/docs/docs/cmd/cli/config/config-get.md +22 -0
  542. package/docs/docs/cmd/cli/config/config-reset.md +4 -0
  543. package/docs/docs/cmd/cli/config/config-set.md +4 -0
  544. package/docs/docs/cmd/context/context-init.md +25 -0
  545. package/docs/docs/cmd/planner/plan/plan-set.md +144 -0
  546. package/docs/docs/cmd/pp/chatbot/chatbot-get.md +123 -0
  547. package/docs/docs/cmd/pp/chatbot/chatbot-remove.md +52 -0
  548. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.md +90 -0
  549. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.md +61 -0
  550. package/docs/docs/cmd/pp/environment/environment-get.md +2 -0
  551. package/docs/docs/cmd/pp/solution/solution-publisher-add.md +49 -0
  552. package/docs/docs/cmd/pp/solution/solution-publisher-remove.md +1 -1
  553. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +81 -0
  554. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +36 -0
  555. package/docs/docs/cmd/search/externalconnection/externalconnection-add.md +4 -0
  556. package/docs/docs/cmd/search/externalconnection/externalconnection-get.md +38 -0
  557. package/docs/docs/cmd/search/externalconnection/externalconnection-list.md +38 -0
  558. package/docs/docs/cmd/search/externalconnection/externalconnection-remove.md +4 -0
  559. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  560. package/docs/docs/cmd/spo/contenttype/contenttype-set.md +15 -1
  561. package/docs/docs/cmd/spo/list/{list-label-get.md → list-retentionlabel-get.md} +17 -11
  562. package/docs/docs/cmd/spo/list/list-retentionlabel-set.md +65 -0
  563. package/docs/docs/cmd/spo/navigation/navigation-node-add.md +6 -6
  564. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.md +9 -5
  565. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +42 -0
  566. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +25 -3
  567. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +22 -0
  568. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.md +6 -2
  569. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-set.md +5 -1
  570. package/docs/docs/cmd/spo/page/page-add.md +13 -9
  571. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +6 -2
  572. package/docs/docs/cmd/spo/page/page-column-get.md +68 -5
  573. package/docs/docs/cmd/spo/page/page-column-list.md +36 -4
  574. package/docs/docs/cmd/spo/page/page-control-get.md +70 -3
  575. package/docs/docs/cmd/spo/page/page-control-list.md +69 -3
  576. package/docs/docs/cmd/spo/page/page-control-set.md +11 -7
  577. package/docs/docs/cmd/spo/page/page-copy.md +65 -4
  578. package/docs/docs/cmd/spo/page/page-get.md +100 -4
  579. package/docs/docs/cmd/spo/page/page-header-set.md +17 -13
  580. package/docs/docs/cmd/spo/page/page-list.md +122 -1
  581. package/docs/docs/cmd/spo/page/page-remove.md +9 -5
  582. package/docs/docs/cmd/spo/page/page-section-add.md +10 -6
  583. package/docs/docs/cmd/spo/page/page-section-get.md +36 -4
  584. package/docs/docs/cmd/spo/page/page-section-list.md +38 -3
  585. package/docs/docs/cmd/spo/page/page-set.md +10 -10
  586. package/docs/docs/cmd/spo/page/page-template-list.md +58 -1
  587. package/docs/docs/cmd/spo/page/page-text-add.md +9 -5
  588. package/docs/docs/cmd/spo/propertybag/propertybag-get.md +28 -8
  589. package/docs/docs/cmd/spo/propertybag/propertybag-list.md +35 -7
  590. package/docs/docs/cmd/spo/propertybag/propertybag-remove.md +13 -9
  591. package/docs/docs/cmd/spo/propertybag/propertybag-set.md +13 -5
  592. package/docs/docs/cmd/spo/report/report-activityfilecounts.md +34 -2
  593. package/docs/docs/cmd/spo/report/report-activitypages.md +31 -2
  594. package/docs/docs/cmd/spo/report/report-activityusercounts.md +35 -2
  595. package/docs/docs/cmd/spo/report/report-activityuserdetail.md +40 -3
  596. package/docs/docs/cmd/spo/report/report-siteusagedetail.md +43 -3
  597. package/docs/docs/cmd/spo/report/report-siteusagefilecounts.md +33 -2
  598. package/docs/docs/cmd/spo/report/report-siteusagepages.md +32 -2
  599. package/docs/docs/cmd/spo/report/report-siteusagesitecounts.md +33 -2
  600. package/docs/docs/cmd/spo/report/report-siteusagestorage.md +32 -2
  601. package/docs/docs/cmd/spo/roledefinition/roledefinition-add.md +10 -6
  602. package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +80 -2
  603. package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +76 -2
  604. package/docs/docs/cmd/spo/roledefinition/roledefinition-remove.md +9 -5
  605. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +39 -2
  606. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +32 -0
  607. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.md +6 -2
  608. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +45 -2
  609. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.md +6 -2
  610. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +30 -0
  611. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +36 -2
  612. package/docs/docs/cmd/spo/web/web-retentionlabel-list.md +74 -0
  613. package/docs/docs/cmd/teams/meeting/meeting-attendancereport-list.md +69 -0
  614. package/docs/docs/cmd/teams/user/user-app-list.md +6 -0
  615. package/npm-shrinkwrap.json +246 -186
  616. package/package.json +13 -11
  617. package/docs/docs/cmd/spo/list/list-label-set.md +0 -55
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
12
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
13
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
14
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
15
+ };
16
+ var _PurviewRetentionLabelRemoveCommand_instances, _PurviewRetentionLabelRemoveCommand_initTelemetry, _PurviewRetentionLabelRemoveCommand_initOptions, _PurviewRetentionLabelRemoveCommand_initValidators;
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ const Cli_1 = require("../../../../cli/Cli");
19
+ const validation_1 = require("../../../../utils/validation");
20
+ const request_1 = require("../../../../request");
21
+ const GraphCommand_1 = require("../../../base/GraphCommand");
22
+ const commands_1 = require("../../commands");
23
+ class PurviewRetentionLabelRemoveCommand extends GraphCommand_1.default {
24
+ get name() {
25
+ return commands_1.default.RETENTIONLABEL_REMOVE;
26
+ }
27
+ get description() {
28
+ return 'Delete a retention label';
29
+ }
30
+ constructor() {
31
+ super();
32
+ _PurviewRetentionLabelRemoveCommand_instances.add(this);
33
+ __classPrivateFieldGet(this, _PurviewRetentionLabelRemoveCommand_instances, "m", _PurviewRetentionLabelRemoveCommand_initTelemetry).call(this);
34
+ __classPrivateFieldGet(this, _PurviewRetentionLabelRemoveCommand_instances, "m", _PurviewRetentionLabelRemoveCommand_initOptions).call(this);
35
+ __classPrivateFieldGet(this, _PurviewRetentionLabelRemoveCommand_instances, "m", _PurviewRetentionLabelRemoveCommand_initValidators).call(this);
36
+ }
37
+ commandAction(logger, args) {
38
+ return __awaiter(this, void 0, void 0, function* () {
39
+ const removeRetentionLabel = () => __awaiter(this, void 0, void 0, function* () {
40
+ try {
41
+ const requestOptions = {
42
+ url: `${this.resource}/beta/security/labels/retentionLabels/${args.options.id}`,
43
+ headers: {
44
+ accept: 'application/json;odata.metadata=none'
45
+ },
46
+ responseType: 'json'
47
+ };
48
+ yield request_1.default.delete(requestOptions);
49
+ }
50
+ catch (err) {
51
+ this.handleRejectedODataJsonPromise(err);
52
+ }
53
+ });
54
+ if (args.options.confirm) {
55
+ yield removeRetentionLabel();
56
+ }
57
+ else {
58
+ const result = yield Cli_1.Cli.prompt({
59
+ type: 'confirm',
60
+ name: 'continue',
61
+ default: false,
62
+ message: `Are you sure you want to remove the retention label ${args.options.id}?`
63
+ });
64
+ if (result.continue) {
65
+ yield removeRetentionLabel();
66
+ }
67
+ }
68
+ });
69
+ }
70
+ }
71
+ _PurviewRetentionLabelRemoveCommand_instances = new WeakSet(), _PurviewRetentionLabelRemoveCommand_initTelemetry = function _PurviewRetentionLabelRemoveCommand_initTelemetry() {
72
+ this.telemetry.push((args) => {
73
+ Object.assign(this.telemetryProperties, {
74
+ confirm: !!args.options.confirm
75
+ });
76
+ });
77
+ }, _PurviewRetentionLabelRemoveCommand_initOptions = function _PurviewRetentionLabelRemoveCommand_initOptions() {
78
+ this.options.unshift({
79
+ option: '-i, --id <id>'
80
+ }, {
81
+ option: '--confirm'
82
+ });
83
+ }, _PurviewRetentionLabelRemoveCommand_initValidators = function _PurviewRetentionLabelRemoveCommand_initValidators() {
84
+ this.validators.push((args) => __awaiter(this, void 0, void 0, function* () {
85
+ if (!validation_1.validation.isValidGuid(args.options.id)) {
86
+ return `'${args.options.id}' is not a valid GUID.`;
87
+ }
88
+ return true;
89
+ }));
90
+ };
91
+ module.exports = new PurviewRetentionLabelRemoveCommand();
92
+ //# sourceMappingURL=retentionlabel-remove.js.map
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const prefix = 'purview';
4
+ exports.default = {
5
+ RETENTIONLABEL_LIST: `${prefix} retentionlabel list`,
6
+ RETENTIONLABEL_REMOVE: `${prefix} retentionlabel remove`
7
+ };
8
+ //# sourceMappingURL=commands.js.map
@@ -19,6 +19,12 @@ const request_1 = require("../../../../request");
19
19
  const GraphCommand_1 = require("../../../base/GraphCommand");
20
20
  const commands_1 = require("../../commands");
21
21
  class SearchExternalConnectionAddCommand extends GraphCommand_1.default {
22
+ get name() {
23
+ return commands_1.default.EXTERNALCONNECTION_ADD;
24
+ }
25
+ get description() {
26
+ return 'Adds a new External Connection for Microsoft Search';
27
+ }
22
28
  constructor() {
23
29
  super();
24
30
  _SearchExternalConnectionAddCommand_instances.add(this);
@@ -26,12 +32,6 @@ class SearchExternalConnectionAddCommand extends GraphCommand_1.default {
26
32
  __classPrivateFieldGet(this, _SearchExternalConnectionAddCommand_instances, "m", _SearchExternalConnectionAddCommand_initOptions).call(this);
27
33
  __classPrivateFieldGet(this, _SearchExternalConnectionAddCommand_instances, "m", _SearchExternalConnectionAddCommand_initValidators).call(this);
28
34
  }
29
- get name() {
30
- return commands_1.default.EXTERNALCONNECTION_ADD;
31
- }
32
- get description() {
33
- return 'Adds a new External Connection for Microsoft Search';
34
- }
35
35
  commandAction(logger, args) {
36
36
  return __awaiter(this, void 0, void 0, function* () {
37
37
  let appIds = [];
@@ -20,6 +20,12 @@ const formatting_1 = require("../../../../utils/formatting");
20
20
  const GraphCommand_1 = require("../../../base/GraphCommand");
21
21
  const commands_1 = require("../../commands");
22
22
  class SearchExternalConnectionGetCommand extends GraphCommand_1.default {
23
+ get name() {
24
+ return commands_1.default.EXTERNALCONNECTION_GET;
25
+ }
26
+ get description() {
27
+ return 'Get a specific external connection for use in Microsoft Search';
28
+ }
23
29
  constructor() {
24
30
  super();
25
31
  _SearchExternalConnectionGetCommand_instances.add(this);
@@ -27,12 +33,6 @@ class SearchExternalConnectionGetCommand extends GraphCommand_1.default {
27
33
  __classPrivateFieldGet(this, _SearchExternalConnectionGetCommand_instances, "m", _SearchExternalConnectionGetCommand_initOptions).call(this);
28
34
  __classPrivateFieldGet(this, _SearchExternalConnectionGetCommand_instances, "m", _SearchExternalConnectionGetCommand_initOptionSets).call(this);
29
35
  }
30
- get name() {
31
- return commands_1.default.EXTERNALCONNECTION_GET;
32
- }
33
- get description() {
34
- return 'Get a specific external connection for use in Microsoft Search';
35
- }
36
36
  commandAction(logger, args) {
37
37
  return __awaiter(this, void 0, void 0, function* () {
38
38
  let url = `${this.resource}/v1.0/external/connections`;
@@ -21,6 +21,12 @@ const formatting_1 = require("../../../../utils/formatting");
21
21
  const GraphCommand_1 = require("../../../base/GraphCommand");
22
22
  const commands_1 = require("../../commands");
23
23
  class SearchExternalConnectionRemoveCommand extends GraphCommand_1.default {
24
+ get name() {
25
+ return commands_1.default.EXTERNALCONNECTION_REMOVE;
26
+ }
27
+ get description() {
28
+ return 'Removes a specific External Connection from Microsoft Search';
29
+ }
24
30
  constructor() {
25
31
  super();
26
32
  _SearchExternalConnectionRemoveCommand_instances.add(this);
@@ -28,12 +34,6 @@ class SearchExternalConnectionRemoveCommand extends GraphCommand_1.default {
28
34
  __classPrivateFieldGet(this, _SearchExternalConnectionRemoveCommand_instances, "m", _SearchExternalConnectionRemoveCommand_initOptions).call(this);
29
35
  __classPrivateFieldGet(this, _SearchExternalConnectionRemoveCommand_instances, "m", _SearchExternalConnectionRemoveCommand_initOptionSets).call(this);
30
36
  }
31
- get name() {
32
- return commands_1.default.EXTERNALCONNECTION_REMOVE;
33
- }
34
- get description() {
35
- return 'Removes a specific External Connection from Microsoft Search';
36
- }
37
37
  getExternalConnectionId(args) {
38
38
  if (args.options.id) {
39
39
  return Promise.resolve(args.options.id);
@@ -24,6 +24,12 @@ const fsUtil_1 = require("../../../../utils/fsUtil");
24
24
  const AnonymousCommand_1 = require("../../../base/AnonymousCommand");
25
25
  const commands_1 = require("../../commands");
26
26
  class SpfxPackageGenerateCommand extends AnonymousCommand_1.default {
27
+ get name() {
28
+ return commands_1.default.PACKAGE_GENERATE;
29
+ }
30
+ get description() {
31
+ return 'Generates SharePoint Framework solution package with a no-framework web part rendering the specified HTML snippet';
32
+ }
27
33
  constructor() {
28
34
  super();
29
35
  _SpfxPackageGenerateCommand_instances.add(this);
@@ -31,12 +37,6 @@ class SpfxPackageGenerateCommand extends AnonymousCommand_1.default {
31
37
  __classPrivateFieldGet(this, _SpfxPackageGenerateCommand_instances, "m", _SpfxPackageGenerateCommand_initOptions).call(this);
32
38
  __classPrivateFieldGet(this, _SpfxPackageGenerateCommand_instances, "m", _SpfxPackageGenerateCommand_initValidators).call(this);
33
39
  }
34
- get name() {
35
- return commands_1.default.PACKAGE_GENERATE;
36
- }
37
- get description() {
38
- return 'Generates SharePoint Framework solution package with a no-framework web part rendering the specified HTML snippet';
39
- }
40
40
  commandAction(logger, args) {
41
41
  return __awaiter(this, void 0, void 0, function* () {
42
42
  const supportedHosts = ['SharePointWebPart'];
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const FN001008_DEP_react_1 = require("./rules/FN001008_DEP_react");
4
+ const FN001009_DEP_react_dom_1 = require("./rules/FN001009_DEP_react_dom");
5
+ const FN001022_DEP_office_ui_fabric_react_1 = require("./rules/FN001022_DEP_office_ui_fabric_react");
6
+ const FN002004_DEVDEP_gulp_1 = require("./rules/FN002004_DEVDEP_gulp");
7
+ const FN002007_DEVDEP_ajv_1 = require("./rules/FN002007_DEVDEP_ajv");
8
+ const FN002013_DEVDEP_types_webpack_env_1 = require("./rules/FN002013_DEVDEP_types_webpack_env");
9
+ const FN002015_DEVDEP_types_react_1 = require("./rules/FN002015_DEVDEP_types_react");
10
+ const FN002016_DEVDEP_types_react_dom_1 = require("./rules/FN002016_DEVDEP_types_react_dom");
11
+ const FN002019_DEVDEP_microsoft_rush_stack_compiler_1 = require("./rules/FN002019_DEVDEP_microsoft_rush_stack_compiler");
12
+ module.exports = [
13
+ new FN001008_DEP_react_1.FN001008_DEP_react('17'),
14
+ new FN001009_DEP_react_dom_1.FN001009_DEP_react_dom('17'),
15
+ new FN001022_DEP_office_ui_fabric_react_1.FN001022_DEP_office_ui_fabric_react('^7.199.1'),
16
+ new FN002004_DEVDEP_gulp_1.FN002004_DEVDEP_gulp('4.0.2'),
17
+ new FN002007_DEVDEP_ajv_1.FN002007_DEVDEP_ajv('^6.12.5'),
18
+ new FN002013_DEVDEP_types_webpack_env_1.FN002013_DEVDEP_types_webpack_env('~1.15.2'),
19
+ new FN002015_DEVDEP_types_react_1.FN002015_DEVDEP_types_react('17'),
20
+ new FN002016_DEVDEP_types_react_dom_1.FN002016_DEVDEP_types_react_dom('17'),
21
+ new FN002019_DEVDEP_microsoft_rush_stack_compiler_1.FN002019_DEVDEP_microsoft_rush_stack_compiler(['4.5'])
22
+ ];
23
+ //# sourceMappingURL=doctor-1.16.1.js.map
@@ -25,6 +25,15 @@ const base_project_command_1 = require("./base-project-command");
25
25
  const generic_rules_1 = require("./project-doctor/generic-rules");
26
26
  const FN017001_MISC_npm_dedupe_1 = require("./project-upgrade/rules/FN017001_MISC_npm_dedupe");
27
27
  class SpfxProjectDoctorCommand extends base_project_command_1.BaseProjectCommand {
28
+ get allowedOutputs() {
29
+ return ['json', 'text', 'md', 'tour'];
30
+ }
31
+ get name() {
32
+ return commands_1.default.PROJECT_DOCTOR;
33
+ }
34
+ get description() {
35
+ return 'Validates correctness of a SharePoint Framework project';
36
+ }
28
37
  constructor() {
29
38
  super();
30
39
  _SpfxProjectDoctorCommand_instances.add(this);
@@ -62,21 +71,13 @@ class SpfxProjectDoctorCommand extends base_project_command_1.BaseProjectCommand
62
71
  '1.14.0',
63
72
  '1.15.0',
64
73
  '1.15.2',
65
- '1.16.0'
74
+ '1.16.0',
75
+ '1.16.1'
66
76
  ];
67
77
  __classPrivateFieldGet(this, _SpfxProjectDoctorCommand_instances, "m", _SpfxProjectDoctorCommand_initTelemetry).call(this);
68
78
  __classPrivateFieldGet(this, _SpfxProjectDoctorCommand_instances, "m", _SpfxProjectDoctorCommand_initOptions).call(this);
69
79
  __classPrivateFieldGet(this, _SpfxProjectDoctorCommand_instances, "m", _SpfxProjectDoctorCommand_initValidators).call(this);
70
80
  }
71
- get allowedOutputs() {
72
- return ['json', 'text', 'md', 'tour'];
73
- }
74
- get name() {
75
- return commands_1.default.PROJECT_DOCTOR;
76
- }
77
- get description() {
78
- return 'Validates correctness of a SharePoint Framework project';
79
- }
80
81
  commandAction(logger, args) {
81
82
  return __awaiter(this, void 0, void 0, function* () {
82
83
  this.projectRootPath = this.getProjectRoot(process.cwd());
@@ -182,6 +183,11 @@ class SpfxProjectDoctorCommand extends base_project_command_1.BaseProjectCommand
182
183
  }
183
184
  });
184
185
  }
186
+ getMdOutput(logStatement) {
187
+ // overwrite markdown output to return the output as-is
188
+ // because the command already implements its own logic to format the output
189
+ return logStatement;
190
+ }
185
191
  writeReportTourFolder(findingsToReport) {
186
192
  const toursFolder = path.join(this.projectRootPath, '.tours');
187
193
  if (!fs.existsSync(toursFolder)) {
@@ -22,6 +22,15 @@ const commands_1 = require("../../commands");
22
22
  const base_project_command_1 = require("./base-project-command");
23
23
  const rules = require("./project-externalize/DefaultRules");
24
24
  class SpfxProjectExternalizeCommand extends base_project_command_1.BaseProjectCommand {
25
+ get allowedOutputs() {
26
+ return ['json', 'text', 'md'];
27
+ }
28
+ get name() {
29
+ return commands_1.default.PROJECT_EXTERNALIZE;
30
+ }
31
+ get description() {
32
+ return 'Externalizes SharePoint Framework project dependencies';
33
+ }
25
34
  constructor() {
26
35
  super();
27
36
  _SpfxProjectExternalizeCommand_instances.add(this);
@@ -53,15 +62,6 @@ class SpfxProjectExternalizeCommand extends base_project_command_1.BaseProjectCo
53
62
  this.allEditSuggestions = [];
54
63
  __classPrivateFieldGet(this, _SpfxProjectExternalizeCommand_instances, "m", _SpfxProjectExternalizeCommand_initOptions).call(this);
55
64
  }
56
- get allowedOutputs() {
57
- return ['json', 'text', 'md'];
58
- }
59
- get name() {
60
- return commands_1.default.PROJECT_EXTERNALIZE;
61
- }
62
- get description() {
63
- return 'Externalizes SharePoint Framework project dependencies';
64
- }
65
65
  commandAction(logger, args) {
66
66
  return __awaiter(this, void 0, void 0, function* () {
67
67
  if (args.options.output !== 'json' || this.verbose) {
@@ -100,6 +100,11 @@ class SpfxProjectExternalizeCommand extends base_project_command_1.BaseProjectCo
100
100
  }
101
101
  });
102
102
  }
103
+ getMdOutput(logStatement) {
104
+ // overwrite markdown output to return the output as-is
105
+ // because the command already implements its own logic to format the output
106
+ return logStatement;
107
+ }
103
108
  writeReport(findingsToReport, editsToReport, logger, options) {
104
109
  let report;
105
110
  switch (options.output) {
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ScssFile = void 0;
4
4
  const fs = require("fs");
5
5
  class ScssFile {
6
- constructor(path) {
7
- this.path = path;
8
- }
9
6
  get source() {
10
7
  if (!this._source) {
11
8
  try {
@@ -15,6 +12,9 @@ class ScssFile {
15
12
  }
16
13
  return this._source;
17
14
  }
15
+ constructor(path) {
16
+ this.path = path;
17
+ }
18
18
  }
19
19
  exports.ScssFile = ScssFile;
20
20
  //# sourceMappingURL=ScssFile.js.map
@@ -5,9 +5,6 @@ const fs = require("fs");
5
5
  const path = require("path");
6
6
  const ts = require("typescript");
7
7
  class TsFile {
8
- constructor(path) {
9
- this.path = path;
10
- }
11
8
  get sourceFile() {
12
9
  if (!this._sourceFile) {
13
10
  if (!this.source) {
@@ -38,6 +35,9 @@ class TsFile {
38
35
  }
39
36
  return this._source;
40
37
  }
38
+ constructor(path) {
39
+ this.path = path;
40
+ }
41
41
  static getAsEnumerable(file, node) {
42
42
  const nodes = [node];
43
43
  node.getChildren(file).forEach(n => {
@@ -22,6 +22,12 @@ const Command_1 = require("../../../../Command");
22
22
  const commands_1 = require("../../commands");
23
23
  const base_project_command_1 = require("./base-project-command");
24
24
  class SpfxProjectRenameCommand extends base_project_command_1.BaseProjectCommand {
25
+ get name() {
26
+ return commands_1.default.PROJECT_RENAME;
27
+ }
28
+ get description() {
29
+ return 'Renames SharePoint Framework project';
30
+ }
25
31
  constructor() {
26
32
  super();
27
33
  _SpfxProjectRenameCommand_instances.add(this);
@@ -140,12 +146,6 @@ class SpfxProjectRenameCommand extends base_project_command_1.BaseProjectCommand
140
146
  __classPrivateFieldGet(this, _SpfxProjectRenameCommand_instances, "m", _SpfxProjectRenameCommand_initTelemetry).call(this);
141
147
  __classPrivateFieldGet(this, _SpfxProjectRenameCommand_instances, "m", _SpfxProjectRenameCommand_initOptions).call(this);
142
148
  }
143
- get name() {
144
- return commands_1.default.PROJECT_RENAME;
145
- }
146
- get description() {
147
- return 'Renames SharePoint Framework project';
148
- }
149
149
  commandAction(logger, args) {
150
150
  return __awaiter(this, void 0, void 0, function* () {
151
151
  this.projectRootPath = this.getProjectRoot(process.cwd());
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FN006006_CFG_PS_features = void 0;
4
+ const JsonRule_1 = require("../../JsonRule");
5
+ class FN006006_CFG_PS_features extends JsonRule_1.JsonRule {
6
+ get id() {
7
+ return 'FN006006';
8
+ }
9
+ get title() {
10
+ return 'package-solution.json features';
11
+ }
12
+ get description() {
13
+ return `In package-solution.json add features for components`;
14
+ }
15
+ get resolution() {
16
+ return '';
17
+ }
18
+ get resolutionType() {
19
+ return 'json';
20
+ }
21
+ get severity() {
22
+ return 'Required';
23
+ }
24
+ get file() {
25
+ return './config/package-solution.json';
26
+ }
27
+ visit(project, findings) {
28
+ if (!project.packageSolutionJson ||
29
+ !project.packageSolutionJson.solution ||
30
+ // if project already has features defined, we don't need to do anything
31
+ (project.packageSolutionJson.solution.features && project.packageSolutionJson.solution.features.length > 0) ||
32
+ // if there are no components, we don't need to do anything
33
+ !project.manifests || project.manifests.length < 1) {
34
+ return;
35
+ }
36
+ const occurrences = [];
37
+ project.manifests.forEach(manifest => {
38
+ var _a, _b;
39
+ const resolution = {
40
+ solution: {
41
+ features: [
42
+ {
43
+ title: `${(_a = project.packageJson) === null || _a === void 0 ? void 0 : _a.name} ${manifest.alias} Feature`,
44
+ description: `The feature that activates ${manifest.alias} from the ${(_b = project.packageJson) === null || _b === void 0 ? void 0 : _b.name} solution.`,
45
+ id: manifest.id,
46
+ version: project.packageSolutionJson.solution.version,
47
+ componentIds: [manifest.id]
48
+ }
49
+ ]
50
+ }
51
+ };
52
+ const node = this.getAstNodeFromFile(project.packageSolutionJson, 'solution');
53
+ occurrences.push({
54
+ file: this.file,
55
+ resolution: JSON.stringify(resolution, null, 2),
56
+ position: this.getPositionFromNode(node)
57
+ });
58
+ });
59
+ this.addFindingWithOccurrences(occurrences, findings);
60
+ }
61
+ }
62
+ exports.FN006006_CFG_PS_features = FN006006_CFG_PS_features;
63
+ //# sourceMappingURL=FN006006_CFG_PS_features.js.map
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FN015009_FILE_config_sass_json = void 0;
4
+ const FileAddRemoveRule_1 = require("./FileAddRemoveRule");
5
+ class FN015009_FILE_config_sass_json extends FileAddRemoveRule_1.FileAddRemoveRule {
6
+ constructor(add, contents) {
7
+ super('./config/sass.json', add, contents);
8
+ }
9
+ get id() {
10
+ return 'FN015009';
11
+ }
12
+ }
13
+ exports.FN015009_FILE_config_sass_json = FN015009_FILE_config_sass_json;
14
+ //# sourceMappingURL=FN015009_FILE_config_sass_json.js.map
@@ -25,6 +25,7 @@ const FN002009_DEVDEP_microsoft_sp_tslint_rules_1 = require("./rules/FN002009_DE
25
25
  const FN002019_DEVDEP_spfx_fast_serve_helpers_1 = require("./rules/FN002019_DEVDEP_spfx_fast_serve_helpers");
26
26
  const FN006004_CFG_PS_developer_1 = require("./rules/FN006004_CFG_PS_developer");
27
27
  const FN006005_CFG_PS_metadata_1 = require("./rules/FN006005_CFG_PS_metadata");
28
+ const FN006006_CFG_PS_features_1 = require("./rules/FN006006_CFG_PS_features");
28
29
  const FN010001_YORC_version_1 = require("./rules/FN010001_YORC_version");
29
30
  const FN014008_CODE_launch_hostedWorkbench_type_1 = require("./rules/FN014008_CODE_launch_hostedWorkbench_type");
30
31
  module.exports = [
@@ -53,6 +54,7 @@ module.exports = [
53
54
  new FN002019_DEVDEP_spfx_fast_serve_helpers_1.FN002019_DEVDEP_spfx_fast_serve_helpers('1.14.0'),
54
55
  new FN006004_CFG_PS_developer_1.FN006004_CFG_PS_developer('1.14.0'),
55
56
  new FN006005_CFG_PS_metadata_1.FN006005_CFG_PS_metadata(),
57
+ new FN006006_CFG_PS_features_1.FN006006_CFG_PS_features(),
56
58
  new FN010001_YORC_version_1.FN010001_YORC_version('1.14.0'),
57
59
  new FN014008_CODE_launch_hostedWorkbench_type_1.FN014008_CODE_launch_hostedWorkbench_type('pwa-chrome')
58
60
  ];
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const FN001001_DEP_microsoft_sp_core_library_1 = require("./rules/FN001001_DEP_microsoft_sp_core_library");
4
+ const FN001002_DEP_microsoft_sp_lodash_subset_1 = require("./rules/FN001002_DEP_microsoft_sp_lodash_subset");
5
+ const FN001003_DEP_microsoft_sp_office_ui_fabric_core_1 = require("./rules/FN001003_DEP_microsoft_sp_office_ui_fabric_core");
6
+ const FN001004_DEP_microsoft_sp_webpart_base_1 = require("./rules/FN001004_DEP_microsoft_sp_webpart_base");
7
+ const FN001011_DEP_microsoft_sp_dialog_1 = require("./rules/FN001011_DEP_microsoft_sp_dialog");
8
+ const FN001012_DEP_microsoft_sp_application_base_1 = require("./rules/FN001012_DEP_microsoft_sp_application_base");
9
+ const FN001013_DEP_microsoft_decorators_1 = require("./rules/FN001013_DEP_microsoft_decorators");
10
+ const FN001014_DEP_microsoft_sp_listview_extensibility_1 = require("./rules/FN001014_DEP_microsoft_sp_listview_extensibility");
11
+ const FN001021_DEP_microsoft_sp_property_pane_1 = require("./rules/FN001021_DEP_microsoft_sp_property_pane");
12
+ const FN001023_DEP_microsoft_sp_component_base_1 = require("./rules/FN001023_DEP_microsoft_sp_component_base");
13
+ const FN001024_DEP_microsoft_sp_diagnostics_1 = require("./rules/FN001024_DEP_microsoft_sp_diagnostics");
14
+ const FN001025_DEP_microsoft_sp_dynamic_data_1 = require("./rules/FN001025_DEP_microsoft_sp_dynamic_data");
15
+ const FN001026_DEP_microsoft_sp_extension_base_1 = require("./rules/FN001026_DEP_microsoft_sp_extension_base");
16
+ const FN001027_DEP_microsoft_sp_http_1 = require("./rules/FN001027_DEP_microsoft_sp_http");
17
+ const FN001028_DEP_microsoft_sp_list_subscription_1 = require("./rules/FN001028_DEP_microsoft_sp_list_subscription");
18
+ const FN001029_DEP_microsoft_sp_loader_1 = require("./rules/FN001029_DEP_microsoft_sp_loader");
19
+ const FN001030_DEP_microsoft_sp_module_interfaces_1 = require("./rules/FN001030_DEP_microsoft_sp_module_interfaces");
20
+ const FN001031_DEP_microsoft_sp_odata_types_1 = require("./rules/FN001031_DEP_microsoft_sp_odata_types");
21
+ const FN001032_DEP_microsoft_sp_page_context_1 = require("./rules/FN001032_DEP_microsoft_sp_page_context");
22
+ const FN001034_DEP_microsoft_sp_adaptive_card_extension_base_1 = require("./rules/FN001034_DEP_microsoft_sp_adaptive_card_extension_base");
23
+ const FN002001_DEVDEP_microsoft_sp_build_web_1 = require("./rules/FN002001_DEVDEP_microsoft_sp_build_web");
24
+ const FN002002_DEVDEP_microsoft_sp_module_interfaces_1 = require("./rules/FN002002_DEVDEP_microsoft_sp_module_interfaces");
25
+ const FN002022_DEVDEP_microsoft_eslint_plugin_spfx_1 = require("./rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx");
26
+ const FN002023_DEVDEP_microsoft_eslint_config_spfx_1 = require("./rules/FN002023_DEVDEP_microsoft_eslint_config_spfx");
27
+ const FN010001_YORC_version_1 = require("./rules/FN010001_YORC_version");
28
+ const FN015009_FILE_config_sass_json_1 = require("./rules/FN015009_FILE_config_sass_json");
29
+ module.exports = [
30
+ new FN001001_DEP_microsoft_sp_core_library_1.FN001001_DEP_microsoft_sp_core_library('1.16.1'),
31
+ new FN001002_DEP_microsoft_sp_lodash_subset_1.FN001002_DEP_microsoft_sp_lodash_subset('1.16.1'),
32
+ new FN001003_DEP_microsoft_sp_office_ui_fabric_core_1.FN001003_DEP_microsoft_sp_office_ui_fabric_core('1.16.1'),
33
+ new FN001004_DEP_microsoft_sp_webpart_base_1.FN001004_DEP_microsoft_sp_webpart_base('1.16.1'),
34
+ new FN001011_DEP_microsoft_sp_dialog_1.FN001011_DEP_microsoft_sp_dialog('1.16.1'),
35
+ new FN001012_DEP_microsoft_sp_application_base_1.FN001012_DEP_microsoft_sp_application_base('1.16.1'),
36
+ new FN001014_DEP_microsoft_sp_listview_extensibility_1.FN001014_DEP_microsoft_sp_listview_extensibility('1.16.1'),
37
+ new FN001021_DEP_microsoft_sp_property_pane_1.FN001021_DEP_microsoft_sp_property_pane('1.16.1'),
38
+ new FN001023_DEP_microsoft_sp_component_base_1.FN001023_DEP_microsoft_sp_component_base('1.16.1'),
39
+ new FN001024_DEP_microsoft_sp_diagnostics_1.FN001024_DEP_microsoft_sp_diagnostics('1.16.1'),
40
+ new FN001025_DEP_microsoft_sp_dynamic_data_1.FN001025_DEP_microsoft_sp_dynamic_data('1.16.1'),
41
+ new FN001026_DEP_microsoft_sp_extension_base_1.FN001026_DEP_microsoft_sp_extension_base('1.16.1'),
42
+ new FN001027_DEP_microsoft_sp_http_1.FN001027_DEP_microsoft_sp_http('1.16.1'),
43
+ new FN001028_DEP_microsoft_sp_list_subscription_1.FN001028_DEP_microsoft_sp_list_subscription('1.16.1'),
44
+ new FN001029_DEP_microsoft_sp_loader_1.FN001029_DEP_microsoft_sp_loader('1.16.1'),
45
+ new FN001030_DEP_microsoft_sp_module_interfaces_1.FN001030_DEP_microsoft_sp_module_interfaces('1.16.1'),
46
+ new FN001031_DEP_microsoft_sp_odata_types_1.FN001031_DEP_microsoft_sp_odata_types('1.16.1'),
47
+ new FN001032_DEP_microsoft_sp_page_context_1.FN001032_DEP_microsoft_sp_page_context('1.16.1'),
48
+ new FN001013_DEP_microsoft_decorators_1.FN001013_DEP_microsoft_decorators('1.16.1'),
49
+ new FN001034_DEP_microsoft_sp_adaptive_card_extension_base_1.FN001034_DEP_microsoft_sp_adaptive_card_extension_base('1.16.1'),
50
+ new FN002022_DEVDEP_microsoft_eslint_plugin_spfx_1.FN002022_DEVDEP_microsoft_eslint_plugin_spfx('1.16.1'),
51
+ new FN002023_DEVDEP_microsoft_eslint_config_spfx_1.FN002023_DEVDEP_microsoft_eslint_config_spfx('1.16.1'),
52
+ new FN002001_DEVDEP_microsoft_sp_build_web_1.FN002001_DEVDEP_microsoft_sp_build_web('1.16.1'),
53
+ new FN002002_DEVDEP_microsoft_sp_module_interfaces_1.FN002002_DEVDEP_microsoft_sp_module_interfaces('1.16.1'),
54
+ new FN010001_YORC_version_1.FN010001_YORC_version('1.16.1'),
55
+ new FN015009_FILE_config_sass_json_1.FN015009_FILE_config_sass_json(true, `{
56
+ "$schema": "https://developer.microsoft.com/json-schemas/core-build/sass.schema.json"
57
+ }`)
58
+ ];
59
+ //# sourceMappingURL=upgrade-1.16.1.js.map
@@ -25,6 +25,15 @@ const commands_1 = require("../../commands");
25
25
  const base_project_command_1 = require("./base-project-command");
26
26
  const FN017001_MISC_npm_dedupe_1 = require("./project-upgrade/rules/FN017001_MISC_npm_dedupe");
27
27
  class SpfxProjectUpgradeCommand extends base_project_command_1.BaseProjectCommand {
28
+ get name() {
29
+ return commands_1.default.PROJECT_UPGRADE;
30
+ }
31
+ get description() {
32
+ return 'Upgrades SharePoint Framework project to the specified version';
33
+ }
34
+ get allowedOutputs() {
35
+ return ['json', 'text', 'md', 'tour'];
36
+ }
28
37
  constructor() {
29
38
  super();
30
39
  _SpfxProjectUpgradeCommand_instances.add(this);
@@ -64,21 +73,13 @@ class SpfxProjectUpgradeCommand extends base_project_command_1.BaseProjectComman
64
73
  '1.14.0',
65
74
  '1.15.0',
66
75
  '1.15.2',
67
- '1.16.0'
76
+ '1.16.0',
77
+ '1.16.1'
68
78
  ];
69
79
  __classPrivateFieldGet(this, _SpfxProjectUpgradeCommand_instances, "m", _SpfxProjectUpgradeCommand_initTelemetry).call(this);
70
80
  __classPrivateFieldGet(this, _SpfxProjectUpgradeCommand_instances, "m", _SpfxProjectUpgradeCommand_initOptions).call(this);
71
81
  __classPrivateFieldGet(this, _SpfxProjectUpgradeCommand_instances, "m", _SpfxProjectUpgradeCommand_initValidators).call(this);
72
82
  }
73
- get name() {
74
- return commands_1.default.PROJECT_UPGRADE;
75
- }
76
- get description() {
77
- return 'Upgrades SharePoint Framework project to the specified version';
78
- }
79
- get allowedOutputs() {
80
- return ['json', 'text', 'md', 'tour'];
81
- }
82
83
  commandAction(logger, args) {
83
84
  return __awaiter(this, void 0, void 0, function* () {
84
85
  this.projectRootPath = this.getProjectRoot(process.cwd());
@@ -264,6 +265,11 @@ class SpfxProjectUpgradeCommand extends base_project_command_1.BaseProjectComman
264
265
  }
265
266
  });
266
267
  }
268
+ getMdOutput(logStatement) {
269
+ // overwrite markdown output to return the output as-is
270
+ // because the command already implements its own logic to format the output
271
+ return logStatement;
272
+ }
267
273
  writeReportTourFolder(findingsToReport) {
268
274
  const toursFolder = path.join(this.projectRootPath, '.tours');
269
275
  if (!fs.existsSync(toursFolder)) {