@pnp/cli-microsoft365 7.0.0-beta.f2e9fd9 → 7.0.0

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 (1652) hide show
  1. package/{.eslintrc.js → .eslintrc.cjs} +2 -4
  2. package/README.md +11 -9
  3. package/dist/Auth.js +367 -392
  4. package/dist/AuthServer.js +8 -12
  5. package/dist/Command.js +184 -215
  6. package/dist/GlobalOptions.js +1 -10
  7. package/dist/api.js +5 -9
  8. package/dist/appInsights.js +17 -16
  9. package/dist/auth/FileTokenStorage.js +4 -8
  10. package/dist/auth/TokenStorage.js +1 -2
  11. package/dist/auth/msalCachePlugin.js +17 -33
  12. package/dist/autocomplete.js +12 -13
  13. package/dist/chili/chili.js +208 -232
  14. package/dist/chili/index.js +2 -13
  15. package/dist/cli/Cli.js +302 -292
  16. package/dist/cli/CommandInfo.js +1 -2
  17. package/dist/cli/CommandOptionInfo.js +1 -2
  18. package/dist/cli/Logger.js +1 -2
  19. package/dist/config.js +3 -5
  20. package/dist/index.js +14 -13
  21. package/dist/m365/aad/commands/app/app-add.js +411 -453
  22. package/dist/m365/aad/commands/app/app-get.js +94 -110
  23. package/dist/m365/aad/commands/app/app-list.js +14 -27
  24. package/dist/m365/aad/commands/app/app-remove.js +75 -88
  25. package/dist/m365/aad/commands/app/app-role-add.js +79 -93
  26. package/dist/m365/aad/commands/app/app-role-list.js +47 -59
  27. package/dist/m365/aad/commands/app/app-role-remove.js +134 -154
  28. package/dist/m365/aad/commands/app/app-set.js +200 -222
  29. package/dist/m365/aad/commands/approleassignment/ServicePrincipal.js +2 -0
  30. package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +122 -132
  31. package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +91 -112
  32. package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +122 -139
  33. package/dist/m365/aad/commands/group/group-get.js +25 -38
  34. package/dist/m365/aad/commands/group/group-list.js +30 -65
  35. package/dist/m365/aad/commands/group/group-remove.js +98 -0
  36. package/dist/m365/aad/commands/groupsetting/groupsetting-add.js +41 -54
  37. package/dist/m365/aad/commands/groupsetting/groupsetting-get.js +25 -38
  38. package/dist/m365/aad/commands/groupsetting/groupsetting-list.js +14 -27
  39. package/dist/m365/aad/commands/groupsetting/groupsetting-remove.js +43 -56
  40. package/dist/m365/aad/commands/groupsetting/groupsetting-set.js +41 -54
  41. package/dist/m365/aad/commands/groupsettingtemplate/groupsettingtemplate-get.js +22 -35
  42. package/dist/m365/aad/commands/groupsettingtemplate/groupsettingtemplate-list.js +14 -27
  43. package/dist/m365/aad/commands/license/license-list.js +17 -30
  44. package/dist/m365/aad/commands/m365group/GroupExtended.js +2 -0
  45. package/dist/m365/aad/commands/m365group/m365group-add.js +266 -0
  46. package/dist/m365/aad/commands/m365group/m365group-conversation-list.js +55 -0
  47. package/dist/m365/aad/commands/m365group/m365group-conversation-post-list.js +79 -0
  48. package/dist/m365/aad/commands/m365group/m365group-get.js +66 -0
  49. package/dist/m365/aad/commands/m365group/m365group-list.js +100 -0
  50. package/dist/m365/aad/commands/m365group/m365group-recyclebinitem-clear.js +82 -0
  51. package/dist/m365/aad/commands/m365group/m365group-recyclebinitem-list.js +57 -0
  52. package/dist/m365/aad/commands/m365group/m365group-recyclebinitem-remove.js +122 -0
  53. package/dist/m365/aad/commands/m365group/m365group-recyclebinitem-restore.js +107 -0
  54. package/dist/m365/aad/commands/m365group/m365group-remove.js +98 -0
  55. package/dist/m365/aad/commands/m365group/m365group-renew.js +60 -0
  56. package/dist/m365/aad/commands/m365group/m365group-report-activitycounts.js +15 -0
  57. package/dist/m365/aad/commands/m365group/m365group-report-activitydetail.js +15 -0
  58. package/dist/m365/aad/commands/m365group/m365group-report-activityfilecounts.js +15 -0
  59. package/dist/m365/aad/commands/m365group/m365group-report-activitygroupcounts.js +15 -0
  60. package/dist/m365/aad/commands/m365group/m365group-report-activitystorage.js +15 -0
  61. package/dist/m365/aad/commands/m365group/m365group-set.js +236 -0
  62. package/dist/m365/aad/commands/m365group/m365group-teamify.js +112 -0
  63. package/dist/m365/aad/commands/m365group/m365group-user-add.js +101 -0
  64. package/dist/m365/aad/commands/m365group/m365group-user-list.js +94 -0
  65. package/dist/m365/aad/commands/m365group/m365group-user-remove.js +139 -0
  66. package/dist/m365/aad/commands/m365group/m365group-user-set.js +157 -0
  67. package/dist/m365/aad/commands/oauth2grant/oauth2grant-add.js +35 -48
  68. package/dist/m365/aad/commands/oauth2grant/oauth2grant-list.js +30 -43
  69. package/dist/m365/aad/commands/oauth2grant/oauth2grant-remove.js +40 -53
  70. package/dist/m365/aad/commands/oauth2grant/oauth2grant-set.js +27 -40
  71. package/dist/m365/aad/commands/policy/policy-list.js +48 -63
  72. package/dist/m365/aad/commands/siteclassification/SiteClassificationSettings.js +1 -5
  73. package/dist/m365/aad/commands/siteclassification/siteclassification-disable.js +57 -70
  74. package/dist/m365/aad/commands/siteclassification/siteclassification-enable.js +78 -91
  75. package/dist/m365/aad/commands/siteclassification/siteclassification-get.js +62 -75
  76. package/dist/m365/aad/commands/siteclassification/siteclassification-set.js +102 -115
  77. package/dist/m365/aad/commands/sp/sp-add.js +59 -71
  78. package/dist/m365/aad/commands/sp/sp-get.js +59 -71
  79. package/dist/m365/aad/commands/sp/sp-list.js +25 -38
  80. package/dist/m365/aad/commands/user/user-add.js +43 -57
  81. package/dist/m365/aad/commands/user/user-get.js +58 -60
  82. package/dist/m365/aad/commands/user/user-guest-add.js +31 -44
  83. package/dist/m365/aad/commands/user/user-hibp.js +31 -44
  84. package/dist/m365/aad/commands/user/user-license-add.js +29 -42
  85. package/dist/m365/aad/commands/user/user-license-list.js +36 -49
  86. package/dist/m365/aad/commands/user/user-license-remove.js +49 -64
  87. package/dist/m365/aad/commands/user/user-list.js +26 -42
  88. package/dist/m365/aad/commands/user/user-password-validate.js +24 -37
  89. package/dist/m365/aad/commands/user/user-recyclebinitem-clear.js +55 -68
  90. package/dist/m365/aad/commands/user/user-recyclebinitem-list.js +17 -30
  91. package/dist/m365/aad/commands/user/user-recyclebinitem-remove.js +41 -54
  92. package/dist/m365/aad/commands/user/user-recyclebinitem-restore.js +28 -41
  93. package/dist/m365/aad/commands/user/user-remove.js +45 -60
  94. package/dist/m365/aad/commands/user/user-set.js +103 -122
  95. package/dist/m365/aad/commands/user/user-signin-list.js +33 -46
  96. package/dist/m365/aad/commands.js +24 -25
  97. package/dist/m365/adaptivecard/commands/adaptivecard-send.js +47 -60
  98. package/dist/m365/adaptivecard/commands.js +1 -3
  99. package/dist/m365/app/commands/app-get.js +23 -36
  100. package/dist/m365/app/commands/app-open.js +24 -39
  101. package/dist/m365/app/commands/permission/permission-add.js +91 -155
  102. package/dist/m365/app/commands/permission/permission-list.js +201 -227
  103. package/dist/m365/app/commands.js +1 -3
  104. package/dist/m365/base/AnonymousCommand.js +5 -19
  105. package/dist/m365/base/AppCommand.js +55 -71
  106. package/dist/m365/base/AzmgmtCommand.js +6 -9
  107. package/dist/m365/base/AzmgmtItemsListCommand.js +33 -48
  108. package/dist/m365/base/ContextCommand.js +6 -9
  109. package/dist/m365/base/DateAndPeriodBasedReport.js +11 -24
  110. package/dist/m365/base/GraphCommand.js +2 -5
  111. package/dist/m365/base/M365RcJson.js +1 -2
  112. package/dist/m365/base/O365MgmtCommand.js +2 -5
  113. package/dist/m365/base/PeriodBasedReport.js +41 -58
  114. package/dist/m365/base/PlannerCommand.js +2 -5
  115. package/dist/m365/base/PowerAppsCommand.js +6 -9
  116. package/dist/m365/base/PowerBICommand.js +2 -5
  117. package/dist/m365/base/PowerPlatformCommand.js +6 -9
  118. package/dist/m365/base/SpoCommand.js +33 -50
  119. package/dist/m365/base/YammerCommand.js +5 -8
  120. package/dist/m365/booking/commands/business/business-get.js +38 -51
  121. package/dist/m365/booking/commands/business/business-list.js +15 -28
  122. package/dist/m365/booking/commands.js +1 -3
  123. package/dist/m365/cli/commands/cli-consent.js +19 -34
  124. package/dist/m365/cli/commands/cli-doctor.js +35 -49
  125. package/dist/m365/cli/commands/cli-issue.js +28 -41
  126. package/dist/m365/cli/commands/cli-reconsent.js +22 -35
  127. package/dist/m365/cli/commands/completion/completion-clink-update.js +8 -21
  128. package/dist/m365/cli/commands/completion/completion-pwsh-setup.js +48 -59
  129. package/dist/m365/cli/commands/completion/completion-pwsh-update.js +11 -24
  130. package/dist/m365/cli/commands/completion/completion-sh-setup.js +16 -29
  131. package/dist/m365/cli/commands/completion/completion-sh-update.js +11 -24
  132. package/dist/m365/cli/commands/config/config-get.js +17 -30
  133. package/dist/m365/cli/commands/config/config-list.js +16 -0
  134. package/dist/m365/cli/commands/config/config-reset.js +22 -35
  135. package/dist/m365/cli/commands/config/config-set.js +41 -54
  136. package/dist/m365/cli/commands.js +2 -3
  137. package/dist/m365/commands/commands.js +1 -3
  138. package/dist/m365/commands/docs.js +15 -28
  139. package/dist/m365/commands/login.js +107 -123
  140. package/dist/m365/commands/logout.js +30 -45
  141. package/dist/m365/commands/request.js +65 -78
  142. package/dist/m365/commands/setup.js +90 -103
  143. package/dist/m365/commands/setupPresets.js +3 -6
  144. package/dist/m365/commands/status.js +50 -65
  145. package/dist/m365/commands/version.js +8 -21
  146. package/dist/m365/context/commands/context-init.js +7 -20
  147. package/dist/m365/context/commands/context-remove.js +27 -40
  148. package/dist/m365/context/commands/option/option-list.js +29 -42
  149. package/dist/m365/context/commands/option/option-remove.js +33 -46
  150. package/dist/m365/context/commands/option/option-set.js +38 -51
  151. package/dist/m365/context/commands.js +1 -3
  152. package/dist/m365/file/commands/convert/convert-pdf.js +254 -287
  153. package/dist/m365/file/commands/file-add.js +138 -161
  154. package/dist/m365/file/commands/file-list.js +121 -142
  155. package/dist/m365/file/commands.js +1 -3
  156. package/dist/m365/flow/commands/environment/FlowEnvironmentDetails.js +1 -2
  157. package/dist/m365/flow/commands/environment/environment-get.js +33 -45
  158. package/dist/m365/flow/commands/environment/environment-list.js +21 -41
  159. package/dist/m365/flow/commands/flow-disable.js +24 -37
  160. package/dist/m365/flow/commands/flow-enable.js +24 -37
  161. package/dist/m365/flow/commands/flow-export.js +115 -128
  162. package/dist/m365/flow/commands/flow-get.js +29 -42
  163. package/dist/m365/flow/commands/flow-list.js +45 -58
  164. package/dist/m365/flow/commands/flow-remove.js +50 -63
  165. package/dist/m365/flow/commands/owner/owner-ensure.js +70 -83
  166. package/dist/m365/flow/commands/owner/owner-list.js +32 -45
  167. package/dist/m365/flow/commands/owner/owner-remove.js +67 -80
  168. package/dist/m365/flow/commands/run/run-cancel.js +45 -58
  169. package/dist/m365/flow/commands/run/run-get.js +45 -58
  170. package/dist/m365/flow/commands/run/run-list.js +34 -52
  171. package/dist/m365/flow/commands/run/run-resubmit.js +60 -75
  172. package/dist/m365/flow/commands.js +1 -3
  173. package/dist/m365/graph/Changelog.js +1 -2
  174. package/dist/m365/graph/commands/changelog/changelog-list.js +37 -50
  175. package/dist/m365/graph/commands/schemaextension/schemaextension-add.js +38 -51
  176. package/dist/m365/graph/commands/schemaextension/schemaextension-get.js +25 -38
  177. package/dist/m365/graph/commands/schemaextension/schemaextension-list.js +46 -59
  178. package/dist/m365/graph/commands/schemaextension/schemaextension-remove.js +41 -54
  179. package/dist/m365/graph/commands/schemaextension/schemaextension-set.js +65 -78
  180. package/dist/m365/graph/commands/subscription/subscription-add.js +49 -62
  181. package/dist/m365/graph/commands.js +1 -3
  182. package/dist/m365/onedrive/commands/onedrive-list.js +41 -56
  183. package/dist/m365/onedrive/commands/report/report-activityfilecounts.js +5 -7
  184. package/dist/m365/onedrive/commands/report/report-activityusercounts.js +5 -7
  185. package/dist/m365/onedrive/commands/report/report-activityuserdetail.js +5 -7
  186. package/dist/m365/onedrive/commands/report/report-usageaccountcounts.js +5 -7
  187. package/dist/m365/onedrive/commands/report/report-usageaccountdetail.js +5 -7
  188. package/dist/m365/onedrive/commands/report/report-usagefilecounts.js +5 -7
  189. package/dist/m365/onedrive/commands/report/report-usagestorage.js +5 -7
  190. package/dist/m365/onedrive/commands.js +1 -3
  191. package/dist/m365/onenote/commands/notebook/notebook-list.js +61 -80
  192. package/dist/m365/onenote/commands/page/page-list.js +50 -67
  193. package/dist/m365/onenote/commands.js +1 -3
  194. package/dist/m365/outlook/Outlook.js +1 -5
  195. package/dist/m365/outlook/commands/mail/mail-send.js +35 -49
  196. package/dist/m365/outlook/commands/message/message-get.js +43 -56
  197. package/dist/m365/outlook/commands/message/message-list.js +49 -62
  198. package/dist/m365/outlook/commands/message/message-move.js +54 -67
  199. package/dist/m365/outlook/commands/report/report-mailactivitycounts.js +5 -7
  200. package/dist/m365/outlook/commands/report/report-mailactivityusercounts.js +5 -7
  201. package/dist/m365/outlook/commands/report/report-mailactivityuserdetail.js +5 -7
  202. package/dist/m365/outlook/commands/report/report-mailappusageappsusercounts.js +5 -7
  203. package/dist/m365/outlook/commands/report/report-mailappusageusercounts.js +5 -7
  204. package/dist/m365/outlook/commands/report/report-mailappusageuserdetail.js +5 -7
  205. package/dist/m365/outlook/commands/report/report-mailappusageversionsusercounts.js +5 -7
  206. package/dist/m365/outlook/commands/report/report-mailboxusagedetail.js +5 -7
  207. package/dist/m365/outlook/commands/report/report-mailboxusagemailboxcount.js +5 -7
  208. package/dist/m365/outlook/commands/report/report-mailboxusagequotastatusmailboxcounts.js +5 -7
  209. package/dist/m365/outlook/commands/report/report-mailboxusagestorage.js +5 -7
  210. package/dist/m365/outlook/commands/room/room-list.js +18 -31
  211. package/dist/m365/outlook/commands/roomlist/roomlist-list.js +14 -27
  212. package/dist/m365/outlook/commands.js +1 -3
  213. package/dist/m365/pa/commands/app/app-consent-set.js +46 -61
  214. package/dist/m365/pa/commands/app/app-export.js +116 -135
  215. package/dist/m365/pa/commands/app/app-get.js +60 -75
  216. package/dist/m365/pa/commands/app/app-list.js +30 -43
  217. package/dist/m365/pa/commands/app/app-owner-set.js +100 -0
  218. package/dist/m365/pa/commands/app/app-permission-ensure.js +162 -0
  219. package/dist/m365/pa/commands/app/app-permission-list.js +91 -0
  220. package/dist/m365/pa/commands/app/app-permission-remove.js +153 -0
  221. package/dist/m365/pa/commands/app/app-remove.js +49 -62
  222. package/dist/m365/pa/commands/connector/Connector.js +1 -2
  223. package/dist/m365/pa/commands/connector/connector-export.js +115 -128
  224. package/dist/m365/pa/commands/connector/connector-list.js +26 -39
  225. package/dist/m365/pa/commands/environment/environment-get.js +31 -44
  226. package/dist/m365/pa/commands/environment/environment-list.js +28 -41
  227. package/dist/m365/pa/commands.js +6 -7
  228. package/dist/m365/planner/AppliedCategories.js +1 -2
  229. package/dist/m365/planner/Task.js +1 -2
  230. package/dist/m365/planner/commands/bucket/bucket-add.js +60 -70
  231. package/dist/m365/planner/commands/bucket/bucket-get.js +95 -103
  232. package/dist/m365/planner/commands/bucket/bucket-list.js +48 -58
  233. package/dist/m365/planner/commands/bucket/bucket-remove.js +106 -114
  234. package/dist/m365/planner/commands/bucket/bucket-set.js +98 -113
  235. package/dist/m365/planner/commands/plan/plan-add.js +109 -129
  236. package/dist/m365/planner/commands/plan/plan-get.js +56 -71
  237. package/dist/m365/planner/commands/plan/plan-list.js +35 -48
  238. package/dist/m365/planner/commands/plan/plan-remove.js +63 -77
  239. package/dist/m365/planner/commands/plan/plan-set.js +153 -179
  240. package/dist/m365/planner/commands/roster/roster-add.js +26 -39
  241. package/dist/m365/planner/commands/roster/roster-get.js +28 -38
  242. package/dist/m365/planner/commands/roster/roster-member-add.js +47 -70
  243. package/dist/m365/planner/commands/roster/roster-member-get.js +40 -52
  244. package/dist/m365/planner/commands/roster/roster-member-list.js +21 -31
  245. package/dist/m365/planner/commands/roster/roster-member-remove.js +71 -87
  246. package/dist/m365/planner/commands/roster/roster-plan-list.js +43 -53
  247. package/dist/m365/planner/commands/roster/roster-remove.js +44 -56
  248. package/dist/m365/planner/commands/task/task-add.js +165 -183
  249. package/dist/m365/planner/commands/task/task-checklistitem-add.js +54 -66
  250. package/dist/m365/planner/commands/task/task-checklistitem-list.js +32 -42
  251. package/dist/m365/planner/commands/task/task-checklistitem-remove.js +59 -73
  252. package/dist/m365/planner/commands/task/task-get.js +139 -146
  253. package/dist/m365/planner/commands/task/task-list.js +108 -112
  254. package/dist/m365/planner/commands/task/task-reference-add.js +49 -56
  255. package/dist/m365/planner/commands/task/task-reference-list.js +26 -36
  256. package/dist/m365/planner/commands/task/task-reference-remove.js +76 -91
  257. package/dist/m365/planner/commands/task/task-remove.js +136 -146
  258. package/dist/m365/planner/commands/task/task-set.js +178 -192
  259. package/dist/m365/planner/commands/tenant/tenant-settings-list.js +21 -34
  260. package/dist/m365/planner/commands/tenant/tenant-settings-set.js +31 -44
  261. package/dist/m365/planner/commands.js +1 -3
  262. package/dist/m365/planner/taskPriority.js +1 -4
  263. package/dist/m365/pp/commands/Environment.js +1 -2
  264. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +48 -60
  265. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-list.js +20 -33
  266. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-remove.js +63 -80
  267. package/dist/m365/pp/commands/card/card-clone.js +55 -72
  268. package/dist/m365/pp/commands/card/card-get.js +48 -65
  269. package/dist/m365/pp/commands/card/card-list.js +20 -33
  270. package/dist/m365/pp/commands/card/card-remove.js +63 -80
  271. package/dist/m365/pp/commands/chatbot/chatbot-get.js +48 -61
  272. package/dist/m365/pp/commands/chatbot/chatbot-list.js +23 -36
  273. package/dist/m365/pp/commands/chatbot/chatbot-remove.js +64 -81
  274. package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +27 -40
  275. package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +21 -34
  276. package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +43 -58
  277. package/dist/m365/pp/commands/dataverse/dataverse-table-row-list.js +36 -51
  278. package/dist/m365/pp/commands/dataverse/dataverse-table-row-remove.js +58 -75
  279. package/dist/m365/pp/commands/environment/environment-get.js +26 -39
  280. package/dist/m365/pp/commands/environment/environment-list.js +35 -48
  281. package/dist/m365/pp/commands/gateway/gateway-get.js +21 -34
  282. package/dist/m365/pp/commands/gateway/gateway-list.js +24 -37
  283. package/dist/m365/pp/commands/managementapp/managementapp-add.js +51 -63
  284. package/dist/m365/pp/commands/managementapp/managementapp-list.js +15 -28
  285. package/dist/m365/pp/commands/solution/Solution.js +1 -2
  286. package/dist/m365/pp/commands/solution/solution-get.js +51 -66
  287. package/dist/m365/pp/commands/solution/solution-list.js +32 -45
  288. package/dist/m365/pp/commands/solution/solution-publish.js +70 -87
  289. package/dist/m365/pp/commands/solution/solution-publisher-add.js +34 -47
  290. package/dist/m365/pp/commands/solution/solution-publisher-get.js +40 -55
  291. package/dist/m365/pp/commands/solution/solution-publisher-list.js +27 -40
  292. package/dist/m365/pp/commands/solution/solution-publisher-remove.js +63 -80
  293. package/dist/m365/pp/commands/solution/solution-remove.js +63 -80
  294. package/dist/m365/pp/commands/tenant/tenant-settings-list.js +21 -34
  295. package/dist/m365/pp/commands/tenant/tenant-settings-set.js +71 -84
  296. package/dist/m365/pp/commands.js +1 -3
  297. package/dist/m365/purview/commands/auditlog/auditlog-list.js +101 -120
  298. package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +57 -72
  299. package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +28 -41
  300. package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +16 -29
  301. package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +41 -54
  302. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +26 -39
  303. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +27 -40
  304. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +14 -27
  305. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +41 -54
  306. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +31 -44
  307. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +84 -99
  308. package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +27 -40
  309. package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +14 -27
  310. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +41 -56
  311. package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +29 -42
  312. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +39 -52
  313. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +28 -41
  314. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +35 -48
  315. package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +27 -40
  316. package/dist/m365/purview/commands.js +1 -3
  317. package/dist/m365/search/commands/externalconnection/externalconnection-add.js +35 -48
  318. package/dist/m365/search/commands/externalconnection/externalconnection-get.js +33 -46
  319. package/dist/m365/search/commands/externalconnection/externalconnection-list.js +14 -27
  320. package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +52 -66
  321. package/dist/m365/search/commands/externalconnection/externalconnection-schema-add.js +26 -39
  322. package/dist/m365/search/commands.js +1 -3
  323. package/dist/m365/skype/commands/report/report-activitycounts.js +5 -7
  324. package/dist/m365/skype/commands/report/report-activityusercounts.js +5 -7
  325. package/dist/m365/skype/commands/report/report-activityuserdetail.js +5 -7
  326. package/dist/m365/skype/commands.js +1 -3
  327. package/dist/m365/spfx/commands/package/package-generate.js +122 -133
  328. package/dist/m365/spfx/commands/project/DeployWorkflow.js +55 -0
  329. package/dist/m365/spfx/commands/project/JsonRule.js +3 -7
  330. package/dist/m365/spfx/commands/project/Rule.js +1 -5
  331. package/dist/m365/spfx/commands/project/WebApiPermissionRequests.js +1 -2
  332. package/dist/m365/spfx/commands/project/base-project-command.js +45 -49
  333. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.0.0.js +5 -7
  334. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.0.1.js +5 -7
  335. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.0.2.js +5 -7
  336. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.1.0.js +13 -15
  337. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.1.1.js +13 -15
  338. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.1.3.js +13 -15
  339. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.10.0.js +19 -21
  340. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.11.0.js +19 -21
  341. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.12.0.js +19 -21
  342. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.12.1.js +19 -21
  343. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.13.0.js +19 -21
  344. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.13.1.js +19 -21
  345. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.14.0.js +19 -21
  346. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.15.0.js +19 -21
  347. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.15.2.js +19 -21
  348. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.16.0.js +19 -21
  349. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.16.1.js +19 -21
  350. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.0.js +19 -21
  351. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.1.js +19 -21
  352. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.2.js +21 -23
  353. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.3.js +21 -23
  354. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.4.js +21 -23
  355. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.18.0.js +21 -0
  356. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.2.0.js +13 -15
  357. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.0.js +13 -15
  358. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.1.js +13 -15
  359. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.2.js +13 -15
  360. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.4.js +15 -17
  361. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.4.0.js +15 -17
  362. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.4.1.js +15 -17
  363. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.5.0.js +15 -17
  364. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.5.1.js +15 -17
  365. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.6.0.js +15 -17
  366. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.7.0.js +15 -17
  367. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.7.1.js +15 -17
  368. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.8.0.js +17 -19
  369. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.8.1.js +17 -19
  370. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.8.2.js +19 -21
  371. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.9.1.js +19 -21
  372. package/dist/m365/spfx/commands/project/project-doctor/generic-rules.js +25 -28
  373. package/dist/m365/spfx/commands/project/project-doctor/rules/DependencyRule.js +5 -9
  374. package/dist/m365/spfx/commands/project/project-doctor/rules/FN001008_DEP_react.js +4 -8
  375. package/dist/m365/spfx/commands/project/project-doctor/rules/FN001009_DEP_react_dom.js +4 -8
  376. package/dist/m365/spfx/commands/project/project-doctor/rules/FN001022_DEP_office_ui_fabric_react.js +4 -8
  377. package/dist/m365/spfx/commands/project/project-doctor/rules/FN001035_DEP_fluentui_react.js +4 -8
  378. package/dist/m365/spfx/commands/project/project-doctor/rules/FN002004_DEVDEP_gulp.js +2 -6
  379. package/dist/m365/spfx/commands/project/project-doctor/rules/FN002007_DEVDEP_ajv.js +2 -6
  380. package/dist/m365/spfx/commands/project/project-doctor/rules/FN002013_DEVDEP_types_webpack_env.js +2 -6
  381. package/dist/m365/spfx/commands/project/project-doctor/rules/FN002015_DEVDEP_types_react.js +4 -8
  382. package/dist/m365/spfx/commands/project/project-doctor/rules/FN002016_DEVDEP_types_react_dom.js +4 -8
  383. package/dist/m365/spfx/commands/project/project-doctor/rules/FN002019_DEVDEP_microsoft_rush_stack_compiler.js +2 -6
  384. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021001_PKG_spfx_deps_versions_match_project_version.js +5 -9
  385. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021002_PKG_spfx_deps_use_exact_version.js +5 -9
  386. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021003_PKG_spfx_deps_installed_as_deps.js +3 -7
  387. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021004_PKG_spfx_devdeps_installed_as_devdeps.js +3 -7
  388. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021005_PKG_types_installed_as_devdep.js +2 -6
  389. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021006_PKG_rush_stack_compiler_installed_as_devdep.js +2 -6
  390. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021007_PKG_only_one_rush_stack_compiler_installed.js +3 -8
  391. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021008_PKG_no_duplicate_deps.js +3 -7
  392. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021009_PKG_no_duplicate_oui_deps.js +5 -10
  393. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021010_PKG_gulp_installed_as_devdep.js +2 -6
  394. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021011_PKG_ajv_installed_as_devdep.js +2 -6
  395. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021012_PKG_no_duplicate_pnpjs_deps.js +2 -6
  396. package/dist/m365/spfx/commands/project/project-doctor/spfx-deps.js +2 -5
  397. package/dist/m365/spfx/commands/project/project-doctor.js +122 -133
  398. package/dist/m365/spfx/commands/project/project-externalize/DefaultRules.js +4 -6
  399. package/dist/m365/spfx/commands/project/project-externalize/ExternalizeEntry.js +1 -2
  400. package/dist/m365/spfx/commands/project/project-externalize/FileEdit.js +1 -2
  401. package/dist/m365/spfx/commands/project/project-externalize/VisitationResult.js +1 -2
  402. package/dist/m365/spfx/commands/project/project-externalize/index.js +3 -19
  403. package/dist/m365/spfx/commands/project/project-externalize/rules/BasicDependencyRule.js +1 -5
  404. package/dist/m365/spfx/commands/project/project-externalize/rules/DynamicRule.js +54 -67
  405. package/dist/m365/spfx/commands/project/project-externalize/rules/PnPJsRule.js +9 -11
  406. package/dist/m365/spfx/commands/project/project-externalize/rules/index.js +3 -19
  407. package/dist/m365/spfx/commands/project/project-externalize.js +48 -60
  408. package/dist/m365/spfx/commands/project/project-github-workflow-add.js +157 -0
  409. package/dist/m365/spfx/commands/project/project-github-workflow-model.js +2 -0
  410. package/dist/m365/spfx/commands/project/project-model/ConfigJson.js +1 -2
  411. package/dist/m365/spfx/commands/project/project-model/CopyAssetsJson.js +1 -2
  412. package/dist/m365/spfx/commands/project/project-model/DeployAzureStorageJson.js +1 -2
  413. package/dist/m365/spfx/commands/project/project-model/EsLintRcJs.js +1 -2
  414. package/dist/m365/spfx/commands/project/project-model/Gitignore.js +1 -2
  415. package/dist/m365/spfx/commands/project/project-model/GulpfileJs.js +1 -2
  416. package/dist/m365/spfx/commands/project/project-model/JsonFile.js +1 -2
  417. package/dist/m365/spfx/commands/project/project-model/Manifest.js +1 -2
  418. package/dist/m365/spfx/commands/project/project-model/Npmignore.js +1 -2
  419. package/dist/m365/spfx/commands/project/project-model/PackageJson.js +1 -2
  420. package/dist/m365/spfx/commands/project/project-model/PackageSolutionJson.js +1 -2
  421. package/dist/m365/spfx/commands/project/project-model/Project.js +1 -2
  422. package/dist/m365/spfx/commands/project/project-model/ScssFile.js +3 -7
  423. package/dist/m365/spfx/commands/project/project-model/ServeJson.js +1 -2
  424. package/dist/m365/spfx/commands/project/project-model/TsConfigJson.js +1 -2
  425. package/dist/m365/spfx/commands/project/project-model/TsFile.js +8 -11
  426. package/dist/m365/spfx/commands/project/project-model/TsLintJson.js +1 -2
  427. package/dist/m365/spfx/commands/project/project-model/VsCode.js +1 -2
  428. package/dist/m365/spfx/commands/project/project-model/VsCodeExtensionsJson.js +1 -2
  429. package/dist/m365/spfx/commands/project/project-model/VsCodeLaunchJson.js +1 -2
  430. package/dist/m365/spfx/commands/project/project-model/VsCodeSettingsJson.js +1 -2
  431. package/dist/m365/spfx/commands/project/project-model/WriteManifestsJson.js +1 -2
  432. package/dist/m365/spfx/commands/project/project-model/YoRcJson.js +1 -2
  433. package/dist/m365/spfx/commands/project/project-model/index.js +23 -39
  434. package/dist/m365/spfx/commands/project/project-permissions-grant.js +44 -57
  435. package/dist/m365/spfx/commands/project/project-rename.js +47 -60
  436. package/dist/m365/spfx/commands/project/project-upgrade/rules/DependencyRule.js +6 -10
  437. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001001_DEP_microsoft_sp_core_library.js +2 -6
  438. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001002_DEP_microsoft_sp_lodash_subset.js +2 -6
  439. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001003_DEP_microsoft_sp_office_ui_fabric_core.js +2 -6
  440. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001004_DEP_microsoft_sp_webpart_base.js +2 -6
  441. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001005_DEP_types_react.js +4 -8
  442. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001006_DEP_types_react_dom.js +4 -8
  443. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001007_DEP_types_webpack_env.js +2 -6
  444. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001008_DEP_react.js +4 -8
  445. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001009_DEP_react_dom.js +4 -8
  446. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001010_DEP_types_es6_promise.js +2 -6
  447. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001011_DEP_microsoft_sp_dialog.js +2 -6
  448. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001012_DEP_microsoft_sp_application_base.js +2 -6
  449. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001013_DEP_microsoft_decorators.js +2 -6
  450. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001014_DEP_microsoft_sp_listview_extensibility.js +2 -6
  451. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001015_DEP_types_react_addons_shallow_compare.js +4 -8
  452. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001016_DEP_types_react_addons_update.js +4 -8
  453. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001017_DEP_types_react_addons_update.js +4 -8
  454. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001018_DEP_microsoft_sp_client_base.js +2 -6
  455. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001019_DEP_knockout.js +4 -8
  456. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001020_DEP_types_knockout.js +4 -8
  457. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001021_DEP_microsoft_sp_property_pane.js +2 -6
  458. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001022_DEP_office_ui_fabric_react.js +6 -10
  459. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001023_DEP_microsoft_sp_component_base.js +2 -6
  460. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001024_DEP_microsoft_sp_diagnostics.js +2 -6
  461. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001025_DEP_microsoft_sp_dynamic_data.js +2 -6
  462. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001026_DEP_microsoft_sp_extension_base.js +2 -6
  463. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001027_DEP_microsoft_sp_http.js +2 -6
  464. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001028_DEP_microsoft_sp_list_subscription.js +2 -6
  465. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001029_DEP_microsoft_sp_loader.js +2 -6
  466. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001030_DEP_microsoft_sp_module_interfaces.js +2 -6
  467. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001031_DEP_microsoft_sp_odata_types.js +2 -6
  468. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001032_DEP_microsoft_sp_page_context.js +2 -6
  469. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001033_DEP_tslib.js +2 -6
  470. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001034_DEP_microsoft_sp_adaptive_card_extension_base.js +2 -6
  471. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001035_DEP_fluentui_react.js +4 -8
  472. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002001_DEVDEP_microsoft_sp_build_web.js +2 -6
  473. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js +2 -6
  474. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002003_DEVDEP_microsoft_sp_webpart_workbench.js +2 -6
  475. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002004_DEVDEP_gulp.js +2 -6
  476. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002005_DEVDEP_types_chai.js +2 -6
  477. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002006_DEVDEP_types_mocha.js +2 -6
  478. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002007_DEVDEP_ajv.js +2 -6
  479. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002008_DEVDEP_tslint_microsoft_contrib.js +2 -6
  480. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002009_DEVDEP_microsoft_sp_tslint_rules.js +2 -6
  481. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002010_DEVDEP_microsoft_rush_stack_compiler_2_7.js +2 -6
  482. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002011_DEVDEP_microsoft_rush_stack_compiler_2_9.js +2 -6
  483. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002012_DEVDEP_microsoft_rush_stack_compiler_3_3.js +2 -6
  484. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002013_DEVDEP_types_webpack_env.js +2 -6
  485. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002014_DEVDEP_types_es6_promise.js +2 -6
  486. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002015_DEVDEP_types_react.js +4 -8
  487. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002016_DEVDEP_types_react_dom.js +4 -8
  488. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002017_DEVDEP_microsoft_rush_stack_compiler_3_7.js +2 -6
  489. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002018_DEVDEP_microsoft_rush_stack_compiler_3_9.js +2 -6
  490. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002019_DEVDEP_spfx_fast_serve_helpers.js +2 -6
  491. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5.js +2 -6
  492. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002021_DEVDEP_rushstack_eslint_config.js +2 -6
  493. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js +2 -6
  494. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js +2 -6
  495. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002024_DEVDEP_eslint.js +2 -6
  496. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002025_DEVDEP_eslint_plugin_react_hooks.js +4 -8
  497. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002026_DEVDEP_typescript.js +2 -6
  498. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002027_DEVDEP_fluentui_react.js +2 -6
  499. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002028_DEVDEP_microsoft_rush_stack_compiler_4_7.js +13 -0
  500. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003001_CFG_schema.js +2 -6
  501. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003002_CFG_version.js +2 -6
  502. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003003_CFG_bundles.js +2 -6
  503. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003004_CFG_entries.js +2 -6
  504. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003005_CFG_localizedResource_pathLib.js +2 -6
  505. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN004001_CFG_CA_schema.js +2 -6
  506. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN004002_CFG_CA_deployCdnPath.js +2 -6
  507. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN005001_CFG_DAS_schema.js +2 -6
  508. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN005002_CFG_DAS_workingDir.js +2 -6
  509. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006001_CFG_PS_schema.js +2 -6
  510. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006002_CFG_PS_includeClientSideAssets.js +2 -6
  511. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006003_CFG_PS_isDomainIsolated.js +2 -6
  512. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006004_CFG_PS_developer.js +2 -6
  513. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006005_CFG_PS_metadata.js +3 -8
  514. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006006_CFG_PS_features.js +4 -9
  515. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN007001_CFG_S_schema.js +2 -6
  516. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN007002_CFG_S_initialPage.js +2 -6
  517. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN007003_CFG_S_api.js +2 -6
  518. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN008001_CFG_TSL_schema.js +2 -6
  519. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN008002_CFG_TSL_removeRule.js +2 -6
  520. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN008003_CFG_TSL_preferConst.js +2 -6
  521. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN009001_CFG_WM_schema.js +2 -6
  522. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +3 -8
  523. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +3 -8
  524. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +3 -8
  525. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010004_YORC_componentType.js +3 -8
  526. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +3 -8
  527. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +4 -9
  528. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +3 -8
  529. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010008_YORC_nodeVersion.js +4 -9
  530. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010009_YORC_sdkVersions_microsoft_graph_client.js +4 -9
  531. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010010_YORC_sdkVersions_teams_js.js +4 -9
  532. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011001_MAN_webpart_schema.js +2 -6
  533. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011002_MAN_applicationCustomizer_schema.js +2 -6
  534. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011003_MAN_listViewCommandSet_schema.js +2 -6
  535. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011004_MAN_fieldCustomizer_schema.js +2 -6
  536. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011005_MAN_webpart_defaultGroup.js +2 -6
  537. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011006_MAN_listViewCommandSet_items.js +4 -8
  538. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011007_MAN_listViewCommandSet_removeCommands.js +2 -6
  539. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011008_MAN_requiresCustomScript.js +2 -6
  540. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011009_MAN_webpart_safeWithCustomScriptDisabled.js +2 -6
  541. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011010_MAN_webpart_version.js +2 -6
  542. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011011_MAN_webpart_supportedHosts.js +2 -6
  543. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012001_TSC_module.js +2 -6
  544. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012002_TSC_moduleResolution.js +2 -6
  545. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012003_TSC_skipLibCheck.js +2 -6
  546. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012004_TSC_typeRoots_types.js +2 -6
  547. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012005_TSC_typeRoots_microsoft.js +2 -6
  548. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012006_TSC_types_es6_collections.js +2 -6
  549. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012007_TSC_lib_es5.js +2 -6
  550. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012008_TSC_lib_dom.js +2 -6
  551. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012009_TSC_lib_es2015_collection.js +2 -6
  552. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012010_TSC_experimentalDecorators.js +2 -6
  553. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012011_TSC_outDir.js +2 -6
  554. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012012_TSC_include.js +2 -6
  555. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012013_TSC_exclude.js +2 -6
  556. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012014_TSC_inlineSources.js +2 -6
  557. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012015_TSC_strictNullChecks.js +2 -6
  558. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012016_TSC_noUnusedLocals.js +2 -6
  559. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012017_TSC_extends.js +2 -6
  560. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012018_TSC_lib_es2015_promise.js +2 -6
  561. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012019_TSC_types_es6_promise.js +2 -6
  562. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012020_TSC_noImplicitAny.js +2 -6
  563. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN013001_GULP_msGridSassSuppression.js +2 -6
  564. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN013002_GULP_serveTask.js +2 -6
  565. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014001_CODE_settings_jsonSchemas.js +2 -6
  566. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014002_CODE_extensions.js +2 -6
  567. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014003_CODE_launch.js +2 -6
  568. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014004_CODE_settings_jsonSchemas_configJson_url.js +2 -6
  569. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014005_CODE_settingsfile.js +4 -8
  570. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014006_CODE_launch_sourceMapPathOverrides.js +3 -7
  571. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014007_CODE_launch_localWorkbench.js +3 -7
  572. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014008_CODE_launch_hostedWorkbench_type.js +3 -7
  573. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014009_CODE_launch_hostedWorkbench_url.js +3 -7
  574. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015001_FILE_typings_tsd_d_ts.js +2 -6
  575. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015002_FILE_typings__ms_odsp_d_ts.js +2 -6
  576. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015003_FILE_tslint_json.js +2 -6
  577. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015004_FILE_config_tslint_json.js +2 -6
  578. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015005_FILE_src_index_ts.js +2 -6
  579. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015007_FILE_config_copy_assets_json.js +2 -6
  580. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015008_FILE_eslintrc_js.js +4 -8
  581. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015009_FILE_config_sass_json.js +2 -6
  582. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN016001_TS_msgraphclient_packageName.js +4 -8
  583. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN016002_TS_msgraphclient_instance.js +5 -9
  584. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN016003_TS_aadhttpclient_instance.js +4 -8
  585. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN016004_TS_property_pane_property_import.js +4 -8
  586. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN017001_MISC_npm_dedupe.js +2 -6
  587. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018001_TEAMS_folder.js +4 -8
  588. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018002_TEAMS_manifest.js +4 -8
  589. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018003_TEAMS_tab20x20_png.js +6 -8
  590. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018004_TEAMS_tab96x96_png.js +6 -8
  591. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018005_TEAMS_deprecated_manifest.js +4 -8
  592. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN019001_TSL_rulesDirectory.js +2 -6
  593. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN019002_TSL_extends.js +2 -6
  594. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN020001_RES_types_react.js +4 -8
  595. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021001_PKG_main.js +2 -6
  596. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021002_PKG_engines.js +2 -6
  597. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021003_PKG_engines_node.js +2 -6
  598. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN022001_SCSS_remove_fabric_react.js +4 -8
  599. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN022002_SCSS_add_fabric_react.js +4 -8
  600. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023001_GITIGNORE_release.js +2 -6
  601. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023002_GITIGNORE_heft.js +2 -6
  602. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN024001_NPMIGNORE_file.js +2 -6
  603. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN025001_ESLINTRCJS_overrides.js +4 -8
  604. package/dist/m365/spfx/commands/project/project-upgrade/rules/FileAddRemoveRule.js +4 -8
  605. package/dist/m365/spfx/commands/project/project-upgrade/rules/ManifestRule.js +3 -7
  606. package/dist/m365/spfx/commands/project/project-upgrade/rules/PackageRule.js +2 -6
  607. package/dist/m365/spfx/commands/project/project-upgrade/rules/ResolutionRule.js +2 -6
  608. package/dist/m365/spfx/commands/project/project-upgrade/rules/ScssRule.js +3 -7
  609. package/dist/m365/spfx/commands/project/project-upgrade/rules/TsRule.js +3 -7
  610. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.0.1.js +5 -7
  611. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.0.2.js +9 -11
  612. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.1.0.js +57 -59
  613. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.1.1.js +15 -17
  614. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.1.3.js +9 -11
  615. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.10.0.js +57 -59
  616. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.11.0.js +71 -73
  617. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.12.0.js +87 -89
  618. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.12.1.js +55 -57
  619. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.13.0.js +79 -81
  620. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.13.1.js +49 -51
  621. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +57 -59
  622. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.0.js +82 -84
  623. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.2.js +62 -64
  624. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.16.0.js +73 -75
  625. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.16.1.js +53 -55
  626. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.0.js +63 -65
  627. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.1.js +51 -53
  628. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.2.js +57 -59
  629. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.3.js +55 -57
  630. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.4.js +51 -53
  631. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.0.js +67 -0
  632. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.2.0.js +69 -71
  633. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.3.0.js +39 -41
  634. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.3.1.js +3 -5
  635. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.3.2.js +3 -5
  636. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.3.4.js +45 -47
  637. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.4.0.js +73 -75
  638. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.4.1.js +41 -43
  639. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.5.0.js +83 -85
  640. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.5.1.js +43 -45
  641. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.6.0.js +63 -65
  642. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.7.0.js +71 -73
  643. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.7.1.js +53 -55
  644. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.8.0.js +73 -75
  645. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.8.1.js +49 -51
  646. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.8.2.js +63 -65
  647. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.9.1.js +71 -73
  648. package/dist/m365/spfx/commands/project/project-upgrade.js +206 -217
  649. package/dist/m365/spfx/commands/project/report-model/Finding.js +1 -2
  650. package/dist/m365/spfx/commands/project/report-model/FindingToReport.js +1 -2
  651. package/dist/m365/spfx/commands/project/report-model/FindingTour.js +1 -2
  652. package/dist/m365/spfx/commands/project/report-model/FindingTourStep.js +1 -2
  653. package/dist/m365/spfx/commands/project/report-model/Occurrence.js +1 -2
  654. package/dist/m365/spfx/commands/project/report-model/ReportData.js +1 -2
  655. package/dist/m365/spfx/commands/project/report-model/index.js +5 -21
  656. package/dist/m365/spfx/commands/spfx-doctor.js +199 -228
  657. package/dist/m365/spfx/commands.js +2 -3
  658. package/dist/m365/spo/ClientSideComponent.js +1 -2
  659. package/dist/m365/spo/StandardWebPartTypes.js +1 -5
  660. package/dist/m365/spo/base-permissions.js +3 -7
  661. package/dist/m365/spo/commands/app/AppMetadata.js +1 -2
  662. package/dist/m365/spo/commands/app/SpoAppBaseCommand.js +30 -33
  663. package/dist/m365/spo/commands/app/app-add.js +52 -65
  664. package/dist/m365/spo/commands/app/app-deploy.js +47 -60
  665. package/dist/m365/spo/commands/app/app-get.js +42 -55
  666. package/dist/m365/spo/commands/app/app-install.js +28 -41
  667. package/dist/m365/spo/commands/app/app-instance-list.js +33 -46
  668. package/dist/m365/spo/commands/app/app-list.js +31 -44
  669. package/dist/m365/spo/commands/app/app-remove.js +48 -61
  670. package/dist/m365/spo/commands/app/app-retract.js +48 -61
  671. package/dist/m365/spo/commands/app/app-teamspackage-download.js +99 -117
  672. package/dist/m365/spo/commands/app/app-uninstall.js +45 -58
  673. package/dist/m365/spo/commands/app/app-upgrade.js +28 -41
  674. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +39 -52
  675. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +63 -76
  676. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-list.js +21 -34
  677. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-remove.js +68 -85
  678. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +71 -87
  679. package/dist/m365/spo/commands/apppage/apppage-add.js +45 -58
  680. package/dist/m365/spo/commands/apppage/apppage-set.js +27 -40
  681. package/dist/m365/spo/commands/cdn/cdn-get.js +43 -56
  682. package/dist/m365/spo/commands/cdn/cdn-origin-add.js +38 -51
  683. package/dist/m365/spo/commands/cdn/cdn-origin-list.js +41 -54
  684. package/dist/m365/spo/commands/cdn/cdn-origin-remove.js +56 -69
  685. package/dist/m365/spo/commands/cdn/cdn-policy-list.js +49 -62
  686. package/dist/m365/spo/commands/cdn/cdn-policy-set.js +45 -58
  687. package/dist/m365/spo/commands/cdn/cdn-set.js +71 -84
  688. package/dist/m365/spo/commands/commandset/commandset-add.js +55 -68
  689. package/dist/m365/spo/commands/commandset/commandset-get.js +58 -69
  690. package/dist/m365/spo/commands/commandset/commandset-list.js +25 -38
  691. package/dist/m365/spo/commands/commandset/commandset-remove.js +78 -94
  692. package/dist/m365/spo/commands/commandset/commandset-set.js +84 -97
  693. package/dist/m365/spo/commands/contenttype/FieldLink.js +1 -2
  694. package/dist/m365/spo/commands/contenttype/contenttype-add.js +122 -143
  695. package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +129 -146
  696. package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +194 -216
  697. package/dist/m365/spo/commands/contenttype/contenttype-get.js +57 -70
  698. package/dist/m365/spo/commands/contenttype/contenttype-list.js +20 -33
  699. package/dist/m365/spo/commands/contenttype/contenttype-remove.js +71 -84
  700. package/dist/m365/spo/commands/contenttype/contenttype-set.js +123 -148
  701. package/dist/m365/spo/commands/contenttypehub/contenttypehub-get.js +35 -48
  702. package/dist/m365/spo/commands/customaction/customaction-add.js +57 -70
  703. package/dist/m365/spo/commands/customaction/customaction-clear.js +44 -59
  704. package/dist/m365/spo/commands/customaction/customaction-get.js +70 -82
  705. package/dist/m365/spo/commands/customaction/customaction-list.js +30 -43
  706. package/dist/m365/spo/commands/customaction/customaction-remove.js +79 -96
  707. package/dist/m365/spo/commands/customaction/customaction-set.js +59 -76
  708. package/dist/m365/spo/commands/customaction/customaction.js +1 -2
  709. package/dist/m365/spo/commands/eventreceiver/EventReceiver.js +1 -2
  710. package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +65 -78
  711. package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +39 -52
  712. package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +73 -90
  713. package/dist/m365/spo/commands/externaluser/ExternalUser.js +1 -2
  714. package/dist/m365/spo/commands/externaluser/ExternalUserCollection.js +1 -2
  715. package/dist/m365/spo/commands/externaluser/GetExternalUsersResults.js +1 -2
  716. package/dist/m365/spo/commands/externaluser/externaluser-list.js +63 -76
  717. package/dist/m365/spo/commands/feature/Feature.js +1 -2
  718. package/dist/m365/spo/commands/feature/feature-disable.js +32 -45
  719. package/dist/m365/spo/commands/feature/feature-enable.js +34 -47
  720. package/dist/m365/spo/commands/feature/feature-list.js +24 -37
  721. package/dist/m365/spo/commands/field/field-add.js +46 -59
  722. package/dist/m365/spo/commands/field/field-get.js +47 -60
  723. package/dist/m365/spo/commands/field/field-list.js +32 -45
  724. package/dist/m365/spo/commands/field/field-remove.js +93 -106
  725. package/dist/m365/spo/commands/field/field-set.js +74 -87
  726. package/dist/m365/spo/commands/file/FileProperties.js +1 -2
  727. package/dist/m365/spo/commands/file/FilePropertiesCollection.js +2 -0
  728. package/dist/m365/spo/commands/file/FileSharingPrincipalType.js +2 -5
  729. package/dist/m365/spo/commands/file/file-add.js +314 -339
  730. package/dist/m365/spo/commands/file/file-checkin.js +49 -62
  731. package/dist/m365/spo/commands/file/file-checkout-undo.js +55 -68
  732. package/dist/m365/spo/commands/file/file-checkout.js +36 -49
  733. package/dist/m365/spo/commands/file/file-copy.js +84 -65
  734. package/dist/m365/spo/commands/file/file-get.js +96 -106
  735. package/dist/m365/spo/commands/file/file-list.js +94 -122
  736. package/dist/m365/spo/commands/file/file-move.js +94 -133
  737. package/dist/m365/spo/commands/file/file-remove.js +66 -79
  738. package/dist/m365/spo/commands/file/file-rename.js +62 -79
  739. package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +68 -85
  740. package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +70 -87
  741. package/dist/m365/spo/commands/file/file-roleassignment-add.js +99 -122
  742. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +96 -115
  743. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +64 -79
  744. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +63 -78
  745. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +79 -94
  746. package/dist/m365/spo/commands/file/file-sharinglink-add.js +45 -58
  747. package/dist/m365/spo/commands/file/file-sharinglink-clear.js +61 -76
  748. package/dist/m365/spo/commands/file/file-sharinglink-get.js +31 -44
  749. package/dist/m365/spo/commands/file/file-sharinglink-list.js +44 -57
  750. package/dist/m365/spo/commands/file/file-sharinglink-remove.js +46 -59
  751. package/dist/m365/spo/commands/file/file-sharinglink-set.js +36 -49
  752. package/dist/m365/spo/commands/file/file-version-clear.js +55 -70
  753. package/dist/m365/spo/commands/file/file-version-get.js +44 -59
  754. package/dist/m365/spo/commands/file/file-version-list.js +33 -46
  755. package/dist/m365/spo/commands/file/file-version-remove.js +55 -70
  756. package/dist/m365/spo/commands/file/file-version-restore.js +55 -70
  757. package/dist/m365/spo/commands/folder/FileFolderCollection.js +2 -0
  758. package/dist/m365/spo/commands/folder/FolderProperties.js +1 -2
  759. package/dist/m365/spo/commands/folder/folder-add.js +31 -46
  760. package/dist/m365/spo/commands/folder/folder-copy.js +96 -65
  761. package/dist/m365/spo/commands/folder/folder-get.js +54 -67
  762. package/dist/m365/spo/commands/folder/folder-list.js +65 -80
  763. package/dist/m365/spo/commands/folder/folder-move.js +96 -67
  764. package/dist/m365/spo/commands/folder/folder-remove.js +57 -67
  765. package/dist/m365/spo/commands/folder/folder-rename.js +35 -52
  766. package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +69 -84
  767. package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +85 -102
  768. package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +112 -135
  769. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +85 -104
  770. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +50 -63
  771. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +49 -62
  772. package/dist/m365/spo/commands/group/AssociatedGroupPropertiesCollection.js +1 -2
  773. package/dist/m365/spo/commands/group/GroupProperties.js +1 -2
  774. package/dist/m365/spo/commands/group/SharingResult.js +1 -2
  775. package/dist/m365/spo/commands/group/group-add.js +33 -46
  776. package/dist/m365/spo/commands/group/group-get.js +49 -62
  777. package/dist/m365/spo/commands/group/group-list.js +44 -62
  778. package/dist/m365/spo/commands/group/group-member-add.js +111 -129
  779. package/dist/m365/spo/commands/group/group-member-list.js +25 -38
  780. package/dist/m365/spo/commands/group/group-member-remove.js +109 -128
  781. package/dist/m365/spo/commands/group/group-remove.js +56 -69
  782. package/dist/m365/spo/commands/group/group-set.js +71 -88
  783. package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-get.js +25 -38
  784. package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-set.js +27 -40
  785. package/dist/m365/spo/commands/homesite/homesite-get.js +24 -37
  786. package/dist/m365/spo/commands/homesite/homesite-remove.js +47 -60
  787. package/dist/m365/spo/commands/homesite/homesite-set.js +37 -50
  788. package/dist/m365/spo/commands/hubsite/AssociatedSite.js +1 -2
  789. package/dist/m365/spo/commands/hubsite/HubSite.js +1 -2
  790. package/dist/m365/spo/commands/hubsite/HubSiteProperties.js +1 -2
  791. package/dist/m365/spo/commands/hubsite/QueryListResult.js +1 -2
  792. package/dist/m365/spo/commands/hubsite/hubsite-connect.js +51 -63
  793. package/dist/m365/spo/commands/hubsite/hubsite-data-get.js +32 -45
  794. package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +82 -94
  795. package/dist/m365/spo/commands/hubsite/hubsite-get.js +75 -92
  796. package/dist/m365/spo/commands/hubsite/hubsite-list.js +71 -86
  797. package/dist/m365/spo/commands/hubsite/hubsite-register.js +26 -39
  798. package/dist/m365/spo/commands/hubsite/hubsite-rights-grant.js +40 -53
  799. package/dist/m365/spo/commands/hubsite/hubsite-rights-revoke.js +54 -67
  800. package/dist/m365/spo/commands/hubsite/hubsite-set.js +45 -58
  801. package/dist/m365/spo/commands/hubsite/hubsite-unregister.js +44 -57
  802. package/dist/m365/spo/commands/knowledgehub/knowledgehub-get.js +32 -45
  803. package/dist/m365/spo/commands/knowledgehub/knowledgehub-remove.js +51 -64
  804. package/dist/m365/spo/commands/knowledgehub/knowledgehub-set.js +34 -47
  805. package/dist/m365/spo/commands/list/DraftVisibilityType.js +2 -5
  806. package/dist/m365/spo/commands/list/ListExperience.js +2 -5
  807. package/dist/m365/spo/commands/list/ListInstance.js +1 -2
  808. package/dist/m365/spo/commands/list/ListPrincipalType.js +2 -5
  809. package/dist/m365/spo/commands/list/ListTemplateType.js +2 -5
  810. package/dist/m365/spo/commands/list/list-add.js +52 -74
  811. package/dist/m365/spo/commands/list/list-contenttype-add.js +47 -60
  812. package/dist/m365/spo/commands/list/list-contenttype-default-set.js +112 -131
  813. package/dist/m365/spo/commands/list/list-contenttype-list.js +36 -49
  814. package/dist/m365/spo/commands/list/list-contenttype-remove.js +61 -74
  815. package/dist/m365/spo/commands/list/list-get.js +56 -69
  816. package/dist/m365/spo/commands/list/list-list.js +27 -40
  817. package/dist/m365/spo/commands/list/list-remove.js +55 -68
  818. package/dist/m365/spo/commands/list/list-retentionlabel-ensure.js +48 -87
  819. package/dist/m365/spo/commands/list/list-retentionlabel-get.js +58 -75
  820. package/dist/m365/spo/commands/list/list-retentionlabel-remove.js +74 -91
  821. package/dist/m365/spo/commands/list/list-roleassignment-add.js +61 -116
  822. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +94 -113
  823. package/dist/m365/spo/commands/list/list-roleinheritance-break.js +62 -76
  824. package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +58 -72
  825. package/dist/m365/spo/commands/list/list-sensitivitylabel-ensure.js +59 -74
  826. package/dist/m365/spo/commands/list/list-set.js +63 -85
  827. package/dist/m365/spo/commands/list/list-sitescript-get.js +60 -73
  828. package/dist/m365/spo/commands/list/list-view-add.js +43 -56
  829. package/dist/m365/spo/commands/list/list-view-field-add.js +77 -92
  830. package/dist/m365/spo/commands/list/list-view-field-remove.js +76 -91
  831. package/dist/m365/spo/commands/list/list-view-field-set.js +58 -73
  832. package/dist/m365/spo/commands/list/list-view-get.js +42 -55
  833. package/dist/m365/spo/commands/list/list-view-list.js +32 -45
  834. package/dist/m365/spo/commands/list/list-view-remove.js +64 -77
  835. package/dist/m365/spo/commands/list/list-view-set.js +45 -58
  836. package/dist/m365/spo/commands/list/list-webhook-add.js +55 -68
  837. package/dist/m365/spo/commands/list/list-webhook-get.js +46 -59
  838. package/dist/m365/spo/commands/list/list-webhook-list.js +42 -55
  839. package/dist/m365/spo/commands/list/list-webhook-remove.js +62 -75
  840. package/dist/m365/spo/commands/list/list-webhook-set.js +49 -62
  841. package/dist/m365/spo/commands/listitem/ListItemFieldValueResult.js +1 -2
  842. package/dist/m365/spo/commands/listitem/ListItemInstance.js +1 -2
  843. package/dist/m365/spo/commands/listitem/ListItemInstanceCollection.js +1 -2
  844. package/dist/m365/spo/commands/listitem/ListItemRetentionLabel.js +1 -2
  845. package/dist/m365/spo/commands/listitem/SiteRetentionLabel.js +1 -2
  846. package/dist/m365/spo/commands/listitem/listitem-add.js +122 -133
  847. package/dist/m365/spo/commands/listitem/listitem-attachment-add.js +127 -0
  848. package/dist/m365/spo/commands/listitem/listitem-attachment-get.js +97 -0
  849. package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +47 -60
  850. package/dist/m365/spo/commands/listitem/listitem-attachment-remove.js +121 -0
  851. package/dist/m365/spo/commands/listitem/listitem-attachment-set.js +115 -0
  852. package/dist/m365/spo/commands/listitem/listitem-batch-add.js +68 -107
  853. package/dist/m365/spo/commands/listitem/listitem-batch-set.js +131 -177
  854. package/dist/m365/spo/commands/listitem/listitem-get.js +59 -72
  855. package/dist/m365/spo/commands/listitem/listitem-isrecord.js +79 -92
  856. package/dist/m365/spo/commands/listitem/listitem-list.js +128 -148
  857. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +62 -75
  858. package/dist/m365/spo/commands/listitem/listitem-record-lock.js +48 -61
  859. package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +55 -68
  860. package/dist/m365/spo/commands/listitem/listitem-record-unlock.js +48 -61
  861. package/dist/m365/spo/commands/listitem/listitem-remove.js +66 -79
  862. package/dist/m365/spo/commands/listitem/listitem-retentionlabel-ensure.js +102 -121
  863. package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +65 -80
  864. package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +97 -118
  865. package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +95 -116
  866. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +61 -77
  867. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +58 -74
  868. package/dist/m365/spo/commands/listitem/listitem-set.js +170 -183
  869. package/dist/m365/spo/commands/mail/mail-send.js +54 -67
  870. package/dist/m365/spo/commands/navigation/NavigationNode.js +1 -2
  871. package/dist/m365/spo/commands/navigation/navigation-node-add.js +50 -64
  872. package/dist/m365/spo/commands/navigation/navigation-node-get.js +28 -41
  873. package/dist/m365/spo/commands/navigation/navigation-node-list.js +21 -34
  874. package/dist/m365/spo/commands/navigation/navigation-node-remove.js +46 -61
  875. package/dist/m365/spo/commands/navigation/navigation-node-set.js +57 -70
  876. package/dist/m365/spo/commands/orgassetslibrary/OrgAssets.js +1 -2
  877. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +70 -54
  878. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-list.js +45 -58
  879. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-remove.js +46 -61
  880. package/dist/m365/spo/commands/orgnewssite/orgnewssite-list.js +31 -44
  881. package/dist/m365/spo/commands/orgnewssite/orgnewssite-remove.js +48 -63
  882. package/dist/m365/spo/commands/orgnewssite/orgnewssite-set.js +31 -44
  883. package/dist/m365/spo/commands/page/ClientSideControl.js +1 -2
  884. package/dist/m365/spo/commands/page/ClientSidePageProperties.js +1 -2
  885. package/dist/m365/spo/commands/page/Page.js +47 -72
  886. package/dist/m365/spo/commands/page/PageControl.js +1 -2
  887. package/dist/m365/spo/commands/page/PageHeader.js +1 -2
  888. package/dist/m365/spo/commands/page/PageItem.js +1 -2
  889. package/dist/m365/spo/commands/page/PageTemplate.js +1 -2
  890. package/dist/m365/spo/commands/page/canvasContent.js +1 -2
  891. package/dist/m365/spo/commands/page/clientsidepages.js +26 -98
  892. package/dist/m365/spo/commands/page/page-add.js +197 -212
  893. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +249 -264
  894. package/dist/m365/spo/commands/page/page-column-get.js +32 -45
  895. package/dist/m365/spo/commands/page/page-column-list.js +27 -40
  896. package/dist/m365/spo/commands/page/page-control-get.js +48 -60
  897. package/dist/m365/spo/commands/page/page-control-list.js +42 -54
  898. package/dist/m365/spo/commands/page/page-control-set.js +115 -120
  899. package/dist/m365/spo/commands/page/page-copy.js +58 -71
  900. package/dist/m365/spo/commands/page/page-get.js +52 -64
  901. package/dist/m365/spo/commands/page/page-header-set.js +243 -256
  902. package/dist/m365/spo/commands/page/page-list.js +36 -45
  903. package/dist/m365/spo/commands/page/page-remove.js +52 -65
  904. package/dist/m365/spo/commands/page/page-section-add.js +127 -105
  905. package/dist/m365/spo/commands/page/page-section-get.js +23 -36
  906. package/dist/m365/spo/commands/page/page-section-list.js +30 -43
  907. package/dist/m365/spo/commands/page/page-set.js +252 -256
  908. package/dist/m365/spo/commands/page/page-template-list.js +24 -37
  909. package/dist/m365/spo/commands/page/page-text-add.js +61 -74
  910. package/dist/m365/spo/commands/page/pageMethods.js +1 -5
  911. package/dist/m365/spo/commands/propertybag/propertybag-base.js +73 -73
  912. package/dist/m365/spo/commands/propertybag/propertybag-get.js +31 -44
  913. package/dist/m365/spo/commands/propertybag/propertybag-list.js +25 -38
  914. package/dist/m365/spo/commands/propertybag/propertybag-remove.js +54 -70
  915. package/dist/m365/spo/commands/propertybag/propertybag-set.js +31 -44
  916. package/dist/m365/spo/commands/report/report-activityfilecounts.js +5 -7
  917. package/dist/m365/spo/commands/report/report-activitypages.js +5 -7
  918. package/dist/m365/spo/commands/report/report-activityusercounts.js +5 -7
  919. package/dist/m365/spo/commands/report/report-activityuserdetail.js +5 -7
  920. package/dist/m365/spo/commands/report/report-siteusagedetail.js +5 -7
  921. package/dist/m365/spo/commands/report/report-siteusagefilecounts.js +5 -7
  922. package/dist/m365/spo/commands/report/report-siteusagepages.js +5 -7
  923. package/dist/m365/spo/commands/report/report-siteusagesitecounts.js +5 -7
  924. package/dist/m365/spo/commands/report/report-siteusagestorage.js +5 -7
  925. package/dist/m365/spo/commands/roledefinition/RoleDefinition.js +1 -2
  926. package/dist/m365/spo/commands/roledefinition/RoleType.js +2 -5
  927. package/dist/m365/spo/commands/roledefinition/roledefinition-add.js +45 -58
  928. package/dist/m365/spo/commands/roledefinition/roledefinition-get.js +35 -48
  929. package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +21 -34
  930. package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +47 -60
  931. package/dist/m365/spo/commands/search/datatypes/QueryResult.js +1 -2
  932. package/dist/m365/spo/commands/search/datatypes/RefinementResult.js +1 -2
  933. package/dist/m365/spo/commands/search/datatypes/RelevantResults.js +1 -2
  934. package/dist/m365/spo/commands/search/datatypes/ResultTable.js +1 -2
  935. package/dist/m365/spo/commands/search/datatypes/ResultTableRow.js +1 -2
  936. package/dist/m365/spo/commands/search/datatypes/SearchResult.js +1 -2
  937. package/dist/m365/spo/commands/search/datatypes/SearchResultProperty.js +1 -2
  938. package/dist/m365/spo/commands/search/datatypes/SpecialTermResult.js +1 -2
  939. package/dist/m365/spo/commands/serviceprincipal/SPOWebAppServicePrincipalPermissionGrant.js +1 -2
  940. package/dist/m365/spo/commands/serviceprincipal/SPOWebAppServicePrincipalPermissionRequest.js +1 -2
  941. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-add.js +37 -50
  942. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-list.js +40 -53
  943. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-revoke.js +32 -45
  944. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-approve.js +68 -85
  945. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-deny.js +36 -49
  946. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-list.js +78 -95
  947. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-set.js +51 -66
  948. package/dist/m365/spo/commands/site/DeletedSiteProperties.js +1 -2
  949. package/dist/m365/spo/commands/site/FlowsPolicy.js +7 -0
  950. package/dist/m365/spo/commands/site/SPOSitePropertiesEnumerable.js +1 -2
  951. package/dist/m365/spo/commands/site/SharingCapabilities.js +2 -5
  952. package/dist/m365/spo/commands/site/SiteProperties.js +1 -2
  953. package/dist/m365/spo/commands/site/site-add.js +257 -321
  954. package/dist/m365/spo/commands/site/site-appcatalog-add.js +38 -51
  955. package/dist/m365/spo/commands/site/site-appcatalog-list.js +18 -31
  956. package/dist/m365/spo/commands/site/site-appcatalog-remove.js +38 -51
  957. package/dist/m365/spo/commands/site/site-apppermission-add.js +45 -61
  958. package/dist/m365/spo/commands/site/site-apppermission-get.js +27 -40
  959. package/dist/m365/spo/commands/site/site-apppermission-list.js +26 -39
  960. package/dist/m365/spo/commands/site/site-apppermission-remove.js +61 -78
  961. package/dist/m365/spo/commands/site/site-apppermission-set.js +44 -60
  962. package/dist/m365/spo/commands/site/site-chrome-set.js +58 -71
  963. package/dist/m365/spo/commands/site/site-commsite-enable.js +62 -55
  964. package/dist/m365/spo/commands/site/site-ensure.js +86 -158
  965. package/dist/m365/spo/commands/site/site-get.js +23 -36
  966. package/dist/m365/spo/commands/site/site-groupify.js +41 -54
  967. package/dist/m365/spo/commands/site/site-hubsite-connect.js +29 -42
  968. package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +44 -57
  969. package/dist/m365/spo/commands/site/site-hubsite-theme-sync.js +24 -37
  970. package/dist/m365/spo/commands/site/site-inplacerecordsmanagement-set.js +31 -44
  971. package/dist/m365/spo/commands/site/site-list.js +51 -82
  972. package/dist/m365/spo/commands/site/site-recyclebinitem-clear.js +53 -68
  973. package/dist/m365/spo/commands/site/site-recyclebinitem-list.js +40 -53
  974. package/dist/m365/spo/commands/site/site-recyclebinitem-move.js +51 -66
  975. package/dist/m365/spo/commands/site/site-recyclebinitem-remove.js +48 -63
  976. package/dist/m365/spo/commands/site/site-recyclebinitem-restore.js +42 -55
  977. package/dist/m365/spo/commands/site/site-remove.js +194 -251
  978. package/dist/m365/spo/commands/site/site-rename.js +72 -87
  979. package/dist/m365/spo/commands/site/site-set.js +252 -278
  980. package/dist/m365/spo/commands/sitedesign/SiteDesign.js +1 -2
  981. package/dist/m365/spo/commands/sitedesign/SiteDesignPrincipal.js +1 -2
  982. package/dist/m365/spo/commands/sitedesign/SiteDesignRun.js +1 -2
  983. package/dist/m365/spo/commands/sitedesign/SiteDesignTask.js +1 -2
  984. package/dist/m365/spo/commands/sitedesign/SiteScriptActionStatus.js +1 -2
  985. package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +49 -62
  986. package/dist/m365/spo/commands/sitedesign/sitedesign-apply.js +37 -50
  987. package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +31 -44
  988. package/dist/m365/spo/commands/sitedesign/sitedesign-list.js +23 -36
  989. package/dist/m365/spo/commands/sitedesign/sitedesign-remove.js +47 -60
  990. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-grant.js +35 -48
  991. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-list.js +34 -47
  992. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-revoke.js +50 -63
  993. package/dist/m365/spo/commands/sitedesign/sitedesign-run-list.js +36 -49
  994. package/dist/m365/spo/commands/sitedesign/sitedesign-run-status-get.js +31 -44
  995. package/dist/m365/spo/commands/sitedesign/sitedesign-set.js +59 -72
  996. package/dist/m365/spo/commands/sitedesign/sitedesign-task-get.js +31 -44
  997. package/dist/m365/spo/commands/sitedesign/sitedesign-task-list.js +23 -36
  998. package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +46 -61
  999. package/dist/m365/spo/commands/sitescript/sitescript-add.js +30 -43
  1000. package/dist/m365/spo/commands/sitescript/sitescript-get.js +31 -44
  1001. package/dist/m365/spo/commands/sitescript/sitescript-list.js +26 -39
  1002. package/dist/m365/spo/commands/sitescript/sitescript-remove.js +47 -62
  1003. package/dist/m365/spo/commands/sitescript/sitescript-set.js +44 -57
  1004. package/dist/m365/spo/commands/spo-get.js +11 -24
  1005. package/dist/m365/spo/commands/spo-search.js +62 -77
  1006. package/dist/m365/spo/commands/spo-set.js +16 -29
  1007. package/dist/m365/spo/commands/storageentity/TenantProperty.js +1 -2
  1008. package/dist/m365/spo/commands/storageentity/storageentity-get.js +33 -46
  1009. package/dist/m365/spo/commands/storageentity/storageentity-list.js +44 -57
  1010. package/dist/m365/spo/commands/storageentity/storageentity-remove.js +51 -66
  1011. package/dist/m365/spo/commands/storageentity/storageentity-set.js +38 -51
  1012. package/dist/m365/spo/commands/tenant/DeletedSiteProperties.js +1 -2
  1013. package/dist/m365/spo/commands/tenant/DeletedSitePropertiesEnumerable.js +1 -2
  1014. package/dist/m365/spo/commands/tenant/Solution.js +1 -2
  1015. package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +74 -93
  1016. package/dist/m365/spo/commands/tenant/tenant-appcatalogurl-get.js +27 -40
  1017. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +109 -130
  1018. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +50 -58
  1019. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-list.js +24 -36
  1020. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-remove.js +78 -94
  1021. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +151 -93
  1022. package/dist/m365/spo/commands/tenant/tenant-commandset-add.js +117 -138
  1023. package/dist/m365/spo/commands/tenant/tenant-commandset-get.js +53 -61
  1024. package/dist/m365/spo/commands/tenant/tenant-commandset-list.js +27 -39
  1025. package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +80 -95
  1026. package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +99 -116
  1027. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-list.js +35 -48
  1028. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +70 -85
  1029. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +28 -41
  1030. package/dist/m365/spo/commands/tenant/tenant-settings-list.js +53 -66
  1031. package/dist/m365/spo/commands/tenant/tenant-settings-set.js +67 -80
  1032. package/dist/m365/spo/commands/term/Term.js +1 -2
  1033. package/dist/m365/spo/commands/term/TermCollection.js +1 -2
  1034. package/dist/m365/spo/commands/term/TermGroup.js +1 -2
  1035. package/dist/m365/spo/commands/term/TermGroupCollection.js +1 -2
  1036. package/dist/m365/spo/commands/term/TermSet.js +1 -2
  1037. package/dist/m365/spo/commands/term/TermSetCollection.js +1 -2
  1038. package/dist/m365/spo/commands/term/TermStore.js +1 -2
  1039. package/dist/m365/spo/commands/term/term-add.js +101 -114
  1040. package/dist/m365/spo/commands/term/term-get.js +71 -86
  1041. package/dist/m365/spo/commands/term/term-group-add.js +76 -89
  1042. package/dist/m365/spo/commands/term/term-group-get.js +44 -57
  1043. package/dist/m365/spo/commands/term/term-group-list.js +43 -56
  1044. package/dist/m365/spo/commands/term/term-list.js +93 -110
  1045. package/dist/m365/spo/commands/term/term-set-add.js +87 -100
  1046. package/dist/m365/spo/commands/term/term-set-get.js +46 -59
  1047. package/dist/m365/spo/commands/term/term-set-list.js +47 -60
  1048. package/dist/m365/spo/commands/theme/theme-apply.js +63 -76
  1049. package/dist/m365/spo/commands/theme/theme-get.js +34 -48
  1050. package/dist/m365/spo/commands/theme/theme-list.js +25 -46
  1051. package/dist/m365/spo/commands/theme/theme-remove.js +44 -57
  1052. package/dist/m365/spo/commands/theme/theme-set.js +39 -53
  1053. package/dist/m365/spo/commands/user/user-ensure.js +40 -55
  1054. package/dist/m365/spo/commands/user/user-get.js +43 -56
  1055. package/dist/m365/spo/commands/user/user-list.js +29 -42
  1056. package/dist/m365/spo/commands/user/user-remove.js +52 -65
  1057. package/dist/m365/spo/commands/userprofile/userprofile-get.js +32 -45
  1058. package/dist/m365/spo/commands/userprofile/userprofile-set.js +37 -50
  1059. package/dist/m365/spo/commands/web/GetClientSideWebPartsRsp.js +1 -2
  1060. package/dist/m365/spo/commands/web/WebProperties.js +1 -2
  1061. package/dist/m365/spo/commands/web/WebPropertiesCollection.js +1 -2
  1062. package/dist/m365/spo/commands/web/web-add.js +80 -93
  1063. package/dist/m365/spo/commands/web/web-clientsidewebpart-list.js +35 -48
  1064. package/dist/m365/spo/commands/web/web-get.js +35 -48
  1065. package/dist/m365/spo/commands/web/web-installedlanguage-list.js +26 -39
  1066. package/dist/m365/spo/commands/web/web-list.js +23 -36
  1067. package/dist/m365/spo/commands/web/web-reindex.js +83 -103
  1068. package/dist/m365/spo/commands/web/web-remove.js +43 -56
  1069. package/dist/m365/spo/commands/web/web-retentionlabel-list.js +21 -34
  1070. package/dist/m365/spo/commands/web/web-roleassignment-add.js +48 -76
  1071. package/dist/m365/spo/commands/web/web-roleassignment-remove.js +57 -81
  1072. package/dist/m365/spo/commands/web/web-roleinheritance-break.js +45 -58
  1073. package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +46 -59
  1074. package/dist/m365/spo/commands/web/web-set.js +75 -88
  1075. package/dist/m365/spo/commands.js +5 -5
  1076. package/dist/m365/teams/Tab.js +2 -0
  1077. package/dist/m365/teams/TeamsAppInstallation.js +2 -0
  1078. package/dist/m365/teams/commands/app/app-install.js +62 -78
  1079. package/dist/m365/teams/commands/app/app-list.js +24 -37
  1080. package/dist/m365/teams/commands/app/app-publish.js +30 -43
  1081. package/dist/m365/teams/commands/app/app-remove.js +72 -51
  1082. package/dist/m365/teams/commands/app/app-uninstall.js +42 -55
  1083. package/dist/m365/teams/commands/app/app-update.js +49 -64
  1084. package/dist/m365/teams/commands/cache/cache-remove.js +101 -119
  1085. package/dist/m365/teams/commands/channel/channel-add.js +69 -82
  1086. package/dist/m365/teams/commands/channel/channel-get.js +60 -77
  1087. package/dist/m365/teams/commands/channel/channel-list.js +32 -47
  1088. package/dist/m365/teams/commands/channel/channel-member-add.js +107 -128
  1089. package/dist/m365/teams/commands/channel/channel-member-list.js +58 -75
  1090. package/dist/m365/teams/commands/channel/channel-member-remove.js +111 -133
  1091. package/dist/m365/teams/commands/channel/channel-member-set.js +89 -108
  1092. package/dist/m365/teams/commands/channel/channel-remove.js +77 -94
  1093. package/dist/m365/teams/commands/channel/channel-set.js +59 -76
  1094. package/dist/m365/teams/commands/chat/chat-get.js +65 -89
  1095. package/dist/m365/teams/commands/chat/chat-list.js +31 -44
  1096. package/dist/m365/teams/commands/chat/chat-member-add.js +104 -0
  1097. package/dist/m365/teams/commands/chat/chat-member-list.js +19 -32
  1098. package/dist/m365/teams/commands/chat/chat-member-remove.js +64 -79
  1099. package/dist/m365/teams/commands/chat/chat-message-list.js +35 -48
  1100. package/dist/m365/teams/commands/chat/chat-message-send.js +94 -120
  1101. package/dist/m365/teams/commands/chat/chatUtil.js +19 -35
  1102. package/dist/m365/teams/commands/funsettings/funsettings-list.js +29 -42
  1103. package/dist/m365/teams/commands/funsettings/funsettings-set.js +41 -54
  1104. package/dist/m365/teams/commands/guestsettings/guestsettings-list.js +26 -39
  1105. package/dist/m365/teams/commands/guestsettings/guestsettings-set.js +35 -48
  1106. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +52 -67
  1107. package/dist/m365/teams/commands/meeting/meeting-get.js +61 -84
  1108. package/dist/m365/teams/commands/meeting/meeting-list.js +119 -95
  1109. package/dist/m365/teams/commands/meeting/meeting-transcript-list.js +48 -61
  1110. package/dist/m365/teams/commands/membersettings/membersettings-list.js +26 -39
  1111. package/dist/m365/teams/commands/membersettings/membersettings-set.js +35 -48
  1112. package/dist/m365/teams/commands/message/message-get.js +26 -39
  1113. package/dist/m365/teams/commands/message/message-list.js +27 -40
  1114. package/dist/m365/teams/commands/message/message-reply-list.js +24 -37
  1115. package/dist/m365/teams/commands/message/message-send.js +32 -45
  1116. package/dist/m365/teams/commands/messagingsettings/messagingsettings-list.js +26 -39
  1117. package/dist/m365/teams/commands/messagingsettings/messagingsettings-set.js +36 -49
  1118. package/dist/m365/teams/commands/report/report-deviceusagedistributionusercounts.js +5 -7
  1119. package/dist/m365/teams/commands/report/report-deviceusageusercounts.js +5 -7
  1120. package/dist/m365/teams/commands/report/report-deviceusageuserdetail.js +5 -7
  1121. package/dist/m365/teams/commands/report/report-directroutingcalls.js +28 -41
  1122. package/dist/m365/teams/commands/report/report-pstncalls.js +28 -41
  1123. package/dist/m365/teams/commands/report/report-useractivitycounts.js +5 -7
  1124. package/dist/m365/teams/commands/report/report-useractivityusercounts.js +5 -7
  1125. package/dist/m365/teams/commands/report/report-useractivityuserdetail.js +5 -7
  1126. package/dist/m365/teams/commands/tab/tab-add.js +30 -43
  1127. package/dist/m365/teams/commands/tab/tab-get.js +72 -91
  1128. package/dist/m365/teams/commands/tab/tab-list.js +24 -37
  1129. package/dist/m365/teams/commands/tab/tab-remove.js +47 -60
  1130. package/dist/m365/teams/commands/team/team-add.js +85 -102
  1131. package/dist/m365/teams/commands/team/team-app-list.js +46 -61
  1132. package/dist/m365/teams/commands/team/team-archive.js +41 -56
  1133. package/dist/m365/teams/commands/team/team-clone.js +45 -63
  1134. package/dist/m365/teams/commands/team/team-get.js +37 -52
  1135. package/dist/m365/teams/commands/team/team-list.js +112 -63
  1136. package/dist/m365/teams/commands/team/team-remove.js +52 -67
  1137. package/dist/m365/teams/commands/team/team-set.js +30 -43
  1138. package/dist/m365/teams/commands/team/team-unarchive.js +38 -53
  1139. package/dist/m365/teams/commands/user/user-app-add.js +29 -42
  1140. package/dist/m365/teams/commands/user/user-app-list.js +51 -66
  1141. package/dist/m365/teams/commands/user/user-app-remove.js +42 -55
  1142. package/dist/m365/teams/commands/user/user-list.js +37 -54
  1143. package/dist/m365/teams/commands.js +2 -3
  1144. package/dist/m365/tenant/commands/id/id-get.js +33 -46
  1145. package/dist/m365/tenant/commands/info/info-get.js +83 -0
  1146. package/dist/m365/tenant/commands/report/report-activeusercounts.js +5 -7
  1147. package/dist/m365/tenant/commands/report/report-activeuserdetail.js +5 -7
  1148. package/dist/m365/tenant/commands/report/report-office365activationcounts.js +31 -46
  1149. package/dist/m365/tenant/commands/report/report-office365activationsusercounts.js +31 -46
  1150. package/dist/m365/tenant/commands/report/report-office365activationsuserdetail.js +31 -46
  1151. package/dist/m365/tenant/commands/report/report-servicesusercounts.js +5 -7
  1152. package/dist/m365/tenant/commands/security/security-alerts-list.js +43 -58
  1153. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +15 -28
  1154. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-list.js +28 -43
  1155. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-get.js +22 -35
  1156. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-list.js +19 -32
  1157. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-get.js +26 -39
  1158. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-list.js +19 -32
  1159. package/dist/m365/tenant/commands.js +2 -3
  1160. package/dist/m365/todo/ToDoList.js +1 -2
  1161. package/dist/m365/todo/ToDoTask.js +1 -2
  1162. package/dist/m365/todo/commands/list/list-add.js +26 -39
  1163. package/dist/m365/todo/commands/list/list-get.js +33 -48
  1164. package/dist/m365/todo/commands/list/list-list.js +14 -27
  1165. package/dist/m365/todo/commands/list/list-remove.js +48 -65
  1166. package/dist/m365/todo/commands/list/list-set.js +40 -55
  1167. package/dist/m365/todo/commands/task/task-add.js +68 -85
  1168. package/dist/m365/todo/commands/task/task-get.js +44 -59
  1169. package/dist/m365/todo/commands/task/task-list.js +30 -43
  1170. package/dist/m365/todo/commands/task/task-remove.js +55 -68
  1171. package/dist/m365/todo/commands/task/task-set.js +36 -50
  1172. package/dist/m365/todo/commands.js +1 -3
  1173. package/dist/m365/util/commands/accesstoken/accesstoken-get.js +24 -37
  1174. package/dist/m365/util/commands.js +1 -3
  1175. package/dist/m365/viva/commands/connections/connections-app-create.js +117 -130
  1176. package/dist/m365/viva/commands.js +1 -3
  1177. package/dist/m365/yammer/commands/group/group-list.js +45 -60
  1178. package/dist/m365/yammer/commands/group/group-user-add.js +27 -40
  1179. package/dist/m365/yammer/commands/group/group-user-remove.js +48 -61
  1180. package/dist/m365/yammer/commands/message/message-add.js +33 -46
  1181. package/dist/m365/yammer/commands/message/message-get.js +24 -37
  1182. package/dist/m365/yammer/commands/message/message-like-set.js +52 -66
  1183. package/dist/m365/yammer/commands/message/message-list.js +97 -129
  1184. package/dist/m365/yammer/commands/message/message-remove.js +40 -53
  1185. package/dist/m365/yammer/commands/network/network-list.js +24 -37
  1186. package/dist/m365/yammer/commands/report/report-activitycounts.js +5 -7
  1187. package/dist/m365/yammer/commands/report/report-activityusercounts.js +5 -7
  1188. package/dist/m365/yammer/commands/report/report-activityuserdetail.js +5 -7
  1189. package/dist/m365/yammer/commands/report/report-deviceusagedistributionusercounts.js +5 -7
  1190. package/dist/m365/yammer/commands/report/report-deviceusageusercounts.js +5 -7
  1191. package/dist/m365/yammer/commands/report/report-deviceusageuserdetail.js +5 -7
  1192. package/dist/m365/yammer/commands/report/report-groupsactivitycounts.js +5 -7
  1193. package/dist/m365/yammer/commands/report/report-groupsactivitydetail.js +5 -7
  1194. package/dist/m365/yammer/commands/report/report-groupsactivitygroupcounts.js +5 -7
  1195. package/dist/m365/yammer/commands/user/user-get.js +32 -45
  1196. package/dist/m365/yammer/commands/user/user-list.js +18 -31
  1197. package/dist/m365/yammer/commands/yammer-search.js +141 -171
  1198. package/dist/m365/yammer/commands.js +1 -3
  1199. package/dist/request.js +27 -22
  1200. package/dist/settingsNames.js +1 -4
  1201. package/dist/telemetry.js +10 -13
  1202. package/dist/utils/aadGroup.js +62 -42
  1203. package/dist/utils/aadUser.js +39 -57
  1204. package/dist/utils/accessToken.js +5 -8
  1205. package/dist/utils/app.js +12 -0
  1206. package/dist/utils/basic.js +8 -0
  1207. package/dist/utils/browserUtil.js +5 -19
  1208. package/dist/utils/cache.js +8 -11
  1209. package/dist/utils/formatting.js +16 -12
  1210. package/dist/utils/fsUtil.js +10 -8
  1211. package/dist/utils/md.js +11 -14
  1212. package/dist/utils/misc.js +1 -4
  1213. package/dist/utils/odata.js +20 -35
  1214. package/dist/utils/packageManager.js +13 -16
  1215. package/dist/utils/pid.js +11 -14
  1216. package/dist/utils/planner.js +29 -44
  1217. package/dist/utils/powerPlatform.js +25 -39
  1218. package/dist/utils/session.js +5 -8
  1219. package/dist/utils/sinonUtil.js +1 -4
  1220. package/dist/utils/spfx.js +3 -8
  1221. package/dist/utils/spo.js +837 -262
  1222. package/dist/utils/tsUtil.js +8 -0
  1223. package/dist/utils/types.js +1 -2
  1224. package/dist/utils/urlUtil.js +3 -6
  1225. package/dist/utils/validation.js +2 -8
  1226. package/docs/docs/_clisettings.mdx +17 -0
  1227. package/docs/docs/cmd/_global.mdx +2 -2
  1228. package/docs/docs/cmd/aad/app/app-remove.mdx +2 -2
  1229. package/docs/docs/cmd/aad/app/app-role-remove.mdx +2 -2
  1230. package/docs/docs/cmd/aad/app/app-set.mdx +15 -15
  1231. package/docs/docs/cmd/aad/approleassignment/approleassignment-add.mdx +9 -9
  1232. package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.mdx +11 -11
  1233. package/docs/docs/cmd/aad/group/group-get.mdx +5 -5
  1234. package/docs/docs/cmd/aad/group/group-list.mdx +0 -11
  1235. package/docs/docs/cmd/aad/group/group-remove.mdx +44 -0
  1236. package/docs/docs/cmd/aad/groupsetting/groupsetting-remove.mdx +2 -2
  1237. package/docs/docs/cmd/aad/{o365group/o365group-add.mdx → m365group/m365group-add.mdx} +25 -15
  1238. package/docs/docs/cmd/aad/{o365group/o365group-conversation-list.mdx → m365group/m365group-conversation-list.mdx} +4 -4
  1239. package/docs/docs/cmd/aad/{o365group/o365group-conversation-post-list.mdx → m365group/m365group-conversation-post-list.mdx} +8 -8
  1240. package/docs/docs/cmd/aad/{o365group/o365group-get.mdx → m365group/m365group-get.mdx} +6 -6
  1241. package/docs/docs/cmd/aad/{o365group/o365group-list.mdx → m365group/m365group-list.mdx} +12 -29
  1242. package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-clear.mdx → m365group/m365group-recyclebinitem-clear.mdx} +6 -6
  1243. package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-list.mdx → m365group/m365group-recyclebinitem-list.mdx} +8 -8
  1244. package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-remove.mdx → m365group/m365group-recyclebinitem-remove.mdx} +7 -7
  1245. package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-restore.mdx → m365group/m365group-recyclebinitem-restore.mdx} +6 -6
  1246. package/docs/docs/cmd/aad/{o365group/o365group-remove.mdx → m365group/m365group-remove.mdx} +7 -7
  1247. package/docs/docs/cmd/aad/{o365group/o365group-renew.mdx → m365group/m365group-renew.mdx} +4 -4
  1248. package/docs/docs/cmd/aad/{o365group/o365group-report-activitycounts.mdx → m365group/m365group-report-activitycounts.mdx} +7 -7
  1249. package/docs/docs/cmd/aad/{o365group/o365group-report-activitydetail.mdx → m365group/m365group-report-activitydetail.mdx} +8 -8
  1250. package/docs/docs/cmd/aad/{o365group/o365group-report-activityfilecounts.mdx → m365group/m365group-report-activityfilecounts.mdx} +7 -7
  1251. package/docs/docs/cmd/aad/{o365group/o365group-report-activitygroupcounts.mdx → m365group/m365group-report-activitygroupcounts.mdx} +7 -7
  1252. package/docs/docs/cmd/aad/{o365group/o365group-report-activitystorage.mdx → m365group/m365group-report-activitystorage.mdx} +7 -7
  1253. package/docs/docs/cmd/aad/{o365group/o365group-set.mdx → m365group/m365group-set.mdx} +8 -8
  1254. package/docs/docs/cmd/aad/{o365group/o365group-teamify.mdx → m365group/m365group-teamify.mdx} +5 -5
  1255. package/docs/docs/cmd/aad/{o365group/o365group-user-add.mdx → m365group/m365group-user-add.mdx} +5 -5
  1256. package/docs/docs/cmd/aad/{o365group/o365group-user-list.mdx → m365group/m365group-user-list.mdx} +7 -7
  1257. package/docs/docs/cmd/aad/{o365group/o365group-user-remove.mdx → m365group/m365group-user-remove.mdx} +6 -6
  1258. package/docs/docs/cmd/aad/{o365group/o365group-user-set.mdx → m365group/m365group-user-set.mdx} +5 -5
  1259. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-remove.mdx +2 -2
  1260. package/docs/docs/cmd/aad/policy/policy-list.mdx +5 -5
  1261. package/docs/docs/cmd/aad/siteclassification/siteclassification-disable.mdx +2 -2
  1262. package/docs/docs/cmd/aad/user/user-get.mdx +118 -25
  1263. package/docs/docs/cmd/aad/user/user-license-remove.mdx +1 -1
  1264. package/docs/docs/cmd/aad/user/user-list.mdx +0 -9
  1265. package/docs/docs/cmd/aad/user/user-recyclebinitem-clear.mdx +2 -2
  1266. package/docs/docs/cmd/aad/user/user-recyclebinitem-remove.mdx +2 -2
  1267. package/docs/docs/cmd/aad/user/user-remove.mdx +1 -1
  1268. package/docs/docs/cmd/aad/user/user-set.mdx +11 -11
  1269. package/docs/docs/cmd/cli/config/config-list.mdx +78 -0
  1270. package/docs/docs/cmd/context/context-remove.mdx +2 -2
  1271. package/docs/docs/cmd/context/option/option-remove.mdx +2 -2
  1272. package/docs/docs/cmd/file/file-list.mdx +1 -1
  1273. package/docs/docs/cmd/flow/environment/environment-get.mdx +1 -2
  1274. package/docs/docs/cmd/flow/environment/environment-list.mdx +1 -2
  1275. package/docs/docs/cmd/flow/flow-enable.mdx +2 -2
  1276. package/docs/docs/cmd/flow/flow-export.mdx +10 -10
  1277. package/docs/docs/cmd/flow/flow-remove.mdx +3 -3
  1278. package/docs/docs/cmd/flow/owner/owner-ensure.mdx +1 -1
  1279. package/docs/docs/cmd/flow/owner/owner-list.mdx +1 -1
  1280. package/docs/docs/cmd/flow/owner/owner-remove.mdx +3 -3
  1281. package/docs/docs/cmd/flow/run/run-cancel.mdx +1 -1
  1282. package/docs/docs/cmd/flow/run/run-get.mdx +1 -1
  1283. package/docs/docs/cmd/flow/run/run-list.mdx +2 -4
  1284. package/docs/docs/cmd/flow/run/run-resubmit.mdx +3 -3
  1285. package/docs/docs/cmd/graph/schemaextension/schemaextension-remove.mdx +2 -2
  1286. package/docs/docs/cmd/graph/subscription/subscription-add.mdx +10 -10
  1287. package/docs/docs/cmd/login.mdx +6 -0
  1288. package/docs/docs/cmd/onedrive/report/report-activityfilecounts.mdx +1 -1
  1289. package/docs/docs/cmd/onedrive/report/report-activityusercounts.mdx +1 -1
  1290. package/docs/docs/cmd/onedrive/report/report-activityuserdetail.mdx +1 -1
  1291. package/docs/docs/cmd/onedrive/report/report-usageaccountcounts.mdx +1 -1
  1292. package/docs/docs/cmd/onedrive/report/report-usageaccountdetail.mdx +1 -1
  1293. package/docs/docs/cmd/onedrive/report/report-usagefilecounts.mdx +1 -1
  1294. package/docs/docs/cmd/onedrive/report/report-usagestorage.mdx +1 -1
  1295. package/docs/docs/cmd/outlook/report/report-mailactivitycounts.mdx +1 -1
  1296. package/docs/docs/cmd/outlook/report/report-mailactivityusercounts.mdx +1 -1
  1297. package/docs/docs/cmd/outlook/report/report-mailactivityuserdetail.mdx +1 -1
  1298. package/docs/docs/cmd/outlook/report/report-mailappusageappsusercounts.mdx +1 -1
  1299. package/docs/docs/cmd/outlook/report/report-mailappusageusercounts.mdx +1 -1
  1300. package/docs/docs/cmd/outlook/report/report-mailappusageuserdetail.mdx +1 -1
  1301. package/docs/docs/cmd/outlook/report/report-mailappusageversionsusercounts.mdx +1 -1
  1302. package/docs/docs/cmd/outlook/report/report-mailboxusagedetail.mdx +1 -1
  1303. package/docs/docs/cmd/outlook/report/report-mailboxusagemailboxcount.mdx +1 -1
  1304. package/docs/docs/cmd/outlook/report/report-mailboxusagequotastatusmailboxcounts.mdx +1 -1
  1305. package/docs/docs/cmd/outlook/report/report-mailboxusagestorage.mdx +1 -1
  1306. package/docs/docs/cmd/pa/app/app-consent-set.mdx +4 -4
  1307. package/docs/docs/cmd/pa/app/app-export.mdx +6 -6
  1308. package/docs/docs/cmd/pa/app/app-get.mdx +1 -1
  1309. package/docs/docs/cmd/pa/app/app-list.mdx +3 -3
  1310. package/docs/docs/cmd/pa/app/app-owner-set.mdx +60 -0
  1311. package/docs/docs/cmd/pa/app/app-permission-ensure.mdx +85 -0
  1312. package/docs/docs/cmd/pa/app/app-permission-list.mdx +132 -0
  1313. package/docs/docs/cmd/pa/app/app-permission-remove.mdx +74 -0
  1314. package/docs/docs/cmd/pa/app/app-remove.mdx +2 -2
  1315. package/docs/docs/cmd/pa/connector/connector-export.mdx +3 -3
  1316. package/docs/docs/cmd/planner/bucket/bucket-add.mdx +21 -4
  1317. package/docs/docs/cmd/planner/bucket/bucket-get.mdx +22 -5
  1318. package/docs/docs/cmd/planner/bucket/bucket-list.mdx +21 -4
  1319. package/docs/docs/cmd/planner/bucket/bucket-remove.mdx +23 -6
  1320. package/docs/docs/cmd/planner/bucket/bucket-set.mdx +22 -5
  1321. package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
  1322. package/docs/docs/cmd/planner/plan/plan-remove.mdx +2 -2
  1323. package/docs/docs/cmd/planner/roster/roster-member-remove.mdx +2 -2
  1324. package/docs/docs/cmd/planner/roster/roster-remove.mdx +2 -2
  1325. package/docs/docs/cmd/planner/task/task-add.mdx +22 -7
  1326. package/docs/docs/cmd/planner/task/task-checklistitem-remove.mdx +2 -2
  1327. package/docs/docs/cmd/planner/task/task-get.mdx +13 -4
  1328. package/docs/docs/cmd/planner/task/task-list.mdx +22 -7
  1329. package/docs/docs/cmd/planner/task/task-reference-remove.mdx +1 -1
  1330. package/docs/docs/cmd/planner/task/task-remove.mdx +27 -10
  1331. package/docs/docs/cmd/planner/task/task-set.mdx +22 -7
  1332. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +5 -5
  1333. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +5 -5
  1334. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-remove.mdx +5 -5
  1335. package/docs/docs/cmd/pp/card/card-clone.mdx +7 -7
  1336. package/docs/docs/cmd/pp/card/card-get.mdx +7 -7
  1337. package/docs/docs/cmd/pp/card/card-list.mdx +5 -5
  1338. package/docs/docs/cmd/pp/card/card-remove.mdx +10 -10
  1339. package/docs/docs/cmd/pp/chatbot/chatbot-get.mdx +7 -7
  1340. package/docs/docs/cmd/pp/chatbot/chatbot-list.mdx +9 -9
  1341. package/docs/docs/cmd/pp/chatbot/chatbot-remove.mdx +5 -5
  1342. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +5 -5
  1343. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +5 -5
  1344. package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +6 -6
  1345. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.mdx +6 -6
  1346. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.mdx +7 -7
  1347. package/docs/docs/cmd/pp/solution/solution-get.mdx +6 -6
  1348. package/docs/docs/cmd/pp/solution/solution-list.mdx +4 -4
  1349. package/docs/docs/cmd/pp/solution/solution-publish.mdx +4 -4
  1350. package/docs/docs/cmd/pp/solution/solution-publisher-add.mdx +3 -3
  1351. package/docs/docs/cmd/pp/solution/solution-publisher-get.mdx +8 -8
  1352. package/docs/docs/cmd/pp/solution/solution-publisher-list.mdx +4 -4
  1353. package/docs/docs/cmd/pp/solution/solution-publisher-remove.mdx +8 -8
  1354. package/docs/docs/cmd/pp/solution/solution-remove.mdx +10 -10
  1355. package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.mdx +1 -1
  1356. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.mdx +1 -1
  1357. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.mdx +1 -1
  1358. package/docs/docs/cmd/search/externalconnection/externalconnection-remove.mdx +2 -2
  1359. package/docs/docs/cmd/skype/report/report-activitycounts.mdx +1 -1
  1360. package/docs/docs/cmd/skype/report/report-activityusercounts.mdx +1 -1
  1361. package/docs/docs/cmd/skype/report/report-activityuserdetail.mdx +1 -1
  1362. package/docs/docs/cmd/spfx/project/project-externalize.mdx +1 -1
  1363. package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +94 -0
  1364. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +2 -2
  1365. package/docs/docs/cmd/spo/app/app-remove.mdx +2 -2
  1366. package/docs/docs/cmd/spo/app/app-retract.mdx +2 -2
  1367. package/docs/docs/cmd/spo/app/app-uninstall.mdx +1 -1
  1368. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.mdx +4 -4
  1369. package/docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx +1 -1
  1370. package/docs/docs/cmd/spo/commandset/commandset-remove.mdx +1 -1
  1371. package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.mdx +3 -3
  1372. package/docs/docs/cmd/spo/contenttype/contenttype-field-set.mdx +1 -1
  1373. package/docs/docs/cmd/spo/contenttype/contenttype-remove.mdx +3 -3
  1374. package/docs/docs/cmd/spo/customaction/customaction-clear.mdx +2 -2
  1375. package/docs/docs/cmd/spo/customaction/customaction-remove.mdx +3 -3
  1376. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.mdx +1 -1
  1377. package/docs/docs/cmd/spo/externaluser/externaluser-list.mdx +1 -1
  1378. package/docs/docs/cmd/spo/field/field-remove.mdx +1 -1
  1379. package/docs/docs/cmd/spo/file/file-add.mdx +2 -2
  1380. package/docs/docs/cmd/spo/file/file-checkin.mdx +2 -2
  1381. package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +4 -12
  1382. package/docs/docs/cmd/spo/file/file-checkout.mdx +2 -2
  1383. package/docs/docs/cmd/spo/file/file-copy.mdx +20 -16
  1384. package/docs/docs/cmd/spo/file/file-get.mdx +3 -3
  1385. package/docs/docs/cmd/spo/file/file-list.mdx +6 -10
  1386. package/docs/docs/cmd/spo/file/file-move.mdx +36 -18
  1387. package/docs/docs/cmd/spo/file/file-remove.mdx +11 -11
  1388. package/docs/docs/cmd/spo/file/file-rename.mdx +3 -3
  1389. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +3 -3
  1390. package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +4 -4
  1391. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +1 -1
  1392. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +2 -2
  1393. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +2 -2
  1394. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +3 -3
  1395. package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +2 -2
  1396. package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +1 -1
  1397. package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +3 -3
  1398. package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +1 -1
  1399. package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +1 -1
  1400. package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +3 -3
  1401. package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +1 -1
  1402. package/docs/docs/cmd/spo/file/file-version-clear.mdx +6 -6
  1403. package/docs/docs/cmd/spo/file/file-version-get.mdx +3 -3
  1404. package/docs/docs/cmd/spo/file/file-version-list.mdx +3 -3
  1405. package/docs/docs/cmd/spo/file/file-version-remove.mdx +6 -6
  1406. package/docs/docs/cmd/spo/file/file-version-restore.mdx +6 -6
  1407. package/docs/docs/cmd/spo/folder/folder-add.mdx +76 -1
  1408. package/docs/docs/cmd/spo/folder/folder-copy.mdx +39 -12
  1409. package/docs/docs/cmd/spo/folder/folder-get.mdx +2 -2
  1410. package/docs/docs/cmd/spo/folder/folder-list.mdx +2 -2
  1411. package/docs/docs/cmd/spo/folder/folder-move.mdx +40 -13
  1412. package/docs/docs/cmd/spo/folder/folder-remove.mdx +3 -3
  1413. package/docs/docs/cmd/spo/folder/folder-rename.mdx +6 -2
  1414. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
  1415. package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +2 -2
  1416. package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +3 -3
  1417. package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +4 -4
  1418. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +5 -5
  1419. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +5 -5
  1420. package/docs/docs/cmd/spo/group/group-member-add.mdx +27 -27
  1421. package/docs/docs/cmd/spo/group/group-remove.mdx +1 -1
  1422. package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +2 -2
  1423. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +2 -2
  1424. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.mdx +1 -1
  1425. package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.mdx +2 -2
  1426. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.mdx +2 -2
  1427. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.mdx +2 -2
  1428. package/docs/docs/cmd/spo/list/list-add.mdx +0 -3
  1429. package/docs/docs/cmd/spo/list/list-contenttype-remove.mdx +2 -2
  1430. package/docs/docs/cmd/spo/list/list-list.mdx +1 -1
  1431. package/docs/docs/cmd/spo/list/list-remove.mdx +1 -1
  1432. package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.mdx +2 -17
  1433. package/docs/docs/cmd/spo/list/list-retentionlabel-get.mdx +0 -6
  1434. package/docs/docs/cmd/spo/list/list-retentionlabel-remove.mdx +2 -2
  1435. package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +1 -1
  1436. package/docs/docs/cmd/spo/list/list-roleinheritance-break.mdx +2 -2
  1437. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.mdx +2 -2
  1438. package/docs/docs/cmd/spo/list/list-set.mdx +0 -3
  1439. package/docs/docs/cmd/spo/list/list-view-remove.mdx +2 -2
  1440. package/docs/docs/cmd/spo/list/list-webhook-remove.mdx +2 -2
  1441. package/docs/docs/cmd/spo/listitem/listitem-add.mdx +3 -6
  1442. package/docs/docs/cmd/spo/listitem/listitem-attachment-add.mdx +110 -0
  1443. package/docs/docs/cmd/spo/listitem/listitem-attachment-get.mdx +104 -0
  1444. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +8 -8
  1445. package/docs/docs/cmd/spo/listitem/listitem-attachment-remove.mdx +58 -0
  1446. package/docs/docs/cmd/spo/listitem/listitem-attachment-set.mdx +58 -0
  1447. package/docs/docs/cmd/spo/listitem/listitem-list.mdx +1 -1
  1448. package/docs/docs/cmd/spo/listitem/listitem-remove.mdx +1 -1
  1449. package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.mdx +1 -1
  1450. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +2 -2
  1451. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.mdx +2 -2
  1452. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.mdx +2 -2
  1453. package/docs/docs/cmd/spo/listitem/listitem-set.mdx +2 -5
  1454. package/docs/docs/cmd/spo/navigation/navigation-node-remove.mdx +2 -2
  1455. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.mdx +14 -1
  1456. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.mdx +3 -3
  1457. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.mdx +2 -2
  1458. package/docs/docs/cmd/spo/page/page-get.mdx +0 -1
  1459. package/docs/docs/cmd/spo/page/page-list.mdx +0 -1
  1460. package/docs/docs/cmd/spo/page/page-remove.mdx +3 -3
  1461. package/docs/docs/cmd/spo/page/page-section-add.mdx +25 -1
  1462. package/docs/docs/cmd/spo/page/page-set.mdx +23 -0
  1463. package/docs/docs/cmd/spo/propertybag/propertybag-get.mdx +1 -1
  1464. package/docs/docs/cmd/spo/propertybag/propertybag-list.mdx +1 -1
  1465. package/docs/docs/cmd/spo/propertybag/propertybag-remove.mdx +3 -3
  1466. package/docs/docs/cmd/spo/propertybag/propertybag-set.mdx +1 -1
  1467. package/docs/docs/cmd/spo/report/report-activityfilecounts.mdx +1 -1
  1468. package/docs/docs/cmd/spo/report/report-activitypages.mdx +1 -1
  1469. package/docs/docs/cmd/spo/report/report-activityusercounts.mdx +1 -1
  1470. package/docs/docs/cmd/spo/report/report-activityuserdetail.mdx +1 -1
  1471. package/docs/docs/cmd/spo/report/report-siteusagedetail.mdx +1 -1
  1472. package/docs/docs/cmd/spo/report/report-siteusagefilecounts.mdx +1 -1
  1473. package/docs/docs/cmd/spo/report/report-siteusagepages.mdx +1 -1
  1474. package/docs/docs/cmd/spo/report/report-siteusagesitecounts.mdx +1 -1
  1475. package/docs/docs/cmd/spo/report/report-siteusagestorage.mdx +1 -1
  1476. package/docs/docs/cmd/spo/roledefinition/roledefinition-remove.mdx +2 -2
  1477. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.mdx +2 -2
  1478. package/docs/docs/cmd/spo/site/site-add.mdx +36 -1
  1479. package/docs/docs/cmd/spo/site/site-appcatalog-add.mdx +5 -1
  1480. package/docs/docs/cmd/spo/site/site-appcatalog-list.mdx +14 -0
  1481. package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +4 -0
  1482. package/docs/docs/cmd/spo/site/site-apppermission-add.mdx +68 -0
  1483. package/docs/docs/cmd/spo/site/site-apppermission-get.mdx +55 -0
  1484. package/docs/docs/cmd/spo/site/site-apppermission-list.mdx +55 -0
  1485. package/docs/docs/cmd/spo/site/site-apppermission-remove.mdx +5 -1
  1486. package/docs/docs/cmd/spo/site/site-apppermission-set.mdx +66 -0
  1487. package/docs/docs/cmd/spo/site/site-chrome-set.mdx +4 -0
  1488. package/docs/docs/cmd/spo/site/site-commsite-enable.mdx +20 -1
  1489. package/docs/docs/cmd/spo/site/site-ensure.mdx +71 -1
  1490. package/docs/docs/cmd/spo/site/site-get.mdx +179 -0
  1491. package/docs/docs/cmd/spo/site/site-groupify.mdx +54 -0
  1492. package/docs/docs/cmd/spo/site/site-hubsite-connect.mdx +4 -0
  1493. package/docs/docs/cmd/spo/site/site-hubsite-disconnect.mdx +6 -2
  1494. package/docs/docs/cmd/spo/site/site-hubsite-theme-sync.mdx +5 -1
  1495. package/docs/docs/cmd/spo/site/site-inplacerecordsmanagement-set.mdx +4 -0
  1496. package/docs/docs/cmd/spo/site/site-list.mdx +238 -10
  1497. package/docs/docs/cmd/spo/site/site-recyclebinitem-clear.mdx +1 -1
  1498. package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +80 -0
  1499. package/docs/docs/cmd/spo/site/site-recyclebinitem-move.mdx +1 -1
  1500. package/docs/docs/cmd/spo/site/site-recyclebinitem-remove.mdx +2 -2
  1501. package/docs/docs/cmd/spo/site/site-recyclebinitem-restore.mdx +4 -0
  1502. package/docs/docs/cmd/spo/site/site-remove.mdx +5 -1
  1503. package/docs/docs/cmd/spo/site/site-rename.mdx +92 -0
  1504. package/docs/docs/cmd/spo/site/site-set.mdx +13 -0
  1505. package/docs/docs/cmd/spo/sitedesign/sitedesign-add.mdx +116 -0
  1506. package/docs/docs/cmd/spo/sitedesign/sitedesign-apply.mdx +125 -0
  1507. package/docs/docs/cmd/spo/sitedesign/sitedesign-get.mdx +117 -0
  1508. package/docs/docs/cmd/spo/sitedesign/sitedesign-list.mdx +94 -0
  1509. package/docs/docs/cmd/spo/sitedesign/sitedesign-remove.mdx +6 -2
  1510. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.mdx +4 -0
  1511. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.mdx +54 -0
  1512. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.mdx +6 -2
  1513. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-list.mdx +66 -0
  1514. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +65 -0
  1515. package/docs/docs/cmd/spo/sitedesign/sitedesign-set.mdx +117 -0
  1516. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.mdx +61 -0
  1517. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-list.mdx +60 -0
  1518. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.mdx +6 -2
  1519. package/docs/docs/cmd/spo/sitescript/sitescript-add.mdx +75 -0
  1520. package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +62 -0
  1521. package/docs/docs/cmd/spo/sitescript/sitescript-list.mdx +60 -0
  1522. package/docs/docs/cmd/spo/sitescript/sitescript-remove.mdx +6 -2
  1523. package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +63 -0
  1524. package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +53 -0
  1525. package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +54 -0
  1526. package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +6 -2
  1527. package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +4 -0
  1528. package/docs/docs/cmd/spo/tenant/tenant-appcatalog-add.mdx +4 -0
  1529. package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.mdx +35 -0
  1530. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +1 -1
  1531. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +3 -3
  1532. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +4 -6
  1533. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +3 -3
  1534. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +12 -3
  1535. package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
  1536. package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +1 -1
  1537. package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +3 -5
  1538. package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +3 -3
  1539. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +25 -13
  1540. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-list.mdx +67 -0
  1541. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.mdx +5 -1
  1542. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +50 -0
  1543. package/docs/docs/cmd/spo/tenant/tenant-settings-list.mdx +729 -0
  1544. package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +5 -0
  1545. package/docs/docs/cmd/spo/theme/theme-apply.mdx +35 -0
  1546. package/docs/docs/cmd/spo/theme/theme-get.mdx +74 -0
  1547. package/docs/docs/cmd/spo/theme/theme-list.mdx +52 -0
  1548. package/docs/docs/cmd/spo/theme/theme-remove.mdx +6 -2
  1549. package/docs/docs/cmd/spo/theme/theme-set.mdx +4 -0
  1550. package/docs/docs/cmd/spo/user/user-get.mdx +2 -2
  1551. package/docs/docs/cmd/spo/user/user-remove.mdx +2 -2
  1552. package/docs/docs/cmd/spo/userprofile/userprofile-get.mdx +1 -1
  1553. package/docs/docs/cmd/spo/web/web-remove.mdx +2 -2
  1554. package/docs/docs/cmd/spo/web/web-roleassignment-remove.mdx +2 -2
  1555. package/docs/docs/cmd/spo/web/web-roleinheritance-break.mdx +1 -1
  1556. package/docs/docs/cmd/spo/web/web-roleinheritance-reset.mdx +2 -2
  1557. package/docs/docs/cmd/teams/app/app-remove.mdx +10 -7
  1558. package/docs/docs/cmd/teams/app/app-uninstall.mdx +1 -1
  1559. package/docs/docs/cmd/teams/cache/cache-remove.mdx +1 -1
  1560. package/docs/docs/cmd/teams/channel/channel-member-add.mdx +4 -4
  1561. package/docs/docs/cmd/teams/channel/channel-member-remove.mdx +1 -1
  1562. package/docs/docs/cmd/teams/channel/channel-remove.mdx +3 -3
  1563. package/docs/docs/cmd/teams/chat/chat-member-add.mdx +66 -0
  1564. package/docs/docs/cmd/teams/chat/chat-member-remove.mdx +2 -2
  1565. package/docs/docs/cmd/teams/meeting/meeting-list.mdx +135 -92
  1566. package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.mdx +1 -1
  1567. package/docs/docs/cmd/teams/report/report-deviceusageusercounts.mdx +1 -1
  1568. package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.mdx +1 -1
  1569. package/docs/docs/cmd/teams/report/report-useractivitycounts.mdx +1 -1
  1570. package/docs/docs/cmd/teams/report/report-useractivityusercounts.mdx +1 -1
  1571. package/docs/docs/cmd/teams/report/report-useractivityuserdetail.mdx +1 -1
  1572. package/docs/docs/cmd/teams/tab/tab-remove.mdx +2 -2
  1573. package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
  1574. package/docs/docs/cmd/teams/team/team-clone.mdx +3 -3
  1575. package/docs/docs/cmd/teams/team/team-list.mdx +47 -22
  1576. package/docs/docs/cmd/teams/team/team-remove.mdx +2 -2
  1577. package/docs/docs/cmd/teams/user/user-app-remove.mdx +1 -1
  1578. package/docs/docs/cmd/tenant/info/info-get.mdx +101 -0
  1579. package/docs/docs/cmd/tenant/report/report-activeusercounts.mdx +1 -1
  1580. package/docs/docs/cmd/tenant/report/report-activeuserdetail.mdx +1 -1
  1581. package/docs/docs/cmd/tenant/report/report-servicesusercounts.mdx +1 -1
  1582. package/docs/docs/cmd/todo/list/list-remove.mdx +2 -2
  1583. package/docs/docs/cmd/todo/task/task-remove.mdx +1 -1
  1584. package/docs/docs/cmd/yammer/group/group-user-remove.mdx +2 -2
  1585. package/docs/docs/cmd/yammer/message/message-like-set.mdx +2 -2
  1586. package/docs/docs/cmd/yammer/message/message-list.mdx +1 -1
  1587. package/docs/docs/cmd/yammer/message/message-remove.mdx +2 -2
  1588. package/docs/docs/cmd/yammer/network/network-list.mdx +1 -1
  1589. package/docs/docs/cmd/yammer/report/report-activitycounts.mdx +1 -1
  1590. package/docs/docs/cmd/yammer/report/report-activityusercounts.mdx +1 -1
  1591. package/docs/docs/cmd/yammer/report/report-activityuserdetail.mdx +1 -1
  1592. package/docs/docs/cmd/yammer/report/report-deviceusagedistributionusercounts.mdx +1 -1
  1593. package/docs/docs/cmd/yammer/report/report-deviceusageusercounts.mdx +1 -1
  1594. package/docs/docs/cmd/yammer/report/report-deviceusageuserdetail.mdx +1 -1
  1595. package/docs/docs/cmd/yammer/report/report-groupsactivitycounts.mdx +1 -1
  1596. package/docs/docs/cmd/yammer/report/report-groupsactivitydetail.mdx +1 -1
  1597. package/docs/docs/cmd/yammer/report/report-groupsactivitygroupcounts.mdx +1 -1
  1598. package/npm-shrinkwrap.json +1457 -6336
  1599. package/package.json +33 -36
  1600. package/dist/m365/aad/commands/o365group/GroupExtended.js +0 -3
  1601. package/dist/m365/aad/commands/o365group/o365group-add.js +0 -274
  1602. package/dist/m365/aad/commands/o365group/o365group-conversation-list.js +0 -63
  1603. package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +0 -90
  1604. package/dist/m365/aad/commands/o365group/o365group-get.js +0 -75
  1605. package/dist/m365/aad/commands/o365group/o365group-list.js +0 -130
  1606. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-clear.js +0 -97
  1607. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-list.js +0 -70
  1608. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-remove.js +0 -135
  1609. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +0 -119
  1610. package/dist/m365/aad/commands/o365group/o365group-remove.js +0 -106
  1611. package/dist/m365/aad/commands/o365group/o365group-renew.js +0 -68
  1612. package/dist/m365/aad/commands/o365group/o365group-report-activitycounts.js +0 -17
  1613. package/dist/m365/aad/commands/o365group/o365group-report-activitydetail.js +0 -17
  1614. package/dist/m365/aad/commands/o365group/o365group-report-activityfilecounts.js +0 -17
  1615. package/dist/m365/aad/commands/o365group/o365group-report-activitygroupcounts.js +0 -17
  1616. package/dist/m365/aad/commands/o365group/o365group-report-activitystorage.js +0 -17
  1617. package/dist/m365/aad/commands/o365group/o365group-set.js +0 -246
  1618. package/dist/m365/aad/commands/o365group/o365group-teamify.js +0 -119
  1619. package/dist/m365/aad/commands/o365group/o365group-user-add.js +0 -109
  1620. package/dist/m365/aad/commands/o365group/o365group-user-list.js +0 -106
  1621. package/dist/m365/aad/commands/o365group/o365group-user-remove.js +0 -147
  1622. package/dist/m365/aad/commands/o365group/o365group-user-set.js +0 -169
  1623. package/dist/m365/pa/cds-project-mutator.js +0 -94
  1624. package/dist/m365/pa/commands/pcf/pcf-init/assets/control/dataset-template/generated/ManifestTypes.d.ts +0 -11
  1625. package/dist/m365/pa/commands/pcf/pcf-init/assets/control/dataset-template/template_ControlManifest.Input.xml +0 -31
  1626. package/dist/m365/pa/commands/pcf/pcf-init/assets/control/dataset-template/template_index.ts +0 -56
  1627. package/dist/m365/pa/commands/pcf/pcf-init/assets/control/field-template/generated/ManifestTypes.d.ts +0 -12
  1628. package/dist/m365/pa/commands/pcf/pcf-init/assets/control/field-template/template_ControlManifest.Input.xml +0 -37
  1629. package/dist/m365/pa/commands/pcf/pcf-init/assets/control/field-template/template_index.ts +0 -53
  1630. package/dist/m365/pa/commands/pcf/pcf-init/assets/control/index.ts +0 -0
  1631. package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-dataset-template/template_ControlManifest.Input.xml +0 -31
  1632. package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-dataset-template/template_index.tsx +0 -58
  1633. package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-field-template/template_ControlManifest.Input.xml +0 -37
  1634. package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-field-template/template_index.tsx +0 -55
  1635. package/dist/m365/pa/commands/pcf/pcf-init/assets/package.json +0 -19
  1636. package/dist/m365/pa/commands/pcf/pcf-init/assets/pcfconfig.json +0 -3
  1637. package/dist/m365/pa/commands/pcf/pcf-init/assets/template_.gitignore +0 -14
  1638. package/dist/m365/pa/commands/pcf/pcf-init/assets/template_pcfprojecttype.pcfproj +0 -45
  1639. package/dist/m365/pa/commands/pcf/pcf-init/pcf-init-variables.js +0 -3
  1640. package/dist/m365/pa/commands/pcf/pcf-init.js +0 -131
  1641. package/dist/m365/pa/commands/solution/solution-init/assets/Other/Customizations.xml +0 -18
  1642. package/dist/m365/pa/commands/solution/solution-init/assets/Other/Relationships.xml +0 -2
  1643. package/dist/m365/pa/commands/solution/solution-init/assets/Other/template_Solution.xml +0 -94
  1644. package/dist/m365/pa/commands/solution/solution-init/assets/template_.gitignore +0 -2
  1645. package/dist/m365/pa/commands/solution/solution-init/assets/template_solutionprojecttype.cdsproj +0 -44
  1646. package/dist/m365/pa/commands/solution/solution-init/solution-init-variables.js +0 -3
  1647. package/dist/m365/pa/commands/solution/solution-init.js +0 -137
  1648. package/dist/m365/pa/commands/solution/solution-reference-add.js +0 -101
  1649. package/dist/m365/pa/template-instantiator.js +0 -59
  1650. package/docs/docs/cmd/pa/pcf/pcf-init.mdx +0 -56
  1651. package/docs/docs/cmd/pa/solution/solution-init.mdx +0 -46
  1652. package/docs/docs/cmd/pa/solution/solution-reference-add.mdx +0 -42
@@ -1,31 +1,20 @@
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
1
  var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
12
2
  if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
13
3
  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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
15
5
  };
16
6
  var _SpoFileSharingInfoGetCommand_instances, _SpoFileSharingInfoGetCommand_initTelemetry, _SpoFileSharingInfoGetCommand_initOptions, _SpoFileSharingInfoGetCommand_initValidators, _SpoFileSharingInfoGetCommand_initOptionSets;
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- const Cli_1 = require("../../../../cli/Cli");
19
- const request_1 = require("../../../../request");
20
- const formatting_1 = require("../../../../utils/formatting");
21
- const urlUtil_1 = require("../../../../utils/urlUtil");
22
- const validation_1 = require("../../../../utils/validation");
23
- const SpoCommand_1 = require("../../../base/SpoCommand");
24
- const commands_1 = require("../../commands");
25
- const FileSharingPrincipalType_1 = require("./FileSharingPrincipalType");
26
- class SpoFileSharingInfoGetCommand extends SpoCommand_1.default {
7
+ import { Cli } from '../../../../cli/Cli.js';
8
+ import request from '../../../../request.js';
9
+ import { formatting } from '../../../../utils/formatting.js';
10
+ import { urlUtil } from '../../../../utils/urlUtil.js';
11
+ import { validation } from '../../../../utils/validation.js';
12
+ import SpoCommand from '../../../base/SpoCommand.js';
13
+ import commands from '../../commands.js';
14
+ import { FileSharingPrincipalType } from './FileSharingPrincipalType.js';
15
+ class SpoFileSharingInfoGetCommand extends SpoCommand {
27
16
  get name() {
28
- return commands_1.default.FILE_SHARINGINFO_GET;
17
+ return commands.FILE_SHARINGINFO_GET;
29
18
  }
30
19
  get description() {
31
20
  return 'Generates a sharing information report for the specified file';
@@ -41,81 +30,77 @@ class SpoFileSharingInfoGetCommand extends SpoCommand_1.default {
41
30
  getExcludedOptionsWithUrls() {
42
31
  return ['fileUrl'];
43
32
  }
44
- commandAction(logger, args) {
45
- return __awaiter(this, void 0, void 0, function* () {
33
+ async commandAction(logger, args) {
34
+ if (this.verbose) {
35
+ await logger.logToStderr(`Retrieving sharing information report for the file ${args.options.fileId || args.options.fileUrl}`);
36
+ }
37
+ try {
38
+ const fileInformation = await this.getNeededFileInformation(args);
46
39
  if (this.verbose) {
47
- logger.logToStderr(`Retrieving sharing information report for the file ${args.options.fileId || args.options.fileUrl}`);
48
- }
49
- try {
50
- const fileInformation = yield this.getNeededFileInformation(args);
51
- if (this.verbose) {
52
- logger.logToStderr(`Retrieving sharing information report for the file with item Id ${fileInformation.fileItemId}`);
53
- }
54
- const requestOptions = {
55
- url: `${args.options.webUrl}/_api/web/lists/getbytitle('${formatting_1.formatting.encodeQueryParameter(fileInformation.libraryName)}')/items(${fileInformation.fileItemId})/GetSharingInformation?$select=permissionsInformation&$Expand=permissionsInformation`,
56
- headers: {
57
- 'accept': 'application/json;odata=nometadata'
58
- },
59
- responseType: 'json'
60
- };
61
- const res = yield request_1.default.post(requestOptions);
62
- // typically, we don't do this, but in this case, we need to due to
63
- // the complexity of the retrieved object and the fact that we can't
64
- // use the generic way of simplifying the output
65
- if (!Cli_1.Cli.shouldTrimOutput(args.options.output)) {
66
- logger.log(res);
67
- }
68
- else {
69
- const fileSharingInfoCollection = [];
70
- res.permissionsInformation.links.forEach(link => {
71
- link.linkDetails.Invitations.forEach(linkInvite => {
72
- fileSharingInfoCollection.push({
73
- SharedWith: linkInvite.invitee.name,
74
- IsActive: linkInvite.invitee.isActive,
75
- IsExternal: linkInvite.invitee.isExternal,
76
- PrincipalType: FileSharingPrincipalType_1.FileSharingPrincipalType[parseInt(linkInvite.invitee.principalType)]
77
- });
78
- });
79
- });
80
- res.permissionsInformation.principals.forEach(principal => {
81
- fileSharingInfoCollection.push({
82
- SharedWith: principal.principal.name,
83
- IsActive: principal.principal.isActive,
84
- IsExternal: principal.principal.isExternal,
85
- PrincipalType: FileSharingPrincipalType_1.FileSharingPrincipalType[parseInt(principal.principal.principalType)]
86
- });
87
- });
88
- logger.log(fileSharingInfoCollection);
89
- }
90
- }
91
- catch (err) {
92
- this.handleRejectedODataJsonPromise(err);
93
- }
94
- });
95
- }
96
- getNeededFileInformation(args) {
97
- return __awaiter(this, void 0, void 0, function* () {
98
- let requestUrl = '';
99
- if (args.options.fileId) {
100
- requestUrl = `${args.options.webUrl}/_api/web/GetFileById('${args.options.fileId}')/?$select=ListItemAllFields/Id,ListItemAllFields/ParentList/Title&$expand=ListItemAllFields/ParentList`;
101
- }
102
- else {
103
- const serverRelPath = urlUtil_1.urlUtil.getServerRelativePath(args.options.webUrl, args.options.fileUrl);
104
- requestUrl = `${args.options.webUrl}/_api/web/GetFileByServerRelativePath(decodedUrl='${formatting_1.formatting.encodeQueryParameter(serverRelPath)}')?$select=ListItemAllFields/Id,ListItemAllFields/ParentList/Title&$expand=ListItemAllFields/ParentList`;
40
+ await logger.logToStderr(`Retrieving sharing information report for the file with item Id ${fileInformation.fileItemId}`);
105
41
  }
106
42
  const requestOptions = {
107
- url: requestUrl,
43
+ url: `${args.options.webUrl}/_api/web/lists/getbytitle('${formatting.encodeQueryParameter(fileInformation.libraryName)}')/items(${fileInformation.fileItemId})/GetSharingInformation?$select=permissionsInformation&$Expand=permissionsInformation`,
108
44
  headers: {
109
45
  'accept': 'application/json;odata=nometadata'
110
46
  },
111
47
  responseType: 'json'
112
48
  };
113
- const res = yield request_1.default.get(requestOptions);
114
- return {
115
- fileItemId: parseInt(res.ListItemAllFields.Id),
116
- libraryName: res.ListItemAllFields.ParentList.Title
117
- };
118
- });
49
+ const res = await request.post(requestOptions);
50
+ // typically, we don't do this, but in this case, we need to due to
51
+ // the complexity of the retrieved object and the fact that we can't
52
+ // use the generic way of simplifying the output
53
+ if (!Cli.shouldTrimOutput(args.options.output)) {
54
+ await logger.log(res);
55
+ }
56
+ else {
57
+ const fileSharingInfoCollection = [];
58
+ res.permissionsInformation.links.forEach(link => {
59
+ link.linkDetails.Invitations.forEach(linkInvite => {
60
+ fileSharingInfoCollection.push({
61
+ SharedWith: linkInvite.invitee.name,
62
+ IsActive: linkInvite.invitee.isActive,
63
+ IsExternal: linkInvite.invitee.isExternal,
64
+ PrincipalType: FileSharingPrincipalType[parseInt(linkInvite.invitee.principalType)]
65
+ });
66
+ });
67
+ });
68
+ res.permissionsInformation.principals.forEach(principal => {
69
+ fileSharingInfoCollection.push({
70
+ SharedWith: principal.principal.name,
71
+ IsActive: principal.principal.isActive,
72
+ IsExternal: principal.principal.isExternal,
73
+ PrincipalType: FileSharingPrincipalType[parseInt(principal.principal.principalType)]
74
+ });
75
+ });
76
+ await logger.log(fileSharingInfoCollection);
77
+ }
78
+ }
79
+ catch (err) {
80
+ this.handleRejectedODataJsonPromise(err);
81
+ }
82
+ }
83
+ async getNeededFileInformation(args) {
84
+ let requestUrl = '';
85
+ if (args.options.fileId) {
86
+ requestUrl = `${args.options.webUrl}/_api/web/GetFileById('${args.options.fileId}')/?$select=ListItemAllFields/Id,ListItemAllFields/ParentList/Title&$expand=ListItemAllFields/ParentList`;
87
+ }
88
+ else {
89
+ const serverRelPath = urlUtil.getServerRelativePath(args.options.webUrl, args.options.fileUrl);
90
+ requestUrl = `${args.options.webUrl}/_api/web/GetFileByServerRelativePath(decodedUrl='${formatting.encodeQueryParameter(serverRelPath)}')?$select=ListItemAllFields/Id,ListItemAllFields/ParentList/Title&$expand=ListItemAllFields/ParentList`;
91
+ }
92
+ const requestOptions = {
93
+ url: requestUrl,
94
+ headers: {
95
+ 'accept': 'application/json;odata=nometadata'
96
+ },
97
+ responseType: 'json'
98
+ };
99
+ const res = await request.get(requestOptions);
100
+ return {
101
+ fileItemId: parseInt(res.ListItemAllFields.Id),
102
+ libraryName: res.ListItemAllFields.ParentList.Title
103
+ };
119
104
  }
120
105
  }
121
106
  _SpoFileSharingInfoGetCommand_instances = new WeakSet(), _SpoFileSharingInfoGetCommand_initTelemetry = function _SpoFileSharingInfoGetCommand_initTelemetry() {
@@ -131,23 +116,23 @@ _SpoFileSharingInfoGetCommand_instances = new WeakSet(), _SpoFileSharingInfoGetC
131
116
  }, {
132
117
  option: '-i, --fileId [fileId]'
133
118
  }, {
134
- option: '-f, --fileUrl [fileUrl]'
119
+ option: '--fileUrl [fileUrl]'
135
120
  });
136
121
  }, _SpoFileSharingInfoGetCommand_initValidators = function _SpoFileSharingInfoGetCommand_initValidators() {
137
- this.validators.push((args) => __awaiter(this, void 0, void 0, function* () {
138
- const isValidSharePointUrl = validation_1.validation.isValidSharePointUrl(args.options.webUrl);
122
+ this.validators.push(async (args) => {
123
+ const isValidSharePointUrl = validation.isValidSharePointUrl(args.options.webUrl);
139
124
  if (isValidSharePointUrl !== true) {
140
125
  return isValidSharePointUrl;
141
126
  }
142
127
  if (args.options.fileId) {
143
- if (!validation_1.validation.isValidGuid(args.options.fileId)) {
128
+ if (!validation.isValidGuid(args.options.fileId)) {
144
129
  return `${args.options.fileId} is not a valid GUID`;
145
130
  }
146
131
  }
147
132
  return true;
148
- }));
133
+ });
149
134
  }, _SpoFileSharingInfoGetCommand_initOptionSets = function _SpoFileSharingInfoGetCommand_initOptionSets() {
150
135
  this.optionSets.push({ options: ['fileId', 'fileUrl'] });
151
136
  };
152
- module.exports = new SpoFileSharingInfoGetCommand();
137
+ export default new SpoFileSharingInfoGetCommand();
153
138
  //# sourceMappingURL=file-sharinginfo-get.js.map
@@ -1,28 +1,17 @@
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
1
  var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
12
2
  if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
13
3
  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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
15
5
  };
16
- var _SpoFileSharingLinkAddCommand_instances, _SpoFileSharingLinkAddCommand_initTelemetry, _SpoFileSharingLinkAddCommand_initOptions, _SpoFileSharingLinkAddCommand_initValidators, _SpoFileSharingLinkAddCommand_initOptionSets;
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- const request_1 = require("../../../../request");
19
- const spo_1 = require("../../../../utils/spo");
20
- const validation_1 = require("../../../../utils/validation");
21
- const SpoCommand_1 = require("../../../base/SpoCommand");
22
- const commands_1 = require("../../commands");
23
- class SpoFileSharingLinkAddCommand extends SpoCommand_1.default {
6
+ var _SpoFileSharingLinkAddCommand_instances, _a, _SpoFileSharingLinkAddCommand_initTelemetry, _SpoFileSharingLinkAddCommand_initOptions, _SpoFileSharingLinkAddCommand_initValidators, _SpoFileSharingLinkAddCommand_initOptionSets;
7
+ import request from '../../../../request.js';
8
+ import { spo } from '../../../../utils/spo.js';
9
+ import { validation } from '../../../../utils/validation.js';
10
+ import SpoCommand from '../../../base/SpoCommand.js';
11
+ import commands from '../../commands.js';
12
+ class SpoFileSharingLinkAddCommand extends SpoCommand {
24
13
  get name() {
25
- return commands_1.default.FILE_SHARINGLINK_ADD;
14
+ return commands.FILE_SHARINGLINK_ADD;
26
15
  }
27
16
  get description() {
28
17
  return 'Creates a new sharing link for a file';
@@ -35,35 +24,33 @@ class SpoFileSharingLinkAddCommand extends SpoCommand_1.default {
35
24
  __classPrivateFieldGet(this, _SpoFileSharingLinkAddCommand_instances, "m", _SpoFileSharingLinkAddCommand_initValidators).call(this);
36
25
  __classPrivateFieldGet(this, _SpoFileSharingLinkAddCommand_instances, "m", _SpoFileSharingLinkAddCommand_initOptionSets).call(this);
37
26
  }
38
- commandAction(logger, args) {
39
- return __awaiter(this, void 0, void 0, function* () {
40
- if (this.verbose) {
41
- logger.logToStderr(`Creating a sharing link for file ${args.options.fileId || args.options.fileUrl}...`);
42
- }
43
- try {
44
- const fileDetails = yield spo_1.spo.getVroomFileDetails(args.options.webUrl, args.options.fileId, args.options.fileUrl);
45
- const requestOptions = {
46
- url: `https://graph.microsoft.com/v1.0/sites/${fileDetails.SiteId}/drives/${fileDetails.VroomDriveID}/items/${fileDetails.VroomItemID}/createLink`,
47
- headers: {
48
- accept: 'application/json;odata.metadata=none'
49
- },
50
- responseType: 'json',
51
- data: {
52
- type: args.options.type,
53
- expirationDateTime: args.options.expirationDateTime,
54
- scope: args.options.scope
55
- }
56
- };
57
- const sharingLink = yield request_1.default.post(requestOptions);
58
- logger.log(sharingLink);
59
- }
60
- catch (err) {
61
- this.handleRejectedODataJsonPromise(err);
62
- }
63
- });
27
+ async commandAction(logger, args) {
28
+ if (this.verbose) {
29
+ await logger.logToStderr(`Creating a sharing link for file ${args.options.fileId || args.options.fileUrl}...`);
30
+ }
31
+ try {
32
+ const fileDetails = await spo.getVroomFileDetails(args.options.webUrl, args.options.fileId, args.options.fileUrl);
33
+ const requestOptions = {
34
+ url: `https://graph.microsoft.com/v1.0/sites/${fileDetails.SiteId}/drives/${fileDetails.VroomDriveID}/items/${fileDetails.VroomItemID}/createLink`,
35
+ headers: {
36
+ accept: 'application/json;odata.metadata=none'
37
+ },
38
+ responseType: 'json',
39
+ data: {
40
+ type: args.options.type,
41
+ expirationDateTime: args.options.expirationDateTime,
42
+ scope: args.options.scope
43
+ }
44
+ };
45
+ const sharingLink = await request.post(requestOptions);
46
+ await logger.log(sharingLink);
47
+ }
48
+ catch (err) {
49
+ this.handleRejectedODataJsonPromise(err);
50
+ }
64
51
  }
65
52
  }
66
- _SpoFileSharingLinkAddCommand_instances = new WeakSet(), _SpoFileSharingLinkAddCommand_initTelemetry = function _SpoFileSharingLinkAddCommand_initTelemetry() {
53
+ _a = SpoFileSharingLinkAddCommand, _SpoFileSharingLinkAddCommand_instances = new WeakSet(), _SpoFileSharingLinkAddCommand_initTelemetry = function _SpoFileSharingLinkAddCommand_initTelemetry() {
67
54
  this.telemetry.push((args) => {
68
55
  Object.assign(this.telemetryProperties, {
69
56
  fileId: typeof args.options.fileId !== 'undefined',
@@ -81,41 +68,41 @@ _SpoFileSharingLinkAddCommand_instances = new WeakSet(), _SpoFileSharingLinkAddC
81
68
  option: '--fileUrl [fileUrl]'
82
69
  }, {
83
70
  option: '--type <type>',
84
- autocomplete: SpoFileSharingLinkAddCommand.types
71
+ autocomplete: _a.types
85
72
  }, {
86
73
  option: '--expirationDateTime [expirationDateTime]'
87
74
  }, {
88
75
  option: '--scope [scope]',
89
- autocomplete: SpoFileSharingLinkAddCommand.scopes
76
+ autocomplete: _a.scopes
90
77
  });
91
78
  }, _SpoFileSharingLinkAddCommand_initValidators = function _SpoFileSharingLinkAddCommand_initValidators() {
92
- this.validators.push((args) => __awaiter(this, void 0, void 0, function* () {
93
- const isValidSharePointUrl = validation_1.validation.isValidSharePointUrl(args.options.webUrl);
79
+ this.validators.push(async (args) => {
80
+ const isValidSharePointUrl = validation.isValidSharePointUrl(args.options.webUrl);
94
81
  if (isValidSharePointUrl !== true) {
95
82
  return isValidSharePointUrl;
96
83
  }
97
- if (args.options.fileId && !validation_1.validation.isValidGuid(args.options.fileId)) {
84
+ if (args.options.fileId && !validation.isValidGuid(args.options.fileId)) {
98
85
  return `${args.options.fileId} is not a valid GUID`;
99
86
  }
100
- if (SpoFileSharingLinkAddCommand.types.indexOf(args.options.type) < 0) {
101
- return `'${args.options.type}' is not a valid type. Allowed types are ${SpoFileSharingLinkAddCommand.types.join(', ')}`;
87
+ if (_a.types.indexOf(args.options.type) < 0) {
88
+ return `'${args.options.type}' is not a valid type. Allowed types are ${_a.types.join(', ')}`;
102
89
  }
103
90
  if (args.options.scope &&
104
- SpoFileSharingLinkAddCommand.scopes.indexOf(args.options.scope) < 0) {
105
- return `'${args.options.scope}' is not a valid scope. Allowed scopes are ${SpoFileSharingLinkAddCommand.scopes.join(', ')}`;
91
+ _a.scopes.indexOf(args.options.scope) < 0) {
92
+ return `'${args.options.scope}' is not a valid scope. Allowed scopes are ${_a.scopes.join(', ')}`;
106
93
  }
107
94
  if (args.options.scope && args.options.scope !== 'anonymous' && args.options.expirationDateTime) {
108
95
  return `Option expirationDateTime can only be used for links with scope 'anonymous'.`;
109
96
  }
110
- if (args.options.expirationDateTime && !validation_1.validation.isValidISODateTime(args.options.expirationDateTime)) {
97
+ if (args.options.expirationDateTime && !validation.isValidISODateTime(args.options.expirationDateTime)) {
111
98
  return `${args.options.expirationDateTime} is not a valid ISO date string.`;
112
99
  }
113
100
  return true;
114
- }));
101
+ });
115
102
  }, _SpoFileSharingLinkAddCommand_initOptionSets = function _SpoFileSharingLinkAddCommand_initOptionSets() {
116
103
  this.optionSets.push({ options: ['fileId', 'fileUrl'] });
117
104
  };
118
105
  SpoFileSharingLinkAddCommand.types = ['view', 'edit'];
119
106
  SpoFileSharingLinkAddCommand.scopes = ['anonymous', 'organization'];
120
- module.exports = new SpoFileSharingLinkAddCommand();
107
+ export default new SpoFileSharingLinkAddCommand();
121
108
  //# sourceMappingURL=file-sharinglink-add.js.map
@@ -1,30 +1,19 @@
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
1
  var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
12
2
  if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
13
3
  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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
15
5
  };
16
6
  var _SpoFileSharingLinkClearCommand_instances, _SpoFileSharingLinkClearCommand_initTelemetry, _SpoFileSharingLinkClearCommand_initOptions, _SpoFileSharingLinkClearCommand_initValidators, _SpoFileSharingLinkClearCommand_initOptionSets;
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- const validation_1 = require("../../../../utils/validation");
19
- const SpoCommand_1 = require("../../../base/SpoCommand");
20
- const commands_1 = require("../../commands");
21
- const Cli_1 = require("../../../../cli/Cli");
22
- const spoFileSharingLinkListCommand = require("./file-sharinglink-list");
23
- const request_1 = require("../../../../request");
24
- const spo_1 = require("../../../../utils/spo");
25
- class SpoFileSharingLinkClearCommand extends SpoCommand_1.default {
7
+ import { Cli } from '../../../../cli/Cli.js';
8
+ import request from '../../../../request.js';
9
+ import { spo } from '../../../../utils/spo.js';
10
+ import { validation } from '../../../../utils/validation.js';
11
+ import SpoCommand from '../../../base/SpoCommand.js';
12
+ import commands from '../../commands.js';
13
+ import spoFileSharingLinkListCommand from './file-sharinglink-list.js';
14
+ class SpoFileSharingLinkClearCommand extends SpoCommand {
26
15
  get name() {
27
- return commands_1.default.FILE_SHARINGLINK_CLEAR;
16
+ return commands.FILE_SHARINGLINK_CLEAR;
28
17
  }
29
18
  get description() {
30
19
  return 'Removes sharing links of a file';
@@ -38,60 +27,56 @@ class SpoFileSharingLinkClearCommand extends SpoCommand_1.default {
38
27
  __classPrivateFieldGet(this, _SpoFileSharingLinkClearCommand_instances, "m", _SpoFileSharingLinkClearCommand_initValidators).call(this);
39
28
  __classPrivateFieldGet(this, _SpoFileSharingLinkClearCommand_instances, "m", _SpoFileSharingLinkClearCommand_initOptionSets).call(this);
40
29
  }
41
- commandAction(logger, args) {
42
- return __awaiter(this, void 0, void 0, function* () {
43
- const clearSharingLinks = () => __awaiter(this, void 0, void 0, function* () {
44
- try {
45
- if (this.verbose) {
46
- logger.logToStderr(`Clearing sharing links for file ${args.options.fileUrl || args.options.fileId}${args.options.scope ? ` with scope ${args.options.scope}` : ''}`);
47
- }
48
- const fileDetails = yield spo_1.spo.getVroomFileDetails(args.options.webUrl, args.options.fileId, args.options.fileUrl);
49
- const sharingLinks = yield this.getFileSharingLinks(args.options.webUrl, args.options.fileId, args.options.fileUrl, args.options.scope);
50
- const requestOptions = {
51
- headers: {
52
- accept: 'application/json;odata.metadata=none'
53
- },
54
- responseType: 'json'
55
- };
56
- for (const sharingLink of sharingLinks) {
57
- requestOptions.url = `https://graph.microsoft.com/v1.0/sites/${fileDetails.SiteId}/drives/${fileDetails.VroomDriveID}/items/${fileDetails.VroomItemID}/permissions/${sharingLink.id}`;
58
- yield request_1.default.delete(requestOptions);
59
- }
30
+ async commandAction(logger, args) {
31
+ const clearSharingLinks = async () => {
32
+ try {
33
+ if (this.verbose) {
34
+ await logger.logToStderr(`Clearing sharing links for file ${args.options.fileUrl || args.options.fileId}${args.options.scope ? ` with scope ${args.options.scope}` : ''}`);
60
35
  }
61
- catch (err) {
62
- this.handleRejectedODataJsonPromise(err);
36
+ const fileDetails = await spo.getVroomFileDetails(args.options.webUrl, args.options.fileId, args.options.fileUrl);
37
+ const sharingLinks = await this.getFileSharingLinks(args.options.webUrl, args.options.fileId, args.options.fileUrl, args.options.scope);
38
+ const requestOptions = {
39
+ headers: {
40
+ accept: 'application/json;odata.metadata=none'
41
+ },
42
+ responseType: 'json'
43
+ };
44
+ for (const sharingLink of sharingLinks) {
45
+ requestOptions.url = `https://graph.microsoft.com/v1.0/sites/${fileDetails.SiteId}/drives/${fileDetails.VroomDriveID}/items/${fileDetails.VroomItemID}/permissions/${sharingLink.id}`;
46
+ await request.delete(requestOptions);
63
47
  }
64
- });
65
- if (args.options.confirm) {
66
- yield clearSharingLinks();
67
48
  }
68
- else {
69
- const result = yield Cli_1.Cli.prompt({
70
- type: 'confirm',
71
- name: 'continue',
72
- default: false,
73
- message: `Are you sure you want to clear the sharing links of file ${args.options.fileUrl || args.options.fileId}${args.options.scope ? ` with scope ${args.options.scope}` : ''}?`
74
- });
75
- if (result.continue) {
76
- yield clearSharingLinks();
77
- }
49
+ catch (err) {
50
+ this.handleRejectedODataJsonPromise(err);
78
51
  }
79
- });
52
+ };
53
+ if (args.options.force) {
54
+ await clearSharingLinks();
55
+ }
56
+ else {
57
+ const result = await Cli.prompt({
58
+ type: 'confirm',
59
+ name: 'continue',
60
+ default: false,
61
+ message: `Are you sure you want to clear the sharing links of file ${args.options.fileUrl || args.options.fileId}${args.options.scope ? ` with scope ${args.options.scope}` : ''}?`
62
+ });
63
+ if (result.continue) {
64
+ await clearSharingLinks();
65
+ }
66
+ }
80
67
  }
81
- getFileSharingLinks(webUrl, fileId, fileUrl, scope) {
82
- return __awaiter(this, void 0, void 0, function* () {
83
- const sharingLinkListOptions = {
84
- webUrl: webUrl,
85
- fileId: fileId,
86
- fileUrl: fileUrl,
87
- scope: scope,
88
- debug: this.debug,
89
- verbose: this.verbose
90
- };
91
- const commandOutput = yield Cli_1.Cli.executeCommandWithOutput(spoFileSharingLinkListCommand, { options: Object.assign(Object.assign({}, sharingLinkListOptions), { _: [] }) });
92
- const outputParsed = JSON.parse(commandOutput.stdout);
93
- return outputParsed;
94
- });
68
+ async getFileSharingLinks(webUrl, fileId, fileUrl, scope) {
69
+ const sharingLinkListOptions = {
70
+ webUrl: webUrl,
71
+ fileId: fileId,
72
+ fileUrl: fileUrl,
73
+ scope: scope,
74
+ debug: this.debug,
75
+ verbose: this.verbose
76
+ };
77
+ const commandOutput = await Cli.executeCommandWithOutput(spoFileSharingLinkListCommand, { options: { ...sharingLinkListOptions, _: [] } });
78
+ const outputParsed = JSON.parse(commandOutput.stdout);
79
+ return outputParsed;
95
80
  }
96
81
  }
97
82
  _SpoFileSharingLinkClearCommand_instances = new WeakSet(), _SpoFileSharingLinkClearCommand_initTelemetry = function _SpoFileSharingLinkClearCommand_initTelemetry() {
@@ -100,7 +85,7 @@ _SpoFileSharingLinkClearCommand_instances = new WeakSet(), _SpoFileSharingLinkCl
100
85
  fileUrl: typeof args.options.fileUrl !== 'undefined',
101
86
  fileId: typeof args.options.fileId !== 'undefined',
102
87
  scope: typeof args.options.scope !== 'undefined',
103
- confirm: !!args.options.confirm
88
+ force: !!args.options.force
104
89
  });
105
90
  });
106
91
  }, _SpoFileSharingLinkClearCommand_initOptions = function _SpoFileSharingLinkClearCommand_initOptions() {
@@ -114,24 +99,24 @@ _SpoFileSharingLinkClearCommand_instances = new WeakSet(), _SpoFileSharingLinkCl
114
99
  option: '-s, --scope [scope]',
115
100
  autocomplete: this.allowedScopes
116
101
  }, {
117
- option: '--confirm'
102
+ option: '-f, --force'
118
103
  });
119
104
  }, _SpoFileSharingLinkClearCommand_initValidators = function _SpoFileSharingLinkClearCommand_initValidators() {
120
- this.validators.push((args) => __awaiter(this, void 0, void 0, function* () {
121
- const isValidSharePointUrl = validation_1.validation.isValidSharePointUrl(args.options.webUrl);
105
+ this.validators.push(async (args) => {
106
+ const isValidSharePointUrl = validation.isValidSharePointUrl(args.options.webUrl);
122
107
  if (isValidSharePointUrl !== true) {
123
108
  return isValidSharePointUrl;
124
109
  }
125
- if (args.options.fileId && !validation_1.validation.isValidGuid(args.options.fileId)) {
110
+ if (args.options.fileId && !validation.isValidGuid(args.options.fileId)) {
126
111
  return `${args.options.fileId} is not a valid GUID`;
127
112
  }
128
113
  if (args.options.scope && this.allowedScopes.indexOf(args.options.scope) === -1) {
129
114
  return `'${args.options.scope}' is not a valid scope. Allowed values are: ${this.allowedScopes.join(',')}`;
130
115
  }
131
116
  return true;
132
- }));
117
+ });
133
118
  }, _SpoFileSharingLinkClearCommand_initOptionSets = function _SpoFileSharingLinkClearCommand_initOptionSets() {
134
119
  this.optionSets.push({ options: ['fileUrl', 'fileId'] });
135
120
  };
136
- module.exports = new SpoFileSharingLinkClearCommand();
121
+ export default new SpoFileSharingLinkClearCommand();
137
122
  //# sourceMappingURL=file-sharinglink-clear.js.map