@keystrokehq/share_point 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/actions/add-attachment-to-list-item.cjs +1 -1
- package/dist/actions/add-attachment-to-list-item.cjs.map +1 -1
- package/dist/actions/add-attachment-to-list-item.d.cts +14 -2
- package/dist/actions/add-attachment-to-list-item.d.mts +14 -2
- package/dist/actions/add-attachment-to-list-item.mjs +1 -1
- package/dist/actions/add-attachment-to-list-item.mjs.map +1 -1
- package/dist/actions/add-field-link-to-content-type.cjs +2 -2
- package/dist/actions/add-field-link-to-content-type.cjs.map +1 -1
- package/dist/actions/add-field-link-to-content-type.d.cts +15 -3
- package/dist/actions/add-field-link-to-content-type.d.mts +15 -3
- package/dist/actions/add-field-link-to-content-type.mjs +2 -2
- package/dist/actions/add-field-link-to-content-type.mjs.map +1 -1
- package/dist/actions/add-role-assignment-to-item.cjs +1 -1
- package/dist/actions/add-role-assignment-to-item.cjs.map +1 -1
- package/dist/actions/add-role-assignment-to-item.d.cts +14 -2
- package/dist/actions/add-role-assignment-to-item.d.mts +14 -2
- package/dist/actions/add-role-assignment-to-item.mjs +1 -1
- package/dist/actions/add-role-assignment-to-item.mjs.map +1 -1
- package/dist/actions/add-role-assignment-to-list.cjs +1 -1
- package/dist/actions/add-role-assignment-to-list.cjs.map +1 -1
- package/dist/actions/add-role-assignment-to-list.d.cts +14 -2
- package/dist/actions/add-role-assignment-to-list.d.mts +14 -2
- package/dist/actions/add-role-assignment-to-list.mjs +1 -1
- package/dist/actions/add-role-assignment-to-list.mjs.map +1 -1
- package/dist/actions/break-role-inheritance-on-item.cjs +1 -1
- package/dist/actions/break-role-inheritance-on-item.cjs.map +1 -1
- package/dist/actions/break-role-inheritance-on-item.d.cts +14 -2
- package/dist/actions/break-role-inheritance-on-item.d.mts +14 -2
- package/dist/actions/break-role-inheritance-on-item.mjs +1 -1
- package/dist/actions/break-role-inheritance-on-item.mjs.map +1 -1
- package/dist/actions/break-role-inheritance-on-list.cjs +1 -1
- package/dist/actions/break-role-inheritance-on-list.cjs.map +1 -1
- package/dist/actions/break-role-inheritance-on-list.d.cts +14 -2
- package/dist/actions/break-role-inheritance-on-list.d.mts +14 -2
- package/dist/actions/break-role-inheritance-on-list.mjs +1 -1
- package/dist/actions/break-role-inheritance-on-list.mjs.map +1 -1
- package/dist/actions/check-in-file.cjs +1 -1
- package/dist/actions/check-in-file.cjs.map +1 -1
- package/dist/actions/check-in-file.d.cts +14 -2
- package/dist/actions/check-in-file.d.mts +14 -2
- package/dist/actions/check-in-file.mjs +1 -1
- package/dist/actions/check-in-file.mjs.map +1 -1
- package/dist/actions/create-content-type.cjs +2 -2
- package/dist/actions/create-content-type.cjs.map +1 -1
- package/dist/actions/create-content-type.d.cts +15 -3
- package/dist/actions/create-content-type.d.mts +15 -3
- package/dist/actions/create-content-type.mjs +2 -2
- package/dist/actions/create-content-type.mjs.map +1 -1
- package/dist/actions/create-drive-item-sharing-link.cjs +3 -3
- package/dist/actions/create-drive-item-sharing-link.cjs.map +1 -1
- package/dist/actions/create-drive-item-sharing-link.d.cts +16 -4
- package/dist/actions/create-drive-item-sharing-link.d.mts +16 -4
- package/dist/actions/create-drive-item-sharing-link.mjs +3 -3
- package/dist/actions/create-drive-item-sharing-link.mjs.map +1 -1
- package/dist/actions/create-list-field.cjs +1 -1
- package/dist/actions/create-list-field.cjs.map +1 -1
- package/dist/actions/create-list-field.d.cts +14 -2
- package/dist/actions/create-list-field.d.mts +14 -2
- package/dist/actions/create-list-field.mjs +1 -1
- package/dist/actions/create-list-field.mjs.map +1 -1
- package/dist/actions/create-list-item-by-id.cjs +2 -2
- package/dist/actions/create-list-item-by-id.cjs.map +1 -1
- package/dist/actions/create-list-item-by-id.d.cts +16 -4
- package/dist/actions/create-list-item-by-id.d.cts.map +1 -1
- package/dist/actions/create-list-item-by-id.d.mts +16 -4
- package/dist/actions/create-list-item-by-id.d.mts.map +1 -1
- package/dist/actions/create-list-item-by-id.mjs +2 -2
- package/dist/actions/create-list-item-by-id.mjs.map +1 -1
- package/dist/actions/create-list-item-in-folder.cjs +3 -3
- package/dist/actions/create-list-item-in-folder.cjs.map +1 -1
- package/dist/actions/create-list-item-in-folder.d.cts +17 -4
- package/dist/actions/create-list-item-in-folder.d.mts +17 -4
- package/dist/actions/create-list-item-in-folder.mjs +3 -3
- package/dist/actions/create-list-item-in-folder.mjs.map +1 -1
- package/dist/actions/create-web.cjs +1 -1
- package/dist/actions/create-web.cjs.map +1 -1
- package/dist/actions/create-web.d.cts +14 -2
- package/dist/actions/create-web.d.mts +14 -2
- package/dist/actions/create-web.mjs +1 -1
- package/dist/actions/create-web.mjs.map +1 -1
- package/dist/actions/delete-drive-item-version-content.cjs +1 -1
- package/dist/actions/delete-drive-item-version-content.cjs.map +1 -1
- package/dist/actions/delete-drive-item-version-content.d.cts +14 -2
- package/dist/actions/delete-drive-item-version-content.d.mts +14 -2
- package/dist/actions/delete-drive-item-version-content.mjs +1 -1
- package/dist/actions/delete-drive-item-version-content.mjs.map +1 -1
- package/dist/actions/delete-file-item.cjs +1 -1
- package/dist/actions/delete-file-item.cjs.map +1 -1
- package/dist/actions/delete-file-item.d.cts +14 -2
- package/dist/actions/delete-file-item.d.mts +14 -2
- package/dist/actions/delete-file-item.mjs +1 -1
- package/dist/actions/delete-file-item.mjs.map +1 -1
- package/dist/actions/delete-folder.cjs +1 -1
- package/dist/actions/delete-folder.cjs.map +1 -1
- package/dist/actions/delete-folder.d.cts +14 -2
- package/dist/actions/delete-folder.d.mts +14 -2
- package/dist/actions/delete-folder.mjs +1 -1
- package/dist/actions/delete-folder.mjs.map +1 -1
- package/dist/actions/delete-list-by-title.cjs +1 -1
- package/dist/actions/delete-list-by-title.cjs.map +1 -1
- package/dist/actions/delete-list-by-title.d.cts +14 -2
- package/dist/actions/delete-list-by-title.d.mts +14 -2
- package/dist/actions/delete-list-by-title.mjs +1 -1
- package/dist/actions/delete-list-by-title.mjs.map +1 -1
- package/dist/actions/delete-list-item.cjs +1 -1
- package/dist/actions/delete-list-item.cjs.map +1 -1
- package/dist/actions/delete-list-item.d.cts +14 -2
- package/dist/actions/delete-list-item.d.mts +14 -2
- package/dist/actions/delete-list-item.mjs +1 -1
- package/dist/actions/delete-list-item.mjs.map +1 -1
- package/dist/actions/delete-list-items.cjs +2 -2
- package/dist/actions/delete-list-items.cjs.map +1 -1
- package/dist/actions/delete-list-items.d.cts +15 -3
- package/dist/actions/delete-list-items.d.mts +15 -3
- package/dist/actions/delete-list-items.mjs +2 -2
- package/dist/actions/delete-list-items.mjs.map +1 -1
- package/dist/actions/delete-list.cjs +1 -1
- package/dist/actions/delete-list.cjs.map +1 -1
- package/dist/actions/delete-list.d.cts +14 -2
- package/dist/actions/delete-list.d.mts +14 -2
- package/dist/actions/delete-list.mjs +1 -1
- package/dist/actions/delete-list.mjs.map +1 -1
- package/dist/actions/delete-recycle-bin-item-permanent.cjs +1 -1
- package/dist/actions/delete-recycle-bin-item-permanent.cjs.map +1 -1
- package/dist/actions/delete-recycle-bin-item-permanent.d.cts +14 -2
- package/dist/actions/delete-recycle-bin-item-permanent.d.mts +14 -2
- package/dist/actions/delete-recycle-bin-item-permanent.mjs +1 -1
- package/dist/actions/delete-recycle-bin-item-permanent.mjs.map +1 -1
- package/dist/actions/download-file-by-server-relative-url.cjs +2 -2
- package/dist/actions/download-file-by-server-relative-url.cjs.map +1 -1
- package/dist/actions/download-file-by-server-relative-url.d.cts +15 -3
- package/dist/actions/download-file-by-server-relative-url.d.mts +15 -3
- package/dist/actions/download-file-by-server-relative-url.mjs +2 -2
- package/dist/actions/download-file-by-server-relative-url.mjs.map +1 -1
- package/dist/actions/ensure-user.cjs +4 -4
- package/dist/actions/ensure-user.cjs.map +1 -1
- package/dist/actions/ensure-user.d.cts +17 -5
- package/dist/actions/ensure-user.d.mts +17 -5
- package/dist/actions/ensure-user.mjs +4 -4
- package/dist/actions/ensure-user.mjs.map +1 -1
- package/dist/actions/follow.cjs +1 -1
- package/dist/actions/follow.cjs.map +1 -1
- package/dist/actions/follow.d.cts +14 -2
- package/dist/actions/follow.d.mts +14 -2
- package/dist/actions/follow.mjs +1 -1
- package/dist/actions/follow.mjs.map +1 -1
- package/dist/actions/get-all-folders.cjs +1 -1
- package/dist/actions/get-all-folders.cjs.map +1 -1
- package/dist/actions/get-all-folders.d.cts +14 -2
- package/dist/actions/get-all-folders.d.mts +14 -2
- package/dist/actions/get-all-folders.mjs +1 -1
- package/dist/actions/get-all-folders.mjs.map +1 -1
- package/dist/actions/get-changes.cjs +2 -2
- package/dist/actions/get-changes.cjs.map +1 -1
- package/dist/actions/get-changes.d.cts +15 -3
- package/dist/actions/get-changes.d.cts.map +1 -1
- package/dist/actions/get-changes.d.mts +15 -3
- package/dist/actions/get-changes.d.mts.map +1 -1
- package/dist/actions/get-changes.mjs +2 -2
- package/dist/actions/get-changes.mjs.map +1 -1
- package/dist/actions/get-content-type.cjs +2 -2
- package/dist/actions/get-content-type.cjs.map +1 -1
- package/dist/actions/get-content-type.d.cts +15 -3
- package/dist/actions/get-content-type.d.mts +15 -3
- package/dist/actions/get-content-type.mjs +2 -2
- package/dist/actions/get-content-type.mjs.map +1 -1
- package/dist/actions/get-content-types-for-list.cjs +3 -3
- package/dist/actions/get-content-types-for-list.cjs.map +1 -1
- package/dist/actions/get-content-types-for-list.d.cts +16 -4
- package/dist/actions/get-content-types-for-list.d.mts +16 -4
- package/dist/actions/get-content-types-for-list.mjs +3 -3
- package/dist/actions/get-content-types-for-list.mjs.map +1 -1
- package/dist/actions/get-content-types.cjs +3 -3
- package/dist/actions/get-content-types.cjs.map +1 -1
- package/dist/actions/get-content-types.d.cts +16 -4
- package/dist/actions/get-content-types.d.mts +16 -4
- package/dist/actions/get-content-types.mjs +3 -3
- package/dist/actions/get-content-types.mjs.map +1 -1
- package/dist/actions/get-context-info.cjs +2 -2
- package/dist/actions/get-context-info.cjs.map +1 -1
- package/dist/actions/get-context-info.d.cts +15 -3
- package/dist/actions/get-context-info.d.mts +15 -3
- package/dist/actions/get-context-info.mjs +2 -2
- package/dist/actions/get-context-info.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +4 -4
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +19 -7
- package/dist/actions/get-current-user.d.mts +19 -7
- package/dist/actions/get-current-user.mjs +4 -4
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-drive-item-analytics.cjs +2 -2
- package/dist/actions/get-drive-item-analytics.cjs.map +1 -1
- package/dist/actions/get-drive-item-analytics.d.cts +19 -7
- package/dist/actions/get-drive-item-analytics.d.mts +19 -7
- package/dist/actions/get-drive-item-analytics.mjs +2 -2
- package/dist/actions/get-drive-item-analytics.mjs.map +1 -1
- package/dist/actions/get-group-users-by-id.cjs +2 -2
- package/dist/actions/get-group-users-by-id.cjs.map +1 -1
- package/dist/actions/get-group-users-by-id.d.cts +15 -3
- package/dist/actions/get-group-users-by-id.d.mts +15 -3
- package/dist/actions/get-group-users-by-id.mjs +2 -2
- package/dist/actions/get-group-users-by-id.mjs.map +1 -1
- package/dist/actions/get-group-users.cjs +2 -2
- package/dist/actions/get-group-users.cjs.map +1 -1
- package/dist/actions/get-group-users.d.cts +15 -3
- package/dist/actions/get-group-users.d.mts +15 -3
- package/dist/actions/get-group-users.mjs +2 -2
- package/dist/actions/get-group-users.mjs.map +1 -1
- package/dist/actions/get-item-attachment-content.cjs +2 -2
- package/dist/actions/get-item-attachment-content.cjs.map +1 -1
- package/dist/actions/get-item-attachment-content.d.cts +15 -3
- package/dist/actions/get-item-attachment-content.d.mts +15 -3
- package/dist/actions/get-item-attachment-content.mjs +2 -2
- package/dist/actions/get-item-attachment-content.mjs.map +1 -1
- package/dist/actions/get-list-by-guid.d.cts +13 -1
- package/dist/actions/get-list-by-guid.d.mts +13 -1
- package/dist/actions/get-list-by-title.d.cts +13 -1
- package/dist/actions/get-list-by-title.d.mts +13 -1
- package/dist/actions/get-list-content-type-by-id.cjs +3 -3
- package/dist/actions/get-list-content-type-by-id.cjs.map +1 -1
- package/dist/actions/get-list-content-type-by-id.d.cts +16 -4
- package/dist/actions/get-list-content-type-by-id.d.mts +16 -4
- package/dist/actions/get-list-content-type-by-id.mjs +3 -3
- package/dist/actions/get-list-content-type-by-id.mjs.map +1 -1
- package/dist/actions/get-list-item-by-id.d.cts +13 -1
- package/dist/actions/get-list-item-by-id.d.mts +13 -1
- package/dist/actions/get-list-item-version.d.cts +13 -1
- package/dist/actions/get-list-item-version.d.mts +13 -1
- package/dist/actions/get-list-items-by-guid.cjs +1 -1
- package/dist/actions/get-list-items-by-guid.cjs.map +1 -1
- package/dist/actions/get-list-items-by-guid.d.cts +14 -2
- package/dist/actions/get-list-items-by-guid.d.mts +14 -2
- package/dist/actions/get-list-items-by-guid.mjs +1 -1
- package/dist/actions/get-list-items-by-guid.mjs.map +1 -1
- package/dist/actions/get-list-items.cjs +3 -3
- package/dist/actions/get-list-items.cjs.map +1 -1
- package/dist/actions/get-list-items.d.cts +35 -23
- package/dist/actions/get-list-items.d.mts +35 -23
- package/dist/actions/get-list-items.mjs +3 -3
- package/dist/actions/get-list-items.mjs.map +1 -1
- package/dist/actions/get-my-followed.cjs +2 -2
- package/dist/actions/get-my-followed.cjs.map +1 -1
- package/dist/actions/get-my-followed.d.cts +15 -3
- package/dist/actions/get-my-followed.d.mts +15 -3
- package/dist/actions/get-my-followed.mjs +2 -2
- package/dist/actions/get-my-followed.mjs.map +1 -1
- package/dist/actions/get-my-followers.cjs +2 -2
- package/dist/actions/get-my-followers.cjs.map +1 -1
- package/dist/actions/get-my-followers.d.cts +15 -3
- package/dist/actions/get-my-followers.d.mts +15 -3
- package/dist/actions/get-my-followers.mjs +2 -2
- package/dist/actions/get-my-followers.mjs.map +1 -1
- package/dist/actions/get-role-definitions.cjs +3 -3
- package/dist/actions/get-role-definitions.cjs.map +1 -1
- package/dist/actions/get-role-definitions.d.cts +16 -4
- package/dist/actions/get-role-definitions.d.mts +16 -4
- package/dist/actions/get-role-definitions.mjs +3 -3
- package/dist/actions/get-role-definitions.mjs.map +1 -1
- package/dist/actions/get-site-by-hostname.d.cts +13 -1
- package/dist/actions/get-site-by-hostname.d.mts +13 -1
- package/dist/actions/get-site-by-id.cjs +1 -1
- package/dist/actions/get-site-by-id.cjs.map +1 -1
- package/dist/actions/get-site-by-id.d.cts +20 -8
- package/dist/actions/get-site-by-id.d.mts +20 -8
- package/dist/actions/get-site-by-id.mjs +1 -1
- package/dist/actions/get-site-by-id.mjs.map +1 -1
- package/dist/actions/get-site-collection-info.cjs +1 -1
- package/dist/actions/get-site-collection-info.cjs.map +1 -1
- package/dist/actions/get-site-collection-info.d.cts +15 -3
- package/dist/actions/get-site-collection-info.d.mts +15 -3
- package/dist/actions/get-site-collection-info.mjs +1 -1
- package/dist/actions/get-site-collection-info.mjs.map +1 -1
- package/dist/actions/get-site-drive-item-by-path.cjs +4 -4
- package/dist/actions/get-site-drive-item-by-path.cjs.map +1 -1
- package/dist/actions/get-site-drive-item-by-path.d.cts +39 -27
- package/dist/actions/get-site-drive-item-by-path.d.mts +39 -27
- package/dist/actions/get-site-drive-item-by-path.mjs +4 -4
- package/dist/actions/get-site-drive-item-by-path.mjs.map +1 -1
- package/dist/actions/get-site-page-content.d.cts +13 -1
- package/dist/actions/get-site-page-content.d.mts +13 -1
- package/dist/actions/get-site-root.cjs +1 -1
- package/dist/actions/get-site-root.cjs.map +1 -1
- package/dist/actions/get-site-root.d.cts +20 -8
- package/dist/actions/get-site-root.d.mts +20 -8
- package/dist/actions/get-site-root.mjs +1 -1
- package/dist/actions/get-site-root.mjs.map +1 -1
- package/dist/actions/get-user-effective-permissions-on-web.cjs +1 -1
- package/dist/actions/get-user-effective-permissions-on-web.cjs.map +1 -1
- package/dist/actions/get-user-effective-permissions-on-web.d.cts +14 -2
- package/dist/actions/get-user-effective-permissions-on-web.d.mts +14 -2
- package/dist/actions/get-user-effective-permissions-on-web.mjs +1 -1
- package/dist/actions/get-user-effective-permissions-on-web.mjs.map +1 -1
- package/dist/actions/get-web-info.cjs +1 -1
- package/dist/actions/get-web-info.cjs.map +1 -1
- package/dist/actions/get-web-info.d.cts +20 -8
- package/dist/actions/get-web-info.d.mts +20 -8
- package/dist/actions/get-web-info.mjs +1 -1
- package/dist/actions/get-web-info.mjs.map +1 -1
- package/dist/actions/get-webhook-subscription.cjs +1 -1
- package/dist/actions/get-webhook-subscription.cjs.map +1 -1
- package/dist/actions/get-webhook-subscription.d.cts +14 -2
- package/dist/actions/get-webhook-subscription.d.mts +14 -2
- package/dist/actions/get-webhook-subscription.mjs +1 -1
- package/dist/actions/get-webhook-subscription.mjs.map +1 -1
- package/dist/actions/get-webhook-subscriptions.cjs +2 -2
- package/dist/actions/get-webhook-subscriptions.cjs.map +1 -1
- package/dist/actions/get-webhook-subscriptions.d.cts +15 -3
- package/dist/actions/get-webhook-subscriptions.d.mts +15 -3
- package/dist/actions/get-webhook-subscriptions.mjs +2 -2
- package/dist/actions/get-webhook-subscriptions.mjs.map +1 -1
- package/dist/actions/is-followed.cjs +1 -1
- package/dist/actions/is-followed.cjs.map +1 -1
- package/dist/actions/is-followed.d.cts +14 -2
- package/dist/actions/is-followed.d.mts +14 -2
- package/dist/actions/is-followed.mjs +1 -1
- package/dist/actions/is-followed.mjs.map +1 -1
- package/dist/actions/list-all-lists.cjs +1 -1
- package/dist/actions/list-all-lists.cjs.map +1 -1
- package/dist/actions/list-all-lists.d.cts +14 -2
- package/dist/actions/list-all-lists.d.mts +14 -2
- package/dist/actions/list-all-lists.mjs +1 -1
- package/dist/actions/list-all-lists.mjs.map +1 -1
- package/dist/actions/list-drive-children.cjs +1 -1
- package/dist/actions/list-drive-children.cjs.map +1 -1
- package/dist/actions/list-drive-children.d.cts +14 -2
- package/dist/actions/list-drive-children.d.mts +14 -2
- package/dist/actions/list-drive-children.mjs +1 -1
- package/dist/actions/list-drive-children.mjs.map +1 -1
- package/dist/actions/list-drive-recent-items.cjs +1 -1
- package/dist/actions/list-drive-recent-items.cjs.map +1 -1
- package/dist/actions/list-drive-recent-items.d.cts +15 -3
- package/dist/actions/list-drive-recent-items.d.mts +15 -3
- package/dist/actions/list-drive-recent-items.mjs +1 -1
- package/dist/actions/list-drive-recent-items.mjs.map +1 -1
- package/dist/actions/list-drives-rest-api.d.cts +13 -1
- package/dist/actions/list-drives-rest-api.d.mts +13 -1
- package/dist/actions/list-files-in-folder.cjs +1 -1
- package/dist/actions/list-files-in-folder.cjs.map +1 -1
- package/dist/actions/list-files-in-folder.d.cts +14 -2
- package/dist/actions/list-files-in-folder.d.mts +14 -2
- package/dist/actions/list-files-in-folder.mjs +1 -1
- package/dist/actions/list-files-in-folder.mjs.map +1 -1
- package/dist/actions/list-item-attachments.cjs +2 -2
- package/dist/actions/list-item-attachments.cjs.map +1 -1
- package/dist/actions/list-item-attachments.d.cts +15 -3
- package/dist/actions/list-item-attachments.d.mts +15 -3
- package/dist/actions/list-item-attachments.mjs +2 -2
- package/dist/actions/list-item-attachments.mjs.map +1 -1
- package/dist/actions/list-list-columns.cjs +1 -1
- package/dist/actions/list-list-columns.cjs.map +1 -1
- package/dist/actions/list-list-columns.d.cts +14 -2
- package/dist/actions/list-list-columns.d.mts +14 -2
- package/dist/actions/list-list-columns.mjs +1 -1
- package/dist/actions/list-list-columns.mjs.map +1 -1
- package/dist/actions/list-recycle-bin-items.cjs +2 -2
- package/dist/actions/list-recycle-bin-items.cjs.map +1 -1
- package/dist/actions/list-recycle-bin-items.d.cts +15 -3
- package/dist/actions/list-recycle-bin-items.d.mts +15 -3
- package/dist/actions/list-recycle-bin-items.mjs +2 -2
- package/dist/actions/list-recycle-bin-items.mjs.map +1 -1
- package/dist/actions/list-site-drives.d.cts +13 -1
- package/dist/actions/list-site-drives.d.mts +13 -1
- package/dist/actions/list-site-groups.cjs +5 -5
- package/dist/actions/list-site-groups.cjs.map +1 -1
- package/dist/actions/list-site-groups.d.cts +21 -9
- package/dist/actions/list-site-groups.d.mts +21 -9
- package/dist/actions/list-site-groups.mjs +5 -5
- package/dist/actions/list-site-groups.mjs.map +1 -1
- package/dist/actions/list-site-users.cjs +8 -8
- package/dist/actions/list-site-users.cjs.map +1 -1
- package/dist/actions/list-site-users.d.cts +24 -12
- package/dist/actions/list-site-users.d.mts +24 -12
- package/dist/actions/list-site-users.mjs +8 -8
- package/dist/actions/list-site-users.mjs.map +1 -1
- package/dist/actions/list-sites.d.cts +13 -1
- package/dist/actions/list-sites.d.mts +13 -1
- package/dist/actions/list-subfolders-in-folder.cjs +1 -1
- package/dist/actions/list-subfolders-in-folder.cjs.map +1 -1
- package/dist/actions/list-subfolders-in-folder.d.cts +14 -2
- package/dist/actions/list-subfolders-in-folder.d.mts +14 -2
- package/dist/actions/list-subfolders-in-folder.mjs +1 -1
- package/dist/actions/list-subfolders-in-folder.mjs.map +1 -1
- package/dist/actions/log-event.cjs +1 -1
- package/dist/actions/log-event.cjs.map +1 -1
- package/dist/actions/log-event.d.cts +14 -2
- package/dist/actions/log-event.d.mts +14 -2
- package/dist/actions/log-event.mjs +1 -1
- package/dist/actions/log-event.mjs.map +1 -1
- package/dist/actions/recycle-file.cjs +1 -1
- package/dist/actions/recycle-file.cjs.map +1 -1
- package/dist/actions/recycle-file.d.cts +14 -2
- package/dist/actions/recycle-file.d.mts +14 -2
- package/dist/actions/recycle-file.mjs +1 -1
- package/dist/actions/recycle-file.mjs.map +1 -1
- package/dist/actions/recycle-list-item.cjs +1 -1
- package/dist/actions/recycle-list-item.cjs.map +1 -1
- package/dist/actions/recycle-list-item.d.cts +14 -2
- package/dist/actions/recycle-list-item.d.mts +14 -2
- package/dist/actions/recycle-list-item.mjs +1 -1
- package/dist/actions/recycle-list-item.mjs.map +1 -1
- package/dist/actions/rename-folder.cjs +1 -1
- package/dist/actions/rename-folder.cjs.map +1 -1
- package/dist/actions/rename-folder.d.cts +14 -2
- package/dist/actions/rename-folder.d.mts +14 -2
- package/dist/actions/rename-folder.mjs +1 -1
- package/dist/actions/rename-folder.mjs.map +1 -1
- package/dist/actions/render-list-data-as-stream.cjs +2 -2
- package/dist/actions/render-list-data-as-stream.cjs.map +1 -1
- package/dist/actions/render-list-data-as-stream.d.cts +16 -4
- package/dist/actions/render-list-data-as-stream.d.cts.map +1 -1
- package/dist/actions/render-list-data-as-stream.d.mts +16 -4
- package/dist/actions/render-list-data-as-stream.d.mts.map +1 -1
- package/dist/actions/render-list-data-as-stream.mjs +2 -2
- package/dist/actions/render-list-data-as-stream.mjs.map +1 -1
- package/dist/actions/restore-drive-item-version.cjs +1 -1
- package/dist/actions/restore-drive-item-version.cjs.map +1 -1
- package/dist/actions/restore-drive-item-version.d.cts +14 -2
- package/dist/actions/restore-drive-item-version.d.mts +14 -2
- package/dist/actions/restore-drive-item-version.mjs +1 -1
- package/dist/actions/restore-drive-item-version.mjs.map +1 -1
- package/dist/actions/restore-recycle-bin-item.cjs +1 -1
- package/dist/actions/restore-recycle-bin-item.cjs.map +1 -1
- package/dist/actions/restore-recycle-bin-item.d.cts +14 -2
- package/dist/actions/restore-recycle-bin-item.d.mts +14 -2
- package/dist/actions/restore-recycle-bin-item.mjs +1 -1
- package/dist/actions/restore-recycle-bin-item.mjs.map +1 -1
- package/dist/actions/search-files.cjs +14 -14
- package/dist/actions/search-files.cjs.map +1 -1
- package/dist/actions/search-files.d.cts +30 -18
- package/dist/actions/search-files.d.mts +30 -18
- package/dist/actions/search-files.mjs +14 -14
- package/dist/actions/search-files.mjs.map +1 -1
- package/dist/actions/search-query.cjs +10 -10
- package/dist/actions/search-query.cjs.map +1 -1
- package/dist/actions/search-query.d.cts +25 -13
- package/dist/actions/search-query.d.mts +25 -13
- package/dist/actions/search-query.mjs +10 -10
- package/dist/actions/search-query.mjs.map +1 -1
- package/dist/actions/search-suggest.cjs +1 -1
- package/dist/actions/search-suggest.cjs.map +1 -1
- package/dist/actions/search-suggest.d.cts +14 -2
- package/dist/actions/search-suggest.d.mts +14 -2
- package/dist/actions/search-suggest.mjs +1 -1
- package/dist/actions/search-suggest.mjs.map +1 -1
- package/dist/actions/sharepoint-check-out-file.cjs +1 -1
- package/dist/actions/sharepoint-check-out-file.cjs.map +1 -1
- package/dist/actions/sharepoint-check-out-file.d.cts +14 -2
- package/dist/actions/sharepoint-check-out-file.d.mts +14 -2
- package/dist/actions/sharepoint-check-out-file.mjs +1 -1
- package/dist/actions/sharepoint-check-out-file.mjs.map +1 -1
- package/dist/actions/sharepoint-create-folder.cjs +1 -1
- package/dist/actions/sharepoint-create-folder.cjs.map +1 -1
- package/dist/actions/sharepoint-create-folder.d.cts +14 -2
- package/dist/actions/sharepoint-create-folder.d.mts +14 -2
- package/dist/actions/sharepoint-create-folder.mjs +1 -1
- package/dist/actions/sharepoint-create-folder.mjs.map +1 -1
- package/dist/actions/sharepoint-create-list-item.cjs +1 -1
- package/dist/actions/sharepoint-create-list-item.cjs.map +1 -1
- package/dist/actions/sharepoint-create-list-item.d.cts +14 -2
- package/dist/actions/sharepoint-create-list-item.d.cts.map +1 -1
- package/dist/actions/sharepoint-create-list-item.d.mts +14 -2
- package/dist/actions/sharepoint-create-list-item.d.mts.map +1 -1
- package/dist/actions/sharepoint-create-list-item.mjs +1 -1
- package/dist/actions/sharepoint-create-list-item.mjs.map +1 -1
- package/dist/actions/sharepoint-create-list.cjs +1 -1
- package/dist/actions/sharepoint-create-list.cjs.map +1 -1
- package/dist/actions/sharepoint-create-list.d.cts +14 -2
- package/dist/actions/sharepoint-create-list.d.mts +14 -2
- package/dist/actions/sharepoint-create-list.mjs +1 -1
- package/dist/actions/sharepoint-create-list.mjs.map +1 -1
- package/dist/actions/sharepoint-find-user.cjs +2 -2
- package/dist/actions/sharepoint-find-user.cjs.map +1 -1
- package/dist/actions/sharepoint-find-user.d.cts +15 -3
- package/dist/actions/sharepoint-find-user.d.mts +15 -3
- package/dist/actions/sharepoint-find-user.mjs +2 -2
- package/dist/actions/sharepoint-find-user.mjs.map +1 -1
- package/dist/actions/sharepoint-remove-user.cjs +1 -1
- package/dist/actions/sharepoint-remove-user.cjs.map +1 -1
- package/dist/actions/sharepoint-remove-user.d.cts +14 -2
- package/dist/actions/sharepoint-remove-user.d.mts +14 -2
- package/dist/actions/sharepoint-remove-user.mjs +1 -1
- package/dist/actions/sharepoint-remove-user.mjs.map +1 -1
- package/dist/actions/undo-checkout-file.cjs +1 -1
- package/dist/actions/undo-checkout-file.cjs.map +1 -1
- package/dist/actions/undo-checkout-file.d.cts +14 -2
- package/dist/actions/undo-checkout-file.d.mts +14 -2
- package/dist/actions/undo-checkout-file.mjs +1 -1
- package/dist/actions/undo-checkout-file.mjs.map +1 -1
- package/dist/actions/update-content-type.cjs +6 -6
- package/dist/actions/update-content-type.cjs.map +1 -1
- package/dist/actions/update-content-type.d.cts +23 -7
- package/dist/actions/update-content-type.d.mts +23 -7
- package/dist/actions/update-content-type.mjs +6 -6
- package/dist/actions/update-content-type.mjs.map +1 -1
- package/dist/actions/update-drive-item.d.cts +13 -1
- package/dist/actions/update-drive-item.d.mts +13 -1
- package/dist/actions/update-file-item.cjs +2 -2
- package/dist/actions/update-file-item.cjs.map +1 -1
- package/dist/actions/update-file-item.d.cts +16 -4
- package/dist/actions/update-file-item.d.cts.map +1 -1
- package/dist/actions/update-file-item.d.mts +16 -4
- package/dist/actions/update-file-item.d.mts.map +1 -1
- package/dist/actions/update-file-item.mjs +2 -2
- package/dist/actions/update-file-item.mjs.map +1 -1
- package/dist/actions/update-list-item.cjs +2 -2
- package/dist/actions/update-list-item.cjs.map +1 -1
- package/dist/actions/update-list-item.d.cts +16 -4
- package/dist/actions/update-list-item.d.cts.map +1 -1
- package/dist/actions/update-list-item.d.mts +16 -4
- package/dist/actions/update-list-item.d.mts.map +1 -1
- package/dist/actions/update-list-item.mjs +2 -2
- package/dist/actions/update-list-item.mjs.map +1 -1
- package/dist/actions/update-list.cjs +1 -1
- package/dist/actions/update-list.cjs.map +1 -1
- package/dist/actions/update-list.d.cts +14 -2
- package/dist/actions/update-list.d.mts +14 -2
- package/dist/actions/update-list.mjs +1 -1
- package/dist/actions/update-list.mjs.map +1 -1
- package/dist/actions/update-site.cjs +1 -1
- package/dist/actions/update-site.cjs.map +1 -1
- package/dist/actions/update-site.d.cts +14 -2
- package/dist/actions/update-site.d.mts +14 -2
- package/dist/actions/update-site.mjs +1 -1
- package/dist/actions/update-site.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +1 -1
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +14 -2
- package/dist/actions/upload-file.d.mts +14 -2
- package/dist/actions/upload-file.mjs +1 -1
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/actions/upload-from-url.cjs +2 -2
- package/dist/actions/upload-from-url.cjs.map +1 -1
- package/dist/actions/upload-from-url.d.cts +16 -4
- package/dist/actions/upload-from-url.d.cts.map +1 -1
- package/dist/actions/upload-from-url.d.mts +16 -4
- package/dist/actions/upload-from-url.d.mts.map +1 -1
- package/dist/actions/upload-from-url.mjs +2 -2
- package/dist/actions/upload-from-url.mjs.map +1 -1
- package/dist/actions/validate-credential.cjs +1 -1
- package/dist/actions/validate-credential.cjs.map +1 -1
- package/dist/actions/validate-credential.d.cts +14 -2
- package/dist/actions/validate-credential.d.mts +14 -2
- package/dist/actions/validate-credential.mjs +1 -1
- package/dist/actions/validate-credential.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-site-root.mjs","names":[],"sources":["../../src/actions/get-site-root.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetSiteRootInput = z.object({\n expand: z.string().describe(\"OData $expand parameter to expand navigation properties, e.g., 'CurrentUser,Lists,Webs'.\").optional(),\n select: z.string().describe(\"OData $select parameter to specify which fields to return, e.g., 'Id,Title,Url,ServerRelativeUrl'.\").optional(),\n}).describe(\"Request parameters for retrieving the root web of a SharePoint site collection.\");\nconst SharePointGetSiteRoot_DeferredURISchema = z.object({\n uri: z.string().describe(\"URI for deferred navigation property\").nullable(),\n});\nconst SharePointGetSiteRoot_DeferredSchema = z.object({\n __deferred: SharePointGetSiteRoot_DeferredURISchema.nullable(),\n}).passthrough();\nconst SharePointGetSiteRoot_ExpandedEntitySchema = z.record(z.string(), z.unknown()).describe(\"Represents an expanded entity with flexible schema.\");\nexport const SharePointGetSiteRootOutput = z.object({\n Id: z.string().describe(\"GUID that uniquely identifies the root web.\").nullable().optional(),\n Url: z.string().describe(\"Full URL of the root web.\").nullable().optional(),\n Webs: z.union([SharePointGetSiteRoot_DeferredSchema, SharePointGetSiteRoot_ExpandedEntitySchema]).nullable().optional(),\n Lists: z.union([SharePointGetSiteRoot_DeferredSchema, SharePointGetSiteRoot_ExpandedEntitySchema]).nullable().optional(),\n Title: z.string().describe(\"Title of the root web.\").nullable().optional(),\n Created: z.string().describe(\"ISO 8601 timestamp when the root web was created.\").nullable().optional(),\n Language: z.number().int().describe(\"Locale ID (LCID) for the language used by the root web.\").nullable().optional(),\n MasterUrl: z.string().describe(\"Server-relative URL of the master page for the root web.\").nullable().optional(),\n ParentWeb: z.union([SharePointGetSiteRoot_DeferredSchema, SharePointGetSiteRoot_ExpandedEntitySchema]).nullable().optional(),\n SiteUsers: z.union([SharePointGetSiteRoot_DeferredSchema, SharePointGetSiteRoot_ExpandedEntitySchema]).nullable().optional(),\n UIVersion: z.number().int().describe(\"User interface version number for the root web.\").nullable().optional(),\n RootFolder: z.union([SharePointGetSiteRoot_DeferredSchema, SharePointGetSiteRoot_ExpandedEntitySchema]).nullable().optional(),\n SiteGroups: z.union([SharePointGetSiteRoot_DeferredSchema, SharePointGetSiteRoot_ExpandedEntitySchema]).nullable().optional(),\n CurrentUser: z.union([SharePointGetSiteRoot_DeferredSchema, SharePointGetSiteRoot_ExpandedEntitySchema]).nullable().optional(),\n Description: z.string().describe(\"Description of the root web.\").nullable().optional(),\n WebTemplate: z.string().describe(\"Name of the site template applied to the root web.\").nullable().optional(),\n AllowRssFeeds: z.boolean().describe(\"Whether RSS feeds are enabled for the root 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 root 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 root 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 root 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 the root web (SP.Web) of a SharePoint site collection.\");\n\nexport const sharePointGetSiteRoot = action(\"SHARE_POINT_GET_SITE_ROOT\", {\n slug: \"share_point-get-site-root\",\n name: \"Get SharePoint Root Site\",\n description: \"Retrieves metadata about the root web of a SharePoint site collection. Use this action when you need to get information about the root site in a site collection, such as its title, URL, language settings, or template information. This is useful for discovering the top-level site properties before navigating to subsites or performing collection-wide operations.\",\n input: SharePointGetSiteRootInput,\n output: SharePointGetSiteRootOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACjI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,0CAA0C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EAC5E,CAAC;
|
|
1
|
+
{"version":3,"file":"get-site-root.mjs","names":[],"sources":["../../src/actions/get-site-root.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetSiteRootInput = z.object({\n expand: z.string().describe(\"OData $expand parameter to expand navigation properties, e.g., 'CurrentUser,Lists,Webs'.\").optional(),\n select: z.string().describe(\"OData $select parameter to specify which fields to return, e.g., 'Id,Title,Url,ServerRelativeUrl'.\").optional(),\n}).describe(\"Request parameters for retrieving the root web of a SharePoint site collection.\");\nconst SharePointGetSiteRoot_DeferredURISchema = z.object({\n uri: z.string().describe(\"URI for deferred navigation property\").nullable(),\n}).passthrough();\nconst SharePointGetSiteRoot_DeferredSchema = z.object({\n __deferred: SharePointGetSiteRoot_DeferredURISchema.nullable(),\n}).passthrough();\nconst SharePointGetSiteRoot_ExpandedEntitySchema = z.record(z.string(), z.unknown()).describe(\"Represents an expanded entity with flexible schema.\");\nexport const SharePointGetSiteRootOutput = z.object({\n Id: z.string().describe(\"GUID that uniquely identifies the root web.\").nullable().optional(),\n Url: z.string().describe(\"Full URL of the root web.\").nullable().optional(),\n Webs: z.union([SharePointGetSiteRoot_DeferredSchema, SharePointGetSiteRoot_ExpandedEntitySchema]).nullable().optional(),\n Lists: z.union([SharePointGetSiteRoot_DeferredSchema, SharePointGetSiteRoot_ExpandedEntitySchema]).nullable().optional(),\n Title: z.string().describe(\"Title of the root web.\").nullable().optional(),\n Created: z.string().describe(\"ISO 8601 timestamp when the root web was created.\").nullable().optional(),\n Language: z.number().int().describe(\"Locale ID (LCID) for the language used by the root web.\").nullable().optional(),\n MasterUrl: z.string().describe(\"Server-relative URL of the master page for the root web.\").nullable().optional(),\n ParentWeb: z.union([SharePointGetSiteRoot_DeferredSchema, SharePointGetSiteRoot_ExpandedEntitySchema]).nullable().optional(),\n SiteUsers: z.union([SharePointGetSiteRoot_DeferredSchema, SharePointGetSiteRoot_ExpandedEntitySchema]).nullable().optional(),\n UIVersion: z.number().int().describe(\"User interface version number for the root web.\").nullable().optional(),\n RootFolder: z.union([SharePointGetSiteRoot_DeferredSchema, SharePointGetSiteRoot_ExpandedEntitySchema]).nullable().optional(),\n SiteGroups: z.union([SharePointGetSiteRoot_DeferredSchema, SharePointGetSiteRoot_ExpandedEntitySchema]).nullable().optional(),\n CurrentUser: z.union([SharePointGetSiteRoot_DeferredSchema, SharePointGetSiteRoot_ExpandedEntitySchema]).nullable().optional(),\n Description: z.string().describe(\"Description of the root web.\").nullable().optional(),\n WebTemplate: z.string().describe(\"Name of the site template applied to the root web.\").nullable().optional(),\n AllowRssFeeds: z.boolean().describe(\"Whether RSS feeds are enabled for the root 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 root 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 root 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 root 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 the root web (SP.Web) of a SharePoint site collection.\");\n\nexport const sharePointGetSiteRoot = action(\"SHARE_POINT_GET_SITE_ROOT\", {\n slug: \"share_point-get-site-root\",\n name: \"Get SharePoint Root Site\",\n description: \"Retrieves metadata about the root web of a SharePoint site collection. Use this action when you need to get information about the root site in a site collection, such as its title, URL, language settings, or template information. This is useful for discovering the top-level site properties before navigating to subsites or performing collection-wide operations.\",\n input: SharePointGetSiteRootInput,\n output: SharePointGetSiteRootOutput,\n});\n"],"mappings":"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"}
|
|
@@ -8,7 +8,7 @@ const SharePointGetUserEffectivePermissionsOnWebInput = zod.z.object({
|
|
|
8
8
|
const SharePointGetUserEffectivePermissionsOnWebOutput = zod.z.object({
|
|
9
9
|
low: zod.z.string().describe("Low 32 bits of the 64-bit permission mask as a string integer. Represents permissions at bit positions 0-31. Common permissions like ViewListItems, AddListItems, EditListItems are in the low bits.").nullable(),
|
|
10
10
|
high: zod.z.string().describe("High 32 bits of the 64-bit permission mask as a string integer. Represents permissions at bit positions 32-63.").nullable()
|
|
11
|
-
}).describe("Response model containing the user's effective permissions as a 64-bit permission mask.\n\nThe permission mask is represented as two 32-bit integers (high and low) that together\nform a 64-bit bitmask. Each bit position represents a specific SharePoint permission.\nUse bitwise operations to check specific permissions. A value of \"0\" for both high and\nlow indicates no permissions. Non-zero values indicate the user has some permissions.");
|
|
11
|
+
}).passthrough().describe("Response model containing the user's effective permissions as a 64-bit permission mask.\n\nThe permission mask is represented as two 32-bit integers (high and low) that together\nform a 64-bit bitmask. Each bit position represents a specific SharePoint permission.\nUse bitwise operations to check specific permissions. A value of \"0\" for both high and\nlow indicates no permissions. Non-zero values indicate the user has some permissions.");
|
|
12
12
|
const sharePointGetUserEffectivePermissionsOnWeb = require_action.action("SHARE_POINT_GET_USER_EFFECTIVE_PERMISSIONS_ON_WEB", {
|
|
13
13
|
slug: "share_point-get-user-effective-permissions-on-web",
|
|
14
14
|
name: "Get User Effective Permissions on Web",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-effective-permissions-on-web.cjs","names":["z","action"],"sources":["../../src/actions/get-user-effective-permissions-on-web.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetUserEffectivePermissionsOnWebInput = z.object({\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n login_name: z.string().describe(\"Claims-based login name of the user or group whose permissions to retrieve. Provide the unencoded login; the action will URL-encode it automatically. Use list_site_users or get_current_user to obtain valid login names.\"),\n}).describe(\"Request model for retrieving effective permissions of a user on the SharePoint web.\\n\\nlogin_name: Claims-based login name of the user (unencoded).\\n Example: \\\"i:0#.f|membership|user@domain.onmicrosoft.com\\\" for regular users,\\n \\\"c:0(.s|true\\\" for security groups,\\n \\\"i:0#.w|nt service\\\\spsearch\\\" for Windows service accounts.\");\nexport const SharePointGetUserEffectivePermissionsOnWebOutput = z.object({\n low: z.string().describe(\"Low 32 bits of the 64-bit permission mask as a string integer. Represents permissions at bit positions 0-31. Common permissions like ViewListItems, AddListItems, EditListItems are in the low bits.\").nullable(),\n high: z.string().describe(\"High 32 bits of the 64-bit permission mask as a string integer. Represents permissions at bit positions 32-63.\").nullable(),\n}).describe(\"Response model containing the user's effective permissions as a 64-bit permission mask.\\n\\nThe permission mask is represented as two 32-bit integers (high and low) that together\\nform a 64-bit bitmask. Each bit position represents a specific SharePoint permission.\\nUse bitwise operations to check specific permissions. A value of \\\"0\\\" for both high and\\nlow indicates no permissions. Non-zero values indicate the user has some permissions.\");\n\nexport const sharePointGetUserEffectivePermissionsOnWeb = action(\"SHARE_POINT_GET_USER_EFFECTIVE_PERMISSIONS_ON_WEB\", {\n slug: \"share_point-get-user-effective-permissions-on-web\",\n name: \"Get User Effective Permissions on Web\",\n description: \"Get a user's effective permissions on the current SharePoint site (Web). This action retrieves the combined permissions a user has on the site, taking into account direct permissions, group memberships, and permission inheritance. Use this when you need to verify what permissions a user or group has before performing operations. The response contains permission masks as 64-bit integers split into high and low 32-bit values. A value of \\\"0\\\" for both means no permissions. Returns site-level permissions only; list-level or item-level grants and restrictions are not reflected.\",\n input: SharePointGetUserEffectivePermissionsOnWebInput,\n output: SharePointGetUserEffectivePermissionsOnWebOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4NAA4N;AAC9P,CAAC,CAAC,CAAC,SAAS,+XAA+X;AAC3Y,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,CAAC,CAAC,SAAS;CAC1O,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,2bAA2b;
|
|
1
|
+
{"version":3,"file":"get-user-effective-permissions-on-web.cjs","names":["z","action"],"sources":["../../src/actions/get-user-effective-permissions-on-web.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetUserEffectivePermissionsOnWebInput = z.object({\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n login_name: z.string().describe(\"Claims-based login name of the user or group whose permissions to retrieve. Provide the unencoded login; the action will URL-encode it automatically. Use list_site_users or get_current_user to obtain valid login names.\"),\n}).describe(\"Request model for retrieving effective permissions of a user on the SharePoint web.\\n\\nlogin_name: Claims-based login name of the user (unencoded).\\n Example: \\\"i:0#.f|membership|user@domain.onmicrosoft.com\\\" for regular users,\\n \\\"c:0(.s|true\\\" for security groups,\\n \\\"i:0#.w|nt service\\\\spsearch\\\" for Windows service accounts.\");\nexport const SharePointGetUserEffectivePermissionsOnWebOutput = z.object({\n low: z.string().describe(\"Low 32 bits of the 64-bit permission mask as a string integer. Represents permissions at bit positions 0-31. Common permissions like ViewListItems, AddListItems, EditListItems are in the low bits.\").nullable(),\n high: z.string().describe(\"High 32 bits of the 64-bit permission mask as a string integer. Represents permissions at bit positions 32-63.\").nullable(),\n}).passthrough().describe(\"Response model containing the user's effective permissions as a 64-bit permission mask.\\n\\nThe permission mask is represented as two 32-bit integers (high and low) that together\\nform a 64-bit bitmask. Each bit position represents a specific SharePoint permission.\\nUse bitwise operations to check specific permissions. A value of \\\"0\\\" for both high and\\nlow indicates no permissions. Non-zero values indicate the user has some permissions.\");\n\nexport const sharePointGetUserEffectivePermissionsOnWeb = action(\"SHARE_POINT_GET_USER_EFFECTIVE_PERMISSIONS_ON_WEB\", {\n slug: \"share_point-get-user-effective-permissions-on-web\",\n name: \"Get User Effective Permissions on Web\",\n description: \"Get a user's effective permissions on the current SharePoint site (Web). This action retrieves the combined permissions a user has on the site, taking into account direct permissions, group memberships, and permission inheritance. Use this when you need to verify what permissions a user or group has before performing operations. The response contains permission masks as 64-bit integers split into high and low 32-bit values. A value of \\\"0\\\" for both means no permissions. Returns site-level permissions only; list-level or item-level grants and restrictions are not reflected.\",\n input: SharePointGetUserEffectivePermissionsOnWebInput,\n output: SharePointGetUserEffectivePermissionsOnWebOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4NAA4N;AAC9P,CAAC,CAAC,CAAC,SAAS,+XAA+X;AAC3Y,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,CAAC,CAAC,SAAS;CAC1O,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2bAA2b;AAErd,MAAa,6CAA6CC,eAAAA,OAAO,qDAAqD;CACpH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,11 +8,23 @@ declare const SharePointGetUserEffectivePermissionsOnWebInput: z.ZodObject<{
|
|
|
8
8
|
declare const SharePointGetUserEffectivePermissionsOnWebOutput: z.ZodObject<{
|
|
9
9
|
low: z.ZodNullable<z.ZodString>;
|
|
10
10
|
high: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const sharePointGetUserEffectivePermissionsOnWeb: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
login_name: string;
|
|
14
14
|
site_name?: string | undefined;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
16
|
+
connectionId: z.ZodString;
|
|
17
|
+
entityId: z.ZodString;
|
|
18
|
+
instanceId: z.ZodString;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
+
accessToken: z.ZodString;
|
|
21
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
22
|
+
connectionId: z.ZodString;
|
|
23
|
+
entityId: z.ZodString;
|
|
24
|
+
instanceId: z.ZodString;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
accessToken: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>]>;
|
|
16
28
|
//#endregion
|
|
17
29
|
export { sharePointGetUserEffectivePermissionsOnWeb };
|
|
18
30
|
//# sourceMappingURL=get-user-effective-permissions-on-web.d.cts.map
|
|
@@ -8,11 +8,23 @@ declare const SharePointGetUserEffectivePermissionsOnWebInput: z.ZodObject<{
|
|
|
8
8
|
declare const SharePointGetUserEffectivePermissionsOnWebOutput: z.ZodObject<{
|
|
9
9
|
low: z.ZodNullable<z.ZodString>;
|
|
10
10
|
high: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const sharePointGetUserEffectivePermissionsOnWeb: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
login_name: string;
|
|
14
14
|
site_name?: string | undefined;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
16
|
+
connectionId: z.ZodString;
|
|
17
|
+
entityId: z.ZodString;
|
|
18
|
+
instanceId: z.ZodString;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
+
accessToken: z.ZodString;
|
|
21
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
22
|
+
connectionId: z.ZodString;
|
|
23
|
+
entityId: z.ZodString;
|
|
24
|
+
instanceId: z.ZodString;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
accessToken: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>]>;
|
|
16
28
|
//#endregion
|
|
17
29
|
export { sharePointGetUserEffectivePermissionsOnWeb };
|
|
18
30
|
//# sourceMappingURL=get-user-effective-permissions-on-web.d.mts.map
|
|
@@ -11,7 +11,7 @@ const sharePointGetUserEffectivePermissionsOnWeb = action("SHARE_POINT_GET_USER_
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
low: z.string().describe("Low 32 bits of the 64-bit permission mask as a string integer. Represents permissions at bit positions 0-31. Common permissions like ViewListItems, AddListItems, EditListItems are in the low bits.").nullable(),
|
|
13
13
|
high: z.string().describe("High 32 bits of the 64-bit permission mask as a string integer. Represents permissions at bit positions 32-63.").nullable()
|
|
14
|
-
}).describe("Response model containing the user's effective permissions as a 64-bit permission mask.\n\nThe permission mask is represented as two 32-bit integers (high and low) that together\nform a 64-bit bitmask. Each bit position represents a specific SharePoint permission.\nUse bitwise operations to check specific permissions. A value of \"0\" for both high and\nlow indicates no permissions. Non-zero values indicate the user has some permissions.")
|
|
14
|
+
}).passthrough().describe("Response model containing the user's effective permissions as a 64-bit permission mask.\n\nThe permission mask is represented as two 32-bit integers (high and low) that together\nform a 64-bit bitmask. Each bit position represents a specific SharePoint permission.\nUse bitwise operations to check specific permissions. A value of \"0\" for both high and\nlow indicates no permissions. Non-zero values indicate the user has some permissions.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { sharePointGetUserEffectivePermissionsOnWeb };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-effective-permissions-on-web.mjs","names":[],"sources":["../../src/actions/get-user-effective-permissions-on-web.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetUserEffectivePermissionsOnWebInput = z.object({\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n login_name: z.string().describe(\"Claims-based login name of the user or group whose permissions to retrieve. Provide the unencoded login; the action will URL-encode it automatically. Use list_site_users or get_current_user to obtain valid login names.\"),\n}).describe(\"Request model for retrieving effective permissions of a user on the SharePoint web.\\n\\nlogin_name: Claims-based login name of the user (unencoded).\\n Example: \\\"i:0#.f|membership|user@domain.onmicrosoft.com\\\" for regular users,\\n \\\"c:0(.s|true\\\" for security groups,\\n \\\"i:0#.w|nt service\\\\spsearch\\\" for Windows service accounts.\");\nexport const SharePointGetUserEffectivePermissionsOnWebOutput = z.object({\n low: z.string().describe(\"Low 32 bits of the 64-bit permission mask as a string integer. Represents permissions at bit positions 0-31. Common permissions like ViewListItems, AddListItems, EditListItems are in the low bits.\").nullable(),\n high: z.string().describe(\"High 32 bits of the 64-bit permission mask as a string integer. Represents permissions at bit positions 32-63.\").nullable(),\n}).describe(\"Response model containing the user's effective permissions as a 64-bit permission mask.\\n\\nThe permission mask is represented as two 32-bit integers (high and low) that together\\nform a 64-bit bitmask. Each bit position represents a specific SharePoint permission.\\nUse bitwise operations to check specific permissions. A value of \\\"0\\\" for both high and\\nlow indicates no permissions. Non-zero values indicate the user has some permissions.\");\n\nexport const sharePointGetUserEffectivePermissionsOnWeb = action(\"SHARE_POINT_GET_USER_EFFECTIVE_PERMISSIONS_ON_WEB\", {\n slug: \"share_point-get-user-effective-permissions-on-web\",\n name: \"Get User Effective Permissions on Web\",\n description: \"Get a user's effective permissions on the current SharePoint site (Web). This action retrieves the combined permissions a user has on the site, taking into account direct permissions, group memberships, and permission inheritance. Use this when you need to verify what permissions a user or group has before performing operations. The response contains permission masks as 64-bit integers split into high and low 32-bit values. A value of \\\"0\\\" for both means no permissions. Returns site-level permissions only; list-level or item-level grants and restrictions are not reflected.\",\n input: SharePointGetUserEffectivePermissionsOnWebInput,\n output: SharePointGetUserEffectivePermissionsOnWebOutput,\n});\n"],"mappings":";;AAaA,MAAa,6CAA6C,OAAO,qDAAqD;CACpH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6D,EAAE,OAAO;EACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4NAA4N;CAC9P,CAAC,CAAC,CAAC,SAAS,+XAUH;CACP,QAV8D,EAAE,OAAO;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,CAAC,CAAC,SAAS;EAC1O,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-user-effective-permissions-on-web.mjs","names":[],"sources":["../../src/actions/get-user-effective-permissions-on-web.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetUserEffectivePermissionsOnWebInput = z.object({\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n login_name: z.string().describe(\"Claims-based login name of the user or group whose permissions to retrieve. Provide the unencoded login; the action will URL-encode it automatically. Use list_site_users or get_current_user to obtain valid login names.\"),\n}).describe(\"Request model for retrieving effective permissions of a user on the SharePoint web.\\n\\nlogin_name: Claims-based login name of the user (unencoded).\\n Example: \\\"i:0#.f|membership|user@domain.onmicrosoft.com\\\" for regular users,\\n \\\"c:0(.s|true\\\" for security groups,\\n \\\"i:0#.w|nt service\\\\spsearch\\\" for Windows service accounts.\");\nexport const SharePointGetUserEffectivePermissionsOnWebOutput = z.object({\n low: z.string().describe(\"Low 32 bits of the 64-bit permission mask as a string integer. Represents permissions at bit positions 0-31. Common permissions like ViewListItems, AddListItems, EditListItems are in the low bits.\").nullable(),\n high: z.string().describe(\"High 32 bits of the 64-bit permission mask as a string integer. Represents permissions at bit positions 32-63.\").nullable(),\n}).passthrough().describe(\"Response model containing the user's effective permissions as a 64-bit permission mask.\\n\\nThe permission mask is represented as two 32-bit integers (high and low) that together\\nform a 64-bit bitmask. Each bit position represents a specific SharePoint permission.\\nUse bitwise operations to check specific permissions. A value of \\\"0\\\" for both high and\\nlow indicates no permissions. Non-zero values indicate the user has some permissions.\");\n\nexport const sharePointGetUserEffectivePermissionsOnWeb = action(\"SHARE_POINT_GET_USER_EFFECTIVE_PERMISSIONS_ON_WEB\", {\n slug: \"share_point-get-user-effective-permissions-on-web\",\n name: \"Get User Effective Permissions on Web\",\n description: \"Get a user's effective permissions on the current SharePoint site (Web). This action retrieves the combined permissions a user has on the site, taking into account direct permissions, group memberships, and permission inheritance. Use this when you need to verify what permissions a user or group has before performing operations. The response contains permission masks as 64-bit integers split into high and low 32-bit values. A value of \\\"0\\\" for both means no permissions. Returns site-level permissions only; list-level or item-level grants and restrictions are not reflected.\",\n input: SharePointGetUserEffectivePermissionsOnWebInput,\n output: SharePointGetUserEffectivePermissionsOnWebOutput,\n});\n"],"mappings":";;AAaA,MAAa,6CAA6C,OAAO,qDAAqD;CACpH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6D,EAAE,OAAO;EACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4NAA4N;CAC9P,CAAC,CAAC,CAAC,SAAS,+XAUH;CACP,QAV8D,EAAE,OAAO;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,CAAC,CAAC,SAAS;EAC1O,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2bAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const SharePointGetWebInfoInput = zod.z.object({
|
|
|
6
6
|
select: zod.z.string().describe("OData $select to specify fields to return, e.g., 'Id,Title,Url,ServerRelativeUrl'.").optional(),
|
|
7
7
|
site_name: zod.z.string().describe("The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. 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 = zod.z.object({ uri: zod.z.string().describe("URI for deferred navigation property").nullable() });
|
|
9
|
+
const SharePointGetWebInfo_DeferredURISchema = zod.z.object({ uri: zod.z.string().describe("URI for deferred navigation property").nullable() }).passthrough();
|
|
10
10
|
const SharePointGetWebInfo_DeferredSchema = zod.z.object({ __deferred: SharePointGetWebInfo_DeferredURISchema.nullable() }).passthrough();
|
|
11
11
|
const SharePointGetWebInfo_ExpandedEntitySchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Represents an expanded entity with flexible schema.");
|
|
12
12
|
const SharePointGetWebInfoOutput = zod.z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-web-info.cjs","names":["z","action"],"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,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACvH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;AACxO,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO,EACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EAC5E,CAAC;
|
|
1
|
+
{"version":3,"file":"get-web-info.cjs","names":["z","action"],"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,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>>;
|
|
@@ -70,7 +70,19 @@ declare const sharePointGetWebInfo: import("@keystrokehq/action").WorkflowAction
|
|
|
70
70
|
expand?: string | undefined;
|
|
71
71
|
select?: string | undefined;
|
|
72
72
|
site_name?: string | undefined;
|
|
73
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
73
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
74
|
+
connectionId: z.ZodString;
|
|
75
|
+
entityId: z.ZodString;
|
|
76
|
+
instanceId: z.ZodString;
|
|
77
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
78
|
+
accessToken: z.ZodString;
|
|
79
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
80
|
+
connectionId: z.ZodString;
|
|
81
|
+
entityId: z.ZodString;
|
|
82
|
+
instanceId: z.ZodString;
|
|
83
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
+
accessToken: z.ZodString;
|
|
85
|
+
}, z.core.$strip>>]>;
|
|
74
86
|
//#endregion
|
|
75
87
|
export { sharePointGetWebInfo };
|
|
76
88
|
//# sourceMappingURL=get-web-info.d.cts.map
|
|
@@ -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>>;
|
|
@@ -70,7 +70,19 @@ declare const sharePointGetWebInfo: import("@keystrokehq/action").WorkflowAction
|
|
|
70
70
|
expand?: string | undefined;
|
|
71
71
|
select?: string | undefined;
|
|
72
72
|
site_name?: string | undefined;
|
|
73
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
73
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
74
|
+
connectionId: z.ZodString;
|
|
75
|
+
entityId: z.ZodString;
|
|
76
|
+
instanceId: z.ZodString;
|
|
77
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
78
|
+
accessToken: z.ZodString;
|
|
79
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
80
|
+
connectionId: z.ZodString;
|
|
81
|
+
entityId: z.ZodString;
|
|
82
|
+
instanceId: z.ZodString;
|
|
83
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
+
accessToken: z.ZodString;
|
|
85
|
+
}, z.core.$strip>>]>;
|
|
74
86
|
//#endregion
|
|
75
87
|
export { sharePointGetWebInfo };
|
|
76
88
|
//# sourceMappingURL=get-web-info.d.mts.map
|
|
@@ -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,12 +12,24 @@ 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;
|
|
19
19
|
site_name?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
accessToken: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
entityId: z.ZodString;
|
|
29
|
+
instanceId: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
accessToken: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>]>;
|
|
21
33
|
//#endregion
|
|
22
34
|
export { sharePointGetWebhookSubscription };
|
|
23
35
|
//# sourceMappingURL=get-webhook-subscription.d.cts.map
|
|
@@ -12,12 +12,24 @@ 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;
|
|
19
19
|
site_name?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
accessToken: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
entityId: z.ZodString;
|
|
29
|
+
instanceId: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
accessToken: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>]>;
|
|
21
33
|
//#endregion
|
|
22
34
|
export { sharePointGetWebhookSubscription };
|
|
23
35
|
//# sourceMappingURL=get-webhook-subscription.d.mts.map
|
|
@@ -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,12 +12,24 @@ declare const SharePointGetWebhookSubscriptionsOutput: z.ZodObject<{
|
|
|
12
12
|
clientState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
notificationUrl: z.ZodNullable<z.ZodString>;
|
|
14
14
|
expirationDateTime: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const sharePointGetWebhookSubscriptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
list_id: string;
|
|
19
19
|
site_name?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
accessToken: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
entityId: z.ZodString;
|
|
29
|
+
instanceId: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
accessToken: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>]>;
|
|
21
33
|
//#endregion
|
|
22
34
|
export { sharePointGetWebhookSubscriptions };
|
|
23
35
|
//# sourceMappingURL=get-webhook-subscriptions.d.cts.map
|