@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-list-item.cjs","names":["z","action"],"sources":["../../src/actions/update-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag (from GET_LIST_ITEM_ETAG tool) to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\n item_id: z.number().int().describe(\"Numeric ID of the list item to update.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n list_title: z.string().describe(\"The exact title of the SharePoint list containing the item to update.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically using GET_LIST_ITEM_ENTITY_TYPE_FULL_NAME. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.TasksListItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint list item.\");\nexport const SharePointUpdateListItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n item_id: z.number().int().describe(\"The ID of the updated list item.\").nullable(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).passthrough().describe(\"Response model for a successful list item update.\");\n\nexport const sharePointUpdateListItem = action(\"SHARE_POINT_UPDATE_LIST_ITEM\", {\n slug: \"share_point-update-list-item\",\n name: \"Update SharePoint List Item\",\n description: \"Tool to update fields on an existing SharePoint list item. Use when you need to modify an item's properties with proper ETag concurrency control via MERGE.\",\n input: SharePointUpdateListItemInput,\n output: SharePointUpdateListItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-list-item.cjs","names":["z","action"],"sources":["../../src/actions/update-list-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 SharePointUpdateListItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag (from GET_LIST_ITEM_ETAG tool) to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\n item_id: z.number().int().describe(\"Numeric ID of the list item to update.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n list_title: z.string().describe(\"The exact title of the SharePoint list containing the item to update.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically using GET_LIST_ITEM_ENTITY_TYPE_FULL_NAME. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.TasksListItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint list item.\");\nexport const SharePointUpdateListItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n item_id: z.number().int().describe(\"The ID of the updated list item.\").nullable(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).passthrough().describe(\"Response model for a successful list item update.\");\n\nexport const sharePointUpdateListItem: AppAction<\n typeof SharePointUpdateListItemInput,\n typeof SharePointUpdateListItemOutput,\n typeof sharePoint.credential\n> = action(\"SHARE_POINT_UPDATE_LIST_ITEM\", {\n slug: \"share_point-update-list-item\",\n name: \"Update SharePoint List Item\",\n description: \"Tool to update fields on an existing SharePoint list item. Use when you need to modify an item's properties with proper ETag concurrency control via MERGE.\",\n input: SharePointUpdateListItemInput,\n output: SharePointUpdateListItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,4PAA4P,CAAC,CAAC,SAAS;CAC9S,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0bAA0b;CAC7e,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACvG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP,CAAC,CAAC,SAAS;AAC1S,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,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-list-item.d.ts
|
|
@@ -15,14 +17,7 @@ declare const SharePointUpdateListItemOutput: z.ZodObject<{
|
|
|
15
17
|
message: z.ZodNullable<z.ZodString>;
|
|
16
18
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const sharePointUpdateListItem:
|
|
19
|
-
fields: Record<string, unknown>;
|
|
20
|
-
item_id: number;
|
|
21
|
-
list_title: string;
|
|
22
|
-
etag?: string | undefined;
|
|
23
|
-
site_name?: string | undefined;
|
|
24
|
-
entity_type_full_name?: string | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const sharePointUpdateListItem: AppAction<typeof SharePointUpdateListItemInput, typeof SharePointUpdateListItemOutput, typeof sharePoint.credential>;
|
|
26
21
|
//#endregion
|
|
27
22
|
export { sharePointUpdateListItem };
|
|
28
23
|
//# sourceMappingURL=update-list-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-list-item.d.cts","names":[],"sources":["../../src/actions/update-list-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-list-item.d.cts","names":[],"sources":["../../src/actions/update-list-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAQ7B,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-list-item.d.ts
|
|
@@ -15,14 +17,7 @@ declare const SharePointUpdateListItemOutput: z.ZodObject<{
|
|
|
15
17
|
message: z.ZodNullable<z.ZodString>;
|
|
16
18
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const sharePointUpdateListItem:
|
|
19
|
-
fields: Record<string, unknown>;
|
|
20
|
-
item_id: number;
|
|
21
|
-
list_title: string;
|
|
22
|
-
etag?: string | undefined;
|
|
23
|
-
site_name?: string | undefined;
|
|
24
|
-
entity_type_full_name?: string | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const sharePointUpdateListItem: AppAction<typeof SharePointUpdateListItemInput, typeof SharePointUpdateListItemOutput, typeof sharePoint.credential>;
|
|
26
21
|
//#endregion
|
|
27
22
|
export { sharePointUpdateListItem };
|
|
28
23
|
//# sourceMappingURL=update-list-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-list-item.d.mts","names":[],"sources":["../../src/actions/update-list-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-list-item.d.mts","names":[],"sources":["../../src/actions/update-list-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-list-item.mjs","names":[],"sources":["../../src/actions/update-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag (from GET_LIST_ITEM_ETAG tool) to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\n item_id: z.number().int().describe(\"Numeric ID of the list item to update.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n list_title: z.string().describe(\"The exact title of the SharePoint list containing the item to update.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically using GET_LIST_ITEM_ENTITY_TYPE_FULL_NAME. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.TasksListItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint list item.\");\nexport const SharePointUpdateListItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n item_id: z.number().int().describe(\"The ID of the updated list item.\").nullable(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).passthrough().describe(\"Response model for a successful list item update.\");\n\nexport const sharePointUpdateListItem = action(\"SHARE_POINT_UPDATE_LIST_ITEM\", {\n slug: \"share_point-update-list-item\",\n name: \"Update SharePoint List Item\",\n description: \"Tool to update fields on an existing SharePoint list item. Use when you need to modify an item's properties with proper ETag concurrency control via MERGE.\",\n input: SharePointUpdateListItemInput,\n output: SharePointUpdateListItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-list-item.mjs","names":[],"sources":["../../src/actions/update-list-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 SharePointUpdateListItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag (from GET_LIST_ITEM_ETAG tool) to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\n item_id: z.number().int().describe(\"Numeric ID of the list item to update.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n list_title: z.string().describe(\"The exact title of the SharePoint list containing the item to update.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically using GET_LIST_ITEM_ENTITY_TYPE_FULL_NAME. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.TasksListItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint list item.\");\nexport const SharePointUpdateListItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n item_id: z.number().int().describe(\"The ID of the updated list item.\").nullable(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).passthrough().describe(\"Response model for a successful list item update.\");\n\nexport const sharePointUpdateListItem: AppAction<\n typeof SharePointUpdateListItemInput,\n typeof SharePointUpdateListItemOutput,\n typeof sharePoint.credential\n> = action(\"SHARE_POINT_UPDATE_LIST_ITEM\", {\n slug: \"share_point-update-list-item\",\n name: \"Update SharePoint List Item\",\n description: \"Tool to update fields on an existing SharePoint list item. Use when you need to modify an item's properties with proper ETag concurrency control via MERGE.\",\n input: SharePointUpdateListItemInput,\n output: SharePointUpdateListItemOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,4PAA4P,CAAC,CAAC,SAAS;EAC9S,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0bAA0b;EAC7e,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACvG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP,CAAC,CAAC,SAAS;CAC1S,CAAC,CAAC,CAAC,SAAS,oDAgBH;CACP,QAhB4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-list.cjs","names":["z","action"],"sources":["../../src/actions/update-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListInput = z.object({\n title: z.string().describe(\"New title for the list. Provide this to rename the list.\").optional(),\n if_match: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates.\").optional(),\n list_guid: z.string().describe(\"GUID of the SharePoint list to update, in canonical format (e.g., 'a12e3d6e-9414-462d-bd53-cf06f3982ad3').\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n description: z.string().describe(\"New description for the list. Provide this to update the list description.\").optional(),\n enable_versioning: z.boolean().describe(\"Whether versioning is enabled for the list. Set to true to enable, false to disable.\").optional(),\n enable_attachments: z.boolean().describe(\"Whether attachments are enabled for list items. Set to true to enable, false to disable.\").optional(),\n content_types_enabled: z.boolean().describe(\"Whether content types are enabled for the list. Set to true to enable, false to disable.\").optional(),\n}).describe(\"Request model for updating a SharePoint list.\");\nexport const SharePointUpdateListOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n list_guid: z.string().describe(\"The GUID of the updated list.\").nullable(),\n}).passthrough().describe(\"Response model for a successful list update.\");\n\nexport const sharePointUpdateList = action(\"SHARE_POINT_UPDATE_LIST\", {\n slug: \"share_point-update-list\",\n name: \"Update SharePoint List\",\n description: \"Tool to update properties of an existing SharePoint list. Use when you need to modify list metadata such as title, description, or settings like versioning and attachments.\",\n input: SharePointUpdateListInput,\n output: SharePointUpdateListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-list.cjs","names":["z","action"],"sources":["../../src/actions/update-list.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 SharePointUpdateListInput = z.object({\n title: z.string().describe(\"New title for the list. Provide this to rename the list.\").optional(),\n if_match: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates.\").optional(),\n list_guid: z.string().describe(\"GUID of the SharePoint list to update, in canonical format (e.g., 'a12e3d6e-9414-462d-bd53-cf06f3982ad3').\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n description: z.string().describe(\"New description for the list. Provide this to update the list description.\").optional(),\n enable_versioning: z.boolean().describe(\"Whether versioning is enabled for the list. Set to true to enable, false to disable.\").optional(),\n enable_attachments: z.boolean().describe(\"Whether attachments are enabled for list items. Set to true to enable, false to disable.\").optional(),\n content_types_enabled: z.boolean().describe(\"Whether content types are enabled for the list. Set to true to enable, false to disable.\").optional(),\n}).describe(\"Request model for updating a SharePoint list.\");\nexport const SharePointUpdateListOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n list_guid: z.string().describe(\"The GUID of the updated list.\").nullable(),\n}).passthrough().describe(\"Response model for a successful list update.\");\n\nexport const sharePointUpdateList: AppAction<\n typeof SharePointUpdateListInput,\n typeof SharePointUpdateListOutput,\n typeof sharePoint.credential\n> = action(\"SHARE_POINT_UPDATE_LIST\", {\n slug: \"share_point-update-list\",\n name: \"Update SharePoint List\",\n description: \"Tool to update properties of an existing SharePoint list. Use when you need to modify list metadata such as title, description, or settings like versioning and attachments.\",\n input: SharePointUpdateListInput,\n output: SharePointUpdateListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CACrM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC3I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACxH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACzI,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC9I,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,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-list.d.ts
|
|
@@ -16,16 +18,7 @@ declare const SharePointUpdateListOutput: z.ZodObject<{
|
|
|
16
18
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
17
19
|
list_guid: z.ZodNullable<z.ZodString>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const sharePointUpdateList:
|
|
20
|
-
list_guid: string;
|
|
21
|
-
title?: string | undefined;
|
|
22
|
-
if_match?: string | undefined;
|
|
23
|
-
site_name?: string | undefined;
|
|
24
|
-
description?: string | undefined;
|
|
25
|
-
enable_versioning?: boolean | undefined;
|
|
26
|
-
enable_attachments?: boolean | undefined;
|
|
27
|
-
content_types_enabled?: boolean | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const sharePointUpdateList: AppAction<typeof SharePointUpdateListInput, typeof SharePointUpdateListOutput, typeof sharePoint.credential>;
|
|
29
22
|
//#endregion
|
|
30
23
|
export { sharePointUpdateList };
|
|
31
24
|
//# sourceMappingURL=update-list.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-list.d.cts","names":[],"sources":["../../src/actions/update-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-list.d.cts","names":[],"sources":["../../src/actions/update-list.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;cAUzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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-list.d.ts
|
|
@@ -16,16 +18,7 @@ declare const SharePointUpdateListOutput: z.ZodObject<{
|
|
|
16
18
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
17
19
|
list_guid: z.ZodNullable<z.ZodString>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const sharePointUpdateList:
|
|
20
|
-
list_guid: string;
|
|
21
|
-
title?: string | undefined;
|
|
22
|
-
if_match?: string | undefined;
|
|
23
|
-
site_name?: string | undefined;
|
|
24
|
-
description?: string | undefined;
|
|
25
|
-
enable_versioning?: boolean | undefined;
|
|
26
|
-
enable_attachments?: boolean | undefined;
|
|
27
|
-
content_types_enabled?: boolean | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const sharePointUpdateList: AppAction<typeof SharePointUpdateListInput, typeof SharePointUpdateListOutput, typeof sharePoint.credential>;
|
|
29
22
|
//#endregion
|
|
30
23
|
export { sharePointUpdateList };
|
|
31
24
|
//# sourceMappingURL=update-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-list.d.mts","names":[],"sources":["../../src/actions/update-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-list.d.mts","names":[],"sources":["../../src/actions/update-list.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;cAUzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-list.mjs","names":[],"sources":["../../src/actions/update-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListInput = z.object({\n title: z.string().describe(\"New title for the list. Provide this to rename the list.\").optional(),\n if_match: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates.\").optional(),\n list_guid: z.string().describe(\"GUID of the SharePoint list to update, in canonical format (e.g., 'a12e3d6e-9414-462d-bd53-cf06f3982ad3').\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n description: z.string().describe(\"New description for the list. Provide this to update the list description.\").optional(),\n enable_versioning: z.boolean().describe(\"Whether versioning is enabled for the list. Set to true to enable, false to disable.\").optional(),\n enable_attachments: z.boolean().describe(\"Whether attachments are enabled for list items. Set to true to enable, false to disable.\").optional(),\n content_types_enabled: z.boolean().describe(\"Whether content types are enabled for the list. Set to true to enable, false to disable.\").optional(),\n}).describe(\"Request model for updating a SharePoint list.\");\nexport const SharePointUpdateListOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n list_guid: z.string().describe(\"The GUID of the updated list.\").nullable(),\n}).passthrough().describe(\"Response model for a successful list update.\");\n\nexport const sharePointUpdateList = action(\"SHARE_POINT_UPDATE_LIST\", {\n slug: \"share_point-update-list\",\n name: \"Update SharePoint List\",\n description: \"Tool to update properties of an existing SharePoint list. Use when you need to modify list metadata such as title, description, or settings like versioning and attachments.\",\n input: SharePointUpdateListInput,\n output: SharePointUpdateListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-list.mjs","names":[],"sources":["../../src/actions/update-list.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 SharePointUpdateListInput = z.object({\n title: z.string().describe(\"New title for the list. Provide this to rename the list.\").optional(),\n if_match: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates.\").optional(),\n list_guid: z.string().describe(\"GUID of the SharePoint list to update, in canonical format (e.g., 'a12e3d6e-9414-462d-bd53-cf06f3982ad3').\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n description: z.string().describe(\"New description for the list. Provide this to update the list description.\").optional(),\n enable_versioning: z.boolean().describe(\"Whether versioning is enabled for the list. Set to true to enable, false to disable.\").optional(),\n enable_attachments: z.boolean().describe(\"Whether attachments are enabled for list items. Set to true to enable, false to disable.\").optional(),\n content_types_enabled: z.boolean().describe(\"Whether content types are enabled for the list. Set to true to enable, false to disable.\").optional(),\n}).describe(\"Request model for updating a SharePoint list.\");\nexport const SharePointUpdateListOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n list_guid: z.string().describe(\"The GUID of the updated list.\").nullable(),\n}).passthrough().describe(\"Response model for a successful list update.\");\n\nexport const sharePointUpdateList: AppAction<\n typeof SharePointUpdateListInput,\n typeof SharePointUpdateListOutput,\n typeof sharePoint.credential\n> = action(\"SHARE_POINT_UPDATE_LIST\", {\n slug: \"share_point-update-list\",\n name: \"Update SharePoint List\",\n description: \"Tool to update properties of an existing SharePoint list. Use when you need to modify list metadata such as title, description, or settings like versioning and attachments.\",\n input: SharePointUpdateListInput,\n output: SharePointUpdateListOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAChG,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;EACrM,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;EAC3I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACxH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACzI,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EAC9I,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,+CAeH;CACP,QAfwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-site.cjs","names":["z","action"],"sources":["../../src/actions/update-site.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateSiteInput = z.object({\n title: z.string().describe(\"The new title for the site. If not provided, the title will not be updated.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., `composio-test`). If omitted, the root site is used. When provided, the API base URL becomes `https://{tenant}.sharepoint.com/sites/{site}`.\").optional(),\n description: z.string().describe(\"The new description for the site. If not provided, the description will not be updated.\").optional(),\n tree_view_enabled: z.boolean().describe(\"Whether the tree view is enabled on the site.\").optional(),\n quick_launch_enabled: z.boolean().describe(\"Whether the Quick Launch navigation is enabled on the site.\").optional(),\n enable_minimal_download: z.boolean().describe(\"Whether to enable minimal download strategy for the site.\").optional(),\n save_site_as_template_enabled: z.boolean().describe(\"Whether the 'Save Site as Template' feature is enabled.\").optional(),\n}).describe(\"Request model for updating a SharePoint site (web).\");\nexport const SharePointUpdateSiteOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).passthrough().describe(\"Response model for a successful site update.\");\n\nexport const sharePointUpdateSite = action(\"SHARE_POINT_UPDATE_SITE\", {\n slug: \"share_point-update-site\",\n name: \"Update SharePoint Site\",\n description: \"Tool to update properties of the current SharePoint site (web). Use when you need to modify site title, description, or other SP.Web properties via MERGE.\",\n input: SharePointUpdateSiteInput,\n output: SharePointUpdateSiteOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-site.cjs","names":["z","action"],"sources":["../../src/actions/update-site.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 SharePointUpdateSiteInput = z.object({\n title: z.string().describe(\"The new title for the site. If not provided, the title will not be updated.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., `composio-test`). If omitted, the root site is used. When provided, the API base URL becomes `https://{tenant}.sharepoint.com/sites/{site}`.\").optional(),\n description: z.string().describe(\"The new description for the site. If not provided, the description will not be updated.\").optional(),\n tree_view_enabled: z.boolean().describe(\"Whether the tree view is enabled on the site.\").optional(),\n quick_launch_enabled: z.boolean().describe(\"Whether the Quick Launch navigation is enabled on the site.\").optional(),\n enable_minimal_download: z.boolean().describe(\"Whether to enable minimal download strategy for the site.\").optional(),\n save_site_as_template_enabled: z.boolean().describe(\"Whether the 'Save Site as Template' feature is enabled.\").optional(),\n}).describe(\"Request model for updating a SharePoint site (web).\");\nexport const SharePointUpdateSiteOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).passthrough().describe(\"Response model for a successful site update.\");\n\nexport const sharePointUpdateSite: AppAction<\n typeof SharePointUpdateSiteInput,\n typeof SharePointUpdateSiteOutput,\n typeof sharePoint.credential\n> = action(\"SHARE_POINT_UPDATE_SITE\", {\n slug: \"share_point-update-site\",\n name: \"Update SharePoint Site\",\n description: \"Tool to update properties of the current SharePoint site (web). Use when you need to modify site title, description, or other SP.Web properties via MERGE.\",\n input: SharePointUpdateSiteInput,\n output: SharePointUpdateSiteOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CACxO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACrI,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClG,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACnH,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpH,+BAA+BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,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-site.d.ts
|
|
@@ -14,15 +16,7 @@ declare const SharePointUpdateSiteOutput: z.ZodObject<{
|
|
|
14
16
|
message: z.ZodNullable<z.ZodString>;
|
|
15
17
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const sharePointUpdateSite:
|
|
18
|
-
title?: string | undefined;
|
|
19
|
-
site_name?: string | undefined;
|
|
20
|
-
description?: string | undefined;
|
|
21
|
-
tree_view_enabled?: boolean | undefined;
|
|
22
|
-
quick_launch_enabled?: boolean | undefined;
|
|
23
|
-
enable_minimal_download?: boolean | undefined;
|
|
24
|
-
save_site_as_template_enabled?: boolean | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const sharePointUpdateSite: AppAction<typeof SharePointUpdateSiteInput, typeof SharePointUpdateSiteOutput, typeof sharePoint.credential>;
|
|
26
20
|
//#endregion
|
|
27
21
|
export { sharePointUpdateSite };
|
|
28
22
|
//# sourceMappingURL=update-site.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-site.d.cts","names":[],"sources":["../../src/actions/update-site.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-site.d.cts","names":[],"sources":["../../src/actions/update-site.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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-site.d.ts
|
|
@@ -14,15 +16,7 @@ declare const SharePointUpdateSiteOutput: z.ZodObject<{
|
|
|
14
16
|
message: z.ZodNullable<z.ZodString>;
|
|
15
17
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const sharePointUpdateSite:
|
|
18
|
-
title?: string | undefined;
|
|
19
|
-
site_name?: string | undefined;
|
|
20
|
-
description?: string | undefined;
|
|
21
|
-
tree_view_enabled?: boolean | undefined;
|
|
22
|
-
quick_launch_enabled?: boolean | undefined;
|
|
23
|
-
enable_minimal_download?: boolean | undefined;
|
|
24
|
-
save_site_as_template_enabled?: boolean | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const sharePointUpdateSite: AppAction<typeof SharePointUpdateSiteInput, typeof SharePointUpdateSiteOutput, typeof sharePoint.credential>;
|
|
26
20
|
//#endregion
|
|
27
21
|
export { sharePointUpdateSite };
|
|
28
22
|
//# sourceMappingURL=update-site.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-site.d.mts","names":[],"sources":["../../src/actions/update-site.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-site.d.mts","names":[],"sources":["../../src/actions/update-site.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-site.mjs","names":[],"sources":["../../src/actions/update-site.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateSiteInput = z.object({\n title: z.string().describe(\"The new title for the site. If not provided, the title will not be updated.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., `composio-test`). If omitted, the root site is used. When provided, the API base URL becomes `https://{tenant}.sharepoint.com/sites/{site}`.\").optional(),\n description: z.string().describe(\"The new description for the site. If not provided, the description will not be updated.\").optional(),\n tree_view_enabled: z.boolean().describe(\"Whether the tree view is enabled on the site.\").optional(),\n quick_launch_enabled: z.boolean().describe(\"Whether the Quick Launch navigation is enabled on the site.\").optional(),\n enable_minimal_download: z.boolean().describe(\"Whether to enable minimal download strategy for the site.\").optional(),\n save_site_as_template_enabled: z.boolean().describe(\"Whether the 'Save Site as Template' feature is enabled.\").optional(),\n}).describe(\"Request model for updating a SharePoint site (web).\");\nexport const SharePointUpdateSiteOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).passthrough().describe(\"Response model for a successful site update.\");\n\nexport const sharePointUpdateSite = action(\"SHARE_POINT_UPDATE_SITE\", {\n slug: \"share_point-update-site\",\n name: \"Update SharePoint Site\",\n description: \"Tool to update properties of the current SharePoint site (web). Use when you need to modify site title, description, or other SP.Web properties via MERGE.\",\n input: SharePointUpdateSiteInput,\n output: SharePointUpdateSiteOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-site.mjs","names":[],"sources":["../../src/actions/update-site.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 SharePointUpdateSiteInput = z.object({\n title: z.string().describe(\"The new title for the site. If not provided, the title will not be updated.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., `composio-test`). If omitted, the root site is used. When provided, the API base URL becomes `https://{tenant}.sharepoint.com/sites/{site}`.\").optional(),\n description: z.string().describe(\"The new description for the site. If not provided, the description will not be updated.\").optional(),\n tree_view_enabled: z.boolean().describe(\"Whether the tree view is enabled on the site.\").optional(),\n quick_launch_enabled: z.boolean().describe(\"Whether the Quick Launch navigation is enabled on the site.\").optional(),\n enable_minimal_download: z.boolean().describe(\"Whether to enable minimal download strategy for the site.\").optional(),\n save_site_as_template_enabled: z.boolean().describe(\"Whether the 'Save Site as Template' feature is enabled.\").optional(),\n}).describe(\"Request model for updating a SharePoint site (web).\");\nexport const SharePointUpdateSiteOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).passthrough().describe(\"Response model for a successful site update.\");\n\nexport const sharePointUpdateSite: AppAction<\n typeof SharePointUpdateSiteInput,\n typeof SharePointUpdateSiteOutput,\n typeof sharePoint.credential\n> = action(\"SHARE_POINT_UPDATE_SITE\", {\n slug: \"share_point-update-site\",\n name: \"Update SharePoint Site\",\n description: \"Tool to update properties of the current SharePoint site (web). Use when you need to modify site title, description, or other SP.Web properties via MERGE.\",\n input: SharePointUpdateSiteInput,\n output: SharePointUpdateSiteOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;EACxO,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACrI,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAClG,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACnH,yBAAyB,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpH,+BAA+B,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,qDAcH;CACP,QAdwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload. Alternatively, omit this and provide either 'content_text' for UTF-8 text or 'content_base64' for arbitrary bytes along with 'file_name' to set the filename.\").optional(),\n file_name: z.string().describe(\"Filename to use when uploading if 'file' is not provided.\").optional(),\n overwrite: z.boolean().default(true).describe(\"Whether to overwrite an existing file with the same name. Defaults to true.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n content_text: z.string().describe(\"Optional raw text content to upload (UTF-8 encoded). Use when not passing 'file'.\").optional(),\n content_base64: z.string().describe(\"Optional base64-encoded bytes to upload. Use for binary content when not passing 'file'.\").optional(),\n folder_relative_url: z.string().describe(\"Destination folder path within the selected SharePoint site, starting with '/'. E.g., '/Shared Documents'.\"),\n}).describe(\"Request model for uploading a file to a SharePoint document library or folder.\");\nexport const SharePointUploadFileOutput = z.object({\n name: z.string().describe(\"Name of the uploaded file\").nullable(),\n server_relative_path: z.string().describe(\"Server-relative URL of the uploaded file\").nullable(),\n}).passthrough().describe(\"Response model containing the server-relative path and name of the uploaded file.\");\n\nexport const sharePointUploadFile = action(\"SHARE_POINT_UPLOAD_FILE\", {\n slug: \"share_point-upload-file\",\n name: \"Upload File to Folder\",\n description: \"Tool to upload a file to a SharePoint document library or folder. Use when you need to programmatically add or update a file in a document library.\",\n input: SharePointUploadFileInput,\n output: SharePointUploadFileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-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 SharePointUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload. Alternatively, omit this and provide either 'content_text' for UTF-8 text or 'content_base64' for arbitrary bytes along with 'file_name' to set the filename.\").optional(),\n file_name: z.string().describe(\"Filename to use when uploading if 'file' is not provided.\").optional(),\n overwrite: z.boolean().default(true).describe(\"Whether to overwrite an existing file with the same name. Defaults to true.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n content_text: z.string().describe(\"Optional raw text content to upload (UTF-8 encoded). Use when not passing 'file'.\").optional(),\n content_base64: z.string().describe(\"Optional base64-encoded bytes to upload. Use for binary content when not passing 'file'.\").optional(),\n folder_relative_url: z.string().describe(\"Destination folder path within the selected SharePoint site, starting with '/'. E.g., '/Shared Documents'.\"),\n}).describe(\"Request model for uploading a file to a SharePoint document library or folder.\");\nexport const SharePointUploadFileOutput = z.object({\n name: z.string().describe(\"Name of the uploaded file\").nullable(),\n server_relative_path: z.string().describe(\"Server-relative URL of the uploaded file\").nullable(),\n}).passthrough().describe(\"Response model containing the server-relative path and name of the uploaded file.\");\n\nexport const sharePointUploadFile: AppAction<\n typeof SharePointUploadFileInput,\n typeof SharePointUploadFileOutput,\n typeof sharePoint.credential\n> = action(\"SHARE_POINT_UPLOAD_FILE\", {\n slug: \"share_point-upload-file\",\n name: \"Upload File to Folder\",\n description: \"Tool to upload a file to a SharePoint document library or folder. Use when you need to programmatically add or update a file in a document library.\",\n input: SharePointUploadFileInput,\n output: SharePointUploadFileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CACpM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAChI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;AACvJ,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAAmF;AAE7G,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,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/upload-file.d.ts
|
|
@@ -18,19 +20,7 @@ declare const SharePointUploadFileOutput: z.ZodObject<{
|
|
|
18
20
|
name: z.ZodNullable<z.ZodString>;
|
|
19
21
|
server_relative_path: z.ZodNullable<z.ZodString>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const sharePointUploadFile:
|
|
22
|
-
folder_relative_url: string;
|
|
23
|
-
file?: {
|
|
24
|
-
name: string;
|
|
25
|
-
s3key: string;
|
|
26
|
-
mimetype: string;
|
|
27
|
-
} | undefined;
|
|
28
|
-
file_name?: string | undefined;
|
|
29
|
-
overwrite?: boolean | undefined;
|
|
30
|
-
site_name?: string | undefined;
|
|
31
|
-
content_text?: string | undefined;
|
|
32
|
-
content_base64?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const sharePointUploadFile: AppAction<typeof SharePointUploadFileInput, typeof SharePointUploadFileOutput, typeof sharePoint.credential>;
|
|
34
24
|
//#endregion
|
|
35
25
|
export { sharePointUploadFile };
|
|
36
26
|
//# sourceMappingURL=upload-file.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAazB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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/upload-file.d.ts
|
|
@@ -18,19 +20,7 @@ declare const SharePointUploadFileOutput: z.ZodObject<{
|
|
|
18
20
|
name: z.ZodNullable<z.ZodString>;
|
|
19
21
|
server_relative_path: z.ZodNullable<z.ZodString>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const sharePointUploadFile:
|
|
22
|
-
folder_relative_url: string;
|
|
23
|
-
file?: {
|
|
24
|
-
name: string;
|
|
25
|
-
s3key: string;
|
|
26
|
-
mimetype: string;
|
|
27
|
-
} | undefined;
|
|
28
|
-
file_name?: string | undefined;
|
|
29
|
-
overwrite?: boolean | undefined;
|
|
30
|
-
site_name?: string | undefined;
|
|
31
|
-
content_text?: string | undefined;
|
|
32
|
-
content_base64?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const sharePointUploadFile: AppAction<typeof SharePointUploadFileInput, typeof SharePointUploadFileOutput, typeof sharePoint.credential>;
|
|
34
24
|
//#endregion
|
|
35
25
|
export { sharePointUploadFile };
|
|
36
26
|
//# sourceMappingURL=upload-file.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAazB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.mjs","names":[],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload. Alternatively, omit this and provide either 'content_text' for UTF-8 text or 'content_base64' for arbitrary bytes along with 'file_name' to set the filename.\").optional(),\n file_name: z.string().describe(\"Filename to use when uploading if 'file' is not provided.\").optional(),\n overwrite: z.boolean().default(true).describe(\"Whether to overwrite an existing file with the same name. Defaults to true.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n content_text: z.string().describe(\"Optional raw text content to upload (UTF-8 encoded). Use when not passing 'file'.\").optional(),\n content_base64: z.string().describe(\"Optional base64-encoded bytes to upload. Use for binary content when not passing 'file'.\").optional(),\n folder_relative_url: z.string().describe(\"Destination folder path within the selected SharePoint site, starting with '/'. E.g., '/Shared Documents'.\"),\n}).describe(\"Request model for uploading a file to a SharePoint document library or folder.\");\nexport const SharePointUploadFileOutput = z.object({\n name: z.string().describe(\"Name of the uploaded file\").nullable(),\n server_relative_path: z.string().describe(\"Server-relative URL of the uploaded file\").nullable(),\n}).passthrough().describe(\"Response model containing the server-relative path and name of the uploaded file.\");\n\nexport const sharePointUploadFile = action(\"SHARE_POINT_UPLOAD_FILE\", {\n slug: \"share_point-upload-file\",\n name: \"Upload File to Folder\",\n description: \"Tool to upload a file to a SharePoint document library or folder. Use when you need to programmatically add or update a file in a document library.\",\n input: SharePointUploadFileInput,\n output: SharePointUploadFileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-file.mjs","names":[],"sources":["../../src/actions/upload-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 SharePointUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload. Alternatively, omit this and provide either 'content_text' for UTF-8 text or 'content_base64' for arbitrary bytes along with 'file_name' to set the filename.\").optional(),\n file_name: z.string().describe(\"Filename to use when uploading if 'file' is not provided.\").optional(),\n overwrite: z.boolean().default(true).describe(\"Whether to overwrite an existing file with the same name. Defaults to true.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n content_text: z.string().describe(\"Optional raw text content to upload (UTF-8 encoded). Use when not passing 'file'.\").optional(),\n content_base64: z.string().describe(\"Optional base64-encoded bytes to upload. Use for binary content when not passing 'file'.\").optional(),\n folder_relative_url: z.string().describe(\"Destination folder path within the selected SharePoint site, starting with '/'. E.g., '/Shared Documents'.\"),\n}).describe(\"Request model for uploading a file to a SharePoint document library or folder.\");\nexport const SharePointUploadFileOutput = z.object({\n name: z.string().describe(\"Name of the uploaded file\").nullable(),\n server_relative_path: z.string().describe(\"Server-relative URL of the uploaded file\").nullable(),\n}).passthrough().describe(\"Response model containing the server-relative path and name of the uploaded file.\");\n\nexport const sharePointUploadFile: AppAction<\n typeof SharePointUploadFileInput,\n typeof SharePointUploadFileOutput,\n typeof sharePoint.credential\n> = action(\"SHARE_POINT_UPLOAD_FILE\", {\n slug: \"share_point-upload-file\",\n name: \"Upload File to Folder\",\n description: \"Tool to upload a file to a SharePoint document library or folder. Use when you need to programmatically add or update a file in a document library.\",\n input: SharePointUploadFileInput,\n output: SharePointUploadFileOutput,\n});\n"],"mappings":";;;AAwBA,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;EACpM,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACtI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAChI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACzI,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CACvJ,CAAC,CAAC,CAAC,SAAS,gFAcH;CACP,QAdwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-from-url.cjs","names":["z","action"],"sources":["../../src/actions/upload-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUploadFromUrlInput = z.object({\n site_id: z.string().describe(\"SharePoint site ID (e.g., contoso.sharepoint.com,2C712604-...,2D2244C3-...). If not provided, uses the default site from authentication.\").optional(),\n drive_id: z.string().describe(\"Drive ID where the file should be uploaded. If not provided, uses the default document library.\").optional(),\n file_url: z.string().describe(\"The URL of the file to download and upload to SharePoint. Must be accessible from the server.\"),\n file_name: z.string().describe(\"Name for the uploaded file. If not provided, extracts from the URL or Content-Disposition header.\").optional(),\n overwrite: z.boolean().describe(\"DEPRECATED. Use 'conflict_behavior' instead. true → 'replace', false → 'fail'. Ignored if 'conflict_behavior' is set.\").optional(),\n folder_path: z.string().describe(\"Folder path relative to the drive root (e.g., 'Documents/Projects'). Defaults to root of drive.\").optional(),\n source_headers: z.record(z.string(), z.unknown()).describe(\"Optional HTTP headers to include when downloading from file_url. Use for authentication tokens, signed URLs, or CDN-specific headers.\").optional(),\n conflict_behavior: z.enum([\"fail\", \"replace\", \"rename\"]).describe(\"Specifies how to handle name conflicts when uploading files to SharePoint.\").optional(),\n});\nexport const SharePointUploadFromUrlOutput = z.object({\n id: z.string().describe(\"The unique ID of the uploaded file in SharePoint.\").nullable(),\n name: z.string().describe(\"The final name of the uploaded file as stored by SharePoint. When conflict_behavior='rename', this will include the auto-generated suffix (e.g., 'report 1.docx').\").nullable(),\n size: z.number().int().describe(\"The size of the file in bytes.\").nullable().optional(),\n webUrl: z.string().describe(\"A URL for opening the file in SharePoint's web interface.\").nullable().optional(),\n was_renamed: z.boolean().describe(\"True if SharePoint renamed the file due to a name conflict (conflict_behavior='rename'), False otherwise.\").nullable(),\n createdDateTime: z.string().describe(\"The timestamp when the file was created.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The timestamp when the file was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const sharePointUploadFromUrl = action(\"SHARE_POINT_UPLOAD_FROM_URL\", {\n slug: \"share_point-upload-from-url\",\n name: \"Upload File from URL to SharePoint\",\n description: \"Tool to fetch a file from a URL and upload it to SharePoint. Use when you need to upload files directly from external URLs without downloading them to the client first. When a file with the same name already exists, use conflict_behavior to control the behavior: - 'replace': Overwrites the existing file (fails with HTTP 423 if the file is locked/open) - 'fail': Returns an error if a file with that name exists - 'rename': Uploads with an auto-generated suffix (e.g., 'report 1.docx'), bypassing file locks\",\n input: SharePointUploadFromUrlInput,\n output: SharePointUploadFromUrlOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-from-url.cjs","names":["z","action"],"sources":["../../src/actions/upload-from-url.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 SharePointUploadFromUrlInput = z.object({\n site_id: z.string().describe(\"SharePoint site ID (e.g., contoso.sharepoint.com,2C712604-...,2D2244C3-...). If not provided, uses the default site from authentication.\").optional(),\n drive_id: z.string().describe(\"Drive ID where the file should be uploaded. If not provided, uses the default document library.\").optional(),\n file_url: z.string().describe(\"The URL of the file to download and upload to SharePoint. Must be accessible from the server.\"),\n file_name: z.string().describe(\"Name for the uploaded file. If not provided, extracts from the URL or Content-Disposition header.\").optional(),\n overwrite: z.boolean().describe(\"DEPRECATED. Use 'conflict_behavior' instead. true → 'replace', false → 'fail'. Ignored if 'conflict_behavior' is set.\").optional(),\n folder_path: z.string().describe(\"Folder path relative to the drive root (e.g., 'Documents/Projects'). Defaults to root of drive.\").optional(),\n source_headers: z.record(z.string(), z.unknown()).describe(\"Optional HTTP headers to include when downloading from file_url. Use for authentication tokens, signed URLs, or CDN-specific headers.\").optional(),\n conflict_behavior: z.enum([\"fail\", \"replace\", \"rename\"]).describe(\"Specifies how to handle name conflicts when uploading files to SharePoint.\").optional(),\n});\nexport const SharePointUploadFromUrlOutput = z.object({\n id: z.string().describe(\"The unique ID of the uploaded file in SharePoint.\").nullable(),\n name: z.string().describe(\"The final name of the uploaded file as stored by SharePoint. When conflict_behavior='rename', this will include the auto-generated suffix (e.g., 'report 1.docx').\").nullable(),\n size: z.number().int().describe(\"The size of the file in bytes.\").nullable().optional(),\n webUrl: z.string().describe(\"A URL for opening the file in SharePoint's web interface.\").nullable().optional(),\n was_renamed: z.boolean().describe(\"True if SharePoint renamed the file due to a name conflict (conflict_behavior='rename'), False otherwise.\").nullable(),\n createdDateTime: z.string().describe(\"The timestamp when the file was created.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The timestamp when the file was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const sharePointUploadFromUrl: AppAction<\n typeof SharePointUploadFromUrlInput,\n typeof SharePointUploadFromUrlOutput,\n typeof sharePoint.credential\n> = action(\"SHARE_POINT_UPLOAD_FROM_URL\", {\n slug: \"share_point-upload-from-url\",\n name: \"Upload File from URL to SharePoint\",\n description: \"Tool to fetch a file from a URL and upload it to SharePoint. Use when you need to upload files directly from external URLs without downloading them to the client first. When a file with the same name already exists, use conflict_behavior to control the behavior: - 'replace': Overwrites the existing file (fails with HTTP 423 if the file is locked/open) - 'fail': Returns an error if a file with that name exists - 'rename': Uploads with an auto-generated suffix (e.g., 'report 1.docx'), bypassing file locks\",\n input: SharePointUploadFromUrlInput,\n output: SharePointUploadFromUrlOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;CAClL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC1I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CAC7H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC7I,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAClK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC7I,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAC7M,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC3J,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CACzM,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACxJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,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/upload-from-url.d.ts
|
|
@@ -24,16 +26,7 @@ declare const SharePointUploadFromUrlOutput: z.ZodObject<{
|
|
|
24
26
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const sharePointUploadFromUrl:
|
|
28
|
-
file_url: string;
|
|
29
|
-
site_id?: string | undefined;
|
|
30
|
-
drive_id?: string | undefined;
|
|
31
|
-
file_name?: string | undefined;
|
|
32
|
-
overwrite?: boolean | undefined;
|
|
33
|
-
folder_path?: string | undefined;
|
|
34
|
-
source_headers?: Record<string, unknown> | undefined;
|
|
35
|
-
conflict_behavior?: "replace" | "fail" | "rename" | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const sharePointUploadFromUrl: AppAction<typeof SharePointUploadFromUrlInput, typeof SharePointUploadFromUrlOutput, typeof sharePoint.credential>;
|
|
37
30
|
//#endregion
|
|
38
31
|
export { sharePointUploadFromUrl };
|
|
39
32
|
//# sourceMappingURL=upload-from-url.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-from-url.d.cts","names":[],"sources":["../../src/actions/upload-from-url.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-from-url.d.cts","names":[],"sources":["../../src/actions/upload-from-url.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAU5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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/upload-from-url.d.ts
|
|
@@ -24,16 +26,7 @@ declare const SharePointUploadFromUrlOutput: z.ZodObject<{
|
|
|
24
26
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const sharePointUploadFromUrl:
|
|
28
|
-
file_url: string;
|
|
29
|
-
site_id?: string | undefined;
|
|
30
|
-
drive_id?: string | undefined;
|
|
31
|
-
file_name?: string | undefined;
|
|
32
|
-
overwrite?: boolean | undefined;
|
|
33
|
-
folder_path?: string | undefined;
|
|
34
|
-
source_headers?: Record<string, unknown> | undefined;
|
|
35
|
-
conflict_behavior?: "replace" | "fail" | "rename" | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const sharePointUploadFromUrl: AppAction<typeof SharePointUploadFromUrlInput, typeof SharePointUploadFromUrlOutput, typeof sharePoint.credential>;
|
|
37
30
|
//#endregion
|
|
38
31
|
export { sharePointUploadFromUrl };
|
|
39
32
|
//# sourceMappingURL=upload-from-url.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-from-url.d.mts","names":[],"sources":["../../src/actions/upload-from-url.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-from-url.d.mts","names":[],"sources":["../../src/actions/upload-from-url.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAU5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-from-url.mjs","names":[],"sources":["../../src/actions/upload-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUploadFromUrlInput = z.object({\n site_id: z.string().describe(\"SharePoint site ID (e.g., contoso.sharepoint.com,2C712604-...,2D2244C3-...). If not provided, uses the default site from authentication.\").optional(),\n drive_id: z.string().describe(\"Drive ID where the file should be uploaded. If not provided, uses the default document library.\").optional(),\n file_url: z.string().describe(\"The URL of the file to download and upload to SharePoint. Must be accessible from the server.\"),\n file_name: z.string().describe(\"Name for the uploaded file. If not provided, extracts from the URL or Content-Disposition header.\").optional(),\n overwrite: z.boolean().describe(\"DEPRECATED. Use 'conflict_behavior' instead. true → 'replace', false → 'fail'. Ignored if 'conflict_behavior' is set.\").optional(),\n folder_path: z.string().describe(\"Folder path relative to the drive root (e.g., 'Documents/Projects'). Defaults to root of drive.\").optional(),\n source_headers: z.record(z.string(), z.unknown()).describe(\"Optional HTTP headers to include when downloading from file_url. Use for authentication tokens, signed URLs, or CDN-specific headers.\").optional(),\n conflict_behavior: z.enum([\"fail\", \"replace\", \"rename\"]).describe(\"Specifies how to handle name conflicts when uploading files to SharePoint.\").optional(),\n});\nexport const SharePointUploadFromUrlOutput = z.object({\n id: z.string().describe(\"The unique ID of the uploaded file in SharePoint.\").nullable(),\n name: z.string().describe(\"The final name of the uploaded file as stored by SharePoint. When conflict_behavior='rename', this will include the auto-generated suffix (e.g., 'report 1.docx').\").nullable(),\n size: z.number().int().describe(\"The size of the file in bytes.\").nullable().optional(),\n webUrl: z.string().describe(\"A URL for opening the file in SharePoint's web interface.\").nullable().optional(),\n was_renamed: z.boolean().describe(\"True if SharePoint renamed the file due to a name conflict (conflict_behavior='rename'), False otherwise.\").nullable(),\n createdDateTime: z.string().describe(\"The timestamp when the file was created.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The timestamp when the file was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const sharePointUploadFromUrl = action(\"SHARE_POINT_UPLOAD_FROM_URL\", {\n slug: \"share_point-upload-from-url\",\n name: \"Upload File from URL to SharePoint\",\n description: \"Tool to fetch a file from a URL and upload it to SharePoint. Use when you need to upload files directly from external URLs without downloading them to the client first. When a file with the same name already exists, use conflict_behavior to control the behavior: - 'replace': Overwrites the existing file (fails with HTTP 423 if the file is locked/open) - 'fail': Returns an error if a file with that name exists - 'rename': Uploads with an auto-generated suffix (e.g., 'report 1.docx'), bypassing file locks\",\n input: SharePointUploadFromUrlInput,\n output: SharePointUploadFromUrlOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload-from-url.mjs","names":[],"sources":["../../src/actions/upload-from-url.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 SharePointUploadFromUrlInput = z.object({\n site_id: z.string().describe(\"SharePoint site ID (e.g., contoso.sharepoint.com,2C712604-...,2D2244C3-...). If not provided, uses the default site from authentication.\").optional(),\n drive_id: z.string().describe(\"Drive ID where the file should be uploaded. If not provided, uses the default document library.\").optional(),\n file_url: z.string().describe(\"The URL of the file to download and upload to SharePoint. Must be accessible from the server.\"),\n file_name: z.string().describe(\"Name for the uploaded file. If not provided, extracts from the URL or Content-Disposition header.\").optional(),\n overwrite: z.boolean().describe(\"DEPRECATED. Use 'conflict_behavior' instead. true → 'replace', false → 'fail'. Ignored if 'conflict_behavior' is set.\").optional(),\n folder_path: z.string().describe(\"Folder path relative to the drive root (e.g., 'Documents/Projects'). Defaults to root of drive.\").optional(),\n source_headers: z.record(z.string(), z.unknown()).describe(\"Optional HTTP headers to include when downloading from file_url. Use for authentication tokens, signed URLs, or CDN-specific headers.\").optional(),\n conflict_behavior: z.enum([\"fail\", \"replace\", \"rename\"]).describe(\"Specifies how to handle name conflicts when uploading files to SharePoint.\").optional(),\n});\nexport const SharePointUploadFromUrlOutput = z.object({\n id: z.string().describe(\"The unique ID of the uploaded file in SharePoint.\").nullable(),\n name: z.string().describe(\"The final name of the uploaded file as stored by SharePoint. When conflict_behavior='rename', this will include the auto-generated suffix (e.g., 'report 1.docx').\").nullable(),\n size: z.number().int().describe(\"The size of the file in bytes.\").nullable().optional(),\n webUrl: z.string().describe(\"A URL for opening the file in SharePoint's web interface.\").nullable().optional(),\n was_renamed: z.boolean().describe(\"True if SharePoint renamed the file due to a name conflict (conflict_behavior='rename'), False otherwise.\").nullable(),\n createdDateTime: z.string().describe(\"The timestamp when the file was created.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The timestamp when the file was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const sharePointUploadFromUrl: AppAction<\n typeof SharePointUploadFromUrlInput,\n typeof SharePointUploadFromUrlOutput,\n typeof sharePoint.credential\n> = action(\"SHARE_POINT_UPLOAD_FROM_URL\", {\n slug: \"share_point-upload-from-url\",\n name: \"Upload File from URL to SharePoint\",\n description: \"Tool to fetch a file from a URL and upload it to SharePoint. Use when you need to upload files directly from external URLs without downloading them to the client first. When a file with the same name already exists, use conflict_behavior to control the behavior: - 'replace': Overwrites the existing file (fails with HTTP 423 if the file is locked/open) - 'fail': Returns an error if a file with that name exists - 'rename': Uploads with an auto-generated suffix (e.g., 'report 1.docx'), bypassing file locks\",\n input: SharePointUploadFromUrlInput,\n output: SharePointUploadFromUrlOutput,\n});\n"],"mappings":";;;AA0BA,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5B0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;EAClL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC1I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;EAC7H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAC7I,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EAClK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC7I,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;EAC7M,mBAAmB,EAAE,KAAK;GAAC;GAAQ;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC3J,CAmBS;CACP,QAnB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;EACzM,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACxJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|