botframework-schema
Advanced tools
Comparing version 4.1.3 to 4.1.5
"use strict"; | ||
/** | ||
* @module botbuilder | ||
/* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -28,5 +26,5 @@ /** | ||
* Possible values include: 'message', 'contactRelationUpdate', | ||
* 'conversationUpdate', 'typing', 'ping', 'endOfConversation', 'event', | ||
* 'invoke', 'deleteUserData', 'messageUpdate', 'messageDelete', | ||
* 'installationUpdate', 'messageReaction', 'suggestion', 'trace' | ||
* 'conversationUpdate', 'typing', 'endOfConversation', 'event', 'invoke', | ||
* 'deleteUserData', 'messageUpdate', 'messageDelete', 'installationUpdate', | ||
* 'messageReaction', 'suggestion', 'trace', 'handoff' | ||
* There could be more values for this enum apart from the ones defined here.If | ||
@@ -46,3 +44,2 @@ * you want to set a value that is not from the known values then you can do | ||
ActivityTypes["Typing"] = "typing"; | ||
ActivityTypes["Ping"] = "ping"; | ||
ActivityTypes["EndOfConversation"] = "endOfConversation"; | ||
@@ -58,2 +55,3 @@ ActivityTypes["Event"] = "event"; | ||
ActivityTypes["Trace"] = "trace"; | ||
ActivityTypes["Handoff"] = "handoff"; | ||
})(ActivityTypes = exports.ActivityTypes || (exports.ActivityTypes = {})); | ||
@@ -174,2 +172,35 @@ /** | ||
/** | ||
* Defines values for ActivityImportance. | ||
* Possible values include: 'low', 'normal', 'high' | ||
* There could be more values for this enum apart from the ones defined here.If | ||
* you want to set a value that is not from the known values then you can do | ||
* the following: | ||
* let param: ActivityImportance = | ||
* <ActivityImportance>"someUnknownValueThatWillStillBeValid"; | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
var ActivityImportance; | ||
(function (ActivityImportance) { | ||
ActivityImportance["Low"] = "low"; | ||
ActivityImportance["Normal"] = "normal"; | ||
ActivityImportance["High"] = "high"; | ||
})(ActivityImportance = exports.ActivityImportance || (exports.ActivityImportance = {})); | ||
/** | ||
* Defines values for DeliveryModes. | ||
* Possible values include: 'normal', 'notification' | ||
* There could be more values for this enum apart from the ones defined here.If | ||
* you want to set a value that is not from the known values then you can do | ||
* the following: | ||
* let param: DeliveryModes = | ||
* <DeliveryModes>"someUnknownValueThatWillStillBeValid"; | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
var DeliveryModes; | ||
(function (DeliveryModes) { | ||
DeliveryModes["Normal"] = "normal"; | ||
DeliveryModes["Notification"] = "notification"; | ||
})(DeliveryModes = exports.DeliveryModes || (exports.DeliveryModes = {})); | ||
/** | ||
* Defines values for ContactRelationUpdateActionTypes. | ||
@@ -206,19 +237,2 @@ * Possible values include: 'add', 'remove' | ||
})(InstallationUpdateActionTypes = exports.InstallationUpdateActionTypes || (exports.InstallationUpdateActionTypes = {})); | ||
/** | ||
* Defines values for ActivityImportance. | ||
* Possible values include: 'low', 'normal', 'high' | ||
* There could be more values for this enum apart from the ones defined here.If | ||
* you want to set a value that is not from the known values then you can do | ||
* the following: | ||
* let param: ActivityImportance = | ||
* <ActivityImportance>"someUnknownValueThatWillStillBeValid"; | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
var ActivityImportance; | ||
(function (ActivityImportance) { | ||
ActivityImportance["Low"] = "low"; | ||
ActivityImportance["Normal"] = "normal"; | ||
ActivityImportance["High"] = "high"; | ||
})(ActivityImportance = exports.ActivityImportance || (exports.ActivityImportance = {})); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "botframework-schema", | ||
"version": "4.1.3", | ||
"version": "4.1.5", | ||
"description": "Activity schema for the Microsoft Bot Framework.", | ||
@@ -13,3 +13,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@types/node": "^9.3.0" | ||
"@types/node": "^9.3.0", | ||
"ms-rest-js": "^1.0.455" | ||
}, | ||
@@ -16,0 +17,0 @@ "devDependencies": {}, |
690
src/index.ts
@@ -1,26 +0,9 @@ | ||
/** | ||
* @module botbuilder | ||
/* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. | ||
*/ | ||
/** | ||
* copy of RequestOptionsBase so we don't have dependency on ms-rest-js in our schema package | ||
*/ | ||
/** | ||
* Describes the base structure of the options object that will be used in every operation. | ||
*/ | ||
export interface RequestOptionsBase { | ||
/** | ||
* @property {object} [customHeaders] - User defined custom request headers that | ||
* will be applied before the request is sent. | ||
*/ | ||
customHeaders?: { | ||
[key: string]: string; | ||
}; | ||
[key: string]: any; | ||
} | ||
import { ServiceClientOptions } from "ms-rest-js"; | ||
import * as msRest from "ms-rest-js"; | ||
@@ -48,3 +31,3 @@ | ||
* An interface representing AttachmentInfo. | ||
* Metdata for an attachment | ||
* Metadata for an attachment | ||
* | ||
@@ -69,2 +52,19 @@ */ | ||
* @interface | ||
* An interface representing InnerHttpError. | ||
* Object representing inner http error | ||
* | ||
*/ | ||
export interface InnerHttpError { | ||
/** | ||
* @member {number} [statusCode] HttpStatusCode from failed request | ||
*/ | ||
statusCode: number; | ||
/** | ||
* @member {any} [body] Body from failed request | ||
*/ | ||
body: any; | ||
} | ||
/** | ||
* @interface | ||
* An interface representing ErrorModel. | ||
@@ -83,2 +83,6 @@ * Object representing error information | ||
message: string; | ||
/** | ||
* @member {InnerHttpError} [innerHttpError] Error from inner http call | ||
*/ | ||
innerHttpError: InnerHttpError; | ||
} | ||
@@ -116,2 +120,7 @@ | ||
/** | ||
* @member {string} [aadObjectId] This account's object ID within Azure | ||
* Active Directory (AAD) | ||
*/ | ||
aadObjectId: string; | ||
/** | ||
* @member {RoleTypes} [role] Role of the entity behind the account (Example: | ||
@@ -150,2 +159,7 @@ * User, Bot, etc.). Possible values include: 'user', 'bot' | ||
/** | ||
* @member {string} [aadObjectId] This account's object ID within Azure | ||
* Active Directory (AAD) | ||
*/ | ||
aadObjectId: string; | ||
/** | ||
* @member {RoleTypes} [role] Role of the entity behind the account (Example: | ||
@@ -208,2 +222,7 @@ * User, Bot, etc.). Possible values include: 'user', 'bot' | ||
value: any; | ||
/** | ||
* @member {any} [channelData] Channel-specific data associated with this | ||
* action | ||
*/ | ||
channelData: any; | ||
} | ||
@@ -263,3 +282,3 @@ | ||
* An interface representing Entity. | ||
* Object of schema.org types | ||
* Metadata object pertaining to an activity | ||
* | ||
@@ -269,3 +288,3 @@ */ | ||
/** | ||
* @member {string} [type] Entity Type (typically from schema.org types) | ||
* @member {string} [type] Type of this entity (RFC 3987 IRI) | ||
*/ | ||
@@ -313,13 +332,15 @@ type: string; | ||
* An interface representing TextHighlight. | ||
* Refers to a substring of content within another field | ||
* | ||
*/ | ||
export interface TextHighlight { | ||
/** | ||
* @member {string} [text] plain text fragment to highlight | ||
* @member {string} [text] Defines the snippet of text to highlight | ||
*/ | ||
text: string; | ||
/** | ||
* @member {number} [occurence] index of occurence of the Text (Starting at | ||
* 1) | ||
* @member {number} [occurrence] Occurrence of the text field within the | ||
* referenced text, if multiple exist. | ||
*/ | ||
occurence: number; | ||
occurrence: number; | ||
} | ||
@@ -329,5 +350,23 @@ | ||
* @interface | ||
* An interface representing SemanticAction. | ||
* Represents a reference to a programmatic action | ||
* | ||
*/ | ||
export interface SemanticAction { | ||
/** | ||
* @member {string} [id] ID of this action | ||
*/ | ||
id: string; | ||
/** | ||
* @member {{ [propertyName: string]: Entity }} [entities] Entities | ||
* associated with this action | ||
*/ | ||
entities: { [propertyName: string]: Entity }; | ||
} | ||
/** | ||
* @interface | ||
* An interface representing Activity. | ||
* An Activity is the basic communication type for the Bot Framework 3.0 | ||
* protocol | ||
* protocol. | ||
* | ||
@@ -337,42 +376,54 @@ */ | ||
/** | ||
* @member {ActivityTypes} [type] The type of the activity. Possible values | ||
* @member {ActivityTypes} [type] Contains the activity type. Possible values | ||
* include: 'message', 'contactRelationUpdate', 'conversationUpdate', | ||
* 'typing', 'ping', 'endOfConversation', 'event', 'invoke', | ||
* 'deleteUserData', 'messageUpdate', 'messageDelete', 'installationUpdate', | ||
* 'messageReaction', 'suggestion', 'trace' | ||
* 'typing', 'endOfConversation', 'event', 'invoke', 'deleteUserData', | ||
* 'messageUpdate', 'messageDelete', 'installationUpdate', 'messageReaction', | ||
* 'suggestion', 'trace', 'handoff' | ||
*/ | ||
type: ActivityTypes | string; | ||
/** | ||
* @member {string} [id] ID of this activity | ||
* @member {string} [id] Contains an ID that uniquely identifies the activity | ||
* on the channel. | ||
*/ | ||
id?: string; | ||
/** | ||
* @member {Date} [timestamp] UTC Time when message was sent (set by service) | ||
* @member {Date} [timestamp] Contains the date and time that the message was | ||
* sent, in UTC, expressed in ISO-8601 format. | ||
*/ | ||
timestamp?: Date; | ||
/** | ||
* @member {Date} [localTimestamp] Local time when message was sent (set by | ||
* client, Ex: 2016-09-23T13:07:49.4714686-07:00) | ||
* @member {Date} [localTimestamp] Contains the date and time that the | ||
* message was sent, in local time, expressed in ISO-8601 format. | ||
* For example, 2016-09-23T13:07:49.4714686-07:00. | ||
*/ | ||
localTimestamp?: Date; | ||
/** | ||
* @member {string} [serviceUrl] Service endpoint where operations concerning | ||
* the activity may be performed | ||
* @member {string} [localTimezone] Contains the name of the timezone in | ||
* which the message, in local time, expressed in IANA Time Zone database | ||
* format. | ||
* For example, America/Los_Angeles. | ||
*/ | ||
localTimezone: string; | ||
/** | ||
* @member {string} [serviceUrl] Contains the URL that specifies the | ||
* channel's service endpoint. Set by the channel. | ||
*/ | ||
serviceUrl: string; | ||
/** | ||
* @member {string} [channelId] ID of the channel where the activity was sent | ||
* @member {string} [channelId] Contains an ID that uniquely identifies the | ||
* channel. Set by the channel. | ||
*/ | ||
channelId: string; | ||
/** | ||
* @member {ChannelAccount} [from] Sender address | ||
* @member {ChannelAccount} [from] Identifies the sender of the message. | ||
*/ | ||
from: ChannelAccount; | ||
/** | ||
* @member {ConversationAccount} [conversation] Conversation | ||
* @member {ConversationAccount} [conversation] Identifies the conversation | ||
* to which the activity belongs. | ||
*/ | ||
conversation: ConversationAccount; | ||
/** | ||
* @member {ChannelAccount} [recipient] (Outbound to bot only) Bot's address | ||
* that received the message | ||
* @member {ChannelAccount} [recipient] Identifies the recipient of the | ||
* message. | ||
*/ | ||
@@ -386,4 +437,4 @@ recipient: ChannelAccount; | ||
/** | ||
* @member {AttachmentLayoutTypes} [attachmentLayout] Hint for how to deal | ||
* with multiple attachments. Default:list. Possible values include: 'list', | ||
* @member {AttachmentLayoutTypes} [attachmentLayout] The layout hint for | ||
* multiple attachments. Default: list. Possible values include: 'list', | ||
* 'carousel' | ||
@@ -393,45 +444,52 @@ */ | ||
/** | ||
* @member {ChannelAccount[]} [membersAdded] Members added to the | ||
* conversation | ||
* @member {ChannelAccount[]} [membersAdded] The collection of members added | ||
* to the conversation. | ||
*/ | ||
membersAdded?: ChannelAccount[]; | ||
/** | ||
* @member {ChannelAccount[]} [membersRemoved] Members removed from the | ||
* conversation | ||
* @member {ChannelAccount[]} [membersRemoved] The collection of members | ||
* removed from the conversation. | ||
*/ | ||
membersRemoved?: ChannelAccount[]; | ||
/** | ||
* @member {MessageReaction[]} [reactionsAdded] Reactions added to the | ||
* activity | ||
* @member {MessageReaction[]} [reactionsAdded] The collection of reactions | ||
* added to the conversation. | ||
*/ | ||
reactionsAdded?: MessageReaction[]; | ||
/** | ||
* @member {MessageReaction[]} [reactionsRemoved] Reactions removed from the | ||
* activity | ||
* @member {MessageReaction[]} [reactionsRemoved] The collection of reactions | ||
* removed from the conversation. | ||
*/ | ||
reactionsRemoved?: MessageReaction[]; | ||
/** | ||
* @member {string} [topicName] The conversation's updated topic name | ||
* @member {string} [topicName] The updated topic name of the conversation. | ||
*/ | ||
topicName?: string; | ||
/** | ||
* @member {boolean} [historyDisclosed] True if prior history of the channel | ||
* is disclosed | ||
* @member {boolean} [historyDisclosed] Indicates whether the prior history | ||
* of the channel is disclosed. | ||
*/ | ||
historyDisclosed?: boolean; | ||
/** | ||
* @member {string} [locale] The language code of the Text field | ||
* @member {string} [locale] A locale name for the contents of the text | ||
* field. | ||
* The locale name is a combination of an ISO 639 two- or three-letter | ||
* culture code associated with a language | ||
* and an ISO 3166 two-letter subculture code associated with a country or | ||
* region. | ||
* The locale name can also correspond to a valid BCP-47 language tag. | ||
*/ | ||
locale?: string; | ||
/** | ||
* @member {string} [text] Content for the message | ||
* @member {string} [text] The text content of the message. | ||
*/ | ||
text: string; | ||
/** | ||
* @member {string} [speak] SSML Speak for TTS audio response | ||
* @member {string} [speak] The text to speak. | ||
*/ | ||
speak?: string; | ||
/** | ||
* @member {InputHints} [inputHint] Input hint to the channel on what the bot | ||
* is expecting. Possible values include: 'acceptingInput', 'ignoringInput', | ||
* @member {InputHints} [inputHint] Indicates whether your bot is accepting, | ||
* expecting, or ignoring user input after the message is delivered to the | ||
* client. Possible values include: 'acceptingInput', 'ignoringInput', | ||
* 'expectingInput' | ||
@@ -441,9 +499,9 @@ */ | ||
/** | ||
* @member {string} [summary] Text to display if the channel cannot render | ||
* cards | ||
* @member {string} [summary] The text to display if the channel cannot | ||
* render cards. | ||
*/ | ||
summary?: string; | ||
/** | ||
* @member {SuggestedActions} [suggestedActions] SuggestedActions are used to | ||
* provide keyboard/quickreply like behavior in many clients | ||
* @member {SuggestedActions} [suggestedActions] The suggested actions for | ||
* the activity. | ||
*/ | ||
@@ -456,71 +514,81 @@ suggestedActions?: SuggestedActions; | ||
/** | ||
* @member {Entity[]} [entities] Collection of Entity objects, each of which | ||
* contains metadata about this activity. Each Entity object is typed. | ||
* @member {Entity[]} [entities] Represents the entities that were mentioned | ||
* in the message. | ||
*/ | ||
entities?: Entity[]; | ||
/** | ||
* @member {any} [channelData] Channel-specific payload | ||
* @member {any} [channelData] Contains channel-specific content. | ||
*/ | ||
channelData?: any; | ||
/** | ||
* @member {string} [action] ContactAdded/Removed action | ||
* @member {string} [action] Indicates whether the recipient of a | ||
* contactRelationUpdate was added or removed from the sender's contact list. | ||
*/ | ||
action?: string; | ||
/** | ||
* @member {string} [replyToId] The original ID this message is a response to | ||
* @member {string} [replyToId] Contains the ID of the message to which this | ||
* message is a reply. | ||
*/ | ||
replyToId?: string; | ||
/** | ||
* @member {string} [label] Descriptive label | ||
* @member {string} [label] A descriptive label for the activity. | ||
*/ | ||
label: string; | ||
/** | ||
* @member {string} [valueType] Unique string which identifies the shape of | ||
* the value object | ||
* @member {string} [valueType] The type of the activity's value object. | ||
*/ | ||
valueType: string; | ||
/** | ||
* @member {any} [value] Open-ended value | ||
* @member {any} [value] A value that is associated with the activity. | ||
*/ | ||
value?: any; | ||
/** | ||
* @member {string} [name] Name of the operation to invoke or the name of the | ||
* event | ||
* @member {string} [name] The name of the operation associated with an | ||
* invoke or event activity. | ||
*/ | ||
name?: string; | ||
/** | ||
* @member {ConversationReference} [relatesTo] Reference to another | ||
* conversation or activity | ||
* @member {ConversationReference} [relatesTo] A reference to another | ||
* conversation or activity. | ||
*/ | ||
relatesTo?: ConversationReference; | ||
/** | ||
* @member {EndOfConversationCodes} [code] Code indicating why the | ||
* conversation has ended. Possible values include: 'unknown', | ||
* 'completedSuccessfully', 'userCancelled', 'botTimedOut', | ||
* 'botIssuedInvalidMessage', 'channelFailed' | ||
* @member {EndOfConversationCodes} [code] The a code for endOfConversation | ||
* activities that indicates why the conversation ended. Possible values | ||
* include: 'unknown', 'completedSuccessfully', 'userCancelled', | ||
* 'botTimedOut', 'botIssuedInvalidMessage', 'channelFailed' | ||
*/ | ||
code?: EndOfConversationCodes | string; | ||
/** | ||
* @member {Date} [expiration] DateTime to expire the activity as ISO 8601 | ||
* encoded datetime | ||
* @member {Date} [expiration] The time at which the activity should be | ||
* considered to be "expired" and should not be presented to the recipient. | ||
*/ | ||
expiration?: Date; | ||
/** | ||
* @member {string} [importance] Importance of this activity | ||
* {Low|Normal|High}, null value indicates Normal importance see | ||
* ActivityImportance) | ||
* @member {ActivityImportance} [importance] The importance of the activity. | ||
* Possible values include: 'low', 'normal', 'high' | ||
*/ | ||
importance?: string; | ||
importance?: ActivityImportance | string; | ||
/** | ||
* @member {string} [deliveryMode] Hint to describe how this activity should | ||
* be delivered. | ||
* Currently: null or "Default" = default delivery | ||
* "Notification" = notification semantics | ||
* @member {DeliveryModes} [deliveryMode] A delivery hint to signal to the | ||
* recipient alternate delivery paths for the activity. | ||
* The default delivery mode is "default". Possible values include: 'normal', | ||
* 'notification' | ||
*/ | ||
deliveryMode?: string; | ||
deliveryMode?: DeliveryModes | string; | ||
/** | ||
* @member {TextHighlight[]} [textHighlights] TextHighlight in the activity | ||
* represented in the ReplyToId property | ||
* @member {string[]} [listenFor] List of phrases and references that speech | ||
* and language priming systems should listen for | ||
*/ | ||
listenFor: string[]; | ||
/** | ||
* @member {TextHighlight[]} [textHighlights] The collection of text | ||
* fragments to highlight when the activity contains a ReplyToId value. | ||
*/ | ||
textHighlights?: TextHighlight[]; | ||
/** | ||
* @member {SemanticAction} [semanticAction] An optional programmatic action | ||
* accompanying this request | ||
*/ | ||
semanticAction: SemanticAction; | ||
} | ||
@@ -554,3 +622,3 @@ | ||
* @member {Activity} [activity] (Optional) When creating a new conversation, | ||
* use this activity as the intial message to the conversation | ||
* use this activity as the initial message to the conversation | ||
*/ | ||
@@ -636,2 +704,33 @@ activity: Activity; | ||
* @interface | ||
* An interface representing Transcript. | ||
* Transcript | ||
* | ||
*/ | ||
export interface Transcript { | ||
/** | ||
* @member {Activity[]} [activities] A collection of Activities that conforms | ||
* to the Transcript schema. | ||
*/ | ||
activities: Activity[]; | ||
} | ||
/** | ||
* @interface | ||
* An interface representing PagedMembersResult. | ||
* Page of members. | ||
* | ||
*/ | ||
export interface PagedMembersResult { | ||
/** | ||
* @member {string} [continuationToken] Paging token | ||
*/ | ||
continuationToken: string; | ||
/** | ||
* @member {ChannelAccount[]} [members] The Channel Accounts. | ||
*/ | ||
members: ChannelAccount[]; | ||
} | ||
/** | ||
* @interface | ||
* An interface representing AttachmentData. | ||
@@ -651,9 +750,9 @@ * Attachment data | ||
/** | ||
* @member {any} [originalBase64] Attachment content | ||
* @member {Uint8Array} [originalBase64] Attachment content | ||
*/ | ||
originalBase64: any; | ||
originalBase64: Uint8Array; | ||
/** | ||
* @member {any} [thumbnailBase64] Attachment thumbnail | ||
* @member {Uint8Array} [thumbnailBase64] Attachment thumbnail | ||
*/ | ||
thumbnailBase64: any; | ||
thumbnailBase64: Uint8Array; | ||
} | ||
@@ -777,3 +876,5 @@ | ||
/** | ||
* @member {MediaUrl[]} [media] Media URLs for this card | ||
* @member {MediaUrl[]} [media] Media URLs for this card. When this field | ||
* contains more than one URL, each URL is an alternative format of the same | ||
* content. | ||
*/ | ||
@@ -801,7 +902,13 @@ media: MediaUrl[]; | ||
/** | ||
* @member {string} [aspect] Aspect ratio of thumbnail/media placeholder, | ||
* allowed values are "16:9" and "4:3" | ||
* @member {string} [aspect] Aspect ratio of thumbnail/media placeholder. | ||
* Allowed values are "16:9" and "4:3" | ||
*/ | ||
aspect: string; | ||
/** | ||
* @member {string} [duration] Describes the length of the media content | ||
* without requiring a receiver to open the content. Formatted as an ISO 8601 | ||
* Duration field. | ||
*/ | ||
duration: string; | ||
/** | ||
* @member {any} [value] Supplementary parameter for this card | ||
@@ -836,3 +943,5 @@ */ | ||
/** | ||
* @member {MediaUrl[]} [media] Media URLs for this card | ||
* @member {MediaUrl[]} [media] Media URLs for this card. When this field | ||
* contains more than one URL, each URL is an alternative format of the same | ||
* content. | ||
*/ | ||
@@ -860,7 +969,13 @@ media: MediaUrl[]; | ||
/** | ||
* @member {string} [aspect] Aspect ratio of thumbnail/media placeholder, | ||
* allowed values are "16:9" and "4:3" | ||
* @member {string} [aspect] Aspect ratio of thumbnail/media placeholder. | ||
* Allowed values are "16:9" and "4:3" | ||
*/ | ||
aspect: string; | ||
/** | ||
* @member {string} [duration] Describes the length of the media content | ||
* without requiring a receiver to open the content. Formatted as an ISO 8601 | ||
* Duration field. | ||
*/ | ||
duration: string; | ||
/** | ||
* @member {any} [value] Supplementary parameter for this card | ||
@@ -930,3 +1045,5 @@ */ | ||
/** | ||
* @member {MediaUrl[]} [media] Media URLs for this card | ||
* @member {MediaUrl[]} [media] Media URLs for this card. When this field | ||
* contains more than one URL, each URL is an alternative format of the same | ||
* content. | ||
*/ | ||
@@ -954,7 +1071,13 @@ media: MediaUrl[]; | ||
/** | ||
* @member {string} [aspect] Aspect ratio of thumbnail/media placeholder, | ||
* allowed values are "16:9" and "4:3" | ||
* @member {string} [aspect] Aspect ratio of thumbnail/media placeholder. | ||
* Allowed values are "16:9" and "4:3" | ||
*/ | ||
aspect: string; | ||
/** | ||
* @member {string} [duration] Describes the length of the media content | ||
* without requiring a receiver to open the content. Formatted as an ISO 8601 | ||
* Duration field. | ||
*/ | ||
duration: string; | ||
/** | ||
* @member {any} [value] Supplementary parameter for this card | ||
@@ -1088,3 +1211,3 @@ */ | ||
* An interface representing OAuthCard. | ||
* A card representing a request to peform a sign in via OAuth | ||
* A card representing a request to perform a sign in via OAuth | ||
* | ||
@@ -1166,3 +1289,5 @@ */ | ||
/** | ||
* @member {MediaUrl[]} [media] Media URLs for this card | ||
* @member {MediaUrl[]} [media] Media URLs for this card. When this field | ||
* contains more than one URL, each URL is an alternative format of the same | ||
* content. | ||
*/ | ||
@@ -1190,7 +1315,13 @@ media: MediaUrl[]; | ||
/** | ||
* @member {string} [aspect] Aspect ratio of thumbnail/media placeholder, | ||
* allowed values are "16:9" and "4:3" | ||
* @member {string} [aspect] Aspect ratio of thumbnail/media placeholder. | ||
* Allowed values are "16:9" and "4:3" | ||
*/ | ||
aspect: string; | ||
/** | ||
* @member {string} [duration] Describes the length of the media content | ||
* without requiring a receiver to open the content. Formatted as an ISO 8601 | ||
* Duration field. | ||
*/ | ||
duration: string; | ||
/** | ||
* @member {any} [value] Supplementary parameter for this card | ||
@@ -1250,3 +1381,3 @@ */ | ||
/** | ||
* @member {string} [type] Entity Type (typically from schema.org types) | ||
* @member {string} [type] Type of this entity (RFC 3987 IRI) | ||
*/ | ||
@@ -1367,5 +1498,5 @@ type: string; | ||
/** | ||
* @member {string} [mechantId] Microsoft Pay Merchant ID | ||
* @member {string} [merchantId] Microsoft Pay Merchant ID | ||
*/ | ||
mechantId: string; | ||
merchantId: string; | ||
/** | ||
@@ -1799,2 +1930,14 @@ * @member {string[]} [supportedNetworks] Supported payment networks (e.g., | ||
* @interface | ||
* An interface representing ConnectorClientOptions. | ||
* @extends ServiceClientOptions | ||
*/ | ||
export interface ConnectorClientOptions extends ServiceClientOptions { | ||
/** | ||
* @member {string} [baseUri] | ||
*/ | ||
baseUri: string; | ||
} | ||
/** | ||
* @interface | ||
* An interface representing ConversationsGetConversationsOptionalParams. | ||
@@ -1805,3 +1948,3 @@ * Optional Parameters. | ||
*/ | ||
export interface ConversationsGetConversationsOptionalParams extends RequestOptionsBase { | ||
export interface ConversationsGetConversationsOptionalParams extends msRest.RequestOptionsBase { | ||
/** | ||
@@ -1814,2 +1957,20 @@ * @member {string} [continuationToken] skip or continuation token | ||
/** | ||
* @interface | ||
* An interface representing ConversationsGetConversationPagedMembersOptionalParams. | ||
* Optional Parameters. | ||
* | ||
* @extends RequestOptionsBase | ||
*/ | ||
export interface ConversationsGetConversationPagedMembersOptionalParams extends msRest.RequestOptionsBase { | ||
/** | ||
* @member {number} [pageSize] Suggested page size | ||
*/ | ||
pageSize: number; | ||
/** | ||
* @member {string} [continuationToken] Continuation Token | ||
*/ | ||
continuationToken: string; | ||
} | ||
/** | ||
* Defines values for RoleTypes. | ||
@@ -1832,5 +1993,5 @@ * Possible values include: 'user', 'bot' | ||
* Possible values include: 'message', 'contactRelationUpdate', | ||
* 'conversationUpdate', 'typing', 'ping', 'endOfConversation', 'event', | ||
* 'invoke', 'deleteUserData', 'messageUpdate', 'messageDelete', | ||
* 'installationUpdate', 'messageReaction', 'suggestion', 'trace' | ||
* 'conversationUpdate', 'typing', 'endOfConversation', 'event', 'invoke', | ||
* 'deleteUserData', 'messageUpdate', 'messageDelete', 'installationUpdate', | ||
* 'messageReaction', 'suggestion', 'trace', 'handoff' | ||
* There could be more values for this enum apart from the ones defined here.If | ||
@@ -1849,3 +2010,2 @@ * you want to set a value that is not from the known values then you can do | ||
Typing = 'typing', | ||
Ping = 'ping', | ||
EndOfConversation = 'endOfConversation', | ||
@@ -1861,2 +2021,3 @@ Event = 'event', | ||
Trace = 'trace', | ||
Handoff = 'handoff', | ||
} | ||
@@ -1978,2 +2139,35 @@ | ||
/** | ||
* Defines values for ActivityImportance. | ||
* Possible values include: 'low', 'normal', 'high' | ||
* There could be more values for this enum apart from the ones defined here.If | ||
* you want to set a value that is not from the known values then you can do | ||
* the following: | ||
* let param: ActivityImportance = | ||
* <ActivityImportance>"someUnknownValueThatWillStillBeValid"; | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
export enum ActivityImportance { | ||
Low = 'low', | ||
Normal = 'normal', | ||
High = 'high', | ||
} | ||
/** | ||
* Defines values for DeliveryModes. | ||
* Possible values include: 'normal', 'notification' | ||
* There could be more values for this enum apart from the ones defined here.If | ||
* you want to set a value that is not from the known values then you can do | ||
* the following: | ||
* let param: DeliveryModes = | ||
* <DeliveryModes>"someUnknownValueThatWillStillBeValid"; | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
export enum DeliveryModes { | ||
Normal = 'normal', | ||
Notification = 'notification', | ||
} | ||
/** | ||
* Defines values for ContactRelationUpdateActionTypes. | ||
@@ -2011,36 +2205,232 @@ * Possible values include: 'add', 'remove' | ||
/** | ||
* Defines values for ActivityImportance. | ||
* Possible values include: 'low', 'normal', 'high' | ||
* There could be more values for this enum apart from the ones defined here.If | ||
* you want to set a value that is not from the known values then you can do | ||
* the following: | ||
* let param: ActivityImportance = | ||
* <ActivityImportance>"someUnknownValueThatWillStillBeValid"; | ||
* @readonly | ||
* @enum {string} | ||
* Contains response data for the getAttachmentInfo operation. | ||
*/ | ||
export enum ActivityImportance { | ||
Low = 'low', | ||
Normal = 'normal', | ||
High = 'high', | ||
} | ||
export type AttachmentsGetAttachmentInfoResponse = AttachmentInfo & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: AttachmentInfo; | ||
}; | ||
}; | ||
/** | ||
* @interface | ||
* An interface representing a collection of | ||
* Azure Active Directory resource URLs | ||
* Contains response data for the getAttachment operation. | ||
*/ | ||
export interface AadResourceUrls { | ||
export type AttachmentsGetAttachmentResponse = { | ||
/** | ||
* @member {string[]} [resourceUrls] A collection of resource URLs | ||
* BROWSER ONLY | ||
* | ||
* The response body as a browser Blob. | ||
* Always undefined in node.js. | ||
*/ | ||
resourceUrls: string[]; | ||
} | ||
blobBody: Promise<Blob>; | ||
/** | ||
* NODEJS ONLY | ||
* | ||
* The response body as a node.js Readable stream. | ||
* Always undefined in the browser. | ||
*/ | ||
readableStreamBody: NodeJS.ReadableStream; | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse; | ||
}; | ||
/** | ||
* @interface | ||
* An interface representing a mapping of names to TokenResponses. | ||
* Contains response data for the getConversations operation. | ||
*/ | ||
export interface TokenResponseMap { | ||
[resourceUrl: string]: TokenResponse; | ||
} | ||
export type ConversationsGetConversationsResponse = ConversationsResult & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: ConversationsResult; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the createConversation operation. | ||
*/ | ||
export type ConversationsCreateConversationResponse = ConversationResourceResponse & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: ConversationResourceResponse; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the sendToConversation operation. | ||
*/ | ||
export type ConversationsSendToConversationResponse = ResourceResponse & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: ResourceResponse; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the sendConversationHistory operation. | ||
*/ | ||
export type ConversationsSendConversationHistoryResponse = ResourceResponse & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: ResourceResponse; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the updateActivity operation. | ||
*/ | ||
export type ConversationsUpdateActivityResponse = ResourceResponse & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: ResourceResponse; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the replyToActivity operation. | ||
*/ | ||
export type ConversationsReplyToActivityResponse = ResourceResponse & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: ResourceResponse; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the getConversationMembers operation. | ||
*/ | ||
export type ConversationsGetConversationMembersResponse = Array<ChannelAccount> & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: ChannelAccount[]; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the getConversationPagedMembers operation. | ||
*/ | ||
export type ConversationsGetConversationPagedMembersResponse = PagedMembersResult & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: PagedMembersResult; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the getActivityMembers operation. | ||
*/ | ||
export type ConversationsGetActivityMembersResponse = Array<ChannelAccount> & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: ChannelAccount[]; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the uploadAttachment operation. | ||
*/ | ||
export type ConversationsUploadAttachmentResponse = ResourceResponse & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: ResourceResponse; | ||
}; | ||
}; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
139203
4863
2
+ Addedms-rest-js@^1.0.455
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@0.18.1(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedfollow-redirects@1.5.10(transitive)
+ Addedform-data@2.5.2(transitive)
+ Addedis-buffer@2.0.5(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedms-rest-js@1.0.465(transitive)
+ Addedpsl@1.10.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsax@1.4.1(transitive)
+ Addedtough-cookie@2.5.0(transitive)
+ Addedtslib@1.14.1(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedxml2js@0.4.23(transitive)
+ Addedxmlbuilder@11.0.1(transitive)