@microsoft/teamsfx 1.1.2-alpha.efe3d972e.0 → 1.1.2-rc-hotfix.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.
@@ -1388,39 +1388,7 @@ var NotificationTargetType;
1388
1388
  * The notification will be sent to a personal chat.
1389
1389
  */
1390
1390
  NotificationTargetType["Person"] = "Person";
1391
- })(NotificationTargetType || (NotificationTargetType = {}));
1392
- /**
1393
- * Options used to control how the response card will be sent to users.
1394
- */
1395
- var AdaptiveCardResponse;
1396
- (function (AdaptiveCardResponse) {
1397
- /**
1398
- * The response card will be replaced the current one for the interactor who trigger the action.
1399
- */
1400
- AdaptiveCardResponse[AdaptiveCardResponse["ReplaceForInteractor"] = 0] = "ReplaceForInteractor";
1401
- /**
1402
- * The response card will be replaced the current one for all users in the chat.
1403
- */
1404
- AdaptiveCardResponse[AdaptiveCardResponse["ReplaceForAll"] = 1] = "ReplaceForAll";
1405
- /**
1406
- * The response card will be sent as a new message for all users in the chat.
1407
- */
1408
- AdaptiveCardResponse[AdaptiveCardResponse["NewForAll"] = 2] = "NewForAll";
1409
- })(AdaptiveCardResponse || (AdaptiveCardResponse = {}));
1410
- /**
1411
- * Status code for an `application/vnd.microsoft.error` invoke response.
1412
- */
1413
- var InvokeResponseErrorCode;
1414
- (function (InvokeResponseErrorCode) {
1415
- /**
1416
- * Invalid request.
1417
- */
1418
- InvokeResponseErrorCode[InvokeResponseErrorCode["BadRequest"] = 400] = "BadRequest";
1419
- /**
1420
- * Internal server error.
1421
- */
1422
- InvokeResponseErrorCode[InvokeResponseErrorCode["InternalServerError"] = 500] = "InternalServerError";
1423
- })(InvokeResponseErrorCode || (InvokeResponseErrorCode = {}));
1391
+ })(NotificationTargetType || (NotificationTargetType = {}));
1424
1392
 
1425
1393
  // Copyright (c) Microsoft Corporation.
1426
1394
  /**
@@ -1772,47 +1740,9 @@ class CommandBot {
1772
1740
  * Only work on server side.
1773
1741
  */
1774
1742
  registerCommands(commands) {
1775
- throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CommandBot"), ErrorCode.RuntimeNotSupported);
1776
- }
1777
- }
1778
-
1779
- /**
1780
- * A card action bot to respond to adaptive card universal actions.
1781
- *
1782
- * @remarks
1783
- * Only work on server side.
1784
- */
1785
- class CardActionBot {
1786
- /**
1787
- * Creates a new instance of the `CardActionBot`.
1788
- *
1789
- * @param adapter The bound `BotFrameworkAdapter`.
1790
- * @param options - initialize options
1791
- */
1792
- constructor(adapter, options) {
1793
- throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CardActionBot"), ErrorCode.RuntimeNotSupported);
1794
- }
1795
- /**
1796
- * Registers a card action handler to the bot.
1797
- * @param actionHandler A card action handler to be registered.
1798
- *
1799
- * @remarks
1800
- * Only work on server side.
1801
- */
1802
- registerHandler(actionHandler) {
1803
- throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CardActionBot"), ErrorCode.RuntimeNotSupported);
1804
- }
1805
- /**
1806
- * Registers card action handlers to the bot.
1807
- * @param actionHandlers A set of card action handlers to be registered.
1808
- *
1809
- * @remarks
1810
- * Only work on server side.
1811
- */
1812
- registerHandlers(actionHandlers) {
1813
- throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CardActionBot"), ErrorCode.RuntimeNotSupported);
1743
+ throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CommandnBot"), ErrorCode.RuntimeNotSupported);
1814
1744
  }
1815
1745
  }
1816
1746
 
1817
- export { AdaptiveCardResponse, ApiKeyLocation, ApiKeyProvider, AppCredential, BasicAuthProvider, BearerTokenAuthProvider, CardActionBot, CertificateAuthProvider, Channel, CommandBot, ConversationBot, ErrorCode, ErrorWithCode, IdentityType, InvokeResponseErrorCode, LogLevel, Member, MsGraphAuthProvider, NotificationBot, NotificationTargetType, OnBehalfOfUserCredential, TeamsBotInstallation, TeamsBotSsoPrompt, TeamsFx, TeamsUserCredential, createApiClient, createMicrosoftGraphClient, createPemCertOption, createPfxCertOption, getLogLevel, getTediousConnectionConfig, sendAdaptiveCard, sendMessage, setLogFunction, setLogLevel, setLogger };
1747
+ export { ApiKeyLocation, ApiKeyProvider, AppCredential, BasicAuthProvider, BearerTokenAuthProvider, CertificateAuthProvider, Channel, CommandBot, ConversationBot, ErrorCode, ErrorWithCode, IdentityType, LogLevel, Member, MsGraphAuthProvider, NotificationBot, NotificationTargetType, OnBehalfOfUserCredential, TeamsBotInstallation, TeamsBotSsoPrompt, TeamsFx, TeamsUserCredential, createApiClient, createMicrosoftGraphClient, createPemCertOption, createPfxCertOption, getLogLevel, getTediousConnectionConfig, sendAdaptiveCard, sendMessage, setLogFunction, setLogLevel, setLogger };
1818
1748
  //# sourceMappingURL=index.esm5.js.map