@keystrokehq/share_point 0.1.3 → 0.1.5
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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-attachment-to-list-item.cjs +1 -0
- package/dist/actions/add-attachment-to-list-item.cjs.map +1 -1
- package/dist/actions/add-attachment-to-list-item.d.cts +3 -13
- package/dist/actions/add-attachment-to-list-item.d.cts.map +1 -1
- package/dist/actions/add-attachment-to-list-item.d.mts +3 -13
- package/dist/actions/add-attachment-to-list-item.d.mts.map +1 -1
- package/dist/actions/add-attachment-to-list-item.mjs +1 -0
- package/dist/actions/add-attachment-to-list-item.mjs.map +1 -1
- package/dist/actions/add-field-link-to-content-type.cjs +1 -0
- package/dist/actions/add-field-link-to-content-type.cjs.map +1 -1
- package/dist/actions/add-field-link-to-content-type.d.cts +3 -8
- package/dist/actions/add-field-link-to-content-type.d.cts.map +1 -1
- package/dist/actions/add-field-link-to-content-type.d.mts +3 -8
- package/dist/actions/add-field-link-to-content-type.d.mts.map +1 -1
- package/dist/actions/add-field-link-to-content-type.mjs +1 -0
- package/dist/actions/add-field-link-to-content-type.mjs.map +1 -1
- package/dist/actions/add-role-assignment-to-item.cjs +1 -0
- package/dist/actions/add-role-assignment-to-item.cjs.map +1 -1
- package/dist/actions/add-role-assignment-to-item.d.cts +3 -7
- package/dist/actions/add-role-assignment-to-item.d.cts.map +1 -1
- package/dist/actions/add-role-assignment-to-item.d.mts +3 -7
- package/dist/actions/add-role-assignment-to-item.d.mts.map +1 -1
- package/dist/actions/add-role-assignment-to-item.mjs +1 -0
- package/dist/actions/add-role-assignment-to-item.mjs.map +1 -1
- package/dist/actions/add-role-assignment-to-list.cjs +1 -0
- package/dist/actions/add-role-assignment-to-list.cjs.map +1 -1
- package/dist/actions/add-role-assignment-to-list.d.cts +3 -6
- package/dist/actions/add-role-assignment-to-list.d.cts.map +1 -1
- package/dist/actions/add-role-assignment-to-list.d.mts +3 -6
- package/dist/actions/add-role-assignment-to-list.d.mts.map +1 -1
- package/dist/actions/add-role-assignment-to-list.mjs +1 -0
- package/dist/actions/add-role-assignment-to-list.mjs.map +1 -1
- package/dist/actions/break-role-inheritance-on-item.cjs +1 -0
- package/dist/actions/break-role-inheritance-on-item.cjs.map +1 -1
- package/dist/actions/break-role-inheritance-on-item.d.cts +3 -7
- package/dist/actions/break-role-inheritance-on-item.d.cts.map +1 -1
- package/dist/actions/break-role-inheritance-on-item.d.mts +3 -7
- package/dist/actions/break-role-inheritance-on-item.d.mts.map +1 -1
- package/dist/actions/break-role-inheritance-on-item.mjs +1 -0
- package/dist/actions/break-role-inheritance-on-item.mjs.map +1 -1
- package/dist/actions/break-role-inheritance-on-list.cjs +1 -0
- package/dist/actions/break-role-inheritance-on-list.cjs.map +1 -1
- package/dist/actions/break-role-inheritance-on-list.d.cts +3 -6
- package/dist/actions/break-role-inheritance-on-list.d.cts.map +1 -1
- package/dist/actions/break-role-inheritance-on-list.d.mts +3 -6
- package/dist/actions/break-role-inheritance-on-list.d.mts.map +1 -1
- package/dist/actions/break-role-inheritance-on-list.mjs +1 -0
- package/dist/actions/break-role-inheritance-on-list.mjs.map +1 -1
- package/dist/actions/check-in-file.cjs +1 -0
- package/dist/actions/check-in-file.cjs.map +1 -1
- package/dist/actions/check-in-file.d.cts +3 -6
- package/dist/actions/check-in-file.d.cts.map +1 -1
- package/dist/actions/check-in-file.d.mts +3 -6
- package/dist/actions/check-in-file.d.mts.map +1 -1
- package/dist/actions/check-in-file.mjs +1 -0
- package/dist/actions/check-in-file.mjs.map +1 -1
- package/dist/actions/create-content-type.cjs +1 -0
- package/dist/actions/create-content-type.cjs.map +1 -1
- package/dist/actions/create-content-type.d.cts +3 -9
- package/dist/actions/create-content-type.d.cts.map +1 -1
- package/dist/actions/create-content-type.d.mts +3 -9
- package/dist/actions/create-content-type.d.mts.map +1 -1
- package/dist/actions/create-content-type.mjs +1 -0
- package/dist/actions/create-content-type.mjs.map +1 -1
- package/dist/actions/create-drive-item-sharing-link.cjs +1 -0
- package/dist/actions/create-drive-item-sharing-link.cjs.map +1 -1
- package/dist/actions/create-drive-item-sharing-link.d.cts +3 -9
- package/dist/actions/create-drive-item-sharing-link.d.cts.map +1 -1
- package/dist/actions/create-drive-item-sharing-link.d.mts +3 -9
- package/dist/actions/create-drive-item-sharing-link.d.mts.map +1 -1
- package/dist/actions/create-drive-item-sharing-link.mjs +1 -0
- package/dist/actions/create-drive-item-sharing-link.mjs.map +1 -1
- package/dist/actions/create-list-field.cjs +1 -0
- package/dist/actions/create-list-field.cjs.map +1 -1
- package/dist/actions/create-list-field.d.cts +3 -9
- package/dist/actions/create-list-field.d.cts.map +1 -1
- package/dist/actions/create-list-field.d.mts +3 -9
- package/dist/actions/create-list-field.d.mts.map +1 -1
- package/dist/actions/create-list-field.mjs +1 -0
- package/dist/actions/create-list-field.mjs.map +1 -1
- package/dist/actions/create-list-item-by-id.cjs +1 -0
- package/dist/actions/create-list-item-by-id.cjs.map +1 -1
- package/dist/actions/create-list-item-by-id.d.cts +3 -6
- package/dist/actions/create-list-item-by-id.d.cts.map +1 -1
- package/dist/actions/create-list-item-by-id.d.mts +3 -6
- package/dist/actions/create-list-item-by-id.d.mts.map +1 -1
- package/dist/actions/create-list-item-by-id.mjs +1 -0
- package/dist/actions/create-list-item-by-id.mjs.map +1 -1
- package/dist/actions/create-list-item-in-folder.cjs +1 -0
- package/dist/actions/create-list-item-in-folder.cjs.map +1 -1
- package/dist/actions/create-list-item-in-folder.d.cts +3 -11
- package/dist/actions/create-list-item-in-folder.d.cts.map +1 -1
- package/dist/actions/create-list-item-in-folder.d.mts +3 -11
- package/dist/actions/create-list-item-in-folder.d.mts.map +1 -1
- package/dist/actions/create-list-item-in-folder.mjs +1 -0
- package/dist/actions/create-list-item-in-folder.mjs.map +1 -1
- package/dist/actions/create-web.cjs +1 -0
- package/dist/actions/create-web.cjs.map +1 -1
- package/dist/actions/create-web.d.cts +3 -9
- package/dist/actions/create-web.d.cts.map +1 -1
- package/dist/actions/create-web.d.mts +3 -9
- package/dist/actions/create-web.d.mts.map +1 -1
- package/dist/actions/create-web.mjs +1 -0
- package/dist/actions/create-web.mjs.map +1 -1
- package/dist/actions/delete-drive-item-version-content.cjs +1 -0
- package/dist/actions/delete-drive-item-version-content.cjs.map +1 -1
- package/dist/actions/delete-drive-item-version-content.d.cts +3 -5
- package/dist/actions/delete-drive-item-version-content.d.cts.map +1 -1
- package/dist/actions/delete-drive-item-version-content.d.mts +3 -5
- package/dist/actions/delete-drive-item-version-content.d.mts.map +1 -1
- package/dist/actions/delete-drive-item-version-content.mjs +1 -0
- package/dist/actions/delete-drive-item-version-content.mjs.map +1 -1
- package/dist/actions/delete-file-item.cjs +1 -0
- package/dist/actions/delete-file-item.cjs.map +1 -1
- package/dist/actions/delete-file-item.d.cts +3 -5
- package/dist/actions/delete-file-item.d.cts.map +1 -1
- package/dist/actions/delete-file-item.d.mts +3 -5
- package/dist/actions/delete-file-item.d.mts.map +1 -1
- package/dist/actions/delete-file-item.mjs +1 -0
- package/dist/actions/delete-file-item.mjs.map +1 -1
- package/dist/actions/delete-folder.cjs +1 -0
- package/dist/actions/delete-folder.cjs.map +1 -1
- package/dist/actions/delete-folder.d.cts +3 -5
- package/dist/actions/delete-folder.d.cts.map +1 -1
- package/dist/actions/delete-folder.d.mts +3 -5
- package/dist/actions/delete-folder.d.mts.map +1 -1
- package/dist/actions/delete-folder.mjs +1 -0
- package/dist/actions/delete-folder.mjs.map +1 -1
- package/dist/actions/delete-list-by-title.cjs +1 -0
- package/dist/actions/delete-list-by-title.cjs.map +1 -1
- package/dist/actions/delete-list-by-title.d.cts +3 -5
- package/dist/actions/delete-list-by-title.d.cts.map +1 -1
- package/dist/actions/delete-list-by-title.d.mts +3 -5
- package/dist/actions/delete-list-by-title.d.mts.map +1 -1
- package/dist/actions/delete-list-by-title.mjs +1 -0
- package/dist/actions/delete-list-by-title.mjs.map +1 -1
- package/dist/actions/delete-list-item.cjs +1 -0
- package/dist/actions/delete-list-item.cjs.map +1 -1
- package/dist/actions/delete-list-item.d.cts +3 -6
- package/dist/actions/delete-list-item.d.cts.map +1 -1
- package/dist/actions/delete-list-item.d.mts +3 -6
- package/dist/actions/delete-list-item.d.mts.map +1 -1
- package/dist/actions/delete-list-item.mjs +1 -0
- package/dist/actions/delete-list-item.mjs.map +1 -1
- package/dist/actions/delete-list-items.cjs +1 -0
- package/dist/actions/delete-list-items.cjs.map +1 -1
- package/dist/actions/delete-list-items.d.cts +3 -6
- package/dist/actions/delete-list-items.d.cts.map +1 -1
- package/dist/actions/delete-list-items.d.mts +3 -6
- package/dist/actions/delete-list-items.d.mts.map +1 -1
- package/dist/actions/delete-list-items.mjs +1 -0
- package/dist/actions/delete-list-items.mjs.map +1 -1
- package/dist/actions/delete-list.cjs +1 -0
- package/dist/actions/delete-list.cjs.map +1 -1
- package/dist/actions/delete-list.d.cts +3 -5
- package/dist/actions/delete-list.d.cts.map +1 -1
- package/dist/actions/delete-list.d.mts +3 -5
- package/dist/actions/delete-list.d.mts.map +1 -1
- package/dist/actions/delete-list.mjs +1 -0
- package/dist/actions/delete-list.mjs.map +1 -1
- package/dist/actions/delete-recycle-bin-item-permanent.cjs +1 -0
- package/dist/actions/delete-recycle-bin-item-permanent.cjs.map +1 -1
- package/dist/actions/delete-recycle-bin-item-permanent.d.cts +3 -4
- package/dist/actions/delete-recycle-bin-item-permanent.d.cts.map +1 -1
- package/dist/actions/delete-recycle-bin-item-permanent.d.mts +3 -4
- package/dist/actions/delete-recycle-bin-item-permanent.d.mts.map +1 -1
- package/dist/actions/delete-recycle-bin-item-permanent.mjs +1 -0
- package/dist/actions/delete-recycle-bin-item-permanent.mjs.map +1 -1
- package/dist/actions/download-file-by-server-relative-url.cjs +1 -0
- package/dist/actions/download-file-by-server-relative-url.cjs.map +1 -1
- package/dist/actions/download-file-by-server-relative-url.d.cts +3 -4
- package/dist/actions/download-file-by-server-relative-url.d.cts.map +1 -1
- package/dist/actions/download-file-by-server-relative-url.d.mts +3 -4
- package/dist/actions/download-file-by-server-relative-url.d.mts.map +1 -1
- package/dist/actions/download-file-by-server-relative-url.mjs +1 -0
- package/dist/actions/download-file-by-server-relative-url.mjs.map +1 -1
- package/dist/actions/ensure-user.cjs +1 -0
- package/dist/actions/ensure-user.cjs.map +1 -1
- package/dist/actions/ensure-user.d.cts +3 -6
- package/dist/actions/ensure-user.d.cts.map +1 -1
- package/dist/actions/ensure-user.d.mts +3 -6
- package/dist/actions/ensure-user.d.mts.map +1 -1
- package/dist/actions/ensure-user.mjs +1 -0
- package/dist/actions/ensure-user.mjs.map +1 -1
- package/dist/actions/follow.cjs +1 -0
- package/dist/actions/follow.cjs.map +1 -1
- package/dist/actions/follow.d.cts +3 -7
- package/dist/actions/follow.d.cts.map +1 -1
- package/dist/actions/follow.d.mts +3 -7
- package/dist/actions/follow.d.mts.map +1 -1
- package/dist/actions/follow.mjs +1 -0
- package/dist/actions/follow.mjs.map +1 -1
- package/dist/actions/get-all-folders.cjs +1 -0
- package/dist/actions/get-all-folders.cjs.map +1 -1
- package/dist/actions/get-all-folders.d.cts +3 -9
- package/dist/actions/get-all-folders.d.cts.map +1 -1
- package/dist/actions/get-all-folders.d.mts +3 -9
- package/dist/actions/get-all-folders.d.mts.map +1 -1
- package/dist/actions/get-all-folders.mjs +1 -0
- package/dist/actions/get-all-folders.mjs.map +1 -1
- package/dist/actions/get-changes.cjs +1 -0
- package/dist/actions/get-changes.cjs.map +1 -1
- package/dist/actions/get-changes.d.cts +3 -41
- package/dist/actions/get-changes.d.cts.map +1 -1
- package/dist/actions/get-changes.d.mts +3 -41
- package/dist/actions/get-changes.d.mts.map +1 -1
- package/dist/actions/get-changes.mjs +1 -0
- package/dist/actions/get-changes.mjs.map +1 -1
- package/dist/actions/get-content-type.cjs +1 -0
- package/dist/actions/get-content-type.cjs.map +1 -1
- package/dist/actions/get-content-type.d.cts +3 -4
- package/dist/actions/get-content-type.d.cts.map +1 -1
- package/dist/actions/get-content-type.d.mts +3 -4
- package/dist/actions/get-content-type.d.mts.map +1 -1
- package/dist/actions/get-content-type.mjs +1 -0
- package/dist/actions/get-content-type.mjs.map +1 -1
- package/dist/actions/get-content-types-for-list.cjs +1 -0
- package/dist/actions/get-content-types-for-list.cjs.map +1 -1
- package/dist/actions/get-content-types-for-list.d.cts +3 -4
- package/dist/actions/get-content-types-for-list.d.cts.map +1 -1
- package/dist/actions/get-content-types-for-list.d.mts +3 -4
- package/dist/actions/get-content-types-for-list.d.mts.map +1 -1
- package/dist/actions/get-content-types-for-list.mjs +1 -0
- package/dist/actions/get-content-types-for-list.mjs.map +1 -1
- package/dist/actions/get-content-types.cjs +1 -0
- package/dist/actions/get-content-types.cjs.map +1 -1
- package/dist/actions/get-content-types.d.cts +3 -9
- package/dist/actions/get-content-types.d.cts.map +1 -1
- package/dist/actions/get-content-types.d.mts +3 -9
- package/dist/actions/get-content-types.d.mts.map +1 -1
- package/dist/actions/get-content-types.mjs +1 -0
- package/dist/actions/get-content-types.mjs.map +1 -1
- package/dist/actions/get-context-info.cjs +1 -0
- package/dist/actions/get-context-info.cjs.map +1 -1
- package/dist/actions/get-context-info.d.cts +3 -3
- package/dist/actions/get-context-info.d.cts.map +1 -1
- package/dist/actions/get-context-info.d.mts +3 -3
- package/dist/actions/get-context-info.d.mts.map +1 -1
- package/dist/actions/get-context-info.mjs +1 -0
- package/dist/actions/get-context-info.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +1 -0
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +3 -3
- package/dist/actions/get-current-user.d.cts.map +1 -1
- package/dist/actions/get-current-user.d.mts +3 -3
- package/dist/actions/get-current-user.d.mts.map +1 -1
- package/dist/actions/get-current-user.mjs +1 -0
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-drive-item-analytics.cjs +1 -0
- package/dist/actions/get-drive-item-analytics.cjs.map +1 -1
- package/dist/actions/get-drive-item-analytics.d.cts +3 -6
- package/dist/actions/get-drive-item-analytics.d.cts.map +1 -1
- package/dist/actions/get-drive-item-analytics.d.mts +3 -6
- package/dist/actions/get-drive-item-analytics.d.mts.map +1 -1
- package/dist/actions/get-drive-item-analytics.mjs +1 -0
- package/dist/actions/get-drive-item-analytics.mjs.map +1 -1
- package/dist/actions/get-group-users-by-id.cjs +1 -0
- package/dist/actions/get-group-users-by-id.cjs.map +1 -1
- package/dist/actions/get-group-users-by-id.d.cts +3 -10
- package/dist/actions/get-group-users-by-id.d.cts.map +1 -1
- package/dist/actions/get-group-users-by-id.d.mts +3 -10
- package/dist/actions/get-group-users-by-id.d.mts.map +1 -1
- package/dist/actions/get-group-users-by-id.mjs +1 -0
- package/dist/actions/get-group-users-by-id.mjs.map +1 -1
- package/dist/actions/get-group-users.cjs +1 -0
- package/dist/actions/get-group-users.cjs.map +1 -1
- package/dist/actions/get-group-users.d.cts +3 -10
- package/dist/actions/get-group-users.d.cts.map +1 -1
- package/dist/actions/get-group-users.d.mts +3 -10
- package/dist/actions/get-group-users.d.mts.map +1 -1
- package/dist/actions/get-group-users.mjs +1 -0
- package/dist/actions/get-group-users.mjs.map +1 -1
- package/dist/actions/get-item-attachment-content.cjs +1 -0
- package/dist/actions/get-item-attachment-content.cjs.map +1 -1
- package/dist/actions/get-item-attachment-content.d.cts +3 -6
- package/dist/actions/get-item-attachment-content.d.cts.map +1 -1
- package/dist/actions/get-item-attachment-content.d.mts +3 -6
- package/dist/actions/get-item-attachment-content.d.mts.map +1 -1
- package/dist/actions/get-item-attachment-content.mjs +1 -0
- package/dist/actions/get-item-attachment-content.mjs.map +1 -1
- package/dist/actions/get-list-by-guid.cjs +1 -0
- package/dist/actions/get-list-by-guid.cjs.map +1 -1
- package/dist/actions/get-list-by-guid.d.cts +3 -6
- package/dist/actions/get-list-by-guid.d.cts.map +1 -1
- package/dist/actions/get-list-by-guid.d.mts +3 -6
- package/dist/actions/get-list-by-guid.d.mts.map +1 -1
- package/dist/actions/get-list-by-guid.mjs +1 -0
- package/dist/actions/get-list-by-guid.mjs.map +1 -1
- package/dist/actions/get-list-by-title.cjs +1 -0
- package/dist/actions/get-list-by-title.cjs.map +1 -1
- package/dist/actions/get-list-by-title.d.cts +3 -6
- package/dist/actions/get-list-by-title.d.cts.map +1 -1
- package/dist/actions/get-list-by-title.d.mts +3 -6
- package/dist/actions/get-list-by-title.d.mts.map +1 -1
- package/dist/actions/get-list-by-title.mjs +1 -0
- package/dist/actions/get-list-by-title.mjs.map +1 -1
- package/dist/actions/get-list-content-type-by-id.cjs +1 -0
- package/dist/actions/get-list-content-type-by-id.cjs.map +1 -1
- package/dist/actions/get-list-content-type-by-id.d.cts +3 -5
- package/dist/actions/get-list-content-type-by-id.d.cts.map +1 -1
- package/dist/actions/get-list-content-type-by-id.d.mts +3 -5
- package/dist/actions/get-list-content-type-by-id.d.mts.map +1 -1
- package/dist/actions/get-list-content-type-by-id.mjs +1 -0
- package/dist/actions/get-list-content-type-by-id.mjs.map +1 -1
- package/dist/actions/get-list-item-by-id.cjs +1 -0
- package/dist/actions/get-list-item-by-id.cjs.map +1 -1
- package/dist/actions/get-list-item-by-id.d.cts +3 -7
- package/dist/actions/get-list-item-by-id.d.cts.map +1 -1
- package/dist/actions/get-list-item-by-id.d.mts +3 -7
- package/dist/actions/get-list-item-by-id.d.mts.map +1 -1
- package/dist/actions/get-list-item-by-id.mjs +1 -0
- package/dist/actions/get-list-item-by-id.mjs.map +1 -1
- package/dist/actions/get-list-item-version.cjs +1 -0
- package/dist/actions/get-list-item-version.cjs.map +1 -1
- package/dist/actions/get-list-item-version.d.cts +3 -6
- package/dist/actions/get-list-item-version.d.cts.map +1 -1
- package/dist/actions/get-list-item-version.d.mts +3 -6
- package/dist/actions/get-list-item-version.d.mts.map +1 -1
- package/dist/actions/get-list-item-version.mjs +1 -0
- package/dist/actions/get-list-item-version.mjs.map +1 -1
- package/dist/actions/get-list-items-by-guid.cjs +1 -0
- package/dist/actions/get-list-items-by-guid.cjs.map +1 -1
- package/dist/actions/get-list-items-by-guid.d.cts +3 -10
- package/dist/actions/get-list-items-by-guid.d.cts.map +1 -1
- package/dist/actions/get-list-items-by-guid.d.mts +3 -10
- package/dist/actions/get-list-items-by-guid.d.mts.map +1 -1
- package/dist/actions/get-list-items-by-guid.mjs +1 -0
- package/dist/actions/get-list-items-by-guid.mjs.map +1 -1
- package/dist/actions/get-list-items.cjs +1 -0
- package/dist/actions/get-list-items.cjs.map +1 -1
- package/dist/actions/get-list-items.d.cts +3 -10
- package/dist/actions/get-list-items.d.cts.map +1 -1
- package/dist/actions/get-list-items.d.mts +3 -10
- package/dist/actions/get-list-items.d.mts.map +1 -1
- package/dist/actions/get-list-items.mjs +1 -0
- package/dist/actions/get-list-items.mjs.map +1 -1
- package/dist/actions/get-my-followed.cjs +1 -0
- package/dist/actions/get-my-followed.cjs.map +1 -1
- package/dist/actions/get-my-followed.d.cts +3 -4
- package/dist/actions/get-my-followed.d.cts.map +1 -1
- package/dist/actions/get-my-followed.d.mts +3 -4
- package/dist/actions/get-my-followed.d.mts.map +1 -1
- package/dist/actions/get-my-followed.mjs +1 -0
- package/dist/actions/get-my-followed.mjs.map +1 -1
- package/dist/actions/get-my-followers.cjs +1 -0
- package/dist/actions/get-my-followers.cjs.map +1 -1
- package/dist/actions/get-my-followers.d.cts +3 -3
- package/dist/actions/get-my-followers.d.cts.map +1 -1
- package/dist/actions/get-my-followers.d.mts +3 -3
- package/dist/actions/get-my-followers.d.mts.map +1 -1
- package/dist/actions/get-my-followers.mjs +1 -0
- package/dist/actions/get-my-followers.mjs.map +1 -1
- package/dist/actions/get-role-definitions.cjs +1 -0
- package/dist/actions/get-role-definitions.cjs.map +1 -1
- package/dist/actions/get-role-definitions.d.cts +3 -9
- package/dist/actions/get-role-definitions.d.cts.map +1 -1
- package/dist/actions/get-role-definitions.d.mts +3 -9
- package/dist/actions/get-role-definitions.d.mts.map +1 -1
- package/dist/actions/get-role-definitions.mjs +1 -0
- package/dist/actions/get-role-definitions.mjs.map +1 -1
- package/dist/actions/get-site-by-hostname.cjs +1 -0
- package/dist/actions/get-site-by-hostname.cjs.map +1 -1
- package/dist/actions/get-site-by-hostname.d.cts +3 -3
- package/dist/actions/get-site-by-hostname.d.cts.map +1 -1
- package/dist/actions/get-site-by-hostname.d.mts +3 -3
- package/dist/actions/get-site-by-hostname.d.mts.map +1 -1
- package/dist/actions/get-site-by-hostname.mjs +1 -0
- package/dist/actions/get-site-by-hostname.mjs.map +1 -1
- package/dist/actions/get-site-by-id.cjs +1 -0
- package/dist/actions/get-site-by-id.cjs.map +1 -1
- package/dist/actions/get-site-by-id.d.cts +3 -5
- package/dist/actions/get-site-by-id.d.cts.map +1 -1
- package/dist/actions/get-site-by-id.d.mts +3 -5
- package/dist/actions/get-site-by-id.d.mts.map +1 -1
- package/dist/actions/get-site-by-id.mjs +1 -0
- package/dist/actions/get-site-by-id.mjs.map +1 -1
- package/dist/actions/get-site-collection-info.cjs +1 -0
- package/dist/actions/get-site-collection-info.cjs.map +1 -1
- package/dist/actions/get-site-collection-info.d.cts +3 -4
- package/dist/actions/get-site-collection-info.d.cts.map +1 -1
- package/dist/actions/get-site-collection-info.d.mts +3 -4
- package/dist/actions/get-site-collection-info.d.mts.map +1 -1
- package/dist/actions/get-site-collection-info.mjs +1 -0
- package/dist/actions/get-site-collection-info.mjs.map +1 -1
- package/dist/actions/get-site-drive-item-by-path.cjs +1 -0
- package/dist/actions/get-site-drive-item-by-path.cjs.map +1 -1
- package/dist/actions/get-site-drive-item-by-path.d.cts +3 -6
- package/dist/actions/get-site-drive-item-by-path.d.cts.map +1 -1
- package/dist/actions/get-site-drive-item-by-path.d.mts +3 -6
- package/dist/actions/get-site-drive-item-by-path.d.mts.map +1 -1
- package/dist/actions/get-site-drive-item-by-path.mjs +1 -0
- package/dist/actions/get-site-drive-item-by-path.mjs.map +1 -1
- package/dist/actions/get-site-page-content.cjs +1 -0
- package/dist/actions/get-site-page-content.cjs.map +1 -1
- package/dist/actions/get-site-page-content.d.cts +3 -6
- package/dist/actions/get-site-page-content.d.cts.map +1 -1
- package/dist/actions/get-site-page-content.d.mts +3 -6
- package/dist/actions/get-site-page-content.d.mts.map +1 -1
- package/dist/actions/get-site-page-content.mjs +1 -0
- package/dist/actions/get-site-page-content.mjs.map +1 -1
- package/dist/actions/get-site-root.cjs +1 -0
- package/dist/actions/get-site-root.cjs.map +1 -1
- package/dist/actions/get-site-root.d.cts +3 -4
- package/dist/actions/get-site-root.d.cts.map +1 -1
- package/dist/actions/get-site-root.d.mts +3 -4
- package/dist/actions/get-site-root.d.mts.map +1 -1
- package/dist/actions/get-site-root.mjs +1 -0
- package/dist/actions/get-site-root.mjs.map +1 -1
- package/dist/actions/get-user-effective-permissions-on-web.cjs +1 -0
- package/dist/actions/get-user-effective-permissions-on-web.cjs.map +1 -1
- package/dist/actions/get-user-effective-permissions-on-web.d.cts +3 -4
- package/dist/actions/get-user-effective-permissions-on-web.d.cts.map +1 -1
- package/dist/actions/get-user-effective-permissions-on-web.d.mts +3 -4
- package/dist/actions/get-user-effective-permissions-on-web.d.mts.map +1 -1
- package/dist/actions/get-user-effective-permissions-on-web.mjs +1 -0
- package/dist/actions/get-user-effective-permissions-on-web.mjs.map +1 -1
- package/dist/actions/get-web-info.cjs +1 -0
- package/dist/actions/get-web-info.cjs.map +1 -1
- package/dist/actions/get-web-info.d.cts +3 -5
- package/dist/actions/get-web-info.d.cts.map +1 -1
- package/dist/actions/get-web-info.d.mts +3 -5
- package/dist/actions/get-web-info.d.mts.map +1 -1
- package/dist/actions/get-web-info.mjs +1 -0
- package/dist/actions/get-web-info.mjs.map +1 -1
- package/dist/actions/get-webhook-subscription.cjs +1 -0
- package/dist/actions/get-webhook-subscription.cjs.map +1 -1
- package/dist/actions/get-webhook-subscription.d.cts +3 -5
- package/dist/actions/get-webhook-subscription.d.cts.map +1 -1
- package/dist/actions/get-webhook-subscription.d.mts +3 -5
- package/dist/actions/get-webhook-subscription.d.mts.map +1 -1
- package/dist/actions/get-webhook-subscription.mjs +1 -0
- package/dist/actions/get-webhook-subscription.mjs.map +1 -1
- package/dist/actions/get-webhook-subscriptions.cjs +1 -0
- package/dist/actions/get-webhook-subscriptions.cjs.map +1 -1
- package/dist/actions/get-webhook-subscriptions.d.cts +3 -4
- package/dist/actions/get-webhook-subscriptions.d.cts.map +1 -1
- package/dist/actions/get-webhook-subscriptions.d.mts +3 -4
- package/dist/actions/get-webhook-subscriptions.d.mts.map +1 -1
- package/dist/actions/get-webhook-subscriptions.mjs +1 -0
- package/dist/actions/get-webhook-subscriptions.mjs.map +1 -1
- package/dist/actions/is-followed.cjs +1 -0
- package/dist/actions/is-followed.cjs.map +1 -1
- package/dist/actions/is-followed.d.cts +3 -7
- package/dist/actions/is-followed.d.cts.map +1 -1
- package/dist/actions/is-followed.d.mts +3 -7
- package/dist/actions/is-followed.d.mts.map +1 -1
- package/dist/actions/is-followed.mjs +1 -0
- package/dist/actions/is-followed.mjs.map +1 -1
- package/dist/actions/list-all-lists.cjs +1 -0
- package/dist/actions/list-all-lists.cjs.map +1 -1
- package/dist/actions/list-all-lists.d.cts +3 -9
- package/dist/actions/list-all-lists.d.cts.map +1 -1
- package/dist/actions/list-all-lists.d.mts +3 -9
- package/dist/actions/list-all-lists.d.mts.map +1 -1
- package/dist/actions/list-all-lists.mjs +1 -0
- package/dist/actions/list-all-lists.mjs.map +1 -1
- package/dist/actions/list-drive-children.cjs +1 -0
- package/dist/actions/list-drive-children.cjs.map +1 -1
- package/dist/actions/list-drive-children.d.cts +3 -8
- package/dist/actions/list-drive-children.d.cts.map +1 -1
- package/dist/actions/list-drive-children.d.mts +3 -8
- package/dist/actions/list-drive-children.d.mts.map +1 -1
- package/dist/actions/list-drive-children.mjs +1 -0
- package/dist/actions/list-drive-children.mjs.map +1 -1
- package/dist/actions/list-drive-recent-items.cjs +1 -0
- package/dist/actions/list-drive-recent-items.cjs.map +1 -1
- package/dist/actions/list-drive-recent-items.d.cts +3 -5
- package/dist/actions/list-drive-recent-items.d.cts.map +1 -1
- package/dist/actions/list-drive-recent-items.d.mts +3 -5
- package/dist/actions/list-drive-recent-items.d.mts.map +1 -1
- package/dist/actions/list-drive-recent-items.mjs +1 -0
- package/dist/actions/list-drive-recent-items.mjs.map +1 -1
- package/dist/actions/list-drives-rest-api.cjs +1 -0
- package/dist/actions/list-drives-rest-api.cjs.map +1 -1
- package/dist/actions/list-drives-rest-api.d.cts +3 -8
- package/dist/actions/list-drives-rest-api.d.cts.map +1 -1
- package/dist/actions/list-drives-rest-api.d.mts +3 -8
- package/dist/actions/list-drives-rest-api.d.mts.map +1 -1
- package/dist/actions/list-drives-rest-api.mjs +1 -0
- package/dist/actions/list-drives-rest-api.mjs.map +1 -1
- package/dist/actions/list-files-in-folder.cjs +1 -0
- package/dist/actions/list-files-in-folder.cjs.map +1 -1
- package/dist/actions/list-files-in-folder.d.cts +3 -9
- package/dist/actions/list-files-in-folder.d.cts.map +1 -1
- package/dist/actions/list-files-in-folder.d.mts +3 -9
- package/dist/actions/list-files-in-folder.d.mts.map +1 -1
- package/dist/actions/list-files-in-folder.mjs +1 -0
- package/dist/actions/list-files-in-folder.mjs.map +1 -1
- package/dist/actions/list-item-attachments.cjs +1 -0
- package/dist/actions/list-item-attachments.cjs.map +1 -1
- package/dist/actions/list-item-attachments.d.cts +3 -5
- package/dist/actions/list-item-attachments.d.cts.map +1 -1
- package/dist/actions/list-item-attachments.d.mts +3 -5
- package/dist/actions/list-item-attachments.d.mts.map +1 -1
- package/dist/actions/list-item-attachments.mjs +1 -0
- package/dist/actions/list-item-attachments.mjs.map +1 -1
- package/dist/actions/list-list-columns.cjs +1 -0
- package/dist/actions/list-list-columns.cjs.map +1 -1
- package/dist/actions/list-list-columns.d.cts +3 -8
- package/dist/actions/list-list-columns.d.cts.map +1 -1
- package/dist/actions/list-list-columns.d.mts +3 -8
- package/dist/actions/list-list-columns.d.mts.map +1 -1
- package/dist/actions/list-list-columns.mjs +1 -0
- package/dist/actions/list-list-columns.mjs.map +1 -1
- package/dist/actions/list-recycle-bin-items.cjs +1 -0
- package/dist/actions/list-recycle-bin-items.cjs.map +1 -1
- package/dist/actions/list-recycle-bin-items.d.cts +3 -9
- package/dist/actions/list-recycle-bin-items.d.cts.map +1 -1
- package/dist/actions/list-recycle-bin-items.d.mts +3 -9
- package/dist/actions/list-recycle-bin-items.d.mts.map +1 -1
- package/dist/actions/list-recycle-bin-items.mjs +1 -0
- package/dist/actions/list-recycle-bin-items.mjs.map +1 -1
- package/dist/actions/list-site-drives.cjs +1 -0
- package/dist/actions/list-site-drives.cjs.map +1 -1
- package/dist/actions/list-site-drives.d.cts +3 -6
- package/dist/actions/list-site-drives.d.cts.map +1 -1
- package/dist/actions/list-site-drives.d.mts +3 -6
- package/dist/actions/list-site-drives.d.mts.map +1 -1
- package/dist/actions/list-site-drives.mjs +1 -0
- package/dist/actions/list-site-drives.mjs.map +1 -1
- package/dist/actions/list-site-groups.cjs +1 -0
- package/dist/actions/list-site-groups.cjs.map +1 -1
- package/dist/actions/list-site-groups.d.cts +3 -9
- package/dist/actions/list-site-groups.d.cts.map +1 -1
- package/dist/actions/list-site-groups.d.mts +3 -9
- package/dist/actions/list-site-groups.d.mts.map +1 -1
- package/dist/actions/list-site-groups.mjs +1 -0
- package/dist/actions/list-site-groups.mjs.map +1 -1
- package/dist/actions/list-site-users.cjs +1 -0
- package/dist/actions/list-site-users.cjs.map +1 -1
- package/dist/actions/list-site-users.d.cts +3 -9
- package/dist/actions/list-site-users.d.cts.map +1 -1
- package/dist/actions/list-site-users.d.mts +3 -9
- package/dist/actions/list-site-users.d.mts.map +1 -1
- package/dist/actions/list-site-users.mjs +1 -0
- package/dist/actions/list-site-users.mjs.map +1 -1
- package/dist/actions/list-sites.cjs +1 -0
- package/dist/actions/list-sites.cjs.map +1 -1
- package/dist/actions/list-sites.d.cts +3 -5
- package/dist/actions/list-sites.d.cts.map +1 -1
- package/dist/actions/list-sites.d.mts +3 -5
- package/dist/actions/list-sites.d.mts.map +1 -1
- package/dist/actions/list-sites.mjs +1 -0
- package/dist/actions/list-sites.mjs.map +1 -1
- package/dist/actions/list-subfolders-in-folder.cjs +1 -0
- package/dist/actions/list-subfolders-in-folder.cjs.map +1 -1
- package/dist/actions/list-subfolders-in-folder.d.cts +3 -7
- package/dist/actions/list-subfolders-in-folder.d.cts.map +1 -1
- package/dist/actions/list-subfolders-in-folder.d.mts +3 -7
- package/dist/actions/list-subfolders-in-folder.d.mts.map +1 -1
- package/dist/actions/list-subfolders-in-folder.mjs +1 -0
- package/dist/actions/list-subfolders-in-folder.mjs.map +1 -1
- package/dist/actions/log-event.cjs +1 -0
- package/dist/actions/log-event.cjs.map +1 -1
- package/dist/actions/log-event.d.cts +3 -8
- package/dist/actions/log-event.d.cts.map +1 -1
- package/dist/actions/log-event.d.mts +3 -8
- package/dist/actions/log-event.d.mts.map +1 -1
- package/dist/actions/log-event.mjs +1 -0
- package/dist/actions/log-event.mjs.map +1 -1
- package/dist/actions/recycle-file.cjs +1 -0
- package/dist/actions/recycle-file.cjs.map +1 -1
- package/dist/actions/recycle-file.d.cts +3 -5
- package/dist/actions/recycle-file.d.cts.map +1 -1
- package/dist/actions/recycle-file.d.mts +3 -5
- package/dist/actions/recycle-file.d.mts.map +1 -1
- package/dist/actions/recycle-file.mjs +1 -0
- package/dist/actions/recycle-file.mjs.map +1 -1
- package/dist/actions/recycle-list-item.cjs +1 -0
- package/dist/actions/recycle-list-item.cjs.map +1 -1
- package/dist/actions/recycle-list-item.d.cts +3 -5
- package/dist/actions/recycle-list-item.d.cts.map +1 -1
- package/dist/actions/recycle-list-item.d.mts +3 -5
- package/dist/actions/recycle-list-item.d.mts.map +1 -1
- package/dist/actions/recycle-list-item.mjs +1 -0
- package/dist/actions/recycle-list-item.mjs.map +1 -1
- package/dist/actions/rename-folder.cjs +1 -0
- package/dist/actions/rename-folder.cjs.map +1 -1
- package/dist/actions/rename-folder.d.cts +3 -7
- package/dist/actions/rename-folder.d.cts.map +1 -1
- package/dist/actions/rename-folder.d.mts +3 -7
- package/dist/actions/rename-folder.d.mts.map +1 -1
- package/dist/actions/rename-folder.mjs +1 -0
- package/dist/actions/rename-folder.mjs.map +1 -1
- package/dist/actions/render-list-data-as-stream.cjs +1 -0
- package/dist/actions/render-list-data-as-stream.cjs.map +1 -1
- package/dist/actions/render-list-data-as-stream.d.cts +3 -19
- package/dist/actions/render-list-data-as-stream.d.cts.map +1 -1
- package/dist/actions/render-list-data-as-stream.d.mts +3 -19
- package/dist/actions/render-list-data-as-stream.d.mts.map +1 -1
- package/dist/actions/render-list-data-as-stream.mjs +1 -0
- package/dist/actions/render-list-data-as-stream.mjs.map +1 -1
- package/dist/actions/restore-drive-item-version.cjs +1 -0
- package/dist/actions/restore-drive-item-version.cjs.map +1 -1
- package/dist/actions/restore-drive-item-version.d.cts +3 -5
- package/dist/actions/restore-drive-item-version.d.cts.map +1 -1
- package/dist/actions/restore-drive-item-version.d.mts +3 -5
- package/dist/actions/restore-drive-item-version.d.mts.map +1 -1
- package/dist/actions/restore-drive-item-version.mjs +1 -0
- package/dist/actions/restore-drive-item-version.mjs.map +1 -1
- package/dist/actions/restore-recycle-bin-item.cjs +1 -0
- package/dist/actions/restore-recycle-bin-item.cjs.map +1 -1
- package/dist/actions/restore-recycle-bin-item.d.cts +3 -4
- package/dist/actions/restore-recycle-bin-item.d.cts.map +1 -1
- package/dist/actions/restore-recycle-bin-item.d.mts +3 -4
- package/dist/actions/restore-recycle-bin-item.d.mts.map +1 -1
- package/dist/actions/restore-recycle-bin-item.mjs +1 -0
- package/dist/actions/restore-recycle-bin-item.mjs.map +1 -1
- package/dist/actions/search-files.cjs +1 -0
- package/dist/actions/search-files.cjs.map +1 -1
- package/dist/actions/search-files.d.cts +3 -7
- package/dist/actions/search-files.d.cts.map +1 -1
- package/dist/actions/search-files.d.mts +3 -7
- package/dist/actions/search-files.d.mts.map +1 -1
- package/dist/actions/search-files.mjs +1 -0
- package/dist/actions/search-files.mjs.map +1 -1
- package/dist/actions/search-query.cjs +1 -0
- package/dist/actions/search-query.cjs.map +1 -1
- package/dist/actions/search-query.d.cts +3 -8
- package/dist/actions/search-query.d.cts.map +1 -1
- package/dist/actions/search-query.d.mts +3 -8
- package/dist/actions/search-query.d.mts.map +1 -1
- package/dist/actions/search-query.mjs +1 -0
- package/dist/actions/search-query.mjs.map +1 -1
- package/dist/actions/search-suggest.cjs +1 -0
- package/dist/actions/search-suggest.cjs.map +1 -1
- package/dist/actions/search-suggest.d.cts +3 -14
- package/dist/actions/search-suggest.d.cts.map +1 -1
- package/dist/actions/search-suggest.d.mts +3 -14
- package/dist/actions/search-suggest.d.mts.map +1 -1
- package/dist/actions/search-suggest.mjs +1 -0
- package/dist/actions/search-suggest.mjs.map +1 -1
- package/dist/actions/sharepoint-check-out-file.cjs +1 -0
- package/dist/actions/sharepoint-check-out-file.cjs.map +1 -1
- package/dist/actions/sharepoint-check-out-file.d.cts +3 -4
- package/dist/actions/sharepoint-check-out-file.d.cts.map +1 -1
- package/dist/actions/sharepoint-check-out-file.d.mts +3 -4
- package/dist/actions/sharepoint-check-out-file.d.mts.map +1 -1
- package/dist/actions/sharepoint-check-out-file.mjs +1 -0
- package/dist/actions/sharepoint-check-out-file.mjs.map +1 -1
- package/dist/actions/sharepoint-create-folder.cjs +1 -0
- package/dist/actions/sharepoint-create-folder.cjs.map +1 -1
- package/dist/actions/sharepoint-create-folder.d.cts +3 -6
- package/dist/actions/sharepoint-create-folder.d.cts.map +1 -1
- package/dist/actions/sharepoint-create-folder.d.mts +3 -6
- package/dist/actions/sharepoint-create-folder.d.mts.map +1 -1
- package/dist/actions/sharepoint-create-folder.mjs +1 -0
- package/dist/actions/sharepoint-create-folder.mjs.map +1 -1
- package/dist/actions/sharepoint-create-list-item.cjs +1 -0
- package/dist/actions/sharepoint-create-list-item.cjs.map +1 -1
- package/dist/actions/sharepoint-create-list-item.d.cts +3 -5
- package/dist/actions/sharepoint-create-list-item.d.cts.map +1 -1
- package/dist/actions/sharepoint-create-list-item.d.mts +3 -5
- package/dist/actions/sharepoint-create-list-item.d.mts.map +1 -1
- package/dist/actions/sharepoint-create-list-item.mjs +1 -0
- package/dist/actions/sharepoint-create-list-item.mjs.map +1 -1
- package/dist/actions/sharepoint-create-list.cjs +1 -0
- package/dist/actions/sharepoint-create-list.cjs.map +1 -1
- package/dist/actions/sharepoint-create-list.d.cts +3 -6
- package/dist/actions/sharepoint-create-list.d.cts.map +1 -1
- package/dist/actions/sharepoint-create-list.d.mts +3 -6
- package/dist/actions/sharepoint-create-list.d.mts.map +1 -1
- package/dist/actions/sharepoint-create-list.mjs +1 -0
- package/dist/actions/sharepoint-create-list.mjs.map +1 -1
- package/dist/actions/sharepoint-find-user.cjs +1 -0
- package/dist/actions/sharepoint-find-user.cjs.map +1 -1
- package/dist/actions/sharepoint-find-user.d.cts +3 -4
- package/dist/actions/sharepoint-find-user.d.cts.map +1 -1
- package/dist/actions/sharepoint-find-user.d.mts +3 -4
- package/dist/actions/sharepoint-find-user.d.mts.map +1 -1
- package/dist/actions/sharepoint-find-user.mjs +1 -0
- package/dist/actions/sharepoint-find-user.mjs.map +1 -1
- package/dist/actions/sharepoint-remove-user.cjs +1 -0
- package/dist/actions/sharepoint-remove-user.cjs.map +1 -1
- package/dist/actions/sharepoint-remove-user.d.cts +3 -4
- package/dist/actions/sharepoint-remove-user.d.cts.map +1 -1
- package/dist/actions/sharepoint-remove-user.d.mts +3 -4
- package/dist/actions/sharepoint-remove-user.d.mts.map +1 -1
- package/dist/actions/sharepoint-remove-user.mjs +1 -0
- package/dist/actions/sharepoint-remove-user.mjs.map +1 -1
- package/dist/actions/undo-checkout-file.cjs +1 -0
- package/dist/actions/undo-checkout-file.cjs.map +1 -1
- package/dist/actions/undo-checkout-file.d.cts +3 -4
- package/dist/actions/undo-checkout-file.d.cts.map +1 -1
- package/dist/actions/undo-checkout-file.d.mts +3 -4
- package/dist/actions/undo-checkout-file.d.mts.map +1 -1
- package/dist/actions/undo-checkout-file.mjs +1 -0
- package/dist/actions/undo-checkout-file.mjs.map +1 -1
- package/dist/actions/update-content-type.cjs +1 -0
- package/dist/actions/update-content-type.cjs.map +1 -1
- package/dist/actions/update-content-type.d.cts +3 -32
- package/dist/actions/update-content-type.d.cts.map +1 -1
- package/dist/actions/update-content-type.d.mts +3 -32
- package/dist/actions/update-content-type.d.mts.map +1 -1
- package/dist/actions/update-content-type.mjs +1 -0
- package/dist/actions/update-content-type.mjs.map +1 -1
- package/dist/actions/update-drive-item.cjs +1 -0
- package/dist/actions/update-drive-item.cjs.map +1 -1
- package/dist/actions/update-drive-item.d.cts +3 -6
- package/dist/actions/update-drive-item.d.cts.map +1 -1
- package/dist/actions/update-drive-item.d.mts +3 -6
- package/dist/actions/update-drive-item.d.mts.map +1 -1
- package/dist/actions/update-drive-item.mjs +1 -0
- package/dist/actions/update-drive-item.mjs.map +1 -1
- package/dist/actions/update-file-item.cjs +1 -0
- package/dist/actions/update-file-item.cjs.map +1 -1
- package/dist/actions/update-file-item.d.cts +3 -7
- package/dist/actions/update-file-item.d.cts.map +1 -1
- package/dist/actions/update-file-item.d.mts +3 -7
- package/dist/actions/update-file-item.d.mts.map +1 -1
- package/dist/actions/update-file-item.mjs +1 -0
- package/dist/actions/update-file-item.mjs.map +1 -1
- package/dist/actions/update-list-item.cjs +1 -0
- package/dist/actions/update-list-item.cjs.map +1 -1
- package/dist/actions/update-list-item.d.cts +3 -8
- package/dist/actions/update-list-item.d.cts.map +1 -1
- package/dist/actions/update-list-item.d.mts +3 -8
- package/dist/actions/update-list-item.d.mts.map +1 -1
- package/dist/actions/update-list-item.mjs +1 -0
- package/dist/actions/update-list-item.mjs.map +1 -1
- package/dist/actions/update-list.cjs +1 -0
- package/dist/actions/update-list.cjs.map +1 -1
- package/dist/actions/update-list.d.cts +3 -10
- package/dist/actions/update-list.d.cts.map +1 -1
- package/dist/actions/update-list.d.mts +3 -10
- package/dist/actions/update-list.d.mts.map +1 -1
- package/dist/actions/update-list.mjs +1 -0
- package/dist/actions/update-list.mjs.map +1 -1
- package/dist/actions/update-site.cjs +1 -0
- package/dist/actions/update-site.cjs.map +1 -1
- package/dist/actions/update-site.d.cts +3 -9
- package/dist/actions/update-site.d.cts.map +1 -1
- package/dist/actions/update-site.d.mts +3 -9
- package/dist/actions/update-site.d.mts.map +1 -1
- package/dist/actions/update-site.mjs +1 -0
- package/dist/actions/update-site.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +1 -0
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +3 -13
- package/dist/actions/upload-file.d.cts.map +1 -1
- package/dist/actions/upload-file.d.mts +3 -13
- package/dist/actions/upload-file.d.mts.map +1 -1
- package/dist/actions/upload-file.mjs +1 -0
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/actions/upload-from-url.cjs +1 -0
- package/dist/actions/upload-from-url.cjs.map +1 -1
- package/dist/actions/upload-from-url.d.cts +3 -10
- package/dist/actions/upload-from-url.d.cts.map +1 -1
- package/dist/actions/upload-from-url.d.mts +3 -10
- package/dist/actions/upload-from-url.d.mts.map +1 -1
- package/dist/actions/upload-from-url.mjs +1 -0
- package/dist/actions/upload-from-url.mjs.map +1 -1
- package/dist/actions/validate-credential.cjs +1 -0
- package/dist/actions/validate-credential.cjs.map +1 -1
- package/dist/actions/validate-credential.d.cts +3 -3
- package/dist/actions/validate-credential.d.cts.map +1 -1
- package/dist/actions/validate-credential.d.mts +3 -3
- package/dist/actions/validate-credential.d.mts.map +1 -1
- package/dist/actions/validate-credential.mjs +1 -0
- package/dist/actions/validate-credential.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sharePoint } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/sharepoint-remove-user.d.ts
|
|
@@ -10,10 +12,7 @@ declare const SharePointSharepointRemoveUserOutput: z.ZodObject<{
|
|
|
10
12
|
message: z.ZodNullable<z.ZodString>;
|
|
11
13
|
was_removed: z.ZodNullable<z.ZodBoolean>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const sharePointSharepointRemoveUser:
|
|
14
|
-
email: string;
|
|
15
|
-
site_name?: string | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const sharePointSharepointRemoveUser: AppAction<typeof SharePointSharepointRemoveUserInput, typeof SharePointSharepointRemoveUserOutput, typeof sharePoint.credential>;
|
|
17
16
|
//#endregion
|
|
18
17
|
export { sharePointSharepointRemoveUser };
|
|
19
18
|
//# sourceMappingURL=sharepoint-remove-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharepoint-remove-user.d.cts","names":[],"sources":["../../src/actions/sharepoint-remove-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"sharepoint-remove-user.d.cts","names":[],"sources":["../../src/actions/sharepoint-remove-user.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAInC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAMpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sharePoint } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/sharepoint-remove-user.d.ts
|
|
@@ -10,10 +12,7 @@ declare const SharePointSharepointRemoveUserOutput: z.ZodObject<{
|
|
|
10
12
|
message: z.ZodNullable<z.ZodString>;
|
|
11
13
|
was_removed: z.ZodNullable<z.ZodBoolean>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const sharePointSharepointRemoveUser:
|
|
14
|
-
email: string;
|
|
15
|
-
site_name?: string | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const sharePointSharepointRemoveUser: AppAction<typeof SharePointSharepointRemoveUserInput, typeof SharePointSharepointRemoveUserOutput, typeof sharePoint.credential>;
|
|
17
16
|
//#endregion
|
|
18
17
|
export { sharePointSharepointRemoveUser };
|
|
19
18
|
//# sourceMappingURL=sharepoint-remove-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharepoint-remove-user.d.mts","names":[],"sources":["../../src/actions/sharepoint-remove-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"sharepoint-remove-user.d.mts","names":[],"sources":["../../src/actions/sharepoint-remove-user.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAInC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAMpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +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.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.object({\n email: z.string().describe(\"The email of the user that was removed\").nullable(),\n message: z.string().describe(\"Success message indicating user removal status\").nullable(),\n was_removed: z.boolean().describe(\"Whether the user was actually removed\").nullable(),\n}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"sharepoint-remove-user.mjs","names":[],"sources":["../../src/actions/sharepoint-remove-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sharePoint } from \"../app\";\n\nexport const SharePointSharepointRemoveUserInput = 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.object({\n email: z.string().describe(\"The email of the user that was removed\").nullable(),\n message: z.string().describe(\"Success message indicating user removal status\").nullable(),\n was_removed: z.boolean().describe(\"Whether the user was actually removed\").nullable(),\n}).passthrough();\n\nexport const sharePointSharepointRemoveUser: AppAction<\n typeof SharePointSharepointRemoveUserInput,\n typeof SharePointSharepointRemoveUserOutput,\n typeof sharePoint.credential\n> = 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":";;;AAgBA,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBiD,EAAE,OAAO;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CAC1O,CAeS;CACP,QAfkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +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.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.object({\n status: z.number().int().describe(\"HTTP status code returned by SharePoint for the undo checkout operation. 200 or 204 indicates success.\").nullable(),\n message: z.string().describe(\"Success message confirming the file checkout has been undone and changes discarded.\").nullable(),\n server_relative_path: z.string().describe(\"Server-relative path of the file.\").nullable(),\n}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"undo-checkout-file.cjs","names":["z","action"],"sources":["../../src/actions/undo-checkout-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sharePoint } from \"../app\";\n\nexport const SharePointUndoCheckoutFileInput = 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.object({\n status: z.number().int().describe(\"HTTP status code returned by SharePoint for the undo checkout operation. 200 or 204 indicates success.\").nullable(),\n message: z.string().describe(\"Success message confirming the file checkout has been undone and changes discarded.\").nullable(),\n server_relative_path: z.string().describe(\"Server-relative path of the file.\").nullable(),\n}).passthrough();\n\nexport const sharePointUndoCheckoutFile: AppAction<\n typeof SharePointUndoCheckoutFileInput,\n typeof SharePointUndoCheckoutFileOutput,\n typeof sharePoint.credential\n> = 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":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;AACrO,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACrJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC7H,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sharePoint } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/undo-checkout-file.d.ts
|
|
@@ -10,10 +12,7 @@ declare const SharePointUndoCheckoutFileOutput: z.ZodObject<{
|
|
|
10
12
|
message: z.ZodNullable<z.ZodString>;
|
|
11
13
|
server_relative_path: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const sharePointUndoCheckoutFile:
|
|
14
|
-
server_relative_path: string;
|
|
15
|
-
site_name?: string | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const sharePointUndoCheckoutFile: AppAction<typeof SharePointUndoCheckoutFileInput, typeof SharePointUndoCheckoutFileOutput, typeof sharePoint.credential>;
|
|
17
16
|
//#endregion
|
|
18
17
|
export { sharePointUndoCheckoutFile };
|
|
19
18
|
//# sourceMappingURL=undo-checkout-file.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"undo-checkout-file.d.cts","names":[],"sources":["../../src/actions/undo-checkout-file.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"undo-checkout-file.d.cts","names":[],"sources":["../../src/actions/undo-checkout-file.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sharePoint } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/undo-checkout-file.d.ts
|
|
@@ -10,10 +12,7 @@ declare const SharePointUndoCheckoutFileOutput: z.ZodObject<{
|
|
|
10
12
|
message: z.ZodNullable<z.ZodString>;
|
|
11
13
|
server_relative_path: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const sharePointUndoCheckoutFile:
|
|
14
|
-
server_relative_path: string;
|
|
15
|
-
site_name?: string | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const sharePointUndoCheckoutFile: AppAction<typeof SharePointUndoCheckoutFileInput, typeof SharePointUndoCheckoutFileOutput, typeof sharePoint.credential>;
|
|
17
16
|
//#endregion
|
|
18
17
|
export { sharePointUndoCheckoutFile };
|
|
19
18
|
//# sourceMappingURL=undo-checkout-file.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"undo-checkout-file.d.mts","names":[],"sources":["../../src/actions/undo-checkout-file.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"undo-checkout-file.d.mts","names":[],"sources":["../../src/actions/undo-checkout-file.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +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.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.object({\n status: z.number().int().describe(\"HTTP status code returned by SharePoint for the undo checkout operation. 200 or 204 indicates success.\").nullable(),\n message: z.string().describe(\"Success message confirming the file checkout has been undone and changes discarded.\").nullable(),\n server_relative_path: z.string().describe(\"Server-relative path of the file.\").nullable(),\n}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"undo-checkout-file.mjs","names":[],"sources":["../../src/actions/undo-checkout-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sharePoint } from \"../app\";\n\nexport const SharePointUndoCheckoutFileInput = 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.object({\n status: z.number().int().describe(\"HTTP status code returned by SharePoint for the undo checkout operation. 200 or 204 indicates success.\").nullable(),\n message: z.string().describe(\"Success message confirming the file checkout has been undone and changes discarded.\").nullable(),\n server_relative_path: z.string().describe(\"Server-relative path of the file.\").nullable(),\n}).passthrough();\n\nexport const sharePointUndoCheckoutFile: AppAction<\n typeof SharePointUndoCheckoutFileInput,\n typeof SharePointUndoCheckoutFileOutput,\n typeof sharePoint.credential\n> = 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":";;;AAgBA,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB6C,EAAE,OAAO;EACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;CACrO,CAeS;CACP,QAf8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACrJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC7H,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +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.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}).passthrough().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}).passthrough().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}).passthrough().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}).passthrough().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.object({\n StringValue: z.string().describe(\"String representation of the content type ID.\").nullable().optional(),\n}).passthrough().describe(\"Model for content type ID object.\");\nexport const SharePointUpdateContentTypeOutput = 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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"update-content-type.cjs","names":["z","action"],"sources":["../../src/actions/update-content-type.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sharePoint } from \"../app\";\n\nexport const SharePointUpdateContentTypeInput = 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}).passthrough().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}).passthrough().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}).passthrough().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}).passthrough().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.object({\n StringValue: z.string().describe(\"String representation of the content type ID.\").nullable().optional(),\n}).passthrough().describe(\"Model for content type ID object.\");\nexport const SharePointUpdateContentTypeOutput = 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}).passthrough().describe(\"Response model for the updated content type.\");\n\nexport const sharePointUpdateContentType: AppAction<\n typeof SharePointUpdateContentTypeInput,\n typeof SharePointUpdateContentTypeOutput,\n typeof sharePoint.credential\n> = 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":"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"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sharePoint } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-content-type.d.ts
|
|
@@ -41,38 +43,7 @@ declare const SharePointUpdateContentTypeOutput: z.ZodObject<{
|
|
|
41
43
|
StringId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
44
|
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const sharePointUpdateContentType:
|
|
45
|
-
content_type_id: string;
|
|
46
|
-
name?: string | undefined;
|
|
47
|
-
group?: string | undefined;
|
|
48
|
-
hidden?: boolean | undefined;
|
|
49
|
-
site_name?: string | undefined;
|
|
50
|
-
description?: string | undefined;
|
|
51
|
-
document_set?: {
|
|
52
|
-
sharedColumns?: {
|
|
53
|
-
[x: string]: unknown;
|
|
54
|
-
id?: string | undefined;
|
|
55
|
-
name?: string | undefined;
|
|
56
|
-
}[] | undefined;
|
|
57
|
-
defaultContents?: {
|
|
58
|
-
[x: string]: unknown;
|
|
59
|
-
fileName?: string | undefined;
|
|
60
|
-
folderName?: string | undefined;
|
|
61
|
-
contentTypeName?: string | undefined;
|
|
62
|
-
}[] | undefined;
|
|
63
|
-
welcomePageColumns?: {
|
|
64
|
-
[x: string]: unknown;
|
|
65
|
-
id?: string | undefined;
|
|
66
|
-
name?: string | undefined;
|
|
67
|
-
}[] | undefined;
|
|
68
|
-
allowedContentTypes?: {
|
|
69
|
-
[x: string]: unknown;
|
|
70
|
-
id?: string | undefined;
|
|
71
|
-
name?: string | undefined;
|
|
72
|
-
}[] | undefined;
|
|
73
|
-
shouldPrefixNameToFile?: boolean | undefined;
|
|
74
|
-
} | undefined;
|
|
75
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
46
|
+
declare const sharePointUpdateContentType: AppAction<typeof SharePointUpdateContentTypeInput, typeof SharePointUpdateContentTypeOutput, typeof sharePoint.credential>;
|
|
76
47
|
//#endregion
|
|
77
48
|
export { sharePointUpdateContentType };
|
|
78
49
|
//# sourceMappingURL=update-content-type.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-content-type.d.cts","names":[],"sources":["../../src/actions/update-content-type.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-content-type.d.cts","names":[],"sources":["../../src/actions/update-content-type.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAWjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sharePoint } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-content-type.d.ts
|
|
@@ -41,38 +43,7 @@ declare const SharePointUpdateContentTypeOutput: z.ZodObject<{
|
|
|
41
43
|
StringId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
44
|
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const sharePointUpdateContentType:
|
|
45
|
-
content_type_id: string;
|
|
46
|
-
name?: string | undefined;
|
|
47
|
-
group?: string | undefined;
|
|
48
|
-
hidden?: boolean | undefined;
|
|
49
|
-
site_name?: string | undefined;
|
|
50
|
-
description?: string | undefined;
|
|
51
|
-
document_set?: {
|
|
52
|
-
sharedColumns?: {
|
|
53
|
-
[x: string]: unknown;
|
|
54
|
-
id?: string | undefined;
|
|
55
|
-
name?: string | undefined;
|
|
56
|
-
}[] | undefined;
|
|
57
|
-
defaultContents?: {
|
|
58
|
-
[x: string]: unknown;
|
|
59
|
-
fileName?: string | undefined;
|
|
60
|
-
folderName?: string | undefined;
|
|
61
|
-
contentTypeName?: string | undefined;
|
|
62
|
-
}[] | undefined;
|
|
63
|
-
welcomePageColumns?: {
|
|
64
|
-
[x: string]: unknown;
|
|
65
|
-
id?: string | undefined;
|
|
66
|
-
name?: string | undefined;
|
|
67
|
-
}[] | undefined;
|
|
68
|
-
allowedContentTypes?: {
|
|
69
|
-
[x: string]: unknown;
|
|
70
|
-
id?: string | undefined;
|
|
71
|
-
name?: string | undefined;
|
|
72
|
-
}[] | undefined;
|
|
73
|
-
shouldPrefixNameToFile?: boolean | undefined;
|
|
74
|
-
} | undefined;
|
|
75
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
46
|
+
declare const sharePointUpdateContentType: AppAction<typeof SharePointUpdateContentTypeInput, typeof SharePointUpdateContentTypeOutput, typeof sharePoint.credential>;
|
|
76
47
|
//#endregion
|
|
77
48
|
export { sharePointUpdateContentType };
|
|
78
49
|
//# sourceMappingURL=update-content-type.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-content-type.d.mts","names":[],"sources":["../../src/actions/update-content-type.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-content-type.d.mts","names":[],"sources":["../../src/actions/update-content-type.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAWjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-content-type.mjs","names":[],"sources":["../../src/actions/update-content-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateContentTypeInput = 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}).passthrough().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}).passthrough().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}).passthrough().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}).passthrough().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.object({\n StringValue: z.string().describe(\"String representation of the content type ID.\").nullable().optional(),\n}).passthrough().describe(\"Model for content type ID object.\");\nexport const SharePointUpdateContentTypeOutput = 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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"update-content-type.mjs","names":[],"sources":["../../src/actions/update-content-type.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sharePoint } from \"../app\";\n\nexport const SharePointUpdateContentTypeInput = 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}).passthrough().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}).passthrough().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}).passthrough().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}).passthrough().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.object({\n StringValue: z.string().describe(\"String representation of the content type ID.\").nullable().optional(),\n}).passthrough().describe(\"Model for content type ID object.\");\nexport const SharePointUpdateContentTypeOutput = 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}).passthrough().describe(\"Response model for the updated content type.\");\n\nexport const sharePointUpdateContentType: AppAction<\n typeof SharePointUpdateContentTypeInput,\n typeof SharePointUpdateContentTypeOutput,\n typeof sharePoint.credential\n> = 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":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-drive-item.cjs","names":["z","action"],"sources":["../../src/actions/update-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateDriveItemInput = z.object({\n name: z.string().describe(\"The new name for the item (filename with extension for files, folder name for folders). Use to rename the file or folder.\").optional(),\n title: z.string().describe(\"The new title for the item. This updates the Title field of the list item.\").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 server_relative_url: z.string().describe(\"The server-relative URL of the file or folder to update (e.g., '/Shared Documents/file.docx' or '/sites/mysite/Shared Documents/folder').\"),\n}).describe(\"Request parameters for updating a drive item's (file or folder) properties via SharePoint REST API.\");\nexport const SharePointUpdateDriveItemOutput = z.object({\n Id: z.number().int().describe(\"The list item ID.\").nullable().optional(),\n Title: z.string().describe(\"The title of the item.\").nullable().optional(),\n Created: z.string().describe(\"Date and time of item creation.\").nullable().optional(),\n FileRef: z.string().describe(\"The server-relative URL of the item.\").nullable().optional(),\n Modified: z.string().describe(\"Date and time the item was last modified.\").nullable().optional(),\n \"odata.id\": z.string().describe(\"OData ID of the resource.\").nullable().optional(),\n \"odata.etag\": z.string().describe(\"OData etag of the resource.\").nullable().optional(),\n \"odata.type\": z.string().describe(\"OData type of the resource.\").nullable().optional(),\n FileLeafRef: z.string().describe(\"The name of the file or folder.\").nullable().optional(),\n ContentTypeId: z.string().describe(\"Content type ID.\").nullable().optional(),\n \"odata.editLink\": z.string().describe(\"OData edit link.\").nullable().optional(),\n File_x0020_Type: z.string().describe(\"The file extension (for files).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated drive item details.\");\n\nexport const sharePointUpdateDriveItem = action(\"SHARE_POINT_UPDATE_DRIVE_ITEM\", {\n slug: \"share_point-update-drive-item\",\n name: \"Update Drive Item\",\n description: \"Tool to update the properties of a drive item (file or folder) in SharePoint using SharePoint REST API. Use when you need to rename files/folders or update their title property.\",\n input: SharePointUpdateDriveItemInput,\n output: SharePointUpdateDriveItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-drive-item.cjs","names":["z","action"],"sources":["../../src/actions/update-drive-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sharePoint } from \"../app\";\n\nexport const SharePointUpdateDriveItemInput = z.object({\n name: z.string().describe(\"The new name for the item (filename with extension for files, folder name for folders). Use to rename the file or folder.\").optional(),\n title: z.string().describe(\"The new title for the item. This updates the Title field of the list item.\").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 server_relative_url: z.string().describe(\"The server-relative URL of the file or folder to update (e.g., '/Shared Documents/file.docx' or '/sites/mysite/Shared Documents/folder').\"),\n}).describe(\"Request parameters for updating a drive item's (file or folder) properties via SharePoint REST API.\");\nexport const SharePointUpdateDriveItemOutput = z.object({\n Id: z.number().int().describe(\"The list item ID.\").nullable().optional(),\n Title: z.string().describe(\"The title of the item.\").nullable().optional(),\n Created: z.string().describe(\"Date and time of item creation.\").nullable().optional(),\n FileRef: z.string().describe(\"The server-relative URL of the item.\").nullable().optional(),\n Modified: z.string().describe(\"Date and time the item was last modified.\").nullable().optional(),\n \"odata.id\": z.string().describe(\"OData ID of the resource.\").nullable().optional(),\n \"odata.etag\": z.string().describe(\"OData etag of the resource.\").nullable().optional(),\n \"odata.type\": z.string().describe(\"OData type of the resource.\").nullable().optional(),\n FileLeafRef: z.string().describe(\"The name of the file or folder.\").nullable().optional(),\n ContentTypeId: z.string().describe(\"Content type ID.\").nullable().optional(),\n \"odata.editLink\": z.string().describe(\"OData edit link.\").nullable().optional(),\n File_x0020_Type: z.string().describe(\"The file extension (for files).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated drive item details.\");\n\nexport const sharePointUpdateDriveItem: AppAction<\n typeof SharePointUpdateDriveItemInput,\n typeof SharePointUpdateDriveItemOutput,\n typeof sharePoint.credential\n> = action(\"SHARE_POINT_UPDATE_DRIVE_ITEM\", {\n slug: \"share_point-update-drive-item\",\n name: \"Update Drive Item\",\n description: \"Tool to update the properties of a drive item (file or folder) in SharePoint using SharePoint REST API. Use when you need to rename files/folders or update their title property.\",\n input: SharePointUpdateDriveItemInput,\n output: SharePointUpdateDriveItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAChK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;AACtL,CAAC,CAAC,CAAC,SAAS,qGAAqG;AACjH,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sharePoint } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-drive-item.d.ts
|
|
@@ -21,12 +23,7 @@ declare const SharePointUpdateDriveItemOutput: z.ZodObject<{
|
|
|
21
23
|
"odata.editLink": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
File_x0020_Type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const sharePointUpdateDriveItem:
|
|
25
|
-
server_relative_url: string;
|
|
26
|
-
name?: string | undefined;
|
|
27
|
-
title?: string | undefined;
|
|
28
|
-
site_name?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const sharePointUpdateDriveItem: AppAction<typeof SharePointUpdateDriveItemInput, typeof SharePointUpdateDriveItemOutput, typeof sharePoint.credential>;
|
|
30
27
|
//#endregion
|
|
31
28
|
export { sharePointUpdateDriveItem };
|
|
32
29
|
//# sourceMappingURL=update-drive-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-drive-item.d.cts","names":[],"sources":["../../src/actions/update-drive-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-drive-item.d.cts","names":[],"sources":["../../src/actions/update-drive-item.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAM9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sharePoint } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-drive-item.d.ts
|
|
@@ -21,12 +23,7 @@ declare const SharePointUpdateDriveItemOutput: z.ZodObject<{
|
|
|
21
23
|
"odata.editLink": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
File_x0020_Type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const sharePointUpdateDriveItem:
|
|
25
|
-
server_relative_url: string;
|
|
26
|
-
name?: string | undefined;
|
|
27
|
-
title?: string | undefined;
|
|
28
|
-
site_name?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const sharePointUpdateDriveItem: AppAction<typeof SharePointUpdateDriveItemInput, typeof SharePointUpdateDriveItemOutput, typeof sharePoint.credential>;
|
|
30
27
|
//#endregion
|
|
31
28
|
export { sharePointUpdateDriveItem };
|
|
32
29
|
//# sourceMappingURL=update-drive-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-drive-item.d.mts","names":[],"sources":["../../src/actions/update-drive-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-drive-item.d.mts","names":[],"sources":["../../src/actions/update-drive-item.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAM9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-drive-item.mjs","names":[],"sources":["../../src/actions/update-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateDriveItemInput = z.object({\n name: z.string().describe(\"The new name for the item (filename with extension for files, folder name for folders). Use to rename the file or folder.\").optional(),\n title: z.string().describe(\"The new title for the item. This updates the Title field of the list item.\").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 server_relative_url: z.string().describe(\"The server-relative URL of the file or folder to update (e.g., '/Shared Documents/file.docx' or '/sites/mysite/Shared Documents/folder').\"),\n}).describe(\"Request parameters for updating a drive item's (file or folder) properties via SharePoint REST API.\");\nexport const SharePointUpdateDriveItemOutput = z.object({\n Id: z.number().int().describe(\"The list item ID.\").nullable().optional(),\n Title: z.string().describe(\"The title of the item.\").nullable().optional(),\n Created: z.string().describe(\"Date and time of item creation.\").nullable().optional(),\n FileRef: z.string().describe(\"The server-relative URL of the item.\").nullable().optional(),\n Modified: z.string().describe(\"Date and time the item was last modified.\").nullable().optional(),\n \"odata.id\": z.string().describe(\"OData ID of the resource.\").nullable().optional(),\n \"odata.etag\": z.string().describe(\"OData etag of the resource.\").nullable().optional(),\n \"odata.type\": z.string().describe(\"OData type of the resource.\").nullable().optional(),\n FileLeafRef: z.string().describe(\"The name of the file or folder.\").nullable().optional(),\n ContentTypeId: z.string().describe(\"Content type ID.\").nullable().optional(),\n \"odata.editLink\": z.string().describe(\"OData edit link.\").nullable().optional(),\n File_x0020_Type: z.string().describe(\"The file extension (for files).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated drive item details.\");\n\nexport const sharePointUpdateDriveItem = action(\"SHARE_POINT_UPDATE_DRIVE_ITEM\", {\n slug: \"share_point-update-drive-item\",\n name: \"Update Drive Item\",\n description: \"Tool to update the properties of a drive item (file or folder) in SharePoint using SharePoint REST API. Use when you need to rename files/folders or update their title property.\",\n input: SharePointUpdateDriveItemInput,\n output: SharePointUpdateDriveItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-drive-item.mjs","names":[],"sources":["../../src/actions/update-drive-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sharePoint } from \"../app\";\n\nexport const SharePointUpdateDriveItemInput = z.object({\n name: z.string().describe(\"The new name for the item (filename with extension for files, folder name for folders). Use to rename the file or folder.\").optional(),\n title: z.string().describe(\"The new title for the item. This updates the Title field of the list item.\").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 server_relative_url: z.string().describe(\"The server-relative URL of the file or folder to update (e.g., '/Shared Documents/file.docx' or '/sites/mysite/Shared Documents/folder').\"),\n}).describe(\"Request parameters for updating a drive item's (file or folder) properties via SharePoint REST API.\");\nexport const SharePointUpdateDriveItemOutput = z.object({\n Id: z.number().int().describe(\"The list item ID.\").nullable().optional(),\n Title: z.string().describe(\"The title of the item.\").nullable().optional(),\n Created: z.string().describe(\"Date and time of item creation.\").nullable().optional(),\n FileRef: z.string().describe(\"The server-relative URL of the item.\").nullable().optional(),\n Modified: z.string().describe(\"Date and time the item was last modified.\").nullable().optional(),\n \"odata.id\": z.string().describe(\"OData ID of the resource.\").nullable().optional(),\n \"odata.etag\": z.string().describe(\"OData etag of the resource.\").nullable().optional(),\n \"odata.type\": z.string().describe(\"OData type of the resource.\").nullable().optional(),\n FileLeafRef: z.string().describe(\"The name of the file or folder.\").nullable().optional(),\n ContentTypeId: z.string().describe(\"Content type ID.\").nullable().optional(),\n \"odata.editLink\": z.string().describe(\"OData edit link.\").nullable().optional(),\n File_x0020_Type: z.string().describe(\"The file extension (for files).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated drive item details.\");\n\nexport const sharePointUpdateDriveItem: AppAction<\n typeof SharePointUpdateDriveItemInput,\n typeof SharePointUpdateDriveItemOutput,\n typeof sharePoint.credential\n> = action(\"SHARE_POINT_UPDATE_DRIVE_ITEM\", {\n slug: \"share_point-update-drive-item\",\n name: \"Update Drive Item\",\n description: \"Tool to update the properties of a drive item (file or folder) in SharePoint using SharePoint REST API. Use when you need to rename files/folders or update their title property.\",\n input: SharePointUpdateDriveItemInput,\n output: SharePointUpdateDriveItemOutput,\n});\n"],"mappings":";;;AA2BA,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7B4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;EAChK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;CACtL,CAAC,CAAC,CAAC,SAAS,qGAwBH;CACP,QAxB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-file-item.cjs","names":["z","action"],"sources":["../../src/actions/update-file-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateFileItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n server_relative_url: z.string().describe(\"Server-relative URL of the file to update, starting with '/'. E.g., '/Shared Documents/report.pdf' or '/sites/Finance/Documents/W-9.pdf'.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.Shared_x0020_DocumentsItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint file item's metadata fields.\");\nexport const SharePointUpdateFileItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n server_relative_url: z.string().describe(\"The server-relative URL of the updated file.\").nullable(),\n}).passthrough().describe(\"Response model for a successful file item update.\");\n\nexport const sharePointUpdateFileItem = action(\"SHARE_POINT_UPDATE_FILE_ITEM\", {\n slug: \"share_point-update-file-item\",\n name: \"Update File Item Metadata\",\n description: \"Tool to update metadata fields on a SharePoint file item via its ListItemAllFields. Use this action when you need to modify document properties, custom columns, or metadata without changing the file content itself. This operates on the list item behind the file, allowing you to set Title, Status, Owner, Categories, or any other library column.\",\n input: SharePointUpdateFileItemInput,\n output: SharePointUpdateFileItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-file-item.cjs","names":["z","action"],"sources":["../../src/actions/update-file-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sharePoint } from \"../app\";\n\nexport const SharePointUpdateFileItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n server_relative_url: z.string().describe(\"Server-relative URL of the file to update, starting with '/'. E.g., '/Shared Documents/report.pdf' or '/sites/Finance/Documents/W-9.pdf'.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.Shared_x0020_DocumentsItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint file item's metadata fields.\");\nexport const SharePointUpdateFileItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n server_relative_url: z.string().describe(\"The server-relative URL of the updated file.\").nullable(),\n}).passthrough().describe(\"Response model for a successful file item update.\");\n\nexport const sharePointUpdateFileItem: AppAction<\n typeof SharePointUpdateFileItemInput,\n typeof SharePointUpdateFileItemOutput,\n typeof sharePoint.credential\n> = action(\"SHARE_POINT_UPDATE_FILE_ITEM\", {\n slug: \"share_point-update-file-item\",\n name: \"Update File Item Metadata\",\n description: \"Tool to update metadata fields on a SharePoint file item via its ListItemAllFields. Use this action when you need to modify document properties, custom columns, or metadata without changing the file content itself. This operates on the list item behind the file, allowing you to set Title, Status, Owner, Categories, or any other library column.\",\n input: SharePointUpdateFileItemInput,\n output: SharePointUpdateFileItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS;CAC/Q,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0bAA0b;CAC7e,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;CACpL,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qNAAqN,CAAC,CAAC,SAAS;AAC7Q,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sharePoint } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-file-item.d.ts
|
|
@@ -14,13 +16,7 @@ declare const SharePointUpdateFileItemOutput: z.ZodObject<{
|
|
|
14
16
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
15
17
|
server_relative_url: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const sharePointUpdateFileItem:
|
|
18
|
-
fields: Record<string, unknown>;
|
|
19
|
-
server_relative_url: string;
|
|
20
|
-
etag?: string | undefined;
|
|
21
|
-
site_name?: string | undefined;
|
|
22
|
-
entity_type_full_name?: string | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const sharePointUpdateFileItem: AppAction<typeof SharePointUpdateFileItemInput, typeof SharePointUpdateFileItemOutput, typeof sharePoint.credential>;
|
|
24
20
|
//#endregion
|
|
25
21
|
export { sharePointUpdateFileItem };
|
|
26
22
|
//# sourceMappingURL=update-file-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-file-item.d.cts","names":[],"sources":["../../src/actions/update-file-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-file-item.d.cts","names":[],"sources":["../../src/actions/update-file-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sharePoint } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-file-item.d.ts
|
|
@@ -14,13 +16,7 @@ declare const SharePointUpdateFileItemOutput: z.ZodObject<{
|
|
|
14
16
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
15
17
|
server_relative_url: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const sharePointUpdateFileItem:
|
|
18
|
-
fields: Record<string, unknown>;
|
|
19
|
-
server_relative_url: string;
|
|
20
|
-
etag?: string | undefined;
|
|
21
|
-
site_name?: string | undefined;
|
|
22
|
-
entity_type_full_name?: string | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const sharePointUpdateFileItem: AppAction<typeof SharePointUpdateFileItemInput, typeof SharePointUpdateFileItemOutput, typeof sharePoint.credential>;
|
|
24
20
|
//#endregion
|
|
25
21
|
export { sharePointUpdateFileItem };
|
|
26
22
|
//# sourceMappingURL=update-file-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-file-item.d.mts","names":[],"sources":["../../src/actions/update-file-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-file-item.d.mts","names":[],"sources":["../../src/actions/update-file-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-file-item.mjs","names":[],"sources":["../../src/actions/update-file-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateFileItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n server_relative_url: z.string().describe(\"Server-relative URL of the file to update, starting with '/'. E.g., '/Shared Documents/report.pdf' or '/sites/Finance/Documents/W-9.pdf'.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.Shared_x0020_DocumentsItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint file item's metadata fields.\");\nexport const SharePointUpdateFileItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n server_relative_url: z.string().describe(\"The server-relative URL of the updated file.\").nullable(),\n}).passthrough().describe(\"Response model for a successful file item update.\");\n\nexport const sharePointUpdateFileItem = action(\"SHARE_POINT_UPDATE_FILE_ITEM\", {\n slug: \"share_point-update-file-item\",\n name: \"Update File Item Metadata\",\n description: \"Tool to update metadata fields on a SharePoint file item via its ListItemAllFields. Use this action when you need to modify document properties, custom columns, or metadata without changing the file content itself. This operates on the list item behind the file, allowing you to set Title, Status, Owner, Categories, or any other library column.\",\n input: SharePointUpdateFileItemInput,\n output: SharePointUpdateFileItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-file-item.mjs","names":[],"sources":["../../src/actions/update-file-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sharePoint } from \"../app\";\n\nexport const SharePointUpdateFileItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n server_relative_url: z.string().describe(\"Server-relative URL of the file to update, starting with '/'. E.g., '/Shared Documents/report.pdf' or '/sites/Finance/Documents/W-9.pdf'.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.Shared_x0020_DocumentsItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint file item's metadata fields.\");\nexport const SharePointUpdateFileItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n server_relative_url: z.string().describe(\"The server-relative URL of the updated file.\").nullable(),\n}).passthrough().describe(\"Response model for a successful file item update.\");\n\nexport const sharePointUpdateFileItem: AppAction<\n typeof SharePointUpdateFileItemInput,\n typeof SharePointUpdateFileItemOutput,\n typeof sharePoint.credential\n> = action(\"SHARE_POINT_UPDATE_FILE_ITEM\", {\n slug: \"share_point-update-file-item\",\n name: \"Update File Item Metadata\",\n description: \"Tool to update metadata fields on a SharePoint file item via its ListItemAllFields. Use this action when you need to modify document properties, custom columns, or metadata without changing the file content itself. This operates on the list item behind the file, allowing you to set Title, Status, Owner, Categories, or any other library column.\",\n input: SharePointUpdateFileItemInput,\n output: SharePointUpdateFileItemOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS;EAC/Q,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0bAA0b;EAC7e,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;EACpL,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,qNAAqN,CAAC,CAAC,SAAS;CAC7Q,CAAC,CAAC,CAAC,SAAS,sEAgBH;CACP,QAhB4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|