@microsoft/teamsfx-core 2.0.8-alpha.a277dba4e.0 → 2.0.8-alpha.ad8f60cf1.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 (285) hide show
  1. package/build/common/constants.d.ts +5 -18
  2. package/build/common/constants.d.ts.map +1 -1
  3. package/build/common/constants.js +5 -19
  4. package/build/common/constants.js.map +1 -1
  5. package/build/common/deps-checker/constant/message.d.ts +1 -1
  6. package/build/common/deps-checker/constant/message.d.ts.map +1 -1
  7. package/build/common/deps-checker/constant/message.js +1 -1
  8. package/build/common/deps-checker/constant/message.js.map +1 -1
  9. package/build/common/deps-checker/util/fileHelper.js +1 -1
  10. package/build/common/deps-checker/util/fileHelper.js.map +1 -1
  11. package/build/common/featureFlags.d.ts +70 -8
  12. package/build/common/featureFlags.d.ts.map +1 -1
  13. package/build/common/featureFlags.js +66 -89
  14. package/build/common/featureFlags.js.map +1 -1
  15. package/build/common/m365/launchHelper.d.ts.map +1 -1
  16. package/build/common/m365/launchHelper.js +3 -2
  17. package/build/common/m365/launchHelper.js.map +1 -1
  18. package/build/common/projectTypeChecker.d.ts +2 -0
  19. package/build/common/projectTypeChecker.d.ts.map +1 -1
  20. package/build/common/projectTypeChecker.js +13 -0
  21. package/build/common/projectTypeChecker.js.map +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 +11 -2
  27. package/build/common/telemetry.d.ts.map +1 -1
  28. package/build/common/telemetry.js +33 -6
  29. package/build/common/telemetry.js.map +1 -1
  30. package/build/common/templates-config.json +1 -1
  31. package/build/common/wrappedAxiosClient.d.ts.map +1 -1
  32. package/build/common/wrappedAxiosClient.js +7 -5
  33. package/build/common/wrappedAxiosClient.js.map +1 -1
  34. package/build/component/configManager/constant.d.ts +2 -1
  35. package/build/component/configManager/constant.d.ts.map +1 -1
  36. package/build/component/configManager/constant.js +1 -0
  37. package/build/component/configManager/constant.js.map +1 -1
  38. package/build/component/constants.js +2 -2
  39. package/build/component/constants.js.map +1 -1
  40. package/build/component/coordinator/index.d.ts +0 -40
  41. package/build/component/coordinator/index.d.ts.map +1 -1
  42. package/build/component/coordinator/index.js +128 -179
  43. package/build/component/coordinator/index.js.map +1 -1
  44. package/build/component/driver/aad/error/aadManifestError.d.ts +6 -0
  45. package/build/component/driver/aad/error/aadManifestError.d.ts.map +1 -1
  46. package/build/component/driver/aad/error/aadManifestError.js +25 -1
  47. package/build/component/driver/aad/error/aadManifestError.js.map +1 -1
  48. package/build/component/driver/aad/utility/aadManifestHelper.d.ts.map +1 -1
  49. package/build/component/driver/aad/utility/aadManifestHelper.js +7 -0
  50. package/build/component/driver/aad/utility/aadManifestHelper.js.map +1 -1
  51. package/build/component/driver/apiKey/create.d.ts +0 -3
  52. package/build/component/driver/apiKey/create.d.ts.map +1 -1
  53. package/build/component/driver/apiKey/create.js +4 -49
  54. package/build/component/driver/apiKey/create.js.map +1 -1
  55. package/build/component/driver/apiKey/interface/updateApiKeyArgs.d.ts +9 -0
  56. package/build/component/driver/apiKey/interface/updateApiKeyArgs.d.ts.map +1 -0
  57. package/build/component/driver/apiKey/interface/updateApiKeyArgs.js +5 -0
  58. package/build/component/driver/apiKey/interface/updateApiKeyArgs.js.map +1 -0
  59. package/build/component/driver/apiKey/update.d.ts +13 -0
  60. package/build/component/driver/apiKey/update.d.ts.map +1 -0
  61. package/build/component/driver/apiKey/update.js +182 -0
  62. package/build/component/driver/apiKey/update.js.map +1 -0
  63. package/build/component/driver/apiKey/utility/constants.d.ts +2 -0
  64. package/build/component/driver/apiKey/utility/constants.d.ts.map +1 -1
  65. package/build/component/driver/apiKey/utility/constants.js +2 -0
  66. package/build/component/driver/apiKey/utility/constants.js.map +1 -1
  67. package/build/component/driver/apiKey/utility/utility.d.ts +7 -0
  68. package/build/component/driver/apiKey/utility/utility.d.ts.map +1 -0
  69. package/build/component/driver/apiKey/utility/utility.js +55 -0
  70. package/build/component/driver/apiKey/utility/utility.js.map +1 -0
  71. package/build/component/driver/index.d.ts +3 -0
  72. package/build/component/driver/index.d.ts.map +1 -1
  73. package/build/component/driver/index.js +3 -0
  74. package/build/component/driver/index.js.map +1 -1
  75. package/build/component/driver/middleware/addSWADeployTelemetry.js +2 -2
  76. package/build/component/driver/middleware/addSWADeployTelemetry.js.map +1 -1
  77. package/build/component/driver/oauth/create.d.ts +12 -0
  78. package/build/component/driver/oauth/create.d.ts.map +1 -0
  79. package/build/component/driver/oauth/create.js +192 -0
  80. package/build/component/driver/oauth/create.js.map +1 -0
  81. package/build/component/driver/oauth/error/oauthAuthInfoInvalid.d.ts +5 -0
  82. package/build/component/driver/oauth/error/oauthAuthInfoInvalid.d.ts.map +1 -0
  83. package/build/component/driver/oauth/error/oauthAuthInfoInvalid.js +21 -0
  84. package/build/component/driver/oauth/error/oauthAuthInfoInvalid.js.map +1 -0
  85. package/build/component/driver/oauth/error/oauthDomainInvalid.d.ts +5 -0
  86. package/build/component/driver/oauth/error/oauthDomainInvalid.d.ts.map +1 -0
  87. package/build/component/driver/oauth/error/oauthDomainInvalid.js +22 -0
  88. package/build/component/driver/oauth/error/oauthDomainInvalid.js.map +1 -0
  89. package/build/component/driver/oauth/error/oauthFailedToGetDomain.d.ts +5 -0
  90. package/build/component/driver/oauth/error/oauthFailedToGetDomain.d.ts.map +1 -0
  91. package/build/component/driver/oauth/error/oauthFailedToGetDomain.js +21 -0
  92. package/build/component/driver/oauth/error/oauthFailedToGetDomain.js.map +1 -0
  93. package/build/component/driver/oauth/error/oauthNameTooLong.d.ts +5 -0
  94. package/build/component/driver/oauth/error/oauthNameTooLong.d.ts.map +1 -0
  95. package/build/component/driver/oauth/error/oauthNameTooLong.js +21 -0
  96. package/build/component/driver/oauth/error/oauthNameTooLong.js.map +1 -0
  97. package/build/component/driver/oauth/interface/createOauthArgs.d.ts +12 -0
  98. package/build/component/driver/oauth/interface/createOauthArgs.d.ts.map +1 -0
  99. package/build/component/driver/oauth/interface/createOauthArgs.js +5 -0
  100. package/build/component/driver/oauth/interface/createOauthArgs.js.map +1 -0
  101. package/build/component/driver/oauth/interface/createOauthOutputs.d.ts +7 -0
  102. package/build/component/driver/oauth/interface/createOauthOutputs.d.ts.map +1 -0
  103. package/build/component/driver/oauth/interface/createOauthOutputs.js +10 -0
  104. package/build/component/driver/oauth/interface/createOauthOutputs.js.map +1 -0
  105. package/build/component/driver/oauth/interface/updateOauthArgs.d.ts +9 -0
  106. package/build/component/driver/oauth/interface/updateOauthArgs.d.ts.map +1 -0
  107. package/build/component/driver/oauth/interface/updateOauthArgs.js +5 -0
  108. package/build/component/driver/oauth/interface/updateOauthArgs.js.map +1 -0
  109. package/build/component/driver/oauth/update.d.ts +13 -0
  110. package/build/component/driver/oauth/update.d.ts.map +1 -0
  111. package/build/component/driver/oauth/update.js +181 -0
  112. package/build/component/driver/oauth/update.js.map +1 -0
  113. package/build/component/driver/oauth/utility/constants.d.ts +13 -0
  114. package/build/component/driver/oauth/utility/constants.d.ts.map +1 -0
  115. package/build/component/driver/oauth/utility/constants.js +18 -0
  116. package/build/component/driver/oauth/utility/constants.js.map +1 -0
  117. package/build/component/driver/oauth/utility/utility.d.ts +12 -0
  118. package/build/component/driver/oauth/utility/utility.d.ts.map +1 -0
  119. package/build/component/driver/oauth/utility/utility.js +90 -0
  120. package/build/component/driver/oauth/utility/utility.js.map +1 -0
  121. package/build/component/driver/script/scriptDriver.d.ts.map +1 -1
  122. package/build/component/driver/script/scriptDriver.js +8 -8
  123. package/build/component/driver/script/scriptDriver.js.map +1 -1
  124. package/build/component/driver/teamsApp/clients/appStudioClient.d.ts +11 -3
  125. package/build/component/driver/teamsApp/clients/appStudioClient.d.ts.map +1 -1
  126. package/build/component/driver/teamsApp/clients/appStudioClient.js +54 -2
  127. package/build/component/driver/teamsApp/clients/appStudioClient.js.map +1 -1
  128. package/build/component/driver/teamsApp/constants.d.ts +4 -0
  129. package/build/component/driver/teamsApp/constants.d.ts.map +1 -1
  130. package/build/component/driver/teamsApp/constants.js +4 -0
  131. package/build/component/driver/teamsApp/constants.js.map +1 -1
  132. package/build/component/driver/teamsApp/createAppPackage.d.ts +19 -1
  133. package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
  134. package/build/component/driver/teamsApp/createAppPackage.js +97 -26
  135. package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
  136. package/build/component/driver/teamsApp/interfaces/ApiSecretRegistration.d.ts +20 -0
  137. package/build/component/driver/teamsApp/interfaces/ApiSecretRegistration.d.ts.map +1 -1
  138. package/build/component/driver/teamsApp/interfaces/ApiSecretRegistration.js.map +1 -1
  139. package/build/component/driver/teamsApp/interfaces/OauthConfigurationId.d.ts +7 -0
  140. package/build/component/driver/teamsApp/interfaces/OauthConfigurationId.d.ts.map +1 -0
  141. package/build/component/driver/teamsApp/interfaces/OauthConfigurationId.js +5 -0
  142. package/build/component/driver/teamsApp/interfaces/OauthConfigurationId.js.map +1 -0
  143. package/build/component/driver/teamsApp/interfaces/OauthRegistration.d.ts +44 -0
  144. package/build/component/driver/teamsApp/interfaces/OauthRegistration.d.ts.map +1 -0
  145. package/build/component/driver/teamsApp/interfaces/OauthRegistration.js +21 -0
  146. package/build/component/driver/teamsApp/interfaces/OauthRegistration.js.map +1 -0
  147. package/build/component/driver/teamsApp/teamsappMgr.d.ts.map +1 -1
  148. package/build/component/driver/teamsApp/teamsappMgr.js +22 -8
  149. package/build/component/driver/teamsApp/teamsappMgr.js.map +1 -1
  150. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.d.ts +8 -0
  151. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.d.ts.map +1 -0
  152. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.js +65 -0
  153. package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.js.map +1 -0
  154. package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts.map +1 -1
  155. package/build/component/driver/teamsApp/utils/ManifestUtils.js +3 -15
  156. package/build/component/driver/teamsApp/utils/ManifestUtils.js.map +1 -1
  157. package/build/component/driver/teamsApp/utils/telemetry.d.ts +2 -0
  158. package/build/component/driver/teamsApp/utils/telemetry.d.ts.map +1 -1
  159. package/build/component/driver/teamsApp/utils/telemetry.js +2 -0
  160. package/build/component/driver/teamsApp/utils/telemetry.js.map +1 -1
  161. package/build/component/driver/teamsApp/utils/utils.d.ts +1 -0
  162. package/build/component/driver/teamsApp/utils/utils.d.ts.map +1 -1
  163. package/build/component/driver/teamsApp/utils/utils.js +5 -1
  164. package/build/component/driver/teamsApp/utils/utils.js.map +1 -1
  165. package/build/component/driver/teamsApp/validateTestCases.d.ts +10 -1
  166. package/build/component/driver/teamsApp/validateTestCases.d.ts.map +1 -1
  167. package/build/component/driver/teamsApp/validateTestCases.js +108 -39
  168. package/build/component/driver/teamsApp/validateTestCases.js.map +1 -1
  169. package/build/component/generator/copilotPlugin/generator.d.ts.map +1 -1
  170. package/build/component/generator/copilotPlugin/generator.js +30 -16
  171. package/build/component/generator/copilotPlugin/generator.js.map +1 -1
  172. package/build/component/generator/copilotPlugin/helper.d.ts +2 -2
  173. package/build/component/generator/copilotPlugin/helper.d.ts.map +1 -1
  174. package/build/component/generator/copilotPlugin/helper.js +98 -46
  175. package/build/component/generator/copilotPlugin/helper.js.map +1 -1
  176. package/build/component/generator/generator.d.ts +2 -1
  177. package/build/component/generator/generator.d.ts.map +1 -1
  178. package/build/component/generator/generator.js +5 -3
  179. package/build/component/generator/generator.js.map +1 -1
  180. package/build/component/generator/generatorProvider.d.ts +3 -0
  181. package/build/component/generator/generatorProvider.d.ts.map +1 -0
  182. package/build/component/generator/generatorProvider.js +15 -0
  183. package/build/component/generator/generatorProvider.js.map +1 -0
  184. package/build/component/generator/officeAddin/generator.d.ts +12 -0
  185. package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
  186. package/build/component/generator/officeAddin/generator.js +63 -14
  187. package/build/component/generator/officeAddin/generator.js.map +1 -1
  188. package/build/component/generator/officeAddin/helperMethods.d.ts +0 -3
  189. package/build/component/generator/officeAddin/helperMethods.d.ts.map +1 -1
  190. package/build/component/generator/officeAddin/helperMethods.js +0 -65
  191. package/build/component/generator/officeAddin/helperMethods.js.map +1 -1
  192. package/build/component/generator/officeXMLAddin/generator.d.ts +2 -1
  193. package/build/component/generator/officeXMLAddin/generator.d.ts.map +1 -1
  194. package/build/component/generator/officeXMLAddin/generator.js +24 -10
  195. package/build/component/generator/officeXMLAddin/generator.js.map +1 -1
  196. package/build/component/generator/officeXMLAddin/projectConfig.d.ts.map +1 -1
  197. package/build/component/generator/officeXMLAddin/projectConfig.js +14 -2
  198. package/build/component/generator/officeXMLAddin/projectConfig.js.map +1 -1
  199. package/build/component/generator/templates/ssrTabGenerator.d.ts +12 -0
  200. package/build/component/generator/templates/ssrTabGenerator.d.ts.map +1 -0
  201. package/build/component/generator/templates/ssrTabGenerator.js +36 -0
  202. package/build/component/generator/templates/ssrTabGenerator.js.map +1 -0
  203. package/build/component/generator/templates/templateGenerator.d.ts +12 -0
  204. package/build/component/generator/templates/templateGenerator.d.ts.map +1 -0
  205. package/build/component/generator/templates/templateGenerator.js +99 -0
  206. package/build/component/generator/templates/templateGenerator.js.map +1 -0
  207. package/build/component/generator/templates/templateInfo.d.ts +10 -0
  208. package/build/component/generator/templates/templateInfo.d.ts.map +1 -0
  209. package/build/component/generator/templates/templateInfo.js +3 -0
  210. package/build/component/generator/templates/templateInfo.js.map +1 -0
  211. package/build/component/generator/templates/templateNames.d.ts +52 -0
  212. package/build/component/generator/templates/templateNames.d.ts.map +1 -0
  213. package/build/component/generator/templates/templateNames.js +303 -0
  214. package/build/component/generator/templates/templateNames.js.map +1 -0
  215. package/build/component/generator/templates/templateReplaceMap.d.ts +5 -0
  216. package/build/component/generator/templates/templateReplaceMap.d.ts.map +1 -0
  217. package/build/component/generator/templates/templateReplaceMap.js +39 -0
  218. package/build/component/generator/templates/templateReplaceMap.js.map +1 -0
  219. package/build/component/generator/utils.d.ts +1 -0
  220. package/build/component/generator/utils.d.ts.map +1 -1
  221. package/build/component/generator/utils.js +2 -1
  222. package/build/component/generator/utils.js.map +1 -1
  223. package/build/component/middleware/actionExecutionMW.d.ts.map +1 -1
  224. package/build/component/middleware/actionExecutionMW.js +5 -4
  225. package/build/component/middleware/actionExecutionMW.js.map +1 -1
  226. package/build/component/middleware/questionMW.d.ts.map +1 -1
  227. package/build/component/middleware/questionMW.js +9 -1
  228. package/build/component/middleware/questionMW.js.map +1 -1
  229. package/build/component/utils/envUtil.d.ts +0 -1
  230. package/build/component/utils/envUtil.d.ts.map +1 -1
  231. package/build/component/utils/envUtil.js +1 -13
  232. package/build/component/utils/envUtil.js.map +1 -1
  233. package/build/component/utils/metadataRscPermission.js +1 -1
  234. package/build/component/utils/metadataRscPermission.js.map +1 -1
  235. package/build/component/utils.d.ts +2 -1
  236. package/build/component/utils.d.ts.map +1 -1
  237. package/build/component/utils.js +43 -1
  238. package/build/component/utils.js.map +1 -1
  239. package/build/core/FxCore.d.ts +5 -5
  240. package/build/core/FxCore.d.ts.map +1 -1
  241. package/build/core/FxCore.js +96 -29
  242. package/build/core/FxCore.js.map +1 -1
  243. package/build/error/common.js +1 -1
  244. package/build/error/common.js.map +1 -1
  245. package/build/error/script.d.ts +2 -2
  246. package/build/error/script.d.ts.map +1 -1
  247. package/build/error/script.js +6 -6
  248. package/build/error/script.js.map +1 -1
  249. package/build/index.d.ts +4 -0
  250. package/build/index.d.ts.map +1 -1
  251. package/build/index.js +7 -1
  252. package/build/index.js.map +1 -1
  253. package/build/question/constants.d.ts.map +1 -1
  254. package/build/question/constants.js +6 -1
  255. package/build/question/constants.js.map +1 -1
  256. package/build/question/create.d.ts +9 -1
  257. package/build/question/create.d.ts.map +1 -1
  258. package/build/question/create.js +196 -80
  259. package/build/question/create.js.map +1 -1
  260. package/build/question/index.d.ts +1 -0
  261. package/build/question/index.d.ts.map +1 -1
  262. package/build/question/index.js +3 -0
  263. package/build/question/index.js.map +1 -1
  264. package/build/question/inputs/CreateProjectInputs.d.ts +9 -3
  265. package/build/question/inputs/CreateProjectInputs.d.ts.map +1 -1
  266. package/build/question/options/CreateProjectOptions.d.ts.map +1 -1
  267. package/build/question/options/CreateProjectOptions.js +30 -4
  268. package/build/question/options/CreateProjectOptions.js.map +1 -1
  269. package/build/question/other.d.ts +1 -0
  270. package/build/question/other.d.ts.map +1 -1
  271. package/build/question/other.js +86 -1
  272. package/build/question/other.js.map +1 -1
  273. package/build/question/questionNames.d.ts +6 -1
  274. package/build/question/questionNames.d.ts.map +1 -1
  275. package/build/question/questionNames.js +5 -0
  276. package/build/question/questionNames.js.map +1 -1
  277. package/package.json +11 -7
  278. package/resource/package.nls.json +102 -46
  279. package/resource/yaml-schema/v1.5/yaml.schema.json +180 -1
  280. package/resource/yaml-schema/yaml.schema.json +180 -1
  281. package/templates/fallback/common.zip +0 -0
  282. package/templates/fallback/csharp.zip +0 -0
  283. package/templates/fallback/js.zip +0 -0
  284. package/templates/fallback/python.zip +0 -0
  285. package/templates/fallback/ts.zip +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"addSWADeployTelemetry.js","sourceRoot":"","sources":["../../../../src/component/driver/middleware/addSWADeployTelemetry.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAIlC,mFAG8C;AAC9C,kEAAkE;AAClE,2CAAyC;AACzC,+CAAqD;AACrD,uEAA8D;AAC9D,iDAAuD;AAEvD;;;GAGG;AACH,SAAgB,qBAAqB,CAAC,SAAiB;IACrD,OAAO,KAAK,EAAE,GAAgB,EAAE,IAAkB,EAAE,EAAE;QACpD,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,CAAC,CAAuB,CAAC;QACpD,MAAM,OAAO,GAAG,0BAAgB,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAc,CAAC,CAAC;QAClE,gCAAgC;Q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,CAAE,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;SAChE;IACH,CAAC,CAAC;AACJ,CAAC;AAnCD,sDAmCC"}
1
+ {"version":3,"file":"addSWADeployTelemetry.js","sourceRoot":"","sources":["../../../../src/component/driver/middleware/addSWADeployTelemetry.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAIlC,mFAG8C;AAC9C,kEAAkE;AAClE,2CAAyC;AACzC,+CAAqD;AACrD,uEAA8D;AAC9D,6DAA+D;AAE/D;;;GAGG;AACH,SAAgB,qBAAqB,CAAC,SAAiB;IACrD,OAAO,KAAK,EAAE,GAAgB,EAAE,IAAkB,EAAE,EAAE;QACpD,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,CAAC,CAAuB,CAAC;QACpD,MAAM,OAAO,GAAG,8BAAgB,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAc,CAAC,CAAC;QAClE,gCAAgC;QAChC,IAAI,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,CAAC,iCAAiC,CAAC,CAAA,EAAE;YACtD,MAAM,IAAI,EAAE,CAAC;YACb,OAAO;SACR;QACD,MAAM,aAAa,GAAG,GAAG,CAAC,SAAS,CAAC,CAAC,CAAsB,CAAC;QAC5D,IAAI,iBAAiB,GAAyC,SAAS,CAAC;QACxE,IAAI,aAAa,CAAC,iBAAiB,EAAE;YACnC,iBAAiB,GAAG,IAAI,mDAAwB,CAAC,aAAa,CAAC,iBAAiB,EAAE;gBAChF,aAAa,EAAE,kCAAiB,CAAC,uBAAuB;aACzD,CAAC,CAAC;SACJ;QACD,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,cAAc,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC;QACjD,MAAM,SAAS,GAAG,wBAAW,CAAC,GAAG,EAAE,CAAC;QACpC,MAAM,IAAI,EAAE,CAAC;QACb,MAAM,QAAQ,GAAG,wBAAW,CAAC,GAAG,EAAE,GAAG,SAAS,CAAC;QAE/C,MAAM,MAAM,GAAG,2CAAiB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC;QAE9E,MAAM,eAAe,GAA2B;YAC9C,SAAS,EAAE,SAAS;YACpB,UAAU,kBAAI,OAAO,EAAE,OAAO,IAAK,aAAa,CAAC,mBAAmB,CAAE;YACtE,YAAY,EAAE,EAAE,CAAC,8BAAkB,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE;SACrE,CAAC;QAEF,IAAI,MAAM,CAAC,IAAI,EAAE,EAAE;YACjB,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,YAAY,CAAC,eAAe,CAAC,CAAC;SAClD;aAAM;YACL,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;SAChE;IACH,CAAC,CAAC;AACJ,CAAC;AAnCD,sDAmCC"}
@@ -0,0 +1,12 @@
1
+ import { ExecutionResult, StepDriver } from "../interface/stepDriver";
2
+ import { CreateOauthArgs } from "./interface/createOauthArgs";
3
+ import { DriverContext } from "../interface/commonArgs";
4
+ export declare class CreateOauthDriver implements StepDriver {
5
+ description: string;
6
+ readonly progressTitle: string;
7
+ execute(args: CreateOauthArgs, context: DriverContext, outputEnvVarNames?: Map<string, string>): Promise<ExecutionResult>;
8
+ private validateArgs;
9
+ private validateSecret;
10
+ private mapArgsToOauthRegistration;
11
+ }
12
+ //# sourceMappingURL=create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/component/driver/oauth/create.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAGtE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AA0BxD,qBACa,iBAAkB,YAAW,UAAU;IAClD,WAAW,SAAyD;IACpE,QAAQ,CAAC,aAAa,SAAmD;IAG5D,OAAO,CAClB,IAAI,EAAE,eAAe,EACrB,OAAO,EAAE,aAAa,EACtB,iBAAiB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACtC,OAAO,CAAC,eAAe,CAAC;IAqG3B,OAAO,CAAC,YAAY;IAuDpB,OAAO,CAAC,cAAc;YAYR,0BAA0B;CAuCzC"}
@@ -0,0 +1,192 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.CreateOauthDriver = void 0;
6
+ const tslib_1 = require("tslib");
7
+ const hooks_1 = require("@feathersjs/hooks");
8
+ const localizeUtils_1 = require("../../../common/localizeUtils");
9
+ const addStartAndEndTelemetry_1 = require("../middleware/addStartAndEndTelemetry");
10
+ const teamsfx_api_1 = require("@microsoft/teamsfx-api");
11
+ const common_1 = require("../../../error/common");
12
+ const constants_1 = require("./utility/constants");
13
+ const outputEnvironmentVariableUndefinedError_1 = require("../error/outputEnvironmentVariableUndefinedError");
14
+ const createOauthOutputs_1 = require("./interface/createOauthOutputs");
15
+ const utils_1 = require("../util/utils");
16
+ const constants_2 = require("../teamsApp/constants");
17
+ const appStudioClient_1 = require("../teamsApp/clients/appStudioClient");
18
+ const OauthRegistration_1 = require("../teamsApp/interfaces/OauthRegistration");
19
+ const oauthNameTooLong_1 = require("./error/oauthNameTooLong");
20
+ const tools_1 = require("../../../common/tools");
21
+ const utility_1 = require("./utility/utility");
22
+ const questionMW_1 = require("../../middleware/questionMW");
23
+ const questionNames_1 = require("../../../question/questionNames");
24
+ const typedi_1 = require("typedi");
25
+ const actionName = "oauth/register"; // DO NOT MODIFY the name
26
+ const helpLink = "https://aka.ms/teamsfx-actions/oauth-register";
27
+ const supportedFlows = ["authorizationCode"];
28
+ let CreateOauthDriver = class CreateOauthDriver {
29
+ constructor() {
30
+ this.description = localizeUtils_1.getLocalizedString("driver.oauth.description.create");
31
+ this.progressTitle = localizeUtils_1.getLocalizedString("driver.oauth.title.create");
32
+ }
33
+ async execute(args, context, outputEnvVarNames) {
34
+ var _a, _b, _c, _d, _e, _f;
35
+ const summaries = [];
36
+ const outputs = new Map();
37
+ try {
38
+ (_a = context.logProvider) === null || _a === void 0 ? void 0 : _a.info(localizeUtils_1.getLocalizedString(constants_1.logMessageKeys.startExecuteDriver, actionName));
39
+ if (!outputEnvVarNames) {
40
+ throw new outputEnvironmentVariableUndefinedError_1.OutputEnvironmentVariableUndefinedError(actionName);
41
+ }
42
+ const state = utils_1.loadStateFromEnv(outputEnvVarNames);
43
+ const appStudioTokenRes = await context.m365TokenProvider.getAccessToken({
44
+ scopes: constants_2.AppStudioScopes,
45
+ });
46
+ if (appStudioTokenRes.isErr()) {
47
+ throw appStudioTokenRes.error;
48
+ }
49
+ const appStudioToken = appStudioTokenRes.value;
50
+ if (state && state.configurationId) {
51
+ try {
52
+ await appStudioClient_1.AppStudioClient.getOauthRegistrationById(appStudioToken, state.configurationId);
53
+ (_b = context.logProvider) === null || _b === void 0 ? void 0 : _b.info(localizeUtils_1.getLocalizedString(constants_1.logMessageKeys.skipCreateOauth, outputEnvVarNames.get(createOauthOutputs_1.OutputKeys.configurationId)));
54
+ }
55
+ catch (error) {
56
+ (_c = context.logProvider) === null || _c === void 0 ? void 0 : _c.warning(localizeUtils_1.getLocalizedString(constants_1.logMessageKeys.oauthNotFound, outputEnvVarNames.get(createOauthOutputs_1.OutputKeys.configurationId)));
57
+ }
58
+ }
59
+ else {
60
+ const clientId = process.env[questionNames_1.QuestionNames.OauthClientId];
61
+ if (clientId) {
62
+ args.clientId = clientId;
63
+ }
64
+ const clientSecret = process.env[questionNames_1.QuestionNames.OauthClientSecret];
65
+ if (clientSecret) {
66
+ args.clientSecret = clientSecret;
67
+ }
68
+ this.validateArgs(args);
69
+ const authInfo = await utility_1.getandValidateOauthInfoFromSpec(args, context, actionName);
70
+ const oauthRegistration = await this.mapArgsToOauthRegistration(context.m365TokenProvider, args, authInfo);
71
+ const oauthRegistrationRes = await appStudioClient_1.AppStudioClient.createOauthRegistration(appStudioToken, oauthRegistration);
72
+ outputs.set(outputEnvVarNames.get(createOauthOutputs_1.OutputKeys.configurationId), oauthRegistrationRes.configurationId.oAuthConfigId);
73
+ const summary = localizeUtils_1.getLocalizedString(constants_1.logMessageKeys.successCreateOauth, oauthRegistrationRes.configurationId.oAuthConfigId);
74
+ (_d = context.logProvider) === null || _d === void 0 ? void 0 : _d.info(summary);
75
+ summaries.push(summary);
76
+ }
77
+ return {
78
+ result: teamsfx_api_1.ok(outputs),
79
+ summaries: summaries,
80
+ };
81
+ }
82
+ catch (error) {
83
+ if (error instanceof teamsfx_api_1.UserError || error instanceof teamsfx_api_1.SystemError) {
84
+ (_e = context.logProvider) === null || _e === void 0 ? void 0 : _e.error(localizeUtils_1.getLocalizedString(constants_1.logMessageKeys.failedExecuteDriver, actionName, error.displayMessage));
85
+ return {
86
+ result: teamsfx_api_1.err(error),
87
+ summaries: summaries,
88
+ };
89
+ }
90
+ const message = JSON.stringify(error);
91
+ (_f = context.logProvider) === null || _f === void 0 ? void 0 : _f.error(localizeUtils_1.getLocalizedString(constants_1.logMessageKeys.failedExecuteDriver, actionName, message));
92
+ return {
93
+ result: teamsfx_api_1.err(common_1.assembleError(error, actionName)),
94
+ summaries: summaries,
95
+ };
96
+ }
97
+ }
98
+ validateArgs(args) {
99
+ const invalidParameters = [];
100
+ if (typeof args.name !== "string" || !args.name) {
101
+ invalidParameters.push("name");
102
+ }
103
+ if (args.name.length > 128) {
104
+ throw new oauthNameTooLong_1.OauthNameTooLongError(actionName);
105
+ }
106
+ if (typeof args.appId !== "string" || !args.appId) {
107
+ invalidParameters.push("appId");
108
+ }
109
+ if (typeof args.apiSpecPath !== "string" || !args.apiSpecPath) {
110
+ invalidParameters.push("apiSpecPath");
111
+ }
112
+ if (args.applicableToApps &&
113
+ args.applicableToApps !== OauthRegistration_1.OauthRegistrationAppType.AnyApp &&
114
+ args.applicableToApps !== OauthRegistration_1.OauthRegistrationAppType.SpecificApp) {
115
+ invalidParameters.push("applicableToApps");
116
+ }
117
+ if (args.targetAudience &&
118
+ args.targetAudience !== OauthRegistration_1.OauthRegistrationTargetAudience.AnyTenant &&
119
+ args.targetAudience !== OauthRegistration_1.OauthRegistrationTargetAudience.HomeTenant) {
120
+ invalidParameters.push("targetAudience");
121
+ }
122
+ if (typeof args.flow !== "string" || !args.flow || !supportedFlows.includes(args.flow)) {
123
+ invalidParameters.push("flow");
124
+ }
125
+ if (typeof args.clientId !== "string" || !args.clientId) {
126
+ invalidParameters.push("clientId");
127
+ }
128
+ if (args.clientSecret && !this.validateSecret(args.clientSecret)) {
129
+ invalidParameters.push("clientSecret");
130
+ }
131
+ if (args.refreshUrl && typeof args.refreshUrl !== "string") {
132
+ invalidParameters.push("refreshUrl");
133
+ }
134
+ if (invalidParameters.length > 0) {
135
+ throw new common_1.InvalidActionInputError(actionName, invalidParameters, helpLink);
136
+ }
137
+ }
138
+ validateSecret(clientSecret) {
139
+ if (typeof clientSecret !== "string") {
140
+ return false;
141
+ }
142
+ if (clientSecret.length > constants_1.maxSecretLength || clientSecret.length < constants_1.minSecretLength) {
143
+ return false;
144
+ }
145
+ return true;
146
+ }
147
+ async mapArgsToOauthRegistration(tokenProvider, args, authInfo) {
148
+ var _a, _b;
149
+ const currentUserRes = await tokenProvider.getJsonObject({ scopes: tools_1.GraphScopes });
150
+ if (currentUserRes.isErr()) {
151
+ throw currentUserRes.error;
152
+ }
153
+ const currentUser = currentUserRes.value;
154
+ const userId = currentUser["oid"];
155
+ const targetAudience = args.targetAudience
156
+ ? args.targetAudience
157
+ : OauthRegistration_1.OauthRegistrationTargetAudience.AnyTenant;
158
+ const applicableToApps = args.applicableToApps
159
+ ? args.applicableToApps
160
+ : OauthRegistration_1.OauthRegistrationAppType.AnyApp;
161
+ return {
162
+ description: args.name,
163
+ targetUrlsShouldStartWith: authInfo.domain,
164
+ applicableToApps: applicableToApps,
165
+ specificAppId: applicableToApps === OauthRegistration_1.OauthRegistrationAppType.SpecificApp ? args.appId : "",
166
+ targetAudience: targetAudience,
167
+ clientId: args.clientId,
168
+ clientSecret: (_a = args.clientSecret) !== null && _a !== void 0 ? _a : "",
169
+ authorizationEndpoint: authInfo.authorizationEndpoint,
170
+ tokenExchangeEndpoint: authInfo.tokenExchangeEndpoint,
171
+ tokenRefreshEndpoint: (_b = args.refreshUrl) !== null && _b !== void 0 ? _b : authInfo.tokenRefreshEndpoint,
172
+ scopes: authInfo.scopes,
173
+ manageableByUsers: [
174
+ {
175
+ userId: userId,
176
+ accessType: OauthRegistration_1.OauthRegistrationUserAccessType.ReadWrite,
177
+ },
178
+ ],
179
+ };
180
+ }
181
+ };
182
+ tslib_1.__decorate([
183
+ hooks_1.hooks([questionMW_1.QuestionMW("oauth", true), addStartAndEndTelemetry_1.addStartAndEndTelemetry(actionName, actionName)]),
184
+ tslib_1.__metadata("design:type", Function),
185
+ tslib_1.__metadata("design:paramtypes", [Object, Object, Map]),
186
+ tslib_1.__metadata("design:returntype", Promise)
187
+ ], CreateOauthDriver.prototype, "execute", null);
188
+ CreateOauthDriver = tslib_1.__decorate([
189
+ typedi_1.Service(actionName)
190
+ ], CreateOauthDriver);
191
+ exports.CreateOauthDriver = CreateOauthDriver;
192
+ //# sourceMappingURL=create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../src/component/driver/oauth/create.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,6CAA0C;AAE1C,iEAAmE;AACnE,mFAAgF;AAGhF,wDAA4F;AAC5F,kDAA+E;AAC/E,mD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AAE,IAAI,CAAC,IAAI;YACtB,yBAAyB,EAAE,QAAQ,CAAC,MAAM;YAC1C,gBAAgB,EAAE,gBAAgB;YAClC,aAAa,EAAE,gBAAgB,KAAK,4CAAwB,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE;YAC1F,cAAc,EAAE,cAAc;YAC9B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,YAAY,EAAE,MAAA,IAAI,CAAC,YAAY,mCAAI,EAAE;YACrC,qBAAqB,EAAE,QAAQ,CAAC,qBAAqB;YACrD,qBAAqB,EAAE,QAAQ,CAAC,qBAAqB;YACrD,oBAAoB,EAAE,MAAA,IAAI,CAAC,UAAU,mCAAI,QAAQ,CAAC,oBAAoB;YACtE,MAAM,EAAE,QAAQ,CAAC,MAAM;YACvB,iBAAiB,EAAE;gBACjB;oBACE,MAAM,EAAE,MAAM;oBACd,UAAU,EAAE,mDAA+B,CAAC,SAAS;iBACtD;aACF;SACmB,CAAC;IACzB,CAAC;CACF,CAAA;AAnNC;IADC,aAAK,CAAC,CAAC,uBAAU,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,iDAAuB,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC;;6DAI9D,GAAG;;gDAoGxB;AA5GU,iBAAiB;IAD7B,gBAAO,CAAC,UAAU,CAAC;GACP,iBAAiB,CAwN7B;AAxNY,8CAAiB"}
@@ -0,0 +1,5 @@
1
+ import { UserError } from "@microsoft/teamsfx-api";
2
+ export declare class OauthAuthInfoInvalid extends UserError {
3
+ constructor(actionName: string);
4
+ }
5
+ //# sourceMappingURL=oauthAuthInfoInvalid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauthAuthInfoInvalid.d.ts","sourceRoot":"","sources":["../../../../../src/component/driver/oauth/error/oauthAuthInfoInvalid.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAMnD,qBAAa,oBAAqB,SAAQ,SAAS;gBACrC,UAAU,EAAE,MAAM;CAQ/B"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.OauthAuthInfoInvalid = void 0;
6
+ const teamsfx_api_1 = require("@microsoft/teamsfx-api");
7
+ const localizeUtils_1 = require("../../../../common/localizeUtils");
8
+ const errorCode = "OauthAuthInfoInvalid";
9
+ const messageKey = "driver.apiKey.error.oauthAuthInfoInvalid";
10
+ class OauthAuthInfoInvalid extends teamsfx_api_1.UserError {
11
+ constructor(actionName) {
12
+ super({
13
+ source: actionName,
14
+ name: errorCode,
15
+ message: localizeUtils_1.getDefaultString(messageKey),
16
+ displayMessage: localizeUtils_1.getLocalizedString(messageKey),
17
+ });
18
+ }
19
+ }
20
+ exports.OauthAuthInfoInvalid = OauthAuthInfoInvalid;
21
+ //# sourceMappingURL=oauthAuthInfoInvalid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauthAuthInfoInvalid.js","sourceRoot":"","sources":["../../../../../src/component/driver/oauth/error/oauthAuthInfoInvalid.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAAmD;AACnD,oEAAwF;AAExF,MAAM,SAAS,GAAG,sBAAsB,CAAC;AACzC,MAAM,UAAU,GAAG,0CAA0C,CAAC;AAE9D,MAAa,oBAAqB,SAAQ,uBAAS;IACjD,YAAY,UAAkB;QAC5B,KAAK,CAAC;YACJ,MAAM,EAAE,UAAU;YAClB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,gCAAgB,CAAC,UAAU,CAAC;YACrC,cAAc,EAAE,kCAAkB,CAAC,UAAU,CAAC;SAC/C,CAAC,CAAC;IACL,CAAC;CACF;AATD,oDASC"}
@@ -0,0 +1,5 @@
1
+ import { UserError } from "@microsoft/teamsfx-api";
2
+ export declare class OauthDomainInvalidError extends UserError {
3
+ constructor(actionName: string);
4
+ }
5
+ //# sourceMappingURL=oauthDomainInvalid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauthDomainInvalid.d.ts","sourceRoot":"","sources":["../../../../../src/component/driver/oauth/error/oauthDomainInvalid.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAOnD,qBAAa,uBAAwB,SAAQ,SAAS;gBACxC,UAAU,EAAE,MAAM;CAQ/B"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.OauthDomainInvalidError = void 0;
6
+ const teamsfx_api_1 = require("@microsoft/teamsfx-api");
7
+ const localizeUtils_1 = require("../../../../common/localizeUtils");
8
+ const constants_1 = require("../utility/constants");
9
+ const errorCode = "OauthDomainInvalid";
10
+ const messageKey = "driver.oauth.error.domainInvalid";
11
+ class OauthDomainInvalidError extends teamsfx_api_1.UserError {
12
+ constructor(actionName) {
13
+ super({
14
+ source: actionName,
15
+ name: errorCode,
16
+ message: localizeUtils_1.getDefaultString(messageKey),
17
+ displayMessage: localizeUtils_1.getLocalizedString(messageKey, constants_1.maxDomainPerOauth),
18
+ });
19
+ }
20
+ }
21
+ exports.OauthDomainInvalidError = OauthDomainInvalidError;
22
+ //# sourceMappingURL=oauthDomainInvalid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauthDomainInvalid.js","sourceRoot":"","sources":["../../../../../src/component/driver/oauth/error/oauthDomainInvalid.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAAmD;AACnD,oEAAwF;AACxF,oDAAyD;AAEzD,MAAM,SAAS,GAAG,oBAAoB,CAAC;AACvC,MAAM,UAAU,GAAG,kCAAkC,CAAC;AAEtD,MAAa,uBAAwB,SAAQ,uBAAS;IACpD,YAAY,UAAkB;QAC5B,KAAK,CAAC;YACJ,MAAM,EAAE,UAAU;YAClB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,gCAAgB,CAAC,UAAU,CAAC;YACrC,cAAc,EAAE,kCAAkB,CAAC,UAAU,EAAE,6BAAiB,CAAC;SAClE,CAAC,CAAC;IACL,CAAC;CACF;AATD,0DASC"}
@@ -0,0 +1,5 @@
1
+ import { UserError } from "@microsoft/teamsfx-api";
2
+ export declare class OauthFailedToGetDomainError extends UserError {
3
+ constructor(actionName: string);
4
+ }
5
+ //# sourceMappingURL=oauthFailedToGetDomain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauthFailedToGetDomain.d.ts","sourceRoot":"","sources":["../../../../../src/component/driver/oauth/error/oauthFailedToGetDomain.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAMnD,qBAAa,2BAA4B,SAAQ,SAAS;gBAC5C,UAAU,EAAE,MAAM;CAQ/B"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.OauthFailedToGetDomainError = void 0;
6
+ const teamsfx_api_1 = require("@microsoft/teamsfx-api");
7
+ const localizeUtils_1 = require("../../../../common/localizeUtils");
8
+ const errorCode = "OauthFailedToGetDomain";
9
+ const messageKey = "driver.apiKey.error.failedToGetDomain";
10
+ class OauthFailedToGetDomainError extends teamsfx_api_1.UserError {
11
+ constructor(actionName) {
12
+ super({
13
+ source: actionName,
14
+ name: errorCode,
15
+ message: localizeUtils_1.getDefaultString(messageKey),
16
+ displayMessage: localizeUtils_1.getLocalizedString(messageKey),
17
+ });
18
+ }
19
+ }
20
+ exports.OauthFailedToGetDomainError = OauthFailedToGetDomainError;
21
+ //# sourceMappingURL=oauthFailedToGetDomain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauthFailedToGetDomain.js","sourceRoot":"","sources":["../../../../../src/component/driver/oauth/error/oauthFailedToGetDomain.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAAmD;AACnD,oEAAwF;AAExF,MAAM,SAAS,GAAG,wBAAwB,CAAC;AAC3C,MAAM,UAAU,GAAG,uCAAuC,CAAC;AAE3D,MAAa,2BAA4B,SAAQ,uBAAS;IACxD,YAAY,UAAkB;QAC5B,KAAK,CAAC;YACJ,MAAM,EAAE,UAAU;YAClB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,gCAAgB,CAAC,UAAU,CAAC;YACrC,cAAc,EAAE,kCAAkB,CAAC,UAAU,CAAC;SAC/C,CAAC,CAAC;IACL,CAAC;CACF;AATD,kEASC"}
@@ -0,0 +1,5 @@
1
+ import { UserError } from "@microsoft/teamsfx-api";
2
+ export declare class OauthNameTooLongError extends UserError {
3
+ constructor(actionName: string);
4
+ }
5
+ //# sourceMappingURL=oauthNameTooLong.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauthNameTooLong.d.ts","sourceRoot":"","sources":["../../../../../src/component/driver/oauth/error/oauthNameTooLong.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAMnD,qBAAa,qBAAsB,SAAQ,SAAS;gBACtC,UAAU,EAAE,MAAM;CAQ/B"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.OauthNameTooLongError = void 0;
6
+ const teamsfx_api_1 = require("@microsoft/teamsfx-api");
7
+ const localizeUtils_1 = require("../../../../common/localizeUtils");
8
+ const errorCode = "OauthNameTooLong";
9
+ const messageKey = "driver.oauth.error.nameTooLong";
10
+ class OauthNameTooLongError extends teamsfx_api_1.UserError {
11
+ constructor(actionName) {
12
+ super({
13
+ source: actionName,
14
+ name: errorCode,
15
+ message: localizeUtils_1.getDefaultString(messageKey),
16
+ displayMessage: localizeUtils_1.getLocalizedString(messageKey),
17
+ });
18
+ }
19
+ }
20
+ exports.OauthNameTooLongError = OauthNameTooLongError;
21
+ //# sourceMappingURL=oauthNameTooLong.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauthNameTooLong.js","sourceRoot":"","sources":["../../../../../src/component/driver/oauth/error/oauthNameTooLong.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAAmD;AACnD,oEAAwF;AAExF,MAAM,SAAS,GAAG,kBAAkB,CAAC;AACrC,MAAM,UAAU,GAAG,gCAAgC,CAAC;AAEpD,MAAa,qBAAsB,SAAQ,uBAAS;IAClD,YAAY,UAAkB;QAC5B,KAAK,CAAC;YACJ,MAAM,EAAE,UAAU;YAClB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,gCAAgB,CAAC,UAAU,CAAC;YACrC,cAAc,EAAE,kCAAkB,CAAC,UAAU,CAAC;SAC/C,CAAC,CAAC;IACL,CAAC;CACF;AATD,sDASC"}
@@ -0,0 +1,12 @@
1
+ export interface CreateOauthArgs {
2
+ name: string;
3
+ appId: string;
4
+ apiSpecPath: string;
5
+ applicableToApps?: string;
6
+ targetAudience?: string;
7
+ flow: string;
8
+ clientId?: string;
9
+ clientSecret?: string;
10
+ refreshUrl?: string;
11
+ }
12
+ //# sourceMappingURL=createOauthArgs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createOauthArgs.d.ts","sourceRoot":"","sources":["../../../../../src/component/driver/oauth/interface/createOauthArgs.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ //# sourceMappingURL=createOauthArgs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createOauthArgs.js","sourceRoot":"","sources":["../../../../../src/component/driver/oauth/interface/createOauthArgs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -0,0 +1,7 @@
1
+ export declare type CreateOauthOutputs = {
2
+ configurationId: string;
3
+ };
4
+ export declare const OutputKeys: {
5
+ configurationId: string;
6
+ };
7
+ //# sourceMappingURL=createOauthOutputs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createOauthOutputs.d.ts","sourceRoot":"","sources":["../../../../../src/component/driver/oauth/interface/createOauthOutputs.ts"],"names":[],"mappings":"AAGA,oBAAY,kBAAkB,GAAG;IAC/B,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAGF,eAAO,MAAM,UAAU;;CAEtB,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.OutputKeys = void 0;
6
+ // The const is used to reference the property name in CreateAadAppOutput. When renaming the properties in CreateAadAppOutput, you need to update the const as well.
7
+ exports.OutputKeys = {
8
+ configurationId: "configurationId",
9
+ };
10
+ //# sourceMappingURL=createOauthOutputs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createOauthOutputs.js","sourceRoot":"","sources":["../../../../../src/component/driver/oauth/interface/createOauthOutputs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAMlC,oKAAoK;AACvJ,QAAA,UAAU,GAAG;IACxB,eAAe,EAAE,iBAAiB;CACnC,CAAC"}
@@ -0,0 +1,9 @@
1
+ export interface UpdateOauthArgs {
2
+ name: string;
3
+ appId: string;
4
+ apiSpecPath: string;
5
+ configurationId: string;
6
+ applicableToApps?: string;
7
+ targetAudience?: string;
8
+ }
9
+ //# sourceMappingURL=updateOauthArgs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateOauthArgs.d.ts","sourceRoot":"","sources":["../../../../../src/component/driver/oauth/interface/updateOauthArgs.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ //# sourceMappingURL=updateOauthArgs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateOauthArgs.js","sourceRoot":"","sources":["../../../../../src/component/driver/oauth/interface/updateOauthArgs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -0,0 +1,13 @@
1
+ import { ExecutionResult, StepDriver } from "../interface/stepDriver";
2
+ import { UpdateOauthArgs } from "./interface/updateOauthArgs";
3
+ import { DriverContext } from "../interface/commonArgs";
4
+ export declare class UpdateOauthDriver implements StepDriver {
5
+ description: string;
6
+ readonly progressTitle: string;
7
+ execute(args: UpdateOauthArgs, context: DriverContext, outputEnvVarNames?: Map<string, string>): Promise<ExecutionResult>;
8
+ private validateArgs;
9
+ private compareOauthRegistration;
10
+ private shouldSkipConfirm;
11
+ private mapArgsToOauthRegistration;
12
+ }
13
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../src/component/driver/oauth/update.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAGtE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAkBxD,qBACa,iBAAkB,YAAW,UAAU;IAClD,WAAW,SAAyD;IACpE,QAAQ,CAAC,aAAa,SAAmD;IAG5D,OAAO,CAClB,IAAI,EAAE,eAAe,EACrB,OAAO,EAAE,aAAa,EACtB,iBAAiB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACtC,OAAO,CAAC,eAAe,CAAC;IA0F3B,OAAO,CAAC,YAAY;IA2CpB,OAAO,CAAC,wBAAwB;IAyChC,OAAO,CAAC,iBAAiB;IAUzB,OAAO,CAAC,0BAA0B;CAgBnC"}