@pnp/cli-microsoft365 6.1.0-beta.f03db2d → 6.1.0-beta.f818fbb
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/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 +19 -64
- 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-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 +17 -13
- package/dist/m365/aad/commands/user/user-signin-list.js +6 -6
- 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/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/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 +8 -8
- 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 +6 -6
- 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 +8 -8
- package/dist/m365/pp/commands/chatbot/chatbot-list.js +6 -6
- package/dist/m365/pp/commands/chatbot/chatbot-remove.js +6 -6
- 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 +6 -6
- package/dist/m365/pp/commands/dataverse/dataverse-table-row-remove.js +133 -0
- package/dist/m365/pp/commands/environment/environment-get.js +6 -6
- 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 +6 -6
- 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 +1 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +92 -0
- package/dist/m365/purview/commands.js +2 -1
- 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.js +14 -9
- 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.js +14 -9
- package/dist/m365/spfx/commands/spfx-doctor.js +9 -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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +8 -8
- package/dist/m365/spo/commands/group/group-member-list.js +8 -8
- package/dist/m365/spo/commands/group/group-member-remove.js +6 -6
- 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-get.js → list-retentionlabel-get.js} +22 -18
- package/dist/m365/spo/commands/list/{list-label-set.js → list-retentionlabel-set.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 +9 -9
- package/dist/m365/spo/commands/listitem/listitem-isrecord.js +6 -6
- package/dist/m365/spo/commands/listitem/listitem-list.js +6 -6
- 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 +6 -6
- 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 +9 -9
- package/dist/m365/spo/commands/mail/mail-send.js +6 -6
- package/dist/m365/spo/commands/navigation/navigation-node-add.js +6 -6
- 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 +6 -6
- 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 +11 -13
- 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 +6 -6
- 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-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 +6 -6
- 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 +3 -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 +7 -7
- 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 +6 -6
- 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/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 +38 -38
- package/dist/settingsNames.js +1 -0
- package/dist/telemetry.js +29 -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/pp/dataverse/dataverse-table-row-remove.md +61 -0
- package/docs/docs/cmd/pp/environment/environment-get.md +2 -0
- package/docs/docs/cmd/pp/solution/solution-publisher-remove.md +1 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +36 -0
- package/docs/docs/cmd/spo/list/{list-label-get.md → list-retentionlabel-get.md} +17 -11
- package/docs/docs/cmd/spo/list/list-retentionlabel-set.md +65 -0
- 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/web/web-retentionlabel-list.md +74 -0
- package/npm-shrinkwrap.json +246 -186
- package/package.json +13 -11
- package/docs/docs/cmd/spo/list/list-label-set.md +0 -55
|
@@ -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) {
|
|
@@ -26,18 +26,18 @@ const request_1 = require("../../../../request");
|
|
|
26
26
|
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
27
27
|
const commands_1 = require("../../commands");
|
|
28
28
|
class FileConvertPdfCommand extends GraphCommand_1.default {
|
|
29
|
-
constructor() {
|
|
30
|
-
super();
|
|
31
|
-
_FileConvertPdfCommand_instances.add(this);
|
|
32
|
-
__classPrivateFieldGet(this, _FileConvertPdfCommand_instances, "m", _FileConvertPdfCommand_initOptions).call(this);
|
|
33
|
-
__classPrivateFieldGet(this, _FileConvertPdfCommand_instances, "m", _FileConvertPdfCommand_initValidators).call(this);
|
|
34
|
-
}
|
|
35
29
|
get name() {
|
|
36
30
|
return commands_1.default.CONVERT_PDF;
|
|
37
31
|
}
|
|
38
32
|
get description() {
|
|
39
33
|
return 'Converts the specified file to PDF using Microsoft Graph';
|
|
40
34
|
}
|
|
35
|
+
constructor() {
|
|
36
|
+
super();
|
|
37
|
+
_FileConvertPdfCommand_instances.add(this);
|
|
38
|
+
__classPrivateFieldGet(this, _FileConvertPdfCommand_instances, "m", _FileConvertPdfCommand_initOptions).call(this);
|
|
39
|
+
__classPrivateFieldGet(this, _FileConvertPdfCommand_instances, "m", _FileConvertPdfCommand_initValidators).call(this);
|
|
40
|
+
}
|
|
41
41
|
commandAction(logger, args) {
|
|
42
42
|
return __awaiter(this, void 0, void 0, function* () {
|
|
43
43
|
let sourceFileUrl = '';
|
|
@@ -23,6 +23,12 @@ const validation_1 = require("../../../utils/validation");
|
|
|
23
23
|
const GraphCommand_1 = require("../../base/GraphCommand");
|
|
24
24
|
const commands_1 = require("../commands");
|
|
25
25
|
class FileAddCommand extends GraphCommand_1.default {
|
|
26
|
+
get name() {
|
|
27
|
+
return commands_1.default.ADD;
|
|
28
|
+
}
|
|
29
|
+
get description() {
|
|
30
|
+
return 'Uploads file to the specified site';
|
|
31
|
+
}
|
|
26
32
|
constructor() {
|
|
27
33
|
super();
|
|
28
34
|
_FileAddCommand_instances.add(this);
|
|
@@ -30,12 +36,6 @@ class FileAddCommand extends GraphCommand_1.default {
|
|
|
30
36
|
__classPrivateFieldGet(this, _FileAddCommand_instances, "m", _FileAddCommand_initOptions).call(this);
|
|
31
37
|
__classPrivateFieldGet(this, _FileAddCommand_instances, "m", _FileAddCommand_initValidators).call(this);
|
|
32
38
|
}
|
|
33
|
-
get name() {
|
|
34
|
-
return commands_1.default.ADD;
|
|
35
|
-
}
|
|
36
|
-
get description() {
|
|
37
|
-
return 'Uploads file to the specified site';
|
|
38
|
-
}
|
|
39
39
|
commandAction(logger, args) {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
41
41
|
let folderUrlWithoutTrailingSlash = args.options.folderUrl;
|
|
@@ -22,14 +22,6 @@ const validation_1 = require("../../../utils/validation");
|
|
|
22
22
|
const GraphCommand_1 = require("../../base/GraphCommand");
|
|
23
23
|
const commands_1 = require("../commands");
|
|
24
24
|
class FileListCommand extends GraphCommand_1.default {
|
|
25
|
-
constructor() {
|
|
26
|
-
super();
|
|
27
|
-
_FileListCommand_instances.add(this);
|
|
28
|
-
this.foldersToGetFilesFrom = [];
|
|
29
|
-
__classPrivateFieldGet(this, _FileListCommand_instances, "m", _FileListCommand_initTelemetry).call(this);
|
|
30
|
-
__classPrivateFieldGet(this, _FileListCommand_instances, "m", _FileListCommand_initOptions).call(this);
|
|
31
|
-
__classPrivateFieldGet(this, _FileListCommand_instances, "m", _FileListCommand_initValidators).call(this);
|
|
32
|
-
}
|
|
33
25
|
get name() {
|
|
34
26
|
return commands_1.default.LIST;
|
|
35
27
|
}
|
|
@@ -39,6 +31,14 @@ class FileListCommand extends GraphCommand_1.default {
|
|
|
39
31
|
defaultProperties() {
|
|
40
32
|
return ['name', 'lastModifiedByUser'];
|
|
41
33
|
}
|
|
34
|
+
constructor() {
|
|
35
|
+
super();
|
|
36
|
+
_FileListCommand_instances.add(this);
|
|
37
|
+
this.foldersToGetFilesFrom = [];
|
|
38
|
+
__classPrivateFieldGet(this, _FileListCommand_instances, "m", _FileListCommand_initTelemetry).call(this);
|
|
39
|
+
__classPrivateFieldGet(this, _FileListCommand_instances, "m", _FileListCommand_initOptions).call(this);
|
|
40
|
+
__classPrivateFieldGet(this, _FileListCommand_instances, "m", _FileListCommand_initValidators).call(this);
|
|
41
|
+
}
|
|
42
42
|
commandAction(logger, args) {
|
|
43
43
|
return __awaiter(this, void 0, void 0, function* () {
|
|
44
44
|
let webUrl = args.options.webUrl;
|
|
@@ -20,11 +20,6 @@ const formatting_1 = require("../../../../utils/formatting");
|
|
|
20
20
|
const AzmgmtCommand_1 = require("../../../base/AzmgmtCommand");
|
|
21
21
|
const commands_1 = require("../../commands");
|
|
22
22
|
class FlowEnvironmentGetCommand extends AzmgmtCommand_1.default {
|
|
23
|
-
constructor() {
|
|
24
|
-
super();
|
|
25
|
-
_FlowEnvironmentGetCommand_instances.add(this);
|
|
26
|
-
__classPrivateFieldGet(this, _FlowEnvironmentGetCommand_instances, "m", _FlowEnvironmentGetCommand_initOptions).call(this);
|
|
27
|
-
}
|
|
28
23
|
get name() {
|
|
29
24
|
return commands_1.default.ENVIRONMENT_GET;
|
|
30
25
|
}
|
|
@@ -34,6 +29,11 @@ class FlowEnvironmentGetCommand extends AzmgmtCommand_1.default {
|
|
|
34
29
|
defaultProperties() {
|
|
35
30
|
return ['name', 'id', 'location', 'displayName', 'provisioningState', 'environmentSku', 'azureRegionHint', 'isDefault'];
|
|
36
31
|
}
|
|
32
|
+
constructor() {
|
|
33
|
+
super();
|
|
34
|
+
_FlowEnvironmentGetCommand_instances.add(this);
|
|
35
|
+
__classPrivateFieldGet(this, _FlowEnvironmentGetCommand_instances, "m", _FlowEnvironmentGetCommand_initOptions).call(this);
|
|
36
|
+
}
|
|
37
37
|
commandAction(logger, args) {
|
|
38
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
39
|
if (this.verbose) {
|
|
@@ -20,17 +20,17 @@ const formatting_1 = require("../../../utils/formatting");
|
|
|
20
20
|
const AzmgmtCommand_1 = require("../../base/AzmgmtCommand");
|
|
21
21
|
const commands_1 = require("../commands");
|
|
22
22
|
class FlowDisableCommand extends AzmgmtCommand_1.default {
|
|
23
|
-
constructor() {
|
|
24
|
-
super();
|
|
25
|
-
_FlowDisableCommand_instances.add(this);
|
|
26
|
-
__classPrivateFieldGet(this, _FlowDisableCommand_instances, "m", _FlowDisableCommand_initOptions).call(this);
|
|
27
|
-
}
|
|
28
23
|
get name() {
|
|
29
24
|
return commands_1.default.DISABLE;
|
|
30
25
|
}
|
|
31
26
|
get description() {
|
|
32
27
|
return 'Disables specified Microsoft Flow';
|
|
33
28
|
}
|
|
29
|
+
constructor() {
|
|
30
|
+
super();
|
|
31
|
+
_FlowDisableCommand_instances.add(this);
|
|
32
|
+
__classPrivateFieldGet(this, _FlowDisableCommand_instances, "m", _FlowDisableCommand_initOptions).call(this);
|
|
33
|
+
}
|
|
34
34
|
commandAction(logger, args) {
|
|
35
35
|
return __awaiter(this, void 0, void 0, function* () {
|
|
36
36
|
if (this.verbose) {
|
|
@@ -20,17 +20,17 @@ const formatting_1 = require("../../../utils/formatting");
|
|
|
20
20
|
const AzmgmtCommand_1 = require("../../base/AzmgmtCommand");
|
|
21
21
|
const commands_1 = require("../commands");
|
|
22
22
|
class FlowEnableCommand extends AzmgmtCommand_1.default {
|
|
23
|
-
constructor() {
|
|
24
|
-
super();
|
|
25
|
-
_FlowEnableCommand_instances.add(this);
|
|
26
|
-
__classPrivateFieldGet(this, _FlowEnableCommand_instances, "m", _FlowEnableCommand_initOptions).call(this);
|
|
27
|
-
}
|
|
28
23
|
get name() {
|
|
29
24
|
return commands_1.default.ENABLE;
|
|
30
25
|
}
|
|
31
26
|
get description() {
|
|
32
27
|
return 'Enables specified Microsoft Flow';
|
|
33
28
|
}
|
|
29
|
+
constructor() {
|
|
30
|
+
super();
|
|
31
|
+
_FlowEnableCommand_instances.add(this);
|
|
32
|
+
__classPrivateFieldGet(this, _FlowEnableCommand_instances, "m", _FlowEnableCommand_initOptions).call(this);
|
|
33
|
+
}
|
|
34
34
|
commandAction(logger, args) {
|
|
35
35
|
return __awaiter(this, void 0, void 0, function* () {
|
|
36
36
|
if (this.verbose) {
|
|
@@ -23,6 +23,12 @@ const validation_1 = require("../../../utils/validation");
|
|
|
23
23
|
const AzmgmtCommand_1 = require("../../base/AzmgmtCommand");
|
|
24
24
|
const commands_1 = require("../commands");
|
|
25
25
|
class FlowExportCommand extends AzmgmtCommand_1.default {
|
|
26
|
+
get name() {
|
|
27
|
+
return commands_1.default.EXPORT;
|
|
28
|
+
}
|
|
29
|
+
get description() {
|
|
30
|
+
return 'Exports the specified Microsoft Flow as a file';
|
|
31
|
+
}
|
|
26
32
|
constructor() {
|
|
27
33
|
super();
|
|
28
34
|
_FlowExportCommand_instances.add(this);
|
|
@@ -30,12 +36,6 @@ class FlowExportCommand extends AzmgmtCommand_1.default {
|
|
|
30
36
|
__classPrivateFieldGet(this, _FlowExportCommand_instances, "m", _FlowExportCommand_initOptions).call(this);
|
|
31
37
|
__classPrivateFieldGet(this, _FlowExportCommand_instances, "m", _FlowExportCommand_initValidators).call(this);
|
|
32
38
|
}
|
|
33
|
-
get name() {
|
|
34
|
-
return commands_1.default.EXPORT;
|
|
35
|
-
}
|
|
36
|
-
get description() {
|
|
37
|
-
return 'Exports the specified Microsoft Flow as a file';
|
|
38
|
-
}
|
|
39
39
|
commandAction(logger, args) {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
41
41
|
let filenameFromApi = '';
|
|
@@ -20,11 +20,6 @@ const formatting_1 = require("../../../utils/formatting");
|
|
|
20
20
|
const AzmgmtCommand_1 = require("../../base/AzmgmtCommand");
|
|
21
21
|
const commands_1 = require("../commands");
|
|
22
22
|
class FlowGetCommand extends AzmgmtCommand_1.default {
|
|
23
|
-
constructor() {
|
|
24
|
-
super();
|
|
25
|
-
_FlowGetCommand_instances.add(this);
|
|
26
|
-
__classPrivateFieldGet(this, _FlowGetCommand_instances, "m", _FlowGetCommand_initOptions).call(this);
|
|
27
|
-
}
|
|
28
23
|
get name() {
|
|
29
24
|
return commands_1.default.GET;
|
|
30
25
|
}
|
|
@@ -34,6 +29,11 @@ class FlowGetCommand extends AzmgmtCommand_1.default {
|
|
|
34
29
|
defaultProperties() {
|
|
35
30
|
return ['name', 'displayName', 'description', 'triggers', 'actions'];
|
|
36
31
|
}
|
|
32
|
+
constructor() {
|
|
33
|
+
super();
|
|
34
|
+
_FlowGetCommand_instances.add(this);
|
|
35
|
+
__classPrivateFieldGet(this, _FlowGetCommand_instances, "m", _FlowGetCommand_initOptions).call(this);
|
|
36
|
+
}
|
|
37
37
|
commandAction(logger, args) {
|
|
38
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
39
|
if (this.verbose) {
|
|
@@ -19,12 +19,6 @@ const formatting_1 = require("../../../utils/formatting");
|
|
|
19
19
|
const AzmgmtItemsListCommand_1 = require("../../base/AzmgmtItemsListCommand");
|
|
20
20
|
const commands_1 = require("../commands");
|
|
21
21
|
class FlowListCommand extends AzmgmtItemsListCommand_1.AzmgmtItemsListCommand {
|
|
22
|
-
constructor() {
|
|
23
|
-
super();
|
|
24
|
-
_FlowListCommand_instances.add(this);
|
|
25
|
-
__classPrivateFieldGet(this, _FlowListCommand_instances, "m", _FlowListCommand_initTelemetry).call(this);
|
|
26
|
-
__classPrivateFieldGet(this, _FlowListCommand_instances, "m", _FlowListCommand_initOptions).call(this);
|
|
27
|
-
}
|
|
28
22
|
get name() {
|
|
29
23
|
return commands_1.default.LIST;
|
|
30
24
|
}
|
|
@@ -34,6 +28,12 @@ class FlowListCommand extends AzmgmtItemsListCommand_1.AzmgmtItemsListCommand {
|
|
|
34
28
|
defaultProperties() {
|
|
35
29
|
return ['name', 'displayName'];
|
|
36
30
|
}
|
|
31
|
+
constructor() {
|
|
32
|
+
super();
|
|
33
|
+
_FlowListCommand_instances.add(this);
|
|
34
|
+
__classPrivateFieldGet(this, _FlowListCommand_instances, "m", _FlowListCommand_initTelemetry).call(this);
|
|
35
|
+
__classPrivateFieldGet(this, _FlowListCommand_instances, "m", _FlowListCommand_initOptions).call(this);
|
|
36
|
+
}
|
|
37
37
|
commandAction(logger, args) {
|
|
38
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
39
|
const url = `${this.resource}providers/Microsoft.ProcessSimple${args.options.asAdmin ? '/scopes/admin' : ''}/environments/${formatting_1.formatting.encodeQueryParameter(args.options.environmentName)}/flows?api-version=2016-11-01`;
|
|
@@ -23,6 +23,12 @@ const validation_1 = require("../../../utils/validation");
|
|
|
23
23
|
const AzmgmtCommand_1 = require("../../base/AzmgmtCommand");
|
|
24
24
|
const commands_1 = require("../commands");
|
|
25
25
|
class FlowRemoveCommand extends AzmgmtCommand_1.default {
|
|
26
|
+
get name() {
|
|
27
|
+
return commands_1.default.REMOVE;
|
|
28
|
+
}
|
|
29
|
+
get description() {
|
|
30
|
+
return 'Removes the specified Microsoft Flow';
|
|
31
|
+
}
|
|
26
32
|
constructor() {
|
|
27
33
|
super();
|
|
28
34
|
_FlowRemoveCommand_instances.add(this);
|
|
@@ -30,12 +36,6 @@ class FlowRemoveCommand extends AzmgmtCommand_1.default {
|
|
|
30
36
|
__classPrivateFieldGet(this, _FlowRemoveCommand_instances, "m", _FlowRemoveCommand_initOptions).call(this);
|
|
31
37
|
__classPrivateFieldGet(this, _FlowRemoveCommand_instances, "m", _FlowRemoveCommand_initValidators).call(this);
|
|
32
38
|
}
|
|
33
|
-
get name() {
|
|
34
|
-
return commands_1.default.REMOVE;
|
|
35
|
-
}
|
|
36
|
-
get description() {
|
|
37
|
-
return 'Removes the specified Microsoft Flow';
|
|
38
|
-
}
|
|
39
39
|
commandAction(logger, args) {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
41
41
|
if (this.verbose) {
|
|
@@ -22,18 +22,18 @@ const validation_1 = require("../../../../utils/validation");
|
|
|
22
22
|
const AzmgmtCommand_1 = require("../../../base/AzmgmtCommand");
|
|
23
23
|
const commands_1 = require("../../commands");
|
|
24
24
|
class FlowRunCancelCommand extends AzmgmtCommand_1.default {
|
|
25
|
-
constructor() {
|
|
26
|
-
super();
|
|
27
|
-
_FlowRunCancelCommand_instances.add(this);
|
|
28
|
-
__classPrivateFieldGet(this, _FlowRunCancelCommand_instances, "m", _FlowRunCancelCommand_initOptions).call(this);
|
|
29
|
-
__classPrivateFieldGet(this, _FlowRunCancelCommand_instances, "m", _FlowRunCancelCommand_initValidators).call(this);
|
|
30
|
-
}
|
|
31
25
|
get name() {
|
|
32
26
|
return commands_1.default.RUN_CANCEL;
|
|
33
27
|
}
|
|
34
28
|
get description() {
|
|
35
29
|
return 'Cancels a specific run of the specified Microsoft Flow';
|
|
36
30
|
}
|
|
31
|
+
constructor() {
|
|
32
|
+
super();
|
|
33
|
+
_FlowRunCancelCommand_instances.add(this);
|
|
34
|
+
__classPrivateFieldGet(this, _FlowRunCancelCommand_instances, "m", _FlowRunCancelCommand_initOptions).call(this);
|
|
35
|
+
__classPrivateFieldGet(this, _FlowRunCancelCommand_instances, "m", _FlowRunCancelCommand_initValidators).call(this);
|
|
36
|
+
}
|
|
37
37
|
commandAction(logger, args) {
|
|
38
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
39
|
if (this.verbose) {
|
|
@@ -20,11 +20,6 @@ const formatting_1 = require("../../../../utils/formatting");
|
|
|
20
20
|
const AzmgmtCommand_1 = require("../../../base/AzmgmtCommand");
|
|
21
21
|
const commands_1 = require("../../commands");
|
|
22
22
|
class FlowRunGetCommand extends AzmgmtCommand_1.default {
|
|
23
|
-
constructor() {
|
|
24
|
-
super();
|
|
25
|
-
_FlowRunGetCommand_instances.add(this);
|
|
26
|
-
__classPrivateFieldGet(this, _FlowRunGetCommand_instances, "m", _FlowRunGetCommand_initOptions).call(this);
|
|
27
|
-
}
|
|
28
23
|
get name() {
|
|
29
24
|
return commands_1.default.RUN_GET;
|
|
30
25
|
}
|
|
@@ -34,6 +29,11 @@ class FlowRunGetCommand extends AzmgmtCommand_1.default {
|
|
|
34
29
|
defaultProperties() {
|
|
35
30
|
return ['name', 'startTime', 'endTime', 'status', 'triggerName'];
|
|
36
31
|
}
|
|
32
|
+
constructor() {
|
|
33
|
+
super();
|
|
34
|
+
_FlowRunGetCommand_instances.add(this);
|
|
35
|
+
__classPrivateFieldGet(this, _FlowRunGetCommand_instances, "m", _FlowRunGetCommand_initOptions).call(this);
|
|
36
|
+
}
|
|
37
37
|
commandAction(logger, args) {
|
|
38
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
39
|
if (this.verbose) {
|
|
@@ -19,11 +19,6 @@ const formatting_1 = require("../../../../utils/formatting");
|
|
|
19
19
|
const AzmgmtItemsListCommand_1 = require("../../../base/AzmgmtItemsListCommand");
|
|
20
20
|
const commands_1 = require("../../commands");
|
|
21
21
|
class FlowRunListCommand extends AzmgmtItemsListCommand_1.AzmgmtItemsListCommand {
|
|
22
|
-
constructor() {
|
|
23
|
-
super();
|
|
24
|
-
_FlowRunListCommand_instances.add(this);
|
|
25
|
-
__classPrivateFieldGet(this, _FlowRunListCommand_instances, "m", _FlowRunListCommand_initOptions).call(this);
|
|
26
|
-
}
|
|
27
22
|
get name() {
|
|
28
23
|
return commands_1.default.RUN_LIST;
|
|
29
24
|
}
|
|
@@ -33,6 +28,11 @@ class FlowRunListCommand extends AzmgmtItemsListCommand_1.AzmgmtItemsListCommand
|
|
|
33
28
|
defaultProperties() {
|
|
34
29
|
return ['name', 'startTime', 'status'];
|
|
35
30
|
}
|
|
31
|
+
constructor() {
|
|
32
|
+
super();
|
|
33
|
+
_FlowRunListCommand_instances.add(this);
|
|
34
|
+
__classPrivateFieldGet(this, _FlowRunListCommand_instances, "m", _FlowRunListCommand_initOptions).call(this);
|
|
35
|
+
}
|
|
36
36
|
commandAction(logger, args) {
|
|
37
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
38
|
if (this.verbose) {
|
|
@@ -23,6 +23,12 @@ const validation_1 = require("../../../../utils/validation");
|
|
|
23
23
|
const AzmgmtCommand_1 = require("../../../base/AzmgmtCommand");
|
|
24
24
|
const commands_1 = require("../../commands");
|
|
25
25
|
class FlowRunResubmitCommand extends AzmgmtCommand_1.default {
|
|
26
|
+
get name() {
|
|
27
|
+
return commands_1.default.RUN_RESUBMIT;
|
|
28
|
+
}
|
|
29
|
+
get description() {
|
|
30
|
+
return 'Resubmits a specific flow run for the specified Microsoft Flow';
|
|
31
|
+
}
|
|
26
32
|
constructor() {
|
|
27
33
|
super();
|
|
28
34
|
_FlowRunResubmitCommand_instances.add(this);
|
|
@@ -30,12 +36,6 @@ class FlowRunResubmitCommand extends AzmgmtCommand_1.default {
|
|
|
30
36
|
__classPrivateFieldGet(this, _FlowRunResubmitCommand_instances, "m", _FlowRunResubmitCommand_initOptions).call(this);
|
|
31
37
|
__classPrivateFieldGet(this, _FlowRunResubmitCommand_instances, "m", _FlowRunResubmitCommand_initValidators).call(this);
|
|
32
38
|
}
|
|
33
|
-
get name() {
|
|
34
|
-
return commands_1.default.RUN_RESUBMIT;
|
|
35
|
-
}
|
|
36
|
-
get description() {
|
|
37
|
-
return 'Resubmits a specific flow run for the specified Microsoft Flow';
|
|
38
|
-
}
|
|
39
39
|
commandAction(logger, args) {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
41
41
|
if (this.verbose) {
|
|
@@ -22,6 +22,15 @@ const commands_1 = require("../../commands");
|
|
|
22
22
|
const request_1 = require("../../../../request");
|
|
23
23
|
const xmldom_1 = require("@xmldom/xmldom");
|
|
24
24
|
class GraphChangelogListCommand extends AnonymousCommand_1.default {
|
|
25
|
+
get name() {
|
|
26
|
+
return commands_1.default.CHANGELOG_LIST;
|
|
27
|
+
}
|
|
28
|
+
get description() {
|
|
29
|
+
return 'Gets an overview of specific API-level changes in Microsoft Graph v1.0 and beta';
|
|
30
|
+
}
|
|
31
|
+
defaultProperties() {
|
|
32
|
+
return ['category', 'title', 'description'];
|
|
33
|
+
}
|
|
25
34
|
constructor() {
|
|
26
35
|
super();
|
|
27
36
|
_GraphChangelogListCommand_instances.add(this);
|
|
@@ -40,15 +49,6 @@ class GraphChangelogListCommand extends AnonymousCommand_1.default {
|
|
|
40
49
|
__classPrivateFieldGet(this, _GraphChangelogListCommand_instances, "m", _GraphChangelogListCommand_initOptions).call(this);
|
|
41
50
|
__classPrivateFieldGet(this, _GraphChangelogListCommand_instances, "m", _GraphChangelogListCommand_initValidators).call(this);
|
|
42
51
|
}
|
|
43
|
-
get name() {
|
|
44
|
-
return commands_1.default.CHANGELOG_LIST;
|
|
45
|
-
}
|
|
46
|
-
get description() {
|
|
47
|
-
return 'Gets an overview of specific API-level changes in Microsoft Graph v1.0 and beta';
|
|
48
|
-
}
|
|
49
|
-
defaultProperties() {
|
|
50
|
-
return ['category', 'title', 'description'];
|
|
51
|
-
}
|
|
52
52
|
commandAction(logger, args) {
|
|
53
53
|
return __awaiter(this, void 0, void 0, function* () {
|
|
54
54
|
try {
|