@microsoft/agents-hosting-extensions-teams 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.
@@ -27,13 +27,9 @@ export interface ChannelInfo {
27
27
  export declare const channelInfoZodSchema: z.ZodObject<{
28
28
  id: z.ZodOptional<z.ZodString>;
29
29
  name: z.ZodOptional<z.ZodString>;
30
- type: z.ZodOptional<z.ZodEnum<["standard", "private", "shared"]>>;
31
- }, "strip", z.ZodTypeAny, {
32
- id?: string | undefined;
33
- name?: string | undefined;
34
- type?: "private" | "shared" | "standard" | undefined;
35
- }, {
36
- id?: string | undefined;
37
- name?: string | undefined;
38
- type?: "private" | "shared" | "standard" | undefined;
39
- }>;
30
+ type: z.ZodOptional<z.ZodEnum<{
31
+ private: "private";
32
+ shared: "shared";
33
+ standard: "standard";
34
+ }>>;
35
+ }, z.core.$strip>;
@@ -23,4 +23,8 @@ export declare enum ChannelTypes {
23
23
  /**
24
24
  * Zod schema for validating channel types.
25
25
  */
26
- export declare const channelTypeZodSchema: z.ZodEnum<["standard", "private", "shared"]>;
26
+ export declare const channelTypeZodSchema: z.ZodEnum<{
27
+ private: "private";
28
+ shared: "shared";
29
+ standard: "standard";
30
+ }>;
@@ -27,12 +27,4 @@ export declare const notificationInfoZodSchema: z.ZodObject<{
27
27
  alert: z.ZodOptional<z.ZodBoolean>;
28
28
  alertInMeeting: z.ZodOptional<z.ZodBoolean>;
29
29
  externalResourceUrl: z.ZodOptional<z.ZodString>;
30
- }, "strip", z.ZodTypeAny, {
31
- alert?: boolean | undefined;
32
- alertInMeeting?: boolean | undefined;
33
- externalResourceUrl?: string | undefined;
34
- }, {
35
- alert?: boolean | undefined;
36
- alertInMeeting?: boolean | undefined;
37
- externalResourceUrl?: string | undefined;
38
- }>;
30
+ }, z.core.$strip>;
@@ -28,18 +28,8 @@ export interface OnBehalfOf {
28
28
  * Zod schema for validating OnBehalfOf objects.
29
29
  */
30
30
  export declare const onBehalfOfZodSchema: z.ZodObject<{
31
- itemid: z.ZodUnion<[z.ZodLiteral<0>, z.ZodNumber]>;
32
- mentionType: z.ZodUnion<[z.ZodString, z.ZodLiteral<"person">]>;
31
+ itemid: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodNumber]>;
32
+ mentionType: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"person">]>;
33
33
  mri: z.ZodString;
34
34
  displayName: z.ZodOptional<z.ZodString>;
35
- }, "strip", z.ZodTypeAny, {
36
- itemid: number;
37
- mentionType: string;
38
- mri: string;
39
- displayName?: string | undefined;
40
- }, {
41
- itemid: number;
42
- mentionType: string;
43
- mri: string;
44
- displayName?: string | undefined;
45
- }>;
35
+ }, z.core.$strip>;
@@ -32,14 +32,4 @@ export declare const teamInfoZodSchema: z.ZodObject<{
32
32
  name: z.ZodOptional<z.ZodString>;
33
33
  aadGroupId: z.ZodOptional<z.ZodString>;
34
34
  tenantId: z.ZodOptional<z.ZodString>;
35
- }, "strip", z.ZodTypeAny, {
36
- id?: string | undefined;
37
- name?: string | undefined;
38
- aadGroupId?: string | undefined;
39
- tenantId?: string | undefined;
40
- }, {
41
- id?: string | undefined;
42
- name?: string | undefined;
43
- aadGroupId?: string | undefined;
44
- tenantId?: string | undefined;
45
- }>;
35
+ }, z.core.$strip>;
@@ -67,272 +67,74 @@ export declare const teamsChannelDataZodSchema: z.ZodObject<{
67
67
  channel: z.ZodOptional<z.ZodObject<{
68
68
  id: z.ZodOptional<z.ZodString>;
69
69
  name: z.ZodOptional<z.ZodString>;
70
- type: z.ZodOptional<z.ZodEnum<["standard", "private", "shared"]>>;
71
- }, "strip", z.ZodTypeAny, {
72
- id?: string | undefined;
73
- name?: string | undefined;
74
- type?: "private" | "shared" | "standard" | undefined;
75
- }, {
76
- id?: string | undefined;
77
- name?: string | undefined;
78
- type?: "private" | "shared" | "standard" | undefined;
79
- }>>;
70
+ type: z.ZodOptional<z.ZodEnum<{
71
+ private: "private";
72
+ shared: "shared";
73
+ standard: "standard";
74
+ }>>;
75
+ }, z.core.$strip>>;
80
76
  eventType: z.ZodOptional<z.ZodString>;
81
77
  team: z.ZodOptional<z.ZodObject<{
82
78
  id: z.ZodOptional<z.ZodString>;
83
79
  name: z.ZodOptional<z.ZodString>;
84
80
  aadGroupId: z.ZodOptional<z.ZodString>;
85
81
  tenantId: z.ZodOptional<z.ZodString>;
86
- }, "strip", z.ZodTypeAny, {
87
- id?: string | undefined;
88
- name?: string | undefined;
89
- aadGroupId?: string | undefined;
90
- tenantId?: string | undefined;
91
- }, {
92
- id?: string | undefined;
93
- name?: string | undefined;
94
- aadGroupId?: string | undefined;
95
- tenantId?: string | undefined;
96
- }>>;
82
+ }, z.core.$strip>>;
97
83
  notification: z.ZodOptional<z.ZodObject<{
98
84
  alert: z.ZodOptional<z.ZodBoolean>;
99
85
  alertInMeeting: z.ZodOptional<z.ZodBoolean>;
100
86
  externalResourceUrl: z.ZodOptional<z.ZodString>;
101
- }, "strip", z.ZodTypeAny, {
102
- alert?: boolean | undefined;
103
- alertInMeeting?: boolean | undefined;
104
- externalResourceUrl?: string | undefined;
105
- }, {
106
- alert?: boolean | undefined;
107
- alertInMeeting?: boolean | undefined;
108
- externalResourceUrl?: string | undefined;
109
- }>>;
87
+ }, z.core.$strip>>;
110
88
  tenant: z.ZodOptional<z.ZodObject<{
111
89
  id: z.ZodOptional<z.ZodString>;
112
- }, "strip", z.ZodTypeAny, {
113
- id?: string | undefined;
114
- }, {
115
- id?: string | undefined;
116
- }>>;
90
+ }, z.core.$strip>>;
117
91
  meeting: z.ZodOptional<z.ZodObject<{
118
92
  id: z.ZodOptional<z.ZodString>;
119
- }, "strip", z.ZodTypeAny, {
120
- id?: string | undefined;
121
- }, {
122
- id?: string | undefined;
123
- }>>;
93
+ }, z.core.$strip>>;
124
94
  settings: z.ZodOptional<z.ZodObject<{
125
95
  selectedChannel: z.ZodOptional<z.ZodObject<{
126
96
  id: z.ZodOptional<z.ZodString>;
127
97
  name: z.ZodOptional<z.ZodString>;
128
- type: z.ZodOptional<z.ZodEnum<["standard", "private", "shared"]>>;
129
- }, "strip", z.ZodTypeAny, {
130
- id?: string | undefined;
131
- name?: string | undefined;
132
- type?: "private" | "shared" | "standard" | undefined;
133
- }, {
134
- id?: string | undefined;
135
- name?: string | undefined;
136
- type?: "private" | "shared" | "standard" | undefined;
137
- }>>;
138
- }, "strip", z.ZodTypeAny, {
139
- selectedChannel?: {
140
- id?: string | undefined;
141
- name?: string | undefined;
142
- type?: "private" | "shared" | "standard" | undefined;
143
- } | undefined;
144
- }, {
145
- selectedChannel?: {
146
- id?: string | undefined;
147
- name?: string | undefined;
148
- type?: "private" | "shared" | "standard" | undefined;
149
- } | undefined;
150
- }>>;
98
+ type: z.ZodOptional<z.ZodEnum<{
99
+ private: "private";
100
+ shared: "shared";
101
+ standard: "standard";
102
+ }>>;
103
+ }, z.core.$strip>>;
104
+ }, z.core.$strip>>;
151
105
  onBehalfOf: z.ZodOptional<z.ZodArray<z.ZodObject<{
152
- itemid: z.ZodUnion<[z.ZodLiteral<0>, z.ZodNumber]>;
153
- mentionType: z.ZodUnion<[z.ZodString, z.ZodLiteral<"person">]>;
106
+ itemid: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodNumber]>;
107
+ mentionType: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"person">]>;
154
108
  mri: z.ZodString;
155
109
  displayName: z.ZodOptional<z.ZodString>;
156
- }, "strip", z.ZodTypeAny, {
157
- itemid: number;
158
- mentionType: string;
159
- mri: string;
160
- displayName?: string | undefined;
161
- }, {
162
- itemid: number;
163
- mentionType: string;
164
- mri: string;
165
- displayName?: string | undefined;
166
- }>, "many">>;
110
+ }, z.core.$strip>>>;
167
111
  sharedWithTeams: z.ZodOptional<z.ZodArray<z.ZodObject<{
168
112
  id: z.ZodOptional<z.ZodString>;
169
113
  name: z.ZodOptional<z.ZodString>;
170
114
  aadGroupId: z.ZodOptional<z.ZodString>;
171
115
  tenantId: z.ZodOptional<z.ZodString>;
172
- }, "strip", z.ZodTypeAny, {
173
- id?: string | undefined;
174
- name?: string | undefined;
175
- aadGroupId?: string | undefined;
176
- tenantId?: string | undefined;
177
- }, {
178
- id?: string | undefined;
179
- name?: string | undefined;
180
- aadGroupId?: string | undefined;
181
- tenantId?: string | undefined;
182
- }>, "many">>;
116
+ }, z.core.$strip>>>;
183
117
  unsharedFromTeams: z.ZodOptional<z.ZodArray<z.ZodObject<{
184
118
  id: z.ZodOptional<z.ZodString>;
185
119
  name: z.ZodOptional<z.ZodString>;
186
120
  aadGroupId: z.ZodOptional<z.ZodString>;
187
121
  tenantId: z.ZodOptional<z.ZodString>;
188
- }, "strip", z.ZodTypeAny, {
189
- id?: string | undefined;
190
- name?: string | undefined;
191
- aadGroupId?: string | undefined;
192
- tenantId?: string | undefined;
193
- }, {
194
- id?: string | undefined;
195
- name?: string | undefined;
196
- aadGroupId?: string | undefined;
197
- tenantId?: string | undefined;
198
- }>, "many">>;
122
+ }, z.core.$strip>>>;
199
123
  membershipSource: z.ZodOptional<z.ZodObject<{
200
- sourceType: z.ZodEnum<["channel", "team"]>;
124
+ sourceType: z.ZodEnum<{
125
+ channel: "channel";
126
+ team: "team";
127
+ }>;
201
128
  id: z.ZodString;
202
129
  name: z.ZodOptional<z.ZodString>;
203
- membershipType: z.ZodEnum<["direct", "transitive"]>;
130
+ membershipType: z.ZodEnum<{
131
+ direct: "direct";
132
+ transitive: "transitive";
133
+ }>;
204
134
  aadGroupId: z.ZodOptional<z.ZodString>;
205
135
  tenantId: z.ZodOptional<z.ZodString>;
206
- }, "strip", z.ZodTypeAny, {
207
- sourceType: "channel" | "team";
208
- id: string;
209
- name?: string | undefined;
210
- membershipType: "direct" | "transitive";
211
- aadGroupId?: string | undefined;
212
- tenantId?: string | undefined;
213
- }, {
214
- sourceType: "channel" | "team";
215
- id: string;
216
- name?: string | undefined;
217
- membershipType: "direct" | "transitive";
218
- aadGroupId?: string | undefined;
219
- tenantId?: string | undefined;
220
- }>>;
221
- }, "strip", z.ZodTypeAny, {
222
- channel?: {
223
- id?: string | undefined;
224
- name?: string | undefined;
225
- type?: "private" | "shared" | "standard" | undefined;
226
- } | undefined;
227
- eventType?: string | undefined;
228
- team?: {
229
- id?: string | undefined;
230
- name?: string | undefined;
231
- aadGroupId?: string | undefined;
232
- tenantId?: string | undefined;
233
- } | undefined;
234
- notification?: {
235
- alert?: boolean | undefined;
236
- alertInMeeting?: boolean | undefined;
237
- externalResourceUrl?: string | undefined;
238
- } | undefined;
239
- tenant?: {
240
- id?: string | undefined;
241
- } | undefined;
242
- meeting?: {
243
- id?: string | undefined;
244
- } | undefined;
245
- settings?: {
246
- selectedChannel?: {
247
- id?: string | undefined;
248
- name?: string | undefined;
249
- type?: "private" | "shared" | "standard" | undefined;
250
- } | undefined;
251
- } | undefined;
252
- onBehalfOf?: {
253
- itemid: number;
254
- mentionType: string;
255
- mri: string;
256
- displayName?: string | undefined;
257
- }[] | undefined;
258
- sharedWithTeams?: {
259
- id?: string | undefined;
260
- name?: string | undefined;
261
- aadGroupId?: string | undefined;
262
- tenantId?: string | undefined;
263
- }[] | undefined;
264
- unsharedFromTeams?: {
265
- id?: string | undefined;
266
- name?: string | undefined;
267
- aadGroupId?: string | undefined;
268
- tenantId?: string | undefined;
269
- }[] | undefined;
270
- membershipSource?: {
271
- sourceType: "channel" | "team";
272
- id: string;
273
- name?: string | undefined;
274
- membershipType: "direct" | "transitive";
275
- aadGroupId?: string | undefined;
276
- tenantId?: string | undefined;
277
- } | undefined;
278
- }, {
279
- channel?: {
280
- id?: string | undefined;
281
- name?: string | undefined;
282
- type?: "private" | "shared" | "standard" | undefined;
283
- } | undefined;
284
- eventType?: string | undefined;
285
- team?: {
286
- id?: string | undefined;
287
- name?: string | undefined;
288
- aadGroupId?: string | undefined;
289
- tenantId?: string | undefined;
290
- } | undefined;
291
- notification?: {
292
- alert?: boolean | undefined;
293
- alertInMeeting?: boolean | undefined;
294
- externalResourceUrl?: string | undefined;
295
- } | undefined;
296
- tenant?: {
297
- id?: string | undefined;
298
- } | undefined;
299
- meeting?: {
300
- id?: string | undefined;
301
- } | undefined;
302
- settings?: {
303
- selectedChannel?: {
304
- id?: string | undefined;
305
- name?: string | undefined;
306
- type?: "private" | "shared" | "standard" | undefined;
307
- } | undefined;
308
- } | undefined;
309
- onBehalfOf?: {
310
- itemid: number;
311
- mentionType: string;
312
- mri: string;
313
- displayName?: string | undefined;
314
- }[] | undefined;
315
- sharedWithTeams?: {
316
- id?: string | undefined;
317
- name?: string | undefined;
318
- aadGroupId?: string | undefined;
319
- tenantId?: string | undefined;
320
- }[] | undefined;
321
- unsharedFromTeams?: {
322
- id?: string | undefined;
323
- name?: string | undefined;
324
- aadGroupId?: string | undefined;
325
- tenantId?: string | undefined;
326
- }[] | undefined;
327
- membershipSource?: {
328
- sourceType: "channel" | "team";
329
- id: string;
330
- name?: string | undefined;
331
- membershipType: "direct" | "transitive";
332
- aadGroupId?: string | undefined;
333
- tenantId?: string | undefined;
334
- } | undefined;
335
- }>;
136
+ }, z.core.$strip>>;
137
+ }, z.core.$strip>;
336
138
  /**
337
139
  * Parses the given object as TeamsChannelData.
338
140
  *
@@ -24,26 +24,10 @@ export declare const teamsChannelDataSettingsZodSchema: z.ZodObject<{
24
24
  selectedChannel: z.ZodOptional<z.ZodObject<{
25
25
  id: z.ZodOptional<z.ZodString>;
26
26
  name: z.ZodOptional<z.ZodString>;
27
- type: z.ZodOptional<z.ZodEnum<["standard", "private", "shared"]>>;
28
- }, "strip", z.ZodTypeAny, {
29
- id?: string | undefined;
30
- name?: string | undefined;
31
- type?: "private" | "shared" | "standard" | undefined;
32
- }, {
33
- id?: string | undefined;
34
- name?: string | undefined;
35
- type?: "private" | "shared" | "standard" | undefined;
36
- }>>;
37
- }, "strip", z.ZodTypeAny, {
38
- selectedChannel?: {
39
- id?: string | undefined;
40
- name?: string | undefined;
41
- type?: "private" | "shared" | "standard" | undefined;
42
- } | undefined;
43
- }, {
44
- selectedChannel?: {
45
- id?: string | undefined;
46
- name?: string | undefined;
47
- type?: "private" | "shared" | "standard" | undefined;
48
- } | undefined;
49
- }>;
27
+ type: z.ZodOptional<z.ZodEnum<{
28
+ private: "private";
29
+ shared: "shared";
30
+ standard: "standard";
31
+ }>>;
32
+ }, z.core.$strip>>;
33
+ }, z.core.$strip>;
@@ -17,8 +17,4 @@ export interface TeamsMeetingInfo {
17
17
  */
18
18
  export declare const teamsMeetingInfoZodSchema: z.ZodObject<{
19
19
  id: z.ZodOptional<z.ZodString>;
20
- }, "strip", z.ZodTypeAny, {
21
- id?: string | undefined;
22
- }, {
23
- id?: string | undefined;
24
- }>;
20
+ }, z.core.$strip>;
@@ -17,8 +17,4 @@ export interface TenantInfo {
17
17
  */
18
18
  export declare const tenantInfoZodSchema: z.ZodObject<{
19
19
  id: z.ZodOptional<z.ZodString>;
20
- }, "strip", z.ZodTypeAny, {
21
- id?: string | undefined;
22
- }, {
23
- id?: string | undefined;
24
- }>;
20
+ }, z.core.$strip>;
@@ -22,10 +22,4 @@ export interface MessagingExtensionParameter {
22
22
  export declare const messagingExtensionParameterZodSchema: z.ZodObject<{
23
23
  name: z.ZodOptional<z.ZodString>;
24
24
  value: z.ZodOptional<z.ZodAny>;
25
- }, "strip", z.ZodTypeAny, {
26
- name?: string | undefined;
27
- value?: any;
28
- }, {
29
- name?: string | undefined;
30
- value?: any;
31
- }>;
25
+ }, z.core.$strip>;
@@ -35,47 +35,13 @@ export declare const messagingExtensionQueryZodSchema: z.ZodObject<{
35
35
  parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
36
36
  name: z.ZodOptional<z.ZodString>;
37
37
  value: z.ZodOptional<z.ZodAny>;
38
- }, "strip", z.ZodTypeAny, {
39
- name?: string | undefined;
40
- value?: any;
41
- }, {
42
- name?: string | undefined;
43
- value?: any;
44
- }>, "many">>;
38
+ }, z.core.$strip>>>;
45
39
  queryOptions: z.ZodOptional<z.ZodObject<{
46
40
  skip: z.ZodOptional<z.ZodNumber>;
47
41
  count: z.ZodOptional<z.ZodNumber>;
48
- }, "strip", z.ZodTypeAny, {
49
- skip?: number | undefined;
50
- count?: number | undefined;
51
- }, {
52
- skip?: number | undefined;
53
- count?: number | undefined;
54
- }>>;
42
+ }, z.core.$strip>>;
55
43
  state: z.ZodOptional<z.ZodString>;
56
- }, "strip", z.ZodTypeAny, {
57
- commandId?: string | undefined;
58
- parameters?: {
59
- name?: string | undefined;
60
- value?: any;
61
- }[] | undefined;
62
- queryOptions?: {
63
- skip?: number | undefined;
64
- count?: number | undefined;
65
- } | undefined;
66
- state?: string | undefined;
67
- }, {
68
- commandId?: string | undefined;
69
- parameters?: {
70
- name?: string | undefined;
71
- value?: any;
72
- }[] | undefined;
73
- queryOptions?: {
74
- skip?: number | undefined;
75
- count?: number | undefined;
76
- } | undefined;
77
- state?: string | undefined;
78
- }>;
44
+ }, z.core.$strip>;
79
45
  /**
80
46
  * Parses the given value as a messaging extension query.
81
47
  *
@@ -22,10 +22,4 @@ export interface MessagingExtensionQueryOptions {
22
22
  export declare const messagingExtensionQueryOptionsZodSchema: z.ZodObject<{
23
23
  skip: z.ZodOptional<z.ZodNumber>;
24
24
  count: z.ZodOptional<z.ZodNumber>;
25
- }, "strip", z.ZodTypeAny, {
26
- skip?: number | undefined;
27
- count?: number | undefined;
28
- }, {
29
- skip?: number | undefined;
30
- count?: number | undefined;
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-hosting-extensions-teams",
4
- "version": "1.10.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",
@@ -21,10 +21,10 @@
21
21
  "main": "dist/src/index.js",
22
22
  "types": "dist/src/index.d.ts",
23
23
  "dependencies": {
24
- "@microsoft/agents-hosting": "1.10.1",
25
- "@microsoft/agents-activity": "1.10.1",
26
- "@microsoft/agents-telemetry": "1.10.1",
27
- "zod": "3.25.75"
24
+ "@microsoft/agents-hosting": "1.11.0-beta.2.g7511806a43",
25
+ "@microsoft/agents-activity": "1.11.0-beta.2.g7511806a43",
26
+ "@microsoft/agents-telemetry": "1.11.0-beta.2.g7511806a43",
27
+ "zod": "4.6.6"
28
28
  },
29
29
  "license": "MIT",
30
30
  "files": [