@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-file-content.cjs","names":["z","action"],"sources":["../../src/actions/update-file-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateFileContentInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Optional file content to upload. When provided, the action creates an upload session, streams the file bytes in chunks, and returns the updated DriveItem (id/name/size/file). When omitted, the action only creates the upload session and returns its uploadUrl + session metadata, leaving subsequent PUT uploads to the caller (legacy behavior).\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) to update.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. If provided, uses /sites/{siteId}/drive. Mutually exclusive with drive_id, group_id, and user_id.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user. If provided, uses /users/{userId}/drive. Mutually exclusive with drive_id, site_id, and group_id.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, uses /me/drive. Mutually exclusive with site_id, group_id, and user_id.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. If provided, uses /groups/{groupId}/drive. Mutually exclusive with drive_id, site_id, and user_id.\").optional(),\n defer_commit: z.boolean().describe(\"If true, the final file creation is deferred until an explicit completion request is made. Useful for very large files when the caller drives the upload themselves. Ignored when `file` is provided — the chunked upload always commits the session at the end.\").optional(),\n media_source: z.object({\n contentCategory: z.string().describe(\"Enumeration value that indicates the media content category.\").optional(),\n}).describe(\"Media source information. Only on OneDrive for Business and SharePoint.\").optional(),\n if_match_etag: z.string().describe(\"An ETag value to prevent lost updates. If provided, the update will only proceed if the current file's ETag matches this value. Returns 412 error if it doesn't match.\").optional(),\n file_system_info: z.object({\n createdDateTime: z.string().describe(\"The UTC date and time the file was created on a client. ISO 8601 format.\").optional(),\n lastAccessedDateTime: z.string().describe(\"The UTC date and time the file was last accessed. ISO 8601 format.\").optional(),\n lastModifiedDateTime: z.string().describe(\"The UTC date and time the file was last modified on a client. ISO 8601 format.\").optional(),\n}).describe(\"File system information on client.\").optional(),\n conflict_behavior: z.enum([\"replace\", \"fail\", \"rename\"]).default(\"replace\").describe(\"How to handle conflicts when updating the file. 'replace' overwrites the existing content (default), 'fail' returns an error if conflict occurs, 'rename' creates a new file with a different name.\").optional(),\n drive_item_source: z.object({\n externalId: z.string().describe(\"The external identifier for the drive item from the source.\").optional(),\n application: z.string().describe(\"Enumeration value that indicates the source application.\").optional(),\n}).describe(\"Information about the drive item source. Only on OneDrive for Business and SharePoint.\").optional(),\n if_none_match_etag: z.string().describe(\"An ETag value to prevent updates if the item already exists. If provided and the ETag matches, returns 412 error. Used to detect if the item has changed.\").optional(),\n});\nconst OneDriveUpdateFileContent_FileObjectSchema = z.
|
|
1
|
+
{"version":3,"file":"update-file-content.cjs","names":["z","action"],"sources":["../../src/actions/update-file-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateFileContentInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Optional file content to upload. When provided, the action creates an upload session, streams the file bytes in chunks, and returns the updated DriveItem (id/name/size/file). When omitted, the action only creates the upload session and returns its uploadUrl + session metadata, leaving subsequent PUT uploads to the caller (legacy behavior).\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) to update.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. If provided, uses /sites/{siteId}/drive. Mutually exclusive with drive_id, group_id, and user_id.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user. If provided, uses /users/{userId}/drive. Mutually exclusive with drive_id, site_id, and group_id.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, uses /me/drive. Mutually exclusive with site_id, group_id, and user_id.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. If provided, uses /groups/{groupId}/drive. Mutually exclusive with drive_id, site_id, and user_id.\").optional(),\n defer_commit: z.boolean().describe(\"If true, the final file creation is deferred until an explicit completion request is made. Useful for very large files when the caller drives the upload themselves. Ignored when `file` is provided — the chunked upload always commits the session at the end.\").optional(),\n media_source: z.object({\n contentCategory: z.string().describe(\"Enumeration value that indicates the media content category.\").optional(),\n}).describe(\"Media source information. Only on OneDrive for Business and SharePoint.\").optional(),\n if_match_etag: z.string().describe(\"An ETag value to prevent lost updates. If provided, the update will only proceed if the current file's ETag matches this value. Returns 412 error if it doesn't match.\").optional(),\n file_system_info: z.object({\n createdDateTime: z.string().describe(\"The UTC date and time the file was created on a client. ISO 8601 format.\").optional(),\n lastAccessedDateTime: z.string().describe(\"The UTC date and time the file was last accessed. ISO 8601 format.\").optional(),\n lastModifiedDateTime: z.string().describe(\"The UTC date and time the file was last modified on a client. ISO 8601 format.\").optional(),\n}).describe(\"File system information on client.\").optional(),\n conflict_behavior: z.enum([\"replace\", \"fail\", \"rename\"]).default(\"replace\").describe(\"How to handle conflicts when updating the file. 'replace' overwrites the existing content (default), 'fail' returns an error if conflict occurs, 'rename' creates a new file with a different name.\").optional(),\n drive_item_source: z.object({\n externalId: z.string().describe(\"The external identifier for the drive item from the source.\").optional(),\n application: z.string().describe(\"Enumeration value that indicates the source application.\").optional(),\n}).describe(\"Information about the drive item source. Only on OneDrive for Business and SharePoint.\").optional(),\n if_none_match_etag: z.string().describe(\"An ETag value to prevent updates if the item already exists. If provided and the ETag matches, returns 412 error. Used to detect if the item has changed.\").optional(),\n});\nconst OneDriveUpdateFileContent_FileObjectSchema = z.record(z.string(), z.unknown()).describe(\"Container for OneDrive-specific file metadata in the response (shape mirrors upload_file).\");\nexport const OneDriveUpdateFileContentOutput = z.object({\n id: z.string().describe(\"ID of the updated DriveItem. Same as input item_id unless conflict_behavior caused a rename. Populated only when `file` was provided.\").nullable().optional(),\n file: OneDriveUpdateFileContent_FileObjectSchema.nullable().optional(),\n name: z.string().describe(\"Final name of the updated DriveItem. Populated only when `file` was provided.\").nullable().optional(),\n size: z.number().int().describe(\"Final size of the file in bytes. Populated only when `file` was provided.\").nullable().optional(),\n uploadUrl: z.string().describe(\"The resumable upload URL where file bytes should be uploaded using PUT requests. Returned only when `file` was not provided.\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration time of the upload session. Returned only when `file` was not provided.\").nullable().optional(),\n nextExpectedRanges: z.array(z.string()).describe(\"Array of byte ranges still needed for the upload (e.g., ['26-']). Returned only when `file` was not provided.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveUpdateFileContent = action(\"ONE_DRIVE_UPDATE_FILE_CONTENT\", {\n slug: \"one_drive-update-file-content\",\n name: \"Update File Content\",\n description: \"Tool to update an existing file's content in OneDrive. When called without a `file` parameter, creates an upload session and returns its uploadUrl (legacy behavior — caller drives the PUT uploads). When called with a `file`, the action streams the file's bytes in chunks via the upload session and returns the final updated DriveItem. The item's ID is preserved (existing share links remain valid) unless conflict_behavior=rename causes the server to create a new item.\",\n input: OneDriveUpdateFileContentInput,\n output: OneDriveUpdateFileContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,uVAAuV,CAAC,CAAC,SAAS;CAC5W,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACzL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC9K,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CACvK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACjL,c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,SAAS,4FAA4F;AAC1L,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnL,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -35,13 +35,13 @@ declare const OneDriveUpdateFileContentInput: z.ZodObject<{
|
|
|
35
35
|
}, z.core.$strip>;
|
|
36
36
|
declare const OneDriveUpdateFileContentOutput: z.ZodObject<{
|
|
37
37
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
-
file: z.ZodOptional<z.ZodNullable<z.
|
|
38
|
+
file: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
39
39
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
41
|
uploadUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
expirationDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
nextExpectedRanges: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>;
|
|
45
45
|
declare const oneDriveUpdateFileContent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
46
46
|
item_id: string;
|
|
47
47
|
file?: {
|
|
@@ -69,7 +69,19 @@ declare const oneDriveUpdateFileContent: import("@keystrokehq/action").WorkflowA
|
|
|
69
69
|
application?: string | undefined;
|
|
70
70
|
} | undefined;
|
|
71
71
|
if_none_match_etag?: string | undefined;
|
|
72
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
72
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
73
|
+
connectionId: z.ZodString;
|
|
74
|
+
entityId: z.ZodString;
|
|
75
|
+
instanceId: z.ZodString;
|
|
76
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
77
|
+
accessToken: z.ZodString;
|
|
78
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
79
|
+
connectionId: z.ZodString;
|
|
80
|
+
entityId: z.ZodString;
|
|
81
|
+
instanceId: z.ZodString;
|
|
82
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
+
accessToken: z.ZodString;
|
|
84
|
+
}, z.core.$strip>>]>;
|
|
73
85
|
//#endregion
|
|
74
86
|
export { oneDriveUpdateFileContent };
|
|
75
87
|
//# sourceMappingURL=update-file-content.d.cts.map
|
|
@@ -35,13 +35,13 @@ declare const OneDriveUpdateFileContentInput: z.ZodObject<{
|
|
|
35
35
|
}, z.core.$strip>;
|
|
36
36
|
declare const OneDriveUpdateFileContentOutput: z.ZodObject<{
|
|
37
37
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
-
file: z.ZodOptional<z.ZodNullable<z.
|
|
38
|
+
file: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
39
39
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
41
|
uploadUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
expirationDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
nextExpectedRanges: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>;
|
|
45
45
|
declare const oneDriveUpdateFileContent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
46
46
|
item_id: string;
|
|
47
47
|
file?: {
|
|
@@ -69,7 +69,19 @@ declare const oneDriveUpdateFileContent: import("@keystrokehq/action").WorkflowA
|
|
|
69
69
|
application?: string | undefined;
|
|
70
70
|
} | undefined;
|
|
71
71
|
if_none_match_etag?: string | undefined;
|
|
72
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
72
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
73
|
+
connectionId: z.ZodString;
|
|
74
|
+
entityId: z.ZodString;
|
|
75
|
+
instanceId: z.ZodString;
|
|
76
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
77
|
+
accessToken: z.ZodString;
|
|
78
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
79
|
+
connectionId: z.ZodString;
|
|
80
|
+
entityId: z.ZodString;
|
|
81
|
+
instanceId: z.ZodString;
|
|
82
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
+
accessToken: z.ZodString;
|
|
84
|
+
}, z.core.$strip>>]>;
|
|
73
85
|
//#endregion
|
|
74
86
|
export { oneDriveUpdateFileContent };
|
|
75
87
|
//# sourceMappingURL=update-file-content.d.mts.map
|
|
@@ -31,7 +31,7 @@ const OneDriveUpdateFileContentInput = z.object({
|
|
|
31
31
|
}).describe("Information about the drive item source. Only on OneDrive for Business and SharePoint.").optional(),
|
|
32
32
|
if_none_match_etag: z.string().describe("An ETag value to prevent updates if the item already exists. If provided and the ETag matches, returns 412 error. Used to detect if the item has changed.").optional()
|
|
33
33
|
});
|
|
34
|
-
const OneDriveUpdateFileContent_FileObjectSchema = z.
|
|
34
|
+
const OneDriveUpdateFileContent_FileObjectSchema = z.record(z.string(), z.unknown()).describe("Container for OneDrive-specific file metadata in the response (shape mirrors upload_file).");
|
|
35
35
|
const oneDriveUpdateFileContent = action("ONE_DRIVE_UPDATE_FILE_CONTENT", {
|
|
36
36
|
slug: "one_drive-update-file-content",
|
|
37
37
|
name: "Update File Content",
|
|
@@ -45,7 +45,7 @@ const oneDriveUpdateFileContent = action("ONE_DRIVE_UPDATE_FILE_CONTENT", {
|
|
|
45
45
|
uploadUrl: z.string().describe("The resumable upload URL where file bytes should be uploaded using PUT requests. Returned only when `file` was not provided.").nullable().optional(),
|
|
46
46
|
expirationDateTime: z.string().describe("The expiration time of the upload session. Returned only when `file` was not provided.").nullable().optional(),
|
|
47
47
|
nextExpectedRanges: z.array(z.string()).describe("Array of byte ranges still needed for the upload (e.g., ['26-']). Returned only when `file` was not provided.").nullable().optional()
|
|
48
|
-
})
|
|
48
|
+
}).passthrough()
|
|
49
49
|
});
|
|
50
50
|
//#endregion
|
|
51
51
|
export { oneDriveUpdateFileContent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-file-content.mjs","names":[],"sources":["../../src/actions/update-file-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateFileContentInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Optional file content to upload. When provided, the action creates an upload session, streams the file bytes in chunks, and returns the updated DriveItem (id/name/size/file). When omitted, the action only creates the upload session and returns its uploadUrl + session metadata, leaving subsequent PUT uploads to the caller (legacy behavior).\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) to update.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. If provided, uses /sites/{siteId}/drive. Mutually exclusive with drive_id, group_id, and user_id.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user. If provided, uses /users/{userId}/drive. Mutually exclusive with drive_id, site_id, and group_id.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, uses /me/drive. Mutually exclusive with site_id, group_id, and user_id.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. If provided, uses /groups/{groupId}/drive. Mutually exclusive with drive_id, site_id, and user_id.\").optional(),\n defer_commit: z.boolean().describe(\"If true, the final file creation is deferred until an explicit completion request is made. Useful for very large files when the caller drives the upload themselves. Ignored when `file` is provided — the chunked upload always commits the session at the end.\").optional(),\n media_source: z.object({\n contentCategory: z.string().describe(\"Enumeration value that indicates the media content category.\").optional(),\n}).describe(\"Media source information. Only on OneDrive for Business and SharePoint.\").optional(),\n if_match_etag: z.string().describe(\"An ETag value to prevent lost updates. If provided, the update will only proceed if the current file's ETag matches this value. Returns 412 error if it doesn't match.\").optional(),\n file_system_info: z.object({\n createdDateTime: z.string().describe(\"The UTC date and time the file was created on a client. ISO 8601 format.\").optional(),\n lastAccessedDateTime: z.string().describe(\"The UTC date and time the file was last accessed. ISO 8601 format.\").optional(),\n lastModifiedDateTime: z.string().describe(\"The UTC date and time the file was last modified on a client. ISO 8601 format.\").optional(),\n}).describe(\"File system information on client.\").optional(),\n conflict_behavior: z.enum([\"replace\", \"fail\", \"rename\"]).default(\"replace\").describe(\"How to handle conflicts when updating the file. 'replace' overwrites the existing content (default), 'fail' returns an error if conflict occurs, 'rename' creates a new file with a different name.\").optional(),\n drive_item_source: z.object({\n externalId: z.string().describe(\"The external identifier for the drive item from the source.\").optional(),\n application: z.string().describe(\"Enumeration value that indicates the source application.\").optional(),\n}).describe(\"Information about the drive item source. Only on OneDrive for Business and SharePoint.\").optional(),\n if_none_match_etag: z.string().describe(\"An ETag value to prevent updates if the item already exists. If provided and the ETag matches, returns 412 error. Used to detect if the item has changed.\").optional(),\n});\nconst OneDriveUpdateFileContent_FileObjectSchema = z.
|
|
1
|
+
{"version":3,"file":"update-file-content.mjs","names":[],"sources":["../../src/actions/update-file-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateFileContentInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Optional file content to upload. When provided, the action creates an upload session, streams the file bytes in chunks, and returns the updated DriveItem (id/name/size/file). When omitted, the action only creates the upload session and returns its uploadUrl + session metadata, leaving subsequent PUT uploads to the caller (legacy behavior).\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) to update.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. If provided, uses /sites/{siteId}/drive. Mutually exclusive with drive_id, group_id, and user_id.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user. If provided, uses /users/{userId}/drive. Mutually exclusive with drive_id, site_id, and group_id.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, uses /me/drive. Mutually exclusive with site_id, group_id, and user_id.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. If provided, uses /groups/{groupId}/drive. Mutually exclusive with drive_id, site_id, and user_id.\").optional(),\n defer_commit: z.boolean().describe(\"If true, the final file creation is deferred until an explicit completion request is made. Useful for very large files when the caller drives the upload themselves. Ignored when `file` is provided — the chunked upload always commits the session at the end.\").optional(),\n media_source: z.object({\n contentCategory: z.string().describe(\"Enumeration value that indicates the media content category.\").optional(),\n}).describe(\"Media source information. Only on OneDrive for Business and SharePoint.\").optional(),\n if_match_etag: z.string().describe(\"An ETag value to prevent lost updates. If provided, the update will only proceed if the current file's ETag matches this value. Returns 412 error if it doesn't match.\").optional(),\n file_system_info: z.object({\n createdDateTime: z.string().describe(\"The UTC date and time the file was created on a client. ISO 8601 format.\").optional(),\n lastAccessedDateTime: z.string().describe(\"The UTC date and time the file was last accessed. ISO 8601 format.\").optional(),\n lastModifiedDateTime: z.string().describe(\"The UTC date and time the file was last modified on a client. ISO 8601 format.\").optional(),\n}).describe(\"File system information on client.\").optional(),\n conflict_behavior: z.enum([\"replace\", \"fail\", \"rename\"]).default(\"replace\").describe(\"How to handle conflicts when updating the file. 'replace' overwrites the existing content (default), 'fail' returns an error if conflict occurs, 'rename' creates a new file with a different name.\").optional(),\n drive_item_source: z.object({\n externalId: z.string().describe(\"The external identifier for the drive item from the source.\").optional(),\n application: z.string().describe(\"Enumeration value that indicates the source application.\").optional(),\n}).describe(\"Information about the drive item source. Only on OneDrive for Business and SharePoint.\").optional(),\n if_none_match_etag: z.string().describe(\"An ETag value to prevent updates if the item already exists. If provided and the ETag matches, returns 412 error. Used to detect if the item has changed.\").optional(),\n});\nconst OneDriveUpdateFileContent_FileObjectSchema = z.record(z.string(), z.unknown()).describe(\"Container for OneDrive-specific file metadata in the response (shape mirrors upload_file).\");\nexport const OneDriveUpdateFileContentOutput = z.object({\n id: z.string().describe(\"ID of the updated DriveItem. Same as input item_id unless conflict_behavior caused a rename. Populated only when `file` was provided.\").nullable().optional(),\n file: OneDriveUpdateFileContent_FileObjectSchema.nullable().optional(),\n name: z.string().describe(\"Final name of the updated DriveItem. Populated only when `file` was provided.\").nullable().optional(),\n size: z.number().int().describe(\"Final size of the file in bytes. Populated only when `file` was provided.\").nullable().optional(),\n uploadUrl: z.string().describe(\"The resumable upload URL where file bytes should be uploaded using PUT requests. Returned only when `file` was not provided.\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration time of the upload session. Returned only when `file` was not provided.\").nullable().optional(),\n nextExpectedRanges: z.array(z.string()).describe(\"Array of byte ranges still needed for the upload (e.g., ['26-']). Returned only when `file` was not provided.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveUpdateFileContent = action(\"ONE_DRIVE_UPDATE_FILE_CONTENT\", {\n slug: \"one_drive-update-file-content\",\n name: \"Update File Content\",\n description: \"Tool to update an existing file's content in OneDrive. When called without a `file` parameter, creates an upload session and returns its uploadUrl (legacy behavior — caller drives the PUT uploads). When called with a `file`, the action streams the file's bytes in chunks via the upload session and returns the final updated DriveItem. The item's ID is preserved (existing share links remain valid) unless conflict_behavior=rename causes the server to create a new item.\",\n input: OneDriveUpdateFileContentInput,\n output: OneDriveUpdateFileContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,uVAAuV,CAAC,CAAC,SAAS;CAC5W,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACzL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,S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AAC,CAAC,CAAC,SAAS,4FAA4F;AAW1L,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrL,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnL,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtJ,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -17,7 +17,19 @@ declare const oneDriveUpdateSharepointItemPermission: import("@keystrokehq/actio
|
|
|
17
17
|
site_id: string;
|
|
18
18
|
permission_id: string;
|
|
19
19
|
item_id?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, 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>>]>;
|
|
21
33
|
//#endregion
|
|
22
34
|
export { oneDriveUpdateSharepointItemPermission };
|
|
23
35
|
//# sourceMappingURL=update-sharepoint-item-permission.d.cts.map
|
|
@@ -17,7 +17,19 @@ declare const oneDriveUpdateSharepointItemPermission: import("@keystrokehq/actio
|
|
|
17
17
|
site_id: string;
|
|
18
18
|
permission_id: string;
|
|
19
19
|
item_id?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, 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>>]>;
|
|
21
33
|
//#endregion
|
|
22
34
|
export { oneDriveUpdateSharepointItemPermission };
|
|
23
35
|
//# sourceMappingURL=update-sharepoint-item-permission.d.mts.map
|
|
@@ -8,7 +8,7 @@ const OneDriveUpdateSharepointListItemFieldsInput = zod.z.object({
|
|
|
8
8
|
site_id: zod.z.string().describe("The Microsoft Graph SharePoint site ID in composite format, usually 'hostname,site-collection-id,web-id'."),
|
|
9
9
|
if_match: zod.z.string().describe("Optional eTag for optimistic concurrency. If provided and it does not match the current list item eTag, Microsoft Graph returns 412 Precondition Failed.").optional()
|
|
10
10
|
});
|
|
11
|
-
const OneDriveUpdateSharepointListItemFieldsOutput = zod.z.object({ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The field values returned by Microsoft Graph after the update.") });
|
|
11
|
+
const OneDriveUpdateSharepointListItemFieldsOutput = zod.z.object({ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The field values returned by Microsoft Graph after the update.") }).passthrough();
|
|
12
12
|
const oneDriveUpdateSharepointListItemFields = require_action.action("ONE_DRIVE_UPDATE_SHAREPOINT_LIST_ITEM_FIELDS", {
|
|
13
13
|
slug: "one_drive-update-sharepoint-list-item-fields",
|
|
14
14
|
name: "Update SharePoint List Item Fields",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sharepoint-list-item-fields.cjs","names":["z","action"],"sources":["../../src/actions/update-sharepoint-list-item-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateSharepointListItemFieldsInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Field values to update, keyed by SharePoint internal column name. Only supplied fields are changed; all other list item fields are left as-is.\"),\n item_id: z.string().describe(\"The unique ID of the SharePoint list item to update.\"),\n list_id: z.string().describe(\"The unique Microsoft Graph ID of the SharePoint list that contains the item. Use ONE_DRIVE_LIST_SITE_LISTS to find list IDs.\"),\n site_id: z.string().describe(\"The Microsoft Graph SharePoint site ID in composite format, usually 'hostname,site-collection-id,web-id'.\"),\n if_match: z.string().describe(\"Optional eTag for optimistic concurrency. If provided and it does not match the current list item eTag, Microsoft Graph returns 412 Precondition Failed.\").optional(),\n});\nexport const OneDriveUpdateSharepointListItemFieldsOutput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"The field values returned by Microsoft Graph after the update.\"),\n});\n\nexport const oneDriveUpdateSharepointListItemFields = action(\"ONE_DRIVE_UPDATE_SHAREPOINT_LIST_ITEM_FIELDS\", {\n slug: \"one_drive-update-sharepoint-list-item-fields\",\n name: \"Update SharePoint List Item Fields\",\n description: \"Update field values on a SharePoint list item using Microsoft Graph through the OneDrive connection. Use when you need to modify one or more columns on an existing SharePoint list item.\",\n input: OneDriveUpdateSharepointListItemFieldsInput,\n output: OneDriveUpdateSharepointListItemFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gJAAgJ;CACnM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC3J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACxI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;AACrM,CAAC;AACD,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,EACnE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,EACrH,CAAC;
|
|
1
|
+
{"version":3,"file":"update-sharepoint-list-item-fields.cjs","names":["z","action"],"sources":["../../src/actions/update-sharepoint-list-item-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateSharepointListItemFieldsInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Field values to update, keyed by SharePoint internal column name. Only supplied fields are changed; all other list item fields are left as-is.\"),\n item_id: z.string().describe(\"The unique ID of the SharePoint list item to update.\"),\n list_id: z.string().describe(\"The unique Microsoft Graph ID of the SharePoint list that contains the item. Use ONE_DRIVE_LIST_SITE_LISTS to find list IDs.\"),\n site_id: z.string().describe(\"The Microsoft Graph SharePoint site ID in composite format, usually 'hostname,site-collection-id,web-id'.\"),\n if_match: z.string().describe(\"Optional eTag for optimistic concurrency. If provided and it does not match the current list item eTag, Microsoft Graph returns 412 Precondition Failed.\").optional(),\n});\nexport const OneDriveUpdateSharepointListItemFieldsOutput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"The field values returned by Microsoft Graph after the update.\"),\n}).passthrough();\n\nexport const oneDriveUpdateSharepointListItemFields = action(\"ONE_DRIVE_UPDATE_SHAREPOINT_LIST_ITEM_FIELDS\", {\n slug: \"one_drive-update-sharepoint-list-item-fields\",\n name: \"Update SharePoint List Item Fields\",\n description: \"Update field values on a SharePoint list item using Microsoft Graph through the OneDrive connection. Use when you need to modify one or more columns on an existing SharePoint list item.\",\n input: OneDriveUpdateSharepointListItemFieldsInput,\n output: OneDriveUpdateSharepointListItemFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gJAAgJ;CACnM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC3J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACxI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;AACrM,CAAC;AACD,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,EACnE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,EACrH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yCAAyCC,eAAAA,OAAO,gDAAgD;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,14 +10,26 @@ declare const OneDriveUpdateSharepointListItemFieldsInput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const OneDriveUpdateSharepointListItemFieldsOutput: z.ZodObject<{
|
|
12
12
|
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const oneDriveUpdateSharepointListItemFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
fields: Record<string, unknown>;
|
|
16
16
|
item_id: string;
|
|
17
17
|
list_id: string;
|
|
18
18
|
site_id: string;
|
|
19
19
|
if_match?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, 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>>]>;
|
|
21
33
|
//#endregion
|
|
22
34
|
export { oneDriveUpdateSharepointListItemFields };
|
|
23
35
|
//# sourceMappingURL=update-sharepoint-list-item-fields.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sharepoint-list-item-fields.d.cts","names":[],"sources":["../../src/actions/update-sharepoint-list-item-fields.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAO3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;cAI5C,sCAAA,gCAAsC,wBAAA
|
|
1
|
+
{"version":3,"file":"update-sharepoint-list-item-fields.d.cts","names":[],"sources":["../../src/actions/update-sharepoint-list-item-fields.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAO3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;cAI5C,sCAAA,gCAAsC,wBAAA"}
|
|
@@ -10,14 +10,26 @@ declare const OneDriveUpdateSharepointListItemFieldsInput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const OneDriveUpdateSharepointListItemFieldsOutput: z.ZodObject<{
|
|
12
12
|
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const oneDriveUpdateSharepointListItemFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
fields: Record<string, unknown>;
|
|
16
16
|
item_id: string;
|
|
17
17
|
list_id: string;
|
|
18
18
|
site_id: string;
|
|
19
19
|
if_match?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, 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>>]>;
|
|
21
33
|
//#endregion
|
|
22
34
|
export { oneDriveUpdateSharepointListItemFields };
|
|
23
35
|
//# sourceMappingURL=update-sharepoint-list-item-fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sharepoint-list-item-fields.d.mts","names":[],"sources":["../../src/actions/update-sharepoint-list-item-fields.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAO3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;cAI5C,sCAAA,gCAAsC,wBAAA
|
|
1
|
+
{"version":3,"file":"update-sharepoint-list-item-fields.d.mts","names":[],"sources":["../../src/actions/update-sharepoint-list-item-fields.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAO3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;cAI5C,sCAAA,gCAAsC,wBAAA"}
|
|
@@ -11,7 +11,7 @@ const oneDriveUpdateSharepointListItemFields = action("ONE_DRIVE_UPDATE_SHAREPOI
|
|
|
11
11
|
site_id: z.string().describe("The Microsoft Graph SharePoint site ID in composite format, usually 'hostname,site-collection-id,web-id'."),
|
|
12
12
|
if_match: z.string().describe("Optional eTag for optimistic concurrency. If provided and it does not match the current list item eTag, Microsoft Graph returns 412 Precondition Failed.").optional()
|
|
13
13
|
}),
|
|
14
|
-
output: z.object({ fields: z.record(z.string(), z.unknown()).describe("The field values returned by Microsoft Graph after the update.") })
|
|
14
|
+
output: z.object({ fields: z.record(z.string(), z.unknown()).describe("The field values returned by Microsoft Graph after the update.") }).passthrough()
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { oneDriveUpdateSharepointListItemFields };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sharepoint-list-item-fields.mjs","names":[],"sources":["../../src/actions/update-sharepoint-list-item-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateSharepointListItemFieldsInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Field values to update, keyed by SharePoint internal column name. Only supplied fields are changed; all other list item fields are left as-is.\"),\n item_id: z.string().describe(\"The unique ID of the SharePoint list item to update.\"),\n list_id: z.string().describe(\"The unique Microsoft Graph ID of the SharePoint list that contains the item. Use ONE_DRIVE_LIST_SITE_LISTS to find list IDs.\"),\n site_id: z.string().describe(\"The Microsoft Graph SharePoint site ID in composite format, usually 'hostname,site-collection-id,web-id'.\"),\n if_match: z.string().describe(\"Optional eTag for optimistic concurrency. If provided and it does not match the current list item eTag, Microsoft Graph returns 412 Precondition Failed.\").optional(),\n});\nexport const OneDriveUpdateSharepointListItemFieldsOutput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"The field values returned by Microsoft Graph after the update.\"),\n});\n\nexport const oneDriveUpdateSharepointListItemFields = action(\"ONE_DRIVE_UPDATE_SHAREPOINT_LIST_ITEM_FIELDS\", {\n slug: \"one_drive-update-sharepoint-list-item-fields\",\n name: \"Update SharePoint List Item Fields\",\n description: \"Update field values on a SharePoint list item using Microsoft Graph through the OneDrive connection. Use when you need to modify one or more columns on an existing SharePoint list item.\",\n input: OneDriveUpdateSharepointListItemFieldsInput,\n output: OneDriveUpdateSharepointListItemFieldsOutput,\n});\n"],"mappings":";;AAeA,MAAa,yCAAyC,OAAO,gDAAgD;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfyD,EAAE,OAAO;EAClE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gJAAgJ;EACnM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;EAC3J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACxI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CACrM,CASS;CACP,QAT0D,EAAE,OAAO,EACnE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,EACrH,
|
|
1
|
+
{"version":3,"file":"update-sharepoint-list-item-fields.mjs","names":[],"sources":["../../src/actions/update-sharepoint-list-item-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateSharepointListItemFieldsInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Field values to update, keyed by SharePoint internal column name. Only supplied fields are changed; all other list item fields are left as-is.\"),\n item_id: z.string().describe(\"The unique ID of the SharePoint list item to update.\"),\n list_id: z.string().describe(\"The unique Microsoft Graph ID of the SharePoint list that contains the item. Use ONE_DRIVE_LIST_SITE_LISTS to find list IDs.\"),\n site_id: z.string().describe(\"The Microsoft Graph SharePoint site ID in composite format, usually 'hostname,site-collection-id,web-id'.\"),\n if_match: z.string().describe(\"Optional eTag for optimistic concurrency. If provided and it does not match the current list item eTag, Microsoft Graph returns 412 Precondition Failed.\").optional(),\n});\nexport const OneDriveUpdateSharepointListItemFieldsOutput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"The field values returned by Microsoft Graph after the update.\"),\n}).passthrough();\n\nexport const oneDriveUpdateSharepointListItemFields = action(\"ONE_DRIVE_UPDATE_SHAREPOINT_LIST_ITEM_FIELDS\", {\n slug: \"one_drive-update-sharepoint-list-item-fields\",\n name: \"Update SharePoint List Item Fields\",\n description: \"Update field values on a SharePoint list item using Microsoft Graph through the OneDrive connection. Use when you need to modify one or more columns on an existing SharePoint list item.\",\n input: OneDriveUpdateSharepointListItemFieldsInput,\n output: OneDriveUpdateSharepointListItemFieldsOutput,\n});\n"],"mappings":";;AAeA,MAAa,yCAAyC,OAAO,gDAAgD;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfyD,EAAE,OAAO;EAClE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gJAAgJ;EACnM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;EAC3J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACxI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CACrM,CASS;CACP,QAT0D,EAAE,OAAO,EACnE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,EACrH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -79,7 +79,7 @@ const OneDriveUpdateWorkbookRangeOutput = zod.z.object({
|
|
|
79
79
|
zod.z.number(),
|
|
80
80
|
zod.z.boolean()
|
|
81
81
|
]).nullable())).describe("2D array of formulas in local notation")
|
|
82
|
-
});
|
|
82
|
+
}).passthrough();
|
|
83
83
|
const oneDriveUpdateWorkbookRange = require_action.action("ONE_DRIVE_UPDATE_WORKBOOK_RANGE", {
|
|
84
84
|
slug: "one_drive-update-workbook-range",
|
|
85
85
|
name: "Update Workbook Range",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-workbook-range.cjs","names":["z","action"],"sources":["../../src/actions/update-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateWorkbookRangeInput = z.object({\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing values to write to the range. Array dimensions must match or be smaller than the range. At least one of values, formulas, or number_format must be provided.\").optional(),\n address: z.string().describe(\"The range address in A1 notation. Supports single cell (e.g., 'A1'), range (e.g., 'A1:B5'), entire column (e.g., 'A:A'), or entire row (e.g., '1:1').\"),\n item_id: z.string().describe(\"The ID of the workbook item\"),\n drive_id: z.string().describe(\"The ID of the drive containing the workbook\"),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing formulas to set. If both formulas and values are provided, formulas take precedence.\").optional(),\n session_id: z.string().describe(\"Optional workbook session ID to use via the Workbook-Session-Id request header.\").optional(),\n number_format: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing number format strings\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet\"),\n});\nexport const OneDriveUpdateWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of text values in the range\"),\n hidden: z.boolean().describe(\"Whether the range is hidden\").nullable(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of values in the range\"),\n address: z.string().describe(\"The range address in A1 notation\").nullable(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in the range\"),\n rowCount: z.number().int().describe(\"Number of rows in the range\").nullable(),\n rowIndex: z.number().int().describe(\"Index of the first row\").nullable(),\n cellCount: z.number().int().describe(\"Number of cells in the range\").nullable(),\n rowHidden: z.boolean().describe(\"Whether rows are hidden\").nullable(),\n valueTypes: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of value types\"),\n columnCount: z.number().int().describe(\"Number of columns in the range\").nullable(),\n columnIndex: z.number().int().describe(\"Index of the first column\").nullable(),\n addressLocal: z.string().describe(\"The range address in local notation\").nullable(),\n columnHidden: z.boolean().describe(\"Whether columns are hidden\").nullable(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in R1C1 notation\"),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of number formats\"),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in local notation\"),\n});\n\nexport const oneDriveUpdateWorkbookRange = action(\"ONE_DRIVE_UPDATE_WORKBOOK_RANGE\", {\n slug: \"one_drive-update-workbook-range\",\n name: \"Update Workbook Range\",\n description: \"Updates a range in a workbook worksheet using Microsoft Graph API. Use this action when you need to write data, formulas, or number formats to specific cells in an Excel workbook stored in OneDrive or SharePoint. The address parameter supports various formats including single cells, cell ranges, entire columns, or entire rows.\",\n input: OneDriveUpdateWorkbookRangeInput,\n output: OneDriveUpdateWorkbookRangeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;CACrT,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ;CACpL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC3E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM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BAA2B,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC1E,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAC5J,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B;CACjJ,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAChK,CAAC;
|
|
1
|
+
{"version":3,"file":"update-workbook-range.cjs","names":["z","action"],"sources":["../../src/actions/update-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateWorkbookRangeInput = z.object({\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing values to write to the range. Array dimensions must match or be smaller than the range. At least one of values, formulas, or number_format must be provided.\").optional(),\n address: z.string().describe(\"The range address in A1 notation. Supports single cell (e.g., 'A1'), range (e.g., 'A1:B5'), entire column (e.g., 'A:A'), or entire row (e.g., '1:1').\"),\n item_id: z.string().describe(\"The ID of the workbook item\"),\n drive_id: z.string().describe(\"The ID of the drive containing the workbook\"),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing formulas to set. If both formulas and values are provided, formulas take precedence.\").optional(),\n session_id: z.string().describe(\"Optional workbook session ID to use via the Workbook-Session-Id request header.\").optional(),\n number_format: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing number format strings\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet\"),\n});\nexport const OneDriveUpdateWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of text values in the range\"),\n hidden: z.boolean().describe(\"Whether the range is hidden\").nullable(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of values in the range\"),\n address: z.string().describe(\"The range address in A1 notation\").nullable(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in the range\"),\n rowCount: z.number().int().describe(\"Number of rows in the range\").nullable(),\n rowIndex: z.number().int().describe(\"Index of the first row\").nullable(),\n cellCount: z.number().int().describe(\"Number of cells in the range\").nullable(),\n rowHidden: z.boolean().describe(\"Whether rows are hidden\").nullable(),\n valueTypes: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of value types\"),\n columnCount: z.number().int().describe(\"Number of columns in the range\").nullable(),\n columnIndex: z.number().int().describe(\"Index of the first column\").nullable(),\n addressLocal: z.string().describe(\"The range address in local notation\").nullable(),\n columnHidden: z.boolean().describe(\"Whether columns are hidden\").nullable(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in R1C1 notation\"),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of number formats\"),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in local notation\"),\n}).passthrough();\n\nexport const oneDriveUpdateWorkbookRange = action(\"ONE_DRIVE_UPDATE_WORKBOOK_RANGE\", {\n slug: \"one_drive-update-workbook-range\",\n name: \"Update Workbook Range\",\n description: \"Updates a range in a workbook worksheet using Microsoft Graph API. Use this action when you need to write data, formulas, or number formats to specific cells in an Excel workbook stored in OneDrive or SharePoint. The address parameter supports various formats including single cells, cell ranges, entire columns, or entire rows.\",\n input: OneDriveUpdateWorkbookRangeInput,\n output: OneDriveUpdateWorkbookRangeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;CACrT,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ;CACpL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC3E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA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odNumber, z.ZodBoolean]>>>>;
|
|
30
30
|
numberFormat: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
31
31
|
formulasLocal: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const oneDriveUpdateWorkbookRange: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
address: string;
|
|
35
35
|
item_id: string;
|
|
@@ -39,7 +39,19 @@ declare const oneDriveUpdateWorkbookRange: import("@keystrokehq/action").Workflo
|
|
|
39
39
|
formulas?: (string | number | boolean | null)[][] | undefined;
|
|
40
40
|
session_id?: string | undefined;
|
|
41
41
|
number_format?: (string | number | boolean | null)[][] | undefined;
|
|
42
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
42
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
43
|
+
connectionId: z.ZodString;
|
|
44
|
+
entityId: z.ZodString;
|
|
45
|
+
instanceId: z.ZodString;
|
|
46
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
+
accessToken: z.ZodString;
|
|
48
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
49
|
+
connectionId: z.ZodString;
|
|
50
|
+
entityId: z.ZodString;
|
|
51
|
+
instanceId: z.ZodString;
|
|
52
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
+
accessToken: z.ZodString;
|
|
54
|
+
}, z.core.$strip>>]>;
|
|
43
55
|
//#endregion
|
|
44
56
|
export { oneDriveUpdateWorkbookRange };
|
|
45
57
|
//# sourceMappingURL=update-workbook-range.d.cts.map
|
|
@@ -29,7 +29,7 @@ declare const OneDriveUpdateWorkbookRangeOutput: z.ZodObject<{
|
|
|
29
29
|
formulasR1C1: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
30
30
|
numberFormat: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
31
31
|
formulasLocal: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const oneDriveUpdateWorkbookRange: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
address: string;
|
|
35
35
|
item_id: string;
|
|
@@ -39,7 +39,19 @@ declare const oneDriveUpdateWorkbookRange: import("@keystrokehq/action").Workflo
|
|
|
39
39
|
formulas?: (string | number | boolean | null)[][] | undefined;
|
|
40
40
|
session_id?: string | undefined;
|
|
41
41
|
number_format?: (string | number | boolean | null)[][] | undefined;
|
|
42
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
42
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
43
|
+
connectionId: z.ZodString;
|
|
44
|
+
entityId: z.ZodString;
|
|
45
|
+
instanceId: z.ZodString;
|
|
46
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
+
accessToken: z.ZodString;
|
|
48
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
49
|
+
connectionId: z.ZodString;
|
|
50
|
+
entityId: z.ZodString;
|
|
51
|
+
instanceId: z.ZodString;
|
|
52
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
+
accessToken: z.ZodString;
|
|
54
|
+
}, z.core.$strip>>]>;
|
|
43
55
|
//#endregion
|
|
44
56
|
export { oneDriveUpdateWorkbookRange };
|
|
45
57
|
//# sourceMappingURL=update-workbook-range.d.mts.map
|
|
@@ -82,7 +82,7 @@ const oneDriveUpdateWorkbookRange = action("ONE_DRIVE_UPDATE_WORKBOOK_RANGE", {
|
|
|
82
82
|
z.number(),
|
|
83
83
|
z.boolean()
|
|
84
84
|
]).nullable())).describe("2D array of formulas in local notation")
|
|
85
|
-
})
|
|
85
|
+
}).passthrough()
|
|
86
86
|
});
|
|
87
87
|
//#endregion
|
|
88
88
|
export { oneDriveUpdateWorkbookRange };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-workbook-range.mjs","names":[],"sources":["../../src/actions/update-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateWorkbookRangeInput = z.object({\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing values to write to the range. Array dimensions must match or be smaller than the range. At least one of values, formulas, or number_format must be provided.\").optional(),\n address: z.string().describe(\"The range address in A1 notation. Supports single cell (e.g., 'A1'), range (e.g., 'A1:B5'), entire column (e.g., 'A:A'), or entire row (e.g., '1:1').\"),\n item_id: z.string().describe(\"The ID of the workbook item\"),\n drive_id: z.string().describe(\"The ID of the drive containing the workbook\"),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing formulas to set. If both formulas and values are provided, formulas take precedence.\").optional(),\n session_id: z.string().describe(\"Optional workbook session ID to use via the Workbook-Session-Id request header.\").optional(),\n number_format: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing number format strings\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet\"),\n});\nexport const OneDriveUpdateWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of text values in the range\"),\n hidden: z.boolean().describe(\"Whether the range is hidden\").nullable(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of values in the range\"),\n address: z.string().describe(\"The range address in A1 notation\").nullable(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in the range\"),\n rowCount: z.number().int().describe(\"Number of rows in the range\").nullable(),\n rowIndex: z.number().int().describe(\"Index of the first row\").nullable(),\n cellCount: z.number().int().describe(\"Number of cells in the range\").nullable(),\n rowHidden: z.boolean().describe(\"Whether rows are hidden\").nullable(),\n valueTypes: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of value types\"),\n columnCount: z.number().int().describe(\"Number of columns in the range\").nullable(),\n columnIndex: z.number().int().describe(\"Index of the first column\").nullable(),\n addressLocal: z.string().describe(\"The range address in local notation\").nullable(),\n columnHidden: z.boolean().describe(\"Whether columns are hidden\").nullable(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in R1C1 notation\"),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of number formats\"),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in local notation\"),\n});\n\nexport const oneDriveUpdateWorkbookRange = action(\"ONE_DRIVE_UPDATE_WORKBOOK_RANGE\", {\n slug: \"one_drive-update-workbook-range\",\n name: \"Update Workbook Range\",\n description: \"Updates a range in a workbook worksheet using Microsoft Graph API. Use this action when you need to write data, formulas, or number formats to specific cells in an Excel workbook stored in OneDrive or SharePoint. The address parameter supports various formats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SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,yBAAyB;EAC5I,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAClF,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC1E,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC;EAC5J,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B;EACjJ,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC;CAChK,
|
|
1
|
+
{"version":3,"file":"update-workbook-range.mjs","names":[],"sources":["../../src/actions/update-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateWorkbookRangeInput = z.object({\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing values to write to the range. Array dimensions must match or be smaller than the range. At least one of values, formulas, or number_format must be provided.\").optional(),\n address: z.string().describe(\"The range address in A1 notation. Supports single cell (e.g., 'A1'), range (e.g., 'A1:B5'), entire column (e.g., 'A:A'), or entire row (e.g., '1:1').\"),\n item_id: z.string().describe(\"The ID of the workbook item\"),\n drive_id: z.string().describe(\"The ID of the drive containing the workbook\"),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing formulas to set. If both formulas and values are provided, formulas take precedence.\").optional(),\n session_id: z.string().describe(\"Optional workbook session ID to use via the Workbook-Session-Id request header.\").optional(),\n number_format: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing number format strings\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet\"),\n});\nexport const OneDriveUpdateWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of text values in the range\"),\n hidden: z.boolean().describe(\"Whether the range is hidden\").nullable(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of values in the range\"),\n address: z.string().describe(\"The range address in A1 notation\").nullable(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in the range\"),\n rowCount: z.number().int().describe(\"Number of rows in the range\").nullable(),\n rowIndex: z.number().int().describe(\"Index of the first row\").nullable(),\n cellCount: z.number().int().describe(\"Number of cells in the range\").nullable(),\n rowHidden: z.boolean().describe(\"Whether rows are hidden\").nullable(),\n valueTypes: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of value types\"),\n columnCount: z.number().int().describe(\"Number of columns in the range\").nullable(),\n columnIndex: z.number().int().describe(\"Index of the first column\").nullable(),\n addressLocal: z.string().describe(\"The range address in local notation\").nullable(),\n columnHidden: z.boolean().describe(\"Whether columns are hidden\").nullable(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in R1C1 notation\"),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of number formats\"),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in local notation\"),\n}).passthrough();\n\nexport const oneDriveUpdateWorkbookRange = action(\"ONE_DRIVE_UPDATE_WORKBOOK_RANGE\", {\n slug: \"one_drive-update-workbook-range\",\n name: \"Update Workbook Range\",\n description: \"Updates a range in a workbook worksheet using Microsoft Graph API. Use this action when you need to write data, formulas, or number formats to specific cells in an Excel workbook stored in OneDrive or SharePoint. The address parameter supports various formats including single cells, cell ranges, entire columns, or entire rows.\",\n input: OneDriveUpdateWorkbookRangeInput,\n output: OneDriveUpdateWorkbookRangeOutput,\n});\n"],"mappings":";;AAkCA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlC8C,EAAE,OAAO;EACvD,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;EACrT,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ;EACpL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC3E,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ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CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B;EACjJ,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC;CAChK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -19,7 +19,7 @@ const OneDriveUpdateWorkbookWorksheetOutput = zod.z.object({
|
|
|
19
19
|
name: zod.z.string().describe("The display name of the worksheet.").nullable(),
|
|
20
20
|
position: zod.z.number().int().describe("The zero-based position of the worksheet in the workbook.").nullable(),
|
|
21
21
|
visibility: zod.z.string().describe("The visibility state of the worksheet.").nullable()
|
|
22
|
-
});
|
|
22
|
+
}).passthrough();
|
|
23
23
|
const oneDriveUpdateWorkbookWorksheet = require_action.action("ONE_DRIVE_UPDATE_WORKBOOK_WORKSHEET", {
|
|
24
24
|
slug: "one_drive-update-workbook-worksheet",
|
|
25
25
|
name: "Update Workbook Worksheet",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-workbook-worksheet.cjs","names":["z","action"],"sources":["../../src/actions/update-workbook-worksheet.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateWorkbookWorksheetInput = z.object({\n name: z.string().describe(\"The new display name for the worksheet.\").optional(),\n item_id: z.string().describe(\"The ID of the workbook item (Excel file) containing the worksheet.\"),\n drive_id: z.string().describe(\"The ID of the drive containing the workbook.\"),\n position: z.number().int().describe(\"The new zero-based position of the worksheet in the workbook.\").optional(),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to make changes in an existing Excel workbook session.\").optional(),\n visibility: z.enum([\"Visible\", \"Hidden\", \"VeryHidden\"]).describe(\"Worksheet visibility state.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet to update. Will be URL-encoded automatically.\"),\n});\nexport const OneDriveUpdateWorkbookWorksheetOutput = z.object({\n id: z.string().describe(\"The unique ID of the worksheet.\").nullable(),\n name: z.string().describe(\"The display name of the worksheet.\").nullable(),\n position: z.number().int().describe(\"The zero-based position of the worksheet in the workbook.\").nullable(),\n visibility: z.string().describe(\"The visibility state of the worksheet.\").nullable(),\n});\n\nexport const oneDriveUpdateWorkbookWorksheet = action(\"ONE_DRIVE_UPDATE_WORKBOOK_WORKSHEET\", {\n slug: \"one_drive-update-workbook-worksheet\",\n name: \"Update Workbook Worksheet\",\n description: \"Updates properties of a worksheet in an Excel workbook stored in OneDrive. Use this action when you need to rename a worksheet, change its position (tab order), or modify its visibility state. At least one of name, position, or visibility must be provided in the request. The worksheet is identified by its ID or display name within the specified workbook.\",\n input: OneDriveUpdateWorkbookWorksheetInput,\n output: OneDriveUpdateWorkbookWorksheetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC1I,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAY,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;AAC3H,CAAC;AACD,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACrF,CAAC;
|
|
1
|
+
{"version":3,"file":"update-workbook-worksheet.cjs","names":["z","action"],"sources":["../../src/actions/update-workbook-worksheet.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateWorkbookWorksheetInput = z.object({\n name: z.string().describe(\"The new display name for the worksheet.\").optional(),\n item_id: z.string().describe(\"The ID of the workbook item (Excel file) containing the worksheet.\"),\n drive_id: z.string().describe(\"The ID of the drive containing the workbook.\"),\n position: z.number().int().describe(\"The new zero-based position of the worksheet in the workbook.\").optional(),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to make changes in an existing Excel workbook session.\").optional(),\n visibility: z.enum([\"Visible\", \"Hidden\", \"VeryHidden\"]).describe(\"Worksheet visibility state.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet to update. Will be URL-encoded automatically.\"),\n});\nexport const OneDriveUpdateWorkbookWorksheetOutput = z.object({\n id: z.string().describe(\"The unique ID of the worksheet.\").nullable(),\n name: z.string().describe(\"The display name of the worksheet.\").nullable(),\n position: z.number().int().describe(\"The zero-based position of the worksheet in the workbook.\").nullable(),\n visibility: z.string().describe(\"The visibility state of the worksheet.\").nullable(),\n}).passthrough();\n\nexport const oneDriveUpdateWorkbookWorksheet = action(\"ONE_DRIVE_UPDATE_WORKBOOK_WORKSHEET\", {\n slug: \"one_drive-update-workbook-worksheet\",\n name: \"Update Workbook Worksheet\",\n description: \"Updates properties of a worksheet in an Excel workbook stored in OneDrive. Use this action when you need to rename a worksheet, change its position (tab order), or modify its visibility state. At least one of name, position, or visibility must be provided in the request. The worksheet is identified by its ID or display name within the specified workbook.\",\n input: OneDriveUpdateWorkbookWorksheetInput,\n output: OneDriveUpdateWorkbookWorksheetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC1I,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAY,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;AAC3H,CAAC;AACD,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,7 +19,7 @@ declare const OneDriveUpdateWorkbookWorksheetOutput: z.ZodObject<{
|
|
|
19
19
|
name: z.ZodNullable<z.ZodString>;
|
|
20
20
|
position: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
visibility: z.ZodNullable<z.ZodString>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const oneDriveUpdateWorkbookWorksheet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
item_id: string;
|
|
25
25
|
drive_id: string;
|
|
@@ -28,7 +28,19 @@ declare const oneDriveUpdateWorkbookWorksheet: import("@keystrokehq/action").Wor
|
|
|
28
28
|
position?: number | undefined;
|
|
29
29
|
session_id?: string | undefined;
|
|
30
30
|
visibility?: "Visible" | "Hidden" | "VeryHidden" | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
32
|
+
connectionId: z.ZodString;
|
|
33
|
+
entityId: z.ZodString;
|
|
34
|
+
instanceId: z.ZodString;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
accessToken: z.ZodString;
|
|
37
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
38
|
+
connectionId: z.ZodString;
|
|
39
|
+
entityId: z.ZodString;
|
|
40
|
+
instanceId: z.ZodString;
|
|
41
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
+
accessToken: z.ZodString;
|
|
43
|
+
}, z.core.$strip>>]>;
|
|
32
44
|
//#endregion
|
|
33
45
|
export { oneDriveUpdateWorkbookWorksheet };
|
|
34
46
|
//# sourceMappingURL=update-workbook-worksheet.d.cts.map
|
|
@@ -19,7 +19,7 @@ declare const OneDriveUpdateWorkbookWorksheetOutput: z.ZodObject<{
|
|
|
19
19
|
name: z.ZodNullable<z.ZodString>;
|
|
20
20
|
position: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
visibility: z.ZodNullable<z.ZodString>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const oneDriveUpdateWorkbookWorksheet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
item_id: string;
|
|
25
25
|
drive_id: string;
|
|
@@ -28,7 +28,19 @@ declare const oneDriveUpdateWorkbookWorksheet: import("@keystrokehq/action").Wor
|
|
|
28
28
|
position?: number | undefined;
|
|
29
29
|
session_id?: string | undefined;
|
|
30
30
|
visibility?: "Visible" | "Hidden" | "VeryHidden" | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
32
|
+
connectionId: z.ZodString;
|
|
33
|
+
entityId: z.ZodString;
|
|
34
|
+
instanceId: z.ZodString;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
accessToken: z.ZodString;
|
|
37
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
38
|
+
connectionId: z.ZodString;
|
|
39
|
+
entityId: z.ZodString;
|
|
40
|
+
instanceId: z.ZodString;
|
|
41
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
+
accessToken: z.ZodString;
|
|
43
|
+
}, z.core.$strip>>]>;
|
|
32
44
|
//#endregion
|
|
33
45
|
export { oneDriveUpdateWorkbookWorksheet };
|
|
34
46
|
//# sourceMappingURL=update-workbook-worksheet.d.mts.map
|