@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
|
@@ -12,12 +12,12 @@ declare const SharePointGetWebInfoOutput: z.ZodObject<{
|
|
|
12
12
|
Webs: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
13
13
|
__deferred: z.ZodNullable<z.ZodObject<{
|
|
14
14
|
uri: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
17
17
|
Lists: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
18
18
|
__deferred: z.ZodNullable<z.ZodObject<{
|
|
19
19
|
uri: z.ZodNullable<z.ZodString>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
22
22
|
Title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
Created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -26,28 +26,28 @@ declare const SharePointGetWebInfoOutput: z.ZodObject<{
|
|
|
26
26
|
ParentWeb: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
27
27
|
__deferred: z.ZodNullable<z.ZodObject<{
|
|
28
28
|
uri: z.ZodNullable<z.ZodString>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
30
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
31
31
|
SiteUsers: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
32
32
|
__deferred: z.ZodNullable<z.ZodObject<{
|
|
33
33
|
uri: z.ZodNullable<z.ZodString>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>;
|
|
35
35
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
36
36
|
UIVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
37
|
RootFolder: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
38
38
|
__deferred: z.ZodNullable<z.ZodObject<{
|
|
39
39
|
uri: z.ZodNullable<z.ZodString>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
41
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
42
42
|
SiteGroups: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
43
43
|
__deferred: z.ZodNullable<z.ZodObject<{
|
|
44
44
|
uri: z.ZodNullable<z.ZodString>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>;
|
|
46
46
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
47
47
|
CurrentUser: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
48
48
|
__deferred: z.ZodNullable<z.ZodObject<{
|
|
49
49
|
uri: z.ZodNullable<z.ZodString>;
|
|
50
|
-
}, z.core.$
|
|
50
|
+
}, z.core.$loose>>;
|
|
51
51
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
52
52
|
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
53
|
WebTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -12,12 +12,12 @@ declare const SharePointGetWebInfoOutput: z.ZodObject<{
|
|
|
12
12
|
Webs: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
13
13
|
__deferred: z.ZodNullable<z.ZodObject<{
|
|
14
14
|
uri: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
17
17
|
Lists: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
18
18
|
__deferred: z.ZodNullable<z.ZodObject<{
|
|
19
19
|
uri: z.ZodNullable<z.ZodString>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
22
22
|
Title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
Created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -26,28 +26,28 @@ declare const SharePointGetWebInfoOutput: z.ZodObject<{
|
|
|
26
26
|
ParentWeb: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
27
27
|
__deferred: z.ZodNullable<z.ZodObject<{
|
|
28
28
|
uri: z.ZodNullable<z.ZodString>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
30
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
31
31
|
SiteUsers: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
32
32
|
__deferred: z.ZodNullable<z.ZodObject<{
|
|
33
33
|
uri: z.ZodNullable<z.ZodString>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>;
|
|
35
35
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
36
36
|
UIVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
37
|
RootFolder: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
38
38
|
__deferred: z.ZodNullable<z.ZodObject<{
|
|
39
39
|
uri: z.ZodNullable<z.ZodString>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
41
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
42
42
|
SiteGroups: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
43
43
|
__deferred: z.ZodNullable<z.ZodObject<{
|
|
44
44
|
uri: z.ZodNullable<z.ZodString>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>;
|
|
46
46
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
47
47
|
CurrentUser: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
48
48
|
__deferred: z.ZodNullable<z.ZodObject<{
|
|
49
49
|
uri: z.ZodNullable<z.ZodString>;
|
|
50
|
-
}, z.core.$
|
|
50
|
+
}, z.core.$loose>>;
|
|
51
51
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
52
52
|
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
53
|
WebTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6,7 +6,7 @@ const SharePointGetWebInfoInput = z.object({
|
|
|
6
6
|
select: z.string().describe("OData $select to specify fields to return, e.g., 'Id,Title,Url,ServerRelativeUrl'.").optional(),
|
|
7
7
|
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()
|
|
8
8
|
}).describe("Request parameters for retrieving SharePoint web information.");
|
|
9
|
-
const SharePointGetWebInfo_DeferredURISchema = z.object({ uri: z.string().describe("URI for deferred navigation property").nullable() });
|
|
9
|
+
const SharePointGetWebInfo_DeferredURISchema = z.object({ uri: z.string().describe("URI for deferred navigation property").nullable() }).passthrough();
|
|
10
10
|
const SharePointGetWebInfo_DeferredSchema = z.object({ __deferred: SharePointGetWebInfo_DeferredURISchema.nullable() }).passthrough();
|
|
11
11
|
const SharePointGetWebInfo_ExpandedEntitySchema = z.record(z.string(), z.unknown()).describe("Represents an expanded entity with flexible schema.");
|
|
12
12
|
const sharePointGetWebInfo = action("SHARE_POINT_GET_WEB_INFO", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-web-info.mjs","names":[],"sources":["../../src/actions/get-web-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetWebInfoInput = z.object({\n expand: z.string().describe(\"OData $expand to expand navigation properties, e.g., 'CurrentUser,Lists,Webs'.\").optional(),\n select: z.string().describe(\"OData $select to specify fields to return, e.g., 'Id,Title,Url,ServerRelativeUrl'.\").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}).describe(\"Request parameters for retrieving SharePoint web information.\");\nconst SharePointGetWebInfo_DeferredURISchema = z.object({\n uri: z.string().describe(\"URI for deferred navigation property\").nullable(),\n});\nconst SharePointGetWebInfo_DeferredSchema = z.object({\n __deferred: SharePointGetWebInfo_DeferredURISchema.nullable(),\n}).passthrough();\nconst SharePointGetWebInfo_ExpandedEntitySchema = z.record(z.string(), z.unknown()).describe(\"Represents an expanded entity with flexible schema.\");\nexport const SharePointGetWebInfoOutput = z.object({\n Id: z.string().describe(\"GUID that uniquely identifies the web (site).\").nullable().optional(),\n Url: z.string().describe(\"Full URL of the web.\").nullable().optional(),\n Webs: z.union([SharePointGetWebInfo_DeferredSchema, SharePointGetWebInfo_ExpandedEntitySchema]).nullable().optional(),\n Lists: z.union([SharePointGetWebInfo_DeferredSchema, SharePointGetWebInfo_ExpandedEntitySchema]).nullable().optional(),\n Title: z.string().describe(\"Title of the web.\").nullable().optional(),\n Created: z.string().describe(\"ISO 8601 timestamp when the web was created.\").nullable().optional(),\n Language: z.number().int().describe(\"Locale ID (LCID) for the language used by the web.\").nullable().optional(),\n MasterUrl: z.string().describe(\"Server-relative URL of the master page for the web.\").nullable().optional(),\n ParentWeb: z.union([SharePointGetWebInfo_DeferredSchema, SharePointGetWebInfo_ExpandedEntitySchema]).nullable().optional(),\n SiteUsers: z.union([SharePointGetWebInfo_DeferredSchema, SharePointGetWebInfo_ExpandedEntitySchema]).nullable().optional(),\n UIVersion: z.number().int().describe(\"User interface version number for the web.\").nullable().optional(),\n RootFolder: z.union([SharePointGetWebInfo_DeferredSchema, SharePointGetWebInfo_ExpandedEntitySchema]).nullable().optional(),\n SiteGroups: z.union([SharePointGetWebInfo_DeferredSchema, SharePointGetWebInfo_ExpandedEntitySchema]).nullable().optional(),\n CurrentUser: z.union([SharePointGetWebInfo_DeferredSchema, SharePointGetWebInfo_ExpandedEntitySchema]).nullable().optional(),\n Description: z.string().describe(\"Description of the web.\").nullable().optional(),\n WebTemplate: z.string().describe(\"Name of the site template applied to the web.\").nullable().optional(),\n AllowRssFeeds: z.boolean().describe(\"Whether RSS feeds are enabled for the web.\").nullable().optional(),\n Configuration: z.number().int().describe(\"Configuration number for the site template.\").nullable().optional(),\n WebTemplateId: z.number().int().describe(\"Numeric identifier for the site template.\").nullable().optional(),\n CustomMasterUrl: z.string().describe(\"Server-relative URL of the custom master page.\").nullable().optional(),\n TreeViewEnabled: z.boolean().describe(\"Whether the tree view is enabled.\").nullable().optional(),\n RecycleBinEnabled: z.boolean().describe(\"Whether the Recycle Bin is enabled.\").nullable().optional(),\n ServerRelativeUrl: z.string().describe(\"Server-relative URL of the web.\").nullable().optional(),\n QuickLaunchEnabled: z.boolean().describe(\"Whether Quick Launch is enabled.\").nullable().optional(),\n SyndicationEnabled: z.boolean().describe(\"Whether syndication is enabled.\").nullable().optional(),\n LastItemModifiedDate: z.string().describe(\"ISO 8601 timestamp when an item in the web was last modified.\").nullable().optional(),\n EnableMinimalDownload: z.boolean().describe(\"Whether the Minimal Download Strategy feature is enabled.\").nullable().optional(),\n LastItemUserModifiedDate: z.string().describe(\"ISO 8601 timestamp when an item in the web was last modified by a user.\").nullable().optional(),\n SaveSiteAsTemplateEnabled: z.boolean().describe(\"Whether saving the site as a template is enabled.\").nullable().optional(),\n UIVersionConfigurationEnabled: z.boolean().describe(\"Whether UI version configuration is enabled.\").nullable().optional(),\n}).passthrough().describe(\"Response model representing SP.Web metadata.\");\n\nexport const sharePointGetWebInfo = action(\"SHARE_POINT_GET_WEB_INFO\", {\n slug: \"share_point-get-web-info\",\n name: \"Get SharePoint Web Info\",\n description: \"Tool to retrieve information about the current SharePoint web (site) using REST API. Use when you need web metadata such as title, URL, language, or template information.\",\n input: SharePointGetWebInfoInput,\n output: SharePointGetWebInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACvH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC3H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;AACxO,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,yCAAyC,EAAE,OAAO,EACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EAC5E,CAAC;
|
|
1
|
+
{"version":3,"file":"get-web-info.mjs","names":[],"sources":["../../src/actions/get-web-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetWebInfoInput = z.object({\n expand: z.string().describe(\"OData $expand to expand navigation properties, e.g., 'CurrentUser,Lists,Webs'.\").optional(),\n select: z.string().describe(\"OData $select to specify fields to return, e.g., 'Id,Title,Url,ServerRelativeUrl'.\").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}).describe(\"Request parameters for retrieving SharePoint web information.\");\nconst SharePointGetWebInfo_DeferredURISchema = z.object({\n uri: z.string().describe(\"URI for deferred navigation property\").nullable(),\n}).passthrough();\nconst SharePointGetWebInfo_DeferredSchema = z.object({\n __deferred: SharePointGetWebInfo_DeferredURISchema.nullable(),\n}).passthrough();\nconst SharePointGetWebInfo_ExpandedEntitySchema = z.record(z.string(), z.unknown()).describe(\"Represents an expanded entity with flexible schema.\");\nexport const SharePointGetWebInfoOutput = z.object({\n Id: z.string().describe(\"GUID that uniquely identifies the web (site).\").nullable().optional(),\n Url: z.string().describe(\"Full URL of the web.\").nullable().optional(),\n Webs: z.union([SharePointGetWebInfo_DeferredSchema, SharePointGetWebInfo_ExpandedEntitySchema]).nullable().optional(),\n Lists: z.union([SharePointGetWebInfo_DeferredSchema, SharePointGetWebInfo_ExpandedEntitySchema]).nullable().optional(),\n Title: z.string().describe(\"Title of the web.\").nullable().optional(),\n Created: z.string().describe(\"ISO 8601 timestamp when the web was created.\").nullable().optional(),\n Language: z.number().int().describe(\"Locale ID (LCID) for the language used by the web.\").nullable().optional(),\n MasterUrl: z.string().describe(\"Server-relative URL of the master page for the web.\").nullable().optional(),\n ParentWeb: z.union([SharePointGetWebInfo_DeferredSchema, SharePointGetWebInfo_ExpandedEntitySchema]).nullable().optional(),\n SiteUsers: z.union([SharePointGetWebInfo_DeferredSchema, SharePointGetWebInfo_ExpandedEntitySchema]).nullable().optional(),\n UIVersion: z.number().int().describe(\"User interface version number for the web.\").nullable().optional(),\n RootFolder: z.union([SharePointGetWebInfo_DeferredSchema, SharePointGetWebInfo_ExpandedEntitySchema]).nullable().optional(),\n SiteGroups: z.union([SharePointGetWebInfo_DeferredSchema, SharePointGetWebInfo_ExpandedEntitySchema]).nullable().optional(),\n CurrentUser: z.union([SharePointGetWebInfo_DeferredSchema, SharePointGetWebInfo_ExpandedEntitySchema]).nullable().optional(),\n Description: z.string().describe(\"Description of the web.\").nullable().optional(),\n WebTemplate: z.string().describe(\"Name of the site template applied to the web.\").nullable().optional(),\n AllowRssFeeds: z.boolean().describe(\"Whether RSS feeds are enabled for the web.\").nullable().optional(),\n Configuration: z.number().int().describe(\"Configuration number for the site template.\").nullable().optional(),\n WebTemplateId: z.number().int().describe(\"Numeric identifier for the site template.\").nullable().optional(),\n CustomMasterUrl: z.string().describe(\"Server-relative URL of the custom master page.\").nullable().optional(),\n TreeViewEnabled: z.boolean().describe(\"Whether the tree view is enabled.\").nullable().optional(),\n RecycleBinEnabled: z.boolean().describe(\"Whether the Recycle Bin is enabled.\").nullable().optional(),\n ServerRelativeUrl: z.string().describe(\"Server-relative URL of the web.\").nullable().optional(),\n QuickLaunchEnabled: z.boolean().describe(\"Whether Quick Launch is enabled.\").nullable().optional(),\n SyndicationEnabled: z.boolean().describe(\"Whether syndication is enabled.\").nullable().optional(),\n LastItemModifiedDate: z.string().describe(\"ISO 8601 timestamp when an item in the web was last modified.\").nullable().optional(),\n EnableMinimalDownload: z.boolean().describe(\"Whether the Minimal Download Strategy feature is enabled.\").nullable().optional(),\n LastItemUserModifiedDate: z.string().describe(\"ISO 8601 timestamp when an item in the web was last modified by a user.\").nullable().optional(),\n SaveSiteAsTemplateEnabled: z.boolean().describe(\"Whether saving the site as a template is enabled.\").nullable().optional(),\n UIVersionConfigurationEnabled: z.boolean().describe(\"Whether UI version configuration is enabled.\").nullable().optional(),\n}).passthrough().describe(\"Response model representing SP.Web metadata.\");\n\nexport const sharePointGetWebInfo = action(\"SHARE_POINT_GET_WEB_INFO\", {\n slug: \"share_point-get-web-info\",\n name: \"Get SharePoint Web Info\",\n description: \"Tool to retrieve information about the current SharePoint web (site) using REST API. Use when you need web metadata such as title, URL, language, or template information.\",\n input: SharePointGetWebInfoInput,\n output: SharePointGetWebInfoOutput,\n});\n"],"mappings":"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"}
|
|
@@ -12,7 +12,7 @@ const SharePointGetWebhookSubscriptionOutput = zod.z.object({
|
|
|
12
12
|
clientState: zod.z.string().describe("Optional client-provided state string that is included in notifications for validation purposes.").nullable().optional(),
|
|
13
13
|
notificationUrl: zod.z.string().describe("URL that receives webhook notifications when list changes occur.").nullable(),
|
|
14
14
|
expirationDateTime: zod.z.string().describe("ISO 8601 timestamp when the subscription expires. Maximum validity is 180 days.").nullable()
|
|
15
|
-
}).describe("Response model for a SharePoint webhook subscription.");
|
|
15
|
+
}).passthrough().describe("Response model for a SharePoint webhook subscription.");
|
|
16
16
|
const sharePointGetWebhookSubscription = require_action.action("SHARE_POINT_GET_WEBHOOK_SUBSCRIPTION", {
|
|
17
17
|
slug: "share_point-get-webhook-subscription",
|
|
18
18
|
name: "Get SharePoint Webhook Subscription",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook-subscription.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook-subscription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetWebhookSubscriptionInput = z.object({\n list_id: z.string().describe(\"GUID of the SharePoint list containing the subscription, in canonical format, e.g., '01234567-89ab-cdef-0123-456789abcdef'.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n subscription_id: z.string().describe(\"GUID of the webhook subscription to retrieve, in canonical format, e.g., '01234567-89ab-cdef-0123-456789abcdef'.\"),\n}).describe(\"Request model for retrieving a SharePoint webhook subscription by ID.\");\nexport const SharePointGetWebhookSubscriptionOutput = z.object({\n id: z.string().describe(\"GUID of the webhook subscription.\").nullable(),\n resource: z.string().describe(\"GUID of the SharePoint list this subscription monitors.\").nullable(),\n clientState: z.string().describe(\"Optional client-provided state string that is included in notifications for validation purposes.\").nullable().optional(),\n notificationUrl: z.string().describe(\"URL that receives webhook notifications when list changes occur.\").nullable(),\n expirationDateTime: z.string().describe(\"ISO 8601 timestamp when the subscription expires. Maximum validity is 180 days.\").nullable(),\n}).describe(\"Response model for a SharePoint webhook subscription.\");\n\nexport const sharePointGetWebhookSubscription = action(\"SHARE_POINT_GET_WEBHOOK_SUBSCRIPTION\", {\n slug: \"share_point-get-webhook-subscription\",\n name: \"Get SharePoint Webhook Subscription\",\n description: \"Tool to retrieve a specific webhook subscription by ID from a SharePoint list. Use when you need to check subscription details like expiration date or notification URL.\",\n input: SharePointGetWebhookSubscriptionInput,\n output: SharePointGetWebhookSubscriptionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;CAC1J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CACxO,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;AACzJ,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,uDAAuD;
|
|
1
|
+
{"version":3,"file":"get-webhook-subscription.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook-subscription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetWebhookSubscriptionInput = z.object({\n list_id: z.string().describe(\"GUID of the SharePoint list containing the subscription, in canonical format, e.g., '01234567-89ab-cdef-0123-456789abcdef'.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n subscription_id: z.string().describe(\"GUID of the webhook subscription to retrieve, in canonical format, e.g., '01234567-89ab-cdef-0123-456789abcdef'.\"),\n}).describe(\"Request model for retrieving a SharePoint webhook subscription by ID.\");\nexport const SharePointGetWebhookSubscriptionOutput = z.object({\n id: z.string().describe(\"GUID of the webhook subscription.\").nullable(),\n resource: z.string().describe(\"GUID of the SharePoint list this subscription monitors.\").nullable(),\n clientState: z.string().describe(\"Optional client-provided state string that is included in notifications for validation purposes.\").nullable().optional(),\n notificationUrl: z.string().describe(\"URL that receives webhook notifications when list changes occur.\").nullable(),\n expirationDateTime: z.string().describe(\"ISO 8601 timestamp when the subscription expires. Maximum validity is 180 days.\").nullable(),\n}).passthrough().describe(\"Response model for a SharePoint webhook subscription.\");\n\nexport const sharePointGetWebhookSubscription = action(\"SHARE_POINT_GET_WEBHOOK_SUBSCRIPTION\", {\n slug: \"share_point-get-webhook-subscription\",\n name: \"Get SharePoint Webhook Subscription\",\n description: \"Tool to retrieve a specific webhook subscription by ID from a SharePoint list. Use when you need to check subscription details like expiration date or notification URL.\",\n input: SharePointGetWebhookSubscriptionInput,\n output: SharePointGetWebhookSubscriptionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;CAC1J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CACxO,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;AACzJ,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const SharePointGetWebhookSubscriptionOutput: z.ZodObject<{
|
|
|
12
12
|
clientState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
notificationUrl: z.ZodNullable<z.ZodString>;
|
|
14
14
|
expirationDateTime: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const sharePointGetWebhookSubscription: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
list_id: string;
|
|
18
18
|
subscription_id: string;
|
|
@@ -12,7 +12,7 @@ declare const SharePointGetWebhookSubscriptionOutput: z.ZodObject<{
|
|
|
12
12
|
clientState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
notificationUrl: z.ZodNullable<z.ZodString>;
|
|
14
14
|
expirationDateTime: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const sharePointGetWebhookSubscription: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
list_id: string;
|
|
18
18
|
subscription_id: string;
|
|
@@ -15,7 +15,7 @@ const sharePointGetWebhookSubscription = action("SHARE_POINT_GET_WEBHOOK_SUBSCRI
|
|
|
15
15
|
clientState: z.string().describe("Optional client-provided state string that is included in notifications for validation purposes.").nullable().optional(),
|
|
16
16
|
notificationUrl: z.string().describe("URL that receives webhook notifications when list changes occur.").nullable(),
|
|
17
17
|
expirationDateTime: z.string().describe("ISO 8601 timestamp when the subscription expires. Maximum validity is 180 days.").nullable()
|
|
18
|
-
}).describe("Response model for a SharePoint webhook subscription.")
|
|
18
|
+
}).passthrough().describe("Response model for a SharePoint webhook subscription.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { sharePointGetWebhookSubscription };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook-subscription.mjs","names":[],"sources":["../../src/actions/get-webhook-subscription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetWebhookSubscriptionInput = z.object({\n list_id: z.string().describe(\"GUID of the SharePoint list containing the subscription, in canonical format, e.g., '01234567-89ab-cdef-0123-456789abcdef'.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n subscription_id: z.string().describe(\"GUID of the webhook subscription to retrieve, in canonical format, e.g., '01234567-89ab-cdef-0123-456789abcdef'.\"),\n}).describe(\"Request model for retrieving a SharePoint webhook subscription by ID.\");\nexport const SharePointGetWebhookSubscriptionOutput = z.object({\n id: z.string().describe(\"GUID of the webhook subscription.\").nullable(),\n resource: z.string().describe(\"GUID of the SharePoint list this subscription monitors.\").nullable(),\n clientState: z.string().describe(\"Optional client-provided state string that is included in notifications for validation purposes.\").nullable().optional(),\n notificationUrl: z.string().describe(\"URL that receives webhook notifications when list changes occur.\").nullable(),\n expirationDateTime: z.string().describe(\"ISO 8601 timestamp when the subscription expires. Maximum validity is 180 days.\").nullable(),\n}).describe(\"Response model for a SharePoint webhook subscription.\");\n\nexport const sharePointGetWebhookSubscription = action(\"SHARE_POINT_GET_WEBHOOK_SUBSCRIPTION\", {\n slug: \"share_point-get-webhook-subscription\",\n name: \"Get SharePoint Webhook Subscription\",\n description: \"Tool to retrieve a specific webhook subscription by ID from a SharePoint list. Use when you need to check subscription details like expiration date or notification URL.\",\n input: SharePointGetWebhookSubscriptionInput,\n output: SharePointGetWebhookSubscriptionOutput,\n});\n"],"mappings":";;AAiBA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;EAC1J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;EACxO,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;CACzJ,CAAC,CAAC,CAAC,SAAS,uEAaH;CACP,QAboD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAClH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-webhook-subscription.mjs","names":[],"sources":["../../src/actions/get-webhook-subscription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetWebhookSubscriptionInput = z.object({\n list_id: z.string().describe(\"GUID of the SharePoint list containing the subscription, in canonical format, e.g., '01234567-89ab-cdef-0123-456789abcdef'.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n subscription_id: z.string().describe(\"GUID of the webhook subscription to retrieve, in canonical format, e.g., '01234567-89ab-cdef-0123-456789abcdef'.\"),\n}).describe(\"Request model for retrieving a SharePoint webhook subscription by ID.\");\nexport const SharePointGetWebhookSubscriptionOutput = z.object({\n id: z.string().describe(\"GUID of the webhook subscription.\").nullable(),\n resource: z.string().describe(\"GUID of the SharePoint list this subscription monitors.\").nullable(),\n clientState: z.string().describe(\"Optional client-provided state string that is included in notifications for validation purposes.\").nullable().optional(),\n notificationUrl: z.string().describe(\"URL that receives webhook notifications when list changes occur.\").nullable(),\n expirationDateTime: z.string().describe(\"ISO 8601 timestamp when the subscription expires. Maximum validity is 180 days.\").nullable(),\n}).passthrough().describe(\"Response model for a SharePoint webhook subscription.\");\n\nexport const sharePointGetWebhookSubscription = action(\"SHARE_POINT_GET_WEBHOOK_SUBSCRIPTION\", {\n slug: \"share_point-get-webhook-subscription\",\n name: \"Get SharePoint Webhook Subscription\",\n description: \"Tool to retrieve a specific webhook subscription by ID from a SharePoint list. Use when you need to check subscription details like expiration date or notification URL.\",\n input: SharePointGetWebhookSubscriptionInput,\n output: SharePointGetWebhookSubscriptionOutput,\n});\n"],"mappings":";;AAiBA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;EAC1J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;EACxO,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;CACzJ,CAAC,CAAC,CAAC,SAAS,uEAaH;CACP,QAboD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAClH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ const SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema = zod.z.object
|
|
|
11
11
|
clientState: zod.z.string().describe("Optional client state string that is included in webhook notifications for validation.").nullable().optional(),
|
|
12
12
|
notificationUrl: zod.z.string().describe("URL to which webhook notifications are sent.").nullable(),
|
|
13
13
|
expirationDateTime: zod.z.string().describe("Expiration date and time of the subscription in ISO 8601 format.").nullable()
|
|
14
|
-
}).describe("Model for a single webhook subscription.");
|
|
15
|
-
const SharePointGetWebhookSubscriptionsOutput = zod.z.object({ value: zod.z.array(SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema).describe("Array of webhook subscription objects for the specified list.") }).describe("Response model for webhook subscriptions retrieved from a SharePoint list.");
|
|
14
|
+
}).passthrough().describe("Model for a single webhook subscription.");
|
|
15
|
+
const SharePointGetWebhookSubscriptionsOutput = zod.z.object({ value: zod.z.array(SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema).describe("Array of webhook subscription objects for the specified list.") }).passthrough().describe("Response model for webhook subscriptions retrieved from a SharePoint list.");
|
|
16
16
|
const sharePointGetWebhookSubscriptions = require_action.action("SHARE_POINT_GET_WEBHOOK_SUBSCRIPTIONS", {
|
|
17
17
|
slug: "share_point-get-webhook-subscriptions",
|
|
18
18
|
name: "Get SharePoint Webhook Subscriptions",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook-subscriptions.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook-subscriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetWebhookSubscriptionsInput = z.object({\n list_id: z.string().describe(\"The GUID of the SharePoint list to retrieve subscriptions for, in canonical format (e.g., '01234567-89ab-cdef-0123-456789abcdef').\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n}).describe(\"Request model for retrieving webhook subscriptions on a SharePoint list.\");\nconst SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the subscription.\").nullable(),\n resource: z.string().describe(\"Resource identifier (list GUID) that this subscription monitors.\").nullable(),\n clientState: z.string().describe(\"Optional client state string that is included in webhook notifications for validation.\").nullable().optional(),\n notificationUrl: z.string().describe(\"URL to which webhook notifications are sent.\").nullable(),\n expirationDateTime: z.string().describe(\"Expiration date and time of the subscription in ISO 8601 format.\").nullable(),\n}).describe(\"Model for a single webhook subscription.\");\nexport const SharePointGetWebhookSubscriptionsOutput = z.object({\n value: z.array(SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema).describe(\"Array of webhook subscription objects for the specified list.\"),\n}).describe(\"Response model for webhook subscriptions retrieved from a SharePoint list.\");\n\nexport const sharePointGetWebhookSubscriptions = action(\"SHARE_POINT_GET_WEBHOOK_SUBSCRIPTIONS\", {\n slug: \"share_point-get-webhook-subscriptions\",\n name: \"Get SharePoint Webhook Subscriptions\",\n description: \"Tool to retrieve all webhook subscriptions on a SharePoint list. Use when you need to view existing webhook configurations for a list.\",\n input: SharePointGetWebhookSubscriptionsInput,\n output: SharePointGetWebhookSubscriptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CACjK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;AACxO,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC9F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"get-webhook-subscriptions.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook-subscriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetWebhookSubscriptionsInput = z.object({\n list_id: z.string().describe(\"The GUID of the SharePoint list to retrieve subscriptions for, in canonical format (e.g., '01234567-89ab-cdef-0123-456789abcdef').\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n}).describe(\"Request model for retrieving webhook subscriptions on a SharePoint list.\");\nconst SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the subscription.\").nullable(),\n resource: z.string().describe(\"Resource identifier (list GUID) that this subscription monitors.\").nullable(),\n clientState: z.string().describe(\"Optional client state string that is included in webhook notifications for validation.\").nullable().optional(),\n notificationUrl: z.string().describe(\"URL to which webhook notifications are sent.\").nullable(),\n expirationDateTime: z.string().describe(\"Expiration date and time of the subscription in ISO 8601 format.\").nullable(),\n}).passthrough().describe(\"Model for a single webhook subscription.\");\nexport const SharePointGetWebhookSubscriptionsOutput = z.object({\n value: z.array(SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema).describe(\"Array of webhook subscription objects for the specified list.\"),\n}).passthrough().describe(\"Response model for webhook subscriptions retrieved from a SharePoint list.\");\n\nexport const sharePointGetWebhookSubscriptions = action(\"SHARE_POINT_GET_WEBHOOK_SUBSCRIPTIONS\", {\n slug: \"share_point-get-webhook-subscriptions\",\n name: \"Get SharePoint Webhook Subscriptions\",\n description: \"Tool to retrieve all webhook subscriptions on a SharePoint list. Use when you need to view existing webhook configurations for a list.\",\n input: SharePointGetWebhookSubscriptionsInput,\n output: SharePointGetWebhookSubscriptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CACjK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;AACxO,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC9F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,OAAOA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,+DAA+D,EACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,8 +12,8 @@ declare const SharePointGetWebhookSubscriptionsOutput: z.ZodObject<{
|
|
|
12
12
|
clientState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
notificationUrl: z.ZodNullable<z.ZodString>;
|
|
14
14
|
expirationDateTime: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const sharePointGetWebhookSubscriptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
list_id: string;
|
|
19
19
|
site_name?: string | undefined;
|
|
@@ -12,8 +12,8 @@ declare const SharePointGetWebhookSubscriptionsOutput: z.ZodObject<{
|
|
|
12
12
|
clientState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
notificationUrl: z.ZodNullable<z.ZodString>;
|
|
14
14
|
expirationDateTime: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const sharePointGetWebhookSubscriptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
list_id: string;
|
|
19
19
|
site_name?: string | undefined;
|
|
@@ -11,13 +11,13 @@ const SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema = z.object({
|
|
|
11
11
|
clientState: z.string().describe("Optional client state string that is included in webhook notifications for validation.").nullable().optional(),
|
|
12
12
|
notificationUrl: z.string().describe("URL to which webhook notifications are sent.").nullable(),
|
|
13
13
|
expirationDateTime: z.string().describe("Expiration date and time of the subscription in ISO 8601 format.").nullable()
|
|
14
|
-
}).describe("Model for a single webhook subscription.");
|
|
14
|
+
}).passthrough().describe("Model for a single webhook subscription.");
|
|
15
15
|
const sharePointGetWebhookSubscriptions = action("SHARE_POINT_GET_WEBHOOK_SUBSCRIPTIONS", {
|
|
16
16
|
slug: "share_point-get-webhook-subscriptions",
|
|
17
17
|
name: "Get SharePoint Webhook Subscriptions",
|
|
18
18
|
description: "Tool to retrieve all webhook subscriptions on a SharePoint list. Use when you need to view existing webhook configurations for a list.",
|
|
19
19
|
input: SharePointGetWebhookSubscriptionsInput,
|
|
20
|
-
output: z.object({ value: z.array(SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema).describe("Array of webhook subscription objects for the specified list.") }).describe("Response model for webhook subscriptions retrieved from a SharePoint list.")
|
|
20
|
+
output: z.object({ value: z.array(SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema).describe("Array of webhook subscription objects for the specified list.") }).passthrough().describe("Response model for webhook subscriptions retrieved from a SharePoint list.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { sharePointGetWebhookSubscriptions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook-subscriptions.mjs","names":[],"sources":["../../src/actions/get-webhook-subscriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetWebhookSubscriptionsInput = z.object({\n list_id: z.string().describe(\"The GUID of the SharePoint list to retrieve subscriptions for, in canonical format (e.g., '01234567-89ab-cdef-0123-456789abcdef').\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n}).describe(\"Request model for retrieving webhook subscriptions on a SharePoint list.\");\nconst SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the subscription.\").nullable(),\n resource: z.string().describe(\"Resource identifier (list GUID) that this subscription monitors.\").nullable(),\n clientState: z.string().describe(\"Optional client state string that is included in webhook notifications for validation.\").nullable().optional(),\n notificationUrl: z.string().describe(\"URL to which webhook notifications are sent.\").nullable(),\n expirationDateTime: z.string().describe(\"Expiration date and time of the subscription in ISO 8601 format.\").nullable(),\n}).describe(\"Model for a single webhook subscription.\");\nexport const SharePointGetWebhookSubscriptionsOutput = z.object({\n value: z.array(SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema).describe(\"Array of webhook subscription objects for the specified list.\"),\n}).describe(\"Response model for webhook subscriptions retrieved from a SharePoint list.\");\n\nexport const sharePointGetWebhookSubscriptions = action(\"SHARE_POINT_GET_WEBHOOK_SUBSCRIPTIONS\", {\n slug: \"share_point-get-webhook-subscriptions\",\n name: \"Get SharePoint Webhook Subscriptions\",\n description: \"Tool to retrieve all webhook subscriptions on a SharePoint list. Use when you need to view existing webhook configurations for a list.\",\n input: SharePointGetWebhookSubscriptionsInput,\n output: SharePointGetWebhookSubscriptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CACjK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;AACxO,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,8DAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC9F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"get-webhook-subscriptions.mjs","names":[],"sources":["../../src/actions/get-webhook-subscriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetWebhookSubscriptionsInput = z.object({\n list_id: z.string().describe(\"The GUID of the SharePoint list to retrieve subscriptions for, in canonical format (e.g., '01234567-89ab-cdef-0123-456789abcdef').\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n}).describe(\"Request model for retrieving webhook subscriptions on a SharePoint list.\");\nconst SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the subscription.\").nullable(),\n resource: z.string().describe(\"Resource identifier (list GUID) that this subscription monitors.\").nullable(),\n clientState: z.string().describe(\"Optional client state string that is included in webhook notifications for validation.\").nullable().optional(),\n notificationUrl: z.string().describe(\"URL to which webhook notifications are sent.\").nullable(),\n expirationDateTime: z.string().describe(\"Expiration date and time of the subscription in ISO 8601 format.\").nullable(),\n}).passthrough().describe(\"Model for a single webhook subscription.\");\nexport const SharePointGetWebhookSubscriptionsOutput = z.object({\n value: z.array(SharePointGetWebhookSubscriptions_WebhookSubscriptionSchema).describe(\"Array of webhook subscription objects for the specified list.\"),\n}).passthrough().describe(\"Response model for webhook subscriptions retrieved from a SharePoint list.\");\n\nexport const sharePointGetWebhookSubscriptions = action(\"SHARE_POINT_GET_WEBHOOK_SUBSCRIPTIONS\", {\n slug: \"share_point-get-webhook-subscriptions\",\n name: \"Get SharePoint Webhook Subscriptions\",\n description: \"Tool to retrieve all webhook subscriptions on a SharePoint list. Use when you need to view existing webhook configurations for a list.\",\n input: SharePointGetWebhookSubscriptionsInput,\n output: SharePointGetWebhookSubscriptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CACjK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;AACxO,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,8DAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC9F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,OAAO,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,+DAA+D,EACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const SharePointIsFollowedInput = zod.z.object({
|
|
|
13
13
|
content_uri: zod.z.string().describe("URI of the document or site when actor_type=1 or 2, e.g., 'http://server/site'.").optional(),
|
|
14
14
|
account_name: zod.z.string().describe("Account name for a user when actor_type=0, in claims format, e.g., 'i:0#.f|membership|user@domain.com'.").optional()
|
|
15
15
|
}).describe("Request parameters to check if the current user follows a SharePoint actor.");
|
|
16
|
-
const SharePointIsFollowedOutput = zod.z.object({ is_followed: zod.z.boolean().describe("True if the current user follows the specified actor.").nullable() });
|
|
16
|
+
const SharePointIsFollowedOutput = zod.z.object({ is_followed: zod.z.boolean().describe("True if the current user follows the specified actor.").nullable() }).passthrough();
|
|
17
17
|
const sharePointIsFollowed = require_action.action("SHARE_POINT_IS_FOLLOWED", {
|
|
18
18
|
slug: "share_point-is-followed",
|
|
19
19
|
name: "Check Follow Status",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-followed.cjs","names":["z","action"],"sources":["../../src/actions/is-followed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointIsFollowedInput = z.object({\n tag_guid: z.string().describe(\"GUID of the tag when actor_type=3.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n actor_type: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the actor to check: 0=user, 1=document, 2=site, 3=tag.\"),\n content_uri: z.string().describe(\"URI of the document or site when actor_type=1 or 2, e.g., 'http://server/site'.\").optional(),\n account_name: z.string().describe(\"Account name for a user when actor_type=0, in claims format, e.g., 'i:0#.f|membership|user@domain.com'.\").optional(),\n}).describe(\"Request parameters to check if the current user follows a SharePoint actor.\");\nexport const SharePointIsFollowedOutput = z.object({\n is_followed: z.boolean().describe(\"True if the current user follows the specified actor.\").nullable(),\n});\n\nexport const sharePointIsFollowed = action(\"SHARE_POINT_IS_FOLLOWED\", {\n slug: \"share_point-is-followed\",\n name: \"Check Follow Status\",\n description: \"Tool to check if the current user is following a specified actor. Use when verifying follow status before performing follow or unfollow operations.\",\n input: SharePointIsFollowedInput,\n output: SharePointIsFollowedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CACxO,YAAYA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;CACvJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EACtG,CAAC;
|
|
1
|
+
{"version":3,"file":"is-followed.cjs","names":["z","action"],"sources":["../../src/actions/is-followed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointIsFollowedInput = z.object({\n tag_guid: z.string().describe(\"GUID of the tag when actor_type=3.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n actor_type: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the actor to check: 0=user, 1=document, 2=site, 3=tag.\"),\n content_uri: z.string().describe(\"URI of the document or site when actor_type=1 or 2, e.g., 'http://server/site'.\").optional(),\n account_name: z.string().describe(\"Account name for a user when actor_type=0, in claims format, e.g., 'i:0#.f|membership|user@domain.com'.\").optional(),\n}).describe(\"Request parameters to check if the current user follows a SharePoint actor.\");\nexport const SharePointIsFollowedOutput = z.object({\n is_followed: z.boolean().describe(\"True if the current user follows the specified actor.\").nullable(),\n}).passthrough();\n\nexport const sharePointIsFollowed = action(\"SHARE_POINT_IS_FOLLOWED\", {\n slug: \"share_point-is-followed\",\n name: \"Check Follow Status\",\n description: \"Tool to check if the current user is following a specified actor. Use when verifying follow status before performing follow or unfollow operations.\",\n input: SharePointIsFollowedInput,\n output: SharePointIsFollowedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CACxO,YAAYA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;CACvJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare const SharePointIsFollowedInput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const SharePointIsFollowedOutput: z.ZodObject<{
|
|
12
12
|
is_followed: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const sharePointIsFollowed: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
actor_type: 0 | 1 | 2 | 3;
|
|
16
16
|
tag_guid?: string | undefined;
|
|
@@ -10,7 +10,7 @@ declare const SharePointIsFollowedInput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const SharePointIsFollowedOutput: z.ZodObject<{
|
|
12
12
|
is_followed: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const sharePointIsFollowed: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
actor_type: 0 | 1 | 2 | 3;
|
|
16
16
|
tag_guid?: string | undefined;
|
|
@@ -16,7 +16,7 @@ const sharePointIsFollowed = action("SHARE_POINT_IS_FOLLOWED", {
|
|
|
16
16
|
content_uri: z.string().describe("URI of the document or site when actor_type=1 or 2, e.g., 'http://server/site'.").optional(),
|
|
17
17
|
account_name: z.string().describe("Account name for a user when actor_type=0, in claims format, e.g., 'i:0#.f|membership|user@domain.com'.").optional()
|
|
18
18
|
}).describe("Request parameters to check if the current user follows a SharePoint actor."),
|
|
19
|
-
output: z.object({ is_followed: z.boolean().describe("True if the current user follows the specified actor.").nullable() })
|
|
19
|
+
output: z.object({ is_followed: z.boolean().describe("True if the current user follows the specified actor.").nullable() }).passthrough()
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { sharePointIsFollowed };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-followed.mjs","names":[],"sources":["../../src/actions/is-followed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointIsFollowedInput = z.object({\n tag_guid: z.string().describe(\"GUID of the tag when actor_type=3.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n actor_type: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the actor to check: 0=user, 1=document, 2=site, 3=tag.\"),\n content_uri: z.string().describe(\"URI of the document or site when actor_type=1 or 2, e.g., 'http://server/site'.\").optional(),\n account_name: z.string().describe(\"Account name for a user when actor_type=0, in claims format, e.g., 'i:0#.f|membership|user@domain.com'.\").optional(),\n}).describe(\"Request parameters to check if the current user follows a SharePoint actor.\");\nexport const SharePointIsFollowedOutput = z.object({\n is_followed: z.boolean().describe(\"True if the current user follows the specified actor.\").nullable(),\n});\n\nexport const sharePointIsFollowed = action(\"SHARE_POINT_IS_FOLLOWED\", {\n slug: \"share_point-is-followed\",\n name: \"Check Follow Status\",\n description: \"Tool to check if the current user is following a specified actor. Use when verifying follow status before performing follow or unfollow operations.\",\n input: SharePointIsFollowedInput,\n output: SharePointIsFollowedOutput,\n});\n"],"mappings":";;AAeA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuC,EAAE,OAAO;EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;EACxO,YAAY,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;EACvJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,SAAS,6EASH;CACP,QATwC,EAAE,OAAO,EACjD,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EACtG,
|
|
1
|
+
{"version":3,"file":"is-followed.mjs","names":[],"sources":["../../src/actions/is-followed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointIsFollowedInput = z.object({\n tag_guid: z.string().describe(\"GUID of the tag when actor_type=3.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n actor_type: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the actor to check: 0=user, 1=document, 2=site, 3=tag.\"),\n content_uri: z.string().describe(\"URI of the document or site when actor_type=1 or 2, e.g., 'http://server/site'.\").optional(),\n account_name: z.string().describe(\"Account name for a user when actor_type=0, in claims format, e.g., 'i:0#.f|membership|user@domain.com'.\").optional(),\n}).describe(\"Request parameters to check if the current user follows a SharePoint actor.\");\nexport const SharePointIsFollowedOutput = z.object({\n is_followed: z.boolean().describe(\"True if the current user follows the specified actor.\").nullable(),\n}).passthrough();\n\nexport const sharePointIsFollowed = action(\"SHARE_POINT_IS_FOLLOWED\", {\n slug: \"share_point-is-followed\",\n name: \"Check Follow Status\",\n description: \"Tool to check if the current user is following a specified actor. Use when verifying follow status before performing follow or unfollow operations.\",\n input: SharePointIsFollowedInput,\n output: SharePointIsFollowedOutput,\n});\n"],"mappings":";;AAeA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuC,EAAE,OAAO;EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;EACxO,YAAY,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;EACvJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,SAAS,6EASH;CACP,QATwC,EAAE,OAAO,EACjD,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -19,7 +19,7 @@ const SharePointListAllLists_SharePointListMetadataSchema = zod.z.object({
|
|
|
19
19
|
ItemCount: zod.z.number().int().describe("Number of items in the list.").nullable().optional(),
|
|
20
20
|
Description: zod.z.string().describe("The description of the list.").nullable().optional()
|
|
21
21
|
}).passthrough().describe("SharePoint list metadata and properties.");
|
|
22
|
-
const SharePointListAllListsOutput = zod.z.object({ lists: zod.z.array(SharePointListAllLists_SharePointListMetadataSchema).describe("Array of SharePoint list objects with metadata. Each list includes Title, Id, and other properties based on the $select parameter used.") }).describe("Response model for listing all SharePoint lists.");
|
|
22
|
+
const SharePointListAllListsOutput = zod.z.object({ lists: zod.z.array(SharePointListAllLists_SharePointListMetadataSchema).describe("Array of SharePoint list objects with metadata. Each list includes Title, Id, and other properties based on the $select parameter used.") }).passthrough().describe("Response model for listing all SharePoint lists.");
|
|
23
23
|
const sharePointListAllLists = require_action.action("SHARE_POINT_LIST_ALL_LISTS", {
|
|
24
24
|
slug: "share_point-list-all-lists",
|
|
25
25
|
name: "List SharePoint Lists",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-lists.cjs","names":["z","action"],"sources":["../../src/actions/list-all-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointListAllListsInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of results.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results.\").optional(),\n select: z.string().describe(\"OData $select to specify which list fields to return, e.g., 'Title,Id'.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Title desc'.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n skiptoken: z.string().describe(\"OData $skiptoken for paging through results. The token value is returned in the previous response when more results exist; pass it unchanged to retrieve the next page.\").optional(),\n}).describe(\"Optional OData query parameters for listing all SharePoint lists.\");\nconst SharePointListAllLists_SharePointListMetadataSchema = z.object({\n Id: z.string().describe(\"The unique GUID identifier of the list. Only returned when 'Id' is included in the $select parameter or when no $select is specified.\").nullable().optional(),\n Title: z.string().describe(\"The display title of the list.\").nullable(),\n Hidden: z.boolean().describe(\"Whether the list is hidden.\").nullable().optional(),\n Created: z.string().describe(\"ISO 8601 timestamp when the list was created.\").nullable().optional(),\n BaseType: z.number().int().describe(\"The base type of the list (0=GenericList, 1=DocumentLibrary).\").nullable().optional(),\n ItemCount: z.number().int().describe(\"Number of items in the list.\").nullable().optional(),\n Description: z.string().describe(\"The description of the list.\").nullable().optional(),\n}).passthrough().describe(\"SharePoint list metadata and properties.\");\nexport const SharePointListAllListsOutput = z.object({\n lists: z.array(SharePointListAllLists_SharePointListMetadataSchema).describe(\"Array of SharePoint list objects with metadata. Each list includes Title, Id, and other properties based on the $select parameter used.\"),\n}).describe(\"Response model for listing all SharePoint lists.\");\n\nexport const sharePointListAllLists = action(\"SHARE_POINT_LIST_ALL_LISTS\", {\n slug: \"share_point-list-all-lists\",\n name: \"List SharePoint Lists\",\n description: \"Retrieves all lists in the current SharePoint web/site. Use this action to discover available lists and document libraries on a SharePoint site, or to pre-check for existing lists before creation (duplicate list names will fail). Returns metadata for each list including Title, Id, BaseType, ItemCount, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointListAllListsInput,\n output: SharePointListAllListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;AACrN,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yIAAyI,EACxN,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"list-all-lists.cjs","names":["z","action"],"sources":["../../src/actions/list-all-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointListAllListsInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of results.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results.\").optional(),\n select: z.string().describe(\"OData $select to specify which list fields to return, e.g., 'Title,Id'.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Title desc'.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n skiptoken: z.string().describe(\"OData $skiptoken for paging through results. The token value is returned in the previous response when more results exist; pass it unchanged to retrieve the next page.\").optional(),\n}).describe(\"Optional OData query parameters for listing all SharePoint lists.\");\nconst SharePointListAllLists_SharePointListMetadataSchema = z.object({\n Id: z.string().describe(\"The unique GUID identifier of the list. Only returned when 'Id' is included in the $select parameter or when no $select is specified.\").nullable().optional(),\n Title: z.string().describe(\"The display title of the list.\").nullable(),\n Hidden: z.boolean().describe(\"Whether the list is hidden.\").nullable().optional(),\n Created: z.string().describe(\"ISO 8601 timestamp when the list was created.\").nullable().optional(),\n BaseType: z.number().int().describe(\"The base type of the list (0=GenericList, 1=DocumentLibrary).\").nullable().optional(),\n ItemCount: z.number().int().describe(\"Number of items in the list.\").nullable().optional(),\n Description: z.string().describe(\"The description of the list.\").nullable().optional(),\n}).passthrough().describe(\"SharePoint list metadata and properties.\");\nexport const SharePointListAllListsOutput = z.object({\n lists: z.array(SharePointListAllLists_SharePointListMetadataSchema).describe(\"Array of SharePoint list objects with metadata. Each list includes Title, Id, and other properties based on the $select parameter used.\"),\n}).passthrough().describe(\"Response model for listing all SharePoint lists.\");\n\nexport const sharePointListAllLists = action(\"SHARE_POINT_LIST_ALL_LISTS\", {\n slug: \"share_point-list-all-lists\",\n name: \"List SharePoint Lists\",\n description: \"Retrieves all lists in the current SharePoint web/site. Use this action to discover available lists and document libraries on a SharePoint site, or to pre-check for existing lists before creation (duplicate list names will fail). Returns metadata for each list including Title, Id, BaseType, ItemCount, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointListAllListsInput,\n output: SharePointListAllListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;AACrN,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yIAAyI,EACxN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const SharePointListAllListsOutput: z.ZodObject<{
|
|
|
20
20
|
ItemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
}, z.core.$loose>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const sharePointListAllLists: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
top?: number | undefined;
|
|
26
26
|
expand?: string | undefined;
|
|
@@ -20,7 +20,7 @@ declare const SharePointListAllListsOutput: z.ZodObject<{
|
|
|
20
20
|
ItemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
}, z.core.$loose>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const sharePointListAllLists: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
top?: number | undefined;
|
|
26
26
|
expand?: string | undefined;
|
|
@@ -24,7 +24,7 @@ const sharePointListAllLists = action("SHARE_POINT_LIST_ALL_LISTS", {
|
|
|
24
24
|
name: "List SharePoint Lists",
|
|
25
25
|
description: "Retrieves all lists in the current SharePoint web/site. Use this action to discover available lists and document libraries on a SharePoint site, or to pre-check for existing lists before creation (duplicate list names will fail). Returns metadata for each list including Title, Id, BaseType, ItemCount, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.",
|
|
26
26
|
input: SharePointListAllListsInput,
|
|
27
|
-
output: z.object({ lists: z.array(SharePointListAllLists_SharePointListMetadataSchema).describe("Array of SharePoint list objects with metadata. Each list includes Title, Id, and other properties based on the $select parameter used.") }).describe("Response model for listing all SharePoint lists.")
|
|
27
|
+
output: z.object({ lists: z.array(SharePointListAllLists_SharePointListMetadataSchema).describe("Array of SharePoint list objects with metadata. Each list includes Title, Id, and other properties based on the $select parameter used.") }).passthrough().describe("Response model for listing all SharePoint lists.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { sharePointListAllLists };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-lists.mjs","names":[],"sources":["../../src/actions/list-all-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointListAllListsInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of results.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results.\").optional(),\n select: z.string().describe(\"OData $select to specify which list fields to return, e.g., 'Title,Id'.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Title desc'.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n skiptoken: z.string().describe(\"OData $skiptoken for paging through results. The token value is returned in the previous response when more results exist; pass it unchanged to retrieve the next page.\").optional(),\n}).describe(\"Optional OData query parameters for listing all SharePoint lists.\");\nconst SharePointListAllLists_SharePointListMetadataSchema = z.object({\n Id: z.string().describe(\"The unique GUID identifier of the list. Only returned when 'Id' is included in the $select parameter or when no $select is specified.\").nullable().optional(),\n Title: z.string().describe(\"The display title of the list.\").nullable(),\n Hidden: z.boolean().describe(\"Whether the list is hidden.\").nullable().optional(),\n Created: z.string().describe(\"ISO 8601 timestamp when the list was created.\").nullable().optional(),\n BaseType: z.number().int().describe(\"The base type of the list (0=GenericList, 1=DocumentLibrary).\").nullable().optional(),\n ItemCount: z.number().int().describe(\"Number of items in the list.\").nullable().optional(),\n Description: z.string().describe(\"The description of the list.\").nullable().optional(),\n}).passthrough().describe(\"SharePoint list metadata and properties.\");\nexport const SharePointListAllListsOutput = z.object({\n lists: z.array(SharePointListAllLists_SharePointListMetadataSchema).describe(\"Array of SharePoint list objects with metadata. Each list includes Title, Id, and other properties based on the $select parameter used.\"),\n}).describe(\"Response model for listing all SharePoint lists.\");\n\nexport const sharePointListAllLists = action(\"SHARE_POINT_LIST_ALL_LISTS\", {\n slug: \"share_point-list-all-lists\",\n name: \"List SharePoint Lists\",\n description: \"Retrieves all lists in the current SharePoint web/site. Use this action to discover available lists and document libraries on a SharePoint site, or to pre-check for existing lists before creation (duplicate list names will fail). Returns metadata for each list including Title, Id, BaseType, ItemCount, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointListAllListsInput,\n output: SharePointListAllListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;AACrN,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,OAAO,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yIAAyI,EACxN,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"list-all-lists.mjs","names":[],"sources":["../../src/actions/list-all-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointListAllListsInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of results.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results.\").optional(),\n select: z.string().describe(\"OData $select to specify which list fields to return, e.g., 'Title,Id'.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Title desc'.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n skiptoken: z.string().describe(\"OData $skiptoken for paging through results. The token value is returned in the previous response when more results exist; pass it unchanged to retrieve the next page.\").optional(),\n}).describe(\"Optional OData query parameters for listing all SharePoint lists.\");\nconst SharePointListAllLists_SharePointListMetadataSchema = z.object({\n Id: z.string().describe(\"The unique GUID identifier of the list. Only returned when 'Id' is included in the $select parameter or when no $select is specified.\").nullable().optional(),\n Title: z.string().describe(\"The display title of the list.\").nullable(),\n Hidden: z.boolean().describe(\"Whether the list is hidden.\").nullable().optional(),\n Created: z.string().describe(\"ISO 8601 timestamp when the list was created.\").nullable().optional(),\n BaseType: z.number().int().describe(\"The base type of the list (0=GenericList, 1=DocumentLibrary).\").nullable().optional(),\n ItemCount: z.number().int().describe(\"Number of items in the list.\").nullable().optional(),\n Description: z.string().describe(\"The description of the list.\").nullable().optional(),\n}).passthrough().describe(\"SharePoint list metadata and properties.\");\nexport const SharePointListAllListsOutput = z.object({\n lists: z.array(SharePointListAllLists_SharePointListMetadataSchema).describe(\"Array of SharePoint list objects with metadata. Each list includes Title, Id, and other properties based on the $select parameter used.\"),\n}).passthrough().describe(\"Response model for listing all SharePoint lists.\");\n\nexport const sharePointListAllLists = action(\"SHARE_POINT_LIST_ALL_LISTS\", {\n slug: \"share_point-list-all-lists\",\n name: \"List SharePoint Lists\",\n description: \"Retrieves all lists in the current SharePoint web/site. Use this action to discover available lists and document libraries on a SharePoint site, or to pre-check for existing lists before creation (duplicate list names will fail). Returns metadata for each list including Title, Id, BaseType, ItemCount, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointListAllListsInput,\n output: SharePointListAllListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;AACrN,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,OAAO,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yIAAyI,EACxN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const SharePointListDriveChildrenInput = zod.z.object({
|
|
|
10
10
|
folder_id: zod.z.string().describe("The unique identifier of a specific folder within the drive. If not provided, lists root folder children.").optional()
|
|
11
11
|
}).describe("Request parameters for listing children in a SharePoint drive.");
|
|
12
12
|
const SharePointListDriveChildren_FileFacetSchema = zod.z.object({
|
|
13
|
-
hashes: zod.z.
|
|
13
|
+
hashes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Hashes of the file content").nullable().optional(),
|
|
14
14
|
mimeType: zod.z.string().describe("MIME type of the file").nullable().optional()
|
|
15
15
|
}).passthrough().describe("File facet indicating the item is a file.");
|
|
16
16
|
const SharePointListDriveChildren_FolderFacetSchema = zod.z.object({ childCount: zod.z.number().int().describe("Number of children in the folder").nullable().optional() }).passthrough().describe("Folder facet indicating the item is a folder.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-drive-children.cjs","names":["z","action"],"sources":["../../src/actions/list-drive-children.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointListDriveChildrenInput = z.object({\n top: z.number().int().default(200).describe(\"Number of items to return (OData $top parameter). Default is 200.\").optional(),\n filter: z.string().describe(\"OData filter expression. Common values: 'folder ne null' (only folders), 'file ne null' (only files), or custom filters like \\\"name eq 'document.pdf'\\\".\").optional(),\n select: z.string().describe(\"Comma-separated properties to return (e.g., 'id,name,size,folder,file,webUrl').\").optional(),\n orderby: z.string().describe(\"OData orderby expression (e.g., 'name asc', 'lastModifiedDateTime desc').\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. This is the drive ID (GUID) that identifies a specific document library or OneDrive.\"),\n folder_id: z.string().describe(\"The unique identifier of a specific folder within the drive. If not provided, lists root folder children.\").optional(),\n}).describe(\"Request parameters for listing children in a SharePoint drive.\");\nconst SharePointListDriveChildren_FileFacetSchema = z.object({\n hashes: z.
|
|
1
|
+
{"version":3,"file":"list-drive-children.cjs","names":["z","action"],"sources":["../../src/actions/list-drive-children.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointListDriveChildrenInput = z.object({\n top: z.number().int().default(200).describe(\"Number of items to return (OData $top parameter). Default is 200.\").optional(),\n filter: z.string().describe(\"OData filter expression. Common values: 'folder ne null' (only folders), 'file ne null' (only files), or custom filters like \\\"name eq 'document.pdf'\\\".\").optional(),\n select: z.string().describe(\"Comma-separated properties to return (e.g., 'id,name,size,folder,file,webUrl').\").optional(),\n orderby: z.string().describe(\"OData orderby expression (e.g., 'name asc', 'lastModifiedDateTime desc').\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. This is the drive ID (GUID) that identifies a specific document library or OneDrive.\"),\n folder_id: z.string().describe(\"The unique identifier of a specific folder within the drive. If not provided, lists root folder children.\").optional(),\n}).describe(\"Request parameters for listing children in a SharePoint drive.\");\nconst SharePointListDriveChildren_FileFacetSchema = z.object({\n hashes: z.record(z.string(), z.unknown()).describe(\"Hashes of the file content\").nullable().optional(),\n mimeType: z.string().describe(\"MIME type of the file\").nullable().optional(),\n}).passthrough().describe(\"File facet indicating the item is a file.\");\nconst SharePointListDriveChildren_FolderFacetSchema = z.object({\n childCount: z.number().int().describe(\"Number of children in the folder\").nullable().optional(),\n}).passthrough().describe(\"Folder facet indicating the item is a folder.\");\nconst SharePointListDriveChildren_IdentitySchema = z.object({\n id: z.string().describe(\"Unique identifier\").nullable().optional(),\n displayName: z.string().describe(\"Display name\").nullable().optional(),\n}).passthrough().describe(\"Identity information for a user, application, or device.\");\nconst SharePointListDriveChildren_IdentitySetSchema = z.object({\n user: SharePointListDriveChildren_IdentitySchema.nullable().optional(),\n device: SharePointListDriveChildren_IdentitySchema.nullable().optional(),\n application: SharePointListDriveChildren_IdentitySchema.nullable().optional(),\n}).passthrough().describe(\"Identity information about who created or modified an item.\");\nconst SharePointListDriveChildren_FileSystemInfoSchema = z.object({\n createdDateTime: z.string().describe(\"Date and time the item was created (ISO 8601)\").nullable().optional(),\n lastAccessedDateTime: z.string().describe(\"Date and time the item was last accessed (ISO 8601)\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the item was last modified (ISO 8601)\").nullable().optional(),\n}).passthrough().describe(\"File system metadata.\");\nconst SharePointListDriveChildren_ItemReferenceSchema = z.object({\n id: z.string().describe(\"Identifier of the item\").nullable().optional(),\n name: z.string().describe(\"Name of the item\").nullable().optional(),\n path: z.string().describe(\"Path to the item\").nullable().optional(),\n siteId: z.string().describe(\"Identifier of the site\").nullable().optional(),\n driveId: z.string().describe(\"Identifier of the drive\").nullable().optional(),\n}).passthrough().describe(\"Reference to a parent item or drive.\");\nconst SharePointListDriveChildren_DriveItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the item within the drive\").nullable().optional(),\n cTag: z.string().describe(\"ETag for the content of the item\").nullable().optional(),\n eTag: z.string().describe(\"ETag for the entire item (metadata + content)\").nullable().optional(),\n file: SharePointListDriveChildren_FileFacetSchema.nullable().optional(),\n name: z.string().describe(\"Name of the item (filename and extension)\").nullable().optional(),\n size: z.number().int().describe(\"Size of the item in bytes\").nullable().optional(),\n folder: SharePointListDriveChildren_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the resource in the browser\").nullable().optional(),\n createdBy: SharePointListDriveChildren_IdentitySetSchema.nullable().optional(),\n fileSystemInfo: SharePointListDriveChildren_FileSystemInfoSchema.nullable().optional(),\n lastModifiedBy: SharePointListDriveChildren_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time of item creation (ISO 8601)\").nullable().optional(),\n parentReference: SharePointListDriveChildren_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the item was last modified (ISO 8601)\").nullable().optional(),\n}).passthrough().describe(\"Drive item representing a file or folder.\");\nexport const SharePointListDriveChildrenOutput = z.object({\n value: z.array(SharePointListDriveChildren_DriveItemSchema).describe(\"Array of drive items (files and folders) in the specified drive or folder.\"),\n \"@odata.nextLink\": z.string().describe(\"URL for the next page of results if pagination is needed.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing children of a drive or folder.\");\n\nexport const sharePointListDriveChildren = action(\"SHARE_POINT_LIST_DRIVE_CHILDREN\", {\n slug: \"share_point-list-drive-children\",\n name: \"List Drive Children\",\n description: \"Tool to list children (files and folders) in a SharePoint drive using REST API v2.0. Use when you need to enumerate items in a drive's root folder or a specific folder within the drive.\",\n input: SharePointListDriveChildrenInput,\n output: SharePointListDriveChildrenOutput,\n});\n"],"mappings":"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"}
|
|
@@ -15,7 +15,7 @@ declare const SharePointListDriveChildrenOutput: z.ZodObject<{
|
|
|
15
15
|
cTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
eTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
-
hashes: z.ZodOptional<z.ZodNullable<z.
|
|
18
|
+
hashes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
19
|
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
}, z.core.$loose>>>;
|
|
21
21
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -15,7 +15,7 @@ declare const SharePointListDriveChildrenOutput: z.ZodObject<{
|
|
|
15
15
|
cTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
eTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
-
hashes: z.ZodOptional<z.ZodNullable<z.
|
|
18
|
+
hashes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
19
|
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
}, z.core.$loose>>>;
|
|
21
21
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10,7 +10,7 @@ const SharePointListDriveChildrenInput = z.object({
|
|
|
10
10
|
folder_id: z.string().describe("The unique identifier of a specific folder within the drive. If not provided, lists root folder children.").optional()
|
|
11
11
|
}).describe("Request parameters for listing children in a SharePoint drive.");
|
|
12
12
|
const SharePointListDriveChildren_FileFacetSchema = z.object({
|
|
13
|
-
hashes: z.
|
|
13
|
+
hashes: z.record(z.string(), z.unknown()).describe("Hashes of the file content").nullable().optional(),
|
|
14
14
|
mimeType: z.string().describe("MIME type of the file").nullable().optional()
|
|
15
15
|
}).passthrough().describe("File facet indicating the item is a file.");
|
|
16
16
|
const SharePointListDriveChildren_FolderFacetSchema = z.object({ childCount: z.number().int().describe("Number of children in the folder").nullable().optional() }).passthrough().describe("Folder facet indicating the item is a folder.");
|