@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,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/get-item.d.ts
|
|
@@ -132,24 +134,7 @@ declare const OneDriveGetItemOutput: z.ZodObject<{
|
|
|
132
134
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
135
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
134
136
|
}, z.core.$loose>;
|
|
135
|
-
declare const oneDriveGetItem:
|
|
136
|
-
item_id: string;
|
|
137
|
-
drive_id?: string | undefined;
|
|
138
|
-
select_fields?: string[] | undefined;
|
|
139
|
-
expand_relations?: ("children" | "activities" | "analytics" | "createdByUser" | "lastModifiedByUser" | "listItem" | "permissions" | "retentionLabel" | "subscriptions" | "thumbnails" | "versions" | "workbook")[] | undefined;
|
|
140
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
141
|
-
connectionId: z.ZodString;
|
|
142
|
-
entityId: z.ZodString;
|
|
143
|
-
instanceId: z.ZodString;
|
|
144
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
145
|
-
accessToken: z.ZodString;
|
|
146
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
147
|
-
connectionId: z.ZodString;
|
|
148
|
-
entityId: z.ZodString;
|
|
149
|
-
instanceId: z.ZodString;
|
|
150
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
151
|
-
accessToken: z.ZodString;
|
|
152
|
-
}, z.core.$strip>>]>;
|
|
137
|
+
declare const oneDriveGetItem: AppAction<typeof OneDriveGetItemInput, typeof OneDriveGetItemOutput, typeof oneDrive.credential>;
|
|
153
138
|
//#endregion
|
|
154
139
|
export { oneDriveGetItem };
|
|
155
140
|
//# sourceMappingURL=get-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-item.d.mts","names":[],"sources":["../../src/actions/get-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-item.d.mts","names":[],"sources":["../../src/actions/get-item.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cA2CpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-item.mjs","names":[],"sources":["../../src/actions/get-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetItemInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file or folder). DriveItem IDs vary by platform: OneDrive for Business/SharePoint uses '01...' prefix format (e.g., '01NKDM7HMOJTVYMDOSXFDK2QJDXCDI3WUK'), while OneDrive Personal uses 'HASH!NUMBER' format (e.g., 'D4648F06C91D9D3D!54927'). IDs are case-sensitive and must be used exactly as returned from Microsoft Graph API. Obtain IDs from ONE_DRIVE_LIST_FOLDER_CHILDREN, ONE_DRIVE_SEARCH_ITEMS, or similar operations. Do NOT use: web URLs, sharing links, SharePoint listItem IDs, or manually constructed identifiers. IDs become stale after move, rename, or delete; refresh via ONE_DRIVE_SEARCH_ITEMS or ONE_DRIVE_LIST_FOLDER_CHILDREN instead of retrying a stale ID.\"),\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 select_fields: z.array(z.string()).describe(\"A list of DriveItem properties to return. If not specified, a default set of properties is returned. Refer to the DriveItem resource documentation for available fields.\").optional(),\n expand_relations: z.array(z.enum([\"activities\", \"analytics\", \"children\", \"createdByUser\", \"lastModifiedByUser\", \"listItem\", \"permissions\", \"retentionLabel\", \"subscriptions\", \"thumbnails\", \"versions\", \"workbook\"]).describe(\"Valid navigation properties that can be expanded for a driveItem.\")).describe(\"Navigation properties to expand in the response. Valid values: 'children' (folder contents), 'thumbnails' (image previews), 'versions' (version history), 'permissions' (sharing permissions), 'listItem' (SharePoint list item data), 'activities' (recent activities), 'analytics' (usage analytics), 'createdByUser' (creator user details), 'lastModifiedByUser' (last modifier user details), 'retentionLabel' (retention policy), 'subscriptions' (webhooks), 'workbook' (Excel workbook data). Note: 'content' is NOT expandable - use ONE_DRIVE_DOWNLOAD_FILE to retrieve file content; 'listItem' requires SharePoint drives; some properties have regional/license restrictions. When expanding 'children': the array may be empty or absent; check for its presence and branch on 'file' vs 'folder' facets before processing. Expansion is non-recursive — call this tool separately for each child folder to traverse nested trees.\").optional(),\n});\nconst OneDriveGetItem_HashesSchema = z.object({\n sha1Hash: z.string().nullable().optional(),\n crc32Hash: z.string().nullable().optional(),\n sha256Hash: z.string().nullable().optional(),\n quickXorHash: z.string().nullable().optional(),\n}).passthrough().describe(\"Hash values for file content verification.\");\nconst OneDriveGetItem_FileFacetSchema = z.object({\n hashes: OneDriveGetItem_HashesSchema.nullable().optional(),\n mimeType: z.string().nullable().optional(),\n}).passthrough().describe(\"File-specific metadata for a driveItem.\");\nconst OneDriveGetItem_FolderFacetSchema = z.object({\n childCount: z.number().int().nullable().optional(),\n}).passthrough().describe(\"Folder-specific metadata for a driveItem.\");\nconst OneDriveGetItem_IdentitySchema = z.object({\n id: z.string().nullable().optional(),\n tenantId: z.string().nullable().optional(),\n displayName: z.string().nullable().optional(),\n}).passthrough().describe(\"Represents an identity of an actor (user, device, or application).\");\nconst OneDriveGetItem_IdentitySetSchema = z.object({\n user: OneDriveGetItem_IdentitySchema.nullable().optional(),\n device: OneDriveGetItem_IdentitySchema.nullable().optional(),\n application: OneDriveGetItem_IdentitySchema.nullable().optional(),\n}).passthrough().describe(\"A keyed collection of identity resources associated with an event.\");\nconst OneDriveGetItem_DriveItemChildSchema = z.object({\n id: z.string().nullable().optional(),\n cTag: z.string().nullable().optional(),\n eTag: z.string().nullable().optional(),\n file: OneDriveGetItem_FileFacetSchema.nullable().optional(),\n name: z.string().nullable().optional(),\n size: z.number().int().nullable().optional(),\n folder: OneDriveGetItem_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().nullable().optional(),\n createdBy: OneDriveGetItem_IdentitySetSchema.nullable().optional(),\n lastModifiedBy: OneDriveGetItem_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().nullable().optional(),\n lastModifiedDateTime: z.string().nullable().optional(),\n}).passthrough().describe(\"Represents a child driveItem when the children relation is expanded.\");\nexport const OneDriveGetItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the item.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag.\").nullable().optional(),\n file: OneDriveGetItem_FileFacetSchema.nullable().optional(),\n name: z.string().describe(\"The name of the item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the item in bytes.\").nullable().optional(),\n folder: OneDriveGetItem_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL to view the item in a browser.\").nullable().optional(),\n children: z.array(OneDriveGetItem_DriveItemChildSchema).describe(\"Child items when the children relation is expanded.\").nullable().optional(),\n createdBy: OneDriveGetItem_IdentitySetSchema.nullable().optional(),\n lastModifiedBy: OneDriveGetItem_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was created.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetItem = action(\"ONE_DRIVE_GET_ITEM\", {\n slug: \"one_drive-get-item\",\n name: \"Get Item Metadata\",\n description: \"Retrieves the metadata of a DriveItem by its unique ID. Use this tool to get information about a specific file or folder in OneDrive when you have its ID. If a `drive_id` is not provided, it defaults to the user's main drive.\",\n input: OneDriveGetItemInput,\n output: OneDriveGetItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-item.mjs","names":[],"sources":["../../src/actions/get-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 OneDriveGetItemInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file or folder). DriveItem IDs vary by platform: OneDrive for Business/SharePoint uses '01...' prefix format (e.g., '01NKDM7HMOJTVYMDOSXFDK2QJDXCDI3WUK'), while OneDrive Personal uses 'HASH!NUMBER' format (e.g., 'D4648F06C91D9D3D!54927'). IDs are case-sensitive and must be used exactly as returned from Microsoft Graph API. Obtain IDs from ONE_DRIVE_LIST_FOLDER_CHILDREN, ONE_DRIVE_SEARCH_ITEMS, or similar operations. Do NOT use: web URLs, sharing links, SharePoint listItem IDs, or manually constructed identifiers. IDs become stale after move, rename, or delete; refresh via ONE_DRIVE_SEARCH_ITEMS or ONE_DRIVE_LIST_FOLDER_CHILDREN instead of retrying a stale ID.\"),\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 select_fields: z.array(z.string()).describe(\"A list of DriveItem properties to return. If not specified, a default set of properties is returned. Refer to the DriveItem resource documentation for available fields.\").optional(),\n expand_relations: z.array(z.enum([\"activities\", \"analytics\", \"children\", \"createdByUser\", \"lastModifiedByUser\", \"listItem\", \"permissions\", \"retentionLabel\", \"subscriptions\", \"thumbnails\", \"versions\", \"workbook\"]).describe(\"Valid navigation properties that can be expanded for a driveItem.\")).describe(\"Navigation properties to expand in the response. Valid values: 'children' (folder contents), 'thumbnails' (image previews), 'versions' (version history), 'permissions' (sharing permissions), 'listItem' (SharePoint list item data), 'activities' (recent activities), 'analytics' (usage analytics), 'createdByUser' (creator user details), 'lastModifiedByUser' (last modifier user details), 'retentionLabel' (retention policy), 'subscriptions' (webhooks), 'workbook' (Excel workbook data). Note: 'content' is NOT expandable - use ONE_DRIVE_DOWNLOAD_FILE to retrieve file content; 'listItem' requires SharePoint drives; some properties have regional/license restrictions. When expanding 'children': the array may be empty or absent; check for its presence and branch on 'file' vs 'folder' facets before processing. Expansion is non-recursive — call this tool separately for each child folder to traverse nested trees.\").optional(),\n});\nconst OneDriveGetItem_HashesSchema = z.object({\n sha1Hash: z.string().nullable().optional(),\n crc32Hash: z.string().nullable().optional(),\n sha256Hash: z.string().nullable().optional(),\n quickXorHash: z.string().nullable().optional(),\n}).passthrough().describe(\"Hash values for file content verification.\");\nconst OneDriveGetItem_FileFacetSchema = z.object({\n hashes: OneDriveGetItem_HashesSchema.nullable().optional(),\n mimeType: z.string().nullable().optional(),\n}).passthrough().describe(\"File-specific metadata for a driveItem.\");\nconst OneDriveGetItem_FolderFacetSchema = z.object({\n childCount: z.number().int().nullable().optional(),\n}).passthrough().describe(\"Folder-specific metadata for a driveItem.\");\nconst OneDriveGetItem_IdentitySchema = z.object({\n id: z.string().nullable().optional(),\n tenantId: z.string().nullable().optional(),\n displayName: z.string().nullable().optional(),\n}).passthrough().describe(\"Represents an identity of an actor (user, device, or application).\");\nconst OneDriveGetItem_IdentitySetSchema = z.object({\n user: OneDriveGetItem_IdentitySchema.nullable().optional(),\n device: OneDriveGetItem_IdentitySchema.nullable().optional(),\n application: OneDriveGetItem_IdentitySchema.nullable().optional(),\n}).passthrough().describe(\"A keyed collection of identity resources associated with an event.\");\nconst OneDriveGetItem_DriveItemChildSchema = z.object({\n id: z.string().nullable().optional(),\n cTag: z.string().nullable().optional(),\n eTag: z.string().nullable().optional(),\n file: OneDriveGetItem_FileFacetSchema.nullable().optional(),\n name: z.string().nullable().optional(),\n size: z.number().int().nullable().optional(),\n folder: OneDriveGetItem_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().nullable().optional(),\n createdBy: OneDriveGetItem_IdentitySetSchema.nullable().optional(),\n lastModifiedBy: OneDriveGetItem_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().nullable().optional(),\n lastModifiedDateTime: z.string().nullable().optional(),\n}).passthrough().describe(\"Represents a child driveItem when the children relation is expanded.\");\nexport const OneDriveGetItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the item.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag.\").nullable().optional(),\n file: OneDriveGetItem_FileFacetSchema.nullable().optional(),\n name: z.string().describe(\"The name of the item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the item in bytes.\").nullable().optional(),\n folder: OneDriveGetItem_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL to view the item in a browser.\").nullable().optional(),\n children: z.array(OneDriveGetItem_DriveItemChildSchema).describe(\"Child items when the children relation is expanded.\").nullable().optional(),\n createdBy: OneDriveGetItem_IdentitySetSchema.nullable().optional(),\n lastModifiedBy: OneDriveGetItem_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was created.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetItem: AppAction<\n typeof OneDriveGetItemInput,\n typeof OneDriveGetItemOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_GET_ITEM\", {\n slug: \"one_drive-get-item\",\n name: \"Get Item Metadata\",\n description: \"Retrieves the metadata of a DriveItem by its unique ID. Use this tool to get information about a specific file or folder in OneDrive when you have its ID. If a `drive_id` is not provided, it defaults to the user's main drive.\",\n input: OneDriveGetItemInput,\n output: OneDriveGetItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,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,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7D,MAAM,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,kCAAkC,SAAS,CAAC,CAAC,SAAS;EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,UAAU,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,WAAW,kCAAkC,SAAS,CAAC,CAAC,SAAS;EACjE,gBAAgB,kCAAkC,SAAS,CAAC,CAAC,SAAS;EACtE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,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":"get-root.cjs","names":["z","action"],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetRootInput = z.object({\n user_id: z.string().default(\"me\").describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.\").optional(),\n select_fields: z.array(z.string()).describe(\"A list of properties to include in the response. Use this to retrieve specific fields and reduce the response size. Common fields include: id, name, size, createdDateTime, lastModifiedDateTime, webUrl, folder, root. If not provided, all default properties are returned.\").optional(),\n});\nconst OneDriveGetRoot_RootFacetSchema = z.record(z.string(), z.unknown()).describe(\"Indicates that an item is the root folder in a drive. The presence (non-null) of this facet indicates that the object is the root.\");\nconst OneDriveGetRoot_FolderFacetSchema = z.object({\n childCount: z.number().int().describe(\"Number of children contained immediately within this folder.\").nullable().optional(),\n}).passthrough();\nconst OneDriveGetRoot_IdentitySchema = z.object({\n id: z.string().describe(\"The unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).passthrough();\nconst OneDriveGetRoot_IdentitySetSchema = z.object({\n user: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n device: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n application: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n}).passthrough();\nconst OneDriveGetRoot_SharepointIdsSchema = z.object({\n webId: z.string().describe(\"The unique identifier (guid) for the item's site (SPWeb).\").nullable().optional(),\n listId: z.string().describe(\"The unique identifier (guid) for the item's list in SharePoint.\").nullable().optional(),\n siteId: z.string().describe(\"The unique identifier (guid) for the item's site collection (SPSite).\").nullable().optional(),\n siteUrl: z.string().describe(\"The SharePoint URL for the site that contains the item.\").nullable().optional(),\n tenantId: z.string().describe(\"The unique identifier (guid) for the tenancy.\").nullable().optional(),\n listItemId: z.string().describe(\"An integer identifier for the item within the containing list.\").nullable().optional(),\n listItemUniqueId: z.string().describe(\"The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site.\").nullable().optional(),\n}).passthrough().describe(\"Returns identifiers useful for SharePoint REST compatibility.\");\nconst OneDriveGetRoot_ItemReferenceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the driveItem in the drive or a listItem in a list.\").nullable().optional(),\n name: z.string().describe(\"The name of the item being referenced.\").nullable().optional(),\n path: z.string().describe(\"Percent-encoded path that can be used to navigate to the item.\").nullable().optional(),\n siteId: z.string().describe(\"ID of the site that contains the parent document library of the driveItem resource.\").nullable().optional(),\n driveId: z.string().describe(\"Unique identifier of the drive instance that contains the driveItem.\").nullable().optional(),\n shareId: z.string().describe(\"A unique identifier for a shared resource that can be accessed via the Shares API.\").nullable().optional(),\n driveType: z.string().describe(\"Identifies the type of drive (personal, business, documentLibrary).\").nullable().optional(),\n sharepointIds: OneDriveGetRoot_SharepointIdsSchema.nullable().optional(),\n}).passthrough().describe(\"Provides information necessary to address a driveItem via the API.\");\nexport const OneDriveGetRootOutput = z.object({\n id: z.string().describe(\"The unique identifier of the root folder.\").nullable().optional(),\n cTag: z.string().describe(\"An eTag for the content of the item. This eTag is not changed if only the metadata is changed.\").nullable().optional(),\n eTag: z.string().describe(\"eTag for the entire item (metadata + content).\").nullable().optional(),\n name: z.string().describe(\"The name of the root folder.\").nullable().optional(),\n root: OneDriveGetRoot_RootFacetSchema.nullable().optional(),\n size: z.number().int().describe(\"The size of the folder in bytes, including all descendants.\").nullable().optional(),\n folder: OneDriveGetRoot_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the root folder in a browser.\").nullable().optional(),\n createdBy: OneDriveGetRoot_IdentitySetSchema.nullable().optional(),\n description: z.string().describe(\"Provide a user-visible description of the item. Optional.\").nullable().optional(),\n lastModifiedBy: OneDriveGetRoot_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time the root folder was created. Read-only.\").nullable().optional(),\n parentReference: OneDriveGetRoot_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the root folder was last modified. Read-only.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetRoot = action(\"ONE_DRIVE_GET_ROOT\", {\n slug: \"one_drive-get-root\",\n name: \"Get Drive Root Folder\",\n description: \"Tool to retrieve metadata for the root folder of the signed-in user's OneDrive. Use when you need information about the user's OneDrive root directory, such as size, child count, or web URL.\",\n input: OneDriveGetRootInput,\n output: OneDriveGetRootOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-root.cjs","names":["z","action"],"sources":["../../src/actions/get-root.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 OneDriveGetRootInput = z.object({\n user_id: z.string().default(\"me\").describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.\").optional(),\n select_fields: z.array(z.string()).describe(\"A list of properties to include in the response. Use this to retrieve specific fields and reduce the response size. Common fields include: id, name, size, createdDateTime, lastModifiedDateTime, webUrl, folder, root. If not provided, all default properties are returned.\").optional(),\n});\nconst OneDriveGetRoot_RootFacetSchema = z.record(z.string(), z.unknown()).describe(\"Indicates that an item is the root folder in a drive. The presence (non-null) of this facet indicates that the object is the root.\");\nconst OneDriveGetRoot_FolderFacetSchema = z.object({\n childCount: z.number().int().describe(\"Number of children contained immediately within this folder.\").nullable().optional(),\n}).passthrough();\nconst OneDriveGetRoot_IdentitySchema = z.object({\n id: z.string().describe(\"The unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).passthrough();\nconst OneDriveGetRoot_IdentitySetSchema = z.object({\n user: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n device: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n application: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n}).passthrough();\nconst OneDriveGetRoot_SharepointIdsSchema = z.object({\n webId: z.string().describe(\"The unique identifier (guid) for the item's site (SPWeb).\").nullable().optional(),\n listId: z.string().describe(\"The unique identifier (guid) for the item's list in SharePoint.\").nullable().optional(),\n siteId: z.string().describe(\"The unique identifier (guid) for the item's site collection (SPSite).\").nullable().optional(),\n siteUrl: z.string().describe(\"The SharePoint URL for the site that contains the item.\").nullable().optional(),\n tenantId: z.string().describe(\"The unique identifier (guid) for the tenancy.\").nullable().optional(),\n listItemId: z.string().describe(\"An integer identifier for the item within the containing list.\").nullable().optional(),\n listItemUniqueId: z.string().describe(\"The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site.\").nullable().optional(),\n}).passthrough().describe(\"Returns identifiers useful for SharePoint REST compatibility.\");\nconst OneDriveGetRoot_ItemReferenceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the driveItem in the drive or a listItem in a list.\").nullable().optional(),\n name: z.string().describe(\"The name of the item being referenced.\").nullable().optional(),\n path: z.string().describe(\"Percent-encoded path that can be used to navigate to the item.\").nullable().optional(),\n siteId: z.string().describe(\"ID of the site that contains the parent document library of the driveItem resource.\").nullable().optional(),\n driveId: z.string().describe(\"Unique identifier of the drive instance that contains the driveItem.\").nullable().optional(),\n shareId: z.string().describe(\"A unique identifier for a shared resource that can be accessed via the Shares API.\").nullable().optional(),\n driveType: z.string().describe(\"Identifies the type of drive (personal, business, documentLibrary).\").nullable().optional(),\n sharepointIds: OneDriveGetRoot_SharepointIdsSchema.nullable().optional(),\n}).passthrough().describe(\"Provides information necessary to address a driveItem via the API.\");\nexport const OneDriveGetRootOutput = z.object({\n id: z.string().describe(\"The unique identifier of the root folder.\").nullable().optional(),\n cTag: z.string().describe(\"An eTag for the content of the item. This eTag is not changed if only the metadata is changed.\").nullable().optional(),\n eTag: z.string().describe(\"eTag for the entire item (metadata + content).\").nullable().optional(),\n name: z.string().describe(\"The name of the root folder.\").nullable().optional(),\n root: OneDriveGetRoot_RootFacetSchema.nullable().optional(),\n size: z.number().int().describe(\"The size of the folder in bytes, including all descendants.\").nullable().optional(),\n folder: OneDriveGetRoot_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the root folder in a browser.\").nullable().optional(),\n createdBy: OneDriveGetRoot_IdentitySetSchema.nullable().optional(),\n description: z.string().describe(\"Provide a user-visible description of the item. Optional.\").nullable().optional(),\n lastModifiedBy: OneDriveGetRoot_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time the root folder was created. Read-only.\").nullable().optional(),\n parentReference: OneDriveGetRoot_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the root folder was last modified. Read-only.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetRoot: AppAction<\n typeof OneDriveGetRootInput,\n typeof OneDriveGetRootOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_GET_ROOT\", {\n slug: \"one_drive-get-root\",\n name: \"Get Drive Root Folder\",\n description: \"Tool to retrieve metadata for the root folder of the signed-in user's OneDrive. Use when you need information about the user's OneDrive root directory, such as size, child count, or web URL.\",\n input: OneDriveGetRootInput,\n output: OneDriveGetRootOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC/J,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+QAA+Q,CAAC,CAAC,SAAS;AACxU,CAAC;AACD,MAAM,kCAAkCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oIAAoI;AACvN,MAAM,oCAAoCA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAA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,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,QAAQ,kCAAkC,SAAS,CAAC,CAAC,SAAS;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAW,kCAAkC,SAAS,CAAC,CAAC,SAAS;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,gBAAgB,kCAAkC,SAAS,CAAC,CAAC,SAAS;CACtE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,iBAAiB,oCAAoC,SAAS,CAAC,CAAC,SAAS;CACzE,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAITC,eAAAA,OAAO,sBAAsB;CAC/B,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/get-root.d.ts
|
|
@@ -66,22 +68,7 @@ declare const OneDriveGetRootOutput: z.ZodObject<{
|
|
|
66
68
|
}, z.core.$loose>>>;
|
|
67
69
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
70
|
}, z.core.$loose>;
|
|
69
|
-
declare const oneDriveGetRoot:
|
|
70
|
-
user_id?: string | undefined;
|
|
71
|
-
select_fields?: string[] | undefined;
|
|
72
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
73
|
-
connectionId: z.ZodString;
|
|
74
|
-
entityId: z.ZodString;
|
|
75
|
-
instanceId: z.ZodString;
|
|
76
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
77
|
-
accessToken: z.ZodString;
|
|
78
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
79
|
-
connectionId: z.ZodString;
|
|
80
|
-
entityId: z.ZodString;
|
|
81
|
-
instanceId: z.ZodString;
|
|
82
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
-
accessToken: z.ZodString;
|
|
84
|
-
}, z.core.$strip>>]>;
|
|
71
|
+
declare const oneDriveGetRoot: AppAction<typeof OneDriveGetRootInput, typeof OneDriveGetRootOutput, typeof oneDrive.credential>;
|
|
85
72
|
//#endregion
|
|
86
73
|
export { oneDriveGetRoot };
|
|
87
74
|
//# sourceMappingURL=get-root.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-root.d.cts","names":[],"sources":["../../src/actions/get-root.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-root.d.cts","names":[],"sources":["../../src/actions/get-root.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAoCpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiBrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,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/get-root.d.ts
|
|
@@ -66,22 +68,7 @@ declare const OneDriveGetRootOutput: z.ZodObject<{
|
|
|
66
68
|
}, z.core.$loose>>>;
|
|
67
69
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
70
|
}, z.core.$loose>;
|
|
69
|
-
declare const oneDriveGetRoot:
|
|
70
|
-
user_id?: string | undefined;
|
|
71
|
-
select_fields?: string[] | undefined;
|
|
72
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
73
|
-
connectionId: z.ZodString;
|
|
74
|
-
entityId: z.ZodString;
|
|
75
|
-
instanceId: z.ZodString;
|
|
76
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
77
|
-
accessToken: z.ZodString;
|
|
78
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
79
|
-
connectionId: z.ZodString;
|
|
80
|
-
entityId: z.ZodString;
|
|
81
|
-
instanceId: z.ZodString;
|
|
82
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
-
accessToken: z.ZodString;
|
|
84
|
-
}, z.core.$strip>>]>;
|
|
71
|
+
declare const oneDriveGetRoot: AppAction<typeof OneDriveGetRootInput, typeof OneDriveGetRootOutput, typeof oneDrive.credential>;
|
|
85
72
|
//#endregion
|
|
86
73
|
export { oneDriveGetRoot };
|
|
87
74
|
//# sourceMappingURL=get-root.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-root.d.mts","names":[],"sources":["../../src/actions/get-root.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-root.d.mts","names":[],"sources":["../../src/actions/get-root.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAoCpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiBrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-root.mjs","names":[],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetRootInput = z.object({\n user_id: z.string().default(\"me\").describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.\").optional(),\n select_fields: z.array(z.string()).describe(\"A list of properties to include in the response. Use this to retrieve specific fields and reduce the response size. Common fields include: id, name, size, createdDateTime, lastModifiedDateTime, webUrl, folder, root. If not provided, all default properties are returned.\").optional(),\n});\nconst OneDriveGetRoot_RootFacetSchema = z.record(z.string(), z.unknown()).describe(\"Indicates that an item is the root folder in a drive. The presence (non-null) of this facet indicates that the object is the root.\");\nconst OneDriveGetRoot_FolderFacetSchema = z.object({\n childCount: z.number().int().describe(\"Number of children contained immediately within this folder.\").nullable().optional(),\n}).passthrough();\nconst OneDriveGetRoot_IdentitySchema = z.object({\n id: z.string().describe(\"The unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).passthrough();\nconst OneDriveGetRoot_IdentitySetSchema = z.object({\n user: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n device: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n application: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n}).passthrough();\nconst OneDriveGetRoot_SharepointIdsSchema = z.object({\n webId: z.string().describe(\"The unique identifier (guid) for the item's site (SPWeb).\").nullable().optional(),\n listId: z.string().describe(\"The unique identifier (guid) for the item's list in SharePoint.\").nullable().optional(),\n siteId: z.string().describe(\"The unique identifier (guid) for the item's site collection (SPSite).\").nullable().optional(),\n siteUrl: z.string().describe(\"The SharePoint URL for the site that contains the item.\").nullable().optional(),\n tenantId: z.string().describe(\"The unique identifier (guid) for the tenancy.\").nullable().optional(),\n listItemId: z.string().describe(\"An integer identifier for the item within the containing list.\").nullable().optional(),\n listItemUniqueId: z.string().describe(\"The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site.\").nullable().optional(),\n}).passthrough().describe(\"Returns identifiers useful for SharePoint REST compatibility.\");\nconst OneDriveGetRoot_ItemReferenceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the driveItem in the drive or a listItem in a list.\").nullable().optional(),\n name: z.string().describe(\"The name of the item being referenced.\").nullable().optional(),\n path: z.string().describe(\"Percent-encoded path that can be used to navigate to the item.\").nullable().optional(),\n siteId: z.string().describe(\"ID of the site that contains the parent document library of the driveItem resource.\").nullable().optional(),\n driveId: z.string().describe(\"Unique identifier of the drive instance that contains the driveItem.\").nullable().optional(),\n shareId: z.string().describe(\"A unique identifier for a shared resource that can be accessed via the Shares API.\").nullable().optional(),\n driveType: z.string().describe(\"Identifies the type of drive (personal, business, documentLibrary).\").nullable().optional(),\n sharepointIds: OneDriveGetRoot_SharepointIdsSchema.nullable().optional(),\n}).passthrough().describe(\"Provides information necessary to address a driveItem via the API.\");\nexport const OneDriveGetRootOutput = z.object({\n id: z.string().describe(\"The unique identifier of the root folder.\").nullable().optional(),\n cTag: z.string().describe(\"An eTag for the content of the item. This eTag is not changed if only the metadata is changed.\").nullable().optional(),\n eTag: z.string().describe(\"eTag for the entire item (metadata + content).\").nullable().optional(),\n name: z.string().describe(\"The name of the root folder.\").nullable().optional(),\n root: OneDriveGetRoot_RootFacetSchema.nullable().optional(),\n size: z.number().int().describe(\"The size of the folder in bytes, including all descendants.\").nullable().optional(),\n folder: OneDriveGetRoot_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the root folder in a browser.\").nullable().optional(),\n createdBy: OneDriveGetRoot_IdentitySetSchema.nullable().optional(),\n description: z.string().describe(\"Provide a user-visible description of the item. Optional.\").nullable().optional(),\n lastModifiedBy: OneDriveGetRoot_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time the root folder was created. Read-only.\").nullable().optional(),\n parentReference: OneDriveGetRoot_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the root folder was last modified. Read-only.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetRoot = action(\"ONE_DRIVE_GET_ROOT\", {\n slug: \"one_drive-get-root\",\n name: \"Get Drive Root Folder\",\n description: \"Tool to retrieve metadata for the root folder of the signed-in user's OneDrive. Use when you need information about the user's OneDrive root directory, such as size, child count, or web URL.\",\n input: OneDriveGetRootInput,\n output: OneDriveGetRootOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-root.mjs","names":[],"sources":["../../src/actions/get-root.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 OneDriveGetRootInput = z.object({\n user_id: z.string().default(\"me\").describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.\").optional(),\n select_fields: z.array(z.string()).describe(\"A list of properties to include in the response. Use this to retrieve specific fields and reduce the response size. Common fields include: id, name, size, createdDateTime, lastModifiedDateTime, webUrl, folder, root. If not provided, all default properties are returned.\").optional(),\n});\nconst OneDriveGetRoot_RootFacetSchema = z.record(z.string(), z.unknown()).describe(\"Indicates that an item is the root folder in a drive. The presence (non-null) of this facet indicates that the object is the root.\");\nconst OneDriveGetRoot_FolderFacetSchema = z.object({\n childCount: z.number().int().describe(\"Number of children contained immediately within this folder.\").nullable().optional(),\n}).passthrough();\nconst OneDriveGetRoot_IdentitySchema = z.object({\n id: z.string().describe(\"The unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).passthrough();\nconst OneDriveGetRoot_IdentitySetSchema = z.object({\n user: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n device: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n application: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n}).passthrough();\nconst OneDriveGetRoot_SharepointIdsSchema = z.object({\n webId: z.string().describe(\"The unique identifier (guid) for the item's site (SPWeb).\").nullable().optional(),\n listId: z.string().describe(\"The unique identifier (guid) for the item's list in SharePoint.\").nullable().optional(),\n siteId: z.string().describe(\"The unique identifier (guid) for the item's site collection (SPSite).\").nullable().optional(),\n siteUrl: z.string().describe(\"The SharePoint URL for the site that contains the item.\").nullable().optional(),\n tenantId: z.string().describe(\"The unique identifier (guid) for the tenancy.\").nullable().optional(),\n listItemId: z.string().describe(\"An integer identifier for the item within the containing list.\").nullable().optional(),\n listItemUniqueId: z.string().describe(\"The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site.\").nullable().optional(),\n}).passthrough().describe(\"Returns identifiers useful for SharePoint REST compatibility.\");\nconst OneDriveGetRoot_ItemReferenceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the driveItem in the drive or a listItem in a list.\").nullable().optional(),\n name: z.string().describe(\"The name of the item being referenced.\").nullable().optional(),\n path: z.string().describe(\"Percent-encoded path that can be used to navigate to the item.\").nullable().optional(),\n siteId: z.string().describe(\"ID of the site that contains the parent document library of the driveItem resource.\").nullable().optional(),\n driveId: z.string().describe(\"Unique identifier of the drive instance that contains the driveItem.\").nullable().optional(),\n shareId: z.string().describe(\"A unique identifier for a shared resource that can be accessed via the Shares API.\").nullable().optional(),\n driveType: z.string().describe(\"Identifies the type of drive (personal, business, documentLibrary).\").nullable().optional(),\n sharepointIds: OneDriveGetRoot_SharepointIdsSchema.nullable().optional(),\n}).passthrough().describe(\"Provides information necessary to address a driveItem via the API.\");\nexport const OneDriveGetRootOutput = z.object({\n id: z.string().describe(\"The unique identifier of the root folder.\").nullable().optional(),\n cTag: z.string().describe(\"An eTag for the content of the item. This eTag is not changed if only the metadata is changed.\").nullable().optional(),\n eTag: z.string().describe(\"eTag for the entire item (metadata + content).\").nullable().optional(),\n name: z.string().describe(\"The name of the root folder.\").nullable().optional(),\n root: OneDriveGetRoot_RootFacetSchema.nullable().optional(),\n size: z.number().int().describe(\"The size of the folder in bytes, including all descendants.\").nullable().optional(),\n folder: OneDriveGetRoot_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the root folder in a browser.\").nullable().optional(),\n createdBy: OneDriveGetRoot_IdentitySetSchema.nullable().optional(),\n description: z.string().describe(\"Provide a user-visible description of the item. Optional.\").nullable().optional(),\n lastModifiedBy: OneDriveGetRoot_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time the root folder was created. Read-only.\").nullable().optional(),\n parentReference: OneDriveGetRoot_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the root folder was last modified. Read-only.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetRoot: AppAction<\n typeof OneDriveGetRootInput,\n typeof OneDriveGetRootOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_GET_ROOT\", {\n slug: \"one_drive-get-root\",\n name: \"Get Drive Root Folder\",\n description: \"Tool to retrieve metadata for the root folder of the signed-in user's OneDrive. Use when you need information about the user's OneDrive root directory, such as size, child count, or web URL.\",\n input: OneDriveGetRootInput,\n output: OneDriveGetRootOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC/J,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+QAA+Q,CAAC,CAAC,SAAS;AACxU,CAAC;AACD,MAAM,kCAAkC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oIAAoI;AACvN,MAAM,oCAAoC,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SA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,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,QAAQ,kCAAkC,SAAS,CAAC,CAAC,SAAS;EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,WAAW,kCAAkC,SAAS,CAAC,CAAC,SAAS;EACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,gBAAgB,kCAAkC,SAAS,CAAC,CAAC,SAAS;EACtE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,iBAAiB,oCAAoC,SAAS,CAAC,CAAC,SAAS;EACzE,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-share.cjs","names":["z","action"],"sources":["../../src/actions/get-share.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetShareInput = z.object({\n prefer_redeem: z.enum([\"redeemSharingLinkIfNecessary\", \"redeemSharingLink\"]).describe(\"Controls access redemption. 'redeemSharingLink' grants durable access to the item (permanent permission). 'redeemSharingLinkIfNecessary' grants access only for this request (temporary, no lasting permission). If not specified, no Prefer header is sent and no redemption occurs.\").optional(),\n expand_children: z.boolean().default(false).describe(\"If true and the shared item is a folder, expands the children collection to include child items in the response. Only applicable for folders.\").optional(),\n share_id_or_encoded_sharing_url: z.string().describe(\"A sharing token (shareId) as returned by the API or a properly encoded sharing URL. To encode a URL: base64 encode it, convert to unpadded base64url format (remove '=' padding, replace '/' with '_', '+' with '-'), and prepend 'u!'. Example: 'u!aHR0cHM6Ly9jb21wb3NpbzIwMjQtbXkuc2hhcmVwb2ludC5jb20vOng6L2cvcGVyc29uYWwva2FyYW52YWlkeWFfYXV0aGtpdF9haS9JUURPT2NCVEx5RTFSWktVQkJGZ0YzZVZBVEliM2JmcUhzNFNqaVp5S1E1UTVSOA'\"),\n});\nconst OneDriveGetShare_IdentitySetSchema = z.object({\n user: z.record(z.string(), z.unknown()).describe(\"Details about the user (id, displayName, email).\").nullable().optional(),\n device: z.record(z.string(), z.unknown()).describe(\"Details about the device.\").nullable().optional(),\n application: z.record(z.string(), z.unknown()).describe(\"Details about the application.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetShareOutput = z.object({\n id: z.string().describe(\"The unique identifier of the shared item.\").nullable().optional(),\n name: z.string().describe(\"The name of the shared item.\").nullable().optional(),\n root: z.record(z.string(), z.unknown()).describe(\"DriveItem resource representing the root of the shared item. Access via /shares/{id}/root endpoint.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Collection of driveItem resources contained within the shared item. Access via /shares/{id}/items endpoint.\").nullable().optional(),\n owner: OneDriveGetShare_IdentitySetSchema.nullable().optional(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Children of the shared item, if expanded with $expand=children. Only populated when expand_children is true and item is a folder.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetShare = action(\"ONE_DRIVE_GET_SHARE\", {\n slug: \"one_drive-get-share\",\n name: \"Get Shared Item by ShareId\",\n description: \"Tool to access a shared DriveItem or collection of shared items using a shareId or encoded sharing URL. Returns the sharedDriveItem resource with metadata about the shared item and its owner. Use when you have a shareId or sharing token and need information about what was shared.\",\n input: OneDriveGetShareInput,\n output: OneDriveGetShareOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-share.cjs","names":["z","action"],"sources":["../../src/actions/get-share.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 OneDriveGetShareInput = z.object({\n prefer_redeem: z.enum([\"redeemSharingLinkIfNecessary\", \"redeemSharingLink\"]).describe(\"Controls access redemption. 'redeemSharingLink' grants durable access to the item (permanent permission). 'redeemSharingLinkIfNecessary' grants access only for this request (temporary, no lasting permission). If not specified, no Prefer header is sent and no redemption occurs.\").optional(),\n expand_children: z.boolean().default(false).describe(\"If true and the shared item is a folder, expands the children collection to include child items in the response. Only applicable for folders.\").optional(),\n share_id_or_encoded_sharing_url: z.string().describe(\"A sharing token (shareId) as returned by the API or a properly encoded sharing URL. To encode a URL: base64 encode it, convert to unpadded base64url format (remove '=' padding, replace '/' with '_', '+' with '-'), and prepend 'u!'. Example: 'u!aHR0cHM6Ly9jb21wb3NpbzIwMjQtbXkuc2hhcmVwb2ludC5jb20vOng6L2cvcGVyc29uYWwva2FyYW52YWlkeWFfYXV0aGtpdF9haS9JUURPT2NCVEx5RTFSWktVQkJGZ0YzZVZBVEliM2JmcUhzNFNqaVp5S1E1UTVSOA'\"),\n});\nconst OneDriveGetShare_IdentitySetSchema = z.object({\n user: z.record(z.string(), z.unknown()).describe(\"Details about the user (id, displayName, email).\").nullable().optional(),\n device: z.record(z.string(), z.unknown()).describe(\"Details about the device.\").nullable().optional(),\n application: z.record(z.string(), z.unknown()).describe(\"Details about the application.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetShareOutput = z.object({\n id: z.string().describe(\"The unique identifier of the shared item.\").nullable().optional(),\n name: z.string().describe(\"The name of the shared item.\").nullable().optional(),\n root: z.record(z.string(), z.unknown()).describe(\"DriveItem resource representing the root of the shared item. Access via /shares/{id}/root endpoint.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Collection of driveItem resources contained within the shared item. Access via /shares/{id}/items endpoint.\").nullable().optional(),\n owner: OneDriveGetShare_IdentitySetSchema.nullable().optional(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Children of the shared item, if expanded with $expand=children. Only populated when expand_children is true and item is a folder.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetShare: AppAction<\n typeof OneDriveGetShareInput,\n typeof OneDriveGetShareOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_GET_SHARE\", {\n slug: \"one_drive-get-share\",\n name: \"Get Shared Item by ShareId\",\n description: \"Tool to access a shared DriveItem or collection of shared items using a shareId or encoded sharing URL. Returns the sharedDriveItem resource with metadata about the shared item and its owner. Use when you have a shareId or sharing token and need information about what was shared.\",\n input: OneDriveGetShareInput,\n output: OneDriveGetShareOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,eAAeA,IAAAA,EAAE,KAAK,CAAC,gCAAgC,mBAAmB,CAAC,CAAC,CAAC,SAAS,uRAAuR,CAAC,CAAC,SAAS;CACxX,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAC/M,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6ZAA6Z;AACpd,CAAC;AACD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5K,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9L,OAAO,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzN,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAITC,eAAAA,OAAO,uBAAuB;CAChC,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/get-share.d.ts
|
|
@@ -21,23 +23,7 @@ declare const OneDriveGetShareOutput: z.ZodObject<{
|
|
|
21
23
|
}, z.core.$loose>>>;
|
|
22
24
|
children: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const oneDriveGetShare:
|
|
25
|
-
share_id_or_encoded_sharing_url: string;
|
|
26
|
-
prefer_redeem?: "redeemSharingLinkIfNecessary" | "redeemSharingLink" | undefined;
|
|
27
|
-
expand_children?: boolean | 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>>]>;
|
|
26
|
+
declare const oneDriveGetShare: AppAction<typeof OneDriveGetShareInput, typeof OneDriveGetShareOutput, typeof oneDrive.credential>;
|
|
41
27
|
//#endregion
|
|
42
28
|
export { oneDriveGetShare };
|
|
43
29
|
//# sourceMappingURL=get-share.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-share.d.cts","names":[],"sources":["../../src/actions/get-share.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-share.d.cts","names":[],"sources":["../../src/actions/get-share.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAStB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,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/get-share.d.ts
|
|
@@ -21,23 +23,7 @@ declare const OneDriveGetShareOutput: z.ZodObject<{
|
|
|
21
23
|
}, z.core.$loose>>>;
|
|
22
24
|
children: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const oneDriveGetShare:
|
|
25
|
-
share_id_or_encoded_sharing_url: string;
|
|
26
|
-
prefer_redeem?: "redeemSharingLinkIfNecessary" | "redeemSharingLink" | undefined;
|
|
27
|
-
expand_children?: boolean | 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>>]>;
|
|
26
|
+
declare const oneDriveGetShare: AppAction<typeof OneDriveGetShareInput, typeof OneDriveGetShareOutput, typeof oneDrive.credential>;
|
|
41
27
|
//#endregion
|
|
42
28
|
export { oneDriveGetShare };
|
|
43
29
|
//# sourceMappingURL=get-share.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-share.d.mts","names":[],"sources":["../../src/actions/get-share.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-share.d.mts","names":[],"sources":["../../src/actions/get-share.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAStB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-share.mjs","names":[],"sources":["../../src/actions/get-share.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetShareInput = z.object({\n prefer_redeem: z.enum([\"redeemSharingLinkIfNecessary\", \"redeemSharingLink\"]).describe(\"Controls access redemption. 'redeemSharingLink' grants durable access to the item (permanent permission). 'redeemSharingLinkIfNecessary' grants access only for this request (temporary, no lasting permission). If not specified, no Prefer header is sent and no redemption occurs.\").optional(),\n expand_children: z.boolean().default(false).describe(\"If true and the shared item is a folder, expands the children collection to include child items in the response. Only applicable for folders.\").optional(),\n share_id_or_encoded_sharing_url: z.string().describe(\"A sharing token (shareId) as returned by the API or a properly encoded sharing URL. To encode a URL: base64 encode it, convert to unpadded base64url format (remove '=' padding, replace '/' with '_', '+' with '-'), and prepend 'u!'. Example: 'u!aHR0cHM6Ly9jb21wb3NpbzIwMjQtbXkuc2hhcmVwb2ludC5jb20vOng6L2cvcGVyc29uYWwva2FyYW52YWlkeWFfYXV0aGtpdF9haS9JUURPT2NCVEx5RTFSWktVQkJGZ0YzZVZBVEliM2JmcUhzNFNqaVp5S1E1UTVSOA'\"),\n});\nconst OneDriveGetShare_IdentitySetSchema = z.object({\n user: z.record(z.string(), z.unknown()).describe(\"Details about the user (id, displayName, email).\").nullable().optional(),\n device: z.record(z.string(), z.unknown()).describe(\"Details about the device.\").nullable().optional(),\n application: z.record(z.string(), z.unknown()).describe(\"Details about the application.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetShareOutput = z.object({\n id: z.string().describe(\"The unique identifier of the shared item.\").nullable().optional(),\n name: z.string().describe(\"The name of the shared item.\").nullable().optional(),\n root: z.record(z.string(), z.unknown()).describe(\"DriveItem resource representing the root of the shared item. Access via /shares/{id}/root endpoint.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Collection of driveItem resources contained within the shared item. Access via /shares/{id}/items endpoint.\").nullable().optional(),\n owner: OneDriveGetShare_IdentitySetSchema.nullable().optional(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Children of the shared item, if expanded with $expand=children. Only populated when expand_children is true and item is a folder.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetShare = action(\"ONE_DRIVE_GET_SHARE\", {\n slug: \"one_drive-get-share\",\n name: \"Get Shared Item by ShareId\",\n description: \"Tool to access a shared DriveItem or collection of shared items using a shareId or encoded sharing URL. Returns the sharedDriveItem resource with metadata about the shared item and its owner. Use when you have a shareId or sharing token and need information about what was shared.\",\n input: OneDriveGetShareInput,\n output: OneDriveGetShareOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-share.mjs","names":[],"sources":["../../src/actions/get-share.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 OneDriveGetShareInput = z.object({\n prefer_redeem: z.enum([\"redeemSharingLinkIfNecessary\", \"redeemSharingLink\"]).describe(\"Controls access redemption. 'redeemSharingLink' grants durable access to the item (permanent permission). 'redeemSharingLinkIfNecessary' grants access only for this request (temporary, no lasting permission). If not specified, no Prefer header is sent and no redemption occurs.\").optional(),\n expand_children: z.boolean().default(false).describe(\"If true and the shared item is a folder, expands the children collection to include child items in the response. Only applicable for folders.\").optional(),\n share_id_or_encoded_sharing_url: z.string().describe(\"A sharing token (shareId) as returned by the API or a properly encoded sharing URL. To encode a URL: base64 encode it, convert to unpadded base64url format (remove '=' padding, replace '/' with '_', '+' with '-'), and prepend 'u!'. Example: 'u!aHR0cHM6Ly9jb21wb3NpbzIwMjQtbXkuc2hhcmVwb2ludC5jb20vOng6L2cvcGVyc29uYWwva2FyYW52YWlkeWFfYXV0aGtpdF9haS9JUURPT2NCVEx5RTFSWktVQkJGZ0YzZVZBVEliM2JmcUhzNFNqaVp5S1E1UTVSOA'\"),\n});\nconst OneDriveGetShare_IdentitySetSchema = z.object({\n user: z.record(z.string(), z.unknown()).describe(\"Details about the user (id, displayName, email).\").nullable().optional(),\n device: z.record(z.string(), z.unknown()).describe(\"Details about the device.\").nullable().optional(),\n application: z.record(z.string(), z.unknown()).describe(\"Details about the application.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetShareOutput = z.object({\n id: z.string().describe(\"The unique identifier of the shared item.\").nullable().optional(),\n name: z.string().describe(\"The name of the shared item.\").nullable().optional(),\n root: z.record(z.string(), z.unknown()).describe(\"DriveItem resource representing the root of the shared item. Access via /shares/{id}/root endpoint.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Collection of driveItem resources contained within the shared item. Access via /shares/{id}/items endpoint.\").nullable().optional(),\n owner: OneDriveGetShare_IdentitySetSchema.nullable().optional(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Children of the shared item, if expanded with $expand=children. Only populated when expand_children is true and item is a folder.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetShare: AppAction<\n typeof OneDriveGetShareInput,\n typeof OneDriveGetShareOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_GET_SHARE\", {\n slug: \"one_drive-get-share\",\n name: \"Get Shared Item by ShareId\",\n description: \"Tool to access a shared DriveItem or collection of shared items using a shareId or encoded sharing URL. Returns the sharedDriveItem resource with metadata about the shared item and its owner. Use when you have a shareId or sharing token and need information about what was shared.\",\n input: OneDriveGetShareInput,\n output: OneDriveGetShareOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wB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,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9L,OAAO,mCAAmC,SAAS,CAAC,CAAC,SAAS;EAC9D,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzN,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sharepoint-list-items.cjs","names":["z","action"],"sources":["../../src/actions/get-sharepoint-list-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetSharepointListItemsInput = z.object({\n top: z.number().int().describe(\"The maximum number of items to return in a single response. Used for pagination.\").optional(),\n skip: z.number().int().describe(\"The number of items to skip in the result set. Used for pagination.\").optional(),\n count: z.boolean().describe(\"If true, returns the total count of items in the @odata.count property.\").optional(),\n expand: z.string().describe(\"A comma-separated list of relationships to expand, or 'fields($select=columnName1,columnName2)' to retrieve specific fields. For example, to get specific columns 'Name' and 'Color', use 'fields($select=Name,Color)'. SharePoint internal field names may differ from display names; call without expand first (or use 'fields' alone) to discover actual internal names before filtering or selecting specific fields.\").optional(),\n filter: z.string().describe(\"An OData filter query to restrict the results. For example, to filter items where 'Quantity' is less than 600, use 'fields/Quantity lt 600'.\").optional(),\n select: z.string().describe(\"A comma-separated list of properties to include in the response. Often used in conjunction with '$expand=fields(select=...)'. For example, 'id,name,fields'.\").optional(),\n list_id: z.string().describe(\"The unique identifier of the list within the SharePoint site.\"),\n orderby: z.string().describe(\"OData order by expression to sort results. For example, 'fields/Name asc' or 'fields/Quantity desc'.\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site.\"),\n});\nconst OneDriveGetSharepointListItems_ListItemSchema = z.object({\n id: z.string().describe(\"The unique ID of the list item.\").nullable(),\n fields: z.record(z.string(), z.unknown()).describe(\"An object containing the key-value pairs of the list item's columns and their values. Supports primitive types, arrays, and nested objects (e.g., lookup fields, person fields, multi-select fields).\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetSharepointListItemsOutput = z.object({\n value: z.array(OneDriveGetSharepointListItems_ListItemSchema).describe(\"A collection of listItem objects.\"),\n \"@odata.count\": z.number().int().describe(\"The total count of items in the collection, if requested with $count=true.\").nullable().optional(),\n \"@odata.nextLink\": z.string().describe(\"URL to retrieve the next page of items, if applicable.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetSharepointListItems = action(\"ONE_DRIVE_GET_SHAREPOINT_LIST_ITEMS\", {\n slug: \"one_drive-get-sharepoint-list-items\",\n name: \"Get SharePoint List Items\",\n description: \"Tool to get the items (list items) within a specific SharePoint list on a site. Use when you need to retrieve data from a SharePoint list.\",\n input: OneDriveGetSharepointListItemsInput,\n output: OneDriveGetSharepointListItemsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-sharepoint-list-items.cjs","names":["z","action"],"sources":["../../src/actions/get-sharepoint-list-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 OneDriveGetSharepointListItemsInput = z.object({\n top: z.number().int().describe(\"The maximum number of items to return in a single response. Used for pagination.\").optional(),\n skip: z.number().int().describe(\"The number of items to skip in the result set. Used for pagination.\").optional(),\n count: z.boolean().describe(\"If true, returns the total count of items in the @odata.count property.\").optional(),\n expand: z.string().describe(\"A comma-separated list of relationships to expand, or 'fields($select=columnName1,columnName2)' to retrieve specific fields. For example, to get specific columns 'Name' and 'Color', use 'fields($select=Name,Color)'. SharePoint internal field names may differ from display names; call without expand first (or use 'fields' alone) to discover actual internal names before filtering or selecting specific fields.\").optional(),\n filter: z.string().describe(\"An OData filter query to restrict the results. For example, to filter items where 'Quantity' is less than 600, use 'fields/Quantity lt 600'.\").optional(),\n select: z.string().describe(\"A comma-separated list of properties to include in the response. Often used in conjunction with '$expand=fields(select=...)'. For example, 'id,name,fields'.\").optional(),\n list_id: z.string().describe(\"The unique identifier of the list within the SharePoint site.\"),\n orderby: z.string().describe(\"OData order by expression to sort results. For example, 'fields/Name asc' or 'fields/Quantity desc'.\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site.\"),\n});\nconst OneDriveGetSharepointListItems_ListItemSchema = z.object({\n id: z.string().describe(\"The unique ID of the list item.\").nullable(),\n fields: z.record(z.string(), z.unknown()).describe(\"An object containing the key-value pairs of the list item's columns and their values. Supports primitive types, arrays, and nested objects (e.g., lookup fields, person fields, multi-select fields).\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetSharepointListItemsOutput = z.object({\n value: z.array(OneDriveGetSharepointListItems_ListItemSchema).describe(\"A collection of listItem objects.\"),\n \"@odata.count\": z.number().int().describe(\"The total count of items in the collection, if requested with $count=true.\").nullable().optional(),\n \"@odata.nextLink\": z.string().describe(\"URL to retrieve the next page of items, if applicable.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetSharepointListItems: AppAction<\n typeof OneDriveGetSharepointListItemsInput,\n typeof OneDriveGetSharepointListItemsOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_GET_SHAREPOINT_LIST_ITEMS\", {\n slug: \"one_drive-get-sharepoint-list-items\",\n name: \"Get SharePoint List Items\",\n description: \"Tool to get the items (list items) within a specific SharePoint list on a site. Use when you need to retrieve data from a SharePoint list.\",\n input: OneDriveGetSharepointListItemsInput,\n output: OneDriveGetSharepointListItemsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC5H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAChH,OAAOA,I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b,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/get-sharepoint-list-items.d.ts
|
|
@@ -20,29 +22,7 @@ declare const OneDriveGetSharepointListItemsOutput: z.ZodObject<{
|
|
|
20
22
|
"@odata.count": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
23
|
"@odata.nextLink": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const oneDriveGetSharepointListItems:
|
|
24
|
-
list_id: string;
|
|
25
|
-
site_id: string;
|
|
26
|
-
top?: number | undefined;
|
|
27
|
-
skip?: number | undefined;
|
|
28
|
-
count?: boolean | undefined;
|
|
29
|
-
expand?: string | undefined;
|
|
30
|
-
filter?: string | undefined;
|
|
31
|
-
select?: string | undefined;
|
|
32
|
-
orderby?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
accessToken: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const oneDriveGetSharepointListItems: AppAction<typeof OneDriveGetSharepointListItemsInput, typeof OneDriveGetSharepointListItemsOutput, typeof oneDrive.credential>;
|
|
46
26
|
//#endregion
|
|
47
27
|
export { oneDriveGetSharepointListItems };
|
|
48
28
|
//# sourceMappingURL=get-sharepoint-list-items.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sharepoint-list-items.d.cts","names":[],"sources":["../../src/actions/get-sharepoint-list-items.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-sharepoint-list-items.d.cts","names":[],"sources":["../../src/actions/get-sharepoint-list-items.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;cAenC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;cAMpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,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/get-sharepoint-list-items.d.ts
|
|
@@ -20,29 +22,7 @@ declare const OneDriveGetSharepointListItemsOutput: z.ZodObject<{
|
|
|
20
22
|
"@odata.count": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
23
|
"@odata.nextLink": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const oneDriveGetSharepointListItems:
|
|
24
|
-
list_id: string;
|
|
25
|
-
site_id: string;
|
|
26
|
-
top?: number | undefined;
|
|
27
|
-
skip?: number | undefined;
|
|
28
|
-
count?: boolean | undefined;
|
|
29
|
-
expand?: string | undefined;
|
|
30
|
-
filter?: string | undefined;
|
|
31
|
-
select?: string | undefined;
|
|
32
|
-
orderby?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
accessToken: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const oneDriveGetSharepointListItems: AppAction<typeof OneDriveGetSharepointListItemsInput, typeof OneDriveGetSharepointListItemsOutput, typeof oneDrive.credential>;
|
|
46
26
|
//#endregion
|
|
47
27
|
export { oneDriveGetSharepointListItems };
|
|
48
28
|
//# sourceMappingURL=get-sharepoint-list-items.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sharepoint-list-items.d.mts","names":[],"sources":["../../src/actions/get-sharepoint-list-items.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-sharepoint-list-items.d.mts","names":[],"sources":["../../src/actions/get-sharepoint-list-items.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;cAenC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;cAMpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sharepoint-list-items.mjs","names":[],"sources":["../../src/actions/get-sharepoint-list-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetSharepointListItemsInput = z.object({\n top: z.number().int().describe(\"The maximum number of items to return in a single response. Used for pagination.\").optional(),\n skip: z.number().int().describe(\"The number of items to skip in the result set. Used for pagination.\").optional(),\n count: z.boolean().describe(\"If true, returns the total count of items in the @odata.count property.\").optional(),\n expand: z.string().describe(\"A comma-separated list of relationships to expand, or 'fields($select=columnName1,columnName2)' to retrieve specific fields. For example, to get specific columns 'Name' and 'Color', use 'fields($select=Name,Color)'. SharePoint internal field names may differ from display names; call without expand first (or use 'fields' alone) to discover actual internal names before filtering or selecting specific fields.\").optional(),\n filter: z.string().describe(\"An OData filter query to restrict the results. For example, to filter items where 'Quantity' is less than 600, use 'fields/Quantity lt 600'.\").optional(),\n select: z.string().describe(\"A comma-separated list of properties to include in the response. Often used in conjunction with '$expand=fields(select=...)'. For example, 'id,name,fields'.\").optional(),\n list_id: z.string().describe(\"The unique identifier of the list within the SharePoint site.\"),\n orderby: z.string().describe(\"OData order by expression to sort results. For example, 'fields/Name asc' or 'fields/Quantity desc'.\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site.\"),\n});\nconst OneDriveGetSharepointListItems_ListItemSchema = z.object({\n id: z.string().describe(\"The unique ID of the list item.\").nullable(),\n fields: z.record(z.string(), z.unknown()).describe(\"An object containing the key-value pairs of the list item's columns and their values. Supports primitive types, arrays, and nested objects (e.g., lookup fields, person fields, multi-select fields).\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetSharepointListItemsOutput = z.object({\n value: z.array(OneDriveGetSharepointListItems_ListItemSchema).describe(\"A collection of listItem objects.\"),\n \"@odata.count\": z.number().int().describe(\"The total count of items in the collection, if requested with $count=true.\").nullable().optional(),\n \"@odata.nextLink\": z.string().describe(\"URL to retrieve the next page of items, if applicable.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetSharepointListItems = action(\"ONE_DRIVE_GET_SHAREPOINT_LIST_ITEMS\", {\n slug: \"one_drive-get-sharepoint-list-items\",\n name: \"Get SharePoint List Items\",\n description: \"Tool to get the items (list items) within a specific SharePoint list on a site. Use when you need to retrieve data from a SharePoint list.\",\n input: OneDriveGetSharepointListItemsInput,\n output: OneDriveGetSharepointListItemsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-sharepoint-list-items.mjs","names":[],"sources":["../../src/actions/get-sharepoint-list-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 OneDriveGetSharepointListItemsInput = z.object({\n top: z.number().int().describe(\"The maximum number of items to return in a single response. Used for pagination.\").optional(),\n skip: z.number().int().describe(\"The number of items to skip in the result set. Used for pagination.\").optional(),\n count: z.boolean().describe(\"If true, returns the total count of items in the @odata.count property.\").optional(),\n expand: z.string().describe(\"A comma-separated list of relationships to expand, or 'fields($select=columnName1,columnName2)' to retrieve specific fields. For example, to get specific columns 'Name' and 'Color', use 'fields($select=Name,Color)'. SharePoint internal field names may differ from display names; call without expand first (or use 'fields' alone) to discover actual internal names before filtering or selecting specific fields.\").optional(),\n filter: z.string().describe(\"An OData filter query to restrict the results. For example, to filter items where 'Quantity' is less than 600, use 'fields/Quantity lt 600'.\").optional(),\n select: z.string().describe(\"A comma-separated list of properties to include in the response. Often used in conjunction with '$expand=fields(select=...)'. For example, 'id,name,fields'.\").optional(),\n list_id: z.string().describe(\"The unique identifier of the list within the SharePoint site.\"),\n orderby: z.string().describe(\"OData order by expression to sort results. For example, 'fields/Name asc' or 'fields/Quantity desc'.\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site.\"),\n});\nconst OneDriveGetSharepointListItems_ListItemSchema = z.object({\n id: z.string().describe(\"The unique ID of the list item.\").nullable(),\n fields: z.record(z.string(), z.unknown()).describe(\"An object containing the key-value pairs of the list item's columns and their values. Supports primitive types, arrays, and nested objects (e.g., lookup fields, person fields, multi-select fields).\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetSharepointListItemsOutput = z.object({\n value: z.array(OneDriveGetSharepointListItems_ListItemSchema).describe(\"A collection of listItem objects.\"),\n \"@odata.count\": z.number().int().describe(\"The total count of items in the collection, if requested with $count=true.\").nullable().optional(),\n \"@odata.nextLink\": z.string().describe(\"URL to retrieve the next page of items, if applicable.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetSharepointListItems: AppAction<\n typeof OneDriveGetSharepointListItemsInput,\n typeof OneDriveGetSharepointListItemsOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_GET_SHAREPOINT_LIST_ITEMS\", {\n slug: \"one_drive-get-sharepoint-list-items\",\n name: \"Get SharePoint List Items\",\n description: \"Tool to get the items (list items) within a specific SharePoint list on a site. Use when you need to retrieve data from a SharePoint list.\",\n input: OneDriveGetSharepointListItemsInput,\n output: OneDriveGetSharepointListItemsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC5H,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2ZAA2Z,CAAC,CAAC,SAAS;CAClc,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACrL,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACrM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC9I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AAC9E,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC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