@microsoft/teamsfx-core 2.0.2-alpha.8828ab140.0 → 2.0.2-alpha.be4f5dfbf.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 (176) hide show
  1. package/build/common/samples-config-v3.json +0 -15
  2. package/build/component/constants.d.ts +0 -80
  3. package/build/component/constants.d.ts.map +1 -1
  4. package/build/component/constants.js +2 -90
  5. package/build/component/constants.js.map +1 -1
  6. package/build/component/coordinator/index.js +1 -1
  7. package/build/component/coordinator/index.js.map +1 -1
  8. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js +1 -1
  9. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js.map +1 -1
  10. package/build/component/feature/sso.d.ts.map +1 -1
  11. package/build/component/feature/sso.js +1 -1
  12. package/build/component/feature/sso.js.map +1 -1
  13. package/build/component/generator/utils.d.ts +1 -0
  14. package/build/component/generator/utils.d.ts.map +1 -1
  15. package/build/component/generator/utils.js +16 -1
  16. package/build/component/generator/utils.js.map +1 -1
  17. package/build/component/messages.d.ts +0 -61
  18. package/build/component/messages.d.ts.map +1 -1
  19. package/build/component/messages.js +1 -91
  20. package/build/component/messages.js.map +1 -1
  21. package/build/component/resource/aadApp/aadApp.d.ts +2 -56
  22. package/build/component/resource/aadApp/aadApp.d.ts.map +1 -1
  23. package/build/component/resource/aadApp/aadApp.js +0 -115
  24. package/build/component/resource/aadApp/aadApp.js.map +1 -1
  25. package/build/component/resource/aadApp/aadAppClient.d.ts +1 -17
  26. package/build/component/resource/aadApp/aadAppClient.d.ts.map +1 -1
  27. package/build/component/resource/aadApp/aadAppClient.js +0 -253
  28. package/build/component/resource/aadApp/aadAppClient.js.map +1 -1
  29. package/build/component/resource/aadApp/aadAppForTeamsImpl.d.ts +1 -17
  30. package/build/component/resource/aadApp/aadAppForTeamsImpl.d.ts.map +1 -1
  31. package/build/component/resource/aadApp/aadAppForTeamsImpl.js +4 -368
  32. package/build/component/resource/aadApp/aadAppForTeamsImpl.js.map +1 -1
  33. package/build/component/resource/aadApp/constants.d.ts +0 -94
  34. package/build/component/resource/aadApp/constants.d.ts.map +1 -1
  35. package/build/component/resource/aadApp/constants.js +1 -185
  36. package/build/component/resource/aadApp/constants.js.map +1 -1
  37. package/build/component/resource/aadApp/errors.d.ts +0 -38
  38. package/build/component/resource/aadApp/errors.d.ts.map +1 -1
  39. package/build/component/resource/aadApp/errors.js +1 -234
  40. package/build/component/resource/aadApp/errors.js.map +1 -1
  41. package/build/component/resource/aadApp/graph.d.ts +0 -6
  42. package/build/component/resource/aadApp/graph.d.ts.map +1 -1
  43. package/build/component/resource/aadApp/graph.js +0 -69
  44. package/build/component/resource/aadApp/graph.js.map +1 -1
  45. package/build/component/resource/aadApp/permissions/index.d.ts +0 -4
  46. package/build/component/resource/aadApp/permissions/index.d.ts.map +1 -1
  47. package/build/component/resource/aadApp/permissions/index.js +1 -32
  48. package/build/component/resource/aadApp/permissions/index.js.map +1 -1
  49. package/build/component/resource/aadApp/utils/configs.d.ts +0 -82
  50. package/build/component/resource/aadApp/utils/configs.d.ts.map +1 -1
  51. package/build/component/resource/aadApp/utils/configs.js +1 -560
  52. package/build/component/resource/aadApp/utils/configs.js.map +1 -1
  53. package/build/component/resource/aadApp/utils/telemetry.d.ts +0 -11
  54. package/build/component/resource/aadApp/utils/telemetry.d.ts.map +1 -1
  55. package/build/component/resource/aadApp/utils/telemetry.js +0 -14
  56. package/build/component/resource/aadApp/utils/telemetry.js.map +1 -1
  57. package/build/component/resource/aadApp/utils/tokenProvider.d.ts +1 -2
  58. package/build/component/resource/aadApp/utils/tokenProvider.d.ts.map +1 -1
  59. package/build/component/resource/aadApp/utils/tokenProvider.js +1 -26
  60. package/build/component/resource/aadApp/utils/tokenProvider.js.map +1 -1
  61. package/build/component/resource/aadApp/utils.d.ts +2 -4
  62. package/build/component/resource/aadApp/utils.d.ts.map +1 -1
  63. package/build/component/resource/aadApp/utils.js +11 -169
  64. package/build/component/resource/aadApp/utils.js.map +1 -1
  65. package/build/component/resource/botService/appStudio/appStudioClient.d.ts.map +1 -1
  66. package/build/component/resource/botService/appStudio/appStudioClient.js +1 -3
  67. package/build/component/resource/botService/appStudio/appStudioClient.js.map +1 -1
  68. package/build/component/resource/botService/errors.d.ts +4 -0
  69. package/build/component/resource/botService/errors.d.ts.map +1 -1
  70. package/build/component/resource/botService/errors.js +16 -1
  71. package/build/component/resource/botService/errors.js.map +1 -1
  72. package/build/component/resource/botService/messages.d.ts +0 -3
  73. package/build/component/resource/botService/messages.d.ts.map +1 -1
  74. package/build/component/resource/botService/messages.js +0 -3
  75. package/build/component/resource/botService/messages.js.map +1 -1
  76. package/build/component/resource/botService/resourceNameFactory.d.ts.map +1 -1
  77. package/build/component/resource/botService/resourceNameFactory.js +2 -2
  78. package/build/component/resource/botService/resourceNameFactory.js.map +1 -1
  79. package/build/component/utils/common.d.ts +0 -10
  80. package/build/component/utils/common.d.ts.map +1 -1
  81. package/build/component/utils/common.js +1 -11
  82. package/build/component/utils/common.js.map +1 -1
  83. package/build/component/utils/fileOperation.d.ts +0 -7
  84. package/build/component/utils/fileOperation.d.ts.map +1 -1
  85. package/build/component/utils/fileOperation.js +1 -26
  86. package/build/component/utils/fileOperation.js.map +1 -1
  87. package/build/index.d.ts +0 -1
  88. package/build/index.d.ts.map +1 -1
  89. package/build/index.js +0 -1
  90. package/build/index.js.map +1 -1
  91. package/package.json +4 -4
  92. package/resource/package.nls.json +0 -85
  93. package/templates/fallback/common.zip +0 -0
  94. package/templates/fallback/csharp.zip +0 -0
  95. package/templates/fallback/js.zip +0 -0
  96. package/templates/fallback/ts.zip +0 -0
  97. package/build/common/template-utils/templates.d.ts +0 -8
  98. package/build/common/template-utils/templates.d.ts.map +0 -1
  99. package/build/common/template-utils/templates.js +0 -27
  100. package/build/common/template-utils/templates.js.map +0 -1
  101. package/build/common/template-utils/templatesActions.d.ts +0 -42
  102. package/build/common/template-utils/templatesActions.d.ts.map +0 -1
  103. package/build/common/template-utils/templatesActions.js +0 -167
  104. package/build/common/template-utils/templatesActions.js.map +0 -1
  105. package/build/common/template-utils/templatesUtils.d.ts +0 -15
  106. package/build/common/template-utils/templatesUtils.d.ts.map +0 -1
  107. package/build/common/template-utils/templatesUtils.js +0 -120
  108. package/build/common/template-utils/templatesUtils.js.map +0 -1
  109. package/build/component/code/utils.d.ts +0 -2
  110. package/build/component/code/utils.d.ts.map +0 -1
  111. package/build/component/code/utils.js +0 -23
  112. package/build/component/code/utils.js.map +0 -1
  113. package/build/component/debugHandler/appManifest.d.ts +0 -24
  114. package/build/component/debugHandler/appManifest.d.ts.map +0 -1
  115. package/build/component/debugHandler/appManifest.js +0 -172
  116. package/build/component/debugHandler/appManifest.js.map +0 -1
  117. package/build/component/debugHandler/bot.d.ts +0 -28
  118. package/build/component/debugHandler/bot.d.ts.map +0 -1
  119. package/build/component/debugHandler/bot.js +0 -257
  120. package/build/component/debugHandler/bot.js.map +0 -1
  121. package/build/component/debugHandler/common.d.ts +0 -6
  122. package/build/component/debugHandler/common.d.ts.map +0 -1
  123. package/build/component/debugHandler/common.js +0 -5
  124. package/build/component/debugHandler/common.js.map +0 -1
  125. package/build/component/debugHandler/error.d.ts +0 -8
  126. package/build/component/debugHandler/error.d.ts.map +0 -1
  127. package/build/component/debugHandler/error.js +0 -31
  128. package/build/component/debugHandler/error.js.map +0 -1
  129. package/build/component/debugHandler/index.d.ts +0 -8
  130. package/build/component/debugHandler/index.d.ts.map +0 -1
  131. package/build/component/debugHandler/index.js +0 -13
  132. package/build/component/debugHandler/index.js.map +0 -1
  133. package/build/component/debugHandler/localEnvProvider.d.ts +0 -85
  134. package/build/component/debugHandler/localEnvProvider.d.ts.map +0 -1
  135. package/build/component/debugHandler/localEnvProvider.js +0 -172
  136. package/build/component/debugHandler/localEnvProvider.js.map +0 -1
  137. package/build/component/debugHandler/sso.d.ts +0 -29
  138. package/build/component/debugHandler/sso.d.ts.map +0 -1
  139. package/build/component/debugHandler/sso.js +0 -347
  140. package/build/component/debugHandler/sso.js.map +0 -1
  141. package/build/component/debugHandler/tab.d.ts +0 -22
  142. package/build/component/debugHandler/tab.d.ts.map +0 -1
  143. package/build/component/debugHandler/tab.js +0 -122
  144. package/build/component/debugHandler/tab.js.map +0 -1
  145. package/build/component/debugHandler/utils.d.ts +0 -3
  146. package/build/component/debugHandler/utils.d.ts.map +0 -1
  147. package/build/component/debugHandler/utils.js +0 -47
  148. package/build/component/debugHandler/utils.js.map +0 -1
  149. package/build/component/error.d.ts +0 -22
  150. package/build/component/error.d.ts.map +0 -1
  151. package/build/component/error.js +0 -64
  152. package/build/component/error.js.map +0 -1
  153. package/build/component/resource/aadApp/aadAppManifestManager.d.ts +0 -12
  154. package/build/component/resource/aadApp/aadAppManifestManager.d.ts.map +0 -1
  155. package/build/component/resource/aadApp/aadAppManifestManager.js +0 -151
  156. package/build/component/resource/aadApp/aadAppManifestManager.js.map +0 -1
  157. package/build/component/resource/aadApp/appStudio.d.ts +0 -9
  158. package/build/component/resource/aadApp/appStudio.d.ts.map +0 -1
  159. package/build/component/resource/aadApp/appStudio.js +0 -83
  160. package/build/component/resource/aadApp/appStudio.js.map +0 -1
  161. package/build/component/resource/aadApp/interfaces/IAADApplication.d.ts +0 -14
  162. package/build/component/resource/aadApp/interfaces/IAADApplication.d.ts.map +0 -1
  163. package/build/component/resource/aadApp/interfaces/IAADApplication.js +0 -5
  164. package/build/component/resource/aadApp/interfaces/IAADApplication.js.map +0 -1
  165. package/build/component/resource/aadApp/interfaces/IPermission.d.ts +0 -8
  166. package/build/component/resource/aadApp/interfaces/IPermission.d.ts.map +0 -1
  167. package/build/component/resource/aadApp/interfaces/IPermission.js +0 -5
  168. package/build/component/resource/aadApp/interfaces/IPermission.js.map +0 -1
  169. package/build/component/resource/aadApp/interfaces/models.d.ts +0 -11
  170. package/build/component/resource/aadApp/interfaces/models.d.ts.map +0 -1
  171. package/build/component/resource/aadApp/interfaces/models.js +0 -12
  172. package/build/component/resource/aadApp/interfaces/models.js.map +0 -1
  173. package/build/component/resource/aadApp/utils/format.d.ts +0 -7
  174. package/build/component/resource/aadApp/utils/format.d.ts.map +0 -1
  175. package/build/component/resource/aadApp/utils/format.js +0 -68
  176. package/build/component/resource/aadApp/utils/format.js.map +0 -1
@@ -2,9 +2,7 @@
2
2
  // Copyright (c) Microsoft Corporation.
3
3
  // Licensed under the MIT license.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.UILevels = exports.ConfigFilePath = exports.TemplatePathInfo = exports.ProgressDetail = exports.ProgressTitle = exports.Messages = exports.ConfigKeysOfOtherPlugin = exports.ConfigKeys = exports.Plugins = exports.Telemetry = exports.Constants = void 0;
6
- const tslib_1 = require("tslib");
7
- const path_1 = tslib_1.__importDefault(require("path"));
5
+ exports.Messages = exports.ConfigKeys = exports.Plugins = exports.Telemetry = exports.Constants = void 0;
8
6
  const localizeUtils_1 = require("../../../common/localizeUtils");
9
7
  class Constants {
10
8
  }
@@ -12,55 +10,18 @@ exports.Constants = Constants;
12
10
  Constants.oauthAuthorityPrefix = "https://login.microsoftonline.com";
13
11
  Constants.aadAppMaxLength = 120;
14
12
  Constants.aadAppPasswordDisplayName = "default";
15
- Constants.INCLUDE_AAD_MANIFEST = "include-aad-manifest";
16
- Constants.AAD_MANIFEST_FILE = "aad-manifest-file";
17
- Constants.localDebugPrefix = "local_";
18
- Constants.AskForEnv = "Which Azure AD app do you want to update permission for?";
19
- Constants.AskForEnvName = "aad-env";
20
13
  Constants.maxRetryTimes = 10;
21
14
  Constants.statusCodeUserError = 400;
22
15
  Constants.statusCodeServerError = 500;
23
- Constants.statusCodeForbidden = 403;
24
16
  Constants.permissions = {
25
17
  name: "Azure AD App",
26
18
  owner: "Owner",
27
19
  noPermission: "No Permission",
28
20
  type: "M365",
29
21
  };
30
- Constants.appPackageFolder = "templates/appPackage";
31
22
  Constants.aadManifestTemplateFolder = "plugins/resource/aad/manifest";
32
23
  Constants.aadManifestTemplateName = "aad.template.json";
33
24
  Constants.createOwnerDuplicatedMessage = "One or more added object references already exist for the following modified properties: 'owners'.";
34
- Constants.defaultPermissions = {
35
- resourceAppId: "00000003-0000-0000-c000-000000000000",
36
- resourceAccess: [
37
- {
38
- // permission: email
39
- id: "64a6cdd6-aab1-4aaf-94b8-3cc8405e90d0",
40
- type: "Scope",
41
- },
42
- {
43
- // permission: offline_access
44
- id: "7427e0e9-2fba-42fe-b0c0-848c9e6a8182",
45
- type: "Scope",
46
- },
47
- {
48
- // permission: openid
49
- id: "37f7f235-527c-4136-accd-4a02d197296e",
50
- type: "Scope",
51
- },
52
- {
53
- // permission: profile
54
- id: "14dad69e-099b-42c9-810b-d002981feec1",
55
- type: "Scope",
56
- },
57
- {
58
- // permission: User.Read
59
- id: "e1fe6dd8-ba31-4d61-89e7-88639da4683d",
60
- type: "Scope",
61
- },
62
- ],
63
- };
64
25
  class Telemetry {
65
26
  }
66
27
  exports.Telemetry = Telemetry;
@@ -109,97 +70,11 @@ ConfigKeys.oauthHost = "oauthHost";
109
70
  ConfigKeys.tenantId = "tenantId";
110
71
  ConfigKeys.skip = "skipProvision";
111
72
  ConfigKeys.accessAsUserScopeId = "accessAsUserScopeId";
112
- class ConfigKeysOfOtherPlugin {
113
- }
114
- exports.ConfigKeysOfOtherPlugin = ConfigKeysOfOtherPlugin;
115
- ConfigKeysOfOtherPlugin.frontendHostingDomain = "domain";
116
- ConfigKeysOfOtherPlugin.frontendHostingEndpoint = "endpoint";
117
- ConfigKeysOfOtherPlugin.teamsBotId = "botId";
118
- ConfigKeysOfOtherPlugin.teamsBotIdLocal = "localBotId";
119
- ConfigKeysOfOtherPlugin.teamsBotEndpoint = "siteEndpoint";
120
- ConfigKeysOfOtherPlugin.localDebugTabDomain = "localTabDomain";
121
- ConfigKeysOfOtherPlugin.localDebugTabEndpoint = "localTabEndpoint";
122
- ConfigKeysOfOtherPlugin.localDebugBotEndpoint = "localBotEndpoint";
123
- ConfigKeysOfOtherPlugin.solutionPermissionRequest = "permissionRequest";
124
- ConfigKeysOfOtherPlugin.remoteTeamsAppId = "remoteTeamsAppId";
125
- ConfigKeysOfOtherPlugin.solutionUserInfo = "userInfo";
126
73
  class Messages {
127
74
  }
128
75
  exports.Messages = Messages;
129
76
  Messages.getLog = (log) => `[${Plugins.pluginName}] ${log}`;
130
77
  Messages.getEventName = (eventName) => `${eventName}`;
131
- Messages.StartProvision = {
132
- log: Messages.getLog("Start to provision"),
133
- telemetry: Messages.getEventName("provision-start"),
134
- };
135
- Messages.EndProvision = {
136
- log: Messages.getLog("Successfully provision"),
137
- telemetry: Messages.getEventName("provision"),
138
- };
139
- Messages.StartLocalDebug = {
140
- log: Messages.getLog("Start to debug"),
141
- telemetry: Messages.getEventName("local-debug-start"),
142
- };
143
- Messages.EndLocalDebug = {
144
- log: Messages.getLog("Successfully debug"),
145
- telemetry: Messages.getEventName("local-debug"),
146
- };
147
- Messages.StartPostProvision = {
148
- log: Messages.getLog("Start to post-provision"),
149
- telemetry: Messages.getEventName("post-provision-start"),
150
- };
151
- Messages.EndPostProvision = {
152
- log: Messages.getLog("Successfully post-provision"),
153
- telemetry: Messages.getEventName("post-provision"),
154
- };
155
- Messages.StartDeploy = {
156
- log: Messages.getLog("Start to deploy resources"),
157
- telemetry: Messages.getEventName("deploy-start"),
158
- };
159
- Messages.EndDeploy = {
160
- log: Messages.getLog("Successfully deploy resources"),
161
- telemetry: Messages.getEventName("deploy"),
162
- };
163
- Messages.StartBuildAadManifest = {
164
- log: Messages.getLog("Start to build aad manifest"),
165
- telemetry: Messages.getEventName("build-aad-manifest-start"),
166
- };
167
- Messages.EndBuildAadManifest = {
168
- log: Messages.getLog("Successfully build aad manifest"),
169
- telemetry: Messages.getEventName("build-aad-manifest"),
170
- };
171
- Messages.StartScaffold = {
172
- log: Messages.getLog("Start to scaffold resources"),
173
- telemetry: Messages.getEventName("scaffold-start"),
174
- };
175
- Messages.EndScaffold = {
176
- log: Messages.getLog("Successfully scaffold resources"),
177
- telemetry: Messages.getEventName("scaffold"),
178
- };
179
- Messages.StartGenerateArmTemplates = {
180
- log: Messages.getLog("Start to generate arm templates"),
181
- telemetry: Messages.getEventName("generate-arm-templates-start"),
182
- };
183
- Messages.EndGenerateArmTemplates = {
184
- log: Messages.getLog("Successfully generated arm templates"),
185
- telemetry: Messages.getEventName("generate-arm-templates"),
186
- };
187
- Messages.StartPostLocalDebug = {
188
- log: Messages.getLog("Start to post debug"),
189
- telemetry: Messages.getEventName("post-local-debug-start"),
190
- };
191
- Messages.EndPostLocalDebug = {
192
- log: Messages.getLog("Successfully post debug"),
193
- telemetry: Messages.getEventName("post-local-debug"),
194
- };
195
- Messages.StartUpdatePermission = {
196
- log: Messages.getLog("Start to update permission"),
197
- telemetry: Messages.getEventName("update-permission-start"),
198
- };
199
- Messages.EndUpdatePermission = {
200
- log: Messages.getLog("Successfully update permission"),
201
- telemetry: Messages.getEventName("update-permission"),
202
- };
203
78
  Messages.StartCheckPermission = {
204
79
  log: Messages.getLog("Start to check permission"),
205
80
  telemetry: Messages.getEventName("check-permission-start"),
@@ -224,64 +99,5 @@ Messages.EndListCollaborator = {
224
99
  log: Messages.getLog("Successfully list collaborator"),
225
100
  telemetry: Messages.getEventName("list-collaborator"),
226
101
  };
227
- Messages.GetAadAppSuccess = "Successfully get Azure AD app.";
228
- Messages.CreateAadAppSuccess = "Successfully created Azure AD app.";
229
- Messages.CreateAadAppPasswordSuccess = "Successfully created password for Azure AD app.";
230
- Messages.UpdatePermissionSuccess = "Successfully updated permission for Azure AD app.";
231
- Messages.SetAppIdUriSuccess = "Successfully created application id uri for Azure AD app.";
232
- Messages.UpdateRedirectUriSuccess = "Successfully updated redirect uri for Azure AD app.";
233
- Messages.UpdateAppIdUriSuccess = "Successfully updated application id uri for Azure AD app.";
234
- Messages.ParsePermissionSuccess = "Successfully parsed permissions.";
235
- Messages.NoSelection = localizeUtils_1.getLocalizedString("plugins.aad.NoSelection");
236
- Messages.UserCancelled = localizeUtils_1.getLocalizedString("plugins.aad.UserCancelled");
237
- Messages.UpdatePermissionSuccessMessage = localizeUtils_1.getLocalizedString("plugins.aad.UpdatePermissionSuccessMessage");
238
- Messages.SkipProvision = localizeUtils_1.getLocalizedString("plugins.aad.SkipProvision");
239
102
  Messages.OwnerAlreadyAdded = (userObjectId, objectId) => localizeUtils_1.getLocalizedString("plugins.aad.OwnerAlreadyAdded", userObjectId, objectId);
240
- Messages.StepFailedAndSkipped = (stage, helpMessage) => localizeUtils_1.getLocalizedString("plugins.aad.StepFailedAndSkipped", stage, helpMessage);
241
- Messages.UpdatePermissionHelpMessage = localizeUtils_1.getLocalizedString("plugins.aad.UpdatePermissionHelpMessage");
242
- Messages.UpdateAppIdUriHelpMessage = (appIdUri) => localizeUtils_1.getLocalizedString("plugins.aad.UpdateAppIdUriHelpMessage", appIdUri);
243
- Messages.UpdateRedirectUriHelpMessage = (redirectUri) => localizeUtils_1.getLocalizedString("plugins.aad.UpdateRedirectUriHelpMessage", redirectUri);
244
- Messages.UpdateAadHelpMessage = () => localizeUtils_1.getLocalizedString("plugins.aad.UpdateAadHelpMessage");
245
- class ProgressTitle {
246
- }
247
- exports.ProgressTitle = ProgressTitle;
248
- ProgressTitle.Provision = "Provisioning Azure AD app";
249
- ProgressTitle.ProvisionSteps = 3;
250
- ProgressTitle.PostProvision = "Configuring Azure AD app";
251
- ProgressTitle.PostProvisionSteps = 2;
252
- ProgressTitle.UpdatePermission = "Updating permission for Azure AD app";
253
- ProgressTitle.UpdatePermissionSteps = 1;
254
- ProgressTitle.Deploy = "Deploying Azure AD app";
255
- ProgressTitle.DeploySteps = 1;
256
- ProgressTitle.PostProvisionUsingManifest = "Configuring Azure AD app using manifest";
257
- ProgressTitle.PostProvisionUsingManifestSteps = 1;
258
- class ProgressDetail {
259
- }
260
- exports.ProgressDetail = ProgressDetail;
261
- ProgressDetail.Starting = "Starting";
262
- ProgressDetail.ProvisionAadApp = "Provision Azure AD app";
263
- ProgressDetail.CreateAadAppSecret = "Create secret for Azure AD app";
264
- ProgressDetail.GetAadApp = "Get Azure AD app";
265
- ProgressDetail.UpdateAadApp = "Update AD app";
266
- ProgressDetail.UpdateRedirectUri = "Update redirect uri for Azure AD app";
267
- ProgressDetail.UpdateAppIdUri = "Update application id uri for Azure AD app";
268
- ProgressDetail.UpdatePermission = "Update permission for Azure AD app";
269
- class TemplatePathInfo {
270
- }
271
- exports.TemplatePathInfo = TemplatePathInfo;
272
- TemplatePathInfo.TemplateRelativeDir = path_1.default.join("plugins", "resource", "aad");
273
- TemplatePathInfo.BicepTemplateRelativeDir = path_1.default.join(TemplatePathInfo.TemplateRelativeDir, "bicep");
274
- class ConfigFilePath {
275
- }
276
- exports.ConfigFilePath = ConfigFilePath;
277
- ConfigFilePath.Default = "env.default.json";
278
- ConfigFilePath.LocalSettings = "localSettings.json";
279
- ConfigFilePath.State = (env) => `state.${env}.json`;
280
- ConfigFilePath.Input = (env) => `config.${env}.json`;
281
- class UILevels {
282
- }
283
- exports.UILevels = UILevels;
284
- UILevels.Info = "info";
285
- UILevels.Warn = "warn";
286
- UILevels.Error = "error";
287
103
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/component/resource/aadApp/constants.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAAwB;AACxB,iEAAmE;AAGnE,MAAa,SAAS;;AAAtB,8BA8DC;AA7DQ,8BAAoB,GAAG,mCAAmC,CAAC;AAC3D,yBAAe,GAAG,GAAG,CAAC;AACtB,mCAAyB,GAAG,SAAS,CAAC;AAEtC,8BAAoB,GAAG,sBAAsB,CAAC;AAC9C,2BAAiB,GAAG,mBAAmB,CAAC;AAExC,0BAAgB,GAAG,QAAQ,CAAC;AAE5B,mBAAS,GAAG,0DAA0D,CAAC;AACvE,uBAAa,GAAG,SAAS,CAAC;AAE1B,uBAAa,GAAG,EAAE,CAAC;AACnB,6BAAmB,GAAG,GAAG,CAAC;AAC1B,+BAAqB,GAAG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G,MAAM,CAAC;AACd,aAAI,GAAG,MAAM,CAAC;AACd,cAAK,GAAG,OAAO,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/component/resource/aadApp/constants.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,iEAAmE;AAEnE,MAAa,SAAS;;AAAtB,8BAqBC;AApBQ,8BAAoB,GAAG,mCAAmC,CAAC;AAC3D,yBAAe,GAAG,GAAG,CAAC;AACtB,mCAAyB,GAAG,SAAS,CAAC;AAEtC,uBAAa,GAAG,EAAE,CAAC;AACnB,6BAAmB,GAAG,GAAG,CAAC;AAC1B,+BAAqB,GAAG,GAAG,CAAC;AAE5B,qBAAW,GAAG;IACnB,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,eAAe;IAC7B,IAAI,EAAE,MAAM;CACb,CAAC;AAEK,mCAAyB,GAAG,+BAA+B,CAAC;AAC5D,iCAAuB,GAAG,mBAAmB,CAAC;AAE9C,sCAA4B,GACjC,oGAAoG,CAAC;AAGzG,MAAa,SAAS;;AAAtB,8BAeC;AAdQ,mBAAS,GAAG,WAAW,CAAC;AACxB,mBAAS,GAAG,YAAY,CAAC;AACzB,mBAAS,GAAG,YAAY,CAAC;AACzB,sBAAY,GAAG,eAAe,CAAC;AAC/B,mBAAS,GAAG,MAAM,CAAC;AACnB,qBAAW,GAAG,QAAQ,CAAC;AACvB,mBAAS,GAAG,SAAS,CAAC;AACtB,aAAG,GAAG,KAAK,CAAC;AACZ,YAAE,GAAG,IAAI,CAAC;AACV,oBAAU,GAAG,aAAa,CAAC;AAC3B,oBAAU,GAAG,aAAa,CAAC;AAC3B,eAAK,GAAG,OAAO,CAAC;AAChB,cAAI,GAAG,MAAM,CAAC;AACd,wBAAc,GAAG,kBAAkB,CAAC;AAG7C,MAAa,OAAO;;AAApB,0BASC;AARQ,kBAAU,GAAG,sBAAsB,CAAC;AACpC,yBAAiB,GAAG,+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AC,+BAA+B,CAAC;IACrD,SAAS,EAAE,QAAQ,CAAC,YAAY,CAAC,kBAAkB,CAAC;CACrD,CAAC;AAEc,6BAAoB,GAAa;IAC/C,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,2BAA2B,CAAC;IACjD,SAAS,EAAE,QAAQ,CAAC,YAAY,CAAC,wBAAwB,CAAC;CAC3D,CAAC;AAEc,2BAAkB,GAAa;IAC7C,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,+BAA+B,CAAC;IACrD,SAAS,EAAE,QAAQ,CAAC,YAAY,CAAC,kBAAkB,CAAC;CACrD,CAAC;AAEc,8BAAqB,GAAa;IAChD,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,4BAA4B,CAAC;IAClD,SAAS,EAAE,QAAQ,CAAC,YAAY,CAAC,yBAAyB,CAAC;CAC5D,CAAC;AAEc,4BAAmB,GAAa;IAC9C,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,gCAAgC,CAAC;IACtD,SAAS,EAAE,QAAQ,CAAC,YAAY,CAAC,mBAAmB,CAAC;CACtD,CAAC;AAEc,0BAAiB,GAAG,CAAC,YAAoB,EAAE,QAAgB,EAAE,EAAE,CAC7E,kCAAkB,CAAC,+BAA+B,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC"}
@@ -3,64 +3,26 @@ export interface AadError {
3
3
  message: (...args: string[]) => [string, string];
4
4
  helpLink?: string;
5
5
  }
6
- export declare const GetAppError: AadError;
7
- export declare const GetAppConfigError: AadError;
8
- export declare const GetSkipAppConfigError: AadError;
9
6
  export declare const CreateAppError: AadError;
10
- export declare const CreateAppForbiddenError: AadError;
11
7
  export declare const CreateSecretError: AadError;
12
- export declare const UpdateRedirectUriError: AadError;
13
- export declare const UpdateAadAppError: AadError;
14
- export declare const UpdateAadAppUsingManifestError: AadError;
15
- export declare const UpdateAppIdUriError: AadError;
16
- export declare const UpdatePermissionError: AadError;
17
- export declare const AppIdUriInvalidError: AadError;
18
- export declare const CannotGenerateIdentifierUrisError: AadError;
19
- export declare const InvalidSelectedPluginsError: AadError;
20
- export declare const ParsePermissionError: AadError;
21
8
  export declare const UnhandledError: AadError;
22
- export declare const UnknownPermissionName: AadError;
23
- export declare const UnknownPermissionRole: AadError;
24
- export declare const UnknownPermissionScope: AadError;
25
9
  export declare const GetTokenError: AadError;
26
10
  export declare const TenantNotExistError: AadError;
27
11
  export declare const GetConfigError: AadError;
28
- export declare const MissingPermissionsRequestProvider: AadError;
29
12
  export declare const CheckPermissionError: AadError;
30
13
  export declare const GrantPermissionError: AadError;
31
14
  export declare const ListCollaboratorError: AadError;
32
- export declare const AadManifestLoadError: AadError;
33
- export declare const AadManifestMissingName: AadError;
34
- export declare const AADManifestMissingScopeIdForTeamsApp: AadError;
35
- export declare const AadManifestMissingObjectId: AadError;
36
- export declare const AadManifestMissingReplyUrlsWithType: AadError;
37
- export declare const AadManifestMissingIdentifierUris: AadError;
38
- export declare const AadManifestNotProvisioned: AadError;
39
15
  export declare class ConfigErrorMessages {
40
- static readonly GetDisplayNameError: [string, string];
41
16
  static readonly GetConfigError: (configName: string, plugin: string) => [string, string];
42
17
  static readonly FormatError: (type: string, value: string) => [string, string];
43
18
  }
44
19
  export declare class AppStudioErrorMessage {
45
- static readonly CreateFailed: [string, string];
46
- static readonly UpdateFailed: [string, string];
47
- static readonly CreateSecretFailed: [string, string];
48
- static readonly GetFailed: [string, string];
49
- static readonly AppDefinitionIsNull: [string, string];
50
- static readonly AppObjectIdIsNull: [string, string];
51
- static readonly EmptyResponse: [string, string];
52
20
  static readonly ReachRetryLimit: [string, string];
53
21
  }
54
22
  export declare class GraphClientErrorMessage {
55
- static readonly CreateFailed: [string, string];
56
- static readonly UpdateFailed: [string, string];
57
- static readonly CreateSecretFailed: [string, string];
58
- static readonly GetFailed: [string, string];
59
23
  static readonly CheckPermissionFailed: [string, string];
60
24
  static readonly GrantPermissionFailed: [string, string];
61
- static readonly AppDefinitionIsNull: [string, string];
62
25
  static readonly AppObjectIdIsNull: [string, string];
63
- static readonly EmptyResponse: [string, string];
64
26
  static readonly UserObjectIdIsNull: [string, string];
65
27
  }
66
28
  export declare class AadManifestErrorMessage {
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/component/resource/aadApp/errors.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,WAAW,EAAE,QAmBzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,QAM/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,QAuBnC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,QAM5B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,QAOrC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,QAM/B,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,QAMpC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,QAM/B,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,QAM5C,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,QAOjC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,QAMnC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,QAMlC,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,QAM/C,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,QAMzC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,QAOlC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,QAM5B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,QAOnC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,QAOnC,CAAC;AAEF,eAAO,MA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C,QAAQ,CAAC,yBAAyB,SAEvC;IACF,MAAM,CAAC,QAAQ,CAAC,uBAAuB,SAErC;CACH"}
@@ -2,34 +2,10 @@
2
2
  // Copyright (c) Microsoft Corporation.
3
3
  // Licensed under the MIT license.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.AadManifestErrorMessage = exports.GraphClientErrorMessage = exports.AppStudioErrorMessage = exports.ConfigErrorMessages = exports.AadManifestNotProvisioned = exports.AadManifestMissingIdentifierUris = exports.AadManifestMissingReplyUrlsWithType = exports.AadManifestMissingObjectId = exports.AADManifestMissingScopeIdForTeamsApp = exports.AadManifestMissingName = exports.AadManifestLoadError = exports.ListCollaboratorError = exports.GrantPermissionError = exports.CheckPermissionError = exports.MissingPermissionsRequestProvider = exports.GetConfigError = exports.TenantNotExistError = exports.GetTokenError = exports.UnknownPermissionScope = exports.UnknownPermissionRole = exports.UnknownPermissionName = exports.UnhandledError = exports.ParsePermissionError = exports.InvalidSelectedPluginsError = exports.CannotGenerateIdentifierUrisError = exports.AppIdUriInvalidError = exports.UpdatePermissionError = exports.UpdateAppIdUriError = exports.UpdateAadAppUsingManifestError = exports.UpdateAadAppError = exports.UpdateRedirectUriError = exports.CreateSecretError = exports.CreateAppForbiddenError = exports.CreateAppError = exports.GetSkipAppConfigError = exports.GetAppConfigError = exports.GetAppError = void 0;
5
+ exports.AadManifestErrorMessage = exports.GraphClientErrorMessage = exports.AppStudioErrorMessage = exports.ConfigErrorMessages = exports.ListCollaboratorError = exports.GrantPermissionError = exports.CheckPermissionError = exports.GetConfigError = exports.TenantNotExistError = exports.GetTokenError = exports.UnhandledError = exports.CreateSecretError = exports.CreateAppError = void 0;
6
6
  const localizeUtils_1 = require("../../../common/localizeUtils");
7
- const constants_1 = require("./constants");
8
7
  const referHelpLink = "Please refer to the help link for further steps.";
9
8
  const aadHelpLink = "https://aka.ms/teamsfx-aad-help";
10
- exports.GetAppError = {
11
- name: "AadGetAppError",
12
- message: (objectId, tenantId, fileName) => [
13
- localizeUtils_1.getDefaultString("error.aad.GetAppError", objectId, tenantId, constants_1.Plugins.pluginNameComplex, fileName),
14
- localizeUtils_1.getLocalizedString("error.aad.GetAppError", objectId, tenantId, constants_1.Plugins.pluginNameComplex, fileName),
15
- ],
16
- helpLink: aadHelpLink,
17
- };
18
- exports.GetAppConfigError = {
19
- name: "AadGetAppConfigError",
20
- message: (config, fileName) => [
21
- localizeUtils_1.getDefaultString("error.aad.GetAppConfigError", config, constants_1.Plugins.pluginNameComplex, fileName),
22
- localizeUtils_1.getLocalizedString("error.aad.GetAppConfigError", config, constants_1.Plugins.pluginNameComplex, fileName),
23
- ],
24
- };
25
- exports.GetSkipAppConfigError = {
26
- name: "AadGetSkipAppConfigError",
27
- message: (fileName) => [
28
- localizeUtils_1.getDefaultString("error.aad.GetSkipAppConfigError", constants_1.ConfigKeys.objectId, constants_1.ConfigKeys.clientId, constants_1.ConfigKeys.clientSecret, constants_1.ConfigKeys.accessAsUserScopeId, constants_1.Plugins.auth, fileName),
29
- localizeUtils_1.getLocalizedString("error.aad.GetSkipAppConfigError", constants_1.ConfigKeys.objectId, constants_1.ConfigKeys.clientId, constants_1.ConfigKeys.clientSecret, constants_1.ConfigKeys.accessAsUserScopeId, constants_1.Plugins.auth, fileName),
30
- ],
31
- helpLink: aadHelpLink,
32
- };
33
9
  exports.CreateAppError = {
34
10
  name: "AadCreateAppError",
35
11
  message: () => [
@@ -37,14 +13,6 @@ exports.CreateAppError = {
37
13
  localizeUtils_1.getLocalizedString("error.aad.CreateAppError"),
38
14
  ],
39
15
  };
40
- exports.CreateAppForbiddenError = {
41
- name: "AadCreateAppError",
42
- message: () => [
43
- localizeUtils_1.getDefaultString("error.aad.CreateAppForbiddenError"),
44
- localizeUtils_1.getLocalizedString("error.aad.CreateAppForbiddenError"),
45
- ],
46
- helpLink: "https://aka.ms/teamsfx-create-aad-itp",
47
- };
48
16
  exports.CreateSecretError = {
49
17
  name: "AadCreateSecretError",
50
18
  message: () => [
@@ -52,71 +20,6 @@ exports.CreateSecretError = {
52
20
  localizeUtils_1.getLocalizedString("error.aad.CreateSecretError"),
53
21
  ],
54
22
  };
55
- exports.UpdateRedirectUriError = {
56
- name: "UpdateRedirectUriError",
57
- message: () => [
58
- localizeUtils_1.getDefaultString("error.aad.UpdateRedirectUriError"),
59
- localizeUtils_1.getLocalizedString("error.aad.UpdateRedirectUriError"),
60
- ],
61
- };
62
- exports.UpdateAadAppError = {
63
- name: "UpdateAadAppError",
64
- message: (reason) => [
65
- localizeUtils_1.getDefaultString("error.aad.UpdateAadAppError", reason),
66
- localizeUtils_1.getLocalizedString("error.aad.UpdateAadAppError", reason),
67
- ],
68
- };
69
- exports.UpdateAadAppUsingManifestError = {
70
- name: "UpdateAadAppError",
71
- message: (reason) => [
72
- localizeUtils_1.getDefaultString("error.aad.UpdateAadAppUsingManifestError", reason),
73
- localizeUtils_1.getLocalizedString("error.aad.UpdateAadAppUsingManifestError", reason),
74
- ],
75
- };
76
- exports.UpdateAppIdUriError = {
77
- name: "UpdateAppIdUriError",
78
- message: () => [
79
- localizeUtils_1.getDefaultString("error.aad.UpdateAppIdUriError", referHelpLink),
80
- localizeUtils_1.getLocalizedString("error.aad.UpdateAppIdUriError", referHelpLink),
81
- ],
82
- helpLink: aadHelpLink,
83
- };
84
- exports.UpdatePermissionError = {
85
- name: "AadUpdatePermissionError",
86
- message: () => [
87
- localizeUtils_1.getDefaultString("error.aad.UpdatePermissionError"),
88
- localizeUtils_1.getLocalizedString("error.aad.UpdatePermissionError"),
89
- ],
90
- };
91
- exports.AppIdUriInvalidError = {
92
- name: "AadAppIdUriInvalid",
93
- message: () => [
94
- localizeUtils_1.getDefaultString("error.aad.AppIdUriInvalidError"),
95
- localizeUtils_1.getLocalizedString("error.aad.AppIdUriInvalidError"),
96
- ],
97
- };
98
- exports.CannotGenerateIdentifierUrisError = {
99
- name: "CannotGenerateIdentifierUris",
100
- message: () => [
101
- localizeUtils_1.getDefaultString("error.aad.CannotGenerateIdentifierUris"),
102
- localizeUtils_1.getLocalizedString("error.aad.CannotGenerateIdentifierUris"),
103
- ],
104
- };
105
- exports.InvalidSelectedPluginsError = {
106
- name: "InvalidSelectedPlugins",
107
- message: (message) => [
108
- localizeUtils_1.getDefaultString("error.aad.InvalidSelectedPlugins", message),
109
- localizeUtils_1.getLocalizedString("error.aad.InvalidSelectedPlugins", message),
110
- ],
111
- };
112
- exports.ParsePermissionError = {
113
- name: "ParsePermissionError",
114
- message: () => [
115
- localizeUtils_1.getDefaultString("error.aad.ParsePermissionError"),
116
- localizeUtils_1.getLocalizedString("error.aad.ParsePermissionError"),
117
- ],
118
- helpLink: aadHelpLink,
119
- };
120
23
  exports.UnhandledError = {
121
24
  name: "UnhandledError",
122
25
  message: () => [
@@ -124,30 +27,6 @@ exports.UnhandledError = {
124
27
  localizeUtils_1.getLocalizedString("error.common.UnhandledError"),
125
28
  ],
126
29
  };
127
- exports.UnknownPermissionName = {
128
- name: "UnknownPermissionName",
129
- message: (name) => [
130
- localizeUtils_1.getDefaultString("error.aad.UnknownPermissionName", name, referHelpLink),
131
- localizeUtils_1.getLocalizedString("error.aad.UnknownPermissionName", name, referHelpLink),
132
- ],
133
- helpLink: aadHelpLink,
134
- };
135
- exports.UnknownPermissionRole = {
136
- name: "UnknownPermissionRole",
137
- message: (roleName, resourceName) => [
138
- localizeUtils_1.getDefaultString("error.aad.UnknownPermissionRole", roleName, resourceName, referHelpLink),
139
- localizeUtils_1.getLocalizedString("error.aad.UnknownPermissionRole", roleName, resourceName, referHelpLink),
140
- ],
141
- helpLink: aadHelpLink,
142
- };
143
- exports.UnknownPermissionScope = {
144
- name: "UnknownPermissionScope",
145
- message: (scopeName, resourceName) => [
146
- localizeUtils_1.getDefaultString("error.aad.UnknownPermissionScope", scopeName, resourceName, referHelpLink),
147
- localizeUtils_1.getLocalizedString("error.aad.UnknownPermissionScope", scopeName, resourceName, referHelpLink),
148
- ],
149
- helpLink: aadHelpLink,
150
- };
151
30
  exports.GetTokenError = {
152
31
  name: "GetTokenError",
153
32
  message: (audience) => [
@@ -166,13 +45,6 @@ exports.GetConfigError = {
166
45
  name: "GetConfigError",
167
46
  message: (message) => [message, message],
168
47
  };
169
- exports.MissingPermissionsRequestProvider = {
170
- name: "MissingPermissionsRequestProvider",
171
- message: () => [
172
- localizeUtils_1.getDefaultString("error.aad.MissingPermissionsRequestProvider"),
173
- localizeUtils_1.getLocalizedString("error.aad.MissingPermissionsRequestProvider"),
174
- ],
175
- };
176
48
  exports.CheckPermissionError = {
177
49
  name: "CheckPermissionError",
178
50
  message: () => [
@@ -194,62 +66,9 @@ exports.ListCollaboratorError = {
194
66
  localizeUtils_1.getLocalizedString("error.aad.ListCollaboratorError"),
195
67
  ],
196
68
  };
197
- exports.AadManifestLoadError = {
198
- name: "AadManifestLoadError",
199
- message: (manifestPath, reason) => [
200
- localizeUtils_1.getDefaultString("error.aad.AadManifestLoadError", manifestPath, reason),
201
- localizeUtils_1.getLocalizedString("error.aad.AadManifestLoadError", manifestPath, reason),
202
- ],
203
- };
204
- exports.AadManifestMissingName = {
205
- name: "AadManifestMissingName",
206
- message: () => [
207
- localizeUtils_1.getDefaultString("error.aad.AadManifestMissingName"),
208
- localizeUtils_1.getLocalizedString("error.aad.AadManifestMissingName"),
209
- ],
210
- };
211
- exports.AADManifestMissingScopeIdForTeamsApp = {
212
- name: "AadManifestMissingScopeIdForTeamsApp",
213
- message: () => [
214
- localizeUtils_1.getDefaultString("error.aad.AadManifestMissingScopeIdForTeamsApp"),
215
- localizeUtils_1.getLocalizedString("error.aad.AadManifestMissingScopeIdForTeamsApp"),
216
- ],
217
- };
218
- exports.AadManifestMissingObjectId = {
219
- name: "AadManifestMissingObjectId",
220
- message: () => [
221
- localizeUtils_1.getDefaultString("error.aad.AadManifestMissingObjectId"),
222
- localizeUtils_1.getLocalizedString("error.aad.AadManifestMissingObjectId"),
223
- ],
224
- };
225
- exports.AadManifestMissingReplyUrlsWithType = {
226
- name: "AadManifestMissingReplyUrlsWithType",
227
- message: () => [
228
- localizeUtils_1.getDefaultString("error.aad.AadManifestMissingReplyUrlsWithType"),
229
- localizeUtils_1.getLocalizedString("error.aad.AadManifestMissingReplyUrlsWithType"),
230
- ],
231
- };
232
- exports.AadManifestMissingIdentifierUris = {
233
- name: "AadManifestMissingIdentifierUris",
234
- message: () => [
235
- localizeUtils_1.getDefaultString("error.aad.AadManifestMissingIdentifierUris"),
236
- localizeUtils_1.getLocalizedString("error.aad.AadManifestMissingIdentifierUris"),
237
- ],
238
- };
239
- exports.AadManifestNotProvisioned = {
240
- name: "AadManifestNotProvisioned",
241
- message: () => [
242
- localizeUtils_1.getDefaultString("error.aad.AadManifestNotProvisioned"),
243
- localizeUtils_1.getLocalizedString("error.aad.AadManifestNotProvisioned"),
244
- ],
245
- };
246
69
  class ConfigErrorMessages {
247
70
  }
248
71
  exports.ConfigErrorMessages = ConfigErrorMessages;
249
- ConfigErrorMessages.GetDisplayNameError = [
250
- localizeUtils_1.getDefaultString("error.aad.GetDisplayNameError"),
251
- localizeUtils_1.getLocalizedString("error.aad.GetDisplayNameError"),
252
- ];
253
72
  ConfigErrorMessages.GetConfigError = (configName, plugin) => [
254
73
  localizeUtils_1.getDefaultString("error.aad.GetConfigError", configName, plugin),
255
74
  localizeUtils_1.getLocalizedString("error.aad.GetConfigError", configName, plugin),
@@ -261,34 +80,6 @@ ConfigErrorMessages.FormatError = (type, value) => [
261
80
  class AppStudioErrorMessage {
262
81
  }
263
82
  exports.AppStudioErrorMessage = AppStudioErrorMessage;
264
- AppStudioErrorMessage.CreateFailed = [
265
- localizeUtils_1.getDefaultString("error.aad.client.CreateFailed"),
266
- localizeUtils_1.getLocalizedString("error.aad.client.CreateFailed"),
267
- ];
268
- AppStudioErrorMessage.UpdateFailed = [
269
- localizeUtils_1.getDefaultString("error.aad.client.UpdateFailed"),
270
- localizeUtils_1.getLocalizedString("error.aad.client.UpdateFailed"),
271
- ];
272
- AppStudioErrorMessage.CreateSecretFailed = [
273
- localizeUtils_1.getDefaultString("error.aad.client.CreateSecretFailed"),
274
- localizeUtils_1.getLocalizedString("error.aad.client.CreateSecretFailed"),
275
- ];
276
- AppStudioErrorMessage.GetFailed = [
277
- localizeUtils_1.getDefaultString("error.aad.client.GetFailed"),
278
- localizeUtils_1.getLocalizedString("error.aad.client.GetFailed"),
279
- ];
280
- AppStudioErrorMessage.AppDefinitionIsNull = [
281
- localizeUtils_1.getDefaultString("error.aad.client.AppDefinitionIsNull"),
282
- localizeUtils_1.getLocalizedString("error.aad.client.AppDefinitionIsNull"),
283
- ];
284
- AppStudioErrorMessage.AppObjectIdIsNull = [
285
- localizeUtils_1.getDefaultString("error.aad.client.AppObjectIdIsNull"),
286
- localizeUtils_1.getLocalizedString("error.aad.client.AppObjectIdIsNull"),
287
- ];
288
- AppStudioErrorMessage.EmptyResponse = [
289
- localizeUtils_1.getDefaultString("error.aad.client.EmptyResponse"),
290
- localizeUtils_1.getLocalizedString("error.aad.client.EmptyResponse"),
291
- ];
292
83
  AppStudioErrorMessage.ReachRetryLimit = [
293
84
  localizeUtils_1.getDefaultString("error.aad.client.ReachRetryLimit"),
294
85
  localizeUtils_1.getLocalizedString("error.aad.client.ReachRetryLimit"),
@@ -296,22 +87,6 @@ AppStudioErrorMessage.ReachRetryLimit = [
296
87
  class GraphClientErrorMessage {
297
88
  }
298
89
  exports.GraphClientErrorMessage = GraphClientErrorMessage;
299
- GraphClientErrorMessage.CreateFailed = [
300
- localizeUtils_1.getDefaultString("error.aad.client.CreateFailed"),
301
- localizeUtils_1.getLocalizedString("error.aad.client.CreateFailed"),
302
- ];
303
- GraphClientErrorMessage.UpdateFailed = [
304
- localizeUtils_1.getDefaultString("error.aad.client.UpdateFailed"),
305
- localizeUtils_1.getLocalizedString("error.aad.client.UpdateFailed"),
306
- ];
307
- GraphClientErrorMessage.CreateSecretFailed = [
308
- localizeUtils_1.getDefaultString("error.aad.client.CreateSecretFailed"),
309
- localizeUtils_1.getLocalizedString("error.aad.client.CreateSecretFailed"),
310
- ];
311
- GraphClientErrorMessage.GetFailed = [
312
- localizeUtils_1.getDefaultString("error.aad.client.GetFailed"),
313
- localizeUtils_1.getLocalizedString("error.aad.client.GetFailed"),
314
- ];
315
90
  GraphClientErrorMessage.CheckPermissionFailed = [
316
91
  localizeUtils_1.getDefaultString("error.aad.client.CheckPermissionFailed"),
317
92
  localizeUtils_1.getLocalizedString("error.aad.client.CheckPermissionFailed"),
@@ -320,18 +95,10 @@ GraphClientErrorMessage.GrantPermissionFailed = [
320
95
  localizeUtils_1.getDefaultString("error.aad.client.GrantPermissionFailed"),
321
96
  localizeUtils_1.getLocalizedString("error.aad.client.GrantPermissionFailed"),
322
97
  ];
323
- GraphClientErrorMessage.AppDefinitionIsNull = [
324
- localizeUtils_1.getDefaultString("error.aad.client.AppDefinitionIsNull"),
325
- localizeUtils_1.getLocalizedString("error.aad.client.AppDefinitionIsNull"),
326
- ];
327
98
  GraphClientErrorMessage.AppObjectIdIsNull = [
328
99
  localizeUtils_1.getDefaultString("error.aad.client.AppObjectIdIsNull"),
329
100
  localizeUtils_1.getLocalizedString("error.aad.client.AppObjectIdIsNull"),
330
101
  ];
331
- GraphClientErrorMessage.EmptyResponse = [
332
- localizeUtils_1.getDefaultString("error.aad.client.EmptyResponse"),
333
- localizeUtils_1.getLocalizedString("error.aad.client.EmptyResponse"),
334
- ];
335
102
  GraphClientErrorMessage.UserObjectIdIsNull = [
336
103
  localizeUtils_1.getDefaultString("error.aad.client.ReachRetryLimit"),
337
104
  localizeUtils_1.getLocalizedString("error.aad.client.ReachRetryLimit"),