@mastra/connect 0.5.0-alpha.2 → 0.5.0-alpha.3

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.
Files changed (73) hide show
  1. package/README.md +13 -1
  2. package/dist/errors.d.ts +1 -1
  3. package/dist/errors.d.ts.map +1 -1
  4. package/dist/index.cjs +3543 -891
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.js +3543 -891
  7. package/dist/index.js.map +1 -1
  8. package/dist/multi-connection.d.ts +71 -0
  9. package/dist/multi-connection.d.ts.map +1 -0
  10. package/dist/providers/channels.d.ts +1 -1
  11. package/dist/providers/channels.d.ts.map +1 -1
  12. package/dist/providers/index.d.ts.map +1 -1
  13. package/dist/providers/microsoft-teams/index.d.ts +5 -0
  14. package/dist/providers/microsoft-teams/index.d.ts.map +1 -0
  15. package/dist/providers/microsoft-teams/tools/add-team-member.d.ts +26 -0
  16. package/dist/providers/microsoft-teams/tools/add-team-member.d.ts.map +1 -0
  17. package/dist/providers/microsoft-teams/tools/create-channel-message.d.ts +77 -0
  18. package/dist/providers/microsoft-teams/tools/create-channel-message.d.ts.map +1 -0
  19. package/dist/providers/microsoft-teams/tools/create-channel-tab.d.ts +54 -0
  20. package/dist/providers/microsoft-teams/tools/create-channel-tab.d.ts.map +1 -0
  21. package/dist/providers/microsoft-teams/tools/create-channel.d.ts +35 -0
  22. package/dist/providers/microsoft-teams/tools/create-channel.d.ts.map +1 -0
  23. package/dist/providers/microsoft-teams/tools/create-chat-message.d.ts +53 -0
  24. package/dist/providers/microsoft-teams/tools/create-chat-message.d.ts.map +1 -0
  25. package/dist/providers/microsoft-teams/tools/create-chat.d.ts +53 -0
  26. package/dist/providers/microsoft-teams/tools/create-chat.d.ts.map +1 -0
  27. package/dist/providers/microsoft-teams/tools/create-team.d.ts +147 -0
  28. package/dist/providers/microsoft-teams/tools/create-team.d.ts.map +1 -0
  29. package/dist/providers/microsoft-teams/tools/delete-channel.d.ts +20 -0
  30. package/dist/providers/microsoft-teams/tools/delete-channel.d.ts.map +1 -0
  31. package/dist/providers/microsoft-teams/tools/get-channel-message.d.ts +72 -0
  32. package/dist/providers/microsoft-teams/tools/get-channel-message.d.ts.map +1 -0
  33. package/dist/providers/microsoft-teams/tools/get-channel.d.ts +36 -0
  34. package/dist/providers/microsoft-teams/tools/get-channel.d.ts.map +1 -0
  35. package/dist/providers/microsoft-teams/tools/get-chat-message.d.ts +73 -0
  36. package/dist/providers/microsoft-teams/tools/get-chat-message.d.ts.map +1 -0
  37. package/dist/providers/microsoft-teams/tools/get-chat.d.ts +33 -0
  38. package/dist/providers/microsoft-teams/tools/get-chat.d.ts.map +1 -0
  39. package/dist/providers/microsoft-teams/tools/get-team.d.ts +96 -0
  40. package/dist/providers/microsoft-teams/tools/get-team.d.ts.map +1 -0
  41. package/dist/providers/microsoft-teams/tools/list-channel-messages.d.ts +90 -0
  42. package/dist/providers/microsoft-teams/tools/list-channel-messages.d.ts.map +1 -0
  43. package/dist/providers/microsoft-teams/tools/list-channel-replies.d.ts +75 -0
  44. package/dist/providers/microsoft-teams/tools/list-channel-replies.d.ts.map +1 -0
  45. package/dist/providers/microsoft-teams/tools/list-channel-tabs.d.ts +52 -0
  46. package/dist/providers/microsoft-teams/tools/list-channel-tabs.d.ts.map +1 -0
  47. package/dist/providers/microsoft-teams/tools/list-channels.d.ts +42 -0
  48. package/dist/providers/microsoft-teams/tools/list-channels.d.ts.map +1 -0
  49. package/dist/providers/microsoft-teams/tools/list-chat-members.d.ts +34 -0
  50. package/dist/providers/microsoft-teams/tools/list-chat-members.d.ts.map +1 -0
  51. package/dist/providers/microsoft-teams/tools/list-chat-messages.d.ts +50 -0
  52. package/dist/providers/microsoft-teams/tools/list-chat-messages.d.ts.map +1 -0
  53. package/dist/providers/microsoft-teams/tools/list-chats.d.ts +44 -0
  54. package/dist/providers/microsoft-teams/tools/list-chats.d.ts.map +1 -0
  55. package/dist/providers/microsoft-teams/tools/list-joined-teams.d.ts +28 -0
  56. package/dist/providers/microsoft-teams/tools/list-joined-teams.d.ts.map +1 -0
  57. package/dist/providers/microsoft-teams/tools/list-team-members.d.ts +32 -0
  58. package/dist/providers/microsoft-teams/tools/list-team-members.d.ts.map +1 -0
  59. package/dist/providers/microsoft-teams/tools/remove-team-member.d.ts +20 -0
  60. package/dist/providers/microsoft-teams/tools/remove-team-member.d.ts.map +1 -0
  61. package/dist/providers/microsoft-teams/tools/reply-to-channel-message.d.ts +35 -0
  62. package/dist/providers/microsoft-teams/tools/reply-to-channel-message.d.ts.map +1 -0
  63. package/dist/providers/microsoft-teams/tools/update-channel.d.ts +36 -0
  64. package/dist/providers/microsoft-teams/tools/update-channel.d.ts.map +1 -0
  65. package/dist/providers/microsoft-teams/tools.d.ts +3 -0
  66. package/dist/providers/microsoft-teams/tools.d.ts.map +1 -0
  67. package/dist/resolution.d.ts +26 -0
  68. package/dist/resolution.d.ts.map +1 -1
  69. package/dist/tools.d.ts +28 -5
  70. package/dist/tools.d.ts.map +1 -1
  71. package/dist/toolset.d.ts +32 -3
  72. package/dist/toolset.d.ts.map +1 -1
  73. package/package.json +5 -5
@@ -0,0 +1,72 @@
1
+ import { z } from 'zod';
2
+ import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
3
+ export declare const getChannelMessageInputSchema: z.ZodObject<{
4
+ teamId: z.ZodString;
5
+ channelId: z.ZodString;
6
+ messageId: z.ZodString;
7
+ }, z.core.$strip>;
8
+ export declare const getChannelMessageOutputSchema: z.ZodObject<{
9
+ id: z.ZodString;
10
+ replyToId: z.ZodOptional<z.ZodString>;
11
+ messageType: z.ZodOptional<z.ZodString>;
12
+ createdDateTime: z.ZodOptional<z.ZodString>;
13
+ lastModifiedDateTime: z.ZodOptional<z.ZodString>;
14
+ lastEditedDateTime: z.ZodOptional<z.ZodString>;
15
+ deletedDateTime: z.ZodOptional<z.ZodString>;
16
+ subject: z.ZodOptional<z.ZodString>;
17
+ summary: z.ZodOptional<z.ZodString>;
18
+ importance: z.ZodOptional<z.ZodString>;
19
+ locale: z.ZodOptional<z.ZodString>;
20
+ webUrl: z.ZodOptional<z.ZodString>;
21
+ channelIdentity: z.ZodOptional<z.ZodObject<{
22
+ teamId: z.ZodOptional<z.ZodString>;
23
+ channelId: z.ZodOptional<z.ZodString>;
24
+ }, z.core.$strip>>;
25
+ from: z.ZodOptional<z.ZodObject<{
26
+ user: z.ZodOptional<z.ZodObject<{
27
+ id: z.ZodOptional<z.ZodString>;
28
+ displayName: z.ZodOptional<z.ZodString>;
29
+ userIdentityType: z.ZodOptional<z.ZodString>;
30
+ tenantId: z.ZodOptional<z.ZodString>;
31
+ }, z.core.$strip>>;
32
+ }, z.core.$strip>>;
33
+ body: z.ZodOptional<z.ZodObject<{
34
+ contentType: z.ZodOptional<z.ZodString>;
35
+ content: z.ZodOptional<z.ZodString>;
36
+ }, z.core.$strip>>;
37
+ }, z.core.$strip>;
38
+ export declare function getChannelMessageTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
39
+ teamId: string;
40
+ channelId: string;
41
+ messageId: string;
42
+ }, {
43
+ id: string;
44
+ replyToId?: string | undefined;
45
+ messageType?: string | undefined;
46
+ createdDateTime?: string | undefined;
47
+ lastModifiedDateTime?: string | undefined;
48
+ lastEditedDateTime?: string | undefined;
49
+ deletedDateTime?: string | undefined;
50
+ subject?: string | undefined;
51
+ summary?: string | undefined;
52
+ importance?: string | undefined;
53
+ locale?: string | undefined;
54
+ webUrl?: string | undefined;
55
+ channelIdentity?: {
56
+ teamId?: string | undefined;
57
+ channelId?: string | undefined;
58
+ } | undefined;
59
+ from?: {
60
+ user?: {
61
+ id?: string | undefined;
62
+ displayName?: string | undefined;
63
+ userIdentityType?: string | undefined;
64
+ tenantId?: string | undefined;
65
+ } | undefined;
66
+ } | undefined;
67
+ body?: {
68
+ contentType?: string | undefined;
69
+ content?: string | undefined;
70
+ } | undefined;
71
+ }, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "microsoft_teams_get_channel_message", unknown>;
72
+ //# sourceMappingURL=get-channel-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-channel-message.d.ts","sourceRoot":"","sources":["../../../../src/providers/microsoft-teams/tools/get-channel-message.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,4BAA4B;;;;iBAMvC,CAAC;AA8CH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqCxC,CAAC;AAEH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mJA6EzD"}
@@ -0,0 +1,36 @@
1
+ import { z } from 'zod';
2
+ import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
3
+ export declare const getChannelInputSchema: z.ZodObject<{
4
+ teamId: z.ZodString;
5
+ channelId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ export declare const getChannelOutputSchema: z.ZodObject<{
8
+ id: z.ZodString;
9
+ createdDateTime: z.ZodOptional<z.ZodString>;
10
+ description: z.ZodOptional<z.ZodString>;
11
+ displayName: z.ZodOptional<z.ZodString>;
12
+ email: z.ZodOptional<z.ZodString>;
13
+ isArchived: z.ZodOptional<z.ZodBoolean>;
14
+ isFavoriteByDefault: z.ZodOptional<z.ZodBoolean>;
15
+ layoutType: z.ZodOptional<z.ZodString>;
16
+ membershipType: z.ZodOptional<z.ZodString>;
17
+ tenantId: z.ZodOptional<z.ZodString>;
18
+ webUrl: z.ZodOptional<z.ZodString>;
19
+ }, z.core.$strip>;
20
+ export declare function getChannelTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
21
+ teamId: string;
22
+ channelId: string;
23
+ }, {
24
+ id: string;
25
+ createdDateTime?: string | undefined;
26
+ description?: string | undefined;
27
+ displayName?: string | undefined;
28
+ email?: string | undefined;
29
+ isArchived?: boolean | undefined;
30
+ isFavoriteByDefault?: boolean | undefined;
31
+ layoutType?: string | undefined;
32
+ membershipType?: string | undefined;
33
+ tenantId?: string | undefined;
34
+ webUrl?: string | undefined;
35
+ }, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "microsoft_teams_get_channel", unknown>;
36
+ //# sourceMappingURL=get-channel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-channel.d.ts","sourceRoot":"","sources":["../../../../src/providers/microsoft-teams/tools/get-channel.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,qBAAqB;;;iBAKhC,CAAC;AAgBH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;iBAYjC,CAAC;AAEH,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;2IA0ClD"}
@@ -0,0 +1,73 @@
1
+ import { z } from 'zod';
2
+ import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
3
+ export declare const getChatMessageInputSchema: z.ZodObject<{
4
+ chatId: z.ZodString;
5
+ messageId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ export declare const getChatMessageOutputSchema: z.ZodObject<{
8
+ id: z.ZodString;
9
+ chatId: z.ZodString;
10
+ createdDateTime: z.ZodOptional<z.ZodString>;
11
+ lastModifiedDateTime: z.ZodOptional<z.ZodString>;
12
+ deletedDateTime: z.ZodOptional<z.ZodString>;
13
+ from: z.ZodOptional<z.ZodObject<{
14
+ user: z.ZodOptional<z.ZodObject<{
15
+ id: z.ZodOptional<z.ZodString>;
16
+ displayName: z.ZodOptional<z.ZodString>;
17
+ email: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>>;
19
+ application: z.ZodOptional<z.ZodObject<{
20
+ id: z.ZodOptional<z.ZodString>;
21
+ displayName: z.ZodOptional<z.ZodString>;
22
+ }, z.core.$strip>>;
23
+ }, z.core.$strip>>;
24
+ body: z.ZodOptional<z.ZodObject<{
25
+ contentType: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
26
+ html: "html";
27
+ text: "text";
28
+ }>, z.ZodString]>>;
29
+ content: z.ZodOptional<z.ZodString>;
30
+ }, z.core.$strip>>;
31
+ importance: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
32
+ high: "high";
33
+ normal: "normal";
34
+ urgent: "urgent";
35
+ }>, z.ZodString]>>;
36
+ replyToId: z.ZodOptional<z.ZodString>;
37
+ messageType: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
38
+ chatEvent: "chatEvent";
39
+ message: "message";
40
+ systemEventMessage: "systemEventMessage";
41
+ typing: "typing";
42
+ unknownFutureValue: "unknownFutureValue";
43
+ }>, z.ZodString]>>;
44
+ }, z.core.$strip>;
45
+ export declare function getChatMessageTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
46
+ chatId: string;
47
+ messageId: string;
48
+ }, {
49
+ id: string;
50
+ chatId: string;
51
+ createdDateTime?: string | undefined;
52
+ lastModifiedDateTime?: string | undefined;
53
+ deletedDateTime?: string | undefined;
54
+ from?: {
55
+ user?: {
56
+ id?: string | undefined;
57
+ displayName?: string | undefined;
58
+ email?: string | undefined;
59
+ } | undefined;
60
+ application?: {
61
+ id?: string | undefined;
62
+ displayName?: string | undefined;
63
+ } | undefined;
64
+ } | undefined;
65
+ body?: {
66
+ contentType?: string | undefined;
67
+ content?: string | undefined;
68
+ } | undefined;
69
+ importance?: string | undefined;
70
+ replyToId?: string | undefined;
71
+ messageType?: string | undefined;
72
+ }, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "microsoft_teams_get_chat_message", unknown>;
73
+ //# sourceMappingURL=get-chat-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/providers/microsoft-teams/tools/get-chat-message.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,yBAAyB;;;iBAKpC,CAAC;AAyCH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmCrC,CAAC;AAEH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;gJA4EtD"}
@@ -0,0 +1,33 @@
1
+ import { z } from 'zod';
2
+ import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
3
+ export declare const getChatInputSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ }, z.core.$strip>;
6
+ export declare const getChatOutputSchema: z.ZodObject<{
7
+ id: z.ZodString;
8
+ topic: z.ZodOptional<z.ZodString>;
9
+ chat_type: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
10
+ group: "group";
11
+ meeting: "meeting";
12
+ oneOnOne: "oneOnOne";
13
+ unknownFutureValue: "unknownFutureValue";
14
+ }>, z.ZodString]>>;
15
+ created_at: z.ZodOptional<z.ZodString>;
16
+ last_updated_at: z.ZodOptional<z.ZodString>;
17
+ join_url: z.ZodOptional<z.ZodString>;
18
+ tenant_id: z.ZodOptional<z.ZodString>;
19
+ web_url: z.ZodOptional<z.ZodString>;
20
+ }, z.core.$strip>;
21
+ export declare function getChatTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
22
+ id: string;
23
+ }, {
24
+ id: string;
25
+ topic?: string | undefined;
26
+ chat_type?: string | undefined;
27
+ created_at?: string | undefined;
28
+ last_updated_at?: string | undefined;
29
+ join_url?: string | undefined;
30
+ tenant_id?: string | undefined;
31
+ web_url?: string | undefined;
32
+ }, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "microsoft_teams_get_chat", unknown>;
33
+ //# sourceMappingURL=get-chat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-chat.d.ts","sourceRoot":"","sources":["../../../../src/providers/microsoft-teams/tools/get-chat.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,kBAAkB;;iBAE7B,CAAC;AAmBH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;iBAS9B,CAAC;AAEH,wBAAgB,WAAW,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;wIAsC/C"}
@@ -0,0 +1,96 @@
1
+ import { z } from 'zod';
2
+ import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
3
+ export declare const getTeamInputSchema: z.ZodObject<{
4
+ teamId: z.ZodString;
5
+ }, z.core.$strip>;
6
+ export declare const getTeamOutputSchema: z.ZodObject<{
7
+ id: z.ZodString;
8
+ displayName: z.ZodOptional<z.ZodString>;
9
+ description: z.ZodOptional<z.ZodString>;
10
+ classification: z.ZodOptional<z.ZodString>;
11
+ visibility: z.ZodOptional<z.ZodString>;
12
+ isArchived: z.ZodOptional<z.ZodBoolean>;
13
+ createdDateTime: z.ZodOptional<z.ZodString>;
14
+ internalId: z.ZodOptional<z.ZodString>;
15
+ tenantId: z.ZodOptional<z.ZodString>;
16
+ webUrl: z.ZodOptional<z.ZodString>;
17
+ funSettings: z.ZodOptional<z.ZodObject<{
18
+ allowGiphy: z.ZodOptional<z.ZodBoolean>;
19
+ giphyContentRating: z.ZodOptional<z.ZodString>;
20
+ allowStickersAndMemes: z.ZodOptional<z.ZodBoolean>;
21
+ allowCustomMemes: z.ZodOptional<z.ZodBoolean>;
22
+ }, z.core.$strip>>;
23
+ guestSettings: z.ZodOptional<z.ZodObject<{
24
+ allowCreateUpdateChannels: z.ZodOptional<z.ZodBoolean>;
25
+ allowDeleteChannels: z.ZodOptional<z.ZodBoolean>;
26
+ }, z.core.$strip>>;
27
+ memberSettings: z.ZodOptional<z.ZodObject<{
28
+ allowCreateUpdateChannels: z.ZodOptional<z.ZodBoolean>;
29
+ allowDeleteChannels: z.ZodOptional<z.ZodBoolean>;
30
+ allowAddRemoveApps: z.ZodOptional<z.ZodBoolean>;
31
+ allowCreateUpdateRemoveTabs: z.ZodOptional<z.ZodBoolean>;
32
+ allowCreateUpdateRemoveConnectors: z.ZodOptional<z.ZodBoolean>;
33
+ }, z.core.$strip>>;
34
+ messagingSettings: z.ZodOptional<z.ZodObject<{
35
+ allowUserEditMessages: z.ZodOptional<z.ZodBoolean>;
36
+ allowUserDeleteMessages: z.ZodOptional<z.ZodBoolean>;
37
+ allowOwnerDeleteMessages: z.ZodOptional<z.ZodBoolean>;
38
+ allowTeamMentions: z.ZodOptional<z.ZodBoolean>;
39
+ allowChannelMentions: z.ZodOptional<z.ZodBoolean>;
40
+ }, z.core.$strip>>;
41
+ discoverySettings: z.ZodOptional<z.ZodObject<{
42
+ showInTeamsSearchAndSuggestions: z.ZodOptional<z.ZodBoolean>;
43
+ }, z.core.$strip>>;
44
+ summary: z.ZodOptional<z.ZodObject<{
45
+ ownersCount: z.ZodOptional<z.ZodNumber>;
46
+ membersCount: z.ZodOptional<z.ZodNumber>;
47
+ guestsCount: z.ZodOptional<z.ZodNumber>;
48
+ }, z.core.$strip>>;
49
+ }, z.core.$strip>;
50
+ export declare function getTeamTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
51
+ teamId: string;
52
+ }, {
53
+ id: string;
54
+ displayName?: string | undefined;
55
+ description?: string | undefined;
56
+ classification?: string | undefined;
57
+ visibility?: string | undefined;
58
+ isArchived?: boolean | undefined;
59
+ createdDateTime?: string | undefined;
60
+ internalId?: string | undefined;
61
+ tenantId?: string | undefined;
62
+ webUrl?: string | undefined;
63
+ funSettings?: {
64
+ allowGiphy?: boolean | undefined;
65
+ giphyContentRating?: string | undefined;
66
+ allowStickersAndMemes?: boolean | undefined;
67
+ allowCustomMemes?: boolean | undefined;
68
+ } | undefined;
69
+ guestSettings?: {
70
+ allowCreateUpdateChannels?: boolean | undefined;
71
+ allowDeleteChannels?: boolean | undefined;
72
+ } | undefined;
73
+ memberSettings?: {
74
+ allowCreateUpdateChannels?: boolean | undefined;
75
+ allowDeleteChannels?: boolean | undefined;
76
+ allowAddRemoveApps?: boolean | undefined;
77
+ allowCreateUpdateRemoveTabs?: boolean | undefined;
78
+ allowCreateUpdateRemoveConnectors?: boolean | undefined;
79
+ } | undefined;
80
+ messagingSettings?: {
81
+ allowUserEditMessages?: boolean | undefined;
82
+ allowUserDeleteMessages?: boolean | undefined;
83
+ allowOwnerDeleteMessages?: boolean | undefined;
84
+ allowTeamMentions?: boolean | undefined;
85
+ allowChannelMentions?: boolean | undefined;
86
+ } | undefined;
87
+ discoverySettings?: {
88
+ showInTeamsSearchAndSuggestions?: boolean | undefined;
89
+ } | undefined;
90
+ summary?: {
91
+ ownersCount?: number | undefined;
92
+ membersCount?: number | undefined;
93
+ guestsCount?: number | undefined;
94
+ } | undefined;
95
+ }, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "microsoft_teams_get_team", unknown>;
96
+ //# sourceMappingURL=get-team.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-team.d.ts","sourceRoot":"","sources":["../../../../src/providers/microsoft-teams/tools/get-team.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,kBAAkB;;iBAE7B,CAAC;AA2DH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiB9B,CAAC;AAEH,wBAAgB,WAAW,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wIA4C/C"}
@@ -0,0 +1,90 @@
1
+ import { z } from 'zod';
2
+ import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
3
+ export declare const listChannelMessagesInputSchema: z.ZodObject<{
4
+ team_id: z.ZodOptional<z.ZodString>;
5
+ channel_id: z.ZodOptional<z.ZodString>;
6
+ next_link: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ export declare const listChannelMessagesOutputSchema: z.ZodObject<{
9
+ messages: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodString;
11
+ createdDateTime: z.ZodOptional<z.ZodString>;
12
+ lastModifiedDateTime: z.ZodOptional<z.ZodString>;
13
+ deletedDateTime: z.ZodOptional<z.ZodString>;
14
+ from: z.ZodOptional<z.ZodObject<{
15
+ user: z.ZodOptional<z.ZodObject<{
16
+ id: z.ZodOptional<z.ZodString>;
17
+ displayName: z.ZodOptional<z.ZodString>;
18
+ userIdentityType: z.ZodOptional<z.ZodString>;
19
+ }, z.core.$strip>>;
20
+ }, z.core.$strip>>;
21
+ body: z.ZodOptional<z.ZodObject<{
22
+ contentType: z.ZodOptional<z.ZodString>;
23
+ content: z.ZodOptional<z.ZodString>;
24
+ }, z.core.$strip>>;
25
+ importance: z.ZodOptional<z.ZodString>;
26
+ reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
27
+ reactionType: z.ZodOptional<z.ZodString>;
28
+ user: z.ZodOptional<z.ZodObject<{
29
+ id: z.ZodOptional<z.ZodString>;
30
+ displayName: z.ZodOptional<z.ZodString>;
31
+ }, z.core.$strip>>;
32
+ createdDateTime: z.ZodOptional<z.ZodString>;
33
+ }, z.core.$strip>>>;
34
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
35
+ id: z.ZodOptional<z.ZodString>;
36
+ contentType: z.ZodOptional<z.ZodString>;
37
+ contentUrl: z.ZodOptional<z.ZodString>;
38
+ name: z.ZodOptional<z.ZodString>;
39
+ }, z.core.$strip>>>;
40
+ replyToId: z.ZodOptional<z.ZodString>;
41
+ messageType: z.ZodOptional<z.ZodString>;
42
+ subject: z.ZodOptional<z.ZodString>;
43
+ summary: z.ZodOptional<z.ZodString>;
44
+ }, z.core.$strip>>;
45
+ next_link: z.ZodOptional<z.ZodString>;
46
+ }, z.core.$strip>;
47
+ export declare function listChannelMessagesTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
48
+ team_id?: string | undefined;
49
+ channel_id?: string | undefined;
50
+ next_link?: string | undefined;
51
+ }, {
52
+ messages: {
53
+ id: string;
54
+ createdDateTime?: string | undefined;
55
+ lastModifiedDateTime?: string | undefined;
56
+ deletedDateTime?: string | undefined;
57
+ from?: {
58
+ user?: {
59
+ id?: string | undefined;
60
+ displayName?: string | undefined;
61
+ userIdentityType?: string | undefined;
62
+ } | undefined;
63
+ } | undefined;
64
+ body?: {
65
+ contentType?: string | undefined;
66
+ content?: string | undefined;
67
+ } | undefined;
68
+ importance?: string | undefined;
69
+ reactions?: {
70
+ reactionType?: string | undefined;
71
+ user?: {
72
+ id?: string | undefined;
73
+ displayName?: string | undefined;
74
+ } | undefined;
75
+ createdDateTime?: string | undefined;
76
+ }[] | undefined;
77
+ attachments?: {
78
+ id?: string | undefined;
79
+ contentType?: string | undefined;
80
+ contentUrl?: string | undefined;
81
+ name?: string | undefined;
82
+ }[] | undefined;
83
+ replyToId?: string | undefined;
84
+ messageType?: string | undefined;
85
+ subject?: string | undefined;
86
+ summary?: string | undefined;
87
+ }[];
88
+ next_link?: string | undefined;
89
+ }, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "microsoft_teams_list_channel_messages", unknown>;
90
+ //# sourceMappingURL=list-channel-messages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-channel-messages.d.ts","sourceRoot":"","sources":["../../../../src/providers/microsoft-teams/tools/list-channel-messages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,8BAA8B;;;;iBAazC,CAAC;AA8GH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG1C,CAAC;AAEH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qJAqG3D"}
@@ -0,0 +1,75 @@
1
+ import { z } from 'zod';
2
+ import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
3
+ export declare const listChannelRepliesInputSchema: z.ZodObject<{
4
+ teamId: z.ZodString;
5
+ channelId: z.ZodString;
6
+ messageId: z.ZodString;
7
+ cursor: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ export declare const listChannelRepliesOutputSchema: z.ZodObject<{
10
+ items: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodString;
12
+ replyToId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ deletedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ bodyContentType: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
18
+ html: "html";
19
+ text: "text";
20
+ }>, z.ZodString]>>>;
21
+ bodyContent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ fromUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ fromUserDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ fromApplicationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ fromApplicationDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ channelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ messageType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ importance: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
30
+ high: "high";
31
+ normal: "normal";
32
+ urgent: "urgent";
33
+ }>, z.ZodString]>>>;
34
+ reactions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
35
+ reactionType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ userDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ }, z.core.$strip>>>>;
40
+ }, z.core.$strip>>;
41
+ next_cursor: z.ZodOptional<z.ZodString>;
42
+ }, z.core.$strip>;
43
+ export declare function listChannelRepliesTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
44
+ teamId: string;
45
+ channelId: string;
46
+ messageId: string;
47
+ cursor?: string | undefined;
48
+ }, {
49
+ items: {
50
+ id: string;
51
+ replyToId?: string | null | undefined;
52
+ createdDateTime?: string | null | undefined;
53
+ lastModifiedDateTime?: string | null | undefined;
54
+ deletedDateTime?: string | null | undefined;
55
+ subject?: string | null | undefined;
56
+ bodyContentType?: string | null | undefined;
57
+ bodyContent?: string | null | undefined;
58
+ fromUserId?: string | null | undefined;
59
+ fromUserDisplayName?: string | null | undefined;
60
+ fromApplicationId?: string | null | undefined;
61
+ fromApplicationDisplayName?: string | null | undefined;
62
+ teamId?: string | null | undefined;
63
+ channelId?: string | null | undefined;
64
+ messageType?: string | null | undefined;
65
+ importance?: string | null | undefined;
66
+ reactions?: {
67
+ reactionType?: string | null | undefined;
68
+ userId?: string | null | undefined;
69
+ userDisplayName?: string | null | undefined;
70
+ createdDateTime?: string | null | undefined;
71
+ }[] | null | undefined;
72
+ }[];
73
+ next_cursor?: string | undefined;
74
+ }, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "microsoft_teams_list_channel_replies", unknown>;
75
+ //# sourceMappingURL=list-channel-replies.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-channel-replies.d.ts","sourceRoot":"","sources":["../../../../src/providers/microsoft-teams/tools/list-channel-replies.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,6BAA6B;;;;;iBAQxC,CAAC;AA8FH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMzC,CAAC;AAEH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oJAwD1D"}
@@ -0,0 +1,52 @@
1
+ import { z } from 'zod';
2
+ import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
3
+ export declare const listChannelTabsInputSchema: z.ZodObject<{
4
+ teamId: z.ZodString;
5
+ channelId: z.ZodString;
6
+ cursor: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ export declare const listChannelTabsOutputSchema: z.ZodObject<{
9
+ items: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodString;
11
+ displayName: z.ZodOptional<z.ZodString>;
12
+ configuration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ contentUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ websiteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ removeUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$strip>>>;
18
+ sortOrderIndex: z.ZodOptional<z.ZodString>;
19
+ teamsApp: z.ZodOptional<z.ZodObject<{
20
+ id: z.ZodString;
21
+ displayName: z.ZodOptional<z.ZodString>;
22
+ distributionMethod: z.ZodOptional<z.ZodString>;
23
+ }, z.core.$strip>>;
24
+ webUrl: z.ZodOptional<z.ZodString>;
25
+ }, z.core.$strip>>;
26
+ nextCursor: z.ZodOptional<z.ZodString>;
27
+ }, z.core.$strip>;
28
+ export declare function listChannelTabsTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
29
+ teamId: string;
30
+ channelId: string;
31
+ cursor?: string | undefined;
32
+ }, {
33
+ items: {
34
+ id: string;
35
+ displayName?: string | undefined;
36
+ configuration?: {
37
+ entityId?: string | null | undefined;
38
+ contentUrl?: string | null | undefined;
39
+ websiteUrl?: string | null | undefined;
40
+ removeUrl?: string | null | undefined;
41
+ } | null | undefined;
42
+ sortOrderIndex?: string | undefined;
43
+ teamsApp?: {
44
+ id: string;
45
+ displayName?: string | undefined;
46
+ distributionMethod?: string | undefined;
47
+ } | undefined;
48
+ webUrl?: string | undefined;
49
+ }[];
50
+ nextCursor?: string | undefined;
51
+ }, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "microsoft_teams_list_channel_tabs", unknown>;
52
+ //# sourceMappingURL=list-channel-tabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-channel-tabs.d.ts","sourceRoot":"","sources":["../../../../src/providers/microsoft-teams/tools/list-channel-tabs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,0BAA0B;;;;iBAOrC,CAAC;AA2CH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;iBAGtC,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;iJA+BvD"}
@@ -0,0 +1,42 @@
1
+ import { z } from 'zod';
2
+ import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
3
+ export declare const listChannelsInputSchema: z.ZodObject<{
4
+ teamId: z.ZodString;
5
+ cursor: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ export declare const listChannelsOutputSchema: z.ZodObject<{
8
+ items: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodString;
10
+ createdDateTime: z.ZodOptional<z.ZodString>;
11
+ displayName: z.ZodOptional<z.ZodString>;
12
+ description: z.ZodOptional<z.ZodString>;
13
+ email: z.ZodOptional<z.ZodString>;
14
+ webUrl: z.ZodOptional<z.ZodString>;
15
+ membershipType: z.ZodOptional<z.ZodString>;
16
+ layoutType: z.ZodOptional<z.ZodString>;
17
+ isArchived: z.ZodOptional<z.ZodBoolean>;
18
+ isFavoriteByDefault: z.ZodOptional<z.ZodBoolean>;
19
+ tenantId: z.ZodOptional<z.ZodString>;
20
+ }, z.core.$strip>>;
21
+ nextCursor: z.ZodOptional<z.ZodString>;
22
+ }, z.core.$strip>;
23
+ export declare function listChannelsTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
24
+ teamId: string;
25
+ cursor?: string | undefined;
26
+ }, {
27
+ items: {
28
+ id: string;
29
+ createdDateTime?: string | undefined;
30
+ displayName?: string | undefined;
31
+ description?: string | undefined;
32
+ email?: string | undefined;
33
+ webUrl?: string | undefined;
34
+ membershipType?: string | undefined;
35
+ layoutType?: string | undefined;
36
+ isArchived?: boolean | undefined;
37
+ isFavoriteByDefault?: boolean | undefined;
38
+ tenantId?: string | undefined;
39
+ }[];
40
+ nextCursor?: string | undefined;
41
+ }, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "microsoft_teams_list_channels", unknown>;
42
+ //# sourceMappingURL=list-channels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-channels.d.ts","sourceRoot":"","sources":["../../../../src/providers/microsoft-teams/tools/list-channels.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAwB,MAAM,oCAAoC,CAAC;AAE9F,eAAO,MAAM,uBAAuB;;;iBAMlC,CAAC;AA8BH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;iBAGnC,CAAC;AAEH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;6IA8CpD"}
@@ -0,0 +1,34 @@
1
+ import { z } from 'zod';
2
+ import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
3
+ export declare const listChatMembersInputSchema: z.ZodObject<{
4
+ chat_id: z.ZodString;
5
+ cursor: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ export declare const listChatMembersOutputSchema: z.ZodObject<{
8
+ members: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodString>;
10
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
11
+ display_name: z.ZodOptional<z.ZodString>;
12
+ visible_history_start_date_time: z.ZodOptional<z.ZodString>;
13
+ user_id: z.ZodOptional<z.ZodString>;
14
+ email: z.ZodOptional<z.ZodString>;
15
+ tenant_id: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>>;
17
+ next_cursor: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>;
19
+ export declare function listChatMembersTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
20
+ chat_id: string;
21
+ cursor?: string | undefined;
22
+ }, {
23
+ members: {
24
+ id?: string | undefined;
25
+ roles?: string[] | undefined;
26
+ display_name?: string | undefined;
27
+ visible_history_start_date_time?: string | undefined;
28
+ user_id?: string | undefined;
29
+ email?: string | undefined;
30
+ tenant_id?: string | undefined;
31
+ }[];
32
+ next_cursor?: string | undefined;
33
+ }, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "microsoft_teams_list_chat_members", unknown>;
34
+ //# sourceMappingURL=list-chat-members.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-chat-members.d.ts","sourceRoot":"","sources":["../../../../src/providers/microsoft-teams/tools/list-chat-members.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,0BAA0B;;;iBAGrC,CAAC;AA2BH,eAAO,MAAM,2BAA2B;;;;;;;;;;;iBAGtC,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;iJAkCvD"}