@microsoft/teamsfx-core 1.16.2 → 1.16.3-alpha.39751981b.0
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/build/common/azure-hosting/azureHosting.d.ts.map +1 -1
- package/build/common/azure-hosting/azureHosting.js +3 -3
- package/build/common/azure-hosting/azureHosting.js.map +1 -1
- package/build/common/azure-hosting/azureOps.d.ts +3 -2
- package/build/common/azure-hosting/azureOps.d.ts.map +1 -1
- package/build/common/azure-hosting/azureOps.js +3 -7
- package/build/common/azure-hosting/azureOps.js.map +1 -1
- package/build/common/azure-hosting/hostingConstant.d.ts +1 -0
- package/build/common/azure-hosting/hostingConstant.d.ts.map +1 -1
- package/build/common/azure-hosting/hostingConstant.js +1 -0
- package/build/common/azure-hosting/hostingConstant.js.map +1 -1
- package/build/common/azure-hosting/hostingFactory.d.ts.map +1 -1
- package/build/common/azure-hosting/hostingFactory.js +0 -2
- package/build/common/azure-hosting/hostingFactory.js.map +1 -1
- package/build/common/azure-hosting/messages.d.ts +1 -0
- package/build/common/azure-hosting/messages.d.ts.map +1 -1
- package/build/common/azure-hosting/messages.js +1 -0
- package/build/common/azure-hosting/messages.js.map +1 -1
- package/build/common/azure-hosting/utils.d.ts.map +1 -1
- package/build/common/azure-hosting/utils.js +2 -3
- package/build/common/azure-hosting/utils.js.map +1 -1
- package/build/common/constants.d.ts +1 -2
- package/build/common/constants.d.ts.map +1 -1
- package/build/common/constants.js +1 -2
- package/build/common/constants.js.map +1 -1
- package/build/common/deps-checker/checkerFactory.js +2 -2
- package/build/common/deps-checker/checkerFactory.js.map +1 -1
- package/build/common/deps-checker/constant/message.d.ts +3 -1
- package/build/common/deps-checker/constant/message.d.ts.map +1 -1
- package/build/common/deps-checker/constant/message.js +3 -1
- package/build/common/deps-checker/constant/message.js.map +1 -1
- package/build/common/deps-checker/depsChecker.d.ts +1 -1
- package/build/common/deps-checker/depsChecker.d.ts.map +1 -1
- package/build/common/deps-checker/depsChecker.js +1 -1
- package/build/common/deps-checker/depsChecker.js.map +1 -1
- package/build/common/deps-checker/depsError.d.ts +7 -1
- package/build/common/deps-checker/depsError.d.ts.map +1 -1
- package/build/common/deps-checker/depsError.js +18 -4
- package/build/common/deps-checker/depsError.js.map +1 -1
- package/build/common/deps-checker/depsManager.js +1 -1
- package/build/common/deps-checker/depsManager.js.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.d.ts +11 -6
- package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.js +68 -24
- package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
- package/build/common/deps-checker/internal/nodeChecker.d.ts +14 -5
- package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/nodeChecker.js +32 -16
- package/build/common/deps-checker/internal/nodeChecker.js.map +1 -1
- package/build/common/featureFlags.d.ts +0 -1
- package/build/common/featureFlags.d.ts.map +1 -1
- package/build/common/featureFlags.js +2 -6
- package/build/common/featureFlags.js.map +1 -1
- package/build/common/local/localEnvManager.d.ts +5 -3
- package/build/common/local/localEnvManager.d.ts.map +1 -1
- package/build/common/local/localEnvManager.js +11 -30
- package/build/common/local/localEnvManager.js.map +1 -1
- package/build/common/local/projectSettingsHelper.d.ts.map +1 -1
- package/build/common/local/projectSettingsHelper.js +11 -51
- package/build/common/local/projectSettingsHelper.js.map +1 -1
- package/build/common/localStateProvider.d.ts.map +1 -1
- package/build/common/localStateProvider.js +1 -2
- package/build/common/localStateProvider.js.map +1 -1
- package/build/common/samples-config.json +12 -10
- package/build/common/templates-config.json +2 -2
- package/build/common/tools.d.ts +4 -0
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +34 -6
- package/build/common/tools.js.map +1 -1
- package/build/component/code/api/apiCode.d.ts +13 -0
- package/build/component/code/api/apiCode.d.ts.map +1 -0
- package/build/component/code/api/apiCode.js +153 -0
- package/build/component/code/api/apiCode.js.map +1 -0
- package/build/component/code/api/depsChecker/funcHelper.d.ts +11 -0
- package/build/component/code/api/depsChecker/funcHelper.d.ts.map +1 -0
- package/build/component/code/api/depsChecker/funcHelper.js +55 -0
- package/build/component/code/api/depsChecker/funcHelper.js.map +1 -0
- package/build/component/code/api/depsChecker/funcPluginLogger.d.ts +17 -0
- package/build/component/code/api/depsChecker/funcPluginLogger.d.ts.map +1 -0
- package/build/component/code/api/depsChecker/funcPluginLogger.js +52 -0
- package/build/component/code/api/depsChecker/funcPluginLogger.js.map +1 -0
- package/build/component/code/api/depsChecker/funcPluginTelemetry.d.ts +15 -0
- package/build/component/code/api/depsChecker/funcPluginTelemetry.d.ts.map +1 -0
- package/build/component/code/api/depsChecker/funcPluginTelemetry.js +53 -0
- package/build/component/code/api/depsChecker/funcPluginTelemetry.js.map +1 -0
- package/build/component/code/api/enums.d.ts +11 -0
- package/build/component/code/api/enums.d.ts.map +1 -0
- package/build/component/code/api/enums.js +18 -0
- package/build/component/code/api/enums.js.map +1 -0
- package/build/component/code/api/language-strategy.d.ts +15 -0
- package/build/component/code/api/language-strategy.d.ts.map +1 -0
- package/build/component/code/api/language-strategy.js +51 -0
- package/build/component/code/api/language-strategy.js.map +1 -0
- package/build/component/code/api/scaffold.d.ts +13 -0
- package/build/component/code/api/scaffold.d.ts.map +1 -0
- package/build/component/code/api/scaffold.js +83 -0
- package/build/component/code/api/scaffold.js.map +1 -0
- package/build/component/code/api/telemetry-helper.d.ts +20 -0
- package/build/component/code/api/telemetry-helper.d.ts.map +1 -0
- package/build/component/code/api/telemetry-helper.js +43 -0
- package/build/component/code/api/telemetry-helper.js.map +1 -0
- package/build/component/code/appSettingUtils.js +2 -2
- package/build/component/code/appSettingUtils.js.map +1 -1
- package/build/component/code/botCode.d.ts +0 -3
- package/build/component/code/botCode.d.ts.map +1 -1
- package/build/component/code/botCode.js +18 -28
- package/build/component/code/botCode.js.map +1 -1
- package/build/component/code/constants.d.ts +23 -0
- package/build/component/code/constants.d.ts.map +1 -0
- package/build/component/code/constants.js +29 -0
- package/build/component/code/constants.js.map +1 -0
- package/build/component/code/error.d.ts +11 -0
- package/build/component/code/error.d.ts.map +1 -0
- package/build/component/code/error.js +41 -0
- package/build/component/code/error.js.map +1 -0
- package/build/component/code/spfxTabCode.d.ts.map +1 -1
- package/build/component/code/spfxTabCode.js +18 -26
- package/build/component/code/spfxTabCode.js.map +1 -1
- package/build/component/code/tabCode.d.ts.map +1 -1
- package/build/component/code/tabCode.js +5 -6
- package/build/component/code/tabCode.js.map +1 -1
- package/build/component/constant/commonConstant.d.ts +6 -0
- package/build/component/constant/commonConstant.d.ts.map +1 -0
- package/build/component/constant/commonConstant.js +12 -0
- package/build/component/constant/commonConstant.js.map +1 -0
- package/build/component/constant/deployConstant.d.ts +16 -0
- package/build/component/constant/deployConstant.d.ts.map +1 -0
- package/build/component/constant/deployConstant.js +36 -0
- package/build/component/constant/deployConstant.js.map +1 -0
- package/build/component/constants.d.ts +10 -0
- package/build/component/constants.d.ts.map +1 -1
- package/build/component/constants.js +11 -1
- package/build/component/constants.js.map +1 -1
- package/build/component/coordinator/lifecycleStage.d.ts +2 -0
- package/build/component/coordinator/lifecycleStage.d.ts.map +1 -0
- package/build/component/coordinator/lifecycleStage.js +23 -0
- package/build/component/coordinator/lifecycleStage.js.map +1 -0
- package/build/component/core.d.ts +5 -5
- package/build/component/core.d.ts.map +1 -1
- package/build/component/core.js +14 -14
- package/build/component/core.js.map +1 -1
- package/build/component/debug.d.ts.map +1 -1
- package/build/component/debug.js +66 -52
- package/build/component/debug.js.map +1 -1
- package/build/component/debugHandler/appManifest.d.ts +1 -1
- package/build/component/debugHandler/appManifest.d.ts.map +1 -1
- package/build/component/debugHandler/appManifest.js +30 -28
- package/build/component/debugHandler/appManifest.js.map +1 -1
- package/build/component/debugHandler/bot.d.ts +0 -1
- package/build/component/debugHandler/bot.d.ts.map +1 -1
- package/build/component/debugHandler/bot.js +42 -37
- package/build/component/debugHandler/bot.js.map +1 -1
- package/build/component/debugHandler/error.d.ts +3 -3
- package/build/component/debugHandler/error.d.ts.map +1 -1
- package/build/component/debugHandler/error.js +14 -14
- package/build/component/debugHandler/error.js.map +1 -1
- package/build/component/debugHandler/index.d.ts +1 -0
- package/build/component/debugHandler/index.d.ts.map +1 -1
- package/build/component/debugHandler/index.js +1 -0
- package/build/component/debugHandler/index.js.map +1 -1
- package/build/component/debugHandler/localEnvProvider.js +1 -1
- package/build/component/debugHandler/localEnvProvider.js.map +1 -1
- package/build/component/debugHandler/sso.d.ts +0 -1
- package/build/component/debugHandler/sso.d.ts.map +1 -1
- package/build/component/debugHandler/sso.js +80 -69
- package/build/component/debugHandler/sso.js.map +1 -1
- package/build/component/debugHandler/tab.d.ts.map +1 -1
- package/build/component/debugHandler/tab.js +18 -15
- package/build/component/debugHandler/tab.js.map +1 -1
- package/build/component/deploy/azureAppServiceDeployDriver.d.ts +12 -0
- package/build/component/deploy/azureAppServiceDeployDriver.d.ts.map +1 -0
- package/build/component/deploy/azureAppServiceDeployDriver.js +29 -0
- package/build/component/deploy/azureAppServiceDeployDriver.js.map +1 -0
- package/build/component/deploy/azureDeployDriver.d.ts +69 -0
- package/build/component/deploy/azureDeployDriver.d.ts.map +1 -0
- package/build/component/deploy/azureDeployDriver.js +172 -0
- package/build/component/deploy/azureDeployDriver.js.map +1 -0
- package/build/component/deploy/azureFunctionDeployDriver.d.ts +16 -0
- package/build/component/deploy/azureFunctionDeployDriver.d.ts.map +1 -0
- package/build/component/deploy/azureFunctionDeployDriver.js +44 -0
- package/build/component/deploy/azureFunctionDeployDriver.js.map +1 -0
- package/build/component/deploy/azureStorageDeployDriver.d.ts +21 -0
- package/build/component/deploy/azureStorageDeployDriver.d.ts.map +1 -0
- package/build/component/deploy/azureStorageDeployDriver.js +128 -0
- package/build/component/deploy/azureStorageDeployDriver.js.map +1 -0
- package/build/component/deploy/baseBuildDriver.d.ts +8 -0
- package/build/component/deploy/baseBuildDriver.d.ts.map +1 -0
- package/build/component/deploy/baseBuildDriver.js +18 -0
- package/build/component/deploy/baseBuildDriver.js.map +1 -0
- package/build/component/deploy/baseDeployDriver.d.ts +24 -0
- package/build/component/deploy/baseDeployDriver.d.ts.map +1 -0
- package/build/component/deploy/baseDeployDriver.js +84 -0
- package/build/component/deploy/baseDeployDriver.js.map +1 -0
- package/build/component/deploy/baseStepDriver.d.ts +7 -0
- package/build/component/deploy/baseStepDriver.d.ts.map +1 -0
- package/build/component/deploy/baseStepDriver.js +13 -0
- package/build/component/deploy/baseStepDriver.js.map +1 -0
- package/build/component/deploy/dotnetBuildDriver.d.ts +12 -0
- package/build/component/deploy/dotnetBuildDriver.d.ts.map +1 -0
- package/build/component/deploy/dotnetBuildDriver.js +41 -0
- package/build/component/deploy/dotnetBuildDriver.js.map +1 -0
- package/build/component/deploy/npmBuildDriver.d.ts +12 -0
- package/build/component/deploy/npmBuildDriver.d.ts.map +1 -0
- package/build/component/deploy/npmBuildDriver.js +41 -0
- package/build/component/deploy/npmBuildDriver.js.map +1 -0
- package/build/component/deployUtils.js +3 -3
- package/build/component/deployUtils.js.map +1 -1
- package/build/component/envManager.js +1 -1
- package/build/component/envManager.js.map +1 -1
- package/build/component/error/componentError.d.ts +50 -0
- package/build/component/error/componentError.d.ts.map +1 -0
- package/build/component/error/componentError.js +115 -0
- package/build/component/error/componentError.js.map +1 -0
- package/build/component/error/deployError.d.ts +22 -0
- package/build/component/error/deployError.d.ts.map +1 -0
- package/build/component/error/deployError.js +61 -0
- package/build/component/error/deployError.js.map +1 -0
- package/build/component/error/errorConstant.d.ts +1 -0
- package/build/component/error/errorConstant.d.ts.map +1 -0
- package/build/component/error/errorConstant.js +2 -0
- package/build/component/error/errorConstant.js.map +1 -0
- package/build/component/error.d.ts +3 -0
- package/build/component/error.d.ts.map +1 -1
- package/build/component/error.js +18 -8
- package/build/component/error.js.map +1 -1
- package/build/component/feature/{api.d.ts → api/api.d.ts} +0 -0
- package/build/component/feature/api/api.d.ts.map +1 -0
- package/build/component/feature/api/api.js +188 -0
- package/build/component/feature/api/api.js.map +1 -0
- package/build/component/feature/api/constants.d.ts +4 -0
- package/build/component/feature/api/constants.d.ts.map +1 -0
- package/build/component/feature/api/constants.js +9 -0
- package/build/component/feature/api/constants.js.map +1 -0
- package/build/{plugins/resource/function → component/feature/api}/question.d.ts +0 -0
- package/build/component/feature/api/question.d.ts.map +1 -0
- package/build/component/feature/api/question.js +13 -0
- package/build/component/feature/api/question.js.map +1 -0
- package/build/component/feature/apiconnector/sampleHandler.d.ts.map +1 -1
- package/build/component/feature/apiconnector/sampleHandler.js +2 -2
- package/build/component/feature/apiconnector/sampleHandler.js.map +1 -1
- package/build/component/feature/apiconnector/telemetry.js +2 -2
- package/build/component/feature/apiconnector/telemetry.js.map +1 -1
- package/build/component/feature/apim.d.ts.map +1 -1
- package/build/component/feature/apim.js +3 -3
- package/build/component/feature/apim.js.map +1 -1
- package/build/component/feature/bot/bot.d.ts +12 -0
- package/build/component/feature/bot/bot.d.ts.map +1 -0
- package/build/component/feature/bot/bot.js +308 -0
- package/build/component/feature/bot/bot.js.map +1 -0
- package/build/component/feature/bot/constants.d.ts +35 -0
- package/build/component/feature/bot/constants.d.ts.map +1 -0
- package/build/component/feature/bot/constants.js +40 -0
- package/build/component/feature/bot/constants.js.map +1 -0
- package/build/component/feature/bot/question.d.ts +27 -0
- package/build/component/feature/bot/question.d.ts.map +1 -0
- package/build/component/feature/bot/question.js +121 -0
- package/build/component/feature/bot/question.js.map +1 -0
- package/build/component/feature/keyVault.js +2 -2
- package/build/component/feature/keyVault.js.map +1 -1
- package/build/component/feature/spfx.d.ts.map +1 -1
- package/build/component/feature/spfx.js +22 -25
- package/build/component/feature/spfx.js.map +1 -1
- package/build/component/feature/sql.d.ts.map +1 -1
- package/build/component/feature/sql.js +3 -3
- package/build/component/feature/sql.js.map +1 -1
- package/build/component/feature/sso.d.ts +1 -0
- package/build/component/feature/sso.d.ts.map +1 -1
- package/build/component/feature/sso.js +89 -74
- package/build/component/feature/sso.js.map +1 -1
- package/build/component/feature/tab.js +2 -2
- package/build/component/feature/tab.js.map +1 -1
- package/build/component/interface/buildAndDeployArgs.d.ts +58 -0
- package/build/component/interface/buildAndDeployArgs.d.ts.map +1 -0
- package/build/component/interface/buildAndDeployArgs.js +5 -0
- package/build/component/interface/buildAndDeployArgs.js.map +1 -0
- package/build/component/interface/stepDriver.d.ts +10 -0
- package/build/component/interface/stepDriver.d.ts.map +1 -0
- package/build/component/interface/stepDriver.js +5 -0
- package/build/component/interface/stepDriver.js.map +1 -0
- package/build/component/messages.d.ts +13 -5
- package/build/component/messages.d.ts.map +1 -1
- package/build/component/messages.js +34 -35
- package/build/component/messages.js.map +1 -1
- package/build/component/migrate.d.ts.map +1 -1
- package/build/component/migrate.js +41 -47
- package/build/component/migrate.js.map +1 -1
- package/build/component/provisionUtils.js +6 -6
- package/build/component/provisionUtils.js.map +1 -1
- package/build/component/questionV3.d.ts +6 -1
- package/build/component/questionV3.d.ts.map +1 -1
- package/build/component/questionV3.js +56 -22
- package/build/component/questionV3.js.map +1 -1
- package/build/component/resource/aadApp/aadApp.d.ts +5 -0
- package/build/component/resource/aadApp/aadApp.d.ts.map +1 -1
- package/build/component/resource/aadApp/aadApp.js +62 -13
- package/build/component/resource/aadApp/aadApp.js.map +1 -1
- package/build/{plugins/resource/aad → component/resource/aadApp}/aadAppClient.d.ts +0 -0
- package/build/component/resource/aadApp/aadAppClient.d.ts.map +1 -0
- package/build/component/resource/aadApp/aadAppClient.js +344 -0
- package/build/component/resource/aadApp/aadAppClient.js.map +1 -0
- package/build/component/resource/aadApp/aadAppForTeamsImpl.d.ts +25 -0
- package/build/component/resource/aadApp/aadAppForTeamsImpl.d.ts.map +1 -0
- package/build/component/resource/aadApp/aadAppForTeamsImpl.js +434 -0
- package/build/component/resource/aadApp/aadAppForTeamsImpl.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/aadAppManifestManager.d.ts +0 -0
- package/build/component/resource/aadApp/aadAppManifestManager.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/aadAppManifestManager.js +0 -0
- package/build/component/resource/aadApp/aadAppManifestManager.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/appStudio.d.ts +0 -0
- package/build/component/resource/aadApp/appStudio.d.ts.map +1 -0
- package/build/component/resource/aadApp/appStudio.js +83 -0
- package/build/component/resource/aadApp/appStudio.js.map +1 -0
- package/build/component/resource/aadApp/constants.d.ts +169 -0
- package/build/component/resource/aadApp/constants.d.ts.map +1 -0
- package/build/component/resource/aadApp/constants.js +278 -0
- package/build/component/resource/aadApp/constants.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/errorCodes.d.ts +0 -0
- package/build/component/resource/aadApp/errorCodes.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/errorCodes.js +0 -0
- package/build/component/resource/aadApp/errorCodes.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/errors.d.ts +0 -0
- package/build/component/resource/aadApp/errors.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/errors.js +0 -0
- package/build/component/resource/aadApp/errors.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/graph.d.ts +0 -0
- package/build/component/resource/aadApp/graph.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/graph.js +0 -0
- package/build/component/resource/aadApp/graph.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/AADApplication.d.ts +0 -0
- package/build/component/resource/aadApp/interfaces/AADApplication.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/AADApplication.js +0 -0
- package/build/component/resource/aadApp/interfaces/AADApplication.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/AADManifest.d.ts +0 -0
- package/build/component/resource/aadApp/interfaces/AADManifest.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/AADManifest.js +0 -0
- package/build/component/resource/aadApp/interfaces/AADManifest.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/IAADApplication.d.ts +0 -0
- package/build/component/resource/aadApp/interfaces/IAADApplication.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/IAADApplication.js +0 -0
- package/build/component/resource/aadApp/interfaces/IAADApplication.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/IAADDefinition.d.ts +0 -0
- package/build/component/resource/aadApp/interfaces/IAADDefinition.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/IAADDefinition.js +0 -0
- package/build/component/resource/aadApp/interfaces/IAADDefinition.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/IPermission.d.ts +0 -0
- package/build/component/resource/aadApp/interfaces/IPermission.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/IPermission.js +0 -0
- package/build/component/resource/aadApp/interfaces/IPermission.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/IPermissionList.d.ts +0 -0
- package/build/component/resource/aadApp/interfaces/IPermissionList.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/IPermissionList.js +0 -0
- package/build/component/resource/aadApp/interfaces/IPermissionList.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/models.d.ts +0 -0
- package/build/component/resource/aadApp/interfaces/models.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/models.js +0 -0
- package/build/component/resource/aadApp/interfaces/models.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/permissions/index.d.ts +0 -0
- package/build/component/resource/aadApp/permissions/index.d.ts.map +1 -0
- package/build/component/resource/aadApp/permissions/index.js +64 -0
- package/build/component/resource/aadApp/permissions/index.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/permissions/permissions.json +0 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/results.d.ts +0 -0
- package/build/component/resource/aadApp/results.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/results.js +0 -0
- package/build/component/resource/aadApp/results.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/aadManifestHelper.d.ts +0 -0
- package/build/component/resource/aadApp/utils/aadManifestHelper.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/aadManifestHelper.js +0 -0
- package/build/component/resource/aadApp/utils/aadManifestHelper.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/configs.d.ts +0 -0
- package/build/component/resource/aadApp/utils/configs.d.ts.map +1 -0
- package/build/component/resource/aadApp/utils/configs.js +566 -0
- package/build/component/resource/aadApp/utils/configs.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/dialog.d.ts +0 -0
- package/build/component/resource/aadApp/utils/dialog.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/dialog.js +0 -0
- package/build/component/resource/aadApp/utils/dialog.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/format.d.ts +0 -0
- package/build/component/resource/aadApp/utils/format.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/format.js +0 -0
- package/build/component/resource/aadApp/utils/format.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/telemetry.d.ts +0 -0
- package/build/component/resource/aadApp/utils/telemetry.d.ts.map +1 -0
- package/build/component/resource/aadApp/utils/telemetry.js +52 -0
- package/build/component/resource/aadApp/utils/telemetry.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/tokenProvider.d.ts +0 -0
- package/build/component/resource/aadApp/utils/tokenProvider.d.ts.map +1 -0
- package/build/component/resource/aadApp/utils/tokenProvider.js +77 -0
- package/build/component/resource/aadApp/utils/tokenProvider.js.map +1 -0
- package/build/component/resource/aadApp/utils.d.ts +3 -1
- package/build/component/resource/aadApp/utils.d.ts.map +1 -1
- package/build/component/resource/aadApp/utils.js +163 -1
- package/build/component/resource/aadApp/utils.js.map +1 -1
- package/build/component/resource/apim/apim.d.ts +37 -0
- package/build/component/resource/apim/apim.d.ts.map +1 -0
- package/build/component/resource/apim/apim.js +168 -0
- package/build/component/resource/apim/apim.js.map +1 -0
- package/build/component/resource/apim/config.d.ts.map +1 -1
- package/build/component/resource/apim/config.js +5 -6
- package/build/component/resource/apim/config.js.map +1 -1
- package/build/component/resource/apim/factory.d.ts.map +1 -1
- package/build/component/resource/apim/factory.js +6 -5
- package/build/component/resource/apim/factory.js.map +1 -1
- package/build/component/resource/apim/managers/apimManager.d.ts +1 -4
- package/build/component/resource/apim/managers/apimManager.d.ts.map +1 -1
- package/build/component/resource/apim/managers/apimManager.js +0 -47
- package/build/component/resource/apim/managers/apimManager.js.map +1 -1
- package/build/component/resource/apim/questions/question.d.ts.map +1 -1
- package/build/component/resource/apim/questions/question.js.map +1 -1
- package/build/component/resource/apim/services/apimService.d.ts +2 -2
- package/build/component/resource/apim/services/apimService.d.ts.map +1 -1
- package/build/component/resource/apim/services/apimService.js +66 -20
- package/build/component/resource/apim/services/apimService.js.map +1 -1
- package/build/component/resource/appManifest/appManifest.d.ts +1 -1
- package/build/component/resource/appManifest/appManifest.d.ts.map +1 -1
- package/build/component/resource/appManifest/appManifest.js +25 -25
- package/build/component/resource/appManifest/appManifest.js.map +1 -1
- package/build/component/resource/appManifest/appStudio.js +30 -30
- package/build/component/resource/appManifest/appStudio.js.map +1 -1
- package/build/component/resource/appManifest/appStudioClient.d.ts +46 -0
- package/build/component/resource/appManifest/appStudioClient.d.ts.map +1 -0
- package/build/component/resource/appManifest/appStudioClient.js +339 -0
- package/build/component/resource/appManifest/appStudioClient.js.map +1 -0
- package/build/component/resource/appManifest/constants.d.ts +70 -0
- package/build/component/resource/appManifest/constants.d.ts.map +1 -1
- package/build/component/resource/appManifest/constants.js +121 -8
- package/build/component/resource/appManifest/constants.js.map +1 -1
- package/build/component/resource/appManifest/errors.d.ts +119 -0
- package/build/component/resource/appManifest/errors.d.ts.map +1 -0
- package/build/component/resource/appManifest/errors.js +228 -0
- package/build/component/resource/appManifest/errors.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/IPublishingAppDefinition.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/IPublishingAppDefinition.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/IPublishingAppDefinition.js +0 -0
- package/build/component/resource/appManifest/interfaces/IPublishingAppDefinition.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/activitiesDefinitionItem.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/activitiesDefinitionItem.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/activitiesDefinitionItem.js +0 -0
- package/build/component/resource/appManifest/interfaces/activitiesDefinitionItem.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/activityDefinitionItem.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/activityDefinitionItem.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/activityDefinitionItem.js +0 -0
- package/build/component/resource/appManifest/interfaces/activityDefinitionItem.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appAuthorizationItem.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/appAuthorizationItem.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appAuthorizationItem.js +0 -0
- package/build/component/resource/appManifest/interfaces/appAuthorizationItem.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appCategory.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/appCategory.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appCategory.js +0 -0
- package/build/component/resource/appManifest/interfaces/appCategory.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appDefinition.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/appDefinition.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appDefinition.js +0 -0
- package/build/component/resource/appManifest/interfaces/appDefinition.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appEnvironment.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/appEnvironment.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appEnvironment.js +0 -0
- package/build/component/resource/appManifest/interfaces/appEnvironment.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appEnvironmentProperty.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/appEnvironmentProperty.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appEnvironmentProperty.js +0 -0
- package/build/component/resource/appManifest/interfaces/appEnvironmentProperty.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appItemHostedCapability.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/appItemHostedCapability.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appItemHostedCapability.js +0 -0
- package/build/component/resource/appManifest/interfaces/appItemHostedCapability.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appItemIndustry.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/appItemIndustry.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appItemIndustry.js +0 -0
- package/build/component/resource/appManifest/interfaces/appItemIndustry.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appPermissionNodeItem.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/appPermissionNodeItem.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appPermissionNodeItem.js +0 -0
- package/build/component/resource/appManifest/interfaces/appPermissionNodeItem.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appPermissionNodeItemType.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/appPermissionNodeItemType.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appPermissionNodeItemType.js +0 -0
- package/build/component/resource/appManifest/interfaces/appPermissionNodeItemType.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appPermissionsItem.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/appPermissionsItem.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appPermissionsItem.js +0 -0
- package/build/component/resource/appManifest/interfaces/appPermissionsItem.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appUser.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/appUser.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appUser.js +0 -0
- package/build/component/resource/appManifest/interfaces/appUser.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appUserSetting.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/appUserSetting.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/appUserSetting.js +0 -0
- package/build/component/resource/appManifest/interfaces/appUserSetting.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/bot.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/bot.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/bot.js +0 -0
- package/build/component/resource/appManifest/interfaces/bot.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/botCommand.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/botCommand.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/botCommand.js +0 -0
- package/build/component/resource/appManifest/interfaces/botCommand.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/configurableTab.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/configurableTab.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/configurableTab.js +0 -0
- package/build/component/resource/appManifest/interfaces/configurableTab.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/connector.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/connector.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/connector.js +0 -0
- package/build/component/resource/appManifest/interfaces/connector.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/defaultGroupCapability.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/defaultGroupCapability.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/defaultGroupCapability.js +0 -0
- package/build/component/resource/appManifest/interfaces/defaultGroupCapability.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/disabledScopeItemType.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/disabledScopeItemType.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/disabledScopeItemType.js +0 -0
- package/build/component/resource/appManifest/interfaces/disabledScopeItemType.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/graphConnector.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/graphConnector.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/graphConnector.js +0 -0
- package/build/component/resource/appManifest/interfaces/graphConnector.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/language.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/language.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/language.js +0 -0
- package/build/component/resource/appManifest/interfaces/language.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/localizationInfo.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/localizationInfo.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/localizationInfo.js +0 -0
- package/build/component/resource/appManifest/interfaces/localizationInfo.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/meetingExtensionDefinitionItem.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/meetingExtensionDefinitionItem.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/meetingExtensionDefinitionItem.js +0 -0
- package/build/component/resource/appManifest/interfaces/meetingExtensionDefinitionItem.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/messagingExtension.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/messagingExtension.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/messagingExtension.js +0 -0
- package/build/component/resource/appManifest/interfaces/messagingExtension.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/messagingExtensionCommand.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/messagingExtensionCommand.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/messagingExtensionCommand.js +0 -0
- package/build/component/resource/appManifest/interfaces/messagingExtensionCommand.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/messagingExtensionCommandParameter.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/messagingExtensionCommandParameter.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/messagingExtensionCommandParameter.js +0 -0
- package/build/component/resource/appManifest/interfaces/messagingExtensionCommandParameter.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/messagingExtensionCommandTaskInfo.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/messagingExtensionCommandTaskInfo.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/messagingExtensionCommandTaskInfo.js +0 -0
- package/build/component/resource/appManifest/interfaces/messagingExtensionCommandTaskInfo.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/messagingExtensionMessageHandler.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/messagingExtensionMessageHandler.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/messagingExtensionMessageHandler.js +0 -0
- package/build/component/resource/appManifest/interfaces/messagingExtensionMessageHandler.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/messagingExtensionMessageHandlerLink.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/messagingExtensionMessageHandlerLink.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/messagingExtensionMessageHandlerLink.js +0 -0
- package/build/component/resource/appManifest/interfaces/messagingExtensionMessageHandlerLink.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/messagingExtensionParameterChoice.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/messagingExtensionParameterChoice.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/messagingExtensionParameterChoice.js +0 -0
- package/build/component/resource/appManifest/interfaces/messagingExtensionParameterChoice.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/staticTab.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/staticTab.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/staticTab.js +0 -0
- package/build/component/resource/appManifest/interfaces/staticTab.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/subscriptionOffer.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/subscriptionOffer.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/subscriptionOffer.js +0 -0
- package/build/component/resource/appManifest/interfaces/subscriptionOffer.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/togetherModeSceneItem.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/togetherModeSceneItem.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/togetherModeSceneItem.js +0 -0
- package/build/component/resource/appManifest/interfaces/togetherModeSceneItem.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/webApplicationInfoItem.d.ts +0 -0
- package/build/component/resource/appManifest/interfaces/webApplicationInfoItem.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/interfaces/webApplicationInfoItem.js +0 -0
- package/build/component/resource/appManifest/interfaces/webApplicationInfoItem.js.map +1 -0
- package/build/component/resource/appManifest/manifestProvider.js +5 -5
- package/build/component/resource/appManifest/manifestProvider.js.map +1 -1
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/questions.d.ts +0 -0
- package/build/component/resource/appManifest/questions.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/questions.js +0 -0
- package/build/component/resource/appManifest/questions.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/results.d.ts +0 -0
- package/build/component/resource/appManifest/results.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/results.js +0 -0
- package/build/component/resource/appManifest/results.js.map +1 -0
- package/build/component/resource/appManifest/utils/ManifestUtils.d.ts +25 -0
- package/build/component/resource/appManifest/utils/ManifestUtils.d.ts.map +1 -0
- package/build/component/resource/appManifest/utils/ManifestUtils.js +452 -0
- package/build/component/resource/appManifest/utils/ManifestUtils.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/utils/telemetry.d.ts +0 -0
- package/build/component/resource/appManifest/utils/telemetry.d.ts.map +1 -0
- package/build/component/resource/appManifest/utils/telemetry.js +110 -0
- package/build/component/resource/appManifest/utils/telemetry.js.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/utils/utils.d.ts +0 -0
- package/build/component/resource/appManifest/utils/utils.d.ts.map +1 -0
- package/build/{plugins/resource/appstudio → component/resource/appManifest}/utils/utils.js +0 -0
- package/build/component/resource/appManifest/utils/utils.js.map +1 -0
- package/build/component/resource/azureAppService/azureAppService.js +1 -1
- package/build/component/resource/azureAppService/azureAppService.js.map +1 -1
- package/build/component/resource/azureAppService/azureFunction.d.ts +1 -1
- package/build/component/resource/azureAppService/azureFunction.d.ts.map +1 -1
- package/build/component/resource/azureAppService/azureFunction.js +24 -5
- package/build/component/resource/azureAppService/azureFunction.js.map +1 -1
- package/build/component/resource/azureAppService/azureLibs.d.ts +2 -2
- package/build/component/resource/azureAppService/azureLibs.d.ts.map +1 -1
- package/build/component/resource/azureAppService/azureLibs.js.map +1 -1
- package/build/component/resource/azureAppService/common.d.ts +10 -0
- package/build/component/resource/azureAppService/common.d.ts.map +1 -0
- package/build/component/resource/azureAppService/common.js +80 -0
- package/build/component/resource/azureAppService/common.js.map +1 -0
- package/build/{plugins/resource/bot/utils → component/resource/azureAppService}/dir-walk.d.ts +0 -0
- package/build/component/resource/azureAppService/dir-walk.d.ts.map +1 -0
- package/build/{plugins/resource/bot/utils → component/resource/azureAppService}/dir-walk.js +0 -0
- package/build/component/resource/azureAppService/dir-walk.js.map +1 -0
- package/build/component/resource/azureSql/actions/utils.d.ts.map +1 -1
- package/build/component/resource/azureSql/actions/utils.js +4 -3
- package/build/component/resource/azureSql/actions/utils.js.map +1 -1
- package/build/component/resource/azureSql/clients/management.d.ts.map +1 -1
- package/build/component/resource/azureSql/clients/management.js +25 -12
- package/build/component/resource/azureSql/clients/management.js.map +1 -1
- package/build/component/resource/azureSql/config.js +3 -3
- package/build/component/resource/azureSql/config.js.map +1 -1
- package/build/component/resource/azureStorage.js +1 -1
- package/build/component/resource/azureStorage.js.map +1 -1
- package/build/{plugins/resource/bot → component/resource/botService}/aadRegistration.d.ts +0 -0
- package/build/component/resource/botService/aadRegistration.d.ts.map +1 -0
- package/build/component/resource/botService/aadRegistration.js +88 -0
- package/build/component/resource/botService/aadRegistration.js.map +1 -0
- package/build/component/resource/botService/appStudio/appStudio.d.ts +16 -0
- package/build/component/resource/botService/appStudio/appStudio.d.ts.map +1 -0
- package/build/component/resource/botService/appStudio/appStudio.js +174 -0
- package/build/component/resource/botService/appStudio/appStudio.js.map +1 -0
- package/build/{plugins/resource/bot → component/resource/botService}/appStudio/interfaces/IAADApplication.d.ts +0 -0
- package/build/component/resource/botService/appStudio/interfaces/IAADApplication.d.ts.map +1 -0
- package/build/component/resource/botService/appStudio/interfaces/IAADApplication.js +5 -0
- package/build/component/resource/botService/appStudio/interfaces/IAADApplication.js.map +1 -0
- package/build/{plugins/resource/bot → component/resource/botService}/appStudio/interfaces/IAADDefinition.d.ts +0 -0
- package/build/component/resource/botService/appStudio/interfaces/IAADDefinition.d.ts.map +1 -0
- package/build/{plugins/resource/bot → component/resource/botService}/appStudio/interfaces/IAADDefinition.js +0 -0
- package/build/component/resource/botService/appStudio/interfaces/IAADDefinition.js.map +1 -0
- package/build/{plugins/resource/bot → component/resource/botService}/appStudio/interfaces/IBotRegistration.d.ts +0 -0
- package/build/component/resource/botService/appStudio/interfaces/IBotRegistration.d.ts.map +1 -0
- package/build/component/resource/botService/appStudio/interfaces/IBotRegistration.js +5 -0
- package/build/component/resource/botService/appStudio/interfaces/IBotRegistration.js.map +1 -0
- package/build/{plugins/resource/bot → component/resource/botService}/botAuthCredential.d.ts +0 -0
- package/build/component/resource/botService/botAuthCredential.d.ts.map +1 -0
- package/build/component/resource/botService/botAuthCredential.js +9 -0
- package/build/component/resource/botService/botAuthCredential.js.map +1 -0
- package/build/component/resource/botService/botService.d.ts +23 -0
- package/build/component/resource/botService/botService.d.ts.map +1 -0
- package/build/component/resource/botService/botService.js +179 -0
- package/build/component/resource/botService/botService.js.map +1 -0
- package/build/component/resource/botService/common.d.ts +3 -0
- package/build/component/resource/botService/common.d.ts.map +1 -0
- package/build/component/resource/botService/common.js +15 -0
- package/build/component/resource/botService/common.js.map +1 -0
- package/build/component/resource/botService/constants.d.ts +47 -0
- package/build/component/resource/botService/constants.d.ts.map +1 -0
- package/build/component/resource/botService/constants.js +62 -0
- package/build/component/resource/botService/constants.js.map +1 -0
- package/build/component/resource/botService/errors.d.ts +63 -0
- package/build/component/resource/botService/errors.d.ts.map +1 -0
- package/build/component/resource/botService/errors.js +163 -0
- package/build/component/resource/botService/errors.js.map +1 -0
- package/build/component/resource/botService/messages.d.ts +15 -0
- package/build/component/resource/botService/messages.d.ts.map +1 -0
- package/build/component/resource/botService/messages.js +41 -0
- package/build/component/resource/botService/messages.js.map +1 -0
- package/build/{plugins/resource/bot/utils → component/resource/botService}/resourceNameFactory.d.ts +0 -0
- package/build/component/resource/botService/resourceNameFactory.d.ts.map +1 -0
- package/build/component/resource/botService/resourceNameFactory.js +25 -0
- package/build/component/resource/botService/resourceNameFactory.js.map +1 -0
- package/build/component/resource/botService/result.d.ts +10 -0
- package/build/component/resource/botService/result.d.ts.map +1 -0
- package/build/component/resource/botService/result.js +34 -0
- package/build/component/resource/botService/result.js.map +1 -0
- package/build/{plugins/resource/bot/utils → component/resource/botService}/retryHandler.d.ts +0 -0
- package/build/component/resource/botService/retryHandler.d.ts.map +1 -0
- package/build/component/resource/botService/retryHandler.js +29 -0
- package/build/component/resource/botService/retryHandler.js.map +1 -0
- package/build/component/resource/botService/strings.d.ts +49 -0
- package/build/component/resource/botService/strings.d.ts.map +1 -0
- package/build/component/resource/botService/strings.js +61 -0
- package/build/component/resource/botService/strings.js.map +1 -0
- package/build/component/resource/botService/telemetryHelper.d.ts +6 -0
- package/build/component/resource/botService/telemetryHelper.d.ts.map +1 -0
- package/build/component/resource/botService/telemetryHelper.js +26 -0
- package/build/component/resource/botService/telemetryHelper.js.map +1 -0
- package/build/component/resource/identity.d.ts +2 -0
- package/build/component/resource/identity.d.ts.map +1 -1
- package/build/component/resource/identity.js +18 -0
- package/build/component/resource/identity.js.map +1 -1
- package/build/component/resource/keyVault.d.ts +2 -0
- package/build/component/resource/keyVault.d.ts.map +1 -1
- package/build/component/resource/keyVault.js +18 -0
- package/build/component/resource/keyVault.js.map +1 -1
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/constants.d.ts +0 -0
- package/build/component/resource/simpleAuth/constants.d.ts.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/constants.js +0 -0
- package/build/component/resource/simpleAuth/constants.js.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/errors.d.ts +0 -0
- package/build/component/resource/simpleAuth/errors.d.ts.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/errors.js +0 -0
- package/build/component/resource/simpleAuth/errors.js.map +1 -0
- package/build/component/resource/simpleAuth/index.d.ts +12 -0
- package/build/component/resource/simpleAuth/index.d.ts.map +1 -0
- package/build/component/resource/simpleAuth/index.js +115 -0
- package/build/component/resource/simpleAuth/index.js.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/result.d.ts +0 -0
- package/build/component/resource/simpleAuth/result.d.ts.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/result.js +0 -0
- package/build/component/resource/simpleAuth/result.js.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/utils/common.d.ts +0 -0
- package/build/component/resource/simpleAuth/utils/common.d.ts.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/utils/common.js +0 -0
- package/build/component/resource/simpleAuth/utils/common.js.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/utils/dialog.d.ts +0 -0
- package/build/component/resource/simpleAuth/utils/dialog.d.ts.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/utils/dialog.js +0 -0
- package/build/component/resource/simpleAuth/utils/dialog.js.map +1 -0
- package/build/{plugins/resource/keyvault → component/resource/simpleAuth}/utils/telemetry.d.ts +0 -0
- package/build/component/resource/simpleAuth/utils/telemetry.d.ts.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/utils/telemetry.js +0 -0
- package/build/component/resource/simpleAuth/utils/telemetry.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/depsChecker/dependencyChecker.d.ts +0 -0
- package/build/component/resource/spfx/depsChecker/dependencyChecker.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/depsChecker/dependencyChecker.js +0 -0
- package/build/component/resource/spfx/depsChecker/dependencyChecker.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/depsChecker/generatorChecker.d.ts +0 -0
- package/build/component/resource/spfx/depsChecker/generatorChecker.d.ts.map +1 -0
- package/build/component/resource/spfx/depsChecker/generatorChecker.js +132 -0
- package/build/component/resource/spfx/depsChecker/generatorChecker.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/depsChecker/yoChecker.d.ts +0 -0
- package/build/component/resource/spfx/depsChecker/yoChecker.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/depsChecker/yoChecker.js +0 -0
- package/build/component/resource/spfx/depsChecker/yoChecker.js.map +1 -0
- package/build/component/resource/spfx/error.d.ts +19 -0
- package/build/component/resource/spfx/error.d.ts.map +1 -0
- package/build/component/resource/spfx/error.js +118 -0
- package/build/component/resource/spfx/error.js.map +1 -0
- package/build/component/resource/spfx/index.d.ts.map +1 -1
- package/build/component/resource/spfx/index.js +9 -9
- package/build/component/resource/spfx/index.js.map +1 -1
- package/build/{plugins → component}/resource/spfx/spoClient.d.ts +0 -0
- package/build/component/resource/spfx/spoClient.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/spoClient.js +0 -0
- package/build/component/resource/spfx/spoClient.js.map +1 -0
- package/build/component/resource/spfx/utils/constants.d.ts +88 -0
- package/build/component/resource/spfx/utils/constants.d.ts.map +1 -0
- package/build/component/resource/spfx/utils/constants.js +105 -0
- package/build/component/resource/spfx/utils/constants.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/progress-helper.d.ts +0 -0
- package/build/component/resource/spfx/utils/progress-helper.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/progress-helper.js +0 -0
- package/build/component/resource/spfx/utils/progress-helper.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/questions.d.ts +0 -0
- package/build/component/resource/spfx/utils/questions.d.ts.map +1 -0
- package/build/component/resource/spfx/utils/questions.js +92 -0
- package/build/component/resource/spfx/utils/questions.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/telemetry-helper.d.ts +0 -0
- package/build/component/resource/spfx/utils/telemetry-helper.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/telemetry-helper.js +0 -0
- package/build/component/resource/spfx/utils/telemetry-helper.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/telemetryEvents.d.ts +0 -0
- package/build/component/resource/spfx/utils/telemetryEvents.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/telemetryEvents.js +0 -0
- package/build/component/resource/spfx/utils/telemetryEvents.js.map +1 -0
- package/build/component/resource/spfx/utils/utils.d.ts +16 -0
- package/build/component/resource/spfx/utils/utils.d.ts.map +1 -0
- package/build/component/resource/spfx/utils/utils.js +131 -0
- package/build/component/resource/spfx/utils/utils.js.map +1 -0
- package/build/component/telemetry.js +3 -3
- package/build/component/telemetry.js.map +1 -1
- package/build/component/utils/common.d.ts +15 -0
- package/build/component/utils/common.d.ts.map +1 -0
- package/build/component/utils/common.js +56 -0
- package/build/component/utils/common.js.map +1 -0
- package/build/component/utils/fileOperation.d.ts +12 -0
- package/build/component/utils/fileOperation.d.ts.map +1 -0
- package/build/component/utils/fileOperation.js +97 -0
- package/build/component/utils/fileOperation.js.map +1 -0
- package/build/core/FxCore.d.ts +10 -44
- package/build/core/FxCore.d.ts.map +1 -1
- package/build/core/FxCore.js +58 -697
- package/build/core/FxCore.js.map +1 -1
- package/build/core/collaborator.d.ts +6 -1
- package/build/core/collaborator.d.ts.map +1 -1
- package/build/core/collaborator.js +75 -23
- package/build/core/collaborator.js.map +1 -1
- package/build/core/environment.d.ts.map +1 -1
- package/build/core/environment.js +3 -8
- package/build/core/environment.js.map +1 -1
- package/build/core/error.d.ts +0 -1
- package/build/core/error.d.ts.map +1 -1
- package/build/core/error.js +1 -5
- package/build/core/error.js.map +1 -1
- package/build/core/generateAadManifestTemplate.d.ts +1 -1
- package/build/core/generateAadManifestTemplate.d.ts.map +1 -1
- package/build/core/generateAadManifestTemplate.js +11 -14
- package/build/core/generateAadManifestTemplate.js.map +1 -1
- package/build/core/globalVars.d.ts +0 -1
- package/build/core/globalVars.d.ts.map +1 -1
- package/build/core/globalVars.js +1 -5
- package/build/core/globalVars.js.map +1 -1
- package/build/core/index.d.ts +0 -5
- package/build/core/index.d.ts.map +1 -1
- package/build/core/index.js +0 -7
- package/build/core/index.js.map +1 -1
- package/build/core/middleware/MigrationUtils.d.ts +1 -1
- package/build/core/middleware/MigrationUtils.d.ts.map +1 -1
- package/build/core/middleware/MigrationUtils.js +2 -2
- package/build/core/middleware/MigrationUtils.js.map +1 -1
- package/build/core/middleware/consolidateLocalRemote.js +5 -5
- package/build/core/middleware/consolidateLocalRemote.js.map +1 -1
- package/build/core/middleware/envInfoLoader.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoader.js +1 -4
- package/build/core/middleware/envInfoLoader.js.map +1 -1
- package/build/core/middleware/envInfoLoaderV3.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoaderV3.js +1 -4
- package/build/core/middleware/envInfoLoaderV3.js.map +1 -1
- package/build/core/middleware/projectMigrator.d.ts +11 -1
- package/build/core/middleware/projectMigrator.d.ts.map +1 -1
- package/build/core/middleware/projectMigrator.js +229 -79
- package/build/core/middleware/projectMigrator.js.map +1 -1
- package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsLoader.js +1 -10
- package/build/core/middleware/projectSettingsLoader.js.map +1 -1
- package/build/core/middleware/projectSettingsWriter.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsWriter.js +1 -3
- package/build/core/middleware/projectSettingsWriter.js.map +1 -1
- package/build/core/middleware/questionModel.d.ts +1 -10
- package/build/core/middleware/questionModel.d.ts.map +1 -1
- package/build/core/middleware/questionModel.js +26 -225
- package/build/core/middleware/questionModel.js.map +1 -1
- package/build/core/question.d.ts +1 -1
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +3 -7
- package/build/core/question.js.map +1 -1
- package/build/index.d.ts +3 -8
- package/build/index.d.ts.map +1 -1
- package/build/index.js +5 -8
- package/build/index.js.map +1 -1
- package/build/plugins/resource/frontend/clients.d.ts +2 -2
- package/build/plugins/resource/frontend/clients.d.ts.map +1 -1
- package/build/plugins/resource/frontend/clients.js +24 -8
- package/build/plugins/resource/frontend/clients.js.map +1 -1
- package/build/plugins/resource/frontend/configs.d.ts +3 -3
- package/build/plugins/resource/frontend/configs.d.ts.map +1 -1
- package/build/plugins/resource/frontend/configs.js +1 -1
- package/build/plugins/resource/frontend/configs.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/ops/deploy.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/ops/deploy.js +3 -3
- package/build/plugins/resource/frontend/dotnet/ops/deploy.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts +1 -2
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/plugin.js +1 -1
- package/build/plugins/resource/frontend/dotnet/plugin.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/utils/azure-client.d.ts +2 -2
- package/build/plugins/resource/frontend/dotnet/utils/azure-client.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/utils/azure-client.js +2 -0
- package/build/plugins/resource/frontend/dotnet/utils/azure-client.js.map +1 -1
- package/build/plugins/resource/frontend/plugin.js +1 -1
- package/build/plugins/resource/frontend/plugin.js.map +1 -1
- package/build/plugins/resource/index.d.ts +0 -11
- package/build/plugins/resource/index.d.ts.map +1 -1
- package/build/plugins/resource/index.js +0 -11
- package/build/plugins/resource/index.js.map +1 -1
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.d.ts +0 -22
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.js +0 -22
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.js.map +1 -1
- package/build/plugins/solution/fx-solution/arm.d.ts +1 -2
- package/build/plugins/solution/fx-solution/arm.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/arm.js +91 -37
- package/build/plugins/solution/fx-solution/arm.js.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.js +52 -18
- package/build/plugins/solution/fx-solution/commonQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts +3 -0
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.js +36 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/launchTransparency.d.ts +7 -0
- package/build/plugins/solution/fx-solution/debug/util/launchTransparency.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/launchTransparency.js +52 -0
- package/build/plugins/solution/fx-solution/debug/util/launchTransparency.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/ngrok.d.ts +4 -0
- package/build/plugins/solution/fx-solution/debug/util/ngrok.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/ngrok.js +23 -5
- package/build/plugins/solution/fx-solution/debug/util/ngrok.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/settings.js +2 -2
- package/build/plugins/solution/fx-solution/debug/util/settings.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasksTransparency.d.ts +8 -0
- package/build/plugins/solution/fx-solution/debug/util/tasksTransparency.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/tasksTransparency.js +675 -0
- package/build/plugins/solution/fx-solution/debug/util/tasksTransparency.js.map +1 -0
- package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.js +43 -7
- package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.js.map +1 -1
- package/build/plugins/solution/fx-solution/utils/backupFiles.js +2 -2
- package/build/plugins/solution/fx-solution/utils/backupFiles.js.map +1 -1
- package/build/plugins/solution/fx-solution/utils/util.d.ts +2 -2
- package/build/plugins/solution/fx-solution/utils/util.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/utils/util.js +5 -7
- package/build/plugins/solution/fx-solution/utils/util.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.js.map +1 -1
- package/package.json +17 -33
- package/resource/package.nls.cs.json +60 -37
- package/resource/package.nls.de.json +61 -38
- package/resource/package.nls.es.json +60 -37
- package/resource/package.nls.fr.json +61 -38
- package/resource/package.nls.it.json +61 -38
- package/resource/package.nls.ja.json +61 -38
- package/resource/package.nls.json +25 -21
- package/resource/package.nls.ko.json +60 -37
- package/resource/package.nls.pl.json +60 -37
- package/resource/package.nls.pt-BR.json +61 -38
- package/resource/package.nls.ru.json +60 -37
- package/resource/package.nls.tr.json +61 -38
- package/resource/package.nls.zh-Hans.json +60 -37
- package/resource/package.nls.zh-Hant.json +61 -38
- package/templates/fallback/bot.csharp.command-and-response.zip +0 -0
- package/templates/fallback/bot.csharp.default.zip +0 -0
- package/templates/fallback/bot.csharp.notification-function-base.zip +0 -0
- package/templates/fallback/bot.csharp.notification-trigger-http.zip +0 -0
- package/templates/fallback/bot.csharp.notification-trigger-timer.zip +0 -0
- package/templates/fallback/bot.csharp.notification-webapi.zip +0 -0
- package/templates/fallback/bot.csharp.workflow.zip +0 -0
- package/templates/fallback/bot.js.command-and-response.zip +0 -0
- package/templates/fallback/bot.js.default.zip +0 -0
- package/templates/fallback/bot.js.m365.zip +0 -0
- package/templates/fallback/bot.js.notification-function-base.zip +0 -0
- package/templates/fallback/bot.js.notification-restify.zip +0 -0
- package/templates/fallback/bot.js.notification-trigger-http.zip +0 -0
- package/templates/fallback/bot.js.notification-trigger-timer.zip +0 -0
- package/templates/fallback/bot.js.workflow.zip +0 -0
- package/templates/fallback/bot.ts.command-and-response.zip +0 -0
- package/templates/fallback/bot.ts.default.zip +0 -0
- package/templates/fallback/bot.ts.m365.zip +0 -0
- package/templates/fallback/bot.ts.notification-function-base.zip +0 -0
- package/templates/fallback/bot.ts.notification-restify.zip +0 -0
- package/templates/fallback/bot.ts.notification-trigger-http.zip +0 -0
- package/templates/fallback/bot.ts.notification-trigger-timer.zip +0 -0
- package/templates/fallback/bot.ts.workflow.zip +0 -0
- package/templates/fallback/function-base.js.default.zip +0 -0
- package/templates/fallback/function-base.ts.default.zip +0 -0
- package/templates/fallback/function-triggers.js.HTTPTrigger.zip +0 -0
- package/templates/fallback/function-triggers.ts.HTTPTrigger.zip +0 -0
- package/templates/fallback/tab.csharp.default.zip +0 -0
- package/templates/fallback/tab.csharp.non-sso.zip +0 -0
- package/templates/fallback/tab.js.default.zip +0 -0
- package/templates/fallback/tab.js.m365.zip +0 -0
- package/templates/fallback/tab.js.non-sso.zip +0 -0
- package/templates/fallback/tab.ts.default.zip +0 -0
- package/templates/fallback/tab.ts.m365.zip +0 -0
- package/templates/fallback/tab.ts.non-sso.zip +0 -0
- package/templates/plugins/resource/aad/auth/bot/README.md +254 -130
- package/templates/plugins/resource/aad/auth/bot/README.txt +2 -2
- package/templates/plugins/resource/aad/auth/bot/js/sso/handleMessageExtensionQueryWithToken.js +56 -0
- package/templates/plugins/resource/aad/auth/bot/js/sso/profileSsoCommandHandler.js +30 -0
- package/templates/plugins/resource/aad/auth/bot/ts/sso/handleMessageExtensionQueryWithToken.ts +63 -0
- package/templates/plugins/resource/aad/auth/bot/ts/sso/profileSsoCommandHandler.ts +38 -0
- package/templates/plugins/resource/spfx/solution/prereleaseREADME.md +82 -0
- package/build/common/azure-hosting/botServiceHosting.d.ts +0 -7
- package/build/common/azure-hosting/botServiceHosting.d.ts.map +0 -1
- package/build/common/azure-hosting/botServiceHosting.js +0 -16
- package/build/common/azure-hosting/botServiceHosting.js.map +0 -1
- package/build/common/index.d.ts +0 -10
- package/build/common/index.d.ts.map +0 -1
- package/build/common/index.js +0 -15
- package/build/common/index.js.map +0 -1
- package/build/component/code/apiCode.d.ts +0 -12
- package/build/component/code/apiCode.d.ts.map +0 -1
- package/build/component/code/apiCode.js +0 -147
- package/build/component/code/apiCode.js.map +0 -1
- package/build/component/feature/api.d.ts.map +0 -1
- package/build/component/feature/api.js +0 -188
- package/build/component/feature/api.js.map +0 -1
- package/build/component/feature/bot.d.ts +0 -13
- package/build/component/feature/bot.d.ts.map +0 -1
- package/build/component/feature/bot.js +0 -310
- package/build/component/feature/bot.js.map +0 -1
- package/build/component/resource/apim/index.d.ts +0 -37
- package/build/component/resource/apim/index.d.ts.map +0 -1
- package/build/component/resource/apim/index.js +0 -168
- package/build/component/resource/apim/index.js.map +0 -1
- package/build/component/resource/appManifest/utils.d.ts +0 -24
- package/build/component/resource/appManifest/utils.d.ts.map +0 -1
- package/build/component/resource/appManifest/utils.js +0 -447
- package/build/component/resource/appManifest/utils.js.map +0 -1
- package/build/component/resource/botService.d.ts +0 -23
- package/build/component/resource/botService.d.ts.map +0 -1
- package/build/component/resource/botService.js +0 -177
- package/build/component/resource/botService.js.map +0 -1
- package/build/component/resource/simpleAuth.d.ts +0 -12
- package/build/component/resource/simpleAuth.d.ts.map +0 -1
- package/build/component/resource/simpleAuth.js +0 -115
- package/build/component/resource/simpleAuth.js.map +0 -1
- package/build/core/middleware/index.d.ts +0 -11
- package/build/core/middleware/index.d.ts.map +0 -1
- package/build/core/middleware/index.js +0 -14
- package/build/core/middleware/index.js.map +0 -1
- package/build/core/middleware/solutionLoader.d.ts +0 -4
- package/build/core/middleware/solutionLoader.d.ts.map +0 -1
- package/build/core/middleware/solutionLoader.js +0 -34
- package/build/core/middleware/solutionLoader.js.map +0 -1
- package/build/plugins/index.d.ts +0 -3
- package/build/plugins/index.d.ts.map +0 -1
- package/build/plugins/index.js +0 -8
- package/build/plugins/index.js.map +0 -1
- package/build/plugins/resource/aad/aadAppClient.d.ts.map +0 -1
- package/build/plugins/resource/aad/aadAppClient.js +0 -344
- package/build/plugins/resource/aad/aadAppClient.js.map +0 -1
- package/build/plugins/resource/aad/aadAppManifestManager.d.ts.map +0 -1
- package/build/plugins/resource/aad/aadAppManifestManager.js.map +0 -1
- package/build/plugins/resource/aad/appStudio.d.ts.map +0 -1
- package/build/plugins/resource/aad/appStudio.js +0 -83
- package/build/plugins/resource/aad/appStudio.js.map +0 -1
- package/build/plugins/resource/aad/constants.d.ts +0 -168
- package/build/plugins/resource/aad/constants.d.ts.map +0 -1
- package/build/plugins/resource/aad/constants.js +0 -277
- package/build/plugins/resource/aad/constants.js.map +0 -1
- package/build/plugins/resource/aad/errorCodes.d.ts.map +0 -1
- package/build/plugins/resource/aad/errorCodes.js.map +0 -1
- package/build/plugins/resource/aad/errors.d.ts.map +0 -1
- package/build/plugins/resource/aad/errors.js.map +0 -1
- package/build/plugins/resource/aad/graph.d.ts.map +0 -1
- package/build/plugins/resource/aad/graph.js.map +0 -1
- package/build/plugins/resource/aad/index.d.ts +0 -32
- package/build/plugins/resource/aad/index.d.ts.map +0 -1
- package/build/plugins/resource/aad/index.js +0 -154
- package/build/plugins/resource/aad/index.js.map +0 -1
- package/build/plugins/resource/aad/interfaces/AADApplication.d.ts.map +0 -1
- package/build/plugins/resource/aad/interfaces/AADApplication.js.map +0 -1
- package/build/plugins/resource/aad/interfaces/AADManifest.d.ts.map +0 -1
- package/build/plugins/resource/aad/interfaces/AADManifest.js.map +0 -1
- package/build/plugins/resource/aad/interfaces/IAADApplication.d.ts.map +0 -1
- package/build/plugins/resource/aad/interfaces/IAADApplication.js.map +0 -1
- package/build/plugins/resource/aad/interfaces/IAADDefinition.d.ts.map +0 -1
- package/build/plugins/resource/aad/interfaces/IAADDefinition.js.map +0 -1
- package/build/plugins/resource/aad/interfaces/IPermission.d.ts.map +0 -1
- package/build/plugins/resource/aad/interfaces/IPermission.js.map +0 -1
- package/build/plugins/resource/aad/interfaces/IPermissionList.d.ts.map +0 -1
- package/build/plugins/resource/aad/interfaces/IPermissionList.js.map +0 -1
- package/build/plugins/resource/aad/interfaces/models.d.ts.map +0 -1
- package/build/plugins/resource/aad/interfaces/models.js.map +0 -1
- package/build/plugins/resource/aad/permissions/index.d.ts.map +0 -1
- package/build/plugins/resource/aad/permissions/index.js +0 -64
- package/build/plugins/resource/aad/permissions/index.js.map +0 -1
- package/build/plugins/resource/aad/plugin.d.ts +0 -28
- package/build/plugins/resource/aad/plugin.d.ts.map +0 -1
- package/build/plugins/resource/aad/plugin.js +0 -509
- package/build/plugins/resource/aad/plugin.js.map +0 -1
- package/build/plugins/resource/aad/results.d.ts.map +0 -1
- package/build/plugins/resource/aad/results.js.map +0 -1
- package/build/plugins/resource/aad/utils/aadManifestHelper.d.ts.map +0 -1
- package/build/plugins/resource/aad/utils/aadManifestHelper.js.map +0 -1
- package/build/plugins/resource/aad/utils/configs.d.ts.map +0 -1
- package/build/plugins/resource/aad/utils/configs.js +0 -568
- package/build/plugins/resource/aad/utils/configs.js.map +0 -1
- package/build/plugins/resource/aad/utils/dialog.d.ts.map +0 -1
- package/build/plugins/resource/aad/utils/dialog.js.map +0 -1
- package/build/plugins/resource/aad/utils/format.d.ts.map +0 -1
- package/build/plugins/resource/aad/utils/format.js.map +0 -1
- package/build/plugins/resource/aad/utils/telemetry.d.ts.map +0 -1
- package/build/plugins/resource/aad/utils/telemetry.js +0 -52
- package/build/plugins/resource/aad/utils/telemetry.js.map +0 -1
- package/build/plugins/resource/aad/utils/tokenProvider.d.ts.map +0 -1
- package/build/plugins/resource/aad/utils/tokenProvider.js +0 -77
- package/build/plugins/resource/aad/utils/tokenProvider.js.map +0 -1
- package/build/plugins/resource/aad/v2/index.d.ts +0 -22
- package/build/plugins/resource/aad/v2/index.d.ts.map +0 -1
- package/build/plugins/resource/aad/v2/index.js +0 -65
- package/build/plugins/resource/aad/v2/index.js.map +0 -1
- package/build/plugins/resource/aad/v3/index.d.ts +0 -22
- package/build/plugins/resource/aad/v3/index.d.ts.map +0 -1
- package/build/plugins/resource/aad/v3/index.js +0 -283
- package/build/plugins/resource/aad/v3/index.js.map +0 -1
- package/build/plugins/resource/apim/index.d.ts +0 -22
- package/build/plugins/resource/apim/index.d.ts.map +0 -1
- package/build/plugins/resource/apim/index.js +0 -161
- package/build/plugins/resource/apim/index.js.map +0 -1
- package/build/plugins/resource/apim/v2/index.d.ts +0 -18
- package/build/plugins/resource/apim/v2/index.d.ts.map +0 -1
- package/build/plugins/resource/apim/v2/index.js +0 -66
- package/build/plugins/resource/apim/v2/index.js.map +0 -1
- package/build/plugins/resource/appstudio/appStudio.d.ts +0 -46
- package/build/plugins/resource/appstudio/appStudio.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/appStudio.js +0 -332
- package/build/plugins/resource/appstudio/appStudio.js.map +0 -1
- package/build/plugins/resource/appstudio/constants.d.ts +0 -86
- package/build/plugins/resource/appstudio/constants.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/constants.js +0 -322
- package/build/plugins/resource/appstudio/constants.js.map +0 -1
- package/build/plugins/resource/appstudio/errors.d.ts +0 -115
- package/build/plugins/resource/appstudio/errors.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/errors.js +0 -221
- package/build/plugins/resource/appstudio/errors.js.map +0 -1
- package/build/plugins/resource/appstudio/index.d.ts +0 -52
- package/build/plugins/resource/appstudio/index.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/index.js +0 -402
- package/build/plugins/resource/appstudio/index.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/IPublishingAppDefinition.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/IPublishingAppDefinition.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/activitiesDefinitionItem.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/activitiesDefinitionItem.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/activityDefinitionItem.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/activityDefinitionItem.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appAuthorizationItem.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appAuthorizationItem.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appCategory.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appCategory.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appDefinition.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appDefinition.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appEnvironment.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appEnvironment.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appEnvironmentProperty.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appEnvironmentProperty.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appItemHostedCapability.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appItemHostedCapability.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appItemIndustry.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appItemIndustry.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appPermissionNodeItem.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appPermissionNodeItem.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appPermissionNodeItemType.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appPermissionNodeItemType.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appPermissionsItem.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appPermissionsItem.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appUser.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appUser.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appUserSetting.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/appUserSetting.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/bot.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/bot.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/botCommand.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/botCommand.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/configurableTab.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/configurableTab.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/connector.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/connector.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/defaultGroupCapability.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/defaultGroupCapability.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/disabledScopeItemType.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/disabledScopeItemType.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/graphConnector.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/graphConnector.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/language.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/language.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/localizationInfo.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/localizationInfo.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/meetingExtensionDefinitionItem.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/meetingExtensionDefinitionItem.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/messagingExtension.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/messagingExtension.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommand.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommand.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommandParameter.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommandParameter.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommandTaskInfo.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionCommandTaskInfo.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionMessageHandler.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionMessageHandler.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionMessageHandlerLink.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionMessageHandlerLink.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionParameterChoice.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/messagingExtensionParameterChoice.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/staticTab.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/staticTab.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/subscriptionOffer.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/subscriptionOffer.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/togetherModeSceneItem.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/togetherModeSceneItem.js.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/webApplicationInfoItem.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/interfaces/webApplicationInfoItem.js.map +0 -1
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts +0 -15
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/manifestTemplate.js +0 -293
- package/build/plugins/resource/appstudio/manifestTemplate.js.map +0 -1
- package/build/plugins/resource/appstudio/plugin.d.ts +0 -34
- package/build/plugins/resource/appstudio/plugin.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/plugin.js +0 -945
- package/build/plugins/resource/appstudio/plugin.js.map +0 -1
- package/build/plugins/resource/appstudio/questions.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/questions.js.map +0 -1
- package/build/plugins/resource/appstudio/results.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/results.js.map +0 -1
- package/build/plugins/resource/appstudio/utils/telemetry.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/utils/telemetry.js +0 -110
- package/build/plugins/resource/appstudio/utils/telemetry.js.map +0 -1
- package/build/plugins/resource/appstudio/utils/utils.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/utils/utils.js.map +0 -1
- package/build/plugins/resource/appstudio/v2/index.d.ts +0 -21
- package/build/plugins/resource/appstudio/v2/index.d.ts.map +0 -1
- package/build/plugins/resource/appstudio/v2/index.js +0 -83
- package/build/plugins/resource/appstudio/v2/index.js.map +0 -1
- package/build/plugins/resource/bot/aadRegistration.d.ts.map +0 -1
- package/build/plugins/resource/bot/aadRegistration.js +0 -86
- package/build/plugins/resource/bot/aadRegistration.js.map +0 -1
- package/build/plugins/resource/bot/appStudio/appStudio.d.ts +0 -15
- package/build/plugins/resource/bot/appStudio/appStudio.d.ts.map +0 -1
- package/build/plugins/resource/bot/appStudio/appStudio.js +0 -173
- package/build/plugins/resource/bot/appStudio/appStudio.js.map +0 -1
- package/build/plugins/resource/bot/appStudio/interfaces/IAADApplication.d.ts.map +0 -1
- package/build/plugins/resource/bot/appStudio/interfaces/IAADApplication.js +0 -3
- package/build/plugins/resource/bot/appStudio/interfaces/IAADApplication.js.map +0 -1
- package/build/plugins/resource/bot/appStudio/interfaces/IAADDefinition.d.ts.map +0 -1
- package/build/plugins/resource/bot/appStudio/interfaces/IAADDefinition.js.map +0 -1
- package/build/plugins/resource/bot/appStudio/interfaces/IBotRegistration.d.ts.map +0 -1
- package/build/plugins/resource/bot/appStudio/interfaces/IBotRegistration.js +0 -3
- package/build/plugins/resource/bot/appStudio/interfaces/IBotRegistration.js.map +0 -1
- package/build/plugins/resource/bot/botAuthCredential.d.ts.map +0 -1
- package/build/plugins/resource/bot/botAuthCredential.js +0 -7
- package/build/plugins/resource/bot/botAuthCredential.js.map +0 -1
- package/build/plugins/resource/bot/clientFactory.d.ts +0 -7
- package/build/plugins/resource/bot/clientFactory.d.ts.map +0 -1
- package/build/plugins/resource/bot/clientFactory.js +0 -38
- package/build/plugins/resource/bot/clientFactory.js.map +0 -1
- package/build/plugins/resource/bot/configs/deployConfig.d.ts +0 -7
- package/build/plugins/resource/bot/configs/deployConfig.d.ts.map +0 -1
- package/build/plugins/resource/bot/configs/deployConfig.js +0 -22
- package/build/plugins/resource/bot/configs/deployConfig.js.map +0 -1
- package/build/plugins/resource/bot/configs/localDebugConfig.d.ts +0 -12
- package/build/plugins/resource/bot/configs/localDebugConfig.d.ts.map +0 -1
- package/build/plugins/resource/bot/configs/localDebugConfig.js +0 -36
- package/build/plugins/resource/bot/configs/localDebugConfig.js.map +0 -1
- package/build/plugins/resource/bot/configs/provisionConfig.d.ts +0 -25
- package/build/plugins/resource/bot/configs/provisionConfig.d.ts.map +0 -1
- package/build/plugins/resource/bot/configs/provisionConfig.js +0 -64
- package/build/plugins/resource/bot/configs/provisionConfig.js.map +0 -1
- package/build/plugins/resource/bot/configs/scaffoldConfig.d.ts +0 -29
- package/build/plugins/resource/bot/configs/scaffoldConfig.d.ts.map +0 -1
- package/build/plugins/resource/bot/configs/scaffoldConfig.js +0 -116
- package/build/plugins/resource/bot/configs/scaffoldConfig.js.map +0 -1
- package/build/plugins/resource/bot/configs/teamsBotConfig.d.ts +0 -23
- package/build/plugins/resource/bot/configs/teamsBotConfig.d.ts.map +0 -1
- package/build/plugins/resource/bot/configs/teamsBotConfig.js +0 -76
- package/build/plugins/resource/bot/configs/teamsBotConfig.js.map +0 -1
- package/build/plugins/resource/bot/constants.d.ts +0 -162
- package/build/plugins/resource/bot/constants.d.ts.map +0 -1
- package/build/plugins/resource/bot/constants.js +0 -223
- package/build/plugins/resource/bot/constants.js.map +0 -1
- package/build/plugins/resource/bot/deployMgr.d.ts +0 -11
- package/build/plugins/resource/bot/deployMgr.d.ts.map +0 -1
- package/build/plugins/resource/bot/deployMgr.js +0 -105
- package/build/plugins/resource/bot/deployMgr.js.map +0 -1
- package/build/plugins/resource/bot/dotnet/appSettings/appSettingsWithSSO.json +0 -23
- package/build/plugins/resource/bot/dotnet/constants.d.ts +0 -16
- package/build/plugins/resource/bot/dotnet/constants.d.ts.map +0 -1
- package/build/plugins/resource/bot/dotnet/constants.js +0 -25
- package/build/plugins/resource/bot/dotnet/constants.js.map +0 -1
- package/build/plugins/resource/bot/dotnet/errors.d.ts +0 -5
- package/build/plugins/resource/bot/dotnet/errors.d.ts.map +0 -1
- package/build/plugins/resource/bot/dotnet/errors.js +0 -21
- package/build/plugins/resource/bot/dotnet/errors.js.map +0 -1
- package/build/plugins/resource/bot/dotnet/plugin.d.ts +0 -12
- package/build/plugins/resource/bot/dotnet/plugin.d.ts.map +0 -1
- package/build/plugins/resource/bot/dotnet/plugin.js +0 -132
- package/build/plugins/resource/bot/dotnet/plugin.js.map +0 -1
- package/build/plugins/resource/bot/enums/pluginActRoles.d.ts +0 -8
- package/build/plugins/resource/bot/enums/pluginActRoles.d.ts.map +0 -1
- package/build/plugins/resource/bot/enums/pluginActRoles.js +0 -12
- package/build/plugins/resource/bot/enums/pluginActRoles.js.map +0 -1
- package/build/plugins/resource/bot/enums/programmingLanguage.d.ts +0 -6
- package/build/plugins/resource/bot/enums/programmingLanguage.d.ts.map +0 -1
- package/build/plugins/resource/bot/enums/programmingLanguage.js +0 -12
- package/build/plugins/resource/bot/enums/programmingLanguage.js.map +0 -1
- package/build/plugins/resource/bot/errors.d.ts +0 -91
- package/build/plugins/resource/bot/errors.d.ts.map +0 -1
- package/build/plugins/resource/bot/errors.js +0 -266
- package/build/plugins/resource/bot/errors.js.map +0 -1
- package/build/plugins/resource/bot/functionsHostedBot/deployMgr.d.ts +0 -18
- package/build/plugins/resource/bot/functionsHostedBot/deployMgr.d.ts.map +0 -1
- package/build/plugins/resource/bot/functionsHostedBot/deployMgr.js +0 -166
- package/build/plugins/resource/bot/functionsHostedBot/deployMgr.js.map +0 -1
- package/build/plugins/resource/bot/functionsHostedBot/plugin.d.ts +0 -9
- package/build/plugins/resource/bot/functionsHostedBot/plugin.d.ts.map +0 -1
- package/build/plugins/resource/bot/functionsHostedBot/plugin.js +0 -139
- package/build/plugins/resource/bot/functionsHostedBot/plugin.js.map +0 -1
- package/build/plugins/resource/bot/index.d.ts +0 -36
- package/build/plugins/resource/bot/index.d.ts.map +0 -1
- package/build/plugins/resource/bot/index.js +0 -157
- package/build/plugins/resource/bot/index.js.map +0 -1
- package/build/plugins/resource/bot/interface.d.ts +0 -15
- package/build/plugins/resource/bot/interface.d.ts.map +0 -1
- package/build/plugins/resource/bot/interface.js +0 -5
- package/build/plugins/resource/bot/interface.js.map +0 -1
- package/build/plugins/resource/bot/languageStrategy.d.ts +0 -14
- package/build/plugins/resource/bot/languageStrategy.d.ts.map +0 -1
- package/build/plugins/resource/bot/languageStrategy.js +0 -126
- package/build/plugins/resource/bot/languageStrategy.js.map +0 -1
- package/build/plugins/resource/bot/logger.d.ts +0 -10
- package/build/plugins/resource/bot/logger.d.ts.map +0 -1
- package/build/plugins/resource/bot/logger.js +0 -27
- package/build/plugins/resource/bot/logger.js.map +0 -1
- package/build/plugins/resource/bot/plugin.d.ts +0 -24
- package/build/plugins/resource/bot/plugin.d.ts.map +0 -1
- package/build/plugins/resource/bot/plugin.js +0 -322
- package/build/plugins/resource/bot/plugin.js.map +0 -1
- package/build/plugins/resource/bot/progressBars.d.ts +0 -7
- package/build/plugins/resource/bot/progressBars.d.ts.map +0 -1
- package/build/plugins/resource/bot/progressBars.js +0 -37
- package/build/plugins/resource/bot/progressBars.js.map +0 -1
- package/build/plugins/resource/bot/question.d.ts +0 -22
- package/build/plugins/resource/bot/question.d.ts.map +0 -1
- package/build/plugins/resource/bot/question.js +0 -118
- package/build/plugins/resource/bot/question.js.map +0 -1
- package/build/plugins/resource/bot/resources/messages.d.ts +0 -45
- package/build/plugins/resource/bot/resources/messages.d.ts.map +0 -1
- package/build/plugins/resource/bot/resources/messages.js +0 -95
- package/build/plugins/resource/bot/resources/messages.js.map +0 -1
- package/build/plugins/resource/bot/resources/strings.d.ts +0 -106
- package/build/plugins/resource/bot/resources/strings.d.ts.map +0 -1
- package/build/plugins/resource/bot/resources/strings.js +0 -129
- package/build/plugins/resource/bot/resources/strings.js.map +0 -1
- package/build/plugins/resource/bot/result.d.ts +0 -14
- package/build/plugins/resource/bot/result.d.ts.map +0 -1
- package/build/plugins/resource/bot/result.js +0 -40
- package/build/plugins/resource/bot/result.js.map +0 -1
- package/build/plugins/resource/bot/utils/common.d.ts +0 -36
- package/build/plugins/resource/bot/utils/common.d.ts.map +0 -1
- package/build/plugins/resource/bot/utils/common.js +0 -229
- package/build/plugins/resource/bot/utils/common.js.map +0 -1
- package/build/plugins/resource/bot/utils/dir-walk.d.ts.map +0 -1
- package/build/plugins/resource/bot/utils/dir-walk.js.map +0 -1
- package/build/plugins/resource/bot/utils/resourceNameFactory.d.ts.map +0 -1
- package/build/plugins/resource/bot/utils/resourceNameFactory.js +0 -24
- package/build/plugins/resource/bot/utils/resourceNameFactory.js.map +0 -1
- package/build/plugins/resource/bot/utils/retryHandler.d.ts.map +0 -1
- package/build/plugins/resource/bot/utils/retryHandler.js +0 -29
- package/build/plugins/resource/bot/utils/retryHandler.js.map +0 -1
- package/build/plugins/resource/bot/utils/telemetry-helper.d.ts +0 -31
- package/build/plugins/resource/bot/utils/telemetry-helper.d.ts.map +0 -1
- package/build/plugins/resource/bot/utils/telemetry-helper.js +0 -72
- package/build/plugins/resource/bot/utils/telemetry-helper.js.map +0 -1
- package/build/plugins/resource/bot/utils/zipDeploy.d.ts +0 -2
- package/build/plugins/resource/bot/utils/zipDeploy.d.ts.map +0 -1
- package/build/plugins/resource/bot/utils/zipDeploy.js +0 -10
- package/build/plugins/resource/bot/utils/zipDeploy.js.map +0 -1
- package/build/plugins/resource/bot/v2/common.d.ts +0 -12
- package/build/plugins/resource/bot/v2/common.d.ts.map +0 -1
- package/build/plugins/resource/bot/v2/common.js +0 -95
- package/build/plugins/resource/bot/v2/common.js.map +0 -1
- package/build/plugins/resource/bot/v2/enum.d.ts +0 -17
- package/build/plugins/resource/bot/v2/enum.d.ts.map +0 -1
- package/build/plugins/resource/bot/v2/enum.js +0 -26
- package/build/plugins/resource/bot/v2/enum.js.map +0 -1
- package/build/plugins/resource/bot/v2/index.d.ts +0 -23
- package/build/plugins/resource/bot/v2/index.d.ts.map +0 -1
- package/build/plugins/resource/bot/v2/index.js +0 -79
- package/build/plugins/resource/bot/v2/index.js.map +0 -1
- package/build/plugins/resource/bot/v2/interface/codeTemplateInfo.d.ts +0 -10
- package/build/plugins/resource/bot/v2/interface/codeTemplateInfo.d.ts.map +0 -1
- package/build/plugins/resource/bot/v2/interface/codeTemplateInfo.js +0 -5
- package/build/plugins/resource/bot/v2/interface/codeTemplateInfo.js.map +0 -1
- package/build/plugins/resource/bot/v2/mapping.d.ts +0 -13
- package/build/plugins/resource/bot/v2/mapping.d.ts.map +0 -1
- package/build/plugins/resource/bot/v2/mapping.js +0 -116
- package/build/plugins/resource/bot/v2/mapping.js.map +0 -1
- package/build/plugins/resource/bot/v2/plugin.d.ts +0 -50
- package/build/plugins/resource/bot/v2/plugin.d.ts.map +0 -1
- package/build/plugins/resource/bot/v2/plugin.js +0 -319
- package/build/plugins/resource/bot/v2/plugin.js.map +0 -1
- package/build/plugins/resource/bot/v2/scaffold.d.ts +0 -5
- package/build/plugins/resource/bot/v2/scaffold.d.ts.map +0 -1
- package/build/plugins/resource/bot/v2/scaffold.js +0 -48
- package/build/plugins/resource/bot/v2/scaffold.js.map +0 -1
- package/build/plugins/resource/bot/v3/error.d.ts +0 -15
- package/build/plugins/resource/bot/v3/error.d.ts.map +0 -1
- package/build/plugins/resource/bot/v3/error.js +0 -50
- package/build/plugins/resource/bot/v3/error.js.map +0 -1
- package/build/plugins/resource/function/constants.d.ts +0 -154
- package/build/plugins/resource/function/constants.d.ts.map +0 -1
- package/build/plugins/resource/function/constants.js +0 -182
- package/build/plugins/resource/function/constants.js.map +0 -1
- package/build/plugins/resource/function/enums.d.ts +0 -73
- package/build/plugins/resource/function/enums.d.ts.map +0 -1
- package/build/plugins/resource/function/enums.js +0 -89
- package/build/plugins/resource/function/enums.js.map +0 -1
- package/build/plugins/resource/function/index.d.ts +0 -27
- package/build/plugins/resource/function/index.d.ts.map +0 -1
- package/build/plugins/resource/function/index.js +0 -131
- package/build/plugins/resource/function/index.js.map +0 -1
- package/build/plugins/resource/function/language-strategy.d.ts +0 -15
- package/build/plugins/resource/function/language-strategy.d.ts.map +0 -1
- package/build/plugins/resource/function/language-strategy.js +0 -58
- package/build/plugins/resource/function/language-strategy.js.map +0 -1
- package/build/plugins/resource/function/ops/deploy.d.ts +0 -17
- package/build/plugins/resource/function/ops/deploy.d.ts.map +0 -1
- package/build/plugins/resource/function/ops/deploy.js +0 -233
- package/build/plugins/resource/function/ops/deploy.js.map +0 -1
- package/build/plugins/resource/function/ops/provision.d.ts +0 -21
- package/build/plugins/resource/function/ops/provision.d.ts.map +0 -1
- package/build/plugins/resource/function/ops/provision.js +0 -111
- package/build/plugins/resource/function/ops/provision.js.map +0 -1
- package/build/plugins/resource/function/ops/scaffold.d.ts +0 -12
- package/build/plugins/resource/function/ops/scaffold.d.ts.map +0 -1
- package/build/plugins/resource/function/ops/scaffold.js +0 -84
- package/build/plugins/resource/function/ops/scaffold.js.map +0 -1
- package/build/plugins/resource/function/plugin.d.ts +0 -50
- package/build/plugins/resource/function/plugin.d.ts.map +0 -1
- package/build/plugins/resource/function/plugin.js +0 -363
- package/build/plugins/resource/function/plugin.js.map +0 -1
- package/build/plugins/resource/function/question.d.ts.map +0 -1
- package/build/plugins/resource/function/question.js +0 -13
- package/build/plugins/resource/function/question.js.map +0 -1
- package/build/plugins/resource/function/resources/errors.d.ts +0 -84
- package/build/plugins/resource/function/resources/errors.d.ts.map +0 -1
- package/build/plugins/resource/function/resources/errors.js +0 -229
- package/build/plugins/resource/function/resources/errors.js.map +0 -1
- package/build/plugins/resource/function/resources/message.d.ts +0 -41
- package/build/plugins/resource/function/resources/message.d.ts.map +0 -1
- package/build/plugins/resource/function/resources/message.js +0 -52
- package/build/plugins/resource/function/resources/message.js.map +0 -1
- package/build/plugins/resource/function/resources/steps.d.ts +0 -45
- package/build/plugins/resource/function/resources/steps.d.ts.map +0 -1
- package/build/plugins/resource/function/resources/steps.js +0 -68
- package/build/plugins/resource/function/resources/steps.js.map +0 -1
- package/build/plugins/resource/function/result.d.ts +0 -17
- package/build/plugins/resource/function/result.d.ts.map +0 -1
- package/build/plugins/resource/function/result.js +0 -42
- package/build/plugins/resource/function/result.js.map +0 -1
- package/build/plugins/resource/function/utils/azure-client.d.ts +0 -30
- package/build/plugins/resource/function/utils/azure-client.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/azure-client.js +0 -84
- package/build/plugins/resource/function/utils/azure-client.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.d.ts +0 -11
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.js +0 -55
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.d.ts +0 -16
- package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.js +0 -52
- package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.d.ts +0 -14
- package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.js +0 -54
- package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.js.map +0 -1
- package/build/plugins/resource/function/utils/dir-walk.d.ts +0 -4
- package/build/plugins/resource/function/utils/dir-walk.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/dir-walk.js +0 -21
- package/build/plugins/resource/function/utils/dir-walk.js.map +0 -1
- package/build/plugins/resource/function/utils/execute.d.ts +0 -2
- package/build/plugins/resource/function/utils/execute.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/execute.js +0 -25
- package/build/plugins/resource/function/utils/execute.js.map +0 -1
- package/build/plugins/resource/function/utils/logger.d.ts +0 -10
- package/build/plugins/resource/function/utils/logger.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/logger.js +0 -30
- package/build/plugins/resource/function/utils/logger.js.map +0 -1
- package/build/plugins/resource/function/utils/step-helper.d.ts +0 -11
- package/build/plugins/resource/function/utils/step-helper.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/step-helper.js +0 -26
- package/build/plugins/resource/function/utils/step-helper.js.map +0 -1
- package/build/plugins/resource/function/utils/telemetry-helper.d.ts +0 -42
- package/build/plugins/resource/function/utils/telemetry-helper.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/telemetry-helper.js +0 -69
- package/build/plugins/resource/function/utils/telemetry-helper.js.map +0 -1
- package/build/plugins/resource/function/v2/index.d.ts +0 -18
- package/build/plugins/resource/function/v2/index.d.ts.map +0 -1
- package/build/plugins/resource/function/v2/index.js +0 -53
- package/build/plugins/resource/function/v2/index.js.map +0 -1
- package/build/plugins/resource/function/v3/error.d.ts +0 -26
- package/build/plugins/resource/function/v3/error.d.ts.map +0 -1
- package/build/plugins/resource/function/v3/error.js +0 -58
- package/build/plugins/resource/function/v3/error.js.map +0 -1
- package/build/plugins/resource/identity/constants.d.ts +0 -47
- package/build/plugins/resource/identity/constants.d.ts.map +0 -1
- package/build/plugins/resource/identity/constants.js +0 -54
- package/build/plugins/resource/identity/constants.js.map +0 -1
- package/build/plugins/resource/identity/index.d.ts +0 -13
- package/build/plugins/resource/identity/index.d.ts.map +0 -1
- package/build/plugins/resource/identity/index.js +0 -98
- package/build/plugins/resource/identity/index.js.map +0 -1
- package/build/plugins/resource/identity/utils/telemetryUtil.d.ts +0 -17
- package/build/plugins/resource/identity/utils/telemetryUtil.d.ts.map +0 -1
- package/build/plugins/resource/identity/utils/telemetryUtil.js +0 -45
- package/build/plugins/resource/identity/utils/telemetryUtil.js.map +0 -1
- package/build/plugins/resource/identity/v2/index.d.ts +0 -13
- package/build/plugins/resource/identity/v2/index.d.ts.map +0 -1
- package/build/plugins/resource/identity/v2/index.js +0 -38
- package/build/plugins/resource/identity/v2/index.js.map +0 -1
- package/build/plugins/resource/keyvault/constants.d.ts +0 -36
- package/build/plugins/resource/keyvault/constants.d.ts.map +0 -1
- package/build/plugins/resource/keyvault/constants.js +0 -43
- package/build/plugins/resource/keyvault/constants.js.map +0 -1
- package/build/plugins/resource/keyvault/index.d.ts +0 -16
- package/build/plugins/resource/keyvault/index.d.ts.map +0 -1
- package/build/plugins/resource/keyvault/index.js +0 -65
- package/build/plugins/resource/keyvault/index.js.map +0 -1
- package/build/plugins/resource/keyvault/plugin.d.ts +0 -7
- package/build/plugins/resource/keyvault/plugin.d.ts.map +0 -1
- package/build/plugins/resource/keyvault/plugin.js +0 -44
- package/build/plugins/resource/keyvault/plugin.js.map +0 -1
- package/build/plugins/resource/keyvault/result.d.ts +0 -9
- package/build/plugins/resource/keyvault/result.d.ts.map +0 -1
- package/build/plugins/resource/keyvault/result.js +0 -35
- package/build/plugins/resource/keyvault/result.js.map +0 -1
- package/build/plugins/resource/keyvault/utils/telemetry.d.ts.map +0 -1
- package/build/plugins/resource/keyvault/utils/telemetry.js +0 -45
- package/build/plugins/resource/keyvault/utils/telemetry.js.map +0 -1
- package/build/plugins/resource/keyvault/v2/index.d.ts +0 -12
- package/build/plugins/resource/keyvault/v2/index.d.ts.map +0 -1
- package/build/plugins/resource/keyvault/v2/index.js +0 -38
- package/build/plugins/resource/keyvault/v2/index.js.map +0 -1
- package/build/plugins/resource/localdebug/constants.d.ts +0 -127
- package/build/plugins/resource/localdebug/constants.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/constants.js +0 -146
- package/build/plugins/resource/localdebug/constants.js.map +0 -1
- package/build/plugins/resource/localdebug/index.d.ts +0 -14
- package/build/plugins/resource/localdebug/index.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/index.js +0 -37
- package/build/plugins/resource/localdebug/index.js.map +0 -1
- package/build/plugins/resource/localdebug/localEnv.d.ts +0 -14
- package/build/plugins/resource/localdebug/localEnv.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/localEnv.js +0 -78
- package/build/plugins/resource/localdebug/localEnv.js.map +0 -1
- package/build/plugins/resource/localdebug/projectSettingLoader.d.ts +0 -9
- package/build/plugins/resource/localdebug/projectSettingLoader.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/projectSettingLoader.js +0 -33
- package/build/plugins/resource/localdebug/projectSettingLoader.js.map +0 -1
- package/build/plugins/resource/localdebug/util/error.d.ts +0 -3
- package/build/plugins/resource/localdebug/util/error.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/util/error.js +0 -12
- package/build/plugins/resource/localdebug/util/error.js.map +0 -1
- package/build/plugins/resource/localdebug/util/localService.d.ts +0 -2
- package/build/plugins/resource/localdebug/util/localService.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/util/localService.js +0 -13
- package/build/plugins/resource/localdebug/util/localService.js.map +0 -1
- package/build/plugins/resource/localdebug/v2/index.d.ts +0 -14
- package/build/plugins/resource/localdebug/v2/index.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/v2/index.js +0 -78
- package/build/plugins/resource/localdebug/v2/index.js.map +0 -1
- package/build/plugins/resource/simpleauth/constants.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/constants.js.map +0 -1
- package/build/plugins/resource/simpleauth/errors.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/errors.js.map +0 -1
- package/build/plugins/resource/simpleauth/index.d.ts +0 -20
- package/build/plugins/resource/simpleauth/index.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/index.js +0 -78
- package/build/plugins/resource/simpleauth/index.js.map +0 -1
- package/build/plugins/resource/simpleauth/plugin.d.ts +0 -14
- package/build/plugins/resource/simpleauth/plugin.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/plugin.js +0 -141
- package/build/plugins/resource/simpleauth/plugin.js.map +0 -1
- package/build/plugins/resource/simpleauth/result.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/result.js.map +0 -1
- package/build/plugins/resource/simpleauth/utils/common.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/utils/common.js.map +0 -1
- package/build/plugins/resource/simpleauth/utils/dialog.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/utils/dialog.js.map +0 -1
- package/build/plugins/resource/simpleauth/utils/telemetry.d.ts +0 -17
- package/build/plugins/resource/simpleauth/utils/telemetry.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/utils/telemetry.js.map +0 -1
- package/build/plugins/resource/simpleauth/v2/index.d.ts +0 -15
- package/build/plugins/resource/simpleauth/v2/index.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/v2/index.js +0 -47
- package/build/plugins/resource/simpleauth/v2/index.js.map +0 -1
- package/build/plugins/resource/simpleauth/webAppClient.d.ts +0 -31
- package/build/plugins/resource/simpleauth/webAppClient.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/webAppClient.js +0 -136
- package/build/plugins/resource/simpleauth/webAppClient.js.map +0 -1
- package/build/plugins/resource/spfx/depsChecker/dependencyChecker.d.ts.map +0 -1
- package/build/plugins/resource/spfx/depsChecker/dependencyChecker.js.map +0 -1
- package/build/plugins/resource/spfx/depsChecker/generatorChecker.d.ts.map +0 -1
- package/build/plugins/resource/spfx/depsChecker/generatorChecker.js +0 -123
- package/build/plugins/resource/spfx/depsChecker/generatorChecker.js.map +0 -1
- package/build/plugins/resource/spfx/depsChecker/yoChecker.d.ts.map +0 -1
- package/build/plugins/resource/spfx/depsChecker/yoChecker.js.map +0 -1
- package/build/plugins/resource/spfx/error.d.ts +0 -18
- package/build/plugins/resource/spfx/error.d.ts.map +0 -1
- package/build/plugins/resource/spfx/error.js +0 -107
- package/build/plugins/resource/spfx/error.js.map +0 -1
- package/build/plugins/resource/spfx/index.d.ts +0 -18
- package/build/plugins/resource/spfx/index.d.ts.map +0 -1
- package/build/plugins/resource/spfx/index.js +0 -96
- package/build/plugins/resource/spfx/index.js.map +0 -1
- package/build/plugins/resource/spfx/plugin.d.ts +0 -12
- package/build/plugins/resource/spfx/plugin.d.ts.map +0 -1
- package/build/plugins/resource/spfx/plugin.js +0 -216
- package/build/plugins/resource/spfx/plugin.js.map +0 -1
- package/build/plugins/resource/spfx/spoClient.d.ts.map +0 -1
- package/build/plugins/resource/spfx/spoClient.js.map +0 -1
- package/build/plugins/resource/spfx/utils/constants.d.ts +0 -85
- package/build/plugins/resource/spfx/utils/constants.d.ts.map +0 -1
- package/build/plugins/resource/spfx/utils/constants.js +0 -102
- package/build/plugins/resource/spfx/utils/constants.js.map +0 -1
- package/build/plugins/resource/spfx/utils/progress-helper.d.ts.map +0 -1
- package/build/plugins/resource/spfx/utils/progress-helper.js.map +0 -1
- package/build/plugins/resource/spfx/utils/questions.d.ts.map +0 -1
- package/build/plugins/resource/spfx/utils/questions.js +0 -86
- package/build/plugins/resource/spfx/utils/questions.js.map +0 -1
- package/build/plugins/resource/spfx/utils/telemetry-helper.d.ts.map +0 -1
- package/build/plugins/resource/spfx/utils/telemetry-helper.js.map +0 -1
- package/build/plugins/resource/spfx/utils/telemetryEvents.d.ts.map +0 -1
- package/build/plugins/resource/spfx/utils/telemetryEvents.js.map +0 -1
- package/build/plugins/resource/spfx/utils/utils.d.ts +0 -15
- package/build/plugins/resource/spfx/utils/utils.d.ts.map +0 -1
- package/build/plugins/resource/spfx/utils/utils.js +0 -126
- package/build/plugins/resource/spfx/utils/utils.js.map +0 -1
- package/build/plugins/resource/spfx/v2/index.d.ts +0 -14
- package/build/plugins/resource/spfx/v2/index.d.ts.map +0 -1
- package/build/plugins/resource/spfx/v2/index.js +0 -41
- package/build/plugins/resource/spfx/v2/index.js.map +0 -1
- package/build/plugins/resource/sql/config.d.ts +0 -22
- package/build/plugins/resource/sql/config.d.ts.map +0 -1
- package/build/plugins/resource/sql/config.js +0 -30
- package/build/plugins/resource/sql/config.js.map +0 -1
- package/build/plugins/resource/sql/constants.d.ts +0 -82
- package/build/plugins/resource/sql/constants.d.ts.map +0 -1
- package/build/plugins/resource/sql/constants.js +0 -92
- package/build/plugins/resource/sql/constants.js.map +0 -1
- package/build/plugins/resource/sql/errors.d.ts +0 -63
- package/build/plugins/resource/sql/errors.d.ts.map +0 -1
- package/build/plugins/resource/sql/errors.js +0 -107
- package/build/plugins/resource/sql/errors.js.map +0 -1
- package/build/plugins/resource/sql/index.d.ts +0 -20
- package/build/plugins/resource/sql/index.d.ts.map +0 -1
- package/build/plugins/resource/sql/index.js +0 -92
- package/build/plugins/resource/sql/index.js.map +0 -1
- package/build/plugins/resource/sql/managementClient.d.ts +0 -18
- package/build/plugins/resource/sql/managementClient.d.ts.map +0 -1
- package/build/plugins/resource/sql/managementClient.js +0 -123
- package/build/plugins/resource/sql/managementClient.js.map +0 -1
- package/build/plugins/resource/sql/plugin.d.ts +0 -30
- package/build/plugins/resource/sql/plugin.d.ts.map +0 -1
- package/build/plugins/resource/sql/plugin.js +0 -340
- package/build/plugins/resource/sql/plugin.js.map +0 -1
- package/build/plugins/resource/sql/questions.d.ts +0 -5
- package/build/plugins/resource/sql/questions.d.ts.map +0 -1
- package/build/plugins/resource/sql/questions.js +0 -46
- package/build/plugins/resource/sql/questions.js.map +0 -1
- package/build/plugins/resource/sql/results.d.ts +0 -10
- package/build/plugins/resource/sql/results.d.ts.map +0 -1
- package/build/plugins/resource/sql/results.js +0 -32
- package/build/plugins/resource/sql/results.js.map +0 -1
- package/build/plugins/resource/sql/sqlClient.d.ts +0 -13
- package/build/plugins/resource/sql/sqlClient.d.ts.map +0 -1
- package/build/plugins/resource/sql/sqlClient.js +0 -153
- package/build/plugins/resource/sql/sqlClient.js.map +0 -1
- package/build/plugins/resource/sql/utils/checkInput.d.ts +0 -10
- package/build/plugins/resource/sql/utils/checkInput.d.ts.map +0 -1
- package/build/plugins/resource/sql/utils/checkInput.js +0 -87
- package/build/plugins/resource/sql/utils/checkInput.js.map +0 -1
- package/build/plugins/resource/sql/utils/commonUtils.d.ts +0 -13
- package/build/plugins/resource/sql/utils/commonUtils.d.ts.map +0 -1
- package/build/plugins/resource/sql/utils/commonUtils.js +0 -51
- package/build/plugins/resource/sql/utils/commonUtils.js.map +0 -1
- package/build/plugins/resource/sql/utils/contextUtils.d.ts +0 -5
- package/build/plugins/resource/sql/utils/contextUtils.d.ts.map +0 -1
- package/build/plugins/resource/sql/utils/contextUtils.js +0 -11
- package/build/plugins/resource/sql/utils/contextUtils.js.map +0 -1
- package/build/plugins/resource/sql/utils/dialogUtils.d.ts +0 -13
- package/build/plugins/resource/sql/utils/dialogUtils.d.ts.map +0 -1
- package/build/plugins/resource/sql/utils/dialogUtils.js +0 -21
- package/build/plugins/resource/sql/utils/dialogUtils.js.map +0 -1
- package/build/plugins/resource/sql/utils/message.d.ts +0 -16
- package/build/plugins/resource/sql/utils/message.d.ts.map +0 -1
- package/build/plugins/resource/sql/utils/message.js +0 -23
- package/build/plugins/resource/sql/utils/message.js.map +0 -1
- package/build/plugins/resource/sql/utils/telemetryUtils.d.ts +0 -17
- package/build/plugins/resource/sql/utils/telemetryUtils.d.ts.map +0 -1
- package/build/plugins/resource/sql/utils/telemetryUtils.js +0 -45
- package/build/plugins/resource/sql/utils/telemetryUtils.js.map +0 -1
- package/build/plugins/resource/sql/v2/index.d.ts +0 -15
- package/build/plugins/resource/sql/v2/index.d.ts.map +0 -1
- package/build/plugins/resource/sql/v2/index.js +0 -44
- package/build/plugins/resource/sql/v2/index.js.map +0 -1
- package/build/plugins/solution/fx-solution/index.d.ts +0 -5
- package/build/plugins/solution/fx-solution/index.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/index.js +0 -8
- package/build/plugins/solution/fx-solution/index.js.map +0 -1
- package/build/plugins/solution/fx-solution/solution.d.ts +0 -94
- package/build/plugins/solution/fx-solution/solution.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/solution.js +0 -1530
- package/build/plugins/solution/fx-solution/solution.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/checkPermission.d.ts +0 -5
- package/build/plugins/solution/fx-solution/v2/checkPermission.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/checkPermission.js +0 -196
- package/build/plugins/solution/fx-solution/v2/checkPermission.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/collaborationUtil.d.ts +0 -28
- package/build/plugins/solution/fx-solution/v2/collaborationUtil.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/collaborationUtil.js +0 -131
- package/build/plugins/solution/fx-solution/v2/collaborationUtil.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.d.ts +0 -3
- package/build/plugins/solution/fx-solution/v2/createEnv.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.js +0 -37
- package/build/plugins/solution/fx-solution/v2/createEnv.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/deploy.d.ts +0 -3
- package/build/plugins/solution/fx-solution/v2/deploy.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/deploy.js +0 -143
- package/build/plugins/solution/fx-solution/v2/deploy.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts +0 -22
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js +0 -850
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.d.ts +0 -4
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.js +0 -31
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/getQuestions.d.ts +0 -15
- package/build/plugins/solution/fx-solution/v2/getQuestions.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/getQuestions.js +0 -847
- package/build/plugins/solution/fx-solution/v2/getQuestions.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/grantPermission.d.ts +0 -5
- package/build/plugins/solution/fx-solution/v2/grantPermission.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/grantPermission.js +0 -209
- package/build/plugins/solution/fx-solution/v2/grantPermission.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/listCollaborator.d.ts +0 -8
- package/build/plugins/solution/fx-solution/v2/listCollaborator.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/listCollaborator.js +0 -226
- package/build/plugins/solution/fx-solution/v2/listCollaborator.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/provision.d.ts +0 -3
- package/build/plugins/solution/fx-solution/v2/provision.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/provision.js +0 -262
- package/build/plugins/solution/fx-solution/v2/provision.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.d.ts +0 -3
- package/build/plugins/solution/fx-solution/v2/provisionLocal.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js +0 -117
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/publish.d.ts +0 -3
- package/build/plugins/solution/fx-solution/v2/publish.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/publish.js +0 -46
- package/build/plugins/solution/fx-solution/v2/publish.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.d.ts +0 -5
- package/build/plugins/solution/fx-solution/v2/scaffolding.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.js +0 -161
- package/build/plugins/solution/fx-solution/v2/scaffolding.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/solution.d.ts +0 -22
- package/build/plugins/solution/fx-solution/v2/solution.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/solution.js +0 -48
- package/build/plugins/solution/fx-solution/v2/solution.js.map +0 -1
- package/build/plugins/solution/index.d.ts +0 -2
- package/build/plugins/solution/index.d.ts.map +0 -1
- package/build/plugins/solution/index.js +0 -7
- package/build/plugins/solution/index.js.map +0 -1
- package/templates/plugins/resource/aad/auth/bot/js/sso/showUserInfo.js +0 -36
- package/templates/plugins/resource/aad/auth/bot/js/sso/ssoDialog.js +0 -201
- package/templates/plugins/resource/aad/auth/bot/js/sso/teamsSsoBot.js +0 -63
- package/templates/plugins/resource/aad/auth/bot/ts/sso/showUserInfo.ts +0 -38
- package/templates/plugins/resource/aad/auth/bot/ts/sso/ssoDialog.ts +0 -213
- package/templates/plugins/resource/aad/auth/bot/ts/sso/teamsSsoBot.ts +0 -75
|
@@ -1,945 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.createManifest = exports.AppStudioPluginImpl = void 0;
|
|
6
|
-
const tslib_1 = require("tslib");
|
|
7
|
-
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
8
|
-
const appStudio_1 = require("./appStudio");
|
|
9
|
-
const question_1 = require("../../solution/fx-solution/question");
|
|
10
|
-
const constants_1 = require("../../solution/fx-solution/constants");
|
|
11
|
-
const errors_1 = require("./errors");
|
|
12
|
-
const results_1 = require("./results");
|
|
13
|
-
const constants_2 = require("./constants");
|
|
14
|
-
const adm_zip_1 = tslib_1.__importDefault(require("adm-zip"));
|
|
15
|
-
const fs = tslib_1.__importStar(require("fs-extra"));
|
|
16
|
-
const folder_1 = require("../../../folder");
|
|
17
|
-
const path_1 = tslib_1.__importDefault(require("path"));
|
|
18
|
-
const util = tslib_1.__importStar(require("util"));
|
|
19
|
-
const common_1 = require("../../../common");
|
|
20
|
-
const uuid_1 = require("uuid");
|
|
21
|
-
const isUUID_1 = tslib_1.__importDefault(require("validator/lib/isUUID"));
|
|
22
|
-
const mustache_1 = tslib_1.__importDefault(require("mustache"));
|
|
23
|
-
const utils_1 = require("./utils/utils");
|
|
24
|
-
const telemetry_1 = require("./utils/telemetry");
|
|
25
|
-
const lodash_1 = tslib_1.__importDefault(require("lodash"));
|
|
26
|
-
const constants_3 = require("../../../common/constants");
|
|
27
|
-
const manifestTemplate_1 = require("./manifestTemplate");
|
|
28
|
-
const environment_1 = require("../../../core/environment");
|
|
29
|
-
const localizeUtils_1 = require("../../../common/localizeUtils");
|
|
30
|
-
const utils_2 = require("../../../common/utils");
|
|
31
|
-
const strings_1 = require("../../resource/bot/resources/strings");
|
|
32
|
-
class AppStudioPluginImpl {
|
|
33
|
-
constructor() {
|
|
34
|
-
this.commonProperties = {};
|
|
35
|
-
}
|
|
36
|
-
async provision(ctx) {
|
|
37
|
-
var _a, _b, _c;
|
|
38
|
-
const provisionProgress = (_a = ctx.ui) === null || _a === void 0 ? void 0 : _a.createProgressBar(localizeUtils_1.getLocalizedString("plugins.appstudio.provisionTitle"), 1);
|
|
39
|
-
await (provisionProgress === null || provisionProgress === void 0 ? void 0 : provisionProgress.start());
|
|
40
|
-
await (provisionProgress === null || provisionProgress === void 0 ? void 0 : provisionProgress.next(localizeUtils_1.getLocalizedString("plugins.appstudio.provisionProgress", ctx.projectSettings.appName)));
|
|
41
|
-
let remoteTeamsAppId = await this.getTeamsAppId(ctx);
|
|
42
|
-
let create = false;
|
|
43
|
-
if (!remoteTeamsAppId) {
|
|
44
|
-
create = true;
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
const appStudioTokenRes = await (ctx === null || ctx === void 0 ? void 0 : ctx.m365TokenProvider.getAccessToken({
|
|
48
|
-
scopes: common_1.AppStudioScopes,
|
|
49
|
-
}));
|
|
50
|
-
if (appStudioTokenRes.isErr()) {
|
|
51
|
-
return teamsfx_api_1.err(appStudioTokenRes.error);
|
|
52
|
-
}
|
|
53
|
-
const appStudioToken = appStudioTokenRes.value;
|
|
54
|
-
try {
|
|
55
|
-
await appStudio_1.AppStudioClient.getApp(remoteTeamsAppId, appStudioToken, ctx.logProvider);
|
|
56
|
-
}
|
|
57
|
-
catch (error) {
|
|
58
|
-
create = true;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
if (create) {
|
|
62
|
-
const result = await this.createApp(ctx, false);
|
|
63
|
-
if (result.isErr()) {
|
|
64
|
-
await (provisionProgress === null || provisionProgress === void 0 ? void 0 : provisionProgress.end(false));
|
|
65
|
-
return teamsfx_api_1.err(result.error);
|
|
66
|
-
}
|
|
67
|
-
remoteTeamsAppId = result.value.teamsAppId;
|
|
68
|
-
(_b = ctx.logProvider) === null || _b === void 0 ? void 0 : _b.info(localizeUtils_1.getLocalizedString("plugins.appstudio.teamsAppCreatedNotice", remoteTeamsAppId));
|
|
69
|
-
}
|
|
70
|
-
(_c = ctx.envInfo.state.get(constants_1.PluginNames.APPST)) === null || _c === void 0 ? void 0 : _c.set(constants_2.Constants.TEAMS_APP_ID, remoteTeamsAppId);
|
|
71
|
-
await (provisionProgress === null || provisionProgress === void 0 ? void 0 : provisionProgress.end(true));
|
|
72
|
-
return teamsfx_api_1.ok(remoteTeamsAppId);
|
|
73
|
-
}
|
|
74
|
-
async postProvision(ctx) {
|
|
75
|
-
var _a, _b;
|
|
76
|
-
const postProvisionProgress = (_a = ctx.ui) === null || _a === void 0 ? void 0 : _a.createProgressBar(localizeUtils_1.getLocalizedString("plugins.appstudio.provisionTitle"), 1);
|
|
77
|
-
await (postProvisionProgress === null || postProvisionProgress === void 0 ? void 0 : postProvisionProgress.start(localizeUtils_1.getLocalizedString("plugins.appstudio.postProvisionProgress", ctx.projectSettings.appName)));
|
|
78
|
-
await (postProvisionProgress === null || postProvisionProgress === void 0 ? void 0 : postProvisionProgress.next());
|
|
79
|
-
const result = await this.updateApp(ctx, false);
|
|
80
|
-
if (result.isErr()) {
|
|
81
|
-
await (postProvisionProgress === null || postProvisionProgress === void 0 ? void 0 : postProvisionProgress.end(false));
|
|
82
|
-
return teamsfx_api_1.err(result.error);
|
|
83
|
-
}
|
|
84
|
-
(_b = ctx.logProvider) === null || _b === void 0 ? void 0 : _b.info(localizeUtils_1.getLocalizedString("plugins.appstudio.teamsAppUpdatedLog", result.value));
|
|
85
|
-
await (postProvisionProgress === null || postProvisionProgress === void 0 ? void 0 : postProvisionProgress.end(true));
|
|
86
|
-
return teamsfx_api_1.ok(result.value);
|
|
87
|
-
}
|
|
88
|
-
async validateManifest(ctx, isLocalDebug) {
|
|
89
|
-
var _a;
|
|
90
|
-
let manifestString = undefined;
|
|
91
|
-
if (common_1.isSPFxProject(ctx.projectSettings)) {
|
|
92
|
-
manifestString = await this.getSPFxManifest(ctx);
|
|
93
|
-
const manifest = JSON.parse(manifestString);
|
|
94
|
-
if (!isUUID_1.default(manifest.id)) {
|
|
95
|
-
manifest.id = uuid_1.v4();
|
|
96
|
-
}
|
|
97
|
-
manifestString = JSON.stringify(manifest, null, 4);
|
|
98
|
-
}
|
|
99
|
-
else {
|
|
100
|
-
const manifestRes = await this.getManifest(ctx, isLocalDebug);
|
|
101
|
-
if (manifestRes.isErr()) {
|
|
102
|
-
(_a = ctx.logProvider) === null || _a === void 0 ? void 0 : _a.error(localizeUtils_1.getLocalizedString("plugins.appstudio.validationFailedNotice"));
|
|
103
|
-
return teamsfx_api_1.err(manifestRes.error);
|
|
104
|
-
}
|
|
105
|
-
else {
|
|
106
|
-
manifestString = JSON.stringify(manifestRes.value);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
const manifest = JSON.parse(manifestString);
|
|
110
|
-
let errors;
|
|
111
|
-
const res = await this.validateManifestAgainstSchema(manifest);
|
|
112
|
-
if (res.isOk()) {
|
|
113
|
-
errors = res.value;
|
|
114
|
-
}
|
|
115
|
-
else {
|
|
116
|
-
return teamsfx_api_1.err(res.error);
|
|
117
|
-
}
|
|
118
|
-
const appDirectory = await common_1.getAppDirectory(ctx.root);
|
|
119
|
-
if (manifest.icons.outline) {
|
|
120
|
-
if (manifest.icons.outline.startsWith("https://") ||
|
|
121
|
-
manifest.icons.outline.startsWith("http://")) {
|
|
122
|
-
errors.push(localizeUtils_1.getLocalizedString("plugins.appstudio.relativePathTip", "icons.outline"));
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
const outlineFile = path_1.default.join(appDirectory, manifest.icons.outline);
|
|
126
|
-
if (!(await fs.pathExists(outlineFile))) {
|
|
127
|
-
errors.push(localizeUtils_1.getLocalizedString("error.appstudio.fileNotFoundError", outlineFile));
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
if (manifest.icons.color) {
|
|
132
|
-
if (manifest.icons.color.startsWith("https://") ||
|
|
133
|
-
manifest.icons.color.startsWith("http://")) {
|
|
134
|
-
errors.push(localizeUtils_1.getLocalizedString("plugins.appstudio.relativePathTip", "icons.color"));
|
|
135
|
-
}
|
|
136
|
-
else {
|
|
137
|
-
const colorFile = path_1.default.join(appDirectory, manifest.icons.color);
|
|
138
|
-
if (!(await fs.pathExists(colorFile))) {
|
|
139
|
-
errors.push(localizeUtils_1.getLocalizedString("error.appstudio.fileNotFoundError", colorFile));
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
return teamsfx_api_1.ok(errors);
|
|
144
|
-
}
|
|
145
|
-
async updateManifest(ctx, isLocalDebug) {
|
|
146
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
147
|
-
const teamsAppId = await this.getTeamsAppId(ctx);
|
|
148
|
-
let manifest;
|
|
149
|
-
let manifestString;
|
|
150
|
-
const manifestResult = await manifestTemplate_1.loadManifest(ctx.root);
|
|
151
|
-
if (manifestResult.isErr()) {
|
|
152
|
-
return teamsfx_api_1.err(manifestResult.error);
|
|
153
|
-
}
|
|
154
|
-
else {
|
|
155
|
-
manifestString = JSON.stringify(manifestResult.value);
|
|
156
|
-
}
|
|
157
|
-
if (common_1.isSPFxProject(ctx.projectSettings)) {
|
|
158
|
-
manifestString = await this.getSPFxManifest(ctx);
|
|
159
|
-
manifest = JSON.parse(manifestString);
|
|
160
|
-
}
|
|
161
|
-
else {
|
|
162
|
-
const appManifest = await this.getManifest(ctx, isLocalDebug);
|
|
163
|
-
if (appManifest.isErr()) {
|
|
164
|
-
(_a = ctx.logProvider) === null || _a === void 0 ? void 0 : _a.error(localizeUtils_1.getLocalizedString("error.appstudio.updateManifestFailed"));
|
|
165
|
-
const isProvisionSucceeded = !!((_b = ctx.envInfo.state
|
|
166
|
-
.get("solution")) === null || _b === void 0 ? void 0 : _b.get(constants_1.SOLUTION_PROVISION_SUCCEEDED));
|
|
167
|
-
if (appManifest.error.name === errors_1.AppStudioError.GetRemoteConfigFailedError.name &&
|
|
168
|
-
!isProvisionSucceeded) {
|
|
169
|
-
return teamsfx_api_1.err(results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.GetRemoteConfigFailedError.name, errors_1.AppStudioError.GetRemoteConfigFailedError.message(localizeUtils_1.getLocalizedString("error.appstudio.updateManifestFailed"), isProvisionSucceeded), constants_3.HelpLinks.WhyNeedProvision));
|
|
170
|
-
}
|
|
171
|
-
else {
|
|
172
|
-
return teamsfx_api_1.err(appManifest.error);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
manifest = appManifest.value;
|
|
176
|
-
}
|
|
177
|
-
const manifestFileName = `${ctx.root}/${teamsfx_api_1.BuildFolderName}/${teamsfx_api_1.AppPackageFolderName}/manifest.` +
|
|
178
|
-
(isLocalDebug ? environment_1.environmentManager.getLocalEnvName() : ctx.envInfo.envName) +
|
|
179
|
-
`.json`;
|
|
180
|
-
if (!(await fs.pathExists(manifestFileName))) {
|
|
181
|
-
const isProvisionSucceeded = !!((_c = ctx.envInfo.state
|
|
182
|
-
.get("solution")) === null || _c === void 0 ? void 0 : _c.get(constants_1.SOLUTION_PROVISION_SUCCEEDED));
|
|
183
|
-
if (!isProvisionSucceeded) {
|
|
184
|
-
const msgs = errors_1.AppStudioError.FileNotFoundError.message(manifestFileName);
|
|
185
|
-
return teamsfx_api_1.err(results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.FileNotFoundError.name, [
|
|
186
|
-
msgs[0] + localizeUtils_1.getDefaultString("plugins.appstudio.provisionTip"),
|
|
187
|
-
msgs[1] + localizeUtils_1.getLocalizedString("plugins.appstudio.provisionTip"),
|
|
188
|
-
], constants_3.HelpLinks.WhyNeedProvision));
|
|
189
|
-
}
|
|
190
|
-
await this.buildTeamsAppPackage(ctx, isLocalDebug);
|
|
191
|
-
}
|
|
192
|
-
const existingManifest = await fs.readJSON(manifestFileName);
|
|
193
|
-
delete manifest.id;
|
|
194
|
-
delete existingManifest.id;
|
|
195
|
-
if (!lodash_1.default.isEqual(manifest, existingManifest)) {
|
|
196
|
-
const res = await ((_d = ctx.ui) === null || _d === void 0 ? void 0 : _d.showMessage("warn", localizeUtils_1.getLocalizedString("plugins.appstudio.updateManifestTip"), true, "Preview only", "Preview and update"));
|
|
197
|
-
if ((res === null || res === void 0 ? void 0 : res.isOk()) && res.value === "Preview only") {
|
|
198
|
-
const result = await this.buildTeamsAppPackage(ctx, isLocalDebug);
|
|
199
|
-
return teamsfx_api_1.ok(result);
|
|
200
|
-
}
|
|
201
|
-
else if ((res === null || res === void 0 ? void 0 : res.isOk()) && res.value === "Preview and update") {
|
|
202
|
-
this.buildTeamsAppPackage(ctx, isLocalDebug);
|
|
203
|
-
}
|
|
204
|
-
else {
|
|
205
|
-
return teamsfx_api_1.err(teamsfx_api_1.UserCancelError);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
const appStudioTokenRes = await (ctx === null || ctx === void 0 ? void 0 : ctx.m365TokenProvider.getAccessToken({
|
|
209
|
-
scopes: common_1.AppStudioScopes,
|
|
210
|
-
}));
|
|
211
|
-
if (appStudioTokenRes.isErr()) {
|
|
212
|
-
return teamsfx_api_1.err(appStudioTokenRes.error);
|
|
213
|
-
}
|
|
214
|
-
const appStudioToken = appStudioTokenRes.value;
|
|
215
|
-
try {
|
|
216
|
-
const localUpdateTime = isLocalDebug
|
|
217
|
-
? undefined
|
|
218
|
-
: (_e = ctx.envInfo.state.get(constants_1.PluginNames.APPST)) === null || _e === void 0 ? void 0 : _e.get(constants_2.Constants.TEAMS_APP_UPDATED_AT);
|
|
219
|
-
if (localUpdateTime) {
|
|
220
|
-
const app = await appStudio_1.AppStudioClient.getApp(teamsAppId, appStudioToken, ctx.logProvider);
|
|
221
|
-
const devPortalUpdateTime = (_g = (_f = new Date(app.updatedAt)) === null || _f === void 0 ? void 0 : _f.getTime()) !== null && _g !== void 0 ? _g : -1;
|
|
222
|
-
if (localUpdateTime < devPortalUpdateTime) {
|
|
223
|
-
const res = await ((_h = ctx.ui) === null || _h === void 0 ? void 0 : _h.showMessage("warn", localizeUtils_1.getLocalizedString("plugins.appstudio.updateOverwriteTip"), true, "Overwrite and update"));
|
|
224
|
-
if (!((res === null || res === void 0 ? void 0 : res.isOk()) && res.value === "Overwrite and update")) {
|
|
225
|
-
return teamsfx_api_1.err(teamsfx_api_1.UserCancelError);
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
const result = await this.updateApp(ctx, false);
|
|
230
|
-
if (result.isErr()) {
|
|
231
|
-
return teamsfx_api_1.err(result.error);
|
|
232
|
-
}
|
|
233
|
-
(_j = ctx.logProvider) === null || _j === void 0 ? void 0 : _j.info(localizeUtils_1.getLocalizedString("plugins.appstudio.teamsAppUpdatedLog", teamsAppId));
|
|
234
|
-
(_k = ctx.ui) === null || _k === void 0 ? void 0 : _k.showMessage("info", localizeUtils_1.getLocalizedString("plugins.appstudio.teamsAppUpdatedNotice"), false, constants_2.Constants.VIEW_DEVELOPER_PORTAL).then((res) => {
|
|
235
|
-
var _a;
|
|
236
|
-
if ((res === null || res === void 0 ? void 0 : res.isOk()) && res.value === constants_2.Constants.VIEW_DEVELOPER_PORTAL) {
|
|
237
|
-
(_a = ctx.ui) === null || _a === void 0 ? void 0 : _a.openUrl(util.format(constants_2.Constants.DEVELOPER_PORTAL_APP_PACKAGE_URL, result.value));
|
|
238
|
-
}
|
|
239
|
-
});
|
|
240
|
-
return teamsfx_api_1.ok(teamsAppId);
|
|
241
|
-
}
|
|
242
|
-
catch (error) {
|
|
243
|
-
if (error.message && error.message.includes("404")) {
|
|
244
|
-
return teamsfx_api_1.err(results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.UpdateManifestWithInvalidAppError.name, errors_1.AppStudioError.UpdateManifestWithInvalidAppError.message(teamsAppId)));
|
|
245
|
-
}
|
|
246
|
-
else {
|
|
247
|
-
return teamsfx_api_1.err(error);
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
async scaffold(ctx) {
|
|
252
|
-
var _a, _b, _c;
|
|
253
|
-
let manifest;
|
|
254
|
-
const templatesFolder = folder_1.getTemplatesFolder();
|
|
255
|
-
// cannot use getAppDirectory before creating the manifest file
|
|
256
|
-
const appDir = path_1.default.join(await utils_2.getProjectTemplatesFolderPath(ctx.root), "appPackage");
|
|
257
|
-
if (common_1.isSPFxProject(ctx.projectSettings)) {
|
|
258
|
-
const templateManifestFolder = path_1.default.join(templatesFolder, "plugins", "resource", "spfx");
|
|
259
|
-
const manifestFile = path_1.default.resolve(templateManifestFolder, "./solution/manifest_multi_env.json");
|
|
260
|
-
const manifestString = (await fs.readFile(manifestFile)).toString();
|
|
261
|
-
manifest = JSON.parse(manifestString);
|
|
262
|
-
}
|
|
263
|
-
else {
|
|
264
|
-
const solutionSettings = (_a = ctx.projectSettings) === null || _a === void 0 ? void 0 : _a.solutionSettings;
|
|
265
|
-
const hasFrontend = solutionSettings.capabilities.includes(question_1.TabOptionItem.id);
|
|
266
|
-
const hasBot = solutionSettings.capabilities.includes(question_1.BotOptionItem.id);
|
|
267
|
-
const scenarios = (_b = ctx.answers) === null || _b === void 0 ? void 0 : _b[question_1.AzureSolutionQuestionNames.Scenarios];
|
|
268
|
-
const hasCommandAndResponseBot = (scenarios === null || scenarios === void 0 ? void 0 : scenarios.includes) && scenarios.includes(question_1.BotScenario.CommandAndResponseBot);
|
|
269
|
-
const hasNotificationBot = (scenarios === null || scenarios === void 0 ? void 0 : scenarios.includes) && scenarios.includes(question_1.BotScenario.NotificationBot);
|
|
270
|
-
const hasMessageExtension = solutionSettings.capabilities.includes(question_1.MessageExtensionItem.id);
|
|
271
|
-
const hasAad = common_1.isAADEnabled(solutionSettings);
|
|
272
|
-
const isM365 = (_c = ctx.projectSettings) === null || _c === void 0 ? void 0 : _c.isM365;
|
|
273
|
-
manifest = await createManifest(hasFrontend, hasBot, hasNotificationBot, hasCommandAndResponseBot, hasMessageExtension, false, hasAad, isM365);
|
|
274
|
-
}
|
|
275
|
-
await fs.ensureDir(appDir);
|
|
276
|
-
const manifestTemplatePath = await manifestTemplate_1.getManifestTemplatePath(ctx.root);
|
|
277
|
-
await fs.writeFile(manifestTemplatePath, JSON.stringify(manifest, null, 4));
|
|
278
|
-
const defaultColorPath = path_1.default.join(templatesFolder, constants_2.COLOR_TEMPLATE);
|
|
279
|
-
const defaultOutlinePath = path_1.default.join(templatesFolder, constants_2.OUTLINE_TEMPLATE);
|
|
280
|
-
const resourcesDir = path_1.default.join(appDir, constants_2.MANIFEST_RESOURCES);
|
|
281
|
-
await fs.ensureDir(resourcesDir);
|
|
282
|
-
await fs.copy(defaultColorPath, path_1.default.join(resourcesDir, constants_2.DEFAULT_COLOR_PNG_FILENAME));
|
|
283
|
-
await fs.copy(defaultOutlinePath, path_1.default.join(resourcesDir, constants_2.DEFAULT_OUTLINE_PNG_FILENAME));
|
|
284
|
-
return undefined;
|
|
285
|
-
}
|
|
286
|
-
async buildTeamsAppPackage(ctx, isLocalDebug) {
|
|
287
|
-
var _a, _b, _c;
|
|
288
|
-
// Validate manifest
|
|
289
|
-
const validationResult = await this.validateManifest(ctx, isLocalDebug);
|
|
290
|
-
if (validationResult.isOk() && validationResult.value.length > 0) {
|
|
291
|
-
const errMessage = errors_1.AppStudioError.ValidationFailedError.message(validationResult.value);
|
|
292
|
-
const validationFailed = results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.ValidationFailedError.name, errMessage);
|
|
293
|
-
throw validationFailed;
|
|
294
|
-
}
|
|
295
|
-
let manifestString = undefined;
|
|
296
|
-
if (!((_a = ctx.envInfo) === null || _a === void 0 ? void 0 : _a.envName)) {
|
|
297
|
-
throw results_1.AppStudioResultFactory.SystemError("InvalidInputError", [
|
|
298
|
-
localizeUtils_1.getDefaultString("error.appstudio.noEnvInfo"),
|
|
299
|
-
localizeUtils_1.getLocalizedString("error.appstudio.noEnvInfo"),
|
|
300
|
-
]);
|
|
301
|
-
}
|
|
302
|
-
const appDirectory = await common_1.getAppDirectory(ctx.root);
|
|
303
|
-
let zipFileName;
|
|
304
|
-
if (isLocalDebug) {
|
|
305
|
-
zipFileName = path_1.default.join(ctx.root, teamsfx_api_1.BuildFolderName, teamsfx_api_1.AppPackageFolderName, "appPackage.local.zip");
|
|
306
|
-
}
|
|
307
|
-
else {
|
|
308
|
-
zipFileName = path_1.default.join(ctx.root, teamsfx_api_1.BuildFolderName, teamsfx_api_1.AppPackageFolderName, `appPackage.${ctx.envInfo.envName}.zip`);
|
|
309
|
-
}
|
|
310
|
-
if (common_1.isSPFxProject(ctx.projectSettings)) {
|
|
311
|
-
manifestString = await this.getSPFxManifest(ctx);
|
|
312
|
-
const manifest = JSON.parse(manifestString);
|
|
313
|
-
if (!isUUID_1.default(manifest.id)) {
|
|
314
|
-
manifest.id = uuid_1.v4();
|
|
315
|
-
}
|
|
316
|
-
manifestString = JSON.stringify(manifest, null, 4);
|
|
317
|
-
}
|
|
318
|
-
else {
|
|
319
|
-
const manifest = await this.getManifest(ctx, isLocalDebug);
|
|
320
|
-
if (manifest.isOk()) {
|
|
321
|
-
manifestString = JSON.stringify(manifest.value, null, 4);
|
|
322
|
-
}
|
|
323
|
-
else {
|
|
324
|
-
(_b = ctx.logProvider) === null || _b === void 0 ? void 0 : _b.error(localizeUtils_1.getLocalizedString("plugins.appstudio.buildFailedNotice"));
|
|
325
|
-
const isProvisionSucceeded = !!((_c = ctx.envInfo.state
|
|
326
|
-
.get("solution")) === null || _c === void 0 ? void 0 : _c.get(constants_1.SOLUTION_PROVISION_SUCCEEDED));
|
|
327
|
-
if (manifest.error.name === errors_1.AppStudioError.GetRemoteConfigFailedError.name &&
|
|
328
|
-
!isProvisionSucceeded) {
|
|
329
|
-
throw results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.GetRemoteConfigFailedError.name, errors_1.AppStudioError.GetRemoteConfigFailedError.message(localizeUtils_1.getLocalizedString("plugins.appstudio.buildFailedNotice"), isProvisionSucceeded), constants_3.HelpLinks.WhyNeedProvision);
|
|
330
|
-
}
|
|
331
|
-
else {
|
|
332
|
-
throw manifest.error;
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
const status = await fs.lstat(appDirectory);
|
|
337
|
-
if (!status.isDirectory()) {
|
|
338
|
-
throw results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.NotADirectoryError.name, errors_1.AppStudioError.NotADirectoryError.message(appDirectory));
|
|
339
|
-
}
|
|
340
|
-
const zip = new adm_zip_1.default();
|
|
341
|
-
zip.addFile(constants_2.Constants.MANIFEST_FILE, Buffer.from(manifestString));
|
|
342
|
-
const manifest = JSON.parse(manifestString);
|
|
343
|
-
// color icon
|
|
344
|
-
if (manifest.icons.color && !manifest.icons.color.startsWith("https://")) {
|
|
345
|
-
const colorFile = `${appDirectory}/${manifest.icons.color}`;
|
|
346
|
-
const fileExists = await fs.pathExists(colorFile);
|
|
347
|
-
if (!fileExists) {
|
|
348
|
-
throw results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.FileNotFoundError.name, errors_1.AppStudioError.FileNotFoundError.message(colorFile));
|
|
349
|
-
}
|
|
350
|
-
const dir = path_1.default.dirname(manifest.icons.color);
|
|
351
|
-
zip.addLocalFile(colorFile, dir === "." ? "" : dir);
|
|
352
|
-
}
|
|
353
|
-
// outline icon
|
|
354
|
-
if (manifest.icons.outline && !manifest.icons.outline.startsWith("https://")) {
|
|
355
|
-
const outlineFile = `${appDirectory}/${manifest.icons.outline}`;
|
|
356
|
-
const fileExists = await fs.pathExists(outlineFile);
|
|
357
|
-
if (!fileExists) {
|
|
358
|
-
throw results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.FileNotFoundError.name, errors_1.AppStudioError.FileNotFoundError.message(outlineFile));
|
|
359
|
-
}
|
|
360
|
-
const dir = path_1.default.dirname(manifest.icons.outline);
|
|
361
|
-
zip.addLocalFile(outlineFile, dir === "." ? "" : dir);
|
|
362
|
-
}
|
|
363
|
-
await fs.ensureDir(path_1.default.dirname(zipFileName));
|
|
364
|
-
const manifestFileName = `${ctx.root}/${teamsfx_api_1.BuildFolderName}/${teamsfx_api_1.AppPackageFolderName}/manifest.` +
|
|
365
|
-
(isLocalDebug ? "local" : ctx.envInfo.envName) +
|
|
366
|
-
`.json`;
|
|
367
|
-
if (await fs.pathExists(manifestFileName)) {
|
|
368
|
-
await fs.chmod(manifestFileName, 0o777);
|
|
369
|
-
}
|
|
370
|
-
await fs.writeFile(manifestFileName, manifestString);
|
|
371
|
-
await fs.chmod(manifestFileName, 0o444);
|
|
372
|
-
// localization file
|
|
373
|
-
if (manifest.localizationInfo &&
|
|
374
|
-
manifest.localizationInfo.additionalLanguages &&
|
|
375
|
-
manifest.localizationInfo.additionalLanguages.length > 0) {
|
|
376
|
-
await Promise.all(manifest.localizationInfo.additionalLanguages.map(async function (language) {
|
|
377
|
-
const file = language.file;
|
|
378
|
-
const fileName = `${appDirectory}/${file}`;
|
|
379
|
-
if (!(await fs.pathExists(fileName))) {
|
|
380
|
-
throw results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.FileNotFoundError.name, errors_1.AppStudioError.FileNotFoundError.message(fileName));
|
|
381
|
-
}
|
|
382
|
-
const dir = path_1.default.dirname(file);
|
|
383
|
-
zip.addLocalFile(fileName, dir === "." ? "" : dir);
|
|
384
|
-
}));
|
|
385
|
-
}
|
|
386
|
-
zip.writeZip(zipFileName);
|
|
387
|
-
if (common_1.isSPFxProject(ctx.projectSettings)) {
|
|
388
|
-
const spfxTeamsPath = `${ctx.root}/SPFx/teams`;
|
|
389
|
-
await fs.copyFile(zipFileName, path_1.default.join(spfxTeamsPath, "TeamsSPFxApp.zip"));
|
|
390
|
-
for (const file of await fs.readdir(`${ctx.root}/SPFx/teams/`)) {
|
|
391
|
-
if (file.endsWith("color.png") &&
|
|
392
|
-
manifest.icons.color &&
|
|
393
|
-
!manifest.icons.color.startsWith("https://")) {
|
|
394
|
-
const colorFile = `${appDirectory}/${manifest.icons.color}`;
|
|
395
|
-
const color = await fs.readFile(colorFile);
|
|
396
|
-
await fs.writeFile(path_1.default.join(spfxTeamsPath, file), color);
|
|
397
|
-
}
|
|
398
|
-
else if (file.endsWith("outline.png") &&
|
|
399
|
-
manifest.icons.outline &&
|
|
400
|
-
!manifest.icons.outline.startsWith("https://")) {
|
|
401
|
-
const outlineFile = `${appDirectory}/${manifest.icons.outline}`;
|
|
402
|
-
const outline = await fs.readFile(outlineFile);
|
|
403
|
-
await fs.writeFile(path_1.default.join(spfxTeamsPath, file), outline);
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
if (appDirectory === path_1.default.join(ctx.root, `.${teamsfx_api_1.ConfigFolderName}`)) {
|
|
408
|
-
await fs.ensureDir(path_1.default.join(ctx.root, `${teamsfx_api_1.AppPackageFolderName}`));
|
|
409
|
-
const formerZipFileName = `${appDirectory}/appPackage.zip`;
|
|
410
|
-
if (await fs.pathExists(formerZipFileName)) {
|
|
411
|
-
await fs.remove(formerZipFileName);
|
|
412
|
-
}
|
|
413
|
-
const projectTemplatesFolderPath = await utils_2.getProjectTemplatesFolderPath(ctx.root);
|
|
414
|
-
await fs.move(path_1.default.join(appDirectory, "manifest.icons.color"), path_1.default.join(projectTemplatesFolderPath, "appPackage", constants_2.MANIFEST_RESOURCES, manifest.icons.color));
|
|
415
|
-
await fs.move(path_1.default.join(appDirectory, "manifest.icons.outline"), path_1.default.join(projectTemplatesFolderPath, "appPackage", constants_2.MANIFEST_RESOURCES, manifest.icons.outline));
|
|
416
|
-
await fs.move(path_1.default.join(appDirectory, constants_2.REMOTE_MANIFEST), path_1.default.join(projectTemplatesFolderPath, "appPackage", constants_2.MANIFEST_TEMPLATE));
|
|
417
|
-
}
|
|
418
|
-
return zipFileName;
|
|
419
|
-
}
|
|
420
|
-
async publish(ctx) {
|
|
421
|
-
var _a, _b;
|
|
422
|
-
let manifest;
|
|
423
|
-
const appDirectory = await common_1.getAppDirectory(ctx.root);
|
|
424
|
-
if (common_1.isSPFxProject(ctx.projectSettings)) {
|
|
425
|
-
const manifestString = await this.getSPFxManifest(ctx);
|
|
426
|
-
manifest = JSON.parse(manifestString);
|
|
427
|
-
}
|
|
428
|
-
else {
|
|
429
|
-
const fillinRes = await this.getManifest(ctx, false);
|
|
430
|
-
if (fillinRes.isOk()) {
|
|
431
|
-
manifest = fillinRes.value;
|
|
432
|
-
}
|
|
433
|
-
else {
|
|
434
|
-
throw fillinRes.error;
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
if (!manifest) {
|
|
438
|
-
throw results_1.AppStudioResultFactory.SystemError(errors_1.AppStudioError.ManifestLoadFailedError.name, errors_1.AppStudioError.ManifestLoadFailedError.message(""));
|
|
439
|
-
}
|
|
440
|
-
// manifest.id === externalID
|
|
441
|
-
const appStudioTokenRes = await (ctx === null || ctx === void 0 ? void 0 : ctx.m365TokenProvider.getAccessToken({
|
|
442
|
-
scopes: common_1.AppStudioScopes,
|
|
443
|
-
}));
|
|
444
|
-
if (appStudioTokenRes.isErr()) {
|
|
445
|
-
throw appStudioTokenRes.error;
|
|
446
|
-
}
|
|
447
|
-
const appStudioToken = appStudioTokenRes.value;
|
|
448
|
-
const existApp = await appStudio_1.AppStudioClient.getAppByTeamsAppId(manifest.id, appStudioToken);
|
|
449
|
-
if (existApp) {
|
|
450
|
-
let executePublishUpdate = false;
|
|
451
|
-
let description = localizeUtils_1.getLocalizedString("plugins.appstudio.updatePublishedAppNotice", existApp.displayName, existApp.publishingState);
|
|
452
|
-
if (existApp.lastModifiedDateTime) {
|
|
453
|
-
description =
|
|
454
|
-
description +
|
|
455
|
-
localizeUtils_1.getLocalizedString("plugins.appstudio.lastModifiedTip", (_a = existApp.lastModifiedDateTime) === null || _a === void 0 ? void 0 : _a.toLocaleString());
|
|
456
|
-
}
|
|
457
|
-
description = description + localizeUtils_1.getLocalizedString("plugins.appstudio.updatePublihsedAppConfirm");
|
|
458
|
-
const res = await ((_b = ctx.ui) === null || _b === void 0 ? void 0 : _b.showMessage("warn", description, true, "Confirm"));
|
|
459
|
-
if ((res === null || res === void 0 ? void 0 : res.isOk()) && res.value === "Confirm")
|
|
460
|
-
executePublishUpdate = true;
|
|
461
|
-
if (executePublishUpdate) {
|
|
462
|
-
const appId = await this.beforePublish(ctx, appDirectory, JSON.stringify(manifest), true);
|
|
463
|
-
return { id: appId, name: manifest.name.short, update: true };
|
|
464
|
-
}
|
|
465
|
-
else {
|
|
466
|
-
throw results_1.AppStudioResultFactory.SystemError(errors_1.AppStudioError.TeamsAppPublishCancelError.name, errors_1.AppStudioError.TeamsAppPublishCancelError.message(manifest.name.short));
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
else {
|
|
470
|
-
const appId = await this.beforePublish(ctx, appDirectory, JSON.stringify(manifest), false);
|
|
471
|
-
return { id: appId, name: manifest.name.short, update: false };
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
async postLocalDebug(ctx) {
|
|
475
|
-
const res = await this.updateApp(ctx, true);
|
|
476
|
-
if (res.isErr()) {
|
|
477
|
-
return res;
|
|
478
|
-
}
|
|
479
|
-
const teamsAppId = res.value;
|
|
480
|
-
ctx.envInfo.state.get(constants_3.ResourcePlugins.AppStudio).set(constants_2.Constants.TEAMS_APP_ID, teamsAppId);
|
|
481
|
-
return teamsfx_api_1.ok(teamsAppId);
|
|
482
|
-
}
|
|
483
|
-
async checkPermission(ctx, userInfo) {
|
|
484
|
-
const appStudioTokenRes = await (ctx === null || ctx === void 0 ? void 0 : ctx.m365TokenProvider.getAccessToken({
|
|
485
|
-
scopes: common_1.AppStudioScopes,
|
|
486
|
-
}));
|
|
487
|
-
if (appStudioTokenRes.isErr()) {
|
|
488
|
-
throw appStudioTokenRes.error;
|
|
489
|
-
}
|
|
490
|
-
const appStudioToken = appStudioTokenRes.value;
|
|
491
|
-
const teamsAppId = await this.getTeamsAppId(ctx);
|
|
492
|
-
if (!teamsAppId) {
|
|
493
|
-
throw new Error(constants_2.ErrorMessages.GetConfigError(constants_2.Constants.TEAMS_APP_ID, constants_1.PluginNames.APPST));
|
|
494
|
-
}
|
|
495
|
-
const teamsAppRoles = await appStudio_1.AppStudioClient.checkPermission(teamsAppId, appStudioToken, userInfo.aadId);
|
|
496
|
-
const result = [
|
|
497
|
-
{
|
|
498
|
-
name: constants_2.Constants.PERMISSIONS.name,
|
|
499
|
-
roles: [teamsAppRoles],
|
|
500
|
-
type: constants_2.Constants.PERMISSIONS.type,
|
|
501
|
-
resourceId: teamsAppId,
|
|
502
|
-
},
|
|
503
|
-
];
|
|
504
|
-
return result;
|
|
505
|
-
}
|
|
506
|
-
async listCollaborator(ctx) {
|
|
507
|
-
const appStudioTokenRes = await (ctx === null || ctx === void 0 ? void 0 : ctx.m365TokenProvider.getAccessToken({
|
|
508
|
-
scopes: common_1.AppStudioScopes,
|
|
509
|
-
}));
|
|
510
|
-
if (appStudioTokenRes.isErr()) {
|
|
511
|
-
throw appStudioTokenRes.error;
|
|
512
|
-
}
|
|
513
|
-
const appStudioToken = appStudioTokenRes.value;
|
|
514
|
-
const teamsAppId = await this.getTeamsAppId(ctx);
|
|
515
|
-
if (!teamsAppId) {
|
|
516
|
-
throw new Error(constants_2.ErrorMessages.GetConfigError(constants_2.Constants.TEAMS_APP_ID, constants_1.PluginNames.APPST));
|
|
517
|
-
}
|
|
518
|
-
let userLists;
|
|
519
|
-
try {
|
|
520
|
-
userLists = await appStudio_1.AppStudioClient.getUserList(teamsAppId, appStudioToken);
|
|
521
|
-
if (!userLists) {
|
|
522
|
-
return [];
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
catch (error) {
|
|
526
|
-
if (error.name === 404) {
|
|
527
|
-
error.message = constants_2.ErrorMessages.TeamsAppNotFound(teamsAppId);
|
|
528
|
-
}
|
|
529
|
-
throw error;
|
|
530
|
-
}
|
|
531
|
-
const teamsAppAdmin = userLists
|
|
532
|
-
.filter((userList) => {
|
|
533
|
-
return userList.isAdministrator;
|
|
534
|
-
})
|
|
535
|
-
.map((userList) => {
|
|
536
|
-
return {
|
|
537
|
-
userObjectId: userList.aadId,
|
|
538
|
-
displayName: userList.displayName,
|
|
539
|
-
userPrincipalName: userList.userPrincipalName,
|
|
540
|
-
resourceId: teamsAppId,
|
|
541
|
-
};
|
|
542
|
-
});
|
|
543
|
-
return teamsAppAdmin;
|
|
544
|
-
}
|
|
545
|
-
async grantPermission(ctx, userInfo) {
|
|
546
|
-
const appStudioTokenRes = await (ctx === null || ctx === void 0 ? void 0 : ctx.m365TokenProvider.getAccessToken({
|
|
547
|
-
scopes: common_1.AppStudioScopes,
|
|
548
|
-
}));
|
|
549
|
-
if (appStudioTokenRes.isErr()) {
|
|
550
|
-
throw appStudioTokenRes.error;
|
|
551
|
-
}
|
|
552
|
-
const appStudioToken = appStudioTokenRes.value;
|
|
553
|
-
const teamsAppId = await this.getTeamsAppId(ctx);
|
|
554
|
-
if (!teamsAppId) {
|
|
555
|
-
const msgs = errors_1.AppStudioError.GrantPermissionFailedError.message(constants_2.ErrorMessages.GetConfigError(constants_2.Constants.TEAMS_APP_ID, constants_1.PluginNames.APPST));
|
|
556
|
-
throw new teamsfx_api_1.UserError(constants_1.PluginNames.APPST, "GetConfigError", msgs[0], msgs[1]);
|
|
557
|
-
}
|
|
558
|
-
try {
|
|
559
|
-
await appStudio_1.AppStudioClient.grantPermission(teamsAppId, appStudioToken, userInfo);
|
|
560
|
-
}
|
|
561
|
-
catch (error) {
|
|
562
|
-
const msgs = errors_1.AppStudioError.GrantPermissionFailedError.message(error === null || error === void 0 ? void 0 : error.message, teamsAppId);
|
|
563
|
-
throw new teamsfx_api_1.UserError(constants_1.PluginNames.APPST, "GrantPermissionFailedError", msgs[0], msgs[1]);
|
|
564
|
-
}
|
|
565
|
-
const result = [
|
|
566
|
-
{
|
|
567
|
-
name: constants_2.Constants.PERMISSIONS.name,
|
|
568
|
-
roles: [constants_2.Constants.PERMISSIONS.admin],
|
|
569
|
-
type: constants_2.Constants.PERMISSIONS.type,
|
|
570
|
-
resourceId: teamsAppId,
|
|
571
|
-
},
|
|
572
|
-
];
|
|
573
|
-
return result;
|
|
574
|
-
}
|
|
575
|
-
async beforePublish(ctx, appDirectory, manifestString, update) {
|
|
576
|
-
var _a, _b;
|
|
577
|
-
const manifest = JSON.parse(manifestString);
|
|
578
|
-
const publishProgress = (_a = ctx.ui) === null || _a === void 0 ? void 0 : _a.createProgressBar(`Publishing ${manifest.name.short}`, 3);
|
|
579
|
-
try {
|
|
580
|
-
// Validate manifest
|
|
581
|
-
await (publishProgress === null || publishProgress === void 0 ? void 0 : publishProgress.start(localizeUtils_1.getLocalizedString("plugins.appstudio.validateProgressStart")));
|
|
582
|
-
const validationResult = await this.validateManifestAgainstSchema(manifest);
|
|
583
|
-
if (validationResult.isErr()) {
|
|
584
|
-
throw validationResult.error;
|
|
585
|
-
}
|
|
586
|
-
else if (validationResult.value.length > 0) {
|
|
587
|
-
throw results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.ValidationFailedError.name, errors_1.AppStudioError.ValidationFailedError.message(validationResult.value));
|
|
588
|
-
}
|
|
589
|
-
// Update App in App Studio
|
|
590
|
-
const remoteTeamsAppId = await this.getTeamsAppId(ctx);
|
|
591
|
-
await (publishProgress === null || publishProgress === void 0 ? void 0 : publishProgress.next(localizeUtils_1.getLocalizedString("plugins.appstudio.publishProgressUpdate", remoteTeamsAppId)));
|
|
592
|
-
const buildPackage = await this.buildTeamsAppPackage(ctx, false);
|
|
593
|
-
const archivedFile = await fs.readFile(buildPackage);
|
|
594
|
-
const appStudioTokenRes = await (ctx === null || ctx === void 0 ? void 0 : ctx.m365TokenProvider.getAccessToken({
|
|
595
|
-
scopes: common_1.AppStudioScopes,
|
|
596
|
-
}));
|
|
597
|
-
if (appStudioTokenRes.isErr()) {
|
|
598
|
-
throw appStudioTokenRes.error;
|
|
599
|
-
}
|
|
600
|
-
const appStudioToken = appStudioTokenRes.value;
|
|
601
|
-
try {
|
|
602
|
-
const app = await appStudio_1.AppStudioClient.importApp(archivedFile, appStudioToken, undefined, true);
|
|
603
|
-
if (app.updatedAt) {
|
|
604
|
-
(_b = ctx.envInfo.state
|
|
605
|
-
.get(constants_1.PluginNames.APPST)) === null || _b === void 0 ? void 0 : _b.set(constants_2.Constants.TEAMS_APP_UPDATED_AT, new Date(app.updatedAt).getTime());
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
catch (e) {
|
|
609
|
-
if (e.name === 404) {
|
|
610
|
-
throw results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.TeamsAppNotFoundError.name, errors_1.AppStudioError.TeamsAppNotFoundError.message(remoteTeamsAppId));
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
// Build Teams App package
|
|
614
|
-
// Platforms will be checked in buildTeamsAppPackage(ctx)
|
|
615
|
-
await (publishProgress === null || publishProgress === void 0 ? void 0 : publishProgress.next(localizeUtils_1.getLocalizedString("plugins.appstudio.publishProgressBuild", appDirectory)));
|
|
616
|
-
const appPackage = await this.buildTeamsAppPackage(ctx, false);
|
|
617
|
-
const appContent = await fs.readFile(appPackage);
|
|
618
|
-
await (publishProgress === null || publishProgress === void 0 ? void 0 : publishProgress.next(localizeUtils_1.getLocalizedString("plugins.appstudio.publishProgressPublish", manifest.name.short)));
|
|
619
|
-
if (update) {
|
|
620
|
-
// Update existing app in App Catalog
|
|
621
|
-
return await appStudio_1.AppStudioClient.publishTeamsAppUpdate(manifest.id, appContent, appStudioToken);
|
|
622
|
-
}
|
|
623
|
-
else {
|
|
624
|
-
// Publish Teams App
|
|
625
|
-
return await appStudio_1.AppStudioClient.publishTeamsApp(manifest.id, appContent, appStudioToken);
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
finally {
|
|
629
|
-
await (publishProgress === null || publishProgress === void 0 ? void 0 : publishProgress.end(true));
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
async getConfigForCreatingManifest(ctx) {
|
|
633
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
634
|
-
const tabEndpoint = (_a = ctx.envInfo.state.get(constants_1.PluginNames.FE)) === null || _a === void 0 ? void 0 : _a.get(constants_2.FRONTEND_ENDPOINT);
|
|
635
|
-
const tabDomain = (_b = ctx.envInfo.state.get(constants_1.PluginNames.FE)) === null || _b === void 0 ? void 0 : _b.get(constants_2.FRONTEND_DOMAIN);
|
|
636
|
-
const tabIndexPath = (_c = ctx.envInfo.state.get(constants_1.PluginNames.FE)) === null || _c === void 0 ? void 0 : _c.get(constants_2.FRONTEND_INDEX_PATH);
|
|
637
|
-
const aadId = (_d = ctx.envInfo.state.get(constants_1.PluginNames.AAD)) === null || _d === void 0 ? void 0 : _d.get(constants_1.REMOTE_AAD_ID);
|
|
638
|
-
const botId = (_e = ctx.envInfo.state.get(constants_1.PluginNames.BOT)) === null || _e === void 0 ? void 0 : _e.get(constants_2.BOT_ID);
|
|
639
|
-
const botDomain = (_f = ctx.envInfo.state.get(constants_1.PluginNames.BOT)) === null || _f === void 0 ? void 0 : _f.get(constants_1.BOT_DOMAIN);
|
|
640
|
-
const teamsAppId = await this.getTeamsAppId(ctx);
|
|
641
|
-
// This config value is set by aadPlugin.setApplicationInContext. so aadPlugin.setApplicationInContext needs to run first.
|
|
642
|
-
const webApplicationInfoResource = (_g = ctx.envInfo.state
|
|
643
|
-
.get(constants_1.PluginNames.AAD)) === null || _g === void 0 ? void 0 : _g.get(constants_1.WEB_APPLICATION_INFO_SOURCE);
|
|
644
|
-
return {
|
|
645
|
-
tabEndpoint,
|
|
646
|
-
tabDomain,
|
|
647
|
-
tabIndexPath,
|
|
648
|
-
aadId,
|
|
649
|
-
botDomain,
|
|
650
|
-
botId,
|
|
651
|
-
webApplicationInfoResource,
|
|
652
|
-
teamsAppId,
|
|
653
|
-
};
|
|
654
|
-
}
|
|
655
|
-
// TODO: remove isLocalDebug later after merging local and remote configs
|
|
656
|
-
async getTeamsAppId(ctx) {
|
|
657
|
-
var _a;
|
|
658
|
-
let teamsAppId = "";
|
|
659
|
-
// User may manually update id in manifest template file, rather than configuration file
|
|
660
|
-
// The id in manifest template file should override configurations
|
|
661
|
-
const manifestResult = await manifestTemplate_1.loadManifest(ctx.root);
|
|
662
|
-
if (manifestResult.isOk()) {
|
|
663
|
-
teamsAppId = manifestResult.value.id;
|
|
664
|
-
}
|
|
665
|
-
if (!isUUID_1.default(teamsAppId)) {
|
|
666
|
-
teamsAppId = (_a = ctx.envInfo.state.get(constants_1.PluginNames.APPST)) === null || _a === void 0 ? void 0 : _a.get(constants_2.Constants.TEAMS_APP_ID);
|
|
667
|
-
}
|
|
668
|
-
return teamsAppId;
|
|
669
|
-
}
|
|
670
|
-
async createApp(ctx, isLocalDebug) {
|
|
671
|
-
const appDirectory = await common_1.getAppDirectory(ctx.root);
|
|
672
|
-
const status = await fs.lstat(appDirectory);
|
|
673
|
-
if (!status.isDirectory()) {
|
|
674
|
-
throw results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.NotADirectoryError.name, errors_1.AppStudioError.NotADirectoryError.message(appDirectory));
|
|
675
|
-
}
|
|
676
|
-
const manifestResult = await manifestTemplate_1.loadManifest(ctx.root);
|
|
677
|
-
if (manifestResult.isErr()) {
|
|
678
|
-
return teamsfx_api_1.err(manifestResult.error);
|
|
679
|
-
}
|
|
680
|
-
let manifest = manifestResult.value;
|
|
681
|
-
manifest.bots = undefined;
|
|
682
|
-
manifest.composeExtensions = undefined;
|
|
683
|
-
if (isLocalDebug || !isUUID_1.default(manifest.id)) {
|
|
684
|
-
manifest.id = uuid_1.v4();
|
|
685
|
-
}
|
|
686
|
-
// Corner case: icons path defined in config file
|
|
687
|
-
let manifestString = JSON.stringify(manifestResult.value);
|
|
688
|
-
const view = {
|
|
689
|
-
config: ctx.envInfo.config,
|
|
690
|
-
};
|
|
691
|
-
manifestString = utils_1.renderTemplate(manifestString, view);
|
|
692
|
-
manifest = JSON.parse(manifestString);
|
|
693
|
-
const colorFile = `${appDirectory}/${manifest.icons.color}`;
|
|
694
|
-
if (!(await fs.pathExists(colorFile))) {
|
|
695
|
-
throw results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.FileNotFoundError.name, errors_1.AppStudioError.FileNotFoundError.message(colorFile));
|
|
696
|
-
}
|
|
697
|
-
const outlineFile = `${appDirectory}/${manifest.icons.outline}`;
|
|
698
|
-
if (!(await fs.pathExists(outlineFile))) {
|
|
699
|
-
throw results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.FileNotFoundError.name, errors_1.AppStudioError.FileNotFoundError.message(outlineFile));
|
|
700
|
-
}
|
|
701
|
-
const zip = new adm_zip_1.default();
|
|
702
|
-
zip.addFile(constants_2.Constants.MANIFEST_FILE, Buffer.from(JSON.stringify(manifest)));
|
|
703
|
-
zip.addLocalFile(colorFile);
|
|
704
|
-
zip.addLocalFile(outlineFile);
|
|
705
|
-
const archivedFile = zip.toBuffer();
|
|
706
|
-
const appStudioTokenRes = await (ctx === null || ctx === void 0 ? void 0 : ctx.m365TokenProvider.getAccessToken({
|
|
707
|
-
scopes: common_1.AppStudioScopes,
|
|
708
|
-
}));
|
|
709
|
-
if (appStudioTokenRes.isErr()) {
|
|
710
|
-
return teamsfx_api_1.err(appStudioTokenRes.error);
|
|
711
|
-
}
|
|
712
|
-
const appStudioToken = appStudioTokenRes.value;
|
|
713
|
-
try {
|
|
714
|
-
const appDefinition = await appStudio_1.AppStudioClient.importApp(archivedFile, appStudioToken, ctx.logProvider);
|
|
715
|
-
return teamsfx_api_1.ok(appDefinition);
|
|
716
|
-
}
|
|
717
|
-
catch (e) {
|
|
718
|
-
return teamsfx_api_1.err(isLocalDebug
|
|
719
|
-
? results_1.AppStudioResultFactory.SystemError(errors_1.AppStudioError.LocalAppIdCreateFailedError.name, errors_1.AppStudioError.LocalAppIdCreateFailedError.message(e))
|
|
720
|
-
: results_1.AppStudioResultFactory.SystemError(errors_1.AppStudioError.RemoteAppIdCreateFailedError.name, errors_1.AppStudioError.RemoteAppIdCreateFailedError.message(e)));
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
async updateApp(ctx, isLocalDebug) {
|
|
724
|
-
var _a;
|
|
725
|
-
const appStudioTokenRes = await (ctx === null || ctx === void 0 ? void 0 : ctx.m365TokenProvider.getAccessToken({
|
|
726
|
-
scopes: common_1.AppStudioScopes,
|
|
727
|
-
}));
|
|
728
|
-
if (appStudioTokenRes.isErr()) {
|
|
729
|
-
return teamsfx_api_1.err(appStudioTokenRes.error);
|
|
730
|
-
}
|
|
731
|
-
const appStudioToken = appStudioTokenRes.value;
|
|
732
|
-
try {
|
|
733
|
-
const buildPackage = await this.buildTeamsAppPackage(ctx, isLocalDebug);
|
|
734
|
-
const archivedFile = await fs.readFile(buildPackage);
|
|
735
|
-
const app = await appStudio_1.AppStudioClient.importApp(archivedFile, appStudioToken, ctx.logProvider, true);
|
|
736
|
-
if (app.updatedAt) {
|
|
737
|
-
const time = new Date(app.updatedAt).getTime();
|
|
738
|
-
(_a = ctx.envInfo.state.get(constants_1.PluginNames.APPST)) === null || _a === void 0 ? void 0 : _a.set(constants_2.Constants.TEAMS_APP_UPDATED_AT, time);
|
|
739
|
-
}
|
|
740
|
-
return teamsfx_api_1.ok(app.teamsAppId);
|
|
741
|
-
}
|
|
742
|
-
catch (e) {
|
|
743
|
-
if (e instanceof Error) {
|
|
744
|
-
return teamsfx_api_1.err(isLocalDebug
|
|
745
|
-
? results_1.AppStudioResultFactory.SystemError(errors_1.AppStudioError.LocalAppIdUpdateFailedError.name, errors_1.AppStudioError.LocalAppIdUpdateFailedError.message(e))
|
|
746
|
-
: results_1.AppStudioResultFactory.SystemError(errors_1.AppStudioError.RemoteAppIdUpdateFailedError.name, errors_1.AppStudioError.RemoteAppIdUpdateFailedError.message(e)));
|
|
747
|
-
}
|
|
748
|
-
throw e;
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
async validateManifestAgainstSchema(manifest) {
|
|
752
|
-
if (manifest.$schema) {
|
|
753
|
-
try {
|
|
754
|
-
const result = await teamsfx_api_1.ManifestUtil.validateManifest(manifest);
|
|
755
|
-
return teamsfx_api_1.ok(result);
|
|
756
|
-
}
|
|
757
|
-
catch (e) {
|
|
758
|
-
return teamsfx_api_1.err(results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.ValidationFailedError.name, errors_1.AppStudioError.ValidationFailedError.message([
|
|
759
|
-
localizeUtils_1.getLocalizedString("error.appstudio.validateFetchSchemaFailed", manifest.$schema, e.message),
|
|
760
|
-
]), constants_3.HelpLinks.WhyNeedProvision));
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
else {
|
|
764
|
-
return teamsfx_api_1.err(results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.ValidationFailedError.name, errors_1.AppStudioError.ValidationFailedError.message([
|
|
765
|
-
localizeUtils_1.getLocalizedString("error.appstudio.validateSchemaNotDefined"),
|
|
766
|
-
]), constants_3.HelpLinks.WhyNeedProvision));
|
|
767
|
-
}
|
|
768
|
-
}
|
|
769
|
-
async getManifest(ctx, isLocalDebug) {
|
|
770
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
771
|
-
const { tabEndpoint, tabDomain, tabIndexPath, aadId, botDomain, botId, webApplicationInfoResource, teamsAppId, } = await this.getConfigForCreatingManifest(ctx);
|
|
772
|
-
const isProvisionSucceeded = !!((_a = ctx.envInfo.state
|
|
773
|
-
.get("solution")) === null || _a === void 0 ? void 0 : _a.get(constants_1.SOLUTION_PROVISION_SUCCEEDED));
|
|
774
|
-
const manifestResult = await manifestTemplate_1.loadManifest(ctx.root);
|
|
775
|
-
if (manifestResult.isErr()) {
|
|
776
|
-
return teamsfx_api_1.err(manifestResult.error);
|
|
777
|
-
}
|
|
778
|
-
let manifestString = JSON.stringify(manifestResult.value);
|
|
779
|
-
// Bot only project, without frontend hosting
|
|
780
|
-
let endpoint = tabEndpoint;
|
|
781
|
-
let indexPath = tabIndexPath;
|
|
782
|
-
let hasFrontend = false;
|
|
783
|
-
const capabilities = await manifestTemplate_1.getCapabilities(ctx.root);
|
|
784
|
-
if (capabilities.isErr()) {
|
|
785
|
-
return teamsfx_api_1.err(capabilities.error);
|
|
786
|
-
}
|
|
787
|
-
hasFrontend =
|
|
788
|
-
capabilities.value.includes("staticTab") || capabilities.value.includes("configurableTab");
|
|
789
|
-
if (!endpoint && !hasFrontend) {
|
|
790
|
-
endpoint = constants_2.DEFAULT_DEVELOPER.websiteUrl;
|
|
791
|
-
indexPath = "";
|
|
792
|
-
}
|
|
793
|
-
const customizedKeys = utils_1.getCustomizedKeys("", JSON.parse(manifestString));
|
|
794
|
-
this.commonProperties = {
|
|
795
|
-
[telemetry_1.TelemetryPropertyKey.customizedKeys]: JSON.stringify(customizedKeys),
|
|
796
|
-
};
|
|
797
|
-
const view = {
|
|
798
|
-
config: ctx.envInfo.config,
|
|
799
|
-
state: {
|
|
800
|
-
"fx-resource-frontend-hosting": {
|
|
801
|
-
endpoint: endpoint !== null && endpoint !== void 0 ? endpoint : "{{state.fx-resource-frontend-hosting.endpoint}}",
|
|
802
|
-
indexPath: indexPath !== null && indexPath !== void 0 ? indexPath : "{{state.fx-resource-frontend-hosting.indexPath}}",
|
|
803
|
-
domain: tabDomain !== null && tabDomain !== void 0 ? tabDomain : "{{state.fx-resource-frontend-hosting.domain}}",
|
|
804
|
-
},
|
|
805
|
-
"fx-resource-aad-app-for-teams": {
|
|
806
|
-
clientId: aadId !== null && aadId !== void 0 ? aadId : "{{state.fx-resource-aad-app-for-teams.clientId}}",
|
|
807
|
-
applicationIdUris: webApplicationInfoResource !== null && webApplicationInfoResource !== void 0 ? webApplicationInfoResource : "{{state.fx-resource-aad-app-for-teams.applicationIdUris}}",
|
|
808
|
-
},
|
|
809
|
-
"fx-resource-appstudio": {
|
|
810
|
-
teamsAppId: teamsAppId !== null && teamsAppId !== void 0 ? teamsAppId : uuid_1.v4(),
|
|
811
|
-
},
|
|
812
|
-
"fx-resource-bot": {
|
|
813
|
-
botId: botId !== null && botId !== void 0 ? botId : "{{state.fx-resource-bot.botId}}",
|
|
814
|
-
siteEndpoint: (_c = (_b = ctx.envInfo.state.get(constants_1.PluginNames.BOT)) === null || _b === void 0 ? void 0 : _b.get(strings_1.PluginBot.SITE_ENDPOINT)) !== null && _c !== void 0 ? _c : "{{state.fx-resource-bot.siteEndpoint}}",
|
|
815
|
-
siteName: (_e = (_d = ctx.envInfo.state.get(constants_1.PluginNames.BOT)) === null || _d === void 0 ? void 0 : _d.get(strings_1.PluginBot.SITE_NAME)) !== null && _e !== void 0 ? _e : "{{state.fx-resource-bot.siteName}}",
|
|
816
|
-
validDomain: (_g = (_f = ctx.envInfo.state.get(constants_1.PluginNames.BOT)) === null || _f === void 0 ? void 0 : _f.get(strings_1.PluginBot.VALID_DOMAIN)) !== null && _g !== void 0 ? _g : "{{state.fx-resource-bot.validDomain}}",
|
|
817
|
-
},
|
|
818
|
-
},
|
|
819
|
-
};
|
|
820
|
-
manifestString = utils_1.renderTemplate(manifestString, view);
|
|
821
|
-
const tokens = [
|
|
822
|
-
...new Set(mustache_1.default.parse(manifestString)
|
|
823
|
-
.filter((x) => {
|
|
824
|
-
return x[0] != "text" && x[1] != "state.fx-resource-appstudio.teamsAppId";
|
|
825
|
-
})
|
|
826
|
-
.map((x) => x[1])),
|
|
827
|
-
];
|
|
828
|
-
if (tokens.length > 0) {
|
|
829
|
-
if (isLocalDebug) {
|
|
830
|
-
return teamsfx_api_1.err(results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.GetLocalDebugConfigFailedError.name, errors_1.AppStudioError.GetLocalDebugConfigFailedError.message(new Error(localizeUtils_1.getLocalizedString("plugins.appstudio.dataRequired", tokens.join(","))))));
|
|
831
|
-
}
|
|
832
|
-
else {
|
|
833
|
-
return teamsfx_api_1.err(results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.GetRemoteConfigFailedError.name, errors_1.AppStudioError.GetRemoteConfigFailedError.message(localizeUtils_1.getLocalizedString("plugins.appstudio.dataRequired", tokens.join(",")), isProvisionSucceeded), constants_3.HelpLinks.WhyNeedProvision));
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
let updatedManifest;
|
|
837
|
-
try {
|
|
838
|
-
updatedManifest = JSON.parse(manifestString);
|
|
839
|
-
}
|
|
840
|
-
catch (error) {
|
|
841
|
-
if (error.stack && error.stack.startsWith("SyntaxError")) {
|
|
842
|
-
// teams app id in userData may be updated by user, result to invalid manifest
|
|
843
|
-
const reg = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
844
|
-
const result = teamsAppId.match(reg);
|
|
845
|
-
if (!result) {
|
|
846
|
-
return teamsfx_api_1.err(results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.InvalidManifestError.name, errors_1.AppStudioError.InvalidManifestError.message(error, "teamsAppId"), undefined, error.stack));
|
|
847
|
-
}
|
|
848
|
-
return teamsfx_api_1.err(results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.InvalidManifestError.name, errors_1.AppStudioError.InvalidManifestError.message(error), undefined, error.stack));
|
|
849
|
-
}
|
|
850
|
-
else {
|
|
851
|
-
return teamsfx_api_1.err(error);
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
// This should be removed in future, the valid domains will be rendered by states
|
|
855
|
-
if (((_h = updatedManifest.validDomains) === null || _h === void 0 ? void 0 : _h.length) == 0 || isLocalDebug) {
|
|
856
|
-
const validDomains = [];
|
|
857
|
-
if (tabDomain) {
|
|
858
|
-
validDomains.push(tabDomain);
|
|
859
|
-
}
|
|
860
|
-
if (tabEndpoint && isLocalDebug) {
|
|
861
|
-
validDomains.push(tabEndpoint.slice(8));
|
|
862
|
-
}
|
|
863
|
-
if (botId) {
|
|
864
|
-
if (!botDomain) {
|
|
865
|
-
return teamsfx_api_1.err(results_1.AppStudioResultFactory.UserError(errors_1.AppStudioError.GetRemoteConfigFailedError.name, errors_1.AppStudioError.GetRemoteConfigFailedError.message(localizeUtils_1.getLocalizedString("plugins.appstudio.dataRequired", constants_1.BOT_DOMAIN), isProvisionSucceeded), constants_3.HelpLinks.WhyNeedProvision));
|
|
866
|
-
}
|
|
867
|
-
else {
|
|
868
|
-
validDomains.push(botDomain);
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
|
-
for (const domain of validDomains) {
|
|
872
|
-
if (((_j = updatedManifest.validDomains) === null || _j === void 0 ? void 0 : _j.indexOf(domain)) == -1) {
|
|
873
|
-
(_k = updatedManifest.validDomains) === null || _k === void 0 ? void 0 : _k.push(domain);
|
|
874
|
-
}
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
return teamsfx_api_1.ok(updatedManifest);
|
|
878
|
-
}
|
|
879
|
-
async getSPFxManifest(ctx) {
|
|
880
|
-
const manifestResult = await manifestTemplate_1.loadManifest(ctx.root);
|
|
881
|
-
if (manifestResult.isErr()) {
|
|
882
|
-
throw manifestResult.error;
|
|
883
|
-
}
|
|
884
|
-
let manifestString = JSON.stringify(manifestResult.value);
|
|
885
|
-
const view = {
|
|
886
|
-
config: ctx.envInfo.config,
|
|
887
|
-
state: {
|
|
888
|
-
"fx-resource-appstudio": {
|
|
889
|
-
teamsAppId: await this.getTeamsAppId(ctx),
|
|
890
|
-
},
|
|
891
|
-
},
|
|
892
|
-
};
|
|
893
|
-
manifestString = utils_1.renderTemplate(manifestString, view);
|
|
894
|
-
return manifestString;
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
exports.AppStudioPluginImpl = AppStudioPluginImpl;
|
|
898
|
-
async function createManifest(hasFrontend, hasBot, hasNotificationBot, hasCommandAndResponseBot, hasMessageExtension, isSPFx, hasAad = true, isM365 = false) {
|
|
899
|
-
var _a, _b;
|
|
900
|
-
if (!hasBot && !hasMessageExtension && !hasFrontend && !hasAad) {
|
|
901
|
-
throw new Error(`Invalid capability`);
|
|
902
|
-
}
|
|
903
|
-
if (!isSPFx || hasBot || hasMessageExtension || hasAad) {
|
|
904
|
-
const manifestString = constants_2.TEAMS_APP_MANIFEST_TEMPLATE_V3;
|
|
905
|
-
const manifest = JSON.parse(manifestString);
|
|
906
|
-
if (hasAad) {
|
|
907
|
-
manifest.webApplicationInfo = constants_2.WEB_APPLICATION_INFO_MULTI_ENV;
|
|
908
|
-
}
|
|
909
|
-
if (hasFrontend) {
|
|
910
|
-
manifest.staticTabs = constants_2.STATIC_TABS_TPL_FOR_MULTI_ENV;
|
|
911
|
-
if (!isM365) {
|
|
912
|
-
manifest.configurableTabs = constants_2.CONFIGURABLE_TABS_TPL_FOR_MULTI_ENV;
|
|
913
|
-
}
|
|
914
|
-
(_a = manifest.validDomains) === null || _a === void 0 ? void 0 : _a.push("{{state.fx-resource-frontend-hosting.domain}}");
|
|
915
|
-
}
|
|
916
|
-
else {
|
|
917
|
-
manifest.developer = constants_2.DEFAULT_DEVELOPER;
|
|
918
|
-
}
|
|
919
|
-
if (hasBot) {
|
|
920
|
-
if (hasCommandAndResponseBot) {
|
|
921
|
-
manifest.bots = constants_2.BOTS_TPL_FOR_COMMAND_AND_RESPONSE;
|
|
922
|
-
}
|
|
923
|
-
else if (hasNotificationBot) {
|
|
924
|
-
manifest.bots = constants_2.BOTS_TPL_FOR_NOTIFICATION;
|
|
925
|
-
}
|
|
926
|
-
else {
|
|
927
|
-
manifest.bots = constants_2.BOTS_TPL_FOR_MULTI_ENV;
|
|
928
|
-
}
|
|
929
|
-
(_b = manifest.validDomains) === null || _b === void 0 ? void 0 : _b.push("{{state.fx-resource-bot.validDomain}}");
|
|
930
|
-
}
|
|
931
|
-
if (hasMessageExtension) {
|
|
932
|
-
manifest.composeExtensions = isM365
|
|
933
|
-
? constants_2.COMPOSE_EXTENSIONS_TPL_FOR_MULTI_ENV_M365
|
|
934
|
-
: constants_2.COMPOSE_EXTENSIONS_TPL_FOR_MULTI_ENV;
|
|
935
|
-
}
|
|
936
|
-
if (isM365) {
|
|
937
|
-
manifest.$schema = constants_2.M365_SCHEMA;
|
|
938
|
-
manifest.manifestVersion = constants_2.M365_MANIFEST_VERSION;
|
|
939
|
-
}
|
|
940
|
-
return manifest;
|
|
941
|
-
}
|
|
942
|
-
return undefined;
|
|
943
|
-
}
|
|
944
|
-
exports.createManifest = createManifest;
|
|
945
|
-
//# sourceMappingURL=plugin.js.map
|