@pnp/cli-microsoft365 7.0.0-beta.a9cf617 → 7.0.0-beta.b2eab57
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 → .eslintrc.cjs} +2 -2
- package/dist/Auth.js +358 -392
- package/dist/AuthServer.js +8 -12
- package/dist/Command.js +184 -215
- package/dist/GlobalOptions.js +2 -5
- package/dist/api.js +5 -9
- package/dist/appInsights.js +17 -16
- package/dist/auth/FileTokenStorage.js +4 -8
- package/dist/auth/TokenStorage.js +1 -2
- package/dist/auth/msalCachePlugin.js +17 -33
- package/dist/autocomplete.js +12 -13
- package/dist/chili/chili.js +208 -232
- package/dist/chili/index.js +2 -13
- package/dist/cli/Cli.js +302 -292
- package/dist/cli/CommandInfo.js +1 -2
- package/dist/cli/CommandOptionInfo.js +1 -2
- package/dist/cli/Logger.js +1 -2
- package/dist/config.js +3 -5
- package/dist/index.js +14 -13
- package/dist/m365/aad/commands/app/app-add.js +403 -445
- package/dist/m365/aad/commands/app/app-get.js +91 -110
- package/dist/m365/aad/commands/app/app-list.js +14 -27
- package/dist/m365/aad/commands/app/app-remove.js +73 -88
- package/dist/m365/aad/commands/app/app-role-add.js +71 -88
- package/dist/m365/aad/commands/app/app-role-list.js +44 -59
- package/dist/m365/aad/commands/app/app-role-remove.js +131 -154
- package/dist/m365/aad/commands/app/app-set.js +190 -215
- package/dist/m365/aad/commands/approleassignment/ServicePrincipal.js +2 -0
- package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +117 -132
- package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +91 -112
- package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +121 -138
- package/dist/m365/aad/commands/group/group-get.js +22 -35
- package/dist/m365/aad/commands/group/group-list.js +31 -44
- package/dist/m365/aad/commands/groupsetting/groupsetting-add.js +41 -54
- package/dist/m365/aad/commands/groupsetting/groupsetting-get.js +25 -38
- package/dist/m365/aad/commands/groupsetting/groupsetting-list.js +14 -27
- package/dist/m365/aad/commands/groupsetting/groupsetting-remove.js +43 -56
- package/dist/m365/aad/commands/groupsetting/groupsetting-set.js +41 -54
- package/dist/m365/aad/commands/groupsettingtemplate/groupsettingtemplate-get.js +22 -35
- package/dist/m365/aad/commands/groupsettingtemplate/groupsettingtemplate-list.js +14 -27
- package/dist/m365/aad/commands/license/license-list.js +17 -30
- package/dist/m365/aad/commands/m365group/GroupExtended.js +2 -0
- package/dist/m365/aad/commands/m365group/m365group-add.js +257 -0
- package/dist/m365/aad/commands/m365group/m365group-conversation-list.js +50 -0
- package/dist/m365/aad/commands/m365group/m365group-conversation-post-list.js +75 -0
- package/dist/m365/aad/commands/m365group/m365group-get.js +65 -0
- package/dist/m365/aad/commands/m365group/m365group-list.js +100 -0
- package/dist/m365/aad/commands/m365group/m365group-recyclebinitem-clear.js +82 -0
- package/dist/m365/aad/commands/m365group/m365group-recyclebinitem-list.js +57 -0
- package/dist/m365/aad/commands/m365group/m365group-recyclebinitem-remove.js +120 -0
- package/dist/m365/aad/commands/m365group/m365group-recyclebinitem-restore.js +104 -0
- package/dist/m365/aad/commands/m365group/m365group-remove.js +93 -0
- package/dist/m365/aad/commands/m365group/m365group-renew.js +55 -0
- package/dist/m365/aad/commands/m365group/m365group-report-activitycounts.js +15 -0
- package/dist/m365/aad/commands/m365group/m365group-report-activitydetail.js +15 -0
- package/dist/m365/aad/commands/m365group/m365group-report-activityfilecounts.js +15 -0
- package/dist/m365/aad/commands/m365group/m365group-report-activitygroupcounts.js +15 -0
- package/dist/m365/aad/commands/m365group/m365group-report-activitystorage.js +15 -0
- package/dist/m365/aad/commands/m365group/m365group-set.js +231 -0
- package/dist/m365/aad/commands/m365group/m365group-teamify.js +104 -0
- package/dist/m365/aad/commands/m365group/m365group-user-add.js +96 -0
- package/dist/m365/aad/commands/m365group/m365group-user-list.js +89 -0
- package/dist/m365/aad/commands/m365group/m365group-user-remove.js +134 -0
- package/dist/m365/aad/commands/m365group/m365group-user-set.js +152 -0
- package/dist/m365/aad/commands/oauth2grant/oauth2grant-add.js +35 -48
- package/dist/m365/aad/commands/oauth2grant/oauth2grant-list.js +30 -43
- package/dist/m365/aad/commands/oauth2grant/oauth2grant-remove.js +40 -53
- package/dist/m365/aad/commands/oauth2grant/oauth2grant-set.js +27 -40
- package/dist/m365/aad/commands/policy/policy-list.js +43 -58
- package/dist/m365/aad/commands/siteclassification/SiteClassificationSettings.js +1 -5
- package/dist/m365/aad/commands/siteclassification/siteclassification-disable.js +57 -70
- package/dist/m365/aad/commands/siteclassification/siteclassification-enable.js +78 -91
- package/dist/m365/aad/commands/siteclassification/siteclassification-get.js +62 -75
- package/dist/m365/aad/commands/siteclassification/siteclassification-set.js +102 -115
- package/dist/m365/aad/commands/sp/sp-add.js +56 -71
- package/dist/m365/aad/commands/sp/sp-get.js +56 -71
- package/dist/m365/aad/commands/sp/sp-list.js +25 -38
- package/dist/m365/aad/commands/user/user-add.js +43 -57
- package/dist/m365/aad/commands/user/user-get.js +54 -61
- package/dist/m365/aad/commands/user/user-guest-add.js +31 -44
- package/dist/m365/aad/commands/user/user-hibp.js +31 -44
- package/dist/m365/aad/commands/user/user-license-add.js +29 -42
- package/dist/m365/aad/commands/user/user-license-list.js +36 -49
- package/dist/m365/aad/commands/user/user-license-remove.js +49 -64
- package/dist/m365/aad/commands/user/user-list.js +26 -42
- package/dist/m365/aad/commands/user/user-password-validate.js +24 -37
- package/dist/m365/aad/commands/user/user-recyclebinitem-clear.js +55 -68
- package/dist/m365/aad/commands/user/user-recyclebinitem-list.js +17 -30
- package/dist/m365/aad/commands/user/user-recyclebinitem-remove.js +41 -54
- package/dist/m365/aad/commands/user/user-recyclebinitem-restore.js +28 -41
- package/dist/m365/aad/commands/user/user-remove.js +45 -60
- package/dist/m365/aad/commands/user/user-set.js +103 -122
- package/dist/m365/aad/commands/user/user-signin-list.js +33 -46
- package/dist/m365/aad/commands.js +23 -25
- package/dist/m365/adaptivecard/commands/adaptivecard-send.js +47 -60
- package/dist/m365/adaptivecard/commands.js +1 -3
- package/dist/m365/app/commands/app-get.js +23 -36
- package/dist/m365/app/commands/app-open.js +24 -39
- package/dist/m365/app/commands/permission/permission-add.js +91 -155
- package/dist/m365/app/commands/permission/permission-list.js +201 -227
- package/dist/m365/app/commands.js +1 -3
- package/dist/m365/base/AnonymousCommand.js +5 -19
- package/dist/m365/base/AppCommand.js +55 -71
- package/dist/m365/base/AzmgmtCommand.js +6 -9
- package/dist/m365/base/AzmgmtItemsListCommand.js +33 -48
- package/dist/m365/base/ContextCommand.js +6 -9
- package/dist/m365/base/DateAndPeriodBasedReport.js +11 -24
- package/dist/m365/base/GraphCommand.js +2 -5
- package/dist/m365/base/M365RcJson.js +1 -2
- package/dist/m365/base/O365MgmtCommand.js +2 -5
- package/dist/m365/base/PeriodBasedReport.js +41 -58
- package/dist/m365/base/PlannerCommand.js +2 -5
- package/dist/m365/base/PowerAppsCommand.js +6 -9
- package/dist/m365/base/PowerBICommand.js +2 -5
- package/dist/m365/base/PowerPlatformCommand.js +6 -9
- package/dist/m365/base/SpoCommand.js +33 -50
- package/dist/m365/base/YammerCommand.js +5 -8
- package/dist/m365/booking/commands/business/business-get.js +35 -51
- package/dist/m365/booking/commands/business/business-list.js +15 -28
- package/dist/m365/booking/commands.js +1 -3
- package/dist/m365/cli/commands/cli-consent.js +19 -34
- package/dist/m365/cli/commands/cli-doctor.js +35 -49
- package/dist/m365/cli/commands/cli-issue.js +23 -36
- package/dist/m365/cli/commands/cli-reconsent.js +22 -35
- package/dist/m365/cli/commands/completion/completion-clink-update.js +8 -21
- package/dist/m365/cli/commands/completion/completion-pwsh-setup.js +48 -59
- package/dist/m365/cli/commands/completion/completion-pwsh-update.js +11 -24
- package/dist/m365/cli/commands/completion/completion-sh-setup.js +16 -29
- package/dist/m365/cli/commands/completion/completion-sh-update.js +11 -24
- package/dist/m365/cli/commands/config/config-get.js +12 -25
- package/dist/m365/cli/commands/config/config-list.js +16 -0
- package/dist/m365/cli/commands/config/config-reset.js +17 -30
- package/dist/m365/cli/commands/config/config-set.js +36 -49
- package/dist/m365/cli/commands.js +2 -3
- package/dist/m365/commands/commands.js +1 -3
- package/dist/m365/commands/docs.js +15 -28
- package/dist/m365/commands/login.js +102 -118
- package/dist/m365/commands/logout.js +30 -45
- package/dist/m365/commands/request.js +65 -78
- package/dist/m365/commands/setup.js +90 -103
- package/dist/m365/commands/setupPresets.js +3 -6
- package/dist/m365/commands/status.js +50 -65
- package/dist/m365/commands/version.js +8 -21
- package/dist/m365/context/commands/context-init.js +7 -20
- package/dist/m365/context/commands/context-remove.js +27 -40
- package/dist/m365/context/commands/option/option-list.js +29 -42
- package/dist/m365/context/commands/option/option-remove.js +33 -46
- package/dist/m365/context/commands/option/option-set.js +38 -51
- package/dist/m365/context/commands.js +1 -3
- package/dist/m365/file/commands/convert/convert-pdf.js +254 -287
- package/dist/m365/file/commands/file-add.js +138 -161
- package/dist/m365/file/commands/file-list.js +121 -142
- package/dist/m365/file/commands.js +1 -3
- package/dist/m365/flow/commands/environment/FlowEnvironmentDetails.js +1 -2
- package/dist/m365/flow/commands/environment/environment-get.js +33 -45
- package/dist/m365/flow/commands/environment/environment-list.js +21 -41
- package/dist/m365/flow/commands/flow-disable.js +24 -37
- package/dist/m365/flow/commands/flow-enable.js +24 -37
- package/dist/m365/flow/commands/flow-export.js +112 -125
- package/dist/m365/flow/commands/flow-get.js +29 -42
- package/dist/m365/flow/commands/flow-list.js +45 -58
- package/dist/m365/flow/commands/flow-remove.js +50 -63
- package/dist/m365/flow/commands/owner/owner-ensure.js +65 -78
- package/dist/m365/flow/commands/owner/owner-list.js +32 -45
- package/dist/m365/flow/commands/owner/owner-remove.js +67 -80
- package/dist/m365/flow/commands/run/run-cancel.js +45 -58
- package/dist/m365/flow/commands/run/run-get.js +45 -58
- package/dist/m365/flow/commands/run/run-list.js +34 -52
- package/dist/m365/flow/commands/run/run-resubmit.js +60 -75
- package/dist/m365/flow/commands.js +1 -3
- package/dist/m365/graph/Changelog.js +1 -2
- package/dist/m365/graph/commands/changelog/changelog-list.js +37 -50
- package/dist/m365/graph/commands/schemaextension/schemaextension-add.js +38 -51
- package/dist/m365/graph/commands/schemaextension/schemaextension-get.js +25 -38
- package/dist/m365/graph/commands/schemaextension/schemaextension-list.js +46 -59
- package/dist/m365/graph/commands/schemaextension/schemaextension-remove.js +41 -54
- package/dist/m365/graph/commands/schemaextension/schemaextension-set.js +65 -78
- package/dist/m365/graph/commands/subscription/subscription-add.js +45 -58
- package/dist/m365/graph/commands.js +1 -3
- package/dist/m365/onedrive/commands/onedrive-list.js +41 -56
- package/dist/m365/onedrive/commands/report/report-activityfilecounts.js +5 -7
- package/dist/m365/onedrive/commands/report/report-activityusercounts.js +5 -7
- package/dist/m365/onedrive/commands/report/report-activityuserdetail.js +5 -7
- package/dist/m365/onedrive/commands/report/report-usageaccountcounts.js +5 -7
- package/dist/m365/onedrive/commands/report/report-usageaccountdetail.js +5 -7
- package/dist/m365/onedrive/commands/report/report-usagefilecounts.js +5 -7
- package/dist/m365/onedrive/commands/report/report-usagestorage.js +5 -7
- package/dist/m365/onedrive/commands.js +1 -3
- package/dist/m365/onenote/commands/notebook/notebook-list.js +61 -80
- package/dist/m365/onenote/commands/page/page-list.js +50 -67
- package/dist/m365/onenote/commands.js +1 -3
- package/dist/m365/outlook/Outlook.js +1 -5
- package/dist/m365/outlook/commands/mail/mail-send.js +35 -49
- package/dist/m365/outlook/commands/message/message-get.js +43 -56
- package/dist/m365/outlook/commands/message/message-list.js +47 -62
- package/dist/m365/outlook/commands/message/message-move.js +52 -67
- package/dist/m365/outlook/commands/report/report-mailactivitycounts.js +5 -7
- package/dist/m365/outlook/commands/report/report-mailactivityusercounts.js +5 -7
- package/dist/m365/outlook/commands/report/report-mailactivityuserdetail.js +5 -7
- package/dist/m365/outlook/commands/report/report-mailappusageappsusercounts.js +5 -7
- package/dist/m365/outlook/commands/report/report-mailappusageusercounts.js +5 -7
- package/dist/m365/outlook/commands/report/report-mailappusageuserdetail.js +5 -7
- package/dist/m365/outlook/commands/report/report-mailappusageversionsusercounts.js +5 -7
- package/dist/m365/outlook/commands/report/report-mailboxusagedetail.js +5 -7
- package/dist/m365/outlook/commands/report/report-mailboxusagemailboxcount.js +5 -7
- package/dist/m365/outlook/commands/report/report-mailboxusagequotastatusmailboxcounts.js +5 -7
- package/dist/m365/outlook/commands/report/report-mailboxusagestorage.js +5 -7
- package/dist/m365/outlook/commands/room/room-list.js +18 -31
- package/dist/m365/outlook/commands/roomlist/roomlist-list.js +14 -27
- package/dist/m365/outlook/commands.js +1 -3
- package/dist/m365/pa/cds-project-mutator.js +4 -7
- package/dist/m365/pa/commands/app/app-consent-set.js +46 -61
- package/dist/m365/pa/commands/app/app-export.js +113 -132
- package/dist/m365/pa/commands/app/app-get.js +60 -75
- package/dist/m365/pa/commands/app/app-list.js +30 -43
- package/dist/m365/pa/commands/app/app-owner-set.js +100 -0
- package/dist/m365/pa/commands/app/app-permission-ensure.js +162 -0
- package/dist/m365/pa/commands/app/app-permission-list.js +91 -0
- package/dist/m365/pa/commands/app/app-permission-remove.js +153 -0
- package/dist/m365/pa/commands/app/app-remove.js +49 -62
- package/dist/m365/pa/commands/connector/Connector.js +1 -2
- package/dist/m365/pa/commands/connector/connector-export.js +113 -126
- package/dist/m365/pa/commands/connector/connector-list.js +26 -39
- package/dist/m365/pa/commands/environment/environment-get.js +31 -44
- package/dist/m365/pa/commands/environment/environment-list.js +28 -41
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/dataset-template/template_index.ts +44 -49
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/field-template/template_index.ts +44 -49
- package/dist/m365/pa/commands/pcf/pcf-init/pcf-init-variables.js +1 -2
- package/dist/m365/pa/commands/pcf/pcf-init.js +51 -62
- package/dist/m365/pa/commands/solution/solution-init/solution-init-variables.js +1 -2
- package/dist/m365/pa/commands/solution/solution-init.js +62 -73
- package/dist/m365/pa/commands/solution/solution-reference-add.js +23 -36
- package/dist/m365/pa/commands.js +5 -3
- package/dist/m365/pa/template-instantiator.js +11 -13
- package/dist/m365/planner/AppliedCategories.js +1 -2
- package/dist/m365/planner/Task.js +1 -2
- package/dist/m365/planner/commands/bucket/bucket-add.js +56 -69
- package/dist/m365/planner/commands/bucket/bucket-get.js +87 -102
- package/dist/m365/planner/commands/bucket/bucket-list.js +44 -57
- package/dist/m365/planner/commands/bucket/bucket-remove.js +100 -113
- package/dist/m365/planner/commands/bucket/bucket-set.js +91 -112
- package/dist/m365/planner/commands/plan/plan-add.js +105 -128
- package/dist/m365/planner/commands/plan/plan-get.js +52 -70
- package/dist/m365/planner/commands/plan/plan-list.js +31 -47
- package/dist/m365/planner/commands/plan/plan-remove.js +59 -76
- package/dist/m365/planner/commands/plan/plan-set.js +149 -178
- package/dist/m365/planner/commands/roster/roster-add.js +26 -39
- package/dist/m365/planner/commands/roster/roster-get.js +24 -37
- package/dist/m365/planner/commands/roster/roster-member-add.js +43 -69
- package/dist/m365/planner/commands/roster/roster-member-get.js +36 -51
- package/dist/m365/planner/commands/roster/roster-member-list.js +17 -30
- package/dist/m365/planner/commands/roster/roster-member-remove.js +67 -86
- package/dist/m365/planner/commands/roster/roster-plan-list.js +39 -52
- package/dist/m365/planner/commands/roster/roster-remove.js +40 -55
- package/dist/m365/planner/commands/task/task-add.js +147 -174
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +50 -65
- package/dist/m365/planner/commands/task/task-checklistitem-list.js +28 -41
- package/dist/m365/planner/commands/task/task-checklistitem-remove.js +55 -72
- package/dist/m365/planner/commands/task/task-get.js +100 -125
- package/dist/m365/planner/commands/task/task-list.js +79 -98
- package/dist/m365/planner/commands/task/task-reference-add.js +45 -55
- package/dist/m365/planner/commands/task/task-reference-list.js +22 -35
- package/dist/m365/planner/commands/task/task-reference-remove.js +72 -90
- package/dist/m365/planner/commands/task/task-remove.js +97 -118
- package/dist/m365/planner/commands/task/task-set.js +145 -174
- package/dist/m365/planner/commands/tenant/tenant-settings-list.js +21 -34
- package/dist/m365/planner/commands/tenant/tenant-settings-set.js +31 -44
- package/dist/m365/planner/commands.js +1 -3
- package/dist/m365/planner/taskPriority.js +1 -4
- package/dist/m365/pp/commands/Environment.js +1 -2
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +45 -60
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-list.js +20 -33
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-remove.js +63 -80
- package/dist/m365/pp/commands/card/card-clone.js +55 -72
- package/dist/m365/pp/commands/card/card-get.js +50 -65
- package/dist/m365/pp/commands/card/card-list.js +20 -33
- package/dist/m365/pp/commands/card/card-remove.js +63 -80
- package/dist/m365/pp/commands/chatbot/chatbot-get.js +46 -61
- package/dist/m365/pp/commands/chatbot/chatbot-list.js +21 -34
- package/dist/m365/pp/commands/chatbot/chatbot-remove.js +64 -81
- package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +27 -40
- package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +21 -34
- package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +43 -58
- package/dist/m365/pp/commands/dataverse/dataverse-table-row-list.js +36 -51
- package/dist/m365/pp/commands/dataverse/dataverse-table-row-remove.js +58 -75
- package/dist/m365/pp/commands/environment/environment-get.js +26 -39
- package/dist/m365/pp/commands/environment/environment-list.js +35 -48
- package/dist/m365/pp/commands/gateway/gateway-get.js +21 -34
- package/dist/m365/pp/commands/gateway/gateway-list.js +24 -37
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +48 -63
- package/dist/m365/pp/commands/managementapp/managementapp-list.js +15 -28
- package/dist/m365/pp/commands/solution/Solution.js +1 -2
- package/dist/m365/pp/commands/solution/solution-get.js +51 -66
- package/dist/m365/pp/commands/solution/solution-list.js +32 -45
- package/dist/m365/pp/commands/solution/solution-publish.js +70 -87
- package/dist/m365/pp/commands/solution/solution-publisher-add.js +34 -47
- package/dist/m365/pp/commands/solution/solution-publisher-get.js +40 -55
- package/dist/m365/pp/commands/solution/solution-publisher-list.js +27 -40
- package/dist/m365/pp/commands/solution/solution-publisher-remove.js +63 -80
- package/dist/m365/pp/commands/solution/solution-remove.js +63 -80
- package/dist/m365/pp/commands/tenant/tenant-settings-list.js +21 -34
- package/dist/m365/pp/commands/tenant/tenant-settings-set.js +71 -84
- package/dist/m365/pp/commands.js +1 -3
- package/dist/m365/purview/commands/auditlog/auditlog-list.js +101 -120
- package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +57 -72
- package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +28 -41
- package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +16 -29
- package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +41 -54
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +26 -39
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +27 -40
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +14 -27
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +41 -54
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +31 -44
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +70 -85
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +27 -40
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +14 -27
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +41 -56
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +29 -42
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +39 -52
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +28 -41
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +35 -48
- package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +27 -40
- package/dist/m365/purview/commands.js +1 -3
- package/dist/m365/search/commands/externalconnection/externalconnection-add.js +35 -48
- package/dist/m365/search/commands/externalconnection/externalconnection-get.js +33 -46
- package/dist/m365/search/commands/externalconnection/externalconnection-list.js +14 -27
- package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +50 -66
- package/dist/m365/search/commands/externalconnection/externalconnection-schema-add.js +26 -39
- package/dist/m365/search/commands.js +1 -3
- package/dist/m365/skype/commands/report/report-activitycounts.js +5 -7
- package/dist/m365/skype/commands/report/report-activityusercounts.js +5 -7
- package/dist/m365/skype/commands/report/report-activityuserdetail.js +5 -7
- package/dist/m365/skype/commands.js +1 -3
- package/dist/m365/spfx/commands/package/package-generate.js +117 -128
- package/dist/m365/spfx/commands/project/JsonRule.js +3 -7
- package/dist/m365/spfx/commands/project/Rule.js +1 -5
- package/dist/m365/spfx/commands/project/WebApiPermissionRequests.js +1 -2
- package/dist/m365/spfx/commands/project/base-project-command.js +45 -49
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.0.0.js +5 -7
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.0.1.js +5 -7
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.0.2.js +5 -7
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.1.0.js +13 -15
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.1.1.js +13 -15
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.1.3.js +13 -15
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.10.0.js +19 -21
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.11.0.js +19 -21
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.12.0.js +19 -21
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.12.1.js +19 -21
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.13.0.js +19 -21
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.13.1.js +19 -21
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.14.0.js +19 -21
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.15.0.js +19 -21
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.15.2.js +19 -21
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.16.0.js +19 -21
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.16.1.js +19 -21
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.0.js +19 -21
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.1.js +19 -21
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.2.js +21 -23
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.3.js +21 -23
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.4.js +21 -23
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.18.0-beta.1.js +19 -21
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.2.0.js +13 -15
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.0.js +13 -15
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.1.js +13 -15
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.2.js +13 -15
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.4.js +15 -17
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.4.0.js +15 -17
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.4.1.js +15 -17
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.5.0.js +15 -17
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.5.1.js +15 -17
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.6.0.js +15 -17
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.7.0.js +15 -17
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.7.1.js +15 -17
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.8.0.js +17 -19
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.8.1.js +17 -19
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.8.2.js +19 -21
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.9.1.js +19 -21
- package/dist/m365/spfx/commands/project/project-doctor/generic-rules.js +25 -28
- package/dist/m365/spfx/commands/project/project-doctor/rules/DependencyRule.js +5 -9
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN001008_DEP_react.js +4 -8
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN001009_DEP_react_dom.js +4 -8
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN001022_DEP_office_ui_fabric_react.js +4 -8
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN001035_DEP_fluentui_react.js +4 -8
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002004_DEVDEP_gulp.js +2 -6
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002007_DEVDEP_ajv.js +2 -6
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002013_DEVDEP_types_webpack_env.js +2 -6
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002015_DEVDEP_types_react.js +4 -8
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002016_DEVDEP_types_react_dom.js +4 -8
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002019_DEVDEP_microsoft_rush_stack_compiler.js +2 -6
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021001_PKG_spfx_deps_versions_match_project_version.js +5 -9
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021002_PKG_spfx_deps_use_exact_version.js +5 -9
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021003_PKG_spfx_deps_installed_as_deps.js +3 -7
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021004_PKG_spfx_devdeps_installed_as_devdeps.js +3 -7
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021005_PKG_types_installed_as_devdep.js +2 -6
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021006_PKG_rush_stack_compiler_installed_as_devdep.js +2 -6
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021007_PKG_only_one_rush_stack_compiler_installed.js +3 -8
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021008_PKG_no_duplicate_deps.js +3 -7
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021009_PKG_no_duplicate_oui_deps.js +5 -10
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021010_PKG_gulp_installed_as_devdep.js +2 -6
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021011_PKG_ajv_installed_as_devdep.js +2 -6
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021012_PKG_no_duplicate_pnpjs_deps.js +2 -6
- package/dist/m365/spfx/commands/project/project-doctor/spfx-deps.js +2 -5
- package/dist/m365/spfx/commands/project/project-doctor.js +115 -127
- package/dist/m365/spfx/commands/project/project-externalize/DefaultRules.js +4 -6
- package/dist/m365/spfx/commands/project/project-externalize/ExternalizeEntry.js +1 -2
- package/dist/m365/spfx/commands/project/project-externalize/FileEdit.js +1 -2
- package/dist/m365/spfx/commands/project/project-externalize/VisitationResult.js +1 -2
- package/dist/m365/spfx/commands/project/project-externalize/index.js +3 -19
- package/dist/m365/spfx/commands/project/project-externalize/rules/BasicDependencyRule.js +1 -5
- package/dist/m365/spfx/commands/project/project-externalize/rules/DynamicRule.js +54 -67
- package/dist/m365/spfx/commands/project/project-externalize/rules/PnPJsRule.js +9 -11
- package/dist/m365/spfx/commands/project/project-externalize/rules/index.js +3 -19
- package/dist/m365/spfx/commands/project/project-externalize.js +48 -60
- package/dist/m365/spfx/commands/project/project-model/ConfigJson.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/CopyAssetsJson.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/DeployAzureStorageJson.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/EsLintRcJs.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/Gitignore.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/GulpfileJs.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/JsonFile.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/Manifest.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/Npmignore.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/PackageJson.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/PackageSolutionJson.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/Project.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/ScssFile.js +3 -7
- package/dist/m365/spfx/commands/project/project-model/ServeJson.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/TsConfigJson.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/TsFile.js +8 -11
- package/dist/m365/spfx/commands/project/project-model/TsLintJson.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/VsCode.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/VsCodeExtensionsJson.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/VsCodeLaunchJson.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/VsCodeSettingsJson.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/WriteManifestsJson.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/YoRcJson.js +1 -2
- package/dist/m365/spfx/commands/project/project-model/index.js +23 -39
- package/dist/m365/spfx/commands/project/project-permissions-grant.js +44 -57
- package/dist/m365/spfx/commands/project/project-rename.js +47 -60
- package/dist/m365/spfx/commands/project/project-upgrade/rules/DependencyRule.js +6 -10
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001001_DEP_microsoft_sp_core_library.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001002_DEP_microsoft_sp_lodash_subset.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001003_DEP_microsoft_sp_office_ui_fabric_core.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001004_DEP_microsoft_sp_webpart_base.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001005_DEP_types_react.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001006_DEP_types_react_dom.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001007_DEP_types_webpack_env.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001008_DEP_react.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001009_DEP_react_dom.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001010_DEP_types_es6_promise.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001011_DEP_microsoft_sp_dialog.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001012_DEP_microsoft_sp_application_base.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001013_DEP_microsoft_decorators.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001014_DEP_microsoft_sp_listview_extensibility.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001015_DEP_types_react_addons_shallow_compare.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001016_DEP_types_react_addons_update.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001017_DEP_types_react_addons_update.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001018_DEP_microsoft_sp_client_base.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001019_DEP_knockout.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001020_DEP_types_knockout.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001021_DEP_microsoft_sp_property_pane.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001022_DEP_office_ui_fabric_react.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001023_DEP_microsoft_sp_component_base.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001024_DEP_microsoft_sp_diagnostics.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001025_DEP_microsoft_sp_dynamic_data.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001026_DEP_microsoft_sp_extension_base.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001027_DEP_microsoft_sp_http.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001028_DEP_microsoft_sp_list_subscription.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001029_DEP_microsoft_sp_loader.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001030_DEP_microsoft_sp_module_interfaces.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001031_DEP_microsoft_sp_odata_types.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001032_DEP_microsoft_sp_page_context.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001033_DEP_tslib.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001034_DEP_microsoft_sp_adaptive_card_extension_base.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001035_DEP_fluentui_react.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002001_DEVDEP_microsoft_sp_build_web.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002003_DEVDEP_microsoft_sp_webpart_workbench.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002004_DEVDEP_gulp.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002005_DEVDEP_types_chai.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002006_DEVDEP_types_mocha.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002007_DEVDEP_ajv.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002008_DEVDEP_tslint_microsoft_contrib.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002009_DEVDEP_microsoft_sp_tslint_rules.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002010_DEVDEP_microsoft_rush_stack_compiler_2_7.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002011_DEVDEP_microsoft_rush_stack_compiler_2_9.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002012_DEVDEP_microsoft_rush_stack_compiler_3_3.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002013_DEVDEP_types_webpack_env.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002014_DEVDEP_types_es6_promise.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002015_DEVDEP_types_react.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002016_DEVDEP_types_react_dom.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002017_DEVDEP_microsoft_rush_stack_compiler_3_7.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002018_DEVDEP_microsoft_rush_stack_compiler_3_9.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002019_DEVDEP_spfx_fast_serve_helpers.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002021_DEVDEP_rushstack_eslint_config.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002024_DEVDEP_eslint.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002025_DEVDEP_eslint_plugin_react_hooks.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002026_DEVDEP_typescript.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002027_DEVDEP_fluentui_react.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003001_CFG_schema.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003002_CFG_version.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003003_CFG_bundles.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003004_CFG_entries.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003005_CFG_localizedResource_pathLib.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN004001_CFG_CA_schema.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN004002_CFG_CA_deployCdnPath.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN005001_CFG_DAS_schema.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN005002_CFG_DAS_workingDir.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006001_CFG_PS_schema.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006002_CFG_PS_includeClientSideAssets.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006003_CFG_PS_isDomainIsolated.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006004_CFG_PS_developer.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006005_CFG_PS_metadata.js +3 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006006_CFG_PS_features.js +4 -9
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN007001_CFG_S_schema.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN007002_CFG_S_initialPage.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN007003_CFG_S_api.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN008001_CFG_TSL_schema.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN008002_CFG_TSL_removeRule.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN008003_CFG_TSL_preferConst.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN009001_CFG_WM_schema.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +3 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +3 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +3 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010004_YORC_componentType.js +3 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +3 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +4 -9
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +3 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010008_YORC_nodeVersion.js +4 -9
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010009_YORC_sdkVersions_microsoft_graph_client.js +4 -9
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010010_YORC_sdkVersions_teams_js.js +4 -9
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011001_MAN_webpart_schema.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011002_MAN_applicationCustomizer_schema.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011003_MAN_listViewCommandSet_schema.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011004_MAN_fieldCustomizer_schema.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011005_MAN_webpart_defaultGroup.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011006_MAN_listViewCommandSet_items.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011007_MAN_listViewCommandSet_removeCommands.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011008_MAN_requiresCustomScript.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011009_MAN_webpart_safeWithCustomScriptDisabled.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011010_MAN_webpart_version.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN011011_MAN_webpart_supportedHosts.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012001_TSC_module.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012002_TSC_moduleResolution.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012003_TSC_skipLibCheck.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012004_TSC_typeRoots_types.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012005_TSC_typeRoots_microsoft.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012006_TSC_types_es6_collections.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012007_TSC_lib_es5.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012008_TSC_lib_dom.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012009_TSC_lib_es2015_collection.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012010_TSC_experimentalDecorators.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012011_TSC_outDir.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012012_TSC_include.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012013_TSC_exclude.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012014_TSC_inlineSources.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012015_TSC_strictNullChecks.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012016_TSC_noUnusedLocals.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012017_TSC_extends.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012018_TSC_lib_es2015_promise.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012019_TSC_types_es6_promise.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012020_TSC_noImplicitAny.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN013001_GULP_msGridSassSuppression.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN013002_GULP_serveTask.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014001_CODE_settings_jsonSchemas.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014002_CODE_extensions.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014003_CODE_launch.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014004_CODE_settings_jsonSchemas_configJson_url.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014005_CODE_settingsfile.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014006_CODE_launch_sourceMapPathOverrides.js +3 -7
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014007_CODE_launch_localWorkbench.js +3 -7
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014008_CODE_launch_hostedWorkbench_type.js +3 -7
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014009_CODE_launch_hostedWorkbench_url.js +3 -7
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015001_FILE_typings_tsd_d_ts.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015002_FILE_typings__ms_odsp_d_ts.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015003_FILE_tslint_json.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015004_FILE_config_tslint_json.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015005_FILE_src_index_ts.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015007_FILE_config_copy_assets_json.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015008_FILE_eslintrc_js.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015009_FILE_config_sass_json.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN016001_TS_msgraphclient_packageName.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN016002_TS_msgraphclient_instance.js +5 -9
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN016003_TS_aadhttpclient_instance.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN016004_TS_property_pane_property_import.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN017001_MISC_npm_dedupe.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018001_TEAMS_folder.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018002_TEAMS_manifest.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018003_TEAMS_tab20x20_png.js +6 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018004_TEAMS_tab96x96_png.js +6 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018005_TEAMS_deprecated_manifest.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN019001_TSL_rulesDirectory.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN019002_TSL_extends.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN020001_RES_types_react.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021001_PKG_main.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021002_PKG_engines.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021003_PKG_engines_node.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN022001_SCSS_remove_fabric_react.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN022002_SCSS_add_fabric_react.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023001_GITIGNORE_release.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023002_GITIGNORE_heft.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN024001_NPMIGNORE_file.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN025001_ESLINTRCJS_overrides.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FileAddRemoveRule.js +4 -8
- package/dist/m365/spfx/commands/project/project-upgrade/rules/ManifestRule.js +3 -7
- package/dist/m365/spfx/commands/project/project-upgrade/rules/PackageRule.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/ResolutionRule.js +2 -6
- package/dist/m365/spfx/commands/project/project-upgrade/rules/ScssRule.js +3 -7
- package/dist/m365/spfx/commands/project/project-upgrade/rules/TsRule.js +3 -7
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.0.1.js +5 -7
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.0.2.js +9 -11
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.1.0.js +57 -59
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.1.1.js +15 -17
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.1.3.js +9 -11
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.10.0.js +57 -59
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.11.0.js +71 -73
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.12.0.js +87 -89
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.12.1.js +55 -57
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.13.0.js +79 -81
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.13.1.js +49 -51
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +57 -59
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.0.js +82 -84
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.2.js +61 -63
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.16.0.js +73 -75
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.16.1.js +53 -55
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.0.js +63 -65
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.1.js +51 -53
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.2.js +57 -59
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.3.js +55 -57
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.4.js +51 -53
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.0-beta.1.js +57 -59
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.2.0.js +69 -71
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.3.0.js +39 -41
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.3.1.js +3 -5
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.3.2.js +3 -5
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.3.4.js +45 -47
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.4.0.js +73 -75
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.4.1.js +41 -43
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.5.0.js +83 -85
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.5.1.js +43 -45
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.6.0.js +63 -65
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.7.0.js +71 -73
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.7.1.js +53 -55
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.8.0.js +73 -75
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.8.1.js +49 -51
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.8.2.js +63 -65
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.9.1.js +71 -73
- package/dist/m365/spfx/commands/project/project-upgrade.js +198 -210
- package/dist/m365/spfx/commands/project/report-model/Finding.js +1 -2
- package/dist/m365/spfx/commands/project/report-model/FindingToReport.js +1 -2
- package/dist/m365/spfx/commands/project/report-model/FindingTour.js +1 -2
- package/dist/m365/spfx/commands/project/report-model/FindingTourStep.js +1 -2
- package/dist/m365/spfx/commands/project/report-model/Occurrence.js +1 -2
- package/dist/m365/spfx/commands/project/report-model/ReportData.js +1 -2
- package/dist/m365/spfx/commands/project/report-model/index.js +5 -21
- package/dist/m365/spfx/commands/spfx-doctor.js +184 -228
- package/dist/m365/spfx/commands.js +1 -3
- package/dist/m365/spo/ClientSideComponent.js +1 -2
- package/dist/m365/spo/StandardWebPartTypes.js +1 -5
- package/dist/m365/spo/base-permissions.js +3 -7
- package/dist/m365/spo/commands/app/AppMetadata.js +1 -2
- package/dist/m365/spo/commands/app/SpoAppBaseCommand.js +4 -8
- package/dist/m365/spo/commands/app/app-add.js +43 -56
- package/dist/m365/spo/commands/app/app-deploy.js +47 -60
- package/dist/m365/spo/commands/app/app-get.js +42 -55
- package/dist/m365/spo/commands/app/app-install.js +28 -41
- package/dist/m365/spo/commands/app/app-instance-list.js +33 -46
- package/dist/m365/spo/commands/app/app-list.js +31 -44
- package/dist/m365/spo/commands/app/app-remove.js +48 -61
- package/dist/m365/spo/commands/app/app-retract.js +48 -61
- package/dist/m365/spo/commands/app/app-teamspackage-download.js +99 -117
- package/dist/m365/spo/commands/app/app-uninstall.js +45 -58
- package/dist/m365/spo/commands/app/app-upgrade.js +28 -41
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +34 -47
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +61 -76
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-list.js +16 -29
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-remove.js +68 -85
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +70 -87
- package/dist/m365/spo/commands/apppage/apppage-add.js +45 -58
- package/dist/m365/spo/commands/apppage/apppage-set.js +27 -40
- package/dist/m365/spo/commands/cdn/cdn-get.js +43 -56
- package/dist/m365/spo/commands/cdn/cdn-origin-add.js +38 -51
- package/dist/m365/spo/commands/cdn/cdn-origin-list.js +41 -54
- package/dist/m365/spo/commands/cdn/cdn-origin-remove.js +56 -69
- package/dist/m365/spo/commands/cdn/cdn-policy-list.js +49 -62
- package/dist/m365/spo/commands/cdn/cdn-policy-set.js +45 -58
- package/dist/m365/spo/commands/cdn/cdn-set.js +71 -84
- package/dist/m365/spo/commands/commandset/commandset-add.js +44 -57
- package/dist/m365/spo/commands/commandset/commandset-get.js +49 -62
- package/dist/m365/spo/commands/commandset/commandset-list.js +20 -33
- package/dist/m365/spo/commands/commandset/commandset-remove.js +72 -89
- package/dist/m365/spo/commands/commandset/commandset-set.js +71 -86
- package/dist/m365/spo/commands/contenttype/FieldLink.js +1 -2
- package/dist/m365/spo/commands/contenttype/contenttype-add.js +122 -143
- package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +129 -146
- package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +194 -216
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +57 -70
- package/dist/m365/spo/commands/contenttype/contenttype-list.js +20 -33
- package/dist/m365/spo/commands/contenttype/contenttype-remove.js +71 -84
- package/dist/m365/spo/commands/contenttype/contenttype-set.js +123 -148
- package/dist/m365/spo/commands/contenttypehub/contenttypehub-get.js +35 -48
- package/dist/m365/spo/commands/customaction/customaction-add.js +57 -70
- package/dist/m365/spo/commands/customaction/customaction-clear.js +44 -59
- package/dist/m365/spo/commands/customaction/customaction-get.js +67 -82
- package/dist/m365/spo/commands/customaction/customaction-list.js +30 -43
- package/dist/m365/spo/commands/customaction/customaction-remove.js +77 -96
- package/dist/m365/spo/commands/customaction/customaction-set.js +59 -76
- package/dist/m365/spo/commands/customaction/customaction.js +1 -2
- package/dist/m365/spo/commands/eventreceiver/EventReceiver.js +1 -2
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +63 -78
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +39 -52
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +73 -90
- package/dist/m365/spo/commands/externaluser/ExternalUser.js +1 -2
- package/dist/m365/spo/commands/externaluser/ExternalUserCollection.js +1 -2
- package/dist/m365/spo/commands/externaluser/GetExternalUsersResults.js +1 -2
- package/dist/m365/spo/commands/externaluser/externaluser-list.js +63 -76
- package/dist/m365/spo/commands/feature/Feature.js +1 -2
- package/dist/m365/spo/commands/feature/feature-disable.js +32 -45
- package/dist/m365/spo/commands/feature/feature-enable.js +34 -47
- package/dist/m365/spo/commands/feature/feature-list.js +24 -37
- package/dist/m365/spo/commands/field/field-add.js +46 -59
- package/dist/m365/spo/commands/field/field-get.js +47 -60
- package/dist/m365/spo/commands/field/field-list.js +32 -45
- package/dist/m365/spo/commands/field/field-remove.js +93 -106
- package/dist/m365/spo/commands/field/field-set.js +74 -87
- package/dist/m365/spo/commands/file/FileProperties.js +1 -2
- package/dist/m365/spo/commands/file/FilePropertiesCollection.js +2 -0
- package/dist/m365/spo/commands/file/FileSharingPrincipalType.js +2 -5
- package/dist/m365/spo/commands/file/file-add.js +314 -339
- package/dist/m365/spo/commands/file/file-checkin.js +49 -62
- package/dist/m365/spo/commands/file/file-checkout-undo.js +55 -68
- package/dist/m365/spo/commands/file/file-checkout.js +36 -49
- package/dist/m365/spo/commands/file/file-copy.js +84 -65
- package/dist/m365/spo/commands/file/file-get.js +85 -98
- package/dist/m365/spo/commands/file/file-list.js +94 -122
- package/dist/m365/spo/commands/file/file-move.js +94 -133
- package/dist/m365/spo/commands/file/file-remove.js +64 -77
- package/dist/m365/spo/commands/file/file-rename.js +62 -79
- package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +68 -85
- package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +70 -87
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +99 -122
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +96 -115
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +64 -79
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +63 -78
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +79 -94
- package/dist/m365/spo/commands/file/file-sharinglink-add.js +37 -50
- package/dist/m365/spo/commands/file/file-sharinglink-clear.js +61 -76
- package/dist/m365/spo/commands/file/file-sharinglink-get.js +31 -44
- package/dist/m365/spo/commands/file/file-sharinglink-list.js +39 -52
- package/dist/m365/spo/commands/file/file-sharinglink-remove.js +46 -59
- package/dist/m365/spo/commands/file/file-sharinglink-set.js +36 -49
- package/dist/m365/spo/commands/file/file-version-clear.js +53 -68
- package/dist/m365/spo/commands/file/file-version-get.js +42 -57
- package/dist/m365/spo/commands/file/file-version-list.js +31 -44
- package/dist/m365/spo/commands/file/file-version-remove.js +53 -68
- package/dist/m365/spo/commands/file/file-version-restore.js +53 -68
- package/dist/m365/spo/commands/folder/FileFolderCollection.js +2 -0
- package/dist/m365/spo/commands/folder/FolderProperties.js +1 -2
- package/dist/m365/spo/commands/folder/folder-add.js +31 -46
- package/dist/m365/spo/commands/folder/folder-copy.js +96 -65
- package/dist/m365/spo/commands/folder/folder-get.js +54 -67
- package/dist/m365/spo/commands/folder/folder-list.js +65 -80
- package/dist/m365/spo/commands/folder/folder-move.js +96 -67
- package/dist/m365/spo/commands/folder/folder-remove.js +57 -67
- package/dist/m365/spo/commands/folder/folder-rename.js +35 -52
- package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +69 -84
- package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +85 -102
- package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +112 -135
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +85 -104
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +50 -63
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +49 -62
- package/dist/m365/spo/commands/group/AssociatedGroupPropertiesCollection.js +1 -2
- package/dist/m365/spo/commands/group/GroupProperties.js +1 -2
- package/dist/m365/spo/commands/group/SharingResult.js +1 -2
- package/dist/m365/spo/commands/group/group-add.js +33 -46
- package/dist/m365/spo/commands/group/group-get.js +49 -62
- package/dist/m365/spo/commands/group/group-list.js +44 -62
- package/dist/m365/spo/commands/group/group-member-add.js +95 -113
- package/dist/m365/spo/commands/group/group-member-list.js +25 -38
- package/dist/m365/spo/commands/group/group-member-remove.js +109 -128
- package/dist/m365/spo/commands/group/group-remove.js +56 -69
- package/dist/m365/spo/commands/group/group-set.js +71 -88
- package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-get.js +25 -38
- package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-set.js +27 -40
- package/dist/m365/spo/commands/homesite/homesite-get.js +24 -37
- package/dist/m365/spo/commands/homesite/homesite-remove.js +47 -60
- package/dist/m365/spo/commands/homesite/homesite-set.js +37 -50
- package/dist/m365/spo/commands/hubsite/AssociatedSite.js +1 -2
- package/dist/m365/spo/commands/hubsite/HubSite.js +1 -2
- package/dist/m365/spo/commands/hubsite/HubSiteProperties.js +1 -2
- package/dist/m365/spo/commands/hubsite/QueryListResult.js +1 -2
- package/dist/m365/spo/commands/hubsite/hubsite-connect.js +46 -61
- package/dist/m365/spo/commands/hubsite/hubsite-data-get.js +32 -45
- package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +79 -94
- package/dist/m365/spo/commands/hubsite/hubsite-get.js +73 -92
- package/dist/m365/spo/commands/hubsite/hubsite-list.js +71 -86
- package/dist/m365/spo/commands/hubsite/hubsite-register.js +26 -39
- package/dist/m365/spo/commands/hubsite/hubsite-rights-grant.js +40 -53
- package/dist/m365/spo/commands/hubsite/hubsite-rights-revoke.js +54 -67
- package/dist/m365/spo/commands/hubsite/hubsite-set.js +45 -58
- package/dist/m365/spo/commands/hubsite/hubsite-unregister.js +44 -57
- package/dist/m365/spo/commands/knowledgehub/knowledgehub-get.js +32 -45
- package/dist/m365/spo/commands/knowledgehub/knowledgehub-remove.js +51 -64
- package/dist/m365/spo/commands/knowledgehub/knowledgehub-set.js +34 -47
- package/dist/m365/spo/commands/list/DraftVisibilityType.js +2 -5
- package/dist/m365/spo/commands/list/ListExperience.js +2 -5
- package/dist/m365/spo/commands/list/ListInstance.js +1 -2
- package/dist/m365/spo/commands/list/ListPrincipalType.js +2 -5
- package/dist/m365/spo/commands/list/ListTemplateType.js +2 -5
- package/dist/m365/spo/commands/list/list-add.js +48 -70
- package/dist/m365/spo/commands/list/list-contenttype-add.js +47 -60
- package/dist/m365/spo/commands/list/list-contenttype-default-set.js +112 -131
- package/dist/m365/spo/commands/list/list-contenttype-list.js +36 -49
- package/dist/m365/spo/commands/list/list-contenttype-remove.js +61 -74
- package/dist/m365/spo/commands/list/list-get.js +56 -69
- package/dist/m365/spo/commands/list/list-list.js +27 -40
- package/dist/m365/spo/commands/list/list-remove.js +55 -68
- package/dist/m365/spo/commands/list/list-retentionlabel-ensure.js +48 -87
- package/dist/m365/spo/commands/list/list-retentionlabel-get.js +58 -75
- package/dist/m365/spo/commands/list/list-retentionlabel-remove.js +74 -91
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +61 -116
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +94 -113
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +62 -76
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +58 -72
- package/dist/m365/spo/commands/list/list-sensitivitylabel-ensure.js +59 -74
- package/dist/m365/spo/commands/list/list-set.js +59 -81
- package/dist/m365/spo/commands/list/list-sitescript-get.js +60 -73
- package/dist/m365/spo/commands/list/list-view-add.js +43 -56
- package/dist/m365/spo/commands/list/list-view-field-add.js +77 -92
- package/dist/m365/spo/commands/list/list-view-field-remove.js +76 -91
- package/dist/m365/spo/commands/list/list-view-field-set.js +58 -73
- package/dist/m365/spo/commands/list/list-view-get.js +42 -55
- package/dist/m365/spo/commands/list/list-view-list.js +32 -45
- package/dist/m365/spo/commands/list/list-view-remove.js +64 -77
- package/dist/m365/spo/commands/list/list-view-set.js +45 -58
- package/dist/m365/spo/commands/list/list-webhook-add.js +55 -68
- package/dist/m365/spo/commands/list/list-webhook-get.js +46 -59
- package/dist/m365/spo/commands/list/list-webhook-list.js +42 -55
- package/dist/m365/spo/commands/list/list-webhook-remove.js +62 -75
- package/dist/m365/spo/commands/list/list-webhook-set.js +49 -62
- package/dist/m365/spo/commands/listitem/ListItemFieldValueResult.js +1 -2
- package/dist/m365/spo/commands/listitem/ListItemInstance.js +1 -2
- package/dist/m365/spo/commands/listitem/ListItemInstanceCollection.js +1 -2
- package/dist/m365/spo/commands/listitem/ListItemRetentionLabel.js +1 -2
- package/dist/m365/spo/commands/listitem/SiteRetentionLabel.js +1 -2
- package/dist/m365/spo/commands/listitem/listitem-add.js +121 -133
- package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +47 -60
- package/dist/m365/spo/commands/listitem/listitem-batch-add.js +68 -107
- package/dist/m365/spo/commands/listitem/listitem-batch-set.js +131 -177
- package/dist/m365/spo/commands/listitem/listitem-get.js +59 -72
- package/dist/m365/spo/commands/listitem/listitem-isrecord.js +79 -92
- package/dist/m365/spo/commands/listitem/listitem-list.js +128 -148
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +62 -75
- package/dist/m365/spo/commands/listitem/listitem-record-lock.js +48 -61
- package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +55 -68
- package/dist/m365/spo/commands/listitem/listitem-record-unlock.js +48 -61
- package/dist/m365/spo/commands/listitem/listitem-remove.js +66 -79
- package/dist/m365/spo/commands/listitem/listitem-retentionlabel-ensure.js +102 -121
- package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +65 -80
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +97 -118
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +95 -116
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +61 -77
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +58 -74
- package/dist/m365/spo/commands/listitem/listitem-set.js +169 -183
- package/dist/m365/spo/commands/mail/mail-send.js +54 -67
- package/dist/m365/spo/commands/navigation/NavigationNode.js +1 -2
- package/dist/m365/spo/commands/navigation/navigation-node-add.js +50 -64
- package/dist/m365/spo/commands/navigation/navigation-node-get.js +28 -41
- package/dist/m365/spo/commands/navigation/navigation-node-list.js +21 -34
- package/dist/m365/spo/commands/navigation/navigation-node-remove.js +46 -61
- package/dist/m365/spo/commands/navigation/navigation-node-set.js +57 -70
- package/dist/m365/spo/commands/orgassetslibrary/OrgAssets.js +1 -2
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +37 -50
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-list.js +45 -58
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-remove.js +46 -61
- package/dist/m365/spo/commands/orgnewssite/orgnewssite-list.js +31 -44
- package/dist/m365/spo/commands/orgnewssite/orgnewssite-remove.js +48 -63
- package/dist/m365/spo/commands/orgnewssite/orgnewssite-set.js +31 -44
- package/dist/m365/spo/commands/page/ClientSideControl.js +1 -2
- package/dist/m365/spo/commands/page/ClientSidePageProperties.js +1 -2
- package/dist/m365/spo/commands/page/Page.js +47 -72
- package/dist/m365/spo/commands/page/PageControl.js +1 -2
- package/dist/m365/spo/commands/page/PageHeader.js +1 -2
- package/dist/m365/spo/commands/page/PageItem.js +1 -2
- package/dist/m365/spo/commands/page/PageTemplate.js +1 -2
- package/dist/m365/spo/commands/page/canvasContent.js +1 -2
- package/dist/m365/spo/commands/page/clientsidepages.js +9 -19
- package/dist/m365/spo/commands/page/page-add.js +197 -212
- package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +249 -264
- package/dist/m365/spo/commands/page/page-column-get.js +32 -45
- package/dist/m365/spo/commands/page/page-column-list.js +27 -40
- package/dist/m365/spo/commands/page/page-control-get.js +48 -60
- package/dist/m365/spo/commands/page/page-control-list.js +42 -54
- package/dist/m365/spo/commands/page/page-control-set.js +115 -120
- package/dist/m365/spo/commands/page/page-copy.js +58 -71
- package/dist/m365/spo/commands/page/page-get.js +51 -64
- package/dist/m365/spo/commands/page/page-header-set.js +243 -256
- package/dist/m365/spo/commands/page/page-list.js +35 -45
- package/dist/m365/spo/commands/page/page-remove.js +52 -65
- package/dist/m365/spo/commands/page/page-section-add.js +73 -86
- package/dist/m365/spo/commands/page/page-section-get.js +23 -36
- package/dist/m365/spo/commands/page/page-section-list.js +30 -43
- package/dist/m365/spo/commands/page/page-set.js +240 -255
- package/dist/m365/spo/commands/page/page-template-list.js +24 -37
- package/dist/m365/spo/commands/page/page-text-add.js +61 -74
- package/dist/m365/spo/commands/page/pageMethods.js +1 -5
- package/dist/m365/spo/commands/propertybag/propertybag-base.js +73 -73
- package/dist/m365/spo/commands/propertybag/propertybag-get.js +31 -44
- package/dist/m365/spo/commands/propertybag/propertybag-list.js +25 -38
- package/dist/m365/spo/commands/propertybag/propertybag-remove.js +54 -70
- package/dist/m365/spo/commands/propertybag/propertybag-set.js +31 -44
- package/dist/m365/spo/commands/report/report-activityfilecounts.js +5 -7
- package/dist/m365/spo/commands/report/report-activitypages.js +5 -7
- package/dist/m365/spo/commands/report/report-activityusercounts.js +5 -7
- package/dist/m365/spo/commands/report/report-activityuserdetail.js +5 -7
- package/dist/m365/spo/commands/report/report-siteusagedetail.js +5 -7
- package/dist/m365/spo/commands/report/report-siteusagefilecounts.js +5 -7
- package/dist/m365/spo/commands/report/report-siteusagepages.js +5 -7
- package/dist/m365/spo/commands/report/report-siteusagesitecounts.js +5 -7
- package/dist/m365/spo/commands/report/report-siteusagestorage.js +5 -7
- package/dist/m365/spo/commands/roledefinition/RoleDefinition.js +1 -2
- package/dist/m365/spo/commands/roledefinition/RoleType.js +2 -5
- package/dist/m365/spo/commands/roledefinition/roledefinition-add.js +45 -58
- package/dist/m365/spo/commands/roledefinition/roledefinition-get.js +35 -48
- package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +21 -34
- package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +47 -60
- package/dist/m365/spo/commands/search/datatypes/QueryResult.js +1 -2
- package/dist/m365/spo/commands/search/datatypes/RefinementResult.js +1 -2
- package/dist/m365/spo/commands/search/datatypes/RelevantResults.js +1 -2
- package/dist/m365/spo/commands/search/datatypes/ResultTable.js +1 -2
- package/dist/m365/spo/commands/search/datatypes/ResultTableRow.js +1 -2
- package/dist/m365/spo/commands/search/datatypes/SearchResult.js +1 -2
- package/dist/m365/spo/commands/search/datatypes/SearchResultProperty.js +1 -2
- package/dist/m365/spo/commands/search/datatypes/SpecialTermResult.js +1 -2
- package/dist/m365/spo/commands/serviceprincipal/SPOWebAppServicePrincipalPermissionGrant.js +1 -2
- package/dist/m365/spo/commands/serviceprincipal/SPOWebAppServicePrincipalPermissionRequest.js +1 -2
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-add.js +37 -50
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-list.js +40 -53
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-revoke.js +32 -45
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-approve.js +68 -85
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-deny.js +36 -49
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-list.js +78 -95
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-set.js +52 -65
- package/dist/m365/spo/commands/site/DeletedSiteProperties.js +1 -2
- package/dist/m365/spo/commands/site/FlowsPolicy.js +7 -0
- package/dist/m365/spo/commands/site/SPOSitePropertiesEnumerable.js +1 -2
- package/dist/m365/spo/commands/site/SharingCapabilities.js +2 -5
- package/dist/m365/spo/commands/site/SiteProperties.js +1 -2
- package/dist/m365/spo/commands/site/site-add.js +196 -213
- package/dist/m365/spo/commands/site/site-appcatalog-add.js +38 -51
- package/dist/m365/spo/commands/site/site-appcatalog-list.js +18 -31
- package/dist/m365/spo/commands/site/site-appcatalog-remove.js +38 -51
- package/dist/m365/spo/commands/site/site-apppermission-add.js +31 -44
- package/dist/m365/spo/commands/site/site-apppermission-get.js +27 -40
- package/dist/m365/spo/commands/site/site-apppermission-list.js +26 -39
- package/dist/m365/spo/commands/site/site-apppermission-remove.js +44 -57
- package/dist/m365/spo/commands/site/site-apppermission-set.js +34 -47
- package/dist/m365/spo/commands/site/site-chrome-set.js +58 -71
- package/dist/m365/spo/commands/site/site-commsite-enable.js +30 -52
- package/dist/m365/spo/commands/site/site-ensure.js +132 -151
- package/dist/m365/spo/commands/site/site-get.js +23 -36
- package/dist/m365/spo/commands/site/site-groupify.js +41 -54
- package/dist/m365/spo/commands/site/site-hubsite-connect.js +29 -42
- package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +44 -57
- package/dist/m365/spo/commands/site/site-hubsite-theme-sync.js +24 -37
- package/dist/m365/spo/commands/site/site-inplacerecordsmanagement-set.js +31 -44
- package/dist/m365/spo/commands/site/site-list.js +56 -79
- package/dist/m365/spo/commands/site/site-recyclebinitem-clear.js +53 -68
- package/dist/m365/spo/commands/site/site-recyclebinitem-list.js +35 -48
- package/dist/m365/spo/commands/site/site-recyclebinitem-move.js +51 -66
- package/dist/m365/spo/commands/site/site-recyclebinitem-remove.js +48 -63
- package/dist/m365/spo/commands/site/site-recyclebinitem-restore.js +42 -55
- package/dist/m365/spo/commands/site/site-remove.js +95 -108
- package/dist/m365/spo/commands/site/site-rename.js +72 -87
- package/dist/m365/spo/commands/site/site-set.js +145 -139
- package/dist/m365/spo/commands/sitedesign/SiteDesign.js +1 -2
- package/dist/m365/spo/commands/sitedesign/SiteDesignPrincipal.js +1 -2
- package/dist/m365/spo/commands/sitedesign/SiteDesignRun.js +1 -2
- package/dist/m365/spo/commands/sitedesign/SiteDesignTask.js +1 -2
- package/dist/m365/spo/commands/sitedesign/SiteScriptActionStatus.js +1 -2
- package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +49 -62
- package/dist/m365/spo/commands/sitedesign/sitedesign-apply.js +37 -50
- package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +31 -44
- package/dist/m365/spo/commands/sitedesign/sitedesign-list.js +23 -36
- package/dist/m365/spo/commands/sitedesign/sitedesign-remove.js +47 -60
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-grant.js +35 -48
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-list.js +34 -47
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-revoke.js +50 -63
- package/dist/m365/spo/commands/sitedesign/sitedesign-run-list.js +36 -49
- package/dist/m365/spo/commands/sitedesign/sitedesign-run-status-get.js +31 -44
- package/dist/m365/spo/commands/sitedesign/sitedesign-set.js +59 -72
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-get.js +31 -44
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-list.js +23 -36
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +46 -61
- package/dist/m365/spo/commands/sitescript/sitescript-add.js +30 -43
- package/dist/m365/spo/commands/sitescript/sitescript-get.js +31 -44
- package/dist/m365/spo/commands/sitescript/sitescript-list.js +26 -39
- package/dist/m365/spo/commands/sitescript/sitescript-remove.js +47 -62
- package/dist/m365/spo/commands/sitescript/sitescript-set.js +44 -57
- package/dist/m365/spo/commands/spo-get.js +11 -24
- package/dist/m365/spo/commands/spo-search.js +62 -77
- package/dist/m365/spo/commands/spo-set.js +16 -29
- package/dist/m365/spo/commands/storageentity/TenantProperty.js +1 -2
- package/dist/m365/spo/commands/storageentity/storageentity-get.js +33 -46
- package/dist/m365/spo/commands/storageentity/storageentity-list.js +44 -57
- package/dist/m365/spo/commands/storageentity/storageentity-remove.js +51 -66
- package/dist/m365/spo/commands/storageentity/storageentity-set.js +38 -51
- package/dist/m365/spo/commands/tenant/DeletedSiteProperties.js +1 -2
- package/dist/m365/spo/commands/tenant/DeletedSitePropertiesEnumerable.js +1 -2
- package/dist/m365/spo/commands/tenant/Solution.js +1 -2
- package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +74 -93
- package/dist/m365/spo/commands/tenant/tenant-appcatalogurl-get.js +27 -40
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +109 -130
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +47 -60
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-list.js +23 -36
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-remove.js +77 -94
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +150 -93
- package/dist/m365/spo/commands/tenant/tenant-commandset-add.js +109 -130
- package/dist/m365/spo/commands/tenant/tenant-commandset-get.js +50 -63
- package/dist/m365/spo/commands/tenant/tenant-commandset-list.js +26 -39
- package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +78 -95
- package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +91 -108
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-list.js +35 -48
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +70 -85
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +28 -41
- package/dist/m365/spo/commands/tenant/tenant-settings-list.js +53 -66
- package/dist/m365/spo/commands/tenant/tenant-settings-set.js +63 -76
- package/dist/m365/spo/commands/term/Term.js +1 -2
- package/dist/m365/spo/commands/term/TermCollection.js +1 -2
- package/dist/m365/spo/commands/term/TermGroup.js +1 -2
- package/dist/m365/spo/commands/term/TermGroupCollection.js +1 -2
- package/dist/m365/spo/commands/term/TermSet.js +1 -2
- package/dist/m365/spo/commands/term/TermSetCollection.js +1 -2
- package/dist/m365/spo/commands/term/TermStore.js +1 -2
- package/dist/m365/spo/commands/term/term-add.js +101 -114
- package/dist/m365/spo/commands/term/term-get.js +74 -89
- package/dist/m365/spo/commands/term/term-group-add.js +76 -89
- package/dist/m365/spo/commands/term/term-group-get.js +44 -57
- package/dist/m365/spo/commands/term/term-group-list.js +43 -56
- package/dist/m365/spo/commands/term/term-list.js +93 -110
- package/dist/m365/spo/commands/term/term-set-add.js +87 -100
- package/dist/m365/spo/commands/term/term-set-get.js +46 -59
- package/dist/m365/spo/commands/term/term-set-list.js +47 -60
- package/dist/m365/spo/commands/theme/theme-apply.js +63 -76
- package/dist/m365/spo/commands/theme/theme-get.js +34 -48
- package/dist/m365/spo/commands/theme/theme-list.js +25 -46
- package/dist/m365/spo/commands/theme/theme-remove.js +44 -57
- package/dist/m365/spo/commands/theme/theme-set.js +39 -53
- package/dist/m365/spo/commands/user/user-ensure.js +40 -55
- package/dist/m365/spo/commands/user/user-get.js +43 -56
- package/dist/m365/spo/commands/user/user-list.js +29 -42
- package/dist/m365/spo/commands/user/user-remove.js +52 -65
- package/dist/m365/spo/commands/userprofile/userprofile-get.js +32 -45
- package/dist/m365/spo/commands/userprofile/userprofile-set.js +37 -50
- package/dist/m365/spo/commands/web/GetClientSideWebPartsRsp.js +1 -2
- package/dist/m365/spo/commands/web/WebProperties.js +1 -2
- package/dist/m365/spo/commands/web/WebPropertiesCollection.js +1 -2
- package/dist/m365/spo/commands/web/web-add.js +80 -93
- package/dist/m365/spo/commands/web/web-clientsidewebpart-list.js +35 -48
- package/dist/m365/spo/commands/web/web-get.js +35 -48
- package/dist/m365/spo/commands/web/web-installedlanguage-list.js +26 -39
- package/dist/m365/spo/commands/web/web-list.js +23 -36
- package/dist/m365/spo/commands/web/web-reindex.js +83 -103
- package/dist/m365/spo/commands/web/web-remove.js +43 -56
- package/dist/m365/spo/commands/web/web-retentionlabel-list.js +21 -34
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +48 -76
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +57 -81
- package/dist/m365/spo/commands/web/web-roleinheritance-break.js +45 -58
- package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +46 -59
- package/dist/m365/spo/commands/web/web-set.js +71 -84
- package/dist/m365/spo/commands.js +1 -5
- package/dist/m365/teams/Tab.js +2 -0
- package/dist/m365/teams/TeamsAppInstallation.js +2 -0
- package/dist/m365/teams/commands/app/app-install.js +62 -78
- package/dist/m365/teams/commands/app/app-list.js +19 -32
- package/dist/m365/teams/commands/app/app-publish.js +30 -43
- package/dist/m365/teams/commands/app/app-remove.js +43 -56
- package/dist/m365/teams/commands/app/app-uninstall.js +42 -55
- package/dist/m365/teams/commands/app/app-update.js +49 -64
- package/dist/m365/teams/commands/cache/cache-remove.js +101 -119
- package/dist/m365/teams/commands/channel/channel-add.js +65 -82
- package/dist/m365/teams/commands/channel/channel-get.js +60 -77
- package/dist/m365/teams/commands/channel/channel-list.js +32 -47
- package/dist/m365/teams/commands/channel/channel-member-add.js +100 -123
- package/dist/m365/teams/commands/channel/channel-member-list.js +58 -75
- package/dist/m365/teams/commands/channel/channel-member-remove.js +109 -133
- package/dist/m365/teams/commands/channel/channel-member-set.js +86 -108
- package/dist/m365/teams/commands/channel/channel-remove.js +77 -94
- package/dist/m365/teams/commands/channel/channel-set.js +59 -76
- package/dist/m365/teams/commands/chat/chat-get.js +68 -89
- package/dist/m365/teams/commands/chat/chat-list.js +31 -44
- package/dist/m365/teams/commands/chat/chat-member-add.js +104 -0
- package/dist/m365/teams/commands/chat/chat-member-list.js +19 -32
- package/dist/m365/teams/commands/chat/chat-member-remove.js +64 -79
- package/dist/m365/teams/commands/chat/chat-message-list.js +35 -48
- package/dist/m365/teams/commands/chat/chat-message-send.js +96 -120
- package/dist/m365/teams/commands/chat/chatUtil.js +19 -35
- package/dist/m365/teams/commands/funsettings/funsettings-list.js +29 -42
- package/dist/m365/teams/commands/funsettings/funsettings-set.js +38 -51
- package/dist/m365/teams/commands/guestsettings/guestsettings-list.js +26 -39
- package/dist/m365/teams/commands/guestsettings/guestsettings-set.js +32 -45
- package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +52 -67
- package/dist/m365/teams/commands/meeting/meeting-get.js +61 -84
- package/dist/m365/teams/commands/meeting/meeting-list.js +119 -95
- package/dist/m365/teams/commands/meeting/meeting-transcript-list.js +48 -61
- package/dist/m365/teams/commands/membersettings/membersettings-list.js +26 -39
- package/dist/m365/teams/commands/membersettings/membersettings-set.js +32 -45
- package/dist/m365/teams/commands/message/message-get.js +26 -39
- package/dist/m365/teams/commands/message/message-list.js +27 -40
- package/dist/m365/teams/commands/message/message-reply-list.js +24 -37
- package/dist/m365/teams/commands/message/message-send.js +32 -45
- package/dist/m365/teams/commands/messagingsettings/messagingsettings-list.js +26 -39
- package/dist/m365/teams/commands/messagingsettings/messagingsettings-set.js +32 -45
- package/dist/m365/teams/commands/report/report-deviceusagedistributionusercounts.js +5 -7
- package/dist/m365/teams/commands/report/report-deviceusageusercounts.js +5 -7
- package/dist/m365/teams/commands/report/report-deviceusageuserdetail.js +5 -7
- package/dist/m365/teams/commands/report/report-directroutingcalls.js +28 -41
- package/dist/m365/teams/commands/report/report-pstncalls.js +28 -41
- package/dist/m365/teams/commands/report/report-useractivitycounts.js +5 -7
- package/dist/m365/teams/commands/report/report-useractivityusercounts.js +5 -7
- package/dist/m365/teams/commands/report/report-useractivityuserdetail.js +5 -7
- package/dist/m365/teams/commands/tab/tab-add.js +30 -43
- package/dist/m365/teams/commands/tab/tab-get.js +72 -91
- package/dist/m365/teams/commands/tab/tab-list.js +24 -37
- package/dist/m365/teams/commands/tab/tab-remove.js +47 -60
- package/dist/m365/teams/commands/team/team-add.js +85 -102
- package/dist/m365/teams/commands/team/team-app-list.js +46 -61
- package/dist/m365/teams/commands/team/team-archive.js +41 -56
- package/dist/m365/teams/commands/team/team-clone.js +41 -54
- package/dist/m365/teams/commands/team/team-get.js +37 -52
- package/dist/m365/teams/commands/team/team-list.js +46 -61
- package/dist/m365/teams/commands/team/team-remove.js +52 -67
- package/dist/m365/teams/commands/team/team-set.js +27 -40
- package/dist/m365/teams/commands/team/team-unarchive.js +38 -53
- package/dist/m365/teams/commands/user/user-app-add.js +29 -42
- package/dist/m365/teams/commands/user/user-app-list.js +51 -66
- package/dist/m365/teams/commands/user/user-app-remove.js +42 -55
- package/dist/m365/teams/commands/user/user-list.js +37 -54
- package/dist/m365/teams/commands.js +2 -3
- package/dist/m365/tenant/commands/id/id-get.js +33 -46
- package/dist/m365/tenant/commands/report/report-activeusercounts.js +5 -7
- package/dist/m365/tenant/commands/report/report-activeuserdetail.js +5 -7
- package/dist/m365/tenant/commands/report/report-office365activationcounts.js +31 -46
- package/dist/m365/tenant/commands/report/report-office365activationsusercounts.js +31 -46
- package/dist/m365/tenant/commands/report/report-office365activationsuserdetail.js +31 -46
- package/dist/m365/tenant/commands/report/report-servicesusercounts.js +5 -7
- package/dist/m365/tenant/commands/security/security-alerts-list.js +43 -58
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +15 -28
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-list.js +28 -43
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-get.js +22 -35
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-list.js +19 -32
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-get.js +26 -39
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-list.js +19 -32
- package/dist/m365/tenant/commands.js +1 -3
- package/dist/m365/todo/ToDoList.js +1 -2
- package/dist/m365/todo/ToDoTask.js +1 -2
- package/dist/m365/todo/commands/list/list-add.js +26 -39
- package/dist/m365/todo/commands/list/list-get.js +33 -48
- package/dist/m365/todo/commands/list/list-list.js +14 -27
- package/dist/m365/todo/commands/list/list-remove.js +48 -65
- package/dist/m365/todo/commands/list/list-set.js +40 -55
- package/dist/m365/todo/commands/task/task-add.js +63 -80
- package/dist/m365/todo/commands/task/task-get.js +44 -59
- package/dist/m365/todo/commands/task/task-list.js +30 -43
- package/dist/m365/todo/commands/task/task-remove.js +55 -68
- package/dist/m365/todo/commands/task/task-set.js +36 -50
- package/dist/m365/todo/commands.js +1 -3
- package/dist/m365/util/commands/accesstoken/accesstoken-get.js +24 -37
- package/dist/m365/util/commands.js +1 -3
- package/dist/m365/viva/commands/connections/connections-app-create.js +117 -130
- package/dist/m365/viva/commands.js +1 -3
- package/dist/m365/yammer/commands/group/group-list.js +45 -60
- package/dist/m365/yammer/commands/group/group-user-add.js +27 -40
- package/dist/m365/yammer/commands/group/group-user-remove.js +48 -61
- package/dist/m365/yammer/commands/message/message-add.js +33 -46
- package/dist/m365/yammer/commands/message/message-get.js +24 -37
- package/dist/m365/yammer/commands/message/message-like-set.js +52 -66
- package/dist/m365/yammer/commands/message/message-list.js +92 -124
- package/dist/m365/yammer/commands/message/message-remove.js +40 -53
- package/dist/m365/yammer/commands/network/network-list.js +24 -37
- package/dist/m365/yammer/commands/report/report-activitycounts.js +5 -7
- package/dist/m365/yammer/commands/report/report-activityusercounts.js +5 -7
- package/dist/m365/yammer/commands/report/report-activityuserdetail.js +5 -7
- package/dist/m365/yammer/commands/report/report-deviceusagedistributionusercounts.js +5 -7
- package/dist/m365/yammer/commands/report/report-deviceusageusercounts.js +5 -7
- package/dist/m365/yammer/commands/report/report-deviceusageuserdetail.js +5 -7
- package/dist/m365/yammer/commands/report/report-groupsactivitycounts.js +5 -7
- package/dist/m365/yammer/commands/report/report-groupsactivitydetail.js +5 -7
- package/dist/m365/yammer/commands/report/report-groupsactivitygroupcounts.js +5 -7
- package/dist/m365/yammer/commands/user/user-get.js +32 -45
- package/dist/m365/yammer/commands/user/user-list.js +18 -31
- package/dist/m365/yammer/commands/yammer-search.js +136 -166
- package/dist/m365/yammer/commands.js +1 -3
- package/dist/request.js +27 -22
- package/dist/settingsNames.js +1 -4
- package/dist/telemetry.js +10 -13
- package/dist/utils/aadGroup.js +24 -40
- package/dist/utils/aadUser.js +39 -57
- package/dist/utils/accessToken.js +5 -8
- package/dist/utils/app.js +12 -0
- package/dist/utils/basic.js +8 -0
- package/dist/utils/browserUtil.js +5 -19
- package/dist/utils/cache.js +8 -11
- package/dist/utils/formatting.js +9 -12
- package/dist/utils/fsUtil.js +5 -8
- package/dist/utils/md.js +11 -14
- package/dist/utils/misc.js +1 -4
- package/dist/utils/odata.js +20 -35
- package/dist/utils/packageManager.js +13 -16
- package/dist/utils/pid.js +11 -14
- package/dist/utils/planner.js +29 -44
- package/dist/utils/powerPlatform.js +25 -39
- package/dist/utils/session.js +5 -8
- package/dist/utils/sinonUtil.js +1 -4
- package/dist/utils/spfx.js +3 -8
- package/dist/utils/spo.js +260 -267
- package/dist/utils/tsUtil.js +8 -0
- package/dist/utils/types.js +1 -2
- package/dist/utils/urlUtil.js +3 -6
- package/dist/utils/validation.js +2 -5
- package/docs/docs/_clisettings.mdx +2 -2
- package/docs/docs/cmd/_global.mdx +2 -2
- package/docs/docs/cmd/aad/app/app-remove.mdx +2 -2
- package/docs/docs/cmd/aad/app/app-role-remove.mdx +2 -2
- package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/aad/groupsetting/groupsetting-remove.mdx +2 -2
- package/docs/docs/cmd/aad/{o365group/o365group-add.mdx → m365group/m365group-add.mdx} +13 -13
- package/docs/docs/cmd/aad/{o365group/o365group-conversation-list.mdx → m365group/m365group-conversation-list.mdx} +4 -4
- package/docs/docs/cmd/aad/{o365group/o365group-conversation-post-list.mdx → m365group/m365group-conversation-post-list.mdx} +8 -8
- package/docs/docs/cmd/aad/{o365group/o365group-get.mdx → m365group/m365group-get.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-list.mdx → m365group/m365group-list.mdx} +12 -29
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-clear.mdx → m365group/m365group-recyclebinitem-clear.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-list.mdx → m365group/m365group-recyclebinitem-list.mdx} +8 -8
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-remove.mdx → m365group/m365group-recyclebinitem-remove.mdx} +7 -7
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-restore.mdx → m365group/m365group-recyclebinitem-restore.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-remove.mdx → m365group/m365group-remove.mdx} +7 -7
- package/docs/docs/cmd/aad/{o365group/o365group-renew.mdx → m365group/m365group-renew.mdx} +4 -4
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitycounts.mdx → m365group/m365group-report-activitycounts.mdx} +7 -7
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitydetail.mdx → m365group/m365group-report-activitydetail.mdx} +8 -8
- package/docs/docs/cmd/aad/{o365group/o365group-report-activityfilecounts.mdx → m365group/m365group-report-activityfilecounts.mdx} +7 -7
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitygroupcounts.mdx → m365group/m365group-report-activitygroupcounts.mdx} +7 -7
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitystorage.mdx → m365group/m365group-report-activitystorage.mdx} +7 -7
- package/docs/docs/cmd/aad/{o365group/o365group-set.mdx → m365group/m365group-set.mdx} +8 -8
- package/docs/docs/cmd/aad/{o365group/o365group-teamify.mdx → m365group/m365group-teamify.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-user-add.mdx → m365group/m365group-user-add.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-user-list.mdx → m365group/m365group-user-list.mdx} +7 -7
- package/docs/docs/cmd/aad/{o365group/o365group-user-remove.mdx → m365group/m365group-user-remove.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-user-set.mdx → m365group/m365group-user-set.mdx} +5 -5
- package/docs/docs/cmd/aad/oauth2grant/oauth2grant-remove.mdx +2 -2
- package/docs/docs/cmd/aad/siteclassification/siteclassification-disable.mdx +2 -2
- package/docs/docs/cmd/aad/user/user-get.mdx +118 -25
- package/docs/docs/cmd/aad/user/user-license-remove.mdx +1 -1
- package/docs/docs/cmd/aad/user/user-list.mdx +0 -9
- package/docs/docs/cmd/aad/user/user-recyclebinitem-clear.mdx +2 -2
- package/docs/docs/cmd/aad/user/user-recyclebinitem-remove.mdx +2 -2
- package/docs/docs/cmd/aad/user/user-remove.mdx +1 -1
- package/docs/docs/cmd/aad/user/user-set.mdx +11 -11
- package/docs/docs/cmd/cli/config/config-list.mdx +78 -0
- package/docs/docs/cmd/context/context-remove.mdx +2 -2
- package/docs/docs/cmd/context/option/option-remove.mdx +2 -2
- package/docs/docs/cmd/file/file-list.mdx +1 -1
- package/docs/docs/cmd/flow/environment/environment-get.mdx +1 -2
- package/docs/docs/cmd/flow/environment/environment-list.mdx +1 -2
- package/docs/docs/cmd/flow/flow-enable.mdx +2 -2
- package/docs/docs/cmd/flow/flow-export.mdx +1 -1
- package/docs/docs/cmd/flow/flow-remove.mdx +3 -3
- package/docs/docs/cmd/flow/owner/owner-ensure.mdx +1 -1
- package/docs/docs/cmd/flow/owner/owner-list.mdx +1 -1
- package/docs/docs/cmd/flow/owner/owner-remove.mdx +3 -3
- package/docs/docs/cmd/flow/run/run-cancel.mdx +1 -1
- package/docs/docs/cmd/flow/run/run-get.mdx +1 -1
- package/docs/docs/cmd/flow/run/run-list.mdx +2 -4
- package/docs/docs/cmd/flow/run/run-resubmit.mdx +3 -3
- package/docs/docs/cmd/graph/schemaextension/schemaextension-remove.mdx +2 -2
- package/docs/docs/cmd/login.mdx +6 -0
- package/docs/docs/cmd/onedrive/report/report-activityfilecounts.mdx +1 -1
- package/docs/docs/cmd/onedrive/report/report-activityusercounts.mdx +1 -1
- package/docs/docs/cmd/onedrive/report/report-activityuserdetail.mdx +1 -1
- package/docs/docs/cmd/onedrive/report/report-usageaccountcounts.mdx +1 -1
- package/docs/docs/cmd/onedrive/report/report-usageaccountdetail.mdx +1 -1
- package/docs/docs/cmd/onedrive/report/report-usagefilecounts.mdx +1 -1
- package/docs/docs/cmd/onedrive/report/report-usagestorage.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailactivitycounts.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailactivityusercounts.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailactivityuserdetail.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailappusageappsusercounts.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailappusageusercounts.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailappusageuserdetail.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailappusageversionsusercounts.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailboxusagedetail.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailboxusagemailboxcount.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailboxusagequotastatusmailboxcounts.mdx +1 -1
- package/docs/docs/cmd/outlook/report/report-mailboxusagestorage.mdx +1 -1
- package/docs/docs/cmd/pa/app/app-consent-set.mdx +4 -4
- package/docs/docs/cmd/pa/app/app-export.mdx +3 -3
- package/docs/docs/cmd/pa/app/app-list.mdx +2 -2
- package/docs/docs/cmd/pa/app/app-owner-set.mdx +60 -0
- package/docs/docs/cmd/pa/app/app-permission-ensure.mdx +85 -0
- package/docs/docs/cmd/pa/app/app-permission-list.mdx +132 -0
- package/docs/docs/cmd/pa/app/app-permission-remove.mdx +74 -0
- package/docs/docs/cmd/pa/app/app-remove.mdx +2 -2
- package/docs/docs/cmd/planner/bucket/bucket-add.mdx +21 -4
- package/docs/docs/cmd/planner/bucket/bucket-get.mdx +22 -5
- package/docs/docs/cmd/planner/bucket/bucket-list.mdx +21 -4
- package/docs/docs/cmd/planner/bucket/bucket-remove.mdx +23 -6
- package/docs/docs/cmd/planner/bucket/bucket-set.mdx +22 -5
- package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
- package/docs/docs/cmd/planner/plan/plan-remove.mdx +2 -2
- package/docs/docs/cmd/planner/roster/roster-member-remove.mdx +2 -2
- package/docs/docs/cmd/planner/roster/roster-remove.mdx +2 -2
- package/docs/docs/cmd/planner/task/task-checklistitem-remove.mdx +2 -2
- package/docs/docs/cmd/planner/task/task-reference-remove.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-remove.mdx +2 -2
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +4 -4
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +4 -4
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-remove.mdx +5 -5
- package/docs/docs/cmd/pp/card/card-clone.mdx +6 -6
- package/docs/docs/cmd/pp/card/card-get.mdx +6 -6
- package/docs/docs/cmd/pp/card/card-list.mdx +4 -4
- package/docs/docs/cmd/pp/card/card-remove.mdx +10 -10
- package/docs/docs/cmd/pp/chatbot/chatbot-get.mdx +6 -6
- package/docs/docs/cmd/pp/chatbot/chatbot-list.mdx +4 -4
- package/docs/docs/cmd/pp/chatbot/chatbot-remove.mdx +5 -5
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +4 -4
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +4 -4
- package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +5 -5
- package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.mdx +5 -5
- package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.mdx +6 -6
- package/docs/docs/cmd/pp/solution/solution-get.mdx +6 -6
- package/docs/docs/cmd/pp/solution/solution-list.mdx +4 -4
- package/docs/docs/cmd/pp/solution/solution-publish.mdx +4 -4
- package/docs/docs/cmd/pp/solution/solution-publisher-add.mdx +3 -3
- package/docs/docs/cmd/pp/solution/solution-publisher-get.mdx +6 -6
- package/docs/docs/cmd/pp/solution/solution-publisher-list.mdx +4 -4
- package/docs/docs/cmd/pp/solution/solution-publisher-remove.mdx +6 -6
- package/docs/docs/cmd/pp/solution/solution-remove.mdx +10 -10
- package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.mdx +1 -1
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.mdx +1 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/search/externalconnection/externalconnection-remove.mdx +2 -2
- package/docs/docs/cmd/skype/report/report-activitycounts.mdx +1 -1
- package/docs/docs/cmd/skype/report/report-activityusercounts.mdx +1 -1
- package/docs/docs/cmd/skype/report/report-activityuserdetail.mdx +1 -1
- package/docs/docs/cmd/spfx/project/project-externalize.mdx +1 -1
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-remove.mdx +2 -2
- package/docs/docs/cmd/spo/app/app-retract.mdx +2 -2
- package/docs/docs/cmd/spo/app/app-uninstall.mdx +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.mdx +4 -4
- package/docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx +1 -1
- package/docs/docs/cmd/spo/commandset/commandset-remove.mdx +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.mdx +3 -3
- package/docs/docs/cmd/spo/contenttype/contenttype-field-set.mdx +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-remove.mdx +3 -3
- package/docs/docs/cmd/spo/customaction/customaction-clear.mdx +2 -2
- package/docs/docs/cmd/spo/customaction/customaction-remove.mdx +3 -3
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.mdx +1 -1
- package/docs/docs/cmd/spo/externaluser/externaluser-list.mdx +1 -1
- package/docs/docs/cmd/spo/field/field-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-add.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-checkin.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +4 -12
- package/docs/docs/cmd/spo/file/file-checkout.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-copy.mdx +20 -16
- package/docs/docs/cmd/spo/file/file-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-list.mdx +6 -10
- package/docs/docs/cmd/spo/file/file-move.mdx +36 -18
- package/docs/docs/cmd/spo/file/file-remove.mdx +9 -9
- package/docs/docs/cmd/spo/file/file-rename.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +4 -4
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-clear.mdx +4 -4
- package/docs/docs/cmd/spo/file/file-version-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-list.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-remove.mdx +4 -4
- package/docs/docs/cmd/spo/file/file-version-restore.mdx +4 -4
- package/docs/docs/cmd/spo/folder/folder-add.mdx +76 -1
- package/docs/docs/cmd/spo/folder/folder-copy.mdx +39 -12
- package/docs/docs/cmd/spo/folder/folder-get.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-list.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-move.mdx +40 -13
- package/docs/docs/cmd/spo/folder/folder-remove.mdx +3 -3
- package/docs/docs/cmd/spo/folder/folder-rename.mdx +6 -2
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +3 -3
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +4 -4
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +5 -5
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +5 -5
- package/docs/docs/cmd/spo/group/group-remove.mdx +1 -1
- package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +2 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +2 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.mdx +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.mdx +2 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-unregister.mdx +2 -2
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.mdx +2 -2
- package/docs/docs/cmd/spo/list/list-add.mdx +0 -3
- package/docs/docs/cmd/spo/list/list-contenttype-remove.mdx +2 -2
- package/docs/docs/cmd/spo/list/list-list.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-remove.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.mdx +2 -17
- package/docs/docs/cmd/spo/list/list-retentionlabel-get.mdx +0 -6
- package/docs/docs/cmd/spo/list/list-retentionlabel-remove.mdx +2 -2
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.mdx +2 -2
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.mdx +2 -2
- package/docs/docs/cmd/spo/list/list-set.mdx +0 -3
- package/docs/docs/cmd/spo/list/list-view-remove.mdx +2 -2
- package/docs/docs/cmd/spo/list/list-webhook-remove.mdx +2 -2
- package/docs/docs/cmd/spo/listitem/listitem-add.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +8 -8
- package/docs/docs/cmd/spo/listitem/listitem-list.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-remove.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +2 -2
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.mdx +2 -2
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.mdx +2 -2
- package/docs/docs/cmd/spo/navigation/navigation-node-remove.mdx +2 -2
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.mdx +3 -3
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.mdx +2 -2
- package/docs/docs/cmd/spo/page/page-remove.mdx +3 -3
- package/docs/docs/cmd/spo/propertybag/propertybag-get.mdx +1 -1
- package/docs/docs/cmd/spo/propertybag/propertybag-list.mdx +1 -1
- package/docs/docs/cmd/spo/propertybag/propertybag-remove.mdx +3 -3
- package/docs/docs/cmd/spo/propertybag/propertybag-set.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-activityfilecounts.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-activitypages.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-activityusercounts.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-activityuserdetail.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-siteusagedetail.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-siteusagefilecounts.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-siteusagepages.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-siteusagesitecounts.mdx +1 -1
- package/docs/docs/cmd/spo/report/report-siteusagestorage.mdx +1 -1
- package/docs/docs/cmd/spo/roledefinition/roledefinition-remove.mdx +2 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.mdx +2 -2
- package/docs/docs/cmd/spo/site/site-add.mdx +36 -1
- package/docs/docs/cmd/spo/site/site-appcatalog-add.mdx +5 -1
- package/docs/docs/cmd/spo/site/site-appcatalog-list.mdx +14 -0
- package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-apppermission-add.mdx +68 -0
- package/docs/docs/cmd/spo/site/site-apppermission-get.mdx +55 -0
- package/docs/docs/cmd/spo/site/site-apppermission-list.mdx +55 -0
- package/docs/docs/cmd/spo/site/site-apppermission-remove.mdx +5 -1
- package/docs/docs/cmd/spo/site/site-apppermission-set.mdx +66 -0
- package/docs/docs/cmd/spo/site/site-chrome-set.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-commsite-enable.mdx +11 -1
- package/docs/docs/cmd/spo/site/site-ensure.mdx +71 -1
- package/docs/docs/cmd/spo/site/site-get.mdx +179 -0
- package/docs/docs/cmd/spo/site/site-groupify.mdx +54 -0
- package/docs/docs/cmd/spo/site/site-hubsite-connect.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-hubsite-disconnect.mdx +6 -2
- package/docs/docs/cmd/spo/site/site-hubsite-theme-sync.mdx +5 -1
- package/docs/docs/cmd/spo/site/site-inplacerecordsmanagement-set.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-list.mdx +305 -2
- package/docs/docs/cmd/spo/site/site-recyclebinitem-clear.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +80 -0
- package/docs/docs/cmd/spo/site/site-recyclebinitem-move.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-recyclebinitem-remove.mdx +2 -2
- package/docs/docs/cmd/spo/site/site-recyclebinitem-restore.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-remove.mdx +5 -1
- package/docs/docs/cmd/spo/site/site-rename.mdx +92 -0
- package/docs/docs/cmd/spo/site/site-set.mdx +13 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-add.mdx +116 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-apply.mdx +125 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-get.mdx +117 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-list.mdx +94 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-remove.mdx +6 -2
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.mdx +4 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.mdx +54 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.mdx +6 -2
- package/docs/docs/cmd/spo/sitedesign/sitedesign-run-list.mdx +66 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +65 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-set.mdx +117 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.mdx +61 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-list.mdx +60 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.mdx +6 -2
- package/docs/docs/cmd/spo/sitescript/sitescript-add.mdx +75 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +62 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-list.mdx +60 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-remove.mdx +6 -2
- package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +63 -0
- package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +53 -0
- package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +54 -0
- package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +6 -2
- package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +4 -0
- package/docs/docs/cmd/spo/tenant/tenant-appcatalog-add.mdx +4 -0
- package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.mdx +35 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +2 -2
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +2 -2
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +12 -3
- package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +2 -2
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +24 -12
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-list.mdx +67 -0
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.mdx +5 -1
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +50 -0
- package/docs/docs/cmd/spo/tenant/tenant-settings-list.mdx +729 -0
- package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +5 -0
- package/docs/docs/cmd/spo/theme/theme-apply.mdx +35 -0
- package/docs/docs/cmd/spo/theme/theme-get.mdx +74 -0
- package/docs/docs/cmd/spo/theme/theme-list.mdx +52 -0
- package/docs/docs/cmd/spo/theme/theme-remove.mdx +6 -2
- package/docs/docs/cmd/spo/theme/theme-set.mdx +4 -0
- package/docs/docs/cmd/spo/user/user-get.mdx +6 -6
- package/docs/docs/cmd/spo/user/user-remove.mdx +2 -2
- package/docs/docs/cmd/spo/web/web-remove.mdx +2 -2
- package/docs/docs/cmd/spo/web/web-roleassignment-remove.mdx +2 -2
- package/docs/docs/cmd/spo/web/web-roleinheritance-break.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-roleinheritance-reset.mdx +2 -2
- package/docs/docs/cmd/teams/app/app-remove.mdx +2 -2
- package/docs/docs/cmd/teams/app/app-uninstall.mdx +1 -1
- package/docs/docs/cmd/teams/cache/cache-remove.mdx +1 -1
- package/docs/docs/cmd/teams/channel/channel-member-remove.mdx +1 -1
- package/docs/docs/cmd/teams/channel/channel-remove.mdx +3 -3
- package/docs/docs/cmd/teams/chat/chat-member-add.mdx +66 -0
- package/docs/docs/cmd/teams/chat/chat-member-remove.mdx +2 -2
- package/docs/docs/cmd/teams/meeting/meeting-list.mdx +135 -92
- package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.mdx +1 -1
- package/docs/docs/cmd/teams/report/report-deviceusageusercounts.mdx +1 -1
- package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.mdx +1 -1
- package/docs/docs/cmd/teams/report/report-useractivitycounts.mdx +1 -1
- package/docs/docs/cmd/teams/report/report-useractivityusercounts.mdx +1 -1
- package/docs/docs/cmd/teams/report/report-useractivityuserdetail.mdx +1 -1
- package/docs/docs/cmd/teams/tab/tab-remove.mdx +2 -2
- package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
- package/docs/docs/cmd/teams/team/team-remove.mdx +2 -2
- package/docs/docs/cmd/teams/user/user-app-remove.mdx +1 -1
- package/docs/docs/cmd/tenant/report/report-activeusercounts.mdx +1 -1
- package/docs/docs/cmd/tenant/report/report-activeuserdetail.mdx +1 -1
- package/docs/docs/cmd/tenant/report/report-servicesusercounts.mdx +1 -1
- package/docs/docs/cmd/todo/list/list-remove.mdx +2 -2
- package/docs/docs/cmd/todo/task/task-remove.mdx +1 -1
- package/docs/docs/cmd/yammer/group/group-user-remove.mdx +2 -2
- package/docs/docs/cmd/yammer/message/message-like-set.mdx +2 -2
- package/docs/docs/cmd/yammer/message/message-list.mdx +1 -1
- package/docs/docs/cmd/yammer/message/message-remove.mdx +2 -2
- package/docs/docs/cmd/yammer/network/network-list.mdx +1 -1
- package/docs/docs/cmd/yammer/report/report-activitycounts.mdx +1 -1
- package/docs/docs/cmd/yammer/report/report-activityusercounts.mdx +1 -1
- package/docs/docs/cmd/yammer/report/report-activityuserdetail.mdx +1 -1
- package/docs/docs/cmd/yammer/report/report-deviceusagedistributionusercounts.mdx +1 -1
- package/docs/docs/cmd/yammer/report/report-deviceusageusercounts.mdx +1 -1
- package/docs/docs/cmd/yammer/report/report-deviceusageuserdetail.mdx +1 -1
- package/docs/docs/cmd/yammer/report/report-groupsactivitycounts.mdx +1 -1
- package/docs/docs/cmd/yammer/report/report-groupsactivitydetail.mdx +1 -1
- package/docs/docs/cmd/yammer/report/report-groupsactivitygroupcounts.mdx +1 -1
- package/npm-shrinkwrap.json +1607 -5309
- package/package.json +26 -24
- package/dist/m365/aad/commands/o365group/GroupExtended.js +0 -3
- package/dist/m365/aad/commands/o365group/o365group-add.js +0 -274
- package/dist/m365/aad/commands/o365group/o365group-conversation-list.js +0 -63
- package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +0 -90
- package/dist/m365/aad/commands/o365group/o365group-get.js +0 -75
- package/dist/m365/aad/commands/o365group/o365group-list.js +0 -130
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-clear.js +0 -97
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-list.js +0 -70
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-remove.js +0 -135
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +0 -119
- package/dist/m365/aad/commands/o365group/o365group-remove.js +0 -106
- package/dist/m365/aad/commands/o365group/o365group-renew.js +0 -68
- package/dist/m365/aad/commands/o365group/o365group-report-activitycounts.js +0 -17
- package/dist/m365/aad/commands/o365group/o365group-report-activitydetail.js +0 -17
- package/dist/m365/aad/commands/o365group/o365group-report-activityfilecounts.js +0 -17
- package/dist/m365/aad/commands/o365group/o365group-report-activitygroupcounts.js +0 -17
- package/dist/m365/aad/commands/o365group/o365group-report-activitystorage.js +0 -17
- package/dist/m365/aad/commands/o365group/o365group-set.js +0 -246
- package/dist/m365/aad/commands/o365group/o365group-teamify.js +0 -119
- package/dist/m365/aad/commands/o365group/o365group-user-add.js +0 -109
- package/dist/m365/aad/commands/o365group/o365group-user-list.js +0 -106
- package/dist/m365/aad/commands/o365group/o365group-user-remove.js +0 -147
- package/dist/m365/aad/commands/o365group/o365group-user-set.js +0 -169
|
@@ -1,29 +1,18 @@
|
|
|
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
1
|
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
12
2
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
13
3
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
14
4
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
15
5
|
};
|
|
16
6
|
var _SpoKnowledgehubRemoveCommand_instances, _SpoKnowledgehubRemoveCommand_initTelemetry, _SpoKnowledgehubRemoveCommand_initOptions;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
class SpoKnowledgehubRemoveCommand extends SpoCommand_1.default {
|
|
7
|
+
import { Cli } from '../../../../cli/Cli.js';
|
|
8
|
+
import config from '../../../../config.js';
|
|
9
|
+
import request from '../../../../request.js';
|
|
10
|
+
import { spo } from '../../../../utils/spo.js';
|
|
11
|
+
import SpoCommand from '../../../base/SpoCommand.js';
|
|
12
|
+
import commands from '../../commands.js';
|
|
13
|
+
class SpoKnowledgehubRemoveCommand extends SpoCommand {
|
|
25
14
|
get name() {
|
|
26
|
-
return
|
|
15
|
+
return commands.KNOWLEDGEHUB_REMOVE;
|
|
27
16
|
}
|
|
28
17
|
get description() {
|
|
29
18
|
return 'Removes the Knowledge Hub Site setting for your tenant';
|
|
@@ -34,64 +23,62 @@ class SpoKnowledgehubRemoveCommand extends SpoCommand_1.default {
|
|
|
34
23
|
__classPrivateFieldGet(this, _SpoKnowledgehubRemoveCommand_instances, "m", _SpoKnowledgehubRemoveCommand_initTelemetry).call(this);
|
|
35
24
|
__classPrivateFieldGet(this, _SpoKnowledgehubRemoveCommand_instances, "m", _SpoKnowledgehubRemoveCommand_initOptions).call(this);
|
|
36
25
|
}
|
|
37
|
-
commandAction(logger, args) {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
logger.logToStderr(`Removing Knowledge Hub Site settings from your tenant`);
|
|
45
|
-
}
|
|
46
|
-
const requestOptions = {
|
|
47
|
-
url: `${spoAdminUrl}/_vti_bin/client.svc/ProcessQuery`,
|
|
48
|
-
headers: {
|
|
49
|
-
'X-RequestDigest': reqDigest.FormDigestValue
|
|
50
|
-
},
|
|
51
|
-
data: `<Request AddExpandoFieldTypeSuffix="true" SchemaVersion="15.0.0.0" LibraryVersion="16.0.0.0" ApplicationName="${config_1.default.applicationName}" xmlns="http://schemas.microsoft.com/sharepoint/clientquery/2009"><Actions><ObjectPath Id="29" ObjectPathId="28"/><Method Name="RemoveKnowledgeHubSite" Id="30" ObjectPathId="28"/></Actions><ObjectPaths><Constructor Id="28" TypeId="{268004ae-ef6b-4e9b-8425-127220d84719}"/></ObjectPaths></Request>`
|
|
52
|
-
};
|
|
53
|
-
const res = yield request_1.default.post(requestOptions);
|
|
54
|
-
const json = JSON.parse(res);
|
|
55
|
-
const response = json[0];
|
|
56
|
-
if (response.ErrorInfo) {
|
|
57
|
-
throw response.ErrorInfo.ErrorMessage;
|
|
58
|
-
}
|
|
59
|
-
logger.log(json[json.length - 1]);
|
|
26
|
+
async commandAction(logger, args) {
|
|
27
|
+
const removeKnowledgehub = async () => {
|
|
28
|
+
try {
|
|
29
|
+
const spoAdminUrl = await spo.getSpoAdminUrl(logger, this.debug);
|
|
30
|
+
const reqDigest = await spo.getRequestDigest(spoAdminUrl);
|
|
31
|
+
if (this.verbose) {
|
|
32
|
+
await logger.logToStderr(`Removing Knowledge Hub Site settings from your tenant`);
|
|
60
33
|
}
|
|
61
|
-
|
|
62
|
-
|
|
34
|
+
const requestOptions = {
|
|
35
|
+
url: `${spoAdminUrl}/_vti_bin/client.svc/ProcessQuery`,
|
|
36
|
+
headers: {
|
|
37
|
+
'X-RequestDigest': reqDigest.FormDigestValue
|
|
38
|
+
},
|
|
39
|
+
data: `<Request AddExpandoFieldTypeSuffix="true" SchemaVersion="15.0.0.0" LibraryVersion="16.0.0.0" ApplicationName="${config.applicationName}" xmlns="http://schemas.microsoft.com/sharepoint/clientquery/2009"><Actions><ObjectPath Id="29" ObjectPathId="28"/><Method Name="RemoveKnowledgeHubSite" Id="30" ObjectPathId="28"/></Actions><ObjectPaths><Constructor Id="28" TypeId="{268004ae-ef6b-4e9b-8425-127220d84719}"/></ObjectPaths></Request>`
|
|
40
|
+
};
|
|
41
|
+
const res = await request.post(requestOptions);
|
|
42
|
+
const json = JSON.parse(res);
|
|
43
|
+
const response = json[0];
|
|
44
|
+
if (response.ErrorInfo) {
|
|
45
|
+
throw response.ErrorInfo.ErrorMessage;
|
|
63
46
|
}
|
|
64
|
-
|
|
65
|
-
if (args.options.confirm) {
|
|
66
|
-
if (this.debug) {
|
|
67
|
-
logger.logToStderr('Confirmation bypassed by entering confirm option. Removing Knowledge Hub Site setting...');
|
|
68
|
-
}
|
|
69
|
-
yield removeKnowledgehub();
|
|
47
|
+
await logger.log(json[json.length - 1]);
|
|
70
48
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
type: 'confirm',
|
|
74
|
-
name: 'continue',
|
|
75
|
-
default: false,
|
|
76
|
-
message: `Are you sure you want to remove Knowledge Hub Site from your tenant?`
|
|
77
|
-
});
|
|
78
|
-
if (result.continue) {
|
|
79
|
-
yield removeKnowledgehub();
|
|
80
|
-
}
|
|
49
|
+
catch (err) {
|
|
50
|
+
this.handleRejectedPromise(err);
|
|
81
51
|
}
|
|
82
|
-
}
|
|
52
|
+
};
|
|
53
|
+
if (args.options.force) {
|
|
54
|
+
if (this.debug) {
|
|
55
|
+
await logger.logToStderr('Confirmation bypassed by entering confirm option. Removing Knowledge Hub Site setting...');
|
|
56
|
+
}
|
|
57
|
+
await removeKnowledgehub();
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
const result = await Cli.prompt({
|
|
61
|
+
type: 'confirm',
|
|
62
|
+
name: 'continue',
|
|
63
|
+
default: false,
|
|
64
|
+
message: `Are you sure you want to remove Knowledge Hub Site from your tenant?`
|
|
65
|
+
});
|
|
66
|
+
if (result.continue) {
|
|
67
|
+
await removeKnowledgehub();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
83
70
|
}
|
|
84
71
|
}
|
|
85
72
|
_SpoKnowledgehubRemoveCommand_instances = new WeakSet(), _SpoKnowledgehubRemoveCommand_initTelemetry = function _SpoKnowledgehubRemoveCommand_initTelemetry() {
|
|
86
73
|
this.telemetry.push((args) => {
|
|
87
74
|
Object.assign(this.telemetryProperties, {
|
|
88
|
-
|
|
75
|
+
force: (!(!args.options.force)).toString()
|
|
89
76
|
});
|
|
90
77
|
});
|
|
91
78
|
}, _SpoKnowledgehubRemoveCommand_initOptions = function _SpoKnowledgehubRemoveCommand_initOptions() {
|
|
92
79
|
this.options.unshift({
|
|
93
|
-
option: '--
|
|
80
|
+
option: '-f, --force'
|
|
94
81
|
});
|
|
95
82
|
};
|
|
96
|
-
|
|
83
|
+
export default new SpoKnowledgehubRemoveCommand();
|
|
97
84
|
//# sourceMappingURL=knowledgehub-remove.js.map
|
|
@@ -1,30 +1,19 @@
|
|
|
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
1
|
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
12
2
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
13
3
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
14
4
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
15
5
|
};
|
|
16
6
|
var _SpoKnowledgehubSetCommand_instances, _SpoKnowledgehubSetCommand_initOptions, _SpoKnowledgehubSetCommand_initValidators;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
class SpoKnowledgehubSetCommand extends SpoCommand_1.default {
|
|
7
|
+
import config from '../../../../config.js';
|
|
8
|
+
import request from '../../../../request.js';
|
|
9
|
+
import { formatting } from '../../../../utils/formatting.js';
|
|
10
|
+
import { spo } from '../../../../utils/spo.js';
|
|
11
|
+
import { validation } from '../../../../utils/validation.js';
|
|
12
|
+
import SpoCommand from '../../../base/SpoCommand.js';
|
|
13
|
+
import commands from '../../commands.js';
|
|
14
|
+
class SpoKnowledgehubSetCommand extends SpoCommand {
|
|
26
15
|
get name() {
|
|
27
|
-
return
|
|
16
|
+
return commands.KNOWLEDGEHUB_SET;
|
|
28
17
|
}
|
|
29
18
|
get description() {
|
|
30
19
|
return 'Sets the Knowledge Hub Site for your tenant';
|
|
@@ -35,33 +24,31 @@ class SpoKnowledgehubSetCommand extends SpoCommand_1.default {
|
|
|
35
24
|
__classPrivateFieldGet(this, _SpoKnowledgehubSetCommand_instances, "m", _SpoKnowledgehubSetCommand_initOptions).call(this);
|
|
36
25
|
__classPrivateFieldGet(this, _SpoKnowledgehubSetCommand_instances, "m", _SpoKnowledgehubSetCommand_initValidators).call(this);
|
|
37
26
|
}
|
|
38
|
-
commandAction(logger, args) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
logger.logToStderr(`Adding ${args.options.siteUrl} as the Knowledge Hub Site`);
|
|
45
|
-
}
|
|
46
|
-
const requestOptions = {
|
|
47
|
-
url: `${spoAdminUrl}/_vti_bin/client.svc/ProcessQuery`,
|
|
48
|
-
headers: {
|
|
49
|
-
'X-RequestDigest': reqDigest.FormDigestValue
|
|
50
|
-
},
|
|
51
|
-
data: `<Request AddExpandoFieldTypeSuffix="true" SchemaVersion="15.0.0.0" LibraryVersion="16.0.0.0" ApplicationName="${config_1.default.applicationName}" xmlns="http://schemas.microsoft.com/sharepoint/clientquery/2009"><Actions> <ObjectPath Id="35" ObjectPathId="34" /> <Method Name="SetKnowledgeHubSite" Id="36" ObjectPathId="34"> <Parameters> <Parameter Type="String">${formatting_1.formatting.escapeXml(args.options.siteUrl)}</Parameter> </Parameters> </Method> </Actions> <ObjectPaths> <Constructor Id="34" TypeId="{268004ae-ef6b-4e9b-8425-127220d84719}" /> </ObjectPaths></Request>`
|
|
52
|
-
};
|
|
53
|
-
const res = yield request_1.default.post(requestOptions);
|
|
54
|
-
const json = JSON.parse(res);
|
|
55
|
-
const response = json[0];
|
|
56
|
-
if (response.ErrorInfo) {
|
|
57
|
-
throw response.ErrorInfo.ErrorMessage;
|
|
58
|
-
}
|
|
59
|
-
logger.log(json[json.length - 1]);
|
|
27
|
+
async commandAction(logger, args) {
|
|
28
|
+
try {
|
|
29
|
+
const spoAdminUrl = await spo.getSpoAdminUrl(logger, this.debug);
|
|
30
|
+
const reqDigest = await spo.getRequestDigest(spoAdminUrl);
|
|
31
|
+
if (this.verbose) {
|
|
32
|
+
await logger.logToStderr(`Adding ${args.options.siteUrl} as the Knowledge Hub Site`);
|
|
60
33
|
}
|
|
61
|
-
|
|
62
|
-
|
|
34
|
+
const requestOptions = {
|
|
35
|
+
url: `${spoAdminUrl}/_vti_bin/client.svc/ProcessQuery`,
|
|
36
|
+
headers: {
|
|
37
|
+
'X-RequestDigest': reqDigest.FormDigestValue
|
|
38
|
+
},
|
|
39
|
+
data: `<Request AddExpandoFieldTypeSuffix="true" SchemaVersion="15.0.0.0" LibraryVersion="16.0.0.0" ApplicationName="${config.applicationName}" xmlns="http://schemas.microsoft.com/sharepoint/clientquery/2009"><Actions> <ObjectPath Id="35" ObjectPathId="34" /> <Method Name="SetKnowledgeHubSite" Id="36" ObjectPathId="34"> <Parameters> <Parameter Type="String">${formatting.escapeXml(args.options.siteUrl)}</Parameter> </Parameters> </Method> </Actions> <ObjectPaths> <Constructor Id="34" TypeId="{268004ae-ef6b-4e9b-8425-127220d84719}" /> </ObjectPaths></Request>`
|
|
40
|
+
};
|
|
41
|
+
const res = await request.post(requestOptions);
|
|
42
|
+
const json = JSON.parse(res);
|
|
43
|
+
const response = json[0];
|
|
44
|
+
if (response.ErrorInfo) {
|
|
45
|
+
throw response.ErrorInfo.ErrorMessage;
|
|
63
46
|
}
|
|
64
|
-
|
|
47
|
+
await logger.log(json[json.length - 1]);
|
|
48
|
+
}
|
|
49
|
+
catch (err) {
|
|
50
|
+
this.handleRejectedPromise(err);
|
|
51
|
+
}
|
|
65
52
|
}
|
|
66
53
|
}
|
|
67
54
|
_SpoKnowledgehubSetCommand_instances = new WeakSet(), _SpoKnowledgehubSetCommand_initOptions = function _SpoKnowledgehubSetCommand_initOptions() {
|
|
@@ -69,7 +56,7 @@ _SpoKnowledgehubSetCommand_instances = new WeakSet(), _SpoKnowledgehubSetCommand
|
|
|
69
56
|
option: '-u, --siteUrl <siteUrl>'
|
|
70
57
|
});
|
|
71
58
|
}, _SpoKnowledgehubSetCommand_initValidators = function _SpoKnowledgehubSetCommand_initValidators() {
|
|
72
|
-
this.validators.push((args) =>
|
|
59
|
+
this.validators.push(async (args) => validation.isValidSharePointUrl(args.options.siteUrl));
|
|
73
60
|
};
|
|
74
|
-
|
|
61
|
+
export default new SpoKnowledgehubSetCommand();
|
|
75
62
|
//# sourceMappingURL=knowledgehub-set.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DraftVisibilityType = void 0;
|
|
4
|
-
var DraftVisibilityType;
|
|
1
|
+
export var DraftVisibilityType;
|
|
5
2
|
(function (DraftVisibilityType) {
|
|
6
3
|
DraftVisibilityType[DraftVisibilityType["Reader"] = 0] = "Reader";
|
|
7
4
|
DraftVisibilityType[DraftVisibilityType["Author"] = 1] = "Author";
|
|
8
5
|
DraftVisibilityType[DraftVisibilityType["Approver"] = 2] = "Approver";
|
|
9
|
-
})(DraftVisibilityType
|
|
6
|
+
})(DraftVisibilityType || (DraftVisibilityType = {}));
|
|
10
7
|
//# sourceMappingURL=DraftVisibilityType.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListExperience = void 0;
|
|
4
|
-
var ListExperience;
|
|
1
|
+
export var ListExperience;
|
|
5
2
|
(function (ListExperience) {
|
|
6
3
|
ListExperience[ListExperience["Auto"] = 0] = "Auto";
|
|
7
4
|
ListExperience[ListExperience["NewExperience"] = 1] = "NewExperience";
|
|
8
5
|
ListExperience[ListExperience["ClassicExperience"] = 2] = "ClassicExperience";
|
|
9
|
-
})(ListExperience
|
|
6
|
+
})(ListExperience || (ListExperience = {}));
|
|
10
7
|
//# sourceMappingURL=ListExperience.js.map
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListPrincipalType = void 0;
|
|
4
|
-
var ListPrincipalType;
|
|
1
|
+
export var ListPrincipalType;
|
|
5
2
|
(function (ListPrincipalType) {
|
|
6
3
|
ListPrincipalType[ListPrincipalType["None"] = 0] = "None";
|
|
7
4
|
ListPrincipalType[ListPrincipalType["User"] = 1] = "User";
|
|
@@ -9,5 +6,5 @@ var ListPrincipalType;
|
|
|
9
6
|
ListPrincipalType[ListPrincipalType["SecurityGroup"] = 4] = "SecurityGroup";
|
|
10
7
|
ListPrincipalType[ListPrincipalType["SharePointGroup"] = 8] = "SharePointGroup";
|
|
11
8
|
ListPrincipalType[ListPrincipalType["All"] = 15] = "All";
|
|
12
|
-
})(ListPrincipalType
|
|
9
|
+
})(ListPrincipalType || (ListPrincipalType = {}));
|
|
13
10
|
//# sourceMappingURL=ListPrincipalType.js.map
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListTemplateType = void 0;
|
|
4
|
-
var ListTemplateType;
|
|
1
|
+
export var ListTemplateType;
|
|
5
2
|
(function (ListTemplateType) {
|
|
6
3
|
ListTemplateType[ListTemplateType["GenericList"] = 100] = "GenericList";
|
|
7
4
|
ListTemplateType[ListTemplateType["DocumentLibrary"] = 101] = "DocumentLibrary";
|
|
@@ -22,5 +19,5 @@ var ListTemplateType;
|
|
|
22
19
|
ListTemplateType[ListTemplateType["WorkflowHistory"] = 140] = "WorkflowHistory";
|
|
23
20
|
ListTemplateType[ListTemplateType["GanttTasks"] = 150] = "GanttTasks";
|
|
24
21
|
ListTemplateType[ListTemplateType["IssuesTracking"] = 1100] = "IssuesTracking";
|
|
25
|
-
})(ListTemplateType
|
|
22
|
+
})(ListTemplateType || (ListTemplateType = {}));
|
|
26
23
|
//# sourceMappingURL=ListTemplateType.js.map
|
|
@@ -1,30 +1,19 @@
|
|
|
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
1
|
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
12
2
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
13
3
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
14
4
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
15
5
|
};
|
|
16
6
|
var _SpoListAddCommand_instances, _SpoListAddCommand_initTelemetry, _SpoListAddCommand_initOptions, _SpoListAddCommand_initValidators, _SpoListAddCommand_initTypes;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
class SpoListAddCommand extends SpoCommand_1.default {
|
|
7
|
+
import request from '../../../../request.js';
|
|
8
|
+
import { validation } from '../../../../utils/validation.js';
|
|
9
|
+
import SpoCommand from '../../../base/SpoCommand.js';
|
|
10
|
+
import commands from '../../commands.js';
|
|
11
|
+
import { DraftVisibilityType } from './DraftVisibilityType.js';
|
|
12
|
+
import { ListExperience } from './ListExperience.js';
|
|
13
|
+
import { ListTemplateType } from './ListTemplateType.js';
|
|
14
|
+
class SpoListAddCommand extends SpoCommand {
|
|
26
15
|
get name() {
|
|
27
|
-
return
|
|
16
|
+
return commands.LIST_ADD;
|
|
28
17
|
}
|
|
29
18
|
get description() {
|
|
30
19
|
return 'Creates list in the specified site';
|
|
@@ -35,8 +24,8 @@ class SpoListAddCommand extends SpoCommand_1.default {
|
|
|
35
24
|
*/
|
|
36
25
|
get listTemplateTypeMap() {
|
|
37
26
|
const result = [];
|
|
38
|
-
for (const template in
|
|
39
|
-
if (typeof
|
|
27
|
+
for (const template in ListTemplateType) {
|
|
28
|
+
if (typeof ListTemplateType[template] === 'number') {
|
|
40
29
|
result.push(template);
|
|
41
30
|
}
|
|
42
31
|
}
|
|
@@ -48,8 +37,8 @@ class SpoListAddCommand extends SpoCommand_1.default {
|
|
|
48
37
|
*/
|
|
49
38
|
get draftVisibilityTypeMap() {
|
|
50
39
|
const result = [];
|
|
51
|
-
for (const draftType in
|
|
52
|
-
if (typeof
|
|
40
|
+
for (const draftType in DraftVisibilityType) {
|
|
41
|
+
if (typeof DraftVisibilityType[draftType] === 'number') {
|
|
53
42
|
result.push(draftType);
|
|
54
43
|
}
|
|
55
44
|
}
|
|
@@ -61,8 +50,8 @@ class SpoListAddCommand extends SpoCommand_1.default {
|
|
|
61
50
|
*/
|
|
62
51
|
get listExperienceMap() {
|
|
63
52
|
const result = [];
|
|
64
|
-
for (const experience in
|
|
65
|
-
if (typeof
|
|
53
|
+
for (const experience in ListExperience) {
|
|
54
|
+
if (typeof ListExperience[experience] === 'number') {
|
|
66
55
|
result.push(experience);
|
|
67
56
|
}
|
|
68
57
|
}
|
|
@@ -76,37 +65,32 @@ class SpoListAddCommand extends SpoCommand_1.default {
|
|
|
76
65
|
__classPrivateFieldGet(this, _SpoListAddCommand_instances, "m", _SpoListAddCommand_initValidators).call(this);
|
|
77
66
|
__classPrivateFieldGet(this, _SpoListAddCommand_instances, "m", _SpoListAddCommand_initTypes).call(this);
|
|
78
67
|
}
|
|
79
|
-
commandAction(logger, args) {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
catch (err) {
|
|
102
|
-
this.handleRejectedODataJsonPromise(err);
|
|
103
|
-
}
|
|
104
|
-
});
|
|
68
|
+
async commandAction(logger, args) {
|
|
69
|
+
if (this.verbose) {
|
|
70
|
+
await logger.logToStderr(`Creating list in site at ${args.options.webUrl}...`);
|
|
71
|
+
}
|
|
72
|
+
const requestBody = this.mapRequestBody(args.options);
|
|
73
|
+
const requestOptions = {
|
|
74
|
+
url: `${args.options.webUrl}/_api/web/lists`,
|
|
75
|
+
method: 'POST',
|
|
76
|
+
headers: {
|
|
77
|
+
'accept': 'application/json;odata=nometadata'
|
|
78
|
+
},
|
|
79
|
+
data: requestBody,
|
|
80
|
+
responseType: 'json'
|
|
81
|
+
};
|
|
82
|
+
try {
|
|
83
|
+
const listInstance = await request.post(requestOptions);
|
|
84
|
+
await logger.log(listInstance);
|
|
85
|
+
}
|
|
86
|
+
catch (err) {
|
|
87
|
+
this.handleRejectedODataJsonPromise(err);
|
|
88
|
+
}
|
|
105
89
|
}
|
|
106
90
|
mapRequestBody(options) {
|
|
107
91
|
const requestBody = {
|
|
108
92
|
Title: options.title,
|
|
109
|
-
BaseTemplate: options.baseTemplate ?
|
|
93
|
+
BaseTemplate: options.baseTemplate ? ListTemplateType[options.baseTemplate.trim()].valueOf() : ListTemplateType.GenericList
|
|
110
94
|
};
|
|
111
95
|
if (options.description) {
|
|
112
96
|
requestBody.Description = options.description;
|
|
@@ -114,9 +98,6 @@ class SpoListAddCommand extends SpoCommand_1.default {
|
|
|
114
98
|
if (options.templateFeatureId) {
|
|
115
99
|
requestBody.TemplateFeatureId = options.templateFeatureId;
|
|
116
100
|
}
|
|
117
|
-
if (options.schemaXml) {
|
|
118
|
-
requestBody.SchemaXml = options.schemaXml.replace('\\', '\\\\').replace('"', '\\"');
|
|
119
|
-
}
|
|
120
101
|
if (options.allowDeletion !== undefined) {
|
|
121
102
|
requestBody.AllowDeletion = options.allowDeletion;
|
|
122
103
|
}
|
|
@@ -151,7 +132,7 @@ class SpoListAddCommand extends SpoCommand_1.default {
|
|
|
151
132
|
requestBody.DisableGridEditing = options.disableGridEditing;
|
|
152
133
|
}
|
|
153
134
|
if (options.draftVersionVisibility) {
|
|
154
|
-
requestBody.DraftVersionVisibility =
|
|
135
|
+
requestBody.DraftVersionVisibility = DraftVisibilityType[options.draftVersionVisibility.trim()];
|
|
155
136
|
}
|
|
156
137
|
if (options.emailAlias) {
|
|
157
138
|
requestBody.EmailAlias = options.emailAlias;
|
|
@@ -229,7 +210,7 @@ class SpoListAddCommand extends SpoCommand_1.default {
|
|
|
229
210
|
requestBody.IsApplicationList = options.isApplicationList;
|
|
230
211
|
}
|
|
231
212
|
if (options.listExperienceOptions) {
|
|
232
|
-
requestBody.ListExperienceOptions =
|
|
213
|
+
requestBody.ListExperienceOptions = ListExperience[options.listExperienceOptions.trim()];
|
|
233
214
|
}
|
|
234
215
|
if (options.majorVersionLimit) {
|
|
235
216
|
requestBody.MajorVersionLimit = options.majorVersionLimit;
|
|
@@ -302,7 +283,6 @@ _SpoListAddCommand_instances = new WeakSet(), _SpoListAddCommand_initTelemetry =
|
|
|
302
283
|
'baseTemplate',
|
|
303
284
|
'description',
|
|
304
285
|
'templateFeatureId',
|
|
305
|
-
'schemaXml',
|
|
306
286
|
'defaultContentApprovalWorkflowId',
|
|
307
287
|
'defaultDisplayFormUrl',
|
|
308
288
|
'defaultEditFormUrl',
|
|
@@ -354,8 +334,6 @@ _SpoListAddCommand_instances = new WeakSet(), _SpoListAddCommand_initTelemetry =
|
|
|
354
334
|
option: '--description [description]'
|
|
355
335
|
}, {
|
|
356
336
|
option: '--templateFeatureId [templateFeatureId]'
|
|
357
|
-
}, {
|
|
358
|
-
option: '--schemaXml [schemaXml]'
|
|
359
337
|
}, {
|
|
360
338
|
option: '--allowDeletion [allowDeletion]',
|
|
361
339
|
autocomplete: ['true', 'false']
|
|
@@ -522,23 +500,23 @@ _SpoListAddCommand_instances = new WeakSet(), _SpoListAddCommand_initTelemetry =
|
|
|
522
500
|
autocomplete: ['1', '2', '4']
|
|
523
501
|
});
|
|
524
502
|
}, _SpoListAddCommand_initValidators = function _SpoListAddCommand_initValidators() {
|
|
525
|
-
this.validators.push((args) =>
|
|
526
|
-
const isValidSharePointUrl =
|
|
503
|
+
this.validators.push(async (args) => {
|
|
504
|
+
const isValidSharePointUrl = validation.isValidSharePointUrl(args.options.webUrl);
|
|
527
505
|
if (isValidSharePointUrl !== true) {
|
|
528
506
|
return isValidSharePointUrl;
|
|
529
507
|
}
|
|
530
508
|
if (args.options.baseTemplate) {
|
|
531
|
-
const template =
|
|
509
|
+
const template = ListTemplateType[args.options.baseTemplate.trim()];
|
|
532
510
|
if (!template) {
|
|
533
511
|
return `${args.options.baseTemplate} is not a valid baseTemplate value`;
|
|
534
512
|
}
|
|
535
513
|
}
|
|
536
514
|
if (args.options.templateFeatureId &&
|
|
537
|
-
!
|
|
515
|
+
!validation.isValidGuid(args.options.templateFeatureId)) {
|
|
538
516
|
return `${args.options.templateFeatureId} in option templateFeatureId is not a valid GUID`;
|
|
539
517
|
}
|
|
540
518
|
if (args.options.defaultContentApprovalWorkflowId &&
|
|
541
|
-
!
|
|
519
|
+
!validation.isValidGuid(args.options.defaultContentApprovalWorkflowId)) {
|
|
542
520
|
return `${args.options.defaultContentApprovalWorkflowId} in option defaultContentApprovalWorkflowId is not a valid GUID`;
|
|
543
521
|
}
|
|
544
522
|
if (args.options.direction &&
|
|
@@ -546,7 +524,7 @@ _SpoListAddCommand_instances = new WeakSet(), _SpoListAddCommand_initTelemetry =
|
|
|
546
524
|
return `${args.options.direction} is not a valid direction value. Allowed values are NONE|LTR|RTL`;
|
|
547
525
|
}
|
|
548
526
|
if (args.options.draftVersionVisibility) {
|
|
549
|
-
const draftType =
|
|
527
|
+
const draftType = DraftVisibilityType[args.options.draftVersionVisibility.trim()];
|
|
550
528
|
if (draftType === undefined) {
|
|
551
529
|
return `${args.options.draftVersionVisibility} is not a valid draftVisibilityType value`;
|
|
552
530
|
}
|
|
@@ -555,7 +533,7 @@ _SpoListAddCommand_instances = new WeakSet(), _SpoListAddCommand_initTelemetry =
|
|
|
555
533
|
return `emailAlias could not be set if enableAssignToEmail is not set to true. Please set enableAssignToEmail.`;
|
|
556
534
|
}
|
|
557
535
|
if (args.options.listExperienceOptions) {
|
|
558
|
-
const experience =
|
|
536
|
+
const experience = ListExperience[args.options.listExperienceOptions.trim()];
|
|
559
537
|
if (!experience) {
|
|
560
538
|
return `${args.options.listExperienceOptions} is not a valid listExperienceOptions value`;
|
|
561
539
|
}
|
|
@@ -580,7 +558,7 @@ _SpoListAddCommand_instances = new WeakSet(), _SpoListAddCommand_initTelemetry =
|
|
|
580
558
|
return `${args.options.writeSecurity} is not a valid writeSecurity value. Allowed values are 1|2|4`;
|
|
581
559
|
}
|
|
582
560
|
return true;
|
|
583
|
-
})
|
|
561
|
+
});
|
|
584
562
|
}, _SpoListAddCommand_initTypes = function _SpoListAddCommand_initTypes() {
|
|
585
563
|
this.types.string.push('title', 'baseTemplate', 'webUrl', 'templateFeatureId', 'defaultContentApprovalWorkflowId', 'draftVersionVisibility', 'listExperienceOptions');
|
|
586
564
|
this.types.boolean.push(...SpoListAddCommand.booleanOptions);
|
|
@@ -630,5 +608,5 @@ SpoListAddCommand.booleanOptions = [
|
|
|
630
608
|
'showUser',
|
|
631
609
|
'useFormsForDisplay'
|
|
632
610
|
];
|
|
633
|
-
|
|
611
|
+
export default new SpoListAddCommand();
|
|
634
612
|
//# sourceMappingURL=list-add.js.map
|