@keystrokehq/share_point 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +1 -1
- package/dist/actions/add-attachment-to-list-item.d.mts +1 -1
- 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 +2 -2
- package/dist/actions/add-field-link-to-content-type.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/add-role-assignment-to-item.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/add-role-assignment-to-list.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/break-role-inheritance-on-item.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/break-role-inheritance-on-list.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/check-in-file.d.mts +1 -1
- 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 +2 -2
- package/dist/actions/create-content-type.d.mts +2 -2
- 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 +3 -3
- package/dist/actions/create-drive-item-sharing-link.d.mts +3 -3
- 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 +1 -1
- package/dist/actions/create-list-field.d.mts +1 -1
- 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 +3 -3
- package/dist/actions/create-list-item-by-id.d.mts +3 -3
- 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 +4 -3
- package/dist/actions/create-list-item-in-folder.d.mts +4 -3
- 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 +1 -1
- package/dist/actions/create-web.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-drive-item-version-content.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-file-item.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-folder.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-list-by-title.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-list-item.d.mts +1 -1
- 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 +2 -2
- package/dist/actions/delete-list-items.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/delete-list.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-recycle-bin-item-permanent.d.mts +1 -1
- 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 +2 -2
- package/dist/actions/download-file-by-server-relative-url.d.mts +2 -2
- 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 +4 -4
- package/dist/actions/ensure-user.d.mts +4 -4
- 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 +1 -1
- package/dist/actions/follow.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/get-all-folders.d.mts +1 -1
- 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 +2 -2
- package/dist/actions/get-changes.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/get-content-type.d.mts +2 -2
- 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 +3 -3
- package/dist/actions/get-content-types-for-list.d.mts +3 -3
- 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 +3 -3
- package/dist/actions/get-content-types.d.mts +3 -3
- 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 +2 -2
- package/dist/actions/get-context-info.d.mts +2 -2
- 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 +6 -6
- package/dist/actions/get-current-user.d.mts +6 -6
- 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 +6 -6
- package/dist/actions/get-drive-item-analytics.d.mts +6 -6
- 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 +2 -2
- package/dist/actions/get-group-users-by-id.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/get-group-users.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/get-item-attachment-content.d.mts +2 -2
- 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-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 +3 -3
- package/dist/actions/get-list-content-type-by-id.d.mts +3 -3
- 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-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 +1 -1
- package/dist/actions/get-list-items-by-guid.d.mts +1 -1
- 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 +22 -22
- package/dist/actions/get-list-items.d.mts +22 -22
- 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 +2 -2
- package/dist/actions/get-my-followed.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/get-my-followers.d.mts +2 -2
- 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 +3 -3
- package/dist/actions/get-role-definitions.d.mts +3 -3
- 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-id.cjs +1 -1
- package/dist/actions/get-site-by-id.cjs.map +1 -1
- package/dist/actions/get-site-by-id.d.cts +7 -7
- package/dist/actions/get-site-by-id.d.mts +7 -7
- 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 +2 -2
- package/dist/actions/get-site-collection-info.d.mts +2 -2
- 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 +26 -26
- package/dist/actions/get-site-drive-item-by-path.d.mts +26 -26
- 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-root.cjs +1 -1
- package/dist/actions/get-site-root.cjs.map +1 -1
- package/dist/actions/get-site-root.d.cts +7 -7
- package/dist/actions/get-site-root.d.mts +7 -7
- 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 +1 -1
- package/dist/actions/get-user-effective-permissions-on-web.d.mts +1 -1
- 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 +7 -7
- package/dist/actions/get-web-info.d.mts +7 -7
- 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 +1 -1
- package/dist/actions/get-webhook-subscription.d.mts +1 -1
- 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 +2 -2
- package/dist/actions/get-webhook-subscriptions.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/is-followed.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/list-all-lists.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/list-drive-children.d.mts +1 -1
- 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 +2 -2
- package/dist/actions/list-drive-recent-items.d.mts +2 -2
- 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-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 +1 -1
- package/dist/actions/list-files-in-folder.d.mts +1 -1
- 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 +2 -2
- package/dist/actions/list-item-attachments.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/list-list-columns.d.mts +1 -1
- 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 +2 -2
- package/dist/actions/list-recycle-bin-items.d.mts +2 -2
- 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-groups.cjs +5 -5
- package/dist/actions/list-site-groups.cjs.map +1 -1
- package/dist/actions/list-site-groups.d.cts +8 -8
- package/dist/actions/list-site-groups.d.mts +8 -8
- 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 +11 -11
- package/dist/actions/list-site-users.d.mts +11 -11
- package/dist/actions/list-site-users.mjs +8 -8
- package/dist/actions/list-site-users.mjs.map +1 -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 +1 -1
- package/dist/actions/list-subfolders-in-folder.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/log-event.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/recycle-file.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/recycle-list-item.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/rename-folder.d.mts +1 -1
- 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 +3 -3
- package/dist/actions/render-list-data-as-stream.d.mts +3 -3
- 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 +1 -1
- package/dist/actions/restore-drive-item-version.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/restore-recycle-bin-item.d.mts +1 -1
- 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 +17 -17
- package/dist/actions/search-files.d.mts +17 -17
- 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 +12 -12
- package/dist/actions/search-query.d.mts +12 -12
- 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 +1 -1
- package/dist/actions/search-suggest.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/sharepoint-check-out-file.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/sharepoint-create-folder.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/sharepoint-create-list-item.d.mts +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 +1 -1
- package/dist/actions/sharepoint-create-list.d.mts +1 -1
- 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 +2 -2
- package/dist/actions/sharepoint-find-user.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/sharepoint-remove-user.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/undo-checkout-file.d.mts +1 -1
- 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 +10 -6
- package/dist/actions/update-content-type.d.mts +10 -6
- package/dist/actions/update-content-type.mjs +6 -6
- package/dist/actions/update-content-type.mjs.map +1 -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 +3 -3
- package/dist/actions/update-file-item.d.mts +3 -3
- 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 +3 -3
- package/dist/actions/update-list-item.d.mts +3 -3
- 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 +1 -1
- package/dist/actions/update-list.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/update-site.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/upload-file.d.mts +1 -1
- 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 +3 -3
- package/dist/actions/upload-from-url.d.mts +3 -3
- 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 +1 -1
- package/dist/actions/validate-credential.d.mts +1 -1
- package/dist/actions/validate-credential.mjs +1 -1
- package/dist/actions/validate-credential.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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-items.cjs","names":["z","action"],"sources":["../../src/actions/get-list-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetListItemsInput = z.object({\n top: z.number().int().describe(\"Maximum number of items to return.\").optional(),\n expand: z.string().describe(\"Comma-separated list of navigation properties to expand for lookup fields.\").optional(),\n filter: z.string().describe(\"OData filter expression to limit results (e.g., Title eq 'Test').\").optional(),\n select: z.string().describe(\"Comma-separated list of internal field names to return. Use '*' to retrieve all available fields, which is recommended when you don't know the exact field names. SharePoint uses internal field names, not display names - spaces are hex-encoded as '_x0020_' (e.g., 'File_x0020_Size' for 'File Size'). Common system fields: Id, Title, Created, Modified, AuthorId, EditorId, GUID, FileLeafRef (file name), FileDirRef (folder path), FileRef (server-relative URL). Field availability varies by list type: document libraries include file-specific fields like File_x0020_Size, while custom lists have their own schema. To discover available fields for a specific list, either: (1) use select='*' first to see all fields returned in items, or (2) use SHARE_POINT_GET_LIST_BY_TITLE with expand='Fields' to get field metadata including InternalName.\").optional(),\n orderby: z.string().describe(\"OData orderby expression to sort results (e.g., Created desc).\").optional(),\n site_name: z.string().describe(\"Optional SharePoint site name to scope the list retrieval. If provided, the list is fetched from /sites/{site}. If not provided, the list is fetched from the tenant root site. E.g., 'testcomposio' for a site at /sites/testcomposio.\").optional(),\n skiptoken: z.string().describe(\"Token for paging through results.\").optional(),\n list_title: z.string().describe(\"Exact Title property value of the SharePoint list to query. The Title property value varies by site configuration and localization - for example, the default document library's Title may be 'Documents', 'Shared Documents', or a localized name. To find the exact Title property value, use SHARE_POINT_LIST_ALL_LISTS which returns all lists with their Title properties.\"),\n}).describe(\"Request parameters for retrieving items from a SharePoint list.\");\nconst SharePointGetListItems_DeferredPropertySchema = z.object({\n __deferred: z.object({}).describe(\"Deferred property with URI.\"),\n}).describe(\"Represents a deferred navigation property.\");\nconst SharePointGetListItems_ListItemMetadataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the list item resource.\").nullable(),\n uri: z.string().describe(\"URI to access the list item.\").nullable(),\n etag: z.string().describe(\"ETag value for versioning.\").nullable(),\n type: z.string().describe(\"Entity type name (e.g., 'SP.Data.TestListItem').\").nullable(),\n}).describe(\"Metadata object for a SharePoint list item.\");\nconst SharePointGetListItems_SharePointListItemSchema = z.object({\n Id: z.number().int().describe(\"Unique integer ID of the list item. Returned by default or when selected.\").nullable().optional(),\n File: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n GUID: z.string().describe(\"GUID of the list item.\").nullable().optional(),\n Title: z.string().describe(\"Title of the list item.\").nullable().optional(),\n Folder: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n Created: z.string().describe(\"Creation timestamp (ISO 8601 format).\").nullable().optional(),\n AuthorId: z.number().int().describe(\"ID of the item author.\").nullable().optional(),\n EditorId: z.number().int().describe(\"ID of the last editor.\").nullable().optional(),\n Modified: z.string().describe(\"Last modified timestamp (ISO 8601 format).\").nullable().optional(),\n ParentList: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n __metadata: SharePointGetListItems_ListItemMetadataSchema.nullable(),\n Attachments: z.boolean().describe(\"Whether the item has attachments.\").nullable().optional(),\n ContentType: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n ContentTypeId: z.string().describe(\"Content type ID.\").nullable().optional(),\n AttachmentFiles: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n RoleAssignments: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n FieldValuesAsHtml: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n FieldValuesAsText: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n FieldValuesForEdit: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n FileSystemObjectType: z.number().int().describe(\"Type of object: 0 for file, 1 for folder, 2 for web. Only returned when selected.\").nullable().optional(),\n OData__UIVersionString: z.string().describe(\"UI version string.\").nullable().optional(),\n FirstUniqueAncestorSecurableObject: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Represents a SharePoint list item with standard system fields.\\n\\nAdditional custom fields defined in the list schema will be present but are not\\ntyped here as they vary by list configuration.\");\nexport const SharePointGetListItemsOutput = z.object({\n items: z.array(SharePointGetListItems_SharePointListItemSchema).describe(\"Array of list item objects returned from the SharePoint list.\"),\n}).describe(\"Response model for list items retrieved from a SharePoint list.\");\n\nexport const sharePointGetListItems = action(\"SHARE_POINT_GET_LIST_ITEMS\", {\n slug: \"share_point-get-list-items\",\n name: \"Get SharePoint List Items\",\n description: \"Tool to retrieve items from a SharePoint list. Use when you need to fetch list entries with optional OData parameters.\",\n input: SharePointGetListItemsInput,\n output: SharePointGetListItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,w0BAAw0B,CAAC,CAAC,SAAS;CAC/2B,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;CACnR,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iXAAiX;AACnZ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,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;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-list-items.cjs","names":["z","action"],"sources":["../../src/actions/get-list-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetListItemsInput = z.object({\n top: z.number().int().describe(\"Maximum number of items to return.\").optional(),\n expand: z.string().describe(\"Comma-separated list of navigation properties to expand for lookup fields.\").optional(),\n filter: z.string().describe(\"OData filter expression to limit results (e.g., Title eq 'Test').\").optional(),\n select: z.string().describe(\"Comma-separated list of internal field names to return. Use '*' to retrieve all available fields, which is recommended when you don't know the exact field names. SharePoint uses internal field names, not display names - spaces are hex-encoded as '_x0020_' (e.g., 'File_x0020_Size' for 'File Size'). Common system fields: Id, Title, Created, Modified, AuthorId, EditorId, GUID, FileLeafRef (file name), FileDirRef (folder path), FileRef (server-relative URL). Field availability varies by list type: document libraries include file-specific fields like File_x0020_Size, while custom lists have their own schema. To discover available fields for a specific list, either: (1) use select='*' first to see all fields returned in items, or (2) use SHARE_POINT_GET_LIST_BY_TITLE with expand='Fields' to get field metadata including InternalName.\").optional(),\n orderby: z.string().describe(\"OData orderby expression to sort results (e.g., Created desc).\").optional(),\n site_name: z.string().describe(\"Optional SharePoint site name to scope the list retrieval. If provided, the list is fetched from /sites/{site}. If not provided, the list is fetched from the tenant root site. E.g., 'testcomposio' for a site at /sites/testcomposio.\").optional(),\n skiptoken: z.string().describe(\"Token for paging through results.\").optional(),\n list_title: z.string().describe(\"Exact Title property value of the SharePoint list to query. The Title property value varies by site configuration and localization - for example, the default document library's Title may be 'Documents', 'Shared Documents', or a localized name. To find the exact Title property value, use SHARE_POINT_LIST_ALL_LISTS which returns all lists with their Title properties.\"),\n}).describe(\"Request parameters for retrieving items from a SharePoint list.\");\nconst SharePointGetListItems_DeferredPropertySchema = z.object({\n __deferred: z.record(z.string(), z.unknown()).describe(\"Deferred property with URI.\"),\n}).passthrough().describe(\"Represents a deferred navigation property.\");\nconst SharePointGetListItems_ListItemMetadataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the list item resource.\").nullable(),\n uri: z.string().describe(\"URI to access the list item.\").nullable(),\n etag: z.string().describe(\"ETag value for versioning.\").nullable(),\n type: z.string().describe(\"Entity type name (e.g., 'SP.Data.TestListItem').\").nullable(),\n}).passthrough().describe(\"Metadata object for a SharePoint list item.\");\nconst SharePointGetListItems_SharePointListItemSchema = z.object({\n Id: z.number().int().describe(\"Unique integer ID of the list item. Returned by default or when selected.\").nullable().optional(),\n File: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n GUID: z.string().describe(\"GUID of the list item.\").nullable().optional(),\n Title: z.string().describe(\"Title of the list item.\").nullable().optional(),\n Folder: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n Created: z.string().describe(\"Creation timestamp (ISO 8601 format).\").nullable().optional(),\n AuthorId: z.number().int().describe(\"ID of the item author.\").nullable().optional(),\n EditorId: z.number().int().describe(\"ID of the last editor.\").nullable().optional(),\n Modified: z.string().describe(\"Last modified timestamp (ISO 8601 format).\").nullable().optional(),\n ParentList: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n __metadata: SharePointGetListItems_ListItemMetadataSchema.nullable(),\n Attachments: z.boolean().describe(\"Whether the item has attachments.\").nullable().optional(),\n ContentType: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n ContentTypeId: z.string().describe(\"Content type ID.\").nullable().optional(),\n AttachmentFiles: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n RoleAssignments: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n FieldValuesAsHtml: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n FieldValuesAsText: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n FieldValuesForEdit: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n FileSystemObjectType: z.number().int().describe(\"Type of object: 0 for file, 1 for folder, 2 for web. Only returned when selected.\").nullable().optional(),\n OData__UIVersionString: z.string().describe(\"UI version string.\").nullable().optional(),\n FirstUniqueAncestorSecurableObject: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Represents a SharePoint list item with standard system fields.\\n\\nAdditional custom fields defined in the list schema will be present but are not\\ntyped here as they vary by list configuration.\");\nexport const SharePointGetListItemsOutput = z.object({\n items: z.array(SharePointGetListItems_SharePointListItemSchema).describe(\"Array of list item objects returned from the SharePoint list.\"),\n}).passthrough().describe(\"Response model for list items retrieved from a SharePoint list.\");\n\nexport const sharePointGetListItems = action(\"SHARE_POINT_GET_LIST_ITEMS\", {\n slug: \"share_point-get-list-items\",\n name: \"Get SharePoint List Items\",\n description: \"Tool to retrieve items from a SharePoint list. Use when you need to fetch list entries with optional OData parameters.\",\n input: SharePointGetListItemsInput,\n output: SharePointGetListItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,w0BAAw0B,CAAC,CAAC,SAAS;CAC/2B,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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AA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mMAAmM;AAC7N,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,+DAA+D,EAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,53 +15,53 @@ declare const SharePointGetListItemsOutput: z.ZodObject<{
|
|
|
15
15
|
items: z.ZodArray<z.ZodObject<{
|
|
16
16
|
Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
17
|
File: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
18
|
-
__deferred: z.
|
|
19
|
-
}, z.core.$
|
|
18
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
19
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
20
20
|
GUID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
Title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
Folder: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
23
|
-
__deferred: z.
|
|
24
|
-
}, z.core.$
|
|
23
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
24
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
25
25
|
Created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
AuthorId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
EditorId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
Modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
ParentList: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
30
|
-
__deferred: z.
|
|
31
|
-
}, z.core.$
|
|
30
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
31
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
32
32
|
__metadata: z.ZodNullable<z.ZodObject<{
|
|
33
33
|
id: z.ZodNullable<z.ZodString>;
|
|
34
34
|
uri: z.ZodNullable<z.ZodString>;
|
|
35
35
|
etag: z.ZodNullable<z.ZodString>;
|
|
36
36
|
type: z.ZodNullable<z.ZodString>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
38
|
Attachments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
39
39
|
ContentType: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
40
|
-
__deferred: z.
|
|
41
|
-
}, z.core.$
|
|
40
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
41
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
42
42
|
ContentTypeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
AttachmentFiles: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
44
|
-
__deferred: z.
|
|
45
|
-
}, z.core.$
|
|
44
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
45
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
46
46
|
RoleAssignments: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
47
|
-
__deferred: z.
|
|
48
|
-
}, z.core.$
|
|
47
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
48
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
49
49
|
FieldValuesAsHtml: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
50
|
-
__deferred: z.
|
|
51
|
-
}, z.core.$
|
|
50
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
51
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
52
52
|
FieldValuesAsText: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
53
|
-
__deferred: z.
|
|
54
|
-
}, z.core.$
|
|
53
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
54
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
55
55
|
FieldValuesForEdit: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
56
|
-
__deferred: z.
|
|
57
|
-
}, z.core.$
|
|
56
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
57
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
58
58
|
FileSystemObjectType: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
59
59
|
OData__UIVersionString: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
60
|
FirstUniqueAncestorSecurableObject: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
61
|
-
__deferred: z.
|
|
62
|
-
}, z.core.$
|
|
61
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
62
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
63
63
|
}, z.core.$loose>>;
|
|
64
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$loose>;
|
|
65
65
|
declare const sharePointGetListItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
66
66
|
list_title: string;
|
|
67
67
|
top?: number | undefined;
|
|
@@ -15,53 +15,53 @@ declare const SharePointGetListItemsOutput: z.ZodObject<{
|
|
|
15
15
|
items: z.ZodArray<z.ZodObject<{
|
|
16
16
|
Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
17
|
File: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
18
|
-
__deferred: z.
|
|
19
|
-
}, z.core.$
|
|
18
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
19
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
20
20
|
GUID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
Title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
Folder: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
23
|
-
__deferred: z.
|
|
24
|
-
}, z.core.$
|
|
23
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
24
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
25
25
|
Created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
AuthorId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
EditorId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
Modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
ParentList: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
30
|
-
__deferred: z.
|
|
31
|
-
}, z.core.$
|
|
30
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
31
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
32
32
|
__metadata: z.ZodNullable<z.ZodObject<{
|
|
33
33
|
id: z.ZodNullable<z.ZodString>;
|
|
34
34
|
uri: z.ZodNullable<z.ZodString>;
|
|
35
35
|
etag: z.ZodNullable<z.ZodString>;
|
|
36
36
|
type: z.ZodNullable<z.ZodString>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
38
|
Attachments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
39
39
|
ContentType: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
40
|
-
__deferred: z.
|
|
41
|
-
}, z.core.$
|
|
40
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
41
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
42
42
|
ContentTypeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
AttachmentFiles: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
44
|
-
__deferred: z.
|
|
45
|
-
}, z.core.$
|
|
44
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
45
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
46
46
|
RoleAssignments: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
47
|
-
__deferred: z.
|
|
48
|
-
}, z.core.$
|
|
47
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
48
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
49
49
|
FieldValuesAsHtml: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
50
|
-
__deferred: z.
|
|
51
|
-
}, z.core.$
|
|
50
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
51
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
52
52
|
FieldValuesAsText: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
53
|
-
__deferred: z.
|
|
54
|
-
}, z.core.$
|
|
53
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
54
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
55
55
|
FieldValuesForEdit: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
56
|
-
__deferred: z.
|
|
57
|
-
}, z.core.$
|
|
56
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
57
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
58
58
|
FileSystemObjectType: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
59
59
|
OData__UIVersionString: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
60
|
FirstUniqueAncestorSecurableObject: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
61
|
-
__deferred: z.
|
|
62
|
-
}, z.core.$
|
|
61
|
+
__deferred: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
62
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
63
63
|
}, z.core.$loose>>;
|
|
64
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$loose>;
|
|
65
65
|
declare const sharePointGetListItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
66
66
|
list_title: string;
|
|
67
67
|
top?: number | undefined;
|
|
@@ -11,13 +11,13 @@ const SharePointGetListItemsInput = z.object({
|
|
|
11
11
|
skiptoken: z.string().describe("Token for paging through results.").optional(),
|
|
12
12
|
list_title: z.string().describe("Exact Title property value of the SharePoint list to query. The Title property value varies by site configuration and localization - for example, the default document library's Title may be 'Documents', 'Shared Documents', or a localized name. To find the exact Title property value, use SHARE_POINT_LIST_ALL_LISTS which returns all lists with their Title properties.")
|
|
13
13
|
}).describe("Request parameters for retrieving items from a SharePoint list.");
|
|
14
|
-
const SharePointGetListItems_DeferredPropertySchema = z.object({ __deferred: z.
|
|
14
|
+
const SharePointGetListItems_DeferredPropertySchema = z.object({ __deferred: z.record(z.string(), z.unknown()).describe("Deferred property with URI.") }).passthrough().describe("Represents a deferred navigation property.");
|
|
15
15
|
const SharePointGetListItems_ListItemMetadataSchema = z.object({
|
|
16
16
|
id: z.string().describe("Unique identifier for the list item resource.").nullable(),
|
|
17
17
|
uri: z.string().describe("URI to access the list item.").nullable(),
|
|
18
18
|
etag: z.string().describe("ETag value for versioning.").nullable(),
|
|
19
19
|
type: z.string().describe("Entity type name (e.g., 'SP.Data.TestListItem').").nullable()
|
|
20
|
-
}).describe("Metadata object for a SharePoint list item.");
|
|
20
|
+
}).passthrough().describe("Metadata object for a SharePoint list item.");
|
|
21
21
|
const SharePointGetListItems_SharePointListItemSchema = z.object({
|
|
22
22
|
Id: z.number().int().describe("Unique integer ID of the list item. Returned by default or when selected.").nullable().optional(),
|
|
23
23
|
File: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),
|
|
@@ -47,7 +47,7 @@ const sharePointGetListItems = action("SHARE_POINT_GET_LIST_ITEMS", {
|
|
|
47
47
|
name: "Get SharePoint List Items",
|
|
48
48
|
description: "Tool to retrieve items from a SharePoint list. Use when you need to fetch list entries with optional OData parameters.",
|
|
49
49
|
input: SharePointGetListItemsInput,
|
|
50
|
-
output: z.object({ items: z.array(SharePointGetListItems_SharePointListItemSchema).describe("Array of list item objects returned from the SharePoint list.") }).describe("Response model for list items retrieved from a SharePoint list.")
|
|
50
|
+
output: z.object({ items: z.array(SharePointGetListItems_SharePointListItemSchema).describe("Array of list item objects returned from the SharePoint list.") }).passthrough().describe("Response model for list items retrieved from a SharePoint list.")
|
|
51
51
|
});
|
|
52
52
|
//#endregion
|
|
53
53
|
export { sharePointGetListItems };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-items.mjs","names":[],"sources":["../../src/actions/get-list-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetListItemsInput = z.object({\n top: z.number().int().describe(\"Maximum number of items to return.\").optional(),\n expand: z.string().describe(\"Comma-separated list of navigation properties to expand for lookup fields.\").optional(),\n filter: z.string().describe(\"OData filter expression to limit results (e.g., Title eq 'Test').\").optional(),\n select: z.string().describe(\"Comma-separated list of internal field names to return. Use '*' to retrieve all available fields, which is recommended when you don't know the exact field names. SharePoint uses internal field names, not display names - spaces are hex-encoded as '_x0020_' (e.g., 'File_x0020_Size' for 'File Size'). Common system fields: Id, Title, Created, Modified, AuthorId, EditorId, GUID, FileLeafRef (file name), FileDirRef (folder path), FileRef (server-relative URL). Field availability varies by list type: document libraries include file-specific fields like File_x0020_Size, while custom lists have their own schema. To discover available fields for a specific list, either: (1) use select='*' first to see all fields returned in items, or (2) use SHARE_POINT_GET_LIST_BY_TITLE with expand='Fields' to get field metadata including InternalName.\").optional(),\n orderby: z.string().describe(\"OData orderby expression to sort results (e.g., Created desc).\").optional(),\n site_name: z.string().describe(\"Optional SharePoint site name to scope the list retrieval. If provided, the list is fetched from /sites/{site}. If not provided, the list is fetched from the tenant root site. E.g., 'testcomposio' for a site at /sites/testcomposio.\").optional(),\n skiptoken: z.string().describe(\"Token for paging through results.\").optional(),\n list_title: z.string().describe(\"Exact Title property value of the SharePoint list to query. The Title property value varies by site configuration and localization - for example, the default document library's Title may be 'Documents', 'Shared Documents', or a localized name. To find the exact Title property value, use SHARE_POINT_LIST_ALL_LISTS which returns all lists with their Title properties.\"),\n}).describe(\"Request parameters for retrieving items from a SharePoint list.\");\nconst SharePointGetListItems_DeferredPropertySchema = z.object({\n __deferred: z.
|
|
1
|
+
{"version":3,"file":"get-list-items.mjs","names":[],"sources":["../../src/actions/get-list-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetListItemsInput = z.object({\n top: z.number().int().describe(\"Maximum number of items to return.\").optional(),\n expand: z.string().describe(\"Comma-separated list of navigation properties to expand for lookup fields.\").optional(),\n filter: z.string().describe(\"OData filter expression to limit results (e.g., Title eq 'Test').\").optional(),\n select: z.string().describe(\"Comma-separated list of internal field names to return. Use '*' to retrieve all available fields, which is recommended when you don't know the exact field names. SharePoint uses internal field names, not display names - spaces are hex-encoded as '_x0020_' (e.g., 'File_x0020_Size' for 'File Size'). Common system fields: Id, Title, Created, Modified, AuthorId, EditorId, GUID, FileLeafRef (file name), FileDirRef (folder path), FileRef (server-relative URL). Field availability varies by list type: document libraries include file-specific fields like File_x0020_Size, while custom lists have their own schema. To discover available fields for a specific list, either: (1) use select='*' first to see all fields returned in items, or (2) use SHARE_POINT_GET_LIST_BY_TITLE with expand='Fields' to get field metadata including InternalName.\").optional(),\n orderby: z.string().describe(\"OData orderby expression to sort results (e.g., Created desc).\").optional(),\n site_name: z.string().describe(\"Optional SharePoint site name to scope the list retrieval. If provided, the list is fetched from /sites/{site}. If not provided, the list is fetched from the tenant root site. E.g., 'testcomposio' for a site at /sites/testcomposio.\").optional(),\n skiptoken: z.string().describe(\"Token for paging through results.\").optional(),\n list_title: z.string().describe(\"Exact Title property value of the SharePoint list to query. The Title property value varies by site configuration and localization - for example, the default document library's Title may be 'Documents', 'Shared Documents', or a localized name. To find the exact Title property value, use SHARE_POINT_LIST_ALL_LISTS which returns all lists with their Title properties.\"),\n}).describe(\"Request parameters for retrieving items from a SharePoint list.\");\nconst SharePointGetListItems_DeferredPropertySchema = z.object({\n __deferred: z.record(z.string(), z.unknown()).describe(\"Deferred property with URI.\"),\n}).passthrough().describe(\"Represents a deferred navigation property.\");\nconst SharePointGetListItems_ListItemMetadataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the list item resource.\").nullable(),\n uri: z.string().describe(\"URI to access the list item.\").nullable(),\n etag: z.string().describe(\"ETag value for versioning.\").nullable(),\n type: z.string().describe(\"Entity type name (e.g., 'SP.Data.TestListItem').\").nullable(),\n}).passthrough().describe(\"Metadata object for a SharePoint list item.\");\nconst SharePointGetListItems_SharePointListItemSchema = z.object({\n Id: z.number().int().describe(\"Unique integer ID of the list item. Returned by default or when selected.\").nullable().optional(),\n File: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n GUID: z.string().describe(\"GUID of the list item.\").nullable().optional(),\n Title: z.string().describe(\"Title of the list item.\").nullable().optional(),\n Folder: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n Created: z.string().describe(\"Creation timestamp (ISO 8601 format).\").nullable().optional(),\n AuthorId: z.number().int().describe(\"ID of the item author.\").nullable().optional(),\n EditorId: z.number().int().describe(\"ID of the last editor.\").nullable().optional(),\n Modified: z.string().describe(\"Last modified timestamp (ISO 8601 format).\").nullable().optional(),\n ParentList: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n __metadata: SharePointGetListItems_ListItemMetadataSchema.nullable(),\n Attachments: z.boolean().describe(\"Whether the item has attachments.\").nullable().optional(),\n ContentType: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n ContentTypeId: z.string().describe(\"Content type ID.\").nullable().optional(),\n AttachmentFiles: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n RoleAssignments: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n FieldValuesAsHtml: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n FieldValuesAsText: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n FieldValuesForEdit: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n FileSystemObjectType: z.number().int().describe(\"Type of object: 0 for file, 1 for folder, 2 for web. Only returned when selected.\").nullable().optional(),\n OData__UIVersionString: z.string().describe(\"UI version string.\").nullable().optional(),\n FirstUniqueAncestorSecurableObject: z.union([SharePointGetListItems_DeferredPropertySchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Represents a SharePoint list item with standard system fields.\\n\\nAdditional custom fields defined in the list schema will be present but are not\\ntyped here as they vary by list configuration.\");\nexport const SharePointGetListItemsOutput = z.object({\n items: z.array(SharePointGetListItems_SharePointListItemSchema).describe(\"Array of list item objects returned from the SharePoint list.\"),\n}).passthrough().describe(\"Response model for list items retrieved from a SharePoint list.\");\n\nexport const sharePointGetListItems = action(\"SHARE_POINT_GET_LIST_ITEMS\", {\n slug: \"share_point-get-list-items\",\n name: \"Get SharePoint List Items\",\n description: \"Tool to retrieve items from a SharePoint list. Use when you need to fetch list entries with optional OData parameters.\",\n input: SharePointGetListItemsInput,\n output: SharePointGetListItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,w0BAAw0B,CAAC,CAAC,SAAS;CAC/2B,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;CACnR,WAAW,EAAE,O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AAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,mBAAmB,EAAE,MAAM,CAAC,+CAA+C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,oBAAoB,EAAE,MAAM,CAAC,+CAA+C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,oCAAoC,EAAE,MAAM,CAAC,+CAA+C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mMAAmM;AAK7N,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,OAAO,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,+DAA+D,EAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
|
|
@@ -23,8 +23,8 @@ const SharePointGetMyFollowed_SocialActorSchema = zod.z.object({
|
|
|
23
23
|
EmailAddress: zod.z.string().describe("Email address (users).").nullable().optional(),
|
|
24
24
|
PersonalSiteUri: zod.z.string().describe("Personal site URI (users).").nullable().optional(),
|
|
25
25
|
FollowedContentUri: zod.z.string().describe("URI of followed content (users).").nullable().optional()
|
|
26
|
-
});
|
|
27
|
-
const SharePointGetMyFollowedOutput = zod.z.object({ results: zod.z.array(SharePointGetMyFollowed_SocialActorSchema).describe("List of social actors the current user is following.") }).describe("Response model containing the list of followed actors for the current user.");
|
|
26
|
+
}).passthrough();
|
|
27
|
+
const SharePointGetMyFollowedOutput = zod.z.object({ results: zod.z.array(SharePointGetMyFollowed_SocialActorSchema).describe("List of social actors the current user is following.") }).passthrough().describe("Response model containing the list of followed actors for the current user.");
|
|
28
28
|
const sharePointGetMyFollowed = require_action.action("SHARE_POINT_GET_MY_FOLLOWED", {
|
|
29
29
|
slug: "share_point-get-my-followed",
|
|
30
30
|
name: "Get Followed Entities",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-my-followed.cjs","names":["z","action"],"sources":["../../src/actions/get-my-followed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetMyFollowedInput = z.object({\n types: z.number().int().describe(\"Bitmask of actor types to include. Users=1, Documents=2, Sites=4, Tags=8. Combine values with bitwise OR (e.g., 15 for all).\"),\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 parameters for retrieving the entities the current user is following.\");\nconst SharePointGetMyFollowed_SocialActorSchema = z.object({\n Id: z.string().describe(\"Actor's unique identifier.\").nullable(),\n Uri: z.string().describe(\"Canonical URI for the actor.\").nullable().optional(),\n Name: z.string().describe(\"Display name of the actor.\").nullable().optional(),\n Title: z.string().describe(\"Title of the actor (users).\").nullable().optional(),\n Status: z.number().int().describe(\"Status code if retrieval error occurred.\").nullable().optional(),\n TagGuid: z.string().describe(\"Tag GUID (tags).\").nullable().optional(),\n ImageUri: z.string().describe(\"Image URI (users, documents, sites).\").nullable().optional(),\n ActorType: z.number().int().describe(\"Type of actor: 0=User, 1=Document, 2=Site, 3=Tag.\").nullable(),\n CanFollow: z.boolean().describe(\"Whether the actor can be followed.\").nullable(),\n ContentUri: z.string().describe(\"Content URI (documents, sites).\").nullable().optional(),\n IsFollowed: z.boolean().describe(\"Whether the current user is following this actor.\").nullable(),\n LibraryUri: z.string().describe(\"Library URI (documents).\").nullable().optional(),\n StatusText: z.string().describe(\"Most recent post text (users).\").nullable().optional(),\n AccountName: z.string().describe(\"Actor's account name (users).\").nullable().optional(),\n EmailAddress: z.string().describe(\"Email address (users).\").nullable().optional(),\n PersonalSiteUri: z.string().describe(\"Personal site URI (users).\").nullable().optional(),\n FollowedContentUri: z.string().describe(\"URI of followed content (users).\").nullable().optional(),\n});\nexport const SharePointGetMyFollowedOutput = z.object({\n results: z.array(SharePointGetMyFollowed_SocialActorSchema).describe(\"List of social actors the current user is following.\"),\n}).describe(\"Response model containing the list of followed actors for the current user.\");\n\nexport const sharePointGetMyFollowed = action(\"SHARE_POINT_GET_MY_FOLLOWED\", {\n slug: \"share_point-get-my-followed\",\n name: \"Get Followed Entities\",\n description: \"Tool to get entities the current user is following. Use when you need to retrieve followed users, documents, sites, or tags after authentication.\",\n input: SharePointGetMyFollowedInput,\n output: SharePointGetMyFollowedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8HAA8H;CAC/J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;AACxO,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,S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4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC;
|
|
1
|
+
{"version":3,"file":"get-my-followed.cjs","names":["z","action"],"sources":["../../src/actions/get-my-followed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetMyFollowedInput = z.object({\n types: z.number().int().describe(\"Bitmask of actor types to include. Users=1, Documents=2, Sites=4, Tags=8. Combine values with bitwise OR (e.g., 15 for all).\"),\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 parameters for retrieving the entities the current user is following.\");\nconst SharePointGetMyFollowed_SocialActorSchema = z.object({\n Id: z.string().describe(\"Actor's unique identifier.\").nullable(),\n Uri: z.string().describe(\"Canonical URI for the actor.\").nullable().optional(),\n Name: z.string().describe(\"Display name of the actor.\").nullable().optional(),\n Title: z.string().describe(\"Title of the actor (users).\").nullable().optional(),\n Status: z.number().int().describe(\"Status code if retrieval error occurred.\").nullable().optional(),\n TagGuid: z.string().describe(\"Tag GUID (tags).\").nullable().optional(),\n ImageUri: z.string().describe(\"Image URI (users, documents, sites).\").nullable().optional(),\n ActorType: z.number().int().describe(\"Type of actor: 0=User, 1=Document, 2=Site, 3=Tag.\").nullable(),\n CanFollow: z.boolean().describe(\"Whether the actor can be followed.\").nullable(),\n ContentUri: z.string().describe(\"Content URI (documents, sites).\").nullable().optional(),\n IsFollowed: z.boolean().describe(\"Whether the current user is following this actor.\").nullable(),\n LibraryUri: z.string().describe(\"Library URI (documents).\").nullable().optional(),\n StatusText: z.string().describe(\"Most recent post text (users).\").nullable().optional(),\n AccountName: z.string().describe(\"Actor's account name (users).\").nullable().optional(),\n EmailAddress: z.string().describe(\"Email address (users).\").nullable().optional(),\n PersonalSiteUri: z.string().describe(\"Personal site URI (users).\").nullable().optional(),\n FollowedContentUri: z.string().describe(\"URI of followed content (users).\").nullable().optional(),\n}).passthrough();\nexport const SharePointGetMyFollowedOutput = z.object({\n results: z.array(SharePointGetMyFollowed_SocialActorSchema).describe(\"List of social actors the current user is following.\"),\n}).passthrough().describe(\"Response model containing the list of followed actors for the current user.\");\n\nexport const sharePointGetMyFollowed = action(\"SHARE_POINT_GET_MY_FOLLOWED\", {\n slug: \"share_point-get-my-followed\",\n name: \"Get Followed Entities\",\n description: \"Tool to get entities the current user is following. Use when you need to retrieve followed users, documents, sites, or tags after authentication.\",\n input: SharePointGetMyFollowedInput,\n output: SharePointGetMyFollowedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8HAA8H;CAC/J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;AACxO,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;C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C,SAAS,sDAAsD,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6EAA6E;AAEvG,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -24,8 +24,8 @@ declare const SharePointGetMyFollowedOutput: z.ZodObject<{
|
|
|
24
24
|
EmailAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
PersonalSiteUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
FollowedContentUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
28
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const sharePointGetMyFollowed: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
types: number;
|
|
31
31
|
site_name?: string | undefined;
|
|
@@ -24,8 +24,8 @@ declare const SharePointGetMyFollowedOutput: z.ZodObject<{
|
|
|
24
24
|
EmailAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
PersonalSiteUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
FollowedContentUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
28
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const sharePointGetMyFollowed: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
types: number;
|
|
31
31
|
site_name?: string | undefined;
|
|
@@ -23,13 +23,13 @@ const SharePointGetMyFollowed_SocialActorSchema = z.object({
|
|
|
23
23
|
EmailAddress: z.string().describe("Email address (users).").nullable().optional(),
|
|
24
24
|
PersonalSiteUri: z.string().describe("Personal site URI (users).").nullable().optional(),
|
|
25
25
|
FollowedContentUri: z.string().describe("URI of followed content (users).").nullable().optional()
|
|
26
|
-
});
|
|
26
|
+
}).passthrough();
|
|
27
27
|
const sharePointGetMyFollowed = action("SHARE_POINT_GET_MY_FOLLOWED", {
|
|
28
28
|
slug: "share_point-get-my-followed",
|
|
29
29
|
name: "Get Followed Entities",
|
|
30
30
|
description: "Tool to get entities the current user is following. Use when you need to retrieve followed users, documents, sites, or tags after authentication.",
|
|
31
31
|
input: SharePointGetMyFollowedInput,
|
|
32
|
-
output: z.object({ results: z.array(SharePointGetMyFollowed_SocialActorSchema).describe("List of social actors the current user is following.") }).describe("Response model containing the list of followed actors for the current user.")
|
|
32
|
+
output: z.object({ results: z.array(SharePointGetMyFollowed_SocialActorSchema).describe("List of social actors the current user is following.") }).passthrough().describe("Response model containing the list of followed actors for the current user.")
|
|
33
33
|
});
|
|
34
34
|
//#endregion
|
|
35
35
|
export { sharePointGetMyFollowed };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-my-followed.mjs","names":[],"sources":["../../src/actions/get-my-followed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetMyFollowedInput = z.object({\n types: z.number().int().describe(\"Bitmask of actor types to include. Users=1, Documents=2, Sites=4, Tags=8. Combine values with bitwise OR (e.g., 15 for all).\"),\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 parameters for retrieving the entities the current user is following.\");\nconst SharePointGetMyFollowed_SocialActorSchema = z.object({\n Id: z.string().describe(\"Actor's unique identifier.\").nullable(),\n Uri: z.string().describe(\"Canonical URI for the actor.\").nullable().optional(),\n Name: z.string().describe(\"Display name of the actor.\").nullable().optional(),\n Title: z.string().describe(\"Title of the actor (users).\").nullable().optional(),\n Status: z.number().int().describe(\"Status code if retrieval error occurred.\").nullable().optional(),\n TagGuid: z.string().describe(\"Tag GUID (tags).\").nullable().optional(),\n ImageUri: z.string().describe(\"Image URI (users, documents, sites).\").nullable().optional(),\n ActorType: z.number().int().describe(\"Type of actor: 0=User, 1=Document, 2=Site, 3=Tag.\").nullable(),\n CanFollow: z.boolean().describe(\"Whether the actor can be followed.\").nullable(),\n ContentUri: z.string().describe(\"Content URI (documents, sites).\").nullable().optional(),\n IsFollowed: z.boolean().describe(\"Whether the current user is following this actor.\").nullable(),\n LibraryUri: z.string().describe(\"Library URI (documents).\").nullable().optional(),\n StatusText: z.string().describe(\"Most recent post text (users).\").nullable().optional(),\n AccountName: z.string().describe(\"Actor's account name (users).\").nullable().optional(),\n EmailAddress: z.string().describe(\"Email address (users).\").nullable().optional(),\n PersonalSiteUri: z.string().describe(\"Personal site URI (users).\").nullable().optional(),\n FollowedContentUri: z.string().describe(\"URI of followed content (users).\").nullable().optional(),\n});\nexport const SharePointGetMyFollowedOutput = z.object({\n results: z.array(SharePointGetMyFollowed_SocialActorSchema).describe(\"List of social actors the current user is following.\"),\n}).describe(\"Response model containing the list of followed actors for the current user.\");\n\nexport const sharePointGetMyFollowed = action(\"SHARE_POINT_GET_MY_FOLLOWED\", {\n slug: \"share_point-get-my-followed\",\n name: \"Get Followed Entities\",\n description: \"Tool to get entities the current user is following. Use when you need to retrieve followed users, documents, sites, or tags after authentication.\",\n input: SharePointGetMyFollowedInput,\n output: SharePointGetMyFollowedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8HAA8H;CAC/J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;AACxO,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,KAAK,EAAE,OAAO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4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC;
|
|
1
|
+
{"version":3,"file":"get-my-followed.mjs","names":[],"sources":["../../src/actions/get-my-followed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetMyFollowedInput = z.object({\n types: z.number().int().describe(\"Bitmask of actor types to include. Users=1, Documents=2, Sites=4, Tags=8. Combine values with bitwise OR (e.g., 15 for all).\"),\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 parameters for retrieving the entities the current user is following.\");\nconst SharePointGetMyFollowed_SocialActorSchema = z.object({\n Id: z.string().describe(\"Actor's unique identifier.\").nullable(),\n Uri: z.string().describe(\"Canonical URI for the actor.\").nullable().optional(),\n Name: z.string().describe(\"Display name of the actor.\").nullable().optional(),\n Title: z.string().describe(\"Title of the actor (users).\").nullable().optional(),\n Status: z.number().int().describe(\"Status code if retrieval error occurred.\").nullable().optional(),\n TagGuid: z.string().describe(\"Tag GUID (tags).\").nullable().optional(),\n ImageUri: z.string().describe(\"Image URI (users, documents, sites).\").nullable().optional(),\n ActorType: z.number().int().describe(\"Type of actor: 0=User, 1=Document, 2=Site, 3=Tag.\").nullable(),\n CanFollow: z.boolean().describe(\"Whether the actor can be followed.\").nullable(),\n ContentUri: z.string().describe(\"Content URI (documents, sites).\").nullable().optional(),\n IsFollowed: z.boolean().describe(\"Whether the current user is following this actor.\").nullable(),\n LibraryUri: z.string().describe(\"Library URI (documents).\").nullable().optional(),\n StatusText: z.string().describe(\"Most recent post text (users).\").nullable().optional(),\n AccountName: z.string().describe(\"Actor's account name (users).\").nullable().optional(),\n EmailAddress: z.string().describe(\"Email address (users).\").nullable().optional(),\n PersonalSiteUri: z.string().describe(\"Personal site URI (users).\").nullable().optional(),\n FollowedContentUri: z.string().describe(\"URI of followed content (users).\").nullable().optional(),\n}).passthrough();\nexport const SharePointGetMyFollowedOutput = z.object({\n results: z.array(SharePointGetMyFollowed_SocialActorSchema).describe(\"List of social actors the current user is following.\"),\n}).passthrough().describe(\"Response model containing the list of followed actors for the current user.\");\n\nexport const sharePointGetMyFollowed = action(\"SHARE_POINT_GET_MY_FOLLOWED\", {\n slug: \"share_point-get-my-followed\",\n name: \"Get Followed Entities\",\n description: \"Tool to get entities the current user is following. Use when you need to retrieve followed users, documents, sites, or tags after authentication.\",\n input: SharePointGetMyFollowedInput,\n output: SharePointGetMyFollowedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8HAA8H;CAC/J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;AACxO,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,U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Schema = zod.z.object({
|
|
|
21
21
|
EmailAddress: zod.z.string().describe("Email address (for user actors).").nullable().optional(),
|
|
22
22
|
PersonalSiteUri: zod.z.string().describe("URI to the personal site (for user actors).").nullable().optional(),
|
|
23
23
|
FollowedContentUri: zod.z.string().describe("URI of the actor's list of followed content (for users).").nullable().optional()
|
|
24
|
-
}).describe("Representation of a SharePoint SocialActor (user/document/site/tag).");
|
|
25
|
-
const SharePointGetMyFollowersOutput = zod.z.object({ followers: zod.z.array(SharePointGetMyFollowers_SocialActorSchema).describe("Array of SocialActor objects representing users who follow the current user.") }).describe("Response containing the list of users following the authenticated user.");
|
|
24
|
+
}).passthrough().describe("Representation of a SharePoint SocialActor (user/document/site/tag).");
|
|
25
|
+
const SharePointGetMyFollowersOutput = zod.z.object({ followers: zod.z.array(SharePointGetMyFollowers_SocialActorSchema).describe("Array of SocialActor objects representing users who follow the current user.") }).passthrough().describe("Response containing the list of users following the authenticated user.");
|
|
26
26
|
const sharePointGetMyFollowers = require_action.action("SHARE_POINT_GET_MY_FOLLOWERS", {
|
|
27
27
|
slug: "share_point-get-my-followers",
|
|
28
28
|
name: "Get My Followers",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-my-followers.cjs","names":["z","action"],"sources":["../../src/actions/get-my-followers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetMyFollowersInput = z.object({\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 current user's followers.\");\nconst SharePointGetMyFollowers_SocialActorSchema = z.object({\n Id: z.string().describe(\"Unique identifier for the actor.\").nullable().optional(),\n Uri: z.string().describe(\"Canonical URI for the actor's profile.\").nullable().optional(),\n Name: z.string().describe(\"Display name of the actor.\").nullable().optional(),\n Title: z.string().describe(\"Job title or role (for user actors).\").nullable().optional(),\n Status: z.number().int().describe(\"Status code indicating retrieval state (0=OK, 9=PartialData).\").nullable().optional(),\n GroupId: z.string().describe(\"SharePoint group identifier.\").nullable().optional(),\n TagGuid: z.string().describe(\"GUID identifier (for tag actors).\").nullable().optional(),\n ImageUri: z.string().describe(\"URI to profile image (for users, documents, and sites).\").nullable().optional(),\n ActorType: z.number().int().describe(\"Type of actor: 0=User, 1=Document, 2=Site, 3=Tag.\").nullable().optional(),\n CanFollow: z.boolean().describe(\"Whether the current user can follow this actor.\").nullable().optional(),\n ContentUri: z.string().describe(\"URI to the content (for documents and sites).\").nullable().optional(),\n IsFollowed: z.boolean().describe(\"Whether the current user is following this actor back.\").nullable().optional(),\n LibraryUri: z.string().describe(\"URI to the document library (for documents).\").nullable().optional(),\n StatusText: z.string().describe(\"Text of the most recent post (for user actors).\").nullable().optional(),\n AccountName: z.string().describe(\"Account name in claims format (e.g., 'i:0#.f|membership|user@domain.com').\").nullable().optional(),\n EmailAddress: z.string().describe(\"Email address (for user actors).\").nullable().optional(),\n PersonalSiteUri: z.string().describe(\"URI to the personal site (for user actors).\").nullable().optional(),\n FollowedContentUri: z.string().describe(\"URI of the actor's list of followed content (for users).\").nullable().optional(),\n}).describe(\"Representation of a SharePoint SocialActor (user/document/site/tag).\");\nexport const SharePointGetMyFollowersOutput = z.object({\n followers: z.array(SharePointGetMyFollowers_SocialActorSchema).describe(\"Array of SocialActor objects representing users who follow the current user.\"),\n}).describe(\"Response containing the list of users following the authenticated user.\");\n\nexport const sharePointGetMyFollowers = action(\"SHARE_POINT_GET_MY_FOLLOWERS\", {\n slug: \"share_point-get-my-followers\",\n name: \"Get My Followers\",\n description: \"Retrieves the list of users who are following the authenticated user in SharePoint. Returns an array of SocialActor objects containing follower details like name, email, account name, and personal site URI. No parameters required - automatically retrieves followers for the current authenticated user.\",\n input: SharePointGetMyFollowersInput,\n output: SharePointGetMyFollowersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,E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AC,SAAS;CACrG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,sEAAsE;
|
|
1
|
+
{"version":3,"file":"get-my-followers.cjs","names":["z","action"],"sources":["../../src/actions/get-my-followers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetMyFollowersInput = z.object({\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 current user's followers.\");\nconst SharePointGetMyFollowers_SocialActorSchema = z.object({\n Id: z.string().describe(\"Unique identifier for the actor.\").nullable().optional(),\n Uri: z.string().describe(\"Canonical URI for the actor's profile.\").nullable().optional(),\n Name: z.string().describe(\"Display name of the actor.\").nullable().optional(),\n Title: z.string().describe(\"Job title or role (for user actors).\").nullable().optional(),\n Status: z.number().int().describe(\"Status code indicating retrieval state (0=OK, 9=PartialData).\").nullable().optional(),\n GroupId: z.string().describe(\"SharePoint group identifier.\").nullable().optional(),\n TagGuid: z.string().describe(\"GUID identifier (for tag actors).\").nullable().optional(),\n ImageUri: z.string().describe(\"URI to profile image (for users, documents, and sites).\").nullable().optional(),\n ActorType: z.number().int().describe(\"Type of actor: 0=User, 1=Document, 2=Site, 3=Tag.\").nullable().optional(),\n CanFollow: z.boolean().describe(\"Whether the current user can follow this actor.\").nullable().optional(),\n ContentUri: z.string().describe(\"URI to the content (for documents and sites).\").nullable().optional(),\n IsFollowed: z.boolean().describe(\"Whether the current user is following this actor back.\").nullable().optional(),\n LibraryUri: z.string().describe(\"URI to the document library (for documents).\").nullable().optional(),\n StatusText: z.string().describe(\"Text of the most recent post (for user actors).\").nullable().optional(),\n AccountName: z.string().describe(\"Account name in claims format (e.g., 'i:0#.f|membership|user@domain.com').\").nullable().optional(),\n EmailAddress: z.string().describe(\"Email address (for user actors).\").nullable().optional(),\n PersonalSiteUri: z.string().describe(\"URI to the personal site (for user actors).\").nullable().optional(),\n FollowedContentUri: z.string().describe(\"URI of the actor's list of followed content (for users).\").nullable().optional(),\n}).passthrough().describe(\"Representation of a SharePoint SocialActor (user/document/site/tag).\");\nexport const SharePointGetMyFollowersOutput = z.object({\n followers: z.array(SharePointGetMyFollowers_SocialActorSchema).describe(\"Array of SocialActor objects representing users who follow the current user.\"),\n}).passthrough().describe(\"Response containing the list of users following the authenticated user.\");\n\nexport const sharePointGetMyFollowers = action(\"SHARE_POINT_GET_MY_FOLLOWERS\", {\n slug: \"share_point-get-my-followers\",\n name: \"Get My Followers\",\n description: \"Retrieves the list of users who are following the authenticated user in SharePoint. Returns an array of SocialActor objects containing follower details like name, email, account name, and personal site URI. No parameters required - automatically retrieves followers for the current authenticated user.\",\n input: SharePointGetMyFollowersInput,\n output: SharePointGetMyFollowersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO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CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAChG,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,WAAWA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8EAA8E,EACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAEnG,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -24,8 +24,8 @@ declare const SharePointGetMyFollowersOutput: z.ZodObject<{
|
|
|
24
24
|
EmailAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
PersonalSiteUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
FollowedContentUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
28
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const sharePointGetMyFollowers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
site_name?: string | undefined;
|
|
31
31
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -24,8 +24,8 @@ declare const SharePointGetMyFollowersOutput: z.ZodObject<{
|
|
|
24
24
|
EmailAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
PersonalSiteUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
FollowedContentUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
28
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const sharePointGetMyFollowers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
site_name?: string | undefined;
|
|
31
31
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -21,13 +21,13 @@ const SharePointGetMyFollowers_SocialActorSchema = z.object({
|
|
|
21
21
|
EmailAddress: z.string().describe("Email address (for user actors).").nullable().optional(),
|
|
22
22
|
PersonalSiteUri: z.string().describe("URI to the personal site (for user actors).").nullable().optional(),
|
|
23
23
|
FollowedContentUri: z.string().describe("URI of the actor's list of followed content (for users).").nullable().optional()
|
|
24
|
-
}).describe("Representation of a SharePoint SocialActor (user/document/site/tag).");
|
|
24
|
+
}).passthrough().describe("Representation of a SharePoint SocialActor (user/document/site/tag).");
|
|
25
25
|
const sharePointGetMyFollowers = action("SHARE_POINT_GET_MY_FOLLOWERS", {
|
|
26
26
|
slug: "share_point-get-my-followers",
|
|
27
27
|
name: "Get My Followers",
|
|
28
28
|
description: "Retrieves the list of users who are following the authenticated user in SharePoint. Returns an array of SocialActor objects containing follower details like name, email, account name, and personal site URI. No parameters required - automatically retrieves followers for the current authenticated user.",
|
|
29
29
|
input: SharePointGetMyFollowersInput,
|
|
30
|
-
output: z.object({ followers: z.array(SharePointGetMyFollowers_SocialActorSchema).describe("Array of SocialActor objects representing users who follow the current user.") }).describe("Response containing the list of users following the authenticated user.")
|
|
30
|
+
output: z.object({ followers: z.array(SharePointGetMyFollowers_SocialActorSchema).describe("Array of SocialActor objects representing users who follow the current user.") }).passthrough().describe("Response containing the list of users following the authenticated user.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { sharePointGetMyFollowers };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-my-followers.mjs","names":[],"sources":["../../src/actions/get-my-followers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetMyFollowersInput = z.object({\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 current user's followers.\");\nconst SharePointGetMyFollowers_SocialActorSchema = z.object({\n Id: z.string().describe(\"Unique identifier for the actor.\").nullable().optional(),\n Uri: z.string().describe(\"Canonical URI for the actor's profile.\").nullable().optional(),\n Name: z.string().describe(\"Display name of the actor.\").nullable().optional(),\n Title: z.string().describe(\"Job title or role (for user actors).\").nullable().optional(),\n Status: z.number().int().describe(\"Status code indicating retrieval state (0=OK, 9=PartialData).\").nullable().optional(),\n GroupId: z.string().describe(\"SharePoint group identifier.\").nullable().optional(),\n TagGuid: z.string().describe(\"GUID identifier (for tag actors).\").nullable().optional(),\n ImageUri: z.string().describe(\"URI to profile image (for users, documents, and sites).\").nullable().optional(),\n ActorType: z.number().int().describe(\"Type of actor: 0=User, 1=Document, 2=Site, 3=Tag.\").nullable().optional(),\n CanFollow: z.boolean().describe(\"Whether the current user can follow this actor.\").nullable().optional(),\n ContentUri: z.string().describe(\"URI to the content (for documents and sites).\").nullable().optional(),\n IsFollowed: z.boolean().describe(\"Whether the current user is following this actor back.\").nullable().optional(),\n LibraryUri: z.string().describe(\"URI to the document library (for documents).\").nullable().optional(),\n StatusText: z.string().describe(\"Text of the most recent post (for user actors).\").nullable().optional(),\n AccountName: z.string().describe(\"Account name in claims format (e.g., 'i:0#.f|membership|user@domain.com').\").nullable().optional(),\n EmailAddress: z.string().describe(\"Email address (for user actors).\").nullable().optional(),\n PersonalSiteUri: z.string().describe(\"URI to the personal site (for user actors).\").nullable().optional(),\n FollowedContentUri: z.string().describe(\"URI of the actor's list of followed content (for users).\").nullable().optional(),\n}).describe(\"Representation of a SharePoint SocialActor (user/document/site/tag).\");\nexport const SharePointGetMyFollowersOutput = z.object({\n followers: z.array(SharePointGetMyFollowers_SocialActorSchema).describe(\"Array of SocialActor objects representing users who follow the current user.\"),\n}).describe(\"Response containing the list of users following the authenticated user.\");\n\nexport const sharePointGetMyFollowers = action(\"SHARE_POINT_GET_MY_FOLLOWERS\", {\n slug: \"share_point-get-my-followers\",\n name: \"Get My Followers\",\n description: \"Retrieves the list of users who are following the authenticated user in SharePoint. Returns an array of SocialActor objects containing follower details like name, email, account name, and personal site URI. No parameters required - automatically retrieves followers for the current authenticated user.\",\n input: SharePointGetMyFollowersInput,\n output: SharePointGetMyFollowersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS,EAC1O,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC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C,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,sEAAsE;
|
|
1
|
+
{"version":3,"file":"get-my-followers.mjs","names":[],"sources":["../../src/actions/get-my-followers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetMyFollowersInput = z.object({\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 current user's followers.\");\nconst SharePointGetMyFollowers_SocialActorSchema = z.object({\n Id: z.string().describe(\"Unique identifier for the actor.\").nullable().optional(),\n Uri: z.string().describe(\"Canonical URI for the actor's profile.\").nullable().optional(),\n Name: z.string().describe(\"Display name of the actor.\").nullable().optional(),\n Title: z.string().describe(\"Job title or role (for user actors).\").nullable().optional(),\n Status: z.number().int().describe(\"Status code indicating retrieval state (0=OK, 9=PartialData).\").nullable().optional(),\n GroupId: z.string().describe(\"SharePoint group identifier.\").nullable().optional(),\n TagGuid: z.string().describe(\"GUID identifier (for tag actors).\").nullable().optional(),\n ImageUri: z.string().describe(\"URI to profile image (for users, documents, and sites).\").nullable().optional(),\n ActorType: z.number().int().describe(\"Type of actor: 0=User, 1=Document, 2=Site, 3=Tag.\").nullable().optional(),\n CanFollow: z.boolean().describe(\"Whether the current user can follow this actor.\").nullable().optional(),\n ContentUri: z.string().describe(\"URI to the content (for documents and sites).\").nullable().optional(),\n IsFollowed: z.boolean().describe(\"Whether the current user is following this actor back.\").nullable().optional(),\n LibraryUri: z.string().describe(\"URI to the document library (for documents).\").nullable().optional(),\n StatusText: z.string().describe(\"Text of the most recent post (for user actors).\").nullable().optional(),\n AccountName: z.string().describe(\"Account name in claims format (e.g., 'i:0#.f|membership|user@domain.com').\").nullable().optional(),\n EmailAddress: z.string().describe(\"Email address (for user actors).\").nullable().optional(),\n PersonalSiteUri: z.string().describe(\"URI to the personal site (for user actors).\").nullable().optional(),\n FollowedContentUri: z.string().describe(\"URI of the actor's list of followed content (for users).\").nullable().optional(),\n}).passthrough().describe(\"Representation of a SharePoint SocialActor (user/document/site/tag).\");\nexport const SharePointGetMyFollowersOutput = z.object({\n followers: z.array(SharePointGetMyFollowers_SocialActorSchema).describe(\"Array of SocialActor objects representing users who follow the current user.\"),\n}).passthrough().describe(\"Response containing the list of users following the authenticated user.\");\n\nexport const sharePointGetMyFollowers = action(\"SHARE_POINT_GET_MY_FOLLOWERS\", {\n slug: \"share_point-get-my-followers\",\n name: \"Get My Followers\",\n description: \"Retrieves the list of users who are following the authenticated user in SharePoint. Returns an array of SocialActor objects containing follower details like name, email, account name, and personal site URI. No parameters required - automatically retrieves followers for the current authenticated user.\",\n input: SharePointGetMyFollowersInput,\n output: SharePointGetMyFollowersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS,EAC1O,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,S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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAKhG,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,WAAW,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8EAA8E,EACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAOhB;AACV,CAAC"}
|
|
@@ -17,9 +17,9 @@ const SharePointGetRoleDefinitions_RoleDefinitionSchema = zod.z.object({
|
|
|
17
17
|
Hidden: zod.z.boolean().describe("True if hidden in the UI.").nullable().optional(),
|
|
18
18
|
Description: zod.z.string().describe("Role definition description.").nullable().optional(),
|
|
19
19
|
RoleTypeKind: zod.z.number().int().describe("Numeric code of the role type (SP.RoleType enum).").nullable().optional(),
|
|
20
|
-
BasePermissions: zod.z.
|
|
21
|
-
}).describe("A single role definition (permission level) on the site.");
|
|
22
|
-
const SharePointGetRoleDefinitionsOutput = zod.z.object({ value: zod.z.array(SharePointGetRoleDefinitions_RoleDefinitionSchema).describe("List of role definitions returned from the SharePoint web.") }).describe("Response model for listing role definitions.");
|
|
20
|
+
BasePermissions: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Bitmasked permissions as two 32-bit values under 'High' and 'Low' (returned as strings).").nullable().optional()
|
|
21
|
+
}).passthrough().describe("A single role definition (permission level) on the site.");
|
|
22
|
+
const SharePointGetRoleDefinitionsOutput = zod.z.object({ value: zod.z.array(SharePointGetRoleDefinitions_RoleDefinitionSchema).describe("List of role definitions returned from the SharePoint web.") }).passthrough().describe("Response model for listing role definitions.");
|
|
23
23
|
const sharePointGetRoleDefinitions = require_action.action("SHARE_POINT_GET_ROLE_DEFINITIONS", {
|
|
24
24
|
slug: "share_point-get-role-definitions",
|
|
25
25
|
name: "Get Role Definitions",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-role-definitions.cjs","names":["z","action"],"sources":["../../src/actions/get-role-definitions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetRoleDefinitionsInput = z.object({\n top: z.number().int().describe(\"OData top: Maximum number of items to return, must be ≥ 1.\").optional(),\n expand: z.string().describe(\"OData expand: Expand related entities (bulk expansion not supported).\").optional(),\n filter: z.string().describe(\"OData filter: Expression to filter returned role definitions (e.g., \\\"Name eq 'Read'\\\"). Name-based filters may be case-sensitive or locale-sensitive; normalize role names before constructing filter expressions to avoid empty results.\").optional(),\n select: z.string().describe(\"OData select: Comma-separated list of properties to return (e.g., 'Name,Id').\").optional(),\n orderby: z.string().describe(\"OData orderby: Sort order (e.g., 'Name 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: Pagination token for continuing a prior query.\").optional(),\n}).describe(\"Request parameters for listing role definitions at the web level.\");\nconst SharePointGetRoleDefinitions_RoleDefinitionSchema = z.object({\n Id: z.number().int().describe(\"Identifier of the role definition.\").nullable().optional(),\n Name: z.string().describe(\"Name of the role definition.\").nullable().optional(),\n Order: z.number().int().describe(\"Display order on the Permission Levels page.\").nullable().optional(),\n Hidden: z.boolean().describe(\"True if hidden in the UI.\").nullable().optional(),\n Description: z.string().describe(\"Role definition description.\").nullable().optional(),\n RoleTypeKind: z.number().int().describe(\"Numeric code of the role type (SP.RoleType enum).\").nullable().optional(),\n BasePermissions: z.
|
|
1
|
+
{"version":3,"file":"get-role-definitions.cjs","names":["z","action"],"sources":["../../src/actions/get-role-definitions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetRoleDefinitionsInput = z.object({\n top: z.number().int().describe(\"OData top: Maximum number of items to return, must be ≥ 1.\").optional(),\n expand: z.string().describe(\"OData expand: Expand related entities (bulk expansion not supported).\").optional(),\n filter: z.string().describe(\"OData filter: Expression to filter returned role definitions (e.g., \\\"Name eq 'Read'\\\"). Name-based filters may be case-sensitive or locale-sensitive; normalize role names before constructing filter expressions to avoid empty results.\").optional(),\n select: z.string().describe(\"OData select: Comma-separated list of properties to return (e.g., 'Name,Id').\").optional(),\n orderby: z.string().describe(\"OData orderby: Sort order (e.g., 'Name 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: Pagination token for continuing a prior query.\").optional(),\n}).describe(\"Request parameters for listing role definitions at the web level.\");\nconst SharePointGetRoleDefinitions_RoleDefinitionSchema = z.object({\n Id: z.number().int().describe(\"Identifier of the role definition.\").nullable().optional(),\n Name: z.string().describe(\"Name of the role definition.\").nullable().optional(),\n Order: z.number().int().describe(\"Display order on the Permission Levels page.\").nullable().optional(),\n Hidden: z.boolean().describe(\"True if hidden in the UI.\").nullable().optional(),\n Description: z.string().describe(\"Role definition description.\").nullable().optional(),\n RoleTypeKind: z.number().int().describe(\"Numeric code of the role type (SP.RoleType enum).\").nullable().optional(),\n BasePermissions: z.record(z.string(), z.unknown()).describe(\"Bitmasked permissions as two 32-bit values under 'High' and 'Low' (returned as strings).\").nullable().optional(),\n}).passthrough().describe(\"A single role definition (permission level) on the site.\");\nexport const SharePointGetRoleDefinitionsOutput = z.object({\n value: z.array(SharePointGetRoleDefinitions_RoleDefinitionSchema).describe(\"List of role definitions returned from the SharePoint web.\"),\n}).passthrough().describe(\"Response model for listing role definitions.\");\n\nexport const sharePointGetRoleDefinitions = action(\"SHARE_POINT_GET_ROLE_DEFINITIONS\", {\n slug: \"share_point-get-role-definitions\",\n name: \"Get Role Definitions\",\n description: \"Tool to list role definitions at the web level. Role definition IDs and names are scoped per web/site collection — never hard-code them, as admins can modify role sets and IDs differ across site collections. Always resolve current values dynamically via this tool.\",\n input: SharePointGetRoleDefinitionsInput,\n output: SharePointGetRoleDefinitionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4OAA4O,CAAC,CAAC,SAAS;CACnR,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACtH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,OAAOA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,4DAA4D,EACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,9 +18,9 @@ declare const SharePointGetRoleDefinitionsOutput: z.ZodObject<{
|
|
|
18
18
|
Hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
19
|
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
RoleTypeKind: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
BasePermissions: z.ZodOptional<z.ZodNullable<z.
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
21
|
+
BasePermissions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const sharePointGetRoleDefinitions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
top?: number | undefined;
|
|
26
26
|
expand?: string | undefined;
|
|
@@ -18,9 +18,9 @@ declare const SharePointGetRoleDefinitionsOutput: z.ZodObject<{
|
|
|
18
18
|
Hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
19
|
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
RoleTypeKind: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
BasePermissions: z.ZodOptional<z.ZodNullable<z.
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
21
|
+
BasePermissions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const sharePointGetRoleDefinitions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
top?: number | undefined;
|
|
26
26
|
expand?: string | undefined;
|