@keystrokehq/share_point 0.1.0
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 +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-attachment-to-list-item.cjs +33 -0
- package/dist/actions/add-attachment-to-list-item.cjs.map +1 -0
- package/dist/actions/add-attachment-to-list-item.d.cts +9 -0
- package/dist/actions/add-attachment-to-list-item.d.cts.map +1 -0
- package/dist/actions/add-attachment-to-list-item.d.mts +9 -0
- package/dist/actions/add-attachment-to-list-item.d.mts.map +1 -0
- package/dist/actions/add-attachment-to-list-item.mjs +30 -0
- package/dist/actions/add-attachment-to-list-item.mjs.map +1 -0
- package/dist/actions/add-field-link-to-content-type.cjs +30 -0
- package/dist/actions/add-field-link-to-content-type.cjs.map +1 -0
- package/dist/actions/add-field-link-to-content-type.d.cts +9 -0
- package/dist/actions/add-field-link-to-content-type.d.cts.map +1 -0
- package/dist/actions/add-field-link-to-content-type.d.mts +9 -0
- package/dist/actions/add-field-link-to-content-type.d.mts.map +1 -0
- package/dist/actions/add-field-link-to-content-type.mjs +29 -0
- package/dist/actions/add-field-link-to-content-type.mjs.map +1 -0
- package/dist/actions/add-role-assignment-to-item.cjs +28 -0
- package/dist/actions/add-role-assignment-to-item.cjs.map +1 -0
- package/dist/actions/add-role-assignment-to-item.d.cts +9 -0
- package/dist/actions/add-role-assignment-to-item.d.cts.map +1 -0
- package/dist/actions/add-role-assignment-to-item.d.mts +9 -0
- package/dist/actions/add-role-assignment-to-item.d.mts.map +1 -0
- package/dist/actions/add-role-assignment-to-item.mjs +25 -0
- package/dist/actions/add-role-assignment-to-item.mjs.map +1 -0
- package/dist/actions/add-role-assignment-to-list.cjs +24 -0
- package/dist/actions/add-role-assignment-to-list.cjs.map +1 -0
- package/dist/actions/add-role-assignment-to-list.d.cts +9 -0
- package/dist/actions/add-role-assignment-to-list.d.cts.map +1 -0
- package/dist/actions/add-role-assignment-to-list.d.mts +9 -0
- package/dist/actions/add-role-assignment-to-list.d.mts.map +1 -0
- package/dist/actions/add-role-assignment-to-list.mjs +21 -0
- package/dist/actions/add-role-assignment-to-list.mjs.map +1 -0
- package/dist/actions/break-role-inheritance-on-item.cjs +22 -0
- package/dist/actions/break-role-inheritance-on-item.cjs.map +1 -0
- package/dist/actions/break-role-inheritance-on-item.d.cts +9 -0
- package/dist/actions/break-role-inheritance-on-item.d.cts.map +1 -0
- package/dist/actions/break-role-inheritance-on-item.d.mts +9 -0
- package/dist/actions/break-role-inheritance-on-item.d.mts.map +1 -0
- package/dist/actions/break-role-inheritance-on-item.mjs +19 -0
- package/dist/actions/break-role-inheritance-on-item.mjs.map +1 -0
- package/dist/actions/break-role-inheritance-on-list.cjs +21 -0
- package/dist/actions/break-role-inheritance-on-list.cjs.map +1 -0
- package/dist/actions/break-role-inheritance-on-list.d.cts +9 -0
- package/dist/actions/break-role-inheritance-on-list.d.cts.map +1 -0
- package/dist/actions/break-role-inheritance-on-list.d.mts +9 -0
- package/dist/actions/break-role-inheritance-on-list.d.mts.map +1 -0
- package/dist/actions/break-role-inheritance-on-list.mjs +18 -0
- package/dist/actions/break-role-inheritance-on-list.mjs.map +1 -0
- package/dist/actions/check-in-file.cjs +29 -0
- package/dist/actions/check-in-file.cjs.map +1 -0
- package/dist/actions/check-in-file.d.cts +9 -0
- package/dist/actions/check-in-file.d.cts.map +1 -0
- package/dist/actions/check-in-file.d.mts +9 -0
- package/dist/actions/check-in-file.d.mts.map +1 -0
- package/dist/actions/check-in-file.mjs +26 -0
- package/dist/actions/check-in-file.mjs.map +1 -0
- package/dist/actions/create-content-type.cjs +32 -0
- package/dist/actions/create-content-type.cjs.map +1 -0
- package/dist/actions/create-content-type.d.cts +9 -0
- package/dist/actions/create-content-type.d.cts.map +1 -0
- package/dist/actions/create-content-type.d.mts +9 -0
- package/dist/actions/create-content-type.d.mts.map +1 -0
- package/dist/actions/create-content-type.mjs +31 -0
- package/dist/actions/create-content-type.mjs.map +1 -0
- package/dist/actions/create-drive-item-sharing-link.cjs +51 -0
- package/dist/actions/create-drive-item-sharing-link.cjs.map +1 -0
- package/dist/actions/create-drive-item-sharing-link.d.cts +9 -0
- package/dist/actions/create-drive-item-sharing-link.d.cts.map +1 -0
- package/dist/actions/create-drive-item-sharing-link.d.mts +9 -0
- package/dist/actions/create-drive-item-sharing-link.d.mts.map +1 -0
- package/dist/actions/create-drive-item-sharing-link.mjs +50 -0
- package/dist/actions/create-drive-item-sharing-link.mjs.map +1 -0
- package/dist/actions/create-list-field.cjs +31 -0
- package/dist/actions/create-list-field.cjs.map +1 -0
- package/dist/actions/create-list-field.d.cts +9 -0
- package/dist/actions/create-list-field.d.cts.map +1 -0
- package/dist/actions/create-list-field.d.mts +9 -0
- package/dist/actions/create-list-field.d.mts.map +1 -0
- package/dist/actions/create-list-field.mjs +28 -0
- package/dist/actions/create-list-field.mjs.map +1 -0
- package/dist/actions/create-list-item-by-id.cjs +27 -0
- package/dist/actions/create-list-item-by-id.cjs.map +1 -0
- package/dist/actions/create-list-item-by-id.d.cts +9 -0
- package/dist/actions/create-list-item-by-id.d.cts.map +1 -0
- package/dist/actions/create-list-item-by-id.d.mts +9 -0
- package/dist/actions/create-list-item-by-id.d.mts.map +1 -0
- package/dist/actions/create-list-item-by-id.mjs +24 -0
- package/dist/actions/create-list-item-by-id.mjs.map +1 -0
- package/dist/actions/create-list-item-in-folder.cjs +33 -0
- package/dist/actions/create-list-item-in-folder.cjs.map +1 -0
- package/dist/actions/create-list-item-in-folder.d.cts +9 -0
- package/dist/actions/create-list-item-in-folder.d.cts.map +1 -0
- package/dist/actions/create-list-item-in-folder.d.mts +9 -0
- package/dist/actions/create-list-item-in-folder.d.mts.map +1 -0
- package/dist/actions/create-list-item-in-folder.mjs +32 -0
- package/dist/actions/create-list-item-in-folder.mjs.map +1 -0
- package/dist/actions/create-web.cjs +33 -0
- package/dist/actions/create-web.cjs.map +1 -0
- package/dist/actions/create-web.d.cts +9 -0
- package/dist/actions/create-web.d.cts.map +1 -0
- package/dist/actions/create-web.d.mts +9 -0
- package/dist/actions/create-web.d.mts.map +1 -0
- package/dist/actions/create-web.mjs +30 -0
- package/dist/actions/create-web.mjs.map +1 -0
- package/dist/actions/delete-drive-item-version-content.cjs +25 -0
- package/dist/actions/delete-drive-item-version-content.cjs.map +1 -0
- package/dist/actions/delete-drive-item-version-content.d.cts +9 -0
- package/dist/actions/delete-drive-item-version-content.d.cts.map +1 -0
- package/dist/actions/delete-drive-item-version-content.d.mts +9 -0
- package/dist/actions/delete-drive-item-version-content.d.mts.map +1 -0
- package/dist/actions/delete-drive-item-version-content.mjs +22 -0
- package/dist/actions/delete-drive-item-version-content.mjs.map +1 -0
- package/dist/actions/delete-file-item.cjs +23 -0
- package/dist/actions/delete-file-item.cjs.map +1 -0
- package/dist/actions/delete-file-item.d.cts +9 -0
- package/dist/actions/delete-file-item.d.cts.map +1 -0
- package/dist/actions/delete-file-item.d.mts +9 -0
- package/dist/actions/delete-file-item.d.mts.map +1 -0
- package/dist/actions/delete-file-item.mjs +20 -0
- package/dist/actions/delete-file-item.mjs.map +1 -0
- package/dist/actions/delete-folder.cjs +23 -0
- package/dist/actions/delete-folder.cjs.map +1 -0
- package/dist/actions/delete-folder.d.cts +9 -0
- package/dist/actions/delete-folder.d.cts.map +1 -0
- package/dist/actions/delete-folder.d.mts +9 -0
- package/dist/actions/delete-folder.d.mts.map +1 -0
- package/dist/actions/delete-folder.mjs +20 -0
- package/dist/actions/delete-folder.mjs.map +1 -0
- package/dist/actions/delete-list-by-title.cjs +20 -0
- package/dist/actions/delete-list-by-title.cjs.map +1 -0
- package/dist/actions/delete-list-by-title.d.cts +9 -0
- package/dist/actions/delete-list-by-title.d.cts.map +1 -0
- package/dist/actions/delete-list-by-title.d.mts +9 -0
- package/dist/actions/delete-list-by-title.d.mts.map +1 -0
- package/dist/actions/delete-list-by-title.mjs +17 -0
- package/dist/actions/delete-list-by-title.mjs.map +1 -0
- package/dist/actions/delete-list-item.cjs +21 -0
- package/dist/actions/delete-list-item.cjs.map +1 -0
- package/dist/actions/delete-list-item.d.cts +9 -0
- package/dist/actions/delete-list-item.d.cts.map +1 -0
- package/dist/actions/delete-list-item.d.mts +9 -0
- package/dist/actions/delete-list-item.d.mts.map +1 -0
- package/dist/actions/delete-list-item.mjs +18 -0
- package/dist/actions/delete-list-item.mjs.map +1 -0
- package/dist/actions/delete-list-items.cjs +31 -0
- package/dist/actions/delete-list-items.cjs.map +1 -0
- package/dist/actions/delete-list-items.d.cts +9 -0
- package/dist/actions/delete-list-items.d.cts.map +1 -0
- package/dist/actions/delete-list-items.d.mts +9 -0
- package/dist/actions/delete-list-items.d.mts.map +1 -0
- package/dist/actions/delete-list-items.mjs +30 -0
- package/dist/actions/delete-list-items.mjs.map +1 -0
- package/dist/actions/delete-list.cjs +20 -0
- package/dist/actions/delete-list.cjs.map +1 -0
- package/dist/actions/delete-list.d.cts +9 -0
- package/dist/actions/delete-list.d.cts.map +1 -0
- package/dist/actions/delete-list.d.mts +9 -0
- package/dist/actions/delete-list.d.mts.map +1 -0
- package/dist/actions/delete-list.mjs +17 -0
- package/dist/actions/delete-list.mjs.map +1 -0
- package/dist/actions/delete-recycle-bin-item-permanent.cjs +19 -0
- package/dist/actions/delete-recycle-bin-item-permanent.cjs.map +1 -0
- package/dist/actions/delete-recycle-bin-item-permanent.d.cts +9 -0
- package/dist/actions/delete-recycle-bin-item-permanent.d.cts.map +1 -0
- package/dist/actions/delete-recycle-bin-item-permanent.d.mts +9 -0
- package/dist/actions/delete-recycle-bin-item-permanent.d.mts.map +1 -0
- package/dist/actions/delete-recycle-bin-item-permanent.mjs +16 -0
- package/dist/actions/delete-recycle-bin-item-permanent.mjs.map +1 -0
- package/dist/actions/download-file-by-server-relative-url.cjs +24 -0
- package/dist/actions/download-file-by-server-relative-url.cjs.map +1 -0
- package/dist/actions/download-file-by-server-relative-url.d.cts +9 -0
- package/dist/actions/download-file-by-server-relative-url.d.cts.map +1 -0
- package/dist/actions/download-file-by-server-relative-url.d.mts +9 -0
- package/dist/actions/download-file-by-server-relative-url.d.mts.map +1 -0
- package/dist/actions/download-file-by-server-relative-url.mjs +23 -0
- package/dist/actions/download-file-by-server-relative-url.mjs.map +1 -0
- package/dist/actions/ensure-user.cjs +36 -0
- package/dist/actions/ensure-user.cjs.map +1 -0
- package/dist/actions/ensure-user.d.cts +9 -0
- package/dist/actions/ensure-user.d.cts.map +1 -0
- package/dist/actions/ensure-user.d.mts +9 -0
- package/dist/actions/ensure-user.d.mts.map +1 -0
- package/dist/actions/ensure-user.mjs +35 -0
- package/dist/actions/ensure-user.mjs.map +1 -0
- package/dist/actions/follow.cjs +32 -0
- package/dist/actions/follow.cjs.map +1 -0
- package/dist/actions/follow.d.cts +9 -0
- package/dist/actions/follow.d.cts.map +1 -0
- package/dist/actions/follow.d.mts +9 -0
- package/dist/actions/follow.d.mts.map +1 -0
- package/dist/actions/follow.mjs +29 -0
- package/dist/actions/follow.mjs.map +1 -0
- package/dist/actions/get-all-folders.cjs +34 -0
- package/dist/actions/get-all-folders.cjs.map +1 -0
- package/dist/actions/get-all-folders.d.cts +9 -0
- package/dist/actions/get-all-folders.d.cts.map +1 -0
- package/dist/actions/get-all-folders.d.mts +9 -0
- package/dist/actions/get-all-folders.d.mts.map +1 -0
- package/dist/actions/get-all-folders.mjs +33 -0
- package/dist/actions/get-all-folders.mjs.map +1 -0
- package/dist/actions/get-changes.cjs +70 -0
- package/dist/actions/get-changes.cjs.map +1 -0
- package/dist/actions/get-changes.d.cts +9 -0
- package/dist/actions/get-changes.d.cts.map +1 -0
- package/dist/actions/get-changes.d.mts +9 -0
- package/dist/actions/get-changes.d.mts.map +1 -0
- package/dist/actions/get-changes.mjs +69 -0
- package/dist/actions/get-changes.mjs.map +1 -0
- package/dist/actions/get-content-type.cjs +43 -0
- package/dist/actions/get-content-type.cjs.map +1 -0
- package/dist/actions/get-content-type.d.cts +9 -0
- package/dist/actions/get-content-type.d.cts.map +1 -0
- package/dist/actions/get-content-type.d.mts +9 -0
- package/dist/actions/get-content-type.d.mts.map +1 -0
- package/dist/actions/get-content-type.mjs +42 -0
- package/dist/actions/get-content-type.mjs.map +1 -0
- package/dist/actions/get-content-types-for-list.cjs +30 -0
- package/dist/actions/get-content-types-for-list.cjs.map +1 -0
- package/dist/actions/get-content-types-for-list.d.cts +9 -0
- package/dist/actions/get-content-types-for-list.d.cts.map +1 -0
- package/dist/actions/get-content-types-for-list.d.mts +9 -0
- package/dist/actions/get-content-types-for-list.d.mts.map +1 -0
- package/dist/actions/get-content-types-for-list.mjs +29 -0
- package/dist/actions/get-content-types-for-list.mjs.map +1 -0
- package/dist/actions/get-content-types.cjs +35 -0
- package/dist/actions/get-content-types.cjs.map +1 -0
- package/dist/actions/get-content-types.d.cts +9 -0
- package/dist/actions/get-content-types.d.cts.map +1 -0
- package/dist/actions/get-content-types.d.mts +9 -0
- package/dist/actions/get-content-types.d.mts.map +1 -0
- package/dist/actions/get-content-types.mjs +34 -0
- package/dist/actions/get-content-types.mjs.map +1 -0
- package/dist/actions/get-context-info.cjs +24 -0
- package/dist/actions/get-context-info.cjs.map +1 -0
- package/dist/actions/get-context-info.d.cts +9 -0
- package/dist/actions/get-context-info.d.cts.map +1 -0
- package/dist/actions/get-context-info.d.mts +9 -0
- package/dist/actions/get-context-info.d.mts.map +1 -0
- package/dist/actions/get-context-info.mjs +23 -0
- package/dist/actions/get-context-info.mjs.map +1 -0
- package/dist/actions/get-current-user.cjs +37 -0
- package/dist/actions/get-current-user.cjs.map +1 -0
- package/dist/actions/get-current-user.d.cts +9 -0
- package/dist/actions/get-current-user.d.cts.map +1 -0
- package/dist/actions/get-current-user.d.mts +9 -0
- package/dist/actions/get-current-user.d.mts.map +1 -0
- package/dist/actions/get-current-user.mjs +36 -0
- package/dist/actions/get-current-user.mjs.map +1 -0
- package/dist/actions/get-drive-item-analytics.cjs +39 -0
- package/dist/actions/get-drive-item-analytics.cjs.map +1 -0
- package/dist/actions/get-drive-item-analytics.d.cts +9 -0
- package/dist/actions/get-drive-item-analytics.d.cts.map +1 -0
- package/dist/actions/get-drive-item-analytics.d.mts +9 -0
- package/dist/actions/get-drive-item-analytics.d.mts.map +1 -0
- package/dist/actions/get-drive-item-analytics.mjs +38 -0
- package/dist/actions/get-drive-item-analytics.mjs.map +1 -0
- package/dist/actions/get-group-users-by-id.cjs +55 -0
- package/dist/actions/get-group-users-by-id.cjs.map +1 -0
- package/dist/actions/get-group-users-by-id.d.cts +9 -0
- package/dist/actions/get-group-users-by-id.d.cts.map +1 -0
- package/dist/actions/get-group-users-by-id.d.mts +9 -0
- package/dist/actions/get-group-users-by-id.d.mts.map +1 -0
- package/dist/actions/get-group-users-by-id.mjs +54 -0
- package/dist/actions/get-group-users-by-id.mjs.map +1 -0
- package/dist/actions/get-group-users.cjs +55 -0
- package/dist/actions/get-group-users.cjs.map +1 -0
- package/dist/actions/get-group-users.d.cts +9 -0
- package/dist/actions/get-group-users.d.cts.map +1 -0
- package/dist/actions/get-group-users.d.mts +9 -0
- package/dist/actions/get-group-users.d.mts.map +1 -0
- package/dist/actions/get-group-users.mjs +54 -0
- package/dist/actions/get-group-users.mjs.map +1 -0
- package/dist/actions/get-item-attachment-content.cjs +26 -0
- package/dist/actions/get-item-attachment-content.cjs.map +1 -0
- package/dist/actions/get-item-attachment-content.d.cts +9 -0
- package/dist/actions/get-item-attachment-content.d.cts.map +1 -0
- package/dist/actions/get-item-attachment-content.d.mts +9 -0
- package/dist/actions/get-item-attachment-content.d.mts.map +1 -0
- package/dist/actions/get-item-attachment-content.mjs +25 -0
- package/dist/actions/get-item-attachment-content.mjs.map +1 -0
- package/dist/actions/get-list-by-guid.cjs +59 -0
- package/dist/actions/get-list-by-guid.cjs.map +1 -0
- package/dist/actions/get-list-by-guid.d.cts +9 -0
- package/dist/actions/get-list-by-guid.d.cts.map +1 -0
- package/dist/actions/get-list-by-guid.d.mts +9 -0
- package/dist/actions/get-list-by-guid.d.mts.map +1 -0
- package/dist/actions/get-list-by-guid.mjs +56 -0
- package/dist/actions/get-list-by-guid.mjs.map +1 -0
- package/dist/actions/get-list-by-title.cjs +59 -0
- package/dist/actions/get-list-by-title.cjs.map +1 -0
- package/dist/actions/get-list-by-title.d.cts +9 -0
- package/dist/actions/get-list-by-title.d.cts.map +1 -0
- package/dist/actions/get-list-by-title.d.mts +9 -0
- package/dist/actions/get-list-by-title.d.mts.map +1 -0
- package/dist/actions/get-list-by-title.mjs +56 -0
- package/dist/actions/get-list-by-title.mjs.map +1 -0
- package/dist/actions/get-list-content-type-by-id.cjs +40 -0
- package/dist/actions/get-list-content-type-by-id.cjs.map +1 -0
- package/dist/actions/get-list-content-type-by-id.d.cts +9 -0
- package/dist/actions/get-list-content-type-by-id.d.cts.map +1 -0
- package/dist/actions/get-list-content-type-by-id.d.mts +9 -0
- package/dist/actions/get-list-content-type-by-id.d.mts.map +1 -0
- package/dist/actions/get-list-content-type-by-id.mjs +39 -0
- package/dist/actions/get-list-content-type-by-id.mjs.map +1 -0
- package/dist/actions/get-list-item-by-id.cjs +34 -0
- package/dist/actions/get-list-item-by-id.cjs.map +1 -0
- package/dist/actions/get-list-item-by-id.d.cts +9 -0
- package/dist/actions/get-list-item-by-id.d.cts.map +1 -0
- package/dist/actions/get-list-item-by-id.d.mts +9 -0
- package/dist/actions/get-list-item-by-id.d.mts.map +1 -0
- package/dist/actions/get-list-item-by-id.mjs +31 -0
- package/dist/actions/get-list-item-by-id.mjs.map +1 -0
- package/dist/actions/get-list-item-version.cjs +28 -0
- package/dist/actions/get-list-item-version.cjs.map +1 -0
- package/dist/actions/get-list-item-version.d.cts +9 -0
- package/dist/actions/get-list-item-version.d.cts.map +1 -0
- package/dist/actions/get-list-item-version.d.mts +9 -0
- package/dist/actions/get-list-item-version.d.mts.map +1 -0
- package/dist/actions/get-list-item-version.mjs +25 -0
- package/dist/actions/get-list-item-version.mjs.map +1 -0
- package/dist/actions/get-list-items-by-guid.cjs +25 -0
- package/dist/actions/get-list-items-by-guid.cjs.map +1 -0
- package/dist/actions/get-list-items-by-guid.d.cts +9 -0
- package/dist/actions/get-list-items-by-guid.d.cts.map +1 -0
- package/dist/actions/get-list-items-by-guid.d.mts +9 -0
- package/dist/actions/get-list-items-by-guid.d.mts.map +1 -0
- package/dist/actions/get-list-items-by-guid.mjs +22 -0
- package/dist/actions/get-list-items-by-guid.mjs.map +1 -0
- package/dist/actions/get-list-items.cjs +56 -0
- package/dist/actions/get-list-items.cjs.map +1 -0
- package/dist/actions/get-list-items.d.cts +9 -0
- package/dist/actions/get-list-items.d.cts.map +1 -0
- package/dist/actions/get-list-items.d.mts +9 -0
- package/dist/actions/get-list-items.d.mts.map +1 -0
- package/dist/actions/get-list-items.mjs +55 -0
- package/dist/actions/get-list-items.mjs.map +1 -0
- package/dist/actions/get-my-followed.cjs +38 -0
- package/dist/actions/get-my-followed.cjs.map +1 -0
- package/dist/actions/get-my-followed.d.cts +9 -0
- package/dist/actions/get-my-followed.d.cts.map +1 -0
- package/dist/actions/get-my-followed.d.mts +9 -0
- package/dist/actions/get-my-followed.d.mts.map +1 -0
- package/dist/actions/get-my-followed.mjs +37 -0
- package/dist/actions/get-my-followed.mjs.map +1 -0
- package/dist/actions/get-my-followers.cjs +36 -0
- package/dist/actions/get-my-followers.cjs.map +1 -0
- package/dist/actions/get-my-followers.d.cts +9 -0
- package/dist/actions/get-my-followers.d.cts.map +1 -0
- package/dist/actions/get-my-followers.d.mts +9 -0
- package/dist/actions/get-my-followers.d.mts.map +1 -0
- package/dist/actions/get-my-followers.mjs +35 -0
- package/dist/actions/get-my-followers.mjs.map +1 -0
- package/dist/actions/get-role-definitions.cjs +33 -0
- package/dist/actions/get-role-definitions.cjs.map +1 -0
- package/dist/actions/get-role-definitions.d.cts +9 -0
- package/dist/actions/get-role-definitions.d.cts.map +1 -0
- package/dist/actions/get-role-definitions.d.mts +9 -0
- package/dist/actions/get-role-definitions.d.mts.map +1 -0
- package/dist/actions/get-role-definitions.mjs +32 -0
- package/dist/actions/get-role-definitions.mjs.map +1 -0
- package/dist/actions/get-site-by-hostname.cjs +33 -0
- package/dist/actions/get-site-by-hostname.cjs.map +1 -0
- package/dist/actions/get-site-by-hostname.d.cts +9 -0
- package/dist/actions/get-site-by-hostname.d.cts.map +1 -0
- package/dist/actions/get-site-by-hostname.d.mts +9 -0
- package/dist/actions/get-site-by-hostname.d.mts.map +1 -0
- package/dist/actions/get-site-by-hostname.mjs +32 -0
- package/dist/actions/get-site-by-hostname.mjs.map +1 -0
- package/dist/actions/get-site-by-id.cjs +54 -0
- package/dist/actions/get-site-by-id.cjs.map +1 -0
- package/dist/actions/get-site-by-id.d.cts +9 -0
- package/dist/actions/get-site-by-id.d.cts.map +1 -0
- package/dist/actions/get-site-by-id.d.mts +9 -0
- package/dist/actions/get-site-by-id.d.mts.map +1 -0
- package/dist/actions/get-site-by-id.mjs +53 -0
- package/dist/actions/get-site-by-id.mjs.map +1 -0
- package/dist/actions/get-site-collection-info.cjs +36 -0
- package/dist/actions/get-site-collection-info.cjs.map +1 -0
- package/dist/actions/get-site-collection-info.d.cts +9 -0
- package/dist/actions/get-site-collection-info.d.cts.map +1 -0
- package/dist/actions/get-site-collection-info.d.mts +9 -0
- package/dist/actions/get-site-collection-info.d.mts.map +1 -0
- package/dist/actions/get-site-collection-info.mjs +35 -0
- package/dist/actions/get-site-collection-info.mjs.map +1 -0
- package/dist/actions/get-site-drive-item-by-path.cjs +83 -0
- package/dist/actions/get-site-drive-item-by-path.cjs.map +1 -0
- package/dist/actions/get-site-drive-item-by-path.d.cts +9 -0
- package/dist/actions/get-site-drive-item-by-path.d.cts.map +1 -0
- package/dist/actions/get-site-drive-item-by-path.d.mts +9 -0
- package/dist/actions/get-site-drive-item-by-path.d.mts.map +1 -0
- package/dist/actions/get-site-drive-item-by-path.mjs +82 -0
- package/dist/actions/get-site-drive-item-by-path.mjs.map +1 -0
- package/dist/actions/get-site-page-content.cjs +32 -0
- package/dist/actions/get-site-page-content.cjs.map +1 -0
- package/dist/actions/get-site-page-content.d.cts +9 -0
- package/dist/actions/get-site-page-content.d.cts.map +1 -0
- package/dist/actions/get-site-page-content.d.mts +9 -0
- package/dist/actions/get-site-page-content.d.mts.map +1 -0
- package/dist/actions/get-site-page-content.mjs +29 -0
- package/dist/actions/get-site-page-content.mjs.map +1 -0
- package/dist/actions/get-site-root.cjs +53 -0
- package/dist/actions/get-site-root.cjs.map +1 -0
- package/dist/actions/get-site-root.d.cts +9 -0
- package/dist/actions/get-site-root.d.cts.map +1 -0
- package/dist/actions/get-site-root.d.mts +9 -0
- package/dist/actions/get-site-root.d.mts.map +1 -0
- package/dist/actions/get-site-root.mjs +52 -0
- package/dist/actions/get-site-root.mjs.map +1 -0
- package/dist/actions/get-user-effective-permissions-on-web.cjs +22 -0
- package/dist/actions/get-user-effective-permissions-on-web.cjs.map +1 -0
- package/dist/actions/get-user-effective-permissions-on-web.d.cts +9 -0
- package/dist/actions/get-user-effective-permissions-on-web.d.cts.map +1 -0
- package/dist/actions/get-user-effective-permissions-on-web.d.mts +9 -0
- package/dist/actions/get-user-effective-permissions-on-web.d.mts.map +1 -0
- package/dist/actions/get-user-effective-permissions-on-web.mjs +19 -0
- package/dist/actions/get-user-effective-permissions-on-web.mjs.map +1 -0
- package/dist/actions/get-web-info.cjs +54 -0
- package/dist/actions/get-web-info.cjs.map +1 -0
- package/dist/actions/get-web-info.d.cts +9 -0
- package/dist/actions/get-web-info.d.cts.map +1 -0
- package/dist/actions/get-web-info.d.mts +9 -0
- package/dist/actions/get-web-info.d.mts.map +1 -0
- package/dist/actions/get-web-info.mjs +53 -0
- package/dist/actions/get-web-info.mjs.map +1 -0
- package/dist/actions/get-webhook-subscription.cjs +26 -0
- package/dist/actions/get-webhook-subscription.cjs.map +1 -0
- package/dist/actions/get-webhook-subscription.d.cts +9 -0
- package/dist/actions/get-webhook-subscription.d.cts.map +1 -0
- package/dist/actions/get-webhook-subscription.d.mts +9 -0
- package/dist/actions/get-webhook-subscription.d.mts.map +1 -0
- package/dist/actions/get-webhook-subscription.mjs +23 -0
- package/dist/actions/get-webhook-subscription.mjs.map +1 -0
- package/dist/actions/get-webhook-subscriptions.cjs +26 -0
- package/dist/actions/get-webhook-subscriptions.cjs.map +1 -0
- package/dist/actions/get-webhook-subscriptions.d.cts +9 -0
- package/dist/actions/get-webhook-subscriptions.d.cts.map +1 -0
- package/dist/actions/get-webhook-subscriptions.d.mts +9 -0
- package/dist/actions/get-webhook-subscriptions.d.mts.map +1 -0
- package/dist/actions/get-webhook-subscriptions.mjs +25 -0
- package/dist/actions/get-webhook-subscriptions.mjs.map +1 -0
- package/dist/actions/index.cjs +191 -0
- package/dist/actions/index.d.cts +96 -0
- package/dist/actions/index.d.mts +96 -0
- package/dist/actions/index.mjs +96 -0
- package/dist/actions/is-followed.cjs +27 -0
- package/dist/actions/is-followed.cjs.map +1 -0
- package/dist/actions/is-followed.d.cts +9 -0
- package/dist/actions/is-followed.d.cts.map +1 -0
- package/dist/actions/is-followed.d.mts +9 -0
- package/dist/actions/is-followed.d.mts.map +1 -0
- package/dist/actions/is-followed.mjs +24 -0
- package/dist/actions/is-followed.mjs.map +1 -0
- package/dist/actions/list-all-lists.cjs +33 -0
- package/dist/actions/list-all-lists.cjs.map +1 -0
- package/dist/actions/list-all-lists.d.cts +9 -0
- package/dist/actions/list-all-lists.d.cts.map +1 -0
- package/dist/actions/list-all-lists.d.mts +9 -0
- package/dist/actions/list-all-lists.d.mts.map +1 -0
- package/dist/actions/list-all-lists.mjs +32 -0
- package/dist/actions/list-all-lists.mjs.map +1 -0
- package/dist/actions/list-drive-children.cjs +68 -0
- package/dist/actions/list-drive-children.cjs.map +1 -0
- package/dist/actions/list-drive-children.d.cts +9 -0
- package/dist/actions/list-drive-children.d.cts.map +1 -0
- package/dist/actions/list-drive-children.d.mts +9 -0
- package/dist/actions/list-drive-children.d.mts.map +1 -0
- package/dist/actions/list-drive-children.mjs +67 -0
- package/dist/actions/list-drive-children.mjs.map +1 -0
- package/dist/actions/list-drive-recent-items.cjs +72 -0
- package/dist/actions/list-drive-recent-items.cjs.map +1 -0
- package/dist/actions/list-drive-recent-items.d.cts +9 -0
- package/dist/actions/list-drive-recent-items.d.cts.map +1 -0
- package/dist/actions/list-drive-recent-items.d.mts +9 -0
- package/dist/actions/list-drive-recent-items.d.mts.map +1 -0
- package/dist/actions/list-drive-recent-items.mjs +71 -0
- package/dist/actions/list-drive-recent-items.mjs.map +1 -0
- package/dist/actions/list-drives-rest-api.cjs +47 -0
- package/dist/actions/list-drives-rest-api.cjs.map +1 -0
- package/dist/actions/list-drives-rest-api.d.cts +9 -0
- package/dist/actions/list-drives-rest-api.d.cts.map +1 -0
- package/dist/actions/list-drives-rest-api.d.mts +9 -0
- package/dist/actions/list-drives-rest-api.d.mts.map +1 -0
- package/dist/actions/list-drives-rest-api.mjs +46 -0
- package/dist/actions/list-drives-rest-api.mjs.map +1 -0
- package/dist/actions/list-files-in-folder.cjs +35 -0
- package/dist/actions/list-files-in-folder.cjs.map +1 -0
- package/dist/actions/list-files-in-folder.d.cts +9 -0
- package/dist/actions/list-files-in-folder.d.cts.map +1 -0
- package/dist/actions/list-files-in-folder.d.mts +9 -0
- package/dist/actions/list-files-in-folder.d.mts.map +1 -0
- package/dist/actions/list-files-in-folder.mjs +34 -0
- package/dist/actions/list-files-in-folder.mjs.map +1 -0
- package/dist/actions/list-item-attachments.cjs +24 -0
- package/dist/actions/list-item-attachments.cjs.map +1 -0
- package/dist/actions/list-item-attachments.d.cts +9 -0
- package/dist/actions/list-item-attachments.d.cts.map +1 -0
- package/dist/actions/list-item-attachments.d.mts +9 -0
- package/dist/actions/list-item-attachments.d.mts.map +1 -0
- package/dist/actions/list-item-attachments.mjs +23 -0
- package/dist/actions/list-item-attachments.mjs.map +1 -0
- package/dist/actions/list-list-columns.cjs +39 -0
- package/dist/actions/list-list-columns.cjs.map +1 -0
- package/dist/actions/list-list-columns.d.cts +9 -0
- package/dist/actions/list-list-columns.d.cts.map +1 -0
- package/dist/actions/list-list-columns.d.mts +9 -0
- package/dist/actions/list-list-columns.d.mts.map +1 -0
- package/dist/actions/list-list-columns.mjs +38 -0
- package/dist/actions/list-list-columns.mjs.map +1 -0
- package/dist/actions/list-recycle-bin-items.cjs +39 -0
- package/dist/actions/list-recycle-bin-items.cjs.map +1 -0
- package/dist/actions/list-recycle-bin-items.d.cts +9 -0
- package/dist/actions/list-recycle-bin-items.d.cts.map +1 -0
- package/dist/actions/list-recycle-bin-items.d.mts +9 -0
- package/dist/actions/list-recycle-bin-items.d.mts.map +1 -0
- package/dist/actions/list-recycle-bin-items.mjs +38 -0
- package/dist/actions/list-recycle-bin-items.mjs.map +1 -0
- package/dist/actions/list-site-drives.cjs +45 -0
- package/dist/actions/list-site-drives.cjs.map +1 -0
- package/dist/actions/list-site-drives.d.cts +9 -0
- package/dist/actions/list-site-drives.d.cts.map +1 -0
- package/dist/actions/list-site-drives.d.mts +9 -0
- package/dist/actions/list-site-drives.d.mts.map +1 -0
- package/dist/actions/list-site-drives.mjs +44 -0
- package/dist/actions/list-site-drives.mjs.map +1 -0
- package/dist/actions/list-site-groups.cjs +61 -0
- package/dist/actions/list-site-groups.cjs.map +1 -0
- package/dist/actions/list-site-groups.d.cts +9 -0
- package/dist/actions/list-site-groups.d.cts.map +1 -0
- package/dist/actions/list-site-groups.d.mts +9 -0
- package/dist/actions/list-site-groups.d.mts.map +1 -0
- package/dist/actions/list-site-groups.mjs +60 -0
- package/dist/actions/list-site-groups.mjs.map +1 -0
- package/dist/actions/list-site-users.cjs +70 -0
- package/dist/actions/list-site-users.cjs.map +1 -0
- package/dist/actions/list-site-users.d.cts +9 -0
- package/dist/actions/list-site-users.d.cts.map +1 -0
- package/dist/actions/list-site-users.d.mts +9 -0
- package/dist/actions/list-site-users.d.mts.map +1 -0
- package/dist/actions/list-site-users.mjs +69 -0
- package/dist/actions/list-site-users.mjs.map +1 -0
- package/dist/actions/list-sites.cjs +29 -0
- package/dist/actions/list-sites.cjs.map +1 -0
- package/dist/actions/list-sites.d.cts +9 -0
- package/dist/actions/list-sites.d.cts.map +1 -0
- package/dist/actions/list-sites.d.mts +9 -0
- package/dist/actions/list-sites.d.mts.map +1 -0
- package/dist/actions/list-sites.mjs +28 -0
- package/dist/actions/list-sites.mjs.map +1 -0
- package/dist/actions/list-subfolders-in-folder.cjs +32 -0
- package/dist/actions/list-subfolders-in-folder.cjs.map +1 -0
- package/dist/actions/list-subfolders-in-folder.d.cts +9 -0
- package/dist/actions/list-subfolders-in-folder.d.cts.map +1 -0
- package/dist/actions/list-subfolders-in-folder.d.mts +9 -0
- package/dist/actions/list-subfolders-in-folder.d.mts.map +1 -0
- package/dist/actions/list-subfolders-in-folder.mjs +31 -0
- package/dist/actions/list-subfolders-in-folder.mjs.map +1 -0
- package/dist/actions/log-event.cjs +23 -0
- package/dist/actions/log-event.cjs.map +1 -0
- package/dist/actions/log-event.d.cts +9 -0
- package/dist/actions/log-event.d.cts.map +1 -0
- package/dist/actions/log-event.d.mts +9 -0
- package/dist/actions/log-event.d.mts.map +1 -0
- package/dist/actions/log-event.mjs +20 -0
- package/dist/actions/log-event.mjs.map +1 -0
- package/dist/actions/recycle-file.cjs +20 -0
- package/dist/actions/recycle-file.cjs.map +1 -0
- package/dist/actions/recycle-file.d.cts +9 -0
- package/dist/actions/recycle-file.d.cts.map +1 -0
- package/dist/actions/recycle-file.d.mts +9 -0
- package/dist/actions/recycle-file.d.mts.map +1 -0
- package/dist/actions/recycle-file.mjs +17 -0
- package/dist/actions/recycle-file.mjs.map +1 -0
- package/dist/actions/recycle-list-item.cjs +20 -0
- package/dist/actions/recycle-list-item.cjs.map +1 -0
- package/dist/actions/recycle-list-item.d.cts +9 -0
- package/dist/actions/recycle-list-item.d.cts.map +1 -0
- package/dist/actions/recycle-list-item.d.mts +9 -0
- package/dist/actions/recycle-list-item.d.mts.map +1 -0
- package/dist/actions/recycle-list-item.mjs +17 -0
- package/dist/actions/recycle-list-item.mjs.map +1 -0
- package/dist/actions/rename-folder.cjs +26 -0
- package/dist/actions/rename-folder.cjs.map +1 -0
- package/dist/actions/rename-folder.d.cts +9 -0
- package/dist/actions/rename-folder.d.cts.map +1 -0
- package/dist/actions/rename-folder.d.mts +9 -0
- package/dist/actions/rename-folder.d.mts.map +1 -0
- package/dist/actions/rename-folder.mjs +23 -0
- package/dist/actions/rename-folder.mjs.map +1 -0
- package/dist/actions/render-list-data-as-stream.cjs +61 -0
- package/dist/actions/render-list-data-as-stream.cjs.map +1 -0
- package/dist/actions/render-list-data-as-stream.d.cts +9 -0
- package/dist/actions/render-list-data-as-stream.d.cts.map +1 -0
- package/dist/actions/render-list-data-as-stream.d.mts +9 -0
- package/dist/actions/render-list-data-as-stream.d.mts.map +1 -0
- package/dist/actions/render-list-data-as-stream.mjs +58 -0
- package/dist/actions/render-list-data-as-stream.mjs.map +1 -0
- package/dist/actions/restore-drive-item-version.cjs +25 -0
- package/dist/actions/restore-drive-item-version.cjs.map +1 -0
- package/dist/actions/restore-drive-item-version.d.cts +9 -0
- package/dist/actions/restore-drive-item-version.d.cts.map +1 -0
- package/dist/actions/restore-drive-item-version.d.mts +9 -0
- package/dist/actions/restore-drive-item-version.d.mts.map +1 -0
- package/dist/actions/restore-drive-item-version.mjs +22 -0
- package/dist/actions/restore-drive-item-version.mjs.map +1 -0
- package/dist/actions/restore-recycle-bin-item.cjs +19 -0
- package/dist/actions/restore-recycle-bin-item.cjs.map +1 -0
- package/dist/actions/restore-recycle-bin-item.d.cts +9 -0
- package/dist/actions/restore-recycle-bin-item.d.cts.map +1 -0
- package/dist/actions/restore-recycle-bin-item.d.mts +9 -0
- package/dist/actions/restore-recycle-bin-item.d.mts.map +1 -0
- package/dist/actions/restore-recycle-bin-item.mjs +16 -0
- package/dist/actions/restore-recycle-bin-item.mjs.map +1 -0
- package/dist/actions/search-files.cjs +87 -0
- package/dist/actions/search-files.cjs.map +1 -0
- package/dist/actions/search-files.d.cts +9 -0
- package/dist/actions/search-files.d.cts.map +1 -0
- package/dist/actions/search-files.d.mts +9 -0
- package/dist/actions/search-files.d.mts.map +1 -0
- package/dist/actions/search-files.mjs +86 -0
- package/dist/actions/search-files.mjs.map +1 -0
- package/dist/actions/search-query.cjs +73 -0
- package/dist/actions/search-query.cjs.map +1 -0
- package/dist/actions/search-query.d.cts +9 -0
- package/dist/actions/search-query.d.cts.map +1 -0
- package/dist/actions/search-query.d.mts +9 -0
- package/dist/actions/search-query.d.mts.map +1 -0
- package/dist/actions/search-query.mjs +72 -0
- package/dist/actions/search-query.mjs.map +1 -0
- package/dist/actions/search-suggest.cjs +32 -0
- package/dist/actions/search-suggest.cjs.map +1 -0
- package/dist/actions/search-suggest.d.cts +9 -0
- package/dist/actions/search-suggest.d.cts.map +1 -0
- package/dist/actions/search-suggest.d.mts +9 -0
- package/dist/actions/search-suggest.d.mts.map +1 -0
- package/dist/actions/search-suggest.mjs +29 -0
- package/dist/actions/search-suggest.mjs.map +1 -0
- package/dist/actions/sharepoint-check-out-file.cjs +22 -0
- package/dist/actions/sharepoint-check-out-file.cjs.map +1 -0
- package/dist/actions/sharepoint-check-out-file.d.cts +9 -0
- package/dist/actions/sharepoint-check-out-file.d.cts.map +1 -0
- package/dist/actions/sharepoint-check-out-file.d.mts +9 -0
- package/dist/actions/sharepoint-check-out-file.d.mts.map +1 -0
- package/dist/actions/sharepoint-check-out-file.mjs +19 -0
- package/dist/actions/sharepoint-check-out-file.mjs.map +1 -0
- package/dist/actions/sharepoint-create-folder.cjs +26 -0
- package/dist/actions/sharepoint-create-folder.cjs.map +1 -0
- package/dist/actions/sharepoint-create-folder.d.cts +9 -0
- package/dist/actions/sharepoint-create-folder.d.cts.map +1 -0
- package/dist/actions/sharepoint-create-folder.d.mts +9 -0
- package/dist/actions/sharepoint-create-folder.d.mts.map +1 -0
- package/dist/actions/sharepoint-create-folder.mjs +23 -0
- package/dist/actions/sharepoint-create-folder.mjs.map +1 -0
- package/dist/actions/sharepoint-create-list-item.cjs +25 -0
- package/dist/actions/sharepoint-create-list-item.cjs.map +1 -0
- package/dist/actions/sharepoint-create-list-item.d.cts +9 -0
- package/dist/actions/sharepoint-create-list-item.d.cts.map +1 -0
- package/dist/actions/sharepoint-create-list-item.d.mts +9 -0
- package/dist/actions/sharepoint-create-list-item.d.mts.map +1 -0
- package/dist/actions/sharepoint-create-list-item.mjs +22 -0
- package/dist/actions/sharepoint-create-list-item.mjs.map +1 -0
- package/dist/actions/sharepoint-create-list.cjs +26 -0
- package/dist/actions/sharepoint-create-list.cjs.map +1 -0
- package/dist/actions/sharepoint-create-list.d.cts +9 -0
- package/dist/actions/sharepoint-create-list.d.cts.map +1 -0
- package/dist/actions/sharepoint-create-list.d.mts +9 -0
- package/dist/actions/sharepoint-create-list.d.mts.map +1 -0
- package/dist/actions/sharepoint-create-list.mjs +23 -0
- package/dist/actions/sharepoint-create-list.mjs.map +1 -0
- package/dist/actions/sharepoint-find-user.cjs +32 -0
- package/dist/actions/sharepoint-find-user.cjs.map +1 -0
- package/dist/actions/sharepoint-find-user.d.cts +9 -0
- package/dist/actions/sharepoint-find-user.d.cts.map +1 -0
- package/dist/actions/sharepoint-find-user.d.mts +9 -0
- package/dist/actions/sharepoint-find-user.d.mts.map +1 -0
- package/dist/actions/sharepoint-find-user.mjs +31 -0
- package/dist/actions/sharepoint-find-user.mjs.map +1 -0
- package/dist/actions/sharepoint-remove-user.cjs +23 -0
- package/dist/actions/sharepoint-remove-user.cjs.map +1 -0
- package/dist/actions/sharepoint-remove-user.d.cts +9 -0
- package/dist/actions/sharepoint-remove-user.d.cts.map +1 -0
- package/dist/actions/sharepoint-remove-user.d.mts +9 -0
- package/dist/actions/sharepoint-remove-user.d.mts.map +1 -0
- package/dist/actions/sharepoint-remove-user.mjs +20 -0
- package/dist/actions/sharepoint-remove-user.mjs.map +1 -0
- package/dist/actions/undo-checkout-file.cjs +23 -0
- package/dist/actions/undo-checkout-file.cjs.map +1 -0
- package/dist/actions/undo-checkout-file.d.cts +9 -0
- package/dist/actions/undo-checkout-file.d.cts.map +1 -0
- package/dist/actions/undo-checkout-file.d.mts +9 -0
- package/dist/actions/undo-checkout-file.d.mts.map +1 -0
- package/dist/actions/undo-checkout-file.mjs +20 -0
- package/dist/actions/undo-checkout-file.mjs.map +1 -0
- package/dist/actions/update-content-type.cjs +53 -0
- package/dist/actions/update-content-type.cjs.map +1 -0
- package/dist/actions/update-content-type.d.cts +9 -0
- package/dist/actions/update-content-type.d.cts.map +1 -0
- package/dist/actions/update-content-type.d.mts +9 -0
- package/dist/actions/update-content-type.d.mts.map +1 -0
- package/dist/actions/update-content-type.mjs +52 -0
- package/dist/actions/update-content-type.mjs.map +1 -0
- package/dist/actions/update-drive-item.cjs +34 -0
- package/dist/actions/update-drive-item.cjs.map +1 -0
- package/dist/actions/update-drive-item.d.cts +9 -0
- package/dist/actions/update-drive-item.d.cts.map +1 -0
- package/dist/actions/update-drive-item.d.mts +9 -0
- package/dist/actions/update-drive-item.d.mts.map +1 -0
- package/dist/actions/update-drive-item.mjs +31 -0
- package/dist/actions/update-drive-item.mjs.map +1 -0
- package/dist/actions/update-file-item.cjs +27 -0
- package/dist/actions/update-file-item.cjs.map +1 -0
- package/dist/actions/update-file-item.d.cts +9 -0
- package/dist/actions/update-file-item.d.cts.map +1 -0
- package/dist/actions/update-file-item.d.mts +9 -0
- package/dist/actions/update-file-item.d.mts.map +1 -0
- package/dist/actions/update-file-item.mjs +24 -0
- package/dist/actions/update-file-item.mjs.map +1 -0
- package/dist/actions/update-list-item.cjs +28 -0
- package/dist/actions/update-list-item.cjs.map +1 -0
- package/dist/actions/update-list-item.d.cts +9 -0
- package/dist/actions/update-list-item.d.cts.map +1 -0
- package/dist/actions/update-list-item.d.mts +9 -0
- package/dist/actions/update-list-item.d.mts.map +1 -0
- package/dist/actions/update-list-item.mjs +25 -0
- package/dist/actions/update-list-item.mjs.map +1 -0
- package/dist/actions/update-list.cjs +29 -0
- package/dist/actions/update-list.cjs.map +1 -0
- package/dist/actions/update-list.d.cts +9 -0
- package/dist/actions/update-list.d.cts.map +1 -0
- package/dist/actions/update-list.d.mts +9 -0
- package/dist/actions/update-list.d.mts.map +1 -0
- package/dist/actions/update-list.mjs +26 -0
- package/dist/actions/update-list.mjs.map +1 -0
- package/dist/actions/update-site.cjs +27 -0
- package/dist/actions/update-site.cjs.map +1 -0
- package/dist/actions/update-site.d.cts +9 -0
- package/dist/actions/update-site.d.cts.map +1 -0
- package/dist/actions/update-site.d.mts +9 -0
- package/dist/actions/update-site.d.mts.map +1 -0
- package/dist/actions/update-site.mjs +24 -0
- package/dist/actions/update-site.mjs.map +1 -0
- package/dist/actions/upload-file.cjs +31 -0
- package/dist/actions/upload-file.cjs.map +1 -0
- package/dist/actions/upload-file.d.cts +9 -0
- package/dist/actions/upload-file.d.cts.map +1 -0
- package/dist/actions/upload-file.d.mts +9 -0
- package/dist/actions/upload-file.d.mts.map +1 -0
- package/dist/actions/upload-file.mjs +28 -0
- package/dist/actions/upload-file.mjs.map +1 -0
- package/dist/actions/upload-from-url.cjs +37 -0
- package/dist/actions/upload-from-url.cjs.map +1 -0
- package/dist/actions/upload-from-url.d.cts +9 -0
- package/dist/actions/upload-from-url.d.cts.map +1 -0
- package/dist/actions/upload-from-url.d.mts +9 -0
- package/dist/actions/upload-from-url.d.mts.map +1 -0
- package/dist/actions/upload-from-url.mjs +34 -0
- package/dist/actions/upload-from-url.mjs.map +1 -0
- package/dist/actions/validate-credential.cjs +21 -0
- package/dist/actions/validate-credential.cjs.map +1 -0
- package/dist/actions/validate-credential.d.cts +9 -0
- package/dist/actions/validate-credential.d.cts.map +1 -0
- package/dist/actions/validate-credential.d.mts +9 -0
- package/dist/actions/validate-credential.d.mts.map +1 -0
- package/dist/actions/validate-credential.mjs +18 -0
- package/dist/actions/validate-credential.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +196 -0
- package/dist/index.d.cts +98 -0
- package/dist/index.d.mts +98 -0
- package/dist/index.mjs +99 -0
- package/package.json +49 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/sharepoint-create-list-item.ts
|
|
4
|
+
const SharePointSharepointCreateListItemInput = zod.z.object({
|
|
5
|
+
list_name: zod.z.string().describe("The name or title of the list where the item will be created. Must exactly match the list's title as it exists in the site; verify the list exists first using SHARE_POINT_SHAREPOINT_CREATE_LIST if uncertain."),
|
|
6
|
+
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(),
|
|
7
|
+
item_properties: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary of field names and values for the list item. Example: {'Title': 'New Item', 'Body': 'Content'} Keys must be SharePoint column internal names (not display names); use the SharePoint column settings to find internal names. The example key 'Body' is invalid on default lists — use 'Title' as the minimal valid payload and add fields one at a time to isolate errors.")
|
|
8
|
+
});
|
|
9
|
+
const SharePointSharepointCreateListItemOutput = zod.z.object({
|
|
10
|
+
item_id: zod.z.number().int().describe("The ID of the created list item"),
|
|
11
|
+
message: zod.z.string().describe("Success message indicating item creation"),
|
|
12
|
+
item_data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The created item's data"),
|
|
13
|
+
created_at: zod.z.string().describe("Timestamp when the item was created")
|
|
14
|
+
});
|
|
15
|
+
const sharePointSharepointCreateListItem = require_action.action("SHARE_POINT_SHAREPOINT_CREATE_LIST_ITEM", {
|
|
16
|
+
slug: "share_point-sharepoint-create-list-item",
|
|
17
|
+
name: "Create SharePoint List Item",
|
|
18
|
+
description: "Creates a new item in a SharePoint list. Returns an `item_data` object containing `item_id`, `Title`, and timestamps on success.",
|
|
19
|
+
input: SharePointSharepointCreateListItemInput,
|
|
20
|
+
output: SharePointSharepointCreateListItemOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.sharePointSharepointCreateListItem = sharePointSharepointCreateListItem;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=sharepoint-create-list-item.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepoint-create-list-item.cjs","names":["z","action"],"sources":["../../src/actions/sharepoint-create-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointSharepointCreateListItemInput: z.ZodTypeAny = z.object({\n list_name: z.string().describe(\"The name or title of the list where the item will be created. Must exactly match the list's title as it exists in the site; verify the list exists first using SHARE_POINT_SHAREPOINT_CREATE_LIST if uncertain.\"),\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 item_properties: z.record(z.string(), z.unknown()).describe(\"Dictionary of field names and values for the list item. Example: {'Title': 'New Item', 'Body': 'Content'} Keys must be SharePoint column internal names (not display names); use the SharePoint column settings to find internal names. The example key 'Body' is invalid on default lists — use 'Title' as the minimal valid payload and add fields one at a time to isolate errors.\"),\n});\nexport const SharePointSharepointCreateListItemOutput: z.ZodTypeAny = z.object({\n item_id: z.number().int().describe(\"The ID of the created list item\"),\n message: z.string().describe(\"Success message indicating item creation\"),\n item_data: z.record(z.string(), z.unknown()).describe(\"The created item's data\"),\n created_at: z.string().describe(\"Timestamp when the item was created\"),\n});\n\nexport const sharePointSharepointCreateListItem = action(\"SHARE_POINT_SHAREPOINT_CREATE_LIST_ITEM\", {\n slug: \"share_point-sharepoint-create-list-item\",\n name: \"Create SharePoint List Item\",\n description: \"Creates a new item in a SharePoint list. Returns an `item_data` object containing `item_id`, `Title`, and timestamps on success.\",\n input: SharePointSharepointCreateListItemInput,\n output: SharePointSharepointCreateListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iNAAiN;CAChP,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uXAAuX;AACrb,CAAC;AACD,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACvE,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yBAAyB;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACvE,CAAC;AAED,MAAa,qCAAqCC,eAAAA,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/sharepoint-create-list-item.d.ts
|
|
4
|
+
declare const SharePointSharepointCreateListItemInput: z.ZodTypeAny;
|
|
5
|
+
declare const SharePointSharepointCreateListItemOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sharePointSharepointCreateListItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sharePointSharepointCreateListItem };
|
|
9
|
+
//# sourceMappingURL=sharepoint-create-list-item.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepoint-create-list-item.d.cts","names":[],"sources":["../../src/actions/sharepoint-create-list-item.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAItD;AAAA,cACW,wCAAA,EAA0C,CAAA,CAAE,UAKvD;AAAA,cAEW,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/sharepoint-create-list-item.d.ts
|
|
4
|
+
declare const SharePointSharepointCreateListItemInput: z.ZodTypeAny;
|
|
5
|
+
declare const SharePointSharepointCreateListItemOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sharePointSharepointCreateListItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sharePointSharepointCreateListItem };
|
|
9
|
+
//# sourceMappingURL=sharepoint-create-list-item.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepoint-create-list-item.d.mts","names":[],"sources":["../../src/actions/sharepoint-create-list-item.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAItD;AAAA,cACW,wCAAA,EAA0C,CAAA,CAAE,UAKvD;AAAA,cAEW,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const sharePointSharepointCreateListItem = action("SHARE_POINT_SHAREPOINT_CREATE_LIST_ITEM", {
|
|
4
|
+
slug: "share_point-sharepoint-create-list-item",
|
|
5
|
+
name: "Create SharePoint List Item",
|
|
6
|
+
description: "Creates a new item in a SharePoint list. Returns an `item_data` object containing `item_id`, `Title`, and timestamps on success.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
list_name: z.string().describe("The name or title of the list where the item will be created. Must exactly match the list's title as it exists in the site; verify the list exists first using SHARE_POINT_SHAREPOINT_CREATE_LIST if uncertain."),
|
|
9
|
+
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(),
|
|
10
|
+
item_properties: z.record(z.string(), z.unknown()).describe("Dictionary of field names and values for the list item. Example: {'Title': 'New Item', 'Body': 'Content'} Keys must be SharePoint column internal names (not display names); use the SharePoint column settings to find internal names. The example key 'Body' is invalid on default lists — use 'Title' as the minimal valid payload and add fields one at a time to isolate errors.")
|
|
11
|
+
}),
|
|
12
|
+
output: z.object({
|
|
13
|
+
item_id: z.number().int().describe("The ID of the created list item"),
|
|
14
|
+
message: z.string().describe("Success message indicating item creation"),
|
|
15
|
+
item_data: z.record(z.string(), z.unknown()).describe("The created item's data"),
|
|
16
|
+
created_at: z.string().describe("Timestamp when the item was created")
|
|
17
|
+
})
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { sharePointSharepointCreateListItem };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=sharepoint-create-list-item.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepoint-create-list-item.mjs","names":[],"sources":["../../src/actions/sharepoint-create-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointSharepointCreateListItemInput: z.ZodTypeAny = z.object({\n list_name: z.string().describe(\"The name or title of the list where the item will be created. Must exactly match the list's title as it exists in the site; verify the list exists first using SHARE_POINT_SHAREPOINT_CREATE_LIST if uncertain.\"),\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 item_properties: z.record(z.string(), z.unknown()).describe(\"Dictionary of field names and values for the list item. Example: {'Title': 'New Item', 'Body': 'Content'} Keys must be SharePoint column internal names (not display names); use the SharePoint column settings to find internal names. The example key 'Body' is invalid on default lists — use 'Title' as the minimal valid payload and add fields one at a time to isolate errors.\"),\n});\nexport const SharePointSharepointCreateListItemOutput: z.ZodTypeAny = z.object({\n item_id: z.number().int().describe(\"The ID of the created list item\"),\n message: z.string().describe(\"Success message indicating item creation\"),\n item_data: z.record(z.string(), z.unknown()).describe(\"The created item's data\"),\n created_at: z.string().describe(\"Timestamp when the item was created\"),\n});\n\nexport const sharePointSharepointCreateListItem = action(\"SHARE_POINT_SHAREPOINT_CREATE_LIST_ITEM\", {\n slug: \"share_point-sharepoint-create-list-item\",\n name: \"Create SharePoint List Item\",\n description: \"Creates a new item in a SharePoint list. Returns an `item_data` object containing `item_id`, `Title`, and timestamps on success.\",\n input: SharePointSharepointCreateListItemInput,\n output: SharePointSharepointCreateListItemOutput,\n});\n"],"mappings":";;AAgBA,MAAa,qCAAqC,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBmE,EAAE,OAAO;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iNAAiN;EAChP,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uXAAuX;CACrb,CAYS;CACP,QAZoE,EAAE,OAAO;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACvE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yBAAyB;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACvE,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/sharepoint-create-list.ts
|
|
4
|
+
const SharePointSharepointCreateListInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("The name of the list to create. Must be unique per site; duplicate names cause failure. Pre-check with SHARE_POINT_GET_LIST_BY_TITLE or SHARE_POINT_LIST_ALL_LISTS before calling."),
|
|
6
|
+
template: zod.z.string().describe("The template type for the list (e.g., 'genericList', 'documentLibrary', 'tasks', etc.)."),
|
|
7
|
+
site_name: zod.z.string().describe("The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.").optional(),
|
|
8
|
+
description: zod.z.string().default("").describe("Description of the list (optional).").optional()
|
|
9
|
+
});
|
|
10
|
+
const SharePointSharepointCreateListOutput = zod.z.object({
|
|
11
|
+
title: zod.z.string().describe("The title of the created list"),
|
|
12
|
+
list_id: zod.z.string().describe("The ID of the created list"),
|
|
13
|
+
message: zod.z.string().describe("Success message indicating list creation"),
|
|
14
|
+
description: zod.z.string().describe("The description of the created list")
|
|
15
|
+
});
|
|
16
|
+
const sharePointSharepointCreateList = require_action.action("SHARE_POINT_SHAREPOINT_CREATE_LIST", {
|
|
17
|
+
slug: "share_point-sharepoint-create-list",
|
|
18
|
+
name: "Create SharePoint List",
|
|
19
|
+
description: "Creates a new list in SharePoint using the REST API. Custom columns cannot be added at creation time; use SHARE_POINT_CREATE_LIST_FIELD with the returned `list_id` to add them afterward. Check `success` and `error` fields in the response to confirm creation. Returns a `list_id` used by downstream tools; note SHARE_POINT_SHAREPOINT_CREATE_LIST_ITEM targets lists by `list_name` (title).",
|
|
20
|
+
input: SharePointSharepointCreateListInput,
|
|
21
|
+
output: SharePointSharepointCreateListOutput
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
exports.sharePointSharepointCreateList = sharePointSharepointCreateList;
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=sharepoint-create-list.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepoint-create-list.cjs","names":["z","action"],"sources":["../../src/actions/sharepoint-create-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointSharepointCreateListInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the list to create. Must be unique per site; duplicate names cause failure. Pre-check with SHARE_POINT_GET_LIST_BY_TITLE or SHARE_POINT_LIST_ALL_LISTS before calling.\"),\n template: z.string().describe(\"The template type for the list (e.g., 'genericList', 'documentLibrary', 'tasks', etc.).\"),\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().default(\"\").describe(\"Description of the list (optional).\").optional(),\n});\nexport const SharePointSharepointCreateListOutput: z.ZodTypeAny = z.object({\n title: z.string().describe(\"The title of the created list\"),\n list_id: z.string().describe(\"The ID of the created list\"),\n message: z.string().describe(\"Success message indicating list creation\"),\n description: z.string().describe(\"The description of the created list\"),\n});\n\nexport const sharePointSharepointCreateList = action(\"SHARE_POINT_SHAREPOINT_CREATE_LIST\", {\n slug: \"share_point-sharepoint-create-list\",\n name: \"Create SharePoint List\",\n description: \"Creates a new list in SharePoint using the REST API. Custom columns cannot be added at creation time; use SHARE_POINT_CREATE_LIST_FIELD with the returned `list_id` to add them afterward. Check `success` and `error` fields in the response to confirm creation. Returns a `list_id` used by downstream tools; note SHARE_POINT_SHAREPOINT_CREATE_LIST_ITEM targets lists by `list_name` (title).\",\n input: SharePointSharepointCreateListInput,\n output: SharePointSharepointCreateListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL;CAC9M,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CACvH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAC/F,CAAC;AACD,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACxE,CAAC;AAED,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/sharepoint-create-list.d.ts
|
|
4
|
+
declare const SharePointSharepointCreateListInput: z.ZodTypeAny;
|
|
5
|
+
declare const SharePointSharepointCreateListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sharePointSharepointCreateList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sharePointSharepointCreateList };
|
|
9
|
+
//# sourceMappingURL=sharepoint-create-list.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepoint-create-list.d.cts","names":[],"sources":["../../src/actions/sharepoint-create-list.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAKlD;AAAA,cACW,oCAAA,EAAsC,CAAA,CAAE,UAKnD;AAAA,cAEW,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/sharepoint-create-list.d.ts
|
|
4
|
+
declare const SharePointSharepointCreateListInput: z.ZodTypeAny;
|
|
5
|
+
declare const SharePointSharepointCreateListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sharePointSharepointCreateList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sharePointSharepointCreateList };
|
|
9
|
+
//# sourceMappingURL=sharepoint-create-list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepoint-create-list.d.mts","names":[],"sources":["../../src/actions/sharepoint-create-list.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAKlD;AAAA,cACW,oCAAA,EAAsC,CAAA,CAAE,UAKnD;AAAA,cAEW,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const sharePointSharepointCreateList = action("SHARE_POINT_SHAREPOINT_CREATE_LIST", {
|
|
4
|
+
slug: "share_point-sharepoint-create-list",
|
|
5
|
+
name: "Create SharePoint List",
|
|
6
|
+
description: "Creates a new list in SharePoint using the REST API. Custom columns cannot be added at creation time; use SHARE_POINT_CREATE_LIST_FIELD with the returned `list_id` to add them afterward. Check `success` and `error` fields in the response to confirm creation. Returns a `list_id` used by downstream tools; note SHARE_POINT_SHAREPOINT_CREATE_LIST_ITEM targets lists by `list_name` (title).",
|
|
7
|
+
input: z.object({
|
|
8
|
+
name: z.string().describe("The name of the list to create. Must be unique per site; duplicate names cause failure. Pre-check with SHARE_POINT_GET_LIST_BY_TITLE or SHARE_POINT_LIST_ALL_LISTS before calling."),
|
|
9
|
+
template: z.string().describe("The template type for the list (e.g., 'genericList', 'documentLibrary', 'tasks', etc.)."),
|
|
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
|
+
description: z.string().default("").describe("Description of the list (optional).").optional()
|
|
12
|
+
}),
|
|
13
|
+
output: z.object({
|
|
14
|
+
title: z.string().describe("The title of the created list"),
|
|
15
|
+
list_id: z.string().describe("The ID of the created list"),
|
|
16
|
+
message: z.string().describe("Success message indicating list creation"),
|
|
17
|
+
description: z.string().describe("The description of the created list")
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { sharePointSharepointCreateList };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=sharepoint-create-list.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepoint-create-list.mjs","names":[],"sources":["../../src/actions/sharepoint-create-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointSharepointCreateListInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the list to create. Must be unique per site; duplicate names cause failure. Pre-check with SHARE_POINT_GET_LIST_BY_TITLE or SHARE_POINT_LIST_ALL_LISTS before calling.\"),\n template: z.string().describe(\"The template type for the list (e.g., 'genericList', 'documentLibrary', 'tasks', etc.).\"),\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().default(\"\").describe(\"Description of the list (optional).\").optional(),\n});\nexport const SharePointSharepointCreateListOutput: z.ZodTypeAny = z.object({\n title: z.string().describe(\"The title of the created list\"),\n list_id: z.string().describe(\"The ID of the created list\"),\n message: z.string().describe(\"Success message indicating list creation\"),\n description: z.string().describe(\"The description of the created list\"),\n});\n\nexport const sharePointSharepointCreateList = action(\"SHARE_POINT_SHAREPOINT_CREATE_LIST\", {\n slug: \"share_point-sharepoint-create-list\",\n name: \"Create SharePoint List\",\n description: \"Creates a new list in SharePoint using the REST API. Custom columns cannot be added at creation time; use SHARE_POINT_CREATE_LIST_FIELD with the returned `list_id` to add them afterward. Check `success` and `error` fields in the response to confirm creation. Returns a `list_id` used by downstream tools; note SHARE_POINT_SHAREPOINT_CREATE_LIST_ITEM targets lists by `list_name` (title).\",\n input: SharePointSharepointCreateListInput,\n output: SharePointSharepointCreateListOutput,\n});\n"],"mappings":";;AAiBA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB+D,EAAE,OAAO;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL;EAC9M,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;EACvH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/F,CAYS;CACP,QAZgE,EAAE,OAAO;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACxE,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/sharepoint-find-user.ts
|
|
4
|
+
const SharePointSharepointFindUserInput = zod.z.object({
|
|
5
|
+
email: zod.z.string().describe("Email address of the user to find. Must be a complete, valid email address — display names and short names are rejected and return 'User not found'. Use SHARE_POINT_LIST_SITE_USERS to resolve a display name to an email first."),
|
|
6
|
+
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()
|
|
7
|
+
});
|
|
8
|
+
const SharePointSharepointFindUser_UserDetailsSchema = zod.z.object({
|
|
9
|
+
Id: zod.z.number().int().describe("User ID in SharePoint").nullable().optional(),
|
|
10
|
+
Email: zod.z.string().describe("Email address").nullable().optional(),
|
|
11
|
+
Title: zod.z.string().describe("Display name").nullable().optional(),
|
|
12
|
+
LoginName: zod.z.string().describe("User login name").nullable().optional(),
|
|
13
|
+
IsSiteAdmin: zod.z.boolean().describe("Whether user is site admin").nullable().optional(),
|
|
14
|
+
PrincipalType: zod.z.number().int().describe("Principal type").nullable().optional(),
|
|
15
|
+
UserPrincipalName: zod.z.string().describe("User principal name").nullable().optional()
|
|
16
|
+
}).describe("SharePoint user details.");
|
|
17
|
+
const SharePointSharepointFindUserOutput = zod.z.object({
|
|
18
|
+
user_exists: zod.z.boolean().describe("Whether user exists in SharePoint site"),
|
|
19
|
+
user_details: SharePointSharepointFindUser_UserDetailsSchema.nullable().optional(),
|
|
20
|
+
error_message: zod.z.string().default("").describe("Error message if user not found or lookup failed").nullable().optional()
|
|
21
|
+
});
|
|
22
|
+
const sharePointSharepointFindUser = require_action.action("SHARE_POINT_SHAREPOINT_FIND_USER", {
|
|
23
|
+
slug: "share_point-sharepoint-find-user",
|
|
24
|
+
name: "Find SharePoint User",
|
|
25
|
+
description: "Searches for a user in the SharePoint site by email address and returns their profile information if found. Response includes `exists_in_graph`, `exists_in_sharepoint`, and `error_details` fields; inspect all three together — `successful=true` can coexist with Graph errors in `error_details`. When the two backends diverge, treat `exists_in_sharepoint` as authoritative for access decisions.",
|
|
26
|
+
input: SharePointSharepointFindUserInput,
|
|
27
|
+
output: SharePointSharepointFindUserOutput
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.sharePointSharepointFindUser = sharePointSharepointFindUser;
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=sharepoint-find-user.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepoint-find-user.cjs","names":["z","action"],"sources":["../../src/actions/sharepoint-find-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointSharepointFindUserInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the user to find. Must be a complete, valid email address — display names and short names are rejected and return 'User not found'. Use SHARE_POINT_LIST_SITE_USERS to resolve a display name to an email first.\"),\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});\nconst SharePointSharepointFindUser_UserDetailsSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"User ID in SharePoint\").nullable().optional(),\n Email: z.string().describe(\"Email address\").nullable().optional(),\n Title: z.string().describe(\"Display name\").nullable().optional(),\n LoginName: z.string().describe(\"User login name\").nullable().optional(),\n IsSiteAdmin: z.boolean().describe(\"Whether user is site admin\").nullable().optional(),\n PrincipalType: z.number().int().describe(\"Principal type\").nullable().optional(),\n UserPrincipalName: z.string().describe(\"User principal name\").nullable().optional(),\n}).describe(\"SharePoint user details.\");\nexport const SharePointSharepointFindUserOutput: z.ZodTypeAny = z.object({\n user_exists: z.boolean().describe(\"Whether user exists in SharePoint site\"),\n user_details: SharePointSharepointFindUser_UserDetailsSchema.nullable().optional(),\n error_message: z.string().default(\"\").describe(\"Error message if user not found or lookup failed\").nullable().optional(),\n});\n\nexport const sharePointSharepointFindUser = action(\"SHARE_POINT_SHAREPOINT_FIND_USER\", {\n slug: \"share_point-sharepoint-find-user\",\n name: \"Find SharePoint User\",\n description: \"Searches for a user in the SharePoint site by email address and returns their profile information if found. Response includes `exists_in_graph`, `exists_in_sharepoint`, and `error_details` fields; inspect all three together — `successful=true` can coexist with Graph errors in `error_details`. When the two backends diverge, treat `exists_in_sharepoint` as authoritative for access decisions.\",\n input: SharePointSharepointFindUserInput,\n output: SharePointSharepointFindUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mOAAmO;CAC9P,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;AACxO,CAAC;AACD,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACtC,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CAC1E,cAAc,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACjF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/sharepoint-find-user.d.ts
|
|
4
|
+
declare const SharePointSharepointFindUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const SharePointSharepointFindUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sharePointSharepointFindUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sharePointSharepointFindUser };
|
|
9
|
+
//# sourceMappingURL=sharepoint-find-user.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepoint-find-user.d.cts","names":[],"sources":["../../src/actions/sharepoint-find-user.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGhD;AAAA,cAUW,kCAAA,EAAoC,CAAA,CAAE,UAIjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/sharepoint-find-user.d.ts
|
|
4
|
+
declare const SharePointSharepointFindUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const SharePointSharepointFindUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sharePointSharepointFindUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sharePointSharepointFindUser };
|
|
9
|
+
//# sourceMappingURL=sharepoint-find-user.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepoint-find-user.d.mts","names":[],"sources":["../../src/actions/sharepoint-find-user.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGhD;AAAA,cAUW,kCAAA,EAAoC,CAAA,CAAE,UAIjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/sharepoint-find-user.ts
|
|
4
|
+
const SharePointSharepointFindUserInput = z.object({
|
|
5
|
+
email: z.string().describe("Email address of the user to find. Must be a complete, valid email address — display names and short names are rejected and return 'User not found'. Use SHARE_POINT_LIST_SITE_USERS to resolve a display name to an email first."),
|
|
6
|
+
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()
|
|
7
|
+
});
|
|
8
|
+
const SharePointSharepointFindUser_UserDetailsSchema = z.object({
|
|
9
|
+
Id: z.number().int().describe("User ID in SharePoint").nullable().optional(),
|
|
10
|
+
Email: z.string().describe("Email address").nullable().optional(),
|
|
11
|
+
Title: z.string().describe("Display name").nullable().optional(),
|
|
12
|
+
LoginName: z.string().describe("User login name").nullable().optional(),
|
|
13
|
+
IsSiteAdmin: z.boolean().describe("Whether user is site admin").nullable().optional(),
|
|
14
|
+
PrincipalType: z.number().int().describe("Principal type").nullable().optional(),
|
|
15
|
+
UserPrincipalName: z.string().describe("User principal name").nullable().optional()
|
|
16
|
+
}).describe("SharePoint user details.");
|
|
17
|
+
const sharePointSharepointFindUser = action("SHARE_POINT_SHAREPOINT_FIND_USER", {
|
|
18
|
+
slug: "share_point-sharepoint-find-user",
|
|
19
|
+
name: "Find SharePoint User",
|
|
20
|
+
description: "Searches for a user in the SharePoint site by email address and returns their profile information if found. Response includes `exists_in_graph`, `exists_in_sharepoint`, and `error_details` fields; inspect all three together — `successful=true` can coexist with Graph errors in `error_details`. When the two backends diverge, treat `exists_in_sharepoint` as authoritative for access decisions.",
|
|
21
|
+
input: SharePointSharepointFindUserInput,
|
|
22
|
+
output: z.object({
|
|
23
|
+
user_exists: z.boolean().describe("Whether user exists in SharePoint site"),
|
|
24
|
+
user_details: SharePointSharepointFindUser_UserDetailsSchema.nullable().optional(),
|
|
25
|
+
error_message: z.string().default("").describe("Error message if user not found or lookup failed").nullable().optional()
|
|
26
|
+
})
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { sharePointSharepointFindUser };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=sharepoint-find-user.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepoint-find-user.mjs","names":[],"sources":["../../src/actions/sharepoint-find-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointSharepointFindUserInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the user to find. Must be a complete, valid email address — display names and short names are rejected and return 'User not found'. Use SHARE_POINT_LIST_SITE_USERS to resolve a display name to an email first.\"),\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});\nconst SharePointSharepointFindUser_UserDetailsSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"User ID in SharePoint\").nullable().optional(),\n Email: z.string().describe(\"Email address\").nullable().optional(),\n Title: z.string().describe(\"Display name\").nullable().optional(),\n LoginName: z.string().describe(\"User login name\").nullable().optional(),\n IsSiteAdmin: z.boolean().describe(\"Whether user is site admin\").nullable().optional(),\n PrincipalType: z.number().int().describe(\"Principal type\").nullable().optional(),\n UserPrincipalName: z.string().describe(\"User principal name\").nullable().optional(),\n}).describe(\"SharePoint user details.\");\nexport const SharePointSharepointFindUserOutput: z.ZodTypeAny = z.object({\n user_exists: z.boolean().describe(\"Whether user exists in SharePoint site\"),\n user_details: SharePointSharepointFindUser_UserDetailsSchema.nullable().optional(),\n error_message: z.string().default(\"\").describe(\"Error message if user not found or lookup failed\").nullable().optional(),\n});\n\nexport const sharePointSharepointFindUser = action(\"SHARE_POINT_SHAREPOINT_FIND_USER\", {\n slug: \"share_point-sharepoint-find-user\",\n name: \"Find SharePoint User\",\n description: \"Searches for a user in the SharePoint site by email address and returns their profile information if found. Response includes `exists_in_graph`, `exists_in_sharepoint`, and `error_details` fields; inspect all three together — `successful=true` can coexist with Graph errors in `error_details`. When the two backends diverge, treat `exists_in_sharepoint` as authoritative for access decisions.\",\n input: SharePointSharepointFindUserInput,\n output: SharePointSharepointFindUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mOAAmO;CAC9P,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;AACxO,CAAC;AACD,MAAM,iDAA+D,EAAE,OAAO;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,0BAA0B;AAOtC,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8D,EAAE,OAAO;EACvE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;EAC1E,cAAc,+CAA+C,SAAS,CAAC,CAAC,SAAS;EACjF,eAAe,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/sharepoint-remove-user.ts
|
|
4
|
+
const SharePointSharepointRemoveUserInput = zod.z.object({
|
|
5
|
+
email: zod.z.string().describe("Email address of the user to remove."),
|
|
6
|
+
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()
|
|
7
|
+
});
|
|
8
|
+
const SharePointSharepointRemoveUserOutput = zod.z.object({
|
|
9
|
+
email: zod.z.string().describe("The email of the user that was removed"),
|
|
10
|
+
message: zod.z.string().describe("Success message indicating user removal status"),
|
|
11
|
+
was_removed: zod.z.boolean().describe("Whether the user was actually removed")
|
|
12
|
+
});
|
|
13
|
+
const sharePointSharepointRemoveUser = require_action.action("SHARE_POINT_SHAREPOINT_REMOVE_USER", {
|
|
14
|
+
slug: "share_point-sharepoint-remove-user",
|
|
15
|
+
name: "Remove SharePoint User",
|
|
16
|
+
description: "Removes a user from SharePoint. Returns success even if user doesn't exist or was never a member; check response fields `was_removed` (bool) and `message` (str) to distinguish an actual removal from a no-op.",
|
|
17
|
+
input: SharePointSharepointRemoveUserInput,
|
|
18
|
+
output: SharePointSharepointRemoveUserOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.sharePointSharepointRemoveUser = sharePointSharepointRemoveUser;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=sharepoint-remove-user.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepoint-remove-user.cjs","names":["z","action"],"sources":["../../src/actions/sharepoint-remove-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointSharepointRemoveUserInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the user to remove.\"),\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});\nexport const SharePointSharepointRemoveUserOutput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The email of the user that was removed\"),\n message: z.string().describe(\"Success message indicating user removal status\"),\n was_removed: z.boolean().describe(\"Whether the user was actually removed\"),\n});\n\nexport const sharePointSharepointRemoveUser = action(\"SHARE_POINT_SHAREPOINT_REMOVE_USER\", {\n slug: \"share_point-sharepoint-remove-user\",\n name: \"Remove SharePoint User\",\n description: \"Removes a user from SharePoint. Returns success even if user doesn't exist or was never a member; check response fields `was_removed` (bool) and `message` (str) to distinguish an actual removal from a no-op.\",\n input: SharePointSharepointRemoveUserInput,\n output: SharePointSharepointRemoveUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;AAC1O,CAAC;AACD,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC7E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;AAC3E,CAAC;AAED,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/sharepoint-remove-user.d.ts
|
|
4
|
+
declare const SharePointSharepointRemoveUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const SharePointSharepointRemoveUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sharePointSharepointRemoveUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sharePointSharepointRemoveUser };
|
|
9
|
+
//# sourceMappingURL=sharepoint-remove-user.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepoint-remove-user.d.cts","names":[],"sources":["../../src/actions/sharepoint-remove-user.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGlD;AAAA,cACW,oCAAA,EAAsC,CAAA,CAAE,UAInD;AAAA,cAEW,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/sharepoint-remove-user.d.ts
|
|
4
|
+
declare const SharePointSharepointRemoveUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const SharePointSharepointRemoveUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sharePointSharepointRemoveUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sharePointSharepointRemoveUser };
|
|
9
|
+
//# sourceMappingURL=sharepoint-remove-user.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepoint-remove-user.d.mts","names":[],"sources":["../../src/actions/sharepoint-remove-user.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGlD;AAAA,cACW,oCAAA,EAAsC,CAAA,CAAE,UAInD;AAAA,cAEW,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const sharePointSharepointRemoveUser = action("SHARE_POINT_SHAREPOINT_REMOVE_USER", {
|
|
4
|
+
slug: "share_point-sharepoint-remove-user",
|
|
5
|
+
name: "Remove SharePoint User",
|
|
6
|
+
description: "Removes a user from SharePoint. Returns success even if user doesn't exist or was never a member; check response fields `was_removed` (bool) and `message` (str) to distinguish an actual removal from a no-op.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
email: z.string().describe("Email address of the user to remove."),
|
|
9
|
+
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()
|
|
10
|
+
}),
|
|
11
|
+
output: z.object({
|
|
12
|
+
email: z.string().describe("The email of the user that was removed"),
|
|
13
|
+
message: z.string().describe("Success message indicating user removal status"),
|
|
14
|
+
was_removed: z.boolean().describe("Whether the user was actually removed")
|
|
15
|
+
})
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { sharePointSharepointRemoveUser };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=sharepoint-remove-user.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepoint-remove-user.mjs","names":[],"sources":["../../src/actions/sharepoint-remove-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointSharepointRemoveUserInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the user to remove.\"),\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});\nexport const SharePointSharepointRemoveUserOutput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The email of the user that was removed\"),\n message: z.string().describe(\"Success message indicating user removal status\"),\n was_removed: z.boolean().describe(\"Whether the user was actually removed\"),\n});\n\nexport const sharePointSharepointRemoveUser = action(\"SHARE_POINT_SHAREPOINT_REMOVE_USER\", {\n slug: \"share_point-sharepoint-remove-user\",\n name: \"Remove SharePoint User\",\n description: \"Removes a user from SharePoint. Returns success even if user doesn't exist or was never a member; check response fields `was_removed` (bool) and `message` (str) to distinguish an actual removal from a no-op.\",\n input: SharePointSharepointRemoveUserInput,\n output: SharePointSharepointRemoveUserOutput,\n});\n"],"mappings":";;AAcA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+D,EAAE,OAAO;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CAC1O,CAWS;CACP,QAXgE,EAAE,OAAO;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC7E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;CAC3E,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/undo-checkout-file.ts
|
|
4
|
+
const SharePointUndoCheckoutFileInput = zod.z.object({
|
|
5
|
+
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(),
|
|
6
|
+
server_relative_path: zod.z.string().describe("Server-relative URL of the file to undo checkout, including library and folders. E.g., '/Shared Documents/test_undocheckout.txt'. This will discard any changes made while checked out.")
|
|
7
|
+
});
|
|
8
|
+
const SharePointUndoCheckoutFileOutput = zod.z.object({
|
|
9
|
+
status: zod.z.number().int().describe("HTTP status code returned by SharePoint for the undo checkout operation. 200 or 204 indicates success."),
|
|
10
|
+
message: zod.z.string().describe("Success message confirming the file checkout has been undone and changes discarded."),
|
|
11
|
+
server_relative_path: zod.z.string().describe("Server-relative path of the file.")
|
|
12
|
+
});
|
|
13
|
+
const sharePointUndoCheckoutFile = require_action.action("SHARE_POINT_UNDO_CHECKOUT_FILE", {
|
|
14
|
+
slug: "share_point-undo-checkout-file",
|
|
15
|
+
name: "Undo SharePoint File Checkout",
|
|
16
|
+
description: "Tool to undo a file checkout, discarding any changes made while checked out. Use when you need to cancel edits and unlock the file without saving.",
|
|
17
|
+
input: SharePointUndoCheckoutFileInput,
|
|
18
|
+
output: SharePointUndoCheckoutFileOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.sharePointUndoCheckoutFile = sharePointUndoCheckoutFile;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=undo-checkout-file.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"undo-checkout-file.cjs","names":["z","action"],"sources":["../../src/actions/undo-checkout-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUndoCheckoutFileInput: z.ZodTypeAny = z.object({\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n server_relative_path: z.string().describe(\"Server-relative URL of the file to undo checkout, including library and folders. E.g., '/Shared Documents/test_undocheckout.txt'. This will discard any changes made while checked out.\"),\n});\nexport const SharePointUndoCheckoutFileOutput: z.ZodTypeAny = z.object({\n status: z.number().int().describe(\"HTTP status code returned by SharePoint for the undo checkout operation. 200 or 204 indicates success.\"),\n message: z.string().describe(\"Success message confirming the file checkout has been undone and changes discarded.\"),\n server_relative_path: z.string().describe(\"Server-relative path of the file.\"),\n});\n\nexport const sharePointUndoCheckoutFile = action(\"SHARE_POINT_UNDO_CHECKOUT_FILE\", {\n slug: \"share_point-undo-checkout-file\",\n name: \"Undo SharePoint File Checkout\",\n description: \"Tool to undo a file checkout, discarding any changes made while checked out. Use when you need to cancel edits and unlock the file without saving.\",\n input: SharePointUndoCheckoutFileInput,\n output: SharePointUndoCheckoutFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;AACrO,CAAC;AACD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG;CAC1I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAClH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AAC/E,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/undo-checkout-file.d.ts
|
|
4
|
+
declare const SharePointUndoCheckoutFileInput: z.ZodTypeAny;
|
|
5
|
+
declare const SharePointUndoCheckoutFileOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sharePointUndoCheckoutFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sharePointUndoCheckoutFile };
|
|
9
|
+
//# sourceMappingURL=undo-checkout-file.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"undo-checkout-file.d.cts","names":[],"sources":["../../src/actions/undo-checkout-file.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAI/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/undo-checkout-file.d.ts
|
|
4
|
+
declare const SharePointUndoCheckoutFileInput: z.ZodTypeAny;
|
|
5
|
+
declare const SharePointUndoCheckoutFileOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sharePointUndoCheckoutFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sharePointUndoCheckoutFile };
|
|
9
|
+
//# sourceMappingURL=undo-checkout-file.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"undo-checkout-file.d.mts","names":[],"sources":["../../src/actions/undo-checkout-file.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAI/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const sharePointUndoCheckoutFile = action("SHARE_POINT_UNDO_CHECKOUT_FILE", {
|
|
4
|
+
slug: "share_point-undo-checkout-file",
|
|
5
|
+
name: "Undo SharePoint File Checkout",
|
|
6
|
+
description: "Tool to undo a file checkout, discarding any changes made while checked out. Use when you need to cancel edits and unlock the file without saving.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
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(),
|
|
9
|
+
server_relative_path: z.string().describe("Server-relative URL of the file to undo checkout, including library and folders. E.g., '/Shared Documents/test_undocheckout.txt'. This will discard any changes made while checked out.")
|
|
10
|
+
}),
|
|
11
|
+
output: z.object({
|
|
12
|
+
status: z.number().int().describe("HTTP status code returned by SharePoint for the undo checkout operation. 200 or 204 indicates success."),
|
|
13
|
+
message: z.string().describe("Success message confirming the file checkout has been undone and changes discarded."),
|
|
14
|
+
server_relative_path: z.string().describe("Server-relative path of the file.")
|
|
15
|
+
})
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { sharePointUndoCheckoutFile };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=undo-checkout-file.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"undo-checkout-file.mjs","names":[],"sources":["../../src/actions/undo-checkout-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUndoCheckoutFileInput: z.ZodTypeAny = z.object({\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n server_relative_path: z.string().describe(\"Server-relative URL of the file to undo checkout, including library and folders. E.g., '/Shared Documents/test_undocheckout.txt'. This will discard any changes made while checked out.\"),\n});\nexport const SharePointUndoCheckoutFileOutput: z.ZodTypeAny = z.object({\n status: z.number().int().describe(\"HTTP status code returned by SharePoint for the undo checkout operation. 200 or 204 indicates success.\"),\n message: z.string().describe(\"Success message confirming the file checkout has been undone and changes discarded.\"),\n server_relative_path: z.string().describe(\"Server-relative path of the file.\"),\n});\n\nexport const sharePointUndoCheckoutFile = action(\"SHARE_POINT_UNDO_CHECKOUT_FILE\", {\n slug: \"share_point-undo-checkout-file\",\n name: \"Undo SharePoint File Checkout\",\n description: \"Tool to undo a file checkout, discarding any changes made while checked out. Use when you need to cancel edits and unlock the file without saving.\",\n input: SharePointUndoCheckoutFileInput,\n output: SharePointUndoCheckoutFileOutput,\n});\n"],"mappings":";;AAcA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd2D,EAAE,OAAO;EACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;CACrO,CAWS;CACP,QAX4D,EAAE,OAAO;EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG;EAC1I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAClH,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC/E,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-content-type.ts
|
|
4
|
+
const SharePointUpdateContentTypeInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("The name of the content type. Use this to rename the content type.").optional(),
|
|
6
|
+
group: zod.z.string().describe("The group name that this content type belongs to. Use this to change the group classification.").optional(),
|
|
7
|
+
hidden: zod.z.boolean().describe("Indicates whether the content type is hidden in the list's New menu. Set to true to hide the content type.").optional(),
|
|
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
|
+
description: zod.z.string().describe("The descriptive text for the content type. Use this to update the content type description.").optional(),
|
|
10
|
+
document_set: zod.z.object({
|
|
11
|
+
sharedColumns: zod.z.array(zod.z.object({
|
|
12
|
+
id: zod.z.string().describe("The ID of the shared column.").optional(),
|
|
13
|
+
name: zod.z.string().describe("The name of the shared column.").optional()
|
|
14
|
+
}).describe("Model for document set shared columns.")).describe("List of shared columns in the document set.").optional(),
|
|
15
|
+
defaultContents: zod.z.array(zod.z.object({
|
|
16
|
+
fileName: zod.z.string().describe("The file name for the default content.").optional(),
|
|
17
|
+
folderName: zod.z.string().describe("The folder path for the default content.").optional(),
|
|
18
|
+
contentTypeName: zod.z.string().describe("The name of the content type for the default content.").optional()
|
|
19
|
+
}).describe("Model for document set default contents.")).describe("List of default contents for the document set.").optional(),
|
|
20
|
+
welcomePageColumns: zod.z.array(zod.z.object({
|
|
21
|
+
id: zod.z.string().describe("The ID of the welcome page column.").optional(),
|
|
22
|
+
name: zod.z.string().describe("The name of the welcome page column.").optional()
|
|
23
|
+
}).describe("Model for document set welcome page columns.")).describe("List of welcome page columns in the document set.").optional(),
|
|
24
|
+
allowedContentTypes: zod.z.array(zod.z.object({
|
|
25
|
+
id: zod.z.string().describe("The content type ID.").optional(),
|
|
26
|
+
name: zod.z.string().describe("The content type name.").optional()
|
|
27
|
+
}).describe("Model for document set allowed content types.")).describe("List of content types allowed in the document set.").optional(),
|
|
28
|
+
shouldPrefixNameToFile: zod.z.boolean().describe("Whether to prefix the document set name to files.").optional()
|
|
29
|
+
}).describe("Model for document set metadata.").optional(),
|
|
30
|
+
content_type_id: zod.z.string().describe("The unique identifier of the content type to update. This can be the content type ID (e.g., '0x01' for Item) or the string ID from the Id.StringValue property.")
|
|
31
|
+
}).describe("Request model for updating a SharePoint content type.");
|
|
32
|
+
const SharePointUpdateContentType_ContentTypeIdObjectSchema = zod.z.object({ StringValue: zod.z.string().describe("String representation of the content type ID.").nullable().optional() }).describe("Model for content type ID object.");
|
|
33
|
+
const SharePointUpdateContentTypeOutput = zod.z.object({
|
|
34
|
+
Id: SharePointUpdateContentType_ContentTypeIdObjectSchema.nullable().optional(),
|
|
35
|
+
Name: zod.z.string().describe("Name of the content type.").nullable().optional(),
|
|
36
|
+
Group: zod.z.string().describe("Content type group.").nullable().optional(),
|
|
37
|
+
Hidden: zod.z.boolean().describe("Whether the content type is hidden.").nullable().optional(),
|
|
38
|
+
Sealed: zod.z.boolean().describe("Whether the content type is sealed.").nullable().optional(),
|
|
39
|
+
ReadOnly: zod.z.boolean().describe("Whether the content type is read-only.").nullable().optional(),
|
|
40
|
+
StringId: zod.z.string().describe("String representation of the content type ID.").nullable().optional(),
|
|
41
|
+
Description: zod.z.string().describe("Description of the content type.").nullable().optional()
|
|
42
|
+
}).describe("Response model for the updated content type.");
|
|
43
|
+
const sharePointUpdateContentType = require_action.action("SHARE_POINT_UPDATE_CONTENT_TYPE", {
|
|
44
|
+
slug: "share_point-update-content-type",
|
|
45
|
+
name: "Update SharePoint Content Type",
|
|
46
|
+
description: "Tool to update a SharePoint content type's properties such as name, description, group, or hidden status. Use when you need to modify content type metadata.",
|
|
47
|
+
input: SharePointUpdateContentTypeInput,
|
|
48
|
+
output: SharePointUpdateContentTypeOutput
|
|
49
|
+
});
|
|
50
|
+
//#endregion
|
|
51
|
+
exports.sharePointUpdateContentType = sharePointUpdateContentType;
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=update-content-type.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-content-type.cjs","names":["z","action"],"sources":["../../src/actions/update-content-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateContentTypeInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the content type. Use this to rename the content type.\").optional(),\n group: z.string().describe(\"The group name that this content type belongs to. Use this to change the group classification.\").optional(),\n hidden: z.boolean().describe(\"Indicates whether the content type is hidden in the list's New menu. Set to true to hide the content type.\").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 descriptive text for the content type. Use this to update the content type description.\").optional(),\n document_set: z.object({\n sharedColumns: z.array(z.object({\n id: z.string().describe(\"The ID of the shared column.\").optional(),\n name: z.string().describe(\"The name of the shared column.\").optional(),\n}).describe(\"Model for document set shared columns.\")).describe(\"List of shared columns in the document set.\").optional(),\n defaultContents: z.array(z.object({\n fileName: z.string().describe(\"The file name for the default content.\").optional(),\n folderName: z.string().describe(\"The folder path for the default content.\").optional(),\n contentTypeName: z.string().describe(\"The name of the content type for the default content.\").optional(),\n}).describe(\"Model for document set default contents.\")).describe(\"List of default contents for the document set.\").optional(),\n welcomePageColumns: z.array(z.object({\n id: z.string().describe(\"The ID of the welcome page column.\").optional(),\n name: z.string().describe(\"The name of the welcome page column.\").optional(),\n}).describe(\"Model for document set welcome page columns.\")).describe(\"List of welcome page columns in the document set.\").optional(),\n allowedContentTypes: z.array(z.object({\n id: z.string().describe(\"The content type ID.\").optional(),\n name: z.string().describe(\"The content type name.\").optional(),\n}).describe(\"Model for document set allowed content types.\")).describe(\"List of content types allowed in the document set.\").optional(),\n shouldPrefixNameToFile: z.boolean().describe(\"Whether to prefix the document set name to files.\").optional(),\n}).describe(\"Model for document set metadata.\").optional(),\n content_type_id: z.string().describe(\"The unique identifier of the content type to update. This can be the content type ID (e.g., '0x01' for Item) or the string ID from the Id.StringValue property.\"),\n}).describe(\"Request model for updating a SharePoint content type.\");\nconst SharePointUpdateContentType_ContentTypeIdObjectSchema: z.ZodTypeAny = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID.\").nullable().optional(),\n}).describe(\"Model for content type ID object.\");\nexport const SharePointUpdateContentTypeOutput: z.ZodTypeAny = z.object({\n Id: SharePointUpdateContentType_ContentTypeIdObjectSchema.nullable().optional(),\n Name: z.string().describe(\"Name of the content type.\").nullable().optional(),\n Group: z.string().describe(\"Content type group.\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID.\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type.\").nullable().optional(),\n}).describe(\"Response model for the updated content type.\");\n\nexport const sharePointUpdateContentType = action(\"SHARE_POINT_UPDATE_CONTENT_TYPE\", {\n slug: \"share_point-update-content-type\",\n name: \"Update SharePoint Content Type\",\n description: \"Tool to update a SharePoint content type's properties such as name, description, group, or hidden status. Use when you need to modify content type metadata.\",\n input: SharePointUpdateContentTypeInput,\n output: SharePointUpdateContentTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACzG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACtI,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACpJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACzI,cAAcA,IAAAA,EAAE,OAAO;EACvB,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GAChC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACvE,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACtH,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GAClC,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;GACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;GACrF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACzG,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC3H,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GACrC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;GACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC7E,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAClI,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GACtC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;GACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC/D,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACpI,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK;AACxM,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,wDAAsEA,IAAAA,EAAE,OAAO,EACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAI,sDAAsD,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-content-type.d.ts
|
|
4
|
+
declare const SharePointUpdateContentTypeInput: z.ZodTypeAny;
|
|
5
|
+
declare const SharePointUpdateContentTypeOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sharePointUpdateContentType: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sharePointUpdateContentType };
|
|
9
|
+
//# sourceMappingURL=update-content-type.d.cts.map
|