@microsoft/teamsfx-core 2.0.10-rc.0 → 2.0.10

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.
Files changed (1018) hide show
  1. package/build/common/constants.d.ts +19 -11
  2. package/build/common/constants.d.ts.map +1 -1
  3. package/build/common/constants.js +22 -44
  4. package/build/common/constants.js.map +1 -1
  5. package/build/common/correlator.d.ts +0 -1
  6. package/build/common/correlator.d.ts.map +1 -1
  7. package/build/common/correlator.js +1 -6
  8. package/build/common/correlator.js.map +1 -1
  9. package/build/common/deps-checker/checkerFactory.d.ts.map +1 -0
  10. package/build/common/deps-checker/checkerFactory.js.map +1 -0
  11. package/build/{component → common}/deps-checker/constant/helpLink.d.ts +3 -0
  12. package/build/common/deps-checker/constant/helpLink.d.ts.map +1 -0
  13. package/build/{component → common}/deps-checker/constant/helpLink.js +6 -1
  14. package/build/common/deps-checker/constant/helpLink.js.map +1 -0
  15. package/build/common/deps-checker/constant/index.d.ts.map +1 -0
  16. package/build/common/deps-checker/constant/index.js.map +1 -0
  17. package/build/common/deps-checker/constant/message.d.ts.map +1 -0
  18. package/build/common/deps-checker/constant/message.js +45 -0
  19. package/build/common/deps-checker/constant/message.js.map +1 -0
  20. package/build/common/deps-checker/constant/telemetry.d.ts.map +1 -0
  21. package/build/common/deps-checker/constant/telemetry.js.map +1 -0
  22. package/build/common/deps-checker/coreDepsLoggerAdapter.d.ts.map +1 -0
  23. package/build/common/deps-checker/coreDepsLoggerAdapter.js.map +1 -0
  24. package/build/common/deps-checker/coreDepsTelemetryAdapter.d.ts.map +1 -0
  25. package/build/{component → common}/deps-checker/coreDepsTelemetryAdapter.js +4 -4
  26. package/build/common/deps-checker/coreDepsTelemetryAdapter.js.map +1 -0
  27. package/build/common/deps-checker/depsChecker.d.ts.map +1 -0
  28. package/build/common/deps-checker/depsChecker.js.map +1 -0
  29. package/build/common/deps-checker/depsError.d.ts.map +1 -0
  30. package/build/common/deps-checker/depsError.js.map +1 -0
  31. package/build/common/deps-checker/depsLogger.d.ts.map +1 -0
  32. package/build/common/deps-checker/depsLogger.js.map +1 -0
  33. package/build/common/deps-checker/depsManager.d.ts.map +1 -0
  34. package/build/common/deps-checker/depsManager.js.map +1 -0
  35. package/build/common/deps-checker/depsTelemetry.d.ts.map +1 -0
  36. package/build/common/deps-checker/depsTelemetry.js.map +1 -0
  37. package/build/common/deps-checker/index.d.ts.map +1 -0
  38. package/build/common/deps-checker/index.js.map +1 -0
  39. package/build/common/deps-checker/internal/dotnetChecker.d.ts.map +1 -0
  40. package/build/{component → common}/deps-checker/internal/dotnetChecker.js +14 -14
  41. package/build/common/deps-checker/internal/dotnetChecker.js.map +1 -0
  42. package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -0
  43. package/build/{component → common}/deps-checker/internal/funcToolChecker.js +16 -16
  44. package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -0
  45. package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -0
  46. package/build/common/deps-checker/internal/nodeChecker.js.map +1 -0
  47. package/build/common/deps-checker/internal/testToolChecker.d.ts.map +1 -0
  48. package/build/{component → common}/deps-checker/internal/testToolChecker.js +22 -22
  49. package/build/common/deps-checker/internal/testToolChecker.js.map +1 -0
  50. package/build/common/deps-checker/internal/vxTestAppChecker.d.ts.map +1 -0
  51. package/build/{component → common}/deps-checker/internal/vxTestAppChecker.js +8 -14
  52. package/build/common/deps-checker/internal/vxTestAppChecker.js.map +1 -0
  53. package/build/common/deps-checker/util/cpUtils.d.ts.map +1 -0
  54. package/build/common/deps-checker/util/cpUtils.js.map +1 -0
  55. package/build/common/deps-checker/util/downloadHelper.d.ts.map +1 -0
  56. package/build/common/deps-checker/util/downloadHelper.js.map +1 -0
  57. package/build/common/deps-checker/util/fileHelper.d.ts.map +1 -0
  58. package/build/common/deps-checker/util/fileHelper.js.map +1 -0
  59. package/build/common/deps-checker/util/index.d.ts.map +1 -0
  60. package/build/common/deps-checker/util/index.js.map +1 -0
  61. package/build/common/deps-checker/util/progressIndicator.d.ts.map +1 -0
  62. package/build/common/deps-checker/util/progressIndicator.js.map +1 -0
  63. package/build/common/deps-checker/util/system.d.ts.map +1 -0
  64. package/build/common/deps-checker/util/system.js.map +1 -0
  65. package/build/common/featureFlags.d.ts +22 -61
  66. package/build/common/featureFlags.d.ts.map +1 -1
  67. package/build/common/featureFlags.js +70 -91
  68. package/build/common/featureFlags.js.map +1 -1
  69. package/build/common/globalState.js +4 -4
  70. package/build/common/globalState.js.map +1 -1
  71. package/build/common/jsonUtils.js +10 -10
  72. package/build/common/jsonUtils.js.map +1 -1
  73. package/build/common/local/constants.d.ts +185 -0
  74. package/build/common/local/constants.d.ts.map +1 -0
  75. package/build/{component → common}/local/constants.js +0 -1
  76. package/build/common/local/constants.js.map +1 -0
  77. package/build/common/local/index.d.ts.map +1 -0
  78. package/build/common/local/index.js.map +1 -0
  79. package/build/common/local/localCertificateManager.d.ts.map +1 -0
  80. package/build/{component → common}/local/localCertificateManager.js +11 -13
  81. package/build/common/local/localCertificateManager.js.map +1 -0
  82. package/build/common/local/localEnvManager.d.ts.map +1 -0
  83. package/build/{component → common}/local/localEnvManager.js +2 -2
  84. package/build/common/local/localEnvManager.js.map +1 -0
  85. package/build/common/local/localTelemetryReporter.d.ts.map +1 -0
  86. package/build/{component → common}/local/localTelemetryReporter.js +4 -4
  87. package/build/common/local/localTelemetryReporter.js.map +1 -0
  88. package/build/common/local/npmLogHelper.d.ts.map +1 -0
  89. package/build/common/local/npmLogHelper.js.map +1 -0
  90. package/build/common/local/packageJsonHelper.d.ts.map +1 -0
  91. package/build/common/local/packageJsonHelper.js.map +1 -0
  92. package/build/common/local/portChecker.d.ts.map +1 -0
  93. package/build/{component → common}/local/portChecker.js +6 -6
  94. package/build/common/local/portChecker.js.map +1 -0
  95. package/build/common/local/process.d.ts.map +1 -0
  96. package/build/common/local/process.js.map +1 -0
  97. package/build/common/local/taskDefinition.d.ts.map +1 -0
  98. package/build/{component → common}/local/taskDefinition.js +6 -6
  99. package/build/common/local/taskDefinition.js.map +1 -0
  100. package/build/common/localizeUtils.js +3 -3
  101. package/build/common/localizeUtils.js.map +1 -1
  102. package/build/common/m365/constants.d.ts +6 -0
  103. package/build/common/m365/constants.d.ts.map +1 -0
  104. package/build/{component → common}/m365/constants.js +1 -4
  105. package/build/common/m365/constants.js.map +1 -0
  106. package/build/common/m365/errors.d.ts.map +1 -0
  107. package/build/{component → common}/m365/errors.js +3 -3
  108. package/build/common/m365/errors.js.map +1 -0
  109. package/build/common/m365/launchHelper.d.ts +12 -0
  110. package/build/common/m365/launchHelper.d.ts.map +1 -0
  111. package/build/{component → common}/m365/launchHelper.js +30 -38
  112. package/build/common/m365/launchHelper.js.map +1 -0
  113. package/build/common/m365/packageService.d.ts.map +1 -0
  114. package/build/{component → common}/m365/packageService.js +28 -28
  115. package/build/common/m365/packageService.js.map +1 -0
  116. package/build/common/m365/serviceConstant.d.ts +3 -0
  117. package/build/common/m365/serviceConstant.d.ts.map +1 -0
  118. package/build/common/m365/serviceConstant.js +8 -0
  119. package/build/common/m365/serviceConstant.js.map +1 -0
  120. package/build/common/projectSettingsHelper.d.ts +0 -5
  121. package/build/common/projectSettingsHelper.d.ts.map +1 -1
  122. package/build/common/projectSettingsHelper.js +1 -31
  123. package/build/common/projectSettingsHelper.js.map +1 -1
  124. package/build/common/projectSettingsHelperV3.d.ts +2 -0
  125. package/build/common/projectSettingsHelperV3.d.ts.map +1 -0
  126. package/build/common/projectSettingsHelperV3.js +15 -0
  127. package/build/common/projectSettingsHelperV3.js.map +1 -0
  128. package/build/common/projectTypeChecker.js +3 -3
  129. package/build/common/projectTypeChecker.js.map +1 -1
  130. package/build/common/samples.d.ts +1 -6
  131. package/build/common/samples.d.ts.map +1 -1
  132. package/build/common/samples.js +7 -7
  133. package/build/common/samples.js.map +1 -1
  134. package/build/common/stringUtils.d.ts +5 -11
  135. package/build/common/stringUtils.d.ts.map +1 -1
  136. package/build/common/stringUtils.js +101 -71
  137. package/build/common/stringUtils.js.map +1 -1
  138. package/build/common/telemetry.d.ts +13 -43
  139. package/build/common/telemetry.d.ts.map +1 -1
  140. package/build/common/telemetry.js +74 -97
  141. package/build/common/telemetry.js.map +1 -1
  142. package/build/common/templates-config.json +2 -2
  143. package/build/common/tools.d.ts +32 -2
  144. package/build/common/tools.d.ts.map +1 -1
  145. package/build/common/tools.js +250 -17
  146. package/build/common/tools.js.map +1 -1
  147. package/build/common/utils.d.ts +3 -5
  148. package/build/common/utils.d.ts.map +1 -1
  149. package/build/common/utils.js +12 -40
  150. package/build/common/utils.js.map +1 -1
  151. package/build/common/wrappedAxiosClient.d.ts +0 -1
  152. package/build/common/wrappedAxiosClient.d.ts.map +1 -1
  153. package/build/common/wrappedAxiosClient.js +34 -64
  154. package/build/common/wrappedAxiosClient.js.map +1 -1
  155. package/build/component/configManager/actionInjector.js +2 -2
  156. package/build/component/configManager/actionInjector.js.map +1 -1
  157. package/build/component/configManager/lifecycle.js +10 -10
  158. package/build/component/configManager/lifecycle.js.map +1 -1
  159. package/build/component/configManager/parser.js +21 -21
  160. package/build/component/configManager/parser.js.map +1 -1
  161. package/build/component/configManager/validator.js +2 -2
  162. package/build/component/configManager/validator.js.map +1 -1
  163. package/build/component/constant/commonConstant.d.ts +0 -1
  164. package/build/component/constant/commonConstant.d.ts.map +1 -1
  165. package/build/component/constant/commonConstant.js +0 -1
  166. package/build/component/constant/commonConstant.js.map +1 -1
  167. package/build/component/constants.d.ts +223 -7
  168. package/build/component/constants.d.ts.map +1 -1
  169. package/build/component/constants.js +251 -12
  170. package/build/component/constants.js.map +1 -1
  171. package/build/component/coordinator/index.d.ts.map +1 -1
  172. package/build/component/coordinator/index.js +234 -125
  173. package/build/component/coordinator/index.js.map +1 -1
  174. package/build/component/coordinator/summary.js +10 -10
  175. package/build/component/coordinator/summary.js.map +1 -1
  176. package/build/component/deployUtils.js +4 -4
  177. package/build/component/deployUtils.js.map +1 -1
  178. package/build/component/developerPortalScaffoldUtils.d.ts +5 -1
  179. package/build/component/developerPortalScaffoldUtils.d.ts.map +1 -1
  180. package/build/component/developerPortalScaffoldUtils.js +94 -78
  181. package/build/component/developerPortalScaffoldUtils.js.map +1 -1
  182. package/build/component/driver/aad/create.d.ts.map +1 -1
  183. package/build/component/driver/aad/create.js +29 -43
  184. package/build/component/driver/aad/create.js.map +1 -1
  185. package/build/component/driver/aad/error/aadAppNameTooLongError.js +2 -2
  186. package/build/component/driver/aad/error/aadAppNameTooLongError.js.map +1 -1
  187. package/build/component/driver/aad/error/aadManifestError.js +27 -27
  188. package/build/component/driver/aad/error/aadManifestError.js.map +1 -1
  189. package/build/component/driver/aad/error/clientSecretNotAllowedError.js +2 -2
  190. package/build/component/driver/aad/error/clientSecretNotAllowedError.js.map +1 -1
  191. package/build/component/driver/aad/error/credentialInvalidLifetimeError.js +2 -2
  192. package/build/component/driver/aad/error/credentialInvalidLifetimeError.js.map +1 -1
  193. package/build/component/driver/aad/error/invalidFieldInManifestError.js +2 -2
  194. package/build/component/driver/aad/error/invalidFieldInManifestError.js.map +1 -1
  195. package/build/component/driver/aad/error/missingEnvError.js +2 -2
  196. package/build/component/driver/aad/error/missingEnvError.js.map +1 -1
  197. package/build/component/driver/aad/update.js +16 -16
  198. package/build/component/driver/aad/update.js.map +1 -1
  199. package/build/component/driver/aad/utility/aadAppClient.d.ts.map +1 -1
  200. package/build/component/driver/aad/utility/aadAppClient.js +19 -19
  201. package/build/component/driver/aad/utility/aadAppClient.js.map +1 -1
  202. package/build/component/driver/aad/utility/aadManifestHelper.js +3 -3
  203. package/build/component/driver/aad/utility/aadManifestHelper.js.map +1 -1
  204. package/build/component/driver/aad/utility/buildAadManifest.d.ts +1 -1
  205. package/build/component/driver/aad/utility/buildAadManifest.d.ts.map +1 -1
  206. package/build/component/driver/aad/utility/buildAadManifest.js +13 -13
  207. package/build/component/driver/aad/utility/buildAadManifest.js.map +1 -1
  208. package/build/component/driver/aad/utility/constants.d.ts +0 -2
  209. package/build/component/driver/aad/utility/constants.d.ts.map +1 -1
  210. package/build/component/driver/aad/utility/constants.js +0 -2
  211. package/build/component/driver/aad/utility/constants.js.map +1 -1
  212. package/build/component/driver/add/addWebPart.d.ts +2 -2
  213. package/build/component/driver/add/addWebPart.d.ts.map +1 -1
  214. package/build/component/driver/add/addWebPart.js +31 -31
  215. package/build/component/driver/add/addWebPart.js.map +1 -1
  216. package/build/component/driver/add/error/noConfigurationError.js +2 -2
  217. package/build/component/driver/add/error/noConfigurationError.js.map +1 -1
  218. package/build/component/driver/apiKey/create.d.ts.map +1 -1
  219. package/build/component/driver/apiKey/create.js +27 -30
  220. package/build/component/driver/apiKey/create.js.map +1 -1
  221. package/build/component/driver/apiKey/error/apiKeyClientSecretInvalid.js +2 -2
  222. package/build/component/driver/apiKey/error/apiKeyClientSecretInvalid.js.map +1 -1
  223. package/build/component/driver/apiKey/error/apiKeyDomainInvalid.js +2 -2
  224. package/build/component/driver/apiKey/error/apiKeyDomainInvalid.js.map +1 -1
  225. package/build/component/driver/apiKey/error/apiKeyFailedToGetDomain.js +2 -2
  226. package/build/component/driver/apiKey/error/apiKeyFailedToGetDomain.js.map +1 -1
  227. package/build/component/driver/apiKey/error/apiKeyNameTooLong.js +2 -2
  228. package/build/component/driver/apiKey/error/apiKeyNameTooLong.js.map +1 -1
  229. package/build/component/driver/apiKey/update.d.ts +1 -1
  230. package/build/component/driver/apiKey/update.d.ts.map +1 -1
  231. package/build/component/driver/apiKey/update.js +27 -27
  232. package/build/component/driver/apiKey/update.js.map +1 -1
  233. package/build/component/driver/apiKey/utility/constants.d.ts +1 -1
  234. package/build/component/driver/apiKey/utility/constants.js +1 -1
  235. package/build/component/driver/apiKey/utility/utility.js +2 -2
  236. package/build/component/driver/apiKey/utility/utility.js.map +1 -1
  237. package/build/component/driver/arm/deploy.js +4 -4
  238. package/build/component/driver/arm/deploy.js.map +1 -1
  239. package/build/component/driver/arm/deployImpl.d.ts.map +1 -1
  240. package/build/component/driver/arm/deployImpl.js +18 -20
  241. package/build/component/driver/arm/deployImpl.js.map +1 -1
  242. package/build/component/driver/arm/util/bicepChecker.d.ts.map +1 -1
  243. package/build/component/driver/arm/util/bicepChecker.js +9 -29
  244. package/build/component/driver/arm/util/bicepChecker.js.map +1 -1
  245. package/build/component/driver/arm/util/handleError.js +10 -10
  246. package/build/component/driver/arm/util/handleError.js.map +1 -1
  247. package/build/component/driver/arm/validator.js +3 -3
  248. package/build/component/driver/arm/validator.js.map +1 -1
  249. package/build/component/driver/botAadApp/create.d.ts.map +1 -1
  250. package/build/component/driver/botAadApp/create.js +22 -38
  251. package/build/component/driver/botAadApp/create.js.map +1 -1
  252. package/build/component/driver/botAadApp/error/unexpectedEmptyBotPasswordError.js +2 -2
  253. package/build/component/driver/botAadApp/error/unexpectedEmptyBotPasswordError.js.map +1 -1
  254. package/build/component/driver/botAadApp/utility/constants.d.ts +0 -1
  255. package/build/component/driver/botAadApp/utility/constants.d.ts.map +1 -1
  256. package/build/component/driver/botAadApp/utility/constants.js +0 -1
  257. package/build/component/driver/botAadApp/utility/constants.js.map +1 -1
  258. package/build/component/driver/botFramework/createOrUpdateBot.js +14 -14
  259. package/build/component/driver/botFramework/createOrUpdateBot.js.map +1 -1
  260. package/build/component/driver/botFramework/error/invalidBotIdError.js +2 -2
  261. package/build/component/driver/botFramework/error/invalidBotIdError.js.map +1 -1
  262. package/build/component/driver/deploy/azure/azureAppServiceDeployDriver.js +3 -3
  263. package/build/component/driver/deploy/azure/azureAppServiceDeployDriver.js.map +1 -1
  264. package/build/component/driver/deploy/azure/azureFunctionDeployDriver.js +3 -3
  265. package/build/component/driver/deploy/azure/azureFunctionDeployDriver.js.map +1 -1
  266. package/build/component/driver/deploy/azure/azureStaticWebAppGetDeploymentTokenDriver.d.ts.map +1 -1
  267. package/build/component/driver/deploy/azure/azureStaticWebAppGetDeploymentTokenDriver.js +10 -16
  268. package/build/component/driver/deploy/azure/azureStaticWebAppGetDeploymentTokenDriver.js.map +1 -1
  269. package/build/component/driver/deploy/azure/azureStorageDeployDriver.js +9 -9
  270. package/build/component/driver/deploy/azure/azureStorageDeployDriver.js.map +1 -1
  271. package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.js +15 -15
  272. package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.js.map +1 -1
  273. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js +7 -7
  274. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js.map +1 -1
  275. package/build/component/driver/deploy/azure/impl/azureDeployImpl.d.ts +4 -4
  276. package/build/component/driver/deploy/azure/impl/azureDeployImpl.d.ts.map +1 -1
  277. package/build/component/driver/deploy/azure/impl/azureDeployImpl.js +20 -20
  278. package/build/component/driver/deploy/azure/impl/azureDeployImpl.js.map +1 -1
  279. package/build/component/driver/deploy/azure/impl/baseDeployImpl.js +11 -11
  280. package/build/component/driver/deploy/azure/impl/baseDeployImpl.js.map +1 -1
  281. package/build/component/driver/deploy/spfx/deployDriver.d.ts +1 -1
  282. package/build/component/driver/deploy/spfx/deployDriver.d.ts.map +1 -1
  283. package/build/component/driver/deploy/spfx/deployDriver.js +28 -29
  284. package/build/component/driver/deploy/spfx/deployDriver.js.map +1 -1
  285. package/build/component/driver/deploy/spfx/error/createAppCatalogFailedError.js +2 -2
  286. package/build/component/driver/deploy/spfx/error/createAppCatalogFailedError.js.map +1 -1
  287. package/build/component/driver/deploy/spfx/error/getGraphTokenFailedError.js +2 -2
  288. package/build/component/driver/deploy/spfx/error/getGraphTokenFailedError.js.map +1 -1
  289. package/build/component/driver/deploy/spfx/error/getSPOTokenFailedError.js +2 -2
  290. package/build/component/driver/deploy/spfx/error/getSPOTokenFailedError.js.map +1 -1
  291. package/build/component/driver/deploy/spfx/error/getTenantFailedError.js +2 -2
  292. package/build/component/driver/deploy/spfx/error/getTenantFailedError.js.map +1 -1
  293. package/build/component/driver/deploy/spfx/error/insufficientPermissionError.js +2 -2
  294. package/build/component/driver/deploy/spfx/error/insufficientPermissionError.js.map +1 -1
  295. package/build/component/driver/deploy/spfx/error/noSPPackageError.js +2 -2
  296. package/build/component/driver/deploy/spfx/error/noSPPackageError.js.map +1 -1
  297. package/build/component/driver/deploy/spfx/error/noValidAppCatelogError.js +2 -2
  298. package/build/component/driver/deploy/spfx/error/noValidAppCatelogError.js.map +1 -1
  299. package/build/component/driver/deploy/spfx/error/uploadAppPackageFailedError.js +2 -2
  300. package/build/component/driver/deploy/spfx/error/uploadAppPackageFailedError.js.map +1 -1
  301. package/build/component/driver/deploy/spfx/utility/constants.js +5 -5
  302. package/build/component/driver/deploy/spfx/utility/constants.js.map +1 -1
  303. package/build/component/driver/devTool/constant.d.ts +8 -8
  304. package/build/component/driver/devTool/constant.d.ts.map +1 -1
  305. package/build/component/driver/devTool/constant.js +10 -10
  306. package/build/component/driver/devTool/constant.js.map +1 -1
  307. package/build/component/driver/devTool/error/dotnetInstallationUserError.js +4 -4
  308. package/build/component/driver/devTool/error/dotnetInstallationUserError.js.map +1 -1
  309. package/build/component/driver/devTool/error/funcInstallationUserError.js +4 -4
  310. package/build/component/driver/devTool/error/funcInstallationUserError.js.map +1 -1
  311. package/build/component/driver/devTool/error/testToolInstallationUserError.js +4 -4
  312. package/build/component/driver/devTool/error/testToolInstallationUserError.js.map +1 -1
  313. package/build/component/driver/devTool/installDriver.d.ts +1 -1
  314. package/build/component/driver/devTool/installDriver.d.ts.map +1 -1
  315. package/build/component/driver/devTool/installDriver.js +12 -12
  316. package/build/component/driver/devTool/installDriver.js.map +1 -1
  317. package/build/component/driver/error/outputEnvironmentVariableUndefinedError.js +2 -2
  318. package/build/component/driver/error/outputEnvironmentVariableUndefinedError.js.map +1 -1
  319. package/build/component/driver/file/createOrUpdateEnvironmentFile.js +11 -11
  320. package/build/component/driver/file/createOrUpdateEnvironmentFile.js.map +1 -1
  321. package/build/component/driver/file/createOrUpdateJsonFile.js +12 -12
  322. package/build/component/driver/file/createOrUpdateJsonFile.js.map +1 -1
  323. package/build/component/driver/index.d.ts +0 -1
  324. package/build/component/driver/index.d.ts.map +1 -1
  325. package/build/component/driver/index.js +0 -1
  326. package/build/component/driver/index.js.map +1 -1
  327. package/build/component/driver/m365/acquire.js +16 -16
  328. package/build/component/driver/m365/acquire.js.map +1 -1
  329. package/build/component/driver/middleware/addSWADeployTelemetry.js +7 -7
  330. package/build/component/driver/middleware/addSWADeployTelemetry.js.map +1 -1
  331. package/build/component/driver/middleware/addStartAndEndTelemetry.d.ts.map +1 -1
  332. package/build/component/driver/middleware/addStartAndEndTelemetry.js +3 -3
  333. package/build/component/driver/middleware/addStartAndEndTelemetry.js.map +1 -1
  334. package/build/component/driver/oauth/create.d.ts +1 -1
  335. package/build/component/driver/oauth/create.d.ts.map +1 -1
  336. package/build/component/driver/oauth/create.js +36 -65
  337. package/build/component/driver/oauth/create.js.map +1 -1
  338. package/build/component/driver/oauth/error/oauthAuthInfoInvalid.js +2 -2
  339. package/build/component/driver/oauth/error/oauthAuthInfoInvalid.js.map +1 -1
  340. package/build/component/driver/oauth/error/oauthDomainInvalid.js +2 -2
  341. package/build/component/driver/oauth/error/oauthDomainInvalid.js.map +1 -1
  342. package/build/component/driver/oauth/error/oauthFailedToGetDomain.js +2 -2
  343. package/build/component/driver/oauth/error/oauthFailedToGetDomain.js.map +1 -1
  344. package/build/component/driver/oauth/error/oauthNameTooLong.js +2 -2
  345. package/build/component/driver/oauth/error/oauthNameTooLong.js.map +1 -1
  346. package/build/component/driver/oauth/interface/createOauthArgs.d.ts +0 -2
  347. package/build/component/driver/oauth/interface/createOauthArgs.d.ts.map +1 -1
  348. package/build/component/driver/oauth/interface/updateOauthArgs.d.ts +0 -1
  349. package/build/component/driver/oauth/interface/updateOauthArgs.d.ts.map +1 -1
  350. package/build/component/driver/oauth/update.d.ts +1 -1
  351. package/build/component/driver/oauth/update.d.ts.map +1 -1
  352. package/build/component/driver/oauth/update.js +26 -37
  353. package/build/component/driver/oauth/update.js.map +1 -1
  354. package/build/component/driver/oauth/utility/constants.d.ts +1 -1
  355. package/build/component/driver/oauth/utility/constants.js +1 -1
  356. package/build/component/driver/oauth/utility/utility.js +6 -5
  357. package/build/component/driver/oauth/utility/utility.js.map +1 -1
  358. package/build/component/driver/script/baseBuildDriver.js +8 -8
  359. package/build/component/driver/script/baseBuildDriver.js.map +1 -1
  360. package/build/component/driver/script/dotnetBuildDriver.js +3 -3
  361. package/build/component/driver/script/dotnetBuildDriver.js.map +1 -1
  362. package/build/component/driver/script/npmBuildDriver.js +3 -3
  363. package/build/component/driver/script/npmBuildDriver.js.map +1 -1
  364. package/build/component/driver/script/npxBuildDriver.js +5 -5
  365. package/build/component/driver/script/npxBuildDriver.js.map +1 -1
  366. package/build/component/driver/script/scriptDriver.d.ts +0 -2
  367. package/build/component/driver/script/scriptDriver.d.ts.map +1 -1
  368. package/build/component/driver/script/scriptDriver.js +29 -28
  369. package/build/component/driver/script/scriptDriver.js.map +1 -1
  370. package/build/component/driver/teamsApp/appStudio.d.ts +1 -1
  371. package/build/component/driver/teamsApp/appStudio.d.ts.map +1 -1
  372. package/build/component/driver/teamsApp/appStudio.js +74 -63
  373. package/build/component/driver/teamsApp/appStudio.js.map +1 -1
  374. package/build/component/driver/teamsApp/clients/appStudioClient.d.ts +4 -7
  375. package/build/component/driver/teamsApp/clients/appStudioClient.d.ts.map +1 -1
  376. package/build/component/driver/teamsApp/clients/appStudioClient.js +77 -78
  377. package/build/component/driver/teamsApp/clients/appStudioClient.js.map +1 -1
  378. package/build/component/driver/teamsApp/configure.d.ts +1 -1
  379. package/build/component/driver/teamsApp/configure.d.ts.map +1 -1
  380. package/build/component/driver/teamsApp/configure.js +32 -32
  381. package/build/component/driver/teamsApp/configure.js.map +1 -1
  382. package/build/component/driver/teamsApp/constants.d.ts +3 -15
  383. package/build/component/driver/teamsApp/constants.d.ts.map +1 -1
  384. package/build/component/driver/teamsApp/constants.js +16 -136
  385. package/build/component/driver/teamsApp/constants.js.map +1 -1
  386. package/build/component/driver/teamsApp/copyAppPackageToSPFx.js +8 -8
  387. package/build/component/driver/teamsApp/copyAppPackageToSPFx.js.map +1 -1
  388. package/build/component/driver/teamsApp/create.d.ts +2 -2
  389. package/build/component/driver/teamsApp/create.d.ts.map +1 -1
  390. package/build/component/driver/teamsApp/create.js +37 -37
  391. package/build/component/driver/teamsApp/create.js.map +1 -1
  392. package/build/component/driver/teamsApp/createAppPackage.d.ts +1 -3
  393. package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
  394. package/build/component/driver/teamsApp/createAppPackage.js +68 -84
  395. package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
  396. package/build/component/driver/teamsApp/errors.d.ts +2 -6
  397. package/build/component/driver/teamsApp/errors.d.ts.map +1 -1
  398. package/build/component/driver/teamsApp/errors.js +42 -49
  399. package/build/component/driver/teamsApp/errors.js.map +1 -1
  400. package/build/component/driver/teamsApp/interfaces/CreateAppPackageArgs.d.ts +2 -6
  401. package/build/component/driver/teamsApp/interfaces/CreateAppPackageArgs.d.ts.map +1 -1
  402. package/build/component/driver/teamsApp/interfaces/OauthRegistration.d.ts +0 -2
  403. package/build/component/driver/teamsApp/interfaces/OauthRegistration.d.ts.map +1 -1
  404. package/build/component/driver/teamsApp/interfaces/OauthRegistration.js.map +1 -1
  405. package/build/component/driver/teamsApp/interfaces/appdefinitions/IValidationResult.d.ts +0 -1
  406. package/build/component/driver/teamsApp/interfaces/appdefinitions/IValidationResult.d.ts.map +1 -1
  407. package/build/component/driver/teamsApp/publishAppPackage.d.ts +1 -1
  408. package/build/component/driver/teamsApp/publishAppPackage.d.ts.map +1 -1
  409. package/build/component/driver/teamsApp/publishAppPackage.js +42 -42
  410. package/build/component/driver/teamsApp/publishAppPackage.js.map +1 -1
  411. package/build/component/driver/teamsApp/teamsappMgr.d.ts.map +1 -1
  412. package/build/component/driver/teamsApp/teamsappMgr.js +49 -48
  413. package/build/component/driver/teamsApp/teamsappMgr.js.map +1 -1
  414. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.d.ts +3 -5
  415. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.d.ts.map +1 -1
  416. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.js +41 -72
  417. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.js.map +1 -1
  418. package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts +2 -3
  419. package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts.map +1 -1
  420. package/build/component/driver/teamsApp/utils/ManifestUtils.js +61 -85
  421. package/build/component/driver/teamsApp/utils/ManifestUtils.js.map +1 -1
  422. package/build/component/driver/teamsApp/utils/PluginManifestUtils.d.ts +3 -4
  423. package/build/component/driver/teamsApp/utils/PluginManifestUtils.d.ts.map +1 -1
  424. package/build/component/driver/teamsApp/utils/PluginManifestUtils.js +18 -36
  425. package/build/component/driver/teamsApp/utils/PluginManifestUtils.js.map +1 -1
  426. package/build/component/driver/teamsApp/utils/telemetry.d.ts +9 -0
  427. package/build/component/driver/teamsApp/utils/telemetry.d.ts.map +1 -1
  428. package/build/component/driver/teamsApp/utils/telemetry.js +9 -0
  429. package/build/component/driver/teamsApp/utils/telemetry.js.map +1 -1
  430. package/build/component/driver/teamsApp/utils/utils.d.ts +4 -4
  431. package/build/component/driver/teamsApp/utils/utils.d.ts.map +1 -1
  432. package/build/component/driver/teamsApp/utils/utils.js +15 -45
  433. package/build/component/driver/teamsApp/utils/utils.js.map +1 -1
  434. package/build/component/driver/teamsApp/validate.js +27 -27
  435. package/build/component/driver/teamsApp/validate.js.map +1 -1
  436. package/build/component/driver/teamsApp/validateAppPackage.d.ts +5 -3
  437. package/build/component/driver/teamsApp/validateAppPackage.d.ts.map +1 -1
  438. package/build/component/driver/teamsApp/validateAppPackage.js +54 -68
  439. package/build/component/driver/teamsApp/validateAppPackage.js.map +1 -1
  440. package/build/component/driver/teamsApp/validateTestCases.d.ts +3 -3
  441. package/build/component/driver/teamsApp/validateTestCases.d.ts.map +1 -1
  442. package/build/component/driver/teamsApp/validateTestCases.js +49 -50
  443. package/build/component/driver/teamsApp/validateTestCases.js.map +1 -1
  444. package/build/component/driver/util/utils.d.ts +0 -3
  445. package/build/component/driver/util/utils.d.ts.map +1 -1
  446. package/build/component/driver/util/utils.js +1 -16
  447. package/build/component/driver/util/utils.js.map +1 -1
  448. package/build/component/driver/util/wrapUtil.d.ts.map +1 -1
  449. package/build/component/driver/util/wrapUtil.js +9 -12
  450. package/build/component/driver/util/wrapUtil.js.map +1 -1
  451. package/build/component/error/componentError.js +8 -8
  452. package/build/component/error/componentError.js.map +1 -1
  453. package/build/component/feature/collaboration.d.ts.map +1 -1
  454. package/build/component/feature/collaboration.js +59 -60
  455. package/build/component/feature/collaboration.js.map +1 -1
  456. package/build/component/feature/createAuthFiles.js +8 -8
  457. package/build/component/feature/createAuthFiles.js.map +1 -1
  458. package/build/component/feature/sso.js +6 -7
  459. package/build/component/feature/sso.js.map +1 -1
  460. package/build/component/generator/constant.d.ts +0 -1
  461. package/build/component/generator/constant.d.ts.map +1 -1
  462. package/build/component/generator/constant.js +1 -2
  463. package/build/component/generator/constant.js.map +1 -1
  464. package/build/component/generator/copilotPlugin/generator.d.ts +13 -0
  465. package/build/component/generator/copilotPlugin/generator.d.ts.map +1 -0
  466. package/build/component/generator/copilotPlugin/generator.js +275 -0
  467. package/build/component/generator/copilotPlugin/generator.js.map +1 -0
  468. package/build/component/generator/copilotPlugin/helper.d.ts +45 -0
  469. package/build/component/generator/copilotPlugin/helper.d.ts.map +1 -0
  470. package/build/component/generator/copilotPlugin/helper.js +710 -0
  471. package/build/component/generator/copilotPlugin/helper.js.map +1 -0
  472. package/build/component/generator/error.d.ts +1 -1
  473. package/build/component/generator/error.d.ts.map +1 -1
  474. package/build/component/generator/error.js +5 -5
  475. package/build/component/generator/error.js.map +1 -1
  476. package/build/component/generator/generator.d.ts.map +1 -1
  477. package/build/component/generator/generator.js +21 -27
  478. package/build/component/generator/generator.js.map +1 -1
  479. package/build/component/generator/generatorAction.d.ts +1 -1
  480. package/build/component/generator/generatorAction.d.ts.map +1 -1
  481. package/build/component/generator/generatorAction.js +22 -14
  482. package/build/component/generator/generatorAction.js.map +1 -1
  483. package/build/component/generator/generatorProvider.d.ts.map +1 -1
  484. package/build/component/generator/generatorProvider.js +2 -6
  485. package/build/component/generator/generatorProvider.js.map +1 -1
  486. package/build/component/generator/officeAddin/generator.d.ts +1 -0
  487. package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
  488. package/build/component/generator/officeAddin/generator.js +73 -72
  489. package/build/component/generator/officeAddin/generator.js.map +1 -1
  490. package/build/component/generator/officeAddin/helperMethods.d.ts +0 -5
  491. package/build/component/generator/officeAddin/helperMethods.d.ts.map +1 -1
  492. package/build/component/generator/officeAddin/helperMethods.js +0 -37
  493. package/build/component/generator/officeAddin/helperMethods.js.map +1 -1
  494. package/build/component/generator/officeXMLAddin/generator.d.ts +13 -0
  495. package/build/component/generator/officeXMLAddin/generator.d.ts.map +1 -0
  496. package/build/component/generator/officeXMLAddin/generator.js +110 -0
  497. package/build/component/generator/officeXMLAddin/generator.js.map +1 -0
  498. package/build/component/generator/officeXMLAddin/projectConfig.d.ts +4 -2
  499. package/build/component/generator/officeXMLAddin/projectConfig.d.ts.map +1 -1
  500. package/build/component/generator/officeXMLAddin/projectConfig.js +86 -1
  501. package/build/component/generator/officeXMLAddin/projectConfig.js.map +1 -1
  502. package/build/component/generator/spfx/depsChecker/generatorChecker.d.ts.map +1 -1
  503. package/build/component/generator/spfx/depsChecker/generatorChecker.js +10 -11
  504. package/build/component/generator/spfx/depsChecker/generatorChecker.js.map +1 -1
  505. package/build/component/generator/spfx/depsChecker/yoChecker.d.ts.map +1 -1
  506. package/build/component/generator/spfx/depsChecker/yoChecker.js +6 -7
  507. package/build/component/generator/spfx/depsChecker/yoChecker.js.map +1 -1
  508. package/build/component/generator/spfx/error.d.ts +1 -0
  509. package/build/component/generator/spfx/error.d.ts.map +1 -1
  510. package/build/component/generator/spfx/error.js +24 -20
  511. package/build/component/generator/spfx/error.js.map +1 -1
  512. package/build/component/generator/spfx/spfxGenerator.d.ts +2 -2
  513. package/build/component/generator/spfx/spfxGenerator.d.ts.map +1 -1
  514. package/build/component/generator/spfx/spfxGenerator.js +105 -102
  515. package/build/component/generator/spfx/spfxGenerator.js.map +1 -1
  516. package/build/component/generator/spfx/utils/constants.d.ts +13 -0
  517. package/build/component/generator/spfx/utils/constants.d.ts.map +1 -1
  518. package/build/component/generator/spfx/utils/constants.js +24 -9
  519. package/build/component/generator/spfx/utils/constants.js.map +1 -1
  520. package/build/component/generator/spfx/utils/telemetry-helper.d.ts.map +1 -1
  521. package/build/component/generator/spfx/utils/telemetry-helper.js +9 -11
  522. package/build/component/generator/spfx/utils/telemetry-helper.js.map +1 -1
  523. package/build/component/generator/spfx/utils/utils.d.ts +1 -1
  524. package/build/component/generator/spfx/utils/utils.d.ts.map +1 -1
  525. package/build/component/generator/spfx/utils/utils.js +3 -3
  526. package/build/component/generator/spfx/utils/utils.js.map +1 -1
  527. package/build/component/generator/templates/ssrTabGenerator.d.ts.map +1 -1
  528. package/build/component/generator/templates/ssrTabGenerator.js +6 -6
  529. package/build/component/generator/templates/ssrTabGenerator.js.map +1 -1
  530. package/build/component/generator/templates/templateGenerator.d.ts +3 -3
  531. package/build/component/generator/templates/templateGenerator.d.ts.map +1 -1
  532. package/build/component/generator/templates/templateGenerator.js +18 -16
  533. package/build/component/generator/templates/templateGenerator.js.map +1 -1
  534. package/build/component/generator/templates/templateNames.d.ts +0 -3
  535. package/build/component/generator/templates/templateNames.d.ts.map +1 -1
  536. package/build/component/generator/templates/templateNames.js +112 -109
  537. package/build/component/generator/templates/templateNames.js.map +1 -1
  538. package/build/component/generator/templates/templateReplaceMap.d.ts.map +1 -1
  539. package/build/component/generator/templates/templateReplaceMap.js +15 -48
  540. package/build/component/generator/templates/templateReplaceMap.js.map +1 -1
  541. package/build/component/generator/utils.d.ts +12 -4
  542. package/build/component/generator/utils.d.ts.map +1 -1
  543. package/build/component/generator/utils.js +80 -49
  544. package/build/component/generator/utils.js.map +1 -1
  545. package/build/component/messages.js +7 -7
  546. package/build/component/messages.js.map +1 -1
  547. package/build/component/middleware/actionExecutionMW.d.ts +1 -1
  548. package/build/component/middleware/actionExecutionMW.d.ts.map +1 -1
  549. package/build/component/middleware/actionExecutionMW.js +13 -13
  550. package/build/component/middleware/actionExecutionMW.js.map +1 -1
  551. package/build/component/middleware/envMW.js +9 -9
  552. package/build/component/middleware/envMW.js.map +1 -1
  553. package/build/component/middleware/questionMW.js +4 -4
  554. package/build/component/middleware/questionMW.js.map +1 -1
  555. package/build/component/migrate.d.ts +0 -32
  556. package/build/component/migrate.d.ts.map +1 -1
  557. package/build/component/migrate.js +35 -112
  558. package/build/component/migrate.js.map +1 -1
  559. package/build/component/provisionUtils.d.ts.map +1 -1
  560. package/build/component/provisionUtils.js +29 -28
  561. package/build/component/provisionUtils.js.map +1 -1
  562. package/build/component/resource/botService/appStudio/appStudioClient.d.ts.map +1 -1
  563. package/build/component/resource/botService/appStudio/appStudioClient.js +22 -23
  564. package/build/component/resource/botService/appStudio/appStudioClient.js.map +1 -1
  565. package/build/component/resource/botService/botRegistration/botFrameworkRegistration.d.ts +1 -1
  566. package/build/component/resource/botService/botRegistration/botFrameworkRegistration.d.ts.map +1 -1
  567. package/build/component/resource/botService/botRegistration/botFrameworkRegistration.js +8 -11
  568. package/build/component/resource/botService/botRegistration/botFrameworkRegistration.js.map +1 -1
  569. package/build/component/resource/botService/constants.d.ts +13 -0
  570. package/build/component/resource/botService/constants.d.ts.map +1 -1
  571. package/build/component/resource/botService/constants.js +15 -1
  572. package/build/component/resource/botService/constants.js.map +1 -1
  573. package/build/component/resource/botService/errors.js +2 -2
  574. package/build/component/resource/botService/errors.js.map +1 -1
  575. package/build/component/resource/botService/messages.js +6 -6
  576. package/build/component/resource/botService/messages.js.map +1 -1
  577. package/build/component/resource/botService/strings.js +1 -1
  578. package/build/component/resource/botService/strings.js.map +1 -1
  579. package/build/component/telemetry.d.ts.map +1 -1
  580. package/build/component/telemetry.js +7 -6
  581. package/build/component/telemetry.js.map +1 -1
  582. package/build/component/utils/ResourceGroupHelper.d.ts +2 -10
  583. package/build/component/utils/ResourceGroupHelper.d.ts.map +1 -1
  584. package/build/component/utils/ResourceGroupHelper.js +62 -155
  585. package/build/component/utils/ResourceGroupHelper.js.map +1 -1
  586. package/build/component/utils/azureResourceOperation.js +2 -2
  587. package/build/component/utils/azureResourceOperation.js.map +1 -1
  588. package/build/component/utils/charsetUtils.d.ts +1 -1
  589. package/build/component/utils/charsetUtils.d.ts.map +1 -1
  590. package/build/component/utils/charsetUtils.js +1 -3
  591. package/build/component/utils/charsetUtils.js.map +1 -1
  592. package/build/component/utils/common.d.ts +3 -4
  593. package/build/component/utils/common.d.ts.map +1 -1
  594. package/build/component/utils/common.js +6 -17
  595. package/build/component/utils/common.js.map +1 -1
  596. package/build/component/utils/depsChecker/common.d.ts +3 -1
  597. package/build/component/utils/depsChecker/common.d.ts.map +1 -1
  598. package/build/component/utils/depsChecker/common.js +4 -2
  599. package/build/component/utils/depsChecker/common.js.map +1 -1
  600. package/build/component/utils/envUtil.d.ts +0 -1
  601. package/build/component/utils/envUtil.d.ts.map +1 -1
  602. package/build/component/utils/envUtil.js +20 -20
  603. package/build/component/utils/envUtil.js.map +1 -1
  604. package/build/component/utils/fileOperation.js +4 -3
  605. package/build/component/utils/fileOperation.js.map +1 -1
  606. package/build/component/utils/metadataGraphPermssion.js +3 -3
  607. package/build/component/utils/metadataGraphPermssion.js.map +1 -1
  608. package/build/component/utils/metadataUtil.js +3 -3
  609. package/build/component/utils/metadataUtil.js.map +1 -1
  610. package/build/component/utils/pathUtils.d.ts.map +1 -1
  611. package/build/component/utils/pathUtils.js +16 -14
  612. package/build/component/utils/pathUtils.js.map +1 -1
  613. package/build/component/utils/settingsUtil.js +8 -8
  614. package/build/component/utils/settingsUtil.js.map +1 -1
  615. package/build/component/utils/teamsFxTelemetryReporter.d.ts.map +1 -1
  616. package/build/component/utils/teamsFxTelemetryReporter.js +10 -7
  617. package/build/component/utils/teamsFxTelemetryReporter.js.map +1 -1
  618. package/build/component/utils.d.ts +12 -0
  619. package/build/component/utils.d.ts.map +1 -0
  620. package/build/component/utils.js +136 -0
  621. package/build/component/utils.js.map +1 -0
  622. package/build/component/workflow.d.ts +4 -0
  623. package/build/component/workflow.d.ts.map +1 -0
  624. package/build/component/workflow.js +18 -0
  625. package/build/component/workflow.js.map +1 -0
  626. package/build/core/FxCore.d.ts +4 -37
  627. package/build/core/FxCore.d.ts.map +1 -1
  628. package/build/core/FxCore.js +477 -750
  629. package/build/core/FxCore.js.map +1 -1
  630. package/build/core/callback.d.ts +2 -2
  631. package/build/core/callback.d.ts.map +1 -1
  632. package/build/core/callback.js.map +1 -1
  633. package/build/core/collaborator.d.ts.map +1 -1
  634. package/build/core/collaborator.js +72 -70
  635. package/build/core/collaborator.js.map +1 -1
  636. package/build/core/crypto.d.ts.map +1 -1
  637. package/build/core/crypto.js +5 -4
  638. package/build/core/crypto.js.map +1 -1
  639. package/build/core/environment.js +7 -7
  640. package/build/core/environment.js.map +1 -1
  641. package/build/core/environmentName.d.ts +1 -0
  642. package/build/core/environmentName.d.ts.map +1 -1
  643. package/build/core/environmentName.js +2 -0
  644. package/build/core/environmentName.js.map +1 -1
  645. package/build/core/error.d.ts +32 -0
  646. package/build/core/error.d.ts.map +1 -0
  647. package/build/core/error.js +122 -0
  648. package/build/core/error.js.map +1 -0
  649. package/build/{common → core}/globalVars.d.ts +1 -3
  650. package/build/core/globalVars.d.ts.map +1 -0
  651. package/build/{common → core}/globalVars.js +1 -12
  652. package/build/core/globalVars.js.map +1 -0
  653. package/build/core/middleware/concurrentLocker.d.ts.map +1 -1
  654. package/build/core/middleware/concurrentLocker.js +20 -19
  655. package/build/core/middleware/concurrentLocker.js.map +1 -1
  656. package/build/core/middleware/errorHandler.js +5 -5
  657. package/build/core/middleware/errorHandler.js.map +1 -1
  658. package/build/core/middleware/projectMigratorV3.d.ts +1 -5
  659. package/build/core/middleware/projectMigratorV3.d.ts.map +1 -1
  660. package/build/core/middleware/projectMigratorV3.js +100 -104
  661. package/build/core/middleware/projectMigratorV3.js.map +1 -1
  662. package/build/core/middleware/projectSettingsLoader.js +4 -4
  663. package/build/core/middleware/projectSettingsLoader.js.map +1 -1
  664. package/build/core/middleware/projectVersionChecker.js +14 -14
  665. package/build/core/middleware/projectVersionChecker.js.map +1 -1
  666. package/build/core/middleware/utils/MigrationUtils.js +5 -5
  667. package/build/core/middleware/utils/MigrationUtils.js.map +1 -1
  668. package/build/core/middleware/utils/appYmlGenerator.d.ts +0 -1
  669. package/build/core/middleware/utils/appYmlGenerator.d.ts.map +1 -1
  670. package/build/core/middleware/utils/appYmlGenerator.js +9 -15
  671. package/build/core/middleware/utils/appYmlGenerator.js.map +1 -1
  672. package/build/core/middleware/utils/debug/debugV3MigrationUtils.js +10 -10
  673. package/build/core/middleware/utils/debug/debugV3MigrationUtils.js.map +1 -1
  674. package/build/core/middleware/utils/debug/taskMigrator.js +74 -74
  675. package/build/core/middleware/utils/debug/taskMigrator.js.map +1 -1
  676. package/build/core/middleware/utils/migrationContext.js +1 -1
  677. package/build/core/middleware/utils/migrationContext.js.map +1 -1
  678. package/build/core/middleware/utils/v3MigrationUtils.js +13 -13
  679. package/build/core/middleware/utils/v3MigrationUtils.js.map +1 -1
  680. package/build/core/middleware/videoFilterAppBlocker.d.ts +0 -2
  681. package/build/core/middleware/videoFilterAppBlocker.d.ts.map +1 -1
  682. package/build/core/middleware/videoFilterAppBlocker.js +5 -21
  683. package/build/core/middleware/videoFilterAppBlocker.js.map +1 -1
  684. package/build/core/telemetry.d.ts +5 -0
  685. package/build/core/telemetry.d.ts.map +1 -1
  686. package/build/core/telemetry.js +17 -9
  687. package/build/core/telemetry.js.map +1 -1
  688. package/build/error/arm.js +10 -10
  689. package/build/error/arm.js.map +1 -1
  690. package/build/error/azure.js +20 -20
  691. package/build/error/azure.js.map +1 -1
  692. package/build/error/common.d.ts +1 -36
  693. package/build/error/common.d.ts.map +1 -1
  694. package/build/error/common.js +64 -175
  695. package/build/error/common.js.map +1 -1
  696. package/build/error/deploy.js +24 -24
  697. package/build/error/deploy.js.map +1 -1
  698. package/build/error/m365.js +6 -6
  699. package/build/error/m365.js.map +1 -1
  700. package/build/error/script.d.ts +2 -2
  701. package/build/error/script.d.ts.map +1 -1
  702. package/build/error/script.js +8 -14
  703. package/build/error/script.js.map +1 -1
  704. package/build/error/teamsApp.d.ts +0 -3
  705. package/build/error/teamsApp.d.ts.map +1 -1
  706. package/build/error/teamsApp.js +7 -20
  707. package/build/error/teamsApp.js.map +1 -1
  708. package/build/error/upgrade.js +2 -2
  709. package/build/error/upgrade.js.map +1 -1
  710. package/build/error/yml.js +13 -13
  711. package/build/error/yml.js.map +1 -1
  712. package/build/failpoint/index.d.ts +3 -0
  713. package/build/failpoint/index.d.ts.map +1 -0
  714. package/build/failpoint/index.js +11 -0
  715. package/build/failpoint/index.js.map +1 -0
  716. package/build/failpoint/marker.d.ts +13 -0
  717. package/build/failpoint/marker.d.ts.map +1 -0
  718. package/build/{question/inputs/SyncManifestInputs.js → failpoint/marker.js} +4 -1
  719. package/build/failpoint/marker.js.map +1 -0
  720. package/build/failpoint/runtime.d.ts +12 -0
  721. package/build/failpoint/runtime.d.ts.map +1 -0
  722. package/build/failpoint/runtime.js +67 -0
  723. package/build/failpoint/runtime.js.map +1 -0
  724. package/build/index.d.ts +36 -61
  725. package/build/index.d.ts.map +1 -1
  726. package/build/index.js +53 -132
  727. package/build/index.js.map +1 -1
  728. package/build/question/constants.d.ts +5 -269
  729. package/build/question/constants.d.ts.map +1 -1
  730. package/build/question/constants.js +13 -1107
  731. package/build/question/constants.js.map +1 -1
  732. package/build/question/create.d.ts +151 -13
  733. package/build/question/create.d.ts.map +1 -1
  734. package/build/question/create.js +1386 -542
  735. package/build/question/create.js.map +1 -1
  736. package/build/question/generator.js +2 -6
  737. package/build/question/generator.js.map +1 -1
  738. package/build/question/index.d.ts +3 -3
  739. package/build/question/index.d.ts.map +1 -1
  740. package/build/question/index.js +21 -23
  741. package/build/question/index.js.map +1 -1
  742. package/build/question/inputs/AddPluginInputs.d.ts +4 -8
  743. package/build/question/inputs/AddPluginInputs.d.ts.map +1 -1
  744. package/build/question/inputs/CreateProjectInputs.d.ts +8 -14
  745. package/build/question/inputs/CreateProjectInputs.d.ts.map +1 -1
  746. package/build/question/inputs/index.d.ts +0 -2
  747. package/build/question/inputs/index.d.ts.map +1 -1
  748. package/build/question/inputs/index.js +0 -2
  749. package/build/question/inputs/index.js.map +1 -1
  750. package/build/question/options/AddPluginOptions.d.ts.map +1 -1
  751. package/build/question/options/AddPluginOptions.js +10 -19
  752. package/build/question/options/AddPluginOptions.js.map +1 -1
  753. package/build/question/options/CreateProjectOptions.d.ts.map +1 -1
  754. package/build/question/options/CreateProjectOptions.js +33 -36
  755. package/build/question/options/CreateProjectOptions.js.map +1 -1
  756. package/build/question/options/index.d.ts +0 -2
  757. package/build/question/options/index.d.ts.map +1 -1
  758. package/build/question/options/index.js +0 -2
  759. package/build/question/options/index.js.map +1 -1
  760. package/build/question/other.d.ts +29 -4
  761. package/build/question/other.d.ts.map +1 -1
  762. package/build/question/other.js +343 -284
  763. package/build/question/other.js.map +1 -1
  764. package/build/question/questionNames.d.ts +78 -0
  765. package/build/question/questionNames.d.ts.map +1 -0
  766. package/build/question/questionNames.js +85 -0
  767. package/build/question/questionNames.js.map +1 -0
  768. package/build/question/util.d.ts +2 -0
  769. package/build/question/util.d.ts.map +1 -0
  770. package/build/question/util.js +18 -0
  771. package/build/question/util.js.map +1 -0
  772. package/build/ui/visitor.d.ts +1 -0
  773. package/build/ui/visitor.d.ts.map +1 -1
  774. package/build/ui/visitor.js +38 -57
  775. package/build/ui/visitor.js.map +1 -1
  776. package/package.json +14 -21
  777. package/resource/deps-checker/dotnet-install.ps1 +423 -912
  778. package/resource/deps-checker/dotnet-install.sh +238 -876
  779. package/resource/package.nls.json +156 -189
  780. package/resource/yaml-schema/yaml.schema.json +1 -59
  781. package/templates/core/v3Migration/js.ts.app.local.yml +3 -3
  782. package/templates/fallback/common.zip +0 -0
  783. package/templates/fallback/csharp.zip +0 -0
  784. package/templates/fallback/js.zip +0 -0
  785. package/templates/fallback/python.zip +0 -0
  786. package/templates/fallback/ts.zip +0 -0
  787. package/templates/plugins/resource/aad/auth/V3/aad.manifest.template.json +0 -6
  788. package/templates/plugins/resource/aad/manifest/aad.template.json +0 -6
  789. package/templates/plugins/resource/aad/manifest/bot/aad.manifest.template.json +0 -6
  790. package/templates/plugins/resource/aad/manifest/tab/aad.manifest.template.json +0 -6
  791. package/build/client/teamsDevPortalClient.d.ts +0 -128
  792. package/build/client/teamsDevPortalClient.d.ts.map +0 -1
  793. package/build/client/teamsDevPortalClient.js +0 -949
  794. package/build/client/teamsDevPortalClient.js.map +0 -1
  795. package/build/common/azureUtils.d.ts +0 -3
  796. package/build/common/azureUtils.d.ts.map +0 -1
  797. package/build/common/azureUtils.js +0 -50
  798. package/build/common/azureUtils.js.map +0 -1
  799. package/build/common/globalVars.d.ts.map +0 -1
  800. package/build/common/globalVars.js.map +0 -1
  801. package/build/common/requestUtils.d.ts +0 -4
  802. package/build/common/requestUtils.d.ts.map +0 -1
  803. package/build/common/requestUtils.js +0 -52
  804. package/build/common/requestUtils.js.map +0 -1
  805. package/build/common/secretmasker/dict.d.ts +0 -22
  806. package/build/common/secretmasker/dict.d.ts.map +0 -1
  807. package/build/common/secretmasker/dict.js +0 -83
  808. package/build/common/secretmasker/dict.js.map +0 -1
  809. package/build/common/secretmasker/feature.d.ts +0 -19
  810. package/build/common/secretmasker/feature.d.ts.map +0 -1
  811. package/build/common/secretmasker/feature.js +0 -389
  812. package/build/common/secretmasker/feature.js.map +0 -1
  813. package/build/common/secretmasker/masker.d.ts +0 -12
  814. package/build/common/secretmasker/masker.d.ts.map +0 -1
  815. package/build/common/secretmasker/masker.js +0 -54
  816. package/build/common/secretmasker/masker.js.map +0 -1
  817. package/build/component/deps-checker/checkerFactory.d.ts.map +0 -1
  818. package/build/component/deps-checker/checkerFactory.js.map +0 -1
  819. package/build/component/deps-checker/constant/helpLink.d.ts.map +0 -1
  820. package/build/component/deps-checker/constant/helpLink.js.map +0 -1
  821. package/build/component/deps-checker/constant/index.d.ts.map +0 -1
  822. package/build/component/deps-checker/constant/index.js.map +0 -1
  823. package/build/component/deps-checker/constant/message.d.ts.map +0 -1
  824. package/build/component/deps-checker/constant/message.js +0 -45
  825. package/build/component/deps-checker/constant/message.js.map +0 -1
  826. package/build/component/deps-checker/constant/telemetry.d.ts.map +0 -1
  827. package/build/component/deps-checker/constant/telemetry.js.map +0 -1
  828. package/build/component/deps-checker/coreDepsLoggerAdapter.d.ts.map +0 -1
  829. package/build/component/deps-checker/coreDepsLoggerAdapter.js.map +0 -1
  830. package/build/component/deps-checker/coreDepsTelemetryAdapter.d.ts.map +0 -1
  831. package/build/component/deps-checker/coreDepsTelemetryAdapter.js.map +0 -1
  832. package/build/component/deps-checker/depsChecker.d.ts.map +0 -1
  833. package/build/component/deps-checker/depsChecker.js.map +0 -1
  834. package/build/component/deps-checker/depsError.d.ts.map +0 -1
  835. package/build/component/deps-checker/depsError.js.map +0 -1
  836. package/build/component/deps-checker/depsLogger.d.ts.map +0 -1
  837. package/build/component/deps-checker/depsLogger.js.map +0 -1
  838. package/build/component/deps-checker/depsManager.d.ts.map +0 -1
  839. package/build/component/deps-checker/depsManager.js.map +0 -1
  840. package/build/component/deps-checker/depsTelemetry.d.ts.map +0 -1
  841. package/build/component/deps-checker/depsTelemetry.js.map +0 -1
  842. package/build/component/deps-checker/index.d.ts.map +0 -1
  843. package/build/component/deps-checker/index.js.map +0 -1
  844. package/build/component/deps-checker/internal/dotnetChecker.d.ts.map +0 -1
  845. package/build/component/deps-checker/internal/dotnetChecker.js.map +0 -1
  846. package/build/component/deps-checker/internal/funcToolChecker.d.ts.map +0 -1
  847. package/build/component/deps-checker/internal/funcToolChecker.js.map +0 -1
  848. package/build/component/deps-checker/internal/nodeChecker.d.ts.map +0 -1
  849. package/build/component/deps-checker/internal/nodeChecker.js.map +0 -1
  850. package/build/component/deps-checker/internal/testToolChecker.d.ts.map +0 -1
  851. package/build/component/deps-checker/internal/testToolChecker.js.map +0 -1
  852. package/build/component/deps-checker/internal/vxTestAppChecker.d.ts.map +0 -1
  853. package/build/component/deps-checker/internal/vxTestAppChecker.js.map +0 -1
  854. package/build/component/deps-checker/util/cpUtils.d.ts.map +0 -1
  855. package/build/component/deps-checker/util/cpUtils.js.map +0 -1
  856. package/build/component/deps-checker/util/downloadHelper.d.ts.map +0 -1
  857. package/build/component/deps-checker/util/downloadHelper.js.map +0 -1
  858. package/build/component/deps-checker/util/fileHelper.d.ts.map +0 -1
  859. package/build/component/deps-checker/util/fileHelper.js.map +0 -1
  860. package/build/component/deps-checker/util/index.d.ts.map +0 -1
  861. package/build/component/deps-checker/util/index.js.map +0 -1
  862. package/build/component/deps-checker/util/progressIndicator.d.ts.map +0 -1
  863. package/build/component/deps-checker/util/progressIndicator.js.map +0 -1
  864. package/build/component/deps-checker/util/system.d.ts.map +0 -1
  865. package/build/component/deps-checker/util/system.js.map +0 -1
  866. package/build/component/driver/aad/error/missingServiceManagamentReferenceError.d.ts +0 -5
  867. package/build/component/driver/aad/error/missingServiceManagamentReferenceError.d.ts.map +0 -1
  868. package/build/component/driver/aad/error/missingServiceManagamentReferenceError.js +0 -23
  869. package/build/component/driver/aad/error/missingServiceManagamentReferenceError.js.map +0 -1
  870. package/build/component/driver/apiKey/error/apiKeyFromScratchClientSecretInvalid.d.ts +0 -5
  871. package/build/component/driver/apiKey/error/apiKeyFromScratchClientSecretInvalid.d.ts.map +0 -1
  872. package/build/component/driver/apiKey/error/apiKeyFromScratchClientSecretInvalid.js +0 -21
  873. package/build/component/driver/apiKey/error/apiKeyFromScratchClientSecretInvalid.js.map +0 -1
  874. package/build/component/driver/oauth/error/oauthDisablePKCEError.d.ts +0 -5
  875. package/build/component/driver/oauth/error/oauthDisablePKCEError.d.ts.map +0 -1
  876. package/build/component/driver/oauth/error/oauthDisablePKCEError.js +0 -21
  877. package/build/component/driver/oauth/error/oauthDisablePKCEError.js.map +0 -1
  878. package/build/component/driver/oauth/error/oauthIdentityProviderInvalid.d.ts +0 -5
  879. package/build/component/driver/oauth/error/oauthIdentityProviderInvalid.d.ts.map +0 -1
  880. package/build/component/driver/oauth/error/oauthIdentityProviderInvalid.js +0 -21
  881. package/build/component/driver/oauth/error/oauthIdentityProviderInvalid.js.map +0 -1
  882. package/build/component/driver/teamsApp/interfaces/SyncManifest.d.ts +0 -20
  883. package/build/component/driver/teamsApp/interfaces/SyncManifest.d.ts.map +0 -1
  884. package/build/component/driver/teamsApp/interfaces/SyncManifest.js +0 -5
  885. package/build/component/driver/teamsApp/interfaces/SyncManifest.js.map +0 -1
  886. package/build/component/driver/teamsApp/syncManifest.d.ts +0 -14
  887. package/build/component/driver/teamsApp/syncManifest.d.ts.map +0 -1
  888. package/build/component/driver/teamsApp/syncManifest.js +0 -226
  889. package/build/component/driver/teamsApp/syncManifest.js.map +0 -1
  890. package/build/component/generator/apiSpec/generator.d.ts +0 -15
  891. package/build/component/generator/apiSpec/generator.d.ts.map +0 -1
  892. package/build/component/generator/apiSpec/generator.js +0 -274
  893. package/build/component/generator/apiSpec/generator.js.map +0 -1
  894. package/build/component/generator/apiSpec/helper.d.ts +0 -50
  895. package/build/component/generator/apiSpec/helper.d.ts.map +0 -1
  896. package/build/component/generator/apiSpec/helper.js +0 -834
  897. package/build/component/generator/apiSpec/helper.js.map +0 -1
  898. package/build/component/generator/copilotExtension/generator.d.ts +0 -19
  899. package/build/component/generator/copilotExtension/generator.d.ts.map +0 -1
  900. package/build/component/generator/copilotExtension/generator.js +0 -116
  901. package/build/component/generator/copilotExtension/generator.js.map +0 -1
  902. package/build/component/generator/copilotExtension/helper.d.ts +0 -8
  903. package/build/component/generator/copilotExtension/helper.d.ts.map +0 -1
  904. package/build/component/generator/copilotExtension/helper.js +0 -114
  905. package/build/component/generator/copilotExtension/helper.js.map +0 -1
  906. package/build/component/local/constants.d.ts +0 -186
  907. package/build/component/local/constants.d.ts.map +0 -1
  908. package/build/component/local/constants.js.map +0 -1
  909. package/build/component/local/index.d.ts.map +0 -1
  910. package/build/component/local/index.js.map +0 -1
  911. package/build/component/local/localCertificateManager.d.ts.map +0 -1
  912. package/build/component/local/localCertificateManager.js.map +0 -1
  913. package/build/component/local/localEnvManager.d.ts.map +0 -1
  914. package/build/component/local/localEnvManager.js.map +0 -1
  915. package/build/component/local/localTelemetryReporter.d.ts.map +0 -1
  916. package/build/component/local/localTelemetryReporter.js.map +0 -1
  917. package/build/component/local/npmLogHelper.d.ts.map +0 -1
  918. package/build/component/local/npmLogHelper.js.map +0 -1
  919. package/build/component/local/packageJsonHelper.d.ts.map +0 -1
  920. package/build/component/local/packageJsonHelper.js.map +0 -1
  921. package/build/component/local/portChecker.d.ts.map +0 -1
  922. package/build/component/local/portChecker.js.map +0 -1
  923. package/build/component/local/process.d.ts.map +0 -1
  924. package/build/component/local/process.js.map +0 -1
  925. package/build/component/local/taskDefinition.d.ts.map +0 -1
  926. package/build/component/local/taskDefinition.js.map +0 -1
  927. package/build/component/m365/constants.d.ts +0 -9
  928. package/build/component/m365/constants.d.ts.map +0 -1
  929. package/build/component/m365/constants.js.map +0 -1
  930. package/build/component/m365/errors.d.ts.map +0 -1
  931. package/build/component/m365/errors.js.map +0 -1
  932. package/build/component/m365/launchHelper.d.ts +0 -12
  933. package/build/component/m365/launchHelper.d.ts.map +0 -1
  934. package/build/component/m365/launchHelper.js.map +0 -1
  935. package/build/component/m365/packageService.d.ts.map +0 -1
  936. package/build/component/m365/packageService.js.map +0 -1
  937. package/build/component/m365/serviceConstant.d.ts +0 -3
  938. package/build/component/m365/serviceConstant.d.ts.map +0 -1
  939. package/build/component/m365/serviceConstant.js +0 -8
  940. package/build/component/m365/serviceConstant.js.map +0 -1
  941. package/build/component/utils/envFunctionUtils.d.ts +0 -12
  942. package/build/component/utils/envFunctionUtils.d.ts.map +0 -1
  943. package/build/component/utils/envFunctionUtils.js +0 -185
  944. package/build/component/utils/envFunctionUtils.js.map +0 -1
  945. package/build/question/inputs/SyncManifestInputs.d.ts +0 -16
  946. package/build/question/inputs/SyncManifestInputs.d.ts.map +0 -1
  947. package/build/question/inputs/SyncManifestInputs.js.map +0 -1
  948. package/build/question/inputs/UninstallInputs.d.ts +0 -22
  949. package/build/question/inputs/UninstallInputs.d.ts.map +0 -1
  950. package/build/question/inputs/UninstallInputs.js +0 -5
  951. package/build/question/inputs/UninstallInputs.js.map +0 -1
  952. package/build/question/options/SyncManifestOptions.d.ts +0 -10
  953. package/build/question/options/SyncManifestOptions.d.ts.map +0 -1
  954. package/build/question/options/SyncManifestOptions.js +0 -28
  955. package/build/question/options/SyncManifestOptions.js.map +0 -1
  956. package/build/question/options/UninstallOptions.d.ts +0 -10
  957. package/build/question/options/UninstallOptions.d.ts.map +0 -1
  958. package/build/question/options/UninstallOptions.js +0 -44
  959. package/build/question/options/UninstallOptions.js.map +0 -1
  960. package/build/tsconfig.tsbuildinfo +0 -1
  961. package/resource/dict.zip +0 -0
  962. package/resource/yaml-schema/v1.6/yaml.schema.json +0 -1842
  963. package/resource/yaml-schema/v1.7/yaml.schema.json +0 -1842
  964. /package/build/{component → common}/deps-checker/checkerFactory.d.ts +0 -0
  965. /package/build/{component → common}/deps-checker/checkerFactory.js +0 -0
  966. /package/build/{component → common}/deps-checker/constant/index.d.ts +0 -0
  967. /package/build/{component → common}/deps-checker/constant/index.js +0 -0
  968. /package/build/{component → common}/deps-checker/constant/message.d.ts +0 -0
  969. /package/build/{component → common}/deps-checker/constant/telemetry.d.ts +0 -0
  970. /package/build/{component → common}/deps-checker/constant/telemetry.js +0 -0
  971. /package/build/{component → common}/deps-checker/coreDepsLoggerAdapter.d.ts +0 -0
  972. /package/build/{component → common}/deps-checker/coreDepsLoggerAdapter.js +0 -0
  973. /package/build/{component → common}/deps-checker/coreDepsTelemetryAdapter.d.ts +0 -0
  974. /package/build/{component → common}/deps-checker/depsChecker.d.ts +0 -0
  975. /package/build/{component → common}/deps-checker/depsChecker.js +0 -0
  976. /package/build/{component → common}/deps-checker/depsError.d.ts +0 -0
  977. /package/build/{component → common}/deps-checker/depsError.js +0 -0
  978. /package/build/{component → common}/deps-checker/depsLogger.d.ts +0 -0
  979. /package/build/{component → common}/deps-checker/depsLogger.js +0 -0
  980. /package/build/{component → common}/deps-checker/depsManager.d.ts +0 -0
  981. /package/build/{component → common}/deps-checker/depsManager.js +0 -0
  982. /package/build/{component → common}/deps-checker/depsTelemetry.d.ts +0 -0
  983. /package/build/{component → common}/deps-checker/depsTelemetry.js +0 -0
  984. /package/build/{component → common}/deps-checker/index.d.ts +0 -0
  985. /package/build/{component → common}/deps-checker/index.js +0 -0
  986. /package/build/{component → common}/deps-checker/internal/dotnetChecker.d.ts +0 -0
  987. /package/build/{component → common}/deps-checker/internal/funcToolChecker.d.ts +0 -0
  988. /package/build/{component → common}/deps-checker/internal/nodeChecker.d.ts +0 -0
  989. /package/build/{component → common}/deps-checker/internal/nodeChecker.js +0 -0
  990. /package/build/{component → common}/deps-checker/internal/testToolChecker.d.ts +0 -0
  991. /package/build/{component → common}/deps-checker/internal/vxTestAppChecker.d.ts +0 -0
  992. /package/build/{component → common}/deps-checker/util/cpUtils.d.ts +0 -0
  993. /package/build/{component → common}/deps-checker/util/cpUtils.js +0 -0
  994. /package/build/{component → common}/deps-checker/util/downloadHelper.d.ts +0 -0
  995. /package/build/{component → common}/deps-checker/util/downloadHelper.js +0 -0
  996. /package/build/{component → common}/deps-checker/util/fileHelper.d.ts +0 -0
  997. /package/build/{component → common}/deps-checker/util/fileHelper.js +0 -0
  998. /package/build/{component → common}/deps-checker/util/index.d.ts +0 -0
  999. /package/build/{component → common}/deps-checker/util/index.js +0 -0
  1000. /package/build/{component → common}/deps-checker/util/progressIndicator.d.ts +0 -0
  1001. /package/build/{component → common}/deps-checker/util/progressIndicator.js +0 -0
  1002. /package/build/{component → common}/deps-checker/util/system.d.ts +0 -0
  1003. /package/build/{component → common}/deps-checker/util/system.js +0 -0
  1004. /package/build/{component → common}/local/index.d.ts +0 -0
  1005. /package/build/{component → common}/local/index.js +0 -0
  1006. /package/build/{component → common}/local/localCertificateManager.d.ts +0 -0
  1007. /package/build/{component → common}/local/localEnvManager.d.ts +0 -0
  1008. /package/build/{component → common}/local/localTelemetryReporter.d.ts +0 -0
  1009. /package/build/{component → common}/local/npmLogHelper.d.ts +0 -0
  1010. /package/build/{component → common}/local/npmLogHelper.js +0 -0
  1011. /package/build/{component → common}/local/packageJsonHelper.d.ts +0 -0
  1012. /package/build/{component → common}/local/packageJsonHelper.js +0 -0
  1013. /package/build/{component → common}/local/portChecker.d.ts +0 -0
  1014. /package/build/{component → common}/local/process.d.ts +0 -0
  1015. /package/build/{component → common}/local/process.js +0 -0
  1016. /package/build/{component → common}/local/taskDefinition.d.ts +0 -0
  1017. /package/build/{component → common}/m365/errors.d.ts +0 -0
  1018. /package/build/{component → common}/m365/packageService.d.ts +0 -0
@@ -2,1117 +2,23 @@
2
2
  // Copyright (c) Microsoft Corporation.
3
3
  // Licensed under the MIT license.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.ApiPluginStartOptions = exports.DeclarativeCopilotTypeOptions = exports.HubOptions = exports.HubTypes = exports.TeamsAppValidationOptions = exports.recommendedLocations = exports.CustomCopilotAssistantOptions = exports.CustomCopilotRagOptions = exports.SPFxVersionOptionIds = exports.NotificationTriggerOptions = exports.NotificationTriggers = exports.HostType = exports.MeArchitectureOptions = exports.ApiAuthOptions = exports.CapabilityOptions = exports.ProjectTypeOptions = exports.ScratchOptions = exports.getRuntime = exports.RuntimeOptions = exports.capabilitiesHavePythonOption = exports.apiPluginApiSpecOptionId = exports.ProgrammingLanguage = exports.CliQuestionName = exports.AppNamePattern = exports.QuestionNames = void 0;
6
- const teamsfx_api_1 = require("@microsoft/teamsfx-api");
7
- const featureFlags_1 = require("../common/featureFlags");
8
- const localizeUtils_1 = require("../common/localizeUtils");
9
- const projectConfig_1 = require("../component/generator/officeXMLAddin/projectConfig");
10
- var QuestionNames;
11
- (function (QuestionNames) {
12
- QuestionNames["Scratch"] = "scratch";
13
- QuestionNames["SctatchYes"] = "scratch-yes";
14
- QuestionNames["AppName"] = "app-name";
15
- QuestionNames["Folder"] = "folder";
16
- QuestionNames["ProjectPath"] = "projectPath";
17
- QuestionNames["ProgrammingLanguage"] = "programming-language";
18
- QuestionNames["ProjectType"] = "project-type";
19
- QuestionNames["Capabilities"] = "capabilities";
20
- QuestionNames["BotTrigger"] = "bot-host-type-trigger";
21
- QuestionNames["Runtime"] = "runtime";
22
- QuestionNames["SPFxSolution"] = "spfx-solution";
23
- QuestionNames["SPFxInstallPackage"] = "spfx-install-latest-package";
24
- QuestionNames["SPFxFramework"] = "spfx-framework-type";
25
- QuestionNames["SPFxWebpartName"] = "spfx-webpart-name";
26
- QuestionNames["SPFxWebpartDesc"] = "spfx-webpart-desp";
27
- QuestionNames["SPFxFolder"] = "spfx-folder";
28
- QuestionNames["OfficeAddinFolder"] = "addin-project-folder";
29
- QuestionNames["OfficeAddinManifest"] = "addin-project-manifest";
30
- QuestionNames["OfficeAddinTemplate"] = "addin-template-select";
31
- QuestionNames["OfficeAddinHost"] = "addin-host";
32
- QuestionNames["OfficeAddinImport"] = "addin-import";
33
- QuestionNames["OfficeAddinFramework"] = "office-addin-framework-type";
34
- QuestionNames["Samples"] = "samples";
35
- QuestionNames["ReplaceContentUrl"] = "replaceContentUrl";
36
- QuestionNames["ReplaceWebsiteUrl"] = "replaceWebsiteUrl";
37
- QuestionNames["ReplaceBotIds"] = "replaceBotIds";
38
- QuestionNames["SafeProjectName"] = "safeProjectName";
39
- QuestionNames["RepalceTabUrl"] = "tdp-tab-url";
40
- QuestionNames["ValidateMethod"] = "validate-method";
41
- QuestionNames["AppPackagePath"] = "appPackagePath";
42
- QuestionNames["FromExistingApi"] = "from-existing-api";
43
- QuestionNames["ApiSpecLocation"] = "openapi-spec-location";
44
- QuestionNames["ApiOperation"] = "api-operation";
45
- QuestionNames["ApiPluginManifestPath"] = "external-api-plugin-manifest-path";
46
- QuestionNames["MeArchitectureType"] = "me-architecture";
47
- QuestionNames["ApiSpecApiKey"] = "api-key";
48
- QuestionNames["ApiSpecApiKeyConfirm"] = "api-key-confirm";
49
- QuestionNames["ApiAuth"] = "api-auth";
50
- QuestionNames["OauthClientSecret"] = "oauth-client-secret";
51
- QuestionNames["OauthClientId"] = "oauth-client-id";
52
- QuestionNames["OauthConfirm"] = "oauth-confirm";
53
- QuestionNames["CustomCopilotRag"] = "custom-copilot-rag";
54
- QuestionNames["CustomCopilotAssistant"] = "custom-copilot-agent";
55
- QuestionNames["LLMService"] = "llm-service";
56
- QuestionNames["OpenAIKey"] = "openai-key";
57
- QuestionNames["OpenAIEmbeddingModel"] = "openai-embedding-model";
58
- QuestionNames["AzureOpenAIKey"] = "azure-openai-key";
59
- QuestionNames["AzureOpenAIEndpoint"] = "azure-openai-endpoint";
60
- QuestionNames["AzureOpenAIDeploymentName"] = "azure-openai-deployment-name";
61
- QuestionNames["AzureOpenAIEmbeddingDeploymentName"] = "azure-openai-embedding-deployment-name";
62
- QuestionNames["AzureAISearchApiKey"] = "azure-ai-search-api-key";
63
- QuestionNames["AzureAISearchEndpoint"] = "azure-ai-search-endpoint";
64
- QuestionNames["Features"] = "features";
65
- QuestionNames["Env"] = "env";
66
- QuestionNames["SourceEnvName"] = "sourceEnvName";
67
- QuestionNames["TargetEnvName"] = "targetEnvName";
68
- QuestionNames["TargetResourceGroupName"] = "targetResourceGroupName";
69
- QuestionNames["NewResourceGroupName"] = "newResourceGroupName";
70
- QuestionNames["NewResourceGroupLocation"] = "newResourceGroupLocation";
71
- QuestionNames["NewTargetEnvName"] = "newTargetEnvName";
72
- QuestionNames["ExistingTabEndpoint"] = "existing-tab-endpoint";
73
- QuestionNames["TeamsAppManifestFilePath"] = "manifest-path";
74
- QuestionNames["LocalTeamsAppManifestFilePath"] = "local-manifest-path";
75
- QuestionNames["AadAppManifestFilePath"] = "manifest-file-path";
76
- QuestionNames["TeamsAppPackageFilePath"] = "app-package-file-path";
77
- QuestionNames["ConfirmManifest"] = "confirmManifest";
78
- QuestionNames["ConfirmLocalManifest"] = "confirmLocalManifest";
79
- QuestionNames["ConfirmAadManifest"] = "confirmAadManifest";
80
- QuestionNames["OutputZipPathParamName"] = "output-zip-path";
81
- QuestionNames["OutputManifestParamName"] = "output-manifest-path";
82
- QuestionNames["OutputFolderParamName"] = "output-folder";
83
- QuestionNames["M365Host"] = "m365-host";
84
- QuestionNames["ManifestPath"] = "manifest-path";
85
- QuestionNames["ManifestId"] = "manifest-id";
86
- QuestionNames["TeamsAppId"] = "teams-app-id";
87
- QuestionNames["TitleId"] = "title-id";
88
- QuestionNames["UserEmail"] = "email";
89
- QuestionNames["UninstallMode"] = "mode";
90
- QuestionNames["UninstallModeManifestId"] = "manifest-id";
91
- QuestionNames["UninstallModeEnv"] = "env";
92
- QuestionNames["UninstallModeTitleId"] = "title-id";
93
- QuestionNames["UninstallOptions"] = "options";
94
- QuestionNames["UninstallOptionM365"] = "m365-app";
95
- QuestionNames["UninstallOptionTDP"] = "app-registration";
96
- QuestionNames["UninstallOptionBot"] = "bot-framework-registration";
97
- QuestionNames["collaborationAppType"] = "collaborationType";
98
- QuestionNames["DestinationApiSpecFilePath"] = "destination-api-spec-location";
99
- QuestionNames["SyncManifest"] = "sync-manifest";
100
- QuestionNames["ApiPluginType"] = "api-plugin-type";
101
- QuestionNames["WithPlugin"] = "with-plugin";
102
- QuestionNames["ImportPlugin"] = "import-plugin";
103
- QuestionNames["PluginManifestFilePath"] = "plugin-manifest-path";
104
- QuestionNames["PluginOpenApiSpecFilePath"] = "plugin-opeanapi-spec-path";
105
- })(QuestionNames = exports.QuestionNames || (exports.QuestionNames = {}));
106
- exports.AppNamePattern = '^(?=(.*[\\da-zA-Z]){2})[a-zA-Z][^"<>:\\?/*&|\u0000-\u001F]*[^"\\s.<>:\\?/*&|\u0000-\u001F]$';
107
- var CliQuestionName;
108
- (function (CliQuestionName) {
109
- CliQuestionName["Capability"] = "capability";
110
- })(CliQuestionName = exports.CliQuestionName || (exports.CliQuestionName = {}));
111
- var ProgrammingLanguage;
112
- (function (ProgrammingLanguage) {
113
- ProgrammingLanguage["JS"] = "javascript";
114
- ProgrammingLanguage["TS"] = "typescript";
115
- ProgrammingLanguage["CSharp"] = "csharp";
116
- ProgrammingLanguage["PY"] = "python";
117
- ProgrammingLanguage["Common"] = "common";
118
- ProgrammingLanguage["None"] = "none";
119
- })(ProgrammingLanguage = exports.ProgrammingLanguage || (exports.ProgrammingLanguage = {}));
120
- exports.apiPluginApiSpecOptionId = "api-spec";
5
+ exports.capabilitiesHavePythonOption = exports.copilotPluginOptionIds = exports.copilotPluginNewApiOptionId = exports.copilotPluginExistingApiOptionIds = exports.copilotPluginOpenAIPluginOptionId = exports.copilotPluginApiSpecOptionId = void 0;
6
+ exports.copilotPluginApiSpecOptionId = "copilot-plugin-existing-api";
7
+ exports.copilotPluginOpenAIPluginOptionId = "copilot-plugin-openai-plugin";
8
+ exports.copilotPluginExistingApiOptionIds = [
9
+ exports.copilotPluginApiSpecOptionId,
10
+ exports.copilotPluginOpenAIPluginOptionId,
11
+ ];
12
+ exports.copilotPluginNewApiOptionId = "copilot-plugin-new-api";
13
+ exports.copilotPluginOptionIds = [
14
+ exports.copilotPluginNewApiOptionId,
15
+ exports.copilotPluginApiSpecOptionId,
16
+ exports.copilotPluginOpenAIPluginOptionId,
17
+ ];
121
18
  exports.capabilitiesHavePythonOption = [
122
19
  "custom-copilot-basic",
123
20
  "custom-copilot-rag-azureAISearch",
124
21
  "custom-copilot-rag-customize",
125
22
  "custom-copilot-agent-new",
126
- "custom-copilot-agent-assistants-api",
127
- "custom-copilot-rag-customApi",
128
- ];
129
- class RuntimeOptions {
130
- static NodeJS() {
131
- return {
132
- id: "node",
133
- label: "Node.js",
134
- detail: (0, localizeUtils_1.getLocalizedString)("core.RuntimeOptionNodeJS.detail"),
135
- };
136
- }
137
- static DotNet() {
138
- return {
139
- id: "dotnet",
140
- label: ".NET Core",
141
- detail: (0, localizeUtils_1.getLocalizedString)("core.RuntimeOptionDotNet.detail"),
142
- };
143
- }
144
- }
145
- exports.RuntimeOptions = RuntimeOptions;
146
- function getRuntime(inputs) {
147
- let runtime = RuntimeOptions.NodeJS().id;
148
- if ((inputs === null || inputs === void 0 ? void 0 : inputs.platform) === teamsfx_api_1.Platform.VS) {
149
- runtime = RuntimeOptions.DotNet().id;
150
- }
151
- else if (featureFlags_1.featureFlagManager.getBooleanValue(featureFlags_1.FeatureFlags.CLIDotNet)) {
152
- runtime = inputs[QuestionNames.Runtime] || runtime;
153
- }
154
- return runtime;
155
- }
156
- exports.getRuntime = getRuntime;
157
- class ScratchOptions {
158
- static yes() {
159
- return {
160
- id: "yes",
161
- label: (0, localizeUtils_1.getLocalizedString)("core.ScratchOptionYes.label"),
162
- detail: (0, localizeUtils_1.getLocalizedString)("core.ScratchOptionYes.detail"),
163
- };
164
- }
165
- static no() {
166
- return {
167
- id: "no",
168
- label: (0, localizeUtils_1.getLocalizedString)("core.ScratchOptionNo.label"),
169
- detail: (0, localizeUtils_1.getLocalizedString)("core.ScratchOptionNo.detail"),
170
- };
171
- }
172
- static all() {
173
- return [ScratchOptions.yes(), ScratchOptions.no()];
174
- }
175
- }
176
- exports.ScratchOptions = ScratchOptions;
177
- class ProjectTypeOptions {
178
- static getCreateGroupName() {
179
- return featureFlags_1.featureFlagManager.getBooleanValue(featureFlags_1.FeatureFlags.ChatParticipantUIEntries)
180
- ? (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.createGroup.title")
181
- : undefined;
182
- }
183
- static tab(platform) {
184
- return {
185
- id: "tab-type",
186
- label: `${platform === teamsfx_api_1.Platform.VSCode ? "$(browser) " : ""}${(0, localizeUtils_1.getLocalizedString)("core.TabOption.label")}`,
187
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.tab.detail"),
188
- groupName: ProjectTypeOptions.getCreateGroupName(),
189
- };
190
- }
191
- static bot(platform) {
192
- return {
193
- id: "bot-type",
194
- label: `${platform === teamsfx_api_1.Platform.VSCode ? "$(hubot) " : ""}${(0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.bot.label")}`,
195
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.bot.detail"),
196
- groupName: ProjectTypeOptions.getCreateGroupName(),
197
- };
198
- }
199
- static me(platform) {
200
- return {
201
- id: "me-type",
202
- label: `${platform === teamsfx_api_1.Platform.VSCode ? "$(symbol-keyword) " : ""}${(0, localizeUtils_1.getLocalizedString)("core.MessageExtensionOption.label")}`,
203
- detail: (0, featureFlags_1.isCopilotExtensionEnabled)()
204
- ? (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.messageExtension.copilotEnabled.detail")
205
- : (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.messageExtension.detail"),
206
- groupName: ProjectTypeOptions.getCreateGroupName(),
207
- };
208
- }
209
- static outlookAddin(platform) {
210
- return {
211
- id: "outlook-addin-type",
212
- label: `${platform === teamsfx_api_1.Platform.VSCode ? "$(mail) " : ""}${(0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.outlookAddin.label")}`,
213
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.outlookAddin.detail"),
214
- groupName: ProjectTypeOptions.getCreateGroupName(),
215
- };
216
- }
217
- static officeMetaOS(platform) {
218
- return {
219
- id: "office-meta-os-type",
220
- label: `${platform === teamsfx_api_1.Platform.VSCode ? "$(teamsfx-m365) " : ""}${(0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.officeAddin.label")}`,
221
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.officeAddin.detail"),
222
- groupName: ProjectTypeOptions.getCreateGroupName(),
223
- };
224
- }
225
- static officeAddin(platform) {
226
- return {
227
- id: "office-addin-type",
228
- label: `${platform === teamsfx_api_1.Platform.VSCode ? "$(extensions) " : ""}${(0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.officeAddin.label")}`,
229
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.officeAddin.detail"),
230
- groupName: ProjectTypeOptions.getCreateGroupName(),
231
- };
232
- }
233
- static officeAddinAllIds(platform) {
234
- return [
235
- ProjectTypeOptions.officeMetaOS(platform).id,
236
- ProjectTypeOptions.officeAddin(platform).id,
237
- ProjectTypeOptions.outlookAddin(platform).id,
238
- ];
239
- }
240
- static copilotExtension(platform) {
241
- return {
242
- id: "copilot-agent-type",
243
- label: `${platform === teamsfx_api_1.Platform.VSCode ? "$(teamsfx-copilot-plugin) " : ""}${(0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.copilotExtension.label")}`,
244
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.copilotExtension.detail"),
245
- groupName: ProjectTypeOptions.getCreateGroupName(),
246
- };
247
- }
248
- static customCopilot(platform) {
249
- return {
250
- id: "custom-copilot-type",
251
- label: `${platform === teamsfx_api_1.Platform.VSCode ? "$(teamsfx-custom-copilot) " : ""}${(0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.customCopilot.label")}`,
252
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.customCopilot.detail"),
253
- groupName: ProjectTypeOptions.getCreateGroupName(),
254
- };
255
- }
256
- static startWithGithubCopilot() {
257
- return {
258
- id: "start-with-github-copilot",
259
- label: `$(comment-discussion) ${(0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.copilotHelp.label")}`,
260
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.copilotHelp.detail"),
261
- groupName: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.copilotGroup.title"),
262
- };
263
- }
264
- }
265
- exports.ProjectTypeOptions = ProjectTypeOptions;
266
- class CapabilityOptions {
267
- // empty
268
- static empty() {
269
- return {
270
- id: "empty",
271
- label: "Empty",
272
- };
273
- }
274
- // bot
275
- static basicBot() {
276
- return {
277
- id: "bot",
278
- label: `${(0, localizeUtils_1.getLocalizedString)("core.BotNewUIOption.label")}`,
279
- detail: (0, localizeUtils_1.getLocalizedString)("core.BotNewUIOption.detail"),
280
- };
281
- }
282
- static notificationBot() {
283
- return {
284
- // For default option, id and cliName must be the same
285
- id: "notification",
286
- label: `${(0, localizeUtils_1.getLocalizedString)("core.NotificationOption.label")}`,
287
- detail: (0, localizeUtils_1.getLocalizedString)("core.NotificationOption.detail"),
288
- data: "https://aka.ms/teamsfx-send-notification",
289
- buttons: [
290
- {
291
- iconPath: "file-symlink-file",
292
- tooltip: (0, localizeUtils_1.getLocalizedString)("core.option.github"),
293
- command: "fx-extension.openTutorial",
294
- },
295
- ],
296
- };
297
- }
298
- static commandBot() {
299
- return {
300
- // id must match cli `yargsHelp`
301
- id: "command-bot",
302
- label: `${(0, localizeUtils_1.getLocalizedString)("core.CommandAndResponseOption.label")}`,
303
- detail: (0, localizeUtils_1.getLocalizedString)("core.CommandAndResponseOption.detail"),
304
- data: "https://aka.ms/teamsfx-create-command",
305
- buttons: [
306
- {
307
- iconPath: "file-symlink-file",
308
- tooltip: (0, localizeUtils_1.getLocalizedString)("core.option.github"),
309
- command: "fx-extension.openTutorial",
310
- },
311
- ],
312
- };
313
- }
314
- static workflowBot(inputs) {
315
- const item = {
316
- // id must match cli `yargsHelp`
317
- id: "workflow-bot",
318
- label: `${(0, localizeUtils_1.getLocalizedString)("core.WorkflowOption.label")}`,
319
- detail: (0, localizeUtils_1.getLocalizedString)("core.WorkflowOption.detail"),
320
- data: "https://aka.ms/teamsfx-create-workflow",
321
- buttons: [
322
- {
323
- iconPath: "file-symlink-file",
324
- tooltip: (0, localizeUtils_1.getLocalizedString)("core.option.github"),
325
- command: "fx-extension.openTutorial",
326
- },
327
- ],
328
- };
329
- if (inputs === null || inputs === void 0 ? void 0 : inputs.inProductDoc) {
330
- item.data = "cardActionResponse";
331
- item.buttons = [
332
- {
333
- iconPath: "file-code",
334
- tooltip: (0, localizeUtils_1.getLocalizedString)("core.option.inProduct"),
335
- command: "fx-extension.openTutorial",
336
- },
337
- ];
338
- }
339
- return item;
340
- }
341
- //tab
342
- static nonSsoTab() {
343
- return {
344
- id: "tab-non-sso",
345
- label: `${(0, localizeUtils_1.getLocalizedString)("core.TabNonSso.label")}`,
346
- detail: (0, localizeUtils_1.getLocalizedString)("core.TabNonSso.detail"),
347
- description: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.option.description.worksInOutlookM365"),
348
- };
349
- }
350
- static tab() {
351
- return {
352
- id: "tab",
353
- label: (0, localizeUtils_1.getLocalizedString)("core.TabOption.label"),
354
- description: (0, localizeUtils_1.getLocalizedString)("core.TabOption.description"),
355
- detail: (0, localizeUtils_1.getLocalizedString)("core.TabOption.detail"),
356
- };
357
- }
358
- static m365SsoLaunchPage() {
359
- return {
360
- id: "sso-launch-page",
361
- label: `${(0, localizeUtils_1.getLocalizedString)("core.M365SsoLaunchPageOptionItem.label")}`,
362
- detail: (0, localizeUtils_1.getLocalizedString)("core.M365SsoLaunchPageOptionItem.detail"),
363
- description: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.option.description.worksInOutlookM365"),
364
- };
365
- }
366
- static dashboardTab() {
367
- return {
368
- id: "dashboard-tab",
369
- label: `${(0, localizeUtils_1.getLocalizedString)("core.DashboardOption.label")}`,
370
- detail: (0, localizeUtils_1.getLocalizedString)("core.DashboardOption.detail"),
371
- description: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.option.description.worksInOutlookM365"),
372
- data: "https://aka.ms/teamsfx-dashboard-app",
373
- buttons: [
374
- {
375
- iconPath: "file-symlink-file",
376
- tooltip: (0, localizeUtils_1.getLocalizedString)("core.option.github"),
377
- command: "fx-extension.openTutorial",
378
- },
379
- ],
380
- };
381
- }
382
- static SPFxTab() {
383
- return {
384
- id: "tab-spfx",
385
- label: (0, localizeUtils_1.getLocalizedString)("core.TabSPFxOption.labelNew"),
386
- description: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.option.description.worksInOutlookM365"),
387
- detail: (0, localizeUtils_1.getLocalizedString)("core.TabSPFxOption.detailNew"),
388
- };
389
- }
390
- //message extension
391
- static linkUnfurling() {
392
- return {
393
- id: "link-unfurling",
394
- label: `${(0, localizeUtils_1.getLocalizedString)("core.LinkUnfurlingOption.label")}`,
395
- detail: (0, localizeUtils_1.getLocalizedString)("core.LinkUnfurlingOption.detail"),
396
- description: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.option.description.worksInOutlook"),
397
- };
398
- }
399
- static m365SearchMe() {
400
- return {
401
- id: "search-app",
402
- label: `${(0, localizeUtils_1.getLocalizedString)("core.M365SearchAppOptionItem.label")}`,
403
- detail: (0, featureFlags_1.isCopilotExtensionEnabled)()
404
- ? (0, localizeUtils_1.getLocalizedString)("core.M365SearchAppOptionItem.copilot.detail")
405
- : (0, localizeUtils_1.getLocalizedString)("core.M365SearchAppOptionItem.detail"),
406
- };
407
- }
408
- static SearchMe() {
409
- return {
410
- id: "search-message-extension",
411
- label: `${(0, localizeUtils_1.getLocalizedString)("core.M365SearchAppOptionItem.label")}`,
412
- detail: (0, localizeUtils_1.getLocalizedString)("core.SearchAppOptionItem.detail"),
413
- };
414
- }
415
- static collectFormMe() {
416
- return {
417
- id: "collect-form-message-extension",
418
- label: `${(0, localizeUtils_1.getLocalizedString)("core.MessageExtensionOption.labelNew")}`,
419
- detail: (0, localizeUtils_1.getLocalizedString)("core.MessageExtensionOption.detail"),
420
- };
421
- }
422
- static me() {
423
- return {
424
- id: "message-extension",
425
- label: (0, localizeUtils_1.getLocalizedString)("core.MessageExtensionOption.label"),
426
- description: (0, localizeUtils_1.getLocalizedString)("core.MessageExtensionOption.description"),
427
- detail: (0, localizeUtils_1.getLocalizedString)("core.MessageExtensionOption.detail"),
428
- };
429
- }
430
- static bots(inputs) {
431
- if (inputs && getRuntime(inputs) === RuntimeOptions.DotNet().id) {
432
- return [
433
- CapabilityOptions.basicBot(),
434
- CapabilityOptions.aiBot(),
435
- CapabilityOptions.aiAssistantBot(),
436
- CapabilityOptions.notificationBot(),
437
- CapabilityOptions.commandBot(),
438
- CapabilityOptions.workflowBot(inputs),
439
- ];
440
- }
441
- return [
442
- CapabilityOptions.basicBot(),
443
- CapabilityOptions.notificationBot(),
444
- CapabilityOptions.commandBot(),
445
- CapabilityOptions.workflowBot(inputs),
446
- ];
447
- }
448
- static tabs() {
449
- return [
450
- CapabilityOptions.nonSsoTab(),
451
- CapabilityOptions.m365SsoLaunchPage(),
452
- CapabilityOptions.dashboardTab(),
453
- CapabilityOptions.SPFxTab(),
454
- ];
455
- }
456
- static dotnetCaps(inputs) {
457
- const capabilities = [
458
- CapabilityOptions.empty(),
459
- ...CapabilityOptions.copilotExtensions(inputs),
460
- ...CapabilityOptions.customCopilots(),
461
- ...CapabilityOptions.bots(inputs),
462
- CapabilityOptions.nonSsoTab(),
463
- CapabilityOptions.tab(),
464
- ...CapabilityOptions.collectMECaps(),
465
- ];
466
- if (featureFlags_1.featureFlagManager.getBooleanValue(featureFlags_1.FeatureFlags.TdpTemplateCliTest)) {
467
- capabilities.push(CapabilityOptions.me());
468
- }
469
- return capabilities;
470
- }
471
- /**
472
- * Collect all capabilities for message extension, including dotnet and nodejs.
473
- * @returns OptionItem[] capability list
474
- */
475
- static collectMECaps() {
476
- return [
477
- CapabilityOptions.m365SearchMe(),
478
- CapabilityOptions.collectFormMe(),
479
- CapabilityOptions.SearchMe(),
480
- CapabilityOptions.linkUnfurling(),
481
- ];
482
- }
483
- static mes(inputs) {
484
- return inputs !== undefined && getRuntime(inputs) === RuntimeOptions.DotNet().id
485
- ? [
486
- CapabilityOptions.SearchMe(),
487
- CapabilityOptions.collectFormMe(),
488
- CapabilityOptions.linkUnfurling(),
489
- ]
490
- : [
491
- CapabilityOptions.m365SearchMe(),
492
- CapabilityOptions.collectFormMe(),
493
- CapabilityOptions.linkUnfurling(),
494
- ];
495
- }
496
- static officeAddinStaticCapabilities(host) {
497
- const items = [];
498
- for (const h of Object.keys(projectConfig_1.OfficeAddinProjectConfig)) {
499
- if (host && h !== host)
500
- continue;
501
- const hostValue = projectConfig_1.OfficeAddinProjectConfig[h];
502
- for (const capability of Object.keys(hostValue)) {
503
- const capabilityValue = hostValue[capability];
504
- items.push({
505
- id: capability,
506
- label: (0, localizeUtils_1.getLocalizedString)(capabilityValue.title),
507
- detail: (0, localizeUtils_1.getLocalizedString)(capabilityValue.detail),
508
- });
509
- }
510
- }
511
- return items;
512
- }
513
- static officeAddinDynamicCapabilities(projectType, host) {
514
- const items = [];
515
- const isOutlookAddin = projectType === ProjectTypeOptions.outlookAddin().id;
516
- const isMetaOSAddin = projectType === ProjectTypeOptions.officeMetaOS().id;
517
- const isOfficeAddin = projectType === ProjectTypeOptions.officeAddin().id;
518
- const pushToItems = (option) => {
519
- const capabilityValue = projectConfig_1.OfficeAddinProjectConfig.json[option];
520
- items.push({
521
- id: option,
522
- label: (0, localizeUtils_1.getLocalizedString)(capabilityValue.title),
523
- detail: (0, localizeUtils_1.getLocalizedString)(capabilityValue.detail),
524
- });
525
- };
526
- if (isOutlookAddin || isMetaOSAddin || isOfficeAddin) {
527
- pushToItems("json-taskpane");
528
- if (isOutlookAddin) {
529
- items.push(CapabilityOptions.outlookAddinImport());
530
- }
531
- else if (isMetaOSAddin) {
532
- items.push(CapabilityOptions.officeAddinImport());
533
- }
534
- else {
535
- items.push(CapabilityOptions.officeContentAddin());
536
- items.push(CapabilityOptions.officeAddinImport());
537
- }
538
- }
539
- else {
540
- if (host) {
541
- const hostValue = projectConfig_1.OfficeAddinProjectConfig[host];
542
- for (const capability of Object.keys(hostValue)) {
543
- const capabilityValue = hostValue[capability];
544
- items.push({
545
- id: capability,
546
- label: (0, localizeUtils_1.getLocalizedString)(capabilityValue.title),
547
- detail: (0, localizeUtils_1.getLocalizedString)(capabilityValue.detail),
548
- });
549
- }
550
- }
551
- }
552
- return items;
553
- }
554
- static copilotExtensions(inputs, isStatic) {
555
- if (isStatic) {
556
- return [CapabilityOptions.apiPlugin(), CapabilityOptions.declarativeCopilot()];
557
- }
558
- if (inputs && getRuntime(inputs) === RuntimeOptions.DotNet().id) {
559
- return [CapabilityOptions.apiPlugin()];
560
- }
561
- else if ((0, featureFlags_1.isCopilotExtensionEnabled)()) {
562
- return [CapabilityOptions.apiPlugin(), CapabilityOptions.declarativeCopilot()];
563
- }
564
- else {
565
- return [CapabilityOptions.declarativeCopilot()];
566
- }
567
- }
568
- static customCopilots() {
569
- return [
570
- CapabilityOptions.customCopilotBasic(),
571
- CapabilityOptions.customCopilotRag(),
572
- CapabilityOptions.customCopilotAssistant(),
573
- ];
574
- }
575
- static tdpIntegrationCapabilities() {
576
- // templates that are used by TDP integration only
577
- return [
578
- CapabilityOptions.me(),
579
- CapabilityOptions.botAndMe(),
580
- CapabilityOptions.nonSsoTabAndBot(),
581
- ];
582
- }
583
- /**
584
- * static capability list, which does not depend on any feature flags
585
- */
586
- static staticAll(inputs) {
587
- const capabilityOptions = [
588
- CapabilityOptions.empty(),
589
- ...CapabilityOptions.bots(inputs),
590
- ...CapabilityOptions.tabs(),
591
- ...CapabilityOptions.collectMECaps(),
592
- ...CapabilityOptions.copilotExtensions(inputs, true),
593
- ...CapabilityOptions.customCopilots(),
594
- ...CapabilityOptions.tdpIntegrationCapabilities(),
595
- ];
596
- capabilityOptions.push(...CapabilityOptions.officeAddinStaticCapabilities());
597
- return capabilityOptions;
598
- }
599
- /**
600
- * dynamic capability list, which depends on feature flags
601
- */
602
- static all(inputs) {
603
- if (inputs && getRuntime(inputs) === RuntimeOptions.DotNet().id) {
604
- return CapabilityOptions.dotnetCaps(inputs);
605
- }
606
- const capabilityOptions = [
607
- ...CapabilityOptions.bots(inputs),
608
- ...CapabilityOptions.tabs(),
609
- ...CapabilityOptions.collectMECaps(),
610
- ];
611
- capabilityOptions.push(...CapabilityOptions.copilotExtensions());
612
- capabilityOptions.push(...CapabilityOptions.customCopilots());
613
- if (featureFlags_1.featureFlagManager.getBooleanValue(featureFlags_1.FeatureFlags.TdpTemplateCliTest)) {
614
- // test templates that are used by TDP integration only
615
- capabilityOptions.push(...CapabilityOptions.tdpIntegrationCapabilities());
616
- }
617
- capabilityOptions.push(...CapabilityOptions.officeAddinDynamicCapabilities(inputs === null || inputs === void 0 ? void 0 : inputs.projectType, inputs === null || inputs === void 0 ? void 0 : inputs.host));
618
- return capabilityOptions;
619
- }
620
- static outlookAddinImport() {
621
- return {
622
- id: "outlook-addin-import",
623
- label: (0, localizeUtils_1.getLocalizedString)("core.importAddin.label"),
624
- detail: (0, localizeUtils_1.getLocalizedString)("core.importAddin.detail"),
625
- };
626
- }
627
- static officeAddinImport() {
628
- return {
629
- id: "office-addin-import",
630
- label: (0, localizeUtils_1.getLocalizedString)("core.importOfficeAddin.label"),
631
- detail: (0, localizeUtils_1.getLocalizedString)("core.importAddin.detail"),
632
- description: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.option.description.previewOnWindow"),
633
- };
634
- }
635
- static officeContentAddin() {
636
- return {
637
- id: "office-content-addin",
638
- label: (0, localizeUtils_1.getLocalizedString)("core.officeContentAddin.label"),
639
- detail: (0, localizeUtils_1.getLocalizedString)("core.officeContentAddin.detail"),
640
- };
641
- }
642
- static nonSsoTabAndBot() {
643
- return {
644
- id: "TabNonSsoAndBot",
645
- label: "", // No need to set display name as this option won't be shown in UI
646
- };
647
- }
648
- static botAndMe() {
649
- return {
650
- id: "BotAndMessageExtension",
651
- label: "", // No need to set display name as this option won't be shown in UI
652
- };
653
- }
654
- // copilot extension - api plugin
655
- static apiPlugin() {
656
- return {
657
- id: "api-plugin",
658
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.copilotPlugin.label"),
659
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.copilotPlugin.detail"),
660
- };
661
- }
662
- // copilot extension - declarative copilot
663
- static declarativeCopilot() {
664
- return {
665
- id: "declarative-agent",
666
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.declarativeCopilot.label"),
667
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.projectType.declarativeCopilot.detail"),
668
- };
669
- }
670
- static aiBot() {
671
- return {
672
- id: "ai-bot",
673
- label: (0, localizeUtils_1.getLocalizedString)("core.aiBotOption.label"),
674
- detail: (0, localizeUtils_1.getLocalizedString)("core.aiBotOption.detail"),
675
- };
676
- }
677
- static aiAssistantBot() {
678
- return {
679
- id: "ai-assistant-bot",
680
- label: (0, localizeUtils_1.getLocalizedString)("core.aiAssistantBotOption.label"),
681
- detail: (0, localizeUtils_1.getLocalizedString)("core.aiAssistantBotOption.detail"),
682
- description: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.option.description.preview"),
683
- };
684
- }
685
- // custom copilot
686
- static customCopilotBasic() {
687
- return {
688
- id: "custom-copilot-basic",
689
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotBasicOption.label"),
690
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotBasicOption.detail"),
691
- description: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customEngineAgent.description"),
692
- };
693
- }
694
- static customCopilotRag() {
695
- return {
696
- id: "custom-copilot-rag",
697
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotRagOption.label"),
698
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotRagOption.detail"),
699
- };
700
- }
701
- static customCopilotAssistant() {
702
- return {
703
- id: "custom-copilot-agent",
704
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotAssistantOption.label"),
705
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotAssistantOption.detail"),
706
- };
707
- }
708
- }
709
- exports.CapabilityOptions = CapabilityOptions;
710
- class ApiAuthOptions {
711
- static none() {
712
- return {
713
- id: "none",
714
- label: "None",
715
- };
716
- }
717
- static apiKey() {
718
- return {
719
- id: "api-key",
720
- label: "API Key (Bearer Token Auth)",
721
- };
722
- }
723
- static microsoftEntra() {
724
- return {
725
- id: "microsoft-entra",
726
- label: "Microsoft Entra",
727
- };
728
- }
729
- static oauth() {
730
- return {
731
- id: "oauth",
732
- label: "OAuth",
733
- };
734
- }
735
- static all() {
736
- return [
737
- ApiAuthOptions.none(),
738
- ApiAuthOptions.apiKey(),
739
- ApiAuthOptions.microsoftEntra(),
740
- ApiAuthOptions.oauth(),
741
- ];
742
- }
743
- }
744
- exports.ApiAuthOptions = ApiAuthOptions;
745
- class MeArchitectureOptions {
746
- static botMe() {
747
- return {
748
- id: "bot",
749
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.botMessageExtension.label"),
750
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.botMessageExtension.detail"),
751
- description: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.option.description.worksInOutlook"),
752
- };
753
- }
754
- static botPlugin() {
755
- return {
756
- id: "bot-plugin",
757
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.botMessageExtension.label"),
758
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.botMessageExtension.detail"),
759
- description: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.option.description.worksInOutlookCopilot"),
760
- };
761
- }
762
- static newApi() {
763
- return {
764
- id: "new-api",
765
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.copilotPluginNewApiOption.label"),
766
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.messageExtensionNewApiOption.detail"),
767
- };
768
- }
769
- static apiSpec() {
770
- return {
771
- id: "api-spec",
772
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.copilotPluginApiSpecOption.label"),
773
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.messageExtensionApiSpecOption.detail"),
774
- };
775
- }
776
- static all() {
777
- return [
778
- MeArchitectureOptions.newApi(),
779
- MeArchitectureOptions.apiSpec(),
780
- (0, featureFlags_1.isCopilotExtensionEnabled)()
781
- ? MeArchitectureOptions.botPlugin()
782
- : MeArchitectureOptions.botMe(),
783
- ];
784
- }
785
- static staticAll() {
786
- return [
787
- MeArchitectureOptions.newApi(),
788
- MeArchitectureOptions.apiSpec(),
789
- MeArchitectureOptions.botPlugin(),
790
- MeArchitectureOptions.botMe(),
791
- ];
792
- }
793
- }
794
- exports.MeArchitectureOptions = MeArchitectureOptions;
795
- var HostType;
796
- (function (HostType) {
797
- HostType["AppService"] = "app-service";
798
- HostType["Functions"] = "azure-functions";
799
- })(HostType = exports.HostType || (exports.HostType = {}));
800
- exports.NotificationTriggers = {
801
- HTTP: "http",
802
- TIMER: "timer",
803
- };
804
- class NotificationTriggerOptions {
805
- static appService() {
806
- return {
807
- id: "http-restify",
808
- hostType: HostType.AppService,
809
- label: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-restify.label"),
810
- description: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-restify.description"),
811
- detail: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-restify.detail"),
812
- };
813
- }
814
- static appServiceForVS() {
815
- return {
816
- id: "http-webapi",
817
- hostType: HostType.AppService,
818
- label: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-webapi.label"),
819
- description: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-webapi.description"),
820
- detail: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-webapi.detail"),
821
- };
822
- }
823
- // NOTE: id must be the sample as cliName to prevent parsing error for CLI default value.
824
- static functionsTimerTrigger() {
825
- return {
826
- id: "timer-functions",
827
- hostType: HostType.Functions,
828
- triggers: [exports.NotificationTriggers.TIMER],
829
- label: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.timer-functions.label"),
830
- description: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.timer-functions.description"),
831
- detail: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.timer-functions.detail"),
832
- };
833
- }
834
- static functionsTimerTriggerIsolated() {
835
- return {
836
- id: "timer-functions-isolated",
837
- hostType: HostType.Functions,
838
- triggers: [exports.NotificationTriggers.TIMER],
839
- label: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.timer-functions.label"),
840
- description: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.timer-functions.description"),
841
- detail: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.timer-functions.detail"),
842
- };
843
- }
844
- static functionsHttpAndTimerTrigger() {
845
- return {
846
- id: "http-and-timer-functions",
847
- hostType: HostType.Functions,
848
- triggers: [exports.NotificationTriggers.HTTP, exports.NotificationTriggers.TIMER],
849
- label: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-and-timer-functions.label"),
850
- description: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-and-timer-functions.description"),
851
- detail: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-and-timer-functions.detail"),
852
- };
853
- }
854
- static functionsHttpAndTimerTriggerIsolated() {
855
- return {
856
- id: "http-and-timer-functions-isolated",
857
- hostType: HostType.Functions,
858
- triggers: [exports.NotificationTriggers.HTTP, exports.NotificationTriggers.TIMER],
859
- label: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-and-timer-functions.label"),
860
- description: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-and-timer-functions.description"),
861
- detail: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-and-timer-functions.detail"),
862
- };
863
- }
864
- static functionsHttpTrigger() {
865
- return {
866
- id: "http-functions",
867
- hostType: HostType.Functions,
868
- triggers: [exports.NotificationTriggers.HTTP],
869
- label: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-functions.label"),
870
- description: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-functions.description"),
871
- detail: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-functions.detail"),
872
- };
873
- }
874
- static functionsHttpTriggerIsolated() {
875
- return {
876
- id: "http-functions-isolated",
877
- hostType: HostType.Functions,
878
- triggers: [exports.NotificationTriggers.HTTP],
879
- label: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-functions.label"),
880
- description: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-functions.description"),
881
- detail: (0, localizeUtils_1.getLocalizedString)("plugins.bot.triggers.http-functions.detail"),
882
- };
883
- }
884
- static functionsTriggers() {
885
- return [
886
- NotificationTriggerOptions.functionsHttpAndTimerTrigger(),
887
- NotificationTriggerOptions.functionsHttpTrigger(),
888
- NotificationTriggerOptions.functionsTimerTrigger(),
889
- ];
890
- }
891
- static all() {
892
- return [
893
- NotificationTriggerOptions.appService(),
894
- NotificationTriggerOptions.appServiceForVS(),
895
- NotificationTriggerOptions.functionsHttpAndTimerTrigger(),
896
- NotificationTriggerOptions.functionsHttpTrigger(),
897
- NotificationTriggerOptions.functionsTimerTrigger(),
898
- ];
899
- }
900
- }
901
- exports.NotificationTriggerOptions = NotificationTriggerOptions;
902
- var SPFxVersionOptionIds;
903
- (function (SPFxVersionOptionIds) {
904
- SPFxVersionOptionIds["installLocally"] = "true";
905
- SPFxVersionOptionIds["globalPackage"] = "false";
906
- })(SPFxVersionOptionIds = exports.SPFxVersionOptionIds || (exports.SPFxVersionOptionIds = {}));
907
- class CustomCopilotRagOptions {
908
- static customize() {
909
- return {
910
- id: "custom-copilot-rag-customize",
911
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotRagCustomizeOption.label"),
912
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotRagCustomizeOption.detail"),
913
- };
914
- }
915
- static azureAISearch() {
916
- return {
917
- id: "custom-copilot-rag-azureAISearch",
918
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotRagAzureAISearchOption.label"),
919
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotRagAzureAISearchOption.detail"),
920
- };
921
- }
922
- static customApi() {
923
- return {
924
- id: "custom-copilot-rag-customApi",
925
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotRagCustomApiOption.label"),
926
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotRagCustomApiOption.detail"),
927
- description: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.option.description.preview"),
928
- };
929
- }
930
- static microsoft365() {
931
- return {
932
- id: "custom-copilot-rag-microsoft365",
933
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotRagMicrosoft365Option.label"),
934
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotRagMicrosoft365Option.detail"),
935
- };
936
- }
937
- static all() {
938
- return [
939
- CustomCopilotRagOptions.customize(),
940
- CustomCopilotRagOptions.azureAISearch(),
941
- CustomCopilotRagOptions.customApi(),
942
- CustomCopilotRagOptions.microsoft365(),
943
- ];
944
- }
945
- }
946
- exports.CustomCopilotRagOptions = CustomCopilotRagOptions;
947
- class CustomCopilotAssistantOptions {
948
- static new() {
949
- return {
950
- id: "custom-copilot-agent-new",
951
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotAssistantNewOption.label"),
952
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotAssistantNewOption.detail"),
953
- };
954
- }
955
- static assistantsApi() {
956
- return {
957
- id: "custom-copilot-agent-assistants-api",
958
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotAssistantAssistantsApiOption.label"),
959
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.customCopilotAssistantAssistantsApiOption.detail"),
960
- description: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.option.description.preview"),
961
- };
962
- }
963
- static all() {
964
- return [CustomCopilotAssistantOptions.new(), CustomCopilotAssistantOptions.assistantsApi()];
965
- }
966
- }
967
- exports.CustomCopilotAssistantOptions = CustomCopilotAssistantOptions;
968
- exports.recommendedLocations = [
969
- "South Africa North",
970
- "Australia East",
971
- "Central India",
972
- "East Asia",
973
- "Japan East",
974
- "Korea Central",
975
- "Southeast Asia",
976
- "Canada Central",
977
- "France Central",
978
- "Germany West Central",
979
- "Italy North",
980
- "North Europe",
981
- "Norway East",
982
- "Poland Central",
983
- "Sweden Central",
984
- "Switzerland North",
985
- "UK South",
986
- "West Europe",
987
- "Israel Central",
988
- "Qatar Central",
989
- "UAE North",
990
- "Brazil South",
991
- "Central US",
992
- "East US",
993
- "East US 2",
994
- "South Central US",
995
- "West US 2",
996
- "West US 3",
997
23
  ];
998
- class TeamsAppValidationOptions {
999
- static schema() {
1000
- return {
1001
- id: "validateAgainstSchema",
1002
- label: (0, localizeUtils_1.getLocalizedString)("core.selectValidateMethodQuestion.validate.schemaOption"),
1003
- };
1004
- }
1005
- static package() {
1006
- return {
1007
- id: "validateAgainstPackage",
1008
- label: (0, localizeUtils_1.getLocalizedString)("core.selectValidateMethodQuestion.validate.appPackageOption"),
1009
- };
1010
- }
1011
- static testCases() {
1012
- return {
1013
- id: "validateWithTestCases",
1014
- label: (0, localizeUtils_1.getLocalizedString)("core.selectValidateMethodQuestion.validate.testCasesOption"),
1015
- description: (0, localizeUtils_1.getLocalizedString)("core.selectValidateMethodQuestion.validate.testCasesOptionDescription"),
1016
- };
1017
- }
1018
- }
1019
- exports.TeamsAppValidationOptions = TeamsAppValidationOptions;
1020
- var HubTypes;
1021
- (function (HubTypes) {
1022
- HubTypes["teams"] = "teams";
1023
- HubTypes["outlook"] = "outlook";
1024
- HubTypes["office"] = "office";
1025
- })(HubTypes = exports.HubTypes || (exports.HubTypes = {}));
1026
- class HubOptions {
1027
- static teams() {
1028
- return {
1029
- id: "teams",
1030
- label: "Teams",
1031
- };
1032
- }
1033
- static outlook() {
1034
- return {
1035
- id: "outlook",
1036
- label: "Outlook",
1037
- };
1038
- }
1039
- static office() {
1040
- return {
1041
- id: "office",
1042
- label: "the Microsoft 365 app",
1043
- };
1044
- }
1045
- static all() {
1046
- return [this.teams(), this.outlook(), this.office()];
1047
- }
1048
- }
1049
- exports.HubOptions = HubOptions;
1050
- class DeclarativeCopilotTypeOptions {
1051
- static noPlugin() {
1052
- return {
1053
- id: "no",
1054
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.noPlugin.label"),
1055
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.noPlugin.detail"),
1056
- };
1057
- }
1058
- static withPlugin() {
1059
- return {
1060
- id: "yes",
1061
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.addPlugin.label"),
1062
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.addPlugin.detail"),
1063
- };
1064
- }
1065
- static all() {
1066
- return [DeclarativeCopilotTypeOptions.noPlugin(), DeclarativeCopilotTypeOptions.withPlugin()];
1067
- }
1068
- }
1069
- exports.DeclarativeCopilotTypeOptions = DeclarativeCopilotTypeOptions;
1070
- class ApiPluginStartOptions {
1071
- static newApi() {
1072
- return {
1073
- id: "new-api",
1074
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.copilotPluginNewApiOption.label"),
1075
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.copilotPluginNewApiOption.detail"),
1076
- };
1077
- }
1078
- static apiSpec() {
1079
- return {
1080
- id: "api-spec",
1081
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.copilotPluginApiSpecOption.label"),
1082
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.capability.copilotPluginApiSpecOption.detail"),
1083
- };
1084
- }
1085
- static existingPlugin() {
1086
- return {
1087
- id: "existing-plugin",
1088
- label: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.apiPlugin.importPlugin.label"),
1089
- detail: (0, localizeUtils_1.getLocalizedString)("core.createProjectQuestion.apiPlugin.importPlugin.detail"),
1090
- };
1091
- }
1092
- static staticAll(doesProjectExists) {
1093
- return doesProjectExists
1094
- ? [ApiPluginStartOptions.apiSpec(), ApiPluginStartOptions.existingPlugin()]
1095
- : [
1096
- ApiPluginStartOptions.newApi(),
1097
- ApiPluginStartOptions.apiSpec(),
1098
- ApiPluginStartOptions.existingPlugin(),
1099
- ];
1100
- }
1101
- static all(inputs, doesProjectExists) {
1102
- if (doesProjectExists) {
1103
- return [ApiPluginStartOptions.apiSpec(), ApiPluginStartOptions.existingPlugin()];
1104
- }
1105
- else if (inputs[QuestionNames.Capabilities] === CapabilityOptions.declarativeCopilot().id) {
1106
- return [
1107
- ApiPluginStartOptions.newApi(),
1108
- ApiPluginStartOptions.apiSpec(),
1109
- ApiPluginStartOptions.existingPlugin(),
1110
- ];
1111
- }
1112
- else {
1113
- return [ApiPluginStartOptions.newApi(), ApiPluginStartOptions.apiSpec()];
1114
- }
1115
- }
1116
- }
1117
- exports.ApiPluginStartOptions = ApiPluginStartOptions;
1118
24
  //# sourceMappingURL=constants.js.map