@keystrokehq/share_point 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/actions/add-attachment-to-list-item.cjs +1 -1
- package/dist/actions/add-attachment-to-list-item.cjs.map +1 -1
- package/dist/actions/add-attachment-to-list-item.d.cts +14 -2
- package/dist/actions/add-attachment-to-list-item.d.mts +14 -2
- package/dist/actions/add-attachment-to-list-item.mjs +1 -1
- package/dist/actions/add-attachment-to-list-item.mjs.map +1 -1
- package/dist/actions/add-field-link-to-content-type.cjs +2 -2
- package/dist/actions/add-field-link-to-content-type.cjs.map +1 -1
- package/dist/actions/add-field-link-to-content-type.d.cts +15 -3
- package/dist/actions/add-field-link-to-content-type.d.mts +15 -3
- package/dist/actions/add-field-link-to-content-type.mjs +2 -2
- package/dist/actions/add-field-link-to-content-type.mjs.map +1 -1
- package/dist/actions/add-role-assignment-to-item.cjs +1 -1
- package/dist/actions/add-role-assignment-to-item.cjs.map +1 -1
- package/dist/actions/add-role-assignment-to-item.d.cts +14 -2
- package/dist/actions/add-role-assignment-to-item.d.mts +14 -2
- package/dist/actions/add-role-assignment-to-item.mjs +1 -1
- package/dist/actions/add-role-assignment-to-item.mjs.map +1 -1
- package/dist/actions/add-role-assignment-to-list.cjs +1 -1
- package/dist/actions/add-role-assignment-to-list.cjs.map +1 -1
- package/dist/actions/add-role-assignment-to-list.d.cts +14 -2
- package/dist/actions/add-role-assignment-to-list.d.mts +14 -2
- package/dist/actions/add-role-assignment-to-list.mjs +1 -1
- package/dist/actions/add-role-assignment-to-list.mjs.map +1 -1
- package/dist/actions/break-role-inheritance-on-item.cjs +1 -1
- package/dist/actions/break-role-inheritance-on-item.cjs.map +1 -1
- package/dist/actions/break-role-inheritance-on-item.d.cts +14 -2
- package/dist/actions/break-role-inheritance-on-item.d.mts +14 -2
- package/dist/actions/break-role-inheritance-on-item.mjs +1 -1
- package/dist/actions/break-role-inheritance-on-item.mjs.map +1 -1
- package/dist/actions/break-role-inheritance-on-list.cjs +1 -1
- package/dist/actions/break-role-inheritance-on-list.cjs.map +1 -1
- package/dist/actions/break-role-inheritance-on-list.d.cts +14 -2
- package/dist/actions/break-role-inheritance-on-list.d.mts +14 -2
- package/dist/actions/break-role-inheritance-on-list.mjs +1 -1
- package/dist/actions/break-role-inheritance-on-list.mjs.map +1 -1
- package/dist/actions/check-in-file.cjs +1 -1
- package/dist/actions/check-in-file.cjs.map +1 -1
- package/dist/actions/check-in-file.d.cts +14 -2
- package/dist/actions/check-in-file.d.mts +14 -2
- package/dist/actions/check-in-file.mjs +1 -1
- package/dist/actions/check-in-file.mjs.map +1 -1
- package/dist/actions/create-content-type.cjs +2 -2
- package/dist/actions/create-content-type.cjs.map +1 -1
- package/dist/actions/create-content-type.d.cts +15 -3
- package/dist/actions/create-content-type.d.mts +15 -3
- package/dist/actions/create-content-type.mjs +2 -2
- package/dist/actions/create-content-type.mjs.map +1 -1
- package/dist/actions/create-drive-item-sharing-link.cjs +3 -3
- package/dist/actions/create-drive-item-sharing-link.cjs.map +1 -1
- package/dist/actions/create-drive-item-sharing-link.d.cts +16 -4
- package/dist/actions/create-drive-item-sharing-link.d.mts +16 -4
- package/dist/actions/create-drive-item-sharing-link.mjs +3 -3
- package/dist/actions/create-drive-item-sharing-link.mjs.map +1 -1
- package/dist/actions/create-list-field.cjs +1 -1
- package/dist/actions/create-list-field.cjs.map +1 -1
- package/dist/actions/create-list-field.d.cts +14 -2
- package/dist/actions/create-list-field.d.mts +14 -2
- package/dist/actions/create-list-field.mjs +1 -1
- package/dist/actions/create-list-field.mjs.map +1 -1
- package/dist/actions/create-list-item-by-id.cjs +2 -2
- package/dist/actions/create-list-item-by-id.cjs.map +1 -1
- package/dist/actions/create-list-item-by-id.d.cts +16 -4
- package/dist/actions/create-list-item-by-id.d.cts.map +1 -1
- package/dist/actions/create-list-item-by-id.d.mts +16 -4
- package/dist/actions/create-list-item-by-id.d.mts.map +1 -1
- package/dist/actions/create-list-item-by-id.mjs +2 -2
- package/dist/actions/create-list-item-by-id.mjs.map +1 -1
- package/dist/actions/create-list-item-in-folder.cjs +3 -3
- package/dist/actions/create-list-item-in-folder.cjs.map +1 -1
- package/dist/actions/create-list-item-in-folder.d.cts +17 -4
- package/dist/actions/create-list-item-in-folder.d.mts +17 -4
- package/dist/actions/create-list-item-in-folder.mjs +3 -3
- package/dist/actions/create-list-item-in-folder.mjs.map +1 -1
- package/dist/actions/create-web.cjs +1 -1
- package/dist/actions/create-web.cjs.map +1 -1
- package/dist/actions/create-web.d.cts +14 -2
- package/dist/actions/create-web.d.mts +14 -2
- package/dist/actions/create-web.mjs +1 -1
- package/dist/actions/create-web.mjs.map +1 -1
- package/dist/actions/delete-drive-item-version-content.cjs +1 -1
- package/dist/actions/delete-drive-item-version-content.cjs.map +1 -1
- package/dist/actions/delete-drive-item-version-content.d.cts +14 -2
- package/dist/actions/delete-drive-item-version-content.d.mts +14 -2
- package/dist/actions/delete-drive-item-version-content.mjs +1 -1
- package/dist/actions/delete-drive-item-version-content.mjs.map +1 -1
- package/dist/actions/delete-file-item.cjs +1 -1
- package/dist/actions/delete-file-item.cjs.map +1 -1
- package/dist/actions/delete-file-item.d.cts +14 -2
- package/dist/actions/delete-file-item.d.mts +14 -2
- package/dist/actions/delete-file-item.mjs +1 -1
- package/dist/actions/delete-file-item.mjs.map +1 -1
- package/dist/actions/delete-folder.cjs +1 -1
- package/dist/actions/delete-folder.cjs.map +1 -1
- package/dist/actions/delete-folder.d.cts +14 -2
- package/dist/actions/delete-folder.d.mts +14 -2
- package/dist/actions/delete-folder.mjs +1 -1
- package/dist/actions/delete-folder.mjs.map +1 -1
- package/dist/actions/delete-list-by-title.cjs +1 -1
- package/dist/actions/delete-list-by-title.cjs.map +1 -1
- package/dist/actions/delete-list-by-title.d.cts +14 -2
- package/dist/actions/delete-list-by-title.d.mts +14 -2
- package/dist/actions/delete-list-by-title.mjs +1 -1
- package/dist/actions/delete-list-by-title.mjs.map +1 -1
- package/dist/actions/delete-list-item.cjs +1 -1
- package/dist/actions/delete-list-item.cjs.map +1 -1
- package/dist/actions/delete-list-item.d.cts +14 -2
- package/dist/actions/delete-list-item.d.mts +14 -2
- package/dist/actions/delete-list-item.mjs +1 -1
- package/dist/actions/delete-list-item.mjs.map +1 -1
- package/dist/actions/delete-list-items.cjs +2 -2
- package/dist/actions/delete-list-items.cjs.map +1 -1
- package/dist/actions/delete-list-items.d.cts +15 -3
- package/dist/actions/delete-list-items.d.mts +15 -3
- package/dist/actions/delete-list-items.mjs +2 -2
- package/dist/actions/delete-list-items.mjs.map +1 -1
- package/dist/actions/delete-list.cjs +1 -1
- package/dist/actions/delete-list.cjs.map +1 -1
- package/dist/actions/delete-list.d.cts +14 -2
- package/dist/actions/delete-list.d.mts +14 -2
- package/dist/actions/delete-list.mjs +1 -1
- package/dist/actions/delete-list.mjs.map +1 -1
- package/dist/actions/delete-recycle-bin-item-permanent.cjs +1 -1
- package/dist/actions/delete-recycle-bin-item-permanent.cjs.map +1 -1
- package/dist/actions/delete-recycle-bin-item-permanent.d.cts +14 -2
- package/dist/actions/delete-recycle-bin-item-permanent.d.mts +14 -2
- package/dist/actions/delete-recycle-bin-item-permanent.mjs +1 -1
- package/dist/actions/delete-recycle-bin-item-permanent.mjs.map +1 -1
- package/dist/actions/download-file-by-server-relative-url.cjs +2 -2
- package/dist/actions/download-file-by-server-relative-url.cjs.map +1 -1
- package/dist/actions/download-file-by-server-relative-url.d.cts +15 -3
- package/dist/actions/download-file-by-server-relative-url.d.mts +15 -3
- package/dist/actions/download-file-by-server-relative-url.mjs +2 -2
- package/dist/actions/download-file-by-server-relative-url.mjs.map +1 -1
- package/dist/actions/ensure-user.cjs +4 -4
- package/dist/actions/ensure-user.cjs.map +1 -1
- package/dist/actions/ensure-user.d.cts +17 -5
- package/dist/actions/ensure-user.d.mts +17 -5
- package/dist/actions/ensure-user.mjs +4 -4
- package/dist/actions/ensure-user.mjs.map +1 -1
- package/dist/actions/follow.cjs +1 -1
- package/dist/actions/follow.cjs.map +1 -1
- package/dist/actions/follow.d.cts +14 -2
- package/dist/actions/follow.d.mts +14 -2
- package/dist/actions/follow.mjs +1 -1
- package/dist/actions/follow.mjs.map +1 -1
- package/dist/actions/get-all-folders.cjs +1 -1
- package/dist/actions/get-all-folders.cjs.map +1 -1
- package/dist/actions/get-all-folders.d.cts +14 -2
- package/dist/actions/get-all-folders.d.mts +14 -2
- package/dist/actions/get-all-folders.mjs +1 -1
- package/dist/actions/get-all-folders.mjs.map +1 -1
- package/dist/actions/get-changes.cjs +2 -2
- package/dist/actions/get-changes.cjs.map +1 -1
- package/dist/actions/get-changes.d.cts +15 -3
- package/dist/actions/get-changes.d.cts.map +1 -1
- package/dist/actions/get-changes.d.mts +15 -3
- package/dist/actions/get-changes.d.mts.map +1 -1
- package/dist/actions/get-changes.mjs +2 -2
- package/dist/actions/get-changes.mjs.map +1 -1
- package/dist/actions/get-content-type.cjs +2 -2
- package/dist/actions/get-content-type.cjs.map +1 -1
- package/dist/actions/get-content-type.d.cts +15 -3
- package/dist/actions/get-content-type.d.mts +15 -3
- package/dist/actions/get-content-type.mjs +2 -2
- package/dist/actions/get-content-type.mjs.map +1 -1
- package/dist/actions/get-content-types-for-list.cjs +3 -3
- package/dist/actions/get-content-types-for-list.cjs.map +1 -1
- package/dist/actions/get-content-types-for-list.d.cts +16 -4
- package/dist/actions/get-content-types-for-list.d.mts +16 -4
- package/dist/actions/get-content-types-for-list.mjs +3 -3
- package/dist/actions/get-content-types-for-list.mjs.map +1 -1
- package/dist/actions/get-content-types.cjs +3 -3
- package/dist/actions/get-content-types.cjs.map +1 -1
- package/dist/actions/get-content-types.d.cts +16 -4
- package/dist/actions/get-content-types.d.mts +16 -4
- package/dist/actions/get-content-types.mjs +3 -3
- package/dist/actions/get-content-types.mjs.map +1 -1
- package/dist/actions/get-context-info.cjs +2 -2
- package/dist/actions/get-context-info.cjs.map +1 -1
- package/dist/actions/get-context-info.d.cts +15 -3
- package/dist/actions/get-context-info.d.mts +15 -3
- package/dist/actions/get-context-info.mjs +2 -2
- package/dist/actions/get-context-info.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +4 -4
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +19 -7
- package/dist/actions/get-current-user.d.mts +19 -7
- package/dist/actions/get-current-user.mjs +4 -4
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-drive-item-analytics.cjs +2 -2
- package/dist/actions/get-drive-item-analytics.cjs.map +1 -1
- package/dist/actions/get-drive-item-analytics.d.cts +19 -7
- package/dist/actions/get-drive-item-analytics.d.mts +19 -7
- package/dist/actions/get-drive-item-analytics.mjs +2 -2
- package/dist/actions/get-drive-item-analytics.mjs.map +1 -1
- package/dist/actions/get-group-users-by-id.cjs +2 -2
- package/dist/actions/get-group-users-by-id.cjs.map +1 -1
- package/dist/actions/get-group-users-by-id.d.cts +15 -3
- package/dist/actions/get-group-users-by-id.d.mts +15 -3
- package/dist/actions/get-group-users-by-id.mjs +2 -2
- package/dist/actions/get-group-users-by-id.mjs.map +1 -1
- package/dist/actions/get-group-users.cjs +2 -2
- package/dist/actions/get-group-users.cjs.map +1 -1
- package/dist/actions/get-group-users.d.cts +15 -3
- package/dist/actions/get-group-users.d.mts +15 -3
- package/dist/actions/get-group-users.mjs +2 -2
- package/dist/actions/get-group-users.mjs.map +1 -1
- package/dist/actions/get-item-attachment-content.cjs +2 -2
- package/dist/actions/get-item-attachment-content.cjs.map +1 -1
- package/dist/actions/get-item-attachment-content.d.cts +15 -3
- package/dist/actions/get-item-attachment-content.d.mts +15 -3
- package/dist/actions/get-item-attachment-content.mjs +2 -2
- package/dist/actions/get-item-attachment-content.mjs.map +1 -1
- package/dist/actions/get-list-by-guid.d.cts +13 -1
- package/dist/actions/get-list-by-guid.d.mts +13 -1
- package/dist/actions/get-list-by-title.d.cts +13 -1
- package/dist/actions/get-list-by-title.d.mts +13 -1
- package/dist/actions/get-list-content-type-by-id.cjs +3 -3
- package/dist/actions/get-list-content-type-by-id.cjs.map +1 -1
- package/dist/actions/get-list-content-type-by-id.d.cts +16 -4
- package/dist/actions/get-list-content-type-by-id.d.mts +16 -4
- package/dist/actions/get-list-content-type-by-id.mjs +3 -3
- package/dist/actions/get-list-content-type-by-id.mjs.map +1 -1
- package/dist/actions/get-list-item-by-id.d.cts +13 -1
- package/dist/actions/get-list-item-by-id.d.mts +13 -1
- package/dist/actions/get-list-item-version.d.cts +13 -1
- package/dist/actions/get-list-item-version.d.mts +13 -1
- package/dist/actions/get-list-items-by-guid.cjs +1 -1
- package/dist/actions/get-list-items-by-guid.cjs.map +1 -1
- package/dist/actions/get-list-items-by-guid.d.cts +14 -2
- package/dist/actions/get-list-items-by-guid.d.mts +14 -2
- package/dist/actions/get-list-items-by-guid.mjs +1 -1
- package/dist/actions/get-list-items-by-guid.mjs.map +1 -1
- package/dist/actions/get-list-items.cjs +3 -3
- package/dist/actions/get-list-items.cjs.map +1 -1
- package/dist/actions/get-list-items.d.cts +35 -23
- package/dist/actions/get-list-items.d.mts +35 -23
- package/dist/actions/get-list-items.mjs +3 -3
- package/dist/actions/get-list-items.mjs.map +1 -1
- package/dist/actions/get-my-followed.cjs +2 -2
- package/dist/actions/get-my-followed.cjs.map +1 -1
- package/dist/actions/get-my-followed.d.cts +15 -3
- package/dist/actions/get-my-followed.d.mts +15 -3
- package/dist/actions/get-my-followed.mjs +2 -2
- package/dist/actions/get-my-followed.mjs.map +1 -1
- package/dist/actions/get-my-followers.cjs +2 -2
- package/dist/actions/get-my-followers.cjs.map +1 -1
- package/dist/actions/get-my-followers.d.cts +15 -3
- package/dist/actions/get-my-followers.d.mts +15 -3
- package/dist/actions/get-my-followers.mjs +2 -2
- package/dist/actions/get-my-followers.mjs.map +1 -1
- package/dist/actions/get-role-definitions.cjs +3 -3
- package/dist/actions/get-role-definitions.cjs.map +1 -1
- package/dist/actions/get-role-definitions.d.cts +16 -4
- package/dist/actions/get-role-definitions.d.mts +16 -4
- package/dist/actions/get-role-definitions.mjs +3 -3
- package/dist/actions/get-role-definitions.mjs.map +1 -1
- package/dist/actions/get-site-by-hostname.d.cts +13 -1
- package/dist/actions/get-site-by-hostname.d.mts +13 -1
- package/dist/actions/get-site-by-id.cjs +1 -1
- package/dist/actions/get-site-by-id.cjs.map +1 -1
- package/dist/actions/get-site-by-id.d.cts +20 -8
- package/dist/actions/get-site-by-id.d.mts +20 -8
- package/dist/actions/get-site-by-id.mjs +1 -1
- package/dist/actions/get-site-by-id.mjs.map +1 -1
- package/dist/actions/get-site-collection-info.cjs +1 -1
- package/dist/actions/get-site-collection-info.cjs.map +1 -1
- package/dist/actions/get-site-collection-info.d.cts +15 -3
- package/dist/actions/get-site-collection-info.d.mts +15 -3
- package/dist/actions/get-site-collection-info.mjs +1 -1
- package/dist/actions/get-site-collection-info.mjs.map +1 -1
- package/dist/actions/get-site-drive-item-by-path.cjs +4 -4
- package/dist/actions/get-site-drive-item-by-path.cjs.map +1 -1
- package/dist/actions/get-site-drive-item-by-path.d.cts +39 -27
- package/dist/actions/get-site-drive-item-by-path.d.mts +39 -27
- package/dist/actions/get-site-drive-item-by-path.mjs +4 -4
- package/dist/actions/get-site-drive-item-by-path.mjs.map +1 -1
- package/dist/actions/get-site-page-content.d.cts +13 -1
- package/dist/actions/get-site-page-content.d.mts +13 -1
- package/dist/actions/get-site-root.cjs +1 -1
- package/dist/actions/get-site-root.cjs.map +1 -1
- package/dist/actions/get-site-root.d.cts +20 -8
- package/dist/actions/get-site-root.d.mts +20 -8
- package/dist/actions/get-site-root.mjs +1 -1
- package/dist/actions/get-site-root.mjs.map +1 -1
- package/dist/actions/get-user-effective-permissions-on-web.cjs +1 -1
- package/dist/actions/get-user-effective-permissions-on-web.cjs.map +1 -1
- package/dist/actions/get-user-effective-permissions-on-web.d.cts +14 -2
- package/dist/actions/get-user-effective-permissions-on-web.d.mts +14 -2
- package/dist/actions/get-user-effective-permissions-on-web.mjs +1 -1
- package/dist/actions/get-user-effective-permissions-on-web.mjs.map +1 -1
- package/dist/actions/get-web-info.cjs +1 -1
- package/dist/actions/get-web-info.cjs.map +1 -1
- package/dist/actions/get-web-info.d.cts +20 -8
- package/dist/actions/get-web-info.d.mts +20 -8
- package/dist/actions/get-web-info.mjs +1 -1
- package/dist/actions/get-web-info.mjs.map +1 -1
- package/dist/actions/get-webhook-subscription.cjs +1 -1
- package/dist/actions/get-webhook-subscription.cjs.map +1 -1
- package/dist/actions/get-webhook-subscription.d.cts +14 -2
- package/dist/actions/get-webhook-subscription.d.mts +14 -2
- package/dist/actions/get-webhook-subscription.mjs +1 -1
- package/dist/actions/get-webhook-subscription.mjs.map +1 -1
- package/dist/actions/get-webhook-subscriptions.cjs +2 -2
- package/dist/actions/get-webhook-subscriptions.cjs.map +1 -1
- package/dist/actions/get-webhook-subscriptions.d.cts +15 -3
- package/dist/actions/get-webhook-subscriptions.d.mts +15 -3
- package/dist/actions/get-webhook-subscriptions.mjs +2 -2
- package/dist/actions/get-webhook-subscriptions.mjs.map +1 -1
- package/dist/actions/is-followed.cjs +1 -1
- package/dist/actions/is-followed.cjs.map +1 -1
- package/dist/actions/is-followed.d.cts +14 -2
- package/dist/actions/is-followed.d.mts +14 -2
- package/dist/actions/is-followed.mjs +1 -1
- package/dist/actions/is-followed.mjs.map +1 -1
- package/dist/actions/list-all-lists.cjs +1 -1
- package/dist/actions/list-all-lists.cjs.map +1 -1
- package/dist/actions/list-all-lists.d.cts +14 -2
- package/dist/actions/list-all-lists.d.mts +14 -2
- package/dist/actions/list-all-lists.mjs +1 -1
- package/dist/actions/list-all-lists.mjs.map +1 -1
- package/dist/actions/list-drive-children.cjs +1 -1
- package/dist/actions/list-drive-children.cjs.map +1 -1
- package/dist/actions/list-drive-children.d.cts +14 -2
- package/dist/actions/list-drive-children.d.mts +14 -2
- package/dist/actions/list-drive-children.mjs +1 -1
- package/dist/actions/list-drive-children.mjs.map +1 -1
- package/dist/actions/list-drive-recent-items.cjs +1 -1
- package/dist/actions/list-drive-recent-items.cjs.map +1 -1
- package/dist/actions/list-drive-recent-items.d.cts +15 -3
- package/dist/actions/list-drive-recent-items.d.mts +15 -3
- package/dist/actions/list-drive-recent-items.mjs +1 -1
- package/dist/actions/list-drive-recent-items.mjs.map +1 -1
- package/dist/actions/list-drives-rest-api.d.cts +13 -1
- package/dist/actions/list-drives-rest-api.d.mts +13 -1
- package/dist/actions/list-files-in-folder.cjs +1 -1
- package/dist/actions/list-files-in-folder.cjs.map +1 -1
- package/dist/actions/list-files-in-folder.d.cts +14 -2
- package/dist/actions/list-files-in-folder.d.mts +14 -2
- package/dist/actions/list-files-in-folder.mjs +1 -1
- package/dist/actions/list-files-in-folder.mjs.map +1 -1
- package/dist/actions/list-item-attachments.cjs +2 -2
- package/dist/actions/list-item-attachments.cjs.map +1 -1
- package/dist/actions/list-item-attachments.d.cts +15 -3
- package/dist/actions/list-item-attachments.d.mts +15 -3
- package/dist/actions/list-item-attachments.mjs +2 -2
- package/dist/actions/list-item-attachments.mjs.map +1 -1
- package/dist/actions/list-list-columns.cjs +1 -1
- package/dist/actions/list-list-columns.cjs.map +1 -1
- package/dist/actions/list-list-columns.d.cts +14 -2
- package/dist/actions/list-list-columns.d.mts +14 -2
- package/dist/actions/list-list-columns.mjs +1 -1
- package/dist/actions/list-list-columns.mjs.map +1 -1
- package/dist/actions/list-recycle-bin-items.cjs +2 -2
- package/dist/actions/list-recycle-bin-items.cjs.map +1 -1
- package/dist/actions/list-recycle-bin-items.d.cts +15 -3
- package/dist/actions/list-recycle-bin-items.d.mts +15 -3
- package/dist/actions/list-recycle-bin-items.mjs +2 -2
- package/dist/actions/list-recycle-bin-items.mjs.map +1 -1
- package/dist/actions/list-site-drives.d.cts +13 -1
- package/dist/actions/list-site-drives.d.mts +13 -1
- package/dist/actions/list-site-groups.cjs +5 -5
- package/dist/actions/list-site-groups.cjs.map +1 -1
- package/dist/actions/list-site-groups.d.cts +21 -9
- package/dist/actions/list-site-groups.d.mts +21 -9
- package/dist/actions/list-site-groups.mjs +5 -5
- package/dist/actions/list-site-groups.mjs.map +1 -1
- package/dist/actions/list-site-users.cjs +8 -8
- package/dist/actions/list-site-users.cjs.map +1 -1
- package/dist/actions/list-site-users.d.cts +24 -12
- package/dist/actions/list-site-users.d.mts +24 -12
- package/dist/actions/list-site-users.mjs +8 -8
- package/dist/actions/list-site-users.mjs.map +1 -1
- package/dist/actions/list-sites.d.cts +13 -1
- package/dist/actions/list-sites.d.mts +13 -1
- package/dist/actions/list-subfolders-in-folder.cjs +1 -1
- package/dist/actions/list-subfolders-in-folder.cjs.map +1 -1
- package/dist/actions/list-subfolders-in-folder.d.cts +14 -2
- package/dist/actions/list-subfolders-in-folder.d.mts +14 -2
- package/dist/actions/list-subfolders-in-folder.mjs +1 -1
- package/dist/actions/list-subfolders-in-folder.mjs.map +1 -1
- package/dist/actions/log-event.cjs +1 -1
- package/dist/actions/log-event.cjs.map +1 -1
- package/dist/actions/log-event.d.cts +14 -2
- package/dist/actions/log-event.d.mts +14 -2
- package/dist/actions/log-event.mjs +1 -1
- package/dist/actions/log-event.mjs.map +1 -1
- package/dist/actions/recycle-file.cjs +1 -1
- package/dist/actions/recycle-file.cjs.map +1 -1
- package/dist/actions/recycle-file.d.cts +14 -2
- package/dist/actions/recycle-file.d.mts +14 -2
- package/dist/actions/recycle-file.mjs +1 -1
- package/dist/actions/recycle-file.mjs.map +1 -1
- package/dist/actions/recycle-list-item.cjs +1 -1
- package/dist/actions/recycle-list-item.cjs.map +1 -1
- package/dist/actions/recycle-list-item.d.cts +14 -2
- package/dist/actions/recycle-list-item.d.mts +14 -2
- package/dist/actions/recycle-list-item.mjs +1 -1
- package/dist/actions/recycle-list-item.mjs.map +1 -1
- package/dist/actions/rename-folder.cjs +1 -1
- package/dist/actions/rename-folder.cjs.map +1 -1
- package/dist/actions/rename-folder.d.cts +14 -2
- package/dist/actions/rename-folder.d.mts +14 -2
- package/dist/actions/rename-folder.mjs +1 -1
- package/dist/actions/rename-folder.mjs.map +1 -1
- package/dist/actions/render-list-data-as-stream.cjs +2 -2
- package/dist/actions/render-list-data-as-stream.cjs.map +1 -1
- package/dist/actions/render-list-data-as-stream.d.cts +16 -4
- package/dist/actions/render-list-data-as-stream.d.cts.map +1 -1
- package/dist/actions/render-list-data-as-stream.d.mts +16 -4
- package/dist/actions/render-list-data-as-stream.d.mts.map +1 -1
- package/dist/actions/render-list-data-as-stream.mjs +2 -2
- package/dist/actions/render-list-data-as-stream.mjs.map +1 -1
- package/dist/actions/restore-drive-item-version.cjs +1 -1
- package/dist/actions/restore-drive-item-version.cjs.map +1 -1
- package/dist/actions/restore-drive-item-version.d.cts +14 -2
- package/dist/actions/restore-drive-item-version.d.mts +14 -2
- package/dist/actions/restore-drive-item-version.mjs +1 -1
- package/dist/actions/restore-drive-item-version.mjs.map +1 -1
- package/dist/actions/restore-recycle-bin-item.cjs +1 -1
- package/dist/actions/restore-recycle-bin-item.cjs.map +1 -1
- package/dist/actions/restore-recycle-bin-item.d.cts +14 -2
- package/dist/actions/restore-recycle-bin-item.d.mts +14 -2
- package/dist/actions/restore-recycle-bin-item.mjs +1 -1
- package/dist/actions/restore-recycle-bin-item.mjs.map +1 -1
- package/dist/actions/search-files.cjs +14 -14
- package/dist/actions/search-files.cjs.map +1 -1
- package/dist/actions/search-files.d.cts +30 -18
- package/dist/actions/search-files.d.mts +30 -18
- package/dist/actions/search-files.mjs +14 -14
- package/dist/actions/search-files.mjs.map +1 -1
- package/dist/actions/search-query.cjs +10 -10
- package/dist/actions/search-query.cjs.map +1 -1
- package/dist/actions/search-query.d.cts +25 -13
- package/dist/actions/search-query.d.mts +25 -13
- package/dist/actions/search-query.mjs +10 -10
- package/dist/actions/search-query.mjs.map +1 -1
- package/dist/actions/search-suggest.cjs +1 -1
- package/dist/actions/search-suggest.cjs.map +1 -1
- package/dist/actions/search-suggest.d.cts +14 -2
- package/dist/actions/search-suggest.d.mts +14 -2
- package/dist/actions/search-suggest.mjs +1 -1
- package/dist/actions/search-suggest.mjs.map +1 -1
- package/dist/actions/sharepoint-check-out-file.cjs +1 -1
- package/dist/actions/sharepoint-check-out-file.cjs.map +1 -1
- package/dist/actions/sharepoint-check-out-file.d.cts +14 -2
- package/dist/actions/sharepoint-check-out-file.d.mts +14 -2
- package/dist/actions/sharepoint-check-out-file.mjs +1 -1
- package/dist/actions/sharepoint-check-out-file.mjs.map +1 -1
- package/dist/actions/sharepoint-create-folder.cjs +1 -1
- package/dist/actions/sharepoint-create-folder.cjs.map +1 -1
- package/dist/actions/sharepoint-create-folder.d.cts +14 -2
- package/dist/actions/sharepoint-create-folder.d.mts +14 -2
- package/dist/actions/sharepoint-create-folder.mjs +1 -1
- package/dist/actions/sharepoint-create-folder.mjs.map +1 -1
- package/dist/actions/sharepoint-create-list-item.cjs +1 -1
- package/dist/actions/sharepoint-create-list-item.cjs.map +1 -1
- package/dist/actions/sharepoint-create-list-item.d.cts +14 -2
- package/dist/actions/sharepoint-create-list-item.d.cts.map +1 -1
- package/dist/actions/sharepoint-create-list-item.d.mts +14 -2
- package/dist/actions/sharepoint-create-list-item.d.mts.map +1 -1
- package/dist/actions/sharepoint-create-list-item.mjs +1 -1
- package/dist/actions/sharepoint-create-list-item.mjs.map +1 -1
- package/dist/actions/sharepoint-create-list.cjs +1 -1
- package/dist/actions/sharepoint-create-list.cjs.map +1 -1
- package/dist/actions/sharepoint-create-list.d.cts +14 -2
- package/dist/actions/sharepoint-create-list.d.mts +14 -2
- package/dist/actions/sharepoint-create-list.mjs +1 -1
- package/dist/actions/sharepoint-create-list.mjs.map +1 -1
- package/dist/actions/sharepoint-find-user.cjs +2 -2
- package/dist/actions/sharepoint-find-user.cjs.map +1 -1
- package/dist/actions/sharepoint-find-user.d.cts +15 -3
- package/dist/actions/sharepoint-find-user.d.mts +15 -3
- package/dist/actions/sharepoint-find-user.mjs +2 -2
- package/dist/actions/sharepoint-find-user.mjs.map +1 -1
- package/dist/actions/sharepoint-remove-user.cjs +1 -1
- package/dist/actions/sharepoint-remove-user.cjs.map +1 -1
- package/dist/actions/sharepoint-remove-user.d.cts +14 -2
- package/dist/actions/sharepoint-remove-user.d.mts +14 -2
- package/dist/actions/sharepoint-remove-user.mjs +1 -1
- package/dist/actions/sharepoint-remove-user.mjs.map +1 -1
- package/dist/actions/undo-checkout-file.cjs +1 -1
- package/dist/actions/undo-checkout-file.cjs.map +1 -1
- package/dist/actions/undo-checkout-file.d.cts +14 -2
- package/dist/actions/undo-checkout-file.d.mts +14 -2
- package/dist/actions/undo-checkout-file.mjs +1 -1
- package/dist/actions/undo-checkout-file.mjs.map +1 -1
- package/dist/actions/update-content-type.cjs +6 -6
- package/dist/actions/update-content-type.cjs.map +1 -1
- package/dist/actions/update-content-type.d.cts +23 -7
- package/dist/actions/update-content-type.d.mts +23 -7
- package/dist/actions/update-content-type.mjs +6 -6
- package/dist/actions/update-content-type.mjs.map +1 -1
- package/dist/actions/update-drive-item.d.cts +13 -1
- package/dist/actions/update-drive-item.d.mts +13 -1
- package/dist/actions/update-file-item.cjs +2 -2
- package/dist/actions/update-file-item.cjs.map +1 -1
- package/dist/actions/update-file-item.d.cts +16 -4
- package/dist/actions/update-file-item.d.cts.map +1 -1
- package/dist/actions/update-file-item.d.mts +16 -4
- package/dist/actions/update-file-item.d.mts.map +1 -1
- package/dist/actions/update-file-item.mjs +2 -2
- package/dist/actions/update-file-item.mjs.map +1 -1
- package/dist/actions/update-list-item.cjs +2 -2
- package/dist/actions/update-list-item.cjs.map +1 -1
- package/dist/actions/update-list-item.d.cts +16 -4
- package/dist/actions/update-list-item.d.cts.map +1 -1
- package/dist/actions/update-list-item.d.mts +16 -4
- package/dist/actions/update-list-item.d.mts.map +1 -1
- package/dist/actions/update-list-item.mjs +2 -2
- package/dist/actions/update-list-item.mjs.map +1 -1
- package/dist/actions/update-list.cjs +1 -1
- package/dist/actions/update-list.cjs.map +1 -1
- package/dist/actions/update-list.d.cts +14 -2
- package/dist/actions/update-list.d.mts +14 -2
- package/dist/actions/update-list.mjs +1 -1
- package/dist/actions/update-list.mjs.map +1 -1
- package/dist/actions/update-site.cjs +1 -1
- package/dist/actions/update-site.cjs.map +1 -1
- package/dist/actions/update-site.d.cts +14 -2
- package/dist/actions/update-site.d.mts +14 -2
- package/dist/actions/update-site.mjs +1 -1
- package/dist/actions/update-site.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +1 -1
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +14 -2
- package/dist/actions/upload-file.d.mts +14 -2
- package/dist/actions/upload-file.mjs +1 -1
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/actions/upload-from-url.cjs +2 -2
- package/dist/actions/upload-from-url.cjs.map +1 -1
- package/dist/actions/upload-from-url.d.cts +16 -4
- package/dist/actions/upload-from-url.d.cts.map +1 -1
- package/dist/actions/upload-from-url.d.mts +16 -4
- package/dist/actions/upload-from-url.d.mts.map +1 -1
- package/dist/actions/upload-from-url.mjs +2 -2
- package/dist/actions/upload-from-url.mjs.map +1 -1
- package/dist/actions/validate-credential.cjs +1 -1
- package/dist/actions/validate-credential.cjs.map +1 -1
- package/dist/actions/validate-credential.d.cts +14 -2
- package/dist/actions/validate-credential.d.mts +14 -2
- package/dist/actions/validate-credential.mjs +1 -1
- package/dist/actions/validate-credential.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -12,12 +12,24 @@ declare const SharePointGetWebhookSubscriptionsOutput: z.ZodObject<{
|
|
|
12
12
|
clientState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
notificationUrl: z.ZodNullable<z.ZodString>;
|
|
14
14
|
expirationDateTime: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const sharePointGetWebhookSubscriptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
list_id: string;
|
|
19
19
|
site_name?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
accessToken: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
entityId: z.ZodString;
|
|
29
|
+
instanceId: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
accessToken: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>]>;
|
|
21
33
|
//#endregion
|
|
22
34
|
export { sharePointGetWebhookSubscriptions };
|
|
23
35
|
//# sourceMappingURL=get-webhook-subscriptions.d.mts.map
|
|
@@ -11,13 +11,13 @@ const SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema = z.object({
|
|
|
11
11
|
clientState: z.string().describe("Optional client state string that is included in webhook notifications for validation.").nullable().optional(),
|
|
12
12
|
notificationUrl: z.string().describe("URL to which webhook notifications are sent.").nullable(),
|
|
13
13
|
expirationDateTime: z.string().describe("Expiration date and time of the subscription in ISO 8601 format.").nullable()
|
|
14
|
-
}).describe("Model for a single webhook subscription.");
|
|
14
|
+
}).passthrough().describe("Model for a single webhook subscription.");
|
|
15
15
|
const sharePointGetWebhookSubscriptions = action("SHARE_POINT_GET_WEBHOOK_SUBSCRIPTIONS", {
|
|
16
16
|
slug: "share_point-get-webhook-subscriptions",
|
|
17
17
|
name: "Get SharePoint Webhook Subscriptions",
|
|
18
18
|
description: "Tool to retrieve all webhook subscriptions on a SharePoint list. Use when you need to view existing webhook configurations for a list.",
|
|
19
19
|
input: SharePointGetWebhookSubscriptionsInput,
|
|
20
|
-
output: z.object({ value: z.array(SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema).describe("Array of webhook subscription objects for the specified list.") }).describe("Response model for webhook subscriptions retrieved from a SharePoint list.")
|
|
20
|
+
output: z.object({ value: z.array(SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema).describe("Array of webhook subscription objects for the specified list.") }).passthrough().describe("Response model for webhook subscriptions retrieved from a SharePoint list.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { sharePointGetWebhookSubscriptions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook-subscriptions.mjs","names":[],"sources":["../../src/actions/get-webhook-subscriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetWebhookSubscriptionsInput = z.object({\n list_id: z.string().describe(\"The GUID of the SharePoint list to retrieve subscriptions for, in canonical format (e.g., '01234567-89ab-cdef-0123-456789abcdef').\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n}).describe(\"Request model for retrieving webhook subscriptions on a SharePoint list.\");\nconst SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the subscription.\").nullable(),\n resource: z.string().describe(\"Resource identifier (list GUID) that this subscription monitors.\").nullable(),\n clientState: z.string().describe(\"Optional client state string that is included in webhook notifications for validation.\").nullable().optional(),\n notificationUrl: z.string().describe(\"URL to which webhook notifications are sent.\").nullable(),\n expirationDateTime: z.string().describe(\"Expiration date and time of the subscription in ISO 8601 format.\").nullable(),\n}).describe(\"Model for a single webhook subscription.\");\nexport const SharePointGetWebhookSubscriptionsOutput = z.object({\n value: z.array(SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema).describe(\"Array of webhook subscription objects for the specified list.\"),\n}).describe(\"Response model for webhook subscriptions retrieved from a SharePoint list.\");\n\nexport const sharePointGetWebhookSubscriptions = action(\"SHARE_POINT_GET_WEBHOOK_SUBSCRIPTIONS\", {\n slug: \"share_point-get-webhook-subscriptions\",\n name: \"Get SharePoint Webhook Subscriptions\",\n description: \"Tool to retrieve all webhook subscriptions on a SharePoint list. Use when you need to view existing webhook configurations for a list.\",\n input: SharePointGetWebhookSubscriptionsInput,\n output: SharePointGetWebhookSubscriptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CACjK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;AACxO,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,8DAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC9F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"get-webhook-subscriptions.mjs","names":[],"sources":["../../src/actions/get-webhook-subscriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetWebhookSubscriptionsInput = z.object({\n list_id: z.string().describe(\"The GUID of the SharePoint list to retrieve subscriptions for, in canonical format (e.g., '01234567-89ab-cdef-0123-456789abcdef').\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n}).describe(\"Request model for retrieving webhook subscriptions on a SharePoint list.\");\nconst SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the subscription.\").nullable(),\n resource: z.string().describe(\"Resource identifier (list GUID) that this subscription monitors.\").nullable(),\n clientState: z.string().describe(\"Optional client state string that is included in webhook notifications for validation.\").nullable().optional(),\n notificationUrl: z.string().describe(\"URL to which webhook notifications are sent.\").nullable(),\n expirationDateTime: z.string().describe(\"Expiration date and time of the subscription in ISO 8601 format.\").nullable(),\n}).passthrough().describe(\"Model for a single webhook subscription.\");\nexport const SharePointGetWebhookSubscriptionsOutput = z.object({\n value: z.array(SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema).describe(\"Array of webhook subscription objects for the specified list.\"),\n}).passthrough().describe(\"Response model for webhook subscriptions retrieved from a SharePoint list.\");\n\nexport const sharePointGetWebhookSubscriptions = action(\"SHARE_POINT_GET_WEBHOOK_SUBSCRIPTIONS\", {\n slug: \"share_point-get-webhook-subscriptions\",\n name: \"Get SharePoint Webhook Subscriptions\",\n description: \"Tool to retrieve all webhook subscriptions on a SharePoint list. Use when you need to view existing webhook configurations for a list.\",\n input: SharePointGetWebhookSubscriptionsInput,\n output: SharePointGetWebhookSubscriptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CACjK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;AACxO,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,8DAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC9F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,OAAO,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,+DAA+D,EACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const SharePointIsFollowedInput = zod.z.object({
|
|
|
13
13
|
content_uri: zod.z.string().describe("URI of the document or site when actor_type=1 or 2, e.g., 'http://server/site'.").optional(),
|
|
14
14
|
account_name: zod.z.string().describe("Account name for a user when actor_type=0, in claims format, e.g., 'i:0#.f|membership|user@domain.com'.").optional()
|
|
15
15
|
}).describe("Request parameters to check if the current user follows a SharePoint actor.");
|
|
16
|
-
const SharePointIsFollowedOutput = zod.z.object({ is_followed: zod.z.boolean().describe("True if the current user follows the specified actor.").nullable() });
|
|
16
|
+
const SharePointIsFollowedOutput = zod.z.object({ is_followed: zod.z.boolean().describe("True if the current user follows the specified actor.").nullable() }).passthrough();
|
|
17
17
|
const sharePointIsFollowed = require_action.action("SHARE_POINT_IS_FOLLOWED", {
|
|
18
18
|
slug: "share_point-is-followed",
|
|
19
19
|
name: "Check Follow Status",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-followed.cjs","names":["z","action"],"sources":["../../src/actions/is-followed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointIsFollowedInput = z.object({\n tag_guid: z.string().describe(\"GUID of the tag when actor_type=3.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n actor_type: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the actor to check: 0=user, 1=document, 2=site, 3=tag.\"),\n content_uri: z.string().describe(\"URI of the document or site when actor_type=1 or 2, e.g., 'http://server/site'.\").optional(),\n account_name: z.string().describe(\"Account name for a user when actor_type=0, in claims format, e.g., 'i:0#.f|membership|user@domain.com'.\").optional(),\n}).describe(\"Request parameters to check if the current user follows a SharePoint actor.\");\nexport const SharePointIsFollowedOutput = z.object({\n is_followed: z.boolean().describe(\"True if the current user follows the specified actor.\").nullable(),\n});\n\nexport const sharePointIsFollowed = action(\"SHARE_POINT_IS_FOLLOWED\", {\n slug: \"share_point-is-followed\",\n name: \"Check Follow Status\",\n description: \"Tool to check if the current user is following a specified actor. Use when verifying follow status before performing follow or unfollow operations.\",\n input: SharePointIsFollowedInput,\n output: SharePointIsFollowedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CACxO,YAAYA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;CACvJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EACtG,CAAC;
|
|
1
|
+
{"version":3,"file":"is-followed.cjs","names":["z","action"],"sources":["../../src/actions/is-followed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointIsFollowedInput = z.object({\n tag_guid: z.string().describe(\"GUID of the tag when actor_type=3.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n actor_type: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the actor to check: 0=user, 1=document, 2=site, 3=tag.\"),\n content_uri: z.string().describe(\"URI of the document or site when actor_type=1 or 2, e.g., 'http://server/site'.\").optional(),\n account_name: z.string().describe(\"Account name for a user when actor_type=0, in claims format, e.g., 'i:0#.f|membership|user@domain.com'.\").optional(),\n}).describe(\"Request parameters to check if the current user follows a SharePoint actor.\");\nexport const SharePointIsFollowedOutput = z.object({\n is_followed: z.boolean().describe(\"True if the current user follows the specified actor.\").nullable(),\n}).passthrough();\n\nexport const sharePointIsFollowed = action(\"SHARE_POINT_IS_FOLLOWED\", {\n slug: \"share_point-is-followed\",\n name: \"Check Follow Status\",\n description: \"Tool to check if the current user is following a specified actor. Use when verifying follow status before performing follow or unfollow operations.\",\n input: SharePointIsFollowedInput,\n output: SharePointIsFollowedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CACxO,YAAYA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;CACvJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,14 +10,26 @@ declare const SharePointIsFollowedInput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const SharePointIsFollowedOutput: z.ZodObject<{
|
|
12
12
|
is_followed: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const sharePointIsFollowed: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
actor_type: 0 | 1 | 2 | 3;
|
|
16
16
|
tag_guid?: string | undefined;
|
|
17
17
|
site_name?: string | undefined;
|
|
18
18
|
content_uri?: string | undefined;
|
|
19
19
|
account_name?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
accessToken: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
entityId: z.ZodString;
|
|
29
|
+
instanceId: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
accessToken: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>]>;
|
|
21
33
|
//#endregion
|
|
22
34
|
export { sharePointIsFollowed };
|
|
23
35
|
//# sourceMappingURL=is-followed.d.cts.map
|
|
@@ -10,14 +10,26 @@ declare const SharePointIsFollowedInput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const SharePointIsFollowedOutput: z.ZodObject<{
|
|
12
12
|
is_followed: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const sharePointIsFollowed: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
actor_type: 0 | 1 | 2 | 3;
|
|
16
16
|
tag_guid?: string | undefined;
|
|
17
17
|
site_name?: string | undefined;
|
|
18
18
|
content_uri?: string | undefined;
|
|
19
19
|
account_name?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
accessToken: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
entityId: z.ZodString;
|
|
29
|
+
instanceId: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
accessToken: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>]>;
|
|
21
33
|
//#endregion
|
|
22
34
|
export { sharePointIsFollowed };
|
|
23
35
|
//# sourceMappingURL=is-followed.d.mts.map
|
|
@@ -16,7 +16,7 @@ const sharePointIsFollowed = action("SHARE_POINT_IS_FOLLOWED", {
|
|
|
16
16
|
content_uri: z.string().describe("URI of the document or site when actor_type=1 or 2, e.g., 'http://server/site'.").optional(),
|
|
17
17
|
account_name: z.string().describe("Account name for a user when actor_type=0, in claims format, e.g., 'i:0#.f|membership|user@domain.com'.").optional()
|
|
18
18
|
}).describe("Request parameters to check if the current user follows a SharePoint actor."),
|
|
19
|
-
output: z.object({ is_followed: z.boolean().describe("True if the current user follows the specified actor.").nullable() })
|
|
19
|
+
output: z.object({ is_followed: z.boolean().describe("True if the current user follows the specified actor.").nullable() }).passthrough()
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { sharePointIsFollowed };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-followed.mjs","names":[],"sources":["../../src/actions/is-followed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointIsFollowedInput = z.object({\n tag_guid: z.string().describe(\"GUID of the tag when actor_type=3.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n actor_type: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the actor to check: 0=user, 1=document, 2=site, 3=tag.\"),\n content_uri: z.string().describe(\"URI of the document or site when actor_type=1 or 2, e.g., 'http://server/site'.\").optional(),\n account_name: z.string().describe(\"Account name for a user when actor_type=0, in claims format, e.g., 'i:0#.f|membership|user@domain.com'.\").optional(),\n}).describe(\"Request parameters to check if the current user follows a SharePoint actor.\");\nexport const SharePointIsFollowedOutput = z.object({\n is_followed: z.boolean().describe(\"True if the current user follows the specified actor.\").nullable(),\n});\n\nexport const sharePointIsFollowed = action(\"SHARE_POINT_IS_FOLLOWED\", {\n slug: \"share_point-is-followed\",\n name: \"Check Follow Status\",\n description: \"Tool to check if the current user is following a specified actor. Use when verifying follow status before performing follow or unfollow operations.\",\n input: SharePointIsFollowedInput,\n output: SharePointIsFollowedOutput,\n});\n"],"mappings":";;AAeA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuC,EAAE,OAAO;EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;EACxO,YAAY,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;EACvJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,SAAS,6EASH;CACP,QATwC,EAAE,OAAO,EACjD,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EACtG,
|
|
1
|
+
{"version":3,"file":"is-followed.mjs","names":[],"sources":["../../src/actions/is-followed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointIsFollowedInput = z.object({\n tag_guid: z.string().describe(\"GUID of the tag when actor_type=3.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n actor_type: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the actor to check: 0=user, 1=document, 2=site, 3=tag.\"),\n content_uri: z.string().describe(\"URI of the document or site when actor_type=1 or 2, e.g., 'http://server/site'.\").optional(),\n account_name: z.string().describe(\"Account name for a user when actor_type=0, in claims format, e.g., 'i:0#.f|membership|user@domain.com'.\").optional(),\n}).describe(\"Request parameters to check if the current user follows a SharePoint actor.\");\nexport const SharePointIsFollowedOutput = z.object({\n is_followed: z.boolean().describe(\"True if the current user follows the specified actor.\").nullable(),\n}).passthrough();\n\nexport const sharePointIsFollowed = action(\"SHARE_POINT_IS_FOLLOWED\", {\n slug: \"share_point-is-followed\",\n name: \"Check Follow Status\",\n description: \"Tool to check if the current user is following a specified actor. Use when verifying follow status before performing follow or unfollow operations.\",\n input: SharePointIsFollowedInput,\n output: SharePointIsFollowedOutput,\n});\n"],"mappings":";;AAeA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuC,EAAE,OAAO;EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;EACxO,YAAY,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;EACvJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,SAAS,6EASH;CACP,QATwC,EAAE,OAAO,EACjD,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -19,7 +19,7 @@ const SharePointListAllLists_SharePointListMetadataSchema = zod.z.object({
|
|
|
19
19
|
ItemCount: zod.z.number().int().describe("Number of items in the list.").nullable().optional(),
|
|
20
20
|
Description: zod.z.string().describe("The description of the list.").nullable().optional()
|
|
21
21
|
}).passthrough().describe("SharePoint list metadata and properties.");
|
|
22
|
-
const SharePointListAllListsOutput = zod.z.object({ lists: zod.z.array(SharePointListAllLists_SharePointListMetadataSchema).describe("Array of SharePoint list objects with metadata. Each list includes Title, Id, and other properties based on the $select parameter used.") }).describe("Response model for listing all SharePoint lists.");
|
|
22
|
+
const SharePointListAllListsOutput = zod.z.object({ lists: zod.z.array(SharePointListAllLists_SharePointListMetadataSchema).describe("Array of SharePoint list objects with metadata. Each list includes Title, Id, and other properties based on the $select parameter used.") }).passthrough().describe("Response model for listing all SharePoint lists.");
|
|
23
23
|
const sharePointListAllLists = require_action.action("SHARE_POINT_LIST_ALL_LISTS", {
|
|
24
24
|
slug: "share_point-list-all-lists",
|
|
25
25
|
name: "List SharePoint Lists",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-lists.cjs","names":["z","action"],"sources":["../../src/actions/list-all-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointListAllListsInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of results.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results.\").optional(),\n select: z.string().describe(\"OData $select to specify which list fields to return, e.g., 'Title,Id'.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Title desc'.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n skiptoken: z.string().describe(\"OData $skiptoken for paging through results. The token value is returned in the previous response when more results exist; pass it unchanged to retrieve the next page.\").optional(),\n}).describe(\"Optional OData query parameters for listing all SharePoint lists.\");\nconst SharePointListAllLists_SharePointListMetadataSchema = z.object({\n Id: z.string().describe(\"The unique GUID identifier of the list. Only returned when 'Id' is included in the $select parameter or when no $select is specified.\").nullable().optional(),\n Title: z.string().describe(\"The display title of the list.\").nullable(),\n Hidden: z.boolean().describe(\"Whether the list is hidden.\").nullable().optional(),\n Created: z.string().describe(\"ISO 8601 timestamp when the list was created.\").nullable().optional(),\n BaseType: z.number().int().describe(\"The base type of the list (0=GenericList, 1=DocumentLibrary).\").nullable().optional(),\n ItemCount: z.number().int().describe(\"Number of items in the list.\").nullable().optional(),\n Description: z.string().describe(\"The description of the list.\").nullable().optional(),\n}).passthrough().describe(\"SharePoint list metadata and properties.\");\nexport const SharePointListAllListsOutput = z.object({\n lists: z.array(SharePointListAllLists_SharePointListMetadataSchema).describe(\"Array of SharePoint list objects with metadata. Each list includes Title, Id, and other properties based on the $select parameter used.\"),\n}).describe(\"Response model for listing all SharePoint lists.\");\n\nexport const sharePointListAllLists = action(\"SHARE_POINT_LIST_ALL_LISTS\", {\n slug: \"share_point-list-all-lists\",\n name: \"List SharePoint Lists\",\n description: \"Retrieves all lists in the current SharePoint web/site. Use this action to discover available lists and document libraries on a SharePoint site, or to pre-check for existing lists before creation (duplicate list names will fail). Returns metadata for each list including Title, Id, BaseType, ItemCount, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointListAllListsInput,\n output: SharePointListAllListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;AACrN,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yIAAyI,EACxN,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"list-all-lists.cjs","names":["z","action"],"sources":["../../src/actions/list-all-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointListAllListsInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of results.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results.\").optional(),\n select: z.string().describe(\"OData $select to specify which list fields to return, e.g., 'Title,Id'.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Title desc'.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n skiptoken: z.string().describe(\"OData $skiptoken for paging through results. The token value is returned in the previous response when more results exist; pass it unchanged to retrieve the next page.\").optional(),\n}).describe(\"Optional OData query parameters for listing all SharePoint lists.\");\nconst SharePointListAllLists_SharePointListMetadataSchema = z.object({\n Id: z.string().describe(\"The unique GUID identifier of the list. Only returned when 'Id' is included in the $select parameter or when no $select is specified.\").nullable().optional(),\n Title: z.string().describe(\"The display title of the list.\").nullable(),\n Hidden: z.boolean().describe(\"Whether the list is hidden.\").nullable().optional(),\n Created: z.string().describe(\"ISO 8601 timestamp when the list was created.\").nullable().optional(),\n BaseType: z.number().int().describe(\"The base type of the list (0=GenericList, 1=DocumentLibrary).\").nullable().optional(),\n ItemCount: z.number().int().describe(\"Number of items in the list.\").nullable().optional(),\n Description: z.string().describe(\"The description of the list.\").nullable().optional(),\n}).passthrough().describe(\"SharePoint list metadata and properties.\");\nexport const SharePointListAllListsOutput = z.object({\n lists: z.array(SharePointListAllLists_SharePointListMetadataSchema).describe(\"Array of SharePoint list objects with metadata. Each list includes Title, Id, and other properties based on the $select parameter used.\"),\n}).passthrough().describe(\"Response model for listing all SharePoint lists.\");\n\nexport const sharePointListAllLists = action(\"SHARE_POINT_LIST_ALL_LISTS\", {\n slug: \"share_point-list-all-lists\",\n name: \"List SharePoint Lists\",\n description: \"Retrieves all lists in the current SharePoint web/site. Use this action to discover available lists and document libraries on a SharePoint site, or to pre-check for existing lists before creation (duplicate list names will fail). Returns metadata for each list including Title, Id, BaseType, ItemCount, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointListAllListsInput,\n output: SharePointListAllListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,QAAQA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AAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const SharePointListAllListsOutput: z.ZodObject<{
|
|
|
20
20
|
ItemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
}, z.core.$loose>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const sharePointListAllLists: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
top?: number | undefined;
|
|
26
26
|
expand?: string | undefined;
|
|
@@ -29,7 +29,19 @@ declare const sharePointListAllLists: import("@keystrokehq/action").WorkflowActi
|
|
|
29
29
|
orderby?: string | undefined;
|
|
30
30
|
site_name?: string | undefined;
|
|
31
31
|
skiptoken?: string | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
33
|
+
connectionId: z.ZodString;
|
|
34
|
+
entityId: z.ZodString;
|
|
35
|
+
instanceId: z.ZodString;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
accessToken: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
39
|
+
connectionId: z.ZodString;
|
|
40
|
+
entityId: z.ZodString;
|
|
41
|
+
instanceId: z.ZodString;
|
|
42
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
+
accessToken: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>;
|
|
33
45
|
//#endregion
|
|
34
46
|
export { sharePointListAllLists };
|
|
35
47
|
//# sourceMappingURL=list-all-lists.d.cts.map
|
|
@@ -20,7 +20,7 @@ declare const SharePointListAllListsOutput: z.ZodObject<{
|
|
|
20
20
|
ItemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
}, z.core.$loose>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const sharePointListAllLists: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
top?: number | undefined;
|
|
26
26
|
expand?: string | undefined;
|
|
@@ -29,7 +29,19 @@ declare const sharePointListAllLists: import("@keystrokehq/action").WorkflowActi
|
|
|
29
29
|
orderby?: string | undefined;
|
|
30
30
|
site_name?: string | undefined;
|
|
31
31
|
skiptoken?: string | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
33
|
+
connectionId: z.ZodString;
|
|
34
|
+
entityId: z.ZodString;
|
|
35
|
+
instanceId: z.ZodString;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
accessToken: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
39
|
+
connectionId: z.ZodString;
|
|
40
|
+
entityId: z.ZodString;
|
|
41
|
+
instanceId: z.ZodString;
|
|
42
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
+
accessToken: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>;
|
|
33
45
|
//#endregion
|
|
34
46
|
export { sharePointListAllLists };
|
|
35
47
|
//# sourceMappingURL=list-all-lists.d.mts.map
|
|
@@ -24,7 +24,7 @@ const sharePointListAllLists = action("SHARE_POINT_LIST_ALL_LISTS", {
|
|
|
24
24
|
name: "List SharePoint Lists",
|
|
25
25
|
description: "Retrieves all lists in the current SharePoint web/site. Use this action to discover available lists and document libraries on a SharePoint site, or to pre-check for existing lists before creation (duplicate list names will fail). Returns metadata for each list including Title, Id, BaseType, ItemCount, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.",
|
|
26
26
|
input: SharePointListAllListsInput,
|
|
27
|
-
output: z.object({ lists: z.array(SharePointListAllLists_SharePointListMetadataSchema).describe("Array of SharePoint list objects with metadata. Each list includes Title, Id, and other properties based on the $select parameter used.") }).describe("Response model for listing all SharePoint lists.")
|
|
27
|
+
output: z.object({ lists: z.array(SharePointListAllLists_SharePointListMetadataSchema).describe("Array of SharePoint list objects with metadata. Each list includes Title, Id, and other properties based on the $select parameter used.") }).passthrough().describe("Response model for listing all SharePoint lists.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { sharePointListAllLists };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-lists.mjs","names":[],"sources":["../../src/actions/list-all-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointListAllListsInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of results.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results.\").optional(),\n select: z.string().describe(\"OData $select to specify which list fields to return, e.g., 'Title,Id'.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Title desc'.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n skiptoken: z.string().describe(\"OData $skiptoken for paging through results. The token value is returned in the previous response when more results exist; pass it unchanged to retrieve the next page.\").optional(),\n}).describe(\"Optional OData query parameters for listing all SharePoint lists.\");\nconst SharePointListAllLists_SharePointListMetadataSchema = z.object({\n Id: z.string().describe(\"The unique GUID identifier of the list. Only returned when 'Id' is included in the $select parameter or when no $select is specified.\").nullable().optional(),\n Title: z.string().describe(\"The display title of the list.\").nullable(),\n Hidden: z.boolean().describe(\"Whether the list is hidden.\").nullable().optional(),\n Created: z.string().describe(\"ISO 8601 timestamp when the list was created.\").nullable().optional(),\n BaseType: z.number().int().describe(\"The base type of the list (0=GenericList, 1=DocumentLibrary).\").nullable().optional(),\n ItemCount: z.number().int().describe(\"Number of items in the list.\").nullable().optional(),\n Description: z.string().describe(\"The description of the list.\").nullable().optional(),\n}).passthrough().describe(\"SharePoint list metadata and properties.\");\nexport const SharePointListAllListsOutput = z.object({\n lists: z.array(SharePointListAllLists_SharePointListMetadataSchema).describe(\"Array of SharePoint list objects with metadata. Each list includes Title, Id, and other properties based on the $select parameter used.\"),\n}).describe(\"Response model for listing all SharePoint lists.\");\n\nexport const sharePointListAllLists = action(\"SHARE_POINT_LIST_ALL_LISTS\", {\n slug: \"share_point-list-all-lists\",\n name: \"List SharePoint Lists\",\n description: \"Retrieves all lists in the current SharePoint web/site. Use this action to discover available lists and document libraries on a SharePoint site, or to pre-check for existing lists before creation (duplicate list names will fail). Returns metadata for each list including Title, Id, BaseType, ItemCount, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointListAllListsInput,\n output: SharePointListAllListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,C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-all-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointListAllListsInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of results.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results.\").optional(),\n select: z.string().describe(\"OData $select to specify which list fields to return, e.g., 'Title,Id'.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Title desc'.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n skiptoken: z.string().describe(\"OData $skiptoken for paging through results. The token value is returned in the previous response when more results exist; pass it unchanged to retrieve the next page.\").optional(),\n}).describe(\"Optional OData query parameters for listing all SharePoint lists.\");\nconst SharePointListAllLists_SharePointListMetadataSchema = z.object({\n Id: z.string().describe(\"The unique GUID identifier of the list. Only returned when 'Id' is included in the $select parameter or when no $select is specified.\").nullable().optional(),\n Title: z.string().describe(\"The display title of the list.\").nullable(),\n Hidden: z.boolean().describe(\"Whether the list is hidden.\").nullable().optional(),\n Created: z.string().describe(\"ISO 8601 timestamp when the list was created.\").nullable().optional(),\n BaseType: z.number().int().describe(\"The base type of the list (0=GenericList, 1=DocumentLibrary).\").nullable().optional(),\n ItemCount: z.number().int().describe(\"Number of items in the list.\").nullable().optional(),\n Description: z.string().describe(\"The description of the list.\").nullable().optional(),\n}).passthrough().describe(\"SharePoint list metadata and properties.\");\nexport const SharePointListAllListsOutput = z.object({\n lists: z.array(SharePointListAllLists_SharePointListMetadataSchema).describe(\"Array of SharePoint list objects with metadata. Each list includes Title, Id, and other properties based on the $select parameter used.\"),\n}).passthrough().describe(\"Response model for listing all SharePoint lists.\");\n\nexport const sharePointListAllLists = action(\"SHARE_POINT_LIST_ALL_LISTS\", {\n slug: \"share_point-list-all-lists\",\n name: \"List SharePoint Lists\",\n description: \"Retrieves all lists in the current SharePoint web/site. Use this action to discover available lists and document libraries on a SharePoint site, or to pre-check for existing lists before creation (duplicate list names will fail). Returns metadata for each list including Title, Id, BaseType, ItemCount, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointListAllListsInput,\n output: SharePointListAllListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;AACrN,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,OAAO,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yIAAyI,EACxN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const SharePointListDriveChildrenInput = zod.z.object({
|
|
|
10
10
|
folder_id: zod.z.string().describe("The unique identifier of a specific folder within the drive. If not provided, lists root folder children.").optional()
|
|
11
11
|
}).describe("Request parameters for listing children in a SharePoint drive.");
|
|
12
12
|
const SharePointListDriveChildren_FileFacetSchema = zod.z.object({
|
|
13
|
-
hashes: zod.z.
|
|
13
|
+
hashes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Hashes of the file content").nullable().optional(),
|
|
14
14
|
mimeType: zod.z.string().describe("MIME type of the file").nullable().optional()
|
|
15
15
|
}).passthrough().describe("File facet indicating the item is a file.");
|
|
16
16
|
const SharePointListDriveChildren_FolderFacetSchema = zod.z.object({ childCount: zod.z.number().int().describe("Number of children in the folder").nullable().optional() }).passthrough().describe("Folder facet indicating the item is a folder.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-drive-children.cjs","names":["z","action"],"sources":["../../src/actions/list-drive-children.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointListDriveChildrenInput = z.object({\n top: z.number().int().default(200).describe(\"Number of items to return (OData $top parameter). Default is 200.\").optional(),\n filter: z.string().describe(\"OData filter expression. Common values: 'folder ne null' (only folders), 'file ne null' (only files), or custom filters like \\\"name eq 'document.pdf'\\\".\").optional(),\n select: z.string().describe(\"Comma-separated properties to return (e.g., 'id,name,size,folder,file,webUrl').\").optional(),\n orderby: z.string().describe(\"OData orderby expression (e.g., 'name asc', 'lastModifiedDateTime desc').\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. This is the drive ID (GUID) that identifies a specific document library or OneDrive.\"),\n folder_id: z.string().describe(\"The unique identifier of a specific folder within the drive. If not provided, lists root folder children.\").optional(),\n}).describe(\"Request parameters for listing children in a SharePoint drive.\");\nconst SharePointListDriveChildren_FileFacetSchema = z.object({\n hashes: z.
|
|
1
|
+
{"version":3,"file":"list-drive-children.cjs","names":["z","action"],"sources":["../../src/actions/list-drive-children.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointListDriveChildrenInput = z.object({\n top: z.number().int().default(200).describe(\"Number of items to return (OData $top parameter). Default is 200.\").optional(),\n filter: z.string().describe(\"OData filter expression. Common values: 'folder ne null' (only folders), 'file ne null' (only files), or custom filters like \\\"name eq 'document.pdf'\\\".\").optional(),\n select: z.string().describe(\"Comma-separated properties to return (e.g., 'id,name,size,folder,file,webUrl').\").optional(),\n orderby: z.string().describe(\"OData orderby expression (e.g., 'name asc', 'lastModifiedDateTime desc').\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. This is the drive ID (GUID) that identifies a specific document library or OneDrive.\"),\n folder_id: z.string().describe(\"The unique identifier of a specific folder within the drive. If not provided, lists root folder children.\").optional(),\n}).describe(\"Request parameters for listing children in a SharePoint drive.\");\nconst SharePointListDriveChildren_FileFacetSchema = z.object({\n hashes: z.record(z.string(), z.unknown()).describe(\"Hashes of the file content\").nullable().optional(),\n mimeType: z.string().describe(\"MIME type of the file\").nullable().optional(),\n}).passthrough().describe(\"File facet indicating the item is a file.\");\nconst SharePointListDriveChildren_FolderFacetSchema = z.object({\n childCount: z.number().int().describe(\"Number of children in the folder\").nullable().optional(),\n}).passthrough().describe(\"Folder facet indicating the item is a folder.\");\nconst SharePointListDriveChildren_IdentitySchema = z.object({\n id: z.string().describe(\"Unique identifier\").nullable().optional(),\n displayName: z.string().describe(\"Display name\").nullable().optional(),\n}).passthrough().describe(\"Identity information for a user, application, or device.\");\nconst SharePointListDriveChildren_IdentitySetSchema = z.object({\n user: SharePointListDriveChildren_IdentitySchema.nullable().optional(),\n device: SharePointListDriveChildren_IdentitySchema.nullable().optional(),\n application: SharePointListDriveChildren_IdentitySchema.nullable().optional(),\n}).passthrough().describe(\"Identity information about who created or modified an item.\");\nconst SharePointListDriveChildren_FileSystemInfoSchema = z.object({\n createdDateTime: z.string().describe(\"Date and time the item was created (ISO 8601)\").nullable().optional(),\n lastAccessedDateTime: z.string().describe(\"Date and time the item was last accessed (ISO 8601)\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the item was last modified (ISO 8601)\").nullable().optional(),\n}).passthrough().describe(\"File system metadata.\");\nconst SharePointListDriveChildren_ItemReferenceSchema = z.object({\n id: z.string().describe(\"Identifier of the item\").nullable().optional(),\n name: z.string().describe(\"Name of the item\").nullable().optional(),\n path: z.string().describe(\"Path to the item\").nullable().optional(),\n siteId: z.string().describe(\"Identifier of the site\").nullable().optional(),\n driveId: z.string().describe(\"Identifier of the drive\").nullable().optional(),\n}).passthrough().describe(\"Reference to a parent item or drive.\");\nconst SharePointListDriveChildren_DriveItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the item within the drive\").nullable().optional(),\n cTag: z.string().describe(\"ETag for the content of the item\").nullable().optional(),\n eTag: z.string().describe(\"ETag for the entire item (metadata + content)\").nullable().optional(),\n file: SharePointListDriveChildren_FileFacetSchema.nullable().optional(),\n name: z.string().describe(\"Name of the item (filename and extension)\").nullable().optional(),\n size: z.number().int().describe(\"Size of the item in bytes\").nullable().optional(),\n folder: SharePointListDriveChildren_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the resource in the browser\").nullable().optional(),\n createdBy: SharePointListDriveChildren_IdentitySetSchema.nullable().optional(),\n fileSystemInfo: SharePointListDriveChildren_FileSystemInfoSchema.nullable().optional(),\n lastModifiedBy: SharePointListDriveChildren_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time of item creation (ISO 8601)\").nullable().optional(),\n parentReference: SharePointListDriveChildren_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the item was last modified (ISO 8601)\").nullable().optional(),\n}).passthrough().describe(\"Drive item representing a file or folder.\");\nexport const SharePointListDriveChildrenOutput = z.object({\n value: z.array(SharePointListDriveChildren_DriveItemSchema).describe(\"Array of drive items (files and folders) in the specified drive or folder.\"),\n \"@odata.nextLink\": z.string().describe(\"URL for the next page of results if pagination is needed.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing children of a drive or folder.\");\n\nexport const sharePointListDriveChildren = action(\"SHARE_POINT_LIST_DRIVE_CHILDREN\", {\n slug: \"share_point-list-drive-children\",\n name: \"List Drive Children\",\n description: \"Tool to list children (files and folders) in a SharePoint drive using REST API v2.0. Use when you need to enumerate items in a drive's root folder or a specific folder within the drive.\",\n input: SharePointListDriveChildrenInput,\n output: SharePointListDriveChildrenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CACjM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAA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AAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const SharePointListDriveChildrenOutput: z.ZodObject<{
|
|
|
15
15
|
cTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
eTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
-
hashes: z.ZodOptional<z.ZodNullable<z.
|
|
18
|
+
hashes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
19
|
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
}, z.core.$loose>>>;
|
|
21
21
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -76,7 +76,19 @@ declare const sharePointListDriveChildren: import("@keystrokehq/action").Workflo
|
|
|
76
76
|
select?: string | undefined;
|
|
77
77
|
orderby?: string | undefined;
|
|
78
78
|
folder_id?: string | undefined;
|
|
79
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
79
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
80
|
+
connectionId: z.ZodString;
|
|
81
|
+
entityId: z.ZodString;
|
|
82
|
+
instanceId: z.ZodString;
|
|
83
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
+
accessToken: z.ZodString;
|
|
85
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
86
|
+
connectionId: z.ZodString;
|
|
87
|
+
entityId: z.ZodString;
|
|
88
|
+
instanceId: z.ZodString;
|
|
89
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
90
|
+
accessToken: z.ZodString;
|
|
91
|
+
}, z.core.$strip>>]>;
|
|
80
92
|
//#endregion
|
|
81
93
|
export { sharePointListDriveChildren };
|
|
82
94
|
//# sourceMappingURL=list-drive-children.d.cts.map
|
|
@@ -15,7 +15,7 @@ declare const SharePointListDriveChildrenOutput: z.ZodObject<{
|
|
|
15
15
|
cTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
eTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
-
hashes: z.ZodOptional<z.ZodNullable<z.
|
|
18
|
+
hashes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
19
|
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
}, z.core.$loose>>>;
|
|
21
21
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -76,7 +76,19 @@ declare const sharePointListDriveChildren: import("@keystrokehq/action").Workflo
|
|
|
76
76
|
select?: string | undefined;
|
|
77
77
|
orderby?: string | undefined;
|
|
78
78
|
folder_id?: string | undefined;
|
|
79
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
79
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
80
|
+
connectionId: z.ZodString;
|
|
81
|
+
entityId: z.ZodString;
|
|
82
|
+
instanceId: z.ZodString;
|
|
83
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
+
accessToken: z.ZodString;
|
|
85
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
86
|
+
connectionId: z.ZodString;
|
|
87
|
+
entityId: z.ZodString;
|
|
88
|
+
instanceId: z.ZodString;
|
|
89
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
90
|
+
accessToken: z.ZodString;
|
|
91
|
+
}, z.core.$strip>>]>;
|
|
80
92
|
//#endregion
|
|
81
93
|
export { sharePointListDriveChildren };
|
|
82
94
|
//# sourceMappingURL=list-drive-children.d.mts.map
|
|
@@ -10,7 +10,7 @@ const SharePointListDriveChildrenInput = z.object({
|
|
|
10
10
|
folder_id: z.string().describe("The unique identifier of a specific folder within the drive. If not provided, lists root folder children.").optional()
|
|
11
11
|
}).describe("Request parameters for listing children in a SharePoint drive.");
|
|
12
12
|
const SharePointListDriveChildren_FileFacetSchema = z.object({
|
|
13
|
-
hashes: z.
|
|
13
|
+
hashes: z.record(z.string(), z.unknown()).describe("Hashes of the file content").nullable().optional(),
|
|
14
14
|
mimeType: z.string().describe("MIME type of the file").nullable().optional()
|
|
15
15
|
}).passthrough().describe("File facet indicating the item is a file.");
|
|
16
16
|
const SharePointListDriveChildren_FolderFacetSchema = z.object({ childCount: z.number().int().describe("Number of children in the folder").nullable().optional() }).passthrough().describe("Folder facet indicating the item is a folder.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-drive-children.mjs","names":[],"sources":["../../src/actions/list-drive-children.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointListDriveChildrenInput = z.object({\n top: z.number().int().default(200).describe(\"Number of items to return (OData $top parameter). Default is 200.\").optional(),\n filter: z.string().describe(\"OData filter expression. Common values: 'folder ne null' (only folders), 'file ne null' (only files), or custom filters like \\\"name eq 'document.pdf'\\\".\").optional(),\n select: z.string().describe(\"Comma-separated properties to return (e.g., 'id,name,size,folder,file,webUrl').\").optional(),\n orderby: z.string().describe(\"OData orderby expression (e.g., 'name asc', 'lastModifiedDateTime desc').\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. This is the drive ID (GUID) that identifies a specific document library or OneDrive.\"),\n folder_id: z.string().describe(\"The unique identifier of a specific folder within the drive. If not provided, lists root folder children.\").optional(),\n}).describe(\"Request parameters for listing children in a SharePoint drive.\");\nconst SharePointListDriveChildren_FileFacetSchema = z.object({\n hashes: z.
|
|
1
|
+
{"version":3,"file":"list-drive-children.mjs","names":[],"sources":["../../src/actions/list-drive-children.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointListDriveChildrenInput = z.object({\n top: z.number().int().default(200).describe(\"Number of items to return (OData $top parameter). Default is 200.\").optional(),\n filter: z.string().describe(\"OData filter expression. Common values: 'folder ne null' (only folders), 'file ne null' (only files), or custom filters like \\\"name eq 'document.pdf'\\\".\").optional(),\n select: z.string().describe(\"Comma-separated properties to return (e.g., 'id,name,size,folder,file,webUrl').\").optional(),\n orderby: z.string().describe(\"OData orderby expression (e.g., 'name asc', 'lastModifiedDateTime desc').\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. This is the drive ID (GUID) that identifies a specific document library or OneDrive.\"),\n folder_id: z.string().describe(\"The unique identifier of a specific folder within the drive. If not provided, lists root folder children.\").optional(),\n}).describe(\"Request parameters for listing children in a SharePoint drive.\");\nconst SharePointListDriveChildren_FileFacetSchema = z.object({\n hashes: z.record(z.string(), z.unknown()).describe(\"Hashes of the file content\").nullable().optional(),\n mimeType: z.string().describe(\"MIME type of the file\").nullable().optional(),\n}).passthrough().describe(\"File facet indicating the item is a file.\");\nconst SharePointListDriveChildren_FolderFacetSchema = z.object({\n childCount: z.number().int().describe(\"Number of children in the folder\").nullable().optional(),\n}).passthrough().describe(\"Folder facet indicating the item is a folder.\");\nconst SharePointListDriveChildren_IdentitySchema = z.object({\n id: z.string().describe(\"Unique identifier\").nullable().optional(),\n displayName: z.string().describe(\"Display name\").nullable().optional(),\n}).passthrough().describe(\"Identity information for a user, application, or device.\");\nconst SharePointListDriveChildren_IdentitySetSchema = z.object({\n user: SharePointListDriveChildren_IdentitySchema.nullable().optional(),\n device: SharePointListDriveChildren_IdentitySchema.nullable().optional(),\n application: SharePointListDriveChildren_IdentitySchema.nullable().optional(),\n}).passthrough().describe(\"Identity information about who created or modified an item.\");\nconst SharePointListDriveChildren_FileSystemInfoSchema = z.object({\n createdDateTime: z.string().describe(\"Date and time the item was created (ISO 8601)\").nullable().optional(),\n lastAccessedDateTime: z.string().describe(\"Date and time the item was last accessed (ISO 8601)\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the item was last modified (ISO 8601)\").nullable().optional(),\n}).passthrough().describe(\"File system metadata.\");\nconst SharePointListDriveChildren_ItemReferenceSchema = z.object({\n id: z.string().describe(\"Identifier of the item\").nullable().optional(),\n name: z.string().describe(\"Name of the item\").nullable().optional(),\n path: z.string().describe(\"Path to the item\").nullable().optional(),\n siteId: z.string().describe(\"Identifier of the site\").nullable().optional(),\n driveId: z.string().describe(\"Identifier of the drive\").nullable().optional(),\n}).passthrough().describe(\"Reference to a parent item or drive.\");\nconst SharePointListDriveChildren_DriveItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the item within the drive\").nullable().optional(),\n cTag: z.string().describe(\"ETag for the content of the item\").nullable().optional(),\n eTag: z.string().describe(\"ETag for the entire item (metadata + content)\").nullable().optional(),\n file: SharePointListDriveChildren_FileFacetSchema.nullable().optional(),\n name: z.string().describe(\"Name of the item (filename and extension)\").nullable().optional(),\n size: z.number().int().describe(\"Size of the item in bytes\").nullable().optional(),\n folder: SharePointListDriveChildren_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the resource in the browser\").nullable().optional(),\n createdBy: SharePointListDriveChildren_IdentitySetSchema.nullable().optional(),\n fileSystemInfo: SharePointListDriveChildren_FileSystemInfoSchema.nullable().optional(),\n lastModifiedBy: SharePointListDriveChildren_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time of item creation (ISO 8601)\").nullable().optional(),\n parentReference: SharePointListDriveChildren_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the item was last modified (ISO 8601)\").nullable().optional(),\n}).passthrough().describe(\"Drive item representing a file or folder.\");\nexport const SharePointListDriveChildrenOutput = z.object({\n value: z.array(SharePointListDriveChildren_DriveItemSchema).describe(\"Array of drive items (files and folders) in the specified drive or folder.\"),\n \"@odata.nextLink\": z.string().describe(\"URL for the next page of results if pagination is needed.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing children of a drive or folder.\");\n\nexport const sharePointListDriveChildren = action(\"SHARE_POINT_LIST_DRIVE_CHILDREN\", {\n slug: \"share_point-list-drive-children\",\n name: \"List Drive Children\",\n description: \"Tool to list children (files and folders) in a SharePoint drive using REST API v2.0. Use when you need to enumerate items in a drive's root folder or a specific folder within the drive.\",\n input: SharePointListDriveChildrenInput,\n output: SharePointListDriveChildrenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CACjM,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACxH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H;CACxJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,8CAA8C,EAAE,OAAO;CAC3D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAA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iB,gDAAgD,SAAS,CAAC,CAAC,SAAS;CACrF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAMrE,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+C,EAAE,OAAO;EACxD,OAAO,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,4EAA4E;EACjJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ const SharePointListDriveRecentItemsInput = zod.z.object({
|
|
|
7
7
|
site_name: zod.z.string().describe("The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used.").optional()
|
|
8
8
|
}).describe("Request parameters for listing recently modified items in a drive.");
|
|
9
9
|
const SharePointListDriveRecentItems_FileFacetSchema = zod.z.object({
|
|
10
|
-
hashes: zod.z.
|
|
10
|
+
hashes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Hashes of the file content").nullable().optional(),
|
|
11
11
|
mimeType: zod.z.string().describe("MIME type of the file").nullable().optional()
|
|
12
12
|
}).passthrough().describe("File facet indicating the item is a file.");
|
|
13
13
|
const SharePointListDriveRecentItems_FolderFacetSchema = zod.z.object({ childCount: zod.z.number().int().describe("Number of children in the folder").nullable().optional() }).passthrough().describe("Folder facet indicating the item is a folder.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-drive-recent-items.cjs","names":["z","action"],"sources":["../../src/actions/list-drive-recent-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointListDriveRecentItemsInput = z.object({\n drive_id: z.string().describe(\"The unique identifier of the drive. This is the drive ID (GUID) that identifies a specific document library or OneDrive.\"),\n row_limit: z.number().int().default(20).describe(\"Maximum number of recently modified items to return. Default is 20.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used.\").optional(),\n}).describe(\"Request parameters for listing recently modified items in a drive.\");\nconst SharePointListDriveRecentItems_FileFacetSchema = z.object({\n hashes: z.object({}).describe(\"Hashes of the file content\").nullable().optional(),\n mimeType: z.string().describe(\"MIME type of the file\").nullable().optional(),\n}).passthrough().describe(\"File facet indicating the item is a file.\");\nconst SharePointListDriveRecentItems_FolderFacetSchema = z.object({\n childCount: z.number().int().describe(\"Number of children in the folder\").nullable().optional(),\n}).passthrough().describe(\"Folder facet indicating the item is a folder.\");\nconst SharePointListDriveRecentItems_IdentitySchema = z.object({\n id: z.string().describe(\"Unique identifier\").nullable().optional(),\n displayName: z.string().describe(\"Display name\").nullable().optional(),\n}).passthrough().describe(\"Identity information for a user, application, or device.\");\nconst SharePointListDriveRecentItems_IdentitySetSchema = z.object({\n user: SharePointListDriveRecentItems_IdentitySchema.nullable().optional(),\n device: SharePointListDriveRecentItems_IdentitySchema.nullable().optional(),\n application: SharePointListDriveRecentItems_IdentitySchema.nullable().optional(),\n}).passthrough().describe(\"Identity information about who created or modified an item.\");\nconst SharePointListDriveRecentItems_ItemReferenceSchema = z.object({\n id: z.string().describe(\"Identifier of the item\").nullable().optional(),\n name: z.string().describe(\"Name of the item\").nullable().optional(),\n path: z.string().describe(\"Path to the item\").nullable().optional(),\n siteId: z.string().describe(\"Identifier of the site\").nullable().optional(),\n driveId: z.string().describe(\"Identifier of the drive\").nullable().optional(),\n}).passthrough().describe(\"Reference to a parent item or drive.\");\nconst SharePointListDriveRecentItems_RemoteItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the remote item\").nullable().optional(),\n file: SharePointListDriveRecentItems_FileFacetSchema.nullable().optional(),\n name: z.string().describe(\"Name of the remote item\").nullable().optional(),\n size: z.number().int().describe(\"Size of the remote item in bytes\").nullable().optional(),\n folder: SharePointListDriveRecentItems_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL to access the remote item in a browser\").nullable().optional(),\n parentReference: SharePointListDriveRecentItems_ItemReferenceSchema.nullable().optional(),\n}).passthrough().describe(\"Information about an item from another drive.\");\nconst SharePointListDriveRecentItems_FileSystemInfoSchema = z.object({\n createdDateTime: z.string().describe(\"Date and time the item was created (ISO 8601)\").nullable().optional(),\n lastAccessedDateTime: z.string().describe(\"Date and time the item was last accessed (ISO 8601)\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the item was last modified (ISO 8601)\").nullable().optional(),\n}).passthrough().describe(\"File system metadata.\");\nconst SharePointListDriveRecentItems_DriveItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the item within the drive.\").nullable().optional(),\n cTag: z.string().describe(\"ETag for the content of the item\").nullable().optional(),\n eTag: z.string().describe(\"ETag for the entire item (metadata + content)\").nullable().optional(),\n file: SharePointListDriveRecentItems_FileFacetSchema.nullable().optional(),\n name: z.string().describe(\"Name of the item (filename and extension)\").nullable().optional(),\n size: z.number().int().describe(\"Size of the item in bytes\").nullable().optional(),\n folder: SharePointListDriveRecentItems_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the resource in the browser\").nullable().optional(),\n createdBy: SharePointListDriveRecentItems_IdentitySetSchema.nullable().optional(),\n remoteItem: SharePointListDriveRecentItems_RemoteItemSchema.nullable().optional(),\n fileSystemInfo: SharePointListDriveRecentItems_FileSystemInfoSchema.nullable().optional(),\n lastModifiedBy: SharePointListDriveRecentItems_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time of item creation (ISO 8601)\").nullable().optional(),\n parentReference: SharePointListDriveRecentItems_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the item was last modified (ISO 8601)\").nullable().optional(),\n}).passthrough().describe(\"Drive item representing a file or folder.\");\nexport const SharePointListDriveRecentItemsOutput = z.object({\n value: z.array(SharePointListDriveRecentItems_DriveItemSchema).describe(\"Array of recently modified drive items sorted by modification time (most recent first). Items include files and folders from the root folder.\"),\n}).passthrough().describe(\"Response model containing recently modified drive items.\");\n\nexport const sharePointListDriveRecentItems = action(\"SHARE_POINT_LIST_DRIVE_RECENT_ITEMS\", {\n slug: \"share_point-list-drive-recent-items\",\n name: \"List Recently Modified Drive Items\",\n description: \"Tool to list recently modified items in a SharePoint drive using Microsoft Graph API. Returns files and folders from the root folder sorted by modification time (most recent first). Note: This action uses the /root/children endpoint with $orderby=lastModifiedDateTime desc to retrieve recently modified items from the root folder.\",\n input: SharePointListDriveRecentItemsInput,\n output: SharePointListDriveRecentItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H;CACxJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAA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AAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-drive-recent-items.cjs","names":["z","action"],"sources":["../../src/actions/list-drive-recent-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointListDriveRecentItemsInput = z.object({\n drive_id: z.string().describe(\"The unique identifier of the drive. This is the drive ID (GUID) that identifies a specific document library or OneDrive.\"),\n row_limit: z.number().int().default(20).describe(\"Maximum number of recently modified items to return. Default is 20.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used.\").optional(),\n}).describe(\"Request parameters for listing recently modified items in a drive.\");\nconst SharePointListDriveRecentItems_FileFacetSchema = z.object({\n hashes: z.record(z.string(), z.unknown()).describe(\"Hashes of the file content\").nullable().optional(),\n mimeType: z.string().describe(\"MIME type of the file\").nullable().optional(),\n}).passthrough().describe(\"File facet indicating the item is a file.\");\nconst SharePointListDriveRecentItems_FolderFacetSchema = z.object({\n childCount: z.number().int().describe(\"Number of children in the folder\").nullable().optional(),\n}).passthrough().describe(\"Folder facet indicating the item is a folder.\");\nconst SharePointListDriveRecentItems_IdentitySchema = z.object({\n id: z.string().describe(\"Unique identifier\").nullable().optional(),\n displayName: z.string().describe(\"Display name\").nullable().optional(),\n}).passthrough().describe(\"Identity information for a user, application, or device.\");\nconst SharePointListDriveRecentItems_IdentitySetSchema = z.object({\n user: SharePointListDriveRecentItems_IdentitySchema.nullable().optional(),\n device: SharePointListDriveRecentItems_IdentitySchema.nullable().optional(),\n application: SharePointListDriveRecentItems_IdentitySchema.nullable().optional(),\n}).passthrough().describe(\"Identity information about who created or modified an item.\");\nconst SharePointListDriveRecentItems_ItemReferenceSchema = z.object({\n id: z.string().describe(\"Identifier of the item\").nullable().optional(),\n name: z.string().describe(\"Name of the item\").nullable().optional(),\n path: z.string().describe(\"Path to the item\").nullable().optional(),\n siteId: z.string().describe(\"Identifier of the site\").nullable().optional(),\n driveId: z.string().describe(\"Identifier of the drive\").nullable().optional(),\n}).passthrough().describe(\"Reference to a parent item or drive.\");\nconst SharePointListDriveRecentItems_RemoteItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the remote item\").nullable().optional(),\n file: SharePointListDriveRecentItems_FileFacetSchema.nullable().optional(),\n name: z.string().describe(\"Name of the remote item\").nullable().optional(),\n size: z.number().int().describe(\"Size of the remote item in bytes\").nullable().optional(),\n folder: SharePointListDriveRecentItems_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL to access the remote item in a browser\").nullable().optional(),\n parentReference: SharePointListDriveRecentItems_ItemReferenceSchema.nullable().optional(),\n}).passthrough().describe(\"Information about an item from another drive.\");\nconst SharePointListDriveRecentItems_FileSystemInfoSchema = z.object({\n createdDateTime: z.string().describe(\"Date and time the item was created (ISO 8601)\").nullable().optional(),\n lastAccessedDateTime: z.string().describe(\"Date and time the item was last accessed (ISO 8601)\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the item was last modified (ISO 8601)\").nullable().optional(),\n}).passthrough().describe(\"File system metadata.\");\nconst SharePointListDriveRecentItems_DriveItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the item within the drive.\").nullable().optional(),\n cTag: z.string().describe(\"ETag for the content of the item\").nullable().optional(),\n eTag: z.string().describe(\"ETag for the entire item (metadata + content)\").nullable().optional(),\n file: SharePointListDriveRecentItems_FileFacetSchema.nullable().optional(),\n name: z.string().describe(\"Name of the item (filename and extension)\").nullable().optional(),\n size: z.number().int().describe(\"Size of the item in bytes\").nullable().optional(),\n folder: SharePointListDriveRecentItems_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the resource in the browser\").nullable().optional(),\n createdBy: SharePointListDriveRecentItems_IdentitySetSchema.nullable().optional(),\n remoteItem: SharePointListDriveRecentItems_RemoteItemSchema.nullable().optional(),\n fileSystemInfo: SharePointListDriveRecentItems_FileSystemInfoSchema.nullable().optional(),\n lastModifiedBy: SharePointListDriveRecentItems_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time of item creation (ISO 8601)\").nullable().optional(),\n parentReference: SharePointListDriveRecentItems_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the item was last modified (ISO 8601)\").nullable().optional(),\n}).passthrough().describe(\"Drive item representing a file or folder.\");\nexport const SharePointListDriveRecentItemsOutput = z.object({\n value: z.array(SharePointListDriveRecentItems_DriveItemSchema).describe(\"Array of recently modified drive items sorted by modification time (most recent first). Items include files and folders from the root folder.\"),\n}).passthrough().describe(\"Response model containing recently modified drive items.\");\n\nexport const sharePointListDriveRecentItems = action(\"SHARE_POINT_LIST_DRIVE_RECENT_ITEMS\", {\n slug: \"share_point-list-drive-recent-items\",\n name: \"List Recently Modified Drive Items\",\n description: \"Tool to list recently modified items in a SharePoint drive using Microsoft Graph API. Returns files and folders from the root folder sorted by modification time (most recent first). Note: This action uses the /root/children endpoint with $orderby=lastModifiedDateTime desc to retrieve recently modified items from the root folder.\",\n input: SharePointListDriveRecentItemsInput,\n output: SharePointListDriveRecentItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H;CACxJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SA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AACrE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,OAAOA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,+IAA+I,EACzN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const SharePointListDriveRecentItemsOutput: z.ZodObject<{
|
|
|
12
12
|
cTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
eTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15
|
-
hashes: z.ZodOptional<z.ZodNullable<z.
|
|
15
|
+
hashes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
16
|
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
}, z.core.$loose>>>;
|
|
18
18
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -38,7 +38,7 @@ declare const SharePointListDriveRecentItemsOutput: z.ZodObject<{
|
|
|
38
38
|
remoteItem: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
39
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
|
-
hashes: z.ZodOptional<z.ZodNullable<z.
|
|
41
|
+
hashes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
42
42
|
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
}, z.core.$loose>>>;
|
|
44
44
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -89,7 +89,19 @@ declare const sharePointListDriveRecentItems: import("@keystrokehq/action").Work
|
|
|
89
89
|
drive_id: string;
|
|
90
90
|
row_limit?: number | undefined;
|
|
91
91
|
site_name?: string | undefined;
|
|
92
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
92
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
93
|
+
connectionId: z.ZodString;
|
|
94
|
+
entityId: z.ZodString;
|
|
95
|
+
instanceId: z.ZodString;
|
|
96
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
97
|
+
accessToken: z.ZodString;
|
|
98
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
99
|
+
connectionId: z.ZodString;
|
|
100
|
+
entityId: z.ZodString;
|
|
101
|
+
instanceId: z.ZodString;
|
|
102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
103
|
+
accessToken: z.ZodString;
|
|
104
|
+
}, z.core.$strip>>]>;
|
|
93
105
|
//#endregion
|
|
94
106
|
export { sharePointListDriveRecentItems };
|
|
95
107
|
//# sourceMappingURL=list-drive-recent-items.d.cts.map
|