@pnp/cli-microsoft365 6.0.0 → 6.1.0-beta.11542c0
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.
- package/.eslintrc.js +2 -0
- package/dist/Auth.js +3 -3
- package/dist/Command.js +98 -14
- package/dist/GlobalOptions.js +2 -0
- package/dist/auth/FileTokenStorage.js +3 -3
- package/dist/cli/Cli.js +67 -69
- package/dist/index.js +2 -5
- package/dist/m365/aad/commands/app/app-add.js +6 -6
- package/dist/m365/aad/commands/app/app-get.js +6 -6
- package/dist/m365/aad/commands/app/app-remove.js +6 -6
- package/dist/m365/aad/commands/app/app-role-add.js +6 -6
- package/dist/m365/aad/commands/app/app-role-list.js +6 -6
- package/dist/m365/aad/commands/app/app-role-remove.js +6 -6
- package/dist/m365/aad/commands/app/app-set.js +6 -6
- package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +6 -6
- package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +6 -6
- package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +6 -6
- package/dist/m365/aad/commands/group/group-get.js +79 -0
- package/dist/m365/aad/commands/group/group-list.js +6 -6
- package/dist/m365/aad/commands/groupsetting/groupsetting-add.js +6 -6
- package/dist/m365/aad/commands/groupsetting/groupsetting-get.js +6 -6
- package/dist/m365/aad/commands/groupsetting/groupsetting-remove.js +6 -6
- package/dist/m365/aad/commands/groupsetting/groupsetting-set.js +6 -6
- package/dist/m365/aad/commands/groupsettingtemplate/groupsettingtemplate-get.js +6 -6
- package/dist/m365/aad/commands/o365group/o365group-add.js +22 -15
- package/dist/m365/aad/commands/o365group/o365group-conversation-list.js +6 -6
- package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +6 -6
- package/dist/m365/aad/commands/o365group/o365group-get.js +6 -6
- package/dist/m365/aad/commands/o365group/o365group-list.js +6 -6
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-clear.js +6 -6
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-list.js +6 -6
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-remove.js +6 -6
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +6 -6
- package/dist/m365/aad/commands/o365group/o365group-remove.js +7 -7
- package/dist/m365/aad/commands/o365group/o365group-renew.js +6 -6
- package/dist/m365/aad/commands/o365group/o365group-set.js +14 -15
- package/dist/m365/aad/commands/o365group/o365group-teamify.js +6 -6
- package/dist/m365/aad/commands/o365group/o365group-user-add.js +8 -8
- package/dist/m365/aad/commands/o365group/o365group-user-list.js +6 -6
- package/dist/m365/aad/commands/o365group/o365group-user-remove.js +8 -8
- package/dist/m365/aad/commands/o365group/o365group-user-set.js +8 -8
- package/dist/m365/aad/commands/oauth2grant/oauth2grant-add.js +6 -6
- package/dist/m365/aad/commands/oauth2grant/oauth2grant-list.js +6 -6
- package/dist/m365/aad/commands/oauth2grant/oauth2grant-remove.js +5 -5
- package/dist/m365/aad/commands/oauth2grant/oauth2grant-set.js +5 -5
- package/dist/m365/aad/commands/policy/policy-list.js +6 -6
- package/dist/m365/aad/commands/siteclassification/siteclassification-disable.js +6 -6
- package/dist/m365/aad/commands/siteclassification/siteclassification-enable.js +6 -6
- package/dist/m365/aad/commands/siteclassification/siteclassification-set.js +6 -6
- package/dist/m365/aad/commands/sp/sp-add.js +6 -6
- package/dist/m365/aad/commands/sp/sp-get.js +6 -6
- package/dist/m365/aad/commands/user/user-get.js +6 -6
- package/dist/m365/aad/commands/user/user-guest-add.js +6 -6
- package/dist/m365/aad/commands/user/user-hibp.js +6 -6
- package/dist/m365/aad/commands/user/user-list.js +6 -6
- package/dist/m365/aad/commands/user/user-password-validate.js +5 -5
- package/dist/m365/aad/commands/user/user-set.js +100 -23
- package/dist/m365/aad/commands/user/user-signin-list.js +6 -6
- package/dist/m365/aad/commands.js +1 -0
- package/dist/m365/adaptivecard/commands/adaptivecard-send.js +6 -6
- package/dist/m365/app/commands/app-open.js +6 -6
- package/dist/m365/base/AppCommand.js +3 -3
- package/dist/m365/base/ContextCommand.js +33 -0
- package/dist/m365/booking/commands/business/business-get.js +7 -7
- package/dist/m365/cli/commands/cli-consent.js +6 -6
- package/dist/m365/cli/commands/cli-issue.js +6 -6
- package/dist/m365/cli/commands/completion/completion-pwsh-setup.js +5 -5
- package/dist/m365/cli/commands/config/config-get.js +6 -6
- package/dist/m365/cli/commands/config/config-reset.js +6 -6
- package/dist/m365/cli/commands/config/config-set.js +8 -7
- package/dist/m365/commands/login.js +6 -6
- package/dist/m365/commands/request.js +8 -8
- package/dist/m365/context/commands/context-init.js +28 -0
- package/dist/m365/context/commands/context-remove.js +103 -0
- package/dist/m365/context/commands.js +8 -0
- package/dist/m365/file/commands/convert/convert-pdf.js +6 -6
- package/dist/m365/file/commands/file-add.js +6 -6
- package/dist/m365/file/commands/file-list.js +8 -8
- package/dist/m365/flow/commands/environment/environment-get.js +5 -5
- package/dist/m365/flow/commands/flow-disable.js +5 -5
- package/dist/m365/flow/commands/flow-enable.js +5 -5
- package/dist/m365/flow/commands/flow-export.js +6 -6
- package/dist/m365/flow/commands/flow-get.js +5 -5
- package/dist/m365/flow/commands/flow-list.js +6 -6
- package/dist/m365/flow/commands/flow-remove.js +6 -6
- package/dist/m365/flow/commands/run/run-cancel.js +6 -6
- package/dist/m365/flow/commands/run/run-get.js +5 -5
- package/dist/m365/flow/commands/run/run-list.js +5 -5
- package/dist/m365/flow/commands/run/run-resubmit.js +6 -6
- package/dist/m365/graph/commands/changelog/changelog-list.js +9 -9
- package/dist/m365/graph/commands/schemaextension/schemaextension-add.js +6 -6
- package/dist/m365/graph/commands/schemaextension/schemaextension-get.js +5 -5
- package/dist/m365/graph/commands/schemaextension/schemaextension-list.js +6 -6
- package/dist/m365/graph/commands/schemaextension/schemaextension-remove.js +6 -6
- package/dist/m365/graph/commands/schemaextension/schemaextension-set.js +6 -6
- package/dist/m365/graph/commands/subscription/subscription-add.js +6 -6
- package/dist/m365/onenote/commands/notebook/notebook-list.js +6 -6
- package/dist/m365/outlook/commands/mail/mail-send.js +12 -12
- package/dist/m365/outlook/commands/message/message-get.js +6 -6
- package/dist/m365/outlook/commands/message/message-list.js +6 -6
- package/dist/m365/outlook/commands/message/message-move.js +6 -6
- package/dist/m365/outlook/commands/room/room-list.js +6 -6
- package/dist/m365/pa/cds-project-mutator.js +3 -3
- package/dist/m365/pa/commands/app/app-get.js +8 -8
- package/dist/m365/pa/commands/app/app-list.js +7 -7
- package/dist/m365/pa/commands/app/app-remove.js +6 -6
- package/dist/m365/pa/commands/connector/connector-export.js +7 -7
- package/dist/m365/pa/commands/connector/connector-list.js +5 -5
- package/dist/m365/pa/commands/environment/environment-get.js +5 -5
- package/dist/m365/pa/commands/pcf/pcf-init.js +6 -6
- package/dist/m365/pa/commands/solution/solution-init.js +6 -6
- package/dist/m365/pa/commands/solution/solution-reference-add.js +6 -6
- package/dist/m365/planner/commands/bucket/bucket-add.js +8 -8
- package/dist/m365/planner/commands/bucket/bucket-get.js +6 -6
- package/dist/m365/planner/commands/bucket/bucket-list.js +8 -8
- package/dist/m365/planner/commands/bucket/bucket-remove.js +6 -6
- package/dist/m365/planner/commands/bucket/bucket-set.js +6 -6
- package/dist/m365/planner/commands/plan/plan-add.js +8 -8
- package/dist/m365/planner/commands/plan/plan-get.js +8 -8
- package/dist/m365/planner/commands/plan/plan-list.js +6 -6
- package/dist/m365/planner/commands/plan/plan-remove.js +6 -6
- package/dist/m365/planner/commands/plan/plan-set.js +305 -0
- package/dist/m365/planner/commands/task/task-add.js +6 -6
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +6 -6
- package/dist/m365/planner/commands/task/task-checklistitem-list.js +5 -5
- package/dist/m365/planner/commands/task/task-checklistitem-remove.js +6 -6
- package/dist/m365/planner/commands/task/task-get.js +6 -6
- package/dist/m365/planner/commands/task/task-list.js +7 -7
- package/dist/m365/planner/commands/task/task-reference-add.js +6 -6
- package/dist/m365/planner/commands/task/task-reference-list.js +5 -5
- package/dist/m365/planner/commands/task/task-reference-remove.js +6 -6
- package/dist/m365/planner/commands/task/task-remove.js +6 -6
- package/dist/m365/planner/commands/task/task-set.js +6 -6
- package/dist/m365/planner/commands/tenant/tenant-settings-set.js +10 -13
- package/dist/m365/planner/commands.js +1 -0
- package/dist/m365/pp/commands/card/card-clone.js +6 -6
- package/dist/m365/pp/commands/card/card-get.js +8 -8
- package/dist/m365/pp/commands/card/card-list.js +6 -6
- package/dist/m365/pp/commands/card/card-remove.js +6 -6
- package/dist/m365/pp/commands/chatbot/chatbot-get.js +111 -0
- package/dist/m365/pp/commands/chatbot/chatbot-list.js +6 -6
- package/dist/m365/pp/commands/chatbot/chatbot-remove.js +131 -0
- package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +6 -6
- package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +6 -6
- package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +6 -6
- package/dist/m365/pp/commands/dataverse/dataverse-table-row-list.js +95 -0
- package/dist/m365/pp/commands/dataverse/dataverse-table-row-remove.js +133 -0
- package/dist/m365/pp/commands/environment/environment-get.js +11 -19
- package/dist/m365/pp/commands/environment/environment-list.js +6 -6
- package/dist/m365/pp/commands/gateway/gateway-get.js +6 -6
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +6 -6
- package/dist/m365/pp/commands/solution/solution-get.js +8 -8
- package/dist/m365/pp/commands/solution/solution-list.js +6 -6
- package/dist/m365/pp/commands/solution/solution-publisher-add.js +101 -0
- package/dist/m365/pp/commands/solution/solution-publisher-get.js +8 -8
- package/dist/m365/pp/commands/solution/solution-publisher-list.js +6 -6
- package/dist/m365/pp/commands/solution/solution-publisher-remove.js +6 -6
- package/dist/m365/pp/commands/solution/solution-remove.js +6 -6
- package/dist/m365/pp/commands.js +5 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +38 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +92 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +142 -0
- package/dist/m365/purview/commands.js +9 -0
- package/dist/m365/search/commands/externalconnection/externalconnection-add.js +6 -6
- package/dist/m365/search/commands/externalconnection/externalconnection-get.js +6 -6
- package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +6 -6
- package/dist/m365/spfx/commands/package/package-generate.js +6 -6
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.16.1.js +23 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +16 -10
- package/dist/m365/spfx/commands/project/project-externalize.js +14 -9
- package/dist/m365/spfx/commands/project/project-model/ScssFile.js +3 -3
- package/dist/m365/spfx/commands/project/project-model/TsFile.js +3 -3
- package/dist/m365/spfx/commands/project/project-rename.js +6 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006006_CFG_PS_features.js +63 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015009_FILE_config_sass_json.js +14 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.16.1.js +59 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +16 -10
- package/dist/m365/spfx/commands/spfx-doctor.js +24 -9
- package/dist/m365/spo/commands/app/app-add.js +6 -6
- package/dist/m365/spo/commands/app/app-deploy.js +6 -6
- package/dist/m365/spo/commands/app/app-get.js +6 -6
- package/dist/m365/spo/commands/app/app-install.js +6 -6
- package/dist/m365/spo/commands/app/app-instance-list.js +6 -6
- package/dist/m365/spo/commands/app/app-list.js +7 -7
- package/dist/m365/spo/commands/app/app-remove.js +6 -6
- package/dist/m365/spo/commands/app/app-retract.js +6 -6
- package/dist/m365/spo/commands/app/app-teamspackage-download.js +6 -6
- package/dist/m365/spo/commands/app/app-uninstall.js +6 -6
- package/dist/m365/spo/commands/app/app-upgrade.js +6 -6
- package/dist/m365/spo/commands/apppage/apppage-add.js +6 -6
- package/dist/m365/spo/commands/apppage/apppage-set.js +6 -6
- package/dist/m365/spo/commands/cdn/cdn-get.js +6 -6
- package/dist/m365/spo/commands/cdn/cdn-origin-add.js +6 -6
- package/dist/m365/spo/commands/cdn/cdn-origin-list.js +6 -6
- package/dist/m365/spo/commands/cdn/cdn-origin-remove.js +6 -6
- package/dist/m365/spo/commands/cdn/cdn-policy-list.js +6 -6
- package/dist/m365/spo/commands/cdn/cdn-policy-set.js +6 -6
- package/dist/m365/spo/commands/cdn/cdn-set.js +12 -13
- package/dist/m365/spo/commands/contenttype/contenttype-add.js +6 -6
- package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +6 -6
- package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +15 -24
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +6 -6
- package/dist/m365/spo/commands/contenttype/contenttype-list.js +7 -7
- package/dist/m365/spo/commands/contenttype/contenttype-remove.js +6 -6
- package/dist/m365/spo/commands/contenttype/contenttype-set.js +83 -36
- package/dist/m365/spo/commands/customaction/customaction-add.js +6 -6
- package/dist/m365/spo/commands/customaction/customaction-clear.js +6 -6
- package/dist/m365/spo/commands/customaction/customaction-get.js +6 -6
- package/dist/m365/spo/commands/customaction/customaction-list.js +7 -7
- package/dist/m365/spo/commands/customaction/customaction-remove.js +6 -6
- package/dist/m365/spo/commands/customaction/customaction-set.js +7 -7
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +6 -6
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +7 -7
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +6 -6
- package/dist/m365/spo/commands/externaluser/externaluser-list.js +6 -6
- package/dist/m365/spo/commands/feature/feature-disable.js +6 -6
- package/dist/m365/spo/commands/feature/feature-enable.js +6 -6
- package/dist/m365/spo/commands/feature/feature-list.js +6 -6
- package/dist/m365/spo/commands/field/field-add.js +6 -6
- package/dist/m365/spo/commands/field/field-get.js +6 -6
- package/dist/m365/spo/commands/field/field-list.js +7 -7
- package/dist/m365/spo/commands/field/field-remove.js +6 -6
- package/dist/m365/spo/commands/field/field-set.js +6 -6
- package/dist/m365/spo/commands/file/file-add.js +9 -9
- package/dist/m365/spo/commands/file/file-checkin.js +6 -6
- package/dist/m365/spo/commands/file/file-checkout.js +6 -6
- package/dist/m365/spo/commands/file/file-copy.js +6 -6
- package/dist/m365/spo/commands/file/file-get.js +11 -23
- package/dist/m365/spo/commands/file/file-list.js +6 -6
- package/dist/m365/spo/commands/file/file-move.js +6 -6
- package/dist/m365/spo/commands/file/file-remove.js +6 -6
- package/dist/m365/spo/commands/file/file-rename.js +6 -6
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +6 -6
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +6 -6
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +6 -6
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +6 -6
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +6 -6
- package/dist/m365/spo/commands/file/file-version-clear.js +6 -6
- package/dist/m365/spo/commands/file/file-version-get.js +6 -6
- package/dist/m365/spo/commands/file/file-version-list.js +8 -8
- package/dist/m365/spo/commands/file/file-version-remove.js +6 -6
- package/dist/m365/spo/commands/file/file-version-restore.js +6 -6
- package/dist/m365/spo/commands/folder/folder-add.js +6 -6
- package/dist/m365/spo/commands/folder/folder-copy.js +6 -6
- package/dist/m365/spo/commands/folder/folder-get.js +7 -15
- package/dist/m365/spo/commands/folder/folder-list.js +7 -7
- package/dist/m365/spo/commands/folder/folder-move.js +6 -6
- package/dist/m365/spo/commands/folder/folder-remove.js +6 -6
- package/dist/m365/spo/commands/folder/folder-rename.js +6 -6
- package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +6 -6
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +6 -6
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +6 -6
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +6 -6
- package/dist/m365/spo/commands/group/group-add.js +22 -24
- package/dist/m365/spo/commands/group/group-get.js +6 -6
- package/dist/m365/spo/commands/group/group-list.js +7 -7
- package/dist/m365/spo/commands/group/group-member-add.js +76 -38
- package/dist/m365/spo/commands/group/group-member-list.js +8 -8
- package/dist/m365/spo/commands/group/group-member-remove.js +55 -12
- package/dist/m365/spo/commands/group/group-remove.js +6 -6
- package/dist/m365/spo/commands/group/group-set.js +22 -24
- package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-set.js +12 -17
- package/dist/m365/spo/commands/homesite/homesite-remove.js +6 -6
- package/dist/m365/spo/commands/homesite/homesite-set.js +6 -6
- package/dist/m365/spo/commands/hubsite/hubsite-connect.js +6 -6
- package/dist/m365/spo/commands/hubsite/hubsite-data-get.js +6 -6
- package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +6 -6
- package/dist/m365/spo/commands/hubsite/hubsite-get.js +6 -6
- package/dist/m365/spo/commands/hubsite/hubsite-list.js +8 -8
- package/dist/m365/spo/commands/hubsite/hubsite-register.js +6 -6
- package/dist/m365/spo/commands/hubsite/hubsite-rights-grant.js +6 -6
- package/dist/m365/spo/commands/hubsite/hubsite-rights-revoke.js +6 -6
- package/dist/m365/spo/commands/hubsite/hubsite-set.js +6 -6
- package/dist/m365/spo/commands/hubsite/hubsite-unregister.js +6 -6
- package/dist/m365/spo/commands/knowledgehub/knowledgehub-remove.js +6 -6
- package/dist/m365/spo/commands/knowledgehub/knowledgehub-set.js +6 -6
- package/dist/m365/spo/commands/list/list-add.js +60 -73
- package/dist/m365/spo/commands/list/list-contenttype-add.js +6 -6
- package/dist/m365/spo/commands/list/list-contenttype-default-set.js +6 -6
- package/dist/m365/spo/commands/list/list-contenttype-list.js +8 -8
- package/dist/m365/spo/commands/list/list-contenttype-remove.js +6 -6
- package/dist/m365/spo/commands/list/list-get.js +6 -6
- package/dist/m365/spo/commands/list/list-list.js +6 -6
- package/dist/m365/spo/commands/list/list-remove.js +6 -6
- package/dist/m365/spo/commands/list/{list-label-set.js → list-retentionlabel-ensure.js} +28 -18
- package/dist/m365/spo/commands/list/{list-label-get.js → list-retentionlabel-get.js} +22 -18
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +6 -6
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +6 -6
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +6 -6
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +6 -6
- package/dist/m365/spo/commands/list/list-set.js +59 -71
- package/dist/m365/spo/commands/list/list-sitescript-get.js +6 -6
- package/dist/m365/spo/commands/list/list-view-add.js +6 -6
- package/dist/m365/spo/commands/list/list-view-field-add.js +6 -6
- package/dist/m365/spo/commands/list/list-view-field-remove.js +6 -6
- package/dist/m365/spo/commands/list/list-view-field-set.js +6 -6
- package/dist/m365/spo/commands/list/list-view-get.js +6 -6
- package/dist/m365/spo/commands/list/list-view-list.js +8 -8
- package/dist/m365/spo/commands/list/list-view-remove.js +6 -6
- package/dist/m365/spo/commands/list/list-view-set.js +8 -8
- package/dist/m365/spo/commands/list/list-webhook-add.js +6 -6
- package/dist/m365/spo/commands/list/list-webhook-get.js +6 -6
- package/dist/m365/spo/commands/list/list-webhook-list.js +8 -8
- package/dist/m365/spo/commands/list/list-webhook-remove.js +6 -6
- package/dist/m365/spo/commands/list/list-webhook-set.js +6 -6
- package/dist/m365/spo/commands/listitem/listitem-add.js +9 -9
- package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +6 -6
- package/dist/m365/spo/commands/listitem/listitem-batch-add.js +26 -19
- package/dist/m365/spo/commands/listitem/listitem-get.js +13 -25
- package/dist/m365/spo/commands/listitem/listitem-isrecord.js +6 -6
- package/dist/m365/spo/commands/listitem/listitem-list.js +8 -8
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +6 -6
- package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +6 -6
- package/dist/m365/spo/commands/listitem/listitem-remove.js +7 -7
- package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +143 -0
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +6 -6
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +6 -6
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +6 -6
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +6 -6
- package/dist/m365/spo/commands/listitem/listitem-set.js +16 -13
- package/dist/m365/spo/commands/mail/mail-send.js +6 -6
- package/dist/m365/spo/commands/navigation/navigation-node-add.js +11 -7
- package/dist/m365/spo/commands/navigation/navigation-node-list.js +6 -6
- package/dist/m365/spo/commands/navigation/navigation-node-remove.js +6 -6
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +6 -6
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-remove.js +5 -5
- package/dist/m365/spo/commands/orgnewssite/orgnewssite-remove.js +6 -6
- package/dist/m365/spo/commands/orgnewssite/orgnewssite-set.js +6 -6
- package/dist/m365/spo/commands/page/clientsidepages.js +3 -3
- package/dist/m365/spo/commands/page/page-add.js +66 -69
- package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +6 -6
- package/dist/m365/spo/commands/page/page-column-get.js +6 -6
- package/dist/m365/spo/commands/page/page-column-list.js +6 -6
- package/dist/m365/spo/commands/page/page-control-get.js +6 -6
- package/dist/m365/spo/commands/page/page-control-list.js +6 -6
- package/dist/m365/spo/commands/page/page-control-set.js +6 -6
- package/dist/m365/spo/commands/page/page-copy.js +7 -7
- package/dist/m365/spo/commands/page/page-get.js +6 -6
- package/dist/m365/spo/commands/page/page-header-set.js +6 -6
- package/dist/m365/spo/commands/page/page-list.js +6 -6
- package/dist/m365/spo/commands/page/page-remove.js +6 -6
- package/dist/m365/spo/commands/page/page-section-add.js +6 -6
- package/dist/m365/spo/commands/page/page-section-get.js +6 -6
- package/dist/m365/spo/commands/page/page-section-list.js +6 -6
- package/dist/m365/spo/commands/page/page-set.js +70 -83
- package/dist/m365/spo/commands/page/page-template-list.js +6 -6
- package/dist/m365/spo/commands/page/page-text-add.js +6 -6
- package/dist/m365/spo/commands/propertybag/propertybag-get.js +6 -6
- package/dist/m365/spo/commands/propertybag/propertybag-list.js +6 -6
- package/dist/m365/spo/commands/propertybag/propertybag-remove.js +6 -6
- package/dist/m365/spo/commands/propertybag/propertybag-set.js +6 -6
- package/dist/m365/spo/commands/roledefinition/roledefinition-add.js +7 -7
- package/dist/m365/spo/commands/roledefinition/roledefinition-get.js +6 -6
- package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +8 -19
- package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +6 -6
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-add.js +5 -5
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-revoke.js +5 -5
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-approve.js +76 -27
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-deny.js +6 -6
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-set.js +14 -22
- package/dist/m365/spo/commands/site/site-add.js +7 -7
- package/dist/m365/spo/commands/site/site-appcatalog-add.js +6 -6
- package/dist/m365/spo/commands/site/site-appcatalog-list.js +43 -0
- package/dist/m365/spo/commands/site/site-appcatalog-remove.js +6 -6
- package/dist/m365/spo/commands/site/site-apppermission-add.js +6 -6
- package/dist/m365/spo/commands/site/site-apppermission-get.js +6 -6
- package/dist/m365/spo/commands/site/site-apppermission-list.js +6 -6
- package/dist/m365/spo/commands/site/site-apppermission-remove.js +6 -6
- package/dist/m365/spo/commands/site/site-apppermission-set.js +6 -6
- package/dist/m365/spo/commands/site/site-chrome-set.js +19 -13
- package/dist/m365/spo/commands/site/site-commsite-enable.js +6 -6
- package/dist/m365/spo/commands/site/site-ensure.js +14 -10
- package/dist/m365/spo/commands/site/site-get.js +6 -6
- package/dist/m365/spo/commands/site/site-groupify.js +6 -6
- package/dist/m365/spo/commands/site/site-hubsite-connect.js +6 -6
- package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +6 -6
- package/dist/m365/spo/commands/site/site-hubsite-theme-sync.js +6 -6
- package/dist/m365/spo/commands/site/site-inplacerecordsmanagement-set.js +14 -14
- package/dist/m365/spo/commands/site/site-list.js +7 -7
- package/dist/m365/spo/commands/site/site-recyclebinitem-list.js +7 -7
- package/dist/m365/spo/commands/site/site-recyclebinitem-restore.js +6 -6
- package/dist/m365/spo/commands/site/site-remove.js +6 -6
- package/dist/m365/spo/commands/site/site-rename.js +6 -6
- package/dist/m365/spo/commands/site/site-set.js +23 -37
- package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +6 -6
- package/dist/m365/spo/commands/sitedesign/sitedesign-apply.js +6 -6
- package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +6 -6
- package/dist/m365/spo/commands/sitedesign/sitedesign-remove.js +6 -6
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-grant.js +6 -6
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-list.js +6 -6
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-revoke.js +6 -6
- package/dist/m365/spo/commands/sitedesign/sitedesign-run-list.js +7 -7
- package/dist/m365/spo/commands/sitedesign/sitedesign-run-status-get.js +6 -6
- package/dist/m365/spo/commands/sitedesign/sitedesign-set.js +14 -15
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-get.js +6 -6
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-list.js +6 -6
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +6 -6
- package/dist/m365/spo/commands/sitescript/sitescript-add.js +6 -6
- package/dist/m365/spo/commands/sitescript/sitescript-get.js +6 -6
- package/dist/m365/spo/commands/sitescript/sitescript-remove.js +6 -6
- package/dist/m365/spo/commands/sitescript/sitescript-set.js +6 -6
- package/dist/m365/spo/commands/spo-search.js +6 -6
- package/dist/m365/spo/commands/spo-set.js +6 -6
- package/dist/m365/spo/commands/storageentity/storageentity-get.js +5 -5
- package/dist/m365/spo/commands/storageentity/storageentity-list.js +6 -6
- package/dist/m365/spo/commands/storageentity/storageentity-remove.js +6 -6
- package/dist/m365/spo/commands/storageentity/storageentity-set.js +6 -6
- package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +6 -6
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +6 -6
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +6 -6
- package/dist/m365/spo/commands/tenant/tenant-settings-set.js +73 -63
- package/dist/m365/spo/commands/term/term-add.js +6 -6
- package/dist/m365/spo/commands/term/term-get.js +6 -6
- package/dist/m365/spo/commands/term/term-group-add.js +6 -6
- package/dist/m365/spo/commands/term/term-group-get.js +6 -6
- package/dist/m365/spo/commands/term/term-list.js +8 -8
- package/dist/m365/spo/commands/term/term-set-add.js +6 -6
- package/dist/m365/spo/commands/term/term-set-get.js +6 -6
- package/dist/m365/spo/commands/term/term-set-list.js +6 -6
- package/dist/m365/spo/commands/theme/theme-apply.js +6 -6
- package/dist/m365/spo/commands/theme/theme-get.js +5 -5
- package/dist/m365/spo/commands/theme/theme-remove.js +6 -6
- package/dist/m365/spo/commands/theme/theme-set.js +6 -6
- package/dist/m365/spo/commands/user/user-get.js +6 -6
- package/dist/m365/spo/commands/user/user-list.js +6 -6
- package/dist/m365/spo/commands/user/user-remove.js +6 -6
- package/dist/m365/spo/commands/userprofile/userprofile-get.js +6 -6
- package/dist/m365/spo/commands/userprofile/userprofile-set.js +5 -5
- package/dist/m365/spo/commands/web/web-add.js +6 -6
- package/dist/m365/spo/commands/web/web-clientsidewebpart-list.js +6 -6
- package/dist/m365/spo/commands/web/web-get.js +11 -22
- package/dist/m365/spo/commands/web/web-installedlanguage-list.js +6 -6
- package/dist/m365/spo/commands/web/web-list.js +6 -6
- package/dist/m365/spo/commands/web/web-reindex.js +6 -6
- package/dist/m365/spo/commands/web/web-remove.js +6 -6
- package/dist/m365/spo/commands/web/web-retentionlabel-list.js +63 -0
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +6 -6
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +6 -6
- package/dist/m365/spo/commands/web/web-roleinheritance-break.js +6 -6
- package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +6 -6
- package/dist/m365/spo/commands/web/web-set.js +18 -31
- package/dist/m365/spo/commands.js +5 -0
- package/dist/m365/teams/commands/app/app-install.js +6 -6
- package/dist/m365/teams/commands/app/app-list.js +7 -7
- package/dist/m365/teams/commands/app/app-publish.js +6 -6
- package/dist/m365/teams/commands/app/app-remove.js +6 -6
- package/dist/m365/teams/commands/app/app-uninstall.js +6 -6
- package/dist/m365/teams/commands/app/app-update.js +6 -6
- package/dist/m365/teams/commands/cache/cache-remove.js +30 -46
- package/dist/m365/teams/commands/channel/channel-add.js +6 -6
- package/dist/m365/teams/commands/channel/channel-get.js +6 -6
- package/dist/m365/teams/commands/channel/channel-list.js +8 -8
- package/dist/m365/teams/commands/channel/channel-member-add.js +6 -6
- package/dist/m365/teams/commands/channel/channel-member-list.js +9 -9
- package/dist/m365/teams/commands/channel/channel-member-remove.js +6 -6
- package/dist/m365/teams/commands/channel/channel-member-set.js +6 -6
- package/dist/m365/teams/commands/channel/channel-remove.js +6 -6
- package/dist/m365/teams/commands/channel/channel-set.js +6 -6
- package/dist/m365/teams/commands/chat/chat-get.js +6 -6
- package/dist/m365/teams/commands/chat/chat-list.js +7 -7
- package/dist/m365/teams/commands/chat/chat-member-list.js +6 -6
- package/dist/m365/teams/commands/chat/chat-message-list.js +6 -6
- package/dist/m365/teams/commands/chat/chat-message-send.js +6 -6
- package/dist/m365/teams/commands/funsettings/funsettings-list.js +6 -6
- package/dist/m365/teams/commands/funsettings/funsettings-set.js +18 -25
- package/dist/m365/teams/commands/guestsettings/guestsettings-list.js +6 -6
- package/dist/m365/teams/commands/guestsettings/guestsettings-set.js +18 -26
- package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +121 -0
- package/dist/m365/teams/commands/meeting/meeting-get.js +6 -6
- package/dist/m365/teams/commands/meeting/meeting-list.js +7 -7
- package/dist/m365/teams/commands/membersettings/membersettings-list.js +6 -6
- package/dist/m365/teams/commands/membersettings/membersettings-set.js +24 -29
- package/dist/m365/teams/commands/message/message-get.js +6 -6
- package/dist/m365/teams/commands/message/message-list.js +7 -7
- package/dist/m365/teams/commands/message/message-reply-list.js +6 -6
- package/dist/m365/teams/commands/messagingsettings/messagingsettings-list.js +6 -6
- package/dist/m365/teams/commands/messagingsettings/messagingsettings-set.js +26 -29
- package/dist/m365/teams/commands/report/report-directroutingcalls.js +7 -7
- package/dist/m365/teams/commands/report/report-pstncalls.js +7 -7
- package/dist/m365/teams/commands/tab/tab-add.js +7 -7
- package/dist/m365/teams/commands/tab/tab-get.js +6 -6
- package/dist/m365/teams/commands/tab/tab-list.js +6 -6
- package/dist/m365/teams/commands/tab/tab-remove.js +6 -6
- package/dist/m365/teams/commands/team/team-add.js +6 -6
- package/dist/m365/teams/commands/team/team-app-list.js +8 -8
- package/dist/m365/teams/commands/team/team-archive.js +6 -6
- package/dist/m365/teams/commands/team/team-clone.js +6 -6
- package/dist/m365/teams/commands/team/team-get.js +6 -6
- package/dist/m365/teams/commands/team/team-list.js +6 -6
- package/dist/m365/teams/commands/team/team-remove.js +6 -6
- package/dist/m365/teams/commands/team/team-set.js +6 -6
- package/dist/m365/teams/commands/team/team-unarchive.js +6 -6
- package/dist/m365/teams/commands/user/user-app-add.js +6 -6
- package/dist/m365/teams/commands/user/user-app-list.js +7 -7
- package/dist/m365/teams/commands/user/user-app-remove.js +6 -6
- package/dist/m365/teams/commands/user/user-list.js +6 -6
- package/dist/m365/teams/commands.js +1 -0
- package/dist/m365/tenant/commands/id/id-get.js +6 -6
- package/dist/m365/tenant/commands/security/security-alerts-list.js +6 -6
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +6 -6
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-list.js +6 -6
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-get.js +5 -5
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-list.js +5 -5
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-get.js +6 -6
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-list.js +6 -6
- package/dist/m365/todo/commands/list/list-add.js +5 -5
- package/dist/m365/todo/commands/list/list-get.js +7 -7
- package/dist/m365/todo/commands/list/list-remove.js +6 -6
- package/dist/m365/todo/commands/list/list-set.js +6 -6
- package/dist/m365/todo/commands/task/task-add.js +6 -6
- package/dist/m365/todo/commands/task/task-get.js +7 -7
- package/dist/m365/todo/commands/task/task-list.js +7 -7
- package/dist/m365/todo/commands/task/task-remove.js +6 -6
- package/dist/m365/todo/commands/task/task-set.js +6 -6
- package/dist/m365/util/commands/accesstoken/accesstoken-get.js +6 -6
- package/dist/m365/viva/commands/connections/connections-app-create.js +6 -6
- package/dist/m365/yammer/commands/group/group-list.js +6 -6
- package/dist/m365/yammer/commands/group/group-user-add.js +6 -6
- package/dist/m365/yammer/commands/group/group-user-remove.js +6 -6
- package/dist/m365/yammer/commands/message/message-add.js +7 -7
- package/dist/m365/yammer/commands/message/message-get.js +6 -6
- package/dist/m365/yammer/commands/message/message-like-set.js +15 -16
- package/dist/m365/yammer/commands/message/message-list.js +8 -8
- package/dist/m365/yammer/commands/message/message-remove.js +6 -6
- package/dist/m365/yammer/commands/network/network-list.js +6 -6
- package/dist/m365/yammer/commands/user/user-get.js +7 -7
- package/dist/m365/yammer/commands/user/user-list.js +8 -8
- package/dist/m365/yammer/commands/yammer-search.js +6 -6
- package/dist/request.js +39 -38
- package/dist/settingsNames.js +1 -0
- package/dist/telemetry.js +29 -0
- package/dist/utils/formatting.js +37 -0
- package/dist/utils/md.js +10 -1
- package/docs/docs/_clisettings.md +1 -0
- package/docs/docs/cmd/_global.md +1 -1
- package/docs/docs/cmd/aad/group/group-get.md +127 -0
- package/docs/docs/cmd/aad/user/user-set.md +31 -3
- package/docs/docs/cmd/cli/cli-consent.md +20 -0
- package/docs/docs/cmd/cli/cli-doctor.md +50 -0
- package/docs/docs/cmd/cli/cli-issue.md +20 -0
- package/docs/docs/cmd/cli/cli-reconsent.md +20 -0
- package/docs/docs/cmd/cli/completion/completion-clink-update.md +5 -1
- package/docs/docs/cmd/cli/completion/completion-pwsh-setup.md +5 -1
- package/docs/docs/cmd/cli/completion/completion-pwsh-update.md +5 -1
- package/docs/docs/cmd/cli/completion/completion-sh-setup.md +21 -1
- package/docs/docs/cmd/cli/completion/completion-sh-update.md +4 -0
- package/docs/docs/cmd/cli/config/config-get.md +22 -0
- package/docs/docs/cmd/cli/config/config-reset.md +4 -0
- package/docs/docs/cmd/cli/config/config-set.md +4 -0
- package/docs/docs/cmd/context/context-init.md +25 -0
- package/docs/docs/cmd/context/context-remove.md +34 -0
- package/docs/docs/cmd/planner/plan/plan-set.md +144 -0
- package/docs/docs/cmd/pp/chatbot/chatbot-get.md +123 -0
- package/docs/docs/cmd/pp/chatbot/chatbot-remove.md +52 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.md +90 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.md +61 -0
- package/docs/docs/cmd/pp/environment/environment-get.md +11 -3
- package/docs/docs/cmd/pp/solution/solution-publisher-add.md +49 -0
- package/docs/docs/cmd/pp/solution/solution-publisher-remove.md +1 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +81 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +36 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +63 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-add.md +4 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-get.md +38 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-list.md +38 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-remove.md +4 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-set.md +15 -1
- package/docs/docs/cmd/spo/group/group-member-add.md +58 -6
- package/docs/docs/cmd/spo/group/group-member-remove.md +24 -8
- package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.md +65 -0
- package/docs/docs/cmd/spo/list/{list-label-get.md → list-retentionlabel-get.md} +17 -11
- package/docs/docs/cmd/spo/listitem/listitem-remove.md +6 -6
- package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.md +55 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-add.md +6 -6
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.md +9 -5
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +42 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +25 -3
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +22 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.md +6 -2
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-set.md +5 -1
- package/docs/docs/cmd/spo/page/page-add.md +13 -9
- package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +6 -2
- package/docs/docs/cmd/spo/page/page-column-get.md +68 -5
- package/docs/docs/cmd/spo/page/page-column-list.md +36 -4
- package/docs/docs/cmd/spo/page/page-control-get.md +70 -3
- package/docs/docs/cmd/spo/page/page-control-list.md +69 -3
- package/docs/docs/cmd/spo/page/page-control-set.md +11 -7
- package/docs/docs/cmd/spo/page/page-copy.md +65 -4
- package/docs/docs/cmd/spo/page/page-get.md +100 -4
- package/docs/docs/cmd/spo/page/page-header-set.md +17 -13
- package/docs/docs/cmd/spo/page/page-list.md +122 -1
- package/docs/docs/cmd/spo/page/page-remove.md +9 -5
- package/docs/docs/cmd/spo/page/page-section-add.md +10 -6
- package/docs/docs/cmd/spo/page/page-section-get.md +36 -4
- package/docs/docs/cmd/spo/page/page-section-list.md +38 -3
- package/docs/docs/cmd/spo/page/page-set.md +10 -10
- package/docs/docs/cmd/spo/page/page-template-list.md +58 -1
- package/docs/docs/cmd/spo/page/page-text-add.md +9 -5
- package/docs/docs/cmd/spo/propertybag/propertybag-get.md +28 -8
- package/docs/docs/cmd/spo/propertybag/propertybag-list.md +35 -7
- package/docs/docs/cmd/spo/propertybag/propertybag-remove.md +13 -9
- package/docs/docs/cmd/spo/propertybag/propertybag-set.md +13 -5
- package/docs/docs/cmd/spo/report/report-activityfilecounts.md +34 -2
- package/docs/docs/cmd/spo/report/report-activitypages.md +31 -2
- package/docs/docs/cmd/spo/report/report-activityusercounts.md +35 -2
- package/docs/docs/cmd/spo/report/report-activityuserdetail.md +40 -3
- package/docs/docs/cmd/spo/report/report-siteusagedetail.md +43 -3
- package/docs/docs/cmd/spo/report/report-siteusagefilecounts.md +33 -2
- package/docs/docs/cmd/spo/report/report-siteusagepages.md +32 -2
- package/docs/docs/cmd/spo/report/report-siteusagesitecounts.md +33 -2
- package/docs/docs/cmd/spo/report/report-siteusagestorage.md +32 -2
- package/docs/docs/cmd/spo/roledefinition/roledefinition-add.md +10 -6
- package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +80 -2
- package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +76 -2
- package/docs/docs/cmd/spo/roledefinition/roledefinition-remove.md +9 -5
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +39 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +32 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.md +6 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +45 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.md +6 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +30 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +36 -2
- package/docs/docs/cmd/spo/site/site-appcatalog-list.md +55 -0
- package/docs/docs/cmd/spo/web/web-retentionlabel-list.md +74 -0
- package/docs/docs/cmd/teams/meeting/meeting-attendancereport-list.md +69 -0
- package/docs/docs/cmd/teams/user/user-app-list.md +6 -0
- package/npm-shrinkwrap.json +248 -188
- package/package.json +14 -12
- package/docs/docs/cmd/spo/list/list-label-set.md +0 -55
|
@@ -13,22 +13,16 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
13
13
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
14
14
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
15
15
|
};
|
|
16
|
-
var _AadUserSetCommand_instances, _AadUserSetCommand_initTelemetry, _AadUserSetCommand_initOptions, _AadUserSetCommand_initValidators, _AadUserSetCommand_initOptionSets;
|
|
16
|
+
var _AadUserSetCommand_instances, _AadUserSetCommand_initTelemetry, _AadUserSetCommand_initOptions, _AadUserSetCommand_initTypes, _AadUserSetCommand_initValidators, _AadUserSetCommand_initOptionSets;
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const Auth_1 = require("../../../../Auth");
|
|
18
19
|
const request_1 = require("../../../../request");
|
|
20
|
+
const accessToken_1 = require("../../../../utils/accessToken");
|
|
19
21
|
const formatting_1 = require("../../../../utils/formatting");
|
|
20
22
|
const validation_1 = require("../../../../utils/validation");
|
|
21
23
|
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
22
24
|
const commands_1 = require("../../commands");
|
|
23
25
|
class AadUserSetCommand extends GraphCommand_1.default {
|
|
24
|
-
constructor() {
|
|
25
|
-
super();
|
|
26
|
-
_AadUserSetCommand_instances.add(this);
|
|
27
|
-
__classPrivateFieldGet(this, _AadUserSetCommand_instances, "m", _AadUserSetCommand_initTelemetry).call(this);
|
|
28
|
-
__classPrivateFieldGet(this, _AadUserSetCommand_instances, "m", _AadUserSetCommand_initOptions).call(this);
|
|
29
|
-
__classPrivateFieldGet(this, _AadUserSetCommand_instances, "m", _AadUserSetCommand_initValidators).call(this);
|
|
30
|
-
__classPrivateFieldGet(this, _AadUserSetCommand_instances, "m", _AadUserSetCommand_initOptionSets).call(this);
|
|
31
|
-
}
|
|
32
26
|
get name() {
|
|
33
27
|
return commands_1.default.USER_SET;
|
|
34
28
|
}
|
|
@@ -38,19 +32,48 @@ class AadUserSetCommand extends GraphCommand_1.default {
|
|
|
38
32
|
allowUnknownOptions() {
|
|
39
33
|
return true;
|
|
40
34
|
}
|
|
35
|
+
constructor() {
|
|
36
|
+
super();
|
|
37
|
+
_AadUserSetCommand_instances.add(this);
|
|
38
|
+
__classPrivateFieldGet(this, _AadUserSetCommand_instances, "m", _AadUserSetCommand_initTelemetry).call(this);
|
|
39
|
+
__classPrivateFieldGet(this, _AadUserSetCommand_instances, "m", _AadUserSetCommand_initOptions).call(this);
|
|
40
|
+
__classPrivateFieldGet(this, _AadUserSetCommand_instances, "m", _AadUserSetCommand_initTypes).call(this);
|
|
41
|
+
__classPrivateFieldGet(this, _AadUserSetCommand_instances, "m", _AadUserSetCommand_initValidators).call(this);
|
|
42
|
+
__classPrivateFieldGet(this, _AadUserSetCommand_instances, "m", _AadUserSetCommand_initOptionSets).call(this);
|
|
43
|
+
}
|
|
41
44
|
commandAction(logger, args) {
|
|
42
45
|
return __awaiter(this, void 0, void 0, function* () {
|
|
43
46
|
try {
|
|
47
|
+
if (this.verbose) {
|
|
48
|
+
logger.logToStderr(`Updating user ${args.options.userPrincipalName || args.options.objectId}`);
|
|
49
|
+
}
|
|
50
|
+
if (args.options.currentPassword) {
|
|
51
|
+
if (args.options.objectId && args.options.objectId !== accessToken_1.accessToken.getUserIdFromAccessToken(Auth_1.default.service.accessTokens[Auth_1.default.defaultResource].accessToken)) {
|
|
52
|
+
throw `You can only change your own password. Please use --objectId @meId to reference to your own userId`;
|
|
53
|
+
}
|
|
54
|
+
else if (args.options.userPrincipalName && args.options.userPrincipalName.toLowerCase() !== accessToken_1.accessToken.getUserNameFromAccessToken(Auth_1.default.service.accessTokens[Auth_1.default.defaultResource].accessToken).toLowerCase()) {
|
|
55
|
+
throw 'You can only change your own password. Please use --userPrincipalName @meUserName to reference to your own user principal name';
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
const requestUrl = `${this.resource}/v1.0/users/${formatting_1.formatting.encodeQueryParameter(args.options.objectId ? args.options.objectId : args.options.userPrincipalName)}`;
|
|
44
59
|
const manifest = this.mapRequestBody(args.options);
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
60
|
+
if (Object.keys(manifest).length > 0) {
|
|
61
|
+
if (this.verbose) {
|
|
62
|
+
logger.logToStderr(`Setting the updated properties for the user ${args.options.userPrincipalName || args.options.objectId}`);
|
|
63
|
+
}
|
|
64
|
+
const requestOptions = {
|
|
65
|
+
url: requestUrl,
|
|
66
|
+
headers: {
|
|
67
|
+
accept: 'application/json'
|
|
68
|
+
},
|
|
69
|
+
responseType: 'json',
|
|
70
|
+
data: manifest
|
|
71
|
+
};
|
|
72
|
+
yield request_1.default.patch(requestOptions);
|
|
73
|
+
}
|
|
74
|
+
if (args.options.currentPassword) {
|
|
75
|
+
yield this.changePassword(requestUrl, args.options, logger);
|
|
76
|
+
}
|
|
54
77
|
}
|
|
55
78
|
catch (err) {
|
|
56
79
|
this.handleRejectedODataJsonPromise(err);
|
|
@@ -67,25 +90,59 @@ class AadUserSetCommand extends GraphCommand_1.default {
|
|
|
67
90
|
'i',
|
|
68
91
|
'userPrincipalName',
|
|
69
92
|
'n',
|
|
70
|
-
'
|
|
93
|
+
'resetPassword',
|
|
94
|
+
'accountEnabled',
|
|
95
|
+
'currentPassword',
|
|
96
|
+
'newPassword',
|
|
97
|
+
'forceChangePasswordNextSignIn'
|
|
71
98
|
];
|
|
72
|
-
if (options.accountEnabled) {
|
|
73
|
-
requestBody['AccountEnabled'] =
|
|
99
|
+
if (options.accountEnabled !== undefined) {
|
|
100
|
+
requestBody['AccountEnabled'] = options.accountEnabled;
|
|
74
101
|
}
|
|
75
102
|
Object.keys(options).forEach(key => {
|
|
76
103
|
if (excludeOptions.indexOf(key) === -1) {
|
|
77
104
|
requestBody[key] = `${options[key]}`;
|
|
78
105
|
}
|
|
79
106
|
});
|
|
107
|
+
if (options.resetPassword) {
|
|
108
|
+
requestBody.passwordProfile = {
|
|
109
|
+
forceChangePasswordNextSignIn: options.forceChangePasswordNextSignIn || false,
|
|
110
|
+
password: options.newPassword
|
|
111
|
+
};
|
|
112
|
+
}
|
|
80
113
|
return requestBody;
|
|
81
114
|
}
|
|
115
|
+
changePassword(requestUrl, options, logger) {
|
|
116
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
117
|
+
if (this.verbose) {
|
|
118
|
+
logger.logToStderr(`Changing password for user ${options.userPrincipalName || options.objectId}`);
|
|
119
|
+
}
|
|
120
|
+
const requestBody = {
|
|
121
|
+
currentPassword: options.currentPassword,
|
|
122
|
+
newPassword: options.newPassword
|
|
123
|
+
};
|
|
124
|
+
const requestOptions = {
|
|
125
|
+
url: `${requestUrl}/changePassword`,
|
|
126
|
+
headers: {
|
|
127
|
+
accept: 'application/json;odata.metadata=none'
|
|
128
|
+
},
|
|
129
|
+
responseType: 'json',
|
|
130
|
+
data: requestBody
|
|
131
|
+
};
|
|
132
|
+
yield request_1.default.post(requestOptions);
|
|
133
|
+
});
|
|
134
|
+
}
|
|
82
135
|
}
|
|
83
136
|
_AadUserSetCommand_instances = new WeakSet(), _AadUserSetCommand_initTelemetry = function _AadUserSetCommand_initTelemetry() {
|
|
84
137
|
this.telemetry.push((args) => {
|
|
85
138
|
Object.assign(this.telemetryProperties, {
|
|
86
139
|
objectId: typeof args.options.objectId !== 'undefined',
|
|
87
140
|
userPrincipalName: typeof args.options.userPrincipalName !== 'undefined',
|
|
88
|
-
accountEnabled:
|
|
141
|
+
accountEnabled: !!args.options.accountEnabled,
|
|
142
|
+
resetPassword: !!args.options.resetPassword,
|
|
143
|
+
forceChangePasswordNextSignIn: !!args.options.forceChangePasswordNextSignIn,
|
|
144
|
+
currentPassword: typeof args.options.currentPassword !== 'undefined',
|
|
145
|
+
newPassword: typeof args.options.newPassword !== 'undefined'
|
|
89
146
|
});
|
|
90
147
|
});
|
|
91
148
|
}, _AadUserSetCommand_initOptions = function _AadUserSetCommand_initOptions() {
|
|
@@ -94,14 +151,34 @@ _AadUserSetCommand_instances = new WeakSet(), _AadUserSetCommand_initTelemetry =
|
|
|
94
151
|
}, {
|
|
95
152
|
option: '-n, --userPrincipalName [userPrincipalName]'
|
|
96
153
|
}, {
|
|
97
|
-
option: '--accountEnabled [accountEnabled]'
|
|
154
|
+
option: '--accountEnabled [accountEnabled]',
|
|
155
|
+
autocomplete: ['true', 'false']
|
|
156
|
+
}, {
|
|
157
|
+
option: '--resetPassword'
|
|
158
|
+
}, {
|
|
159
|
+
option: '--forceChangePasswordNextSignIn'
|
|
160
|
+
}, {
|
|
161
|
+
option: '--currentPassword [currentPassword]'
|
|
162
|
+
}, {
|
|
163
|
+
option: '--newPassword [newPassword]'
|
|
98
164
|
});
|
|
165
|
+
}, _AadUserSetCommand_initTypes = function _AadUserSetCommand_initTypes() {
|
|
166
|
+
this.types.boolean.push('accountEnabled');
|
|
99
167
|
}, _AadUserSetCommand_initValidators = function _AadUserSetCommand_initValidators() {
|
|
100
168
|
this.validators.push((args) => __awaiter(this, void 0, void 0, function* () {
|
|
101
169
|
if (args.options.objectId &&
|
|
102
170
|
!validation_1.validation.isValidGuid(args.options.objectId)) {
|
|
103
171
|
return `${args.options.objectId} is not a valid GUID`;
|
|
104
172
|
}
|
|
173
|
+
if (!args.options.resetPassword && ((args.options.currentPassword && !args.options.newPassword) || (args.options.newPassword && !args.options.currentPassword))) {
|
|
174
|
+
return `Specify both currentPassword and newPassword when you want to change your password`;
|
|
175
|
+
}
|
|
176
|
+
if (args.options.resetPassword && args.options.currentPassword) {
|
|
177
|
+
return `When resetting a user's password, don't specify the current password`;
|
|
178
|
+
}
|
|
179
|
+
if (args.options.resetPassword && !args.options.newPassword) {
|
|
180
|
+
return `When resetting a user's password, specify the new password to set for the user, using the newPassword option`;
|
|
181
|
+
}
|
|
105
182
|
return true;
|
|
106
183
|
}));
|
|
107
184
|
}, _AadUserSetCommand_initOptionSets = function _AadUserSetCommand_initOptionSets() {
|
|
@@ -21,6 +21,12 @@ const validation_1 = require("../../../../utils/validation");
|
|
|
21
21
|
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
22
22
|
const commands_1 = require("../../commands");
|
|
23
23
|
class AadUserSigninListCommand extends GraphCommand_1.default {
|
|
24
|
+
get name() {
|
|
25
|
+
return commands_1.default.USER_SIGNIN_LIST;
|
|
26
|
+
}
|
|
27
|
+
get description() {
|
|
28
|
+
return 'Retrieves the Azure AD user sign-ins for the tenant';
|
|
29
|
+
}
|
|
24
30
|
constructor() {
|
|
25
31
|
super();
|
|
26
32
|
_AadUserSigninListCommand_instances.add(this);
|
|
@@ -28,12 +34,6 @@ class AadUserSigninListCommand extends GraphCommand_1.default {
|
|
|
28
34
|
__classPrivateFieldGet(this, _AadUserSigninListCommand_instances, "m", _AadUserSigninListCommand_initOptions).call(this);
|
|
29
35
|
__classPrivateFieldGet(this, _AadUserSigninListCommand_instances, "m", _AadUserSigninListCommand_initValidators).call(this);
|
|
30
36
|
}
|
|
31
|
-
get name() {
|
|
32
|
-
return commands_1.default.USER_SIGNIN_LIST;
|
|
33
|
-
}
|
|
34
|
-
get description() {
|
|
35
|
-
return 'Retrieves the Azure AD user sign-ins for the tenant';
|
|
36
|
-
}
|
|
37
37
|
defaultProperties() {
|
|
38
38
|
return ['id', 'userPrincipalName', 'appId', 'appDisplayName', 'createdDateTime'];
|
|
39
39
|
}
|
|
@@ -13,6 +13,7 @@ exports.default = {
|
|
|
13
13
|
APPROLEASSIGNMENT_ADD: `${prefix} approleassignment add`,
|
|
14
14
|
APPROLEASSIGNMENT_LIST: `${prefix} approleassignment list`,
|
|
15
15
|
APPROLEASSIGNMENT_REMOVE: `${prefix} approleassignment remove`,
|
|
16
|
+
GROUP_GET: `${prefix} group get`,
|
|
16
17
|
GROUP_LIST: `${prefix} group list`,
|
|
17
18
|
GROUPSETTING_ADD: `${prefix} groupsetting add`,
|
|
18
19
|
GROUPSETTING_GET: `${prefix} groupsetting get`,
|
|
@@ -19,6 +19,12 @@ const request_1 = require("../../../request");
|
|
|
19
19
|
const AnonymousCommand_1 = require("../../base/AnonymousCommand");
|
|
20
20
|
const commands_1 = require("../commands");
|
|
21
21
|
class AdaptiveCardSendCommand extends AnonymousCommand_1.default {
|
|
22
|
+
get name() {
|
|
23
|
+
return commands_1.default.SEND;
|
|
24
|
+
}
|
|
25
|
+
get description() {
|
|
26
|
+
return 'Sends adaptive card to the specified URL';
|
|
27
|
+
}
|
|
22
28
|
constructor() {
|
|
23
29
|
super();
|
|
24
30
|
_AdaptiveCardSendCommand_instances.add(this);
|
|
@@ -27,12 +33,6 @@ class AdaptiveCardSendCommand extends AnonymousCommand_1.default {
|
|
|
27
33
|
__classPrivateFieldGet(this, _AdaptiveCardSendCommand_instances, "m", _AdaptiveCardSendCommand_initValidators).call(this);
|
|
28
34
|
__classPrivateFieldGet(this, _AdaptiveCardSendCommand_instances, "m", _AdaptiveCardSendCommand_initOptionSets).call(this);
|
|
29
35
|
}
|
|
30
|
-
get name() {
|
|
31
|
-
return commands_1.default.SEND;
|
|
32
|
-
}
|
|
33
|
-
get description() {
|
|
34
|
-
return 'Sends adaptive card to the specified URL';
|
|
35
|
-
}
|
|
36
36
|
allowUnknownOptions() {
|
|
37
37
|
return true;
|
|
38
38
|
}
|
|
@@ -20,18 +20,18 @@ const settingsNames_1 = require("../../../settingsNames");
|
|
|
20
20
|
const AppCommand_1 = require("../../base/AppCommand");
|
|
21
21
|
const commands_1 = require("../commands");
|
|
22
22
|
class AppOpenCommand extends AppCommand_1.default {
|
|
23
|
-
constructor() {
|
|
24
|
-
super();
|
|
25
|
-
_AppOpenCommand_instances.add(this);
|
|
26
|
-
__classPrivateFieldGet(this, _AppOpenCommand_instances, "m", _AppOpenCommand_initTelemetry).call(this);
|
|
27
|
-
__classPrivateFieldGet(this, _AppOpenCommand_instances, "m", _AppOpenCommand_initOptions).call(this);
|
|
28
|
-
}
|
|
29
23
|
get name() {
|
|
30
24
|
return commands_1.default.OPEN;
|
|
31
25
|
}
|
|
32
26
|
get description() {
|
|
33
27
|
return 'Opens Azure AD app in the Azure AD portal';
|
|
34
28
|
}
|
|
29
|
+
constructor() {
|
|
30
|
+
super();
|
|
31
|
+
_AppOpenCommand_instances.add(this);
|
|
32
|
+
__classPrivateFieldGet(this, _AppOpenCommand_instances, "m", _AppOpenCommand_initTelemetry).call(this);
|
|
33
|
+
__classPrivateFieldGet(this, _AppOpenCommand_instances, "m", _AppOpenCommand_initOptions).call(this);
|
|
34
|
+
}
|
|
35
35
|
commandAction(logger, args) {
|
|
36
36
|
return __awaiter(this, void 0, void 0, function* () {
|
|
37
37
|
try {
|
|
@@ -20,15 +20,15 @@ const Cli_1 = require("../../cli/Cli");
|
|
|
20
20
|
const Command_1 = require("../../Command");
|
|
21
21
|
const validation_1 = require("../../utils/validation");
|
|
22
22
|
class AppCommand extends Command_1.default {
|
|
23
|
+
get resource() {
|
|
24
|
+
return 'https://graph.microsoft.com';
|
|
25
|
+
}
|
|
23
26
|
constructor() {
|
|
24
27
|
super();
|
|
25
28
|
_AppCommand_instances.add(this);
|
|
26
29
|
__classPrivateFieldGet(this, _AppCommand_instances, "m", _AppCommand_initOptions).call(this);
|
|
27
30
|
__classPrivateFieldGet(this, _AppCommand_instances, "m", _AppCommand_initValidators).call(this);
|
|
28
31
|
}
|
|
29
|
-
get resource() {
|
|
30
|
-
return 'https://graph.microsoft.com';
|
|
31
|
-
}
|
|
32
32
|
action(logger, args) {
|
|
33
33
|
const _super = Object.create(null, {
|
|
34
34
|
action: { get: () => super.action }
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const fs = require("fs");
|
|
4
|
+
const Command_1 = require("../../Command");
|
|
5
|
+
const AnonymousCommand_1 = require("./AnonymousCommand");
|
|
6
|
+
class ContextCommand extends AnonymousCommand_1.default {
|
|
7
|
+
saveContextInfo(context) {
|
|
8
|
+
const filePath = '.m365rc.json';
|
|
9
|
+
let m365rc = {};
|
|
10
|
+
if (fs.existsSync(filePath)) {
|
|
11
|
+
try {
|
|
12
|
+
const fileContents = fs.readFileSync(filePath, 'utf8');
|
|
13
|
+
if (fileContents) {
|
|
14
|
+
m365rc = JSON.parse(fileContents);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
catch (e) {
|
|
18
|
+
throw new Command_1.CommandError(`Error reading ${filePath}: ${e}. Please add context info to ${filePath} manually.`);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
if (!m365rc.context) {
|
|
22
|
+
m365rc.context = context;
|
|
23
|
+
try {
|
|
24
|
+
fs.writeFileSync(filePath, JSON.stringify(m365rc, null, 2));
|
|
25
|
+
}
|
|
26
|
+
catch (e) {
|
|
27
|
+
throw new Command_1.CommandError(`Error writing ${filePath}: ${e}. Please add context info to ${filePath} manually.`);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.default = ContextCommand;
|
|
33
|
+
//# sourceMappingURL=ContextCommand.js.map
|
|
@@ -20,13 +20,6 @@ const formatting_1 = require("../../../../utils/formatting");
|
|
|
20
20
|
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
21
21
|
const commands_1 = require("../../commands");
|
|
22
22
|
class BookingBusinessGetCommand extends GraphCommand_1.default {
|
|
23
|
-
constructor() {
|
|
24
|
-
super();
|
|
25
|
-
_BookingBusinessGetCommand_instances.add(this);
|
|
26
|
-
__classPrivateFieldGet(this, _BookingBusinessGetCommand_instances, "m", _BookingBusinessGetCommand_initTelemetry).call(this);
|
|
27
|
-
__classPrivateFieldGet(this, _BookingBusinessGetCommand_instances, "m", _BookingBusinessGetCommand_initOptions).call(this);
|
|
28
|
-
__classPrivateFieldGet(this, _BookingBusinessGetCommand_instances, "m", _BookingBusinessGetCommand_initOptionSets).call(this);
|
|
29
|
-
}
|
|
30
23
|
get name() {
|
|
31
24
|
return commands_1.default.BUSINESS_GET;
|
|
32
25
|
}
|
|
@@ -36,6 +29,13 @@ class BookingBusinessGetCommand extends GraphCommand_1.default {
|
|
|
36
29
|
defaultProperties() {
|
|
37
30
|
return ['id', 'displayName', 'businessType', 'phone', 'email', 'defaultCurrencyIso'];
|
|
38
31
|
}
|
|
32
|
+
constructor() {
|
|
33
|
+
super();
|
|
34
|
+
_BookingBusinessGetCommand_instances.add(this);
|
|
35
|
+
__classPrivateFieldGet(this, _BookingBusinessGetCommand_instances, "m", _BookingBusinessGetCommand_initTelemetry).call(this);
|
|
36
|
+
__classPrivateFieldGet(this, _BookingBusinessGetCommand_instances, "m", _BookingBusinessGetCommand_initOptions).call(this);
|
|
37
|
+
__classPrivateFieldGet(this, _BookingBusinessGetCommand_instances, "m", _BookingBusinessGetCommand_initOptionSets).call(this);
|
|
38
|
+
}
|
|
39
39
|
commandAction(logger, args) {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
41
41
|
try {
|
|
@@ -19,6 +19,12 @@ const config_1 = require("../../../config");
|
|
|
19
19
|
const AnonymousCommand_1 = require("../../base/AnonymousCommand");
|
|
20
20
|
const commands_1 = require("../commands");
|
|
21
21
|
class CliConsentCommand extends AnonymousCommand_1.default {
|
|
22
|
+
get name() {
|
|
23
|
+
return commands_1.default.CONSENT;
|
|
24
|
+
}
|
|
25
|
+
get description() {
|
|
26
|
+
return 'Consent additional permissions for the Azure AD application used by the CLI for Microsoft 365';
|
|
27
|
+
}
|
|
22
28
|
constructor() {
|
|
23
29
|
super();
|
|
24
30
|
_CliConsentCommand_instances.add(this);
|
|
@@ -26,12 +32,6 @@ class CliConsentCommand extends AnonymousCommand_1.default {
|
|
|
26
32
|
__classPrivateFieldGet(this, _CliConsentCommand_instances, "m", _CliConsentCommand_initOptions).call(this);
|
|
27
33
|
__classPrivateFieldGet(this, _CliConsentCommand_instances, "m", _CliConsentCommand_initValidators).call(this);
|
|
28
34
|
}
|
|
29
|
-
get name() {
|
|
30
|
-
return commands_1.default.CONSENT;
|
|
31
|
-
}
|
|
32
|
-
get description() {
|
|
33
|
-
return 'Consent additional permissions for the Azure AD application used by the CLI for Microsoft 365';
|
|
34
|
-
}
|
|
35
35
|
commandAction(logger, args) {
|
|
36
36
|
return __awaiter(this, void 0, void 0, function* () {
|
|
37
37
|
let scope = '';
|
|
@@ -19,6 +19,12 @@ const open = require("open");
|
|
|
19
19
|
const AnonymousCommand_1 = require("../../base/AnonymousCommand");
|
|
20
20
|
const commands_1 = require("../commands");
|
|
21
21
|
class CliIssueCommand extends AnonymousCommand_1.default {
|
|
22
|
+
get name() {
|
|
23
|
+
return commands_1.default.ISSUE;
|
|
24
|
+
}
|
|
25
|
+
get description() {
|
|
26
|
+
return 'Returns, or opens a URL that takes the user to the right place in the CLI GitHub repo to create a new issue reporting bug, feedback, ideas, etc.';
|
|
27
|
+
}
|
|
22
28
|
constructor(open) {
|
|
23
29
|
super();
|
|
24
30
|
this.open = open;
|
|
@@ -27,12 +33,6 @@ class CliIssueCommand extends AnonymousCommand_1.default {
|
|
|
27
33
|
__classPrivateFieldGet(this, _CliIssueCommand_instances, "m", _CliIssueCommand_initOptions).call(this);
|
|
28
34
|
__classPrivateFieldGet(this, _CliIssueCommand_instances, "m", _CliIssueCommand_initValidators).call(this);
|
|
29
35
|
}
|
|
30
|
-
get name() {
|
|
31
|
-
return commands_1.default.ISSUE;
|
|
32
|
-
}
|
|
33
|
-
get description() {
|
|
34
|
-
return 'Returns, or opens a URL that takes the user to the right place in the CLI GitHub repo to create a new issue reporting bug, feedback, ideas, etc.';
|
|
35
|
-
}
|
|
36
36
|
commandAction(logger, args) {
|
|
37
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
38
|
let issueLink = '';
|
|
@@ -23,17 +23,17 @@ const Command_1 = require("../../../../Command");
|
|
|
23
23
|
const AnonymousCommand_1 = require("../../../base/AnonymousCommand");
|
|
24
24
|
const commands_1 = require("../../commands");
|
|
25
25
|
class CliCompletionPwshSetupCommand extends AnonymousCommand_1.default {
|
|
26
|
-
constructor() {
|
|
27
|
-
super();
|
|
28
|
-
_CliCompletionPwshSetupCommand_instances.add(this);
|
|
29
|
-
__classPrivateFieldGet(this, _CliCompletionPwshSetupCommand_instances, "m", _CliCompletionPwshSetupCommand_initOptions).call(this);
|
|
30
|
-
}
|
|
31
26
|
get name() {
|
|
32
27
|
return commands_1.default.COMPLETION_PWSH_SETUP;
|
|
33
28
|
}
|
|
34
29
|
get description() {
|
|
35
30
|
return 'Sets up command completion for PowerShell';
|
|
36
31
|
}
|
|
32
|
+
constructor() {
|
|
33
|
+
super();
|
|
34
|
+
_CliCompletionPwshSetupCommand_instances.add(this);
|
|
35
|
+
__classPrivateFieldGet(this, _CliCompletionPwshSetupCommand_instances, "m", _CliCompletionPwshSetupCommand_initOptions).call(this);
|
|
36
|
+
}
|
|
37
37
|
commandAction(logger, args) {
|
|
38
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
39
|
if (this.debug) {
|
|
@@ -20,6 +20,12 @@ const settingsNames_1 = require("../../../../settingsNames");
|
|
|
20
20
|
const AnonymousCommand_1 = require("../../../base/AnonymousCommand");
|
|
21
21
|
const commands_1 = require("../../commands");
|
|
22
22
|
class CliConfigGetCommand extends AnonymousCommand_1.default {
|
|
23
|
+
get name() {
|
|
24
|
+
return commands_1.default.CONFIG_GET;
|
|
25
|
+
}
|
|
26
|
+
get description() {
|
|
27
|
+
return 'Gets value of a CLI for Microsoft 365 configuration option';
|
|
28
|
+
}
|
|
23
29
|
constructor() {
|
|
24
30
|
super();
|
|
25
31
|
_CliConfigGetCommand_instances.add(this);
|
|
@@ -27,12 +33,6 @@ class CliConfigGetCommand extends AnonymousCommand_1.default {
|
|
|
27
33
|
__classPrivateFieldGet(this, _CliConfigGetCommand_instances, "m", _CliConfigGetCommand_initOptions).call(this);
|
|
28
34
|
__classPrivateFieldGet(this, _CliConfigGetCommand_instances, "m", _CliConfigGetCommand_initValidators).call(this);
|
|
29
35
|
}
|
|
30
|
-
get name() {
|
|
31
|
-
return commands_1.default.CONFIG_GET;
|
|
32
|
-
}
|
|
33
|
-
get description() {
|
|
34
|
-
return 'Gets value of a CLI for Microsoft 365 configuration option';
|
|
35
|
-
}
|
|
36
36
|
commandAction(logger, args) {
|
|
37
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
38
|
logger.log(Cli_1.Cli.getInstance().config.get(args.options.key));
|
|
@@ -20,6 +20,12 @@ const settingsNames_1 = require("../../../../settingsNames");
|
|
|
20
20
|
const AnonymousCommand_1 = require("../../../base/AnonymousCommand");
|
|
21
21
|
const commands_1 = require("../../commands");
|
|
22
22
|
class CliConfigResetCommand extends AnonymousCommand_1.default {
|
|
23
|
+
get name() {
|
|
24
|
+
return commands_1.default.CONFIG_RESET;
|
|
25
|
+
}
|
|
26
|
+
get description() {
|
|
27
|
+
return 'Resets the specified CLI configuration option to its default value';
|
|
28
|
+
}
|
|
23
29
|
constructor() {
|
|
24
30
|
super();
|
|
25
31
|
_CliConfigResetCommand_instances.add(this);
|
|
@@ -27,12 +33,6 @@ class CliConfigResetCommand extends AnonymousCommand_1.default {
|
|
|
27
33
|
__classPrivateFieldGet(this, _CliConfigResetCommand_instances, "m", _CliConfigResetCommand_initOptions).call(this);
|
|
28
34
|
__classPrivateFieldGet(this, _CliConfigResetCommand_instances, "m", _CliConfigResetCommand_initValidators).call(this);
|
|
29
35
|
}
|
|
30
|
-
get name() {
|
|
31
|
-
return commands_1.default.CONFIG_RESET;
|
|
32
|
-
}
|
|
33
|
-
get description() {
|
|
34
|
-
return 'Resets the specified CLI configuration option to its default value';
|
|
35
|
-
}
|
|
36
36
|
commandAction(logger, args) {
|
|
37
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
38
|
if (args.options.key) {
|
|
@@ -20,6 +20,12 @@ const settingsNames_1 = require("../../../../settingsNames");
|
|
|
20
20
|
const AnonymousCommand_1 = require("../../../base/AnonymousCommand");
|
|
21
21
|
const commands_1 = require("../../commands");
|
|
22
22
|
class CliConfigSetCommand extends AnonymousCommand_1.default {
|
|
23
|
+
get name() {
|
|
24
|
+
return commands_1.default.CONFIG_SET;
|
|
25
|
+
}
|
|
26
|
+
get description() {
|
|
27
|
+
return 'Manage global configuration settings about the CLI for Microsoft 365';
|
|
28
|
+
}
|
|
23
29
|
constructor() {
|
|
24
30
|
super();
|
|
25
31
|
_CliConfigSetCommand_instances.add(this);
|
|
@@ -27,12 +33,6 @@ class CliConfigSetCommand extends AnonymousCommand_1.default {
|
|
|
27
33
|
__classPrivateFieldGet(this, _CliConfigSetCommand_instances, "m", _CliConfigSetCommand_initOptions).call(this);
|
|
28
34
|
__classPrivateFieldGet(this, _CliConfigSetCommand_instances, "m", _CliConfigSetCommand_initValidators).call(this);
|
|
29
35
|
}
|
|
30
|
-
get name() {
|
|
31
|
-
return commands_1.default.CONFIG_SET;
|
|
32
|
-
}
|
|
33
|
-
get description() {
|
|
34
|
-
return 'Manage global configuration settings about the CLI for Microsoft 365';
|
|
35
|
-
}
|
|
36
36
|
commandAction(logger, args) {
|
|
37
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
38
|
let value = undefined;
|
|
@@ -42,6 +42,7 @@ class CliConfigSetCommand extends AnonymousCommand_1.default {
|
|
|
42
42
|
case settingsNames_1.settingsNames.csvHeader:
|
|
43
43
|
case settingsNames_1.settingsNames.csvQuoted:
|
|
44
44
|
case settingsNames_1.settingsNames.csvQuotedEmpty:
|
|
45
|
+
case settingsNames_1.settingsNames.disableTelemetry:
|
|
45
46
|
case settingsNames_1.settingsNames.printErrorsAsPlainText:
|
|
46
47
|
case settingsNames_1.settingsNames.prompt:
|
|
47
48
|
case settingsNames_1.settingsNames.showHelpOnFailure:
|
|
@@ -71,7 +72,7 @@ _CliConfigSetCommand_instances = new WeakSet(), _CliConfigSetCommand_initTelemet
|
|
|
71
72
|
if (CliConfigSetCommand.optionNames.indexOf(args.options.key) < 0) {
|
|
72
73
|
return `${args.options.key} is not a valid setting. Allowed values: ${CliConfigSetCommand.optionNames.join(', ')}`;
|
|
73
74
|
}
|
|
74
|
-
const allowedOutputs = ['text', 'json', 'csv'];
|
|
75
|
+
const allowedOutputs = ['text', 'json', 'csv', 'md'];
|
|
75
76
|
if (args.options.key === settingsNames_1.settingsNames.output &&
|
|
76
77
|
allowedOutputs.indexOf(args.options.value) === -1) {
|
|
77
78
|
return `${args.options.value} is not a valid value for the option ${args.options.key}. Allowed values: ${allowedOutputs.join(', ')}`;
|
|
@@ -21,6 +21,12 @@ const Command_1 = require("../../Command");
|
|
|
21
21
|
const config_1 = require("../../config");
|
|
22
22
|
const commands_1 = require("./commands");
|
|
23
23
|
class LoginCommand extends Command_1.default {
|
|
24
|
+
get name() {
|
|
25
|
+
return commands_1.default.LOGIN;
|
|
26
|
+
}
|
|
27
|
+
get description() {
|
|
28
|
+
return 'Log in to Microsoft 365';
|
|
29
|
+
}
|
|
24
30
|
constructor() {
|
|
25
31
|
super();
|
|
26
32
|
_LoginCommand_instances.add(this);
|
|
@@ -28,12 +34,6 @@ class LoginCommand extends Command_1.default {
|
|
|
28
34
|
__classPrivateFieldGet(this, _LoginCommand_instances, "m", _LoginCommand_initOptions).call(this);
|
|
29
35
|
__classPrivateFieldGet(this, _LoginCommand_instances, "m", _LoginCommand_initValidators).call(this);
|
|
30
36
|
}
|
|
31
|
-
get name() {
|
|
32
|
-
return commands_1.default.LOGIN;
|
|
33
|
-
}
|
|
34
|
-
get description() {
|
|
35
|
-
return 'Log in to Microsoft 365';
|
|
36
|
-
}
|
|
37
37
|
commandAction(logger, args) {
|
|
38
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
39
|
// disconnect before re-connecting
|
|
@@ -21,14 +21,6 @@ const request_1 = require("../../request");
|
|
|
21
21
|
const commands_1 = require("./commands");
|
|
22
22
|
const path = require("path");
|
|
23
23
|
class RequestCommand extends Command_1.default {
|
|
24
|
-
constructor() {
|
|
25
|
-
super();
|
|
26
|
-
_RequestCommand_instances.add(this);
|
|
27
|
-
this.allowedMethods = ['get', 'post', 'put', 'patch', 'delete', 'head', 'options'];
|
|
28
|
-
__classPrivateFieldGet(this, _RequestCommand_instances, "m", _RequestCommand_initTelemetry).call(this);
|
|
29
|
-
__classPrivateFieldGet(this, _RequestCommand_instances, "m", _RequestCommand_initOptions).call(this);
|
|
30
|
-
__classPrivateFieldGet(this, _RequestCommand_instances, "m", _RequestCommand_initValidators).call(this);
|
|
31
|
-
}
|
|
32
24
|
get name() {
|
|
33
25
|
return commands_1.default.REQUEST;
|
|
34
26
|
}
|
|
@@ -38,6 +30,14 @@ class RequestCommand extends Command_1.default {
|
|
|
38
30
|
allowUnknownOptions() {
|
|
39
31
|
return true;
|
|
40
32
|
}
|
|
33
|
+
constructor() {
|
|
34
|
+
super();
|
|
35
|
+
_RequestCommand_instances.add(this);
|
|
36
|
+
this.allowedMethods = ['get', 'post', 'put', 'patch', 'delete', 'head', 'options'];
|
|
37
|
+
__classPrivateFieldGet(this, _RequestCommand_instances, "m", _RequestCommand_initTelemetry).call(this);
|
|
38
|
+
__classPrivateFieldGet(this, _RequestCommand_instances, "m", _RequestCommand_initOptions).call(this);
|
|
39
|
+
__classPrivateFieldGet(this, _RequestCommand_instances, "m", _RequestCommand_initValidators).call(this);
|
|
40
|
+
}
|
|
41
41
|
commandAction(logger, args) {
|
|
42
42
|
return __awaiter(this, void 0, void 0, function* () {
|
|
43
43
|
if (this.debug) {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const ContextCommand_1 = require("../../base/ContextCommand");
|
|
13
|
+
const commands_1 = require("../commands");
|
|
14
|
+
class ContextInitCommand extends ContextCommand_1.default {
|
|
15
|
+
get name() {
|
|
16
|
+
return commands_1.default.INIT;
|
|
17
|
+
}
|
|
18
|
+
get description() {
|
|
19
|
+
return 'Initiates CLI for Microsoft 365 context in the current working folder';
|
|
20
|
+
}
|
|
21
|
+
commandAction() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
yield this.saveContextInfo({});
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
module.exports = new ContextInitCommand();
|
|
28
|
+
//# sourceMappingURL=context-init.js.map
|