@pnp/cli-microsoft365 7.4.0-beta.fce7b64 → 7.5.0-beta.23612bc

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 (339) hide show
  1. package/.devcontainer/Dockerfile +2 -2
  2. package/.eslintrc.cjs +7 -0
  3. package/Dockerfile +2 -5
  4. package/README.md +1 -1
  5. package/allCommands.json +1 -1
  6. package/allCommandsFull.json +1 -1
  7. package/dist/Auth.js +2 -1
  8. package/dist/appInsights.js +2 -0
  9. package/dist/cli/cli.js +1 -0
  10. package/dist/m365/app/commands/app-get.js +2 -2
  11. package/dist/m365/app/commands/permission/permission-list.js +1 -1
  12. package/dist/m365/{aad/commands.js → entra/aadCommands.js} +2 -1
  13. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-add.js +12 -8
  14. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-get.js +20 -16
  15. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-list.js +6 -2
  16. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-add.js +24 -20
  17. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-get.js +18 -14
  18. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-list.js +18 -14
  19. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-remove.js +20 -16
  20. package/dist/m365/entra/commands/administrativeunit/administrativeunit-roleassignment-add.js +102 -0
  21. package/dist/m365/{aad → entra}/commands/app/app-add.js +25 -21
  22. package/dist/m365/{aad → entra}/commands/app/app-get.js +17 -13
  23. package/dist/m365/{aad → entra}/commands/app/app-list.js +7 -3
  24. package/dist/m365/{aad → entra}/commands/app/app-permission-add.js +19 -19
  25. package/dist/m365/{aad → entra}/commands/app/app-remove.js +17 -13
  26. package/dist/m365/{aad → entra}/commands/app/app-role-add.js +18 -14
  27. package/dist/m365/{aad → entra}/commands/app/app-role-list.js +15 -11
  28. package/dist/m365/{aad → entra}/commands/app/app-role-remove.js +17 -13
  29. package/dist/m365/{aad → entra}/commands/app/app-set.js +18 -14
  30. package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-add.js +17 -13
  31. package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-list.js +16 -12
  32. package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-remove.js +17 -13
  33. package/dist/m365/{aad → entra}/commands/group/group-get.js +20 -16
  34. package/dist/m365/{aad → entra}/commands/group/group-list.js +16 -12
  35. package/dist/m365/{aad → entra}/commands/group/group-remove.js +21 -17
  36. package/dist/m365/entra/commands/group/group-user-add.js +145 -0
  37. package/dist/m365/{aad → entra}/commands/group/group-user-list.js +19 -15
  38. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-add.js +12 -8
  39. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-get.js +12 -8
  40. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-list.js +7 -3
  41. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-remove.js +14 -10
  42. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-set.js +12 -8
  43. package/dist/m365/{aad → entra}/commands/groupsettingtemplate/groupsettingtemplate-get.js +17 -13
  44. package/dist/m365/{aad → entra}/commands/groupsettingtemplate/groupsettingtemplate-list.js +7 -3
  45. package/dist/m365/{aad → entra}/commands/license/license-list.js +6 -2
  46. package/dist/m365/{aad → entra}/commands/m365group/m365group-add.js +19 -15
  47. package/dist/m365/{aad → entra}/commands/m365group/m365group-conversation-list.js +14 -10
  48. package/dist/m365/{aad → entra}/commands/m365group/m365group-conversation-post-list.js +19 -15
  49. package/dist/m365/{aad → entra}/commands/m365group/m365group-get.js +15 -11
  50. package/dist/m365/{aad → entra}/commands/m365group/m365group-list.js +12 -8
  51. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-clear.js +12 -8
  52. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-list.js +12 -8
  53. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-remove.js +16 -12
  54. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-restore.js +16 -12
  55. package/dist/m365/{aad → entra}/commands/m365group/m365group-remove.js +19 -15
  56. package/dist/m365/{aad → entra}/commands/m365group/m365group-renew.js +14 -10
  57. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitycounts.js +4 -0
  58. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitydetail.js +4 -0
  59. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activityfilecounts.js +4 -0
  60. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitygroupcounts.js +4 -0
  61. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitystorage.js +4 -0
  62. package/dist/m365/{aad → entra}/commands/m365group/m365group-set.js +21 -17
  63. package/dist/m365/{aad → entra}/commands/m365group/m365group-teamify.js +18 -14
  64. package/dist/m365/{aad → entra}/commands/m365group/m365group-user-add.js +16 -15
  65. package/dist/m365/entra/commands/m365group/m365group-user-list.js +154 -0
  66. package/dist/m365/{aad → entra}/commands/m365group/m365group-user-remove.js +16 -15
  67. package/dist/m365/{aad → entra}/commands/m365group/m365group-user-set.js +16 -15
  68. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-add.js +12 -8
  69. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-list.js +12 -8
  70. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-remove.js +10 -6
  71. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-set.js +10 -6
  72. package/dist/m365/{aad → entra}/commands/policy/policy-list.js +16 -12
  73. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-disable.js +12 -8
  74. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-enable.js +12 -8
  75. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-get.js +6 -2
  76. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-set.js +14 -10
  77. package/dist/m365/{aad → entra}/commands/sp/sp-add.js +17 -13
  78. package/dist/m365/{aad → entra}/commands/sp/sp-get.js +16 -12
  79. package/dist/m365/{aad → entra}/commands/sp/sp-list.js +12 -8
  80. package/dist/m365/{aad → entra}/commands/user/user-add.js +18 -14
  81. package/dist/m365/{aad → entra}/commands/user/user-get.js +16 -12
  82. package/dist/m365/{aad → entra}/commands/user/user-guest-add.js +12 -8
  83. package/dist/m365/{aad → entra}/commands/user/user-hibp.js +14 -10
  84. package/dist/m365/{aad → entra}/commands/user/user-license-add.js +16 -12
  85. package/dist/m365/{aad → entra}/commands/user/user-license-list.js +16 -12
  86. package/dist/m365/{aad → entra}/commands/user/user-license-remove.js +16 -12
  87. package/dist/m365/{aad → entra}/commands/user/user-list.js +12 -8
  88. package/dist/m365/{aad → entra}/commands/user/user-password-validate.js +10 -6
  89. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-clear.js +12 -8
  90. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-list.js +6 -2
  91. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-remove.js +14 -10
  92. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-restore.js +12 -8
  93. package/dist/m365/{aad → entra}/commands/user/user-remove.js +16 -12
  94. package/dist/m365/{aad → entra}/commands/user/user-set.js +18 -14
  95. package/dist/m365/{aad → entra}/commands/user/user-signin-list.js +15 -11
  96. package/dist/m365/entra/commands.js +87 -0
  97. package/dist/m365/external/commands/connection/connection-doctor.js +2 -1
  98. package/dist/m365/external/commands/connection/connection-urltoitemresolver-add.js +69 -0
  99. package/dist/m365/external/commands.js +1 -0
  100. package/dist/m365/flow/commands/owner/owner-ensure.js +4 -4
  101. package/dist/m365/flow/commands/owner/owner-remove.js +4 -4
  102. package/dist/m365/flow/commands/run/run-get.js +52 -13
  103. package/dist/m365/onenote/commands/notebook/notebook-list.js +2 -2
  104. package/dist/m365/onenote/commands/page/page-list.js +2 -2
  105. package/dist/m365/pa/commands/app/app-get.js +26 -11
  106. package/dist/m365/pa/commands/app/app-owner-set.js +2 -2
  107. package/dist/m365/pa/commands/app/app-permission-ensure.js +4 -4
  108. package/dist/m365/pa/commands/app/app-permission-remove.js +4 -4
  109. package/dist/m365/pa/commands/app/app-remove.js +19 -2
  110. package/dist/m365/planner/commands/bucket/bucket-add.js +2 -2
  111. package/dist/m365/planner/commands/bucket/bucket-get.js +2 -2
  112. package/dist/m365/planner/commands/bucket/bucket-list.js +2 -2
  113. package/dist/m365/planner/commands/bucket/bucket-remove.js +2 -2
  114. package/dist/m365/planner/commands/bucket/bucket-set.js +2 -2
  115. package/dist/m365/planner/commands/plan/plan-add.js +2 -2
  116. package/dist/m365/planner/commands/plan/plan-get.js +2 -2
  117. package/dist/m365/planner/commands/plan/plan-list.js +2 -2
  118. package/dist/m365/planner/commands/plan/plan-remove.js +2 -2
  119. package/dist/m365/planner/commands/plan/plan-set.js +2 -2
  120. package/dist/m365/planner/commands/roster/roster-member-add.js +2 -2
  121. package/dist/m365/planner/commands/roster/roster-member-get.js +2 -2
  122. package/dist/m365/planner/commands/roster/roster-member-remove.js +2 -2
  123. package/dist/m365/planner/commands/task/task-add.js +2 -2
  124. package/dist/m365/planner/commands/task/task-get.js +2 -2
  125. package/dist/m365/planner/commands/task/task-list.js +2 -2
  126. package/dist/m365/planner/commands/task/task-remove.js +2 -2
  127. package/dist/m365/planner/commands/task/task-set.js +2 -2
  128. package/dist/m365/spfx/commands/project/project-github-workflow-add.js +1 -1
  129. package/dist/m365/spo/commands/file/file-add.js +12 -8
  130. package/dist/m365/spo/commands/file/file-checkin.js +4 -1
  131. package/dist/m365/spo/commands/file/file-checkout-undo.js +5 -1
  132. package/dist/m365/spo/commands/file/file-checkout.js +4 -1
  133. package/dist/m365/spo/commands/file/file-copy.js +5 -1
  134. package/dist/m365/spo/commands/file/file-get.js +5 -1
  135. package/dist/m365/spo/commands/file/file-list.js +5 -1
  136. package/dist/m365/spo/commands/file/file-move.js +5 -1
  137. package/dist/m365/spo/commands/file/file-remove.js +5 -1
  138. package/dist/m365/spo/commands/file/file-rename.js +5 -1
  139. package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +4 -1
  140. package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +5 -1
  141. package/dist/m365/spo/commands/file/file-roleassignment-add.js +4 -1
  142. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +5 -1
  143. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +5 -1
  144. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +5 -1
  145. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +6 -3
  146. package/dist/m365/spo/commands/file/file-sharinglink-add.js +4 -1
  147. package/dist/m365/spo/commands/file/file-sharinglink-clear.js +5 -1
  148. package/dist/m365/spo/commands/file/file-sharinglink-get.js +4 -1
  149. package/dist/m365/spo/commands/file/file-sharinglink-list.js +4 -1
  150. package/dist/m365/spo/commands/file/file-sharinglink-remove.js +5 -1
  151. package/dist/m365/spo/commands/file/file-sharinglink-set.js +4 -1
  152. package/dist/m365/spo/commands/file/file-version-clear.js +6 -2
  153. package/dist/m365/spo/commands/file/file-version-get.js +1 -1
  154. package/dist/m365/spo/commands/file/file-version-list.js +4 -1
  155. package/dist/m365/spo/commands/file/file-version-remove.js +2 -1
  156. package/dist/m365/spo/commands/file/file-version-restore.js +2 -1
  157. package/dist/m365/spo/commands/folder/folder-add.js +4 -1
  158. package/dist/m365/spo/commands/folder/folder-copy.js +5 -1
  159. package/dist/m365/spo/commands/folder/folder-get.js +4 -1
  160. package/dist/m365/spo/commands/folder/folder-list.js +6 -2
  161. package/dist/m365/spo/commands/folder/folder-move.js +5 -1
  162. package/dist/m365/spo/commands/folder/folder-remove.js +5 -1
  163. package/dist/m365/spo/commands/folder/folder-rename.js +4 -1
  164. package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +4 -1
  165. package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +5 -1
  166. package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +4 -1
  167. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +6 -2
  168. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +5 -1
  169. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +5 -1
  170. package/dist/m365/spo/commands/group/group-member-add.js +25 -8
  171. package/dist/m365/spo/commands/group/group-member-remove.js +29 -12
  172. package/dist/m365/spo/commands/group/group-set.js +2 -2
  173. package/dist/m365/spo/commands/site/site-remove.js +2 -2
  174. package/dist/m365/spo/commands/site/site-set.js +2 -2
  175. package/dist/m365/spo/commands/user/user-ensure.js +17 -7
  176. package/dist/m365/teams/commands/app/app-install.js +2 -2
  177. package/dist/m365/teams/commands/channel/channel-get.js +2 -2
  178. package/dist/m365/teams/commands/channel/channel-list.js +2 -2
  179. package/dist/m365/teams/commands/channel/channel-member-add.js +2 -2
  180. package/dist/m365/teams/commands/channel/channel-member-list.js +2 -2
  181. package/dist/m365/teams/commands/channel/channel-member-remove.js +2 -2
  182. package/dist/m365/teams/commands/channel/channel-member-set.js +2 -2
  183. package/dist/m365/teams/commands/channel/channel-remove.js +2 -2
  184. package/dist/m365/teams/commands/channel/channel-set.js +2 -2
  185. package/dist/m365/teams/commands/meeting/meeting-add.js +2 -2
  186. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +2 -2
  187. package/dist/m365/teams/commands/meeting/meeting-get.js +3 -3
  188. package/dist/m365/teams/commands/meeting/meeting-list.js +2 -2
  189. package/dist/m365/teams/commands/meeting/meeting-transcript-list.js +2 -2
  190. package/dist/m365/teams/commands/tab/tab-get.js +2 -2
  191. package/dist/m365/teams/commands/team/team-add.js +6 -6
  192. package/dist/m365/teams/commands/team/team-archive.js +2 -2
  193. package/dist/m365/teams/commands/team/team-get.js +2 -2
  194. package/dist/m365/teams/commands/team/team-remove.js +2 -2
  195. package/dist/m365/teams/commands/team/team-unarchive.js +2 -2
  196. package/dist/m365/teams/commands/user/user-app-add.js +35 -3
  197. package/dist/request.js +16 -0
  198. package/dist/utils/{aadAdministrativeUnit.js → entraAdministrativeUnit.js} +2 -2
  199. package/dist/utils/{aadDevice.js → entraDevice.js} +2 -2
  200. package/dist/utils/{aadGroup.js → entraGroup.js} +2 -2
  201. package/dist/utils/{aadUser.js → entraUser.js} +38 -2
  202. package/dist/utils/md.js +2 -2
  203. package/dist/utils/roleAssignment.js +42 -0
  204. package/dist/utils/roleDefinition.js +24 -0
  205. package/dist/utils/spo.js +2 -2
  206. package/dist/utils/validation.js +4 -0
  207. package/docs/docs/cmd/adaptivecard/adaptivecard-send.mdx +1 -1
  208. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-add.mdx +10 -4
  209. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-get.mdx +9 -3
  210. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-list.mdx +9 -3
  211. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-add.mdx +13 -7
  212. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-get.mdx +9 -3
  213. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-list.mdx +16 -10
  214. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-remove.mdx +9 -3
  215. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-roleassignment-add.mdx +116 -0
  216. package/docs/docs/cmd/{aad → entra}/app/app-add.mdx +44 -38
  217. package/docs/docs/cmd/{aad → entra}/app/app-get.mdx +23 -17
  218. package/docs/docs/cmd/{aad → entra}/app/app-list.mdx +11 -5
  219. package/docs/docs/cmd/entra/app/app-permission-add.mdx +68 -0
  220. package/docs/docs/cmd/entra/app/app-remove.mdx +65 -0
  221. package/docs/docs/cmd/entra/app/app-role-add.mdx +74 -0
  222. package/docs/docs/cmd/{aad → entra}/app/app-role-list.mdx +20 -14
  223. package/docs/docs/cmd/entra/app/app-role-remove.mdx +84 -0
  224. package/docs/docs/cmd/entra/app/app-set.mdx +103 -0
  225. package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-add.mdx +14 -8
  226. package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-list.mdx +12 -6
  227. package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-remove.mdx +13 -7
  228. package/docs/docs/cmd/{aad → entra}/group/group-get.mdx +15 -9
  229. package/docs/docs/cmd/{aad → entra}/group/group-list.mdx +13 -7
  230. package/docs/docs/cmd/entra/group/group-remove.mdx +50 -0
  231. package/docs/docs/cmd/entra/group/group-user-add.mdx +62 -0
  232. package/docs/docs/cmd/{aad → entra}/group/group-user-list.mdx +17 -11
  233. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-add.mdx +11 -5
  234. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-get.mdx +9 -3
  235. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-list.mdx +10 -4
  236. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-remove.mdx +9 -3
  237. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-set.mdx +10 -4
  238. package/docs/docs/cmd/{aad → entra}/groupsettingtemplate/groupsettingtemplate-get.mdx +11 -5
  239. package/docs/docs/cmd/{aad → entra}/groupsettingtemplate/groupsettingtemplate-list.mdx +10 -4
  240. package/docs/docs/cmd/{aad → entra}/license/license-list.mdx +9 -3
  241. package/docs/docs/cmd/{aad → entra}/m365group/m365group-add.mdx +17 -11
  242. package/docs/docs/cmd/{aad → entra}/m365group/m365group-conversation-list.mdx +9 -3
  243. package/docs/docs/cmd/{aad → entra}/m365group/m365group-conversation-post-list.mdx +10 -4
  244. package/docs/docs/cmd/{aad → entra}/m365group/m365group-get.mdx +10 -4
  245. package/docs/docs/cmd/{aad → entra}/m365group/m365group-list.mdx +13 -7
  246. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-clear.mdx +9 -3
  247. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-list.mdx +12 -6
  248. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-remove.mdx +10 -4
  249. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-restore.mdx +10 -4
  250. package/docs/docs/cmd/{aad → entra}/m365group/m365group-remove.mdx +10 -4
  251. package/docs/docs/cmd/{aad → entra}/m365group/m365group-renew.mdx +8 -2
  252. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitycounts.mdx +10 -4
  253. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitydetail.mdx +11 -5
  254. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activityfilecounts.mdx +10 -4
  255. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitygroupcounts.mdx +10 -4
  256. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitystorage.mdx +10 -4
  257. package/docs/docs/cmd/{aad → entra}/m365group/m365group-set.mdx +12 -6
  258. package/docs/docs/cmd/{aad → entra}/m365group/m365group-teamify.mdx +9 -3
  259. package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-add.mdx +9 -3
  260. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +131 -0
  261. package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-remove.mdx +9 -5
  262. package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-set.mdx +10 -6
  263. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-add.mdx +15 -9
  264. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-list.mdx +11 -5
  265. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-remove.mdx +13 -7
  266. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-set.mdx +12 -6
  267. package/docs/docs/cmd/{aad → entra}/policy/policy-list.mdx +14 -8
  268. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-disable.mdx +9 -3
  269. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-enable.mdx +10 -4
  270. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-get.mdx +9 -3
  271. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-set.mdx +11 -5
  272. package/docs/docs/cmd/{aad → entra}/sp/sp-add.mdx +25 -19
  273. package/docs/docs/cmd/{aad → entra}/sp/sp-get.mdx +12 -6
  274. package/docs/docs/cmd/{aad → entra}/sp/sp-list.mdx +10 -4
  275. package/docs/docs/cmd/{aad → entra}/user/user-add.mdx +12 -6
  276. package/docs/docs/cmd/{aad → entra}/user/user-get.mdx +16 -10
  277. package/docs/docs/cmd/{aad → entra}/user/user-guest-add.mdx +11 -5
  278. package/docs/docs/cmd/{aad → entra}/user/user-hibp.mdx +10 -4
  279. package/docs/docs/cmd/{aad → entra}/user/user-license-add.mdx +10 -4
  280. package/docs/docs/cmd/{aad → entra}/user/user-license-list.mdx +11 -5
  281. package/docs/docs/cmd/{aad → entra}/user/user-license-remove.mdx +9 -3
  282. package/docs/docs/cmd/{aad → entra}/user/user-list.mdx +12 -6
  283. package/docs/docs/cmd/{aad → entra}/user/user-password-validate.mdx +9 -3
  284. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-clear.mdx +9 -3
  285. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-list.mdx +9 -3
  286. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-remove.mdx +9 -3
  287. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-restore.mdx +8 -2
  288. package/docs/docs/cmd/{aad → entra}/user/user-remove.mdx +9 -3
  289. package/docs/docs/cmd/{aad → entra}/user/user-set.mdx +15 -9
  290. package/docs/docs/cmd/{aad → entra}/user/user-signin-list.mdx +19 -13
  291. package/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx +47 -0
  292. package/docs/docs/cmd/flow/run/run-get.mdx +167 -4
  293. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.mdx +1 -1
  294. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.mdx +1 -1
  295. package/docs/docs/cmd/pa/app/app-get.mdx +15 -0
  296. package/docs/docs/cmd/pa/app/app-remove.mdx +14 -0
  297. package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
  298. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +1 -1
  299. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +1 -1
  300. package/docs/docs/cmd/spo/commandset/commandset-add.mdx +1 -1
  301. package/docs/docs/cmd/spo/commandset/commandset-set.mdx +1 -1
  302. package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +1 -1
  303. package/docs/docs/cmd/spo/customaction/customaction-add.mdx +1 -1
  304. package/docs/docs/cmd/spo/customaction/customaction-set.mdx +1 -1
  305. package/docs/docs/cmd/spo/field/field-set.mdx +1 -1
  306. package/docs/docs/cmd/spo/group/group-member-add.mdx +19 -7
  307. package/docs/docs/cmd/spo/group/group-member-remove.mdx +12 -6
  308. package/docs/docs/cmd/spo/list/list-view-set.mdx +1 -1
  309. package/docs/docs/cmd/spo/listitem/listitem-add.mdx +1 -1
  310. package/docs/docs/cmd/spo/listitem/listitem-batch-add.mdx +1 -1
  311. package/docs/docs/cmd/spo/listitem/listitem-list.mdx +1 -1
  312. package/docs/docs/cmd/spo/listitem/listitem-set.mdx +1 -1
  313. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.mdx +1 -1
  314. package/docs/docs/cmd/spo/page/page-control-set.mdx +1 -1
  315. package/docs/docs/cmd/spo/page/page-set.mdx +2 -2
  316. package/docs/docs/cmd/spo/site/site-add.mdx +1 -1
  317. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +1 -1
  318. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +1 -1
  319. package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
  320. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
  321. package/docs/docs/cmd/spo/term/term-add.mdx +1 -1
  322. package/docs/docs/cmd/spo/term/term-group-add.mdx +1 -1
  323. package/docs/docs/cmd/spo/term/term-set-add.mdx +1 -1
  324. package/docs/docs/cmd/spo/user/user-ensure.mdx +8 -5
  325. package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
  326. package/docs/docs/cmd/teams/user/user-app-add.mdx +8 -5
  327. package/npm-shrinkwrap.json +298 -542
  328. package/package.json +21 -21
  329. package/dist/m365/aad/commands/m365group/m365group-user-list.js +0 -94
  330. package/docs/docs/cmd/aad/app/app-permission-add.mdx +0 -62
  331. package/docs/docs/cmd/aad/app/app-remove.mdx +0 -59
  332. package/docs/docs/cmd/aad/app/app-role-add.mdx +0 -68
  333. package/docs/docs/cmd/aad/app/app-role-remove.mdx +0 -78
  334. package/docs/docs/cmd/aad/app/app-set.mdx +0 -97
  335. package/docs/docs/cmd/aad/group/group-remove.mdx +0 -44
  336. package/docs/docs/cmd/aad/m365group/m365group-user-list.mdx +0 -99
  337. /package/dist/m365/{aad → entra}/commands/approleassignment/ServicePrincipal.js +0 -0
  338. /package/dist/m365/{aad → entra}/commands/m365group/GroupExtended.js +0 -0
  339. /package/dist/m365/{aad → entra}/commands/siteclassification/SiteClassificationSettings.js +0 -0
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFileSharingInfoGetCommand_instances, _SpoFileSharingInfoGetCommand_initTelemetry, _SpoFileSharingInfoGetCommand_initOptions, _SpoFileSharingInfoGetCommand_initValidators, _SpoFileSharingInfoGetCommand_initOptionSets;
6
+ var _SpoFileSharingInfoGetCommand_instances, _SpoFileSharingInfoGetCommand_initTelemetry, _SpoFileSharingInfoGetCommand_initOptions, _SpoFileSharingInfoGetCommand_initValidators, _SpoFileSharingInfoGetCommand_initOptionSets, _SpoFileSharingInfoGetCommand_initTypes;
7
7
  import { cli } from '../../../../cli/cli.js';
8
8
  import request from '../../../../request.js';
9
9
  import { formatting } from '../../../../utils/formatting.js';
@@ -26,6 +26,7 @@ class SpoFileSharingInfoGetCommand extends SpoCommand {
26
26
  __classPrivateFieldGet(this, _SpoFileSharingInfoGetCommand_instances, "m", _SpoFileSharingInfoGetCommand_initOptions).call(this);
27
27
  __classPrivateFieldGet(this, _SpoFileSharingInfoGetCommand_instances, "m", _SpoFileSharingInfoGetCommand_initValidators).call(this);
28
28
  __classPrivateFieldGet(this, _SpoFileSharingInfoGetCommand_instances, "m", _SpoFileSharingInfoGetCommand_initOptionSets).call(this);
29
+ __classPrivateFieldGet(this, _SpoFileSharingInfoGetCommand_instances, "m", _SpoFileSharingInfoGetCommand_initTypes).call(this);
29
30
  }
30
31
  getExcludedOptionsWithUrls() {
31
32
  return ['fileUrl'];
@@ -106,8 +107,8 @@ class SpoFileSharingInfoGetCommand extends SpoCommand {
106
107
  _SpoFileSharingInfoGetCommand_instances = new WeakSet(), _SpoFileSharingInfoGetCommand_initTelemetry = function _SpoFileSharingInfoGetCommand_initTelemetry() {
107
108
  this.telemetry.push((args) => {
108
109
  Object.assign(this.telemetryProperties, {
109
- fileId: (!(!args.options.fileId)).toString(),
110
- fileUrl: (!(!args.options.fileUrl)).toString()
110
+ fileId: typeof args.options.fileId !== 'undefined',
111
+ fileUrl: typeof args.options.fileUrl !== 'undefined'
111
112
  });
112
113
  });
113
114
  }, _SpoFileSharingInfoGetCommand_initOptions = function _SpoFileSharingInfoGetCommand_initOptions() {
@@ -133,6 +134,8 @@ _SpoFileSharingInfoGetCommand_instances = new WeakSet(), _SpoFileSharingInfoGetC
133
134
  });
134
135
  }, _SpoFileSharingInfoGetCommand_initOptionSets = function _SpoFileSharingInfoGetCommand_initOptionSets() {
135
136
  this.optionSets.push({ options: ['fileId', 'fileUrl'] });
137
+ }, _SpoFileSharingInfoGetCommand_initTypes = function _SpoFileSharingInfoGetCommand_initTypes() {
138
+ this.types.string.push('webUrl', 'fileId', 'fileUrl');
136
139
  };
137
140
  export default new SpoFileSharingInfoGetCommand();
138
141
  //# sourceMappingURL=file-sharinginfo-get.js.map
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFileSharingLinkAddCommand_instances, _a, _SpoFileSharingLinkAddCommand_initTelemetry, _SpoFileSharingLinkAddCommand_initOptions, _SpoFileSharingLinkAddCommand_initValidators, _SpoFileSharingLinkAddCommand_initOptionSets;
6
+ var _SpoFileSharingLinkAddCommand_instances, _a, _SpoFileSharingLinkAddCommand_initTelemetry, _SpoFileSharingLinkAddCommand_initOptions, _SpoFileSharingLinkAddCommand_initValidators, _SpoFileSharingLinkAddCommand_initOptionSets, _SpoFileSharingLinkAddCommand_initTypes;
7
7
  import request from '../../../../request.js';
8
8
  import { spo } from '../../../../utils/spo.js';
9
9
  import { validation } from '../../../../utils/validation.js';
@@ -23,6 +23,7 @@ class SpoFileSharingLinkAddCommand extends SpoCommand {
23
23
  __classPrivateFieldGet(this, _SpoFileSharingLinkAddCommand_instances, "m", _SpoFileSharingLinkAddCommand_initOptions).call(this);
24
24
  __classPrivateFieldGet(this, _SpoFileSharingLinkAddCommand_instances, "m", _SpoFileSharingLinkAddCommand_initValidators).call(this);
25
25
  __classPrivateFieldGet(this, _SpoFileSharingLinkAddCommand_instances, "m", _SpoFileSharingLinkAddCommand_initOptionSets).call(this);
26
+ __classPrivateFieldGet(this, _SpoFileSharingLinkAddCommand_instances, "m", _SpoFileSharingLinkAddCommand_initTypes).call(this);
26
27
  }
27
28
  async commandAction(logger, args) {
28
29
  if (this.verbose) {
@@ -101,6 +102,8 @@ _a = SpoFileSharingLinkAddCommand, _SpoFileSharingLinkAddCommand_instances = new
101
102
  });
102
103
  }, _SpoFileSharingLinkAddCommand_initOptionSets = function _SpoFileSharingLinkAddCommand_initOptionSets() {
103
104
  this.optionSets.push({ options: ['fileId', 'fileUrl'] });
105
+ }, _SpoFileSharingLinkAddCommand_initTypes = function _SpoFileSharingLinkAddCommand_initTypes() {
106
+ this.types.string.push('webUrl', 'fileId', 'fileUrl', 'type', 'expirationDateTime', 'scope');
104
107
  };
105
108
  SpoFileSharingLinkAddCommand.types = ['view', 'edit'];
106
109
  SpoFileSharingLinkAddCommand.scopes = ['anonymous', 'organization'];
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFileSharingLinkClearCommand_instances, _SpoFileSharingLinkClearCommand_initTelemetry, _SpoFileSharingLinkClearCommand_initOptions, _SpoFileSharingLinkClearCommand_initValidators, _SpoFileSharingLinkClearCommand_initOptionSets;
6
+ var _SpoFileSharingLinkClearCommand_instances, _SpoFileSharingLinkClearCommand_initTelemetry, _SpoFileSharingLinkClearCommand_initOptions, _SpoFileSharingLinkClearCommand_initValidators, _SpoFileSharingLinkClearCommand_initOptionSets, _SpoFileSharingLinkClearCommand_initTypes;
7
7
  import { cli } from '../../../../cli/cli.js';
8
8
  import request from '../../../../request.js';
9
9
  import { spo } from '../../../../utils/spo.js';
@@ -26,6 +26,7 @@ class SpoFileSharingLinkClearCommand extends SpoCommand {
26
26
  __classPrivateFieldGet(this, _SpoFileSharingLinkClearCommand_instances, "m", _SpoFileSharingLinkClearCommand_initOptions).call(this);
27
27
  __classPrivateFieldGet(this, _SpoFileSharingLinkClearCommand_instances, "m", _SpoFileSharingLinkClearCommand_initValidators).call(this);
28
28
  __classPrivateFieldGet(this, _SpoFileSharingLinkClearCommand_instances, "m", _SpoFileSharingLinkClearCommand_initOptionSets).call(this);
29
+ __classPrivateFieldGet(this, _SpoFileSharingLinkClearCommand_instances, "m", _SpoFileSharingLinkClearCommand_initTypes).call(this);
29
30
  }
30
31
  async commandAction(logger, args) {
31
32
  const clearSharingLinks = async () => {
@@ -112,6 +113,9 @@ _SpoFileSharingLinkClearCommand_instances = new WeakSet(), _SpoFileSharingLinkCl
112
113
  });
113
114
  }, _SpoFileSharingLinkClearCommand_initOptionSets = function _SpoFileSharingLinkClearCommand_initOptionSets() {
114
115
  this.optionSets.push({ options: ['fileUrl', 'fileId'] });
116
+ }, _SpoFileSharingLinkClearCommand_initTypes = function _SpoFileSharingLinkClearCommand_initTypes() {
117
+ this.types.string.push('webUrl', 'fileUrl', 'fileId', 'scope');
118
+ this.types.boolean.push('force');
115
119
  };
116
120
  export default new SpoFileSharingLinkClearCommand();
117
121
  //# sourceMappingURL=file-sharinglink-clear.js.map
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFileSharingLinkGetCommand_instances, _SpoFileSharingLinkGetCommand_initTelemetry, _SpoFileSharingLinkGetCommand_initOptions, _SpoFileSharingLinkGetCommand_initValidators, _SpoFileSharingLinkGetCommand_initOptionSets;
6
+ var _SpoFileSharingLinkGetCommand_instances, _SpoFileSharingLinkGetCommand_initTelemetry, _SpoFileSharingLinkGetCommand_initOptions, _SpoFileSharingLinkGetCommand_initValidators, _SpoFileSharingLinkGetCommand_initOptionSets, _SpoFileSharingLinkGetCommand_initTypes;
7
7
  import request from '../../../../request.js';
8
8
  import { spo } from '../../../../utils/spo.js';
9
9
  import { validation } from '../../../../utils/validation.js';
@@ -23,6 +23,7 @@ class SpoFileSharingLinkGetCommand extends SpoCommand {
23
23
  __classPrivateFieldGet(this, _SpoFileSharingLinkGetCommand_instances, "m", _SpoFileSharingLinkGetCommand_initOptions).call(this);
24
24
  __classPrivateFieldGet(this, _SpoFileSharingLinkGetCommand_instances, "m", _SpoFileSharingLinkGetCommand_initValidators).call(this);
25
25
  __classPrivateFieldGet(this, _SpoFileSharingLinkGetCommand_instances, "m", _SpoFileSharingLinkGetCommand_initOptionSets).call(this);
26
+ __classPrivateFieldGet(this, _SpoFileSharingLinkGetCommand_instances, "m", _SpoFileSharingLinkGetCommand_initTypes).call(this);
26
27
  }
27
28
  async commandAction(logger, args) {
28
29
  if (this.verbose) {
@@ -75,6 +76,8 @@ _SpoFileSharingLinkGetCommand_instances = new WeakSet(), _SpoFileSharingLinkGetC
75
76
  });
76
77
  }, _SpoFileSharingLinkGetCommand_initOptionSets = function _SpoFileSharingLinkGetCommand_initOptionSets() {
77
78
  this.optionSets.push({ options: ['fileUrl', 'fileId'] });
79
+ }, _SpoFileSharingLinkGetCommand_initTypes = function _SpoFileSharingLinkGetCommand_initTypes() {
80
+ this.types.string.push('webUrl', 'fileUrl', 'fileId', 'id');
78
81
  };
79
82
  export default new SpoFileSharingLinkGetCommand();
80
83
  //# sourceMappingURL=file-sharinglink-get.js.map
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFileSharingLinkListCommand_instances, _a, _SpoFileSharingLinkListCommand_initTelemetry, _SpoFileSharingLinkListCommand_initOptions, _SpoFileSharingLinkListCommand_initValidators, _SpoFileSharingLinkListCommand_initOptionSets;
6
+ var _SpoFileSharingLinkListCommand_instances, _a, _SpoFileSharingLinkListCommand_initTelemetry, _SpoFileSharingLinkListCommand_initOptions, _SpoFileSharingLinkListCommand_initValidators, _SpoFileSharingLinkListCommand_initOptionSets, _SpoFileSharingLinkListCommand_initTypes;
7
7
  import { cli } from '../../../../cli/cli.js';
8
8
  import { odata } from '../../../../utils/odata.js';
9
9
  import { spo } from '../../../../utils/spo.js';
@@ -27,6 +27,7 @@ class SpoFileSharingLinkListCommand extends SpoCommand {
27
27
  __classPrivateFieldGet(this, _SpoFileSharingLinkListCommand_instances, "m", _SpoFileSharingLinkListCommand_initOptions).call(this);
28
28
  __classPrivateFieldGet(this, _SpoFileSharingLinkListCommand_instances, "m", _SpoFileSharingLinkListCommand_initValidators).call(this);
29
29
  __classPrivateFieldGet(this, _SpoFileSharingLinkListCommand_instances, "m", _SpoFileSharingLinkListCommand_initOptionSets).call(this);
30
+ __classPrivateFieldGet(this, _SpoFileSharingLinkListCommand_instances, "m", _SpoFileSharingLinkListCommand_initTypes).call(this);
30
31
  }
31
32
  async commandAction(logger, args) {
32
33
  if (this.verbose) {
@@ -94,6 +95,8 @@ _a = SpoFileSharingLinkListCommand, _SpoFileSharingLinkListCommand_instances = n
94
95
  });
95
96
  }, _SpoFileSharingLinkListCommand_initOptionSets = function _SpoFileSharingLinkListCommand_initOptionSets() {
96
97
  this.optionSets.push({ options: ['fileId', 'fileUrl'] });
98
+ }, _SpoFileSharingLinkListCommand_initTypes = function _SpoFileSharingLinkListCommand_initTypes() {
99
+ this.types.string.push('webUrl', 'fileId', 'fileUrl', 'scope');
97
100
  };
98
101
  SpoFileSharingLinkListCommand.allowedScopes = ['anonymous', 'users', 'organization'];
99
102
  export default new SpoFileSharingLinkListCommand();
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFileSharingLinkRemoveCommand_instances, _SpoFileSharingLinkRemoveCommand_initTelemetry, _SpoFileSharingLinkRemoveCommand_initOptions, _SpoFileSharingLinkRemoveCommand_initValidators, _SpoFileSharingLinkRemoveCommand_initOptionSets;
6
+ var _SpoFileSharingLinkRemoveCommand_instances, _SpoFileSharingLinkRemoveCommand_initTelemetry, _SpoFileSharingLinkRemoveCommand_initOptions, _SpoFileSharingLinkRemoveCommand_initValidators, _SpoFileSharingLinkRemoveCommand_initOptionSets, _SpoFileSharingLinkRemoveCommand_initTypes;
7
7
  import { cli } from '../../../../cli/cli.js';
8
8
  import request from '../../../../request.js';
9
9
  import { spo } from '../../../../utils/spo.js';
@@ -24,6 +24,7 @@ class SpoFileSharingLinkRemoveCommand extends SpoCommand {
24
24
  __classPrivateFieldGet(this, _SpoFileSharingLinkRemoveCommand_instances, "m", _SpoFileSharingLinkRemoveCommand_initOptions).call(this);
25
25
  __classPrivateFieldGet(this, _SpoFileSharingLinkRemoveCommand_instances, "m", _SpoFileSharingLinkRemoveCommand_initValidators).call(this);
26
26
  __classPrivateFieldGet(this, _SpoFileSharingLinkRemoveCommand_instances, "m", _SpoFileSharingLinkRemoveCommand_initOptionSets).call(this);
27
+ __classPrivateFieldGet(this, _SpoFileSharingLinkRemoveCommand_instances, "m", _SpoFileSharingLinkRemoveCommand_initTypes).call(this);
27
28
  }
28
29
  async commandAction(logger, args) {
29
30
  const removeSharingLink = async () => {
@@ -89,6 +90,9 @@ _SpoFileSharingLinkRemoveCommand_instances = new WeakSet(), _SpoFileSharingLinkR
89
90
  });
90
91
  }, _SpoFileSharingLinkRemoveCommand_initOptionSets = function _SpoFileSharingLinkRemoveCommand_initOptionSets() {
91
92
  this.optionSets.push({ options: ['fileUrl', 'fileId'] });
93
+ }, _SpoFileSharingLinkRemoveCommand_initTypes = function _SpoFileSharingLinkRemoveCommand_initTypes() {
94
+ this.types.string.push('webUrl', 'fileUrl', 'fileId', 'id');
95
+ this.types.boolean.push('force');
92
96
  };
93
97
  export default new SpoFileSharingLinkRemoveCommand();
94
98
  //# sourceMappingURL=file-sharinglink-remove.js.map
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFileSharingLinkSetCommand_instances, _SpoFileSharingLinkSetCommand_initTelemetry, _SpoFileSharingLinkSetCommand_initOptions, _SpoFileSharingLinkSetCommand_initValidators, _SpoFileSharingLinkSetCommand_initOptionSets;
6
+ var _SpoFileSharingLinkSetCommand_instances, _SpoFileSharingLinkSetCommand_initTelemetry, _SpoFileSharingLinkSetCommand_initOptions, _SpoFileSharingLinkSetCommand_initValidators, _SpoFileSharingLinkSetCommand_initOptionSets, _SpoFileSharingLinkSetCommand_initTypes;
7
7
  import request from '../../../../request.js';
8
8
  import { spo } from '../../../../utils/spo.js';
9
9
  import { validation } from '../../../../utils/validation.js';
@@ -23,6 +23,7 @@ class SpoFileSharingLinkSetCommand extends SpoCommand {
23
23
  __classPrivateFieldGet(this, _SpoFileSharingLinkSetCommand_instances, "m", _SpoFileSharingLinkSetCommand_initOptions).call(this);
24
24
  __classPrivateFieldGet(this, _SpoFileSharingLinkSetCommand_instances, "m", _SpoFileSharingLinkSetCommand_initValidators).call(this);
25
25
  __classPrivateFieldGet(this, _SpoFileSharingLinkSetCommand_instances, "m", _SpoFileSharingLinkSetCommand_initOptionSets).call(this);
26
+ __classPrivateFieldGet(this, _SpoFileSharingLinkSetCommand_instances, "m", _SpoFileSharingLinkSetCommand_initTypes).call(this);
26
27
  }
27
28
  async commandAction(logger, args) {
28
29
  if (this.verbose) {
@@ -86,6 +87,8 @@ _SpoFileSharingLinkSetCommand_instances = new WeakSet(), _SpoFileSharingLinkSetC
86
87
  });
87
88
  }, _SpoFileSharingLinkSetCommand_initOptionSets = function _SpoFileSharingLinkSetCommand_initOptionSets() {
88
89
  this.optionSets.push({ options: ['fileId', 'fileUrl'] });
90
+ }, _SpoFileSharingLinkSetCommand_initTypes = function _SpoFileSharingLinkSetCommand_initTypes() {
91
+ this.types.string.push('webUrl', 'id', 'fileId', 'fileUrl', 'expirationDateTime');
89
92
  };
90
93
  export default new SpoFileSharingLinkSetCommand();
91
94
  //# sourceMappingURL=file-sharinglink-set.js.map
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFileVersionClearCommand_instances, _SpoFileVersionClearCommand_initTelemetry, _SpoFileVersionClearCommand_initOptions, _SpoFileVersionClearCommand_initValidators, _SpoFileVersionClearCommand_initOptionSets;
6
+ var _SpoFileVersionClearCommand_instances, _SpoFileVersionClearCommand_initTelemetry, _SpoFileVersionClearCommand_initOptions, _SpoFileVersionClearCommand_initValidators, _SpoFileVersionClearCommand_initOptionSets, _SpoFileVersionClearCommand_initTypes;
7
7
  import { cli } from '../../../../cli/cli.js';
8
8
  import request from '../../../../request.js';
9
9
  import { formatting } from '../../../../utils/formatting.js';
@@ -25,6 +25,7 @@ class SpoFileVersionClearCommand extends SpoCommand {
25
25
  __classPrivateFieldGet(this, _SpoFileVersionClearCommand_instances, "m", _SpoFileVersionClearCommand_initOptions).call(this);
26
26
  __classPrivateFieldGet(this, _SpoFileVersionClearCommand_instances, "m", _SpoFileVersionClearCommand_initValidators).call(this);
27
27
  __classPrivateFieldGet(this, _SpoFileVersionClearCommand_instances, "m", _SpoFileVersionClearCommand_initOptionSets).call(this);
28
+ __classPrivateFieldGet(this, _SpoFileVersionClearCommand_instances, "m", _SpoFileVersionClearCommand_initTypes).call(this);
28
29
  }
29
30
  async commandAction(logger, args) {
30
31
  if (this.verbose) {
@@ -69,7 +70,7 @@ _SpoFileVersionClearCommand_instances = new WeakSet(), _SpoFileVersionClearComma
69
70
  Object.assign(this.telemetryProperties, {
70
71
  fileUrl: args.options.fileUrl,
71
72
  fileId: args.options.fileId,
72
- force: (!!args.options.force).toString()
73
+ force: !!args.options.force
73
74
  });
74
75
  });
75
76
  }, _SpoFileVersionClearCommand_initOptions = function _SpoFileVersionClearCommand_initOptions() {
@@ -91,6 +92,9 @@ _SpoFileVersionClearCommand_instances = new WeakSet(), _SpoFileVersionClearComma
91
92
  });
92
93
  }, _SpoFileVersionClearCommand_initOptionSets = function _SpoFileVersionClearCommand_initOptionSets() {
93
94
  this.optionSets.push({ options: ['fileUrl', 'fileId'] });
95
+ }, _SpoFileVersionClearCommand_initTypes = function _SpoFileVersionClearCommand_initTypes() {
96
+ this.types.string.push('webUrl', 'fileUrl', 'fileId');
97
+ this.types.boolean.push('force');
94
98
  };
95
99
  export default new SpoFileVersionClearCommand();
96
100
  //# sourceMappingURL=file-version-clear.js.map
@@ -85,7 +85,7 @@ _SpoFileVersionGetCommand_instances = new WeakSet(), _SpoFileVersionGetCommand_i
85
85
  }, _SpoFileVersionGetCommand_initOptionSets = function _SpoFileVersionGetCommand_initOptionSets() {
86
86
  this.optionSets.push({ options: ['fileUrl', 'fileId'] });
87
87
  }, _SpoFileVersionGetCommand_initTypes = function _SpoFileVersionGetCommand_initTypes() {
88
- this.types.string.push('label');
88
+ this.types.string.push('webUrl', 'label', 'fileUrl', 'fileId');
89
89
  };
90
90
  export default new SpoFileVersionGetCommand();
91
91
  //# sourceMappingURL=file-version-get.js.map
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFileVersionListCommand_instances, _SpoFileVersionListCommand_initTelemetry, _SpoFileVersionListCommand_initOptions, _SpoFileVersionListCommand_initValidators, _SpoFileVersionListCommand_initOptionSets;
6
+ var _SpoFileVersionListCommand_instances, _SpoFileVersionListCommand_initTelemetry, _SpoFileVersionListCommand_initOptions, _SpoFileVersionListCommand_initValidators, _SpoFileVersionListCommand_initOptionSets, _SpoFileVersionListCommand_initTypes;
7
7
  import { formatting } from '../../../../utils/formatting.js';
8
8
  import { odata } from '../../../../utils/odata.js';
9
9
  import { urlUtil } from '../../../../utils/urlUtil.js';
@@ -27,6 +27,7 @@ class SpoFileVersionListCommand extends SpoCommand {
27
27
  __classPrivateFieldGet(this, _SpoFileVersionListCommand_instances, "m", _SpoFileVersionListCommand_initOptions).call(this);
28
28
  __classPrivateFieldGet(this, _SpoFileVersionListCommand_instances, "m", _SpoFileVersionListCommand_initValidators).call(this);
29
29
  __classPrivateFieldGet(this, _SpoFileVersionListCommand_instances, "m", _SpoFileVersionListCommand_initOptionSets).call(this);
30
+ __classPrivateFieldGet(this, _SpoFileVersionListCommand_instances, "m", _SpoFileVersionListCommand_initTypes).call(this);
30
31
  }
31
32
  async commandAction(logger, args) {
32
33
  if (this.verbose) {
@@ -74,6 +75,8 @@ _SpoFileVersionListCommand_instances = new WeakSet(), _SpoFileVersionListCommand
74
75
  });
75
76
  }, _SpoFileVersionListCommand_initOptionSets = function _SpoFileVersionListCommand_initOptionSets() {
76
77
  this.optionSets.push({ options: ['fileUrl', 'fileId'] });
78
+ }, _SpoFileVersionListCommand_initTypes = function _SpoFileVersionListCommand_initTypes() {
79
+ this.types.string.push('webUrl', 'fileUrl', 'fileId');
77
80
  };
78
81
  export default new SpoFileVersionListCommand();
79
82
  //# sourceMappingURL=file-version-list.js.map
@@ -95,7 +95,8 @@ _SpoFileVersionRemoveCommand_instances = new WeakSet(), _SpoFileVersionRemoveCom
95
95
  }, _SpoFileVersionRemoveCommand_initOptionSets = function _SpoFileVersionRemoveCommand_initOptionSets() {
96
96
  this.optionSets.push({ options: ['fileUrl', 'fileId'] });
97
97
  }, _SpoFileVersionRemoveCommand_initTypes = function _SpoFileVersionRemoveCommand_initTypes() {
98
- this.types.string.push('label');
98
+ this.types.string.push('webUrl', 'label', 'fileUrl', 'fileId');
99
+ this.types.boolean.push('force');
99
100
  };
100
101
  export default new SpoFileVersionRemoveCommand();
101
102
  //# sourceMappingURL=file-version-remove.js.map
@@ -95,7 +95,8 @@ _SpoFileVersionRestoreCommand_instances = new WeakSet(), _SpoFileVersionRestoreC
95
95
  }, _SpoFileVersionRestoreCommand_initOptionSets = function _SpoFileVersionRestoreCommand_initOptionSets() {
96
96
  this.optionSets.push({ options: ['fileUrl', 'fileId'] });
97
97
  }, _SpoFileVersionRestoreCommand_initTypes = function _SpoFileVersionRestoreCommand_initTypes() {
98
- this.types.string.push('label');
98
+ this.types.string.push('webUrl', 'label', 'fileUrl', 'fileId');
99
+ this.types.boolean.push('force');
99
100
  };
100
101
  export default new SpoFileVersionRestoreCommand();
101
102
  //# sourceMappingURL=file-version-restore.js.map
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFolderAddCommand_instances, _SpoFolderAddCommand_initOptions, _SpoFolderAddCommand_initValidators;
6
+ var _SpoFolderAddCommand_instances, _SpoFolderAddCommand_initOptions, _SpoFolderAddCommand_initValidators, _SpoFolderAddCommand_initTypes;
7
7
  import request from '../../../../request.js';
8
8
  import { formatting } from '../../../../utils/formatting.js';
9
9
  import { urlUtil } from '../../../../utils/urlUtil.js';
@@ -22,6 +22,7 @@ class SpoFolderAddCommand extends SpoCommand {
22
22
  _SpoFolderAddCommand_instances.add(this);
23
23
  __classPrivateFieldGet(this, _SpoFolderAddCommand_instances, "m", _SpoFolderAddCommand_initOptions).call(this);
24
24
  __classPrivateFieldGet(this, _SpoFolderAddCommand_instances, "m", _SpoFolderAddCommand_initValidators).call(this);
25
+ __classPrivateFieldGet(this, _SpoFolderAddCommand_instances, "m", _SpoFolderAddCommand_initTypes).call(this);
25
26
  }
26
27
  async commandAction(logger, args) {
27
28
  if (this.verbose) {
@@ -56,6 +57,8 @@ _SpoFolderAddCommand_instances = new WeakSet(), _SpoFolderAddCommand_initOptions
56
57
  });
57
58
  }, _SpoFolderAddCommand_initValidators = function _SpoFolderAddCommand_initValidators() {
58
59
  this.validators.push(async (args) => validation.isValidSharePointUrl(args.options.webUrl));
60
+ }, _SpoFolderAddCommand_initTypes = function _SpoFolderAddCommand_initTypes() {
61
+ this.types.string.push('webUrl', 'parentFolderUrl', 'name');
59
62
  };
60
63
  export default new SpoFolderAddCommand();
61
64
  //# sourceMappingURL=folder-add.js.map
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFolderCopyCommand_instances, _SpoFolderCopyCommand_initTelemetry, _SpoFolderCopyCommand_initOptions, _SpoFolderCopyCommand_initValidators, _SpoFolderCopyCommand_initOptionSets;
6
+ var _SpoFolderCopyCommand_instances, _SpoFolderCopyCommand_initTelemetry, _SpoFolderCopyCommand_initOptions, _SpoFolderCopyCommand_initValidators, _SpoFolderCopyCommand_initOptionSets, _SpoFolderCopyCommand_initTypes;
7
7
  import request from '../../../../request.js';
8
8
  import { urlUtil } from '../../../../utils/urlUtil.js';
9
9
  import { validation } from '../../../../utils/validation.js';
@@ -24,6 +24,7 @@ class SpoFolderCopyCommand extends SpoCommand {
24
24
  __classPrivateFieldGet(this, _SpoFolderCopyCommand_instances, "m", _SpoFolderCopyCommand_initOptions).call(this);
25
25
  __classPrivateFieldGet(this, _SpoFolderCopyCommand_instances, "m", _SpoFolderCopyCommand_initValidators).call(this);
26
26
  __classPrivateFieldGet(this, _SpoFolderCopyCommand_instances, "m", _SpoFolderCopyCommand_initOptionSets).call(this);
27
+ __classPrivateFieldGet(this, _SpoFolderCopyCommand_instances, "m", _SpoFolderCopyCommand_initTypes).call(this);
27
28
  }
28
29
  getExcludedOptionsWithUrls() {
29
30
  return ['targetUrl', 'sourceUrl'];
@@ -136,6 +137,9 @@ _SpoFolderCopyCommand_instances = new WeakSet(), _SpoFolderCopyCommand_initTelem
136
137
  });
137
138
  }, _SpoFolderCopyCommand_initOptionSets = function _SpoFolderCopyCommand_initOptionSets() {
138
139
  this.optionSets.push({ options: ['sourceUrl', 'sourceId'] });
140
+ }, _SpoFolderCopyCommand_initTypes = function _SpoFolderCopyCommand_initTypes() {
141
+ this.types.string.push('webUrl', 'sourceUrl', 'sourceId', 'targetUrl', 'newName', 'nameConflictBehavior');
142
+ this.types.boolean.push('resetAuthorAndCreated', 'bypassSharedLock');
139
143
  };
140
144
  export default new SpoFolderCopyCommand();
141
145
  //# sourceMappingURL=folder-copy.js.map
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFolderGetCommand_instances, _SpoFolderGetCommand_initTelemetry, _SpoFolderGetCommand_initOptions, _SpoFolderGetCommand_initValidators, _SpoFolderGetCommand_initOptionSets;
6
+ var _SpoFolderGetCommand_instances, _SpoFolderGetCommand_initTelemetry, _SpoFolderGetCommand_initOptions, _SpoFolderGetCommand_initValidators, _SpoFolderGetCommand_initOptionSets, _SpoFolderGetCommand_initTypes;
7
7
  import { CommandError } from '../../../../Command.js';
8
8
  import request from '../../../../request.js';
9
9
  import { formatting } from '../../../../utils/formatting.js';
@@ -26,6 +26,7 @@ class SpoFolderGetCommand extends SpoCommand {
26
26
  __classPrivateFieldGet(this, _SpoFolderGetCommand_instances, "m", _SpoFolderGetCommand_initOptions).call(this);
27
27
  __classPrivateFieldGet(this, _SpoFolderGetCommand_instances, "m", _SpoFolderGetCommand_initValidators).call(this);
28
28
  __classPrivateFieldGet(this, _SpoFolderGetCommand_instances, "m", _SpoFolderGetCommand_initOptionSets).call(this);
29
+ __classPrivateFieldGet(this, _SpoFolderGetCommand_instances, "m", _SpoFolderGetCommand_initTypes).call(this);
29
30
  }
30
31
  getExcludedOptionsWithUrls() {
31
32
  return ['url'];
@@ -107,6 +108,8 @@ _SpoFolderGetCommand_instances = new WeakSet(), _SpoFolderGetCommand_initTelemet
107
108
  });
108
109
  }, _SpoFolderGetCommand_initOptionSets = function _SpoFolderGetCommand_initOptionSets() {
109
110
  this.optionSets.push({ options: ['url', 'id'] });
111
+ }, _SpoFolderGetCommand_initTypes = function _SpoFolderGetCommand_initTypes() {
112
+ this.types.string.push('webUrl', 'url', 'id');
110
113
  };
111
114
  export default new SpoFolderGetCommand();
112
115
  //# sourceMappingURL=folder-get.js.map
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFolderListCommand_instances, _SpoFolderListCommand_initTelemetry, _SpoFolderListCommand_initOptions, _SpoFolderListCommand_initValidators;
6
+ var _SpoFolderListCommand_instances, _SpoFolderListCommand_initTelemetry, _SpoFolderListCommand_initOptions, _SpoFolderListCommand_initValidators, _SpoFolderListCommand_initTypes;
7
7
  import request from '../../../../request.js';
8
8
  import { formatting } from '../../../../utils/formatting.js';
9
9
  import { urlUtil } from '../../../../utils/urlUtil.js';
@@ -26,6 +26,7 @@ class SpoFolderListCommand extends SpoCommand {
26
26
  __classPrivateFieldGet(this, _SpoFolderListCommand_instances, "m", _SpoFolderListCommand_initTelemetry).call(this);
27
27
  __classPrivateFieldGet(this, _SpoFolderListCommand_instances, "m", _SpoFolderListCommand_initOptions).call(this);
28
28
  __classPrivateFieldGet(this, _SpoFolderListCommand_instances, "m", _SpoFolderListCommand_initValidators).call(this);
29
+ __classPrivateFieldGet(this, _SpoFolderListCommand_instances, "m", _SpoFolderListCommand_initTypes).call(this);
29
30
  }
30
31
  async commandAction(logger, args) {
31
32
  if (this.verbose) {
@@ -121,10 +122,13 @@ _SpoFolderListCommand_instances = new WeakSet(), _SpoFolderListCommand_initTelem
121
122
  }, {
122
123
  option: '--filter [filter]'
123
124
  }, {
124
- option: '-r, --recursive [recursive]'
125
+ option: '-r, --recursive'
125
126
  });
126
127
  }, _SpoFolderListCommand_initValidators = function _SpoFolderListCommand_initValidators() {
127
128
  this.validators.push(async (args) => validation.isValidSharePointUrl(args.options.webUrl));
129
+ }, _SpoFolderListCommand_initTypes = function _SpoFolderListCommand_initTypes() {
130
+ this.types.string.push('webUrl', 'parentFolderUrl', 'fields', 'filter');
131
+ this.types.boolean.push('recursive');
128
132
  };
129
133
  SpoFolderListCommand.pageSize = 5000;
130
134
  export default new SpoFolderListCommand();
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFolderMoveCommand_instances, _SpoFolderMoveCommand_initTelemetry, _SpoFolderMoveCommand_initOptions, _SpoFolderMoveCommand_initValidators, _SpoFolderMoveCommand_initOptionSets;
6
+ var _SpoFolderMoveCommand_instances, _SpoFolderMoveCommand_initTelemetry, _SpoFolderMoveCommand_initOptions, _SpoFolderMoveCommand_initValidators, _SpoFolderMoveCommand_initOptionSets, _SpoFolderMoveCommand_initTypes;
7
7
  import request from '../../../../request.js';
8
8
  import { urlUtil } from '../../../../utils/urlUtil.js';
9
9
  import { validation } from '../../../../utils/validation.js';
@@ -24,6 +24,7 @@ class SpoFolderMoveCommand extends SpoCommand {
24
24
  __classPrivateFieldGet(this, _SpoFolderMoveCommand_instances, "m", _SpoFolderMoveCommand_initOptions).call(this);
25
25
  __classPrivateFieldGet(this, _SpoFolderMoveCommand_instances, "m", _SpoFolderMoveCommand_initValidators).call(this);
26
26
  __classPrivateFieldGet(this, _SpoFolderMoveCommand_instances, "m", _SpoFolderMoveCommand_initOptionSets).call(this);
27
+ __classPrivateFieldGet(this, _SpoFolderMoveCommand_instances, "m", _SpoFolderMoveCommand_initTypes).call(this);
27
28
  }
28
29
  getExcludedOptionsWithUrls() {
29
30
  return ['targetUrl', 'sourceUrl'];
@@ -136,6 +137,9 @@ _SpoFolderMoveCommand_instances = new WeakSet(), _SpoFolderMoveCommand_initTelem
136
137
  });
137
138
  }, _SpoFolderMoveCommand_initOptionSets = function _SpoFolderMoveCommand_initOptionSets() {
138
139
  this.optionSets.push({ options: ['sourceUrl', 'sourceId'] });
140
+ }, _SpoFolderMoveCommand_initTypes = function _SpoFolderMoveCommand_initTypes() {
141
+ this.types.string.push('webUrl', 'sourceUrl', 'sourceId', 'targetUrl', 'newName', 'nameConflictBehavior');
142
+ this.types.boolean.push('retainEditorAndModified', 'bypassSharedLock');
139
143
  };
140
144
  export default new SpoFolderMoveCommand();
141
145
  //# sourceMappingURL=folder-move.js.map
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFolderRemoveCommand_instances, _SpoFolderRemoveCommand_initTelemetry, _SpoFolderRemoveCommand_initOptions, _SpoFolderRemoveCommand_initValidators;
6
+ var _SpoFolderRemoveCommand_instances, _SpoFolderRemoveCommand_initTelemetry, _SpoFolderRemoveCommand_initOptions, _SpoFolderRemoveCommand_initValidators, _SpoFolderRemoveCommand_initTypes;
7
7
  import { cli } from '../../../../cli/cli.js';
8
8
  import request from '../../../../request.js';
9
9
  import { formatting } from '../../../../utils/formatting.js';
@@ -24,6 +24,7 @@ class SpoFolderRemoveCommand extends SpoCommand {
24
24
  __classPrivateFieldGet(this, _SpoFolderRemoveCommand_instances, "m", _SpoFolderRemoveCommand_initTelemetry).call(this);
25
25
  __classPrivateFieldGet(this, _SpoFolderRemoveCommand_instances, "m", _SpoFolderRemoveCommand_initOptions).call(this);
26
26
  __classPrivateFieldGet(this, _SpoFolderRemoveCommand_instances, "m", _SpoFolderRemoveCommand_initValidators).call(this);
27
+ __classPrivateFieldGet(this, _SpoFolderRemoveCommand_instances, "m", _SpoFolderRemoveCommand_initTypes).call(this);
27
28
  }
28
29
  getExcludedOptionsWithUrls() {
29
30
  return ['url'];
@@ -85,6 +86,9 @@ _SpoFolderRemoveCommand_instances = new WeakSet(), _SpoFolderRemoveCommand_initT
85
86
  });
86
87
  }, _SpoFolderRemoveCommand_initValidators = function _SpoFolderRemoveCommand_initValidators() {
87
88
  this.validators.push(async (args) => validation.isValidSharePointUrl(args.options.webUrl));
89
+ }, _SpoFolderRemoveCommand_initTypes = function _SpoFolderRemoveCommand_initTypes() {
90
+ this.types.string.push('webUrl', 'url');
91
+ this.types.boolean.push('recycle', 'force');
88
92
  };
89
93
  export default new SpoFolderRemoveCommand();
90
94
  //# sourceMappingURL=folder-remove.js.map
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFolderRenameCommand_instances, _SpoFolderRenameCommand_initOptions, _SpoFolderRenameCommand_initValidators;
6
+ var _SpoFolderRenameCommand_instances, _SpoFolderRenameCommand_initOptions, _SpoFolderRenameCommand_initValidators, _SpoFolderRenameCommand_initTypes;
7
7
  import request from '../../../../request.js';
8
8
  import { formatting } from '../../../../utils/formatting.js';
9
9
  import { urlUtil } from '../../../../utils/urlUtil.js';
@@ -22,6 +22,7 @@ class SpoFolderRenameCommand extends SpoCommand {
22
22
  _SpoFolderRenameCommand_instances.add(this);
23
23
  __classPrivateFieldGet(this, _SpoFolderRenameCommand_instances, "m", _SpoFolderRenameCommand_initOptions).call(this);
24
24
  __classPrivateFieldGet(this, _SpoFolderRenameCommand_instances, "m", _SpoFolderRenameCommand_initValidators).call(this);
25
+ __classPrivateFieldGet(this, _SpoFolderRenameCommand_instances, "m", _SpoFolderRenameCommand_initTypes).call(this);
25
26
  }
26
27
  getExcludedOptionsWithUrls() {
27
28
  return ['url'];
@@ -64,6 +65,8 @@ _SpoFolderRenameCommand_instances = new WeakSet(), _SpoFolderRenameCommand_initO
64
65
  });
65
66
  }, _SpoFolderRenameCommand_initValidators = function _SpoFolderRenameCommand_initValidators() {
66
67
  this.validators.push(async (args) => validation.isValidSharePointUrl(args.options.webUrl));
68
+ }, _SpoFolderRenameCommand_initTypes = function _SpoFolderRenameCommand_initTypes() {
69
+ this.types.string.push('webUrl', 'url', 'name');
67
70
  };
68
71
  export default new SpoFolderRenameCommand();
69
72
  //# sourceMappingURL=folder-rename.js.map
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFolderRetentionLabelEnsureCommand_instances, _SpoFolderRetentionLabelEnsureCommand_initTelemetry, _SpoFolderRetentionLabelEnsureCommand_initOptions, _SpoFolderRetentionLabelEnsureCommand_initValidators, _SpoFolderRetentionLabelEnsureCommand_initOptionSets;
6
+ var _SpoFolderRetentionLabelEnsureCommand_instances, _SpoFolderRetentionLabelEnsureCommand_initTelemetry, _SpoFolderRetentionLabelEnsureCommand_initOptions, _SpoFolderRetentionLabelEnsureCommand_initValidators, _SpoFolderRetentionLabelEnsureCommand_initOptionSets, _SpoFolderRetentionLabelEnsureCommand_initTypes;
7
7
  import * as url from 'url';
8
8
  import request from '../../../../request.js';
9
9
  import { formatting } from '../../../../utils/formatting.js';
@@ -26,6 +26,7 @@ class SpoFolderRetentionLabelEnsureCommand extends SpoCommand {
26
26
  __classPrivateFieldGet(this, _SpoFolderRetentionLabelEnsureCommand_instances, "m", _SpoFolderRetentionLabelEnsureCommand_initOptions).call(this);
27
27
  __classPrivateFieldGet(this, _SpoFolderRetentionLabelEnsureCommand_instances, "m", _SpoFolderRetentionLabelEnsureCommand_initValidators).call(this);
28
28
  __classPrivateFieldGet(this, _SpoFolderRetentionLabelEnsureCommand_instances, "m", _SpoFolderRetentionLabelEnsureCommand_initOptionSets).call(this);
29
+ __classPrivateFieldGet(this, _SpoFolderRetentionLabelEnsureCommand_instances, "m", _SpoFolderRetentionLabelEnsureCommand_initTypes).call(this);
29
30
  }
30
31
  async commandAction(logger, args) {
31
32
  try {
@@ -98,6 +99,8 @@ _SpoFolderRetentionLabelEnsureCommand_instances = new WeakSet(), _SpoFolderReten
98
99
  });
99
100
  }, _SpoFolderRetentionLabelEnsureCommand_initOptionSets = function _SpoFolderRetentionLabelEnsureCommand_initOptionSets() {
100
101
  this.optionSets.push({ options: ['folderUrl', 'folderId'] });
102
+ }, _SpoFolderRetentionLabelEnsureCommand_initTypes = function _SpoFolderRetentionLabelEnsureCommand_initTypes() {
103
+ this.types.string.push('webUrl', 'name', 'folderUrl', 'folderId');
101
104
  };
102
105
  export default new SpoFolderRetentionLabelEnsureCommand();
103
106
  //# sourceMappingURL=folder-retentionlabel-ensure.js.map
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFolderRetentionLabelRemoveCommand_instances, _SpoFolderRetentionLabelRemoveCommand_initTelemetry, _SpoFolderRetentionLabelRemoveCommand_initOptions, _SpoFolderRetentionLabelRemoveCommand_initValidators, _SpoFolderRetentionLabelRemoveCommand_initOptionSets;
6
+ var _SpoFolderRetentionLabelRemoveCommand_instances, _SpoFolderRetentionLabelRemoveCommand_initTelemetry, _SpoFolderRetentionLabelRemoveCommand_initOptions, _SpoFolderRetentionLabelRemoveCommand_initValidators, _SpoFolderRetentionLabelRemoveCommand_initOptionSets, _SpoFolderRetentionLabelRemoveCommand_initTypes;
7
7
  import * as url from 'url';
8
8
  import { cli } from '../../../../cli/cli.js';
9
9
  import request from '../../../../request.js';
@@ -27,6 +27,7 @@ class SpoFolderRetentionLabelRemoveCommand extends SpoCommand {
27
27
  __classPrivateFieldGet(this, _SpoFolderRetentionLabelRemoveCommand_instances, "m", _SpoFolderRetentionLabelRemoveCommand_initOptions).call(this);
28
28
  __classPrivateFieldGet(this, _SpoFolderRetentionLabelRemoveCommand_instances, "m", _SpoFolderRetentionLabelRemoveCommand_initValidators).call(this);
29
29
  __classPrivateFieldGet(this, _SpoFolderRetentionLabelRemoveCommand_instances, "m", _SpoFolderRetentionLabelRemoveCommand_initOptionSets).call(this);
30
+ __classPrivateFieldGet(this, _SpoFolderRetentionLabelRemoveCommand_instances, "m", _SpoFolderRetentionLabelRemoveCommand_initTypes).call(this);
30
31
  }
31
32
  async commandAction(logger, args) {
32
33
  if (args.options.force) {
@@ -111,6 +112,9 @@ _SpoFolderRetentionLabelRemoveCommand_instances = new WeakSet(), _SpoFolderReten
111
112
  });
112
113
  }, _SpoFolderRetentionLabelRemoveCommand_initOptionSets = function _SpoFolderRetentionLabelRemoveCommand_initOptionSets() {
113
114
  this.optionSets.push({ options: ['folderUrl', 'folderId'] });
115
+ }, _SpoFolderRetentionLabelRemoveCommand_initTypes = function _SpoFolderRetentionLabelRemoveCommand_initTypes() {
116
+ this.types.string.push('webUrl', 'folderUrl', 'folderId');
117
+ this.types.boolean.push('force');
114
118
  };
115
119
  export default new SpoFolderRetentionLabelRemoveCommand();
116
120
  //# sourceMappingURL=folder-retentionlabel-remove.js.map
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
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
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _SpoFolderRoleAssignmentAddCommand_instances, _SpoFolderRoleAssignmentAddCommand_initTelemetry, _SpoFolderRoleAssignmentAddCommand_initOptions, _SpoFolderRoleAssignmentAddCommand_initValidators;
6
+ var _SpoFolderRoleAssignmentAddCommand_instances, _SpoFolderRoleAssignmentAddCommand_initTelemetry, _SpoFolderRoleAssignmentAddCommand_initOptions, _SpoFolderRoleAssignmentAddCommand_initValidators, _SpoFolderRoleAssignmentAddCommand_initTypes;
7
7
  import { cli } from '../../../../cli/cli.js';
8
8
  import request from '../../../../request.js';
9
9
  import { formatting } from '../../../../utils/formatting.js';
@@ -27,6 +27,7 @@ class SpoFolderRoleAssignmentAddCommand extends SpoCommand {
27
27
  __classPrivateFieldGet(this, _SpoFolderRoleAssignmentAddCommand_instances, "m", _SpoFolderRoleAssignmentAddCommand_initTelemetry).call(this);
28
28
  __classPrivateFieldGet(this, _SpoFolderRoleAssignmentAddCommand_instances, "m", _SpoFolderRoleAssignmentAddCommand_initOptions).call(this);
29
29
  __classPrivateFieldGet(this, _SpoFolderRoleAssignmentAddCommand_instances, "m", _SpoFolderRoleAssignmentAddCommand_initValidators).call(this);
30
+ __classPrivateFieldGet(this, _SpoFolderRoleAssignmentAddCommand_instances, "m", _SpoFolderRoleAssignmentAddCommand_initTypes).call(this);
30
31
  }
31
32
  async commandAction(logger, args) {
32
33
  if (this.verbose) {
@@ -187,6 +188,8 @@ _SpoFolderRoleAssignmentAddCommand_instances = new WeakSet(), _SpoFolderRoleAssi
187
188
  }
188
189
  return true;
189
190
  });
191
+ }, _SpoFolderRoleAssignmentAddCommand_initTypes = function _SpoFolderRoleAssignmentAddCommand_initTypes() {
192
+ this.types.string.push('webUrl', 'folderUrl', 'upn', 'groupName', 'roleDefinitionName');
190
193
  };
191
194
  export default new SpoFolderRoleAssignmentAddCommand();
192
195
  //# sourceMappingURL=folder-roleassignment-add.js.map