botframework-schema
Advanced tools
Comparing version 4.11.0-dev.20201021.0c90cc4 to 4.11.0-dev.20201022.b685c12
@@ -96,3 +96,3 @@ export * from './activityInterfaces'; | ||
* Role of the entity behind the account (Example: User, Bot, etc.). Possible values include: | ||
* 'user', 'bot' | ||
* 'user', 'bot', 'skill' | ||
*/ | ||
@@ -1652,3 +1652,3 @@ role?: RoleTypes | string; | ||
* Defines values for RoleTypes. | ||
* Possible values include: 'user', 'bot' | ||
* Possible values include: 'user', 'bot', 'skill' | ||
* @readonly | ||
@@ -1659,3 +1659,4 @@ * @enum {string} | ||
User = "user", | ||
Bot = "bot" | ||
Bot = "bot", | ||
Skill = "skill" | ||
} | ||
@@ -1662,0 +1663,0 @@ /** |
@@ -17,3 +17,3 @@ "use strict"; | ||
* Defines values for RoleTypes. | ||
* Possible values include: 'user', 'bot' | ||
* Possible values include: 'user', 'bot', 'skill' | ||
* @readonly | ||
@@ -26,2 +26,3 @@ * @enum {string} | ||
RoleTypes["Bot"] = "bot"; | ||
RoleTypes["Skill"] = "skill"; | ||
})(RoleTypes = exports.RoleTypes || (exports.RoleTypes = {})); | ||
@@ -28,0 +29,0 @@ /** |
import { MessageActionsPayloadBody, O365ConnectorCardActionBase, O365ConnectorCardInputBase } from './extension'; | ||
import { Activity, Attachment, CardAction, ChannelAccount } from '../'; | ||
import { Activity, Attachment, CardAction, ChannelAccount, ConversationAccount } from '../'; | ||
export * from './extension'; | ||
@@ -118,2 +118,14 @@ /** | ||
* @interface | ||
* An interface representing TeamsMeetingInfo. | ||
* Describes a meeting | ||
* | ||
*/ | ||
export interface TeamsMeetingInfo { | ||
/** | ||
* @member {string} [id] Unique identifier representing a meeting | ||
*/ | ||
id?: string; | ||
} | ||
/** | ||
* @interface | ||
* An interface representing TeamsChannelData. | ||
@@ -148,2 +160,7 @@ * Channel data specific to messages received in Microsoft Teams | ||
tenant?: TenantInfo; | ||
/** | ||
* @member {TeamsMeetingInfo} [meeting] Information about the tenant in which the | ||
* message was sent | ||
*/ | ||
meeting?: TeamsMeetingInfo; | ||
} | ||
@@ -183,2 +200,37 @@ /** | ||
} | ||
/** | ||
* @interface | ||
* An interface representing a Meeting. | ||
* Meeting details. | ||
*/ | ||
export interface Meeting { | ||
/** | ||
* @member {string} [role] Meeting role of the user. | ||
*/ | ||
role?: string; | ||
/** | ||
* @member {string} [inMeeting] Indicates if the participant is in the meeting. | ||
*/ | ||
inMeeting?: boolean; | ||
} | ||
/** | ||
* @interface | ||
* An interface representing TeamsMeetingParticipant. | ||
* Teams meeting participant detailing user Azure Active Directory details. | ||
* | ||
*/ | ||
export interface TeamsMeetingParticipant { | ||
/** | ||
* @member {TeamsChannelAccount} [user] The user details | ||
*/ | ||
user?: TeamsChannelAccount; | ||
/** | ||
* @member {Meeting} [meeting] The meeting details. | ||
*/ | ||
meeting?: Meeting; | ||
/** | ||
* @member {ConversationAccount} [conversation] The conversation account for the meeting. | ||
*/ | ||
conversation?: ConversationAccount; | ||
} | ||
export interface TeamsPagedMembersResult { | ||
@@ -185,0 +237,0 @@ /** |
@@ -5,3 +5,3 @@ { | ||
"description": "Activity schema for the Microsoft Bot Framework.", | ||
"version": "4.11.0-dev.20201021.0c90cc4", | ||
"version": "4.11.0-dev.20201022.b685c12", | ||
"license": "MIT", | ||
@@ -33,3 +33,3 @@ "keywords": [ | ||
"clean": "erase /q /s .\\lib", | ||
"set-version": "npm version --allow-same-version 4.11.0-dev.20201021.0c90cc4", | ||
"set-version": "npm version --allow-same-version 4.11.0-dev.20201022.b685c12", | ||
"test": "tsc && nyc mocha tests/", | ||
@@ -36,0 +36,0 @@ "test:compat": "api-extractor run --verbose" |
@@ -109,3 +109,3 @@ /* | ||
* Role of the entity behind the account (Example: User, Bot, etc.). Possible values include: | ||
* 'user', 'bot' | ||
* 'user', 'bot', 'skill' | ||
*/ | ||
@@ -1720,3 +1720,3 @@ role?: RoleTypes | string; | ||
* Defines values for RoleTypes. | ||
* Possible values include: 'user', 'bot' | ||
* Possible values include: 'user', 'bot', 'skill' | ||
* @readonly | ||
@@ -1728,2 +1728,3 @@ * @enum {string} | ||
Bot = 'bot', | ||
Skill = 'skill', | ||
} | ||
@@ -1730,0 +1731,0 @@ |
@@ -10,3 +10,3 @@ /* | ||
import { MessageActionsPayloadBody, O365ConnectorCardActionBase, O365ConnectorCardInputBase } from './extension'; | ||
import { Activity, Attachment, CardAction, ChannelAccount } from '../'; | ||
import { Activity, Attachment, CardAction, ChannelAccount, ConversationAccount } from '../'; | ||
export * from './extension'; | ||
@@ -134,2 +134,15 @@ | ||
* @interface | ||
* An interface representing TeamsMeetingInfo. | ||
* Describes a meeting | ||
* | ||
*/ | ||
export interface TeamsMeetingInfo { | ||
/** | ||
* @member {string} [id] Unique identifier representing a meeting | ||
*/ | ||
id?: string; | ||
} | ||
/** | ||
* @interface | ||
* An interface representing TeamsChannelData. | ||
@@ -164,2 +177,7 @@ * Channel data specific to messages received in Microsoft Teams | ||
tenant?: TenantInfo; | ||
/** | ||
* @member {TeamsMeetingInfo} [meeting] Information about the tenant in which the | ||
* message was sent | ||
*/ | ||
meeting?: TeamsMeetingInfo; | ||
} | ||
@@ -201,2 +219,39 @@ | ||
/** | ||
* @interface | ||
* An interface representing a Meeting. | ||
* Meeting details. | ||
*/ | ||
export interface Meeting { | ||
/** | ||
* @member {string} [role] Meeting role of the user. | ||
*/ | ||
role?: string; | ||
/** | ||
* @member {string} [inMeeting] Indicates if the participant is in the meeting. | ||
*/ | ||
inMeeting?: boolean; | ||
} | ||
/** | ||
* @interface | ||
* An interface representing TeamsMeetingParticipant. | ||
* Teams meeting participant detailing user Azure Active Directory details. | ||
* | ||
*/ | ||
export interface TeamsMeetingParticipant { | ||
/** | ||
* @member {TeamsChannelAccount} [user] The user details | ||
*/ | ||
user?: TeamsChannelAccount | ||
/** | ||
* @member {Meeting} [meeting] The meeting details. | ||
*/ | ||
meeting?: Meeting; | ||
/** | ||
* @member {ConversationAccount} [conversation] The conversation account for the meeting. | ||
*/ | ||
conversation?: ConversationAccount; | ||
} | ||
export interface TeamsPagedMembersResult { | ||
@@ -203,0 +258,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
308627
8770