@keystrokehq/one_drive 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/actions/add-workbook-worksheet.cjs +1 -1
- package/dist/actions/add-workbook-worksheet.cjs.map +1 -1
- package/dist/actions/add-workbook-worksheet.d.cts +14 -2
- package/dist/actions/add-workbook-worksheet.d.mts +14 -2
- package/dist/actions/add-workbook-worksheet.mjs +1 -1
- package/dist/actions/add-workbook-worksheet.mjs.map +1 -1
- package/dist/actions/checkin-item.cjs +1 -1
- package/dist/actions/checkin-item.cjs.map +1 -1
- package/dist/actions/checkin-item.d.cts +14 -2
- package/dist/actions/checkin-item.d.mts +14 -2
- package/dist/actions/checkin-item.mjs +1 -1
- package/dist/actions/checkin-item.mjs.map +1 -1
- package/dist/actions/checkout-item.cjs +1 -1
- package/dist/actions/checkout-item.cjs.map +1 -1
- package/dist/actions/checkout-item.d.cts +14 -2
- package/dist/actions/checkout-item.d.mts +14 -2
- package/dist/actions/checkout-item.mjs +1 -1
- package/dist/actions/checkout-item.mjs.map +1 -1
- package/dist/actions/clear-workbook-range.cjs +1 -1
- package/dist/actions/clear-workbook-range.cjs.map +1 -1
- package/dist/actions/clear-workbook-range.d.cts +14 -2
- package/dist/actions/clear-workbook-range.d.mts +14 -2
- package/dist/actions/clear-workbook-range.mjs +1 -1
- package/dist/actions/clear-workbook-range.mjs.map +1 -1
- package/dist/actions/copy-item.cjs +1 -1
- package/dist/actions/copy-item.cjs.map +1 -1
- package/dist/actions/copy-item.d.cts +14 -2
- package/dist/actions/copy-item.d.mts +14 -2
- package/dist/actions/copy-item.mjs +1 -1
- package/dist/actions/copy-item.mjs.map +1 -1
- package/dist/actions/create-item-permission.cjs +3 -3
- package/dist/actions/create-item-permission.cjs.map +1 -1
- package/dist/actions/create-item-permission.d.cts +28 -16
- package/dist/actions/create-item-permission.d.mts +28 -16
- package/dist/actions/create-item-permission.mjs +3 -3
- package/dist/actions/create-item-permission.mjs.map +1 -1
- package/dist/actions/create-link.cjs +4 -4
- package/dist/actions/create-link.cjs.map +1 -1
- package/dist/actions/create-link.d.cts +18 -6
- package/dist/actions/create-link.d.cts.map +1 -1
- package/dist/actions/create-link.d.mts +18 -6
- package/dist/actions/create-link.d.mts.map +1 -1
- package/dist/actions/create-link.mjs +4 -4
- package/dist/actions/create-link.mjs.map +1 -1
- package/dist/actions/create-sharepoint-list-item.d.cts +13 -1
- package/dist/actions/create-sharepoint-list-item.d.cts.map +1 -1
- package/dist/actions/create-sharepoint-list-item.d.mts +13 -1
- package/dist/actions/create-sharepoint-list-item.d.mts.map +1 -1
- package/dist/actions/delete-item-permanently.cjs +1 -1
- package/dist/actions/delete-item-permanently.cjs.map +1 -1
- package/dist/actions/delete-item-permanently.d.cts +14 -2
- package/dist/actions/delete-item-permanently.d.mts +14 -2
- package/dist/actions/delete-item-permanently.mjs +1 -1
- package/dist/actions/delete-item-permanently.mjs.map +1 -1
- package/dist/actions/delete-item-permission.cjs +1 -1
- package/dist/actions/delete-item-permission.cjs.map +1 -1
- package/dist/actions/delete-item-permission.d.cts +14 -2
- package/dist/actions/delete-item-permission.d.mts +14 -2
- package/dist/actions/delete-item-permission.mjs +1 -1
- package/dist/actions/delete-item-permission.mjs.map +1 -1
- package/dist/actions/delete-item.cjs +1 -1
- package/dist/actions/delete-item.cjs.map +1 -1
- package/dist/actions/delete-item.d.cts +14 -2
- package/dist/actions/delete-item.d.mts +14 -2
- package/dist/actions/delete-item.mjs +1 -1
- package/dist/actions/delete-item.mjs.map +1 -1
- package/dist/actions/delete-share-permission.cjs +1 -1
- package/dist/actions/delete-share-permission.cjs.map +1 -1
- package/dist/actions/delete-share-permission.d.cts +14 -2
- package/dist/actions/delete-share-permission.d.mts +14 -2
- package/dist/actions/delete-share-permission.mjs +1 -1
- package/dist/actions/delete-share-permission.mjs.map +1 -1
- package/dist/actions/delete-sharepoint-item-permission.d.cts +13 -1
- package/dist/actions/delete-sharepoint-item-permission.d.mts +13 -1
- package/dist/actions/delete-workbook-range.cjs +1 -1
- package/dist/actions/delete-workbook-range.cjs.map +1 -1
- package/dist/actions/delete-workbook-range.d.cts +14 -2
- package/dist/actions/delete-workbook-range.d.mts +14 -2
- package/dist/actions/delete-workbook-range.mjs +1 -1
- package/dist/actions/delete-workbook-range.mjs.map +1 -1
- package/dist/actions/delete-workbook-worksheet.cjs +1 -1
- package/dist/actions/delete-workbook-worksheet.cjs.map +1 -1
- package/dist/actions/delete-workbook-worksheet.d.cts +14 -2
- package/dist/actions/delete-workbook-worksheet.d.mts +14 -2
- package/dist/actions/delete-workbook-worksheet.mjs +1 -1
- package/dist/actions/delete-workbook-worksheet.mjs.map +1 -1
- package/dist/actions/discard-checkout.cjs +1 -1
- package/dist/actions/discard-checkout.cjs.map +1 -1
- package/dist/actions/discard-checkout.d.cts +14 -2
- package/dist/actions/discard-checkout.d.mts +14 -2
- package/dist/actions/discard-checkout.mjs +1 -1
- package/dist/actions/discard-checkout.mjs.map +1 -1
- package/dist/actions/download-file-by-path.cjs +2 -2
- package/dist/actions/download-file-by-path.cjs.map +1 -1
- package/dist/actions/download-file-by-path.d.cts +15 -3
- package/dist/actions/download-file-by-path.d.mts +15 -3
- package/dist/actions/download-file-by-path.mjs +2 -2
- package/dist/actions/download-file-by-path.mjs.map +1 -1
- package/dist/actions/download-file.cjs +2 -2
- package/dist/actions/download-file.cjs.map +1 -1
- package/dist/actions/download-file.d.cts +15 -3
- package/dist/actions/download-file.d.mts +15 -3
- package/dist/actions/download-file.mjs +2 -2
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/download-item-as-format.cjs +2 -2
- package/dist/actions/download-item-as-format.cjs.map +1 -1
- package/dist/actions/download-item-as-format.d.cts +15 -3
- package/dist/actions/download-item-as-format.d.mts +15 -3
- package/dist/actions/download-item-as-format.mjs +2 -2
- package/dist/actions/download-item-as-format.mjs.map +1 -1
- package/dist/actions/download-item-version.cjs +2 -2
- package/dist/actions/download-item-version.cjs.map +1 -1
- package/dist/actions/download-item-version.d.cts +15 -3
- package/dist/actions/download-item-version.d.mts +15 -3
- package/dist/actions/download-item-version.mjs +2 -2
- package/dist/actions/download-item-version.mjs.map +1 -1
- package/dist/actions/follow-item.cjs +1 -1
- package/dist/actions/follow-item.cjs.map +1 -1
- package/dist/actions/follow-item.d.cts +14 -2
- package/dist/actions/follow-item.d.mts +14 -2
- package/dist/actions/follow-item.mjs +1 -1
- package/dist/actions/follow-item.mjs.map +1 -1
- package/dist/actions/get-document-comments.cjs +2 -2
- package/dist/actions/get-document-comments.cjs.map +1 -1
- package/dist/actions/get-document-comments.d.cts +15 -3
- package/dist/actions/get-document-comments.d.mts +15 -3
- package/dist/actions/get-document-comments.mjs +2 -2
- package/dist/actions/get-document-comments.mjs.map +1 -1
- package/dist/actions/get-drive-item-by-sharing-url.cjs +2 -2
- package/dist/actions/get-drive-item-by-sharing-url.cjs.map +1 -1
- package/dist/actions/get-drive-item-by-sharing-url.d.cts +15 -3
- package/dist/actions/get-drive-item-by-sharing-url.d.mts +15 -3
- package/dist/actions/get-drive-item-by-sharing-url.mjs +2 -2
- package/dist/actions/get-drive-item-by-sharing-url.mjs.map +1 -1
- package/dist/actions/get-drive.cjs +5 -5
- package/dist/actions/get-drive.cjs.map +1 -1
- package/dist/actions/get-drive.d.cts +31 -19
- package/dist/actions/get-drive.d.mts +31 -19
- package/dist/actions/get-drive.mjs +5 -5
- package/dist/actions/get-drive.mjs.map +1 -1
- package/dist/actions/get-followed-item.cjs +4 -4
- package/dist/actions/get-followed-item.cjs.map +1 -1
- package/dist/actions/get-followed-item.d.cts +18 -6
- package/dist/actions/get-followed-item.d.mts +18 -6
- package/dist/actions/get-followed-item.mjs +4 -4
- package/dist/actions/get-followed-item.mjs.map +1 -1
- package/dist/actions/get-group-drive.cjs +5 -5
- package/dist/actions/get-group-drive.cjs.map +1 -1
- package/dist/actions/get-group-drive.d.cts +31 -19
- package/dist/actions/get-group-drive.d.mts +31 -19
- package/dist/actions/get-group-drive.mjs +5 -5
- package/dist/actions/get-group-drive.mjs.map +1 -1
- package/dist/actions/get-item-permissions.cjs +8 -8
- package/dist/actions/get-item-permissions.cjs.map +1 -1
- package/dist/actions/get-item-permissions.d.cts +37 -25
- package/dist/actions/get-item-permissions.d.mts +37 -25
- package/dist/actions/get-item-permissions.mjs +8 -8
- package/dist/actions/get-item-permissions.mjs.map +1 -1
- package/dist/actions/get-item-thumbnails.cjs +3 -3
- package/dist/actions/get-item-thumbnails.cjs.map +1 -1
- package/dist/actions/get-item-thumbnails.d.cts +18 -6
- package/dist/actions/get-item-thumbnails.d.mts +18 -6
- package/dist/actions/get-item-thumbnails.mjs +3 -3
- package/dist/actions/get-item-thumbnails.mjs.map +1 -1
- package/dist/actions/get-item-versions.cjs +6 -6
- package/dist/actions/get-item-versions.cjs.map +1 -1
- package/dist/actions/get-item-versions.d.cts +25 -13
- package/dist/actions/get-item-versions.d.mts +25 -13
- package/dist/actions/get-item-versions.mjs +6 -6
- package/dist/actions/get-item-versions.mjs.map +1 -1
- package/dist/actions/get-item.cjs +7 -7
- package/dist/actions/get-item.cjs.map +1 -1
- package/dist/actions/get-item.d.cts +37 -25
- package/dist/actions/get-item.d.mts +37 -25
- package/dist/actions/get-item.mjs +7 -7
- package/dist/actions/get-item.mjs.map +1 -1
- package/dist/actions/get-root.cjs +7 -7
- package/dist/actions/get-root.cjs.map +1 -1
- package/dist/actions/get-root.d.cts +26 -14
- package/dist/actions/get-root.d.mts +26 -14
- package/dist/actions/get-root.mjs +7 -7
- package/dist/actions/get-root.mjs.map +1 -1
- package/dist/actions/get-share.cjs +2 -2
- package/dist/actions/get-share.cjs.map +1 -1
- package/dist/actions/get-share.d.cts +15 -3
- package/dist/actions/get-share.d.mts +15 -3
- package/dist/actions/get-share.mjs +2 -2
- package/dist/actions/get-share.mjs.map +1 -1
- package/dist/actions/get-sharepoint-list-items.cjs +2 -2
- package/dist/actions/get-sharepoint-list-items.cjs.map +1 -1
- package/dist/actions/get-sharepoint-list-items.d.cts +15 -3
- package/dist/actions/get-sharepoint-list-items.d.mts +15 -3
- package/dist/actions/get-sharepoint-list-items.mjs +2 -2
- package/dist/actions/get-sharepoint-list-items.mjs.map +1 -1
- package/dist/actions/get-site-page-content.cjs +12 -12
- package/dist/actions/get-site-page-content.cjs.map +1 -1
- package/dist/actions/get-site-page-content.d.cts +25 -13
- package/dist/actions/get-site-page-content.d.mts +25 -13
- package/dist/actions/get-site-page-content.mjs +12 -12
- package/dist/actions/get-site-page-content.mjs.map +1 -1
- package/dist/actions/get-site.cjs +1 -1
- package/dist/actions/get-site.cjs.map +1 -1
- package/dist/actions/get-site.d.cts +14 -2
- package/dist/actions/get-site.d.mts +14 -2
- package/dist/actions/get-site.mjs +1 -1
- package/dist/actions/get-site.mjs.map +1 -1
- package/dist/actions/get-special-folder.cjs +7 -7
- package/dist/actions/get-special-folder.cjs.map +1 -1
- package/dist/actions/get-special-folder.d.cts +24 -12
- package/dist/actions/get-special-folder.d.mts +24 -12
- package/dist/actions/get-special-folder.mjs +7 -7
- package/dist/actions/get-special-folder.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -1
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +14 -2
- package/dist/actions/get-user.d.mts +14 -2
- package/dist/actions/get-user.mjs +1 -1
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-workbook-used-range.cjs +1 -1
- package/dist/actions/get-workbook-used-range.cjs.map +1 -1
- package/dist/actions/get-workbook-used-range.d.cts +14 -2
- package/dist/actions/get-workbook-used-range.d.mts +14 -2
- package/dist/actions/get-workbook-used-range.mjs +1 -1
- package/dist/actions/get-workbook-used-range.mjs.map +1 -1
- package/dist/actions/get-workbook-worksheet.cjs +1 -1
- package/dist/actions/get-workbook-worksheet.cjs.map +1 -1
- package/dist/actions/get-workbook-worksheet.d.cts +14 -2
- package/dist/actions/get-workbook-worksheet.d.mts +14 -2
- package/dist/actions/get-workbook-worksheet.mjs +1 -1
- package/dist/actions/get-workbook-worksheet.mjs.map +1 -1
- package/dist/actions/grant-share-permission.cjs +5 -5
- package/dist/actions/grant-share-permission.cjs.map +1 -1
- package/dist/actions/grant-share-permission.d.cts +19 -6
- package/dist/actions/grant-share-permission.d.mts +19 -6
- package/dist/actions/grant-share-permission.mjs +5 -5
- package/dist/actions/grant-share-permission.mjs.map +1 -1
- package/dist/actions/grant-sharepoint-item-permission.d.cts +13 -1
- package/dist/actions/grant-sharepoint-item-permission.d.mts +13 -1
- package/dist/actions/invite-user-to-item.cjs +7 -7
- package/dist/actions/invite-user-to-item.cjs.map +1 -1
- package/dist/actions/invite-user-to-item.d.cts +21 -8
- package/dist/actions/invite-user-to-item.d.mts +21 -8
- package/dist/actions/invite-user-to-item.mjs +7 -7
- package/dist/actions/invite-user-to-item.mjs.map +1 -1
- package/dist/actions/list-activities.cjs +20 -20
- package/dist/actions/list-activities.cjs.map +1 -1
- package/dist/actions/list-activities.d.cts +77 -65
- package/dist/actions/list-activities.d.mts +77 -65
- package/dist/actions/list-activities.mjs +20 -20
- package/dist/actions/list-activities.mjs.map +1 -1
- package/dist/actions/list-all-drive-items.cjs +29 -29
- package/dist/actions/list-all-drive-items.cjs.map +1 -1
- package/dist/actions/list-all-drive-items.d.cts +55 -43
- package/dist/actions/list-all-drive-items.d.mts +55 -43
- package/dist/actions/list-all-drive-items.mjs +29 -29
- package/dist/actions/list-all-drive-items.mjs.map +1 -1
- package/dist/actions/list-bundles.cjs +6 -6
- package/dist/actions/list-bundles.cjs.map +1 -1
- package/dist/actions/list-bundles.d.cts +25 -13
- package/dist/actions/list-bundles.d.mts +25 -13
- package/dist/actions/list-bundles.mjs +6 -6
- package/dist/actions/list-bundles.mjs.map +1 -1
- package/dist/actions/list-drives.cjs +5 -5
- package/dist/actions/list-drives.cjs.map +1 -1
- package/dist/actions/list-drives.d.cts +22 -10
- package/dist/actions/list-drives.d.mts +22 -10
- package/dist/actions/list-drives.mjs +5 -5
- package/dist/actions/list-drives.mjs.map +1 -1
- package/dist/actions/list-folder-children.cjs +29 -29
- package/dist/actions/list-folder-children.cjs.map +1 -1
- package/dist/actions/list-folder-children.d.cts +55 -43
- package/dist/actions/list-folder-children.d.mts +55 -43
- package/dist/actions/list-folder-children.mjs +29 -29
- package/dist/actions/list-folder-children.mjs.map +1 -1
- package/dist/actions/list-item-activities.cjs +4 -4
- package/dist/actions/list-item-activities.cjs.map +1 -1
- package/dist/actions/list-item-activities.d.cts +17 -5
- package/dist/actions/list-item-activities.d.mts +17 -5
- package/dist/actions/list-item-activities.mjs +4 -4
- package/dist/actions/list-item-activities.mjs.map +1 -1
- package/dist/actions/list-onedrive-shared-items.d.cts +13 -1
- package/dist/actions/list-onedrive-shared-items.d.mts +13 -1
- package/dist/actions/list-root-drive-changes.cjs +7 -7
- package/dist/actions/list-root-drive-changes.cjs.map +1 -1
- package/dist/actions/list-root-drive-changes.d.cts +20 -8
- package/dist/actions/list-root-drive-changes.d.mts +20 -8
- package/dist/actions/list-root-drive-changes.mjs +7 -7
- package/dist/actions/list-root-drive-changes.mjs.map +1 -1
- package/dist/actions/list-share-permissions.cjs +2 -2
- package/dist/actions/list-share-permissions.cjs.map +1 -1
- package/dist/actions/list-share-permissions.d.cts +15 -3
- package/dist/actions/list-share-permissions.d.mts +15 -3
- package/dist/actions/list-share-permissions.mjs +2 -2
- package/dist/actions/list-share-permissions.mjs.map +1 -1
- package/dist/actions/list-sharepoint-item-permissions.d.cts +13 -1
- package/dist/actions/list-sharepoint-item-permissions.d.mts +13 -1
- package/dist/actions/list-sharepoint-list-items-delta.cjs +3 -3
- package/dist/actions/list-sharepoint-list-items-delta.cjs.map +1 -1
- package/dist/actions/list-sharepoint-list-items-delta.d.cts +16 -4
- package/dist/actions/list-sharepoint-list-items-delta.d.mts +16 -4
- package/dist/actions/list-sharepoint-list-items-delta.mjs +3 -3
- package/dist/actions/list-sharepoint-list-items-delta.mjs.map +1 -1
- package/dist/actions/list-site-columns.cjs +2 -2
- package/dist/actions/list-site-columns.cjs.map +1 -1
- package/dist/actions/list-site-columns.d.cts +15 -3
- package/dist/actions/list-site-columns.d.mts +15 -3
- package/dist/actions/list-site-columns.mjs +2 -2
- package/dist/actions/list-site-columns.mjs.map +1 -1
- package/dist/actions/list-site-items-delta.cjs +2 -2
- package/dist/actions/list-site-items-delta.cjs.map +1 -1
- package/dist/actions/list-site-items-delta.d.cts +15 -3
- package/dist/actions/list-site-items-delta.d.mts +15 -3
- package/dist/actions/list-site-items-delta.mjs +2 -2
- package/dist/actions/list-site-items-delta.mjs.map +1 -1
- package/dist/actions/list-site-lists.cjs +9 -9
- package/dist/actions/list-site-lists.cjs.map +1 -1
- package/dist/actions/list-site-lists.d.cts +28 -16
- package/dist/actions/list-site-lists.d.mts +28 -16
- package/dist/actions/list-site-lists.mjs +9 -9
- package/dist/actions/list-site-lists.mjs.map +1 -1
- package/dist/actions/list-site-subsites.cjs +2 -2
- package/dist/actions/list-site-subsites.cjs.map +1 -1
- package/dist/actions/list-site-subsites.d.cts +15 -3
- package/dist/actions/list-site-subsites.d.mts +15 -3
- package/dist/actions/list-site-subsites.mjs +2 -2
- package/dist/actions/list-site-subsites.mjs.map +1 -1
- package/dist/actions/list-subscriptions.cjs +2 -2
- package/dist/actions/list-subscriptions.cjs.map +1 -1
- package/dist/actions/list-subscriptions.d.cts +15 -3
- package/dist/actions/list-subscriptions.d.cts.map +1 -1
- package/dist/actions/list-subscriptions.d.mts +15 -3
- package/dist/actions/list-subscriptions.d.mts.map +1 -1
- package/dist/actions/list-subscriptions.mjs +2 -2
- package/dist/actions/list-subscriptions.mjs.map +1 -1
- package/dist/actions/list-workbook-worksheets.cjs +2 -2
- package/dist/actions/list-workbook-worksheets.cjs.map +1 -1
- package/dist/actions/list-workbook-worksheets.d.cts +15 -3
- package/dist/actions/list-workbook-worksheets.d.mts +15 -3
- package/dist/actions/list-workbook-worksheets.mjs +2 -2
- package/dist/actions/list-workbook-worksheets.mjs.map +1 -1
- package/dist/actions/move-item.cjs +2 -2
- package/dist/actions/move-item.cjs.map +1 -1
- package/dist/actions/move-item.d.cts +15 -3
- package/dist/actions/move-item.d.mts +15 -3
- package/dist/actions/move-item.mjs +2 -2
- package/dist/actions/move-item.mjs.map +1 -1
- package/dist/actions/onedrive-create-folder.cjs +1 -1
- package/dist/actions/onedrive-create-folder.cjs.map +1 -1
- package/dist/actions/onedrive-create-folder.d.cts +14 -2
- package/dist/actions/onedrive-create-folder.d.mts +14 -2
- package/dist/actions/onedrive-create-folder.mjs +1 -1
- package/dist/actions/onedrive-create-folder.mjs.map +1 -1
- package/dist/actions/onedrive-create-text-file.cjs +2 -2
- package/dist/actions/onedrive-create-text-file.cjs.map +1 -1
- package/dist/actions/onedrive-create-text-file.d.cts +15 -3
- package/dist/actions/onedrive-create-text-file.d.mts +15 -3
- package/dist/actions/onedrive-create-text-file.mjs +2 -2
- package/dist/actions/onedrive-create-text-file.mjs.map +1 -1
- package/dist/actions/onedrive-find-file.cjs +11 -11
- package/dist/actions/onedrive-find-file.cjs.map +1 -1
- package/dist/actions/onedrive-find-file.d.cts +31 -19
- package/dist/actions/onedrive-find-file.d.mts +31 -19
- package/dist/actions/onedrive-find-file.mjs +11 -11
- package/dist/actions/onedrive-find-file.mjs.map +1 -1
- package/dist/actions/onedrive-find-folder.cjs +7 -7
- package/dist/actions/onedrive-find-folder.cjs.map +1 -1
- package/dist/actions/onedrive-find-folder.d.cts +26 -14
- package/dist/actions/onedrive-find-folder.d.mts +26 -14
- package/dist/actions/onedrive-find-folder.mjs +7 -7
- package/dist/actions/onedrive-find-folder.mjs.map +1 -1
- package/dist/actions/onedrive-list-items.cjs +28 -28
- package/dist/actions/onedrive-list-items.cjs.map +1 -1
- package/dist/actions/onedrive-list-items.d.cts +49 -37
- package/dist/actions/onedrive-list-items.d.mts +49 -37
- package/dist/actions/onedrive-list-items.mjs +28 -28
- package/dist/actions/onedrive-list-items.mjs.map +1 -1
- package/dist/actions/onedrive-upload-file.cjs +3 -3
- package/dist/actions/onedrive-upload-file.cjs.map +1 -1
- package/dist/actions/onedrive-upload-file.d.cts +17 -5
- package/dist/actions/onedrive-upload-file.d.cts.map +1 -1
- package/dist/actions/onedrive-upload-file.d.mts +17 -5
- package/dist/actions/onedrive-upload-file.d.mts.map +1 -1
- package/dist/actions/onedrive-upload-file.mjs +3 -3
- package/dist/actions/onedrive-upload-file.mjs.map +1 -1
- package/dist/actions/preview-drive-item.cjs +1 -1
- package/dist/actions/preview-drive-item.cjs.map +1 -1
- package/dist/actions/preview-drive-item.d.cts +14 -2
- package/dist/actions/preview-drive-item.d.mts +14 -2
- package/dist/actions/preview-drive-item.mjs +1 -1
- package/dist/actions/preview-drive-item.mjs.map +1 -1
- package/dist/actions/read-workbook-range.cjs +1 -1
- package/dist/actions/read-workbook-range.cjs.map +1 -1
- package/dist/actions/read-workbook-range.d.cts +14 -2
- package/dist/actions/read-workbook-range.d.mts +14 -2
- package/dist/actions/read-workbook-range.mjs +1 -1
- package/dist/actions/read-workbook-range.mjs.map +1 -1
- package/dist/actions/restore-drive-item.cjs +1 -1
- package/dist/actions/restore-drive-item.cjs.map +1 -1
- package/dist/actions/restore-drive-item.d.cts +14 -2
- package/dist/actions/restore-drive-item.d.mts +14 -2
- package/dist/actions/restore-drive-item.mjs +1 -1
- package/dist/actions/restore-drive-item.mjs.map +1 -1
- package/dist/actions/restore-item-version.cjs +1 -1
- package/dist/actions/restore-item-version.cjs.map +1 -1
- package/dist/actions/restore-item-version.d.cts +14 -2
- package/dist/actions/restore-item-version.d.mts +14 -2
- package/dist/actions/restore-item-version.mjs +1 -1
- package/dist/actions/restore-item-version.mjs.map +1 -1
- package/dist/actions/search-drive-items.d.cts +13 -1
- package/dist/actions/search-drive-items.d.mts +13 -1
- package/dist/actions/search-items.cjs +10 -10
- package/dist/actions/search-items.cjs.map +1 -1
- package/dist/actions/search-items.d.cts +27 -15
- package/dist/actions/search-items.d.mts +27 -15
- package/dist/actions/search-items.mjs +10 -10
- package/dist/actions/search-items.mjs.map +1 -1
- package/dist/actions/unfollow-item.cjs +1 -1
- package/dist/actions/unfollow-item.cjs.map +1 -1
- package/dist/actions/unfollow-item.d.cts +14 -2
- package/dist/actions/unfollow-item.d.mts +14 -2
- package/dist/actions/unfollow-item.mjs +1 -1
- package/dist/actions/unfollow-item.mjs.map +1 -1
- package/dist/actions/update-drive-item-metadata.cjs +5 -5
- package/dist/actions/update-drive-item-metadata.cjs.map +1 -1
- package/dist/actions/update-drive-item-metadata.d.cts +18 -6
- package/dist/actions/update-drive-item-metadata.d.mts +18 -6
- package/dist/actions/update-drive-item-metadata.mjs +5 -5
- package/dist/actions/update-drive-item-metadata.mjs.map +1 -1
- package/dist/actions/update-drive-items-permissions.cjs +4 -4
- package/dist/actions/update-drive-items-permissions.cjs.map +1 -1
- package/dist/actions/update-drive-items-permissions.d.cts +27 -15
- package/dist/actions/update-drive-items-permissions.d.mts +27 -15
- package/dist/actions/update-drive-items-permissions.mjs +4 -4
- package/dist/actions/update-drive-items-permissions.mjs.map +1 -1
- package/dist/actions/update-file-content.cjs +2 -2
- package/dist/actions/update-file-content.cjs.map +1 -1
- package/dist/actions/update-file-content.d.cts +15 -3
- package/dist/actions/update-file-content.d.mts +15 -3
- package/dist/actions/update-file-content.mjs +2 -2
- package/dist/actions/update-file-content.mjs.map +1 -1
- package/dist/actions/update-sharepoint-item-permission.d.cts +13 -1
- package/dist/actions/update-sharepoint-item-permission.d.mts +13 -1
- package/dist/actions/update-sharepoint-list-item-fields.cjs +1 -1
- package/dist/actions/update-sharepoint-list-item-fields.cjs.map +1 -1
- package/dist/actions/update-sharepoint-list-item-fields.d.cts +14 -2
- package/dist/actions/update-sharepoint-list-item-fields.d.cts.map +1 -1
- package/dist/actions/update-sharepoint-list-item-fields.d.mts +14 -2
- package/dist/actions/update-sharepoint-list-item-fields.d.mts.map +1 -1
- package/dist/actions/update-sharepoint-list-item-fields.mjs +1 -1
- package/dist/actions/update-sharepoint-list-item-fields.mjs.map +1 -1
- package/dist/actions/update-workbook-range.cjs +1 -1
- package/dist/actions/update-workbook-range.cjs.map +1 -1
- package/dist/actions/update-workbook-range.d.cts +14 -2
- package/dist/actions/update-workbook-range.d.mts +14 -2
- package/dist/actions/update-workbook-range.mjs +1 -1
- package/dist/actions/update-workbook-range.mjs.map +1 -1
- package/dist/actions/update-workbook-worksheet.cjs +1 -1
- package/dist/actions/update-workbook-worksheet.cjs.map +1 -1
- package/dist/actions/update-workbook-worksheet.d.cts +14 -2
- package/dist/actions/update-workbook-worksheet.d.mts +14 -2
- package/dist/actions/update-workbook-worksheet.mjs +1 -1
- package/dist/actions/update-workbook-worksheet.mjs.map +1 -1
- package/dist/actions/write-workbook-cell.cjs +1 -1
- package/dist/actions/write-workbook-cell.cjs.map +1 -1
- package/dist/actions/write-workbook-cell.d.cts +14 -2
- package/dist/actions/write-workbook-cell.d.mts +14 -2
- package/dist/actions/write-workbook-cell.mjs +1 -1
- package/dist/actions/write-workbook-cell.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ const OneDriveAddWorkbookWorksheetOutput = zod.z.object({
|
|
|
12
12
|
name: zod.z.string().describe("The display name of the newly created worksheet.").nullable(),
|
|
13
13
|
position: zod.z.number().int().describe("The zero-based position of the worksheet within the workbook's worksheet collection.").nullable(),
|
|
14
14
|
visibility: zod.z.string().describe("The visibility state of the worksheet. Possible values: 'Visible', 'Hidden', 'VeryHidden'.").nullable()
|
|
15
|
-
});
|
|
15
|
+
}).passthrough();
|
|
16
16
|
const oneDriveAddWorkbookWorksheet = require_action.action("ONE_DRIVE_ADD_WORKBOOK_WORKSHEET", {
|
|
17
17
|
slug: "one_drive-add-workbook-worksheet",
|
|
18
18
|
name: "Add Workbook Worksheet",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-workbook-worksheet.cjs","names":["z","action"],"sources":["../../src/actions/add-workbook-worksheet.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveAddWorkbookWorksheetInput = z.object({\n name: z.string().describe(\"Optional name for the new worksheet. If omitted, Excel determines the worksheet name. If a worksheet with this name already exists, the API will return an error.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file) where the worksheet will be added. Must be a valid driveItem ID for an Excel workbook. Obtain from ONE_DRIVE_LIST_FOLDER_CHILDREN, ONE_DRIVE_SEARCH_ITEMS, or similar operations.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Obtain from ONE_DRIVE_LIST_DRIVES or similar operations.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to add the worksheet in an existing Excel workbook session.\").optional(),\n});\nexport const OneDriveAddWorkbookWorksheetOutput = z.object({\n id: z.string().describe(\"The unique identifier of the newly created worksheet.\").nullable(),\n name: z.string().describe(\"The display name of the newly created worksheet.\").nullable(),\n position: z.number().int().describe(\"The zero-based position of the worksheet within the workbook's worksheet collection.\").nullable(),\n visibility: z.string().describe(\"The visibility state of the worksheet. Possible values: 'Visible', 'Hidden', 'VeryHidden'.\").nullable(),\n});\n\nexport const oneDriveAddWorkbookWorksheet = action(\"ONE_DRIVE_ADD_WORKBOOK_WORKSHEET\", {\n slug: \"one_drive-add-workbook-worksheet\",\n name: \"Add Workbook Worksheet\",\n description: \"Adds a new worksheet to an existing Excel workbook in OneDrive or SharePoint. The worksheet is created with the specified name and appended to the end of the workbook's worksheet collection. Use this action when you need to create a new sheet in an Excel file to organize data, add reports, or separate information into logical sections.\",\n input: OneDriveAddWorkbookWorksheetInput,\n output: OneDriveAddWorkbookWorksheetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACxM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2OAA2O;CACxQ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;CACpJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AACjJ,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACrI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACzI,CAAC;
|
|
1
|
+
{"version":3,"file":"add-workbook-worksheet.cjs","names":["z","action"],"sources":["../../src/actions/add-workbook-worksheet.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveAddWorkbookWorksheetInput = z.object({\n name: z.string().describe(\"Optional name for the new worksheet. If omitted, Excel determines the worksheet name. If a worksheet with this name already exists, the API will return an error.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file) where the worksheet will be added. Must be a valid driveItem ID for an Excel workbook. Obtain from ONE_DRIVE_LIST_FOLDER_CHILDREN, ONE_DRIVE_SEARCH_ITEMS, or similar operations.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Obtain from ONE_DRIVE_LIST_DRIVES or similar operations.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to add the worksheet in an existing Excel workbook session.\").optional(),\n});\nexport const OneDriveAddWorkbookWorksheetOutput = z.object({\n id: z.string().describe(\"The unique identifier of the newly created worksheet.\").nullable(),\n name: z.string().describe(\"The display name of the newly created worksheet.\").nullable(),\n position: z.number().int().describe(\"The zero-based position of the worksheet within the workbook's worksheet collection.\").nullable(),\n visibility: z.string().describe(\"The visibility state of the worksheet. Possible values: 'Visible', 'Hidden', 'VeryHidden'.\").nullable(),\n}).passthrough();\n\nexport const oneDriveAddWorkbookWorksheet = action(\"ONE_DRIVE_ADD_WORKBOOK_WORKSHEET\", {\n slug: \"one_drive-add-workbook-worksheet\",\n name: \"Add Workbook Worksheet\",\n description: \"Adds a new worksheet to an existing Excel workbook in OneDrive or SharePoint. The worksheet is created with the specified name and appended to the end of the workbook's worksheet collection. Use this action when you need to create a new sheet in an Excel file to organize data, add reports, or separate information into logical sections.\",\n input: OneDriveAddWorkbookWorksheetInput,\n output: OneDriveAddWorkbookWorksheetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACxM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2OAA2O;CACxQ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;CACpJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AACjJ,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACrI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,13 +12,25 @@ declare const OneDriveAddWorkbookWorksheetOutput: z.ZodObject<{
|
|
|
12
12
|
name: z.ZodNullable<z.ZodString>;
|
|
13
13
|
position: z.ZodNullable<z.ZodNumber>;
|
|
14
14
|
visibility: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const oneDriveAddWorkbookWorksheet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
item_id: string;
|
|
18
18
|
drive_id: string;
|
|
19
19
|
name?: string | undefined;
|
|
20
20
|
session_id?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
22
|
+
connectionId: z.ZodString;
|
|
23
|
+
entityId: z.ZodString;
|
|
24
|
+
instanceId: z.ZodString;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
accessToken: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
28
|
+
connectionId: z.ZodString;
|
|
29
|
+
entityId: z.ZodString;
|
|
30
|
+
instanceId: z.ZodString;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
accessToken: z.ZodString;
|
|
33
|
+
}, z.core.$strip>>]>;
|
|
22
34
|
//#endregion
|
|
23
35
|
export { oneDriveAddWorkbookWorksheet };
|
|
24
36
|
//# sourceMappingURL=add-workbook-worksheet.d.cts.map
|
|
@@ -12,13 +12,25 @@ declare const OneDriveAddWorkbookWorksheetOutput: z.ZodObject<{
|
|
|
12
12
|
name: z.ZodNullable<z.ZodString>;
|
|
13
13
|
position: z.ZodNullable<z.ZodNumber>;
|
|
14
14
|
visibility: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const oneDriveAddWorkbookWorksheet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
item_id: string;
|
|
18
18
|
drive_id: string;
|
|
19
19
|
name?: string | undefined;
|
|
20
20
|
session_id?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
22
|
+
connectionId: z.ZodString;
|
|
23
|
+
entityId: z.ZodString;
|
|
24
|
+
instanceId: z.ZodString;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
accessToken: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
28
|
+
connectionId: z.ZodString;
|
|
29
|
+
entityId: z.ZodString;
|
|
30
|
+
instanceId: z.ZodString;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
accessToken: z.ZodString;
|
|
33
|
+
}, z.core.$strip>>]>;
|
|
22
34
|
//#endregion
|
|
23
35
|
export { oneDriveAddWorkbookWorksheet };
|
|
24
36
|
//# sourceMappingURL=add-workbook-worksheet.d.mts.map
|
|
@@ -15,7 +15,7 @@ const oneDriveAddWorkbookWorksheet = action("ONE_DRIVE_ADD_WORKBOOK_WORKSHEET",
|
|
|
15
15
|
name: z.string().describe("The display name of the newly created worksheet.").nullable(),
|
|
16
16
|
position: z.number().int().describe("The zero-based position of the worksheet within the workbook's worksheet collection.").nullable(),
|
|
17
17
|
visibility: z.string().describe("The visibility state of the worksheet. Possible values: 'Visible', 'Hidden', 'VeryHidden'.").nullable()
|
|
18
|
-
})
|
|
18
|
+
}).passthrough()
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { oneDriveAddWorkbookWorksheet };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-workbook-worksheet.mjs","names":[],"sources":["../../src/actions/add-workbook-worksheet.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveAddWorkbookWorksheetInput = z.object({\n name: z.string().describe(\"Optional name for the new worksheet. If omitted, Excel determines the worksheet name. If a worksheet with this name already exists, the API will return an error.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file) where the worksheet will be added. Must be a valid driveItem ID for an Excel workbook. Obtain from ONE_DRIVE_LIST_FOLDER_CHILDREN, ONE_DRIVE_SEARCH_ITEMS, or similar operations.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Obtain from ONE_DRIVE_LIST_DRIVES or similar operations.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to add the worksheet in an existing Excel workbook session.\").optional(),\n});\nexport const OneDriveAddWorkbookWorksheetOutput = z.object({\n id: z.string().describe(\"The unique identifier of the newly created worksheet.\").nullable(),\n name: z.string().describe(\"The display name of the newly created worksheet.\").nullable(),\n position: z.number().int().describe(\"The zero-based position of the worksheet within the workbook's worksheet collection.\").nullable(),\n visibility: z.string().describe(\"The visibility state of the worksheet. Possible values: 'Visible', 'Hidden', 'VeryHidden'.\").nullable(),\n});\n\nexport const oneDriveAddWorkbookWorksheet = action(\"ONE_DRIVE_ADD_WORKBOOK_WORKSHEET\", {\n slug: \"one_drive-add-workbook-worksheet\",\n name: \"Add Workbook Worksheet\",\n description: \"Adds a new worksheet to an existing Excel workbook in OneDrive or SharePoint. The worksheet is created with the specified name and appended to the end of the workbook's worksheet collection. Use this action when you need to create a new sheet in an Excel file to organize data, add reports, or separate information into logical sections.\",\n input: OneDriveAddWorkbookWorksheetInput,\n output: OneDriveAddWorkbookWorksheetOutput,\n});\n"],"mappings":";;AAiBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;EACxM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2OAA2O;EACxQ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;EACpJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACjJ,CAYS;CACP,QAZgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACrI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACzI,
|
|
1
|
+
{"version":3,"file":"add-workbook-worksheet.mjs","names":[],"sources":["../../src/actions/add-workbook-worksheet.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveAddWorkbookWorksheetInput = z.object({\n name: z.string().describe(\"Optional name for the new worksheet. If omitted, Excel determines the worksheet name. If a worksheet with this name already exists, the API will return an error.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file) where the worksheet will be added. Must be a valid driveItem ID for an Excel workbook. Obtain from ONE_DRIVE_LIST_FOLDER_CHILDREN, ONE_DRIVE_SEARCH_ITEMS, or similar operations.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Obtain from ONE_DRIVE_LIST_DRIVES or similar operations.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to add the worksheet in an existing Excel workbook session.\").optional(),\n});\nexport const OneDriveAddWorkbookWorksheetOutput = z.object({\n id: z.string().describe(\"The unique identifier of the newly created worksheet.\").nullable(),\n name: z.string().describe(\"The display name of the newly created worksheet.\").nullable(),\n position: z.number().int().describe(\"The zero-based position of the worksheet within the workbook's worksheet collection.\").nullable(),\n visibility: z.string().describe(\"The visibility state of the worksheet. Possible values: 'Visible', 'Hidden', 'VeryHidden'.\").nullable(),\n}).passthrough();\n\nexport const oneDriveAddWorkbookWorksheet = action(\"ONE_DRIVE_ADD_WORKBOOK_WORKSHEET\", {\n slug: \"one_drive-add-workbook-worksheet\",\n name: \"Add Workbook Worksheet\",\n description: \"Adds a new worksheet to an existing Excel workbook in OneDrive or SharePoint. The worksheet is created with the specified name and appended to the end of the workbook's worksheet collection. Use this action when you need to create a new sheet in an Excel file to organize data, add reports, or separate information into logical sections.\",\n input: OneDriveAddWorkbookWorksheetInput,\n output: OneDriveAddWorkbookWorksheetOutput,\n});\n"],"mappings":";;AAiBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;EACxM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2OAA2O;EACxQ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;EACpJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACjJ,CAYS;CACP,QAZgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACrI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACzI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ const OneDriveCheckinItemInput = zod.z.object({
|
|
|
7
7
|
check_in_as: zod.z.string().describe("Optional. The status of the document after the check-in operation is complete. Can be 'published' or unspecified.").optional(),
|
|
8
8
|
drive_item_id: zod.z.string().describe("The unique identifier of the driveItem to check in.")
|
|
9
9
|
});
|
|
10
|
-
const OneDriveCheckinItemOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the check-in operation.").nullable() });
|
|
10
|
+
const OneDriveCheckinItemOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the check-in operation.").nullable() }).passthrough();
|
|
11
11
|
const oneDriveCheckinItem = require_action.action("ONE_DRIVE_CHECKIN_ITEM", {
|
|
12
12
|
slug: "one_drive-checkin-item",
|
|
13
13
|
name: "Check In Drive Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkin-item.cjs","names":["z","action"],"sources":["../../src/actions/checkin-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCheckinItemInput = z.object({\n comment: z.string().describe(\"A check-in comment that is associated with the version.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to check in.\"),\n check_in_as: z.string().describe(\"Optional. The status of the document after the check-in operation is complete. Can be 'published' or unspecified.\").optional(),\n drive_item_id: z.string().describe(\"The unique identifier of the driveItem to check in.\"),\n});\nexport const OneDriveCheckinItemOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the check-in operation.\").nullable(),\n});\n\nexport const oneDriveCheckinItem = action(\"ONE_DRIVE_CHECKIN_ITEM\", {\n slug: \"one_drive-checkin-item\",\n name: \"Check In Drive Item\",\n description: \"Tool to check in a checked out driveItem resource, making the version of the document available to others. Use when you need to check in a file that was previously checked out in OneDrive or SharePoint.\",\n input: OneDriveCheckinItemInput,\n output: OneDriveCheckinItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC/J,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AAC1F,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC;
|
|
1
|
+
{"version":3,"file":"checkin-item.cjs","names":["z","action"],"sources":["../../src/actions/checkin-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCheckinItemInput = z.object({\n comment: z.string().describe(\"A check-in comment that is associated with the version.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to check in.\"),\n check_in_as: z.string().describe(\"Optional. The status of the document after the check-in operation is complete. Can be 'published' or unspecified.\").optional(),\n drive_item_id: z.string().describe(\"The unique identifier of the driveItem to check in.\"),\n});\nexport const OneDriveCheckinItemOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the check-in operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveCheckinItem = action(\"ONE_DRIVE_CHECKIN_ITEM\", {\n slug: \"one_drive-checkin-item\",\n name: \"Check In Drive Item\",\n description: \"Tool to check in a checked out driveItem resource, making the version of the document available to others. Use when you need to check in a file that was previously checked out in OneDrive or SharePoint.\",\n input: OneDriveCheckinItemInput,\n output: OneDriveCheckinItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC/J,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AAC1F,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,13 +9,25 @@ declare const OneDriveCheckinItemInput: z.ZodObject<{
|
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const OneDriveCheckinItemOutput: z.ZodObject<{
|
|
11
11
|
message: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const oneDriveCheckinItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
drive_id: string;
|
|
15
15
|
drive_item_id: string;
|
|
16
16
|
comment?: string | undefined;
|
|
17
17
|
check_in_as?: string | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
19
|
+
connectionId: z.ZodString;
|
|
20
|
+
entityId: z.ZodString;
|
|
21
|
+
instanceId: z.ZodString;
|
|
22
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
+
accessToken: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
25
|
+
connectionId: z.ZodString;
|
|
26
|
+
entityId: z.ZodString;
|
|
27
|
+
instanceId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
accessToken: z.ZodString;
|
|
30
|
+
}, z.core.$strip>>]>;
|
|
19
31
|
//#endregion
|
|
20
32
|
export { oneDriveCheckinItem };
|
|
21
33
|
//# sourceMappingURL=checkin-item.d.cts.map
|
|
@@ -9,13 +9,25 @@ declare const OneDriveCheckinItemInput: z.ZodObject<{
|
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const OneDriveCheckinItemOutput: z.ZodObject<{
|
|
11
11
|
message: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const oneDriveCheckinItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
drive_id: string;
|
|
15
15
|
drive_item_id: string;
|
|
16
16
|
comment?: string | undefined;
|
|
17
17
|
check_in_as?: string | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
19
|
+
connectionId: z.ZodString;
|
|
20
|
+
entityId: z.ZodString;
|
|
21
|
+
instanceId: z.ZodString;
|
|
22
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
+
accessToken: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
25
|
+
connectionId: z.ZodString;
|
|
26
|
+
entityId: z.ZodString;
|
|
27
|
+
instanceId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
accessToken: z.ZodString;
|
|
30
|
+
}, z.core.$strip>>]>;
|
|
19
31
|
//#endregion
|
|
20
32
|
export { oneDriveCheckinItem };
|
|
21
33
|
//# sourceMappingURL=checkin-item.d.mts.map
|
|
@@ -10,7 +10,7 @@ const oneDriveCheckinItem = action("ONE_DRIVE_CHECKIN_ITEM", {
|
|
|
10
10
|
check_in_as: z.string().describe("Optional. The status of the document after the check-in operation is complete. Can be 'published' or unspecified.").optional(),
|
|
11
11
|
drive_item_id: z.string().describe("The unique identifier of the driveItem to check in.")
|
|
12
12
|
}),
|
|
13
|
-
output: z.object({ message: z.string().describe("A message indicating the success of the check-in operation.").nullable() })
|
|
13
|
+
output: z.object({ message: z.string().describe("A message indicating the success of the check-in operation.").nullable() }).passthrough()
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { oneDriveCheckinItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkin-item.mjs","names":[],"sources":["../../src/actions/checkin-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCheckinItemInput = z.object({\n comment: z.string().describe(\"A check-in comment that is associated with the version.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to check in.\"),\n check_in_as: z.string().describe(\"Optional. The status of the document after the check-in operation is complete. Can be 'published' or unspecified.\").optional(),\n drive_item_id: z.string().describe(\"The unique identifier of the driveItem to check in.\"),\n});\nexport const OneDriveCheckinItemOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the check-in operation.\").nullable(),\n});\n\nexport const oneDriveCheckinItem = action(\"ONE_DRIVE_CHECKIN_ITEM\", {\n slug: \"one_drive-checkin-item\",\n name: \"Check In Drive Item\",\n description: \"Tool to check in a checked out driveItem resource, making the version of the document available to others. Use when you need to check in a file that was previously checked out in OneDrive or SharePoint.\",\n input: OneDriveCheckinItemInput,\n output: OneDriveCheckinItemOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;EAC/J,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC1F,CASS;CACP,QATuC,EAAE,OAAO,EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,
|
|
1
|
+
{"version":3,"file":"checkin-item.mjs","names":[],"sources":["../../src/actions/checkin-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCheckinItemInput = z.object({\n comment: z.string().describe(\"A check-in comment that is associated with the version.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to check in.\"),\n check_in_as: z.string().describe(\"Optional. The status of the document after the check-in operation is complete. Can be 'published' or unspecified.\").optional(),\n drive_item_id: z.string().describe(\"The unique identifier of the driveItem to check in.\"),\n});\nexport const OneDriveCheckinItemOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the check-in operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveCheckinItem = action(\"ONE_DRIVE_CHECKIN_ITEM\", {\n slug: \"one_drive-checkin-item\",\n name: \"Check In Drive Item\",\n description: \"Tool to check in a checked out driveItem resource, making the version of the document available to others. Use when you need to check in a file that was previously checked out in OneDrive or SharePoint.\",\n input: OneDriveCheckinItemInput,\n output: OneDriveCheckinItemOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;EAC/J,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC1F,CASS;CACP,QATuC,EAAE,OAAO,EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const OneDriveCheckoutItemInput = zod.z.object({
|
|
|
5
5
|
drive_id: zod.z.string().describe("The unique identifier of the drive containing the item to checkout."),
|
|
6
6
|
drive_item_id: zod.z.string().describe("The unique identifier of the driveItem (file or folder) to checkout.")
|
|
7
7
|
});
|
|
8
|
-
const OneDriveCheckoutItemOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the checkout operation.").nullable() });
|
|
8
|
+
const OneDriveCheckoutItemOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the checkout operation.").nullable() }).passthrough();
|
|
9
9
|
const oneDriveCheckoutItem = require_action.action("ONE_DRIVE_CHECKOUT_ITEM", {
|
|
10
10
|
slug: "one_drive-checkout-item",
|
|
11
11
|
name: "Checkout Drive Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkout-item.cjs","names":["z","action"],"sources":["../../src/actions/checkout-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCheckoutItemInput = z.object({\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to checkout.\"),\n drive_item_id: z.string().describe(\"The unique identifier of the driveItem (file or folder) to checkout.\"),\n});\nexport const OneDriveCheckoutItemOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the checkout operation.\").nullable(),\n});\n\nexport const oneDriveCheckoutItem = action(\"ONE_DRIVE_CHECKOUT_ITEM\", {\n slug: \"one_drive-checkout-item\",\n name: \"Checkout Drive Item\",\n description: \"Tool to check out a driveItem to prevent others from editing it and make your changes invisible until checked in. Use when you need to lock a file for exclusive editing in SharePoint or OneDrive.\",\n input: OneDriveCheckoutItemInput,\n output: OneDriveCheckoutItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AAC3G,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC;
|
|
1
|
+
{"version":3,"file":"checkout-item.cjs","names":["z","action"],"sources":["../../src/actions/checkout-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCheckoutItemInput = z.object({\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to checkout.\"),\n drive_item_id: z.string().describe(\"The unique identifier of the driveItem (file or folder) to checkout.\"),\n});\nexport const OneDriveCheckoutItemOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the checkout operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveCheckoutItem = action(\"ONE_DRIVE_CHECKOUT_ITEM\", {\n slug: \"one_drive-checkout-item\",\n name: \"Checkout Drive Item\",\n description: \"Tool to check out a driveItem to prevent others from editing it and make your changes invisible until checked in. Use when you need to lock a file for exclusive editing in SharePoint or OneDrive.\",\n input: OneDriveCheckoutItemInput,\n output: OneDriveCheckoutItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AAC3G,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,11 +7,23 @@ declare const OneDriveCheckoutItemInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const OneDriveCheckoutItemOutput: z.ZodObject<{
|
|
9
9
|
message: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const oneDriveCheckoutItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
drive_id: string;
|
|
13
13
|
drive_item_id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
15
|
+
connectionId: z.ZodString;
|
|
16
|
+
entityId: z.ZodString;
|
|
17
|
+
instanceId: z.ZodString;
|
|
18
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
+
accessToken: z.ZodString;
|
|
20
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
accessToken: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>]>;
|
|
15
27
|
//#endregion
|
|
16
28
|
export { oneDriveCheckoutItem };
|
|
17
29
|
//# sourceMappingURL=checkout-item.d.cts.map
|
|
@@ -7,11 +7,23 @@ declare const OneDriveCheckoutItemInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const OneDriveCheckoutItemOutput: z.ZodObject<{
|
|
9
9
|
message: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const oneDriveCheckoutItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
drive_id: string;
|
|
13
13
|
drive_item_id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
15
|
+
connectionId: z.ZodString;
|
|
16
|
+
entityId: z.ZodString;
|
|
17
|
+
instanceId: z.ZodString;
|
|
18
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
+
accessToken: z.ZodString;
|
|
20
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
accessToken: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>]>;
|
|
15
27
|
//#endregion
|
|
16
28
|
export { oneDriveCheckoutItem };
|
|
17
29
|
//# sourceMappingURL=checkout-item.d.mts.map
|
|
@@ -8,7 +8,7 @@ const oneDriveCheckoutItem = action("ONE_DRIVE_CHECKOUT_ITEM", {
|
|
|
8
8
|
drive_id: z.string().describe("The unique identifier of the drive containing the item to checkout."),
|
|
9
9
|
drive_item_id: z.string().describe("The unique identifier of the driveItem (file or folder) to checkout.")
|
|
10
10
|
}),
|
|
11
|
-
output: z.object({ message: z.string().describe("A message indicating the success of the checkout operation.").nullable() })
|
|
11
|
+
output: z.object({ message: z.string().describe("A message indicating the success of the checkout operation.").nullable() }).passthrough()
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { oneDriveCheckoutItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkout-item.mjs","names":[],"sources":["../../src/actions/checkout-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCheckoutItemInput = z.object({\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to checkout.\"),\n drive_item_id: z.string().describe(\"The unique identifier of the driveItem (file or folder) to checkout.\"),\n});\nexport const OneDriveCheckoutItemOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the checkout operation.\").nullable(),\n});\n\nexport const oneDriveCheckoutItem = action(\"ONE_DRIVE_CHECKOUT_ITEM\", {\n slug: \"one_drive-checkout-item\",\n name: \"Checkout Drive Item\",\n description: \"Tool to check out a driveItem to prevent others from editing it and make your changes invisible until checked in. Use when you need to lock a file for exclusive editing in SharePoint or OneDrive.\",\n input: OneDriveCheckoutItemInput,\n output: OneDriveCheckoutItemOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO;EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACnG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CAC3G,CASS;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,
|
|
1
|
+
{"version":3,"file":"checkout-item.mjs","names":[],"sources":["../../src/actions/checkout-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCheckoutItemInput = z.object({\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to checkout.\"),\n drive_item_id: z.string().describe(\"The unique identifier of the driveItem (file or folder) to checkout.\"),\n});\nexport const OneDriveCheckoutItemOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the checkout operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveCheckoutItem = action(\"ONE_DRIVE_CHECKOUT_ITEM\", {\n slug: \"one_drive-checkout-item\",\n name: \"Checkout Drive Item\",\n description: \"Tool to check out a driveItem to prevent others from editing it and make your changes invisible until checked in. Use when you need to lock a file for exclusive editing in SharePoint or OneDrive.\",\n input: OneDriveCheckoutItemInput,\n output: OneDriveCheckoutItemOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO;EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACnG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CAC3G,CASS;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const OneDriveClearWorkbookRangeInput = zod.z.object({
|
|
|
13
13
|
session_id: zod.z.string().describe("Optional workbook session ID to send in the workbook-session-id header.").optional(),
|
|
14
14
|
worksheet_id_or_name: zod.z.string().describe("The ID or name of the worksheet that contains the range to clear. Names with spaces or special characters are URL-encoded automatically.")
|
|
15
15
|
});
|
|
16
|
-
const OneDriveClearWorkbookRangeOutput = zod.z.object({ ok: zod.z.boolean().describe("Indicates whether the workbook range was cleared successfully.").nullable() });
|
|
16
|
+
const OneDriveClearWorkbookRangeOutput = zod.z.object({ ok: zod.z.boolean().describe("Indicates whether the workbook range was cleared successfully.").nullable() }).passthrough();
|
|
17
17
|
const oneDriveClearWorkbookRange = require_action.action("ONE_DRIVE_CLEAR_WORKBOOK_RANGE", {
|
|
18
18
|
slug: "one_drive-clear-workbook-range",
|
|
19
19
|
name: "Clear Workbook Range",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clear-workbook-range.cjs","names":["z","action"],"sources":["../../src/actions/clear-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveClearWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation to clear without deleting cells or shifting surrounding data.\"),\n applyTo: z.enum([\"All\", \"Formats\", \"Contents\"]).describe(\"The part of a workbook range to clear.\").optional(),\n item_id: z.string().describe(\"The DriveItem ID of the Excel workbook whose worksheet range should be cleared.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Use 'me' for the authenticated user's default OneDrive, or provide a OneDrive/SharePoint drive ID.\"),\n session_id: z.string().describe(\"Optional workbook session ID to send in the workbook-session-id header.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet that contains the range to clear. Names with spaces or special characters are URL-encoded automatically.\"),\n});\nexport const OneDriveClearWorkbookRangeOutput = z.object({\n ok: z.boolean().describe(\"Indicates whether the workbook range was cleared successfully.\").nullable(),\n});\n\nexport const oneDriveClearWorkbookRange = action(\"ONE_DRIVE_CLEAR_WORKBOOK_RANGE\", {\n slug: \"one_drive-clear-workbook-range\",\n name: \"Clear Workbook Range\",\n description: \"Clears values, formats, or both from a worksheet range in an Excel workbook stored in OneDrive or SharePoint without deleting cells or shifting neighboring data. Use this action when you need to reset a range while preserving the worksheet's cell structure.\",\n input: OneDriveClearWorkbookRangeInput,\n output: OneDriveClearWorkbookRangeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC7H,SAASA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAW;CAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;CAC9L,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACpH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;AACtL,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,IAAIA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EACtG,CAAC;
|
|
1
|
+
{"version":3,"file":"clear-workbook-range.cjs","names":["z","action"],"sources":["../../src/actions/clear-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveClearWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation to clear without deleting cells or shifting surrounding data.\"),\n applyTo: z.enum([\"All\", \"Formats\", \"Contents\"]).describe(\"The part of a workbook range to clear.\").optional(),\n item_id: z.string().describe(\"The DriveItem ID of the Excel workbook whose worksheet range should be cleared.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Use 'me' for the authenticated user's default OneDrive, or provide a OneDrive/SharePoint drive ID.\"),\n session_id: z.string().describe(\"Optional workbook session ID to send in the workbook-session-id header.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet that contains the range to clear. Names with spaces or special characters are URL-encoded automatically.\"),\n});\nexport const OneDriveClearWorkbookRangeOutput = z.object({\n ok: z.boolean().describe(\"Indicates whether the workbook range was cleared successfully.\").nullable(),\n}).passthrough();\n\nexport const oneDriveClearWorkbookRange = action(\"ONE_DRIVE_CLEAR_WORKBOOK_RANGE\", {\n slug: \"one_drive-clear-workbook-range\",\n name: \"Clear Workbook Range\",\n description: \"Clears values, formats, or both from a worksheet range in an Excel workbook stored in OneDrive or SharePoint without deleting cells or shifting neighboring data. Use this action when you need to reset a range while preserving the worksheet's cell structure.\",\n input: OneDriveClearWorkbookRangeInput,\n output: OneDriveClearWorkbookRangeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC7H,SAASA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAW;CAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;CAC9L,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACpH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;AACtL,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,IAAIA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const OneDriveClearWorkbookRangeInput: z.ZodObject<{
|
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
declare const OneDriveClearWorkbookRangeOutput: z.ZodObject<{
|
|
17
17
|
ok: z.ZodNullable<z.ZodBoolean>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const oneDriveClearWorkbookRange: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
address: string;
|
|
21
21
|
item_id: string;
|
|
@@ -23,7 +23,19 @@ declare const oneDriveClearWorkbookRange: import("@keystrokehq/action").Workflow
|
|
|
23
23
|
worksheet_id_or_name: string;
|
|
24
24
|
applyTo?: "All" | "Formats" | "Contents" | undefined;
|
|
25
25
|
session_id?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
entityId: z.ZodString;
|
|
29
|
+
instanceId: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
accessToken: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
33
|
+
connectionId: z.ZodString;
|
|
34
|
+
entityId: z.ZodString;
|
|
35
|
+
instanceId: z.ZodString;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
accessToken: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>]>;
|
|
27
39
|
//#endregion
|
|
28
40
|
export { oneDriveClearWorkbookRange };
|
|
29
41
|
//# sourceMappingURL=clear-workbook-range.d.cts.map
|
|
@@ -15,7 +15,7 @@ declare const OneDriveClearWorkbookRangeInput: z.ZodObject<{
|
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
declare const OneDriveClearWorkbookRangeOutput: z.ZodObject<{
|
|
17
17
|
ok: z.ZodNullable<z.ZodBoolean>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const oneDriveClearWorkbookRange: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
address: string;
|
|
21
21
|
item_id: string;
|
|
@@ -23,7 +23,19 @@ declare const oneDriveClearWorkbookRange: import("@keystrokehq/action").Workflow
|
|
|
23
23
|
worksheet_id_or_name: string;
|
|
24
24
|
applyTo?: "All" | "Formats" | "Contents" | undefined;
|
|
25
25
|
session_id?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
entityId: z.ZodString;
|
|
29
|
+
instanceId: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
accessToken: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
33
|
+
connectionId: z.ZodString;
|
|
34
|
+
entityId: z.ZodString;
|
|
35
|
+
instanceId: z.ZodString;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
accessToken: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>]>;
|
|
27
39
|
//#endregion
|
|
28
40
|
export { oneDriveClearWorkbookRange };
|
|
29
41
|
//# sourceMappingURL=clear-workbook-range.d.mts.map
|
|
@@ -16,7 +16,7 @@ const oneDriveClearWorkbookRange = action("ONE_DRIVE_CLEAR_WORKBOOK_RANGE", {
|
|
|
16
16
|
session_id: z.string().describe("Optional workbook session ID to send in the workbook-session-id header.").optional(),
|
|
17
17
|
worksheet_id_or_name: z.string().describe("The ID or name of the worksheet that contains the range to clear. Names with spaces or special characters are URL-encoded automatically.")
|
|
18
18
|
}),
|
|
19
|
-
output: z.object({ ok: z.boolean().describe("Indicates whether the workbook range was cleared successfully.").nullable() })
|
|
19
|
+
output: z.object({ ok: z.boolean().describe("Indicates whether the workbook range was cleared successfully.").nullable() }).passthrough()
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { oneDriveClearWorkbookRange };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clear-workbook-range.mjs","names":[],"sources":["../../src/actions/clear-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveClearWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation to clear without deleting cells or shifting surrounding data.\"),\n applyTo: z.enum([\"All\", \"Formats\", \"Contents\"]).describe(\"The part of a workbook range to clear.\").optional(),\n item_id: z.string().describe(\"The DriveItem ID of the Excel workbook whose worksheet range should be cleared.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Use 'me' for the authenticated user's default OneDrive, or provide a OneDrive/SharePoint drive ID.\"),\n session_id: z.string().describe(\"Optional workbook session ID to send in the workbook-session-id header.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet that contains the range to clear. Names with spaces or special characters are URL-encoded automatically.\"),\n});\nexport const OneDriveClearWorkbookRangeOutput = z.object({\n ok: z.boolean().describe(\"Indicates whether the workbook range was cleared successfully.\").nullable(),\n});\n\nexport const oneDriveClearWorkbookRange = action(\"ONE_DRIVE_CLEAR_WORKBOOK_RANGE\", {\n slug: \"one_drive-clear-workbook-range\",\n name: \"Clear Workbook Range\",\n description: \"Clears values, formats, or both from a worksheet range in an Excel workbook stored in OneDrive or SharePoint without deleting cells or shifting neighboring data. Use this action when you need to reset a range while preserving the worksheet's cell structure.\",\n input: OneDriveClearWorkbookRangeInput,\n output: OneDriveClearWorkbookRangeOutput,\n});\n"],"mappings":";;AAgBA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC7H,SAAS,EAAE,KAAK;GAAC;GAAO;GAAW;EAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;EAC9L,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACpH,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACtL,CASS;CACP,QAT8C,EAAE,OAAO,EACvD,IAAI,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EACtG,
|
|
1
|
+
{"version":3,"file":"clear-workbook-range.mjs","names":[],"sources":["../../src/actions/clear-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveClearWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation to clear without deleting cells or shifting surrounding data.\"),\n applyTo: z.enum([\"All\", \"Formats\", \"Contents\"]).describe(\"The part of a workbook range to clear.\").optional(),\n item_id: z.string().describe(\"The DriveItem ID of the Excel workbook whose worksheet range should be cleared.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Use 'me' for the authenticated user's default OneDrive, or provide a OneDrive/SharePoint drive ID.\"),\n session_id: z.string().describe(\"Optional workbook session ID to send in the workbook-session-id header.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet that contains the range to clear. Names with spaces or special characters are URL-encoded automatically.\"),\n});\nexport const OneDriveClearWorkbookRangeOutput = z.object({\n ok: z.boolean().describe(\"Indicates whether the workbook range was cleared successfully.\").nullable(),\n}).passthrough();\n\nexport const oneDriveClearWorkbookRange = action(\"ONE_DRIVE_CLEAR_WORKBOOK_RANGE\", {\n slug: \"one_drive-clear-workbook-range\",\n name: \"Clear Workbook Range\",\n description: \"Clears values, formats, or both from a worksheet range in an Excel workbook stored in OneDrive or SharePoint without deleting cells or shifting neighboring data. Use this action when you need to reset a range while preserving the worksheet's cell structure.\",\n input: OneDriveClearWorkbookRangeInput,\n output: OneDriveClearWorkbookRangeOutput,\n});\n"],"mappings":";;AAgBA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC7H,SAAS,EAAE,KAAK;GAAC;GAAO;GAAW;EAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;EAC9L,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACpH,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACtL,CASS;CACP,QAT8C,EAAE,OAAO,EACvD,IAAI,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -27,7 +27,7 @@ const OneDriveCopyItemOutput = zod.z.object({
|
|
|
27
27
|
web_url: zod.z.string().describe("URL to access the item over the web.").nullable().optional(),
|
|
28
28
|
monitor_url: zod.z.string().describe("The URL to track the progress of the asynchronous copy operation.").nullable().optional(),
|
|
29
29
|
status_code: zod.z.number().int().describe("The HTTP status code of the initial request.").nullable()
|
|
30
|
-
});
|
|
30
|
+
}).passthrough();
|
|
31
31
|
const oneDriveCopyItem = require_action.action("ONE_DRIVE_COPY_ITEM", {
|
|
32
32
|
slug: "one_drive-copy-item",
|
|
33
33
|
name: "Copy Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-item.cjs","names":["z","action"],"sources":["../../src/actions/copy-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCopyItemInput = z.object({\n name: z.string().describe(\"The new name for the copied item. If not provided, the same name as the original is used. Recommended to provide either 'name' or 'parent_reference' for reliable operation.\").optional(),\n item_id: z.string().describe(\"The ID of the DriveItem to be copied.\"),\n site_id: z.string().describe(\"The ID of the site if the item is in a SharePoint site.\").optional(),\n user_id: z.string().describe(\"The ID of the user if accessing another user's drive.\").optional(),\n drive_id: z.string().describe(\"The ID of the drive where the item is located. If not provided, 'me' (user's default drive) is assumed.\").optional(),\n group_id: z.string().describe(\"The ID of the group if the item is in a group drive.\").optional(),\n children_only: z.boolean().default(false).describe(\"If set to true, only the children of the source driveItem (if it's a folder) are copied, not the driveItem itself. Defaults to false. Cannot be used with name parameter.\").optional(),\n parent_reference: z.object({\n id: z.string().describe(\"The ID of the parent item.\").optional(),\n driveId: z.string().describe(\"The ID of the drive that contains the parent item.\").optional(),\n}).describe(\"Reference to the parent item (folder) where the copy will be created. If not provided, the item is copied to the same location. Recommended to provide either 'name' or 'parent_reference' for reliable operation. Must use stable OneDrive item IDs (not paths or names), as paths break on rename/relocation. Resolve names/paths first using ONE_DRIVE_SEARCH_ITEMS or ONE_DRIVE_ONEDRIVE_FIND_FOLDER. Expected keys: `driveId` and `id`.\").optional(),\n conflict_behavior: z.enum([\"fail\", \"replace\", \"rename\"]).default(\"fail\").describe(\"Specifies how to handle a naming conflict if an item with the same name already exists in the destination. 'fail' (default), 'replace', or 'rename'.\").optional(),\n include_all_version_history: z.boolean().default(false).describe(\"If set to true, the version history of the source file is copied to the destination. Defaults to false.\").optional(),\n});\nexport const OneDriveCopyItemOutput = z.object({\n name: z.string().describe(\"Name of the copied item.\").nullable().optional(),\n item_id: z.string().describe(\"ID of the copied item, available when the operation completes synchronously (rare for copy).\").nullable().optional(),\n message: z.string().describe(\"A message indicating the result of the request.\").nullable(),\n web_url: z.string().describe(\"URL to access the item over the web.\").nullable().optional(),\n monitor_url: z.string().describe(\"The URL to track the progress of the asynchronous copy operation.\").nullable().optional(),\n status_code: z.number().int().describe(\"The HTTP status code of the initial request.\").nullable(),\n});\n\nexport const oneDriveCopyItem = action(\"ONE_DRIVE_COPY_ITEM\", {\n slug: \"one_drive-copy-item\",\n name: \"Copy Item\",\n description: \"Tool to copy a DriveItem (file or folder) to a new location asynchronously. Use when you need to duplicate an item, optionally renaming it or specifying a different parent folder. The operation is asynchronous; the response provides a URL to monitor the copy progress. Do not assume the copy is complete immediately; verify via ONE_DRIVE_GET_ITEM or by listing the destination, especially for large folder trees.\",\n input: OneDriveCopyItemInput,\n output: OneDriveCopyItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CACnN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAClJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACzO,kBAAkBA,IAAAA,EAAE,OAAO;EAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,8aAA8a,CAAC,CAAC,SAAS;CACnc,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAW;CAAQ,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACnP,6BAA6BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;AACvL,CAAC;AACD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAClG,CAAC;
|
|
1
|
+
{"version":3,"file":"copy-item.cjs","names":["z","action"],"sources":["../../src/actions/copy-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCopyItemInput = z.object({\n name: z.string().describe(\"The new name for the copied item. If not provided, the same name as the original is used. Recommended to provide either 'name' or 'parent_reference' for reliable operation.\").optional(),\n item_id: z.string().describe(\"The ID of the DriveItem to be copied.\"),\n site_id: z.string().describe(\"The ID of the site if the item is in a SharePoint site.\").optional(),\n user_id: z.string().describe(\"The ID of the user if accessing another user's drive.\").optional(),\n drive_id: z.string().describe(\"The ID of the drive where the item is located. If not provided, 'me' (user's default drive) is assumed.\").optional(),\n group_id: z.string().describe(\"The ID of the group if the item is in a group drive.\").optional(),\n children_only: z.boolean().default(false).describe(\"If set to true, only the children of the source driveItem (if it's a folder) are copied, not the driveItem itself. Defaults to false. Cannot be used with name parameter.\").optional(),\n parent_reference: z.object({\n id: z.string().describe(\"The ID of the parent item.\").optional(),\n driveId: z.string().describe(\"The ID of the drive that contains the parent item.\").optional(),\n}).describe(\"Reference to the parent item (folder) where the copy will be created. If not provided, the item is copied to the same location. Recommended to provide either 'name' or 'parent_reference' for reliable operation. Must use stable OneDrive item IDs (not paths or names), as paths break on rename/relocation. Resolve names/paths first using ONE_DRIVE_SEARCH_ITEMS or ONE_DRIVE_ONEDRIVE_FIND_FOLDER. Expected keys: `driveId` and `id`.\").optional(),\n conflict_behavior: z.enum([\"fail\", \"replace\", \"rename\"]).default(\"fail\").describe(\"Specifies how to handle a naming conflict if an item with the same name already exists in the destination. 'fail' (default), 'replace', or 'rename'.\").optional(),\n include_all_version_history: z.boolean().default(false).describe(\"If set to true, the version history of the source file is copied to the destination. Defaults to false.\").optional(),\n});\nexport const OneDriveCopyItemOutput = z.object({\n name: z.string().describe(\"Name of the copied item.\").nullable().optional(),\n item_id: z.string().describe(\"ID of the copied item, available when the operation completes synchronously (rare for copy).\").nullable().optional(),\n message: z.string().describe(\"A message indicating the result of the request.\").nullable(),\n web_url: z.string().describe(\"URL to access the item over the web.\").nullable().optional(),\n monitor_url: z.string().describe(\"The URL to track the progress of the asynchronous copy operation.\").nullable().optional(),\n status_code: z.number().int().describe(\"The HTTP status code of the initial request.\").nullable(),\n}).passthrough();\n\nexport const oneDriveCopyItem = action(\"ONE_DRIVE_COPY_ITEM\", {\n slug: \"one_drive-copy-item\",\n name: \"Copy Item\",\n description: \"Tool to copy a DriveItem (file or folder) to a new location asynchronously. Use when you need to duplicate an item, optionally renaming it or specifying a different parent folder. The operation is asynchronous; the response provides a URL to monitor the copy progress. Do not assume the copy is complete immediately; verify via ONE_DRIVE_GET_ITEM or by listing the destination, especially for large folder trees.\",\n input: OneDriveCopyItemInput,\n output: OneDriveCopyItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CACnN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAClJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACzO,kBAAkBA,IAAAA,EAAE,OAAO;EAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,8aAA8a,CAAC,CAAC,SAAS;CACnc,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAW;CAAQ,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACnP,6BAA6BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;AACvL,CAAC;AACD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAAmBC,eAAAA,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -27,7 +27,7 @@ declare const OneDriveCopyItemOutput: z.ZodObject<{
|
|
|
27
27
|
web_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
monitor_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const oneDriveCopyItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
item_id: string;
|
|
33
33
|
name?: string | undefined;
|
|
@@ -42,7 +42,19 @@ declare const oneDriveCopyItem: import("@keystrokehq/action").WorkflowActionDefi
|
|
|
42
42
|
} | undefined;
|
|
43
43
|
conflict_behavior?: "replace" | "fail" | "rename" | undefined;
|
|
44
44
|
include_all_version_history?: boolean | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
45
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
46
|
+
connectionId: z.ZodString;
|
|
47
|
+
entityId: z.ZodString;
|
|
48
|
+
instanceId: z.ZodString;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
accessToken: z.ZodString;
|
|
51
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
52
|
+
connectionId: z.ZodString;
|
|
53
|
+
entityId: z.ZodString;
|
|
54
|
+
instanceId: z.ZodString;
|
|
55
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
+
accessToken: z.ZodString;
|
|
57
|
+
}, z.core.$strip>>]>;
|
|
46
58
|
//#endregion
|
|
47
59
|
export { oneDriveCopyItem };
|
|
48
60
|
//# sourceMappingURL=copy-item.d.cts.map
|
|
@@ -27,7 +27,7 @@ declare const OneDriveCopyItemOutput: z.ZodObject<{
|
|
|
27
27
|
web_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
monitor_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const oneDriveCopyItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
item_id: string;
|
|
33
33
|
name?: string | undefined;
|
|
@@ -42,7 +42,19 @@ declare const oneDriveCopyItem: import("@keystrokehq/action").WorkflowActionDefi
|
|
|
42
42
|
} | undefined;
|
|
43
43
|
conflict_behavior?: "replace" | "fail" | "rename" | undefined;
|
|
44
44
|
include_all_version_history?: boolean | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
45
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
46
|
+
connectionId: z.ZodString;
|
|
47
|
+
entityId: z.ZodString;
|
|
48
|
+
instanceId: z.ZodString;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
accessToken: z.ZodString;
|
|
51
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
52
|
+
connectionId: z.ZodString;
|
|
53
|
+
entityId: z.ZodString;
|
|
54
|
+
instanceId: z.ZodString;
|
|
55
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
+
accessToken: z.ZodString;
|
|
57
|
+
}, z.core.$strip>>]>;
|
|
46
58
|
//#endregion
|
|
47
59
|
export { oneDriveCopyItem };
|
|
48
60
|
//# sourceMappingURL=copy-item.d.mts.map
|
|
@@ -30,7 +30,7 @@ const oneDriveCopyItem = action("ONE_DRIVE_COPY_ITEM", {
|
|
|
30
30
|
web_url: z.string().describe("URL to access the item over the web.").nullable().optional(),
|
|
31
31
|
monitor_url: z.string().describe("The URL to track the progress of the asynchronous copy operation.").nullable().optional(),
|
|
32
32
|
status_code: z.number().int().describe("The HTTP status code of the initial request.").nullable()
|
|
33
|
-
})
|
|
33
|
+
}).passthrough()
|
|
34
34
|
});
|
|
35
35
|
//#endregion
|
|
36
36
|
export { oneDriveCopyItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-item.mjs","names":[],"sources":["../../src/actions/copy-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCopyItemInput = z.object({\n name: z.string().describe(\"The new name for the copied item. If not provided, the same name as the original is used. Recommended to provide either 'name' or 'parent_reference' for reliable operation.\").optional(),\n item_id: z.string().describe(\"The ID of the DriveItem to be copied.\"),\n site_id: z.string().describe(\"The ID of the site if the item is in a SharePoint site.\").optional(),\n user_id: z.string().describe(\"The ID of the user if accessing another user's drive.\").optional(),\n drive_id: z.string().describe(\"The ID of the drive where the item is located. If not provided, 'me' (user's default drive) is assumed.\").optional(),\n group_id: z.string().describe(\"The ID of the group if the item is in a group drive.\").optional(),\n children_only: z.boolean().default(false).describe(\"If set to true, only the children of the source driveItem (if it's a folder) are copied, not the driveItem itself. Defaults to false. Cannot be used with name parameter.\").optional(),\n parent_reference: z.object({\n id: z.string().describe(\"The ID of the parent item.\").optional(),\n driveId: z.string().describe(\"The ID of the drive that contains the parent item.\").optional(),\n}).describe(\"Reference to the parent item (folder) where the copy will be created. If not provided, the item is copied to the same location. Recommended to provide either 'name' or 'parent_reference' for reliable operation. Must use stable OneDrive item IDs (not paths or names), as paths break on rename/relocation. Resolve names/paths first using ONE_DRIVE_SEARCH_ITEMS or ONE_DRIVE_ONEDRIVE_FIND_FOLDER. Expected keys: `driveId` and `id`.\").optional(),\n conflict_behavior: z.enum([\"fail\", \"replace\", \"rename\"]).default(\"fail\").describe(\"Specifies how to handle a naming conflict if an item with the same name already exists in the destination. 'fail' (default), 'replace', or 'rename'.\").optional(),\n include_all_version_history: z.boolean().default(false).describe(\"If set to true, the version history of the source file is copied to the destination. Defaults to false.\").optional(),\n});\nexport const OneDriveCopyItemOutput = z.object({\n name: z.string().describe(\"Name of the copied item.\").nullable().optional(),\n item_id: z.string().describe(\"ID of the copied item, available when the operation completes synchronously (rare for copy).\").nullable().optional(),\n message: z.string().describe(\"A message indicating the result of the request.\").nullable(),\n web_url: z.string().describe(\"URL to access the item over the web.\").nullable().optional(),\n monitor_url: z.string().describe(\"The URL to track the progress of the asynchronous copy operation.\").nullable().optional(),\n status_code: z.number().int().describe(\"The HTTP status code of the initial request.\").nullable(),\n});\n\nexport const oneDriveCopyItem = action(\"ONE_DRIVE_COPY_ITEM\", {\n slug: \"one_drive-copy-item\",\n name: \"Copy Item\",\n description: \"Tool to copy a DriveItem (file or folder) to a new location asynchronously. Use when you need to duplicate an item, optionally renaming it or specifying a different parent folder. The operation is asynchronous; the response provides a URL to monitor the copy progress. Do not assume the copy is complete immediately; verify via ONE_DRIVE_GET_ITEM or by listing the destination, especially for large folder trees.\",\n input: OneDriveCopyItemInput,\n output: OneDriveCopyItemOutput,\n});\n"],"mappings":";;AA4BA,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5BmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;EACnN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EAClJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC/F,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;EACzO,kBAAkB,EAAE,OAAO;GAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;GAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC9F,CAAC,CAAC,CAAC,SAAS,8aAA8a,CAAC,CAAC,SAAS;EACnc,mBAAmB,EAAE,KAAK;GAAC;GAAQ;GAAW;EAAQ,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;EACnP,6BAA6B,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACvL,CAcS;CACP,QAdoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClG,
|
|
1
|
+
{"version":3,"file":"copy-item.mjs","names":[],"sources":["../../src/actions/copy-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCopyItemInput = z.object({\n name: z.string().describe(\"The new name for the copied item. If not provided, the same name as the original is used. Recommended to provide either 'name' or 'parent_reference' for reliable operation.\").optional(),\n item_id: z.string().describe(\"The ID of the DriveItem to be copied.\"),\n site_id: z.string().describe(\"The ID of the site if the item is in a SharePoint site.\").optional(),\n user_id: z.string().describe(\"The ID of the user if accessing another user's drive.\").optional(),\n drive_id: z.string().describe(\"The ID of the drive where the item is located. If not provided, 'me' (user's default drive) is assumed.\").optional(),\n group_id: z.string().describe(\"The ID of the group if the item is in a group drive.\").optional(),\n children_only: z.boolean().default(false).describe(\"If set to true, only the children of the source driveItem (if it's a folder) are copied, not the driveItem itself. Defaults to false. Cannot be used with name parameter.\").optional(),\n parent_reference: z.object({\n id: z.string().describe(\"The ID of the parent item.\").optional(),\n driveId: z.string().describe(\"The ID of the drive that contains the parent item.\").optional(),\n}).describe(\"Reference to the parent item (folder) where the copy will be created. If not provided, the item is copied to the same location. Recommended to provide either 'name' or 'parent_reference' for reliable operation. Must use stable OneDrive item IDs (not paths or names), as paths break on rename/relocation. Resolve names/paths first using ONE_DRIVE_SEARCH_ITEMS or ONE_DRIVE_ONEDRIVE_FIND_FOLDER. Expected keys: `driveId` and `id`.\").optional(),\n conflict_behavior: z.enum([\"fail\", \"replace\", \"rename\"]).default(\"fail\").describe(\"Specifies how to handle a naming conflict if an item with the same name already exists in the destination. 'fail' (default), 'replace', or 'rename'.\").optional(),\n include_all_version_history: z.boolean().default(false).describe(\"If set to true, the version history of the source file is copied to the destination. Defaults to false.\").optional(),\n});\nexport const OneDriveCopyItemOutput = z.object({\n name: z.string().describe(\"Name of the copied item.\").nullable().optional(),\n item_id: z.string().describe(\"ID of the copied item, available when the operation completes synchronously (rare for copy).\").nullable().optional(),\n message: z.string().describe(\"A message indicating the result of the request.\").nullable(),\n web_url: z.string().describe(\"URL to access the item over the web.\").nullable().optional(),\n monitor_url: z.string().describe(\"The URL to track the progress of the asynchronous copy operation.\").nullable().optional(),\n status_code: z.number().int().describe(\"The HTTP status code of the initial request.\").nullable(),\n}).passthrough();\n\nexport const oneDriveCopyItem = action(\"ONE_DRIVE_COPY_ITEM\", {\n slug: \"one_drive-copy-item\",\n name: \"Copy Item\",\n description: \"Tool to copy a DriveItem (file or folder) to a new location asynchronously. Use when you need to duplicate an item, optionally renaming it or specifying a different parent folder. The operation is asynchronous; the response provides a URL to monitor the copy progress. Do not assume the copy is complete immediately; verify via ONE_DRIVE_GET_ITEM or by listing the destination, especially for large folder trees.\",\n input: OneDriveCopyItemInput,\n output: OneDriveCopyItemOutput,\n});\n"],"mappings":";;AA4BA,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5BmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;EACnN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EAClJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC/F,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;EACzO,kBAAkB,EAAE,OAAO;GAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;GAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC9F,CAAC,CAAC,CAAC,SAAS,8aAA8a,CAAC,CAAC,SAAS;EACnc,mBAAmB,EAAE,KAAK;GAAC;GAAQ;GAAW;EAAQ,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;EACnP,6BAA6B,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACvL,CAcS;CACP,QAdoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ const OneDriveCreateItemPermission_GrantedToIdentifierSchema = zod.z.object({
|
|
|
20
20
|
id: zod.z.string().describe("The unique identifier of the identity.").nullable().optional(),
|
|
21
21
|
loginName: zod.z.string().describe("The login name of the site user.").nullable().optional(),
|
|
22
22
|
displayName: zod.z.string().describe("The display name of the identity.").nullable().optional()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const OneDriveCreateItemPermission_GrantedToSchema = zod.z.object({
|
|
25
25
|
user: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),
|
|
26
26
|
group: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),
|
|
@@ -28,7 +28,7 @@ const OneDriveCreateItemPermission_GrantedToSchema = zod.z.object({
|
|
|
28
28
|
siteUser: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),
|
|
29
29
|
siteGroup: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),
|
|
30
30
|
application: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional()
|
|
31
|
-
});
|
|
31
|
+
}).passthrough();
|
|
32
32
|
const OneDriveCreateItemPermissionOutput = zod.z.object({
|
|
33
33
|
id: zod.z.string().describe("The unique identifier of the permission.").nullable(),
|
|
34
34
|
roles: zod.z.array(zod.z.string()).describe("The roles granted by this permission."),
|
|
@@ -36,7 +36,7 @@ const OneDriveCreateItemPermissionOutput = zod.z.object({
|
|
|
36
36
|
grantedToV2: OneDriveCreateItemPermission_GrantedToSchema.nullable().optional(),
|
|
37
37
|
hasPassword: zod.z.boolean().describe("Indicates whether the sharing link has a password.").nullable().optional(),
|
|
38
38
|
expirationDateTime: zod.z.string().describe("The expiration date and time for the permission.").nullable().optional()
|
|
39
|
-
});
|
|
39
|
+
}).passthrough();
|
|
40
40
|
const oneDriveCreateItemPermission = require_action.action("ONE_DRIVE_CREATE_ITEM_PERMISSION", {
|
|
41
41
|
slug: "one_drive-create-item-permission",
|
|
42
42
|
name: "Create Drive Item Permission",
|