@microsoft/teamsfx-core 2.0.8-alpha.87f45d762.0 → 2.0.8-alpha.8da24c130.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/build/common/constants.d.ts +4 -18
  2. package/build/common/constants.d.ts.map +1 -1
  3. package/build/common/constants.js +4 -19
  4. package/build/common/constants.js.map +1 -1
  5. package/build/common/featureFlags.d.ts +68 -7
  6. package/build/common/featureFlags.d.ts.map +1 -1
  7. package/build/common/featureFlags.js +62 -99
  8. package/build/common/featureFlags.js.map +1 -1
  9. package/build/common/m365/launchHelper.d.ts +1 -1
  10. package/build/common/m365/launchHelper.d.ts.map +1 -1
  11. package/build/common/m365/launchHelper.js +3 -6
  12. package/build/common/m365/launchHelper.js.map +1 -1
  13. package/build/common/m365/packageService.d.ts +1 -1
  14. package/build/common/m365/packageService.d.ts.map +1 -1
  15. package/build/common/m365/packageService.js +18 -39
  16. package/build/common/m365/packageService.js.map +1 -1
  17. package/build/common/projectTypeChecker.d.ts.map +1 -1
  18. package/build/common/projectTypeChecker.js +6 -0
  19. package/build/common/projectTypeChecker.js.map +1 -1
  20. package/build/common/samples.d.ts +1 -1
  21. package/build/common/samples.js +1 -1
  22. package/build/common/stringUtils.d.ts +10 -0
  23. package/build/common/stringUtils.d.ts.map +1 -0
  24. package/build/common/stringUtils.js +121 -0
  25. package/build/common/stringUtils.js.map +1 -0
  26. package/build/common/telemetry.d.ts +15 -1
  27. package/build/common/telemetry.d.ts.map +1 -1
  28. package/build/common/telemetry.js +32 -3
  29. package/build/common/telemetry.js.map +1 -1
  30. package/build/common/templates-config.json +1 -1
  31. package/build/component/constants.js +2 -2
  32. package/build/component/constants.js.map +1 -1
  33. package/build/component/coordinator/index.d.ts +0 -40
  34. package/build/component/coordinator/index.d.ts.map +1 -1
  35. package/build/component/coordinator/index.js +126 -179
  36. package/build/component/coordinator/index.js.map +1 -1
  37. package/build/component/driver/apiKey/create.d.ts.map +1 -1
  38. package/build/component/driver/apiKey/create.js.map +1 -1
  39. package/build/component/driver/apiKey/update.js +1 -1
  40. package/build/component/driver/apiKey/update.js.map +1 -1
  41. package/build/component/driver/apiKey/utility/utility.d.ts.map +1 -1
  42. package/build/component/driver/apiKey/utility/utility.js +2 -3
  43. package/build/component/driver/apiKey/utility/utility.js.map +1 -1
  44. package/build/component/driver/index.d.ts +2 -0
  45. package/build/component/driver/index.d.ts.map +1 -1
  46. package/build/component/driver/index.js +2 -0
  47. package/build/component/driver/index.js.map +1 -1
  48. package/build/component/driver/middleware/addSWADeployTelemetry.js +2 -2
  49. package/build/component/driver/middleware/addSWADeployTelemetry.js.map +1 -1
  50. package/build/component/driver/oauth/create.d.ts +12 -0
  51. package/build/component/driver/oauth/create.d.ts.map +1 -0
  52. package/build/component/driver/oauth/create.js +193 -0
  53. package/build/component/driver/oauth/create.js.map +1 -0
  54. package/build/component/driver/oauth/error/oauthAuthInfoInvalid.d.ts +5 -0
  55. package/build/component/driver/oauth/error/oauthAuthInfoInvalid.d.ts.map +1 -0
  56. package/build/component/driver/oauth/error/oauthAuthInfoInvalid.js +21 -0
  57. package/build/component/driver/oauth/error/oauthAuthInfoInvalid.js.map +1 -0
  58. package/build/component/driver/oauth/error/oauthDomainInvalid.d.ts +5 -0
  59. package/build/component/driver/oauth/error/oauthDomainInvalid.d.ts.map +1 -0
  60. package/build/component/driver/oauth/error/oauthDomainInvalid.js +22 -0
  61. package/build/component/driver/oauth/error/oauthDomainInvalid.js.map +1 -0
  62. package/build/component/driver/oauth/error/oauthFailedToGetDomain.d.ts +5 -0
  63. package/build/component/driver/oauth/error/oauthFailedToGetDomain.d.ts.map +1 -0
  64. package/build/component/driver/oauth/error/oauthFailedToGetDomain.js +21 -0
  65. package/build/component/driver/oauth/error/oauthFailedToGetDomain.js.map +1 -0
  66. package/build/component/driver/oauth/error/oauthNameTooLong.d.ts +5 -0
  67. package/build/component/driver/oauth/error/oauthNameTooLong.d.ts.map +1 -0
  68. package/build/component/driver/oauth/error/oauthNameTooLong.js +21 -0
  69. package/build/component/driver/oauth/error/oauthNameTooLong.js.map +1 -0
  70. package/build/component/driver/oauth/interface/createOauthArgs.d.ts +12 -0
  71. package/build/component/driver/oauth/interface/createOauthArgs.d.ts.map +1 -0
  72. package/build/component/driver/oauth/interface/createOauthArgs.js +5 -0
  73. package/build/component/driver/oauth/interface/createOauthArgs.js.map +1 -0
  74. package/build/component/driver/oauth/interface/createOauthOutputs.d.ts +7 -0
  75. package/build/component/driver/oauth/interface/createOauthOutputs.d.ts.map +1 -0
  76. package/build/component/driver/oauth/interface/createOauthOutputs.js +10 -0
  77. package/build/component/driver/oauth/interface/createOauthOutputs.js.map +1 -0
  78. package/build/component/driver/oauth/interface/updateOauthArgs.d.ts +9 -0
  79. package/build/component/driver/oauth/interface/updateOauthArgs.d.ts.map +1 -0
  80. package/build/component/driver/oauth/interface/updateOauthArgs.js +5 -0
  81. package/build/component/driver/oauth/interface/updateOauthArgs.js.map +1 -0
  82. package/build/component/driver/oauth/update.d.ts +13 -0
  83. package/build/component/driver/oauth/update.d.ts.map +1 -0
  84. package/build/component/driver/oauth/update.js +181 -0
  85. package/build/component/driver/oauth/update.js.map +1 -0
  86. package/build/component/driver/oauth/utility/constants.d.ts +13 -0
  87. package/build/component/driver/oauth/utility/constants.d.ts.map +1 -0
  88. package/build/component/driver/oauth/utility/constants.js +18 -0
  89. package/build/component/driver/oauth/utility/constants.js.map +1 -0
  90. package/build/component/driver/oauth/utility/utility.d.ts +12 -0
  91. package/build/component/driver/oauth/utility/utility.d.ts.map +1 -0
  92. package/build/component/driver/oauth/utility/utility.js +90 -0
  93. package/build/component/driver/oauth/utility/utility.js.map +1 -0
  94. package/build/component/driver/script/scriptDriver.d.ts.map +1 -1
  95. package/build/component/driver/script/scriptDriver.js +6 -6
  96. package/build/component/driver/script/scriptDriver.js.map +1 -1
  97. package/build/component/driver/teamsApp/clients/appStudioClient.d.ts +5 -0
  98. package/build/component/driver/teamsApp/clients/appStudioClient.d.ts.map +1 -1
  99. package/build/component/driver/teamsApp/clients/appStudioClient.js +36 -0
  100. package/build/component/driver/teamsApp/clients/appStudioClient.js.map +1 -1
  101. package/build/component/driver/teamsApp/constants.d.ts +3 -0
  102. package/build/component/driver/teamsApp/constants.d.ts.map +1 -1
  103. package/build/component/driver/teamsApp/constants.js +3 -0
  104. package/build/component/driver/teamsApp/constants.js.map +1 -1
  105. package/build/component/driver/teamsApp/createAppPackage.d.ts +17 -0
  106. package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
  107. package/build/component/driver/teamsApp/createAppPackage.js +62 -6
  108. package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
  109. package/build/component/driver/teamsApp/interfaces/OauthConfigurationId.d.ts +7 -0
  110. package/build/component/driver/teamsApp/interfaces/OauthConfigurationId.d.ts.map +1 -0
  111. package/build/component/driver/teamsApp/interfaces/OauthConfigurationId.js +5 -0
  112. package/build/component/driver/teamsApp/interfaces/OauthConfigurationId.js.map +1 -0
  113. package/build/component/driver/teamsApp/interfaces/OauthRegistration.d.ts +44 -0
  114. package/build/component/driver/teamsApp/interfaces/OauthRegistration.d.ts.map +1 -0
  115. package/build/component/driver/teamsApp/interfaces/OauthRegistration.js +21 -0
  116. package/build/component/driver/teamsApp/interfaces/OauthRegistration.js.map +1 -0
  117. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.d.ts +8 -0
  118. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.d.ts.map +1 -0
  119. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.js +65 -0
  120. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.js.map +1 -0
  121. package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts.map +1 -1
  122. package/build/component/driver/teamsApp/utils/ManifestUtils.js +2 -14
  123. package/build/component/driver/teamsApp/utils/ManifestUtils.js.map +1 -1
  124. package/build/component/driver/teamsApp/utils/telemetry.d.ts +1 -0
  125. package/build/component/driver/teamsApp/utils/telemetry.d.ts.map +1 -1
  126. package/build/component/driver/teamsApp/utils/telemetry.js +1 -0
  127. package/build/component/driver/teamsApp/utils/telemetry.js.map +1 -1
  128. package/build/component/generator/copilotPlugin/generator.d.ts.map +1 -1
  129. package/build/component/generator/copilotPlugin/generator.js +20 -26
  130. package/build/component/generator/copilotPlugin/generator.js.map +1 -1
  131. package/build/component/generator/copilotPlugin/helper.d.ts +7 -2
  132. package/build/component/generator/copilotPlugin/helper.d.ts.map +1 -1
  133. package/build/component/generator/copilotPlugin/helper.js +66 -38
  134. package/build/component/generator/copilotPlugin/helper.js.map +1 -1
  135. package/build/component/generator/generator.d.ts +4 -2
  136. package/build/component/generator/generator.d.ts.map +1 -1
  137. package/build/component/generator/generator.js +10 -7
  138. package/build/component/generator/generator.js.map +1 -1
  139. package/build/component/generator/generatorProvider.d.ts +3 -0
  140. package/build/component/generator/generatorProvider.d.ts.map +1 -0
  141. package/build/component/generator/generatorProvider.js +18 -0
  142. package/build/component/generator/generatorProvider.js.map +1 -0
  143. package/build/component/generator/officeAddin/generator.d.ts +9 -0
  144. package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
  145. package/build/component/generator/officeAddin/generator.js +33 -2
  146. package/build/component/generator/officeAddin/generator.js.map +1 -1
  147. package/build/component/generator/officeAddin/helperMethods.d.ts +0 -3
  148. package/build/component/generator/officeAddin/helperMethods.d.ts.map +1 -1
  149. package/build/component/generator/officeAddin/helperMethods.js +1 -67
  150. package/build/component/generator/officeAddin/helperMethods.js.map +1 -1
  151. package/build/component/generator/officeXMLAddin/generator.d.ts.map +1 -1
  152. package/build/component/generator/officeXMLAddin/generator.js +5 -2
  153. package/build/component/generator/officeXMLAddin/generator.js.map +1 -1
  154. package/build/component/generator/spfx/spfxGenerator.d.ts +18 -5
  155. package/build/component/generator/spfx/spfxGenerator.d.ts.map +1 -1
  156. package/build/component/generator/spfx/spfxGenerator.js +123 -20
  157. package/build/component/generator/spfx/spfxGenerator.js.map +1 -1
  158. package/build/component/generator/templates/ssrTabGenerator.d.ts +12 -0
  159. package/build/component/generator/templates/ssrTabGenerator.d.ts.map +1 -0
  160. package/build/component/generator/templates/ssrTabGenerator.js +36 -0
  161. package/build/component/generator/templates/ssrTabGenerator.js.map +1 -0
  162. package/build/component/generator/templates/templateGenerator.d.ts +12 -0
  163. package/build/component/generator/templates/templateGenerator.d.ts.map +1 -0
  164. package/build/component/generator/templates/templateGenerator.js +99 -0
  165. package/build/component/generator/templates/templateGenerator.js.map +1 -0
  166. package/build/component/generator/templates/templateInfo.d.ts +10 -0
  167. package/build/component/generator/templates/templateInfo.d.ts.map +1 -0
  168. package/build/component/generator/templates/templateInfo.js +3 -0
  169. package/build/component/generator/templates/templateInfo.js.map +1 -0
  170. package/build/component/generator/templates/templateNames.d.ts +52 -0
  171. package/build/component/generator/templates/templateNames.d.ts.map +1 -0
  172. package/build/component/generator/templates/templateNames.js +304 -0
  173. package/build/component/generator/templates/templateNames.js.map +1 -0
  174. package/build/component/generator/templates/templateReplaceMap.d.ts +5 -0
  175. package/build/component/generator/templates/templateReplaceMap.d.ts.map +1 -0
  176. package/build/component/generator/templates/templateReplaceMap.js +39 -0
  177. package/build/component/generator/templates/templateReplaceMap.js.map +1 -0
  178. package/build/component/generator/utils.d.ts +1 -0
  179. package/build/component/generator/utils.d.ts.map +1 -1
  180. package/build/component/generator/utils.js +2 -1
  181. package/build/component/generator/utils.js.map +1 -1
  182. package/build/component/middleware/actionExecutionMW.d.ts.map +1 -1
  183. package/build/component/middleware/actionExecutionMW.js +5 -4
  184. package/build/component/middleware/actionExecutionMW.js.map +1 -1
  185. package/build/component/middleware/questionMW.d.ts.map +1 -1
  186. package/build/component/middleware/questionMW.js +9 -1
  187. package/build/component/middleware/questionMW.js.map +1 -1
  188. package/build/component/utils/envUtil.d.ts +0 -1
  189. package/build/component/utils/envUtil.d.ts.map +1 -1
  190. package/build/component/utils/envUtil.js +1 -13
  191. package/build/component/utils/envUtil.js.map +1 -1
  192. package/build/component/utils/metadataRscPermission.d.ts +1 -0
  193. package/build/component/utils/metadataRscPermission.d.ts.map +1 -1
  194. package/build/component/utils/metadataRscPermission.js +15 -3
  195. package/build/component/utils/metadataRscPermission.js.map +1 -1
  196. package/build/component/utils.d.ts +2 -1
  197. package/build/component/utils.d.ts.map +1 -1
  198. package/build/component/utils.js +43 -1
  199. package/build/component/utils.js.map +1 -1
  200. package/build/core/FxCore.d.ts +8 -3
  201. package/build/core/FxCore.d.ts.map +1 -1
  202. package/build/core/FxCore.js +229 -27
  203. package/build/core/FxCore.js.map +1 -1
  204. package/build/error/common.js +1 -1
  205. package/build/error/common.js.map +1 -1
  206. package/build/error/index.d.ts +1 -0
  207. package/build/error/index.d.ts.map +1 -1
  208. package/build/error/index.js +1 -0
  209. package/build/error/index.js.map +1 -1
  210. package/build/index.d.ts +4 -0
  211. package/build/index.d.ts.map +1 -1
  212. package/build/index.js +7 -1
  213. package/build/index.js.map +1 -1
  214. package/build/question/constants.d.ts.map +1 -1
  215. package/build/question/constants.js +6 -1
  216. package/build/question/constants.js.map +1 -1
  217. package/build/question/create.d.ts +8 -1
  218. package/build/question/create.d.ts.map +1 -1
  219. package/build/question/create.js +137 -48
  220. package/build/question/create.js.map +1 -1
  221. package/build/question/generator.js +2 -0
  222. package/build/question/generator.js.map +1 -1
  223. package/build/question/index.d.ts +2 -0
  224. package/build/question/index.d.ts.map +1 -1
  225. package/build/question/index.js +6 -0
  226. package/build/question/index.js.map +1 -1
  227. package/build/question/inputs/AddPluginInputs.d.ts +18 -0
  228. package/build/question/inputs/AddPluginInputs.d.ts.map +1 -0
  229. package/build/question/inputs/AddPluginInputs.js +5 -0
  230. package/build/question/inputs/AddPluginInputs.js.map +1 -0
  231. package/build/question/inputs/CreateProjectInputs.d.ts +4 -2
  232. package/build/question/inputs/CreateProjectInputs.d.ts.map +1 -1
  233. package/build/question/inputs/PermissionGrantInputs.d.ts +1 -1
  234. package/build/question/inputs/PermissionListInputs.d.ts +1 -1
  235. package/build/question/inputs/PreviewTeamsAppInputs.d.ts +1 -1
  236. package/build/question/inputs/SPFxAddWebpartInputs.d.ts +1 -1
  237. package/build/question/inputs/SelectTeamsManifestInputs.d.ts +1 -1
  238. package/build/question/inputs/ValidateTeamsAppInputs.d.ts +2 -2
  239. package/build/question/inputs/index.d.ts +1 -0
  240. package/build/question/inputs/index.d.ts.map +1 -1
  241. package/build/question/inputs/index.js +1 -0
  242. package/build/question/inputs/index.js.map +1 -1
  243. package/build/question/options/AddPluginOptions.d.ts +10 -0
  244. package/build/question/options/AddPluginOptions.d.ts.map +1 -0
  245. package/build/question/options/AddPluginOptions.js +39 -0
  246. package/build/question/options/AddPluginOptions.js.map +1 -0
  247. package/build/question/options/CreateProjectOptions.d.ts.map +1 -1
  248. package/build/question/options/CreateProjectOptions.js +9 -1
  249. package/build/question/options/CreateProjectOptions.js.map +1 -1
  250. package/build/question/options/PermissionGrantOptions.js +1 -1
  251. package/build/question/options/PermissionGrantOptions.js.map +1 -1
  252. package/build/question/options/PermissionListOptions.js +1 -1
  253. package/build/question/options/PermissionListOptions.js.map +1 -1
  254. package/build/question/options/PreviewTeamsAppOptions.js +1 -1
  255. package/build/question/options/PreviewTeamsAppOptions.js.map +1 -1
  256. package/build/question/options/SPFxAddWebpartOptions.js +1 -1
  257. package/build/question/options/SPFxAddWebpartOptions.js.map +1 -1
  258. package/build/question/options/SelectTeamsManifestOptions.js +1 -1
  259. package/build/question/options/SelectTeamsManifestOptions.js.map +1 -1
  260. package/build/question/options/ValidateTeamsAppOptions.js +1 -1
  261. package/build/question/options/ValidateTeamsAppOptions.js.map +1 -1
  262. package/build/question/options/index.d.ts +1 -0
  263. package/build/question/options/index.d.ts.map +1 -1
  264. package/build/question/options/index.js +1 -0
  265. package/build/question/options/index.js.map +1 -1
  266. package/build/question/other.d.ts +9 -0
  267. package/build/question/other.d.ts.map +1 -1
  268. package/build/question/other.js +167 -2
  269. package/build/question/other.js.map +1 -1
  270. package/build/question/questionNames.d.ts +6 -1
  271. package/build/question/questionNames.d.ts.map +1 -1
  272. package/build/question/questionNames.js +5 -0
  273. package/build/question/questionNames.js.map +1 -1
  274. package/package.json +14 -10
  275. package/resource/package.nls.json +51 -27
  276. package/resource/yaml-schema/v1.5/yaml.schema.json +122 -1
  277. package/resource/yaml-schema/yaml.schema.json +122 -1
  278. package/templates/fallback/common.zip +0 -0
  279. package/templates/fallback/csharp.zip +0 -0
  280. package/templates/fallback/js.zip +0 -0
  281. package/templates/fallback/python.zip +0 -0
  282. package/templates/fallback/ts.zip +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"questionNames.d.ts","sourceRoot":"","sources":["../../src/question/questionNames.ts"],"names":[],"mappings":"AAGA,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,UAAU,gBAAgB;IAC1B,OAAO,aAAa;IACpB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,mBAAmB,yBAAyB;IAC5C,WAAW,iBAAiB;IAC5B,YAAY,iBAAiB;IAC7B,UAAU,0BAA0B;IACpC,OAAO,YAAY;IACnB,YAAY,kBAAkB;IAC9B,kBAAkB,gCAAgC;IAClD,aAAa,wBAAwB;IACrC,eAAe,sBAAsB;IACrC,eAAe,sBAAsB;IACrC,UAAU,gBAAgB;IAC1B,iBAAiB,yBAAyB;IAC1C,mBAAmB,2BAA2B;IAC9C,mBAAmB,0BAA0B;IAC7C,eAAe,eAAe;IAC9B,iBAAiB,iBAAiB;IAClC,oBAAoB,gCAAgC;IACpD,OAAO,YAAY;IACnB,iBAAiB,sBAAsB;IACvC,iBAAiB,sBAAsB;IACvC,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;IACnC,aAAa,gBAAgB;IAC7B,cAAc,oBAAoB;IAClC,cAAc,mBAAmB;IACjC,wBAAwB,gCAAgC;IACxD,eAAe,0BAA0B;IACzC,oBAAoB,2BAA2B;IAC/C,YAAY,kBAAkB;IAC9B,kBAAkB,oBAAoB;IACtC,aAAa,YAAY;IACzB,oBAAoB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var QuestionNames;
43
43
  QuestionNames["ApiSpecApiKey"] = "api-key";
44
44
  QuestionNames["ApiSpecApiKeyConfirm"] = "api-key-confirm";
45
45
  QuestionNames["ApiMEAuth"] = "api-me-auth";
46
+ QuestionNames["OauthClientSecret"] = "oauth-client-secret";
47
+ QuestionNames["OauthClientId"] = "oauth-client-id";
48
+ QuestionNames["OauthConfirm"] = "oauth-confirm";
46
49
  QuestionNames["CustomCopilotRag"] = "custom-copilot-rag";
47
50
  QuestionNames["CustomCopilotAssistant"] = "custom-copilot-agent";
48
51
  QuestionNames["LLMService"] = "llm-service";
49
52
  QuestionNames["OpenAIKey"] = "openai-key";
50
53
  QuestionNames["AzureOpenAIKey"] = "azure-openai-key";
51
54
  QuestionNames["AzureOpenAIEndpoint"] = "azure-openai-endpoint";
55
+ QuestionNames["AzureOpenAIDeploymentName"] = "azure-openai-deployment-name";
52
56
  QuestionNames["Features"] = "features";
53
57
  QuestionNames["Env"] = "env";
54
58
  QuestionNames["SourceEnvName"] = "sourceEnvName";
@@ -72,6 +76,7 @@ var QuestionNames;
72
76
  QuestionNames["UserEmail"] = "email";
73
77
  QuestionNames["collaborationAppType"] = "collaborationType";
74
78
  QuestionNames["DestinationApiSpecFilePath"] = "destination-api-spec-location";
79
+ QuestionNames["PluginAvailability"] = "plugin-availability";
75
80
  })(QuestionNames = exports.QuestionNames || (exports.QuestionNames = {}));
76
81
  var CliQuestionName;
77
82
  (function (CliQuestionName) {
@@ -1 +1 @@
1
- {"version":3,"file":"questionNames.js","sourceRoot":"","sources":["../../src/question/questionNames.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,IAAY,aAyEX;AAzED,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,2CAA0B,CAAA;IAC1B,qCAAoB,CAAA;IACpB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;IAC3B,6DAA4C,CAAA;IAC5C,6CAA4B,CAAA;IAC5B,8CAA6B,CAAA;IAC7B,qD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D,CAAC,EAzEW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAyExB;AAED,IAAY,eAEX;AAFD,WAAY,eAAe;IACzB,4CAAyB,CAAA;AAC3B,CAAC,EAFW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAE1B"}
1
+ {"version":3,"file":"questionNames.js","sourceRoot":"","sources":["../../src/question/questionNames.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,IAAY,aA8EX;AA9ED,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,2CAA0B,CAAA;IAC1B,qCAAoB,CAAA;IACpB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;IAC3B,6DAA4C,CAAA;IAC5C,6CAA4B,CAAA;IAC5B,8CAA6B,CAAA;IAC7B,qDAAoC,CAAA;IACpC,oCAAmB,CAAA;IACnB,+CAA8B,CAAA;IAC9B,mEAAkD,CAAA;IAClD,sDAAqC,CAAA;IACrC,sDAAqC,CAAA;IACrC,sDAAqC,CAAA;IACrC,2CAA0B,CAAA;IAC1B,2DAA0C,CAAA;IAC1C,+DAA8C,CAAA;IAC9C,8DAA6C,CAAA;IAC7C,+CAA8B,CAAA;IAC9B,mDAAkC,CAAA;IAClC,qEAAoD,CAAA;IACpD,oCAAmB,CAAA;IACnB,wDAAuC,CAAA;IACvC,wDAAuC,CAAA;IACvC,gDAA+B,CAAA;IAC/B,oDAAmC,CAAA;IACnC,8CAA6B,CAAA;IAC7B,mDAAkC,CAAA;IAClC,kDAAiC,CAAA;IACjC,yEAAwD,CAAA;IACxD,0DAAyC,CAAA;IACzC,gEAA+C,CAAA;IAC/C,+CAA8B,CAAA;IAC9B,uDAAsC,CAAA;IACtC,0CAAyB,CAAA;IACzB,yDAAwC,CAAA;IACxC,0CAAyB,CAAA;IACzB,0DAAyC,CAAA;IACzC,kDAAiC,CAAA;IACjC,+CAA8B,CAAA;IAE9B,wDAAuC,CAAA;IACvC,gEAA+C,CAAA;IAC/C,2CAA0B,CAAA;IAC1B,yCAAwB,CAAA;IACxB,oDAAmC,CAAA;IACnC,8DAA6C,CAAA;IAC7C,2EAA0D,CAAA;IAE1D,sCAAqB,CAAA;IACrB,4BAAW,CAAA;IACX,gDAA+B,CAAA;IAC/B,gDAA+B,CAAA;IAC/B,oEAAmD,CAAA;IACnD,8DAA6C,CAAA;IAC7C,sEAAqD,CAAA;IACrD,sDAAqC,CAAA;IACrC,8DAA6C,CAAA;IAC7C,2DAA0C,CAAA;IAC1C,sEAAqD,CAAA;IACrD,8DAA6C,CAAA;IAC7C,kEAAiD,CAAA;IACjD,oDAAmC,CAAA;IACnC,8DAA6C,CAAA;IAC7C,0DAAyC,CAAA;IACzC,2DAA0C,CAAA;IAC1C,iEAAgD,CAAA;IAChD,uCAAsB,CAAA;IAEtB,+CAA8B,CAAA;IAE9B,oCAAmB,CAAA;IAEnB,2DAA0C,CAAA;IAC1C,6EAA4D,CAAA;IAC5D,2DAA0C,CAAA;AAC5C,CAAC,EA9EW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QA8ExB;AAED,IAAY,eAEX;AAFD,WAAY,eAAe;IACzB,4CAAyB,CAAA;AAC3B,CAAC,EAFW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAE1B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/teamsfx-core",
3
- "version": "2.0.8-alpha.87f45d762.0",
3
+ "version": "2.0.8-alpha.8da24c130.0",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "license": "MIT",
@@ -30,6 +30,7 @@
30
30
  "test:hosting": "nyc mocha \"tests/common/hosting/**/*.test.ts\"",
31
31
  "test:aadDriver": "nyc mocha \"tests/component/driver/aad/*.test.ts\"",
32
32
  "test:apiKey": "nyc mocha \"tests/component/driver/apiKey/*.test.ts\"",
33
+ "test:oauth": "nyc mocha \"tests/component/driver/oauth/*.test.ts\"",
33
34
  "test:botAadAppDriver": "nyc mocha \"tests/component/driver/botAadApp/*.test.ts\"",
34
35
  "test:armDriver": "nyc mocha \"tests/component/driver/arm/*.test.ts\"",
35
36
  "test:teamsAppDriver": "nyc mocha \"tests/component/driver/teamsApp/*.test.ts\"",
@@ -62,6 +63,10 @@
62
63
  "test:migration": "nyc mocha \"tests/core/middleware/migration/projectMigrationV3.test.ts\"",
63
64
  "test:teamsappMgr": "nyc mocha \"tests/component/driver/teamsApp/teamsappMgr.test.ts\"",
64
65
  "test:projcheck": "nyc mocha \"tests/common/projectTypeChecker.test.ts\"",
66
+ "test:telemetry": "nyc mocha \"tests/common/telemetry.test.ts\"",
67
+ "test:stringUtils": "nyc mocha \"tests/common/stringUtils.test.ts\"",
68
+ "test:generatorUtils": "nyc mocha \"tests/component/generatorUtils.test.ts\"",
69
+ "test:spfxGenerator": "nyc mocha \"tests/component/generator/spfxGenerator.test.ts\"",
65
70
  "clean": "rm -rf build",
66
71
  "prebuild": "npm run gen:cli",
67
72
  "build": "rimraf build && npx tsc -p ./",
@@ -83,17 +88,17 @@
83
88
  "@azure/arm-storage": "^17.2.1",
84
89
  "@azure/arm-subscriptions": "^5.0.0",
85
90
  "@azure/core-auth": "^1.4.0",
86
- "@azure/identity": "^3.1.3",
87
- "@azure/msal-node": "^1.14.6",
91
+ "@azure/identity": "^4.1.0",
92
+ "@azure/msal-node": "^2.6.6",
88
93
  "@azure/storage-blob": "^12.7.0",
89
94
  "@feathersjs/hooks": "^0.6.5",
90
95
  "@microsoft/dev-tunnels-contracts": "1.1.9",
91
96
  "@microsoft/dev-tunnels-management": "1.1.9",
92
- "@microsoft/m365-spec-parser": "^0.1.1-alpha.87f45d762.0",
93
- "@microsoft/teamsfx-api": "0.22.8-alpha.87f45d762.0",
97
+ "@microsoft/m365-spec-parser": "^0.1.1-alpha.8da24c130.0",
98
+ "@microsoft/teamsfx-api": "0.22.8-alpha.8da24c130.0",
94
99
  "adm-zip": "^0.5.10",
95
100
  "ajv": "^8.5.0",
96
- "axios": "^1.6.7",
101
+ "axios": "^1.6.8",
97
102
  "axios-retry": "^3.3.1",
98
103
  "comment-json": "^4.2.3",
99
104
  "cryptr": "^6.0.2",
@@ -114,8 +119,8 @@
114
119
  "mustache": "^4.2.0",
115
120
  "node-fetch": "2.7.0",
116
121
  "node-forge": "^1.3.1",
117
- "office-addin-manifest": "^1.12.10",
118
- "office-addin-project": "^0.7.0",
122
+ "office-addin-manifest": "^1.13.1",
123
+ "office-addin-project": "^0.8.1",
119
124
  "openapi-types": "^7.2.3",
120
125
  "proper-lockfile": "^4.1.2",
121
126
  "read-package-json-fast": "^2.0.3",
@@ -124,7 +129,6 @@
124
129
  "strip-bom": "^4.0.0",
125
130
  "swagger2openapi": "^7.0.8",
126
131
  "typedi": "^0.10.0",
127
- "unzipper": "^0.10.11",
128
132
  "uuid": "^8.3.2",
129
133
  "validator": "^13.7.0",
130
134
  "xml2js": "^0.5.0",
@@ -206,7 +210,7 @@
206
210
  "resource/**/*",
207
211
  "templates/**/*"
208
212
  ],
209
- "gitHead": "b33ed9f3cebaa48a501c531cb269403d16b67f7e",
213
+ "gitHead": "dea9b309490e8be0482247073b2afba5d6364ee7",
210
214
  "publishConfig": {
211
215
  "access": "public"
212
216
  },
@@ -136,7 +136,7 @@
136
136
  "plugins.appstudio.validateManifest.progressBar.message": "Validating manifest...",
137
137
  "plugins.appstudio.validateAppPackage.progressBar.message": "Validating app package...",
138
138
  "plugins.appstudio.adminPortal": "Go to admin portal",
139
- "plugins.appstudio.publishSucceedNotice.cli": "[%s] is published successfully to Admin Portal (%s). After approval, your app will be available for your organization. Learn more from %s.",
139
+ "plugins.appstudio.publishSucceedNotice.cli": "[%s] is published successfully to Admin Portal (%s). After approval, your app will be available for your organization. Get more info from %s.",
140
140
  "plugins.appstudio.updatePublihsedAppConfirm": "Do you want to submit a new update?",
141
141
  "plugins.appstudio.teamsAppCreatedNotice": "Teams app %s created successfully",
142
142
  "plugins.appstudio.teamsAppUpdatedLog": "Teams app %s updated successfully",
@@ -220,7 +220,8 @@
220
220
  "error.generator.DownloadSampleNetworkError": "Unable to download sample due to network error. Check your network connection and try again or you can manually clone the repo from %s",
221
221
  "error.copilotPlugin.apiSpecNotUsedInPlugin": "\"%s\" is not used in the plugin.",
222
222
  "error.copilotPlugin.openAiPluginManifest.CannotGetManifest": "Unable to get OpenAI plugin manifest from '%s'.",
223
- "error.copilotPlugin.noExtraAPICanBeAdded": "Unable to add API as only GET and POST methods with at most 5 required parameter and no authentication are supported. Also, methods defined in manifest.json are not listed.",
223
+ "error.apime.noExtraAPICanBeAdded": "Unable to add API because only GET and POST methods are supported, with a maximum of 5 required parameters and no authentication. Also, methods defined in the manifest are not listed.",
224
+ "error.copilot.noExtraAPICanBeAdded": "Unable to add API because no authentication is supported. Also, methods defined in the current OpenAPI description document are not listed.",
224
225
  "error.m365.NotExtendedToM365Error": "Unable to extend Teams app to Microsoft 365. Use 'teamsApp/extendToM365' action to extend your Teams app to Microsoft 365.",
225
226
  "core.QuestionAppName.validation.pattern": "App name needs to begin with letters, include minimum two letters or digits, and exclude certain special characters.",
226
227
  "core.QuestionAppName.validation.maxlength": "App name is longer than the 30 characters.",
@@ -260,6 +261,9 @@
260
261
  "core.TabSPFxOption.detailNew": "Build UI with SharePoint Framework",
261
262
  "core.TabNonSso.label": "Basic Tab",
262
263
  "core.TabNonSso.detail": "A simple implementation of a web app that's ready to customize",
264
+ "core.copilotPlugin.api.noAuth": "None auth",
265
+ "core.copilotPlugin.api.apiKeyAuth": "API key auth(Bearer token auth)",
266
+ "core.copilotPlugin.api.oauth": "OAuth(Auth code flow)",
263
267
  "core.copilotPlugin.validate.apiSpec.summary": "Teams Toolkit has checked your OpenAPI description document:\n\nSummary:\n%s.\n%s\n%s",
264
268
  "core.copilotPlugin.validate.openAIPluginManifest.summary": "Teams Toolkit has checked your OpenAI plugin manifest:\n\nSummary:\n%s.\n%s\n%s",
265
269
  "core.copilotPlugin.validate.summary.validate.failed": "%s failed",
@@ -304,6 +308,10 @@
304
308
  "core.createProjectQuestion.projectType.customCopilot.label": "Custom Copilot",
305
309
  "core.createProjectQuestion.projectType.customCopilot.title": "App Features Using Teams AI Library",
306
310
  "core.createProjectQuestion.projectType.customCopilot.placeholder": "Select an option",
311
+ "core.createProjectQuestion.projectType.copilotHelp.label": "Don't know how to start? Use Github Copilot Chat",
312
+ "core.createProjectQuestion.projectType.copilotHelp.detail": "Chat with Github Copilot and get step-by-step instructions to develop your Teams app",
313
+ "core.createProjectQuestion.projectType.copilotGroup.title": "Use Copilot",
314
+ "core.createProjectQuestion.projectType.createGroup.title": "Create",
307
315
  "core.createProjectQuestion.title": "New Project",
308
316
  "core.createProjectQuestion.capability.botMessageExtension.label": "Start with a Bot",
309
317
  "core.createProjectQuestion.capability.botMessageExtension.detail": "Create a message extension using Bot Framework",
@@ -348,21 +356,25 @@
348
356
  "core.createProjectQuestion.llmService.azureOpenAIKey.title": "Azure OpenAI Key",
349
357
  "core.createProjectQuestion.llmService.azureOpenAIKey.placeholder": "Input Azure OpenAI service key now or set it later in the project",
350
358
  "core.createProjectQuestion.llmService.azureOpenAIEndpoint.title": "Azure OpenAI Endpoint",
359
+ "core.createProjectQuestion.llmService.azureOpenAIDeploymentName.title": "Azure OpenAI Deployment Name",
351
360
  "core.createProjectQuestion.llmService.azureOpenAIEndpoint.placeholder": "Input Azure OpenAI service endpoint now or set it later in the project",
361
+ "core.createProjectQuestion.llmService.azureOpenAIDeploymentName.placeholder": "Input Azure OpenAI deployment name now or set it later in the project",
352
362
  "core.createProjectQuestion.apiSpec.title": "OpenAPI Description Document",
353
363
  "core.createProjectQuestion.apiSpec.placeholder": "Enter OpenAPI Description Document URL",
354
364
  "core.createProjectQuestion.apiSpecInputUrl.label": "Enter OpenAPI Description Document Location",
355
365
  "core.createProjectQuestion.OpenAIPluginDomain": "OpenAI Plugin Manifest",
356
366
  "core.createProjectQuestion.OpenAIPluginDomain.placeholder": "Enter your website domain or manifest URL",
357
367
  "core.createProjectQuestion.ApiKey": "Enter API Key in OpenAPI Description Document",
358
- "core.createProjectQuestion.ApiKeyConfirm": "Teams Toolkit will upload the API key to Teams Developer Portal. The API key will be used by Teams client to securely access your API in runtime when API-Based Message Extension is triggered. Teams Toolkit will not store your API key.",
368
+ "core.createProjectQuestion.ApiKeyConfirm": "Teams Toolkit will upload the API key to Teams Developer Portal. The API key will be used by Teams client to securely access your API in runtime. Teams Toolkit will not store your API key.",
369
+ "core.createProjectQuestion.OauthClientId": "Enter client id for OAuth registration in OpenAPI Description Document",
370
+ "core.createProjectQuestion.OauthClientSecret": "Enter client secret for OAuth registration in OpenAPI Description Document",
371
+ "core.createProjectQuestion.OauthClientSecretConfirm": "Teams Toolkit uploads the client id/secret for OAuth Registration to Teams Developer Portal. It is used by Teams client to securely access your API at runtime. Teams Toolkit doesn't store your client id/secret.",
359
372
  "core.createProjectQuestion.apiMessageExtensionAuth.title": "Authentication Type",
360
373
  "core.createProjectQuestion.apiMessageExtensionAuth.placeholder": "Select an authentication type",
361
374
  "core.createProjectQuestion.invalidApiKey.message": "Client secret is invalid. The length of secret should be >= 10 and <= 128",
362
375
  "core.createProjectQuestion.invalidUrl.message": "Enter a valid HTTP URL without authentication to access your OpenAPI description document.",
363
376
  "core.createProjectQuestion.apiSpec.operation.title": "Select Operation(s) Teams Can Interact with",
364
377
  "core.createProjectQuestion.apiSpec.copilotOperation.title": "Select Operation(s) Copilot Can Interact with",
365
- "core.createProjectQuestion.apiSpec.operation.placeholder": "GET/POST methods with at most 5 required parameter and no auth are listed",
366
378
  "core.createProjectQuestion.apiSpec.operation.apikey.placeholder": "GET/POST methods with at most 5 required parameter and API key are listed",
367
379
  "core.createProjectQuestion.apiSpec.operation.invalidMessage": "%s API(s) selected. You can select at least one and at most %s APIs.",
368
380
  "core.createProjectQuestion.apiSpec.operation.multipleAuth": "Your selected APIs have multiple authorizations %s which are not supported.",
@@ -446,37 +458,37 @@
446
458
  "core.SampleSelect.placeholder": "Select a sample",
447
459
  "core.SampleSelect.buttons.viewSamples": "View samples",
448
460
  "core.updateBotIdsQuestion.title": "Create new bot(s) for debugging",
449
- "core.updateBotIdsQuestion.placeholder": "Unselect to keep with the original value of botId",
450
- "_core.updateBotIdsQuestion.placeholder.comment": "'botId' is the field name which should not be localized.",
461
+ "core.updateBotIdsQuestion.placeholder": "Deselect to keep the original botId value",
462
+ "_core.updateBotIdsQuestion.placeholder.comment": "'botId' is the field name that shouldn't be localized.",
451
463
  "core.updateBotIdForBot.description": "Update botId %s to \"${{BOT_ID}}\" in manifest.json",
452
- "_core.updateBotIdForBot.description.comment": "'botId' and '${{BOT_ID}}' should not be localized. 'manifest.json' is the file name which should not be localized.",
464
+ "_core.updateBotIdForBot.description.comment": "'botId' and '${{BOT_ID}}' shouldn't be localized. 'manifest.json' is the file name that shouldn't be localized.",
453
465
  "core.updateBotIdForMessageExtension.description": "Update botId %s to \"${{BOT_ID}}\" in manifest.json",
454
- "_core.updateBotIdForMessageExtension.description.comment": "'botId' and '${{BOT_ID}}' should not be localized. 'manifest.json' is the file name which should not be localized.",
466
+ "_core.updateBotIdForMessageExtension.description.comment": "'botId' and '${{BOT_ID}}' shouldn't be localized. 'manifest.json' is the file name that shouldn't be localized.",
455
467
  "core.updateBotIdForBot.label": "Bot",
456
468
  "core.updateBotIdForMessageExtension.label": "Message extension",
457
469
  "core.updateContentUrlQuestion.title": "Configure content URL(s) for debugging",
458
470
  "core.updateWebsiteUrlQuestion.title": "Configure website URL(s) for debugging",
459
471
  "core.updateContentUrlOption.description": "Update the content URL from %s to %s",
460
472
  "core.updateWebsiteUrlOption.description": "Update the website URL from %s to %s",
461
- "core.updateUrlQuestion.placeholder": "Unselect to keep with the original URL",
473
+ "core.updateUrlQuestion.placeholder": "Deselect to keep the original URL",
462
474
  "core.SingleSignOnOption.label": "Single Sign-On",
463
475
  "core.SingleSignOnOption.detail": "Develop a Single Sign-On feature for Teams Launch pages and Bot capability",
464
476
  "core.getUserEmailQuestion.title": "Add owner to Teams/Microsoft Entra app for the account under the same Microsoft 365 tenant (email)",
465
- "core.getUserEmailQuestion.validation1": "Email address cannot be null or empty",
466
- "core.getUserEmailQuestion.validation2": "Please change [UserName] to the real user name",
477
+ "core.getUserEmailQuestion.validation1": "Enter email address",
478
+ "core.getUserEmailQuestion.validation2": "Change [UserName] to the real user name",
467
479
  "core.collaboration.error.failedToLoadDotEnvFile": "Unable to load your .env File. Reason: %s",
468
480
  "core.selectAadAppManifestQuestion.title": "Select Microsoft Entra manifest.json file",
469
- "core.selectTeamsAppManifestQuestion.title": "Select Teams manifest.json file",
470
- "core.selectTeamsAppPackageQuestion.title": "Select Teams app package file",
481
+ "core.selectTeamsAppManifestQuestion.title": "Select Teams manifest.json File",
482
+ "core.selectTeamsAppPackageQuestion.title": "Select Teams App Package File",
471
483
  "core.selectLocalTeamsAppManifestQuestion.title": "Select local Teams manifest.json file",
472
- "core.selectCollaborationAppTypeQuestion.title": "Select app you want to manage the collaborators",
484
+ "core.selectCollaborationAppTypeQuestion.title": "Select the app for which you want to manage collaborators",
473
485
  "core.selectValidateMethodQuestion.validate.selectTitle": "Select a validation method",
474
486
  "core.selectValidateMethodQuestion.validate.schemaOption": "Validate using manifest schema",
475
487
  "core.selectValidateMethodQuestion.validate.schemaOptionDescription": "Validate using manifest schema",
476
488
  "core.selectValidateMethodQuestion.validate.appPackageOption": "Validate app package using validation rules",
477
489
  "core.selectValidateMethodQuestion.validate.appPackageOptionDescription": "Validate app package using validation rules",
478
490
  "core.selectValidateMethodQuestion.validate.testCasesOption": "Publish Readiness",
479
- "core.selectValidateMethodQuestion.validate.testCasesOptionDescription": "Check your app with the test cases Microsoft uses before they publish it",
491
+ "core.selectValidateMethodQuestion.validate.testCasesOptionDescription": "Check your app with Microsoft's test cases before publishing",
480
492
  "core.confirmManifestQuestion.placeholder": "Confirm you've selected the correct manifest file",
481
493
  "core.aadAppQuestion.label": "Microsoft Entra app",
482
494
  "core.aadAppQuestion.description": "Your Microsoft Entra app for Single Sign On",
@@ -486,15 +498,15 @@
486
498
  "core.M365SsoLaunchPageOptionItem.detail": "A web app that uses Fluent UI React components to get a Teams look and feel",
487
499
  "core.M365SearchAppOptionItem.label": "Custom Search Results",
488
500
  "core.M365SearchAppOptionItem.detail": "Display data directly in Teams and Outlook search results from search or the chat area",
489
- "core.M365SearchAppOptionItem.copilot.detail": "Display data directly in Teams chat, Outlook email and Copilot response from search result",
501
+ "core.M365SearchAppOptionItem.copilot.detail": "Display data directly in Teams chat, Outlook email, and Copilot response from search results",
490
502
  "core.SearchAppOptionItem.detail": "Display data directly in Teams search results from search or the chat area",
491
503
  "core.M365HostQuestion.title": "Platform",
492
504
  "core.M365HostQuestion.placeholder": "Select a platform to preview the app",
493
505
  "core.options.separator.additional": "Additional features",
494
- "core.common.LifecycleComplete.prepareTeamsApp": "Successfully prepared Teams app.",
495
- "core.common.LifecycleComplete.provision": "Successfully executed %s/%s actions in provision stage.",
496
- "core.common.LifecycleComplete.deploy": "Successfully executed %s/%s actions in deploy stage.",
497
- "core.common.LifecycleComplete.publish": "Successfully executed %s/%s actions in publish stage.",
506
+ "core.common.LifecycleComplete.prepareTeamsApp": "Teams app prepared successfully.",
507
+ "core.common.LifecycleComplete.provision": "%s/%s actions in provision stage executed successfully.",
508
+ "core.common.LifecycleComplete.deploy": "%s/%s actions in deploy stage executed successfully.",
509
+ "core.common.LifecycleComplete.publish": "%s/%s actions in publish stage executed successfully.",
498
510
  "core.common.TeamsMobileDesktopClientName": "Teams desktop, mobile client id",
499
511
  "core.common.TeamsWebClientName": "Teams web client id",
500
512
  "core.common.OfficeDesktopClientName": "The Microsoft 365 app for desktop client id",
@@ -503,13 +515,14 @@
503
515
  "core.common.OutlookDesktopClientName": "Outlook desktop client id",
504
516
  "core.common.OutlookWebClientName1": "Outlook web access client id 1",
505
517
  "core.common.OutlookWebClientName2": "Outlook web access client id 2",
506
- "core.common.CancelledMessage": "Operation is cancelled.",
507
- "core.common.SwaggerNotSupported": "Swagger 2.0 is not supported. Please convert it to OpenAPI 3.0 first.",
508
- "core.common.SpecVersionNotSupported": "Unsupported OpenAPI version %s. Please use version 3.0.x.",
518
+ "core.common.CancelledMessage": "Operation is canceled.",
519
+ "core.common.SwaggerNotSupported": "Swagger 2.0 is not supported. Convert it to OpenAPI 3.0 first.",
520
+ "core.common.SpecVersionNotSupported": "OpenAPI version %s is not supported. Use version 3.0.x.",
509
521
  "core.common.NoServerInformation": "No server information is found in the OpenAPI description document.",
510
522
  "core.common.RemoteRefNotSupported": "Remote reference is not supported: %s.",
511
523
  "core.common.MissingOperationId": "Missing operationIds: %s.",
512
524
  "core.common.NoSupportedApi": "No supported API found in the OpenAPI document.\nFor more information visit: \"https://aka.ms/build-api-based-message-extension\". \nReasons for API incompatibility are listed below:\n%s",
525
+ "core.common.NoSupportedApiCopilot": "No supported API is found in the OpenAPI description document. \nReasons for API incompatibility are listed below:\n%s",
513
526
  "core.common.invalidReason.AuthTypeIsNotSupported": "authorization type is not supported",
514
527
  "core.common.invalidReason.MissingOperationId": "operation id is missing",
515
528
  "core.common.invalidReason.PostBodyContainMultipleMediaTypes": "post body contains multiple media types",
@@ -526,7 +539,6 @@
526
539
  "core.common.invalidReason.MethodNotAllowed": "method not allowed",
527
540
  "core.common.invalidReason.UrlPathNotExist": "url path does not exist",
528
541
  "core.common.invalidReason.NoAPIs": "No APIs were found in the OpenAPI description document.",
529
-
530
542
  "core.common.UrlProtocolNotSupported": "Server url is not correct: protocol %s is not supported, you should use https protocol instead.",
531
543
  "core.common.RelativeServerUrlNotSupported": "Server url is not correct: relative server url is not supported.",
532
544
  "core.common.ErrorFetchApiSpec": "Your OpenAPI description document should be accessible without authentication, otherwise download and start from a local copy.",
@@ -578,7 +590,7 @@
578
590
  "plugins.bot.SomethingIsMissing": "%s is missing.",
579
591
  "plugins.bot.FailedToProvision": "Unable to provision %s.",
580
592
  "plugins.bot.FailedToUpdateConfigs": "Unable to update configs for %s",
581
- "plugins.bot.BotRegistrationNotFoundWith": "Bot registration was not found with botId %s. Click 'Get Help' button to learn more about how to check bot registrations.",
593
+ "plugins.bot.BotRegistrationNotFoundWith": "Bot registration was not found with botId %s. Click 'Get Help' button to get more info about how to check bot registrations.",
582
594
  "plugins.bot.BotResourceExists": "Bot resource already existed on %s, skip creating Bot resource.",
583
595
  "plugins.bot.FailRetrieveAzureCredentials": "Unable to retrieve Azure credentials.",
584
596
  "plugins.bot.ProvisionBotRegistration": "Provisioning bot registration.",
@@ -587,7 +599,7 @@
587
599
  "plugins.bot.AppStudioBotRegistration": "Developer Portal bot registration",
588
600
  "plugins.function.getTemplateFromLocal": "Unable to get newest template from github, trying to use the local template.",
589
601
  "error.depChecker.DefaultErrorMessage": "Install the required dependencies manually.",
590
- "depChecker.learnMoreButtonText": "Learn more",
602
+ "depChecker.learnMoreButtonText": "Get more info",
591
603
  "depChecker.needInstallNpm": "You must have NPM installed to debug your local functions.",
592
604
  "depChecker.failToValidateFuncCoreTool": "Unable to validate Azure Functions Core Tools after installation.",
593
605
  "depChecker.symlinkDirAlreadyExist": "The destination of the symlink (%s) already exists, please remove it and try again.",
@@ -844,5 +856,17 @@
844
856
  "driver.apiKey.error.domainInvalid": "Domain is invalid. Domain for API key should follow: 1. Max %d domain per API key. 2. Use comma to separate domains",
845
857
  "driver.apiKey.error.failedToGetDomain": "Failed to get domain from API specification. Please make sure your API specification is valid.",
846
858
  "driver.apiKey.log.successCreateApiKey": "Created API key with id %s",
847
- "driver.apiKey.log.failedExecuteDriver": "Unable to execute action %s. Error message: %s"
859
+ "driver.apiKey.log.failedExecuteDriver": "Unable to execute action %s. Error message: %s",
860
+ "driver.oauth.description.create": "Create an OAuth registration on Developer Portal for authentication in Open API spec.",
861
+ "driver.oauth.title.create": "Creating OAuth registration...",
862
+ "driver.oauth.log.skipCreateOauth": "Environment variable %s exists. Skip creating API key.",
863
+ "driver.oauth.log.oauthNotFound": "Environment variable %s exists but unable to retrieve OAuth registration from Developer Portal. Check manually if it exists.",
864
+ "driver.oauth.error.nameTooLong": "The OAuth name is too long. The maximum character length is 128.",
865
+ "driver.oauth.log.successCreateOauth": "OAuth registration created successfully with id %s!",
866
+ "driver.oauth.error.domainInvalid": "Maximum %d domains allowed per OAuth registration.",
867
+ "driver.apiKey.error.oauthAuthInfoInvalid": "Unable to parse OAuth2 authScheme from spec. Make sure your API specification is valid.",
868
+ "driver.oauth.log.skipUpdateOauth": "Skip updating OAuth registration as the same property exists.",
869
+ "driver.oauth.confirm.update": "The following parameters will be updated:\n%s\nDo you want to continue?",
870
+ "driver.oauth.log.successUpdateOauth": "OAuth registration updated successfully!",
871
+ "driver.oauth.info.update": "OAuth registration updated successfully! The following parameters have been updated:\n%s"
848
872
  }
@@ -73,7 +73,9 @@
73
73
  { "$ref": "#/definitions/script" },
74
74
  { "$ref": "#/definitions/apiKeyRegister"},
75
75
  { "$ref": "#/definitions/azureStaticWebAppGetDeploymentKey"},
76
- { "$ref": "#/definitions/apiKeyUpdate"}
76
+ { "$ref": "#/definitions/apiKeyUpdate"},
77
+ { "$ref": "#/definitions/oauthRegister"},
78
+ { "$ref": "#/definitions/oauthUpdate"}
77
79
  ]
78
80
  }
79
81
  },
@@ -1658,6 +1660,125 @@
1658
1660
  }
1659
1661
  }
1660
1662
  }
1663
+ },
1664
+ "oauthRegister": {
1665
+ "type": "object",
1666
+ "additionalProperties": false,
1667
+ "description": "Create an OAuth registration.",
1668
+ "required": ["uses", "with", "writeToEnvironmentFile"],
1669
+ "properties": {
1670
+ "uses": {
1671
+ "type": "string",
1672
+ "description": "Register OAuth registration. Refer to https://aka.ms/teamsfx-actions/oauth-register for more details.",
1673
+ "const": "oauth/register"
1674
+ },
1675
+ "with": {
1676
+ "type": "object",
1677
+ "additionalProperties": false,
1678
+ "description": "Parameters for this action",
1679
+ "required": ["name", "appId", "apiSpecPath", "flow"],
1680
+ "properties": {
1681
+ "name": {
1682
+ "type": "string",
1683
+ "description": "The name of OAuth registration."
1684
+ },
1685
+ "appId": {
1686
+ "type": "string",
1687
+ "description": "The app ID of OAuth registration."
1688
+ },
1689
+ "apiSpecPath": {
1690
+ "type": "string",
1691
+ "description": "The path of API specification file."
1692
+ },
1693
+ "applicableToApps": {
1694
+ "type": "string",
1695
+ "description": "Which app can access the OAuth registration? Values can be \"SpecificApp\" or \"AnyApp\". Default is \"AnyApp\".",
1696
+ "enum": ["SpecificApp", "AnyApp"]
1697
+ },
1698
+ "targetAudience": {
1699
+ "type": "string",
1700
+ "description": "Which tenant can access the OAuth registration? Values can be \"HomeTenant\" or \"AnyTenant\". Default is \"AnyTenant\".",
1701
+ "enum": ["HomeTenant", "AnyTenant"]
1702
+ },
1703
+ "flow": {
1704
+ "type": "string",
1705
+ "description": "The flow of OAuth registration. Values can be \"authorizationCode\" .",
1706
+ "enum": ["authorizationCode"]
1707
+ },
1708
+ "clientId": {
1709
+ "type": "string",
1710
+ "description": "The client id of OAuth registration."
1711
+ },
1712
+ "clientSecret": {
1713
+ "type": "string",
1714
+ "description": "The client secret of OAuth registration."
1715
+ },
1716
+ "refreshUrl": {
1717
+ "type": "string",
1718
+ "description": "The refresh url of OAuth registration."
1719
+ }
1720
+ }
1721
+ },
1722
+ "writeToEnvironmentFile": {
1723
+ "type": "object",
1724
+ "additionalProperties": false,
1725
+ "description": "Write environment variables to environment file",
1726
+ "required": ["configurationId"],
1727
+ "properties": {
1728
+ "configurationId": {
1729
+ "description": "Required. The configuration id of created OAuth registration.",
1730
+ "$ref": "#/definitions/envVarName"
1731
+ }
1732
+ }
1733
+ }
1734
+ }
1735
+ },
1736
+ "oauthUpdate": {
1737
+ "type": "object",
1738
+ "additionalProperties": false,
1739
+ "description": "Update an OAuth registration.",
1740
+ "required": ["uses", "with"],
1741
+ "properties": {
1742
+ "uses": {
1743
+ "type": "string",
1744
+ "description": "Updagte OAuth registration. Refer to https://aka.ms/teamsfx-actions/oauth-update for more details.",
1745
+ "const": "oauth/update"
1746
+ },
1747
+ "with": {
1748
+ "type": "object",
1749
+ "additionalProperties": false,
1750
+ "description": "Parameters for this action",
1751
+ "required": ["name", "appId", "apiSpecPath", "configurationId"],
1752
+ "properties": {
1753
+ "name": {
1754
+ "type": "string",
1755
+ "description": "The name of OAuth registration."
1756
+ },
1757
+ "appId": {
1758
+ "type": "string",
1759
+ "description": "The app ID of OAuth registration."
1760
+ },
1761
+ "apiSpecPath": {
1762
+ "type": "string",
1763
+ "description": "The path of API specification file."
1764
+ },
1765
+ "configurationId": {
1766
+ "type": "string",
1767
+ "description": "The configuration id of OAuth registration."
1768
+ },
1769
+ "applicableToApps": {
1770
+ "type": "string",
1771
+ "description": "Which app can access the OAuth registration? Values can be \"SpecificApp\" or \"AnyApp\". Default is \"AnyApp\".",
1772
+ "enum": ["SpecificApp", "AnyApp"]
1773
+ },
1774
+ "targetAudience": {
1775
+ "type": "string",
1776
+ "description": "Which tenant can access the OAuth registration? Values can be \"HomeTenant\" or \"AnyTenant\". Default is \"AnyTenant\".",
1777
+ "enum": ["HomeTenant", "AnyTenant"]
1778
+ }
1779
+ }
1780
+ }
1781
+ }
1661
1782
  }
1662
1783
  }
1663
1784
  }
@@ -73,7 +73,9 @@
73
73
  { "$ref": "#/definitions/script" },
74
74
  { "$ref": "#/definitions/apiKeyRegister"},
75
75
  { "$ref": "#/definitions/azureStaticWebAppGetDeploymentKey"},
76
- { "$ref": "#/definitions/apiKeyUpdate"}
76
+ { "$ref": "#/definitions/apiKeyUpdate"},
77
+ { "$ref": "#/definitions/oauthRegister"},
78
+ { "$ref": "#/definitions/oauthUpdate"}
77
79
  ]
78
80
  }
79
81
  },
@@ -1658,6 +1660,125 @@
1658
1660
  }
1659
1661
  }
1660
1662
  }
1663
+ },
1664
+ "oauthRegister": {
1665
+ "type": "object",
1666
+ "additionalProperties": false,
1667
+ "description": "Create an OAuth registration.",
1668
+ "required": ["uses", "with", "writeToEnvironmentFile"],
1669
+ "properties": {
1670
+ "uses": {
1671
+ "type": "string",
1672
+ "description": "Register OAuth registration. Refer to https://aka.ms/teamsfx-actions/oauth-register for more details.",
1673
+ "const": "oauth/register"
1674
+ },
1675
+ "with": {
1676
+ "type": "object",
1677
+ "additionalProperties": false,
1678
+ "description": "Parameters for this action",
1679
+ "required": ["name", "appId", "apiSpecPath", "flow"],
1680
+ "properties": {
1681
+ "name": {
1682
+ "type": "string",
1683
+ "description": "The name of OAuth registration."
1684
+ },
1685
+ "appId": {
1686
+ "type": "string",
1687
+ "description": "The app ID of OAuth registration."
1688
+ },
1689
+ "apiSpecPath": {
1690
+ "type": "string",
1691
+ "description": "The path of API specification file."
1692
+ },
1693
+ "applicableToApps": {
1694
+ "type": "string",
1695
+ "description": "Which app can access the OAuth registration? Values can be \"SpecificApp\" or \"AnyApp\". Default is \"AnyApp\".",
1696
+ "enum": ["SpecificApp", "AnyApp"]
1697
+ },
1698
+ "targetAudience": {
1699
+ "type": "string",
1700
+ "description": "Which tenant can access the OAuth registration? Values can be \"HomeTenant\" or \"AnyTenant\". Default is \"AnyTenant\".",
1701
+ "enum": ["HomeTenant", "AnyTenant"]
1702
+ },
1703
+ "flow": {
1704
+ "type": "string",
1705
+ "description": "The flow of OAuth registration. Values can be \"authorizationCode\" .",
1706
+ "enum": ["authorizationCode"]
1707
+ },
1708
+ "clientId": {
1709
+ "type": "string",
1710
+ "description": "The client id of OAuth registration."
1711
+ },
1712
+ "clientSecret": {
1713
+ "type": "string",
1714
+ "description": "The client secret of OAuth registration."
1715
+ },
1716
+ "refreshUrl": {
1717
+ "type": "string",
1718
+ "description": "The refresh url of OAuth registration."
1719
+ }
1720
+ }
1721
+ },
1722
+ "writeToEnvironmentFile": {
1723
+ "type": "object",
1724
+ "additionalProperties": false,
1725
+ "description": "Write environment variables to environment file",
1726
+ "required": ["configurationId"],
1727
+ "properties": {
1728
+ "configurationId": {
1729
+ "description": "Required. The configuration id of created OAuth registration.",
1730
+ "$ref": "#/definitions/envVarName"
1731
+ }
1732
+ }
1733
+ }
1734
+ }
1735
+ },
1736
+ "oauthUpdate": {
1737
+ "type": "object",
1738
+ "additionalProperties": false,
1739
+ "description": "Update an OAuth registration.",
1740
+ "required": ["uses", "with"],
1741
+ "properties": {
1742
+ "uses": {
1743
+ "type": "string",
1744
+ "description": "Updagte OAuth registration. Refer to https://aka.ms/teamsfx-actions/oauth-update for more details.",
1745
+ "const": "oauth/update"
1746
+ },
1747
+ "with": {
1748
+ "type": "object",
1749
+ "additionalProperties": false,
1750
+ "description": "Parameters for this action",
1751
+ "required": ["name", "appId", "apiSpecPath", "configurationId"],
1752
+ "properties": {
1753
+ "name": {
1754
+ "type": "string",
1755
+ "description": "The name of OAuth registration."
1756
+ },
1757
+ "appId": {
1758
+ "type": "string",
1759
+ "description": "The app ID of OAuth registration."
1760
+ },
1761
+ "apiSpecPath": {
1762
+ "type": "string",
1763
+ "description": "The path of API specification file."
1764
+ },
1765
+ "configurationId": {
1766
+ "type": "string",
1767
+ "description": "The configuration id of OAuth registration."
1768
+ },
1769
+ "applicableToApps": {
1770
+ "type": "string",
1771
+ "description": "Which app can access the OAuth registration? Values can be \"SpecificApp\" or \"AnyApp\". Default is \"AnyApp\".",
1772
+ "enum": ["SpecificApp", "AnyApp"]
1773
+ },
1774
+ "targetAudience": {
1775
+ "type": "string",
1776
+ "description": "Which tenant can access the OAuth registration? Values can be \"HomeTenant\" or \"AnyTenant\". Default is \"AnyTenant\".",
1777
+ "enum": ["HomeTenant", "AnyTenant"]
1778
+ }
1779
+ }
1780
+ }
1781
+ }
1661
1782
  }
1662
1783
  }
1663
1784
  }
Binary file
Binary file
Binary file
Binary file
Binary file