@microsoft/agents-activity 0.1.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -0
- package/dist/src/action/actionTypes.d.ts +25 -0
- package/dist/src/action/actionTypes.js +30 -0
- package/dist/src/action/actionTypes.js.map +1 -0
- package/dist/src/action/cardAction.d.ts +74 -0
- package/dist/src/action/cardAction.js +23 -0
- package/dist/src/action/cardAction.js.map +1 -0
- package/dist/src/action/semanticAction.d.ts +52 -0
- package/dist/src/action/semanticAction.js +19 -0
- package/dist/src/action/semanticAction.js.map +1 -0
- package/dist/src/action/semanticActionStateTypes.d.ts +17 -0
- package/dist/src/action/semanticActionStateTypes.js +22 -0
- package/dist/src/action/semanticActionStateTypes.js.map +1 -0
- package/dist/src/action/suggestedActions.d.ts +77 -0
- package/dist/src/action/suggestedActions.js +17 -0
- package/dist/src/action/suggestedActions.js.map +1 -0
- package/dist/src/activity.d.ts +811 -0
- package/dist/src/activity.js +264 -0
- package/dist/src/activity.js.map +1 -0
- package/dist/src/activityEventNames.d.ts +16 -0
- package/dist/src/activityEventNames.js +21 -0
- package/dist/src/activityEventNames.js.map +1 -0
- package/dist/src/activityImportance.d.ts +17 -0
- package/dist/src/activityImportance.js +22 -0
- package/dist/src/activityImportance.js.map +1 -0
- package/dist/src/activityTypes.d.ts +33 -0
- package/dist/src/activityTypes.js +58 -0
- package/dist/src/activityTypes.js.map +1 -0
- package/dist/src/attachment/attachment.d.ts +37 -0
- package/dist/src/attachment/attachment.js +19 -0
- package/dist/src/attachment/attachment.js.map +1 -0
- package/dist/src/attachment/attachmentLayoutTypes.d.ts +16 -0
- package/dist/src/attachment/attachmentLayoutTypes.js +21 -0
- package/dist/src/attachment/attachmentLayoutTypes.js.map +1 -0
- package/dist/src/callerIdConstants.d.ts +21 -0
- package/dist/src/callerIdConstants.js +25 -0
- package/dist/src/callerIdConstants.js.map +1 -0
- package/dist/src/conversation/channelAccount.d.ts +38 -0
- package/dist/src/conversation/channelAccount.js +20 -0
- package/dist/src/conversation/channelAccount.js.map +1 -0
- package/dist/src/conversation/channels.d.ts +28 -0
- package/dist/src/conversation/channels.js +33 -0
- package/dist/src/conversation/channels.js.map +1 -0
- package/dist/src/conversation/conversationAccount.d.ts +50 -0
- package/dist/src/conversation/conversationAccount.js +23 -0
- package/dist/src/conversation/conversationAccount.js.map +1 -0
- package/dist/src/conversation/conversationReference.d.ts +152 -0
- package/dist/src/conversation/conversationReference.js +23 -0
- package/dist/src/conversation/conversationReference.js.map +1 -0
- package/dist/src/conversation/endOfConversationCodes.d.ts +20 -0
- package/dist/src/conversation/endOfConversationCodes.js +25 -0
- package/dist/src/conversation/endOfConversationCodes.js.map +1 -0
- package/dist/src/conversation/roleTypes.d.ts +17 -0
- package/dist/src/conversation/roleTypes.js +22 -0
- package/dist/src/conversation/roleTypes.js.map +1 -0
- package/dist/src/deliveryModes.d.ts +18 -0
- package/dist/src/deliveryModes.js +23 -0
- package/dist/src/deliveryModes.js.map +1 -0
- package/dist/src/entity/entity.d.ts +28 -0
- package/dist/src/entity/entity.js +15 -0
- package/dist/src/entity/entity.js.map +1 -0
- package/dist/src/entity/geoCoordinates.d.ts +29 -0
- package/dist/src/entity/geoCoordinates.js +7 -0
- package/dist/src/entity/geoCoordinates.js.map +1 -0
- package/dist/src/entity/mention.d.ts +22 -0
- package/dist/src/entity/mention.js +7 -0
- package/dist/src/entity/mention.js.map +1 -0
- package/dist/src/entity/place.d.ts +29 -0
- package/dist/src/entity/place.js +7 -0
- package/dist/src/entity/place.js.map +1 -0
- package/dist/src/entity/thing.d.ts +17 -0
- package/dist/src/entity/thing.js +7 -0
- package/dist/src/entity/thing.js.map +1 -0
- package/dist/src/expectedReplies.d.ts +14 -0
- package/dist/src/expectedReplies.js +7 -0
- package/dist/src/expectedReplies.js.map +1 -0
- package/dist/src/index.d.ts +38 -0
- package/dist/src/index.js +57 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/inputHints.d.ts +17 -0
- package/dist/src/inputHints.js +22 -0
- package/dist/src/inputHints.js.map +1 -0
- package/dist/src/invoke/adaptiveCardInvokeAction.d.ts +45 -0
- package/dist/src/invoke/adaptiveCardInvokeAction.js +18 -0
- package/dist/src/invoke/adaptiveCardInvokeAction.js.map +1 -0
- package/dist/src/messageReaction.d.ts +25 -0
- package/dist/src/messageReaction.js +16 -0
- package/dist/src/messageReaction.js.map +1 -0
- package/dist/src/messageReactionTypes.d.ts +16 -0
- package/dist/src/messageReactionTypes.js +21 -0
- package/dist/src/messageReactionTypes.js.map +1 -0
- package/dist/src/textFormatTypes.d.ts +17 -0
- package/dist/src/textFormatTypes.js +22 -0
- package/dist/src/textFormatTypes.js.map +1 -0
- package/dist/src/textHighlight.d.ts +31 -0
- package/dist/src/textHighlight.js +16 -0
- package/dist/src/textHighlight.js.map +1 -0
- package/package.json +44 -0
- package/src/action/actionTypes.ts +28 -0
- package/src/action/cardAction.ts +59 -0
- package/src/action/semanticAction.ts +35 -0
- package/src/action/semanticActionStateTypes.ts +20 -0
- package/src/action/suggestedActions.ts +29 -0
- package/src/activity.ts +334 -0
- package/src/activityEventNames.ts +19 -0
- package/src/activityImportance.ts +20 -0
- package/src/activityTypes.ts +56 -0
- package/src/attachment/attachment.ts +28 -0
- package/src/attachment/attachmentLayoutTypes.ts +19 -0
- package/src/callerIdConstants.ts +22 -0
- package/src/conversation/channelAccount.ts +29 -0
- package/src/conversation/channels.ts +29 -0
- package/src/conversation/conversationAccount.ts +35 -0
- package/src/conversation/conversationReference.ts +34 -0
- package/src/conversation/endOfConversationCodes.ts +23 -0
- package/src/conversation/roleTypes.ts +20 -0
- package/src/deliveryModes.ts +21 -0
- package/src/entity/entity.ts +27 -0
- package/src/entity/geoCoordinates.ts +30 -0
- package/src/entity/mention.ts +24 -0
- package/src/entity/place.ts +30 -0
- package/src/entity/thing.ts +18 -0
- package/src/expectedReplies.ts +16 -0
- package/src/index.ts +44 -0
- package/src/inputHints.ts +20 -0
- package/src/invoke/adaptiveCardInvokeAction.ts +38 -0
- package/src/messageReaction.ts +24 -0
- package/src/messageReactionTypes.ts +19 -0
- package/src/textFormatTypes.ts +20 -0
- package/src/textHighlight.ts +28 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright(c) Microsoft Corporation.All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
import { RoleTypes } from './roleTypes';
|
|
7
|
+
/**
|
|
8
|
+
* Interface representing a channel account.
|
|
9
|
+
*/
|
|
10
|
+
export interface ChannelAccount {
|
|
11
|
+
id?: string;
|
|
12
|
+
name?: string;
|
|
13
|
+
aadObjectId?: string;
|
|
14
|
+
role?: RoleTypes | string;
|
|
15
|
+
properties?: unknown;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Zod schema for validating a channel account.
|
|
19
|
+
*/
|
|
20
|
+
export declare const channelAccountZodSchema: z.ZodObject<{
|
|
21
|
+
id: z.ZodOptional<z.ZodString>;
|
|
22
|
+
name: z.ZodOptional<z.ZodString>;
|
|
23
|
+
aadObjectId: z.ZodOptional<z.ZodString>;
|
|
24
|
+
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["user", "bot", "skill"]>, z.ZodString]>>;
|
|
25
|
+
properties: z.ZodOptional<z.ZodUnknown>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
id?: string | undefined;
|
|
28
|
+
name?: string | undefined;
|
|
29
|
+
aadObjectId?: string | undefined;
|
|
30
|
+
role?: string | undefined;
|
|
31
|
+
properties?: unknown;
|
|
32
|
+
}, {
|
|
33
|
+
id?: string | undefined;
|
|
34
|
+
name?: string | undefined;
|
|
35
|
+
aadObjectId?: string | undefined;
|
|
36
|
+
role?: string | undefined;
|
|
37
|
+
properties?: unknown;
|
|
38
|
+
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright(c) Microsoft Corporation.All rights reserved.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.channelAccountZodSchema = void 0;
|
|
8
|
+
const zod_1 = require("zod");
|
|
9
|
+
const roleTypes_1 = require("./roleTypes");
|
|
10
|
+
/**
|
|
11
|
+
* Zod schema for validating a channel account.
|
|
12
|
+
*/
|
|
13
|
+
exports.channelAccountZodSchema = zod_1.z.object({
|
|
14
|
+
id: zod_1.z.string().min(1).optional(),
|
|
15
|
+
name: zod_1.z.string().optional(),
|
|
16
|
+
aadObjectId: zod_1.z.string().min(1).optional(),
|
|
17
|
+
role: zod_1.z.union([roleTypes_1.roleTypeZodSchema, zod_1.z.string().min(1)]).optional(),
|
|
18
|
+
properties: zod_1.z.unknown().optional()
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=channelAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"channelAccount.js","sourceRoot":"","sources":["../../../src/conversation/channelAccount.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,6BAAuB;AACvB,2CAA0D;AAa1D;;GAEG;AACU,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAChC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACzC,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,6BAAiB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAChE,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright(c) Microsoft Corporation.All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Enum representing the different channels an agent can communicate through.
|
|
7
|
+
*/
|
|
8
|
+
export declare enum Channels {
|
|
9
|
+
Alexa = "alexa",
|
|
10
|
+
Console = "console",
|
|
11
|
+
Directline = "directline",
|
|
12
|
+
DirectlineSpeech = "directlinespeech",
|
|
13
|
+
Email = "email",
|
|
14
|
+
Emulator = "emulator",
|
|
15
|
+
Facebook = "facebook",
|
|
16
|
+
Groupme = "groupme",
|
|
17
|
+
Line = "line",
|
|
18
|
+
Msteams = "msteams",
|
|
19
|
+
Omni = "omnichannel",
|
|
20
|
+
Outlook = "outlook",
|
|
21
|
+
Skype = "skype",
|
|
22
|
+
Slack = "slack",
|
|
23
|
+
Sms = "sms",
|
|
24
|
+
Telegram = "telegram",
|
|
25
|
+
Telephony = "telephony",
|
|
26
|
+
Test = "test",
|
|
27
|
+
Webchat = "webchat"
|
|
28
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright(c) Microsoft Corporation.All rights reserved.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.Channels = void 0;
|
|
8
|
+
/**
|
|
9
|
+
* Enum representing the different channels an agent can communicate through.
|
|
10
|
+
*/
|
|
11
|
+
var Channels;
|
|
12
|
+
(function (Channels) {
|
|
13
|
+
Channels["Alexa"] = "alexa";
|
|
14
|
+
Channels["Console"] = "console";
|
|
15
|
+
Channels["Directline"] = "directline";
|
|
16
|
+
Channels["DirectlineSpeech"] = "directlinespeech";
|
|
17
|
+
Channels["Email"] = "email";
|
|
18
|
+
Channels["Emulator"] = "emulator";
|
|
19
|
+
Channels["Facebook"] = "facebook";
|
|
20
|
+
Channels["Groupme"] = "groupme";
|
|
21
|
+
Channels["Line"] = "line";
|
|
22
|
+
Channels["Msteams"] = "msteams";
|
|
23
|
+
Channels["Omni"] = "omnichannel";
|
|
24
|
+
Channels["Outlook"] = "outlook";
|
|
25
|
+
Channels["Skype"] = "skype";
|
|
26
|
+
Channels["Slack"] = "slack";
|
|
27
|
+
Channels["Sms"] = "sms";
|
|
28
|
+
Channels["Telegram"] = "telegram";
|
|
29
|
+
Channels["Telephony"] = "telephony";
|
|
30
|
+
Channels["Test"] = "test";
|
|
31
|
+
Channels["Webchat"] = "webchat";
|
|
32
|
+
})(Channels || (exports.Channels = Channels = {}));
|
|
33
|
+
//# sourceMappingURL=channels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"channels.js","sourceRoot":"","sources":["../../../src/conversation/channels.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;GAEG;AACH,IAAY,QAoBX;AApBD,WAAY,QAAQ;IAClB,2BAAe,CAAA;IACf,+BAAmB,CAAA;IACnB,qCAAyB,CAAA;IACzB,iDAAqC,CAAA;IACrC,2BAAe,CAAA;IACf,iCAAqB,CAAA;IACrB,iCAAqB,CAAA;IACrB,+BAAmB,CAAA;IACnB,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,gCAAoB,CAAA;IACpB,+BAAmB,CAAA;IACnB,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,uBAAW,CAAA;IACX,iCAAqB,CAAA;IACrB,mCAAuB,CAAA;IACvB,yBAAa,CAAA;IACb,+BAAmB,CAAA;AACrB,CAAC,EApBW,QAAQ,wBAAR,QAAQ,QAoBnB"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright(c) Microsoft Corporation.All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
import { RoleTypes } from './roleTypes';
|
|
7
|
+
/**
|
|
8
|
+
* Interface representing a conversation account.
|
|
9
|
+
*/
|
|
10
|
+
export interface ConversationAccount {
|
|
11
|
+
id: string;
|
|
12
|
+
conversationType?: string;
|
|
13
|
+
tenantId?: string;
|
|
14
|
+
isGroup?: boolean;
|
|
15
|
+
name?: string;
|
|
16
|
+
aadObjectId?: string;
|
|
17
|
+
role?: RoleTypes | string;
|
|
18
|
+
properties?: unknown;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Zod schema for validating a conversation account.
|
|
22
|
+
*/
|
|
23
|
+
export declare const conversationAccountZodSchema: z.ZodObject<{
|
|
24
|
+
isGroup: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
+
conversationType: z.ZodOptional<z.ZodString>;
|
|
26
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
27
|
+
id: z.ZodString;
|
|
28
|
+
name: z.ZodOptional<z.ZodString>;
|
|
29
|
+
aadObjectId: z.ZodOptional<z.ZodString>;
|
|
30
|
+
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["user", "bot", "skill"]>, z.ZodString]>>;
|
|
31
|
+
properties: z.ZodOptional<z.ZodUnknown>;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
id: string;
|
|
34
|
+
name?: string | undefined;
|
|
35
|
+
aadObjectId?: string | undefined;
|
|
36
|
+
role?: string | undefined;
|
|
37
|
+
properties?: unknown;
|
|
38
|
+
isGroup?: boolean | undefined;
|
|
39
|
+
conversationType?: string | undefined;
|
|
40
|
+
tenantId?: string | undefined;
|
|
41
|
+
}, {
|
|
42
|
+
id: string;
|
|
43
|
+
name?: string | undefined;
|
|
44
|
+
aadObjectId?: string | undefined;
|
|
45
|
+
role?: string | undefined;
|
|
46
|
+
properties?: unknown;
|
|
47
|
+
isGroup?: boolean | undefined;
|
|
48
|
+
conversationType?: string | undefined;
|
|
49
|
+
tenantId?: string | undefined;
|
|
50
|
+
}>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright(c) Microsoft Corporation.All rights reserved.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.conversationAccountZodSchema = void 0;
|
|
8
|
+
const zod_1 = require("zod");
|
|
9
|
+
const roleTypes_1 = require("./roleTypes");
|
|
10
|
+
/**
|
|
11
|
+
* Zod schema for validating a conversation account.
|
|
12
|
+
*/
|
|
13
|
+
exports.conversationAccountZodSchema = zod_1.z.object({
|
|
14
|
+
isGroup: zod_1.z.boolean().optional(),
|
|
15
|
+
conversationType: zod_1.z.string().min(1).optional(),
|
|
16
|
+
tenantId: zod_1.z.string().min(1).optional(),
|
|
17
|
+
id: zod_1.z.string().min(1),
|
|
18
|
+
name: zod_1.z.string().min(1).optional(),
|
|
19
|
+
aadObjectId: zod_1.z.string().min(1).optional(),
|
|
20
|
+
role: zod_1.z.union([roleTypes_1.roleTypeZodSchema, zod_1.z.string().min(1)]).optional(),
|
|
21
|
+
properties: zod_1.z.unknown().optional()
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=conversationAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversationAccount.js","sourceRoot":"","sources":["../../../src/conversation/conversationAccount.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,6BAAuB;AACvB,2CAA0D;AAgB1D;;GAEG;AACU,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC9C,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACtC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACrB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAClC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACzC,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,6BAAiB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAChE,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAA"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright(c) Microsoft Corporation.All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
import { ChannelAccount } from './channelAccount';
|
|
7
|
+
import { ConversationAccount } from './conversationAccount';
|
|
8
|
+
/**
|
|
9
|
+
* Interface representing a reference to a conversation.
|
|
10
|
+
*/
|
|
11
|
+
export interface ConversationReference {
|
|
12
|
+
activityId?: string;
|
|
13
|
+
user?: ChannelAccount;
|
|
14
|
+
locale?: string;
|
|
15
|
+
bot?: ChannelAccount | undefined | null;
|
|
16
|
+
conversation: ConversationAccount;
|
|
17
|
+
channelId: string;
|
|
18
|
+
serviceUrl?: string | undefined;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Zod schema for validating a conversation reference.
|
|
22
|
+
*/
|
|
23
|
+
export declare const conversationReferenceZodSchema: z.ZodObject<{
|
|
24
|
+
activityId: z.ZodOptional<z.ZodString>;
|
|
25
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
26
|
+
id: z.ZodOptional<z.ZodString>;
|
|
27
|
+
name: z.ZodOptional<z.ZodString>;
|
|
28
|
+
aadObjectId: z.ZodOptional<z.ZodString>;
|
|
29
|
+
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["user", "bot", "skill"]>, z.ZodString]>>;
|
|
30
|
+
properties: z.ZodOptional<z.ZodUnknown>;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
id?: string | undefined;
|
|
33
|
+
name?: string | undefined;
|
|
34
|
+
aadObjectId?: string | undefined;
|
|
35
|
+
role?: string | undefined;
|
|
36
|
+
properties?: unknown;
|
|
37
|
+
}, {
|
|
38
|
+
id?: string | undefined;
|
|
39
|
+
name?: string | undefined;
|
|
40
|
+
aadObjectId?: string | undefined;
|
|
41
|
+
role?: string | undefined;
|
|
42
|
+
properties?: unknown;
|
|
43
|
+
}>>;
|
|
44
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
45
|
+
bot: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
46
|
+
id: z.ZodOptional<z.ZodString>;
|
|
47
|
+
name: z.ZodOptional<z.ZodString>;
|
|
48
|
+
aadObjectId: z.ZodOptional<z.ZodString>;
|
|
49
|
+
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["user", "bot", "skill"]>, z.ZodString]>>;
|
|
50
|
+
properties: z.ZodOptional<z.ZodUnknown>;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
id?: string | undefined;
|
|
53
|
+
name?: string | undefined;
|
|
54
|
+
aadObjectId?: string | undefined;
|
|
55
|
+
role?: string | undefined;
|
|
56
|
+
properties?: unknown;
|
|
57
|
+
}, {
|
|
58
|
+
id?: string | undefined;
|
|
59
|
+
name?: string | undefined;
|
|
60
|
+
aadObjectId?: string | undefined;
|
|
61
|
+
role?: string | undefined;
|
|
62
|
+
properties?: unknown;
|
|
63
|
+
}>>>;
|
|
64
|
+
conversation: z.ZodObject<{
|
|
65
|
+
isGroup: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
+
conversationType: z.ZodOptional<z.ZodString>;
|
|
67
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
68
|
+
id: z.ZodString;
|
|
69
|
+
name: z.ZodOptional<z.ZodString>;
|
|
70
|
+
aadObjectId: z.ZodOptional<z.ZodString>;
|
|
71
|
+
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["user", "bot", "skill"]>, z.ZodString]>>;
|
|
72
|
+
properties: z.ZodOptional<z.ZodUnknown>;
|
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
|
74
|
+
id: string;
|
|
75
|
+
name?: string | undefined;
|
|
76
|
+
aadObjectId?: string | undefined;
|
|
77
|
+
role?: string | undefined;
|
|
78
|
+
properties?: unknown;
|
|
79
|
+
isGroup?: boolean | undefined;
|
|
80
|
+
conversationType?: string | undefined;
|
|
81
|
+
tenantId?: string | undefined;
|
|
82
|
+
}, {
|
|
83
|
+
id: string;
|
|
84
|
+
name?: string | undefined;
|
|
85
|
+
aadObjectId?: string | undefined;
|
|
86
|
+
role?: string | undefined;
|
|
87
|
+
properties?: unknown;
|
|
88
|
+
isGroup?: boolean | undefined;
|
|
89
|
+
conversationType?: string | undefined;
|
|
90
|
+
tenantId?: string | undefined;
|
|
91
|
+
}>;
|
|
92
|
+
channelId: z.ZodString;
|
|
93
|
+
serviceUrl: z.ZodOptional<z.ZodString>;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
conversation: {
|
|
96
|
+
id: string;
|
|
97
|
+
name?: string | undefined;
|
|
98
|
+
aadObjectId?: string | undefined;
|
|
99
|
+
role?: string | undefined;
|
|
100
|
+
properties?: unknown;
|
|
101
|
+
isGroup?: boolean | undefined;
|
|
102
|
+
conversationType?: string | undefined;
|
|
103
|
+
tenantId?: string | undefined;
|
|
104
|
+
};
|
|
105
|
+
channelId: string;
|
|
106
|
+
user?: {
|
|
107
|
+
id?: string | undefined;
|
|
108
|
+
name?: string | undefined;
|
|
109
|
+
aadObjectId?: string | undefined;
|
|
110
|
+
role?: string | undefined;
|
|
111
|
+
properties?: unknown;
|
|
112
|
+
} | undefined;
|
|
113
|
+
bot?: {
|
|
114
|
+
id?: string | undefined;
|
|
115
|
+
name?: string | undefined;
|
|
116
|
+
aadObjectId?: string | undefined;
|
|
117
|
+
role?: string | undefined;
|
|
118
|
+
properties?: unknown;
|
|
119
|
+
} | null | undefined;
|
|
120
|
+
activityId?: string | undefined;
|
|
121
|
+
locale?: string | undefined;
|
|
122
|
+
serviceUrl?: string | undefined;
|
|
123
|
+
}, {
|
|
124
|
+
conversation: {
|
|
125
|
+
id: string;
|
|
126
|
+
name?: string | undefined;
|
|
127
|
+
aadObjectId?: string | undefined;
|
|
128
|
+
role?: string | undefined;
|
|
129
|
+
properties?: unknown;
|
|
130
|
+
isGroup?: boolean | undefined;
|
|
131
|
+
conversationType?: string | undefined;
|
|
132
|
+
tenantId?: string | undefined;
|
|
133
|
+
};
|
|
134
|
+
channelId: string;
|
|
135
|
+
user?: {
|
|
136
|
+
id?: string | undefined;
|
|
137
|
+
name?: string | undefined;
|
|
138
|
+
aadObjectId?: string | undefined;
|
|
139
|
+
role?: string | undefined;
|
|
140
|
+
properties?: unknown;
|
|
141
|
+
} | undefined;
|
|
142
|
+
bot?: {
|
|
143
|
+
id?: string | undefined;
|
|
144
|
+
name?: string | undefined;
|
|
145
|
+
aadObjectId?: string | undefined;
|
|
146
|
+
role?: string | undefined;
|
|
147
|
+
properties?: unknown;
|
|
148
|
+
} | null | undefined;
|
|
149
|
+
activityId?: string | undefined;
|
|
150
|
+
locale?: string | undefined;
|
|
151
|
+
serviceUrl?: string | undefined;
|
|
152
|
+
}>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright(c) Microsoft Corporation.All rights reserved.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.conversationReferenceZodSchema = void 0;
|
|
8
|
+
const zod_1 = require("zod");
|
|
9
|
+
const channelAccount_1 = require("./channelAccount");
|
|
10
|
+
const conversationAccount_1 = require("./conversationAccount");
|
|
11
|
+
/**
|
|
12
|
+
* Zod schema for validating a conversation reference.
|
|
13
|
+
*/
|
|
14
|
+
exports.conversationReferenceZodSchema = zod_1.z.object({
|
|
15
|
+
activityId: zod_1.z.string().min(1).optional(),
|
|
16
|
+
user: channelAccount_1.channelAccountZodSchema.optional(),
|
|
17
|
+
locale: zod_1.z.string().min(1).optional(),
|
|
18
|
+
bot: channelAccount_1.channelAccountZodSchema.optional().nullable(),
|
|
19
|
+
conversation: conversationAccount_1.conversationAccountZodSchema,
|
|
20
|
+
channelId: zod_1.z.string().min(1),
|
|
21
|
+
serviceUrl: zod_1.z.string().min(1).optional()
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=conversationReference.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversationReference.js","sourceRoot":"","sources":["../../../src/conversation/conversationReference.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,6BAAuB;AACvB,qDAA0E;AAC1E,+DAAyF;AAezF;;GAEG;AACU,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACxC,IAAI,EAAE,wCAAuB,CAAC,QAAQ,EAAE;IACxC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACpC,GAAG,EAAE,wCAAuB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAClD,YAAY,EAAE,kDAA4B;IAC1C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright(c) Microsoft Corporation.All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
/**
|
|
7
|
+
* Enum representing the different end of conversation codes.
|
|
8
|
+
*/
|
|
9
|
+
export declare enum EndOfConversationCodes {
|
|
10
|
+
Unknown = "unknown",
|
|
11
|
+
CompletedSuccessfully = "completedSuccessfully",
|
|
12
|
+
UserCancelled = "userCancelled",
|
|
13
|
+
BotTimedOut = "botTimedOut",
|
|
14
|
+
BotIssuedInvalidMessage = "botIssuedInvalidMessage",
|
|
15
|
+
ChannelFailed = "channelFailed"
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Zod schema for validating end of conversation codes.
|
|
19
|
+
*/
|
|
20
|
+
export declare const endOfConversationCodesZodSchema: z.ZodEnum<["unknown", "completedSuccessfully", "userCancelled", "botTimedOut", "botIssuedInvalidMessage", "channelFailed"]>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright(c) Microsoft Corporation.All rights reserved.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.endOfConversationCodesZodSchema = exports.EndOfConversationCodes = void 0;
|
|
8
|
+
const zod_1 = require("zod");
|
|
9
|
+
/**
|
|
10
|
+
* Enum representing the different end of conversation codes.
|
|
11
|
+
*/
|
|
12
|
+
var EndOfConversationCodes;
|
|
13
|
+
(function (EndOfConversationCodes) {
|
|
14
|
+
EndOfConversationCodes["Unknown"] = "unknown";
|
|
15
|
+
EndOfConversationCodes["CompletedSuccessfully"] = "completedSuccessfully";
|
|
16
|
+
EndOfConversationCodes["UserCancelled"] = "userCancelled";
|
|
17
|
+
EndOfConversationCodes["BotTimedOut"] = "botTimedOut";
|
|
18
|
+
EndOfConversationCodes["BotIssuedInvalidMessage"] = "botIssuedInvalidMessage";
|
|
19
|
+
EndOfConversationCodes["ChannelFailed"] = "channelFailed";
|
|
20
|
+
})(EndOfConversationCodes || (exports.EndOfConversationCodes = EndOfConversationCodes = {}));
|
|
21
|
+
/**
|
|
22
|
+
* Zod schema for validating end of conversation codes.
|
|
23
|
+
*/
|
|
24
|
+
exports.endOfConversationCodesZodSchema = zod_1.z.enum(['unknown', 'completedSuccessfully', 'userCancelled', 'botTimedOut', 'botIssuedInvalidMessage', 'channelFailed']);
|
|
25
|
+
//# sourceMappingURL=endOfConversationCodes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endOfConversationCodes.js","sourceRoot":"","sources":["../../../src/conversation/endOfConversationCodes.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,6BAAuB;AAEvB;;GAEG;AACH,IAAY,sBAOX;AAPD,WAAY,sBAAsB;IAChC,6CAAmB,CAAA;IACnB,yEAA+C,CAAA;IAC/C,yDAA+B,CAAA;IAC/B,qDAA2B,CAAA;IAC3B,6EAAmD,CAAA;IACnD,yDAA+B,CAAA;AACjC,CAAC,EAPW,sBAAsB,sCAAtB,sBAAsB,QAOjC;AAED;;GAEG;AACU,QAAA,+BAA+B,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,uBAAuB,EAAE,eAAe,EAAE,aAAa,EAAE,yBAAyB,EAAE,eAAe,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright(c) Microsoft Corporation.All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
/**
|
|
7
|
+
* Enum representing the different role types in a conversation.
|
|
8
|
+
*/
|
|
9
|
+
export declare enum RoleTypes {
|
|
10
|
+
User = "user",
|
|
11
|
+
Bot = "bot",
|
|
12
|
+
Skill = "skill"
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Zod schema for validating role types.
|
|
16
|
+
*/
|
|
17
|
+
export declare const roleTypeZodSchema: z.ZodEnum<["user", "bot", "skill"]>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright(c) Microsoft Corporation.All rights reserved.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.roleTypeZodSchema = exports.RoleTypes = void 0;
|
|
8
|
+
const zod_1 = require("zod");
|
|
9
|
+
/**
|
|
10
|
+
* Enum representing the different role types in a conversation.
|
|
11
|
+
*/
|
|
12
|
+
var RoleTypes;
|
|
13
|
+
(function (RoleTypes) {
|
|
14
|
+
RoleTypes["User"] = "user";
|
|
15
|
+
RoleTypes["Bot"] = "bot";
|
|
16
|
+
RoleTypes["Skill"] = "skill";
|
|
17
|
+
})(RoleTypes || (exports.RoleTypes = RoleTypes = {}));
|
|
18
|
+
/**
|
|
19
|
+
* Zod schema for validating role types.
|
|
20
|
+
*/
|
|
21
|
+
exports.roleTypeZodSchema = zod_1.z.enum(['user', 'bot', 'skill']);
|
|
22
|
+
//# sourceMappingURL=roleTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roleTypes.js","sourceRoot":"","sources":["../../../src/conversation/roleTypes.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,6BAAuB;AAEvB;;GAEG;AACH,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,0BAAa,CAAA;IACb,wBAAW,CAAA;IACX,4BAAe,CAAA;AACjB,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAED;;GAEG;AACU,QAAA,iBAAiB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
/**
|
|
7
|
+
* Enum representing delivery modes.
|
|
8
|
+
*/
|
|
9
|
+
export declare enum DeliveryModes {
|
|
10
|
+
Normal = "normal",
|
|
11
|
+
Notification = "notification",
|
|
12
|
+
ExpectReplies = "expectReplies",
|
|
13
|
+
Ephemeral = "ephemeral"
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Zod schema for validating a DeliveryModes enum.
|
|
17
|
+
*/
|
|
18
|
+
export declare const deliveryModesZodSchema: z.ZodEnum<["normal", "notification", "expectReplies", "ephemeral"]>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.deliveryModesZodSchema = exports.DeliveryModes = void 0;
|
|
8
|
+
const zod_1 = require("zod");
|
|
9
|
+
/**
|
|
10
|
+
* Enum representing delivery modes.
|
|
11
|
+
*/
|
|
12
|
+
var DeliveryModes;
|
|
13
|
+
(function (DeliveryModes) {
|
|
14
|
+
DeliveryModes["Normal"] = "normal";
|
|
15
|
+
DeliveryModes["Notification"] = "notification";
|
|
16
|
+
DeliveryModes["ExpectReplies"] = "expectReplies";
|
|
17
|
+
DeliveryModes["Ephemeral"] = "ephemeral";
|
|
18
|
+
})(DeliveryModes || (exports.DeliveryModes = DeliveryModes = {}));
|
|
19
|
+
/**
|
|
20
|
+
* Zod schema for validating a DeliveryModes enum.
|
|
21
|
+
*/
|
|
22
|
+
exports.deliveryModesZodSchema = zod_1.z.enum(['normal', 'notification', 'expectReplies', 'ephemeral']);
|
|
23
|
+
//# sourceMappingURL=deliveryModes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deliveryModes.js","sourceRoot":"","sources":["../../src/deliveryModes.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,6BAAuB;AAEvB;;GAEG;AACH,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,8CAA6B,CAAA;IAC7B,gDAA+B,CAAA;IAC/B,wCAAuB,CAAA;AACzB,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAED;;GAEG;AACU,QAAA,sBAAsB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,cAAc,EAAE,eAAe,EAAE,WAAW,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
/**
|
|
7
|
+
* Represents a generic Entity.
|
|
8
|
+
*/
|
|
9
|
+
export interface Entity {
|
|
10
|
+
/**
|
|
11
|
+
* The type of the entity.
|
|
12
|
+
*/
|
|
13
|
+
type: string;
|
|
14
|
+
/**
|
|
15
|
+
* Additional properties of the entity.
|
|
16
|
+
*/
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Zod schema for validating Entity objects.
|
|
21
|
+
*/
|
|
22
|
+
export declare const entityZodSchema: z.ZodObject<{
|
|
23
|
+
type: z.ZodString;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
type: string;
|
|
26
|
+
}, {
|
|
27
|
+
type: string;
|
|
28
|
+
}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.entityZodSchema = void 0;
|
|
8
|
+
const zod_1 = require("zod");
|
|
9
|
+
/**
|
|
10
|
+
* Zod schema for validating Entity objects.
|
|
11
|
+
*/
|
|
12
|
+
exports.entityZodSchema = zod_1.z.object({
|
|
13
|
+
type: zod_1.z.string().min(1)
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity.js","sourceRoot":"","sources":["../../../src/entity/entity.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,6BAAuB;AAgBvB;;GAEG;AACU,QAAA,eAAe,GAAG,OAAC,CAAC,MAAM,CAAC;IACtC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACxB,CAAC,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Represents geographical coordinates.
|
|
7
|
+
*/
|
|
8
|
+
export interface GeoCoordinates {
|
|
9
|
+
/**
|
|
10
|
+
* The elevation of the location.
|
|
11
|
+
*/
|
|
12
|
+
elevation: number;
|
|
13
|
+
/**
|
|
14
|
+
* The latitude of the location.
|
|
15
|
+
*/
|
|
16
|
+
latitude: number;
|
|
17
|
+
/**
|
|
18
|
+
* The longitude of the location.
|
|
19
|
+
*/
|
|
20
|
+
longitude: number;
|
|
21
|
+
/**
|
|
22
|
+
* The type of the geographical coordinates.
|
|
23
|
+
*/
|
|
24
|
+
type: string;
|
|
25
|
+
/**
|
|
26
|
+
* The name of the geographical coordinates.
|
|
27
|
+
*/
|
|
28
|
+
name: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geoCoordinates.js","sourceRoot":"","sources":["../../../src/entity/geoCoordinates.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { ChannelAccount } from '../conversation/channelAccount';
|
|
6
|
+
/**
|
|
7
|
+
* Represents a Mention entity.
|
|
8
|
+
*/
|
|
9
|
+
export interface Mention {
|
|
10
|
+
/**
|
|
11
|
+
* The account that is mentioned.
|
|
12
|
+
*/
|
|
13
|
+
mentioned: ChannelAccount;
|
|
14
|
+
/**
|
|
15
|
+
* The text of the mention.
|
|
16
|
+
*/
|
|
17
|
+
text: string;
|
|
18
|
+
/**
|
|
19
|
+
* The type of the mention.
|
|
20
|
+
*/
|
|
21
|
+
type: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mention.js","sourceRoot":"","sources":["../../../src/entity/mention.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|