botframework-connector
Version:
Bot Connector is autorest generated connector client.
229 lines (215 loc) • 5.46 kB
text/typescript
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import {
HttpOperationResponse as HttpResponse,
ServiceClientOptions,
RequestOptionsBase,
} from 'botbuilder-stdlib/lib/azureCoreHttpCompat';
import {
ConversationList,
TeamDetails,
MeetingInfo,
MeetingNotificationResponse,
TeamsMeetingParticipant,
BatchOperationResponse,
BatchOperationStateResponse,
BatchFailedEntriesResponse,
} from 'botframework-schema';
/**
* @interface
* An interface representing TeamsConnectorClientOptions.
* @augments ServiceClientOptions
*/
export interface TeamsConnectorClientOptions extends ServiceClientOptions {
/**
* @member {string} [baseUri]
*/
baseUri?: string;
}
/**
* Contains response data for the fetchChannelList operation.
*/
export type TeamsFetchChannelListResponse = ConversationList & {
/**
* The underlying HTTP response.
*/
_response: HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;
/**
* The response body as parsed JSON or XML
*/
parsedBody: ConversationList;
};
};
/**
* Contains response data for the fetchTeamDetails operation.
*/
export type TeamsFetchTeamDetailsResponse = TeamDetails & {
/**
* The underlying HTTP response.
*/
_response: HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;
/**
* The response body as parsed JSON or XML
*/
parsedBody: TeamDetails;
};
};
export interface ConversationsGetConversationPagedMembersOptionalParams extends RequestOptionsBase {
/**
* Suggested page size
*/
pageSize: number;
/**
* Continuation Token
*/
continuationToken: string;
}
/**
* Contains response data for the fetchMeetingParticipant operation.
*/
export type TeamsFetchMeetingParticipantResponse = TeamsMeetingParticipant & {
/**
* The underlying HTTP response.
*/
_response: HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;
/**
* The response body as parsed JSON or XML
*/
parsedBody: TeamsMeetingParticipant;
};
};
/**
* @interface
* An interface representing TeamsFetchMeetingParticipantOptionalParams.
* Optional Parameters.
*
* @augments RequestOptionsBase
*/
export interface TeamsFetchMeetingParticipantOptionalParams extends RequestOptionsBase {
/**
* @member {string} [tenantId]
*/
tenantId?: string;
}
/**
* Contains response data for the fetchMeetingInfo operation.
*/
export type TeamsMeetingInfoResponse = MeetingInfo & {
/**
* The underlying HTTP response.
*/
_response: HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;
/**
* The response body as parsed JSON or XML
*/
parsedBody: TeamsMeetingParticipant;
};
};
/**
* Contains response data for the sendMeetingNotification operation.
*/
export type TeamsMeetingNotificationResponse = MeetingNotificationResponse & {
/**
* The underlying HTTP response.
*/
_response: HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;
/**
* The response body as parsed JSON or XML
*/
parsedBody: MeetingNotificationResponse | {};
};
};
/**
* Contains response data for the Teams batch operations.
*/
export type TeamsBatchOperationResponse = BatchOperationResponse & {
/**
* The underlying HTTP response.
*/
_response: HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;
/**
* The response body as parsed JSON or XML
*/
parsedBody: BatchOperationResponse | {};
};
};
/**
* Contains response data for the Teams batch operation state.
*/
export type BatchBatchOperationStateResponse = BatchOperationStateResponse & {
/**
* The underlying HTTP response.
*/
_response: HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;
/**
* The response body as parsed JSON or XML
*/
parsedBody: BatchOperationStateResponse | {};
};
};
/**
* Contains response data for the Teams batch failed entries.
*/
export type BatchBatchFailedEntriesResponse = BatchFailedEntriesResponse & {
/**
* The underlying HTTP response.
*/
_response: HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;
/**
* The response body as parsed JSON or XML
*/
parsedBody: BatchFailedEntriesResponse | {};
};
};
/**
* Contains response data for the Teams batch cancel operation.
*/
export type CancelOperationResponse = {
/**
* The underlying HTTP response.
*/
_response: HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;
/**
* The response body as parsed JSON or XML
*/
parsedBody: {};
};
};