@mastra/connect 1.2.0-alpha.1 → 1.2.0
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/index.cjs +8359 -6923
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8359 -6923
- package/dist/index.js.map +1 -1
- package/dist/providers/google-sheet/tools/upsert-row.d.ts.map +1 -1
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/providers/microsoft-powerpoint/index.d.ts +5 -0
- package/dist/providers/microsoft-powerpoint/index.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/copy-presentation.d.ts +30 -0
- package/dist/providers/microsoft-powerpoint/tools/copy-presentation.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/create-presentation.d.ts +30 -0
- package/dist/providers/microsoft-powerpoint/tools/create-presentation.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/create-sharing-link.d.ts +46 -0
- package/dist/providers/microsoft-powerpoint/tools/create-sharing-link.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/delete-presentation.d.ts +16 -0
- package/dist/providers/microsoft-powerpoint/tools/delete-presentation.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/get-presentation-as-pdf.d.ts +20 -0
- package/dist/providers/microsoft-powerpoint/tools/get-presentation-as-pdf.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/get-presentation-content.d.ts +16 -0
- package/dist/providers/microsoft-powerpoint/tools/get-presentation-content.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/get-presentation.d.ts +71 -0
- package/dist/providers/microsoft-powerpoint/tools/get-presentation.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/get-site-drive.d.ts +24 -0
- package/dist/providers/microsoft-powerpoint/tools/get-site-drive.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/get-user-drive.d.ts +30 -0
- package/dist/providers/microsoft-powerpoint/tools/get-user-drive.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/list-presentation-permissions.d.ts +200 -0
- package/dist/providers/microsoft-powerpoint/tools/list-presentation-permissions.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/list-presentation-thumbnails.d.ts +26 -0
- package/dist/providers/microsoft-powerpoint/tools/list-presentation-thumbnails.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/list-presentation-versions.d.ts +40 -0
- package/dist/providers/microsoft-powerpoint/tools/list-presentation-versions.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/list-presentations.d.ts +42 -0
- package/dist/providers/microsoft-powerpoint/tools/list-presentations.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/list-sites.d.ts +40 -0
- package/dist/providers/microsoft-powerpoint/tools/list-sites.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/list-users.d.ts +34 -0
- package/dist/providers/microsoft-powerpoint/tools/list-users.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/move-presentation.d.ts +44 -0
- package/dist/providers/microsoft-powerpoint/tools/move-presentation.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/update-presentation-content.d.ts +30 -0
- package/dist/providers/microsoft-powerpoint/tools/update-presentation-content.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools/update-presentation-metadata.d.ts +32 -0
- package/dist/providers/microsoft-powerpoint/tools/update-presentation-metadata.d.ts.map +1 -0
- package/dist/providers/microsoft-powerpoint/tools.d.ts +3 -0
- package/dist/providers/microsoft-powerpoint/tools.d.ts.map +1 -0
- package/dist/providers/notion/tools/get-page-property-item.d.ts.map +1 -1
- package/dist/providers/one-drive/index.d.ts +5 -0
- package/dist/providers/one-drive/index.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/copy-item.d.ts +30 -0
- package/dist/providers/one-drive/tools/copy-item.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/create-folder.d.ts +38 -0
- package/dist/providers/one-drive/tools/create-folder.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/create-sharing-link.d.ts +39 -0
- package/dist/providers/one-drive/tools/create-sharing-link.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/create-upload-session.d.ts +20 -0
- package/dist/providers/one-drive/tools/create-upload-session.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/delete-item.d.ts +18 -0
- package/dist/providers/one-drive/tools/delete-item.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/delete-permission.d.ts +16 -0
- package/dist/providers/one-drive/tools/delete-permission.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/get-drive.d.ts +40 -0
- package/dist/providers/one-drive/tools/get-drive.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/get-item.d.ts +42 -0
- package/dist/providers/one-drive/tools/get-item.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/get-permission.d.ts +104 -0
- package/dist/providers/one-drive/tools/get-permission.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/invite-recipients.d.ts +65 -0
- package/dist/providers/one-drive/tools/invite-recipients.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/list-children.d.ts +50 -0
- package/dist/providers/one-drive/tools/list-children.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/list-drives.d.ts +22 -0
- package/dist/providers/one-drive/tools/list-drives.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/list-permissions.d.ts +102 -0
- package/dist/providers/one-drive/tools/list-permissions.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/list-recent-items.d.ts +28 -0
- package/dist/providers/one-drive/tools/list-recent-items.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/list-shared-items.d.ts +48 -0
- package/dist/providers/one-drive/tools/list-shared-items.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/list-versions.d.ts +34 -0
- package/dist/providers/one-drive/tools/list-versions.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/move-item.d.ts +22 -0
- package/dist/providers/one-drive/tools/move-item.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/search-items.d.ts +52 -0
- package/dist/providers/one-drive/tools/search-items.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/update-item.d.ts +78 -0
- package/dist/providers/one-drive/tools/update-item.d.ts.map +1 -0
- package/dist/providers/one-drive/tools/upload-small-file.d.ts +32 -0
- package/dist/providers/one-drive/tools/upload-small-file.d.ts.map +1 -0
- package/dist/providers/one-drive/tools.d.ts +3 -0
- package/dist/providers/one-drive/tools.d.ts.map +1 -0
- package/package.json +11 -11
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
|
|
3
|
+
export declare const getPermissionInputSchema: z.ZodObject<{
|
|
4
|
+
itemId: z.ZodString;
|
|
5
|
+
permissionId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export declare const getPermissionOutputSchema: z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10
|
+
grantedTo: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
12
|
+
id: z.ZodOptional<z.ZodString>;
|
|
13
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
14
|
+
email: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
application: z.ZodOptional<z.ZodObject<{
|
|
17
|
+
id: z.ZodOptional<z.ZodString>;
|
|
18
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
grantedToIdentities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
23
|
+
id: z.ZodOptional<z.ZodString>;
|
|
24
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
25
|
+
email: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
application: z.ZodOptional<z.ZodObject<{
|
|
28
|
+
id: z.ZodOptional<z.ZodString>;
|
|
29
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
}, z.core.$strip>>>;
|
|
32
|
+
invitation: z.ZodOptional<z.ZodObject<{
|
|
33
|
+
email: z.ZodOptional<z.ZodString>;
|
|
34
|
+
redeemedBy: z.ZodOptional<z.ZodString>;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
inheritedFrom: z.ZodOptional<z.ZodObject<{
|
|
37
|
+
driveId: z.ZodOptional<z.ZodString>;
|
|
38
|
+
id: z.ZodOptional<z.ZodString>;
|
|
39
|
+
name: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
42
|
+
type: z.ZodOptional<z.ZodString>;
|
|
43
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
44
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
45
|
+
application: z.ZodOptional<z.ZodObject<{
|
|
46
|
+
id: z.ZodOptional<z.ZodString>;
|
|
47
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
expirationDateTime: z.ZodOptional<z.ZodString>;
|
|
51
|
+
hasPassword: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
+
shareId: z.ZodOptional<z.ZodString>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
export declare function getPermissionTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
|
|
55
|
+
itemId: string;
|
|
56
|
+
permissionId: string;
|
|
57
|
+
}, {
|
|
58
|
+
id: string;
|
|
59
|
+
roles?: string[] | undefined;
|
|
60
|
+
grantedTo?: {
|
|
61
|
+
user?: {
|
|
62
|
+
id?: string | undefined;
|
|
63
|
+
displayName?: string | undefined;
|
|
64
|
+
email?: string | undefined;
|
|
65
|
+
} | undefined;
|
|
66
|
+
application?: {
|
|
67
|
+
id?: string | undefined;
|
|
68
|
+
displayName?: string | undefined;
|
|
69
|
+
} | undefined;
|
|
70
|
+
} | undefined;
|
|
71
|
+
grantedToIdentities?: {
|
|
72
|
+
user?: {
|
|
73
|
+
id?: string | undefined;
|
|
74
|
+
displayName?: string | undefined;
|
|
75
|
+
email?: string | undefined;
|
|
76
|
+
} | undefined;
|
|
77
|
+
application?: {
|
|
78
|
+
id?: string | undefined;
|
|
79
|
+
displayName?: string | undefined;
|
|
80
|
+
} | undefined;
|
|
81
|
+
}[] | undefined;
|
|
82
|
+
invitation?: {
|
|
83
|
+
email?: string | undefined;
|
|
84
|
+
redeemedBy?: string | undefined;
|
|
85
|
+
} | undefined;
|
|
86
|
+
inheritedFrom?: {
|
|
87
|
+
driveId?: string | undefined;
|
|
88
|
+
id?: string | undefined;
|
|
89
|
+
name?: string | undefined;
|
|
90
|
+
} | undefined;
|
|
91
|
+
link?: {
|
|
92
|
+
type?: string | undefined;
|
|
93
|
+
scope?: string | undefined;
|
|
94
|
+
webUrl?: string | undefined;
|
|
95
|
+
application?: {
|
|
96
|
+
id?: string | undefined;
|
|
97
|
+
displayName?: string | undefined;
|
|
98
|
+
} | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
expirationDateTime?: string | undefined;
|
|
101
|
+
hasPassword?: boolean | undefined;
|
|
102
|
+
shareId?: string | undefined;
|
|
103
|
+
}, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "one_drive_get_permission", unknown>;
|
|
104
|
+
//# sourceMappingURL=get-permission.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-permission.d.ts","sourceRoot":"","sources":["../../../../src/providers/one-drive/tools/get-permission.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,wBAAwB;;;iBAKnC,CAAC;AAsDH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkCpC,CAAC;AAEH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wIAuCrD"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
|
|
3
|
+
export declare const inviteRecipientsInputSchema: z.ZodObject<{
|
|
4
|
+
itemId: z.ZodString;
|
|
5
|
+
recipients: z.ZodArray<z.ZodObject<{
|
|
6
|
+
email: z.ZodOptional<z.ZodString>;
|
|
7
|
+
objectId: z.ZodOptional<z.ZodString>;
|
|
8
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
11
|
+
read: "read";
|
|
12
|
+
write: "write";
|
|
13
|
+
}>>;
|
|
14
|
+
requireSignIn: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
sendInvitation: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
message: z.ZodOptional<z.ZodString>;
|
|
17
|
+
password: z.ZodOptional<z.ZodString>;
|
|
18
|
+
expirationDateTime: z.ZodOptional<z.ZodString>;
|
|
19
|
+
retainInheritedPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
export declare const inviteRecipientsOutputSchema: z.ZodObject<{
|
|
22
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
23
|
+
id: z.ZodOptional<z.ZodString>;
|
|
24
|
+
grantedToUserId: z.ZodOptional<z.ZodString>;
|
|
25
|
+
grantedToUserDisplayName: z.ZodOptional<z.ZodString>;
|
|
26
|
+
invitationEmail: z.ZodOptional<z.ZodString>;
|
|
27
|
+
signInRequired: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29
|
+
hasPassword: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
expirationDateTime: z.ZodOptional<z.ZodString>;
|
|
31
|
+
hasError: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
33
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
export declare function inviteRecipientsTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
|
|
37
|
+
itemId: string;
|
|
38
|
+
recipients: {
|
|
39
|
+
email?: string | undefined;
|
|
40
|
+
objectId?: string | undefined;
|
|
41
|
+
alias?: string | undefined;
|
|
42
|
+
}[];
|
|
43
|
+
roles: ("read" | "write")[];
|
|
44
|
+
requireSignIn?: boolean | undefined;
|
|
45
|
+
sendInvitation?: boolean | undefined;
|
|
46
|
+
message?: string | undefined;
|
|
47
|
+
password?: string | undefined;
|
|
48
|
+
expirationDateTime?: string | undefined;
|
|
49
|
+
retainInheritedPermissions?: boolean | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
permissions: {
|
|
52
|
+
id?: string | undefined;
|
|
53
|
+
grantedToUserId?: string | undefined;
|
|
54
|
+
grantedToUserDisplayName?: string | undefined;
|
|
55
|
+
invitationEmail?: string | undefined;
|
|
56
|
+
signInRequired?: boolean | undefined;
|
|
57
|
+
roles?: string[] | undefined;
|
|
58
|
+
hasPassword?: boolean | undefined;
|
|
59
|
+
expirationDateTime?: string | undefined;
|
|
60
|
+
hasError?: boolean | undefined;
|
|
61
|
+
errorCode?: string | undefined;
|
|
62
|
+
errorMessage?: string | undefined;
|
|
63
|
+
}[];
|
|
64
|
+
}, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "one_drive_invite_recipients", unknown>;
|
|
65
|
+
//# sourceMappingURL=invite-recipients.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invite-recipients.d.ts","sourceRoot":"","sources":["../../../../src/providers/one-drive/tools/invite-recipients.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAQxE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;iBAiCtC,CAAC;AAoEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;iBAEvC,CAAC;AAEH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;2IAmFxD"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
|
|
3
|
+
export declare const listChildrenInputSchema: z.ZodObject<{
|
|
4
|
+
itemId: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const listChildrenOutputSchema: z.ZodObject<{
|
|
7
|
+
items: z.ZodArray<z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
12
|
+
createdDateTime: z.ZodOptional<z.ZodString>;
|
|
13
|
+
lastModifiedDateTime: z.ZodOptional<z.ZodString>;
|
|
14
|
+
fileSystemInfo: z.ZodOptional<z.ZodObject<{
|
|
15
|
+
createdDateTime: z.ZodOptional<z.ZodString>;
|
|
16
|
+
lastModifiedDateTime: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
folder: z.ZodOptional<z.ZodObject<{
|
|
19
|
+
childCount: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
deleted: z.ZodOptional<z.ZodObject<{
|
|
22
|
+
state: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
nextLink: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
export declare function listChildrenTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
|
|
28
|
+
itemId?: string | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
items: {
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
size?: number | undefined;
|
|
34
|
+
webUrl?: string | undefined;
|
|
35
|
+
createdDateTime?: string | undefined;
|
|
36
|
+
lastModifiedDateTime?: string | undefined;
|
|
37
|
+
fileSystemInfo?: {
|
|
38
|
+
createdDateTime?: string | undefined;
|
|
39
|
+
lastModifiedDateTime?: string | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
folder?: {
|
|
42
|
+
childCount?: number | undefined;
|
|
43
|
+
} | undefined;
|
|
44
|
+
deleted?: {
|
|
45
|
+
state?: string | undefined;
|
|
46
|
+
} | undefined;
|
|
47
|
+
}[];
|
|
48
|
+
nextLink?: string | undefined;
|
|
49
|
+
}, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "one_drive_list_children", unknown>;
|
|
50
|
+
//# sourceMappingURL=list-children.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-children.d.ts","sourceRoot":"","sources":["../../../../src/providers/one-drive/tools/list-children.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,uBAAuB;;iBAKlC,CAAC;AA2BH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;iBAGnC,CAAC;AAEH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;uIA4CpD"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
|
|
3
|
+
export declare const listDrivesInputSchema: z.ZodObject<{}, z.core.$strip>;
|
|
4
|
+
export declare const listDrivesOutputSchema: z.ZodObject<{
|
|
5
|
+
drives: z.ZodArray<z.ZodObject<{
|
|
6
|
+
id: z.ZodString;
|
|
7
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
driveType: z.ZodOptional<z.ZodString>;
|
|
9
|
+
ownerId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
ownerName: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export declare function listDrivesTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<Record<string, never>, {
|
|
14
|
+
drives: {
|
|
15
|
+
id: string;
|
|
16
|
+
name?: string | undefined;
|
|
17
|
+
driveType?: string | undefined;
|
|
18
|
+
ownerId?: string | undefined;
|
|
19
|
+
ownerName?: string | undefined;
|
|
20
|
+
}[];
|
|
21
|
+
}, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "one_drive_list_drives", unknown>;
|
|
22
|
+
//# sourceMappingURL=list-drives.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-drives.d.ts","sourceRoot":"","sources":["../../../../src/providers/one-drive/tools/list-drives.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,qBAAqB,gCAAe,CAAC;AAuClD,eAAO,MAAM,sBAAsB;;;;;;;;iBAEjC,CAAC;AAEH,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa;;;;;;;;qIA8BlD"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
|
|
3
|
+
export declare const listPermissionsInputSchema: z.ZodObject<{
|
|
4
|
+
itemId: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const listPermissionsOutputSchema: z.ZodObject<{
|
|
7
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
roles: z.ZodArray<z.ZodString>;
|
|
10
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
12
|
+
type: z.ZodOptional<z.ZodString>;
|
|
13
|
+
application: z.ZodOptional<z.ZodObject<{
|
|
14
|
+
id: z.ZodOptional<z.ZodString>;
|
|
15
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
grantedTo: z.ZodOptional<z.ZodObject<{
|
|
19
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
20
|
+
id: z.ZodOptional<z.ZodString>;
|
|
21
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
application: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
id: z.ZodOptional<z.ZodString>;
|
|
25
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
28
|
+
id: z.ZodOptional<z.ZodString>;
|
|
29
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
}, z.core.$strip>>;
|
|
32
|
+
grantedToV2: z.ZodOptional<z.ZodObject<{
|
|
33
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
34
|
+
id: z.ZodOptional<z.ZodString>;
|
|
35
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
application: z.ZodOptional<z.ZodObject<{
|
|
38
|
+
id: z.ZodOptional<z.ZodString>;
|
|
39
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
42
|
+
id: z.ZodOptional<z.ZodString>;
|
|
43
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
inheritedFrom: z.ZodOptional<z.ZodObject<{
|
|
47
|
+
driveId: z.ZodOptional<z.ZodString>;
|
|
48
|
+
id: z.ZodOptional<z.ZodString>;
|
|
49
|
+
path: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
export declare function listPermissionsTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
|
|
54
|
+
itemId: string;
|
|
55
|
+
}, {
|
|
56
|
+
permissions: {
|
|
57
|
+
id: string;
|
|
58
|
+
roles: string[];
|
|
59
|
+
link?: {
|
|
60
|
+
webUrl?: string | undefined;
|
|
61
|
+
type?: string | undefined;
|
|
62
|
+
application?: {
|
|
63
|
+
id?: string | undefined;
|
|
64
|
+
displayName?: string | undefined;
|
|
65
|
+
} | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
grantedTo?: {
|
|
68
|
+
user?: {
|
|
69
|
+
id?: string | undefined;
|
|
70
|
+
displayName?: string | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
application?: {
|
|
73
|
+
id?: string | undefined;
|
|
74
|
+
displayName?: string | undefined;
|
|
75
|
+
} | undefined;
|
|
76
|
+
device?: {
|
|
77
|
+
id?: string | undefined;
|
|
78
|
+
displayName?: string | undefined;
|
|
79
|
+
} | undefined;
|
|
80
|
+
} | undefined;
|
|
81
|
+
grantedToV2?: {
|
|
82
|
+
user?: {
|
|
83
|
+
id?: string | undefined;
|
|
84
|
+
displayName?: string | undefined;
|
|
85
|
+
} | undefined;
|
|
86
|
+
application?: {
|
|
87
|
+
id?: string | undefined;
|
|
88
|
+
displayName?: string | undefined;
|
|
89
|
+
} | undefined;
|
|
90
|
+
device?: {
|
|
91
|
+
id?: string | undefined;
|
|
92
|
+
displayName?: string | undefined;
|
|
93
|
+
} | undefined;
|
|
94
|
+
} | undefined;
|
|
95
|
+
inheritedFrom?: {
|
|
96
|
+
driveId?: string | undefined;
|
|
97
|
+
id?: string | undefined;
|
|
98
|
+
path?: string | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
}[];
|
|
101
|
+
}, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "one_drive_list_permissions", unknown>;
|
|
102
|
+
//# sourceMappingURL=list-permissions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-permissions.d.ts","sourceRoot":"","sources":["../../../../src/providers/one-drive/tools/list-permissions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,0BAA0B;;iBAErC,CAAC;AAiDH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAEtC,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0IA6BvD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
|
|
3
|
+
export declare const listRecentItemsInputSchema: z.ZodObject<{}, z.core.$strip>;
|
|
4
|
+
export declare const listRecentItemsOutputSchema: z.ZodObject<{
|
|
5
|
+
items: z.ZodArray<z.ZodObject<{
|
|
6
|
+
id: z.ZodString;
|
|
7
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
9
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
createdDateTime: z.ZodOptional<z.ZodString>;
|
|
11
|
+
lastModifiedDateTime: z.ZodOptional<z.ZodString>;
|
|
12
|
+
isFolder: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
isFile: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export declare function listRecentItemsTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<Record<string, never>, {
|
|
17
|
+
items: {
|
|
18
|
+
id: string;
|
|
19
|
+
name?: string | undefined;
|
|
20
|
+
webUrl?: string | undefined;
|
|
21
|
+
size?: number | undefined;
|
|
22
|
+
createdDateTime?: string | undefined;
|
|
23
|
+
lastModifiedDateTime?: string | undefined;
|
|
24
|
+
isFolder?: boolean | undefined;
|
|
25
|
+
isFile?: boolean | undefined;
|
|
26
|
+
}[];
|
|
27
|
+
}, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "one_drive_list_recent_items", unknown>;
|
|
28
|
+
//# sourceMappingURL=list-recent-items.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-recent-items.d.ts","sourceRoot":"","sources":["../../../../src/providers/one-drive/tools/list-recent-items.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,0BAA0B,gCAAe,CAAC;AAcvD,eAAO,MAAM,2BAA2B;;;;;;;;;;;iBAatC,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;2IAuCvD"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
|
|
3
|
+
export declare const listSharedItemsInputSchema: z.ZodObject<{
|
|
4
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const listSharedItemsOutputSchema: z.ZodObject<{
|
|
7
|
+
items: z.ZodArray<z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
remoteId: z.ZodString;
|
|
11
|
+
remoteDriveId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
14
|
+
createdDateTime: z.ZodOptional<z.ZodString>;
|
|
15
|
+
lastModifiedDateTime: z.ZodOptional<z.ZodString>;
|
|
16
|
+
sharedBy: z.ZodOptional<z.ZodObject<{
|
|
17
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
18
|
+
id: z.ZodOptional<z.ZodString>;
|
|
19
|
+
email: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
sharedDateTime: z.ZodOptional<z.ZodString>;
|
|
22
|
+
isFolder: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export declare function listSharedItemsTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
|
|
27
|
+
cursor?: string | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
items: {
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
remoteId: string;
|
|
33
|
+
remoteDriveId?: string | undefined;
|
|
34
|
+
size?: number | undefined;
|
|
35
|
+
webUrl?: string | undefined;
|
|
36
|
+
createdDateTime?: string | undefined;
|
|
37
|
+
lastModifiedDateTime?: string | undefined;
|
|
38
|
+
sharedBy?: {
|
|
39
|
+
displayName?: string | undefined;
|
|
40
|
+
id?: string | undefined;
|
|
41
|
+
email?: string | undefined;
|
|
42
|
+
} | undefined;
|
|
43
|
+
sharedDateTime?: string | undefined;
|
|
44
|
+
isFolder?: boolean | undefined;
|
|
45
|
+
}[];
|
|
46
|
+
nextCursor?: string | undefined;
|
|
47
|
+
}, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "one_drive_list_shared_items", unknown>;
|
|
48
|
+
//# sourceMappingURL=list-shared-items.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-shared-items.d.ts","sourceRoot":"","sources":["../../../../src/providers/one-drive/tools/list-shared-items.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;AA0EH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;iBAGtC,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;2IA+DvD"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
|
|
3
|
+
export declare const listVersionsInputSchema: z.ZodObject<{
|
|
4
|
+
itemId: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const listVersionsOutputSchema: z.ZodObject<{
|
|
7
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
lastModifiedBy: z.ZodOptional<z.ZodObject<{
|
|
10
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodString>;
|
|
12
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
lastModifiedDateTime: z.ZodOptional<z.ZodString>;
|
|
16
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
export declare function listVersionsTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
|
|
20
|
+
itemId: string;
|
|
21
|
+
}, {
|
|
22
|
+
versions: {
|
|
23
|
+
id: string;
|
|
24
|
+
lastModifiedBy?: {
|
|
25
|
+
user?: {
|
|
26
|
+
id?: string | undefined;
|
|
27
|
+
displayName?: string | undefined;
|
|
28
|
+
} | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
lastModifiedDateTime?: string | undefined;
|
|
31
|
+
size?: number | undefined;
|
|
32
|
+
}[];
|
|
33
|
+
}, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "one_drive_list_versions", unknown>;
|
|
34
|
+
//# sourceMappingURL=list-versions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-versions.d.ts","sourceRoot":"","sources":["../../../../src/providers/one-drive/tools/list-versions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AAsCH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;iBAEnC,CAAC;AAEH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;uIAiDpD"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
|
|
3
|
+
export declare const moveItemInputSchema: z.ZodObject<{
|
|
4
|
+
itemId: z.ZodString;
|
|
5
|
+
parentFolderId: z.ZodOptional<z.ZodString>;
|
|
6
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export declare const moveItemOutputSchema: z.ZodObject<{
|
|
9
|
+
id: z.ZodString;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
parentFolderId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export declare function moveItemTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
|
|
14
|
+
itemId: string;
|
|
15
|
+
parentFolderId?: string | undefined;
|
|
16
|
+
name?: string | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
parentFolderId?: string | undefined;
|
|
21
|
+
}, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "one_drive_move_item", unknown>;
|
|
22
|
+
//# sourceMappingURL=move-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"move-item.d.ts","sourceRoot":"","sources":["../../../../src/providers/one-drive/tools/move-item.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,mBAAmB;;;;iBAO9B,CAAC;AAYH,eAAO,MAAM,oBAAoB;;;;iBAI/B,CAAC;AAEH,wBAAgB,YAAY,CAAC,KAAK,EAAE,aAAa;;;;;;;;mIAoChD"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
|
|
3
|
+
export declare const searchItemsInputSchema: z.ZodObject<{
|
|
4
|
+
query: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const searchItemsOutputSchema: z.ZodObject<{
|
|
7
|
+
items: z.ZodArray<z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
12
|
+
createdDateTime: z.ZodOptional<z.ZodString>;
|
|
13
|
+
lastModifiedDateTime: z.ZodOptional<z.ZodString>;
|
|
14
|
+
folder: z.ZodOptional<z.ZodObject<{
|
|
15
|
+
childCount: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
file: z.ZodOptional<z.ZodObject<{
|
|
18
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
parentReference: z.ZodOptional<z.ZodObject<{
|
|
21
|
+
driveId: z.ZodOptional<z.ZodString>;
|
|
22
|
+
id: z.ZodOptional<z.ZodString>;
|
|
23
|
+
path: z.ZodOptional<z.ZodString>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
nextLink: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
export declare function searchItemsTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
|
|
29
|
+
query: string;
|
|
30
|
+
}, {
|
|
31
|
+
items: {
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
size?: number | undefined;
|
|
35
|
+
webUrl?: string | undefined;
|
|
36
|
+
createdDateTime?: string | undefined;
|
|
37
|
+
lastModifiedDateTime?: string | undefined;
|
|
38
|
+
folder?: {
|
|
39
|
+
childCount?: number | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
file?: {
|
|
42
|
+
mimeType?: string | undefined;
|
|
43
|
+
} | undefined;
|
|
44
|
+
parentReference?: {
|
|
45
|
+
driveId?: string | undefined;
|
|
46
|
+
id?: string | undefined;
|
|
47
|
+
path?: string | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
}[];
|
|
50
|
+
nextLink?: string | undefined;
|
|
51
|
+
}, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "one_drive_search_items", unknown>;
|
|
52
|
+
//# sourceMappingURL=search-items.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-items.d.ts","sourceRoot":"","sources":["../../../../src/providers/one-drive/tools/search-items.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,sBAAsB;;iBAEjC,CAAC;AA2DH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;iBAGlC,CAAC;AAEH,wBAAgB,eAAe,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;sIA8DnD"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { PlatformProxy } from '../../../runtime/platform-proxy.js';
|
|
3
|
+
export declare const updateItemInputSchema: z.ZodObject<{
|
|
4
|
+
itemId: z.ZodString;
|
|
5
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
fileSystemInfo: z.ZodOptional<z.ZodObject<{
|
|
8
|
+
createdDateTime: z.ZodOptional<z.ZodString>;
|
|
9
|
+
lastModifiedDateTime: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
parentReference: z.ZodOptional<z.ZodObject<{
|
|
12
|
+
id: z.ZodOptional<z.ZodString>;
|
|
13
|
+
driveId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
path: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export declare const updateItemOutputSchema: z.ZodObject<{
|
|
18
|
+
id: z.ZodString;
|
|
19
|
+
name: z.ZodString;
|
|
20
|
+
description: z.ZodOptional<z.ZodString>;
|
|
21
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
23
|
+
createdDateTime: z.ZodOptional<z.ZodString>;
|
|
24
|
+
lastModifiedDateTime: z.ZodOptional<z.ZodString>;
|
|
25
|
+
file: z.ZodOptional<z.ZodObject<{
|
|
26
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
folder: z.ZodOptional<z.ZodObject<{
|
|
29
|
+
childCount: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
fileSystemInfo: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
createdDateTime: z.ZodOptional<z.ZodString>;
|
|
33
|
+
lastModifiedDateTime: z.ZodOptional<z.ZodString>;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
parentReference: z.ZodOptional<z.ZodObject<{
|
|
36
|
+
id: z.ZodOptional<z.ZodString>;
|
|
37
|
+
driveId: z.ZodOptional<z.ZodString>;
|
|
38
|
+
path: z.ZodOptional<z.ZodString>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export declare function updateItemTool(proxy: PlatformProxy): import("@mastra/core/tools").Tool<{
|
|
42
|
+
itemId: string;
|
|
43
|
+
name?: string | undefined;
|
|
44
|
+
description?: string | null | undefined;
|
|
45
|
+
fileSystemInfo?: {
|
|
46
|
+
createdDateTime?: string | undefined;
|
|
47
|
+
lastModifiedDateTime?: string | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
parentReference?: {
|
|
50
|
+
id?: string | undefined;
|
|
51
|
+
driveId?: string | undefined;
|
|
52
|
+
path?: string | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
}, {
|
|
55
|
+
id: string;
|
|
56
|
+
name: string;
|
|
57
|
+
description?: string | undefined;
|
|
58
|
+
size?: number | undefined;
|
|
59
|
+
webUrl?: string | undefined;
|
|
60
|
+
createdDateTime?: string | undefined;
|
|
61
|
+
lastModifiedDateTime?: string | undefined;
|
|
62
|
+
file?: {
|
|
63
|
+
mimeType?: string | undefined;
|
|
64
|
+
} | undefined;
|
|
65
|
+
folder?: {
|
|
66
|
+
childCount?: number | undefined;
|
|
67
|
+
} | undefined;
|
|
68
|
+
fileSystemInfo?: {
|
|
69
|
+
createdDateTime?: string | undefined;
|
|
70
|
+
lastModifiedDateTime?: string | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
parentReference?: {
|
|
73
|
+
id?: string | undefined;
|
|
74
|
+
driveId?: string | undefined;
|
|
75
|
+
path?: string | undefined;
|
|
76
|
+
} | undefined;
|
|
77
|
+
}, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "one_drive_update_item", unknown>;
|
|
78
|
+
//# sourceMappingURL=update-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-item.d.ts","sourceRoot":"","sources":["../../../../src/providers/one-drive/tools/update-item.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAsBxE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;iBAYhC,CAAC;AAmCH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;iBA+BjC,CAAC;AAgBH,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qIAsGlD"}
|