@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
|
@@ -3,7 +3,7 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/update-file-item.d.ts
|
|
4
4
|
declare const SharePointUpdateFileItemInput: z.ZodObject<{
|
|
5
5
|
etag: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6
|
-
fields: z.
|
|
6
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
7
|
site_name: z.ZodOptional<z.ZodString>;
|
|
8
8
|
server_relative_url: z.ZodString;
|
|
9
9
|
entity_type_full_name: z.ZodOptional<z.ZodString>;
|
|
@@ -13,14 +13,26 @@ declare const SharePointUpdateFileItemOutput: z.ZodObject<{
|
|
|
13
13
|
message: z.ZodNullable<z.ZodString>;
|
|
14
14
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
15
15
|
server_relative_url: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const sharePointUpdateFileItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
-
fields: Record<string,
|
|
18
|
+
fields: Record<string, unknown>;
|
|
19
19
|
server_relative_url: string;
|
|
20
20
|
etag?: string | undefined;
|
|
21
21
|
site_name?: string | undefined;
|
|
22
22
|
entity_type_full_name?: string | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
24
|
+
connectionId: z.ZodString;
|
|
25
|
+
entityId: z.ZodString;
|
|
26
|
+
instanceId: z.ZodString;
|
|
27
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
+
accessToken: z.ZodString;
|
|
29
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
30
|
+
connectionId: z.ZodString;
|
|
31
|
+
entityId: z.ZodString;
|
|
32
|
+
instanceId: z.ZodString;
|
|
33
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
+
accessToken: z.ZodString;
|
|
35
|
+
}, z.core.$strip>>]>;
|
|
24
36
|
//#endregion
|
|
25
37
|
export { sharePointUpdateFileItem };
|
|
26
38
|
//# sourceMappingURL=update-file-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-file-item.d.cts","names":[],"sources":["../../src/actions/update-file-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,gCAAwB,wBAAA
|
|
1
|
+
{"version":3,"file":"update-file-item.d.cts","names":[],"sources":["../../src/actions/update-file-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -3,7 +3,7 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/update-file-item.d.ts
|
|
4
4
|
declare const SharePointUpdateFileItemInput: z.ZodObject<{
|
|
5
5
|
etag: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6
|
-
fields: z.
|
|
6
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
7
|
site_name: z.ZodOptional<z.ZodString>;
|
|
8
8
|
server_relative_url: z.ZodString;
|
|
9
9
|
entity_type_full_name: z.ZodOptional<z.ZodString>;
|
|
@@ -13,14 +13,26 @@ declare const SharePointUpdateFileItemOutput: z.ZodObject<{
|
|
|
13
13
|
message: z.ZodNullable<z.ZodString>;
|
|
14
14
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
15
15
|
server_relative_url: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const sharePointUpdateFileItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
-
fields: Record<string,
|
|
18
|
+
fields: Record<string, unknown>;
|
|
19
19
|
server_relative_url: string;
|
|
20
20
|
etag?: string | undefined;
|
|
21
21
|
site_name?: string | undefined;
|
|
22
22
|
entity_type_full_name?: string | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
24
|
+
connectionId: z.ZodString;
|
|
25
|
+
entityId: z.ZodString;
|
|
26
|
+
instanceId: z.ZodString;
|
|
27
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
+
accessToken: z.ZodString;
|
|
29
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
30
|
+
connectionId: z.ZodString;
|
|
31
|
+
entityId: z.ZodString;
|
|
32
|
+
instanceId: z.ZodString;
|
|
33
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
+
accessToken: z.ZodString;
|
|
35
|
+
}, z.core.$strip>>]>;
|
|
24
36
|
//#endregion
|
|
25
37
|
export { sharePointUpdateFileItem };
|
|
26
38
|
//# sourceMappingURL=update-file-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-file-item.d.mts","names":[],"sources":["../../src/actions/update-file-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,gCAAwB,wBAAA
|
|
1
|
+
{"version":3,"file":"update-file-item.d.mts","names":[],"sources":["../../src/actions/update-file-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -6,7 +6,7 @@ const sharePointUpdateFileItem = action("SHARE_POINT_UPDATE_FILE_ITEM", {
|
|
|
6
6
|
description: "Tool to update metadata fields on a SharePoint file item via its ListItemAllFields. Use this action when you need to modify document properties, custom columns, or metadata without changing the file content itself. This operates on the list item behind the file, allowing you to set Title, Status, Owner, Categories, or any other library column.",
|
|
7
7
|
input: z.object({
|
|
8
8
|
etag: z.string().default("*").describe("ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates. Format: '\"guid,version\"' like '\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\"'.").optional(),
|
|
9
|
-
fields: z.
|
|
9
|
+
fields: z.record(z.string(), z.unknown()).describe("Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item')."),
|
|
10
10
|
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(),
|
|
11
11
|
server_relative_url: z.string().describe("Server-relative URL of the file to update, starting with '/'. E.g., '/Shared Documents/report.pdf' or '/sites/Finance/Documents/W-9.pdf'."),
|
|
12
12
|
entity_type_full_name: z.string().describe("The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.Shared_x0020_DocumentsItem'.").optional()
|
|
@@ -16,7 +16,7 @@ const sharePointUpdateFileItem = action("SHARE_POINT_UPDATE_FILE_ITEM", {
|
|
|
16
16
|
message: z.string().describe("Success message describing the update result.").nullable(),
|
|
17
17
|
success: z.boolean().describe("Indicates whether the update operation succeeded.").nullable(),
|
|
18
18
|
server_relative_url: z.string().describe("The server-relative URL of the updated file.").nullable()
|
|
19
|
-
}).describe("Response model for a successful file item update.")
|
|
19
|
+
}).passthrough().describe("Response model for a successful file item update.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { sharePointUpdateFileItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-file-item.mjs","names":[],"sources":["../../src/actions/update-file-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateFileItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.
|
|
1
|
+
{"version":3,"file":"update-file-item.mjs","names":[],"sources":["../../src/actions/update-file-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateFileItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\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 server_relative_url: z.string().describe(\"Server-relative URL of the file to update, starting with '/'. E.g., '/Shared Documents/report.pdf' or '/sites/Finance/Documents/W-9.pdf'.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.Shared_x0020_DocumentsItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint file item's metadata fields.\");\nexport const SharePointUpdateFileItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n server_relative_url: z.string().describe(\"The server-relative URL of the updated file.\").nullable(),\n}).passthrough().describe(\"Response model for a successful file item update.\");\n\nexport const sharePointUpdateFileItem = action(\"SHARE_POINT_UPDATE_FILE_ITEM\", {\n slug: \"share_point-update-file-item\",\n name: \"Update File Item Metadata\",\n description: \"Tool to update metadata fields on a SharePoint file item via its ListItemAllFields. Use this action when you need to modify document properties, custom columns, or metadata without changing the file content itself. This operates on the list item behind the file, allowing you to set Title, Status, Owner, Categories, or any other library column.\",\n input: SharePointUpdateFileItemInput,\n output: SharePointUpdateFileItemOutput,\n});\n"],"mappings":";;AAkBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS;EAC/Q,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0bAA0b;EAC7e,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;EACpL,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,qNAAqN,CAAC,CAAC,SAAS;CAC7Q,CAAC,CAAC,CAAC,SAAS,sEAYH;CACP,QAZ4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -3,7 +3,7 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/update-list-item.ts
|
|
4
4
|
const SharePointUpdateListItemInput = zod.z.object({
|
|
5
5
|
etag: zod.z.string().default("*").describe("ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag (from GET_LIST_ITEM_ETAG tool) to ensure safe concurrent updates. Format: '\"guid,version\"' like '\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\"'.").optional(),
|
|
6
|
-
fields: zod.z.
|
|
6
|
+
fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item')."),
|
|
7
7
|
item_id: zod.z.number().int().describe("Numeric ID of the list item to update."),
|
|
8
8
|
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(),
|
|
9
9
|
list_title: zod.z.string().describe("The exact title of the SharePoint list containing the item to update."),
|
|
@@ -14,7 +14,7 @@ const SharePointUpdateListItemOutput = zod.z.object({
|
|
|
14
14
|
item_id: zod.z.number().int().describe("The ID of the updated list item.").nullable(),
|
|
15
15
|
message: zod.z.string().describe("Success message describing the update result.").nullable(),
|
|
16
16
|
success: zod.z.boolean().describe("Indicates whether the update operation succeeded.").nullable()
|
|
17
|
-
}).describe("Response model for a successful list item update.");
|
|
17
|
+
}).passthrough().describe("Response model for a successful list item update.");
|
|
18
18
|
const sharePointUpdateListItem = require_action.action("SHARE_POINT_UPDATE_LIST_ITEM", {
|
|
19
19
|
slug: "share_point-update-list-item",
|
|
20
20
|
name: "Update SharePoint List Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-list-item.cjs","names":["z","action"],"sources":["../../src/actions/update-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag (from GET_LIST_ITEM_ETAG tool) to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.
|
|
1
|
+
{"version":3,"file":"update-list-item.cjs","names":["z","action"],"sources":["../../src/actions/update-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag (from GET_LIST_ITEM_ETAG tool) to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\n item_id: z.number().int().describe(\"Numeric ID of the list item to update.\"),\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 list_title: z.string().describe(\"The exact title of the SharePoint list containing the item to update.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically using GET_LIST_ITEM_ENTITY_TYPE_FULL_NAME. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.TasksListItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint list item.\");\nexport const SharePointUpdateListItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n item_id: z.number().int().describe(\"The ID of the updated list item.\").nullable(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).passthrough().describe(\"Response model for a successful list item update.\");\n\nexport const sharePointUpdateListItem = action(\"SHARE_POINT_UPDATE_LIST_ITEM\", {\n slug: \"share_point-update-list-item\",\n name: \"Update SharePoint List Item\",\n description: \"Tool to update fields on an existing SharePoint list item. Use when you need to modify an item's properties with proper ETag concurrency control via MERGE.\",\n input: SharePointUpdateListItemInput,\n output: SharePointUpdateListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,4PAA4P,CAAC,CAAC,SAAS;CAC9S,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0bAA0b;CAC7e,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACvG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP,CAAC,CAAC,SAAS;AAC1S,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/update-list-item.d.ts
|
|
4
4
|
declare const SharePointUpdateListItemInput: z.ZodObject<{
|
|
5
5
|
etag: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6
|
-
fields: z.
|
|
6
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
7
|
item_id: z.ZodNumber;
|
|
8
8
|
site_name: z.ZodOptional<z.ZodString>;
|
|
9
9
|
list_title: z.ZodString;
|
|
@@ -14,15 +14,27 @@ declare const SharePointUpdateListItemOutput: z.ZodObject<{
|
|
|
14
14
|
item_id: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
message: z.ZodNullable<z.ZodString>;
|
|
16
16
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const sharePointUpdateListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
-
fields: Record<string,
|
|
19
|
+
fields: Record<string, unknown>;
|
|
20
20
|
item_id: number;
|
|
21
21
|
list_title: string;
|
|
22
22
|
etag?: string | undefined;
|
|
23
23
|
site_name?: string | undefined;
|
|
24
24
|
entity_type_full_name?: string | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
26
|
+
connectionId: z.ZodString;
|
|
27
|
+
entityId: z.ZodString;
|
|
28
|
+
instanceId: z.ZodString;
|
|
29
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
+
accessToken: z.ZodString;
|
|
31
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
32
|
+
connectionId: z.ZodString;
|
|
33
|
+
entityId: z.ZodString;
|
|
34
|
+
instanceId: z.ZodString;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
accessToken: z.ZodString;
|
|
37
|
+
}, z.core.$strip>>]>;
|
|
26
38
|
//#endregion
|
|
27
39
|
export { sharePointUpdateListItem };
|
|
28
40
|
//# sourceMappingURL=update-list-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-list-item.d.cts","names":[],"sources":["../../src/actions/update-list-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,gCAAwB,wBAAA
|
|
1
|
+
{"version":3,"file":"update-list-item.d.cts","names":[],"sources":["../../src/actions/update-list-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -3,7 +3,7 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/update-list-item.d.ts
|
|
4
4
|
declare const SharePointUpdateListItemInput: z.ZodObject<{
|
|
5
5
|
etag: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6
|
-
fields: z.
|
|
6
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
7
|
item_id: z.ZodNumber;
|
|
8
8
|
site_name: z.ZodOptional<z.ZodString>;
|
|
9
9
|
list_title: z.ZodString;
|
|
@@ -14,15 +14,27 @@ declare const SharePointUpdateListItemOutput: z.ZodObject<{
|
|
|
14
14
|
item_id: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
message: z.ZodNullable<z.ZodString>;
|
|
16
16
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const sharePointUpdateListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
-
fields: Record<string,
|
|
19
|
+
fields: Record<string, unknown>;
|
|
20
20
|
item_id: number;
|
|
21
21
|
list_title: string;
|
|
22
22
|
etag?: string | undefined;
|
|
23
23
|
site_name?: string | undefined;
|
|
24
24
|
entity_type_full_name?: string | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
26
|
+
connectionId: z.ZodString;
|
|
27
|
+
entityId: z.ZodString;
|
|
28
|
+
instanceId: z.ZodString;
|
|
29
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
+
accessToken: z.ZodString;
|
|
31
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
32
|
+
connectionId: z.ZodString;
|
|
33
|
+
entityId: z.ZodString;
|
|
34
|
+
instanceId: z.ZodString;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
accessToken: z.ZodString;
|
|
37
|
+
}, z.core.$strip>>]>;
|
|
26
38
|
//#endregion
|
|
27
39
|
export { sharePointUpdateListItem };
|
|
28
40
|
//# sourceMappingURL=update-list-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-list-item.d.mts","names":[],"sources":["../../src/actions/update-list-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,gCAAwB,wBAAA
|
|
1
|
+
{"version":3,"file":"update-list-item.d.mts","names":[],"sources":["../../src/actions/update-list-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -6,7 +6,7 @@ const sharePointUpdateListItem = action("SHARE_POINT_UPDATE_LIST_ITEM", {
|
|
|
6
6
|
description: "Tool to update fields on an existing SharePoint list item. Use when you need to modify an item's properties with proper ETag concurrency control via MERGE.",
|
|
7
7
|
input: z.object({
|
|
8
8
|
etag: z.string().default("*").describe("ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag (from GET_LIST_ITEM_ETAG tool) to ensure safe concurrent updates. Format: '\"guid,version\"' like '\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\"'.").optional(),
|
|
9
|
-
fields: z.
|
|
9
|
+
fields: z.record(z.string(), z.unknown()).describe("Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item')."),
|
|
10
10
|
item_id: z.number().int().describe("Numeric ID of the list item to update."),
|
|
11
11
|
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(),
|
|
12
12
|
list_title: z.string().describe("The exact title of the SharePoint list containing the item to update."),
|
|
@@ -17,7 +17,7 @@ const sharePointUpdateListItem = action("SHARE_POINT_UPDATE_LIST_ITEM", {
|
|
|
17
17
|
item_id: z.number().int().describe("The ID of the updated list item.").nullable(),
|
|
18
18
|
message: z.string().describe("Success message describing the update result.").nullable(),
|
|
19
19
|
success: z.boolean().describe("Indicates whether the update operation succeeded.").nullable()
|
|
20
|
-
}).describe("Response model for a successful list item update.")
|
|
20
|
+
}).passthrough().describe("Response model for a successful list item update.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { sharePointUpdateListItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-list-item.mjs","names":[],"sources":["../../src/actions/update-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag (from GET_LIST_ITEM_ETAG tool) to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.
|
|
1
|
+
{"version":3,"file":"update-list-item.mjs","names":[],"sources":["../../src/actions/update-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag (from GET_LIST_ITEM_ETAG tool) to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\n item_id: z.number().int().describe(\"Numeric ID of the list item to update.\"),\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 list_title: z.string().describe(\"The exact title of the SharePoint list containing the item to update.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically using GET_LIST_ITEM_ENTITY_TYPE_FULL_NAME. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.TasksListItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint list item.\");\nexport const SharePointUpdateListItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n item_id: z.number().int().describe(\"The ID of the updated list item.\").nullable(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).passthrough().describe(\"Response model for a successful list item update.\");\n\nexport const sharePointUpdateListItem = action(\"SHARE_POINT_UPDATE_LIST_ITEM\", {\n slug: \"share_point-update-list-item\",\n name: \"Update SharePoint List Item\",\n description: \"Tool to update fields on an existing SharePoint list item. Use when you need to modify an item's properties with proper ETag concurrency control via MERGE.\",\n input: SharePointUpdateListItemInput,\n output: SharePointUpdateListItemOutput,\n});\n"],"mappings":";;AAmBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,4PAA4P,CAAC,CAAC,SAAS;EAC9S,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0bAA0b;EAC7e,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACvG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP,CAAC,CAAC,SAAS;CAC1S,CAAC,CAAC,CAAC,SAAS,oDAYH;CACP,QAZ4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const SharePointUpdateListOutput = zod.z.object({
|
|
|
15
15
|
message: zod.z.string().describe("Success message describing the update result.").nullable(),
|
|
16
16
|
success: zod.z.boolean().describe("Indicates whether the update operation succeeded.").nullable(),
|
|
17
17
|
list_guid: zod.z.string().describe("The GUID of the updated list.").nullable()
|
|
18
|
-
}).describe("Response model for a successful list update.");
|
|
18
|
+
}).passthrough().describe("Response model for a successful list update.");
|
|
19
19
|
const sharePointUpdateList = require_action.action("SHARE_POINT_UPDATE_LIST", {
|
|
20
20
|
slug: "share_point-update-list",
|
|
21
21
|
name: "Update SharePoint List",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-list.cjs","names":["z","action"],"sources":["../../src/actions/update-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListInput = z.object({\n title: z.string().describe(\"New title for the list. Provide this to rename the list.\").optional(),\n if_match: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates.\").optional(),\n list_guid: z.string().describe(\"GUID of the SharePoint list to update, in canonical format (e.g., 'a12e3d6e-9414-462d-bd53-cf06f3982ad3').\"),\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 description: z.string().describe(\"New description for the list. Provide this to update the list description.\").optional(),\n enable_versioning: z.boolean().describe(\"Whether versioning is enabled for the list. Set to true to enable, false to disable.\").optional(),\n enable_attachments: z.boolean().describe(\"Whether attachments are enabled for list items. Set to true to enable, false to disable.\").optional(),\n content_types_enabled: z.boolean().describe(\"Whether content types are enabled for the list. Set to true to enable, false to disable.\").optional(),\n}).describe(\"Request model for updating a SharePoint list.\");\nexport const SharePointUpdateListOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n list_guid: z.string().describe(\"The GUID of the updated list.\").nullable(),\n}).describe(\"Response model for a successful list update.\");\n\nexport const sharePointUpdateList = action(\"SHARE_POINT_UPDATE_LIST\", {\n slug: \"share_point-update-list\",\n name: \"Update SharePoint List\",\n description: \"Tool to update properties of an existing SharePoint list. Use when you need to modify list metadata such as title, description, or settings like versioning and attachments.\",\n input: SharePointUpdateListInput,\n output: SharePointUpdateListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CACrM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC3I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACxH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACzI,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC9I,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"update-list.cjs","names":["z","action"],"sources":["../../src/actions/update-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListInput = z.object({\n title: z.string().describe(\"New title for the list. Provide this to rename the list.\").optional(),\n if_match: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates.\").optional(),\n list_guid: z.string().describe(\"GUID of the SharePoint list to update, in canonical format (e.g., 'a12e3d6e-9414-462d-bd53-cf06f3982ad3').\"),\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 description: z.string().describe(\"New description for the list. Provide this to update the list description.\").optional(),\n enable_versioning: z.boolean().describe(\"Whether versioning is enabled for the list. Set to true to enable, false to disable.\").optional(),\n enable_attachments: z.boolean().describe(\"Whether attachments are enabled for list items. Set to true to enable, false to disable.\").optional(),\n content_types_enabled: z.boolean().describe(\"Whether content types are enabled for the list. Set to true to enable, false to disable.\").optional(),\n}).describe(\"Request model for updating a SharePoint list.\");\nexport const SharePointUpdateListOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n list_guid: z.string().describe(\"The GUID of the updated list.\").nullable(),\n}).passthrough().describe(\"Response model for a successful list update.\");\n\nexport const sharePointUpdateList = action(\"SHARE_POINT_UPDATE_LIST\", {\n slug: \"share_point-update-list\",\n name: \"Update SharePoint List\",\n description: \"Tool to update properties of an existing SharePoint list. Use when you need to modify list metadata such as title, description, or settings like versioning and attachments.\",\n input: SharePointUpdateListInput,\n output: SharePointUpdateListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CACrM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC3I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACxH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACzI,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC9I,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const SharePointUpdateListOutput: z.ZodObject<{
|
|
|
15
15
|
message: z.ZodNullable<z.ZodString>;
|
|
16
16
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
17
17
|
list_guid: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const sharePointUpdateList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
list_guid: string;
|
|
21
21
|
title?: string | undefined;
|
|
@@ -25,7 +25,19 @@ declare const sharePointUpdateList: import("@keystrokehq/action").WorkflowAction
|
|
|
25
25
|
enable_versioning?: boolean | undefined;
|
|
26
26
|
enable_attachments?: boolean | undefined;
|
|
27
27
|
content_types_enabled?: boolean | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
accessToken: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
35
|
+
connectionId: z.ZodString;
|
|
36
|
+
entityId: z.ZodString;
|
|
37
|
+
instanceId: z.ZodString;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
accessToken: z.ZodString;
|
|
40
|
+
}, z.core.$strip>>]>;
|
|
29
41
|
//#endregion
|
|
30
42
|
export { sharePointUpdateList };
|
|
31
43
|
//# sourceMappingURL=update-list.d.cts.map
|
|
@@ -15,7 +15,7 @@ declare const SharePointUpdateListOutput: z.ZodObject<{
|
|
|
15
15
|
message: z.ZodNullable<z.ZodString>;
|
|
16
16
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
17
17
|
list_guid: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const sharePointUpdateList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
list_guid: string;
|
|
21
21
|
title?: string | undefined;
|
|
@@ -25,7 +25,19 @@ declare const sharePointUpdateList: import("@keystrokehq/action").WorkflowAction
|
|
|
25
25
|
enable_versioning?: boolean | undefined;
|
|
26
26
|
enable_attachments?: boolean | undefined;
|
|
27
27
|
content_types_enabled?: boolean | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
accessToken: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
35
|
+
connectionId: z.ZodString;
|
|
36
|
+
entityId: z.ZodString;
|
|
37
|
+
instanceId: z.ZodString;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
accessToken: z.ZodString;
|
|
40
|
+
}, z.core.$strip>>]>;
|
|
29
41
|
//#endregion
|
|
30
42
|
export { sharePointUpdateList };
|
|
31
43
|
//# sourceMappingURL=update-list.d.mts.map
|
|
@@ -18,7 +18,7 @@ const sharePointUpdateList = action("SHARE_POINT_UPDATE_LIST", {
|
|
|
18
18
|
message: z.string().describe("Success message describing the update result.").nullable(),
|
|
19
19
|
success: z.boolean().describe("Indicates whether the update operation succeeded.").nullable(),
|
|
20
20
|
list_guid: z.string().describe("The GUID of the updated list.").nullable()
|
|
21
|
-
}).describe("Response model for a successful list update.")
|
|
21
|
+
}).passthrough().describe("Response model for a successful list update.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { sharePointUpdateList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-list.mjs","names":[],"sources":["../../src/actions/update-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListInput = z.object({\n title: z.string().describe(\"New title for the list. Provide this to rename the list.\").optional(),\n if_match: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates.\").optional(),\n list_guid: z.string().describe(\"GUID of the SharePoint list to update, in canonical format (e.g., 'a12e3d6e-9414-462d-bd53-cf06f3982ad3').\"),\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 description: z.string().describe(\"New description for the list. Provide this to update the list description.\").optional(),\n enable_versioning: z.boolean().describe(\"Whether versioning is enabled for the list. Set to true to enable, false to disable.\").optional(),\n enable_attachments: z.boolean().describe(\"Whether attachments are enabled for list items. Set to true to enable, false to disable.\").optional(),\n content_types_enabled: z.boolean().describe(\"Whether content types are enabled for the list. Set to true to enable, false to disable.\").optional(),\n}).describe(\"Request model for updating a SharePoint list.\");\nexport const SharePointUpdateListOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n list_guid: z.string().describe(\"The GUID of the updated list.\").nullable(),\n}).describe(\"Response model for a successful list update.\");\n\nexport const sharePointUpdateList = action(\"SHARE_POINT_UPDATE_LIST\", {\n slug: \"share_point-update-list\",\n name: \"Update SharePoint List\",\n description: \"Tool to update properties of an existing SharePoint list. Use when you need to modify list metadata such as title, description, or settings like versioning and attachments.\",\n input: SharePointUpdateListInput,\n output: SharePointUpdateListOutput,\n});\n"],"mappings":";;AAoBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAChG,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;EACrM,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;EAC3I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACxH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACzI,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EAC9I,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,+CAWH;CACP,QAXwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-list.mjs","names":[],"sources":["../../src/actions/update-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListInput = z.object({\n title: z.string().describe(\"New title for the list. Provide this to rename the list.\").optional(),\n if_match: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates.\").optional(),\n list_guid: z.string().describe(\"GUID of the SharePoint list to update, in canonical format (e.g., 'a12e3d6e-9414-462d-bd53-cf06f3982ad3').\"),\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 description: z.string().describe(\"New description for the list. Provide this to update the list description.\").optional(),\n enable_versioning: z.boolean().describe(\"Whether versioning is enabled for the list. Set to true to enable, false to disable.\").optional(),\n enable_attachments: z.boolean().describe(\"Whether attachments are enabled for list items. Set to true to enable, false to disable.\").optional(),\n content_types_enabled: z.boolean().describe(\"Whether content types are enabled for the list. Set to true to enable, false to disable.\").optional(),\n}).describe(\"Request model for updating a SharePoint list.\");\nexport const SharePointUpdateListOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n list_guid: z.string().describe(\"The GUID of the updated list.\").nullable(),\n}).passthrough().describe(\"Response model for a successful list update.\");\n\nexport const sharePointUpdateList = action(\"SHARE_POINT_UPDATE_LIST\", {\n slug: \"share_point-update-list\",\n name: \"Update SharePoint List\",\n description: \"Tool to update properties of an existing SharePoint list. Use when you need to modify list metadata such as title, description, or settings like versioning and attachments.\",\n input: SharePointUpdateListInput,\n output: SharePointUpdateListOutput,\n});\n"],"mappings":";;AAoBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAChG,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;EACrM,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;EAC3I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACxH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACzI,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EAC9I,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,+CAWH;CACP,QAXwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const SharePointUpdateSiteInput = zod.z.object({
|
|
|
13
13
|
const SharePointUpdateSiteOutput = zod.z.object({
|
|
14
14
|
message: zod.z.string().describe("Success message describing the update result.").nullable(),
|
|
15
15
|
success: zod.z.boolean().describe("Indicates whether the update operation succeeded.").nullable()
|
|
16
|
-
}).describe("Response model for a successful site update.");
|
|
16
|
+
}).passthrough().describe("Response model for a successful site update.");
|
|
17
17
|
const sharePointUpdateSite = require_action.action("SHARE_POINT_UPDATE_SITE", {
|
|
18
18
|
slug: "share_point-update-site",
|
|
19
19
|
name: "Update SharePoint Site",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-site.cjs","names":["z","action"],"sources":["../../src/actions/update-site.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateSiteInput = z.object({\n title: z.string().describe(\"The new title for the site. If not provided, the title will not be updated.\").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 description: z.string().describe(\"The new description for the site. If not provided, the description will not be updated.\").optional(),\n tree_view_enabled: z.boolean().describe(\"Whether the tree view is enabled on the site.\").optional(),\n quick_launch_enabled: z.boolean().describe(\"Whether the Quick Launch navigation is enabled on the site.\").optional(),\n enable_minimal_download: z.boolean().describe(\"Whether to enable minimal download strategy for the site.\").optional(),\n save_site_as_template_enabled: z.boolean().describe(\"Whether the 'Save Site as Template' feature is enabled.\").optional(),\n}).describe(\"Request model for updating a SharePoint site (web).\");\nexport const SharePointUpdateSiteOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).describe(\"Response model for a successful site update.\");\n\nexport const sharePointUpdateSite = action(\"SHARE_POINT_UPDATE_SITE\", {\n slug: \"share_point-update-site\",\n name: \"Update SharePoint Site\",\n description: \"Tool to update properties of the current SharePoint site (web). Use when you need to modify site title, description, or other SP.Web properties via MERGE.\",\n input: SharePointUpdateSiteInput,\n output: SharePointUpdateSiteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CACxO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACrI,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClG,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACnH,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpH,+BAA+BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"update-site.cjs","names":["z","action"],"sources":["../../src/actions/update-site.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateSiteInput = z.object({\n title: z.string().describe(\"The new title for the site. If not provided, the title will not be updated.\").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 description: z.string().describe(\"The new description for the site. If not provided, the description will not be updated.\").optional(),\n tree_view_enabled: z.boolean().describe(\"Whether the tree view is enabled on the site.\").optional(),\n quick_launch_enabled: z.boolean().describe(\"Whether the Quick Launch navigation is enabled on the site.\").optional(),\n enable_minimal_download: z.boolean().describe(\"Whether to enable minimal download strategy for the site.\").optional(),\n save_site_as_template_enabled: z.boolean().describe(\"Whether the 'Save Site as Template' feature is enabled.\").optional(),\n}).describe(\"Request model for updating a SharePoint site (web).\");\nexport const SharePointUpdateSiteOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).passthrough().describe(\"Response model for a successful site update.\");\n\nexport const sharePointUpdateSite = action(\"SHARE_POINT_UPDATE_SITE\", {\n slug: \"share_point-update-site\",\n name: \"Update SharePoint Site\",\n description: \"Tool to update properties of the current SharePoint site (web). Use when you need to modify site title, description, or other SP.Web properties via MERGE.\",\n input: SharePointUpdateSiteInput,\n output: SharePointUpdateSiteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CACxO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACrI,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClG,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACnH,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpH,+BAA+BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const SharePointUpdateSiteInput: z.ZodObject<{
|
|
|
13
13
|
declare const SharePointUpdateSiteOutput: z.ZodObject<{
|
|
14
14
|
message: z.ZodNullable<z.ZodString>;
|
|
15
15
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const sharePointUpdateSite: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
title?: string | undefined;
|
|
19
19
|
site_name?: string | undefined;
|
|
@@ -22,7 +22,19 @@ declare const sharePointUpdateSite: import("@keystrokehq/action").WorkflowAction
|
|
|
22
22
|
quick_launch_enabled?: boolean | undefined;
|
|
23
23
|
enable_minimal_download?: boolean | undefined;
|
|
24
24
|
save_site_as_template_enabled?: boolean | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
26
|
+
connectionId: z.ZodString;
|
|
27
|
+
entityId: z.ZodString;
|
|
28
|
+
instanceId: z.ZodString;
|
|
29
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
+
accessToken: z.ZodString;
|
|
31
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
32
|
+
connectionId: z.ZodString;
|
|
33
|
+
entityId: z.ZodString;
|
|
34
|
+
instanceId: z.ZodString;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
accessToken: z.ZodString;
|
|
37
|
+
}, z.core.$strip>>]>;
|
|
26
38
|
//#endregion
|
|
27
39
|
export { sharePointUpdateSite };
|
|
28
40
|
//# sourceMappingURL=update-site.d.cts.map
|
|
@@ -13,7 +13,7 @@ declare const SharePointUpdateSiteInput: z.ZodObject<{
|
|
|
13
13
|
declare const SharePointUpdateSiteOutput: z.ZodObject<{
|
|
14
14
|
message: z.ZodNullable<z.ZodString>;
|
|
15
15
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const sharePointUpdateSite: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
title?: string | undefined;
|
|
19
19
|
site_name?: string | undefined;
|
|
@@ -22,7 +22,19 @@ declare const sharePointUpdateSite: import("@keystrokehq/action").WorkflowAction
|
|
|
22
22
|
quick_launch_enabled?: boolean | undefined;
|
|
23
23
|
enable_minimal_download?: boolean | undefined;
|
|
24
24
|
save_site_as_template_enabled?: boolean | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
26
|
+
connectionId: z.ZodString;
|
|
27
|
+
entityId: z.ZodString;
|
|
28
|
+
instanceId: z.ZodString;
|
|
29
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
+
accessToken: z.ZodString;
|
|
31
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
|
|
32
|
+
connectionId: z.ZodString;
|
|
33
|
+
entityId: z.ZodString;
|
|
34
|
+
instanceId: z.ZodString;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
accessToken: z.ZodString;
|
|
37
|
+
}, z.core.$strip>>]>;
|
|
26
38
|
//#endregion
|
|
27
39
|
export { sharePointUpdateSite };
|
|
28
40
|
//# sourceMappingURL=update-site.d.mts.map
|
|
@@ -16,7 +16,7 @@ const sharePointUpdateSite = action("SHARE_POINT_UPDATE_SITE", {
|
|
|
16
16
|
output: z.object({
|
|
17
17
|
message: z.string().describe("Success message describing the update result.").nullable(),
|
|
18
18
|
success: z.boolean().describe("Indicates whether the update operation succeeded.").nullable()
|
|
19
|
-
}).describe("Response model for a successful site update.")
|
|
19
|
+
}).passthrough().describe("Response model for a successful site update.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { sharePointUpdateSite };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-site.mjs","names":[],"sources":["../../src/actions/update-site.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateSiteInput = z.object({\n title: z.string().describe(\"The new title for the site. If not provided, the title will not be updated.\").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 description: z.string().describe(\"The new description for the site. If not provided, the description will not be updated.\").optional(),\n tree_view_enabled: z.boolean().describe(\"Whether the tree view is enabled on the site.\").optional(),\n quick_launch_enabled: z.boolean().describe(\"Whether the Quick Launch navigation is enabled on the site.\").optional(),\n enable_minimal_download: z.boolean().describe(\"Whether to enable minimal download strategy for the site.\").optional(),\n save_site_as_template_enabled: z.boolean().describe(\"Whether the 'Save Site as Template' feature is enabled.\").optional(),\n}).describe(\"Request model for updating a SharePoint site (web).\");\nexport const SharePointUpdateSiteOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).describe(\"Response model for a successful site update.\");\n\nexport const sharePointUpdateSite = action(\"SHARE_POINT_UPDATE_SITE\", {\n slug: \"share_point-update-site\",\n name: \"Update SharePoint Site\",\n description: \"Tool to update properties of the current SharePoint site (web). Use when you need to modify site title, description, or other SP.Web properties via MERGE.\",\n input: SharePointUpdateSiteInput,\n output: SharePointUpdateSiteOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;EACxO,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACrI,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAClG,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACnH,yBAAyB,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpH,+BAA+B,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,qDAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-site.mjs","names":[],"sources":["../../src/actions/update-site.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateSiteInput = z.object({\n title: z.string().describe(\"The new title for the site. If not provided, the title will not be updated.\").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 description: z.string().describe(\"The new description for the site. If not provided, the description will not be updated.\").optional(),\n tree_view_enabled: z.boolean().describe(\"Whether the tree view is enabled on the site.\").optional(),\n quick_launch_enabled: z.boolean().describe(\"Whether the Quick Launch navigation is enabled on the site.\").optional(),\n enable_minimal_download: z.boolean().describe(\"Whether to enable minimal download strategy for the site.\").optional(),\n save_site_as_template_enabled: z.boolean().describe(\"Whether the 'Save Site as Template' feature is enabled.\").optional(),\n}).describe(\"Request model for updating a SharePoint site (web).\");\nexport const SharePointUpdateSiteOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).passthrough().describe(\"Response model for a successful site update.\");\n\nexport const sharePointUpdateSite = action(\"SHARE_POINT_UPDATE_SITE\", {\n slug: \"share_point-update-site\",\n name: \"Update SharePoint Site\",\n description: \"Tool to update properties of the current SharePoint site (web). Use when you need to modify site title, description, or other SP.Web properties via MERGE.\",\n input: SharePointUpdateSiteInput,\n output: SharePointUpdateSiteOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;EACxO,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACrI,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAClG,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACnH,yBAAyB,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpH,+BAA+B,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,qDAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ const SharePointUploadFileInput = zod.z.object({
|
|
|
17
17
|
const SharePointUploadFileOutput = zod.z.object({
|
|
18
18
|
name: zod.z.string().describe("Name of the uploaded file").nullable(),
|
|
19
19
|
server_relative_path: zod.z.string().describe("Server-relative URL of the uploaded file").nullable()
|
|
20
|
-
}).describe("Response model containing the server-relative path and name of the uploaded file.");
|
|
20
|
+
}).passthrough().describe("Response model containing the server-relative path and name of the uploaded file.");
|
|
21
21
|
const sharePointUploadFile = require_action.action("SHARE_POINT_UPLOAD_FILE", {
|
|
22
22
|
slug: "share_point-upload-file",
|
|
23
23
|
name: "Upload File to Folder",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload. Alternatively, omit this and provide either 'content_text' for UTF-8 text or 'content_base64' for arbitrary bytes along with 'file_name' to set the filename.\").optional(),\n file_name: z.string().describe(\"Filename to use when uploading if 'file' is not provided.\").optional(),\n overwrite: z.boolean().default(true).describe(\"Whether to overwrite an existing file with the same name. Defaults to true.\").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 content_text: z.string().describe(\"Optional raw text content to upload (UTF-8 encoded). Use when not passing 'file'.\").optional(),\n content_base64: z.string().describe(\"Optional base64-encoded bytes to upload. Use for binary content when not passing 'file'.\").optional(),\n folder_relative_url: z.string().describe(\"Destination folder path within the selected SharePoint site, starting with '/'. E.g., '/Shared Documents'.\"),\n}).describe(\"Request model for uploading a file to a SharePoint document library or folder.\");\nexport const SharePointUploadFileOutput = z.object({\n name: z.string().describe(\"Name of the uploaded file\").nullable(),\n server_relative_path: z.string().describe(\"Server-relative URL of the uploaded file\").nullable(),\n}).describe(\"Response model containing the server-relative path and name of the uploaded file.\");\n\nexport const sharePointUploadFile = action(\"SHARE_POINT_UPLOAD_FILE\", {\n slug: \"share_point-upload-file\",\n name: \"Upload File to Folder\",\n description: \"Tool to upload a file to a SharePoint document library or folder. Use when you need to programmatically add or update a file in a document library.\",\n input: SharePointUploadFileInput,\n output: SharePointUploadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CACpM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAChI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;AACvJ,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,mFAAmF;
|
|
1
|
+
{"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload. Alternatively, omit this and provide either 'content_text' for UTF-8 text or 'content_base64' for arbitrary bytes along with 'file_name' to set the filename.\").optional(),\n file_name: z.string().describe(\"Filename to use when uploading if 'file' is not provided.\").optional(),\n overwrite: z.boolean().default(true).describe(\"Whether to overwrite an existing file with the same name. Defaults to true.\").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 content_text: z.string().describe(\"Optional raw text content to upload (UTF-8 encoded). Use when not passing 'file'.\").optional(),\n content_base64: z.string().describe(\"Optional base64-encoded bytes to upload. Use for binary content when not passing 'file'.\").optional(),\n folder_relative_url: z.string().describe(\"Destination folder path within the selected SharePoint site, starting with '/'. E.g., '/Shared Documents'.\"),\n}).describe(\"Request model for uploading a file to a SharePoint document library or folder.\");\nexport const SharePointUploadFileOutput = z.object({\n name: z.string().describe(\"Name of the uploaded file\").nullable(),\n server_relative_path: z.string().describe(\"Server-relative URL of the uploaded file\").nullable(),\n}).passthrough().describe(\"Response model containing the server-relative path and name of the uploaded file.\");\n\nexport const sharePointUploadFile = action(\"SHARE_POINT_UPLOAD_FILE\", {\n slug: \"share_point-upload-file\",\n name: \"Upload File to Folder\",\n description: \"Tool to upload a file to a SharePoint document library or folder. Use when you need to programmatically add or update a file in a document library.\",\n input: SharePointUploadFileInput,\n output: SharePointUploadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CACpM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAChI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;AACvJ,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAAmF;AAE7G,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|