@microsoft/teamsfx 1.0.0 → 1.0.1-alpha.96c4705a0.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.
@@ -8,7 +8,6 @@ import axios from 'axios';
8
8
  // Licensed under the MIT license.
9
9
  /**
10
10
  * Error code to trace the error types.
11
- * @beta
12
11
  */
13
12
  var ErrorCode;
14
13
  (function (ErrorCode) {
@@ -99,8 +98,6 @@ ErrorMessage.DuplicateApiKeyInHeader = "The request already defined api key in r
99
98
  ErrorMessage.DuplicateApiKeyInQueryParam = "The request already defined api key in query parameter with name {0}.";
100
99
  /**
101
100
  * Error class with code and message thrown by the SDK.
102
- *
103
- * @beta
104
101
  */
105
102
  class ErrorWithCode extends Error {
106
103
  /**
@@ -108,8 +105,6 @@ class ErrorWithCode extends Error {
108
105
  *
109
106
  * @param {string} message - error message.
110
107
  * @param {ErrorCode} code - error code.
111
- *
112
- * @beta
113
108
  */
114
109
  constructor(message, code) {
115
110
  if (!code) {
@@ -127,8 +122,6 @@ class ErrorWithCode extends Error {
127
122
  // Licensed under the MIT license.
128
123
  /**
129
124
  * Log level.
130
- *
131
- * @beta
132
125
  */
133
126
  var LogLevel;
134
127
  (function (LogLevel) {
@@ -153,8 +146,6 @@ var LogLevel;
153
146
  * Update log level helper.
154
147
  *
155
148
  * @param { LogLevel } level - log level in configuration
156
- *
157
- * @beta
158
149
  */
159
150
  function setLogLevel(level) {
160
151
  internalLogger.level = level;
@@ -163,8 +154,6 @@ function setLogLevel(level) {
163
154
  * Get log level.
164
155
  *
165
156
  * @returns Log level
166
- *
167
- * @beta
168
157
  */
169
158
  function getLogLevel() {
170
159
  return internalLogger.level;
@@ -239,8 +228,6 @@ const internalLogger = new InternalLogger();
239
228
  * error: console.error,
240
229
  * });
241
230
  * ```
242
- *
243
- * @beta
244
231
  */
245
232
  function setLogger(logger) {
246
233
  internalLogger.customLogger = logger;
@@ -258,8 +245,6 @@ function setLogger(logger) {
258
245
  * }
259
246
  * });
260
247
  * ```
261
- *
262
- * @beta
263
248
  */
264
249
  function setLogFunction(logFunction) {
265
250
  internalLogger.customLogFunction = logFunction;
@@ -410,8 +395,6 @@ function validateScopesType(value) {
410
395
  *
411
396
  * @remarks
412
397
  * Only works in in server side.
413
- *
414
- * @beta
415
398
  */
416
399
  class AppCredential {
417
400
  /**
@@ -419,7 +402,6 @@ class AppCredential {
419
402
  *
420
403
  * @remarks
421
404
  * Only works in in server side.
422
- * @beta
423
405
  */
424
406
  constructor(authConfig) {
425
407
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "AppCredential"), ErrorCode.RuntimeNotSupported);
@@ -429,7 +411,6 @@ class AppCredential {
429
411
  *
430
412
  * @remarks
431
413
  * Only works in in server side.
432
- * @beta
433
414
  */
434
415
  async getToken(scopes, options) {
435
416
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "AppCredential"), ErrorCode.RuntimeNotSupported);
@@ -442,8 +423,6 @@ class AppCredential {
442
423
  *
443
424
  * @remarks
444
425
  * Can only be used in server side.
445
- *
446
- * @beta
447
426
  */
448
427
  class OnBehalfOfUserCredential {
449
428
  /**
@@ -451,7 +430,6 @@ class OnBehalfOfUserCredential {
451
430
  *
452
431
  * @remarks
453
432
  * Can Only works in in server side.
454
- * @beta
455
433
  */
456
434
  constructor(ssoToken, config) {
457
435
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "OnBehalfOfUserCredential"), ErrorCode.RuntimeNotSupported);
@@ -460,7 +438,6 @@ class OnBehalfOfUserCredential {
460
438
  * Get access token from credential.
461
439
  * @remarks
462
440
  * Can only be used in server side.
463
- * @beta
464
441
  */
465
442
  async getToken(scopes, options) {
466
443
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "OnBehalfOfUserCredential"), ErrorCode.RuntimeNotSupported);
@@ -469,7 +446,6 @@ class OnBehalfOfUserCredential {
469
446
  * Get basic user info from SSO token.
470
447
  * @remarks
471
448
  * Can only be used in server side.
472
- * @beta
473
449
  */
474
450
  getUserInfo() {
475
451
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "OnBehalfOfUserCredential"), ErrorCode.RuntimeNotSupported);
@@ -485,8 +461,6 @@ const loginPageHeight = 535;
485
461
  *
486
462
  * @remarks
487
463
  * Can only be used within Teams.
488
- *
489
- * @beta
490
464
  */
491
465
  class TeamsUserCredential {
492
466
  /**
@@ -510,8 +484,6 @@ class TeamsUserCredential {
510
484
  *
511
485
  * @throws {@link ErrorCode|InvalidConfiguration} when client id, initiate login endpoint or simple auth endpoint is not found in config.
512
486
  * @throws {@link ErrorCode|RuntimeNotSupported} when runtime is nodeJS.
513
- *
514
- * @beta
515
487
  */
516
488
  constructor(authConfig) {
517
489
  internalLogger.info("Create teams user credential");
@@ -538,8 +510,6 @@ class TeamsUserCredential {
538
510
  * @throws {@link ErrorCode|ConsentFailed} when user canceled or failed to consent.
539
511
  * @throws {@link ErrorCode|InvalidParameter} when scopes is not a valid string or string array.
540
512
  * @throws {@link ErrorCode|RuntimeNotSupported} when runtime is nodeJS.
541
- *
542
- * @beta
543
513
  */
544
514
  async login(scopes) {
545
515
  validateScopesType(scopes);
@@ -625,8 +595,6 @@ class TeamsUserCredential {
625
595
  * If scopes is empty string or array, it returns SSO token.
626
596
  * If scopes is non-empty, it returns access token for target scope.
627
597
  * Throw error if get access token failed.
628
- *
629
- * @beta
630
598
  */
631
599
  async getToken(scopes, options) {
632
600
  validateScopesType(scopes);
@@ -695,8 +663,6 @@ class TeamsUserCredential {
695
663
  * @throws {@link ErrorCode|RuntimeNotSupported} when runtime is nodeJS.
696
664
  *
697
665
  * @returns Basic user info with user displayName, objectId and preferredUserName.
698
- *
699
- * @beta
700
666
  */
701
667
  async getUserInfo() {
702
668
  internalLogger.info("Get basic user info from SSO token");
@@ -828,8 +794,6 @@ class TeamsUserCredential {
828
794
  const defaultScope = "https://graph.microsoft.com/.default";
829
795
  /**
830
796
  * Microsoft Graph auth provider for Teams Framework
831
- *
832
- * @beta
833
797
  */
834
798
  class MsGraphAuthProvider {
835
799
  /**
@@ -841,8 +805,6 @@ class MsGraphAuthProvider {
841
805
  * @throws {@link ErrorCode|InvalidParameter} when scopes is not a valid string or string array.
842
806
  *
843
807
  * @returns An instance of MsGraphAuthProvider.
844
- *
845
- * @beta
846
808
  */
847
809
  constructor(teamsfx, scopes) {
848
810
  this.teamsfx = teamsfx;
@@ -934,8 +896,6 @@ class MsGraphAuthProvider {
934
896
  * @throws {@link ErrorCode|InvalidParameter} when scopes is not a valid string or string array.
935
897
  *
936
898
  * @returns Graph client with specified scopes.
937
- *
938
- * @beta
939
899
  */
940
900
  function createMicrosoftGraphClient(teamsfx, scopes) {
941
901
  internalLogger.info("Create Microsoft Graph Client");
@@ -951,7 +911,6 @@ function createMicrosoftGraphClient(teamsfx, scopes) {
951
911
  * Generate connection configuration consumed by tedious.
952
912
  * @remarks
953
913
  * Only works in in server side.
954
- * @beta
955
914
  */
956
915
  async function getTediousConnectionConfig(teamsfx, databaseName) {
957
916
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "DefaultTediousConnectionConfiguration"), ErrorCode.RuntimeNotSupported);
@@ -1005,8 +964,6 @@ async function getTediousConnectionConfig(teamsfx, databaseName) {
1005
964
  * }
1006
965
  * ]));
1007
966
  * ```
1008
- *
1009
- * @beta
1010
967
  */
1011
968
  class TeamsBotSsoPrompt {
1012
969
  /**
@@ -1017,8 +974,6 @@ class TeamsBotSsoPrompt {
1017
974
  *
1018
975
  * @throws {@link ErrorCode|InvalidParameter} when scopes is not a valid string or string array.
1019
976
  * @throws {@link ErrorCode|RuntimeNotSupported} when runtime is browser.
1020
- *
1021
- * @beta
1022
977
  */
1023
978
  constructor(teamsfx, dialogId, settings) {
1024
979
  this.teamsfx = teamsfx;
@@ -1038,8 +993,6 @@ class TeamsBotSsoPrompt {
1038
993
  * @throws {@link ErrorCode|RuntimeNotSupported} when runtime is browser.
1039
994
  *
1040
995
  * @returns A `Promise` representing the asynchronous operation.
1041
- *
1042
- * @beta
1043
996
  */
1044
997
  async beginDialog(dc) {
1045
998
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "TeamsBotSsoPrompt"), ErrorCode.RuntimeNotSupported);
@@ -1059,8 +1012,6 @@ class TeamsBotSsoPrompt {
1059
1012
  *
1060
1013
  * @throws {@link ErrorCode|ChannelNotSupported} when bot channel is not MS Teams.
1061
1014
  * @throws {@link ErrorCode|RuntimeNotSupported} when runtime is browser.
1062
- *
1063
- * @beta
1064
1015
  */
1065
1016
  async continueDialog(dc) {
1066
1017
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "TeamsBotSsoPrompt"), ErrorCode.RuntimeNotSupported);
@@ -1079,8 +1030,6 @@ class TeamsBotSsoPrompt {
1079
1030
  * ```typescript
1080
1031
  * const client = createApiClient("https://my-api-endpoint-base-url", new BasicAuthProvider("xxx","xxx"));
1081
1032
  * ```
1082
- *
1083
- * @beta
1084
1033
  */
1085
1034
  function createApiClient(apiEndpoint, authProvider) {
1086
1035
  // Add a request interceptor
@@ -1096,14 +1045,10 @@ function createApiClient(apiEndpoint, authProvider) {
1096
1045
  // Copyright (c) Microsoft Corporation.
1097
1046
  /**
1098
1047
  * Provider that handles Bearer Token authentication
1099
- *
1100
- * @beta
1101
1048
  */
1102
1049
  class BearerTokenAuthProvider {
1103
1050
  /**
1104
1051
  * @param { () => Promise<string> } getToken - Function that returns the content of bearer token used in http request
1105
- *
1106
- * @beta
1107
1052
  */
1108
1053
  constructor(getToken) {
1109
1054
  this.getToken = getToken;
@@ -1117,8 +1062,6 @@ class BearerTokenAuthProvider {
1117
1062
  * @returns Updated axios request config.
1118
1063
  *
1119
1064
  * @throws {@link ErrorCode|AuthorizationInfoAlreadyExists} - when Authorization header already exists in request configuration.
1120
- *
1121
- * @beta
1122
1065
  */
1123
1066
  async AddAuthenticationInfo(config) {
1124
1067
  const token = await this.getToken();
@@ -1136,8 +1079,6 @@ class BearerTokenAuthProvider {
1136
1079
  // Copyright (c) Microsoft Corporation.
1137
1080
  /**
1138
1081
  * Provider that handles Basic authentication
1139
- *
1140
- * @beta
1141
1082
  */
1142
1083
  class BasicAuthProvider {
1143
1084
  /**
@@ -1147,8 +1088,6 @@ class BasicAuthProvider {
1147
1088
  *
1148
1089
  * @throws {@link ErrorCode|InvalidParameter} - when username or password is empty.
1149
1090
  * @throws {@link ErrorCode|RuntimeNotSupported} when runtime is browser.
1150
- *
1151
- * @beta
1152
1091
  */
1153
1092
  constructor(userName, password) {
1154
1093
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "BasicAuthProvider"), ErrorCode.RuntimeNotSupported);
@@ -1163,8 +1102,6 @@ class BasicAuthProvider {
1163
1102
  *
1164
1103
  * @throws {@link ErrorCode|AuthorizationInfoAlreadyExists} - when Authorization header or auth property already exists in request configuration.
1165
1104
  * @throws {@link ErrorCode|RuntimeNotSupported} when runtime is browser.
1166
- *
1167
- * @beta
1168
1105
  */
1169
1106
  async AddAuthenticationInfo(config) {
1170
1107
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "BasicAuthProvider"), ErrorCode.RuntimeNotSupported);
@@ -1174,8 +1111,6 @@ class BasicAuthProvider {
1174
1111
  // Copyright (c) Microsoft Corporation.
1175
1112
  /**
1176
1113
  * Provider that handles API Key authentication
1177
- *
1178
- * @beta
1179
1114
  */
1180
1115
  class ApiKeyProvider {
1181
1116
  /**
@@ -1186,8 +1121,6 @@ class ApiKeyProvider {
1186
1121
  *
1187
1122
  * @throws {@link ErrorCode|InvalidParameter} - when key name or key value is empty.
1188
1123
  * @throws {@link ErrorCode|RuntimeNotSupported} when runtime is browser.
1189
- *
1190
- * @beta
1191
1124
  */
1192
1125
  constructor(keyName, keyValue, keyLocation) {
1193
1126
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "ApiKeyProvider"), ErrorCode.RuntimeNotSupported);
@@ -1202,8 +1135,6 @@ class ApiKeyProvider {
1202
1135
  *
1203
1136
  * @throws {@link ErrorCode|AuthorizationInfoAlreadyExists} - when API key already exists in request header or url query parameter.
1204
1137
  * @throws {@link ErrorCode|RuntimeNotSupported} when runtime is browser.
1205
- *
1206
- * @beta
1207
1138
  */
1208
1139
  async AddAuthenticationInfo(config) {
1209
1140
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "ApiKeyProvider"), ErrorCode.RuntimeNotSupported);
@@ -1211,8 +1142,6 @@ class ApiKeyProvider {
1211
1142
  }
1212
1143
  /**
1213
1144
  * Define available location for API Key location
1214
- *
1215
- * @beta
1216
1145
  */
1217
1146
  var ApiKeyLocation;
1218
1147
  (function (ApiKeyLocation) {
@@ -1229,15 +1158,11 @@ var ApiKeyLocation;
1229
1158
  // Copyright (c) Microsoft Corporation.
1230
1159
  /**
1231
1160
  * Provider that handles Certificate authentication
1232
- *
1233
- * @beta
1234
1161
  */
1235
1162
  class CertificateAuthProvider {
1236
1163
  /**
1237
1164
  *
1238
1165
  * @param { SecureContextOptions } certOption - information about the cert used in http requests
1239
- *
1240
- * @beta
1241
1166
  */
1242
1167
  constructor(certOption) {
1243
1168
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CertificateAuthProvider"), ErrorCode.RuntimeNotSupported);
@@ -1252,8 +1177,6 @@ class CertificateAuthProvider {
1252
1177
  *
1253
1178
  * @throws {@link ErrorCode|InvalidParameter} - when custom httpsAgent in the request has duplicate properties with certOption provided in constructor.
1254
1179
  * @throws {@link ErrorCode|RuntimeNotSupported} when runtime is browser.
1255
- *
1256
- * @beta
1257
1180
  */
1258
1181
  async AddAuthenticationInfo(config) {
1259
1182
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CertificateAuthProvider"), ErrorCode.RuntimeNotSupported);
@@ -1295,8 +1218,6 @@ function createPfxCertOption(pfx, options) {
1295
1218
  // Licensed under the MIT license.
1296
1219
  /**
1297
1220
  * Identity type to use in authentication.
1298
- *
1299
- * @beta
1300
1221
  */
1301
1222
  var IdentityType;
1302
1223
  (function (IdentityType) {
@@ -1313,7 +1234,6 @@ var IdentityType;
1313
1234
  // Copyright (c) Microsoft Corporation.
1314
1235
  /**
1315
1236
  * A class providing credential and configuration.
1316
- * @beta
1317
1237
  */
1318
1238
  class TeamsFx {
1319
1239
  constructor(identityType, customConfig) {
@@ -1415,8 +1335,6 @@ class TeamsFx {
1415
1335
  *
1416
1336
  * @remarks
1417
1337
  * Only work on server side.
1418
- *
1419
- * @beta
1420
1338
  */
1421
1339
  class ConversationBot {
1422
1340
  /**
@@ -1426,8 +1344,6 @@ class ConversationBot {
1426
1344
  *
1427
1345
  * @remarks
1428
1346
  * Only work on server side.
1429
- *
1430
- * @beta
1431
1347
  */
1432
1348
  constructor(options) {
1433
1349
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "ConversationBot"), ErrorCode.RuntimeNotSupported);
@@ -1441,8 +1357,6 @@ class ConversationBot {
1441
1357
  *
1442
1358
  * @remarks
1443
1359
  * Only work on server side.
1444
- *
1445
- * @beta
1446
1360
  */
1447
1361
  async requestHandler(req, res, logic) {
1448
1362
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "ConversationBot"), ErrorCode.RuntimeNotSupported);
@@ -1459,8 +1373,6 @@ class ConversationBot {
1459
1373
  * @param target - the notification target.
1460
1374
  * @param text - the plain text message.
1461
1375
  * @returns A `Promise` representing the asynchronous operation.
1462
- *
1463
- * @beta
1464
1376
  */
1465
1377
  function sendMessage(target, text) {
1466
1378
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "sendMessage"), ErrorCode.RuntimeNotSupported);
@@ -1474,8 +1386,6 @@ function sendMessage(target, text) {
1474
1386
  * @param target - the notification target.
1475
1387
  * @param card - the adaptive card raw JSON.
1476
1388
  * @returns A `Promise` representing the asynchronous operation.
1477
- *
1478
- * @beta
1479
1389
  */
1480
1390
  function sendAdaptiveCard(target, card) {
1481
1391
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "sendAdaptiveCard"), ErrorCode.RuntimeNotSupported);
@@ -1487,8 +1397,6 @@ function sendAdaptiveCard(target, card) {
1487
1397
  * Only work on server side.
1488
1398
  *
1489
1399
  * It's recommended to get channels from {@link TeamsBotInstallation.channels()}.
1490
- *
1491
- * @beta
1492
1400
  */
1493
1401
  class Channel {
1494
1402
  /**
@@ -1501,8 +1409,6 @@ class Channel {
1501
1409
  *
1502
1410
  * @param parent - The parent {@link TeamsBotInstallation} where this channel is created from.
1503
1411
  * @param info - Detailed channel information.
1504
- *
1505
- * @beta
1506
1412
  */
1507
1413
  constructor(parent, info) {
1508
1414
  /**
@@ -1510,8 +1416,6 @@ class Channel {
1510
1416
  *
1511
1417
  * @remarks
1512
1418
  * Only work on server side.
1513
- *
1514
- * @beta
1515
1419
  */
1516
1420
  this.type = "Channel";
1517
1421
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "Channel"), ErrorCode.RuntimeNotSupported);
@@ -1524,8 +1428,6 @@ class Channel {
1524
1428
  *
1525
1429
  * @param text - the plain text message.
1526
1430
  * @returns A `Promise` representing the asynchronous operation.
1527
- *
1528
- * @beta
1529
1431
  */
1530
1432
  sendMessage(text) {
1531
1433
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "Channel"), ErrorCode.RuntimeNotSupported);
@@ -1538,8 +1440,6 @@ class Channel {
1538
1440
  *
1539
1441
  * @param card - the adaptive card raw JSON.
1540
1442
  * @returns A `Promise` representing the asynchronous operation.
1541
- *
1542
- * @beta
1543
1443
  */
1544
1444
  async sendAdaptiveCard(card) {
1545
1445
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "Channel"), ErrorCode.RuntimeNotSupported);
@@ -1552,8 +1452,6 @@ class Channel {
1552
1452
  * Only work on server side.
1553
1453
  *
1554
1454
  * It's recommended to get members from {@link TeamsBotInstallation.members()}.
1555
- *
1556
- * @beta
1557
1455
  */
1558
1456
  class Member {
1559
1457
  /**
@@ -1566,8 +1464,6 @@ class Member {
1566
1464
  *
1567
1465
  * @param parent - The parent {@link TeamsBotInstallation} where this member is created from.
1568
1466
  * @param account - Detailed member account information.
1569
- *
1570
- * @beta
1571
1467
  */
1572
1468
  constructor(parent, account) {
1573
1469
  /**
@@ -1575,8 +1471,6 @@ class Member {
1575
1471
  *
1576
1472
  * @remarks
1577
1473
  * Only work on server side.
1578
- *
1579
- * @beta
1580
1474
  */
1581
1475
  this.type = "Person";
1582
1476
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "Member"), ErrorCode.RuntimeNotSupported);
@@ -1589,8 +1483,6 @@ class Member {
1589
1483
  *
1590
1484
  * @param text - the plain text message.
1591
1485
  * @returns A `Promise` representing the asynchronous operation.
1592
- *
1593
- * @beta
1594
1486
  */
1595
1487
  sendMessage(text) {
1596
1488
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "Member"), ErrorCode.RuntimeNotSupported);
@@ -1603,8 +1495,6 @@ class Member {
1603
1495
  *
1604
1496
  * @param card - the adaptive card raw JSON.
1605
1497
  * @returns A `Promise` representing the asynchronous operation.
1606
- *
1607
- * @beta
1608
1498
  */
1609
1499
  async sendAdaptiveCard(card) {
1610
1500
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "Member"), ErrorCode.RuntimeNotSupported);
@@ -1620,8 +1510,6 @@ class Member {
1620
1510
  * Only work on server side.
1621
1511
  *
1622
1512
  * It's recommended to get bot installations from {@link ConversationBot.installations()}.
1623
- *
1624
- * @beta
1625
1513
  */
1626
1514
  class TeamsBotInstallation {
1627
1515
  /**
@@ -1634,8 +1522,6 @@ class TeamsBotInstallation {
1634
1522
  *
1635
1523
  * @param adapter - the bound `BotFrameworkAdapter`.
1636
1524
  * @param conversationReference - the bound `ConversationReference`.
1637
- *
1638
- * @beta
1639
1525
  */
1640
1526
  constructor(adapter, conversationReference) {
1641
1527
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "TeamsBotInstallation"), ErrorCode.RuntimeNotSupported);
@@ -1648,8 +1534,6 @@ class TeamsBotInstallation {
1648
1534
  *
1649
1535
  * @param text - the plain text message.
1650
1536
  * @returns A `Promise` representing the asynchronous operation.
1651
- *
1652
- * @beta
1653
1537
  */
1654
1538
  sendMessage(text) {
1655
1539
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "TeamsBotInstallation"), ErrorCode.RuntimeNotSupported);
@@ -1662,8 +1546,6 @@ class TeamsBotInstallation {
1662
1546
  *
1663
1547
  * @param card - the adaptive card raw JSON.
1664
1548
  * @returns A `Promise` representing the asynchronous operation.
1665
- *
1666
- * @beta
1667
1549
  */
1668
1550
  sendAdaptiveCard(card) {
1669
1551
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "TeamsBotInstallation"), ErrorCode.RuntimeNotSupported);
@@ -1675,8 +1557,6 @@ class TeamsBotInstallation {
1675
1557
  * Only work on server side.
1676
1558
  *
1677
1559
  * @returns an array of channels if bot is installed into a team, otherwise returns an empty array.
1678
- *
1679
- * @beta
1680
1560
  */
1681
1561
  async channels() {
1682
1562
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "TeamsBotInstallation"), ErrorCode.RuntimeNotSupported);
@@ -1688,8 +1568,6 @@ class TeamsBotInstallation {
1688
1568
  * Only work on server side.
1689
1569
  *
1690
1570
  * @returns an array of members from where the bot is installed.
1691
- *
1692
- * @beta
1693
1571
  */
1694
1572
  async members() {
1695
1573
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "TeamsBotInstallation"), ErrorCode.RuntimeNotSupported);
@@ -1719,8 +1597,6 @@ class TeamsBotInstallation {
1719
1597
  * }
1720
1598
  * }
1721
1599
  * ```
1722
- *
1723
- * @beta
1724
1600
  */
1725
1601
  class NotificationBot {
1726
1602
  /**
@@ -1733,8 +1609,6 @@ class NotificationBot {
1733
1609
  *
1734
1610
  * @param adapter - the bound `BotFrameworkAdapter`
1735
1611
  * @param options - initialize options
1736
- *
1737
- * @beta
1738
1612
  */
1739
1613
  constructor(adapter, options) {
1740
1614
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "NotificationBot"), ErrorCode.RuntimeNotSupported);
@@ -1748,8 +1622,6 @@ class NotificationBot {
1748
1622
  * The result is retrieving from the persisted storage.
1749
1623
  *
1750
1624
  * @returns - an array of {@link TeamsBotInstallation}.
1751
- *
1752
- * @beta
1753
1625
  */
1754
1626
  static async installations() {
1755
1627
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "NotificationBot"), ErrorCode.RuntimeNotSupported);
@@ -1762,8 +1634,6 @@ class NotificationBot {
1762
1634
  *
1763
1635
  * @remarks
1764
1636
  * Only work on server side.
1765
- *
1766
- * @beta
1767
1637
  */
1768
1638
  class CommandBot {
1769
1639
  /**
@@ -1771,8 +1641,6 @@ class CommandBot {
1771
1641
  *
1772
1642
  * @param adapter The bound `BotFrameworkAdapter`.
1773
1643
  * @param commands The commands to registered with the command bot. Each command should implement the interface {@link TeamsFxBotCommandHandler} so that it can be correctly handled by this command bot.
1774
- *
1775
- * @beta
1776
1644
  */
1777
1645
  constructor(adapter, commands) {
1778
1646
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CommandBot"), ErrorCode.RuntimeNotSupported);
@@ -1784,8 +1652,6 @@ class CommandBot {
1784
1652
  *
1785
1653
  * @remarks
1786
1654
  * Only work on server side.
1787
- *
1788
- * @beta
1789
1655
  */
1790
1656
  registerCommand(command) {
1791
1657
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CommandBot"), ErrorCode.RuntimeNotSupported);
@@ -1797,8 +1663,6 @@ class CommandBot {
1797
1663
  *
1798
1664
  * @remarks
1799
1665
  * Only work on server side.
1800
- *
1801
- * @beta
1802
1666
  */
1803
1667
  registerCommands(commands) {
1804
1668
  throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CommandnBot"), ErrorCode.RuntimeNotSupported);