From 1efb2e1448ed92f2d7d92d05f6031a5c12eb01b8 Mon Sep 17 00:00:00 2001 From: JhontSouth Date: Tue, 7 Nov 2023 12:34:28 -0500 Subject: [PATCH] update botbuilder api signature --- libraries/botbuilder/etc/botbuilder.api.md | 32 +++++----------------- 1 file changed, 7 insertions(+), 25 deletions(-) diff --git a/libraries/botbuilder/etc/botbuilder.api.md b/libraries/botbuilder/etc/botbuilder.api.md index 8a20feada0..8876a5e991 100644 --- a/libraries/botbuilder/etc/botbuilder.api.md +++ b/libraries/botbuilder/etc/botbuilder.api.md @@ -4,7 +4,6 @@ ```ts -import { AceRequest } from 'botbuilder-core'; import { Activity } from 'botbuilder-core'; import { ActivityHandler } from 'botbuilder-core'; import { ActivityHandlerBase } from 'botbuilder-core'; @@ -23,7 +22,6 @@ import { BotFrameworkClient } from 'botbuilder-core'; import { BotFrameworkSkill } from 'botbuilder-core'; import { BotState } from 'botbuilder-core'; import { CancelOperationResponse } from 'botframework-connector'; -import { CardViewResponse } from 'botbuilder-core'; import { ChannelAccount } from 'botbuilder-core'; import { ChannelInfo } from 'botbuilder-core'; import { ClaimsIdentity } from 'botframework-connector'; @@ -41,8 +39,6 @@ import { ConversationState } from 'botbuilder-core'; import { CoreAppCredentials } from 'botbuilder-core'; import { ExtendedUserTokenProvider } from 'botbuilder-core'; import { FileConsentCardResponse } from 'botbuilder-core'; -import { GetPropertyPaneConfigurationResponse } from 'botbuilder-core'; -import { HandleActionResponse } from 'botbuilder-core'; import { HttpClient } from '@azure/ms-rest-js'; import { HttpOperationResponse } from '@azure/ms-rest-js'; import { ICredentialProvider } from 'botframework-connector'; @@ -67,11 +63,9 @@ import { O365ConnectorCardActionQuery } from 'botbuilder-core'; import { OnBehalfOf } from 'botbuilder-core'; import { PagedMembersResult } from 'botbuilder-core'; import { PagedResult } from 'botbuilder-core'; -import { QuickViewResponse } from 'botbuilder-core'; import { ReadReceiptInfo } from 'botframework-connector'; import { RequestHandler } from 'botframework-streaming'; import { ResourceResponse } from 'botbuilder-core'; -import { SetPropertyPaneConfigurationResponse } from 'botbuilder-core'; import { SigninStateVerificationQuery } from 'botbuilder-core'; import { SignInUrlResponse } from 'botframework-connector'; import { SimpleCredentialProvider } from 'botframework-connector'; @@ -167,7 +161,7 @@ export class BotFrameworkAdapter extends BotAdapter implements BotFrameworkHttpA updateActivity(context: TurnContext, activity: Partial): Promise; useNamedPipe(logic: (context: TurnContext) => Promise, pipeName?: string, retryCount?: number, onListen?: () => void): Promise; useWebSocket(req: WebRequest, socket: INodeSocket, head: INodeBuffer, logic: (context: TurnContext) => Promise): Promise; - } +} // @public @deprecated (undocumented) export interface BotFrameworkAdapterSettings { @@ -206,7 +200,7 @@ export class ChannelServiceHandler extends ChannelServiceHandlerBase { protected authenticate(authHeader: string): Promise; // (undocumented) protected readonly channelService: string; - } +} // @public export abstract class ChannelServiceHandlerBase { @@ -280,7 +274,7 @@ export class FileTranscriptStore implements TranscriptStore { getTranscriptActivities(channelId: string, conversationId: string, continuationToken?: string, startDate?: Date): Promise>; listTranscripts(channelId: string, continuationToken?: string): Promise>; logActivity(activity: Activity): Promise; - } +} // @public export class HandoffEventNames { @@ -299,7 +293,7 @@ export class InspectionMiddleware extends InterceptionMiddleware { protected outbound(turnContext: TurnContext, traceActivities: Partial[]): Promise; processCommand(turnContext: TurnContext): Promise; protected traceState(turnContext: TurnContext): Promise; - } +} // @public @deprecated export class InspectionState extends BotState { @@ -316,7 +310,6 @@ interface Request_2 = Record void; export class SetSpeakMiddleware implements Middleware { constructor(voiceName: string | null, fallbackToTextForSpeak: boolean); onTurn(turnContext: TurnContext, next: () => Promise): Promise; - } - -// @public -export class SharePointActivityHandler extends ActivityHandler { - protected onInvokeActivity(context: TurnContext): Promise; - protected onSharePointTaskGetCardViewAsync(_context: TurnContext, _aceRequest: AceRequest): Promise; - protected onSharePointTaskGetPropertyPaneConfigurationAsync(_context: TurnContext, _aceRequest: AceRequest): Promise; - protected onSharePointTaskGetQuickViewAsync(_context: TurnContext, _aceRequest: AceRequest): Promise; - protected onSharePointTaskHandleActionAsync(_context: TurnContext, _aceRequest: AceRequest): Promise; - protected onSharePointTaskSetPropertyPaneConfigurationAsync(_context: TurnContext, _aceRequest: AceRequest): Promise; } // @public @deprecated (undocumented) @@ -383,7 +365,7 @@ export class StatusCodeError extends Error { export class StreamingHttpClient implements HttpClient { constructor(server: IStreamingTransportServer); sendRequest(httpRequest: WebResource): Promise; - } +} // @public export class TeamsActivityHandler extends ActivityHandler { @@ -513,12 +495,12 @@ export function teamsNotifyUser(activity: Partial, alertInMeeting?: bo export class TeamsSSOTokenExchangeMiddleware implements Middleware { constructor(storage: Storage_2, oAuthConnectionName: string); onTurn(context: TurnContext, next: () => Promise): Promise; - } +} // @public export class TokenResolver { static checkForOAuthCards(adapter: BotFrameworkAdapter, context: TurnContext, activity: Activity, log?: string[]): void; - } +} // @public export interface WebRequest {