@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,7 +13,7 @@ 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 _TeamsFunSettingsSetCommand_instances, _TeamsFunSettingsSetCommand_initTelemetry, _TeamsFunSettingsSetCommand_initOptions, _TeamsFunSettingsSetCommand_initValidators;
|
|
16
|
+
var _TeamsFunSettingsSetCommand_instances, _TeamsFunSettingsSetCommand_initTelemetry, _TeamsFunSettingsSetCommand_initOptions, _TeamsFunSettingsSetCommand_initTypes, _TeamsFunSettingsSetCommand_initValidators;
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
const request_1 = require("../../../../request");
|
|
19
19
|
const formatting_1 = require("../../../../utils/formatting");
|
|
@@ -21,19 +21,20 @@ const validation_1 = require("../../../../utils/validation");
|
|
|
21
21
|
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
22
22
|
const commands_1 = require("../../commands");
|
|
23
23
|
class TeamsFunSettingsSetCommand extends GraphCommand_1.default {
|
|
24
|
+
get name() {
|
|
25
|
+
return commands_1.default.FUNSETTINGS_SET;
|
|
26
|
+
}
|
|
27
|
+
get description() {
|
|
28
|
+
return 'Updates fun settings of a Microsoft Teams team';
|
|
29
|
+
}
|
|
24
30
|
constructor() {
|
|
25
31
|
super();
|
|
26
32
|
_TeamsFunSettingsSetCommand_instances.add(this);
|
|
27
33
|
__classPrivateFieldGet(this, _TeamsFunSettingsSetCommand_instances, "m", _TeamsFunSettingsSetCommand_initTelemetry).call(this);
|
|
28
34
|
__classPrivateFieldGet(this, _TeamsFunSettingsSetCommand_instances, "m", _TeamsFunSettingsSetCommand_initOptions).call(this);
|
|
35
|
+
__classPrivateFieldGet(this, _TeamsFunSettingsSetCommand_instances, "m", _TeamsFunSettingsSetCommand_initTypes).call(this);
|
|
29
36
|
__classPrivateFieldGet(this, _TeamsFunSettingsSetCommand_instances, "m", _TeamsFunSettingsSetCommand_initValidators).call(this);
|
|
30
37
|
}
|
|
31
|
-
get name() {
|
|
32
|
-
return commands_1.default.FUNSETTINGS_SET;
|
|
33
|
-
}
|
|
34
|
-
get description() {
|
|
35
|
-
return 'Updates fun settings of a Microsoft Teams team';
|
|
36
|
-
}
|
|
37
38
|
commandAction(logger, args) {
|
|
38
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
40
|
try {
|
|
@@ -42,7 +43,7 @@ class TeamsFunSettingsSetCommand extends GraphCommand_1.default {
|
|
|
42
43
|
};
|
|
43
44
|
TeamsFunSettingsSetCommand.booleanProps.forEach(p => {
|
|
44
45
|
if (typeof args.options[p] !== 'undefined') {
|
|
45
|
-
data.funSettings[p] = args.options[p]
|
|
46
|
+
data.funSettings[p] = args.options[p];
|
|
46
47
|
}
|
|
47
48
|
});
|
|
48
49
|
if (args.options.giphyContentRating) {
|
|
@@ -77,36 +78,28 @@ _TeamsFunSettingsSetCommand_instances = new WeakSet(), _TeamsFunSettingsSetComma
|
|
|
77
78
|
this.options.unshift({
|
|
78
79
|
option: '-i, --teamId <teamId>'
|
|
79
80
|
}, {
|
|
80
|
-
option: '--allowGiphy [allowGiphy]'
|
|
81
|
+
option: '--allowGiphy [allowGiphy]',
|
|
82
|
+
autocomplete: ['true', 'false']
|
|
81
83
|
}, {
|
|
82
84
|
option: '--giphyContentRating [giphyContentRating]'
|
|
83
85
|
}, {
|
|
84
|
-
option: '--allowStickersAndMemes [allowStickersAndMemes]'
|
|
86
|
+
option: '--allowStickersAndMemes [allowStickersAndMemes]',
|
|
87
|
+
autocomplete: ['true', 'false']
|
|
85
88
|
}, {
|
|
86
|
-
option: '--allowCustomMemes [allowCustomMemes]'
|
|
89
|
+
option: '--allowCustomMemes [allowCustomMemes]',
|
|
90
|
+
autocomplete: ['true', 'false']
|
|
87
91
|
});
|
|
92
|
+
}, _TeamsFunSettingsSetCommand_initTypes = function _TeamsFunSettingsSetCommand_initTypes() {
|
|
93
|
+
this.types.boolean.push('allowGiphy', 'allowStickersAndMemes', 'allowCustomMemes');
|
|
88
94
|
}, _TeamsFunSettingsSetCommand_initValidators = function _TeamsFunSettingsSetCommand_initValidators() {
|
|
89
95
|
this.validators.push((args) => __awaiter(this, void 0, void 0, function* () {
|
|
90
96
|
if (!validation_1.validation.isValidGuid(args.options.teamId)) {
|
|
91
97
|
return `${args.options.teamId} is not a valid GUID`;
|
|
92
98
|
}
|
|
93
|
-
let isValid = true;
|
|
94
|
-
let value, property = '';
|
|
95
|
-
TeamsFunSettingsSetCommand.booleanProps.every(p => {
|
|
96
|
-
property = p;
|
|
97
|
-
value = args.options[p];
|
|
98
|
-
isValid = typeof value === 'undefined' ||
|
|
99
|
-
value === 'true' ||
|
|
100
|
-
value === 'false';
|
|
101
|
-
return isValid;
|
|
102
|
-
});
|
|
103
|
-
if (!isValid) {
|
|
104
|
-
return `Value ${value} for option ${property} is not a valid boolean`;
|
|
105
|
-
}
|
|
106
99
|
if (args.options.giphyContentRating) {
|
|
107
100
|
const giphyContentRating = args.options.giphyContentRating.toLowerCase();
|
|
108
101
|
if (giphyContentRating !== 'strict' && giphyContentRating !== 'moderate') {
|
|
109
|
-
return `giphyContentRating value ${
|
|
102
|
+
return `giphyContentRating value ${args.options.giphyContentRating} is not valid. Please specify Strict or Moderate.`;
|
|
110
103
|
}
|
|
111
104
|
}
|
|
112
105
|
return true;
|
|
@@ -21,18 +21,18 @@ const validation_1 = require("../../../../utils/validation");
|
|
|
21
21
|
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
22
22
|
const commands_1 = require("../../commands");
|
|
23
23
|
class TeamsGuestSettingsListCommand extends GraphCommand_1.default {
|
|
24
|
-
constructor() {
|
|
25
|
-
super();
|
|
26
|
-
_TeamsGuestSettingsListCommand_instances.add(this);
|
|
27
|
-
__classPrivateFieldGet(this, _TeamsGuestSettingsListCommand_instances, "m", _TeamsGuestSettingsListCommand_initOptions).call(this);
|
|
28
|
-
__classPrivateFieldGet(this, _TeamsGuestSettingsListCommand_instances, "m", _TeamsGuestSettingsListCommand_initValidators).call(this);
|
|
29
|
-
}
|
|
30
24
|
get name() {
|
|
31
25
|
return commands_1.default.GUESTSETTINGS_LIST;
|
|
32
26
|
}
|
|
33
27
|
get description() {
|
|
34
28
|
return 'Lists guest settings for a Microsoft Teams team';
|
|
35
29
|
}
|
|
30
|
+
constructor() {
|
|
31
|
+
super();
|
|
32
|
+
_TeamsGuestSettingsListCommand_instances.add(this);
|
|
33
|
+
__classPrivateFieldGet(this, _TeamsGuestSettingsListCommand_instances, "m", _TeamsGuestSettingsListCommand_initOptions).call(this);
|
|
34
|
+
__classPrivateFieldGet(this, _TeamsGuestSettingsListCommand_instances, "m", _TeamsGuestSettingsListCommand_initValidators).call(this);
|
|
35
|
+
}
|
|
36
36
|
commandAction(logger, args) {
|
|
37
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
38
|
const requestOptions = {
|
|
@@ -13,7 +13,7 @@ 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 _TeamsGuestSettingsSetCommand_instances, _TeamsGuestSettingsSetCommand_initTelemetry, _TeamsGuestSettingsSetCommand_initOptions, _TeamsGuestSettingsSetCommand_initValidators;
|
|
16
|
+
var _TeamsGuestSettingsSetCommand_instances, _TeamsGuestSettingsSetCommand_initTelemetry, _TeamsGuestSettingsSetCommand_initOptions, _TeamsGuestSettingsSetCommand_initTypes, _TeamsGuestSettingsSetCommand_initValidators;
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
const request_1 = require("../../../../request");
|
|
19
19
|
const formatting_1 = require("../../../../utils/formatting");
|
|
@@ -21,27 +21,28 @@ const validation_1 = require("../../../../utils/validation");
|
|
|
21
21
|
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
22
22
|
const commands_1 = require("../../commands");
|
|
23
23
|
class TeamsGuestSettingsSetCommand extends GraphCommand_1.default {
|
|
24
|
+
get name() {
|
|
25
|
+
return commands_1.default.GUESTSETTINGS_SET;
|
|
26
|
+
}
|
|
27
|
+
get description() {
|
|
28
|
+
return 'Updates guest settings of a Microsoft Teams team';
|
|
29
|
+
}
|
|
24
30
|
constructor() {
|
|
25
31
|
super();
|
|
26
32
|
_TeamsGuestSettingsSetCommand_instances.add(this);
|
|
27
33
|
__classPrivateFieldGet(this, _TeamsGuestSettingsSetCommand_instances, "m", _TeamsGuestSettingsSetCommand_initTelemetry).call(this);
|
|
28
34
|
__classPrivateFieldGet(this, _TeamsGuestSettingsSetCommand_instances, "m", _TeamsGuestSettingsSetCommand_initOptions).call(this);
|
|
35
|
+
__classPrivateFieldGet(this, _TeamsGuestSettingsSetCommand_instances, "m", _TeamsGuestSettingsSetCommand_initTypes).call(this);
|
|
29
36
|
__classPrivateFieldGet(this, _TeamsGuestSettingsSetCommand_instances, "m", _TeamsGuestSettingsSetCommand_initValidators).call(this);
|
|
30
37
|
}
|
|
31
|
-
get name() {
|
|
32
|
-
return commands_1.default.GUESTSETTINGS_SET;
|
|
33
|
-
}
|
|
34
|
-
get description() {
|
|
35
|
-
return 'Updates guest settings of a Microsoft Teams team';
|
|
36
|
-
}
|
|
37
38
|
commandAction(logger, args) {
|
|
38
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
40
|
const data = {
|
|
40
41
|
guestSettings: {}
|
|
41
42
|
};
|
|
42
|
-
TeamsGuestSettingsSetCommand.
|
|
43
|
+
TeamsGuestSettingsSetCommand.booleanProps.forEach(p => {
|
|
43
44
|
if (typeof args.options[p] !== 'undefined') {
|
|
44
|
-
data.guestSettings[p] = args.options[p]
|
|
45
|
+
data.guestSettings[p] = args.options[p];
|
|
45
46
|
}
|
|
46
47
|
});
|
|
47
48
|
const requestOptions = {
|
|
@@ -63,7 +64,7 @@ class TeamsGuestSettingsSetCommand extends GraphCommand_1.default {
|
|
|
63
64
|
}
|
|
64
65
|
_TeamsGuestSettingsSetCommand_instances = new WeakSet(), _TeamsGuestSettingsSetCommand_initTelemetry = function _TeamsGuestSettingsSetCommand_initTelemetry() {
|
|
65
66
|
this.telemetry.push((args) => {
|
|
66
|
-
TeamsGuestSettingsSetCommand.
|
|
67
|
+
TeamsGuestSettingsSetCommand.booleanProps.forEach(p => {
|
|
67
68
|
this.telemetryProperties[p] = args.options[p];
|
|
68
69
|
});
|
|
69
70
|
});
|
|
@@ -71,32 +72,23 @@ _TeamsGuestSettingsSetCommand_instances = new WeakSet(), _TeamsGuestSettingsSetC
|
|
|
71
72
|
this.options.unshift({
|
|
72
73
|
option: '-i, --teamId <teamId>'
|
|
73
74
|
}, {
|
|
74
|
-
option: '--allowCreateUpdateChannels [allowCreateUpdateChannels]'
|
|
75
|
+
option: '--allowCreateUpdateChannels [allowCreateUpdateChannels]',
|
|
76
|
+
autocomplete: ['true', 'false']
|
|
75
77
|
}, {
|
|
76
|
-
option: '--allowDeleteChannels [allowDeleteChannels]'
|
|
78
|
+
option: '--allowDeleteChannels [allowDeleteChannels]',
|
|
79
|
+
autocomplete: ['true', 'false']
|
|
77
80
|
});
|
|
81
|
+
}, _TeamsGuestSettingsSetCommand_initTypes = function _TeamsGuestSettingsSetCommand_initTypes() {
|
|
82
|
+
this.types.boolean.push('allowCreateUpdateChannels', 'allowDeleteChannels');
|
|
78
83
|
}, _TeamsGuestSettingsSetCommand_initValidators = function _TeamsGuestSettingsSetCommand_initValidators() {
|
|
79
84
|
this.validators.push((args) => __awaiter(this, void 0, void 0, function* () {
|
|
80
85
|
if (!validation_1.validation.isValidGuid(args.options.teamId)) {
|
|
81
86
|
return `${args.options.teamId} is not a valid GUID`;
|
|
82
87
|
}
|
|
83
|
-
let isValid = true;
|
|
84
|
-
let value, property = '';
|
|
85
|
-
TeamsGuestSettingsSetCommand.props.every(p => {
|
|
86
|
-
property = p;
|
|
87
|
-
value = args.options[p];
|
|
88
|
-
isValid = typeof value === 'undefined' ||
|
|
89
|
-
value === 'true' ||
|
|
90
|
-
value === 'false';
|
|
91
|
-
return isValid;
|
|
92
|
-
});
|
|
93
|
-
if (!isValid) {
|
|
94
|
-
return `Value ${value} for option ${property} is not a valid boolean`;
|
|
95
|
-
}
|
|
96
88
|
return true;
|
|
97
89
|
}));
|
|
98
90
|
};
|
|
99
|
-
TeamsGuestSettingsSetCommand.
|
|
91
|
+
TeamsGuestSettingsSetCommand.booleanProps = [
|
|
100
92
|
'allowCreateUpdateChannels',
|
|
101
93
|
'allowDeleteChannels'
|
|
102
94
|
];
|
|
@@ -0,0 +1,121 @@
|
|
|
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
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
12
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
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
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
15
|
+
};
|
|
16
|
+
var _TeamsMeetingAttendancereportListCommand_instances, _TeamsMeetingAttendancereportListCommand_initTelemetry, _TeamsMeetingAttendancereportListCommand_initOptions, _TeamsMeetingAttendancereportListCommand_initValidators;
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const Auth_1 = require("../../../../Auth");
|
|
19
|
+
const Cli_1 = require("../../../../cli/Cli");
|
|
20
|
+
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
21
|
+
const commands_1 = require("../../commands");
|
|
22
|
+
const odata_1 = require("../../../../utils/odata");
|
|
23
|
+
const validation_1 = require("../../../../utils/validation");
|
|
24
|
+
const AadUserGetCommand = require("../../../aad/commands/user/user-get");
|
|
25
|
+
const accessToken_1 = require("../../../../utils/accessToken");
|
|
26
|
+
class TeamsMeetingAttendancereportListCommand extends GraphCommand_1.default {
|
|
27
|
+
get name() {
|
|
28
|
+
return commands_1.default.MEETING_ATTENDANCEREPORT_LIST;
|
|
29
|
+
}
|
|
30
|
+
get description() {
|
|
31
|
+
return 'Lists all attendance reports for a given meeting';
|
|
32
|
+
}
|
|
33
|
+
defaultProperties() {
|
|
34
|
+
return ['id', 'totalParticipantCount'];
|
|
35
|
+
}
|
|
36
|
+
constructor() {
|
|
37
|
+
super();
|
|
38
|
+
_TeamsMeetingAttendancereportListCommand_instances.add(this);
|
|
39
|
+
__classPrivateFieldGet(this, _TeamsMeetingAttendancereportListCommand_instances, "m", _TeamsMeetingAttendancereportListCommand_initTelemetry).call(this);
|
|
40
|
+
__classPrivateFieldGet(this, _TeamsMeetingAttendancereportListCommand_instances, "m", _TeamsMeetingAttendancereportListCommand_initOptions).call(this);
|
|
41
|
+
__classPrivateFieldGet(this, _TeamsMeetingAttendancereportListCommand_instances, "m", _TeamsMeetingAttendancereportListCommand_initValidators).call(this);
|
|
42
|
+
}
|
|
43
|
+
commandAction(logger, args) {
|
|
44
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
45
|
+
const isAppOnlyAuth = accessToken_1.accessToken.isAppOnlyAccessToken(Auth_1.default.service.accessTokens[this.resource].accessToken);
|
|
46
|
+
if (isAppOnlyAuth && !args.options.userId && !args.options.userName && !args.options.email) {
|
|
47
|
+
this.handleError(`The option 'userId', 'userName' or 'email' is required when retrieving meeting attendance report using app only permissions`);
|
|
48
|
+
}
|
|
49
|
+
else if (!isAppOnlyAuth && (args.options.userId || args.options.userName || args.options.email)) {
|
|
50
|
+
this.handleError(`The options 'userId', 'userName' and 'email' cannot be used when retrieving meeting attendance reports using delegated permissions`);
|
|
51
|
+
}
|
|
52
|
+
try {
|
|
53
|
+
if (this.verbose) {
|
|
54
|
+
logger.logToStderr(`Retrieving attendance report for ${isAppOnlyAuth ? 'specific user' : 'currently logged in user'}`);
|
|
55
|
+
}
|
|
56
|
+
let requestUrl = `${this.resource}/v1.0/`;
|
|
57
|
+
if (isAppOnlyAuth) {
|
|
58
|
+
requestUrl += 'users/';
|
|
59
|
+
if (args.options.userId) {
|
|
60
|
+
requestUrl += args.options.userId;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
const userId = yield this.getUserId(args.options.userName, args.options.email);
|
|
64
|
+
requestUrl += userId;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
requestUrl += `me`;
|
|
69
|
+
}
|
|
70
|
+
requestUrl += `/onlineMeetings/${args.options.meetingId}/attendanceReports`;
|
|
71
|
+
const res = yield odata_1.odata.getAllItems(requestUrl);
|
|
72
|
+
logger.log(res);
|
|
73
|
+
}
|
|
74
|
+
catch (err) {
|
|
75
|
+
this.handleRejectedODataJsonPromise(err);
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
getUserId(userName, email) {
|
|
80
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
81
|
+
const options = {
|
|
82
|
+
email: email,
|
|
83
|
+
userName: userName,
|
|
84
|
+
output: 'json',
|
|
85
|
+
debug: this.debug,
|
|
86
|
+
verbose: this.verbose
|
|
87
|
+
};
|
|
88
|
+
const output = yield Cli_1.Cli.executeCommandWithOutput(AadUserGetCommand, { options: Object.assign(Object.assign({}, options), { _: [] }) });
|
|
89
|
+
const getUserOutput = JSON.parse(output.stdout);
|
|
90
|
+
return getUserOutput.id;
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
_TeamsMeetingAttendancereportListCommand_instances = new WeakSet(), _TeamsMeetingAttendancereportListCommand_initTelemetry = function _TeamsMeetingAttendancereportListCommand_initTelemetry() {
|
|
95
|
+
this.telemetry.push((args) => {
|
|
96
|
+
Object.assign(this.telemetryProperties, {
|
|
97
|
+
userId: typeof args.options.userId !== 'undefined',
|
|
98
|
+
userName: typeof args.options.userName !== 'undefined',
|
|
99
|
+
email: typeof args.options.email !== 'undefined'
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
}, _TeamsMeetingAttendancereportListCommand_initOptions = function _TeamsMeetingAttendancereportListCommand_initOptions() {
|
|
103
|
+
this.options.unshift({
|
|
104
|
+
option: '-u, --userId [userId]'
|
|
105
|
+
}, {
|
|
106
|
+
option: '-n, --userName [userName]'
|
|
107
|
+
}, {
|
|
108
|
+
option: '--email [email]'
|
|
109
|
+
}, {
|
|
110
|
+
option: '-m, --meetingId <meetingId>'
|
|
111
|
+
});
|
|
112
|
+
}, _TeamsMeetingAttendancereportListCommand_initValidators = function _TeamsMeetingAttendancereportListCommand_initValidators() {
|
|
113
|
+
this.validators.push((args) => __awaiter(this, void 0, void 0, function* () {
|
|
114
|
+
if (args.options.userId && !validation_1.validation.isValidGuid(args.options.userId)) {
|
|
115
|
+
return `${args.options.userId} is not a valid Guid`;
|
|
116
|
+
}
|
|
117
|
+
return true;
|
|
118
|
+
}));
|
|
119
|
+
};
|
|
120
|
+
module.exports = new TeamsMeetingAttendancereportListCommand();
|
|
121
|
+
//# sourceMappingURL=meeting-attendancereport-list.js.map
|
|
@@ -24,6 +24,12 @@ const validation_1 = require("../../../../utils/validation");
|
|
|
24
24
|
const accessToken_1 = require("../../../../utils/accessToken");
|
|
25
25
|
const AadUserGetCommand = require("../../../aad/commands/user/user-get");
|
|
26
26
|
class TeamsMeetingGetCommand extends GraphCommand_1.default {
|
|
27
|
+
get name() {
|
|
28
|
+
return commands_1.default.MEETING_GET;
|
|
29
|
+
}
|
|
30
|
+
get description() {
|
|
31
|
+
return 'Get specified meeting details';
|
|
32
|
+
}
|
|
27
33
|
constructor() {
|
|
28
34
|
super();
|
|
29
35
|
_TeamsMeetingGetCommand_instances.add(this);
|
|
@@ -31,12 +37,6 @@ class TeamsMeetingGetCommand extends GraphCommand_1.default {
|
|
|
31
37
|
__classPrivateFieldGet(this, _TeamsMeetingGetCommand_instances, "m", _TeamsMeetingGetCommand_initOptions).call(this);
|
|
32
38
|
__classPrivateFieldGet(this, _TeamsMeetingGetCommand_instances, "m", _TeamsMeetingGetCommand_initValidators).call(this);
|
|
33
39
|
}
|
|
34
|
-
get name() {
|
|
35
|
-
return commands_1.default.MEETING_GET;
|
|
36
|
-
}
|
|
37
|
-
get description() {
|
|
38
|
-
return 'Get specified meeting details';
|
|
39
|
-
}
|
|
40
40
|
getUserId(options) {
|
|
41
41
|
return __awaiter(this, void 0, void 0, function* () {
|
|
42
42
|
const commandOptions = {
|
|
@@ -23,13 +23,6 @@ const odata_1 = require("../../../../utils/odata");
|
|
|
23
23
|
const validation_1 = require("../../../../utils/validation");
|
|
24
24
|
const AadUserGetCommand = require("../../../aad/commands/user/user-get");
|
|
25
25
|
class TeamsMeetingListCommand extends GraphCommand_1.default {
|
|
26
|
-
constructor() {
|
|
27
|
-
super();
|
|
28
|
-
_TeamsMeetingListCommand_instances.add(this);
|
|
29
|
-
__classPrivateFieldGet(this, _TeamsMeetingListCommand_instances, "m", _TeamsMeetingListCommand_initTelemetry).call(this);
|
|
30
|
-
__classPrivateFieldGet(this, _TeamsMeetingListCommand_instances, "m", _TeamsMeetingListCommand_initOptions).call(this);
|
|
31
|
-
__classPrivateFieldGet(this, _TeamsMeetingListCommand_instances, "m", _TeamsMeetingListCommand_initValidators).call(this);
|
|
32
|
-
}
|
|
33
26
|
get name() {
|
|
34
27
|
return commands_1.default.MEETING_LIST;
|
|
35
28
|
}
|
|
@@ -39,6 +32,13 @@ class TeamsMeetingListCommand extends GraphCommand_1.default {
|
|
|
39
32
|
defaultProperties() {
|
|
40
33
|
return ['subject', 'start', 'end'];
|
|
41
34
|
}
|
|
35
|
+
constructor() {
|
|
36
|
+
super();
|
|
37
|
+
_TeamsMeetingListCommand_instances.add(this);
|
|
38
|
+
__classPrivateFieldGet(this, _TeamsMeetingListCommand_instances, "m", _TeamsMeetingListCommand_initTelemetry).call(this);
|
|
39
|
+
__classPrivateFieldGet(this, _TeamsMeetingListCommand_instances, "m", _TeamsMeetingListCommand_initOptions).call(this);
|
|
40
|
+
__classPrivateFieldGet(this, _TeamsMeetingListCommand_instances, "m", _TeamsMeetingListCommand_initValidators).call(this);
|
|
41
|
+
}
|
|
42
42
|
commandAction(logger, args) {
|
|
43
43
|
return __awaiter(this, void 0, void 0, function* () {
|
|
44
44
|
try {
|
|
@@ -21,18 +21,18 @@ const validation_1 = require("../../../../utils/validation");
|
|
|
21
21
|
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
22
22
|
const commands_1 = require("../../commands");
|
|
23
23
|
class TeamsMemberSettingsListCommand extends GraphCommand_1.default {
|
|
24
|
-
constructor() {
|
|
25
|
-
super();
|
|
26
|
-
_TeamsMemberSettingsListCommand_instances.add(this);
|
|
27
|
-
__classPrivateFieldGet(this, _TeamsMemberSettingsListCommand_instances, "m", _TeamsMemberSettingsListCommand_initOptions).call(this);
|
|
28
|
-
__classPrivateFieldGet(this, _TeamsMemberSettingsListCommand_instances, "m", _TeamsMemberSettingsListCommand_initValidators).call(this);
|
|
29
|
-
}
|
|
30
24
|
get name() {
|
|
31
25
|
return commands_1.default.MEMBERSETTINGS_LIST;
|
|
32
26
|
}
|
|
33
27
|
get description() {
|
|
34
28
|
return 'Lists member settings for a Microsoft Teams team';
|
|
35
29
|
}
|
|
30
|
+
constructor() {
|
|
31
|
+
super();
|
|
32
|
+
_TeamsMemberSettingsListCommand_instances.add(this);
|
|
33
|
+
__classPrivateFieldGet(this, _TeamsMemberSettingsListCommand_instances, "m", _TeamsMemberSettingsListCommand_initOptions).call(this);
|
|
34
|
+
__classPrivateFieldGet(this, _TeamsMemberSettingsListCommand_instances, "m", _TeamsMemberSettingsListCommand_initValidators).call(this);
|
|
35
|
+
}
|
|
36
36
|
commandAction(logger, args) {
|
|
37
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
38
|
const requestOptions = {
|
|
@@ -13,7 +13,7 @@ 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 _TeamsMemberSettingsSetCommand_instances, _TeamsMemberSettingsSetCommand_initTelemetry, _TeamsMemberSettingsSetCommand_initOptions, _TeamsMemberSettingsSetCommand_initValidators;
|
|
16
|
+
var _TeamsMemberSettingsSetCommand_instances, _TeamsMemberSettingsSetCommand_initTelemetry, _TeamsMemberSettingsSetCommand_initOptions, _TeamsMemberSettingsSetCommand_initTypes, _TeamsMemberSettingsSetCommand_initValidators;
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
const request_1 = require("../../../../request");
|
|
19
19
|
const formatting_1 = require("../../../../utils/formatting");
|
|
@@ -21,27 +21,28 @@ const validation_1 = require("../../../../utils/validation");
|
|
|
21
21
|
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
22
22
|
const commands_1 = require("../../commands");
|
|
23
23
|
class TeamsMemberSettingsSetCommand extends GraphCommand_1.default {
|
|
24
|
+
get name() {
|
|
25
|
+
return commands_1.default.MEMBERSETTINGS_SET;
|
|
26
|
+
}
|
|
27
|
+
get description() {
|
|
28
|
+
return 'Updates member settings of a Microsoft Teams team';
|
|
29
|
+
}
|
|
24
30
|
constructor() {
|
|
25
31
|
super();
|
|
26
32
|
_TeamsMemberSettingsSetCommand_instances.add(this);
|
|
27
33
|
__classPrivateFieldGet(this, _TeamsMemberSettingsSetCommand_instances, "m", _TeamsMemberSettingsSetCommand_initTelemetry).call(this);
|
|
28
34
|
__classPrivateFieldGet(this, _TeamsMemberSettingsSetCommand_instances, "m", _TeamsMemberSettingsSetCommand_initOptions).call(this);
|
|
35
|
+
__classPrivateFieldGet(this, _TeamsMemberSettingsSetCommand_instances, "m", _TeamsMemberSettingsSetCommand_initTypes).call(this);
|
|
29
36
|
__classPrivateFieldGet(this, _TeamsMemberSettingsSetCommand_instances, "m", _TeamsMemberSettingsSetCommand_initValidators).call(this);
|
|
30
37
|
}
|
|
31
|
-
get name() {
|
|
32
|
-
return commands_1.default.MEMBERSETTINGS_SET;
|
|
33
|
-
}
|
|
34
|
-
get description() {
|
|
35
|
-
return 'Updates member settings of a Microsoft Teams team';
|
|
36
|
-
}
|
|
37
38
|
commandAction(logger, args) {
|
|
38
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
40
|
const data = {
|
|
40
41
|
memberSettings: {}
|
|
41
42
|
};
|
|
42
|
-
TeamsMemberSettingsSetCommand.
|
|
43
|
+
TeamsMemberSettingsSetCommand.booleanProps.forEach(p => {
|
|
43
44
|
if (typeof args.options[p] !== 'undefined') {
|
|
44
|
-
data.memberSettings[p] = args.options[p]
|
|
45
|
+
data.memberSettings[p] = args.options[p];
|
|
45
46
|
}
|
|
46
47
|
});
|
|
47
48
|
const requestOptions = {
|
|
@@ -63,7 +64,7 @@ class TeamsMemberSettingsSetCommand extends GraphCommand_1.default {
|
|
|
63
64
|
}
|
|
64
65
|
_TeamsMemberSettingsSetCommand_instances = new WeakSet(), _TeamsMemberSettingsSetCommand_initTelemetry = function _TeamsMemberSettingsSetCommand_initTelemetry() {
|
|
65
66
|
this.telemetry.push((args) => {
|
|
66
|
-
TeamsMemberSettingsSetCommand.
|
|
67
|
+
TeamsMemberSettingsSetCommand.booleanProps.forEach(p => {
|
|
67
68
|
this.telemetryProperties[p] = args.options[p];
|
|
68
69
|
});
|
|
69
70
|
});
|
|
@@ -71,38 +72,32 @@ _TeamsMemberSettingsSetCommand_instances = new WeakSet(), _TeamsMemberSettingsSe
|
|
|
71
72
|
this.options.unshift({
|
|
72
73
|
option: '-i, --teamId <teamId>'
|
|
73
74
|
}, {
|
|
74
|
-
option: '--allowAddRemoveApps [allowAddRemoveApps]'
|
|
75
|
+
option: '--allowAddRemoveApps [allowAddRemoveApps]',
|
|
76
|
+
autocomplete: ['true', 'false']
|
|
75
77
|
}, {
|
|
76
|
-
option: '--allowCreateUpdateChannels [allowCreateUpdateChannels]'
|
|
78
|
+
option: '--allowCreateUpdateChannels [allowCreateUpdateChannels]',
|
|
79
|
+
autocomplete: ['true', 'false']
|
|
77
80
|
}, {
|
|
78
|
-
option: '--allowCreateUpdateRemoveConnectors [allowCreateUpdateRemoveConnectors]'
|
|
81
|
+
option: '--allowCreateUpdateRemoveConnectors [allowCreateUpdateRemoveConnectors]',
|
|
82
|
+
autocomplete: ['true', 'false']
|
|
79
83
|
}, {
|
|
80
|
-
option: '--allowCreateUpdateRemoveTabs [allowCreateUpdateRemoveTabs]'
|
|
84
|
+
option: '--allowCreateUpdateRemoveTabs [allowCreateUpdateRemoveTabs]',
|
|
85
|
+
autocomplete: ['true', 'false']
|
|
81
86
|
}, {
|
|
82
|
-
option: '--allowDeleteChannels [allowDeleteChannels]'
|
|
87
|
+
option: '--allowDeleteChannels [allowDeleteChannels]',
|
|
88
|
+
autocomplete: ['true', 'false']
|
|
83
89
|
});
|
|
90
|
+
}, _TeamsMemberSettingsSetCommand_initTypes = function _TeamsMemberSettingsSetCommand_initTypes() {
|
|
91
|
+
this.types.boolean.push('allowAddRemoveApps', 'allowCreateUpdateChannels', 'allowCreateUpdateRemoveConnectors', 'allowCreateUpdateRemoveTabs', 'allowDeleteChannels');
|
|
84
92
|
}, _TeamsMemberSettingsSetCommand_initValidators = function _TeamsMemberSettingsSetCommand_initValidators() {
|
|
85
93
|
this.validators.push((args) => __awaiter(this, void 0, void 0, function* () {
|
|
86
94
|
if (!validation_1.validation.isValidGuid(args.options.teamId)) {
|
|
87
95
|
return `${args.options.teamId} is not a valid GUID`;
|
|
88
96
|
}
|
|
89
|
-
let isValid = true;
|
|
90
|
-
let value, property = '';
|
|
91
|
-
TeamsMemberSettingsSetCommand.props.every(p => {
|
|
92
|
-
property = p;
|
|
93
|
-
value = args.options[p];
|
|
94
|
-
isValid = typeof value === 'undefined' ||
|
|
95
|
-
value === 'true' ||
|
|
96
|
-
value === 'false';
|
|
97
|
-
return isValid;
|
|
98
|
-
});
|
|
99
|
-
if (!isValid) {
|
|
100
|
-
return `Value ${value} for option ${property} is not a valid boolean`;
|
|
101
|
-
}
|
|
102
97
|
return true;
|
|
103
98
|
}));
|
|
104
99
|
};
|
|
105
|
-
TeamsMemberSettingsSetCommand.
|
|
100
|
+
TeamsMemberSettingsSetCommand.booleanProps = [
|
|
106
101
|
'allowAddRemoveApps',
|
|
107
102
|
'allowCreateUpdateChannels',
|
|
108
103
|
'allowCreateUpdateRemoveConnectors',
|
|
@@ -20,18 +20,18 @@ const validation_1 = require("../../../../utils/validation");
|
|
|
20
20
|
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
21
21
|
const commands_1 = require("../../commands");
|
|
22
22
|
class TeamsMessageGetCommand extends GraphCommand_1.default {
|
|
23
|
-
constructor() {
|
|
24
|
-
super();
|
|
25
|
-
_TeamsMessageGetCommand_instances.add(this);
|
|
26
|
-
__classPrivateFieldGet(this, _TeamsMessageGetCommand_instances, "m", _TeamsMessageGetCommand_initOptions).call(this);
|
|
27
|
-
__classPrivateFieldGet(this, _TeamsMessageGetCommand_instances, "m", _TeamsMessageGetCommand_initValidators).call(this);
|
|
28
|
-
}
|
|
29
23
|
get name() {
|
|
30
24
|
return commands_1.default.MESSAGE_GET;
|
|
31
25
|
}
|
|
32
26
|
get description() {
|
|
33
27
|
return 'Retrieves a message from a channel in a Microsoft Teams team';
|
|
34
28
|
}
|
|
29
|
+
constructor() {
|
|
30
|
+
super();
|
|
31
|
+
_TeamsMessageGetCommand_instances.add(this);
|
|
32
|
+
__classPrivateFieldGet(this, _TeamsMessageGetCommand_instances, "m", _TeamsMessageGetCommand_initOptions).call(this);
|
|
33
|
+
__classPrivateFieldGet(this, _TeamsMessageGetCommand_instances, "m", _TeamsMessageGetCommand_initValidators).call(this);
|
|
34
|
+
}
|
|
35
35
|
commandAction(logger, args) {
|
|
36
36
|
return __awaiter(this, void 0, void 0, function* () {
|
|
37
37
|
const requestOptions = {
|
|
@@ -20,13 +20,6 @@ const validation_1 = require("../../../../utils/validation");
|
|
|
20
20
|
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
21
21
|
const commands_1 = require("../../commands");
|
|
22
22
|
class TeamsMessageListCommand extends GraphCommand_1.default {
|
|
23
|
-
constructor() {
|
|
24
|
-
super();
|
|
25
|
-
_TeamsMessageListCommand_instances.add(this);
|
|
26
|
-
__classPrivateFieldGet(this, _TeamsMessageListCommand_instances, "m", _TeamsMessageListCommand_initTelemetry).call(this);
|
|
27
|
-
__classPrivateFieldGet(this, _TeamsMessageListCommand_instances, "m", _TeamsMessageListCommand_initOptions).call(this);
|
|
28
|
-
__classPrivateFieldGet(this, _TeamsMessageListCommand_instances, "m", _TeamsMessageListCommand_initValidators).call(this);
|
|
29
|
-
}
|
|
30
23
|
get name() {
|
|
31
24
|
return commands_1.default.MESSAGE_LIST;
|
|
32
25
|
}
|
|
@@ -36,6 +29,13 @@ class TeamsMessageListCommand extends GraphCommand_1.default {
|
|
|
36
29
|
defaultProperties() {
|
|
37
30
|
return ['id', 'summary', 'body'];
|
|
38
31
|
}
|
|
32
|
+
constructor() {
|
|
33
|
+
super();
|
|
34
|
+
_TeamsMessageListCommand_instances.add(this);
|
|
35
|
+
__classPrivateFieldGet(this, _TeamsMessageListCommand_instances, "m", _TeamsMessageListCommand_initTelemetry).call(this);
|
|
36
|
+
__classPrivateFieldGet(this, _TeamsMessageListCommand_instances, "m", _TeamsMessageListCommand_initOptions).call(this);
|
|
37
|
+
__classPrivateFieldGet(this, _TeamsMessageListCommand_instances, "m", _TeamsMessageListCommand_initValidators).call(this);
|
|
38
|
+
}
|
|
39
39
|
commandAction(logger, args) {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
41
41
|
const deltaExtension = args.options.since !== undefined ? `/delta?$filter=lastModifiedDateTime gt ${args.options.since}` : '';
|
|
@@ -20,12 +20,6 @@ const validation_1 = require("../../../../utils/validation");
|
|
|
20
20
|
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
21
21
|
const commands_1 = require("../../commands");
|
|
22
22
|
class TeamsMessageReplyListCommand extends GraphCommand_1.default {
|
|
23
|
-
constructor() {
|
|
24
|
-
super();
|
|
25
|
-
_TeamsMessageReplyListCommand_instances.add(this);
|
|
26
|
-
__classPrivateFieldGet(this, _TeamsMessageReplyListCommand_instances, "m", _TeamsMessageReplyListCommand_initOptions).call(this);
|
|
27
|
-
__classPrivateFieldGet(this, _TeamsMessageReplyListCommand_instances, "m", _TeamsMessageReplyListCommand_initValidators).call(this);
|
|
28
|
-
}
|
|
29
23
|
get name() {
|
|
30
24
|
return commands_1.default.MESSAGE_REPLY_LIST;
|
|
31
25
|
}
|
|
@@ -35,6 +29,12 @@ class TeamsMessageReplyListCommand extends GraphCommand_1.default {
|
|
|
35
29
|
defaultProperties() {
|
|
36
30
|
return ['id', 'body'];
|
|
37
31
|
}
|
|
32
|
+
constructor() {
|
|
33
|
+
super();
|
|
34
|
+
_TeamsMessageReplyListCommand_instances.add(this);
|
|
35
|
+
__classPrivateFieldGet(this, _TeamsMessageReplyListCommand_instances, "m", _TeamsMessageReplyListCommand_initOptions).call(this);
|
|
36
|
+
__classPrivateFieldGet(this, _TeamsMessageReplyListCommand_instances, "m", _TeamsMessageReplyListCommand_initValidators).call(this);
|
|
37
|
+
}
|
|
38
38
|
commandAction(logger, args) {
|
|
39
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
40
40
|
const endpoint = `${this.resource}/v1.0/teams/${args.options.teamId}/channels/${args.options.channelId}/messages/${args.options.messageId}/replies`;
|
|
@@ -21,18 +21,18 @@ const validation_1 = require("../../../../utils/validation");
|
|
|
21
21
|
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
22
22
|
const commands_1 = require("../../commands");
|
|
23
23
|
class TeamsMessagingSettingsListCommand extends GraphCommand_1.default {
|
|
24
|
-
constructor() {
|
|
25
|
-
super();
|
|
26
|
-
_TeamsMessagingSettingsListCommand_instances.add(this);
|
|
27
|
-
__classPrivateFieldGet(this, _TeamsMessagingSettingsListCommand_instances, "m", _TeamsMessagingSettingsListCommand_initOptions).call(this);
|
|
28
|
-
__classPrivateFieldGet(this, _TeamsMessagingSettingsListCommand_instances, "m", _TeamsMessagingSettingsListCommand_initValidators).call(this);
|
|
29
|
-
}
|
|
30
24
|
get name() {
|
|
31
25
|
return commands_1.default.MESSAGINGSETTINGS_LIST;
|
|
32
26
|
}
|
|
33
27
|
get description() {
|
|
34
28
|
return 'Lists messaging settings for a Microsoft Teams team';
|
|
35
29
|
}
|
|
30
|
+
constructor() {
|
|
31
|
+
super();
|
|
32
|
+
_TeamsMessagingSettingsListCommand_instances.add(this);
|
|
33
|
+
__classPrivateFieldGet(this, _TeamsMessagingSettingsListCommand_instances, "m", _TeamsMessagingSettingsListCommand_initOptions).call(this);
|
|
34
|
+
__classPrivateFieldGet(this, _TeamsMessagingSettingsListCommand_instances, "m", _TeamsMessagingSettingsListCommand_initValidators).call(this);
|
|
35
|
+
}
|
|
36
36
|
commandAction(logger, args) {
|
|
37
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
38
|
const requestOptions = {
|