203 lines
No EOL
5.3 KiB
TypeScript
203 lines
No EOL
5.3 KiB
TypeScript
/**
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/
|
|
import { HttpResponse, ServiceClientOptions, RequestOptionsBase } from '@azure/core-http';
|
|
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 declare 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 declare 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 declare 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 declare 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 declare 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 declare 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 declare 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 declare 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 declare 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: {};
|
|
};
|
|
};
|
|
//# sourceMappingURL=index.d.ts.map
|