@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.
- package/dist/index.esm2017.js +3 -73
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm2017.mjs +102 -379
- package/dist/index.esm2017.mjs.map +1 -1
- package/dist/index.esm5.js +3 -73
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +104 -387
- package/dist/index.node.cjs.js.map +1 -1
- package/package.json +3 -4
- package/types/teamsfx.d.ts +0 -201
package/dist/index.esm2017.js
CHANGED
|
@@ -1353,39 +1353,7 @@ var NotificationTargetType;
|
|
|
1353
1353
|
* The notification will be sent to a personal chat.
|
|
1354
1354
|
*/
|
|
1355
1355
|
NotificationTargetType["Person"] = "Person";
|
|
1356
|
-
})(NotificationTargetType || (NotificationTargetType = {}));
|
|
1357
|
-
/**
|
|
1358
|
-
* Options used to control how the response card will be sent to users.
|
|
1359
|
-
*/
|
|
1360
|
-
var AdaptiveCardResponse;
|
|
1361
|
-
(function (AdaptiveCardResponse) {
|
|
1362
|
-
/**
|
|
1363
|
-
* The response card will be replaced the current one for the interactor who trigger the action.
|
|
1364
|
-
*/
|
|
1365
|
-
AdaptiveCardResponse[AdaptiveCardResponse["ReplaceForInteractor"] = 0] = "ReplaceForInteractor";
|
|
1366
|
-
/**
|
|
1367
|
-
* The response card will be replaced the current one for all users in the chat.
|
|
1368
|
-
*/
|
|
1369
|
-
AdaptiveCardResponse[AdaptiveCardResponse["ReplaceForAll"] = 1] = "ReplaceForAll";
|
|
1370
|
-
/**
|
|
1371
|
-
* The response card will be sent as a new message for all users in the chat.
|
|
1372
|
-
*/
|
|
1373
|
-
AdaptiveCardResponse[AdaptiveCardResponse["NewForAll"] = 2] = "NewForAll";
|
|
1374
|
-
})(AdaptiveCardResponse || (AdaptiveCardResponse = {}));
|
|
1375
|
-
/**
|
|
1376
|
-
* Status code for an `application/vnd.microsoft.error` invoke response.
|
|
1377
|
-
*/
|
|
1378
|
-
var InvokeResponseErrorCode;
|
|
1379
|
-
(function (InvokeResponseErrorCode) {
|
|
1380
|
-
/**
|
|
1381
|
-
* Invalid request.
|
|
1382
|
-
*/
|
|
1383
|
-
InvokeResponseErrorCode[InvokeResponseErrorCode["BadRequest"] = 400] = "BadRequest";
|
|
1384
|
-
/**
|
|
1385
|
-
* Internal server error.
|
|
1386
|
-
*/
|
|
1387
|
-
InvokeResponseErrorCode[InvokeResponseErrorCode["InternalServerError"] = 500] = "InternalServerError";
|
|
1388
|
-
})(InvokeResponseErrorCode || (InvokeResponseErrorCode = {}));
|
|
1356
|
+
})(NotificationTargetType || (NotificationTargetType = {}));
|
|
1389
1357
|
|
|
1390
1358
|
// Copyright (c) Microsoft Corporation.
|
|
1391
1359
|
/**
|
|
@@ -1725,47 +1693,9 @@ class CommandBot {
|
|
|
1725
1693
|
* Only work on server side.
|
|
1726
1694
|
*/
|
|
1727
1695
|
registerCommands(commands) {
|
|
1728
|
-
throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "
|
|
1729
|
-
}
|
|
1730
|
-
}
|
|
1731
|
-
|
|
1732
|
-
/**
|
|
1733
|
-
* A card action bot to respond to adaptive card universal actions.
|
|
1734
|
-
*
|
|
1735
|
-
* @remarks
|
|
1736
|
-
* Only work on server side.
|
|
1737
|
-
*/
|
|
1738
|
-
class CardActionBot {
|
|
1739
|
-
/**
|
|
1740
|
-
* Creates a new instance of the `CardActionBot`.
|
|
1741
|
-
*
|
|
1742
|
-
* @param adapter The bound `BotFrameworkAdapter`.
|
|
1743
|
-
* @param options - initialize options
|
|
1744
|
-
*/
|
|
1745
|
-
constructor(adapter, options) {
|
|
1746
|
-
throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CardActionBot"), ErrorCode.RuntimeNotSupported);
|
|
1747
|
-
}
|
|
1748
|
-
/**
|
|
1749
|
-
* Registers a card action handler to the bot.
|
|
1750
|
-
* @param actionHandler A card action handler to be registered.
|
|
1751
|
-
*
|
|
1752
|
-
* @remarks
|
|
1753
|
-
* Only work on server side.
|
|
1754
|
-
*/
|
|
1755
|
-
registerHandler(actionHandler) {
|
|
1756
|
-
throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CardActionBot"), ErrorCode.RuntimeNotSupported);
|
|
1757
|
-
}
|
|
1758
|
-
/**
|
|
1759
|
-
* Registers card action handlers to the bot.
|
|
1760
|
-
* @param actionHandlers A set of card action handlers to be registered.
|
|
1761
|
-
*
|
|
1762
|
-
* @remarks
|
|
1763
|
-
* Only work on server side.
|
|
1764
|
-
*/
|
|
1765
|
-
registerHandlers(actionHandlers) {
|
|
1766
|
-
throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CardActionBot"), ErrorCode.RuntimeNotSupported);
|
|
1696
|
+
throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CommandnBot"), ErrorCode.RuntimeNotSupported);
|
|
1767
1697
|
}
|
|
1768
1698
|
}
|
|
1769
1699
|
|
|
1770
|
-
export {
|
|
1700
|
+
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 };
|
|
1771
1701
|
//# sourceMappingURL=index.esm2017.js.map
|