botframework-schema
Advanced tools
Comparing version 4.19.1-rc to 4.19.1-rc1
@@ -1717,23 +1717,39 @@ /** | ||
* @interface | ||
* Specifies details of a Teams meeting send notification payload. | ||
* Specifies base details of a Teams meeting send notification payload. | ||
*/ | ||
export interface TeamsMeetingNotification { | ||
export interface MeetingNotificationBase<T> { | ||
/** | ||
* @member {string} [type] The type of meeting notification. | ||
*/ | ||
type: 'targetedMeetingNotification' | string; | ||
type: string; | ||
/** | ||
* @member {TeamsMeetingNotificationInfo} [type] The specific details of the meeting notification. | ||
* @template T | ||
* @member {T} value The specific details of the meeting notification. | ||
*/ | ||
value: TeamsMeetingNotificationInfo; | ||
value: T; | ||
} | ||
/** | ||
* @interface | ||
* Specifies details of a targeted Teams meeting send notification payload. | ||
*/ | ||
export interface TargetedMeetingNotification extends MeetingNotificationBase<TargetedMeetingNotificationValue> { | ||
/** | ||
* @member {TeamsMeetingNotificationChannelData} [type] The channel data of the meeting notification. | ||
* @member {string} [type] The type of meeting notification. | ||
*/ | ||
channelData: TeamsMeetingNotificationChannelData; | ||
type: 'targetedMeetingNotification'; | ||
/** | ||
* @member {MeetingNotificationChannelData} [channelData] The channel data of the meeting notification. | ||
*/ | ||
channelData?: MeetingNotificationChannelData; | ||
} | ||
/** | ||
* @type {MeetingNotification} | ||
* Defines the base Teams meeting notification type. | ||
*/ | ||
export declare type MeetingNotification = TargetedMeetingNotification; | ||
/** | ||
* @interface | ||
* Specifies recipients and surfaces to target in a Teams meeting notification. | ||
*/ | ||
export interface TeamsMeetingNotificationInfo { | ||
export interface TargetedMeetingNotificationValue { | ||
/** | ||
@@ -1744,23 +1760,29 @@ * @member {string[]} [recipients] The list of recipient meeting MRIs. | ||
/** | ||
* @member {TeamsMeetingNotificationSurface[]} [surfaces] The List of notification surface configuration. | ||
* @member {MeetingSurface[]} [surfaces] The List of notification surface configuration. | ||
*/ | ||
surfaces: TeamsMeetingNotificationSurface[]; | ||
surfaces: MeetingSurface[]; | ||
} | ||
/** | ||
* @type {MeetingSurface} | ||
* Defines the generic Teams meeting surface type. | ||
*/ | ||
export declare type MeetingSurface = MeetingStageSurface<any>; | ||
/** | ||
* @interface | ||
* Specifies the surface and content for a Teams meeting notification. | ||
* Specifies the meeting stage surface in a Teams meeting notification. | ||
*/ | ||
export interface TeamsMeetingNotificationSurface { | ||
export interface MeetingStageSurface<T> { | ||
/** | ||
* @member {string} [surface] The surface type. | ||
*/ | ||
surface: 'meetingStage' | string; | ||
surface: 'meetingStage'; | ||
/** | ||
* @member {string} [contentType] The content type. | ||
*/ | ||
contentType: 'task' | string; | ||
contentType: 'task'; | ||
/** | ||
* @member {TaskModuleContinueResponse} [content] The content to display in the meeting notification. | ||
* @template T | ||
* @member {T} [content] The content to display in the meeting notification. | ||
*/ | ||
content: TaskModuleContinueResponse; | ||
content: T; | ||
} | ||
@@ -1771,7 +1793,7 @@ /** | ||
*/ | ||
export interface TeamsMeetingNotificationChannelData { | ||
export interface MeetingNotificationChannelData { | ||
/** | ||
* @member {TeamsMeetingOnBehalfOf} [onBehalfOf] The user that the bot is sending the notification on behalfOf, if any. | ||
* @member {OnBehalfOf} [onBehalfOf] The user that the bot is sending the notification on behalfOf, if any. | ||
*/ | ||
onBehalfOf?: TeamsMeetingOnBehalfOf; | ||
onBehalfOf?: OnBehalfOf[]; | ||
} | ||
@@ -1782,3 +1804,3 @@ /** | ||
*/ | ||
export interface TeamsMeetingOnBehalfOf { | ||
export interface OnBehalfOf { | ||
/** | ||
@@ -1805,3 +1827,3 @@ * @member {number} [itemid] The id of the item. | ||
*/ | ||
export interface TeamsMeetingNotificationRecipientFailureInfo { | ||
export interface MeetingNotificationRecipientFailureInfo { | ||
/** | ||
@@ -1824,8 +1846,8 @@ * @member {string} [recipientMri] The targeted recipient's MRI. | ||
*/ | ||
export interface TeamsMeetingNotificationRecipientFailureInfos { | ||
export interface MeetingNotificationResponse { | ||
/** | ||
* @member {string} [errorCode] The list of recipients that failed to recieve the sent meetings notification. | ||
* @member {string} [recipientsFailureInfo] The list of recipients that failed to recieve the sent meetings notification. | ||
*/ | ||
recipientsFailureInfo: TeamsMeetingNotificationRecipientFailureInfo[]; | ||
recipientsFailureInfo?: MeetingNotificationRecipientFailureInfo[]; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1717,23 +1717,39 @@ /** | ||
* @interface | ||
* Specifies details of a Teams meeting send notification payload. | ||
* Specifies base details of a Teams meeting send notification payload. | ||
*/ | ||
export interface TeamsMeetingNotification { | ||
export interface MeetingNotificationBase<T> { | ||
/** | ||
* @member {string} [type] The type of meeting notification. | ||
*/ | ||
type: 'targetedMeetingNotification' | string; | ||
type: string; | ||
/** | ||
* @member {TeamsMeetingNotificationInfo} [type] The specific details of the meeting notification. | ||
* @template T | ||
* @member {T} value The specific details of the meeting notification. | ||
*/ | ||
value: TeamsMeetingNotificationInfo; | ||
value: T; | ||
} | ||
/** | ||
* @interface | ||
* Specifies details of a targeted Teams meeting send notification payload. | ||
*/ | ||
export interface TargetedMeetingNotification extends MeetingNotificationBase<TargetedMeetingNotificationValue> { | ||
/** | ||
* @member {TeamsMeetingNotificationChannelData} [type] The channel data of the meeting notification. | ||
* @member {string} [type] The type of meeting notification. | ||
*/ | ||
channelData: TeamsMeetingNotificationChannelData; | ||
type: 'targetedMeetingNotification'; | ||
/** | ||
* @member {MeetingNotificationChannelData} [channelData] The channel data of the meeting notification. | ||
*/ | ||
channelData?: MeetingNotificationChannelData; | ||
} | ||
/** | ||
* @type {MeetingNotification} | ||
* Defines the base Teams meeting notification type. | ||
*/ | ||
export declare type MeetingNotification = TargetedMeetingNotification; | ||
/** | ||
* @interface | ||
* Specifies recipients and surfaces to target in a Teams meeting notification. | ||
*/ | ||
export interface TeamsMeetingNotificationInfo { | ||
export interface TargetedMeetingNotificationValue { | ||
/** | ||
@@ -1744,23 +1760,29 @@ * @member {string[]} [recipients] The list of recipient meeting MRIs. | ||
/** | ||
* @member {TeamsMeetingNotificationSurface[]} [surfaces] The List of notification surface configuration. | ||
* @member {MeetingSurface[]} [surfaces] The List of notification surface configuration. | ||
*/ | ||
surfaces: TeamsMeetingNotificationSurface[]; | ||
surfaces: MeetingSurface[]; | ||
} | ||
/** | ||
* @type {MeetingSurface} | ||
* Defines the generic Teams meeting surface type. | ||
*/ | ||
export declare type MeetingSurface = MeetingStageSurface<any>; | ||
/** | ||
* @interface | ||
* Specifies the surface and content for a Teams meeting notification. | ||
* Specifies the meeting stage surface in a Teams meeting notification. | ||
*/ | ||
export interface TeamsMeetingNotificationSurface { | ||
export interface MeetingStageSurface<T> { | ||
/** | ||
* @member {string} [surface] The surface type. | ||
*/ | ||
surface: 'meetingStage' | string; | ||
surface: 'meetingStage'; | ||
/** | ||
* @member {string} [contentType] The content type. | ||
*/ | ||
contentType: 'task' | string; | ||
contentType: 'task'; | ||
/** | ||
* @member {TaskModuleContinueResponse} [content] The content to display in the meeting notification. | ||
* @template T | ||
* @member {T} [content] The content to display in the meeting notification. | ||
*/ | ||
content: TaskModuleContinueResponse; | ||
content: T; | ||
} | ||
@@ -1771,7 +1793,7 @@ /** | ||
*/ | ||
export interface TeamsMeetingNotificationChannelData { | ||
export interface MeetingNotificationChannelData { | ||
/** | ||
* @member {TeamsMeetingOnBehalfOf} [onBehalfOf] The user that the bot is sending the notification on behalfOf, if any. | ||
* @member {OnBehalfOf} [onBehalfOf] The user that the bot is sending the notification on behalfOf, if any. | ||
*/ | ||
onBehalfOf?: TeamsMeetingOnBehalfOf; | ||
onBehalfOf?: OnBehalfOf[]; | ||
} | ||
@@ -1782,3 +1804,3 @@ /** | ||
*/ | ||
export interface TeamsMeetingOnBehalfOf { | ||
export interface OnBehalfOf { | ||
/** | ||
@@ -1805,3 +1827,3 @@ * @member {number} [itemid] The id of the item. | ||
*/ | ||
export interface TeamsMeetingNotificationRecipientFailureInfo { | ||
export interface MeetingNotificationRecipientFailureInfo { | ||
/** | ||
@@ -1824,8 +1846,8 @@ * @member {string} [recipientMri] The targeted recipient's MRI. | ||
*/ | ||
export interface TeamsMeetingNotificationRecipientFailureInfos { | ||
export interface MeetingNotificationResponse { | ||
/** | ||
* @member {string} [errorCode] The list of recipients that failed to recieve the sent meetings notification. | ||
* @member {string} [recipientsFailureInfo] The list of recipients that failed to recieve the sent meetings notification. | ||
*/ | ||
recipientsFailureInfo: TeamsMeetingNotificationRecipientFailureInfo[]; | ||
recipientsFailureInfo?: MeetingNotificationRecipientFailureInfo[]; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -5,3 +5,3 @@ { | ||
"description": "Activity schema for the Microsoft Bot Framework.", | ||
"version": "4.19.1-rc", | ||
"version": "4.19.1-rc1", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "keywords": [ |
@@ -1823,24 +1823,44 @@ /** | ||
* @interface | ||
* Specifies details of a Teams meeting send notification payload. | ||
* Specifies base details of a Teams meeting send notification payload. | ||
*/ | ||
export interface TeamsMeetingNotification { | ||
export interface MeetingNotificationBase<T> { | ||
/** | ||
* @member {string} [type] The type of meeting notification. | ||
*/ | ||
type: 'targetedMeetingNotification' | string; | ||
type: string; | ||
/** | ||
* @member {TeamsMeetingNotificationInfo} [type] The specific details of the meeting notification. | ||
* @template T | ||
* @member {T} value The specific details of the meeting notification. | ||
*/ | ||
value: TeamsMeetingNotificationInfo; | ||
value: T; | ||
} | ||
/** | ||
* @interface | ||
* Specifies details of a targeted Teams meeting send notification payload. | ||
*/ | ||
export interface TargetedMeetingNotification extends MeetingNotificationBase<TargetedMeetingNotificationValue> { | ||
/** | ||
* @member {TeamsMeetingNotificationChannelData} [type] The channel data of the meeting notification. | ||
* @member {string} [type] The type of meeting notification. | ||
*/ | ||
channelData: TeamsMeetingNotificationChannelData; | ||
type: 'targetedMeetingNotification'; | ||
/** | ||
* @member {MeetingNotificationChannelData} [channelData] The channel data of the meeting notification. | ||
*/ | ||
channelData?: MeetingNotificationChannelData; | ||
} | ||
/** | ||
* @type {MeetingNotification} | ||
* Defines the base Teams meeting notification type. | ||
*/ | ||
export type MeetingNotification = TargetedMeetingNotification; | ||
/** | ||
* @interface | ||
* Specifies recipients and surfaces to target in a Teams meeting notification. | ||
*/ | ||
export interface TeamsMeetingNotificationInfo { | ||
export interface TargetedMeetingNotificationValue { | ||
/** | ||
@@ -1851,24 +1871,31 @@ * @member {string[]} [recipients] The list of recipient meeting MRIs. | ||
/** | ||
* @member {TeamsMeetingNotificationSurface[]} [surfaces] The List of notification surface configuration. | ||
* @member {MeetingSurface[]} [surfaces] The List of notification surface configuration. | ||
*/ | ||
surfaces: TeamsMeetingNotificationSurface[]; | ||
surfaces: MeetingSurface[]; | ||
} | ||
/** | ||
* @type {MeetingSurface} | ||
* Defines the generic Teams meeting surface type. | ||
*/ | ||
export type MeetingSurface = MeetingStageSurface<any>; | ||
/** | ||
* @interface | ||
* Specifies the surface and content for a Teams meeting notification. | ||
* Specifies the meeting stage surface in a Teams meeting notification. | ||
*/ | ||
export interface TeamsMeetingNotificationSurface { | ||
export interface MeetingStageSurface<T> { | ||
/** | ||
* @member {string} [surface] The surface type. | ||
*/ | ||
surface: 'meetingStage' | string; | ||
surface: 'meetingStage'; | ||
/** | ||
* @member {string} [contentType] The content type. | ||
*/ | ||
contentType: 'task' | string; | ||
contentType: 'task'; | ||
/** | ||
* @member {TaskModuleContinueResponse} [content] The content to display in the meeting notification. | ||
* @template T | ||
* @member {T} [content] The content to display in the meeting notification. | ||
*/ | ||
content: TaskModuleContinueResponse; | ||
content: T; | ||
} | ||
@@ -1880,7 +1907,7 @@ | ||
*/ | ||
export interface TeamsMeetingNotificationChannelData { | ||
export interface MeetingNotificationChannelData { | ||
/** | ||
* @member {TeamsMeetingOnBehalfOf} [onBehalfOf] The user that the bot is sending the notification on behalfOf, if any. | ||
* @member {OnBehalfOf} [onBehalfOf] The user that the bot is sending the notification on behalfOf, if any. | ||
*/ | ||
onBehalfOf?: TeamsMeetingOnBehalfOf; | ||
onBehalfOf?: OnBehalfOf[]; | ||
} | ||
@@ -1892,3 +1919,3 @@ | ||
*/ | ||
export interface TeamsMeetingOnBehalfOf { | ||
export interface OnBehalfOf { | ||
/** | ||
@@ -1916,3 +1943,3 @@ * @member {number} [itemid] The id of the item. | ||
*/ | ||
export interface TeamsMeetingNotificationRecipientFailureInfo { | ||
export interface MeetingNotificationRecipientFailureInfo { | ||
/** | ||
@@ -1936,7 +1963,7 @@ * @member {string} [recipientMri] The targeted recipient's MRI. | ||
*/ | ||
export interface TeamsMeetingNotificationRecipientFailureInfos { | ||
export interface MeetingNotificationResponse { | ||
/** | ||
* @member {string} [errorCode] The list of recipients that failed to recieve the sent meetings notification. | ||
* @member {string} [recipientsFailureInfo] The list of recipients that failed to recieve the sent meetings notification. | ||
*/ | ||
recipientsFailureInfo: TeamsMeetingNotificationRecipientFailureInfo[]; | ||
recipientsFailureInfo?: MeetingNotificationRecipientFailureInfo[]; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
532885
15935