@keystrokehq/one_drive 0.1.4 → 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-workbook-worksheet.cjs +1 -0
- package/dist/actions/add-workbook-worksheet.cjs.map +1 -1
- package/dist/actions/add-workbook-worksheet.d.cts +3 -18
- package/dist/actions/add-workbook-worksheet.d.cts.map +1 -1
- package/dist/actions/add-workbook-worksheet.d.mts +3 -18
- package/dist/actions/add-workbook-worksheet.d.mts.map +1 -1
- package/dist/actions/add-workbook-worksheet.mjs +1 -0
- package/dist/actions/add-workbook-worksheet.mjs.map +1 -1
- package/dist/actions/checkin-item.cjs +1 -0
- package/dist/actions/checkin-item.cjs.map +1 -1
- package/dist/actions/checkin-item.d.cts +3 -18
- package/dist/actions/checkin-item.d.cts.map +1 -1
- package/dist/actions/checkin-item.d.mts +3 -18
- package/dist/actions/checkin-item.d.mts.map +1 -1
- package/dist/actions/checkin-item.mjs +1 -0
- package/dist/actions/checkin-item.mjs.map +1 -1
- package/dist/actions/checkout-item.cjs +1 -0
- package/dist/actions/checkout-item.cjs.map +1 -1
- package/dist/actions/checkout-item.d.cts +3 -16
- package/dist/actions/checkout-item.d.cts.map +1 -1
- package/dist/actions/checkout-item.d.mts +3 -16
- package/dist/actions/checkout-item.d.mts.map +1 -1
- package/dist/actions/checkout-item.mjs +1 -0
- package/dist/actions/checkout-item.mjs.map +1 -1
- package/dist/actions/clear-workbook-range.cjs +1 -0
- package/dist/actions/clear-workbook-range.cjs.map +1 -1
- package/dist/actions/clear-workbook-range.d.cts +3 -20
- package/dist/actions/clear-workbook-range.d.cts.map +1 -1
- package/dist/actions/clear-workbook-range.d.mts +3 -20
- package/dist/actions/clear-workbook-range.d.mts.map +1 -1
- package/dist/actions/clear-workbook-range.mjs +1 -0
- package/dist/actions/clear-workbook-range.mjs.map +1 -1
- package/dist/actions/copy-item.cjs +1 -0
- package/dist/actions/copy-item.cjs.map +1 -1
- package/dist/actions/copy-item.d.cts +3 -27
- package/dist/actions/copy-item.d.cts.map +1 -1
- package/dist/actions/copy-item.d.mts +3 -27
- package/dist/actions/copy-item.d.mts.map +1 -1
- package/dist/actions/copy-item.mjs +1 -0
- package/dist/actions/copy-item.mjs.map +1 -1
- package/dist/actions/create-item-permission.cjs +1 -0
- package/dist/actions/create-item-permission.cjs.map +1 -1
- package/dist/actions/create-item-permission.d.cts +3 -27
- package/dist/actions/create-item-permission.d.cts.map +1 -1
- package/dist/actions/create-item-permission.d.mts +3 -27
- package/dist/actions/create-item-permission.d.mts.map +1 -1
- package/dist/actions/create-item-permission.mjs +1 -0
- package/dist/actions/create-item-permission.mjs.map +1 -1
- package/dist/actions/create-link.cjs +1 -0
- package/dist/actions/create-link.cjs.map +1 -1
- package/dist/actions/create-link.d.cts +3 -25
- package/dist/actions/create-link.d.cts.map +1 -1
- package/dist/actions/create-link.d.mts +3 -25
- package/dist/actions/create-link.d.mts.map +1 -1
- package/dist/actions/create-link.mjs +1 -0
- package/dist/actions/create-link.mjs.map +1 -1
- package/dist/actions/create-sharepoint-list-item.cjs +1 -0
- package/dist/actions/create-sharepoint-list-item.cjs.map +1 -1
- package/dist/actions/create-sharepoint-list-item.d.cts +3 -17
- package/dist/actions/create-sharepoint-list-item.d.cts.map +1 -1
- package/dist/actions/create-sharepoint-list-item.d.mts +3 -17
- package/dist/actions/create-sharepoint-list-item.d.mts.map +1 -1
- package/dist/actions/create-sharepoint-list-item.mjs +1 -0
- package/dist/actions/create-sharepoint-list-item.mjs.map +1 -1
- package/dist/actions/delete-item-permanently.cjs +1 -0
- package/dist/actions/delete-item-permanently.cjs.map +1 -1
- package/dist/actions/delete-item-permanently.d.cts +3 -16
- package/dist/actions/delete-item-permanently.d.cts.map +1 -1
- package/dist/actions/delete-item-permanently.d.mts +3 -16
- package/dist/actions/delete-item-permanently.d.mts.map +1 -1
- package/dist/actions/delete-item-permanently.mjs +1 -0
- package/dist/actions/delete-item-permanently.mjs.map +1 -1
- package/dist/actions/delete-item-permission.cjs +1 -0
- package/dist/actions/delete-item-permission.cjs.map +1 -1
- package/dist/actions/delete-item-permission.d.cts +3 -20
- package/dist/actions/delete-item-permission.d.cts.map +1 -1
- package/dist/actions/delete-item-permission.d.mts +3 -20
- package/dist/actions/delete-item-permission.d.mts.map +1 -1
- package/dist/actions/delete-item-permission.mjs +1 -0
- package/dist/actions/delete-item-permission.mjs.map +1 -1
- package/dist/actions/delete-item.cjs +1 -0
- package/dist/actions/delete-item.cjs.map +1 -1
- package/dist/actions/delete-item.d.cts +3 -18
- package/dist/actions/delete-item.d.cts.map +1 -1
- package/dist/actions/delete-item.d.mts +3 -18
- package/dist/actions/delete-item.d.mts.map +1 -1
- package/dist/actions/delete-item.mjs +1 -0
- package/dist/actions/delete-item.mjs.map +1 -1
- package/dist/actions/delete-share-permission.cjs +1 -0
- package/dist/actions/delete-share-permission.cjs.map +1 -1
- package/dist/actions/delete-share-permission.d.cts +3 -15
- package/dist/actions/delete-share-permission.d.cts.map +1 -1
- package/dist/actions/delete-share-permission.d.mts +3 -15
- package/dist/actions/delete-share-permission.d.mts.map +1 -1
- package/dist/actions/delete-share-permission.mjs +1 -0
- package/dist/actions/delete-share-permission.mjs.map +1 -1
- package/dist/actions/delete-sharepoint-item-permission.cjs +1 -0
- package/dist/actions/delete-sharepoint-item-permission.cjs.map +1 -1
- package/dist/actions/delete-sharepoint-item-permission.d.cts +3 -18
- package/dist/actions/delete-sharepoint-item-permission.d.cts.map +1 -1
- package/dist/actions/delete-sharepoint-item-permission.d.mts +3 -18
- package/dist/actions/delete-sharepoint-item-permission.d.mts.map +1 -1
- package/dist/actions/delete-sharepoint-item-permission.mjs +1 -0
- package/dist/actions/delete-sharepoint-item-permission.mjs.map +1 -1
- package/dist/actions/delete-workbook-range.cjs +1 -0
- package/dist/actions/delete-workbook-range.cjs.map +1 -1
- package/dist/actions/delete-workbook-range.d.cts +3 -19
- package/dist/actions/delete-workbook-range.d.cts.map +1 -1
- package/dist/actions/delete-workbook-range.d.mts +3 -19
- package/dist/actions/delete-workbook-range.d.mts.map +1 -1
- package/dist/actions/delete-workbook-range.mjs +1 -0
- package/dist/actions/delete-workbook-range.mjs.map +1 -1
- package/dist/actions/delete-workbook-worksheet.cjs +1 -0
- package/dist/actions/delete-workbook-worksheet.cjs.map +1 -1
- package/dist/actions/delete-workbook-worksheet.d.cts +3 -18
- package/dist/actions/delete-workbook-worksheet.d.cts.map +1 -1
- package/dist/actions/delete-workbook-worksheet.d.mts +3 -18
- package/dist/actions/delete-workbook-worksheet.d.mts.map +1 -1
- package/dist/actions/delete-workbook-worksheet.mjs +1 -0
- package/dist/actions/delete-workbook-worksheet.mjs.map +1 -1
- package/dist/actions/discard-checkout.cjs +1 -0
- package/dist/actions/discard-checkout.cjs.map +1 -1
- package/dist/actions/discard-checkout.d.cts +3 -16
- package/dist/actions/discard-checkout.d.cts.map +1 -1
- package/dist/actions/discard-checkout.d.mts +3 -16
- package/dist/actions/discard-checkout.d.mts.map +1 -1
- package/dist/actions/discard-checkout.mjs +1 -0
- package/dist/actions/discard-checkout.mjs.map +1 -1
- package/dist/actions/download-file-by-path.cjs +1 -0
- package/dist/actions/download-file-by-path.cjs.map +1 -1
- package/dist/actions/download-file-by-path.d.cts +3 -17
- package/dist/actions/download-file-by-path.d.cts.map +1 -1
- package/dist/actions/download-file-by-path.d.mts +3 -17
- package/dist/actions/download-file-by-path.d.mts.map +1 -1
- package/dist/actions/download-file-by-path.mjs +1 -0
- package/dist/actions/download-file-by-path.mjs.map +1 -1
- package/dist/actions/download-file.cjs +1 -0
- package/dist/actions/download-file.cjs.map +1 -1
- package/dist/actions/download-file.d.cts +3 -20
- package/dist/actions/download-file.d.cts.map +1 -1
- package/dist/actions/download-file.d.mts +3 -20
- package/dist/actions/download-file.d.mts.map +1 -1
- package/dist/actions/download-file.mjs +1 -0
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/download-item-as-format.cjs +1 -0
- package/dist/actions/download-item-as-format.cjs.map +1 -1
- package/dist/actions/download-item-as-format.d.cts +3 -20
- package/dist/actions/download-item-as-format.d.cts.map +1 -1
- package/dist/actions/download-item-as-format.d.mts +3 -20
- package/dist/actions/download-item-as-format.d.mts.map +1 -1
- package/dist/actions/download-item-as-format.mjs +1 -0
- package/dist/actions/download-item-as-format.mjs.map +1 -1
- package/dist/actions/download-item-version.cjs +1 -0
- package/dist/actions/download-item-version.cjs.map +1 -1
- package/dist/actions/download-item-version.d.cts +3 -18
- package/dist/actions/download-item-version.d.cts.map +1 -1
- package/dist/actions/download-item-version.d.mts +3 -18
- package/dist/actions/download-item-version.d.mts.map +1 -1
- package/dist/actions/download-item-version.mjs +1 -0
- package/dist/actions/download-item-version.mjs.map +1 -1
- package/dist/actions/follow-item.cjs +1 -0
- package/dist/actions/follow-item.cjs.map +1 -1
- package/dist/actions/follow-item.d.cts +3 -16
- package/dist/actions/follow-item.d.cts.map +1 -1
- package/dist/actions/follow-item.d.mts +3 -16
- package/dist/actions/follow-item.d.mts.map +1 -1
- package/dist/actions/follow-item.mjs +1 -0
- package/dist/actions/follow-item.mjs.map +1 -1
- package/dist/actions/get-document-comments.cjs +1 -0
- package/dist/actions/get-document-comments.cjs.map +1 -1
- package/dist/actions/get-document-comments.d.cts +3 -17
- package/dist/actions/get-document-comments.d.cts.map +1 -1
- package/dist/actions/get-document-comments.d.mts +3 -17
- package/dist/actions/get-document-comments.d.mts.map +1 -1
- package/dist/actions/get-document-comments.mjs +1 -0
- package/dist/actions/get-document-comments.mjs.map +1 -1
- package/dist/actions/get-drive-item-by-sharing-url.cjs +1 -0
- package/dist/actions/get-drive-item-by-sharing-url.cjs.map +1 -1
- package/dist/actions/get-drive-item-by-sharing-url.d.cts +3 -19
- package/dist/actions/get-drive-item-by-sharing-url.d.cts.map +1 -1
- package/dist/actions/get-drive-item-by-sharing-url.d.mts +3 -19
- package/dist/actions/get-drive-item-by-sharing-url.d.mts.map +1 -1
- package/dist/actions/get-drive-item-by-sharing-url.mjs +1 -0
- package/dist/actions/get-drive-item-by-sharing-url.mjs.map +1 -1
- package/dist/actions/get-drive.cjs +1 -0
- package/dist/actions/get-drive.cjs.map +1 -1
- package/dist/actions/get-drive.d.cts +3 -17
- package/dist/actions/get-drive.d.cts.map +1 -1
- package/dist/actions/get-drive.d.mts +3 -17
- package/dist/actions/get-drive.d.mts.map +1 -1
- package/dist/actions/get-drive.mjs +1 -0
- package/dist/actions/get-drive.mjs.map +1 -1
- package/dist/actions/get-followed-item.cjs +1 -0
- package/dist/actions/get-followed-item.cjs.map +1 -1
- package/dist/actions/get-followed-item.d.cts +3 -16
- package/dist/actions/get-followed-item.d.cts.map +1 -1
- package/dist/actions/get-followed-item.d.mts +3 -16
- package/dist/actions/get-followed-item.d.mts.map +1 -1
- package/dist/actions/get-followed-item.mjs +1 -0
- package/dist/actions/get-followed-item.mjs.map +1 -1
- package/dist/actions/get-group-drive.cjs +1 -0
- package/dist/actions/get-group-drive.cjs.map +1 -1
- package/dist/actions/get-group-drive.d.cts +3 -16
- package/dist/actions/get-group-drive.d.cts.map +1 -1
- package/dist/actions/get-group-drive.d.mts +3 -16
- package/dist/actions/get-group-drive.d.mts.map +1 -1
- package/dist/actions/get-group-drive.mjs +1 -0
- package/dist/actions/get-group-drive.mjs.map +1 -1
- package/dist/actions/get-item-permissions.cjs +1 -0
- package/dist/actions/get-item-permissions.cjs.map +1 -1
- package/dist/actions/get-item-permissions.d.cts +3 -22
- package/dist/actions/get-item-permissions.d.cts.map +1 -1
- package/dist/actions/get-item-permissions.d.mts +3 -22
- package/dist/actions/get-item-permissions.d.mts.map +1 -1
- package/dist/actions/get-item-permissions.mjs +1 -0
- package/dist/actions/get-item-permissions.mjs.map +1 -1
- package/dist/actions/get-item-thumbnails.cjs +1 -0
- package/dist/actions/get-item-thumbnails.cjs.map +1 -1
- package/dist/actions/get-item-thumbnails.d.cts +3 -21
- package/dist/actions/get-item-thumbnails.d.cts.map +1 -1
- package/dist/actions/get-item-thumbnails.d.mts +3 -21
- package/dist/actions/get-item-thumbnails.d.mts.map +1 -1
- package/dist/actions/get-item-thumbnails.mjs +1 -0
- package/dist/actions/get-item-thumbnails.mjs.map +1 -1
- package/dist/actions/get-item-versions.cjs +1 -0
- package/dist/actions/get-item-versions.cjs.map +1 -1
- package/dist/actions/get-item-versions.d.cts +3 -19
- package/dist/actions/get-item-versions.d.cts.map +1 -1
- package/dist/actions/get-item-versions.d.mts +3 -19
- package/dist/actions/get-item-versions.d.mts.map +1 -1
- package/dist/actions/get-item-versions.mjs +1 -0
- package/dist/actions/get-item-versions.mjs.map +1 -1
- package/dist/actions/get-item.cjs +1 -0
- package/dist/actions/get-item.cjs.map +1 -1
- package/dist/actions/get-item.d.cts +3 -18
- package/dist/actions/get-item.d.cts.map +1 -1
- package/dist/actions/get-item.d.mts +3 -18
- package/dist/actions/get-item.d.mts.map +1 -1
- package/dist/actions/get-item.mjs +1 -0
- package/dist/actions/get-item.mjs.map +1 -1
- package/dist/actions/get-root.cjs +1 -0
- package/dist/actions/get-root.cjs.map +1 -1
- package/dist/actions/get-root.d.cts +3 -16
- package/dist/actions/get-root.d.cts.map +1 -1
- package/dist/actions/get-root.d.mts +3 -16
- package/dist/actions/get-root.d.mts.map +1 -1
- package/dist/actions/get-root.mjs +1 -0
- package/dist/actions/get-root.mjs.map +1 -1
- package/dist/actions/get-share.cjs +1 -0
- package/dist/actions/get-share.cjs.map +1 -1
- package/dist/actions/get-share.d.cts +3 -17
- package/dist/actions/get-share.d.cts.map +1 -1
- package/dist/actions/get-share.d.mts +3 -17
- package/dist/actions/get-share.d.mts.map +1 -1
- package/dist/actions/get-share.mjs +1 -0
- package/dist/actions/get-share.mjs.map +1 -1
- package/dist/actions/get-sharepoint-list-items.cjs +1 -0
- package/dist/actions/get-sharepoint-list-items.cjs.map +1 -1
- package/dist/actions/get-sharepoint-list-items.d.cts +3 -23
- package/dist/actions/get-sharepoint-list-items.d.cts.map +1 -1
- package/dist/actions/get-sharepoint-list-items.d.mts +3 -23
- package/dist/actions/get-sharepoint-list-items.d.mts.map +1 -1
- package/dist/actions/get-sharepoint-list-items.mjs +1 -0
- package/dist/actions/get-sharepoint-list-items.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 -18
- package/dist/actions/get-site-page-content.d.cts.map +1 -1
- package/dist/actions/get-site-page-content.d.mts +3 -18
- 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.cjs +1 -0
- package/dist/actions/get-site.cjs.map +1 -1
- package/dist/actions/get-site.d.cts +3 -17
- package/dist/actions/get-site.d.cts.map +1 -1
- package/dist/actions/get-site.d.mts +3 -17
- package/dist/actions/get-site.d.mts.map +1 -1
- package/dist/actions/get-site.mjs +1 -0
- package/dist/actions/get-site.mjs.map +1 -1
- package/dist/actions/get-special-folder.cjs +1 -0
- package/dist/actions/get-special-folder.cjs.map +1 -1
- package/dist/actions/get-special-folder.d.cts +3 -18
- package/dist/actions/get-special-folder.d.cts.map +1 -1
- package/dist/actions/get-special-folder.d.mts +3 -18
- package/dist/actions/get-special-folder.d.mts.map +1 -1
- package/dist/actions/get-special-folder.mjs +1 -0
- package/dist/actions/get-special-folder.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -16
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -16
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-workbook-used-range.cjs +1 -0
- package/dist/actions/get-workbook-used-range.cjs.map +1 -1
- package/dist/actions/get-workbook-used-range.d.cts +3 -19
- package/dist/actions/get-workbook-used-range.d.cts.map +1 -1
- package/dist/actions/get-workbook-used-range.d.mts +3 -19
- package/dist/actions/get-workbook-used-range.d.mts.map +1 -1
- package/dist/actions/get-workbook-used-range.mjs +1 -0
- package/dist/actions/get-workbook-used-range.mjs.map +1 -1
- package/dist/actions/get-workbook-worksheet.cjs +1 -0
- package/dist/actions/get-workbook-worksheet.cjs.map +1 -1
- package/dist/actions/get-workbook-worksheet.d.cts +3 -19
- package/dist/actions/get-workbook-worksheet.d.cts.map +1 -1
- package/dist/actions/get-workbook-worksheet.d.mts +3 -19
- package/dist/actions/get-workbook-worksheet.d.mts.map +1 -1
- package/dist/actions/get-workbook-worksheet.mjs +1 -0
- package/dist/actions/get-workbook-worksheet.mjs.map +1 -1
- package/dist/actions/grant-share-permission.cjs +1 -0
- package/dist/actions/grant-share-permission.cjs.map +1 -1
- package/dist/actions/grant-share-permission.d.cts +3 -20
- package/dist/actions/grant-share-permission.d.cts.map +1 -1
- package/dist/actions/grant-share-permission.d.mts +3 -20
- package/dist/actions/grant-share-permission.d.mts.map +1 -1
- package/dist/actions/grant-share-permission.mjs +1 -0
- package/dist/actions/grant-share-permission.mjs.map +1 -1
- package/dist/actions/grant-sharepoint-item-permission.cjs +1 -0
- package/dist/actions/grant-sharepoint-item-permission.cjs.map +1 -1
- package/dist/actions/grant-sharepoint-item-permission.d.cts +3 -24
- package/dist/actions/grant-sharepoint-item-permission.d.cts.map +1 -1
- package/dist/actions/grant-sharepoint-item-permission.d.mts +3 -24
- package/dist/actions/grant-sharepoint-item-permission.d.mts.map +1 -1
- package/dist/actions/grant-sharepoint-item-permission.mjs +1 -0
- package/dist/actions/grant-sharepoint-item-permission.mjs.map +1 -1
- package/dist/actions/invite-user-to-item.cjs +1 -0
- package/dist/actions/invite-user-to-item.cjs.map +1 -1
- package/dist/actions/invite-user-to-item.d.cts +3 -32
- package/dist/actions/invite-user-to-item.d.cts.map +1 -1
- package/dist/actions/invite-user-to-item.d.mts +3 -32
- package/dist/actions/invite-user-to-item.d.mts.map +1 -1
- package/dist/actions/invite-user-to-item.mjs +1 -0
- package/dist/actions/invite-user-to-item.mjs.map +1 -1
- package/dist/actions/list-activities.cjs +1 -0
- package/dist/actions/list-activities.cjs.map +1 -1
- package/dist/actions/list-activities.d.cts +3 -16
- package/dist/actions/list-activities.d.cts.map +1 -1
- package/dist/actions/list-activities.d.mts +3 -16
- package/dist/actions/list-activities.d.mts.map +1 -1
- package/dist/actions/list-activities.mjs +1 -0
- package/dist/actions/list-activities.mjs.map +1 -1
- package/dist/actions/list-all-drive-items.cjs +1 -0
- package/dist/actions/list-all-drive-items.cjs.map +1 -1
- package/dist/actions/list-all-drive-items.d.cts +3 -17
- package/dist/actions/list-all-drive-items.d.cts.map +1 -1
- package/dist/actions/list-all-drive-items.d.mts +3 -17
- package/dist/actions/list-all-drive-items.d.mts.map +1 -1
- package/dist/actions/list-all-drive-items.mjs +1 -0
- package/dist/actions/list-all-drive-items.mjs.map +1 -1
- package/dist/actions/list-bundles.cjs +1 -0
- package/dist/actions/list-bundles.cjs.map +1 -1
- package/dist/actions/list-bundles.d.cts +3 -21
- package/dist/actions/list-bundles.d.cts.map +1 -1
- package/dist/actions/list-bundles.d.mts +3 -21
- package/dist/actions/list-bundles.d.mts.map +1 -1
- package/dist/actions/list-bundles.mjs +1 -0
- package/dist/actions/list-bundles.mjs.map +1 -1
- package/dist/actions/list-drives.cjs +1 -0
- package/dist/actions/list-drives.cjs.map +1 -1
- package/dist/actions/list-drives.d.cts +3 -22
- package/dist/actions/list-drives.d.cts.map +1 -1
- package/dist/actions/list-drives.d.mts +3 -22
- package/dist/actions/list-drives.d.mts.map +1 -1
- package/dist/actions/list-drives.mjs +1 -0
- package/dist/actions/list-drives.mjs.map +1 -1
- package/dist/actions/list-folder-children.cjs +1 -0
- package/dist/actions/list-folder-children.cjs.map +1 -1
- package/dist/actions/list-folder-children.d.cts +3 -25
- package/dist/actions/list-folder-children.d.cts.map +1 -1
- package/dist/actions/list-folder-children.d.mts +3 -25
- package/dist/actions/list-folder-children.d.mts.map +1 -1
- package/dist/actions/list-folder-children.mjs +1 -0
- package/dist/actions/list-folder-children.mjs.map +1 -1
- package/dist/actions/list-item-activities.cjs +1 -0
- package/dist/actions/list-item-activities.cjs.map +1 -1
- package/dist/actions/list-item-activities.d.cts +3 -16
- package/dist/actions/list-item-activities.d.cts.map +1 -1
- package/dist/actions/list-item-activities.d.mts +3 -16
- package/dist/actions/list-item-activities.d.mts.map +1 -1
- package/dist/actions/list-item-activities.mjs +1 -0
- package/dist/actions/list-item-activities.mjs.map +1 -1
- package/dist/actions/list-onedrive-shared-items.cjs +1 -0
- package/dist/actions/list-onedrive-shared-items.cjs.map +1 -1
- package/dist/actions/list-onedrive-shared-items.d.cts +3 -17
- package/dist/actions/list-onedrive-shared-items.d.cts.map +1 -1
- package/dist/actions/list-onedrive-shared-items.d.mts +3 -17
- package/dist/actions/list-onedrive-shared-items.d.mts.map +1 -1
- package/dist/actions/list-onedrive-shared-items.mjs +1 -0
- package/dist/actions/list-onedrive-shared-items.mjs.map +1 -1
- package/dist/actions/list-root-drive-changes.cjs +1 -0
- package/dist/actions/list-root-drive-changes.cjs.map +1 -1
- package/dist/actions/list-root-drive-changes.d.cts +3 -19
- package/dist/actions/list-root-drive-changes.d.cts.map +1 -1
- package/dist/actions/list-root-drive-changes.d.mts +3 -19
- package/dist/actions/list-root-drive-changes.d.mts.map +1 -1
- package/dist/actions/list-root-drive-changes.mjs +1 -0
- package/dist/actions/list-root-drive-changes.mjs.map +1 -1
- package/dist/actions/list-share-permissions.cjs +1 -0
- package/dist/actions/list-share-permissions.cjs.map +1 -1
- package/dist/actions/list-share-permissions.d.cts +3 -15
- package/dist/actions/list-share-permissions.d.cts.map +1 -1
- package/dist/actions/list-share-permissions.d.mts +3 -15
- package/dist/actions/list-share-permissions.d.mts.map +1 -1
- package/dist/actions/list-share-permissions.mjs +1 -0
- package/dist/actions/list-share-permissions.mjs.map +1 -1
- package/dist/actions/list-sharepoint-item-permissions.cjs +1 -0
- package/dist/actions/list-sharepoint-item-permissions.cjs.map +1 -1
- package/dist/actions/list-sharepoint-item-permissions.d.cts +3 -19
- package/dist/actions/list-sharepoint-item-permissions.d.cts.map +1 -1
- package/dist/actions/list-sharepoint-item-permissions.d.mts +3 -19
- package/dist/actions/list-sharepoint-item-permissions.d.mts.map +1 -1
- package/dist/actions/list-sharepoint-item-permissions.mjs +1 -0
- package/dist/actions/list-sharepoint-item-permissions.mjs.map +1 -1
- package/dist/actions/list-sharepoint-list-items-delta.cjs +1 -0
- package/dist/actions/list-sharepoint-list-items-delta.cjs.map +1 -1
- package/dist/actions/list-sharepoint-list-items-delta.d.cts +3 -20
- package/dist/actions/list-sharepoint-list-items-delta.d.cts.map +1 -1
- package/dist/actions/list-sharepoint-list-items-delta.d.mts +3 -20
- package/dist/actions/list-sharepoint-list-items-delta.d.mts.map +1 -1
- package/dist/actions/list-sharepoint-list-items-delta.mjs +1 -0
- package/dist/actions/list-sharepoint-list-items-delta.mjs.map +1 -1
- package/dist/actions/list-site-columns.cjs +1 -0
- package/dist/actions/list-site-columns.cjs.map +1 -1
- package/dist/actions/list-site-columns.d.cts +3 -22
- package/dist/actions/list-site-columns.d.cts.map +1 -1
- package/dist/actions/list-site-columns.d.mts +3 -22
- package/dist/actions/list-site-columns.d.mts.map +1 -1
- package/dist/actions/list-site-columns.mjs +1 -0
- package/dist/actions/list-site-columns.mjs.map +1 -1
- package/dist/actions/list-site-items-delta.cjs +1 -0
- package/dist/actions/list-site-items-delta.cjs.map +1 -1
- package/dist/actions/list-site-items-delta.d.cts +3 -19
- package/dist/actions/list-site-items-delta.d.cts.map +1 -1
- package/dist/actions/list-site-items-delta.d.mts +3 -19
- package/dist/actions/list-site-items-delta.d.mts.map +1 -1
- package/dist/actions/list-site-items-delta.mjs +1 -0
- package/dist/actions/list-site-items-delta.mjs.map +1 -1
- package/dist/actions/list-site-lists.cjs +1 -0
- package/dist/actions/list-site-lists.cjs.map +1 -1
- package/dist/actions/list-site-lists.d.cts +3 -20
- package/dist/actions/list-site-lists.d.cts.map +1 -1
- package/dist/actions/list-site-lists.d.mts +3 -20
- package/dist/actions/list-site-lists.d.mts.map +1 -1
- package/dist/actions/list-site-lists.mjs +1 -0
- package/dist/actions/list-site-lists.mjs.map +1 -1
- package/dist/actions/list-site-subsites.cjs +1 -0
- package/dist/actions/list-site-subsites.cjs.map +1 -1
- package/dist/actions/list-site-subsites.d.cts +3 -20
- package/dist/actions/list-site-subsites.d.cts.map +1 -1
- package/dist/actions/list-site-subsites.d.mts +3 -20
- package/dist/actions/list-site-subsites.d.mts.map +1 -1
- package/dist/actions/list-site-subsites.mjs +1 -0
- package/dist/actions/list-site-subsites.mjs.map +1 -1
- package/dist/actions/list-subscriptions.cjs +1 -0
- package/dist/actions/list-subscriptions.cjs.map +1 -1
- package/dist/actions/list-subscriptions.d.cts +3 -13
- package/dist/actions/list-subscriptions.d.cts.map +1 -1
- package/dist/actions/list-subscriptions.d.mts +3 -13
- package/dist/actions/list-subscriptions.d.mts.map +1 -1
- package/dist/actions/list-subscriptions.mjs +1 -0
- package/dist/actions/list-subscriptions.mjs.map +1 -1
- package/dist/actions/list-workbook-worksheets.cjs +1 -0
- package/dist/actions/list-workbook-worksheets.cjs.map +1 -1
- package/dist/actions/list-workbook-worksheets.d.cts +3 -20
- package/dist/actions/list-workbook-worksheets.d.cts.map +1 -1
- package/dist/actions/list-workbook-worksheets.d.mts +3 -20
- package/dist/actions/list-workbook-worksheets.d.mts.map +1 -1
- package/dist/actions/list-workbook-worksheets.mjs +1 -0
- package/dist/actions/list-workbook-worksheets.mjs.map +1 -1
- package/dist/actions/move-item.cjs +1 -0
- package/dist/actions/move-item.cjs.map +1 -1
- package/dist/actions/move-item.d.cts +3 -25
- package/dist/actions/move-item.d.cts.map +1 -1
- package/dist/actions/move-item.d.mts +3 -25
- package/dist/actions/move-item.d.mts.map +1 -1
- package/dist/actions/move-item.mjs +1 -0
- package/dist/actions/move-item.mjs.map +1 -1
- package/dist/actions/onedrive-create-folder.cjs +1 -0
- package/dist/actions/onedrive-create-folder.cjs.map +1 -1
- package/dist/actions/onedrive-create-folder.d.cts +3 -19
- package/dist/actions/onedrive-create-folder.d.cts.map +1 -1
- package/dist/actions/onedrive-create-folder.d.mts +3 -19
- package/dist/actions/onedrive-create-folder.d.mts.map +1 -1
- package/dist/actions/onedrive-create-folder.mjs +1 -0
- package/dist/actions/onedrive-create-folder.mjs.map +1 -1
- package/dist/actions/onedrive-create-text-file.cjs +1 -0
- package/dist/actions/onedrive-create-text-file.cjs.map +1 -1
- package/dist/actions/onedrive-create-text-file.d.cts +3 -19
- package/dist/actions/onedrive-create-text-file.d.cts.map +1 -1
- package/dist/actions/onedrive-create-text-file.d.mts +3 -19
- package/dist/actions/onedrive-create-text-file.d.mts.map +1 -1
- package/dist/actions/onedrive-create-text-file.mjs +1 -0
- package/dist/actions/onedrive-create-text-file.mjs.map +1 -1
- package/dist/actions/onedrive-find-file.cjs +1 -0
- package/dist/actions/onedrive-find-file.cjs.map +1 -1
- package/dist/actions/onedrive-find-file.d.cts +3 -18
- package/dist/actions/onedrive-find-file.d.cts.map +1 -1
- package/dist/actions/onedrive-find-file.d.mts +3 -18
- package/dist/actions/onedrive-find-file.d.mts.map +1 -1
- package/dist/actions/onedrive-find-file.mjs +1 -0
- package/dist/actions/onedrive-find-file.mjs.map +1 -1
- package/dist/actions/onedrive-find-folder.cjs +1 -0
- package/dist/actions/onedrive-find-folder.cjs.map +1 -1
- package/dist/actions/onedrive-find-folder.d.cts +3 -22
- package/dist/actions/onedrive-find-folder.d.cts.map +1 -1
- package/dist/actions/onedrive-find-folder.d.mts +3 -22
- package/dist/actions/onedrive-find-folder.d.mts.map +1 -1
- package/dist/actions/onedrive-find-folder.mjs +1 -0
- package/dist/actions/onedrive-find-folder.mjs.map +1 -1
- package/dist/actions/onedrive-list-items.cjs +1 -0
- package/dist/actions/onedrive-list-items.cjs.map +1 -1
- package/dist/actions/onedrive-list-items.d.cts +3 -17
- package/dist/actions/onedrive-list-items.d.cts.map +1 -1
- package/dist/actions/onedrive-list-items.d.mts +3 -17
- package/dist/actions/onedrive-list-items.d.mts.map +1 -1
- package/dist/actions/onedrive-list-items.mjs +1 -0
- package/dist/actions/onedrive-list-items.mjs.map +1 -1
- package/dist/actions/onedrive-upload-file.cjs +1 -0
- package/dist/actions/onedrive-upload-file.cjs.map +1 -1
- package/dist/actions/onedrive-upload-file.d.cts +3 -36
- package/dist/actions/onedrive-upload-file.d.cts.map +1 -1
- package/dist/actions/onedrive-upload-file.d.mts +3 -36
- package/dist/actions/onedrive-upload-file.d.mts.map +1 -1
- package/dist/actions/onedrive-upload-file.mjs +1 -0
- package/dist/actions/onedrive-upload-file.mjs.map +1 -1
- package/dist/actions/preview-drive-item.cjs +1 -0
- package/dist/actions/preview-drive-item.cjs.map +1 -1
- package/dist/actions/preview-drive-item.d.cts +3 -22
- package/dist/actions/preview-drive-item.d.cts.map +1 -1
- package/dist/actions/preview-drive-item.d.mts +3 -22
- package/dist/actions/preview-drive-item.d.mts.map +1 -1
- package/dist/actions/preview-drive-item.mjs +1 -0
- package/dist/actions/preview-drive-item.mjs.map +1 -1
- package/dist/actions/read-workbook-range.cjs +1 -0
- package/dist/actions/read-workbook-range.cjs.map +1 -1
- package/dist/actions/read-workbook-range.d.cts +3 -20
- package/dist/actions/read-workbook-range.d.cts.map +1 -1
- package/dist/actions/read-workbook-range.d.mts +3 -20
- package/dist/actions/read-workbook-range.d.mts.map +1 -1
- package/dist/actions/read-workbook-range.mjs +1 -0
- package/dist/actions/read-workbook-range.mjs.map +1 -1
- package/dist/actions/restore-drive-item.cjs +1 -0
- package/dist/actions/restore-drive-item.cjs.map +1 -1
- package/dist/actions/restore-drive-item.d.cts +3 -18
- package/dist/actions/restore-drive-item.d.cts.map +1 -1
- package/dist/actions/restore-drive-item.d.mts +3 -18
- package/dist/actions/restore-drive-item.d.mts.map +1 -1
- package/dist/actions/restore-drive-item.mjs +1 -0
- package/dist/actions/restore-drive-item.mjs.map +1 -1
- package/dist/actions/restore-item-version.cjs +1 -0
- package/dist/actions/restore-item-version.cjs.map +1 -1
- package/dist/actions/restore-item-version.d.cts +3 -18
- package/dist/actions/restore-item-version.d.cts.map +1 -1
- package/dist/actions/restore-item-version.d.mts +3 -18
- package/dist/actions/restore-item-version.d.mts.map +1 -1
- package/dist/actions/restore-item-version.mjs +1 -0
- package/dist/actions/restore-item-version.mjs.map +1 -1
- package/dist/actions/search-drive-items.cjs +1 -0
- package/dist/actions/search-drive-items.cjs.map +1 -1
- package/dist/actions/search-drive-items.d.cts +3 -18
- package/dist/actions/search-drive-items.d.cts.map +1 -1
- package/dist/actions/search-drive-items.d.mts +3 -18
- package/dist/actions/search-drive-items.d.mts.map +1 -1
- package/dist/actions/search-drive-items.mjs +1 -0
- package/dist/actions/search-drive-items.mjs.map +1 -1
- package/dist/actions/search-items.cjs +1 -0
- package/dist/actions/search-items.cjs.map +1 -1
- package/dist/actions/search-items.d.cts +3 -27
- package/dist/actions/search-items.d.cts.map +1 -1
- package/dist/actions/search-items.d.mts +3 -27
- package/dist/actions/search-items.d.mts.map +1 -1
- package/dist/actions/search-items.mjs +1 -0
- package/dist/actions/search-items.mjs.map +1 -1
- package/dist/actions/unfollow-item.cjs +1 -0
- package/dist/actions/unfollow-item.cjs.map +1 -1
- package/dist/actions/unfollow-item.d.cts +3 -15
- package/dist/actions/unfollow-item.d.cts.map +1 -1
- package/dist/actions/unfollow-item.d.mts +3 -15
- package/dist/actions/unfollow-item.d.mts.map +1 -1
- package/dist/actions/unfollow-item.mjs +1 -0
- package/dist/actions/unfollow-item.mjs.map +1 -1
- package/dist/actions/update-drive-item-metadata.cjs +1 -0
- package/dist/actions/update-drive-item-metadata.cjs.map +1 -1
- package/dist/actions/update-drive-item-metadata.d.cts +3 -29
- package/dist/actions/update-drive-item-metadata.d.cts.map +1 -1
- package/dist/actions/update-drive-item-metadata.d.mts +3 -29
- package/dist/actions/update-drive-item-metadata.d.mts.map +1 -1
- package/dist/actions/update-drive-item-metadata.mjs +1 -0
- package/dist/actions/update-drive-item-metadata.mjs.map +1 -1
- package/dist/actions/update-drive-items-permissions.cjs +1 -0
- package/dist/actions/update-drive-items-permissions.cjs.map +1 -1
- package/dist/actions/update-drive-items-permissions.d.cts +3 -21
- package/dist/actions/update-drive-items-permissions.d.cts.map +1 -1
- package/dist/actions/update-drive-items-permissions.d.mts +3 -21
- package/dist/actions/update-drive-items-permissions.d.mts.map +1 -1
- package/dist/actions/update-drive-items-permissions.mjs +1 -0
- package/dist/actions/update-drive-items-permissions.mjs.map +1 -1
- package/dist/actions/update-file-content.cjs +1 -0
- package/dist/actions/update-file-content.cjs.map +1 -1
- package/dist/actions/update-file-content.d.cts +3 -40
- package/dist/actions/update-file-content.d.cts.map +1 -1
- package/dist/actions/update-file-content.d.mts +3 -40
- package/dist/actions/update-file-content.d.mts.map +1 -1
- package/dist/actions/update-file-content.mjs +1 -0
- package/dist/actions/update-file-content.mjs.map +1 -1
- package/dist/actions/update-sharepoint-item-permission.cjs +1 -0
- package/dist/actions/update-sharepoint-item-permission.cjs.map +1 -1
- package/dist/actions/update-sharepoint-item-permission.d.cts +3 -19
- package/dist/actions/update-sharepoint-item-permission.d.cts.map +1 -1
- package/dist/actions/update-sharepoint-item-permission.d.mts +3 -19
- package/dist/actions/update-sharepoint-item-permission.d.mts.map +1 -1
- package/dist/actions/update-sharepoint-item-permission.mjs +1 -0
- package/dist/actions/update-sharepoint-item-permission.mjs.map +1 -1
- package/dist/actions/update-sharepoint-list-item-fields.cjs +1 -0
- package/dist/actions/update-sharepoint-list-item-fields.cjs.map +1 -1
- package/dist/actions/update-sharepoint-list-item-fields.d.cts +3 -19
- package/dist/actions/update-sharepoint-list-item-fields.d.cts.map +1 -1
- package/dist/actions/update-sharepoint-list-item-fields.d.mts +3 -19
- package/dist/actions/update-sharepoint-list-item-fields.d.mts.map +1 -1
- package/dist/actions/update-sharepoint-list-item-fields.mjs +1 -0
- package/dist/actions/update-sharepoint-list-item-fields.mjs.map +1 -1
- package/dist/actions/update-workbook-range.cjs +1 -0
- package/dist/actions/update-workbook-range.cjs.map +1 -1
- package/dist/actions/update-workbook-range.d.cts +3 -22
- package/dist/actions/update-workbook-range.d.cts.map +1 -1
- package/dist/actions/update-workbook-range.d.mts +3 -22
- package/dist/actions/update-workbook-range.d.mts.map +1 -1
- package/dist/actions/update-workbook-range.mjs +1 -0
- package/dist/actions/update-workbook-range.mjs.map +1 -1
- package/dist/actions/update-workbook-worksheet.cjs +1 -0
- package/dist/actions/update-workbook-worksheet.cjs.map +1 -1
- package/dist/actions/update-workbook-worksheet.d.cts +3 -21
- package/dist/actions/update-workbook-worksheet.d.cts.map +1 -1
- package/dist/actions/update-workbook-worksheet.d.mts +3 -21
- package/dist/actions/update-workbook-worksheet.d.mts.map +1 -1
- package/dist/actions/update-workbook-worksheet.mjs +1 -0
- package/dist/actions/update-workbook-worksheet.mjs.map +1 -1
- package/dist/actions/write-workbook-cell.cjs +1 -0
- package/dist/actions/write-workbook-cell.cjs.map +1 -1
- package/dist/actions/write-workbook-cell.d.cts +3 -23
- package/dist/actions/write-workbook-cell.d.cts.map +1 -1
- package/dist/actions/write-workbook-cell.d.mts +3 -23
- package/dist/actions/write-workbook-cell.d.mts.map +1 -1
- package/dist/actions/write-workbook-cell.mjs +1 -0
- package/dist/actions/write-workbook-cell.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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":"preview-drive-item.cjs","names":["z","action"],"sources":["../../src/actions/preview-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDrivePreviewDriveItemInput = z.object({\n page: z.union([z.string(), z.number().int()]).optional(),\n zoom: z.number().describe(\"Optional. Zoom level to start at, if applicable.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem.\"),\n site_id: z.string().describe(\"The unique identifier of the Site. Provide if the item is in a SharePoint site.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the User. Provide if the item is in another user's drive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive. If not provided, the request will be made to the current user's drive.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the Group. Provide if the item is in a group drive.\").optional(),\n share_id: z.string().describe(\"The unique identifier of the shared item. Provide if the item is accessed via a share link.\").optional(),\n});\nexport const OneDrivePreviewDriveItemOutput = z.object({\n getUrl: z.string().describe(\"URL suitable for embedding using HTTP GET (iframes, etc.)\").nullable().optional(),\n postUrl: z.string().describe(\"URL suitable for embedding using HTTP POST (form post, JS, etc.)\").nullable().optional(),\n postParameters: z.string().describe(\"POST parameters to include if using postUrl\").nullable().optional(),\n}).passthrough();\n\nexport const oneDrivePreviewDriveItem = action(\"ONE_DRIVE_PREVIEW_DRIVE_ITEM\", {\n slug: \"one_drive-preview-drive-item\",\n name: \"Preview Drive Item\",\n description: \"Generates or retrieves a short-lived, permission-bound embeddable URL for a preview of a specific item. URLs expire and must be regenerated per session — do not cache. Use when you need to display a temporary preview of a file.\",\n input: OneDrivePreviewDriveItemInput,\n output: OneDrivePreviewDriveItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"preview-drive-item.cjs","names":["z","action"],"sources":["../../src/actions/preview-drive-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDrivePreviewDriveItemInput = z.object({\n page: z.union([z.string(), z.number().int()]).optional(),\n zoom: z.number().describe(\"Optional. Zoom level to start at, if applicable.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem.\"),\n site_id: z.string().describe(\"The unique identifier of the Site. Provide if the item is in a SharePoint site.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the User. Provide if the item is in another user's drive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive. If not provided, the request will be made to the current user's drive.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the Group. Provide if the item is in a group drive.\").optional(),\n share_id: z.string().describe(\"The unique identifier of the shared item. Provide if the item is accessed via a share link.\").optional(),\n});\nexport const OneDrivePreviewDriveItemOutput = z.object({\n getUrl: z.string().describe(\"URL suitable for embedding using HTTP GET (iframes, etc.)\").nullable().optional(),\n postUrl: z.string().describe(\"URL suitable for embedding using HTTP POST (form post, JS, etc.)\").nullable().optional(),\n postParameters: z.string().describe(\"POST parameters to include if using postUrl\").nullable().optional(),\n}).passthrough();\n\nexport const oneDrivePreviewDriveItem: AppAction<\n typeof OneDrivePreviewDriveItemInput,\n typeof OneDrivePreviewDriveItemOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_PREVIEW_DRIVE_ITEM\", {\n slug: \"one_drive-preview-drive-item\",\n name: \"Preview Drive Item\",\n description: \"Generates or retrieves a short-lived, permission-bound embeddable URL for a preview of a specific item. URLs expire and must be regenerated per session — do not cache. Use when you need to display a temporary preview of a file.\",\n input: OneDrivePreviewDriveItemInput,\n output: OneDrivePreviewDriveItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACrJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACvH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AACxI,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { oneDrive } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/preview-drive-item.d.ts
|
|
@@ -16,28 +18,7 @@ declare const OneDrivePreviewDriveItemOutput: z.ZodObject<{
|
|
|
16
18
|
postUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
postParameters: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const oneDrivePreviewDriveItem:
|
|
20
|
-
item_id: string;
|
|
21
|
-
page?: string | number | undefined;
|
|
22
|
-
zoom?: number | undefined;
|
|
23
|
-
site_id?: string | undefined;
|
|
24
|
-
user_id?: string | undefined;
|
|
25
|
-
drive_id?: string | undefined;
|
|
26
|
-
group_id?: string | undefined;
|
|
27
|
-
share_id?: string | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
accessToken: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
accessToken: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const oneDrivePreviewDriveItem: AppAction<typeof OneDrivePreviewDriveItemInput, typeof OneDrivePreviewDriveItemOutput, typeof oneDrive.credential>;
|
|
41
22
|
//#endregion
|
|
42
23
|
export { oneDrivePreviewDriveItem };
|
|
43
24
|
//# sourceMappingURL=preview-drive-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview-drive-item.d.cts","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"preview-drive-item.d.cts","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAU7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { oneDrive } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/preview-drive-item.d.ts
|
|
@@ -16,28 +18,7 @@ declare const OneDrivePreviewDriveItemOutput: z.ZodObject<{
|
|
|
16
18
|
postUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
postParameters: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const oneDrivePreviewDriveItem:
|
|
20
|
-
item_id: string;
|
|
21
|
-
page?: string | number | undefined;
|
|
22
|
-
zoom?: number | undefined;
|
|
23
|
-
site_id?: string | undefined;
|
|
24
|
-
user_id?: string | undefined;
|
|
25
|
-
drive_id?: string | undefined;
|
|
26
|
-
group_id?: string | undefined;
|
|
27
|
-
share_id?: string | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
accessToken: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
accessToken: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const oneDrivePreviewDriveItem: AppAction<typeof OneDrivePreviewDriveItemInput, typeof OneDrivePreviewDriveItemOutput, typeof oneDrive.credential>;
|
|
41
22
|
//#endregion
|
|
42
23
|
export { oneDrivePreviewDriveItem };
|
|
43
24
|
//# sourceMappingURL=preview-drive-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview-drive-item.d.mts","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"preview-drive-item.d.mts","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAU7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview-drive-item.mjs","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDrivePreviewDriveItemInput = z.object({\n page: z.union([z.string(), z.number().int()]).optional(),\n zoom: z.number().describe(\"Optional. Zoom level to start at, if applicable.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem.\"),\n site_id: z.string().describe(\"The unique identifier of the Site. Provide if the item is in a SharePoint site.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the User. Provide if the item is in another user's drive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive. If not provided, the request will be made to the current user's drive.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the Group. Provide if the item is in a group drive.\").optional(),\n share_id: z.string().describe(\"The unique identifier of the shared item. Provide if the item is accessed via a share link.\").optional(),\n});\nexport const OneDrivePreviewDriveItemOutput = z.object({\n getUrl: z.string().describe(\"URL suitable for embedding using HTTP GET (iframes, etc.)\").nullable().optional(),\n postUrl: z.string().describe(\"URL suitable for embedding using HTTP POST (form post, JS, etc.)\").nullable().optional(),\n postParameters: z.string().describe(\"POST parameters to include if using postUrl\").nullable().optional(),\n}).passthrough();\n\nexport const oneDrivePreviewDriveItem = action(\"ONE_DRIVE_PREVIEW_DRIVE_ITEM\", {\n slug: \"one_drive-preview-drive-item\",\n name: \"Preview Drive Item\",\n description: \"Generates or retrieves a short-lived, permission-bound embeddable URL for a preview of a specific item. URLs expire and must be regenerated per session — do not cache. Use when you need to display a temporary preview of a file.\",\n input: OneDrivePreviewDriveItemInput,\n output: OneDrivePreviewDriveItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"preview-drive-item.mjs","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDrivePreviewDriveItemInput = z.object({\n page: z.union([z.string(), z.number().int()]).optional(),\n zoom: z.number().describe(\"Optional. Zoom level to start at, if applicable.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem.\"),\n site_id: z.string().describe(\"The unique identifier of the Site. Provide if the item is in a SharePoint site.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the User. Provide if the item is in another user's drive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive. If not provided, the request will be made to the current user's drive.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the Group. Provide if the item is in a group drive.\").optional(),\n share_id: z.string().describe(\"The unique identifier of the shared item. Provide if the item is accessed via a share link.\").optional(),\n});\nexport const OneDrivePreviewDriveItemOutput = z.object({\n getUrl: z.string().describe(\"URL suitable for embedding using HTTP GET (iframes, etc.)\").nullable().optional(),\n postUrl: z.string().describe(\"URL suitable for embedding using HTTP POST (form post, JS, etc.)\").nullable().optional(),\n postParameters: z.string().describe(\"POST parameters to include if using postUrl\").nullable().optional(),\n}).passthrough();\n\nexport const oneDrivePreviewDriveItem: AppAction<\n typeof OneDrivePreviewDriveItemInput,\n typeof OneDrivePreviewDriveItemOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_PREVIEW_DRIVE_ITEM\", {\n slug: \"one_drive-preview-drive-item\",\n name: \"Preview Drive Item\",\n description: \"Generates or retrieves a short-lived, permission-bound embeddable URL for a preview of a specific item. URLs expire and must be regenerated per session — do not cache. Use when you need to display a temporary preview of a file.\",\n input: OneDrivePreviewDriveItemInput,\n output: OneDrivePreviewDriveItemOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACxI,CAeS;CACP,QAf4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-workbook-range.cjs","names":["z","action"],"sources":["../../src/actions/read-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveReadWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation. Supports single cells (e.g., 'A1'), cell ranges (e.g., 'A1:B5'), entire columns (e.g., 'A:A'), or entire rows (e.g., '1:1'). The address is used as-is in the Graph API function call syntax.\"),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file). This is the DriveItem ID for the Excel file containing the worksheet you want to read from.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n select_fields: z.array(z.string()).describe(\"Optional list of specific fields to return in the response. If not specified, all default range properties are returned. Available fields include: address, addressLocal, cellCount, columnCount, columnHidden, columnIndex, hidden, rowCount, rowHidden, rowIndex, values, formulas, text, valueTypes, numberFormat.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet within the workbook. Can be a worksheet name like 'Sheet1' or a worksheet ID like '{00000000-0001-0000-0000-000000000000}'. Non-ASCII names are automatically URL-encoded.\"),\n});\nexport const OneDriveReadWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the text representations of cell values (how they appear in Excel UI).\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell values. Even single cells or rows are returned as 2D arrays.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in user locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in R1C1-style notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the number format strings for each cell.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in the user's locale notation.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveReadWorkbookRange = action(\"ONE_DRIVE_READ_WORKBOOK_RANGE\", {\n slug: \"one_drive-read-workbook-range\",\n name: \"Read Workbook Range\",\n description: \"Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').\",\n input: OneDriveReadWorkbookRangeInput,\n output: OneDriveReadWorkbookRangeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-workbook-range.cjs","names":["z","action"],"sources":["../../src/actions/read-workbook-range.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveReadWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation. Supports single cells (e.g., 'A1'), cell ranges (e.g., 'A1:B5'), entire columns (e.g., 'A:A'), or entire rows (e.g., '1:1'). The address is used as-is in the Graph API function call syntax.\"),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file). This is the DriveItem ID for the Excel file containing the worksheet you want to read from.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n select_fields: z.array(z.string()).describe(\"Optional list of specific fields to return in the response. If not specified, all default range properties are returned. Available fields include: address, addressLocal, cellCount, columnCount, columnHidden, columnIndex, hidden, rowCount, rowHidden, rowIndex, values, formulas, text, valueTypes, numberFormat.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet within the workbook. Can be a worksheet name like 'Sheet1' or a worksheet ID like '{00000000-0001-0000-0000-000000000000}'. Non-ASCII names are automatically URL-encoded.\"),\n});\nexport const OneDriveReadWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the text representations of cell values (how they appear in Excel UI).\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell values. Even single cells or rows are returned as 2D arrays.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in user locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in R1C1-style notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the number format strings for each cell.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in the user's locale notation.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveReadWorkbookRange: AppAction<\n typeof OneDriveReadWorkbookRangeInput,\n typeof OneDriveReadWorkbookRangeOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_READ_WORKBOOK_RANGE\", {\n slug: \"one_drive-read-workbook-range\",\n name: \"Read Workbook Range\",\n description: \"Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').\",\n input: OneDriveReadWorkbookRangeInput,\n output: OneDriveReadWorkbookRangeOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { oneDrive } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/read-workbook-range.d.ts
|
|
@@ -28,26 +30,7 @@ declare const OneDriveReadWorkbookRangeOutput: z.ZodObject<{
|
|
|
28
30
|
numberFormat: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
|
|
29
31
|
formulasLocal: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const oneDriveReadWorkbookRange:
|
|
32
|
-
address: string;
|
|
33
|
-
item_id: string;
|
|
34
|
-
drive_id: string;
|
|
35
|
-
worksheet_id_or_name: string;
|
|
36
|
-
session_id?: string | undefined;
|
|
37
|
-
select_fields?: string[] | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
accessToken: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
accessToken: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const oneDriveReadWorkbookRange: AppAction<typeof OneDriveReadWorkbookRangeInput, typeof OneDriveReadWorkbookRangeOutput, typeof oneDrive.credential>;
|
|
51
34
|
//#endregion
|
|
52
35
|
export { oneDriveReadWorkbookRange };
|
|
53
36
|
//# sourceMappingURL=read-workbook-range.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-workbook-range.d.cts","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-workbook-range.d.cts","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { oneDrive } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/read-workbook-range.d.ts
|
|
@@ -28,26 +30,7 @@ declare const OneDriveReadWorkbookRangeOutput: z.ZodObject<{
|
|
|
28
30
|
numberFormat: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
|
|
29
31
|
formulasLocal: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const oneDriveReadWorkbookRange:
|
|
32
|
-
address: string;
|
|
33
|
-
item_id: string;
|
|
34
|
-
drive_id: string;
|
|
35
|
-
worksheet_id_or_name: string;
|
|
36
|
-
session_id?: string | undefined;
|
|
37
|
-
select_fields?: string[] | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
accessToken: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
accessToken: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const oneDriveReadWorkbookRange: AppAction<typeof OneDriveReadWorkbookRangeInput, typeof OneDriveReadWorkbookRangeOutput, typeof oneDrive.credential>;
|
|
51
34
|
//#endregion
|
|
52
35
|
export { oneDriveReadWorkbookRange };
|
|
53
36
|
//# sourceMappingURL=read-workbook-range.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-workbook-range.d.mts","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-workbook-range.d.mts","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-workbook-range.mjs","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveReadWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation. Supports single cells (e.g., 'A1'), cell ranges (e.g., 'A1:B5'), entire columns (e.g., 'A:A'), or entire rows (e.g., '1:1'). The address is used as-is in the Graph API function call syntax.\"),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file). This is the DriveItem ID for the Excel file containing the worksheet you want to read from.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n select_fields: z.array(z.string()).describe(\"Optional list of specific fields to return in the response. If not specified, all default range properties are returned. Available fields include: address, addressLocal, cellCount, columnCount, columnHidden, columnIndex, hidden, rowCount, rowHidden, rowIndex, values, formulas, text, valueTypes, numberFormat.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet within the workbook. Can be a worksheet name like 'Sheet1' or a worksheet ID like '{00000000-0001-0000-0000-000000000000}'. Non-ASCII names are automatically URL-encoded.\"),\n});\nexport const OneDriveReadWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the text representations of cell values (how they appear in Excel UI).\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell values. Even single cells or rows are returned as 2D arrays.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in user locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in R1C1-style notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the number format strings for each cell.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in the user's locale notation.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveReadWorkbookRange = action(\"ONE_DRIVE_READ_WORKBOOK_RANGE\", {\n slug: \"one_drive-read-workbook-range\",\n name: \"Read Workbook Range\",\n description: \"Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').\",\n input: OneDriveReadWorkbookRangeInput,\n output: OneDriveReadWorkbookRangeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-workbook-range.mjs","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveReadWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation. Supports single cells (e.g., 'A1'), cell ranges (e.g., 'A1:B5'), entire columns (e.g., 'A:A'), or entire rows (e.g., '1:1'). The address is used as-is in the Graph API function call syntax.\"),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file). This is the DriveItem ID for the Excel file containing the worksheet you want to read from.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n select_fields: z.array(z.string()).describe(\"Optional list of specific fields to return in the response. If not specified, all default range properties are returned. Available fields include: address, addressLocal, cellCount, columnCount, columnHidden, columnIndex, hidden, rowCount, rowHidden, rowIndex, values, formulas, text, valueTypes, numberFormat.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet within the workbook. Can be a worksheet name like 'Sheet1' or a worksheet ID like '{00000000-0001-0000-0000-000000000000}'. Non-ASCII names are automatically URL-encoded.\"),\n});\nexport const OneDriveReadWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the text representations of cell values (how they appear in Excel UI).\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell values. Even single cells or rows are returned as 2D arrays.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in user locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in R1C1-style notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the number format strings for each cell.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in the user's locale notation.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveReadWorkbookRange: AppAction<\n typeof OneDriveReadWorkbookRangeInput,\n typeof OneDriveReadWorkbookRangeOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_READ_WORKBOOK_RANGE\", {\n slug: \"one_drive-read-workbook-range\",\n name: \"Read Workbook Range\",\n description: \"Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').\",\n input: OneDriveReadWorkbookRangeInput,\n output: OneDriveReadWorkbookRangeOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore-drive-item.cjs","names":["z","action"],"sources":["../../src/actions/restore-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreDriveItemInput = z.object({\n name: z.string().describe(\"(Optional) The new name for the restored item. If not provided, the item will be restored with its original name. This is useful if you want to rename the item during the restore process or if an item with the same name already exists in the destination.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the deleted DriveItem (file or folder) to restore. This item must currently be in the OneDrive recycle bin. The ID can be obtained from deleted items listing or from the item before deletion.\"),\n drive_id: z.string().describe(\"The unique identifier of the Drive containing the deleted item. Required when using application authentication. If not provided with delegated authentication, uses the authenticated user's default drive.\").optional(),\n parent_reference_id: z.string().describe(\"(Optional) The unique identifier of the parent folder where the item should be restored. If not provided, the item will be restored to its original parent location. This is useful when you want to restore the item to a different folder than where it was originally located.\").optional(),\n});\nexport const OneDriveRestoreDriveItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the restored item.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata.\").nullable().optional(),\n name: z.string().describe(\"The name of the restored item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the restored item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata (e.g., childCount).\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the restored item in a browser.\").nullable().optional(),\n deleted: z.record(z.string(), z.unknown()).describe(\"Information about the deleted state (should be null after restore).\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was originally created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent folder containing the restored item.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveRestoreDriveItem = action(\"ONE_DRIVE_RESTORE_DRIVE_ITEM\", {\n slug: \"one_drive-restore-drive-item\",\n name: \"Restore Deleted Item\",\n description: \"Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the SharePoint REST API endpoints (/_api/web/recyclebin) instead.\",\n input: OneDriveRestoreDriveItemInput,\n output: OneDriveRestoreDriveItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"restore-drive-item.cjs","names":["z","action"],"sources":["../../src/actions/restore-drive-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveRestoreDriveItemInput = z.object({\n name: z.string().describe(\"(Optional) The new name for the restored item. If not provided, the item will be restored with its original name. This is useful if you want to rename the item during the restore process or if an item with the same name already exists in the destination.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the deleted DriveItem (file or folder) to restore. This item must currently be in the OneDrive recycle bin. The ID can be obtained from deleted items listing or from the item before deletion.\"),\n drive_id: z.string().describe(\"The unique identifier of the Drive containing the deleted item. Required when using application authentication. If not provided with delegated authentication, uses the authenticated user's default drive.\").optional(),\n parent_reference_id: z.string().describe(\"(Optional) The unique identifier of the parent folder where the item should be restored. If not provided, the item will be restored to its original parent location. This is useful when you want to restore the item to a different folder than where it was originally located.\").optional(),\n});\nexport const OneDriveRestoreDriveItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the restored item.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata.\").nullable().optional(),\n name: z.string().describe(\"The name of the restored item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the restored item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata (e.g., childCount).\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the restored item in a browser.\").nullable().optional(),\n deleted: z.record(z.string(), z.unknown()).describe(\"Information about the deleted state (should be null after restore).\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was originally created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent folder containing the restored item.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveRestoreDriveItem: AppAction<\n typeof OneDriveRestoreDriveItemInput,\n typeof OneDriveRestoreDriveItemOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_RESTORE_DRIVE_ITEM\", {\n slug: \"one_drive-restore-drive-item\",\n name: \"Restore Deleted Item\",\n description: \"Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the SharePoint REST API endpoints (/_api/web/recyclebin) instead.\",\n input: OneDriveRestoreDriveItemInput,\n output: OneDriveRestoreDriveItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gQAAgQ,CAAC,CAAC,SAAS;CACrS,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0NAA0N;CACvP,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M,CAAC,CAAC,SAAS;CACtP,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;AACzU,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { oneDrive } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/restore-drive-item.d.ts
|
|
@@ -19,24 +21,7 @@ declare const OneDriveRestoreDriveItemOutput: z.ZodObject<{
|
|
|
19
21
|
parentReference: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
22
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const oneDriveRestoreDriveItem:
|
|
23
|
-
item_id: string;
|
|
24
|
-
name?: string | undefined;
|
|
25
|
-
drive_id?: string | undefined;
|
|
26
|
-
parent_reference_id?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
accessToken: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
accessToken: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const oneDriveRestoreDriveItem: AppAction<typeof OneDriveRestoreDriveItemInput, typeof OneDriveRestoreDriveItemOutput, typeof oneDrive.credential>;
|
|
40
25
|
//#endregion
|
|
41
26
|
export { oneDriveRestoreDriveItem };
|
|
42
27
|
//# sourceMappingURL=restore-drive-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore-drive-item.d.cts","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"restore-drive-item.d.cts","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { oneDrive } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/restore-drive-item.d.ts
|
|
@@ -19,24 +21,7 @@ declare const OneDriveRestoreDriveItemOutput: z.ZodObject<{
|
|
|
19
21
|
parentReference: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
22
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const oneDriveRestoreDriveItem:
|
|
23
|
-
item_id: string;
|
|
24
|
-
name?: string | undefined;
|
|
25
|
-
drive_id?: string | undefined;
|
|
26
|
-
parent_reference_id?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
accessToken: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
accessToken: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const oneDriveRestoreDriveItem: AppAction<typeof OneDriveRestoreDriveItemInput, typeof OneDriveRestoreDriveItemOutput, typeof oneDrive.credential>;
|
|
40
25
|
//#endregion
|
|
41
26
|
export { oneDriveRestoreDriveItem };
|
|
42
27
|
//# sourceMappingURL=restore-drive-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore-drive-item.d.mts","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"restore-drive-item.d.mts","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore-drive-item.mjs","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreDriveItemInput = z.object({\n name: z.string().describe(\"(Optional) The new name for the restored item. If not provided, the item will be restored with its original name. This is useful if you want to rename the item during the restore process or if an item with the same name already exists in the destination.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the deleted DriveItem (file or folder) to restore. This item must currently be in the OneDrive recycle bin. The ID can be obtained from deleted items listing or from the item before deletion.\"),\n drive_id: z.string().describe(\"The unique identifier of the Drive containing the deleted item. Required when using application authentication. If not provided with delegated authentication, uses the authenticated user's default drive.\").optional(),\n parent_reference_id: z.string().describe(\"(Optional) The unique identifier of the parent folder where the item should be restored. If not provided, the item will be restored to its original parent location. This is useful when you want to restore the item to a different folder than where it was originally located.\").optional(),\n});\nexport const OneDriveRestoreDriveItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the restored item.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata.\").nullable().optional(),\n name: z.string().describe(\"The name of the restored item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the restored item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata (e.g., childCount).\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the restored item in a browser.\").nullable().optional(),\n deleted: z.record(z.string(), z.unknown()).describe(\"Information about the deleted state (should be null after restore).\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was originally created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent folder containing the restored item.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveRestoreDriveItem = action(\"ONE_DRIVE_RESTORE_DRIVE_ITEM\", {\n slug: \"one_drive-restore-drive-item\",\n name: \"Restore Deleted Item\",\n description: \"Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the SharePoint REST API endpoints (/_api/web/recyclebin) instead.\",\n input: OneDriveRestoreDriveItemInput,\n output: OneDriveRestoreDriveItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"restore-drive-item.mjs","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveRestoreDriveItemInput = z.object({\n name: z.string().describe(\"(Optional) The new name for the restored item. If not provided, the item will be restored with its original name. This is useful if you want to rename the item during the restore process or if an item with the same name already exists in the destination.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the deleted DriveItem (file or folder) to restore. This item must currently be in the OneDrive recycle bin. The ID can be obtained from deleted items listing or from the item before deletion.\"),\n drive_id: z.string().describe(\"The unique identifier of the Drive containing the deleted item. Required when using application authentication. If not provided with delegated authentication, uses the authenticated user's default drive.\").optional(),\n parent_reference_id: z.string().describe(\"(Optional) The unique identifier of the parent folder where the item should be restored. If not provided, the item will be restored to its original parent location. This is useful when you want to restore the item to a different folder than where it was originally located.\").optional(),\n});\nexport const OneDriveRestoreDriveItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the restored item.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata.\").nullable().optional(),\n name: z.string().describe(\"The name of the restored item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the restored item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata (e.g., childCount).\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the restored item in a browser.\").nullable().optional(),\n deleted: z.record(z.string(), z.unknown()).describe(\"Information about the deleted state (should be null after restore).\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was originally created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent folder containing the restored item.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveRestoreDriveItem: AppAction<\n typeof OneDriveRestoreDriveItemInput,\n typeof OneDriveRestoreDriveItemOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_RESTORE_DRIVE_ITEM\", {\n slug: \"one_drive-restore-drive-item\",\n name: \"Restore Deleted Item\",\n description: \"Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the SharePoint REST API endpoints (/_api/web/recyclebin) instead.\",\n input: OneDriveRestoreDriveItemInput,\n output: OneDriveRestoreDriveItemOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gQAAgQ,CAAC,CAAC,SAAS;EACrS,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0NAA0N;EACvP,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M,CAAC,CAAC,SAAS;EACtP,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;CACzU,CAsBS;CACP,QAtB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore-item-version.cjs","names":["z","action"],"sources":["../../src/actions/restore-item-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) whose version you want to restore.\"),\n user_id: z.string().describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user) if not provided. Required for S2S (app-only) auth to specify target user.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.\").optional(),\n version_id: z.string().describe(\"The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.\"),\n});\nexport const OneDriveRestoreItemVersionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the version restore operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveRestoreItemVersion = action(\"ONE_DRIVE_RESTORE_ITEM_VERSION\", {\n slug: \"one_drive-restore-item-version\",\n name: \"Restore Item Version\",\n description: \"Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.\",\n input: OneDriveRestoreItemVersionInput,\n output: OneDriveRestoreItemVersionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"restore-item-version.cjs","names":["z","action"],"sources":["../../src/actions/restore-item-version.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveRestoreItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) whose version you want to restore.\"),\n user_id: z.string().describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user) if not provided. Required for S2S (app-only) auth to specify target user.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.\").optional(),\n version_id: z.string().describe(\"The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.\"),\n});\nexport const OneDriveRestoreItemVersionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the version restore operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveRestoreItemVersion: AppAction<\n typeof OneDriveRestoreItemVersionInput,\n typeof OneDriveRestoreItemVersionOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_RESTORE_ITEM_VERSION\", {\n slug: \"one_drive-restore-item-version\",\n name: \"Restore Item Version\",\n description: \"Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.\",\n input: OneDriveRestoreItemVersionInput,\n output: OneDriveRestoreItemVersionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACxL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;CACtU,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;AACnK,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { oneDrive } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/restore-item-version.d.ts
|
|
@@ -10,24 +12,7 @@ declare const OneDriveRestoreItemVersionInput: z.ZodObject<{
|
|
|
10
12
|
declare const OneDriveRestoreItemVersionOutput: z.ZodObject<{
|
|
11
13
|
message: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const oneDriveRestoreItemVersion:
|
|
14
|
-
item_id: string;
|
|
15
|
-
version_id: string;
|
|
16
|
-
user_id?: string | undefined;
|
|
17
|
-
drive_id?: string | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
accessToken: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
accessToken: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const oneDriveRestoreItemVersion: AppAction<typeof OneDriveRestoreItemVersionInput, typeof OneDriveRestoreItemVersionOutput, typeof oneDrive.credential>;
|
|
31
16
|
//#endregion
|
|
32
17
|
export { oneDriveRestoreItemVersion };
|
|
33
18
|
//# sourceMappingURL=restore-item-version.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore-item-version.d.cts","names":[],"sources":["../../src/actions/restore-item-version.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"restore-item-version.d.cts","names":[],"sources":["../../src/actions/restore-item-version.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { oneDrive } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/restore-item-version.d.ts
|
|
@@ -10,24 +12,7 @@ declare const OneDriveRestoreItemVersionInput: z.ZodObject<{
|
|
|
10
12
|
declare const OneDriveRestoreItemVersionOutput: z.ZodObject<{
|
|
11
13
|
message: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const oneDriveRestoreItemVersion:
|
|
14
|
-
item_id: string;
|
|
15
|
-
version_id: string;
|
|
16
|
-
user_id?: string | undefined;
|
|
17
|
-
drive_id?: string | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
accessToken: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
accessToken: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const oneDriveRestoreItemVersion: AppAction<typeof OneDriveRestoreItemVersionInput, typeof OneDriveRestoreItemVersionOutput, typeof oneDrive.credential>;
|
|
31
16
|
//#endregion
|
|
32
17
|
export { oneDriveRestoreItemVersion };
|
|
33
18
|
//# sourceMappingURL=restore-item-version.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore-item-version.d.mts","names":[],"sources":["../../src/actions/restore-item-version.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"restore-item-version.d.mts","names":[],"sources":["../../src/actions/restore-item-version.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore-item-version.mjs","names":[],"sources":["../../src/actions/restore-item-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) whose version you want to restore.\"),\n user_id: z.string().describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user) if not provided. Required for S2S (app-only) auth to specify target user.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.\").optional(),\n version_id: z.string().describe(\"The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.\"),\n});\nexport const OneDriveRestoreItemVersionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the version restore operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveRestoreItemVersion = action(\"ONE_DRIVE_RESTORE_ITEM_VERSION\", {\n slug: \"one_drive-restore-item-version\",\n name: \"Restore Item Version\",\n description: \"Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.\",\n input: OneDriveRestoreItemVersionInput,\n output: OneDriveRestoreItemVersionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"restore-item-version.mjs","names":[],"sources":["../../src/actions/restore-item-version.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveRestoreItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) whose version you want to restore.\"),\n user_id: z.string().describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user) if not provided. Required for S2S (app-only) auth to specify target user.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.\").optional(),\n version_id: z.string().describe(\"The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.\"),\n});\nexport const OneDriveRestoreItemVersionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the version restore operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveRestoreItemVersion: AppAction<\n typeof OneDriveRestoreItemVersionInput,\n typeof OneDriveRestoreItemVersionOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_RESTORE_ITEM_VERSION\", {\n slug: \"one_drive-restore-item-version\",\n name: \"Restore Item Version\",\n description: \"Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.\",\n input: OneDriveRestoreItemVersionInput,\n output: OneDriveRestoreItemVersionOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;EACxL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;EACtU,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CACnK,CAaS;CACP,QAb8C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-drive-items.cjs","names":["z","action"],"sources":["../../src/actions/search-drive-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveSearchDriveItemsInput = z.object({\n from: z.number().int().default(0).describe(\"Zero-based result offset for paging.\").optional(),\n size: z.number().int().default(25).describe(\"Number of search results to return.\").optional(),\n query: z.string().describe(\"Microsoft Search query for OneDrive and SharePoint driveItem results. KQL is supported. Use '*' to match all accessible drive items.\"),\n fields: z.array(z.string()).describe(\"Optional driveItem fields to return on each hit resource.\").optional(),\n});\nconst OneDriveSearchDriveItems_SearchDriveItemUserSchema = z.object({\n displayName: z.string().nullable().optional(),\n}).passthrough();\nconst OneDriveSearchDriveItems_SearchDriveItemCreatedBySchema = z.object({\n user: OneDriveSearchDriveItems_SearchDriveItemUserSchema.nullable().optional(),\n}).passthrough();\nconst OneDriveSearchDriveItems_SearchDriveItemParentReferenceSchema = z.object({\n siteId: z.string().nullable().optional(),\n driveId: z.string().nullable().optional(),\n}).passthrough();\nconst OneDriveSearchDriveItems_SearchDriveItemResourceSchema = z.object({\n name: z.string().nullable().optional(),\n size: z.number().int().nullable().optional(),\n webUrl: z.string().nullable().optional(),\n createdBy: OneDriveSearchDriveItems_SearchDriveItemCreatedBySchema.nullable().optional(),\n fileSystemInfo: z.record(z.string(), z.unknown()).nullable().optional(),\n parentReference: OneDriveSearchDriveItems_SearchDriveItemParentReferenceSchema.nullable().optional(),\n}).passthrough();\nconst OneDriveSearchDriveItems_SearchDriveItemHitSchema = z.object({\n rank: z.number().int().nullable().optional(),\n hitId: z.string().nullable().optional(),\n summary: z.string().nullable().optional(),\n resource: OneDriveSearchDriveItems_SearchDriveItemResourceSchema.nullable().optional(),\n}).passthrough();\nexport const OneDriveSearchDriveItemsOutput = z.object({\n hits: z.array(OneDriveSearchDriveItems_SearchDriveItemHitSchema).describe(\"Flattened Microsoft Graph Search driveItem hits.\").nullable().optional(),\n total: z.number().int().default(0).describe(\"Total number of matches reported across returned hit containers.\").nullable().optional(),\n more_results_available: z.boolean().default(false).describe(\"Whether Microsoft Graph reported more results for any hit container.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveSearchDriveItems = action(\"ONE_DRIVE_SEARCH_DRIVE_ITEMS\", {\n slug: \"one_drive-search-drive-items\",\n name: \"Search Drive Items\",\n description: \"Search OneDrive and accessible SharePoint files with Microsoft Graph Search. This does not produce a complete shared-with-me list; use deprecated ONE_DRIVE_GET_SHARED_ITEMS only when full shared-with-me enumeration is required before Microsoft removes that API in November 2026. Requires OneDrive permissions plus Sites.Read.All because SharePoint-backed files can appear in results.\",\n input: OneDriveSearchDriveItemsInput,\n output: OneDriveSearchDriveItemsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-drive-items.cjs","names":["z","action"],"sources":["../../src/actions/search-drive-items.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveSearchDriveItemsInput = z.object({\n from: z.number().int().default(0).describe(\"Zero-based result offset for paging.\").optional(),\n size: z.number().int().default(25).describe(\"Number of search results to return.\").optional(),\n query: z.string().describe(\"Microsoft Search query for OneDrive and SharePoint driveItem results. KQL is supported. Use '*' to match all accessible drive items.\"),\n fields: z.array(z.string()).describe(\"Optional driveItem fields to return on each hit resource.\").optional(),\n});\nconst OneDriveSearchDriveItems_SearchDriveItemUserSchema = z.object({\n displayName: z.string().nullable().optional(),\n}).passthrough();\nconst OneDriveSearchDriveItems_SearchDriveItemCreatedBySchema = z.object({\n user: OneDriveSearchDriveItems_SearchDriveItemUserSchema.nullable().optional(),\n}).passthrough();\nconst OneDriveSearchDriveItems_SearchDriveItemParentReferenceSchema = z.object({\n siteId: z.string().nullable().optional(),\n driveId: z.string().nullable().optional(),\n}).passthrough();\nconst OneDriveSearchDriveItems_SearchDriveItemResourceSchema = z.object({\n name: z.string().nullable().optional(),\n size: z.number().int().nullable().optional(),\n webUrl: z.string().nullable().optional(),\n createdBy: OneDriveSearchDriveItems_SearchDriveItemCreatedBySchema.nullable().optional(),\n fileSystemInfo: z.record(z.string(), z.unknown()).nullable().optional(),\n parentReference: OneDriveSearchDriveItems_SearchDriveItemParentReferenceSchema.nullable().optional(),\n}).passthrough();\nconst OneDriveSearchDriveItems_SearchDriveItemHitSchema = z.object({\n rank: z.number().int().nullable().optional(),\n hitId: z.string().nullable().optional(),\n summary: z.string().nullable().optional(),\n resource: OneDriveSearchDriveItems_SearchDriveItemResourceSchema.nullable().optional(),\n}).passthrough();\nexport const OneDriveSearchDriveItemsOutput = z.object({\n hits: z.array(OneDriveSearchDriveItems_SearchDriveItemHitSchema).describe(\"Flattened Microsoft Graph Search driveItem hits.\").nullable().optional(),\n total: z.number().int().default(0).describe(\"Total number of matches reported across returned hit containers.\").nullable().optional(),\n more_results_available: z.boolean().default(false).describe(\"Whether Microsoft Graph reported more results for any hit container.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveSearchDriveItems: AppAction<\n typeof OneDriveSearchDriveItemsInput,\n typeof OneDriveSearchDriveItemsOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_SEARCH_DRIVE_ITEMS\", {\n slug: \"one_drive-search-drive-items\",\n name: \"Search Drive Items\",\n description: \"Search OneDrive and accessible SharePoint files with Microsoft Graph Search. This does not produce a complete shared-with-me list; use deprecated ONE_DRIVE_GET_SHARED_ITEMS only when full shared-with-me enumeration is required before Microsoft removes that API in November 2026. Requires OneDrive permissions plus Sites.Read.All because SharePoint-backed files can appear in results.\",\n input: OneDriveSearchDriveItemsInput,\n output: OneDriveSearchDriveItemsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;CACjK,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC7G,CAAC;AACD,MAAM,qDAAqDA,IAAAA,EAAE,OAAO,EAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9C,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,0DAA0DA,IAAAA,EAAE,OAAO,EACvE,MAAM,mDAAmD,SAAS,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gEAAgEA,IAAAA,EAAE,OAAO;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1C,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvC,WAAW,wDAAwD,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,iBAAiB,8DAA8D,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxC,UAAU,uDAAuD,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|