@pnp/cli-microsoft365 11.6.0-beta.ab6d130 → 11.6.0-beta.bc374af

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 (934) hide show
  1. package/.devproxy/api-specs/sharepoint-admin.yaml +40 -0
  2. package/.devproxy/api-specs/sharepoint.yaml +48 -0
  3. package/allCommands.json +1 -1
  4. package/allCommandsFull.json +1 -1
  5. package/dist/cli/cli.js +3 -0
  6. package/dist/m365/base/PeriodBasedReport.js +1 -1
  7. package/dist/m365/cli/commands/config/config-set.js +1 -1
  8. package/dist/m365/entra/commands/approleassignment/approleassignment-add.js +2 -2
  9. package/dist/m365/entra/commands/approleassignment/approleassignment-remove.js +1 -1
  10. package/dist/m365/entra/commands/group/group-add.js +2 -4
  11. package/dist/m365/entra/commands/group/group-member-list.js +1 -1
  12. package/dist/m365/entra/commands/m365group/m365group-add.js +4 -8
  13. package/dist/m365/entra/commands/user/user-recyclebinitem-list.js +5 -0
  14. package/dist/m365/file/commands/convert/convert-pdf.js +3 -5
  15. package/dist/m365/file/commands/file-add.js +3 -5
  16. package/dist/m365/file/commands/file-list.js +1 -2
  17. package/dist/m365/flow/commands/flow-export.js +1 -2
  18. package/dist/m365/flow/commands/owner/owner-remove.js +1 -1
  19. package/dist/m365/graph/commands/schemaextension/schemaextension-set.js +1 -1
  20. package/dist/m365/outlook/commands/calendargroup/calendargroup-list.js +87 -0
  21. package/dist/m365/outlook/commands.js +1 -0
  22. package/dist/m365/planner/commands/task/task-add.js +1 -2
  23. package/dist/m365/planner/commands/task/task-list.js +1 -1
  24. package/dist/m365/planner/commands/task/task-set.js +1 -2
  25. package/dist/m365/pp/commands/environment/environment-list.js +1 -1
  26. package/dist/m365/spfx/commands/project/project-doctor/rules/DependencyRule.js +1 -2
  27. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003003_CFG_bundles.js +4 -5
  28. package/dist/m365/spfx/commands/spfx-doctor.js +1 -2
  29. package/dist/m365/spo/commands/agent/agent-add.js +172 -0
  30. package/dist/m365/spo/commands/app/app-deploy.js +2 -4
  31. package/dist/m365/spo/commands/app/app-list.js +2 -4
  32. package/dist/m365/spo/commands/cdn/cdn-get.js +2 -4
  33. package/dist/m365/spo/commands/cdn/cdn-origin-add.js +2 -4
  34. package/dist/m365/spo/commands/cdn/cdn-origin-list.js +2 -4
  35. package/dist/m365/spo/commands/cdn/cdn-policy-list.js +2 -4
  36. package/dist/m365/spo/commands/cdn/cdn-set.js +2 -3
  37. package/dist/m365/spo/commands/contenttype/contenttype-set.js +2 -2
  38. package/dist/m365/spo/commands/field/field-get.js +1 -1
  39. package/dist/m365/spo/commands/field/field-remove.js +1 -1
  40. package/dist/m365/spo/commands/file/file-remove.js +1 -1
  41. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +1 -1
  42. package/dist/m365/spo/commands/list/list-remove.js +1 -1
  43. package/dist/m365/spo/commands/list/list-set.js +186 -378
  44. package/dist/m365/spo/commands/list/list-view-field-add.js +1 -2
  45. package/dist/m365/spo/commands/listitem/listitem-isrecord.js +2 -3
  46. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +1 -1
  47. package/dist/m365/spo/commands/navigation/navigation-node-get.js +18 -28
  48. package/dist/m365/spo/commands/navigation/navigation-node-list.js +14 -39
  49. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +1 -2
  50. package/dist/m365/spo/commands/page/clientsidepages.js +6 -6
  51. package/dist/m365/spo/commands/page/page-add.js +2 -4
  52. package/dist/m365/spo/commands/page/page-header-set.js +4 -6
  53. package/dist/m365/spo/commands/page/page-section-add.js +7 -7
  54. package/dist/m365/spo/commands/page/page-set.js +6 -12
  55. package/dist/m365/spo/commands/page/page-text-add.js +1 -2
  56. package/dist/m365/spo/commands/site/site-accessrequest-setting-set.js +102 -0
  57. package/dist/m365/spo/commands/site/site-add.js +38 -8
  58. package/dist/m365/spo/commands/site/site-apppermission-add.js +1 -1
  59. package/dist/m365/spo/commands/site/site-set.js +1 -1
  60. package/dist/m365/spo/commands/spo-search.js +1 -1
  61. package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +1 -1
  62. package/dist/m365/spo/commands/tenant/tenant-site-get.js +112 -0
  63. package/dist/m365/spo/commands/term/term-group-add.js +1 -2
  64. package/dist/m365/spo/commands/term/term-set-add.js +1 -2
  65. package/dist/m365/spo/commands/theme/theme-apply.js +1 -1
  66. package/dist/m365/spo/commands/user/user-list.js +1 -3
  67. package/dist/m365/spo/commands/web/web-add.js +2 -4
  68. package/dist/m365/spo/commands/web/web-reindex.js +1 -2
  69. package/dist/m365/spo/commands.js +3 -0
  70. package/dist/m365/spp/commands/autofillcolumn/autofillcolumn-set.js +1 -1
  71. package/dist/m365/viva/commands/engage/engage-role-member-remove.js +83 -0
  72. package/dist/m365/viva/commands/engage/engage-search.js +1 -1
  73. package/dist/m365/viva/commands.js +1 -0
  74. package/dist/utils/accessToken.js +21 -0
  75. package/dist/utils/brandCenter.js +29 -0
  76. package/dist/utils/odata.js +1 -2
  77. package/dist/utils/powerPlatform.js +1 -1
  78. package/dist/utils/spo.js +2 -2
  79. package/dist/utils/urlUtil.js +2 -12
  80. package/docs/docs/cmd/adaptivecard/adaptivecard-send.mdx +1 -1
  81. package/docs/docs/cmd/app/app-get.mdx +1 -1
  82. package/docs/docs/cmd/app/app-open.mdx +1 -1
  83. package/docs/docs/cmd/app/permission/permission-add.mdx +1 -1
  84. package/docs/docs/cmd/app/permission/permission-list.mdx +1 -1
  85. package/docs/docs/cmd/booking/business/business-get.mdx +1 -1
  86. package/docs/docs/cmd/booking/business/business-list.mdx +1 -1
  87. package/docs/docs/cmd/cli/app/app-add.mdx +1 -1
  88. package/docs/docs/cmd/cli/app/app-reconsent.mdx +1 -1
  89. package/docs/docs/cmd/cli/cli-consent.mdx +1 -1
  90. package/docs/docs/cmd/cli/cli-doctor.mdx +1 -1
  91. package/docs/docs/cmd/cli/cli-issue.mdx +1 -1
  92. package/docs/docs/cmd/cli/completion/completion-clink-update.mdx +1 -1
  93. package/docs/docs/cmd/cli/completion/completion-pwsh-setup.mdx +1 -1
  94. package/docs/docs/cmd/cli/completion/completion-pwsh-update.mdx +1 -1
  95. package/docs/docs/cmd/cli/completion/completion-sh-setup.mdx +1 -1
  96. package/docs/docs/cmd/cli/completion/completion-sh-update.mdx +1 -1
  97. package/docs/docs/cmd/cli/config/config-get.mdx +2 -2
  98. package/docs/docs/cmd/cli/config/config-list.mdx +2 -2
  99. package/docs/docs/cmd/cli/config/config-reset.mdx +2 -2
  100. package/docs/docs/cmd/cli/config/config-set.mdx +2 -2
  101. package/docs/docs/cmd/connection/connection-list.mdx +1 -1
  102. package/docs/docs/cmd/connection/connection-remove.mdx +1 -1
  103. package/docs/docs/cmd/connection/connection-set.mdx +1 -1
  104. package/docs/docs/cmd/connection/connection-use.mdx +1 -1
  105. package/docs/docs/cmd/context/context-init.mdx +1 -1
  106. package/docs/docs/cmd/context/context-remove.mdx +1 -1
  107. package/docs/docs/cmd/context/option/option-list.mdx +1 -1
  108. package/docs/docs/cmd/context/option/option-remove.mdx +1 -1
  109. package/docs/docs/cmd/context/option/option-set.mdx +1 -1
  110. package/docs/docs/cmd/docs.mdx +1 -1
  111. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-add.mdx +1 -1
  112. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-get.mdx +1 -1
  113. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-list.mdx +1 -1
  114. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-add.mdx +1 -1
  115. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-get.mdx +1 -1
  116. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-list.mdx +1 -1
  117. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-remove.mdx +1 -1
  118. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-remove.mdx +1 -1
  119. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-roleassignment-add.mdx +1 -1
  120. package/docs/docs/cmd/entra/app/app-add.mdx +1 -1
  121. package/docs/docs/cmd/entra/app/app-get.mdx +1 -1
  122. package/docs/docs/cmd/entra/app/app-list.mdx +1 -1
  123. package/docs/docs/cmd/entra/app/app-permission-add.mdx +1 -1
  124. package/docs/docs/cmd/entra/app/app-permission-list.mdx +1 -1
  125. package/docs/docs/cmd/entra/app/app-permission-remove.mdx +1 -1
  126. package/docs/docs/cmd/entra/app/app-remove.mdx +1 -1
  127. package/docs/docs/cmd/entra/app/app-role-add.mdx +22 -1
  128. package/docs/docs/cmd/entra/app/app-role-list.mdx +21 -2
  129. package/docs/docs/cmd/entra/app/app-role-remove.mdx +23 -2
  130. package/docs/docs/cmd/entra/app/app-set.mdx +1 -1
  131. package/docs/docs/cmd/entra/approleassignment/approleassignment-add.mdx +1 -1
  132. package/docs/docs/cmd/entra/approleassignment/approleassignment-list.mdx +1 -1
  133. package/docs/docs/cmd/entra/approleassignment/approleassignment-remove.mdx +1 -1
  134. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +1 -1
  135. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +1 -1
  136. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-list.mdx +1 -1
  137. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-remove.mdx +1 -1
  138. package/docs/docs/cmd/entra/group/group-add.mdx +1 -1
  139. package/docs/docs/cmd/entra/group/group-get.mdx +1 -1
  140. package/docs/docs/cmd/entra/group/group-list.mdx +1 -1
  141. package/docs/docs/cmd/entra/group/group-member-add.mdx +1 -1
  142. package/docs/docs/cmd/entra/group/group-member-list.mdx +1 -1
  143. package/docs/docs/cmd/entra/group/group-member-remove.mdx +1 -1
  144. package/docs/docs/cmd/entra/group/group-member-set.mdx +1 -1
  145. package/docs/docs/cmd/entra/group/group-remove.mdx +1 -1
  146. package/docs/docs/cmd/entra/group/group-set.mdx +1 -1
  147. package/docs/docs/cmd/entra/groupsetting/groupsetting-add.mdx +1 -1
  148. package/docs/docs/cmd/entra/groupsetting/groupsetting-get.mdx +1 -1
  149. package/docs/docs/cmd/entra/groupsetting/groupsetting-list.mdx +1 -1
  150. package/docs/docs/cmd/entra/groupsetting/groupsetting-remove.mdx +1 -1
  151. package/docs/docs/cmd/entra/groupsetting/groupsetting-set.mdx +1 -1
  152. package/docs/docs/cmd/entra/groupsettingtemplate/groupsettingtemplate-get.mdx +1 -1
  153. package/docs/docs/cmd/entra/groupsettingtemplate/groupsettingtemplate-list.mdx +1 -1
  154. package/docs/docs/cmd/entra/license/license-list.mdx +1 -1
  155. package/docs/docs/cmd/entra/m365group/m365group-add.mdx +1 -1
  156. package/docs/docs/cmd/entra/m365group/m365group-conversation-list.mdx +1 -1
  157. package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +1 -1
  158. package/docs/docs/cmd/entra/m365group/m365group-get.mdx +1 -1
  159. package/docs/docs/cmd/entra/m365group/m365group-list.mdx +1 -1
  160. package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-clear.mdx +1 -1
  161. package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-list.mdx +1 -1
  162. package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-remove.mdx +1 -1
  163. package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-restore.mdx +1 -1
  164. package/docs/docs/cmd/entra/m365group/m365group-remove.mdx +1 -1
  165. package/docs/docs/cmd/entra/m365group/m365group-renew.mdx +1 -1
  166. package/docs/docs/cmd/entra/m365group/m365group-report-activitycounts.mdx +1 -1
  167. package/docs/docs/cmd/entra/m365group/m365group-report-activitydetail.mdx +1 -1
  168. package/docs/docs/cmd/entra/m365group/m365group-report-activityfilecounts.mdx +1 -1
  169. package/docs/docs/cmd/entra/m365group/m365group-report-activitygroupcounts.mdx +1 -1
  170. package/docs/docs/cmd/entra/m365group/m365group-report-activitystorage.mdx +1 -1
  171. package/docs/docs/cmd/entra/m365group/m365group-set.mdx +1 -1
  172. package/docs/docs/cmd/entra/m365group/m365group-teamify.mdx +1 -1
  173. package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +1 -1
  174. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +1 -1
  175. package/docs/docs/cmd/entra/m365group/m365group-user-remove.mdx +1 -1
  176. package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +1 -1
  177. package/docs/docs/cmd/entra/multitenant/multitenant-add.mdx +1 -1
  178. package/docs/docs/cmd/entra/multitenant/multitenant-get.mdx +1 -1
  179. package/docs/docs/cmd/entra/multitenant/multitenant-remove.mdx +1 -1
  180. package/docs/docs/cmd/entra/multitenant/multitenant-set.mdx +1 -1
  181. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-add.mdx +1 -1
  182. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-list.mdx +1 -1
  183. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-remove.mdx +1 -1
  184. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-set.mdx +1 -1
  185. package/docs/docs/cmd/entra/organization/organization-list.mdx +1 -1
  186. package/docs/docs/cmd/entra/organization/organization-set.mdx +1 -1
  187. package/docs/docs/cmd/entra/pim/pim-role-assignment-add.mdx +1 -1
  188. package/docs/docs/cmd/entra/pim/pim-role-assignment-eligibility-list.mdx +1 -1
  189. package/docs/docs/cmd/entra/pim/pim-role-assignment-list.mdx +1 -1
  190. package/docs/docs/cmd/entra/pim/pim-role-assignment-remove.mdx +1 -1
  191. package/docs/docs/cmd/entra/pim/pim-role-request-list.mdx +1 -1
  192. package/docs/docs/cmd/entra/policy/policy-list.mdx +20 -1
  193. package/docs/docs/cmd/entra/resourcenamespace/resourcenamespace-list.mdx +20 -1
  194. package/docs/docs/cmd/entra/roleassignment/roleassignment-add.mdx +1 -1
  195. package/docs/docs/cmd/entra/roledefinition/roledefinition-add.mdx +1 -1
  196. package/docs/docs/cmd/entra/roledefinition/roledefinition-get.mdx +1 -1
  197. package/docs/docs/cmd/entra/roledefinition/roledefinition-list.mdx +1 -1
  198. package/docs/docs/cmd/entra/roledefinition/roledefinition-remove.mdx +1 -1
  199. package/docs/docs/cmd/entra/roledefinition/roledefinition-set.mdx +1 -1
  200. package/docs/docs/cmd/entra/rolepermission/rolepermission-list.mdx +1 -1
  201. package/docs/docs/cmd/entra/siteclassification/siteclassification-disable.mdx +1 -1
  202. package/docs/docs/cmd/entra/siteclassification/siteclassification-enable.mdx +1 -1
  203. package/docs/docs/cmd/entra/siteclassification/siteclassification-get.mdx +1 -1
  204. package/docs/docs/cmd/entra/siteclassification/siteclassification-set.mdx +1 -1
  205. package/docs/docs/cmd/entra/user/user-add.mdx +1 -1
  206. package/docs/docs/cmd/entra/user/user-get.mdx +1 -1
  207. package/docs/docs/cmd/entra/user/user-groupmembership-list.mdx +1 -1
  208. package/docs/docs/cmd/entra/user/user-guest-add.mdx +1 -1
  209. package/docs/docs/cmd/entra/user/user-hibp.mdx +1 -1
  210. package/docs/docs/cmd/entra/user/user-license-add.mdx +1 -1
  211. package/docs/docs/cmd/entra/user/user-license-list.mdx +1 -1
  212. package/docs/docs/cmd/entra/user/user-license-remove.mdx +1 -1
  213. package/docs/docs/cmd/entra/user/user-list.mdx +1 -1
  214. package/docs/docs/cmd/entra/user/user-password-validate.mdx +1 -1
  215. package/docs/docs/cmd/entra/user/user-recyclebinitem-clear.mdx +1 -1
  216. package/docs/docs/cmd/entra/user/user-recyclebinitem-list.mdx +1 -1
  217. package/docs/docs/cmd/entra/user/user-recyclebinitem-remove.mdx +1 -1
  218. package/docs/docs/cmd/entra/user/user-recyclebinitem-restore.mdx +1 -1
  219. package/docs/docs/cmd/entra/user/user-registrationdetails-list.mdx +1 -1
  220. package/docs/docs/cmd/entra/user/user-remove.mdx +1 -1
  221. package/docs/docs/cmd/entra/user/user-session-revoke.mdx +1 -1
  222. package/docs/docs/cmd/entra/user/user-set.mdx +1 -1
  223. package/docs/docs/cmd/entra/user/user-signin-list.mdx +1 -1
  224. package/docs/docs/cmd/exo/approleassignment/approleassignment-add.mdx +1 -1
  225. package/docs/docs/cmd/external/connection/connection-add.mdx +1 -1
  226. package/docs/docs/cmd/external/connection/connection-doctor.mdx +1 -1
  227. package/docs/docs/cmd/external/connection/connection-get.mdx +1 -1
  228. package/docs/docs/cmd/external/connection/connection-list.mdx +1 -1
  229. package/docs/docs/cmd/external/connection/connection-remove.mdx +1 -1
  230. package/docs/docs/cmd/external/connection/connection-schema-add.mdx +1 -1
  231. package/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx +1 -1
  232. package/docs/docs/cmd/external/item/item-add.mdx +1 -1
  233. package/docs/docs/cmd/file/convert/convert-pdf.mdx +1 -1
  234. package/docs/docs/cmd/file/file-add.mdx +1 -1
  235. package/docs/docs/cmd/file/file-copy.mdx +1 -1
  236. package/docs/docs/cmd/file/file-list.mdx +1 -1
  237. package/docs/docs/cmd/file/file-move.mdx +1 -1
  238. package/docs/docs/cmd/flow/environment/environment-get.mdx +1 -1
  239. package/docs/docs/cmd/flow/environment/environment-list.mdx +1 -1
  240. package/docs/docs/cmd/flow/flow-disable.mdx +1 -1
  241. package/docs/docs/cmd/flow/flow-enable.mdx +1 -1
  242. package/docs/docs/cmd/flow/flow-export.mdx +1 -1
  243. package/docs/docs/cmd/flow/flow-get.mdx +1 -1
  244. package/docs/docs/cmd/flow/flow-list.mdx +1 -1
  245. package/docs/docs/cmd/flow/flow-remove.mdx +1 -1
  246. package/docs/docs/cmd/flow/owner/owner-ensure.mdx +1 -1
  247. package/docs/docs/cmd/flow/owner/owner-list.mdx +1 -1
  248. package/docs/docs/cmd/flow/owner/owner-remove.mdx +1 -1
  249. package/docs/docs/cmd/flow/recyclebinitem/recyclebinitem-list.mdx +1 -1
  250. package/docs/docs/cmd/flow/recyclebinitem/recyclebinitem-restore.mdx +1 -1
  251. package/docs/docs/cmd/flow/run/run-cancel.mdx +1 -1
  252. package/docs/docs/cmd/flow/run/run-get.mdx +1 -1
  253. package/docs/docs/cmd/flow/run/run-list.mdx +1 -1
  254. package/docs/docs/cmd/flow/run/run-resubmit.mdx +1 -1
  255. package/docs/docs/cmd/graph/changelog/changelog-list.mdx +1 -1
  256. package/docs/docs/cmd/graph/directoryextension/directoryextension-add.mdx +1 -1
  257. package/docs/docs/cmd/graph/directoryextension/directoryextension-get.mdx +1 -1
  258. package/docs/docs/cmd/graph/directoryextension/directoryextension-list.mdx +1 -1
  259. package/docs/docs/cmd/graph/directoryextension/directoryextension-remove.mdx +1 -1
  260. package/docs/docs/cmd/graph/openextension/openextension-add.mdx +1 -1
  261. package/docs/docs/cmd/graph/openextension/openextension-get.mdx +1 -1
  262. package/docs/docs/cmd/graph/openextension/openextension-list.mdx +1 -1
  263. package/docs/docs/cmd/graph/openextension/openextension-remove.mdx +1 -1
  264. package/docs/docs/cmd/graph/openextension/openextension-set.mdx +1 -1
  265. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.mdx +1 -1
  266. package/docs/docs/cmd/graph/schemaextension/schemaextension-get.mdx +1 -1
  267. package/docs/docs/cmd/graph/schemaextension/schemaextension-list.mdx +1 -1
  268. package/docs/docs/cmd/graph/schemaextension/schemaextension-remove.mdx +1 -1
  269. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.mdx +1 -1
  270. package/docs/docs/cmd/graph/subscription/subscription-add.mdx +1 -1
  271. package/docs/docs/cmd/login.mdx +1 -1
  272. package/docs/docs/cmd/logout.mdx +1 -1
  273. package/docs/docs/cmd/onedrive/onedrive-list.mdx +1 -1
  274. package/docs/docs/cmd/onedrive/report/report-activityfilecounts.mdx +1 -1
  275. package/docs/docs/cmd/onedrive/report/report-activityusercounts.mdx +1 -1
  276. package/docs/docs/cmd/onedrive/report/report-activityuserdetail.mdx +1 -1
  277. package/docs/docs/cmd/onedrive/report/report-usageaccountcounts.mdx +1 -1
  278. package/docs/docs/cmd/onedrive/report/report-usageaccountdetail.mdx +1 -1
  279. package/docs/docs/cmd/onedrive/report/report-usagefilecounts.mdx +1 -1
  280. package/docs/docs/cmd/onedrive/report/report-usagestorage.mdx +1 -1
  281. package/docs/docs/cmd/onenote/notebook/notebook-add.mdx +1 -1
  282. package/docs/docs/cmd/onenote/notebook/notebook-list.mdx +1 -1
  283. package/docs/docs/cmd/onenote/page/page-list.mdx +1 -1
  284. package/docs/docs/cmd/outlook/calendargroup/calendargroup-list.mdx +120 -0
  285. package/docs/docs/cmd/outlook/mail/mail-searchfolder-add.mdx +1 -1
  286. package/docs/docs/cmd/outlook/mail/mail-send.mdx +1 -1
  287. package/docs/docs/cmd/outlook/mailbox/mailbox-settings-get.mdx +1 -1
  288. package/docs/docs/cmd/outlook/mailbox/mailbox-settings-set.mdx +1 -1
  289. package/docs/docs/cmd/outlook/message/message-get.mdx +1 -1
  290. package/docs/docs/cmd/outlook/message/message-list.mdx +1 -1
  291. package/docs/docs/cmd/outlook/message/message-move.mdx +1 -1
  292. package/docs/docs/cmd/outlook/message/message-remove.mdx +1 -1
  293. package/docs/docs/cmd/outlook/report/report-mailactivitycounts.mdx +1 -1
  294. package/docs/docs/cmd/outlook/report/report-mailactivityusercounts.mdx +1 -1
  295. package/docs/docs/cmd/outlook/report/report-mailactivityuserdetail.mdx +1 -1
  296. package/docs/docs/cmd/outlook/report/report-mailappusageappsusercounts.mdx +1 -1
  297. package/docs/docs/cmd/outlook/report/report-mailappusageusercounts.mdx +1 -1
  298. package/docs/docs/cmd/outlook/report/report-mailappusageuserdetail.mdx +1 -1
  299. package/docs/docs/cmd/outlook/report/report-mailappusageversionsusercounts.mdx +1 -1
  300. package/docs/docs/cmd/outlook/report/report-mailboxusagedetail.mdx +1 -1
  301. package/docs/docs/cmd/outlook/report/report-mailboxusagemailboxcount.mdx +1 -1
  302. package/docs/docs/cmd/outlook/report/report-mailboxusagequotastatusmailboxcounts.mdx +1 -1
  303. package/docs/docs/cmd/outlook/report/report-mailboxusagestorage.mdx +1 -1
  304. package/docs/docs/cmd/outlook/room/room-list.mdx +1 -1
  305. package/docs/docs/cmd/outlook/roomlist/roomlist-list.mdx +1 -1
  306. package/docs/docs/cmd/pa/app/app-consent-set.mdx +1 -1
  307. package/docs/docs/cmd/pa/app/app-export.mdx +1 -1
  308. package/docs/docs/cmd/pa/app/app-get.mdx +1 -1
  309. package/docs/docs/cmd/pa/app/app-list.mdx +1 -1
  310. package/docs/docs/cmd/pa/app/app-owner-set.mdx +1 -1
  311. package/docs/docs/cmd/pa/app/app-permission-ensure.mdx +1 -1
  312. package/docs/docs/cmd/pa/app/app-permission-list.mdx +1 -1
  313. package/docs/docs/cmd/pa/app/app-permission-remove.mdx +1 -1
  314. package/docs/docs/cmd/pa/app/app-remove.mdx +1 -1
  315. package/docs/docs/cmd/pa/connector/connector-export.mdx +1 -1
  316. package/docs/docs/cmd/pa/connector/connector-list.mdx +1 -1
  317. package/docs/docs/cmd/pa/environment/environment-get.mdx +1 -1
  318. package/docs/docs/cmd/pa/environment/environment-list.mdx +1 -1
  319. package/docs/docs/cmd/planner/bucket/bucket-add.mdx +1 -1
  320. package/docs/docs/cmd/planner/bucket/bucket-get.mdx +1 -1
  321. package/docs/docs/cmd/planner/bucket/bucket-list.mdx +1 -1
  322. package/docs/docs/cmd/planner/bucket/bucket-remove.mdx +1 -1
  323. package/docs/docs/cmd/planner/bucket/bucket-set.mdx +1 -1
  324. package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
  325. package/docs/docs/cmd/planner/plan/plan-get.mdx +1 -1
  326. package/docs/docs/cmd/planner/plan/plan-list.mdx +1 -1
  327. package/docs/docs/cmd/planner/plan/plan-remove.mdx +1 -1
  328. package/docs/docs/cmd/planner/plan/plan-set.mdx +1 -1
  329. package/docs/docs/cmd/planner/roster/roster-add.mdx +1 -1
  330. package/docs/docs/cmd/planner/roster/roster-get.mdx +1 -1
  331. package/docs/docs/cmd/planner/roster/roster-member-add.mdx +1 -1
  332. package/docs/docs/cmd/planner/roster/roster-member-get.mdx +1 -1
  333. package/docs/docs/cmd/planner/roster/roster-member-list.mdx +1 -1
  334. package/docs/docs/cmd/planner/roster/roster-member-remove.mdx +1 -1
  335. package/docs/docs/cmd/planner/roster/roster-plan-list.mdx +1 -1
  336. package/docs/docs/cmd/planner/roster/roster-remove.mdx +1 -1
  337. package/docs/docs/cmd/planner/task/task-add.mdx +1 -1
  338. package/docs/docs/cmd/planner/task/task-checklistitem-add.mdx +1 -1
  339. package/docs/docs/cmd/planner/task/task-checklistitem-list.mdx +1 -1
  340. package/docs/docs/cmd/planner/task/task-checklistitem-remove.mdx +1 -1
  341. package/docs/docs/cmd/planner/task/task-get.mdx +1 -1
  342. package/docs/docs/cmd/planner/task/task-list.mdx +1 -1
  343. package/docs/docs/cmd/planner/task/task-reference-add.mdx +1 -1
  344. package/docs/docs/cmd/planner/task/task-reference-list.mdx +1 -1
  345. package/docs/docs/cmd/planner/task/task-reference-remove.mdx +1 -1
  346. package/docs/docs/cmd/planner/task/task-remove.mdx +1 -1
  347. package/docs/docs/cmd/planner/task/task-set.mdx +1 -1
  348. package/docs/docs/cmd/planner/tenant/tenant-settings-list.mdx +1 -1
  349. package/docs/docs/cmd/planner/tenant/tenant-settings-set.mdx +1 -1
  350. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +1 -1
  351. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +1 -1
  352. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-remove.mdx +1 -1
  353. package/docs/docs/cmd/pp/copilot/copilot-get.mdx +1 -1
  354. package/docs/docs/cmd/pp/copilot/copilot-list.mdx +1 -1
  355. package/docs/docs/cmd/pp/copilot/copilot-remove.mdx +1 -1
  356. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +1 -1
  357. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +1 -1
  358. package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +1 -1
  359. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.mdx +1 -1
  360. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.mdx +1 -1
  361. package/docs/docs/cmd/pp/environment/environment-get.mdx +1 -1
  362. package/docs/docs/cmd/pp/environment/environment-list.mdx +1 -1
  363. package/docs/docs/cmd/pp/gateway/gateway-get.mdx +1 -1
  364. package/docs/docs/cmd/pp/gateway/gateway-list.mdx +1 -1
  365. package/docs/docs/cmd/pp/managementapp/managementapp-add.mdx +1 -1
  366. package/docs/docs/cmd/pp/managementapp/managementapp-list.mdx +1 -1
  367. package/docs/docs/cmd/pp/solution/solution-get.mdx +1 -1
  368. package/docs/docs/cmd/pp/solution/solution-list.mdx +1 -1
  369. package/docs/docs/cmd/pp/solution/solution-publish.mdx +1 -1
  370. package/docs/docs/cmd/pp/solution/solution-publisher-add.mdx +1 -1
  371. package/docs/docs/cmd/pp/solution/solution-publisher-get.mdx +1 -1
  372. package/docs/docs/cmd/pp/solution/solution-publisher-list.mdx +1 -1
  373. package/docs/docs/cmd/pp/solution/solution-publisher-remove.mdx +1 -1
  374. package/docs/docs/cmd/pp/solution/solution-remove.mdx +1 -1
  375. package/docs/docs/cmd/pp/tenant/tenant-settings-list.mdx +1 -1
  376. package/docs/docs/cmd/pp/tenant/tenant-settings-set.mdx +1 -1
  377. package/docs/docs/cmd/pp/website/website-get.mdx +1 -1
  378. package/docs/docs/cmd/purview/auditlog/auditlog-list.mdx +1 -1
  379. package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +1 -1
  380. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +1 -1
  381. package/docs/docs/cmd/purview/retentionevent/retentionevent-list.mdx +1 -1
  382. package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.mdx +1 -1
  383. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +1 -1
  384. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +1 -1
  385. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.mdx +1 -1
  386. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.mdx +1 -1
  387. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.mdx +1 -1
  388. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx +1 -1
  389. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.mdx +1 -1
  390. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.mdx +1 -1
  391. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.mdx +1 -1
  392. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.mdx +1 -1
  393. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.mdx +1 -1
  394. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.mdx +1 -1
  395. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.mdx +1 -1
  396. package/docs/docs/cmd/purview/threatassessment/threatassessment-add.mdx +1 -1
  397. package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +1 -1
  398. package/docs/docs/cmd/purview/threatassessment/threatassessment-list.mdx +1 -1
  399. package/docs/docs/cmd/request.mdx +1 -1
  400. package/docs/docs/cmd/search.mdx +1 -1
  401. package/docs/docs/cmd/setup.mdx +1 -1
  402. package/docs/docs/cmd/spe/container/container-activate.mdx +1 -1
  403. package/docs/docs/cmd/spe/container/container-add.mdx +1 -1
  404. package/docs/docs/cmd/spe/container/container-get.mdx +1 -1
  405. package/docs/docs/cmd/spe/container/container-list.mdx +1 -1
  406. package/docs/docs/cmd/spe/container/container-permission-list.mdx +1 -1
  407. package/docs/docs/cmd/spe/container/container-recyclebinitem-list.mdx +1 -1
  408. package/docs/docs/cmd/spe/container/container-recyclebinitem-remove.mdx +1 -1
  409. package/docs/docs/cmd/spe/container/container-recyclebinitem-restore.mdx +1 -1
  410. package/docs/docs/cmd/spe/container/container-remove.mdx +1 -1
  411. package/docs/docs/cmd/spe/containertype/containertype-add.mdx +1 -1
  412. package/docs/docs/cmd/spe/containertype/containertype-get.mdx +1 -1
  413. package/docs/docs/cmd/spe/containertype/containertype-list.mdx +1 -1
  414. package/docs/docs/cmd/spe/containertype/containertype-remove.mdx +1 -1
  415. package/docs/docs/cmd/spfx/package/package-generate.mdx +1 -1
  416. package/docs/docs/cmd/spfx/project/project-azuredevops-pipeline-add.mdx +1 -1
  417. package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +1 -1
  418. package/docs/docs/cmd/spfx/project/project-permissions-grant.mdx +1 -1
  419. package/docs/docs/cmd/spfx/project/project-rename.mdx +1 -1
  420. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
  421. package/docs/docs/cmd/spo/agent/agent-add.mdx +190 -0
  422. package/docs/docs/cmd/spo/app/app-add.mdx +1 -1
  423. package/docs/docs/cmd/spo/app/app-deploy.mdx +1 -1
  424. package/docs/docs/cmd/spo/app/app-get.mdx +1 -1
  425. package/docs/docs/cmd/spo/app/app-install.mdx +1 -1
  426. package/docs/docs/cmd/spo/app/app-instance-list.mdx +1 -1
  427. package/docs/docs/cmd/spo/app/app-list.mdx +1 -1
  428. package/docs/docs/cmd/spo/app/app-remove.mdx +1 -1
  429. package/docs/docs/cmd/spo/app/app-retract.mdx +1 -1
  430. package/docs/docs/cmd/spo/app/app-teamspackage-download.mdx +1 -1
  431. package/docs/docs/cmd/spo/app/app-uninstall.mdx +1 -1
  432. package/docs/docs/cmd/spo/app/app-upgrade.mdx +1 -1
  433. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +1 -1
  434. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +1 -1
  435. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +1 -1
  436. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.mdx +1 -1
  437. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +1 -1
  438. package/docs/docs/cmd/spo/apppage/apppage-add.mdx +1 -1
  439. package/docs/docs/cmd/spo/apppage/apppage-set.mdx +1 -1
  440. package/docs/docs/cmd/spo/brandcenter/brandcenter-settings-list.mdx +1 -1
  441. package/docs/docs/cmd/spo/cdn/cdn-get.mdx +1 -1
  442. package/docs/docs/cmd/spo/cdn/cdn-origin-add.mdx +1 -1
  443. package/docs/docs/cmd/spo/cdn/cdn-origin-list.mdx +1 -1
  444. package/docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx +1 -1
  445. package/docs/docs/cmd/spo/cdn/cdn-policy-list.mdx +1 -1
  446. package/docs/docs/cmd/spo/cdn/cdn-policy-set.mdx +1 -1
  447. package/docs/docs/cmd/spo/cdn/cdn-set.mdx +1 -1
  448. package/docs/docs/cmd/spo/commandset/commandset-add.mdx +1 -1
  449. package/docs/docs/cmd/spo/commandset/commandset-get.mdx +1 -1
  450. package/docs/docs/cmd/spo/commandset/commandset-list.mdx +1 -1
  451. package/docs/docs/cmd/spo/commandset/commandset-remove.mdx +1 -1
  452. package/docs/docs/cmd/spo/commandset/commandset-set.mdx +1 -1
  453. package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +1 -1
  454. package/docs/docs/cmd/spo/contenttype/contenttype-field-list.mdx +1 -1
  455. package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.mdx +1 -1
  456. package/docs/docs/cmd/spo/contenttype/contenttype-field-set.mdx +1 -1
  457. package/docs/docs/cmd/spo/contenttype/contenttype-get.mdx +1 -1
  458. package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +1 -1
  459. package/docs/docs/cmd/spo/contenttype/contenttype-remove.mdx +1 -1
  460. package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +1 -1
  461. package/docs/docs/cmd/spo/contenttype/contenttype-sync.mdx +1 -1
  462. package/docs/docs/cmd/spo/contenttypehub/contenttypehub-get.mdx +1 -1
  463. package/docs/docs/cmd/spo/customaction/customaction-add.mdx +1 -1
  464. package/docs/docs/cmd/spo/customaction/customaction-clear.mdx +1 -1
  465. package/docs/docs/cmd/spo/customaction/customaction-get.mdx +1 -1
  466. package/docs/docs/cmd/spo/customaction/customaction-list.mdx +1 -1
  467. package/docs/docs/cmd/spo/customaction/customaction-remove.mdx +1 -1
  468. package/docs/docs/cmd/spo/customaction/customaction-set.mdx +1 -1
  469. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.mdx +1 -1
  470. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-list.mdx +1 -1
  471. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.mdx +1 -1
  472. package/docs/docs/cmd/spo/externaluser/externaluser-list.mdx +1 -1
  473. package/docs/docs/cmd/spo/feature/feature-disable.mdx +1 -1
  474. package/docs/docs/cmd/spo/feature/feature-enable.mdx +1 -1
  475. package/docs/docs/cmd/spo/feature/feature-list.mdx +1 -1
  476. package/docs/docs/cmd/spo/field/field-add.mdx +1 -1
  477. package/docs/docs/cmd/spo/field/field-get.mdx +1 -1
  478. package/docs/docs/cmd/spo/field/field-list.mdx +1 -1
  479. package/docs/docs/cmd/spo/field/field-remove.mdx +1 -1
  480. package/docs/docs/cmd/spo/field/field-set.mdx +1 -1
  481. package/docs/docs/cmd/spo/file/file-add.mdx +1 -1
  482. package/docs/docs/cmd/spo/file/file-checkin.mdx +1 -1
  483. package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +1 -1
  484. package/docs/docs/cmd/spo/file/file-checkout.mdx +1 -1
  485. package/docs/docs/cmd/spo/file/file-copy.mdx +1 -1
  486. package/docs/docs/cmd/spo/file/file-get.mdx +1 -1
  487. package/docs/docs/cmd/spo/file/file-list.mdx +1 -1
  488. package/docs/docs/cmd/spo/file/file-move.mdx +1 -1
  489. package/docs/docs/cmd/spo/file/file-remove.mdx +1 -1
  490. package/docs/docs/cmd/spo/file/file-rename.mdx +1 -1
  491. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
  492. package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +1 -1
  493. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +1 -1
  494. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
  495. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +1 -1
  496. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +1 -1
  497. package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +1 -1
  498. package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +1 -1
  499. package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +1 -1
  500. package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +1 -1
  501. package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +1 -1
  502. package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +1 -1
  503. package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +1 -1
  504. package/docs/docs/cmd/spo/file/file-version-clear.mdx +1 -1
  505. package/docs/docs/cmd/spo/file/file-version-get.mdx +1 -1
  506. package/docs/docs/cmd/spo/file/file-version-keep.mdx +1 -1
  507. package/docs/docs/cmd/spo/file/file-version-list.mdx +1 -1
  508. package/docs/docs/cmd/spo/file/file-version-remove.mdx +1 -1
  509. package/docs/docs/cmd/spo/file/file-version-restore.mdx +1 -1
  510. package/docs/docs/cmd/spo/folder/folder-add.mdx +1 -1
  511. package/docs/docs/cmd/spo/folder/folder-copy.mdx +1 -1
  512. package/docs/docs/cmd/spo/folder/folder-get.mdx +1 -1
  513. package/docs/docs/cmd/spo/folder/folder-list.mdx +1 -1
  514. package/docs/docs/cmd/spo/folder/folder-move.mdx +1 -1
  515. package/docs/docs/cmd/spo/folder/folder-remove.mdx +1 -1
  516. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
  517. package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +1 -1
  518. package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +1 -1
  519. package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +1 -1
  520. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +1 -1
  521. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +1 -1
  522. package/docs/docs/cmd/spo/folder/folder-set.mdx +1 -1
  523. package/docs/docs/cmd/spo/folder/folder-sharinglink-add.mdx +1 -1
  524. package/docs/docs/cmd/spo/folder/folder-sharinglink-clear.mdx +1 -1
  525. package/docs/docs/cmd/spo/folder/folder-sharinglink-get.mdx +1 -1
  526. package/docs/docs/cmd/spo/folder/folder-sharinglink-list.mdx +1 -1
  527. package/docs/docs/cmd/spo/folder/folder-sharinglink-remove.mdx +1 -1
  528. package/docs/docs/cmd/spo/folder/folder-sharinglink-set.mdx +1 -1
  529. package/docs/docs/cmd/spo/group/group-add.mdx +1 -1
  530. package/docs/docs/cmd/spo/group/group-get.mdx +1 -1
  531. package/docs/docs/cmd/spo/group/group-list.mdx +1 -1
  532. package/docs/docs/cmd/spo/group/group-member-add.mdx +1 -1
  533. package/docs/docs/cmd/spo/group/group-member-list.mdx +1 -1
  534. package/docs/docs/cmd/spo/group/group-member-remove.mdx +1 -1
  535. package/docs/docs/cmd/spo/group/group-remove.mdx +1 -1
  536. package/docs/docs/cmd/spo/group/group-set.mdx +1 -1
  537. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.mdx +1 -1
  538. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.mdx +1 -1
  539. package/docs/docs/cmd/spo/homesite/homesite-add.mdx +1 -1
  540. package/docs/docs/cmd/spo/homesite/homesite-get.mdx +1 -1
  541. package/docs/docs/cmd/spo/homesite/homesite-list.mdx +1 -1
  542. package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +1 -1
  543. package/docs/docs/cmd/spo/homesite/homesite-set.mdx +1 -1
  544. package/docs/docs/cmd/spo/hubsite/hubsite-connect.mdx +1 -1
  545. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +1 -1
  546. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.mdx +1 -1
  547. package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +1 -1
  548. package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +1 -1
  549. package/docs/docs/cmd/spo/hubsite/hubsite-register.mdx +1 -1
  550. package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.mdx +1 -1
  551. package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.mdx +1 -1
  552. package/docs/docs/cmd/spo/hubsite/hubsite-set.mdx +1 -1
  553. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.mdx +1 -1
  554. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.mdx +1 -1
  555. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.mdx +1 -1
  556. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.mdx +1 -1
  557. package/docs/docs/cmd/spo/list/list-add.mdx +1 -1
  558. package/docs/docs/cmd/spo/list/list-contenttype-add.mdx +1 -1
  559. package/docs/docs/cmd/spo/list/list-contenttype-default-set.mdx +1 -1
  560. package/docs/docs/cmd/spo/list/list-contenttype-list.mdx +1 -1
  561. package/docs/docs/cmd/spo/list/list-contenttype-remove.mdx +1 -1
  562. package/docs/docs/cmd/spo/list/list-defaultvalue-clear.mdx +1 -1
  563. package/docs/docs/cmd/spo/list/list-defaultvalue-get.mdx +1 -1
  564. package/docs/docs/cmd/spo/list/list-defaultvalue-list.mdx +1 -1
  565. package/docs/docs/cmd/spo/list/list-defaultvalue-remove.mdx +1 -1
  566. package/docs/docs/cmd/spo/list/list-defaultvalue-set.mdx +1 -1
  567. package/docs/docs/cmd/spo/list/list-get.mdx +1 -1
  568. package/docs/docs/cmd/spo/list/list-list.mdx +1 -1
  569. package/docs/docs/cmd/spo/list/list-remove.mdx +1 -1
  570. package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.mdx +1 -1
  571. package/docs/docs/cmd/spo/list/list-retentionlabel-get.mdx +1 -1
  572. package/docs/docs/cmd/spo/list/list-retentionlabel-remove.mdx +1 -1
  573. package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +1 -1
  574. package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +1 -1
  575. package/docs/docs/cmd/spo/list/list-roleinheritance-break.mdx +1 -1
  576. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.mdx +1 -1
  577. package/docs/docs/cmd/spo/list/list-sensitivitylabel-ensure.mdx +1 -1
  578. package/docs/docs/cmd/spo/list/list-set.mdx +20 -2
  579. package/docs/docs/cmd/spo/list/list-sitescript-get.mdx +1 -1
  580. package/docs/docs/cmd/spo/list/list-view-add.mdx +1 -1
  581. package/docs/docs/cmd/spo/list/list-view-field-add.mdx +1 -1
  582. package/docs/docs/cmd/spo/list/list-view-field-remove.mdx +1 -1
  583. package/docs/docs/cmd/spo/list/list-view-field-set.mdx +1 -1
  584. package/docs/docs/cmd/spo/list/list-view-get.mdx +1 -1
  585. package/docs/docs/cmd/spo/list/list-view-list.mdx +1 -1
  586. package/docs/docs/cmd/spo/list/list-view-remove.mdx +1 -1
  587. package/docs/docs/cmd/spo/list/list-view-set.mdx +1 -1
  588. package/docs/docs/cmd/spo/list/list-webhook-add.mdx +1 -1
  589. package/docs/docs/cmd/spo/list/list-webhook-get.mdx +1 -1
  590. package/docs/docs/cmd/spo/list/list-webhook-list.mdx +1 -1
  591. package/docs/docs/cmd/spo/list/list-webhook-remove.mdx +1 -1
  592. package/docs/docs/cmd/spo/list/list-webhook-set.mdx +1 -1
  593. package/docs/docs/cmd/spo/listitem/listitem-add.mdx +1 -1
  594. package/docs/docs/cmd/spo/listitem/listitem-attachment-add.mdx +1 -1
  595. package/docs/docs/cmd/spo/listitem/listitem-attachment-get.mdx +1 -1
  596. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +1 -1
  597. package/docs/docs/cmd/spo/listitem/listitem-attachment-remove.mdx +1 -1
  598. package/docs/docs/cmd/spo/listitem/listitem-attachment-set.mdx +1 -1
  599. package/docs/docs/cmd/spo/listitem/listitem-batch-add.mdx +1 -1
  600. package/docs/docs/cmd/spo/listitem/listitem-batch-remove.mdx +1 -1
  601. package/docs/docs/cmd/spo/listitem/listitem-batch-set.mdx +1 -1
  602. package/docs/docs/cmd/spo/listitem/listitem-get.mdx +1 -1
  603. package/docs/docs/cmd/spo/listitem/listitem-isrecord.mdx +1 -1
  604. package/docs/docs/cmd/spo/listitem/listitem-list.mdx +1 -1
  605. package/docs/docs/cmd/spo/listitem/listitem-record-declare.mdx +1 -1
  606. package/docs/docs/cmd/spo/listitem/listitem-record-lock.mdx +1 -1
  607. package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.mdx +1 -1
  608. package/docs/docs/cmd/spo/listitem/listitem-record-unlock.mdx +1 -1
  609. package/docs/docs/cmd/spo/listitem/listitem-remove.mdx +1 -1
  610. package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-ensure.mdx +1 -1
  611. package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.mdx +1 -1
  612. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.mdx +1 -1
  613. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +1 -1
  614. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.mdx +1 -1
  615. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.mdx +1 -1
  616. package/docs/docs/cmd/spo/listitem/listitem-set.mdx +1 -1
  617. package/docs/docs/cmd/spo/navigation/navigation-node-add.mdx +1 -1
  618. package/docs/docs/cmd/spo/navigation/navigation-node-get.mdx +44 -11
  619. package/docs/docs/cmd/spo/navigation/navigation-node-list.mdx +37 -4
  620. package/docs/docs/cmd/spo/navigation/navigation-node-remove.mdx +1 -1
  621. package/docs/docs/cmd/spo/navigation/navigation-node-set.mdx +1 -1
  622. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.mdx +1 -1
  623. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.mdx +1 -1
  624. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.mdx +1 -1
  625. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.mdx +1 -1
  626. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.mdx +1 -1
  627. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-set.mdx +1 -1
  628. package/docs/docs/cmd/spo/page/page-add.mdx +1 -1
  629. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.mdx +1 -1
  630. package/docs/docs/cmd/spo/page/page-column-get.mdx +1 -1
  631. package/docs/docs/cmd/spo/page/page-column-list.mdx +1 -1
  632. package/docs/docs/cmd/spo/page/page-control-get.mdx +1 -1
  633. package/docs/docs/cmd/spo/page/page-control-list.mdx +1 -1
  634. package/docs/docs/cmd/spo/page/page-control-remove.mdx +1 -1
  635. package/docs/docs/cmd/spo/page/page-control-set.mdx +1 -1
  636. package/docs/docs/cmd/spo/page/page-copy.mdx +1 -1
  637. package/docs/docs/cmd/spo/page/page-get.mdx +1 -1
  638. package/docs/docs/cmd/spo/page/page-header-set.mdx +1 -1
  639. package/docs/docs/cmd/spo/page/page-list.mdx +1 -1
  640. package/docs/docs/cmd/spo/page/page-publish.mdx +1 -1
  641. package/docs/docs/cmd/spo/page/page-remove.mdx +1 -1
  642. package/docs/docs/cmd/spo/page/page-section-add.mdx +1 -1
  643. package/docs/docs/cmd/spo/page/page-section-get.mdx +1 -1
  644. package/docs/docs/cmd/spo/page/page-section-list.mdx +1 -1
  645. package/docs/docs/cmd/spo/page/page-section-remove.mdx +1 -1
  646. package/docs/docs/cmd/spo/page/page-set.mdx +1 -1
  647. package/docs/docs/cmd/spo/page/page-template-list.mdx +1 -1
  648. package/docs/docs/cmd/spo/page/page-text-add.mdx +1 -1
  649. package/docs/docs/cmd/spo/propertybag/propertybag-get.mdx +1 -1
  650. package/docs/docs/cmd/spo/propertybag/propertybag-list.mdx +1 -1
  651. package/docs/docs/cmd/spo/propertybag/propertybag-remove.mdx +1 -1
  652. package/docs/docs/cmd/spo/propertybag/propertybag-set.mdx +1 -1
  653. package/docs/docs/cmd/spo/report/report-activityfilecounts.mdx +1 -1
  654. package/docs/docs/cmd/spo/report/report-activitypages.mdx +1 -1
  655. package/docs/docs/cmd/spo/report/report-activityusercounts.mdx +1 -1
  656. package/docs/docs/cmd/spo/report/report-activityuserdetail.mdx +1 -1
  657. package/docs/docs/cmd/spo/report/report-siteusagedetail.mdx +1 -1
  658. package/docs/docs/cmd/spo/report/report-siteusagefilecounts.mdx +1 -1
  659. package/docs/docs/cmd/spo/report/report-siteusagepages.mdx +1 -1
  660. package/docs/docs/cmd/spo/report/report-siteusagesitecounts.mdx +1 -1
  661. package/docs/docs/cmd/spo/report/report-siteusagestorage.mdx +1 -1
  662. package/docs/docs/cmd/spo/roledefinition/roledefinition-add.mdx +1 -1
  663. package/docs/docs/cmd/spo/roledefinition/roledefinition-get.mdx +1 -1
  664. package/docs/docs/cmd/spo/roledefinition/roledefinition-list.mdx +1 -1
  665. package/docs/docs/cmd/spo/roledefinition/roledefinition-remove.mdx +1 -1
  666. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.mdx +1 -1
  667. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.mdx +1 -1
  668. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.mdx +1 -1
  669. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.mdx +1 -1
  670. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.mdx +1 -1
  671. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.mdx +1 -1
  672. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.mdx +1 -1
  673. package/docs/docs/cmd/spo/site/site-accessrequest-setting-set.mdx +77 -0
  674. package/docs/docs/cmd/spo/site/site-add.mdx +15 -6
  675. package/docs/docs/cmd/spo/site/site-admin-add.mdx +1 -1
  676. package/docs/docs/cmd/spo/site/site-admin-list.mdx +1 -1
  677. package/docs/docs/cmd/spo/site/site-admin-remove.mdx +1 -1
  678. package/docs/docs/cmd/spo/site/site-appcatalog-add.mdx +1 -1
  679. package/docs/docs/cmd/spo/site/site-appcatalog-list.mdx +1 -1
  680. package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +1 -1
  681. package/docs/docs/cmd/spo/site/site-apppermission-add.mdx +1 -1
  682. package/docs/docs/cmd/spo/site/site-apppermission-get.mdx +1 -1
  683. package/docs/docs/cmd/spo/site/site-apppermission-list.mdx +1 -1
  684. package/docs/docs/cmd/spo/site/site-apppermission-remove.mdx +1 -1
  685. package/docs/docs/cmd/spo/site/site-apppermission-set.mdx +1 -1
  686. package/docs/docs/cmd/spo/site/site-archive.mdx +1 -1
  687. package/docs/docs/cmd/spo/site/site-chrome-set.mdx +1 -1
  688. package/docs/docs/cmd/spo/site/site-commsite-enable.mdx +1 -1
  689. package/docs/docs/cmd/spo/site/site-ensure.mdx +1 -1
  690. package/docs/docs/cmd/spo/site/site-get.mdx +1 -1
  691. package/docs/docs/cmd/spo/site/site-groupify.mdx +1 -1
  692. package/docs/docs/cmd/spo/site/site-hubsite-connect.mdx +1 -1
  693. package/docs/docs/cmd/spo/site/site-hubsite-disconnect.mdx +1 -1
  694. package/docs/docs/cmd/spo/site/site-hubsite-theme-sync.mdx +1 -1
  695. package/docs/docs/cmd/spo/site/site-inplacerecordsmanagement-set.mdx +1 -1
  696. package/docs/docs/cmd/spo/site/site-list.mdx +1 -1
  697. package/docs/docs/cmd/spo/site/site-membership-list.mdx +1 -1
  698. package/docs/docs/cmd/spo/site/site-recyclebinitem-clear.mdx +1 -1
  699. package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +1 -1
  700. package/docs/docs/cmd/spo/site/site-recyclebinitem-move.mdx +1 -1
  701. package/docs/docs/cmd/spo/site/site-recyclebinitem-remove.mdx +1 -1
  702. package/docs/docs/cmd/spo/site/site-recyclebinitem-restore.mdx +1 -1
  703. package/docs/docs/cmd/spo/site/site-remove.mdx +1 -1
  704. package/docs/docs/cmd/spo/site/site-rename.mdx +1 -1
  705. package/docs/docs/cmd/spo/site/site-set.mdx +1 -1
  706. package/docs/docs/cmd/spo/site/site-sharingpermission-set.mdx +1 -1
  707. package/docs/docs/cmd/spo/site/site-unarchive.mdx +1 -1
  708. package/docs/docs/cmd/spo/site/site-versionpolicy-get.mdx +1 -1
  709. package/docs/docs/cmd/spo/sitedesign/sitedesign-add.mdx +1 -1
  710. package/docs/docs/cmd/spo/sitedesign/sitedesign-apply.mdx +1 -1
  711. package/docs/docs/cmd/spo/sitedesign/sitedesign-get.mdx +1 -1
  712. package/docs/docs/cmd/spo/sitedesign/sitedesign-list.mdx +1 -1
  713. package/docs/docs/cmd/spo/sitedesign/sitedesign-remove.mdx +1 -1
  714. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.mdx +1 -1
  715. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.mdx +1 -1
  716. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.mdx +1 -1
  717. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-list.mdx +1 -1
  718. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +1 -1
  719. package/docs/docs/cmd/spo/sitedesign/sitedesign-set.mdx +1 -1
  720. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.mdx +1 -1
  721. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-list.mdx +1 -1
  722. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.mdx +1 -1
  723. package/docs/docs/cmd/spo/sitescript/sitescript-add.mdx +1 -1
  724. package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +1 -1
  725. package/docs/docs/cmd/spo/sitescript/sitescript-list.mdx +1 -1
  726. package/docs/docs/cmd/spo/sitescript/sitescript-remove.mdx +1 -1
  727. package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +1 -1
  728. package/docs/docs/cmd/spo/spo-get.mdx +1 -1
  729. package/docs/docs/cmd/spo/spo-search.mdx +1 -1
  730. package/docs/docs/cmd/spo/spo-set.mdx +1 -1
  731. package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +1 -1
  732. package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +1 -1
  733. package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +1 -1
  734. package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +1 -1
  735. package/docs/docs/cmd/spo/tenant/tenant-appcatalog-add.mdx +1 -1
  736. package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.mdx +1 -1
  737. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +1 -1
  738. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +1 -1
  739. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +1 -1
  740. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +1 -1
  741. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +1 -1
  742. package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
  743. package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +1 -1
  744. package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +1 -1
  745. package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +1 -1
  746. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
  747. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-list.mdx +1 -1
  748. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.mdx +1 -1
  749. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +1 -1
  750. package/docs/docs/cmd/spo/tenant/tenant-settings-list.mdx +1 -1
  751. package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +1 -1
  752. package/docs/docs/cmd/spo/tenant/tenant-site-get.mdx +479 -0
  753. package/docs/docs/cmd/spo/term/term-add.mdx +1 -1
  754. package/docs/docs/cmd/spo/term/term-get.mdx +1 -1
  755. package/docs/docs/cmd/spo/term/term-group-add.mdx +1 -1
  756. package/docs/docs/cmd/spo/term/term-group-get.mdx +1 -1
  757. package/docs/docs/cmd/spo/term/term-group-list.mdx +1 -1
  758. package/docs/docs/cmd/spo/term/term-list.mdx +1 -1
  759. package/docs/docs/cmd/spo/term/term-set-add.mdx +1 -1
  760. package/docs/docs/cmd/spo/term/term-set-get.mdx +1 -1
  761. package/docs/docs/cmd/spo/term/term-set-list.mdx +1 -1
  762. package/docs/docs/cmd/spo/theme/theme-apply.mdx +1 -1
  763. package/docs/docs/cmd/spo/theme/theme-get.mdx +1 -1
  764. package/docs/docs/cmd/spo/theme/theme-list.mdx +1 -1
  765. package/docs/docs/cmd/spo/theme/theme-remove.mdx +1 -1
  766. package/docs/docs/cmd/spo/theme/theme-set.mdx +1 -1
  767. package/docs/docs/cmd/spo/user/user-ensure.mdx +1 -1
  768. package/docs/docs/cmd/spo/user/user-get.mdx +1 -1
  769. package/docs/docs/cmd/spo/user/user-list.mdx +1 -1
  770. package/docs/docs/cmd/spo/user/user-remove.mdx +1 -1
  771. package/docs/docs/cmd/spo/userprofile/userprofile-get.mdx +1 -1
  772. package/docs/docs/cmd/spo/userprofile/userprofile-set.mdx +1 -1
  773. package/docs/docs/cmd/spo/web/web-add.mdx +1 -1
  774. package/docs/docs/cmd/spo/web/web-alert-list.mdx +1 -1
  775. package/docs/docs/cmd/spo/web/web-alert-remove.mdx +1 -1
  776. package/docs/docs/cmd/spo/web/web-clientsidewebpart-list.mdx +1 -1
  777. package/docs/docs/cmd/spo/web/web-get.mdx +1 -1
  778. package/docs/docs/cmd/spo/web/web-installedlanguage-list.mdx +1 -1
  779. package/docs/docs/cmd/spo/web/web-list.mdx +1 -1
  780. package/docs/docs/cmd/spo/web/web-reindex.mdx +1 -1
  781. package/docs/docs/cmd/spo/web/web-remove.mdx +1 -1
  782. package/docs/docs/cmd/spo/web/web-retentionlabel-list.mdx +1 -1
  783. package/docs/docs/cmd/spo/web/web-roleassignment-add.mdx +1 -1
  784. package/docs/docs/cmd/spo/web/web-roleassignment-remove.mdx +1 -1
  785. package/docs/docs/cmd/spo/web/web-roleinheritance-break.mdx +1 -1
  786. package/docs/docs/cmd/spo/web/web-roleinheritance-reset.mdx +1 -1
  787. package/docs/docs/cmd/spo/web/web-set.mdx +1 -1
  788. package/docs/docs/cmd/spp/autofillcolumn/autofillcolumn-set.mdx +1 -1
  789. package/docs/docs/cmd/spp/contentcenter/contentcenter-list.mdx +1 -1
  790. package/docs/docs/cmd/spp/model/model-apply.mdx +1 -1
  791. package/docs/docs/cmd/spp/model/model-get.mdx +1 -1
  792. package/docs/docs/cmd/spp/model/model-list.mdx +1 -1
  793. package/docs/docs/cmd/spp/model/model-remove.mdx +1 -1
  794. package/docs/docs/cmd/status.mdx +1 -1
  795. package/docs/docs/cmd/teams/app/app-install.mdx +1 -1
  796. package/docs/docs/cmd/teams/app/app-list.mdx +1 -1
  797. package/docs/docs/cmd/teams/app/app-publish.mdx +1 -1
  798. package/docs/docs/cmd/teams/app/app-remove.mdx +1 -1
  799. package/docs/docs/cmd/teams/app/app-uninstall.mdx +1 -1
  800. package/docs/docs/cmd/teams/app/app-update.mdx +1 -1
  801. package/docs/docs/cmd/teams/cache/cache-remove.mdx +1 -1
  802. package/docs/docs/cmd/teams/callrecord/callrecord-get.mdx +1 -1
  803. package/docs/docs/cmd/teams/callrecord/callrecord-list.mdx +1 -1
  804. package/docs/docs/cmd/teams/channel/channel-add.mdx +1 -1
  805. package/docs/docs/cmd/teams/channel/channel-get.mdx +1 -1
  806. package/docs/docs/cmd/teams/channel/channel-list.mdx +1 -1
  807. package/docs/docs/cmd/teams/channel/channel-member-add.mdx +1 -1
  808. package/docs/docs/cmd/teams/channel/channel-member-list.mdx +1 -1
  809. package/docs/docs/cmd/teams/channel/channel-member-remove.mdx +1 -1
  810. package/docs/docs/cmd/teams/channel/channel-member-set.mdx +1 -1
  811. package/docs/docs/cmd/teams/channel/channel-remove.mdx +1 -1
  812. package/docs/docs/cmd/teams/channel/channel-set.mdx +1 -1
  813. package/docs/docs/cmd/teams/chat/chat-get.mdx +1 -1
  814. package/docs/docs/cmd/teams/chat/chat-list.mdx +1 -1
  815. package/docs/docs/cmd/teams/chat/chat-member-add.mdx +1 -1
  816. package/docs/docs/cmd/teams/chat/chat-member-list.mdx +1 -1
  817. package/docs/docs/cmd/teams/chat/chat-member-remove.mdx +1 -1
  818. package/docs/docs/cmd/teams/chat/chat-message-list.mdx +1 -1
  819. package/docs/docs/cmd/teams/chat/chat-message-send.mdx +1 -1
  820. package/docs/docs/cmd/teams/funsettings/funsettings-list.mdx +1 -1
  821. package/docs/docs/cmd/teams/funsettings/funsettings-set.mdx +1 -1
  822. package/docs/docs/cmd/teams/guestsettings/guestsettings-list.mdx +1 -1
  823. package/docs/docs/cmd/teams/guestsettings/guestsettings-set.mdx +1 -1
  824. package/docs/docs/cmd/teams/meeting/meeting-add.mdx +1 -1
  825. package/docs/docs/cmd/teams/meeting/meeting-attendancereport-get.mdx +1 -1
  826. package/docs/docs/cmd/teams/meeting/meeting-attendancereport-list.mdx +1 -1
  827. package/docs/docs/cmd/teams/meeting/meeting-get.mdx +1 -1
  828. package/docs/docs/cmd/teams/meeting/meeting-list.mdx +1 -1
  829. package/docs/docs/cmd/teams/meeting/meeting-transcript-get.mdx +1 -1
  830. package/docs/docs/cmd/teams/meeting/meeting-transcript-list.mdx +1 -1
  831. package/docs/docs/cmd/teams/membersettings/membersettings-list.mdx +1 -1
  832. package/docs/docs/cmd/teams/membersettings/membersettings-set.mdx +1 -1
  833. package/docs/docs/cmd/teams/message/message-get.mdx +1 -1
  834. package/docs/docs/cmd/teams/message/message-list.mdx +1 -1
  835. package/docs/docs/cmd/teams/message/message-remove.mdx +1 -1
  836. package/docs/docs/cmd/teams/message/message-reply-list.mdx +1 -1
  837. package/docs/docs/cmd/teams/message/message-restore.mdx +1 -1
  838. package/docs/docs/cmd/teams/message/message-send.mdx +1 -1
  839. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.mdx +1 -1
  840. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.mdx +1 -1
  841. package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.mdx +1 -1
  842. package/docs/docs/cmd/teams/report/report-deviceusageusercounts.mdx +1 -1
  843. package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.mdx +1 -1
  844. package/docs/docs/cmd/teams/report/report-directroutingcalls.mdx +1 -1
  845. package/docs/docs/cmd/teams/report/report-pstncalls.mdx +1 -1
  846. package/docs/docs/cmd/teams/report/report-useractivitycounts.mdx +1 -1
  847. package/docs/docs/cmd/teams/report/report-useractivityusercounts.mdx +1 -1
  848. package/docs/docs/cmd/teams/report/report-useractivityuserdetail.mdx +1 -1
  849. package/docs/docs/cmd/teams/tab/tab-add.mdx +1 -1
  850. package/docs/docs/cmd/teams/tab/tab-get.mdx +1 -1
  851. package/docs/docs/cmd/teams/tab/tab-list.mdx +1 -1
  852. package/docs/docs/cmd/teams/tab/tab-remove.mdx +1 -1
  853. package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
  854. package/docs/docs/cmd/teams/team/team-app-list.mdx +1 -1
  855. package/docs/docs/cmd/teams/team/team-archive.mdx +1 -1
  856. package/docs/docs/cmd/teams/team/team-clone.mdx +1 -1
  857. package/docs/docs/cmd/teams/team/team-get.mdx +1 -1
  858. package/docs/docs/cmd/teams/team/team-list.mdx +1 -1
  859. package/docs/docs/cmd/teams/team/team-remove.mdx +1 -1
  860. package/docs/docs/cmd/teams/team/team-set.mdx +1 -1
  861. package/docs/docs/cmd/teams/team/team-unarchive.mdx +1 -1
  862. package/docs/docs/cmd/teams/user/user-app-add.mdx +1 -1
  863. package/docs/docs/cmd/teams/user/user-app-list.mdx +1 -1
  864. package/docs/docs/cmd/teams/user/user-app-remove.mdx +1 -1
  865. package/docs/docs/cmd/teams/user/user-app-upgrade.mdx +1 -1
  866. package/docs/docs/cmd/teams/user/user-list.mdx +1 -1
  867. package/docs/docs/cmd/tenant/id/id-get.mdx +1 -1
  868. package/docs/docs/cmd/tenant/info/info-get.mdx +1 -1
  869. package/docs/docs/cmd/tenant/people/people-profilecardproperty-add.mdx +1 -1
  870. package/docs/docs/cmd/tenant/people/people-profilecardproperty-get.mdx +1 -1
  871. package/docs/docs/cmd/tenant/people/people-profilecardproperty-list.mdx +1 -1
  872. package/docs/docs/cmd/tenant/people/people-profilecardproperty-remove.mdx +1 -1
  873. package/docs/docs/cmd/tenant/people/people-profilecardproperty-set.mdx +1 -1
  874. package/docs/docs/cmd/tenant/people/people-pronouns-get.mdx +1 -1
  875. package/docs/docs/cmd/tenant/people/people-pronouns-set.mdx +1 -1
  876. package/docs/docs/cmd/tenant/report/report-activeusercounts.mdx +1 -1
  877. package/docs/docs/cmd/tenant/report/report-activeuserdetail.mdx +1 -1
  878. package/docs/docs/cmd/tenant/report/report-office365activationcounts.mdx +1 -1
  879. package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.mdx +1 -1
  880. package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.mdx +1 -1
  881. package/docs/docs/cmd/tenant/report/report-servicesusercounts.mdx +1 -1
  882. package/docs/docs/cmd/tenant/report/report-settings-get.mdx +1 -1
  883. package/docs/docs/cmd/tenant/report/report-settings-set.mdx +1 -1
  884. package/docs/docs/cmd/tenant/security/security-alerts-list.mdx +1 -1
  885. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.mdx +1 -1
  886. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.mdx +1 -1
  887. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.mdx +1 -1
  888. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.mdx +1 -1
  889. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.mdx +1 -1
  890. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.mdx +1 -1
  891. package/docs/docs/cmd/todo/list/list-add.mdx +1 -1
  892. package/docs/docs/cmd/todo/list/list-get.mdx +1 -1
  893. package/docs/docs/cmd/todo/list/list-list.mdx +1 -1
  894. package/docs/docs/cmd/todo/list/list-remove.mdx +1 -1
  895. package/docs/docs/cmd/todo/list/list-set.mdx +1 -1
  896. package/docs/docs/cmd/todo/task/task-add.mdx +1 -1
  897. package/docs/docs/cmd/todo/task/task-get.mdx +1 -1
  898. package/docs/docs/cmd/todo/task/task-list.mdx +1 -1
  899. package/docs/docs/cmd/todo/task/task-remove.mdx +1 -1
  900. package/docs/docs/cmd/todo/task/task-set.mdx +1 -1
  901. package/docs/docs/cmd/util/accesstoken/accesstoken-get.mdx +1 -1
  902. package/docs/docs/cmd/version.mdx +1 -1
  903. package/docs/docs/cmd/viva/connections/connections-app-create.mdx +1 -1
  904. package/docs/docs/cmd/viva/engage/engage-community-add.mdx +1 -1
  905. package/docs/docs/cmd/viva/engage/engage-community-get.mdx +1 -1
  906. package/docs/docs/cmd/viva/engage/engage-community-list.mdx +1 -1
  907. package/docs/docs/cmd/viva/engage/engage-community-remove.mdx +1 -1
  908. package/docs/docs/cmd/viva/engage/engage-community-set.mdx +1 -1
  909. package/docs/docs/cmd/viva/engage/engage-community-user-add.mdx +1 -1
  910. package/docs/docs/cmd/viva/engage/engage-community-user-list.mdx +1 -1
  911. package/docs/docs/cmd/viva/engage/engage-community-user-remove.mdx +1 -1
  912. package/docs/docs/cmd/viva/engage/engage-message-add.mdx +1 -1
  913. package/docs/docs/cmd/viva/engage/engage-message-get.mdx +1 -1
  914. package/docs/docs/cmd/viva/engage/engage-message-like-set.mdx +1 -1
  915. package/docs/docs/cmd/viva/engage/engage-message-list.mdx +1 -1
  916. package/docs/docs/cmd/viva/engage/engage-message-remove.mdx +1 -1
  917. package/docs/docs/cmd/viva/engage/engage-network-list.mdx +1 -1
  918. package/docs/docs/cmd/viva/engage/engage-report-activitycounts.mdx +1 -1
  919. package/docs/docs/cmd/viva/engage/engage-report-activityusercounts.mdx +1 -1
  920. package/docs/docs/cmd/viva/engage/engage-report-activityuserdetail.mdx +1 -1
  921. package/docs/docs/cmd/viva/engage/engage-report-deviceusagedistributionusercounts.mdx +1 -1
  922. package/docs/docs/cmd/viva/engage/engage-report-deviceusageusercounts.mdx +1 -1
  923. package/docs/docs/cmd/viva/engage/engage-report-deviceusageuserdetail.mdx +1 -1
  924. package/docs/docs/cmd/viva/engage/engage-report-groupsactivitycounts.mdx +1 -1
  925. package/docs/docs/cmd/viva/engage/engage-report-groupsactivitydetail.mdx +1 -1
  926. package/docs/docs/cmd/viva/engage/engage-report-groupsactivitygroupcounts.mdx +1 -1
  927. package/docs/docs/cmd/viva/engage/engage-role-list.mdx +1 -1
  928. package/docs/docs/cmd/viva/engage/engage-role-member-list.mdx +1 -1
  929. package/docs/docs/cmd/viva/engage/engage-role-member-remove.mdx +71 -0
  930. package/docs/docs/cmd/viva/engage/engage-search.mdx +1 -1
  931. package/docs/docs/cmd/viva/engage/engage-user-get.mdx +1 -1
  932. package/docs/docs/cmd/viva/engage/engage-user-list.mdx +1 -1
  933. package/npm-shrinkwrap.json +289 -249
  934. package/package.json +7 -5
@@ -1,13 +1,18 @@
1
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
2
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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");
4
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
- };
6
- var _SpoNavigationNodeGetCommand_instances, _SpoNavigationNodeGetCommand_initOptions, _SpoNavigationNodeGetCommand_initValidators;
1
+ import { globalOptionsZod } from '../../../../Command.js';
2
+ import { z } from 'zod';
7
3
  import request from '../../../../request.js';
8
4
  import { validation } from '../../../../utils/validation.js';
9
5
  import SpoCommand from '../../../base/SpoCommand.js';
10
6
  import commands from '../../commands.js';
7
+ export const options = z.strictObject({
8
+ ...globalOptionsZod.shape,
9
+ webUrl: z.string()
10
+ .refine(url => validation.isValidSharePointUrl(url) === true, {
11
+ error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
12
+ })
13
+ .alias('u'),
14
+ id: z.int().positive()
15
+ });
11
16
  class SpoNavigationNodeGetCommand extends SpoCommand {
12
17
  get name() {
13
18
  return commands.NAVIGATION_NODE_GET;
@@ -15,25 +20,25 @@ class SpoNavigationNodeGetCommand extends SpoCommand {
15
20
  get description() {
16
21
  return 'Retrieve information about a specific navigation node';
17
22
  }
18
- constructor() {
19
- super();
20
- _SpoNavigationNodeGetCommand_instances.add(this);
21
- __classPrivateFieldGet(this, _SpoNavigationNodeGetCommand_instances, "m", _SpoNavigationNodeGetCommand_initOptions).call(this);
22
- __classPrivateFieldGet(this, _SpoNavigationNodeGetCommand_instances, "m", _SpoNavigationNodeGetCommand_initValidators).call(this);
23
+ get schema() {
24
+ return options;
23
25
  }
24
26
  async commandAction(logger, args) {
25
27
  if (this.verbose) {
26
28
  await logger.logToStderr(`Retrieving information about navigation node with id ${args.options.id}`);
27
29
  }
28
30
  const requestOptions = {
29
- url: `${args.options.webUrl}/_api/web/navigation/GetNodeById(${args.options.id})`,
31
+ url: `${args.options.webUrl}/_api/web/navigation/GetNodeById(${args.options.id})?$expand=Children,Children/Children,Children/Children/Children`,
30
32
  headers: {
31
- 'accept': 'application/json;odata=nometadata'
33
+ accept: 'application/json;odata=nometadata'
32
34
  },
33
35
  responseType: 'json'
34
36
  };
35
37
  try {
36
38
  const listInstance = await request.get(requestOptions);
39
+ if (listInstance['odata.null']) {
40
+ throw `No navigation node found with id ${args.options.id}.`;
41
+ }
37
42
  await logger.log(listInstance);
38
43
  }
39
44
  catch (err) {
@@ -41,20 +46,5 @@ class SpoNavigationNodeGetCommand extends SpoCommand {
41
46
  }
42
47
  }
43
48
  }
44
- _SpoNavigationNodeGetCommand_instances = new WeakSet(), _SpoNavigationNodeGetCommand_initOptions = function _SpoNavigationNodeGetCommand_initOptions() {
45
- this.options.unshift({
46
- option: '-u, --webUrl <webUrl>'
47
- }, {
48
- option: '--id <id>'
49
- });
50
- }, _SpoNavigationNodeGetCommand_initValidators = function _SpoNavigationNodeGetCommand_initValidators() {
51
- this.validators.push(async (args) => {
52
- const id = parseInt(args.options.id);
53
- if (isNaN(id)) {
54
- return `${args.options.id} is not a valid number`;
55
- }
56
- return validation.isValidSharePointUrl(args.options.webUrl);
57
- });
58
- };
59
49
  export default new SpoNavigationNodeGetCommand();
60
50
  //# sourceMappingURL=navigation-node-get.js.map
@@ -1,13 +1,18 @@
1
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
2
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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");
4
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
- };
6
- var _SpoNavigationNodeListCommand_instances, _SpoNavigationNodeListCommand_initTelemetry, _SpoNavigationNodeListCommand_initOptions, _SpoNavigationNodeListCommand_initValidators;
1
+ import { globalOptionsZod } from '../../../../Command.js';
2
+ import { z } from 'zod';
7
3
  import { odata } from '../../../../utils/odata.js';
8
4
  import { validation } from '../../../../utils/validation.js';
9
5
  import SpoCommand from '../../../base/SpoCommand.js';
10
6
  import commands from '../../commands.js';
7
+ export const options = z.strictObject({
8
+ ...globalOptionsZod.shape,
9
+ webUrl: z.string()
10
+ .refine(url => validation.isValidSharePointUrl(url) === true, {
11
+ error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
12
+ })
13
+ .alias('u'),
14
+ location: z.enum(['QuickLaunch', 'TopNavigationBar']).alias('l')
15
+ });
11
16
  class SpoNavigationNodeListCommand extends SpoCommand {
12
17
  get name() {
13
18
  return commands.NAVIGATION_NODE_LIST;
@@ -18,19 +23,15 @@ class SpoNavigationNodeListCommand extends SpoCommand {
18
23
  defaultProperties() {
19
24
  return ['Id', 'Title', 'Url'];
20
25
  }
21
- constructor() {
22
- super();
23
- _SpoNavigationNodeListCommand_instances.add(this);
24
- __classPrivateFieldGet(this, _SpoNavigationNodeListCommand_instances, "m", _SpoNavigationNodeListCommand_initTelemetry).call(this);
25
- __classPrivateFieldGet(this, _SpoNavigationNodeListCommand_instances, "m", _SpoNavigationNodeListCommand_initOptions).call(this);
26
- __classPrivateFieldGet(this, _SpoNavigationNodeListCommand_instances, "m", _SpoNavigationNodeListCommand_initValidators).call(this);
26
+ get schema() {
27
+ return options;
27
28
  }
28
29
  async commandAction(logger, args) {
29
30
  if (this.verbose) {
30
31
  await logger.logToStderr(`Retrieving navigation nodes...`);
31
32
  }
32
33
  try {
33
- const res = await odata.getAllItems(`${args.options.webUrl}/_api/web/navigation/${args.options.location.toLowerCase()}`);
34
+ const res = await odata.getAllItems(`${args.options.webUrl}/_api/web/navigation/${args.options.location.toLowerCase()}?$expand=Children,Children/Children,Children/Children/Children`);
34
35
  await logger.log(res);
35
36
  }
36
37
  catch (err) {
@@ -38,31 +39,5 @@ class SpoNavigationNodeListCommand extends SpoCommand {
38
39
  }
39
40
  }
40
41
  }
41
- _SpoNavigationNodeListCommand_instances = new WeakSet(), _SpoNavigationNodeListCommand_initTelemetry = function _SpoNavigationNodeListCommand_initTelemetry() {
42
- this.telemetry.push((args) => {
43
- Object.assign(this.telemetryProperties, {
44
- location: args.options.location
45
- });
46
- });
47
- }, _SpoNavigationNodeListCommand_initOptions = function _SpoNavigationNodeListCommand_initOptions() {
48
- this.options.unshift({
49
- option: '-u, --webUrl <webUrl>'
50
- }, {
51
- option: '-l, --location <location>',
52
- autocomplete: ['QuickLaunch', 'TopNavigationBar']
53
- });
54
- }, _SpoNavigationNodeListCommand_initValidators = function _SpoNavigationNodeListCommand_initValidators() {
55
- this.validators.push(async (args) => {
56
- const isValidSharePointUrl = validation.isValidSharePointUrl(args.options.webUrl);
57
- if (isValidSharePointUrl !== true) {
58
- return isValidSharePointUrl;
59
- }
60
- if (args.options.location !== 'QuickLaunch' &&
61
- args.options.location !== 'TopNavigationBar') {
62
- return `${args.options.location} is not a valid value for the location option. Allowed values are QuickLaunch|TopNavigationBar`;
63
- }
64
- return true;
65
- });
66
- };
67
42
  export default new SpoNavigationNodeListCommand();
68
43
  //# sourceMappingURL=navigation-node-list.js.map
@@ -31,13 +31,12 @@ class SpoOrgAssetsLibraryAddCommand extends SpoCommand {
31
31
  __classPrivateFieldGet(this, _SpoOrgAssetsLibraryAddCommand_instances, "m", _SpoOrgAssetsLibraryAddCommand_initValidators).call(this);
32
32
  }
33
33
  async commandAction(logger, args) {
34
- let spoAdminUrl = '';
35
34
  const cdnTypeString = args.options.cdnType || 'Private';
36
35
  const cdnType = cdnTypeString === 'Private' ? 1 : 0;
37
36
  const thumbnailSchema = typeof args.options.thumbnailUrl === 'undefined' ? `<Parameter Type="Null" />` : `<Parameter Type="String">${args.options.thumbnailUrl}</Parameter>`;
38
37
  try {
39
38
  const orgAssetType = this.getOrgAssetType(args.options.orgAssetType);
40
- spoAdminUrl = await spo.getSpoAdminUrl(logger, this.debug);
39
+ const spoAdminUrl = await spo.getSpoAdminUrl(logger, this.debug);
41
40
  const reqDigest = await spo.getRequestDigest(spoAdminUrl);
42
41
  const requestOptions = {
43
42
  url: `${spoAdminUrl}/_vti_bin/client.svc/ProcessQuery`,
@@ -158,8 +158,8 @@ function getBoundedDivMarkup(html, boundaryStartPattern, collector) {
158
158
  // we have one open div counting from the one found above using boundaryStartPattern so we need to ensure we find it's close
159
159
  let openCounter = 1;
160
160
  let searchIndex = startIndex + 1;
161
- let nextDivOpen = -1;
162
- let nextCloseDiv = -1;
161
+ let nextDivOpen;
162
+ let nextCloseDiv;
163
163
  // this loop finds the </div> tag that matches the opening of the control
164
164
  while (true) {
165
165
  // find both the next opening and closing div tags from our current searching index
@@ -299,7 +299,7 @@ export class ClientSidePage {
299
299
  const ct = /controlType&quot;&#58;(\d*?)(,|&)/i.exec(markup);
300
300
  // if no control type is present this is a column which we give type 0 to let us process it
301
301
  const controlType = ct === null || ct.length < 0 ? -1 : parseInt(ct[1], 10);
302
- let control = null;
302
+ let control;
303
303
  switch (controlType) {
304
304
  case -1:
305
305
  // empty canvas column
@@ -371,8 +371,8 @@ export class ClientSidePage {
371
371
  * @param control The control to merge
372
372
  */
373
373
  mergePartToTree(control) {
374
- let section = null;
375
- let column = null;
374
+ let section;
375
+ let column;
376
376
  let sectionFactor = 12;
377
377
  let sectionIndex = 0;
378
378
  let zoneIndex = 0;
@@ -417,7 +417,7 @@ export class ClientSidePage {
417
417
  */
418
418
  mergeColumnToTree(column) {
419
419
  const order = column?.controlData?.position.zoneIndex || 0;
420
- let section = null;
420
+ let section;
421
421
  const sections = this.sections.filter(s => s.order === order && s.layoutIndex === (column?.controlData?.position.layoutIndex ?? 1));
422
422
  if (sections.length < 1) {
423
423
  section = new CanvasSection(this, order, [], column.controlData);
@@ -27,8 +27,6 @@ class SpoPageAddCommand extends SpoCommand {
27
27
  __classPrivateFieldGet(this, _SpoPageAddCommand_instances, "m", _SpoPageAddCommand_initValidators).call(this);
28
28
  }
29
29
  async commandAction(logger, args) {
30
- let requestDigest = '';
31
- let itemId = '';
32
30
  let pageName = args.options.name;
33
31
  const fileNameWithoutExtension = pageName.replace('.aspx', '');
34
32
  let bannerImageUrl = '';
@@ -44,7 +42,7 @@ class SpoPageAddCommand extends SpoCommand {
44
42
  const serverRelativeFileUrl = `${listServerRelativeUrl}/${pageName}`;
45
43
  try {
46
44
  const reqDigest = await spo.getRequestDigest(args.options.webUrl);
47
- requestDigest = reqDigest.FormDigestValue;
45
+ const requestDigest = reqDigest.FormDigestValue;
48
46
  let requestOptions = {
49
47
  url: `${args.options.webUrl}/_api/sitepages/pages`,
50
48
  responseType: 'json',
@@ -60,7 +58,7 @@ class SpoPageAddCommand extends SpoCommand {
60
58
  }
61
59
  };
62
60
  const template = await request.post(requestOptions);
63
- itemId = template.UniqueId;
61
+ const itemId = template.UniqueId;
64
62
  const file = await spo.getFileAsListItemByUrl(args.options.webUrl, serverRelativeFileUrl, logger, this.verbose);
65
63
  const listItemId = file.Id;
66
64
  const pageProps = await Page.checkout(pageName, args.options.webUrl, logger, this.verbose);
@@ -119,7 +119,6 @@ class SpoPageHeaderSetCommand extends SpoCommand {
119
119
  translateY: 0
120
120
  }
121
121
  };
122
- let header = defaultPageHeader;
123
122
  let pageFullName = args.options.pageName.toLowerCase();
124
123
  if (!pageFullName.endsWith('.aspx')) {
125
124
  pageFullName += '.aspx';
@@ -127,7 +126,6 @@ class SpoPageHeaderSetCommand extends SpoCommand {
127
126
  let canvasContent = "";
128
127
  let bannerImageUrl = "";
129
128
  let description = "";
130
- let title = "";
131
129
  let authorByline = args.options.authors ? args.options.authors.split(',').map(a => a.trim()) : [];
132
130
  let topicHeader = args.options.topicHeader || "";
133
131
  if (this.verbose) {
@@ -142,7 +140,7 @@ class SpoPageHeaderSetCommand extends SpoCommand {
142
140
  responseType: 'json'
143
141
  };
144
142
  const page = await request.get(requestOptions);
145
- title = page.Title;
143
+ let title = page.Title;
146
144
  let pageData;
147
145
  if (page.IsPageCheckedOutToCurrentUser) {
148
146
  const requestOptions = {
@@ -157,18 +155,18 @@ class SpoPageHeaderSetCommand extends SpoCommand {
157
155
  else {
158
156
  pageData = await Page.checkout(pageFullName, args.options.webUrl, logger, this.verbose);
159
157
  }
158
+ let header;
160
159
  switch (args.options.type) {
161
160
  case 'None':
162
161
  header = noPageHeader;
163
162
  break;
164
- case 'Default':
165
- header = defaultPageHeader;
166
- break;
167
163
  case 'Custom':
168
164
  header = customPageHeader;
169
165
  break;
166
+ case 'Default':
170
167
  default:
171
168
  header = defaultPageHeader;
169
+ break;
172
170
  }
173
171
  if (pageData) {
174
172
  canvasContent = pageData.CanvasContent1;
@@ -128,34 +128,34 @@ class SpoPageSectionAddCommand extends SpoCommand {
128
128
  let sectionIndex = 1;
129
129
  switch (args.options.sectionTemplate) {
130
130
  case 'OneColumnFullWidth':
131
- columns.push(this.getColumn(zoneIndex, sectionIndex++, 0, args, zoneId));
131
+ columns.push(this.getColumn(zoneIndex, sectionIndex, 0, args, zoneId));
132
132
  break;
133
133
  case 'TwoColumn':
134
134
  columns.push(this.getColumn(zoneIndex, sectionIndex++, 6, args, zoneId));
135
- columns.push(this.getColumn(zoneIndex, sectionIndex++, 6, args, zoneId));
135
+ columns.push(this.getColumn(zoneIndex, sectionIndex, 6, args, zoneId));
136
136
  break;
137
137
  case 'ThreeColumn':
138
138
  columns.push(this.getColumn(zoneIndex, sectionIndex++, 4, args, zoneId));
139
139
  columns.push(this.getColumn(zoneIndex, sectionIndex++, 4, args, zoneId));
140
- columns.push(this.getColumn(zoneIndex, sectionIndex++, 4, args, zoneId));
140
+ columns.push(this.getColumn(zoneIndex, sectionIndex, 4, args, zoneId));
141
141
  break;
142
142
  case 'TwoColumnLeft':
143
143
  columns.push(this.getColumn(zoneIndex, sectionIndex++, 8, args, zoneId));
144
- columns.push(this.getColumn(zoneIndex, sectionIndex++, 4, args, zoneId));
144
+ columns.push(this.getColumn(zoneIndex, sectionIndex, 4, args, zoneId));
145
145
  break;
146
146
  case 'TwoColumnRight':
147
147
  columns.push(this.getColumn(zoneIndex, sectionIndex++, 4, args, zoneId));
148
- columns.push(this.getColumn(zoneIndex, sectionIndex++, 8, args, zoneId));
148
+ columns.push(this.getColumn(zoneIndex, sectionIndex, 8, args, zoneId));
149
149
  break;
150
150
  case 'Vertical':
151
151
  columns.push(this.getVerticalColumn(args, zoneId));
152
152
  break;
153
153
  case 'Flexible':
154
- columns.push(this.getFlexibleColumn(zoneIndex, sectionIndex++, args, zoneId));
154
+ columns.push(this.getFlexibleColumn(zoneIndex, sectionIndex, args, zoneId));
155
155
  break;
156
156
  case 'OneColumn':
157
157
  default:
158
- columns.push(this.getColumn(zoneIndex, sectionIndex++, 12, args, zoneId));
158
+ columns.push(this.getColumn(zoneIndex, sectionIndex, 12, args, zoneId));
159
159
  break;
160
160
  }
161
161
  return columns;
@@ -32,14 +32,8 @@ class SpoPageSetCommand extends SpoCommand {
32
32
  const resource = Auth.getResourceFromUrl(args.options.webUrl);
33
33
  let pageName = args.options.name;
34
34
  const fileNameWithoutExtension = pageName.replace('.aspx', '');
35
- let bannerImageUrl = '';
36
- let canvasContent1 = '';
37
- let layoutWebpartsContent = '';
38
35
  let pageTitle = args.options.title || "";
39
- let pageId = null;
40
36
  let pageDescription = args.options.description || "";
41
- let topicHeader = "";
42
- let authorByline = [];
43
37
  const pageData = {};
44
38
  if (!pageName.endsWith('.aspx')) {
45
39
  pageName += '.aspx';
@@ -54,13 +48,13 @@ class SpoPageSetCommand extends SpoCommand {
54
48
  const requestDigest = requestDigestResult.FormDigestValue;
55
49
  const page = await Page.checkout(args.options.name, args.options.webUrl, logger, this.verbose);
56
50
  pageTitle = pageTitle || page.Title;
57
- pageId = page.Id;
58
- bannerImageUrl = page.BannerImageUrl;
59
- canvasContent1 = args.options.content || page.CanvasContent1;
60
- layoutWebpartsContent = page.LayoutWebpartsContent;
51
+ let pageId = page.Id;
52
+ const bannerImageUrl = page.BannerImageUrl;
53
+ const canvasContent1 = args.options.content || page.CanvasContent1;
54
+ const layoutWebpartsContent = page.LayoutWebpartsContent;
61
55
  pageDescription = pageDescription || page.Description;
62
- topicHeader = page.TopicHeader;
63
- authorByline = page.AuthorByline;
56
+ const topicHeader = page.TopicHeader;
57
+ const authorByline = page.AuthorByline;
64
58
  if (args.options.layoutType) {
65
59
  const listItemSetOptions = {
66
60
  PageLayoutType: args.options.layoutType
@@ -27,7 +27,6 @@ class SpoPageTextAddCommand extends SpoCommand {
27
27
  __classPrivateFieldGet(this, _SpoPageTextAddCommand_instances, "m", _SpoPageTextAddCommand_initValidators).call(this);
28
28
  }
29
29
  async commandAction(logger, args) {
30
- let requestDigest = '';
31
30
  let pageName = args.options.pageName;
32
31
  if (args.options.pageName.indexOf('.aspx') < 0) {
33
32
  pageName += '.aspx';
@@ -38,7 +37,7 @@ class SpoPageTextAddCommand extends SpoCommand {
38
37
  try {
39
38
  const reqDigest = await spo.getRequestDigest(args.options.webUrl);
40
39
  // Keep the reference of request digest for subsequent requests
41
- requestDigest = reqDigest.FormDigestValue;
40
+ const requestDigest = reqDigest.FormDigestValue;
42
41
  if (this.verbose) {
43
42
  await logger.logToStderr(`Retrieving modern page ${pageName}...`);
44
43
  }
@@ -0,0 +1,102 @@
1
+ import { z } from 'zod';
2
+ import { globalOptionsZod } from '../../../../Command.js';
3
+ import request from '../../../../request.js';
4
+ import { validation } from '../../../../utils/validation.js';
5
+ import SpoCommand from '../../../base/SpoCommand.js';
6
+ import commands from '../../commands.js';
7
+ export const options = z.strictObject({
8
+ ...globalOptionsZod.shape,
9
+ siteUrl: z.string()
10
+ .refine(url => validation.isValidSharePointUrl(url) === true, {
11
+ error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
12
+ })
13
+ .alias('u'),
14
+ disabled: z.boolean().optional(),
15
+ ownerGroup: z.boolean().optional(),
16
+ email: z.string()
17
+ .refine(email => validation.isValidUserPrincipalName(email), {
18
+ error: e => `'${e.input}' is not a valid email address.`
19
+ }).optional(),
20
+ message: z.string().optional()
21
+ });
22
+ class SpoSiteAccessRequestSettingSetCommand extends SpoCommand {
23
+ get name() {
24
+ return commands.SITE_ACCESSREQUEST_SETTING_SET;
25
+ }
26
+ get description() {
27
+ return 'Update access requests for a specific site';
28
+ }
29
+ get schema() {
30
+ return options;
31
+ }
32
+ getRefinedSchema(schema) {
33
+ return schema
34
+ .refine(o => [o.disabled, o.ownerGroup, o.email].filter(v => v !== undefined).length === 1, {
35
+ error: 'Specify exactly one of disabled, ownerGroup, or email'
36
+ })
37
+ .refine(o => !(o.disabled && typeof o.message !== 'undefined'), {
38
+ error: 'The message option cannot be used when disabled is specified'
39
+ });
40
+ }
41
+ async commandAction(logger, args) {
42
+ if (this.verbose) {
43
+ await logger.logToStderr(`Updating access requests for site '${args.options.siteUrl}'...`);
44
+ }
45
+ try {
46
+ const { siteUrl, ownerGroup, email, message } = args.options;
47
+ const requestAccessEmail = email || '';
48
+ if (this.verbose) {
49
+ await logger.logToStderr(`Updating RequestAccessEmail to '${requestAccessEmail}'...`);
50
+ }
51
+ const requestPatchWeb = {
52
+ url: `${siteUrl}/_api/Web`,
53
+ headers: {
54
+ accept: 'application/json;odata=nometadata'
55
+ },
56
+ responseType: 'json',
57
+ data: {
58
+ RequestAccessEmail: requestAccessEmail
59
+ }
60
+ };
61
+ await request.patch(requestPatchWeb);
62
+ const useAccessRequestDefault = !!ownerGroup;
63
+ if (this.verbose) {
64
+ await logger.logToStderr(`Updating UseAccessRequestDefault to '${useAccessRequestDefault}'...`);
65
+ }
66
+ const requestUseDefault = {
67
+ url: `${siteUrl}/_api/Web/SetUseAccessRequestDefaultAndUpdate`,
68
+ headers: {
69
+ accept: 'application/json;odata=nometadata',
70
+ 'content-type': 'application/json;odata=nometadata'
71
+ },
72
+ responseType: 'json',
73
+ data: {
74
+ useAccessRequestDefault: useAccessRequestDefault
75
+ }
76
+ };
77
+ await request.post(requestUseDefault);
78
+ if (message !== undefined) {
79
+ if (this.verbose) {
80
+ await logger.logToStderr(`Updating access request message to '${message}'...`);
81
+ }
82
+ const requestSetMessage = {
83
+ url: `${siteUrl}/_api/Web/SetAccessRequestSiteDescriptionAndUpdate`,
84
+ headers: {
85
+ accept: 'application/json;odata=nometadata',
86
+ 'content-type': 'application/json;odata=nometadata'
87
+ },
88
+ responseType: 'json',
89
+ data: {
90
+ description: message
91
+ }
92
+ };
93
+ await request.post(requestSetMessage);
94
+ }
95
+ }
96
+ catch (err) {
97
+ this.handleRejectedODataJsonPromise(err);
98
+ }
99
+ }
100
+ }
101
+ export default new SpoSiteAccessRequestSettingSetCommand();
102
+ //# sourceMappingURL=site-accessrequest-setting-set.js.map
@@ -5,6 +5,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
5
5
  };
6
6
  var _SpoSiteAddCommand_instances, _SpoSiteAddCommand_initTelemetry, _SpoSiteAddCommand_initOptions, _SpoSiteAddCommand_initValidators;
7
7
  import { setTimeout } from 'timers/promises';
8
+ import { cli } from '../../../../cli/cli.js';
8
9
  import config from '../../../../config.js';
9
10
  import request from '../../../../request.js';
10
11
  import { formatting } from '../../../../utils/formatting.js';
@@ -12,6 +13,7 @@ import { spo } from '../../../../utils/spo.js';
12
13
  import { validation } from '../../../../utils/validation.js';
13
14
  import SpoCommand from '../../../base/SpoCommand.js';
14
15
  import commands from '../../commands.js';
16
+ import { brandCenter } from '../../../../utils/brandCenter.js';
15
17
  class SpoSiteAddCommand extends SpoCommand {
16
18
  get supportedLcids() {
17
19
  // Languages supported by SharePoint
@@ -43,7 +45,7 @@ class SpoSiteAddCommand extends SpoCommand {
43
45
  await logger.log(siteUrl);
44
46
  }
45
47
  async createModernSite(logger, args) {
46
- const isTeamSite = args.options.type !== 'CommunicationSite';
48
+ const isTeamSite = args.options.type !== 'CommunicationSite' && args.options.type !== 'BrandCenter';
47
49
  try {
48
50
  const spoUrl = await spo.getSpoUrl(logger, this.debug);
49
51
  if (this.verbose) {
@@ -128,6 +130,9 @@ class SpoSiteAddCommand extends SpoCommand {
128
130
  if (args.options.owners) {
129
131
  requestOptions.data.request.Owner = args.options.owners;
130
132
  }
133
+ if (args.options.type === 'BrandCenter') {
134
+ await this.addBrandCenter(requestOptions.data.request, logger, args.options.force || false);
135
+ }
131
136
  }
132
137
  const response = await request.post(requestOptions);
133
138
  if (isTeamSite) {
@@ -325,6 +330,27 @@ class SpoSiteAddCommand extends SpoCommand {
325
330
  this.handleRejectedPromise(err);
326
331
  }
327
332
  }
333
+ async addBrandCenter(requestData, logger, force) {
334
+ const brandingCenterConfiguration = await brandCenter.getBrandCenterConfiguration(logger, this.debug);
335
+ if (brandingCenterConfiguration.IsBrandCenterSiteFeatureEnabled) {
336
+ throw Error('Brand center site is already created in the tenant.');
337
+ }
338
+ const warningMessage = `You agree to activate this site as your official brand center site and turn on the brand center app for use in your organization. Storage locations will be created for uploading files to brand center and managing them. Any uploaded files will be stored in the cloud and managed in a public content delivery network (CDN). The files will be accessible to anyone who is able to extract the URLs that point to them.
339
+ Don't use this feature if your files contain proprietary information, or if you don't have the necessary cloud hosting rights to use them. After creation, that site cannot be deleted.`;
340
+ if (force) {
341
+ await logger.logToStderr(warningMessage);
342
+ }
343
+ else {
344
+ const result = await cli.promptForConfirmation({
345
+ message: `${warningMessage}\n\nDo you want to proceed?`
346
+ });
347
+ if (!result) {
348
+ throw Error('Operation cancelled by the user.');
349
+ }
350
+ }
351
+ const brandCenterFeatureId = '99cd6e8b-189b-4611-ae89-f89105876e43';
352
+ requestData.AdditionalSiteFeatureIds = [brandCenterFeatureId];
353
+ }
328
354
  }
329
355
  _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry = function _SpoSiteAddCommand_initTelemetry() {
330
356
  this.telemetry.push((args) => {
@@ -338,6 +364,7 @@ _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry =
338
364
  telemetryProps.lcid = args.options.lcid;
339
365
  telemetryProps.owners = typeof args.options.owners !== 'undefined';
340
366
  telemetryProps.withAppCatalog = args.options.withAppCatalog || false;
367
+ telemetryProps.force = args.options.force || false;
341
368
  if (isCommunicationSite) {
342
369
  telemetryProps.shareByEmailEnabled = args.options.shareByEmailEnabled || false;
343
370
  telemetryProps.siteDesign = args.options.siteDesign;
@@ -357,7 +384,7 @@ _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry =
357
384
  }, _SpoSiteAddCommand_initOptions = function _SpoSiteAddCommand_initOptions() {
358
385
  this.options.unshift({
359
386
  option: '--type [type]',
360
- autocomplete: ['TeamSite', 'CommunicationSite', 'ClassicSite']
387
+ autocomplete: ['TeamSite', 'CommunicationSite', 'ClassicSite', 'BrandCenter']
361
388
  }, {
362
389
  option: '-t, --title <title>'
363
390
  }, {
@@ -399,24 +426,27 @@ _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry =
399
426
  option: '--withAppCatalog'
400
427
  }, {
401
428
  option: '--wait'
429
+ }, {
430
+ option: '--force'
402
431
  });
403
432
  }, _SpoSiteAddCommand_initValidators = function _SpoSiteAddCommand_initValidators() {
404
433
  this.validators.push(async (args) => {
405
434
  const isClassicSite = args.options.type === 'ClassicSite';
406
- const isCommunicationSite = args.options.type === 'CommunicationSite';
435
+ const isCommunicationSite = args.options.type === 'CommunicationSite' || args.options.type === 'BrandCenter';
407
436
  const isTeamSite = isCommunicationSite === false && isClassicSite === false;
408
437
  if (args.options.type) {
409
438
  if (args.options.type !== 'TeamSite' &&
410
439
  args.options.type !== 'CommunicationSite' &&
411
- args.options.type !== 'ClassicSite') {
412
- return `${args.options.type} is not a valid site type. Allowed types are TeamSite, CommunicationSite, and ClassicSite`;
440
+ args.options.type !== 'ClassicSite' &&
441
+ args.options.type !== 'BrandCenter') {
442
+ return `${args.options.type} is not a valid site type. Allowed types are TeamSite, CommunicationSite, ClassicSite, and BrandCenter`;
413
443
  }
414
444
  }
415
445
  if (isTeamSite) {
416
446
  if (!args.options.alias) {
417
447
  return 'Required option alias missing';
418
448
  }
419
- if (args.options.url || args.options.siteDesign || args.options.removeDeletedSite || args.options.wait || args.options.shareByEmailEnabled || args.options.siteDesignId || args.options.timeZone || args.options.resourceQuota || args.options.resourceQuotaWarningLevel || args.options.storageQuota || args.options.storageQuotaWarningLevel || args.options.webTemplate) {
449
+ if (args.options.url || args.options.siteDesign || args.options.removeDeletedSite || args.options.wait || args.options.shareByEmailEnabled || args.options.siteDesignId || args.options.timeZone || args.options.resourceQuota || args.options.resourceQuotaWarningLevel || args.options.storageQuota || args.options.storageQuotaWarningLevel || args.options.webTemplate || args.options.force) {
420
450
  return "Type TeamSite supports only the parameters title, lcid, alias, owners, classification, isPublic, and description";
421
451
  }
422
452
  }
@@ -447,7 +477,7 @@ _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry =
447
477
  return 'Specify siteDesign or siteDesignId but not both';
448
478
  }
449
479
  if (args.options.timeZone || args.options.isPublic || args.options.removeDeletedSite || args.options.wait || args.options.alias || args.options.resourceQuota || args.options.resourceQuotaWarningLevel || args.options.storageQuota || args.options.storageQuotaWarningLevel || args.options.webTemplate) {
450
- return "Type CommunicationSite supports only the parameters url, title, lcid, classification, siteDesign, shareByEmailEnabled, siteDesignId, owners, and description";
480
+ return "Type CommunicationSite supports only the parameters url, title, lcid, classification, siteDesign, shareByEmailEnabled, siteDesignId, owners, description, and force";
451
481
  }
452
482
  }
453
483
  else {
@@ -500,7 +530,7 @@ _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry =
500
530
  if (args.options.storageQuotaWarningLevel > args.options.storageQuota) {
501
531
  return `storageQuotaWarningLevel cannot exceed storageQuota`;
502
532
  }
503
- if (args.options.classification || args.options.shareByEmailEnabled || args.options.siteDesignId || args.options.siteDesignId || args.options.alias || args.options.isPublic) {
533
+ if (args.options.classification || args.options.shareByEmailEnabled || args.options.siteDesignId || args.options.siteDesignId || args.options.alias || args.options.isPublic || args.options.force) {
504
534
  return "Type ClassicSite supports only the parameters url, title, lcid, storageQuota, storageQuotaWarningLevel, resourceQuota, resourceQuotaWarningLevel, webTemplate, owners, and description";
505
535
  }
506
536
  }
@@ -34,7 +34,7 @@ class SpoSiteAppPermissionAddCommand extends GraphCommand {
34
34
  displayName: args.options.appDisplayName
35
35
  };
36
36
  }
37
- let endpoint = "";
37
+ let endpoint;
38
38
  if (args.options.appId) {
39
39
  endpoint = `${this.resource}/v1.0/myorganization/servicePrincipals?$select=appId,displayName&$filter=appId eq '${formatting.encodeQueryParameter(args.options.appId)}'`;
40
40
  }
@@ -340,7 +340,7 @@ class SpoSiteSetCommand extends SpoCommand {
340
340
  }
341
341
  if (args.options.noScriptSite !== undefined) {
342
342
  const noScriptSite = args.options.noScriptSite ? 2 : 1;
343
- payload.push(`<SetProperty Id="${propertyId++}" ObjectPathId="5" Name="DenyAddAndCustomizePages"><Parameter Type="Enum">${noScriptSite}</Parameter></SetProperty>`);
343
+ payload.push(`<SetProperty Id="${propertyId}" ObjectPathId="5" Name="DenyAddAndCustomizePages"><Parameter Type="Enum">${noScriptSite}</Parameter></SetProperty>`);
344
344
  }
345
345
  let response;
346
346
  let sitePropertiesResponse;
@@ -26,7 +26,7 @@ class SpoSearchCommand extends SpoCommand {
26
26
  __classPrivateFieldGet(this, _SpoSearchCommand_instances, "m", _SpoSearchCommand_initValidators).call(this);
27
27
  }
28
28
  async commandAction(logger, args) {
29
- let webUrl = '';
29
+ let webUrl;
30
30
  try {
31
31
  if (args.options.webUrl) {
32
32
  webUrl = args.options.webUrl;