@pnp/cli-microsoft365 6.1.0-beta.54cca1f → 6.1.0-beta.73ca1bf

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 (512) hide show
  1. package/dist/Auth.js +3 -3
  2. package/dist/Command.js +96 -8
  3. package/dist/GlobalOptions.js +2 -0
  4. package/dist/auth/FileTokenStorage.js +3 -3
  5. package/dist/cli/Cli.js +17 -58
  6. package/dist/m365/aad/commands/app/app-add.js +6 -6
  7. package/dist/m365/aad/commands/app/app-get.js +6 -6
  8. package/dist/m365/aad/commands/app/app-remove.js +6 -6
  9. package/dist/m365/aad/commands/app/app-role-add.js +6 -6
  10. package/dist/m365/aad/commands/app/app-role-list.js +6 -6
  11. package/dist/m365/aad/commands/app/app-role-remove.js +6 -6
  12. package/dist/m365/aad/commands/app/app-set.js +6 -6
  13. package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +6 -6
  14. package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +6 -6
  15. package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +6 -6
  16. package/dist/m365/aad/commands/group/group-list.js +6 -6
  17. package/dist/m365/aad/commands/groupsetting/groupsetting-add.js +6 -6
  18. package/dist/m365/aad/commands/groupsetting/groupsetting-get.js +6 -6
  19. package/dist/m365/aad/commands/groupsetting/groupsetting-remove.js +6 -6
  20. package/dist/m365/aad/commands/groupsetting/groupsetting-set.js +6 -6
  21. package/dist/m365/aad/commands/groupsettingtemplate/groupsettingtemplate-get.js +6 -6
  22. package/dist/m365/aad/commands/o365group/o365group-add.js +22 -15
  23. package/dist/m365/aad/commands/o365group/o365group-conversation-list.js +6 -6
  24. package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +6 -6
  25. package/dist/m365/aad/commands/o365group/o365group-get.js +6 -6
  26. package/dist/m365/aad/commands/o365group/o365group-list.js +6 -6
  27. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-clear.js +6 -6
  28. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-list.js +6 -6
  29. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-remove.js +6 -6
  30. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +6 -6
  31. package/dist/m365/aad/commands/o365group/o365group-remove.js +7 -7
  32. package/dist/m365/aad/commands/o365group/o365group-renew.js +6 -6
  33. package/dist/m365/aad/commands/o365group/o365group-set.js +14 -15
  34. package/dist/m365/aad/commands/o365group/o365group-teamify.js +6 -6
  35. package/dist/m365/aad/commands/o365group/o365group-user-add.js +8 -8
  36. package/dist/m365/aad/commands/o365group/o365group-user-list.js +6 -6
  37. package/dist/m365/aad/commands/o365group/o365group-user-remove.js +8 -8
  38. package/dist/m365/aad/commands/o365group/o365group-user-set.js +8 -8
  39. package/dist/m365/aad/commands/oauth2grant/oauth2grant-add.js +6 -6
  40. package/dist/m365/aad/commands/oauth2grant/oauth2grant-list.js +6 -6
  41. package/dist/m365/aad/commands/oauth2grant/oauth2grant-remove.js +5 -5
  42. package/dist/m365/aad/commands/oauth2grant/oauth2grant-set.js +5 -5
  43. package/dist/m365/aad/commands/policy/policy-list.js +6 -6
  44. package/dist/m365/aad/commands/siteclassification/siteclassification-disable.js +6 -6
  45. package/dist/m365/aad/commands/siteclassification/siteclassification-enable.js +6 -6
  46. package/dist/m365/aad/commands/siteclassification/siteclassification-set.js +6 -6
  47. package/dist/m365/aad/commands/sp/sp-add.js +6 -6
  48. package/dist/m365/aad/commands/sp/sp-get.js +6 -6
  49. package/dist/m365/aad/commands/user/user-get.js +6 -6
  50. package/dist/m365/aad/commands/user/user-guest-add.js +6 -6
  51. package/dist/m365/aad/commands/user/user-hibp.js +6 -6
  52. package/dist/m365/aad/commands/user/user-list.js +6 -6
  53. package/dist/m365/aad/commands/user/user-password-validate.js +5 -5
  54. package/dist/m365/aad/commands/user/user-set.js +17 -13
  55. package/dist/m365/aad/commands/user/user-signin-list.js +6 -6
  56. package/dist/m365/adaptivecard/commands/adaptivecard-send.js +6 -6
  57. package/dist/m365/app/commands/app-open.js +6 -6
  58. package/dist/m365/base/AppCommand.js +3 -3
  59. package/dist/m365/booking/commands/business/business-get.js +7 -7
  60. package/dist/m365/cli/commands/cli-consent.js +6 -6
  61. package/dist/m365/cli/commands/cli-issue.js +6 -6
  62. package/dist/m365/cli/commands/completion/completion-pwsh-setup.js +5 -5
  63. package/dist/m365/cli/commands/config/config-get.js +6 -6
  64. package/dist/m365/cli/commands/config/config-reset.js +6 -6
  65. package/dist/m365/cli/commands/config/config-set.js +7 -7
  66. package/dist/m365/commands/login.js +6 -6
  67. package/dist/m365/commands/request.js +8 -8
  68. package/dist/m365/file/commands/convert/convert-pdf.js +6 -6
  69. package/dist/m365/file/commands/file-add.js +6 -6
  70. package/dist/m365/file/commands/file-list.js +8 -8
  71. package/dist/m365/flow/commands/environment/environment-get.js +5 -5
  72. package/dist/m365/flow/commands/flow-disable.js +5 -5
  73. package/dist/m365/flow/commands/flow-enable.js +5 -5
  74. package/dist/m365/flow/commands/flow-export.js +6 -6
  75. package/dist/m365/flow/commands/flow-get.js +5 -5
  76. package/dist/m365/flow/commands/flow-list.js +6 -6
  77. package/dist/m365/flow/commands/flow-remove.js +6 -6
  78. package/dist/m365/flow/commands/run/run-cancel.js +6 -6
  79. package/dist/m365/flow/commands/run/run-get.js +5 -5
  80. package/dist/m365/flow/commands/run/run-list.js +5 -5
  81. package/dist/m365/flow/commands/run/run-resubmit.js +6 -6
  82. package/dist/m365/graph/commands/changelog/changelog-list.js +9 -9
  83. package/dist/m365/graph/commands/schemaextension/schemaextension-add.js +6 -6
  84. package/dist/m365/graph/commands/schemaextension/schemaextension-get.js +5 -5
  85. package/dist/m365/graph/commands/schemaextension/schemaextension-list.js +6 -6
  86. package/dist/m365/graph/commands/schemaextension/schemaextension-remove.js +6 -6
  87. package/dist/m365/graph/commands/schemaextension/schemaextension-set.js +6 -6
  88. package/dist/m365/graph/commands/subscription/subscription-add.js +6 -6
  89. package/dist/m365/onenote/commands/notebook/notebook-list.js +6 -6
  90. package/dist/m365/outlook/commands/mail/mail-send.js +12 -12
  91. package/dist/m365/outlook/commands/message/message-get.js +6 -6
  92. package/dist/m365/outlook/commands/message/message-list.js +6 -6
  93. package/dist/m365/outlook/commands/message/message-move.js +6 -6
  94. package/dist/m365/outlook/commands/room/room-list.js +6 -6
  95. package/dist/m365/pa/cds-project-mutator.js +3 -3
  96. package/dist/m365/pa/commands/app/app-get.js +8 -8
  97. package/dist/m365/pa/commands/app/app-list.js +7 -7
  98. package/dist/m365/pa/commands/app/app-remove.js +6 -6
  99. package/dist/m365/pa/commands/connector/connector-export.js +7 -7
  100. package/dist/m365/pa/commands/connector/connector-list.js +5 -5
  101. package/dist/m365/pa/commands/environment/environment-get.js +5 -5
  102. package/dist/m365/pa/commands/pcf/pcf-init.js +6 -6
  103. package/dist/m365/pa/commands/solution/solution-init.js +6 -6
  104. package/dist/m365/pa/commands/solution/solution-reference-add.js +6 -6
  105. package/dist/m365/planner/commands/bucket/bucket-add.js +8 -8
  106. package/dist/m365/planner/commands/bucket/bucket-get.js +6 -6
  107. package/dist/m365/planner/commands/bucket/bucket-list.js +8 -8
  108. package/dist/m365/planner/commands/bucket/bucket-remove.js +6 -6
  109. package/dist/m365/planner/commands/bucket/bucket-set.js +6 -6
  110. package/dist/m365/planner/commands/plan/plan-add.js +8 -8
  111. package/dist/m365/planner/commands/plan/plan-get.js +8 -8
  112. package/dist/m365/planner/commands/plan/plan-list.js +6 -6
  113. package/dist/m365/planner/commands/plan/plan-remove.js +6 -6
  114. package/dist/m365/planner/commands/plan/plan-set.js +8 -8
  115. package/dist/m365/planner/commands/task/task-add.js +6 -6
  116. package/dist/m365/planner/commands/task/task-checklistitem-add.js +6 -6
  117. package/dist/m365/planner/commands/task/task-checklistitem-list.js +5 -5
  118. package/dist/m365/planner/commands/task/task-checklistitem-remove.js +6 -6
  119. package/dist/m365/planner/commands/task/task-get.js +6 -6
  120. package/dist/m365/planner/commands/task/task-list.js +7 -7
  121. package/dist/m365/planner/commands/task/task-reference-add.js +6 -6
  122. package/dist/m365/planner/commands/task/task-reference-list.js +5 -5
  123. package/dist/m365/planner/commands/task/task-reference-remove.js +6 -6
  124. package/dist/m365/planner/commands/task/task-remove.js +6 -6
  125. package/dist/m365/planner/commands/task/task-set.js +6 -6
  126. package/dist/m365/planner/commands/tenant/tenant-settings-set.js +6 -6
  127. package/dist/m365/pp/commands/card/card-clone.js +6 -6
  128. package/dist/m365/pp/commands/card/card-get.js +8 -8
  129. package/dist/m365/pp/commands/card/card-list.js +6 -6
  130. package/dist/m365/pp/commands/card/card-remove.js +6 -6
  131. package/dist/m365/pp/commands/chatbot/chatbot-get.js +8 -8
  132. package/dist/m365/pp/commands/chatbot/chatbot-list.js +6 -6
  133. package/dist/m365/pp/commands/chatbot/chatbot-remove.js +6 -6
  134. package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +6 -6
  135. package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +6 -6
  136. package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +6 -6
  137. package/dist/m365/pp/commands/dataverse/dataverse-table-row-list.js +6 -6
  138. package/dist/m365/pp/commands/environment/environment-get.js +6 -6
  139. package/dist/m365/pp/commands/environment/environment-list.js +6 -6
  140. package/dist/m365/pp/commands/gateway/gateway-get.js +6 -6
  141. package/dist/m365/pp/commands/managementapp/managementapp-add.js +6 -6
  142. package/dist/m365/pp/commands/solution/solution-get.js +8 -8
  143. package/dist/m365/pp/commands/solution/solution-list.js +6 -6
  144. package/dist/m365/pp/commands/solution/solution-publisher-add.js +6 -6
  145. package/dist/m365/pp/commands/solution/solution-publisher-get.js +8 -8
  146. package/dist/m365/pp/commands/solution/solution-publisher-list.js +6 -6
  147. package/dist/m365/pp/commands/solution/solution-publisher-remove.js +6 -6
  148. package/dist/m365/pp/commands/solution/solution-remove.js +6 -6
  149. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +92 -0
  150. package/dist/m365/purview/commands.js +2 -1
  151. package/dist/m365/search/commands/externalconnection/externalconnection-add.js +6 -6
  152. package/dist/m365/search/commands/externalconnection/externalconnection-get.js +6 -6
  153. package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +6 -6
  154. package/dist/m365/spfx/commands/package/package-generate.js +6 -6
  155. package/dist/m365/spfx/commands/project/project-doctor.js +14 -9
  156. package/dist/m365/spfx/commands/project/project-externalize.js +14 -9
  157. package/dist/m365/spfx/commands/project/project-model/ScssFile.js +3 -3
  158. package/dist/m365/spfx/commands/project/project-model/TsFile.js +3 -3
  159. package/dist/m365/spfx/commands/project/project-rename.js +6 -6
  160. package/dist/m365/spfx/commands/project/project-upgrade.js +14 -9
  161. package/dist/m365/spfx/commands/spfx-doctor.js +9 -9
  162. package/dist/m365/spo/commands/app/app-add.js +6 -6
  163. package/dist/m365/spo/commands/app/app-deploy.js +6 -6
  164. package/dist/m365/spo/commands/app/app-get.js +6 -6
  165. package/dist/m365/spo/commands/app/app-install.js +6 -6
  166. package/dist/m365/spo/commands/app/app-instance-list.js +6 -6
  167. package/dist/m365/spo/commands/app/app-list.js +7 -7
  168. package/dist/m365/spo/commands/app/app-remove.js +6 -6
  169. package/dist/m365/spo/commands/app/app-retract.js +6 -6
  170. package/dist/m365/spo/commands/app/app-teamspackage-download.js +6 -6
  171. package/dist/m365/spo/commands/app/app-uninstall.js +6 -6
  172. package/dist/m365/spo/commands/app/app-upgrade.js +6 -6
  173. package/dist/m365/spo/commands/apppage/apppage-add.js +6 -6
  174. package/dist/m365/spo/commands/apppage/apppage-set.js +6 -6
  175. package/dist/m365/spo/commands/cdn/cdn-get.js +6 -6
  176. package/dist/m365/spo/commands/cdn/cdn-origin-add.js +6 -6
  177. package/dist/m365/spo/commands/cdn/cdn-origin-list.js +6 -6
  178. package/dist/m365/spo/commands/cdn/cdn-origin-remove.js +6 -6
  179. package/dist/m365/spo/commands/cdn/cdn-policy-list.js +6 -6
  180. package/dist/m365/spo/commands/cdn/cdn-policy-set.js +6 -6
  181. package/dist/m365/spo/commands/cdn/cdn-set.js +12 -13
  182. package/dist/m365/spo/commands/contenttype/contenttype-add.js +6 -6
  183. package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +6 -6
  184. package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +15 -24
  185. package/dist/m365/spo/commands/contenttype/contenttype-get.js +6 -6
  186. package/dist/m365/spo/commands/contenttype/contenttype-list.js +7 -7
  187. package/dist/m365/spo/commands/contenttype/contenttype-remove.js +6 -6
  188. package/dist/m365/spo/commands/contenttype/contenttype-set.js +6 -6
  189. package/dist/m365/spo/commands/customaction/customaction-add.js +6 -6
  190. package/dist/m365/spo/commands/customaction/customaction-clear.js +6 -6
  191. package/dist/m365/spo/commands/customaction/customaction-get.js +6 -6
  192. package/dist/m365/spo/commands/customaction/customaction-list.js +7 -7
  193. package/dist/m365/spo/commands/customaction/customaction-remove.js +6 -6
  194. package/dist/m365/spo/commands/customaction/customaction-set.js +7 -7
  195. package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +6 -6
  196. package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +7 -7
  197. package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +6 -6
  198. package/dist/m365/spo/commands/externaluser/externaluser-list.js +6 -6
  199. package/dist/m365/spo/commands/feature/feature-disable.js +6 -6
  200. package/dist/m365/spo/commands/feature/feature-enable.js +6 -6
  201. package/dist/m365/spo/commands/feature/feature-list.js +6 -6
  202. package/dist/m365/spo/commands/field/field-add.js +6 -6
  203. package/dist/m365/spo/commands/field/field-get.js +6 -6
  204. package/dist/m365/spo/commands/field/field-list.js +7 -7
  205. package/dist/m365/spo/commands/field/field-remove.js +6 -6
  206. package/dist/m365/spo/commands/field/field-set.js +6 -6
  207. package/dist/m365/spo/commands/file/file-add.js +9 -9
  208. package/dist/m365/spo/commands/file/file-checkin.js +6 -6
  209. package/dist/m365/spo/commands/file/file-checkout.js +6 -6
  210. package/dist/m365/spo/commands/file/file-copy.js +6 -6
  211. package/dist/m365/spo/commands/file/file-get.js +6 -6
  212. package/dist/m365/spo/commands/file/file-list.js +6 -6
  213. package/dist/m365/spo/commands/file/file-move.js +6 -6
  214. package/dist/m365/spo/commands/file/file-remove.js +6 -6
  215. package/dist/m365/spo/commands/file/file-rename.js +6 -6
  216. package/dist/m365/spo/commands/file/file-roleassignment-add.js +6 -6
  217. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +6 -6
  218. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +6 -6
  219. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +6 -6
  220. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +6 -6
  221. package/dist/m365/spo/commands/file/file-version-clear.js +6 -6
  222. package/dist/m365/spo/commands/file/file-version-get.js +6 -6
  223. package/dist/m365/spo/commands/file/file-version-list.js +8 -8
  224. package/dist/m365/spo/commands/file/file-version-remove.js +6 -6
  225. package/dist/m365/spo/commands/file/file-version-restore.js +6 -6
  226. package/dist/m365/spo/commands/folder/folder-add.js +6 -6
  227. package/dist/m365/spo/commands/folder/folder-copy.js +6 -6
  228. package/dist/m365/spo/commands/folder/folder-get.js +6 -6
  229. package/dist/m365/spo/commands/folder/folder-list.js +7 -7
  230. package/dist/m365/spo/commands/folder/folder-move.js +6 -6
  231. package/dist/m365/spo/commands/folder/folder-remove.js +6 -6
  232. package/dist/m365/spo/commands/folder/folder-rename.js +6 -6
  233. package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +6 -6
  234. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +6 -6
  235. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +6 -6
  236. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +6 -6
  237. package/dist/m365/spo/commands/group/group-add.js +22 -24
  238. package/dist/m365/spo/commands/group/group-get.js +6 -6
  239. package/dist/m365/spo/commands/group/group-list.js +7 -7
  240. package/dist/m365/spo/commands/group/group-member-add.js +8 -8
  241. package/dist/m365/spo/commands/group/group-member-list.js +8 -8
  242. package/dist/m365/spo/commands/group/group-member-remove.js +6 -6
  243. package/dist/m365/spo/commands/group/group-remove.js +6 -6
  244. package/dist/m365/spo/commands/group/group-set.js +22 -24
  245. package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-set.js +12 -17
  246. package/dist/m365/spo/commands/homesite/homesite-remove.js +6 -6
  247. package/dist/m365/spo/commands/homesite/homesite-set.js +6 -6
  248. package/dist/m365/spo/commands/hubsite/hubsite-connect.js +6 -6
  249. package/dist/m365/spo/commands/hubsite/hubsite-data-get.js +6 -6
  250. package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +6 -6
  251. package/dist/m365/spo/commands/hubsite/hubsite-get.js +6 -6
  252. package/dist/m365/spo/commands/hubsite/hubsite-list.js +8 -8
  253. package/dist/m365/spo/commands/hubsite/hubsite-register.js +6 -6
  254. package/dist/m365/spo/commands/hubsite/hubsite-rights-grant.js +6 -6
  255. package/dist/m365/spo/commands/hubsite/hubsite-rights-revoke.js +6 -6
  256. package/dist/m365/spo/commands/hubsite/hubsite-set.js +6 -6
  257. package/dist/m365/spo/commands/hubsite/hubsite-unregister.js +6 -6
  258. package/dist/m365/spo/commands/knowledgehub/knowledgehub-remove.js +6 -6
  259. package/dist/m365/spo/commands/knowledgehub/knowledgehub-set.js +6 -6
  260. package/dist/m365/spo/commands/list/list-add.js +60 -73
  261. package/dist/m365/spo/commands/list/list-contenttype-add.js +6 -6
  262. package/dist/m365/spo/commands/list/list-contenttype-default-set.js +6 -6
  263. package/dist/m365/spo/commands/list/list-contenttype-list.js +8 -8
  264. package/dist/m365/spo/commands/list/list-contenttype-remove.js +6 -6
  265. package/dist/m365/spo/commands/list/list-get.js +6 -6
  266. package/dist/m365/spo/commands/list/list-label-get.js +6 -6
  267. package/dist/m365/spo/commands/list/list-label-set.js +6 -6
  268. package/dist/m365/spo/commands/list/list-list.js +6 -6
  269. package/dist/m365/spo/commands/list/list-remove.js +6 -6
  270. package/dist/m365/spo/commands/list/list-roleassignment-add.js +6 -6
  271. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +6 -6
  272. package/dist/m365/spo/commands/list/list-roleinheritance-break.js +6 -6
  273. package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +6 -6
  274. package/dist/m365/spo/commands/list/list-set.js +59 -71
  275. package/dist/m365/spo/commands/list/list-sitescript-get.js +6 -6
  276. package/dist/m365/spo/commands/list/list-view-add.js +6 -6
  277. package/dist/m365/spo/commands/list/list-view-field-add.js +6 -6
  278. package/dist/m365/spo/commands/list/list-view-field-remove.js +6 -6
  279. package/dist/m365/spo/commands/list/list-view-field-set.js +6 -6
  280. package/dist/m365/spo/commands/list/list-view-get.js +6 -6
  281. package/dist/m365/spo/commands/list/list-view-list.js +8 -8
  282. package/dist/m365/spo/commands/list/list-view-remove.js +6 -6
  283. package/dist/m365/spo/commands/list/list-view-set.js +8 -8
  284. package/dist/m365/spo/commands/list/list-webhook-add.js +6 -6
  285. package/dist/m365/spo/commands/list/list-webhook-get.js +6 -6
  286. package/dist/m365/spo/commands/list/list-webhook-list.js +8 -8
  287. package/dist/m365/spo/commands/list/list-webhook-remove.js +6 -6
  288. package/dist/m365/spo/commands/list/list-webhook-set.js +6 -6
  289. package/dist/m365/spo/commands/listitem/listitem-add.js +9 -9
  290. package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +6 -6
  291. package/dist/m365/spo/commands/listitem/listitem-batch-add.js +26 -19
  292. package/dist/m365/spo/commands/listitem/listitem-get.js +9 -9
  293. package/dist/m365/spo/commands/listitem/listitem-isrecord.js +6 -6
  294. package/dist/m365/spo/commands/listitem/listitem-list.js +6 -6
  295. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +6 -6
  296. package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +6 -6
  297. package/dist/m365/spo/commands/listitem/listitem-remove.js +6 -6
  298. package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +6 -6
  299. package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +6 -6
  300. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +6 -6
  301. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +6 -6
  302. package/dist/m365/spo/commands/listitem/listitem-set.js +9 -9
  303. package/dist/m365/spo/commands/mail/mail-send.js +6 -6
  304. package/dist/m365/spo/commands/navigation/navigation-node-add.js +6 -6
  305. package/dist/m365/spo/commands/navigation/navigation-node-list.js +6 -6
  306. package/dist/m365/spo/commands/navigation/navigation-node-remove.js +6 -6
  307. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +6 -6
  308. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-remove.js +5 -5
  309. package/dist/m365/spo/commands/orgnewssite/orgnewssite-remove.js +6 -6
  310. package/dist/m365/spo/commands/orgnewssite/orgnewssite-set.js +6 -6
  311. package/dist/m365/spo/commands/page/page-add.js +6 -6
  312. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +6 -6
  313. package/dist/m365/spo/commands/page/page-column-get.js +6 -6
  314. package/dist/m365/spo/commands/page/page-column-list.js +6 -6
  315. package/dist/m365/spo/commands/page/page-control-get.js +6 -6
  316. package/dist/m365/spo/commands/page/page-control-list.js +6 -6
  317. package/dist/m365/spo/commands/page/page-control-set.js +6 -6
  318. package/dist/m365/spo/commands/page/page-copy.js +7 -7
  319. package/dist/m365/spo/commands/page/page-get.js +6 -6
  320. package/dist/m365/spo/commands/page/page-header-set.js +6 -6
  321. package/dist/m365/spo/commands/page/page-list.js +6 -6
  322. package/dist/m365/spo/commands/page/page-remove.js +6 -6
  323. package/dist/m365/spo/commands/page/page-section-add.js +6 -6
  324. package/dist/m365/spo/commands/page/page-section-get.js +6 -6
  325. package/dist/m365/spo/commands/page/page-section-list.js +6 -6
  326. package/dist/m365/spo/commands/page/page-set.js +11 -13
  327. package/dist/m365/spo/commands/page/page-template-list.js +6 -6
  328. package/dist/m365/spo/commands/page/page-text-add.js +6 -6
  329. package/dist/m365/spo/commands/propertybag/propertybag-get.js +6 -6
  330. package/dist/m365/spo/commands/propertybag/propertybag-list.js +6 -6
  331. package/dist/m365/spo/commands/propertybag/propertybag-remove.js +6 -6
  332. package/dist/m365/spo/commands/propertybag/propertybag-set.js +6 -6
  333. package/dist/m365/spo/commands/roledefinition/roledefinition-add.js +7 -7
  334. package/dist/m365/spo/commands/roledefinition/roledefinition-get.js +6 -6
  335. package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +6 -6
  336. package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +6 -6
  337. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-add.js +5 -5
  338. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-revoke.js +5 -5
  339. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-approve.js +76 -27
  340. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-deny.js +6 -6
  341. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-set.js +14 -22
  342. package/dist/m365/spo/commands/site/site-add.js +7 -7
  343. package/dist/m365/spo/commands/site/site-appcatalog-add.js +6 -6
  344. package/dist/m365/spo/commands/site/site-appcatalog-remove.js +6 -6
  345. package/dist/m365/spo/commands/site/site-apppermission-add.js +6 -6
  346. package/dist/m365/spo/commands/site/site-apppermission-get.js +6 -6
  347. package/dist/m365/spo/commands/site/site-apppermission-list.js +6 -6
  348. package/dist/m365/spo/commands/site/site-apppermission-remove.js +6 -6
  349. package/dist/m365/spo/commands/site/site-apppermission-set.js +6 -6
  350. package/dist/m365/spo/commands/site/site-chrome-set.js +19 -13
  351. package/dist/m365/spo/commands/site/site-commsite-enable.js +6 -6
  352. package/dist/m365/spo/commands/site/site-ensure.js +14 -10
  353. package/dist/m365/spo/commands/site/site-get.js +6 -6
  354. package/dist/m365/spo/commands/site/site-groupify.js +6 -6
  355. package/dist/m365/spo/commands/site/site-hubsite-connect.js +6 -6
  356. package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +6 -6
  357. package/dist/m365/spo/commands/site/site-hubsite-theme-sync.js +6 -6
  358. package/dist/m365/spo/commands/site/site-inplacerecordsmanagement-set.js +14 -14
  359. package/dist/m365/spo/commands/site/site-list.js +7 -7
  360. package/dist/m365/spo/commands/site/site-recyclebinitem-list.js +7 -7
  361. package/dist/m365/spo/commands/site/site-recyclebinitem-restore.js +6 -6
  362. package/dist/m365/spo/commands/site/site-remove.js +6 -6
  363. package/dist/m365/spo/commands/site/site-rename.js +6 -6
  364. package/dist/m365/spo/commands/site/site-set.js +23 -37
  365. package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +6 -6
  366. package/dist/m365/spo/commands/sitedesign/sitedesign-apply.js +6 -6
  367. package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +6 -6
  368. package/dist/m365/spo/commands/sitedesign/sitedesign-remove.js +6 -6
  369. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-grant.js +6 -6
  370. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-list.js +6 -6
  371. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-revoke.js +6 -6
  372. package/dist/m365/spo/commands/sitedesign/sitedesign-run-list.js +7 -7
  373. package/dist/m365/spo/commands/sitedesign/sitedesign-run-status-get.js +6 -6
  374. package/dist/m365/spo/commands/sitedesign/sitedesign-set.js +14 -15
  375. package/dist/m365/spo/commands/sitedesign/sitedesign-task-get.js +6 -6
  376. package/dist/m365/spo/commands/sitedesign/sitedesign-task-list.js +6 -6
  377. package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +6 -6
  378. package/dist/m365/spo/commands/sitescript/sitescript-add.js +6 -6
  379. package/dist/m365/spo/commands/sitescript/sitescript-get.js +6 -6
  380. package/dist/m365/spo/commands/sitescript/sitescript-remove.js +6 -6
  381. package/dist/m365/spo/commands/sitescript/sitescript-set.js +6 -6
  382. package/dist/m365/spo/commands/spo-search.js +6 -6
  383. package/dist/m365/spo/commands/spo-set.js +6 -6
  384. package/dist/m365/spo/commands/storageentity/storageentity-get.js +5 -5
  385. package/dist/m365/spo/commands/storageentity/storageentity-list.js +6 -6
  386. package/dist/m365/spo/commands/storageentity/storageentity-remove.js +6 -6
  387. package/dist/m365/spo/commands/storageentity/storageentity-set.js +6 -6
  388. package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +6 -6
  389. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +6 -6
  390. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +6 -6
  391. package/dist/m365/spo/commands/tenant/tenant-settings-set.js +73 -63
  392. package/dist/m365/spo/commands/term/term-add.js +6 -6
  393. package/dist/m365/spo/commands/term/term-get.js +6 -6
  394. package/dist/m365/spo/commands/term/term-group-add.js +6 -6
  395. package/dist/m365/spo/commands/term/term-group-get.js +6 -6
  396. package/dist/m365/spo/commands/term/term-list.js +8 -8
  397. package/dist/m365/spo/commands/term/term-set-add.js +6 -6
  398. package/dist/m365/spo/commands/term/term-set-get.js +6 -6
  399. package/dist/m365/spo/commands/term/term-set-list.js +6 -6
  400. package/dist/m365/spo/commands/theme/theme-apply.js +6 -6
  401. package/dist/m365/spo/commands/theme/theme-get.js +5 -5
  402. package/dist/m365/spo/commands/theme/theme-remove.js +6 -6
  403. package/dist/m365/spo/commands/theme/theme-set.js +6 -6
  404. package/dist/m365/spo/commands/user/user-get.js +6 -6
  405. package/dist/m365/spo/commands/user/user-list.js +6 -6
  406. package/dist/m365/spo/commands/user/user-remove.js +6 -6
  407. package/dist/m365/spo/commands/userprofile/userprofile-get.js +6 -6
  408. package/dist/m365/spo/commands/userprofile/userprofile-set.js +5 -5
  409. package/dist/m365/spo/commands/web/web-add.js +6 -6
  410. package/dist/m365/spo/commands/web/web-clientsidewebpart-list.js +6 -6
  411. package/dist/m365/spo/commands/web/web-get.js +6 -6
  412. package/dist/m365/spo/commands/web/web-installedlanguage-list.js +6 -6
  413. package/dist/m365/spo/commands/web/web-list.js +6 -6
  414. package/dist/m365/spo/commands/web/web-reindex.js +6 -6
  415. package/dist/m365/spo/commands/web/web-remove.js +6 -6
  416. package/dist/m365/spo/commands/web/web-roleassignment-add.js +6 -6
  417. package/dist/m365/spo/commands/web/web-roleassignment-remove.js +6 -6
  418. package/dist/m365/spo/commands/web/web-roleinheritance-break.js +6 -6
  419. package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +6 -6
  420. package/dist/m365/spo/commands/web/web-set.js +18 -31
  421. package/dist/m365/teams/commands/app/app-install.js +6 -6
  422. package/dist/m365/teams/commands/app/app-list.js +7 -7
  423. package/dist/m365/teams/commands/app/app-publish.js +6 -6
  424. package/dist/m365/teams/commands/app/app-remove.js +6 -6
  425. package/dist/m365/teams/commands/app/app-uninstall.js +6 -6
  426. package/dist/m365/teams/commands/app/app-update.js +6 -6
  427. package/dist/m365/teams/commands/cache/cache-remove.js +6 -6
  428. package/dist/m365/teams/commands/channel/channel-add.js +6 -6
  429. package/dist/m365/teams/commands/channel/channel-get.js +6 -6
  430. package/dist/m365/teams/commands/channel/channel-list.js +8 -8
  431. package/dist/m365/teams/commands/channel/channel-member-add.js +6 -6
  432. package/dist/m365/teams/commands/channel/channel-member-list.js +9 -9
  433. package/dist/m365/teams/commands/channel/channel-member-remove.js +6 -6
  434. package/dist/m365/teams/commands/channel/channel-member-set.js +6 -6
  435. package/dist/m365/teams/commands/channel/channel-remove.js +6 -6
  436. package/dist/m365/teams/commands/channel/channel-set.js +6 -6
  437. package/dist/m365/teams/commands/chat/chat-get.js +6 -6
  438. package/dist/m365/teams/commands/chat/chat-list.js +7 -7
  439. package/dist/m365/teams/commands/chat/chat-member-list.js +6 -6
  440. package/dist/m365/teams/commands/chat/chat-message-list.js +6 -6
  441. package/dist/m365/teams/commands/chat/chat-message-send.js +6 -6
  442. package/dist/m365/teams/commands/funsettings/funsettings-list.js +6 -6
  443. package/dist/m365/teams/commands/funsettings/funsettings-set.js +18 -25
  444. package/dist/m365/teams/commands/guestsettings/guestsettings-list.js +6 -6
  445. package/dist/m365/teams/commands/guestsettings/guestsettings-set.js +18 -26
  446. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +7 -7
  447. package/dist/m365/teams/commands/meeting/meeting-get.js +6 -6
  448. package/dist/m365/teams/commands/meeting/meeting-list.js +7 -7
  449. package/dist/m365/teams/commands/membersettings/membersettings-list.js +6 -6
  450. package/dist/m365/teams/commands/membersettings/membersettings-set.js +24 -29
  451. package/dist/m365/teams/commands/message/message-get.js +6 -6
  452. package/dist/m365/teams/commands/message/message-list.js +7 -7
  453. package/dist/m365/teams/commands/message/message-reply-list.js +6 -6
  454. package/dist/m365/teams/commands/messagingsettings/messagingsettings-list.js +6 -6
  455. package/dist/m365/teams/commands/messagingsettings/messagingsettings-set.js +26 -29
  456. package/dist/m365/teams/commands/report/report-directroutingcalls.js +7 -7
  457. package/dist/m365/teams/commands/report/report-pstncalls.js +7 -7
  458. package/dist/m365/teams/commands/tab/tab-add.js +7 -7
  459. package/dist/m365/teams/commands/tab/tab-get.js +6 -6
  460. package/dist/m365/teams/commands/tab/tab-list.js +6 -6
  461. package/dist/m365/teams/commands/tab/tab-remove.js +6 -6
  462. package/dist/m365/teams/commands/team/team-add.js +6 -6
  463. package/dist/m365/teams/commands/team/team-app-list.js +8 -8
  464. package/dist/m365/teams/commands/team/team-archive.js +6 -6
  465. package/dist/m365/teams/commands/team/team-clone.js +6 -6
  466. package/dist/m365/teams/commands/team/team-get.js +6 -6
  467. package/dist/m365/teams/commands/team/team-list.js +6 -6
  468. package/dist/m365/teams/commands/team/team-remove.js +6 -6
  469. package/dist/m365/teams/commands/team/team-set.js +6 -6
  470. package/dist/m365/teams/commands/team/team-unarchive.js +6 -6
  471. package/dist/m365/teams/commands/user/user-app-add.js +6 -6
  472. package/dist/m365/teams/commands/user/user-app-list.js +6 -6
  473. package/dist/m365/teams/commands/user/user-app-remove.js +6 -6
  474. package/dist/m365/teams/commands/user/user-list.js +6 -6
  475. package/dist/m365/tenant/commands/id/id-get.js +6 -6
  476. package/dist/m365/tenant/commands/security/security-alerts-list.js +6 -6
  477. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +6 -6
  478. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-list.js +6 -6
  479. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-get.js +5 -5
  480. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-list.js +5 -5
  481. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-get.js +6 -6
  482. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-list.js +6 -6
  483. package/dist/m365/todo/commands/list/list-add.js +5 -5
  484. package/dist/m365/todo/commands/list/list-get.js +7 -7
  485. package/dist/m365/todo/commands/list/list-remove.js +6 -6
  486. package/dist/m365/todo/commands/list/list-set.js +6 -6
  487. package/dist/m365/todo/commands/task/task-add.js +6 -6
  488. package/dist/m365/todo/commands/task/task-get.js +7 -7
  489. package/dist/m365/todo/commands/task/task-list.js +7 -7
  490. package/dist/m365/todo/commands/task/task-remove.js +6 -6
  491. package/dist/m365/todo/commands/task/task-set.js +6 -6
  492. package/dist/m365/util/commands/accesstoken/accesstoken-get.js +6 -6
  493. package/dist/m365/viva/commands/connections/connections-app-create.js +6 -6
  494. package/dist/m365/yammer/commands/group/group-list.js +6 -6
  495. package/dist/m365/yammer/commands/group/group-user-add.js +6 -6
  496. package/dist/m365/yammer/commands/group/group-user-remove.js +6 -6
  497. package/dist/m365/yammer/commands/message/message-add.js +7 -7
  498. package/dist/m365/yammer/commands/message/message-get.js +6 -6
  499. package/dist/m365/yammer/commands/message/message-like-set.js +15 -16
  500. package/dist/m365/yammer/commands/message/message-list.js +8 -8
  501. package/dist/m365/yammer/commands/message/message-remove.js +6 -6
  502. package/dist/m365/yammer/commands/network/network-list.js +6 -6
  503. package/dist/m365/yammer/commands/user/user-get.js +7 -7
  504. package/dist/m365/yammer/commands/user/user-list.js +8 -8
  505. package/dist/m365/yammer/commands/yammer-search.js +6 -6
  506. package/dist/request.js +38 -38
  507. package/dist/utils/md.js +10 -1
  508. package/docs/docs/cmd/_global.md +1 -1
  509. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +36 -0
  510. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +105 -2
  511. package/npm-shrinkwrap.json +246 -186
  512. package/package.json +11 -11
@@ -22,13 +22,6 @@ const validation_1 = require("../../../../utils/validation");
22
22
  const SpoCommand_1 = require("../../../base/SpoCommand");
23
23
  const commands_1 = require("../../commands");
24
24
  class SpoEventreceiverListCommand extends SpoCommand_1.default {
25
- constructor() {
26
- super();
27
- _SpoEventreceiverListCommand_instances.add(this);
28
- __classPrivateFieldGet(this, _SpoEventreceiverListCommand_instances, "m", _SpoEventreceiverListCommand_initTelemetry).call(this);
29
- __classPrivateFieldGet(this, _SpoEventreceiverListCommand_instances, "m", _SpoEventreceiverListCommand_initOptions).call(this);
30
- __classPrivateFieldGet(this, _SpoEventreceiverListCommand_instances, "m", _SpoEventreceiverListCommand_initValidators).call(this);
31
- }
32
25
  get name() {
33
26
  return commands_1.default.EVENTRECEIVER_LIST;
34
27
  }
@@ -38,6 +31,13 @@ class SpoEventreceiverListCommand extends SpoCommand_1.default {
38
31
  defaultProperties() {
39
32
  return ['ReceiverId', 'ReceiverName'];
40
33
  }
34
+ constructor() {
35
+ super();
36
+ _SpoEventreceiverListCommand_instances.add(this);
37
+ __classPrivateFieldGet(this, _SpoEventreceiverListCommand_instances, "m", _SpoEventreceiverListCommand_initTelemetry).call(this);
38
+ __classPrivateFieldGet(this, _SpoEventreceiverListCommand_instances, "m", _SpoEventreceiverListCommand_initOptions).call(this);
39
+ __classPrivateFieldGet(this, _SpoEventreceiverListCommand_instances, "m", _SpoEventreceiverListCommand_initValidators).call(this);
40
+ }
41
41
  commandAction(logger, args) {
42
42
  return __awaiter(this, void 0, void 0, function* () {
43
43
  let requestUrl = `${args.options.webUrl}/_api/`;
@@ -24,6 +24,12 @@ const commands_1 = require("../../commands");
24
24
  const request_1 = require("../../../../request");
25
25
  const getCommand = require('./eventreceiver-get');
26
26
  class SpoEventreceiverRemoveCommand extends SpoCommand_1.default {
27
+ get name() {
28
+ return commands_1.default.EVENTRECEIVER_REMOVE;
29
+ }
30
+ get description() {
31
+ return 'Removes event receivers for the specified web, site, or list.';
32
+ }
27
33
  constructor() {
28
34
  super();
29
35
  _SpoEventreceiverRemoveCommand_instances.add(this);
@@ -32,12 +38,6 @@ class SpoEventreceiverRemoveCommand extends SpoCommand_1.default {
32
38
  __classPrivateFieldGet(this, _SpoEventreceiverRemoveCommand_instances, "m", _SpoEventreceiverRemoveCommand_initValidators).call(this);
33
39
  __classPrivateFieldGet(this, _SpoEventreceiverRemoveCommand_instances, "m", _SpoEventreceiverRemoveCommand_initOptionSets).call(this);
34
40
  }
35
- get name() {
36
- return commands_1.default.EVENTRECEIVER_REMOVE;
37
- }
38
- get description() {
39
- return 'Removes event receivers for the specified web, site, or list.';
40
- }
41
41
  commandAction(logger, args) {
42
42
  return __awaiter(this, void 0, void 0, function* () {
43
43
  if (args.options.confirm) {
@@ -23,6 +23,12 @@ const validation_1 = require("../../../../utils/validation");
23
23
  const SpoCommand_1 = require("../../../base/SpoCommand");
24
24
  const commands_1 = require("../../commands");
25
25
  class SpoExternalUserListCommand extends SpoCommand_1.default {
26
+ get name() {
27
+ return commands_1.default.EXTERNALUSER_LIST;
28
+ }
29
+ get description() {
30
+ return 'Lists external users in the tenant';
31
+ }
26
32
  constructor() {
27
33
  super();
28
34
  _SpoExternalUserListCommand_instances.add(this);
@@ -30,12 +36,6 @@ class SpoExternalUserListCommand extends SpoCommand_1.default {
30
36
  __classPrivateFieldGet(this, _SpoExternalUserListCommand_instances, "m", _SpoExternalUserListCommand_initOptions).call(this);
31
37
  __classPrivateFieldGet(this, _SpoExternalUserListCommand_instances, "m", _SpoExternalUserListCommand_initValidators).call(this);
32
38
  }
33
- get name() {
34
- return commands_1.default.EXTERNALUSER_LIST;
35
- }
36
- get description() {
37
- return 'Lists external users in the tenant';
38
- }
39
39
  commandAction(logger, args) {
40
40
  return __awaiter(this, void 0, void 0, function* () {
41
41
  try {
@@ -19,6 +19,12 @@ const request_1 = require("../../../../request");
19
19
  const SpoCommand_1 = require("../../../base/SpoCommand");
20
20
  const commands_1 = require("../../commands");
21
21
  class SpoFeatureDisableCommand extends SpoCommand_1.default {
22
+ get name() {
23
+ return commands_1.default.FEATURE_DISABLE;
24
+ }
25
+ get description() {
26
+ return 'Disables feature for the specified site or web';
27
+ }
22
28
  constructor() {
23
29
  super();
24
30
  _SpoFeatureDisableCommand_instances.add(this);
@@ -27,12 +33,6 @@ class SpoFeatureDisableCommand extends SpoCommand_1.default {
27
33
  __classPrivateFieldGet(this, _SpoFeatureDisableCommand_instances, "m", _SpoFeatureDisableCommand_initValidators).call(this);
28
34
  __classPrivateFieldGet(this, _SpoFeatureDisableCommand_instances, "m", _SpoFeatureDisableCommand_initTypes).call(this);
29
35
  }
30
- get name() {
31
- return commands_1.default.FEATURE_DISABLE;
32
- }
33
- get description() {
34
- return 'Disables feature for the specified site or web';
35
- }
36
36
  commandAction(logger, args) {
37
37
  return __awaiter(this, void 0, void 0, function* () {
38
38
  let scope = args.options.scope;
@@ -20,6 +20,12 @@ const validation_1 = require("../../../../utils/validation");
20
20
  const SpoCommand_1 = require("../../../base/SpoCommand");
21
21
  const commands_1 = require("../../commands");
22
22
  class SpoFeatureEnableCommand extends SpoCommand_1.default {
23
+ get name() {
24
+ return commands_1.default.FEATURE_ENABLE;
25
+ }
26
+ get description() {
27
+ return 'Enables feature for the specified site or web';
28
+ }
23
29
  constructor() {
24
30
  super();
25
31
  _SpoFeatureEnableCommand_instances.add(this);
@@ -28,12 +34,6 @@ class SpoFeatureEnableCommand extends SpoCommand_1.default {
28
34
  __classPrivateFieldGet(this, _SpoFeatureEnableCommand_instances, "m", _SpoFeatureEnableCommand_initValidators).call(this);
29
35
  __classPrivateFieldGet(this, _SpoFeatureEnableCommand_instances, "m", _SpoFeatureEnableCommand_initTypes).call(this);
30
36
  }
31
- get name() {
32
- return commands_1.default.FEATURE_ENABLE;
33
- }
34
- get description() {
35
- return 'Enables feature for the specified site or web';
36
- }
37
37
  commandAction(logger, args) {
38
38
  return __awaiter(this, void 0, void 0, function* () {
39
39
  let scope = args.options.scope;
@@ -20,6 +20,12 @@ const validation_1 = require("../../../../utils/validation");
20
20
  const SpoCommand_1 = require("../../../base/SpoCommand");
21
21
  const commands_1 = require("../../commands");
22
22
  class SpoFeatureListCommand extends SpoCommand_1.default {
23
+ get name() {
24
+ return commands_1.default.FEATURE_LIST;
25
+ }
26
+ get description() {
27
+ return 'Lists Features activated in the specified site or site collection';
28
+ }
23
29
  constructor() {
24
30
  super();
25
31
  _SpoFeatureListCommand_instances.add(this);
@@ -27,12 +33,6 @@ class SpoFeatureListCommand extends SpoCommand_1.default {
27
33
  __classPrivateFieldGet(this, _SpoFeatureListCommand_instances, "m", _SpoFeatureListCommand_initOptions).call(this);
28
34
  __classPrivateFieldGet(this, _SpoFeatureListCommand_instances, "m", _SpoFeatureListCommand_initValidators).call(this);
29
35
  }
30
- get name() {
31
- return commands_1.default.FEATURE_LIST;
32
- }
33
- get description() {
34
- return 'Lists Features activated in the specified site or site collection';
35
- }
36
36
  commandAction(logger, args) {
37
37
  return __awaiter(this, void 0, void 0, function* () {
38
38
  const scope = (args.options.scope) ? args.options.scope : 'Web';
@@ -23,6 +23,12 @@ const validation_1 = require("../../../../utils/validation");
23
23
  const SpoCommand_1 = require("../../../base/SpoCommand");
24
24
  const commands_1 = require("../../commands");
25
25
  class SpoFieldAddCommand extends SpoCommand_1.default {
26
+ get name() {
27
+ return commands_1.default.FIELD_ADD;
28
+ }
29
+ get description() {
30
+ return 'Adds a new list or site column using the CAML field definition';
31
+ }
26
32
  constructor() {
27
33
  super();
28
34
  _SpoFieldAddCommand_instances.add(this);
@@ -30,12 +36,6 @@ class SpoFieldAddCommand extends SpoCommand_1.default {
30
36
  __classPrivateFieldGet(this, _SpoFieldAddCommand_instances, "m", _SpoFieldAddCommand_initOptions).call(this);
31
37
  __classPrivateFieldGet(this, _SpoFieldAddCommand_instances, "m", _SpoFieldAddCommand_initValidators).call(this);
32
38
  }
33
- get name() {
34
- return commands_1.default.FIELD_ADD;
35
- }
36
- get description() {
37
- return 'Adds a new list or site column using the CAML field definition';
38
- }
39
39
  commandAction(logger, args) {
40
40
  return __awaiter(this, void 0, void 0, function* () {
41
41
  try {
@@ -22,6 +22,12 @@ const validation_1 = require("../../../../utils/validation");
22
22
  const SpoCommand_1 = require("../../../base/SpoCommand");
23
23
  const commands_1 = require("../../commands");
24
24
  class SpoFieldGetCommand extends SpoCommand_1.default {
25
+ get name() {
26
+ return commands_1.default.FIELD_GET;
27
+ }
28
+ get description() {
29
+ return 'Retrieves information about the specified list- or site column';
30
+ }
25
31
  constructor() {
26
32
  super();
27
33
  _SpoFieldGetCommand_instances.add(this);
@@ -30,12 +36,6 @@ class SpoFieldGetCommand extends SpoCommand_1.default {
30
36
  __classPrivateFieldGet(this, _SpoFieldGetCommand_instances, "m", _SpoFieldGetCommand_initValidators).call(this);
31
37
  __classPrivateFieldGet(this, _SpoFieldGetCommand_instances, "m", _SpoFieldGetCommand_initOptionSets).call(this);
32
38
  }
33
- get name() {
34
- return commands_1.default.FIELD_GET;
35
- }
36
- get description() {
37
- return 'Retrieves information about the specified list- or site column';
38
- }
39
39
  commandAction(logger, args) {
40
40
  return __awaiter(this, void 0, void 0, function* () {
41
41
  let listRestUrl = '';
@@ -22,13 +22,6 @@ const validation_1 = require("../../../../utils/validation");
22
22
  const SpoCommand_1 = require("../../../base/SpoCommand");
23
23
  const commands_1 = require("../../commands");
24
24
  class SpoFieldListCommand extends SpoCommand_1.default {
25
- constructor() {
26
- super();
27
- _SpoFieldListCommand_instances.add(this);
28
- __classPrivateFieldGet(this, _SpoFieldListCommand_instances, "m", _SpoFieldListCommand_initTelemetry).call(this);
29
- __classPrivateFieldGet(this, _SpoFieldListCommand_instances, "m", _SpoFieldListCommand_initOptions).call(this);
30
- __classPrivateFieldGet(this, _SpoFieldListCommand_instances, "m", _SpoFieldListCommand_initValidators).call(this);
31
- }
32
25
  get name() {
33
26
  return commands_1.default.FIELD_LIST;
34
27
  }
@@ -38,6 +31,13 @@ class SpoFieldListCommand extends SpoCommand_1.default {
38
31
  defaultProperties() {
39
32
  return ['Id', 'Title', 'Group', 'Hidden'];
40
33
  }
34
+ constructor() {
35
+ super();
36
+ _SpoFieldListCommand_instances.add(this);
37
+ __classPrivateFieldGet(this, _SpoFieldListCommand_instances, "m", _SpoFieldListCommand_initTelemetry).call(this);
38
+ __classPrivateFieldGet(this, _SpoFieldListCommand_instances, "m", _SpoFieldListCommand_initOptions).call(this);
39
+ __classPrivateFieldGet(this, _SpoFieldListCommand_instances, "m", _SpoFieldListCommand_initValidators).call(this);
40
+ }
41
41
  commandAction(logger, args) {
42
42
  return __awaiter(this, void 0, void 0, function* () {
43
43
  let listUrl = '';
@@ -23,6 +23,12 @@ const validation_1 = require("../../../../utils/validation");
23
23
  const SpoCommand_1 = require("../../../base/SpoCommand");
24
24
  const commands_1 = require("../../commands");
25
25
  class SpoFieldRemoveCommand extends SpoCommand_1.default {
26
+ get name() {
27
+ return commands_1.default.FIELD_REMOVE;
28
+ }
29
+ get description() {
30
+ return 'Removes the specified list- or site column';
31
+ }
26
32
  constructor() {
27
33
  super();
28
34
  _SpoFieldRemoveCommand_instances.add(this);
@@ -31,12 +37,6 @@ class SpoFieldRemoveCommand extends SpoCommand_1.default {
31
37
  __classPrivateFieldGet(this, _SpoFieldRemoveCommand_instances, "m", _SpoFieldRemoveCommand_initValidators).call(this);
32
38
  __classPrivateFieldGet(this, _SpoFieldRemoveCommand_instances, "m", _SpoFieldRemoveCommand_initOptionSets).call(this);
33
39
  }
34
- get name() {
35
- return commands_1.default.FIELD_REMOVE;
36
- }
37
- get description() {
38
- return 'Removes the specified list- or site column';
39
- }
40
40
  commandAction(logger, args) {
41
41
  return __awaiter(this, void 0, void 0, function* () {
42
42
  let messageEnd;
@@ -24,6 +24,12 @@ const validation_1 = require("../../../../utils/validation");
24
24
  const SpoCommand_1 = require("../../../base/SpoCommand");
25
25
  const commands_1 = require("../../commands");
26
26
  class SpoFieldSetCommand extends SpoCommand_1.default {
27
+ get name() {
28
+ return commands_1.default.FIELD_SET;
29
+ }
30
+ get description() {
31
+ return 'Updates existing list or site column';
32
+ }
27
33
  constructor() {
28
34
  super();
29
35
  _SpoFieldSetCommand_instances.add(this);
@@ -32,12 +38,6 @@ class SpoFieldSetCommand extends SpoCommand_1.default {
32
38
  __classPrivateFieldGet(this, _SpoFieldSetCommand_instances, "m", _SpoFieldSetCommand_initValidators).call(this);
33
39
  __classPrivateFieldGet(this, _SpoFieldSetCommand_instances, "m", _SpoFieldSetCommand_initOptionSets).call(this);
34
40
  }
35
- get name() {
36
- return commands_1.default.FIELD_SET;
37
- }
38
- get description() {
39
- return 'Updates existing list or site column';
40
- }
41
41
  allowUnknownOptions() {
42
42
  return true;
43
43
  }
@@ -27,6 +27,15 @@ const validation_1 = require("../../../../utils/validation");
27
27
  const SpoCommand_1 = require("../../../base/SpoCommand");
28
28
  const commands_1 = require("../../commands");
29
29
  class SpoFileAddCommand extends SpoCommand_1.default {
30
+ get name() {
31
+ return commands_1.default.FILE_ADD;
32
+ }
33
+ get description() {
34
+ return 'Uploads file to the specified folder';
35
+ }
36
+ allowUnknownOptions() {
37
+ return true;
38
+ }
30
39
  constructor() {
31
40
  super();
32
41
  _SpoFileAddCommand_instances.add(this);
@@ -37,15 +46,6 @@ class SpoFileAddCommand extends SpoCommand_1.default {
37
46
  __classPrivateFieldGet(this, _SpoFileAddCommand_instances, "m", _SpoFileAddCommand_initOptions).call(this);
38
47
  __classPrivateFieldGet(this, _SpoFileAddCommand_instances, "m", _SpoFileAddCommand_initValidators).call(this);
39
48
  }
40
- get name() {
41
- return commands_1.default.FILE_ADD;
42
- }
43
- get description() {
44
- return 'Uploads file to the specified folder';
45
- }
46
- allowUnknownOptions() {
47
- return true;
48
- }
49
49
  commandAction(logger, args) {
50
50
  return __awaiter(this, void 0, void 0, function* () {
51
51
  const folderPath = urlUtil_1.urlUtil.getServerRelativePath(args.options.webUrl, args.options.folder);
@@ -27,6 +27,12 @@ var CheckinType;
27
27
  CheckinType[CheckinType["Overwrite"] = 2] = "Overwrite";
28
28
  })(CheckinType || (CheckinType = {}));
29
29
  class SpoFileCheckinCommand extends SpoCommand_1.default {
30
+ get name() {
31
+ return commands_1.default.FILE_CHECKIN;
32
+ }
33
+ get description() {
34
+ return 'Checks in specified file';
35
+ }
30
36
  constructor() {
31
37
  super();
32
38
  _SpoFileCheckinCommand_instances.add(this);
@@ -35,12 +41,6 @@ class SpoFileCheckinCommand extends SpoCommand_1.default {
35
41
  __classPrivateFieldGet(this, _SpoFileCheckinCommand_instances, "m", _SpoFileCheckinCommand_initValidators).call(this);
36
42
  __classPrivateFieldGet(this, _SpoFileCheckinCommand_instances, "m", _SpoFileCheckinCommand_initOptionSets).call(this);
37
43
  }
38
- get name() {
39
- return commands_1.default.FILE_CHECKIN;
40
- }
41
- get description() {
42
- return 'Checks in specified file';
43
- }
44
44
  commandAction(logger, args) {
45
45
  return __awaiter(this, void 0, void 0, function* () {
46
46
  let type = CheckinType.Major;
@@ -21,6 +21,12 @@ const validation_1 = require("../../../../utils/validation");
21
21
  const SpoCommand_1 = require("../../../base/SpoCommand");
22
22
  const commands_1 = require("../../commands");
23
23
  class SpoFileCheckoutCommand extends SpoCommand_1.default {
24
+ get name() {
25
+ return commands_1.default.FILE_CHECKOUT;
26
+ }
27
+ get description() {
28
+ return 'Checks out specified file';
29
+ }
24
30
  constructor() {
25
31
  super();
26
32
  _SpoFileCheckoutCommand_instances.add(this);
@@ -29,12 +35,6 @@ class SpoFileCheckoutCommand extends SpoCommand_1.default {
29
35
  __classPrivateFieldGet(this, _SpoFileCheckoutCommand_instances, "m", _SpoFileCheckoutCommand_initValidators).call(this);
30
36
  __classPrivateFieldGet(this, _SpoFileCheckoutCommand_instances, "m", _SpoFileCheckoutCommand_initOptionSets).call(this);
31
37
  }
32
- get name() {
33
- return commands_1.default.FILE_CHECKOUT;
34
- }
35
- get description() {
36
- return 'Checks out specified file';
37
- }
38
38
  commandAction(logger, args) {
39
39
  return __awaiter(this, void 0, void 0, function* () {
40
40
  let requestUrl = '';
@@ -21,6 +21,12 @@ const validation_1 = require("../../../../utils/validation");
21
21
  const SpoCommand_1 = require("../../../base/SpoCommand");
22
22
  const commands_1 = require("../../commands");
23
23
  class SpoFileCopyCommand extends SpoCommand_1.default {
24
+ get name() {
25
+ return commands_1.default.FILE_COPY;
26
+ }
27
+ get description() {
28
+ return 'Copies a file to another location';
29
+ }
24
30
  constructor() {
25
31
  super();
26
32
  _SpoFileCopyCommand_instances.add(this);
@@ -29,12 +35,6 @@ class SpoFileCopyCommand extends SpoCommand_1.default {
29
35
  __classPrivateFieldGet(this, _SpoFileCopyCommand_instances, "m", _SpoFileCopyCommand_initOptions).call(this);
30
36
  __classPrivateFieldGet(this, _SpoFileCopyCommand_instances, "m", _SpoFileCopyCommand_initValidators).call(this);
31
37
  }
32
- get name() {
33
- return commands_1.default.FILE_COPY;
34
- }
35
- get description() {
36
- return 'Copies a file to another location';
37
- }
38
38
  commandAction(logger, args) {
39
39
  return __awaiter(this, void 0, void 0, function* () {
40
40
  try {
@@ -23,6 +23,12 @@ const validation_1 = require("../../../../utils/validation");
23
23
  const SpoCommand_1 = require("../../../base/SpoCommand");
24
24
  const commands_1 = require("../../commands");
25
25
  class SpoFileGetCommand extends SpoCommand_1.default {
26
+ get name() {
27
+ return commands_1.default.FILE_GET;
28
+ }
29
+ get description() {
30
+ return 'Gets information about the specified file';
31
+ }
26
32
  constructor() {
27
33
  super();
28
34
  _SpoFileGetCommand_instances.add(this);
@@ -31,12 +37,6 @@ class SpoFileGetCommand extends SpoCommand_1.default {
31
37
  __classPrivateFieldGet(this, _SpoFileGetCommand_instances, "m", _SpoFileGetCommand_initValidators).call(this);
32
38
  __classPrivateFieldGet(this, _SpoFileGetCommand_instances, "m", _SpoFileGetCommand_initOptionSets).call(this);
33
39
  }
34
- get name() {
35
- return commands_1.default.FILE_GET;
36
- }
37
- get description() {
38
- return 'Gets information about the specified file';
39
- }
40
40
  getExcludedOptionsWithUrls() {
41
41
  return ['url'];
42
42
  }
@@ -21,6 +21,12 @@ const validation_1 = require("../../../../utils/validation");
21
21
  const SpoCommand_1 = require("../../../base/SpoCommand");
22
22
  const commands_1 = require("../../commands");
23
23
  class SpoFileListCommand extends SpoCommand_1.default {
24
+ get name() {
25
+ return commands_1.default.FILE_LIST;
26
+ }
27
+ get description() {
28
+ return 'Lists all available files in the specified folder and site';
29
+ }
24
30
  constructor() {
25
31
  super();
26
32
  _SpoFileListCommand_instances.add(this);
@@ -28,12 +34,6 @@ class SpoFileListCommand extends SpoCommand_1.default {
28
34
  __classPrivateFieldGet(this, _SpoFileListCommand_instances, "m", _SpoFileListCommand_initOptions).call(this);
29
35
  __classPrivateFieldGet(this, _SpoFileListCommand_instances, "m", _SpoFileListCommand_initValidators).call(this);
30
36
  }
31
- get name() {
32
- return commands_1.default.FILE_LIST;
33
- }
34
- get description() {
35
- return 'Lists all available files in the specified folder and site';
36
- }
37
37
  commandAction(logger, args) {
38
38
  return __awaiter(this, void 0, void 0, function* () {
39
39
  if (this.verbose) {
@@ -26,6 +26,12 @@ const commands_1 = require("../../commands");
26
26
  const formatting_1 = require("../../../../utils/formatting");
27
27
  const removeCommand = require('./file-remove');
28
28
  class SpoFileMoveCommand extends SpoCommand_1.default {
29
+ get name() {
30
+ return commands_1.default.FILE_MOVE;
31
+ }
32
+ get description() {
33
+ return 'Moves a file to another location';
34
+ }
29
35
  constructor() {
30
36
  super();
31
37
  _SpoFileMoveCommand_instances.add(this);
@@ -33,12 +39,6 @@ class SpoFileMoveCommand extends SpoCommand_1.default {
33
39
  __classPrivateFieldGet(this, _SpoFileMoveCommand_instances, "m", _SpoFileMoveCommand_initOptions).call(this);
34
40
  __classPrivateFieldGet(this, _SpoFileMoveCommand_instances, "m", _SpoFileMoveCommand_initValidators).call(this);
35
41
  }
36
- get name() {
37
- return commands_1.default.FILE_MOVE;
38
- }
39
- get description() {
40
- return 'Moves a file to another location';
41
- }
42
42
  getExcludedOptionsWithUrls() {
43
43
  return ['targetUrl'];
44
44
  }
@@ -22,6 +22,12 @@ const validation_1 = require("../../../../utils/validation");
22
22
  const SpoCommand_1 = require("../../../base/SpoCommand");
23
23
  const commands_1 = require("../../commands");
24
24
  class SpoFileRemoveCommand extends SpoCommand_1.default {
25
+ get name() {
26
+ return commands_1.default.FILE_REMOVE;
27
+ }
28
+ get description() {
29
+ return 'Removes the specified file';
30
+ }
25
31
  constructor() {
26
32
  super();
27
33
  _SpoFileRemoveCommand_instances.add(this);
@@ -30,12 +36,6 @@ class SpoFileRemoveCommand extends SpoCommand_1.default {
30
36
  __classPrivateFieldGet(this, _SpoFileRemoveCommand_instances, "m", _SpoFileRemoveCommand_initValidators).call(this);
31
37
  __classPrivateFieldGet(this, _SpoFileRemoveCommand_instances, "m", _SpoFileRemoveCommand_initOptionSets).call(this);
32
38
  }
33
- get name() {
34
- return commands_1.default.FILE_REMOVE;
35
- }
36
- get description() {
37
- return 'Removes the specified file';
38
- }
39
39
  getExcludedOptionsWithUrls() {
40
40
  return ['url'];
41
41
  }
@@ -24,6 +24,12 @@ const SpoCommand_1 = require("../../../base/SpoCommand");
24
24
  const commands_1 = require("../../commands");
25
25
  const removeCommand = require('./file-remove');
26
26
  class SpoFileRenameCommand extends SpoCommand_1.default {
27
+ get name() {
28
+ return commands_1.default.FILE_RENAME;
29
+ }
30
+ get description() {
31
+ return 'Renames a file';
32
+ }
27
33
  constructor() {
28
34
  super();
29
35
  _SpoFileRenameCommand_instances.add(this);
@@ -31,12 +37,6 @@ class SpoFileRenameCommand extends SpoCommand_1.default {
31
37
  __classPrivateFieldGet(this, _SpoFileRenameCommand_instances, "m", _SpoFileRenameCommand_initOptions).call(this);
32
38
  __classPrivateFieldGet(this, _SpoFileRenameCommand_instances, "m", _SpoFileRenameCommand_initValidators).call(this);
33
39
  }
34
- get name() {
35
- return commands_1.default.FILE_RENAME;
36
- }
37
- get description() {
38
- return 'Renames a file';
39
- }
40
40
  commandAction(logger, args) {
41
41
  return __awaiter(this, void 0, void 0, function* () {
42
42
  const webUrl = args.options.webUrl;
@@ -26,6 +26,12 @@ const formatting_1 = require("../../../../utils/formatting");
26
26
  const SpoCommand_1 = require("../../../base/SpoCommand");
27
27
  const commands_1 = require("../../commands");
28
28
  class SpoFileRoleAssignmentAddCommand extends SpoCommand_1.default {
29
+ get name() {
30
+ return commands_1.default.FILE_ROLEASSIGNMENT_ADD;
31
+ }
32
+ get description() {
33
+ return 'Adds a role assignment to the specified file.';
34
+ }
29
35
  constructor() {
30
36
  super();
31
37
  _SpoFileRoleAssignmentAddCommand_instances.add(this);
@@ -34,12 +40,6 @@ class SpoFileRoleAssignmentAddCommand extends SpoCommand_1.default {
34
40
  __classPrivateFieldGet(this, _SpoFileRoleAssignmentAddCommand_instances, "m", _SpoFileRoleAssignmentAddCommand_initValidators).call(this);
35
41
  __classPrivateFieldGet(this, _SpoFileRoleAssignmentAddCommand_instances, "m", _SpoFileRoleAssignmentAddCommand_initOptionSets).call(this);
36
42
  }
37
- get name() {
38
- return commands_1.default.FILE_ROLEASSIGNMENT_ADD;
39
- }
40
- get description() {
41
- return 'Adds a role assignment to the specified file.';
42
- }
43
43
  commandAction(logger, args) {
44
44
  return __awaiter(this, void 0, void 0, function* () {
45
45
  if (this.verbose) {
@@ -26,6 +26,12 @@ const SpoFileGetCommand = require("./file-get");
26
26
  const SpoUserGetCommand = require("../user/user-get");
27
27
  const SpoGroupGetCommand = require("../group/group-get");
28
28
  class SpoFileRoleAssignmentRemoveCommand extends SpoCommand_1.default {
29
+ get name() {
30
+ return commands_1.default.FILE_ROLEASSIGNMENT_REMOVE;
31
+ }
32
+ get description() {
33
+ return 'Removes a role assignment from a file.';
34
+ }
29
35
  constructor() {
30
36
  super();
31
37
  _SpoFileRoleAssignmentRemoveCommand_instances.add(this);
@@ -34,12 +40,6 @@ class SpoFileRoleAssignmentRemoveCommand extends SpoCommand_1.default {
34
40
  __classPrivateFieldGet(this, _SpoFileRoleAssignmentRemoveCommand_instances, "m", _SpoFileRoleAssignmentRemoveCommand_initValidators).call(this);
35
41
  __classPrivateFieldGet(this, _SpoFileRoleAssignmentRemoveCommand_instances, "m", _SpoFileRoleAssignmentRemoveCommand_initOptionSets).call(this);
36
42
  }
37
- get name() {
38
- return commands_1.default.FILE_ROLEASSIGNMENT_REMOVE;
39
- }
40
- get description() {
41
- return 'Removes a role assignment from a file.';
42
- }
43
43
  commandAction(logger, args) {
44
44
  return __awaiter(this, void 0, void 0, function* () {
45
45
  const removeRoleAssignment = () => __awaiter(this, void 0, void 0, function* () {
@@ -23,6 +23,12 @@ const SpoCommand_1 = require("../../../base/SpoCommand");
23
23
  const commands_1 = require("../../commands");
24
24
  const SpoFileGetCommand = require("./file-get");
25
25
  class SpoFileRoleInheritanceBreakCommand extends SpoCommand_1.default {
26
+ get name() {
27
+ return commands_1.default.FILE_ROLEINHERITANCE_BREAK;
28
+ }
29
+ get description() {
30
+ return 'Breaks inheritance of a file. Keeping existing permissions is the default behavior.';
31
+ }
26
32
  constructor() {
27
33
  super();
28
34
  _SpoFileRoleInheritanceBreakCommand_instances.add(this);
@@ -31,12 +37,6 @@ class SpoFileRoleInheritanceBreakCommand extends SpoCommand_1.default {
31
37
  __classPrivateFieldGet(this, _SpoFileRoleInheritanceBreakCommand_instances, "m", _SpoFileRoleInheritanceBreakCommand_initValidators).call(this);
32
38
  __classPrivateFieldGet(this, _SpoFileRoleInheritanceBreakCommand_instances, "m", _SpoFileRoleInheritanceBreakCommand_initOptionSets).call(this);
33
39
  }
34
- get name() {
35
- return commands_1.default.FILE_ROLEINHERITANCE_BREAK;
36
- }
37
- get description() {
38
- return 'Breaks inheritance of a file. Keeping existing permissions is the default behavior.';
39
- }
40
40
  commandAction(logger, args) {
41
41
  return __awaiter(this, void 0, void 0, function* () {
42
42
  const breakFileRoleInheritance = () => __awaiter(this, void 0, void 0, function* () {
@@ -23,6 +23,12 @@ const SpoCommand_1 = require("../../../base/SpoCommand");
23
23
  const commands_1 = require("../../commands");
24
24
  const SpoFileGetCommand = require("./file-get");
25
25
  class SpoFileRoleInheritanceResetCommand extends SpoCommand_1.default {
26
+ get name() {
27
+ return commands_1.default.FILE_ROLEINHERITANCE_RESET;
28
+ }
29
+ get description() {
30
+ return 'Restores the role inheritance of a file';
31
+ }
26
32
  constructor() {
27
33
  super();
28
34
  _SpoFileRoleInheritanceResetCommand_instances.add(this);
@@ -31,12 +37,6 @@ class SpoFileRoleInheritanceResetCommand extends SpoCommand_1.default {
31
37
  __classPrivateFieldGet(this, _SpoFileRoleInheritanceResetCommand_instances, "m", _SpoFileRoleInheritanceResetCommand_initValidators).call(this);
32
38
  __classPrivateFieldGet(this, _SpoFileRoleInheritanceResetCommand_instances, "m", _SpoFileRoleInheritanceResetCommand_initOptionSets).call(this);
33
39
  }
34
- get name() {
35
- return commands_1.default.FILE_ROLEINHERITANCE_RESET;
36
- }
37
- get description() {
38
- return 'Restores the role inheritance of a file';
39
- }
40
40
  commandAction(logger, args) {
41
41
  return __awaiter(this, void 0, void 0, function* () {
42
42
  const resetFileRoleInheritance = () => __awaiter(this, void 0, void 0, function* () {