@microsoft/agents-activity 1.10.1 → 1.11.0-beta.2.g7511806a43
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/dist/src/action/actionTypes.d.ts +12 -1
- package/dist/src/action/cardAction.d.ts +13 -20
- package/dist/src/action/semanticAction.d.ts +7 -19
- package/dist/src/action/semanticAction.js +1 -1
- package/dist/src/action/semanticAction.js.map +1 -1
- package/dist/src/action/semanticActionStateTypes.d.ts +5 -1
- package/dist/src/action/suggestedActions.d.ts +15 -46
- package/dist/src/activity.d.ts +162 -686
- package/dist/src/activityEventNames.d.ts +4 -1
- package/dist/src/activityImportance.d.ts +5 -1
- package/dist/src/activityTypes.d.ts +20 -1
- package/dist/src/attachment/attachment.d.ts +1 -13
- package/dist/src/attachment/attachmentLayoutTypes.d.ts +4 -1
- package/dist/src/conversation/channelAccount.d.ts +8 -22
- package/dist/src/conversation/conversationAccount.d.ts +8 -20
- package/dist/src/conversation/conversationReference.d.ts +25 -139
- package/dist/src/conversation/endOfConversationCodes.d.ts +8 -1
- package/dist/src/conversation/roleTypes.d.ts +7 -1
- package/dist/src/deliveryModes.d.ts +6 -1
- package/dist/src/entity/entity.d.ts +1 -5
- package/dist/src/inputHints.d.ts +5 -1
- package/dist/src/invoke/adaptiveCardInvokeAction.d.ts +1 -11
- package/dist/src/messageReaction.d.ts +5 -6
- package/dist/src/messageReactionTypes.d.ts +4 -1
- package/dist/src/textFormatTypes.d.ts +5 -1
- package/dist/src/textHighlight.d.ts +1 -7
- package/package.json +2 -2
- package/src/action/semanticAction.ts +1 -1
|
@@ -19,4 +19,7 @@ export declare enum ActivityEventNames {
|
|
|
19
19
|
/**
|
|
20
20
|
* Zod schema for validating an ActivityEventNames enum.
|
|
21
21
|
*/
|
|
22
|
-
export declare const activityEventNamesZodSchema: z.ZodEnum<
|
|
22
|
+
export declare const activityEventNamesZodSchema: z.ZodEnum<{
|
|
23
|
+
ContinueConversation: "ContinueConversation";
|
|
24
|
+
CreateConversation: "CreateConversation";
|
|
25
|
+
}>;
|
|
@@ -23,4 +23,8 @@ export declare enum ActivityImportance {
|
|
|
23
23
|
/**
|
|
24
24
|
* Zod schema for validating an ActivityImportance enum.
|
|
25
25
|
*/
|
|
26
|
-
export declare const activityImportanceZodSchema: z.ZodEnum<
|
|
26
|
+
export declare const activityImportanceZodSchema: z.ZodEnum<{
|
|
27
|
+
high: "high";
|
|
28
|
+
low: "low";
|
|
29
|
+
normal: "normal";
|
|
30
|
+
}>;
|
|
@@ -83,4 +83,23 @@ export declare enum ActivityTypes {
|
|
|
83
83
|
/**
|
|
84
84
|
* Zod schema for validating an ActivityTypes enum.
|
|
85
85
|
*/
|
|
86
|
-
export declare const activityTypesZodSchema: z.ZodEnum<
|
|
86
|
+
export declare const activityTypesZodSchema: z.ZodEnum<{
|
|
87
|
+
command: "command";
|
|
88
|
+
commandResult: "commandResult";
|
|
89
|
+
contactRelationUpdate: "contactRelationUpdate";
|
|
90
|
+
conversationUpdate: "conversationUpdate";
|
|
91
|
+
deleteUserData: "deleteUserData";
|
|
92
|
+
endOfConversation: "endOfConversation";
|
|
93
|
+
event: "event";
|
|
94
|
+
handoff: "handoff";
|
|
95
|
+
installationUpdate: "installationUpdate";
|
|
96
|
+
invoke: "invoke";
|
|
97
|
+
invokeResponse: "invokeResponse";
|
|
98
|
+
message: "message";
|
|
99
|
+
messageDelete: "messageDelete";
|
|
100
|
+
messageReaction: "messageReaction";
|
|
101
|
+
messageUpdate: "messageUpdate";
|
|
102
|
+
suggestion: "suggestion";
|
|
103
|
+
trace: "trace";
|
|
104
|
+
typing: "typing";
|
|
105
|
+
}>;
|
|
@@ -37,16 +37,4 @@ export declare const attachmentZodSchema: z.ZodObject<{
|
|
|
37
37
|
content: z.ZodOptional<z.ZodUnknown>;
|
|
38
38
|
name: z.ZodOptional<z.ZodString>;
|
|
39
39
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
40
|
-
},
|
|
41
|
-
contentType: string;
|
|
42
|
-
contentUrl?: string | undefined;
|
|
43
|
-
content?: unknown;
|
|
44
|
-
name?: string | undefined;
|
|
45
|
-
thumbnailUrl?: string | undefined;
|
|
46
|
-
}, {
|
|
47
|
-
contentType: string;
|
|
48
|
-
contentUrl?: string | undefined;
|
|
49
|
-
content?: unknown;
|
|
50
|
-
name?: string | undefined;
|
|
51
|
-
thumbnailUrl?: string | undefined;
|
|
52
|
-
}>;
|
|
40
|
+
}, z.core.$strip>;
|
|
@@ -19,4 +19,7 @@ export declare enum AttachmentLayoutTypes {
|
|
|
19
19
|
/**
|
|
20
20
|
* Zod schema for validating attachment layout types.
|
|
21
21
|
*/
|
|
22
|
-
export declare const attachmentLayoutTypesZodSchema: z.ZodEnum<
|
|
22
|
+
export declare const attachmentLayoutTypesZodSchema: z.ZodEnum<{
|
|
23
|
+
carousel: "carousel";
|
|
24
|
+
list: "list";
|
|
25
|
+
}>;
|
|
@@ -61,26 +61,12 @@ export declare const channelAccountZodSchema: z.ZodObject<{
|
|
|
61
61
|
agenticUserId: z.ZodOptional<z.ZodString>;
|
|
62
62
|
agenticAppId: z.ZodOptional<z.ZodString>;
|
|
63
63
|
agenticAppBlueprintId: z.ZodOptional<z.ZodString>;
|
|
64
|
-
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<
|
|
64
|
+
role: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
65
|
+
agenticAppInstance: "agenticAppInstance";
|
|
66
|
+
agenticUser: "agenticUser";
|
|
67
|
+
bot: "bot";
|
|
68
|
+
skill: "skill";
|
|
69
|
+
user: "user";
|
|
70
|
+
}>, z.ZodString]>>;
|
|
65
71
|
properties: z.ZodOptional<z.ZodUnknown>;
|
|
66
|
-
},
|
|
67
|
-
id: z.ZodOptional<z.ZodString>;
|
|
68
|
-
name: z.ZodOptional<z.ZodString>;
|
|
69
|
-
aadObjectId: z.ZodOptional<z.ZodString>;
|
|
70
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
71
|
-
agenticUserId: z.ZodOptional<z.ZodString>;
|
|
72
|
-
agenticAppId: z.ZodOptional<z.ZodString>;
|
|
73
|
-
agenticAppBlueprintId: z.ZodOptional<z.ZodString>;
|
|
74
|
-
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["user", "bot", "skill", "agenticAppInstance", "agenticUser"]>, z.ZodString]>>;
|
|
75
|
-
properties: z.ZodOptional<z.ZodUnknown>;
|
|
76
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
77
|
-
id: z.ZodOptional<z.ZodString>;
|
|
78
|
-
name: z.ZodOptional<z.ZodString>;
|
|
79
|
-
aadObjectId: z.ZodOptional<z.ZodString>;
|
|
80
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
81
|
-
agenticUserId: z.ZodOptional<z.ZodString>;
|
|
82
|
-
agenticAppId: z.ZodOptional<z.ZodString>;
|
|
83
|
-
agenticAppBlueprintId: z.ZodOptional<z.ZodString>;
|
|
84
|
-
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["user", "bot", "skill", "agenticAppInstance", "agenticUser"]>, z.ZodString]>>;
|
|
85
|
-
properties: z.ZodOptional<z.ZodUnknown>;
|
|
86
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
72
|
+
}, z.core.$loose>;
|
|
@@ -51,24 +51,12 @@ export declare const conversationAccountZodSchema: z.ZodObject<{
|
|
|
51
51
|
id: z.ZodString;
|
|
52
52
|
name: z.ZodOptional<z.ZodString>;
|
|
53
53
|
aadObjectId: z.ZodOptional<z.ZodString>;
|
|
54
|
-
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<
|
|
54
|
+
role: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
55
|
+
agenticAppInstance: "agenticAppInstance";
|
|
56
|
+
agenticUser: "agenticUser";
|
|
57
|
+
bot: "bot";
|
|
58
|
+
skill: "skill";
|
|
59
|
+
user: "user";
|
|
60
|
+
}>, z.ZodString]>>;
|
|
55
61
|
properties: z.ZodOptional<z.ZodUnknown>;
|
|
56
|
-
},
|
|
57
|
-
isGroup?: boolean | undefined;
|
|
58
|
-
conversationType?: string | undefined;
|
|
59
|
-
tenantId?: string | undefined;
|
|
60
|
-
id: string;
|
|
61
|
-
name?: string | undefined;
|
|
62
|
-
aadObjectId?: string | undefined;
|
|
63
|
-
role?: string | undefined;
|
|
64
|
-
properties?: unknown;
|
|
65
|
-
}, {
|
|
66
|
-
isGroup?: boolean | undefined;
|
|
67
|
-
conversationType?: string | undefined;
|
|
68
|
-
tenantId?: string | undefined;
|
|
69
|
-
id: string;
|
|
70
|
-
name?: string | undefined;
|
|
71
|
-
aadObjectId?: string | undefined;
|
|
72
|
-
role?: string | undefined;
|
|
73
|
-
properties?: unknown;
|
|
74
|
-
}>;
|
|
62
|
+
}, z.core.$strip>;
|
|
@@ -51,29 +51,15 @@ export declare const conversationReferenceZodSchema: z.ZodObject<{
|
|
|
51
51
|
agenticUserId: z.ZodOptional<z.ZodString>;
|
|
52
52
|
agenticAppId: z.ZodOptional<z.ZodString>;
|
|
53
53
|
agenticAppBlueprintId: z.ZodOptional<z.ZodString>;
|
|
54
|
-
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<
|
|
54
|
+
role: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
55
|
+
agenticAppInstance: "agenticAppInstance";
|
|
56
|
+
agenticUser: "agenticUser";
|
|
57
|
+
bot: "bot";
|
|
58
|
+
skill: "skill";
|
|
59
|
+
user: "user";
|
|
60
|
+
}>, z.ZodString]>>;
|
|
55
61
|
properties: z.ZodOptional<z.ZodUnknown>;
|
|
56
|
-
},
|
|
57
|
-
id: z.ZodOptional<z.ZodString>;
|
|
58
|
-
name: z.ZodOptional<z.ZodString>;
|
|
59
|
-
aadObjectId: z.ZodOptional<z.ZodString>;
|
|
60
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
61
|
-
agenticUserId: z.ZodOptional<z.ZodString>;
|
|
62
|
-
agenticAppId: z.ZodOptional<z.ZodString>;
|
|
63
|
-
agenticAppBlueprintId: z.ZodOptional<z.ZodString>;
|
|
64
|
-
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["user", "bot", "skill", "agenticAppInstance", "agenticUser"]>, z.ZodString]>>;
|
|
65
|
-
properties: z.ZodOptional<z.ZodUnknown>;
|
|
66
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
67
|
-
id: z.ZodOptional<z.ZodString>;
|
|
68
|
-
name: z.ZodOptional<z.ZodString>;
|
|
69
|
-
aadObjectId: z.ZodOptional<z.ZodString>;
|
|
70
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
71
|
-
agenticUserId: z.ZodOptional<z.ZodString>;
|
|
72
|
-
agenticAppId: z.ZodOptional<z.ZodString>;
|
|
73
|
-
agenticAppBlueprintId: z.ZodOptional<z.ZodString>;
|
|
74
|
-
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["user", "bot", "skill", "agenticAppInstance", "agenticUser"]>, z.ZodString]>>;
|
|
75
|
-
properties: z.ZodOptional<z.ZodUnknown>;
|
|
76
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
62
|
+
}, z.core.$loose>>;
|
|
77
63
|
locale: z.ZodOptional<z.ZodString>;
|
|
78
64
|
agent: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
79
65
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -83,29 +69,15 @@ export declare const conversationReferenceZodSchema: z.ZodObject<{
|
|
|
83
69
|
agenticUserId: z.ZodOptional<z.ZodString>;
|
|
84
70
|
agenticAppId: z.ZodOptional<z.ZodString>;
|
|
85
71
|
agenticAppBlueprintId: z.ZodOptional<z.ZodString>;
|
|
86
|
-
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
agenticUserId: z.ZodOptional<z.ZodString>;
|
|
94
|
-
agenticAppId: z.ZodOptional<z.ZodString>;
|
|
95
|
-
agenticAppBlueprintId: z.ZodOptional<z.ZodString>;
|
|
96
|
-
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["user", "bot", "skill", "agenticAppInstance", "agenticUser"]>, z.ZodString]>>;
|
|
72
|
+
role: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
73
|
+
agenticAppInstance: "agenticAppInstance";
|
|
74
|
+
agenticUser: "agenticUser";
|
|
75
|
+
bot: "bot";
|
|
76
|
+
skill: "skill";
|
|
77
|
+
user: "user";
|
|
78
|
+
}>, z.ZodString]>>;
|
|
97
79
|
properties: z.ZodOptional<z.ZodUnknown>;
|
|
98
|
-
}, z.
|
|
99
|
-
id: z.ZodOptional<z.ZodString>;
|
|
100
|
-
name: z.ZodOptional<z.ZodString>;
|
|
101
|
-
aadObjectId: z.ZodOptional<z.ZodString>;
|
|
102
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
103
|
-
agenticUserId: z.ZodOptional<z.ZodString>;
|
|
104
|
-
agenticAppId: z.ZodOptional<z.ZodString>;
|
|
105
|
-
agenticAppBlueprintId: z.ZodOptional<z.ZodString>;
|
|
106
|
-
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["user", "bot", "skill", "agenticAppInstance", "agenticUser"]>, z.ZodString]>>;
|
|
107
|
-
properties: z.ZodOptional<z.ZodUnknown>;
|
|
108
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
80
|
+
}, z.core.$loose>>>;
|
|
109
81
|
conversation: z.ZodObject<{
|
|
110
82
|
isGroup: z.ZodOptional<z.ZodBoolean>;
|
|
111
83
|
conversationType: z.ZodOptional<z.ZodString>;
|
|
@@ -113,101 +85,15 @@ export declare const conversationReferenceZodSchema: z.ZodObject<{
|
|
|
113
85
|
id: z.ZodString;
|
|
114
86
|
name: z.ZodOptional<z.ZodString>;
|
|
115
87
|
aadObjectId: z.ZodOptional<z.ZodString>;
|
|
116
|
-
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<
|
|
88
|
+
role: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
89
|
+
agenticAppInstance: "agenticAppInstance";
|
|
90
|
+
agenticUser: "agenticUser";
|
|
91
|
+
bot: "bot";
|
|
92
|
+
skill: "skill";
|
|
93
|
+
user: "user";
|
|
94
|
+
}>, z.ZodString]>>;
|
|
117
95
|
properties: z.ZodOptional<z.ZodUnknown>;
|
|
118
|
-
},
|
|
119
|
-
isGroup?: boolean | undefined;
|
|
120
|
-
conversationType?: string | undefined;
|
|
121
|
-
tenantId?: string | undefined;
|
|
122
|
-
id: string;
|
|
123
|
-
name?: string | undefined;
|
|
124
|
-
aadObjectId?: string | undefined;
|
|
125
|
-
role?: string | undefined;
|
|
126
|
-
properties?: unknown;
|
|
127
|
-
}, {
|
|
128
|
-
isGroup?: boolean | undefined;
|
|
129
|
-
conversationType?: string | undefined;
|
|
130
|
-
tenantId?: string | undefined;
|
|
131
|
-
id: string;
|
|
132
|
-
name?: string | undefined;
|
|
133
|
-
aadObjectId?: string | undefined;
|
|
134
|
-
role?: string | undefined;
|
|
135
|
-
properties?: unknown;
|
|
136
|
-
}>;
|
|
96
|
+
}, z.core.$strip>;
|
|
137
97
|
channelId: z.ZodString;
|
|
138
98
|
serviceUrl: z.ZodOptional<z.ZodString>;
|
|
139
|
-
},
|
|
140
|
-
activityId?: string | undefined;
|
|
141
|
-
user?: z.objectOutputType<{
|
|
142
|
-
id: z.ZodOptional<z.ZodString>;
|
|
143
|
-
name: z.ZodOptional<z.ZodString>;
|
|
144
|
-
aadObjectId: z.ZodOptional<z.ZodString>;
|
|
145
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
146
|
-
agenticUserId: z.ZodOptional<z.ZodString>;
|
|
147
|
-
agenticAppId: z.ZodOptional<z.ZodString>;
|
|
148
|
-
agenticAppBlueprintId: z.ZodOptional<z.ZodString>;
|
|
149
|
-
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["user", "bot", "skill", "agenticAppInstance", "agenticUser"]>, z.ZodString]>>;
|
|
150
|
-
properties: z.ZodOptional<z.ZodUnknown>;
|
|
151
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
152
|
-
locale?: string | undefined;
|
|
153
|
-
agent?: z.objectOutputType<{
|
|
154
|
-
id: z.ZodOptional<z.ZodString>;
|
|
155
|
-
name: z.ZodOptional<z.ZodString>;
|
|
156
|
-
aadObjectId: z.ZodOptional<z.ZodString>;
|
|
157
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
158
|
-
agenticUserId: z.ZodOptional<z.ZodString>;
|
|
159
|
-
agenticAppId: z.ZodOptional<z.ZodString>;
|
|
160
|
-
agenticAppBlueprintId: z.ZodOptional<z.ZodString>;
|
|
161
|
-
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["user", "bot", "skill", "agenticAppInstance", "agenticUser"]>, z.ZodString]>>;
|
|
162
|
-
properties: z.ZodOptional<z.ZodUnknown>;
|
|
163
|
-
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
164
|
-
conversation: {
|
|
165
|
-
isGroup?: boolean | undefined;
|
|
166
|
-
conversationType?: string | undefined;
|
|
167
|
-
tenantId?: string | undefined;
|
|
168
|
-
id: string;
|
|
169
|
-
name?: string | undefined;
|
|
170
|
-
aadObjectId?: string | undefined;
|
|
171
|
-
role?: string | undefined;
|
|
172
|
-
properties?: unknown;
|
|
173
|
-
};
|
|
174
|
-
channelId: string;
|
|
175
|
-
serviceUrl?: string | undefined;
|
|
176
|
-
}, {
|
|
177
|
-
activityId?: string | undefined;
|
|
178
|
-
user?: z.objectInputType<{
|
|
179
|
-
id: z.ZodOptional<z.ZodString>;
|
|
180
|
-
name: z.ZodOptional<z.ZodString>;
|
|
181
|
-
aadObjectId: z.ZodOptional<z.ZodString>;
|
|
182
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
183
|
-
agenticUserId: z.ZodOptional<z.ZodString>;
|
|
184
|
-
agenticAppId: z.ZodOptional<z.ZodString>;
|
|
185
|
-
agenticAppBlueprintId: z.ZodOptional<z.ZodString>;
|
|
186
|
-
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["user", "bot", "skill", "agenticAppInstance", "agenticUser"]>, z.ZodString]>>;
|
|
187
|
-
properties: z.ZodOptional<z.ZodUnknown>;
|
|
188
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
189
|
-
locale?: string | undefined;
|
|
190
|
-
agent?: z.objectInputType<{
|
|
191
|
-
id: z.ZodOptional<z.ZodString>;
|
|
192
|
-
name: z.ZodOptional<z.ZodString>;
|
|
193
|
-
aadObjectId: z.ZodOptional<z.ZodString>;
|
|
194
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
195
|
-
agenticUserId: z.ZodOptional<z.ZodString>;
|
|
196
|
-
agenticAppId: z.ZodOptional<z.ZodString>;
|
|
197
|
-
agenticAppBlueprintId: z.ZodOptional<z.ZodString>;
|
|
198
|
-
role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["user", "bot", "skill", "agenticAppInstance", "agenticUser"]>, z.ZodString]>>;
|
|
199
|
-
properties: z.ZodOptional<z.ZodUnknown>;
|
|
200
|
-
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
201
|
-
conversation: {
|
|
202
|
-
isGroup?: boolean | undefined;
|
|
203
|
-
conversationType?: string | undefined;
|
|
204
|
-
tenantId?: string | undefined;
|
|
205
|
-
id: string;
|
|
206
|
-
name?: string | undefined;
|
|
207
|
-
aadObjectId?: string | undefined;
|
|
208
|
-
role?: string | undefined;
|
|
209
|
-
properties?: unknown;
|
|
210
|
-
};
|
|
211
|
-
channelId: string;
|
|
212
|
-
serviceUrl?: string | undefined;
|
|
213
|
-
}>;
|
|
99
|
+
}, z.core.$strip>;
|
|
@@ -35,4 +35,11 @@ export declare enum EndOfConversationCodes {
|
|
|
35
35
|
/**
|
|
36
36
|
* Zod schema for validating end of conversation codes.
|
|
37
37
|
*/
|
|
38
|
-
export declare const endOfConversationCodesZodSchema: z.ZodEnum<
|
|
38
|
+
export declare const endOfConversationCodesZodSchema: z.ZodEnum<{
|
|
39
|
+
agentIssuedInvalidMessage: "agentIssuedInvalidMessage";
|
|
40
|
+
agentTimedOut: "agentTimedOut";
|
|
41
|
+
channelFailed: "channelFailed";
|
|
42
|
+
completedSuccessfully: "completedSuccessfully";
|
|
43
|
+
unknown: "unknown";
|
|
44
|
+
userCancelled: "userCancelled";
|
|
45
|
+
}>;
|
|
@@ -31,4 +31,10 @@ export declare enum RoleTypes {
|
|
|
31
31
|
/**
|
|
32
32
|
* Zod schema for validating role types.
|
|
33
33
|
*/
|
|
34
|
-
export declare const roleTypeZodSchema: z.ZodEnum<
|
|
34
|
+
export declare const roleTypeZodSchema: z.ZodEnum<{
|
|
35
|
+
agenticAppInstance: "agenticAppInstance";
|
|
36
|
+
agenticUser: "agenticUser";
|
|
37
|
+
bot: "bot";
|
|
38
|
+
skill: "skill";
|
|
39
|
+
user: "user";
|
|
40
|
+
}>;
|
|
@@ -27,4 +27,9 @@ export declare enum DeliveryModes {
|
|
|
27
27
|
/**
|
|
28
28
|
* Zod schema for validating a DeliveryModes enum.
|
|
29
29
|
*/
|
|
30
|
-
export declare const deliveryModesZodSchema: z.ZodEnum<
|
|
30
|
+
export declare const deliveryModesZodSchema: z.ZodEnum<{
|
|
31
|
+
ephemeral: "ephemeral";
|
|
32
|
+
expectReplies: "expectReplies";
|
|
33
|
+
normal: "normal";
|
|
34
|
+
notification: "notification";
|
|
35
|
+
}>;
|
|
@@ -21,8 +21,4 @@ export interface Entity {
|
|
|
21
21
|
*/
|
|
22
22
|
export declare const entityZodSchema: z.ZodObject<{
|
|
23
23
|
type: z.ZodString;
|
|
24
|
-
},
|
|
25
|
-
type: z.ZodString;
|
|
26
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
27
|
-
type: z.ZodString;
|
|
28
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
24
|
+
}, z.core.$loose>;
|
package/dist/src/inputHints.d.ts
CHANGED
|
@@ -23,4 +23,8 @@ export declare enum InputHints {
|
|
|
23
23
|
/**
|
|
24
24
|
* Zod schema for validating an InputHints enum.
|
|
25
25
|
*/
|
|
26
|
-
export declare const inputHintsZodSchema: z.ZodEnum<
|
|
26
|
+
export declare const inputHintsZodSchema: z.ZodEnum<{
|
|
27
|
+
acceptingInput: "acceptingInput";
|
|
28
|
+
expectingInput: "expectingInput";
|
|
29
|
+
ignoringInput: "ignoringInput";
|
|
30
|
+
}>;
|
|
@@ -33,14 +33,4 @@ export declare const adaptiveCardInvokeActionZodSchema: z.ZodObject<{
|
|
|
33
33
|
id: z.ZodOptional<z.ZodString>;
|
|
34
34
|
verb: z.ZodString;
|
|
35
35
|
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
36
|
-
},
|
|
37
|
-
type: string;
|
|
38
|
-
id?: string | undefined;
|
|
39
|
-
verb: string;
|
|
40
|
-
data: Record<string, any>;
|
|
41
|
-
}, {
|
|
42
|
-
type: string;
|
|
43
|
-
id?: string | undefined;
|
|
44
|
-
verb: string;
|
|
45
|
-
data: Record<string, any>;
|
|
46
|
-
}>;
|
|
36
|
+
}, z.core.$strip>;
|
|
@@ -17,9 +17,8 @@ export interface MessageReaction {
|
|
|
17
17
|
* Zod schema for validating a MessageReaction object.
|
|
18
18
|
*/
|
|
19
19
|
export declare const messageReactionZodSchema: z.ZodObject<{
|
|
20
|
-
type: z.ZodUnion<[z.ZodEnum<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
}>;
|
|
20
|
+
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
21
|
+
like: "like";
|
|
22
|
+
plusOne: "plusOne";
|
|
23
|
+
}>, z.ZodString]>;
|
|
24
|
+
}, z.core.$strip>;
|
|
@@ -19,4 +19,7 @@ export declare enum MessageReactionTypes {
|
|
|
19
19
|
/**
|
|
20
20
|
* Zod schema for validating MessageReactionTypes enum values.
|
|
21
21
|
*/
|
|
22
|
-
export declare const messageReactionTypesZodSchema: z.ZodEnum<
|
|
22
|
+
export declare const messageReactionTypesZodSchema: z.ZodEnum<{
|
|
23
|
+
like: "like";
|
|
24
|
+
plusOne: "plusOne";
|
|
25
|
+
}>;
|
|
@@ -23,4 +23,8 @@ export declare enum TextFormatTypes {
|
|
|
23
23
|
/**
|
|
24
24
|
* Zod schema for validating TextFormatTypes enum values.
|
|
25
25
|
*/
|
|
26
|
-
export declare const textFormatTypesZodSchema: z.ZodEnum<
|
|
26
|
+
export declare const textFormatTypesZodSchema: z.ZodEnum<{
|
|
27
|
+
markdown: "markdown";
|
|
28
|
+
plain: "plain";
|
|
29
|
+
xml: "xml";
|
|
30
|
+
}>;
|
|
@@ -22,10 +22,4 @@ export interface TextHighlight {
|
|
|
22
22
|
export declare const textHighlightZodSchema: z.ZodObject<{
|
|
23
23
|
text: z.ZodString;
|
|
24
24
|
occurrence: z.ZodNumber;
|
|
25
|
-
},
|
|
26
|
-
text: string;
|
|
27
|
-
occurrence: number;
|
|
28
|
-
}, {
|
|
29
|
-
text: string;
|
|
30
|
-
occurrence: number;
|
|
31
|
-
}>;
|
|
25
|
+
}, z.core.$strip>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@microsoft/agents-activity",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.11.0-beta.2.g7511806a43",
|
|
5
5
|
"homepage": "https://github.com/microsoft/Agents-for-js",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"crypto": "./src/browser/crypto.ts"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"zod": "
|
|
25
|
+
"zod": "4.6.6"
|
|
26
26
|
},
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"files": [
|
|
@@ -31,5 +31,5 @@ export interface SemanticAction {
|
|
|
31
31
|
export const semanticActionZodSchema = z.object({
|
|
32
32
|
id: z.string().min(1),
|
|
33
33
|
state: z.union([semanticActionStateTypesZodSchema, z.string().min(1)]),
|
|
34
|
-
entities: z.record(entityZodSchema)
|
|
34
|
+
entities: z.record(z.string(), entityZodSchema)
|
|
35
35
|
})
|