@keystrokehq/one_drive 0.1.2 → 0.1.3
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 +1 -1
- package/dist/actions/add-workbook-worksheet.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/checkin-item.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/checkout-item.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/clear-workbook-range.d.mts +1 -1
- 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 +3 -3
- package/dist/actions/copy-item.d.mts +3 -3
- 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 +15 -15
- package/dist/actions/create-item-permission.d.mts +15 -15
- 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 +5 -5
- package/dist/actions/create-link.d.mts +5 -5
- package/dist/actions/create-link.mjs +4 -4
- package/dist/actions/create-link.mjs.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 +1 -1
- package/dist/actions/delete-item-permanently.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-item-permission.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-item.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-share-permission.d.mts +1 -1
- package/dist/actions/delete-share-permission.mjs +1 -1
- package/dist/actions/delete-share-permission.mjs.map +1 -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 +1 -1
- package/dist/actions/delete-workbook-range.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-workbook-worksheet.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/discard-checkout.d.mts +1 -1
- 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 +2 -2
- package/dist/actions/download-file-by-path.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/download-file.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/download-item-as-format.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/download-item-version.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/follow-item.d.mts +1 -1
- 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 +2 -2
- package/dist/actions/get-document-comments.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/get-drive-item-by-sharing-url.d.mts +2 -2
- 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 +18 -18
- package/dist/actions/get-drive.d.mts +18 -18
- 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 +5 -5
- package/dist/actions/get-followed-item.d.mts +5 -5
- 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 +18 -18
- package/dist/actions/get-group-drive.d.mts +18 -18
- 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 +24 -24
- package/dist/actions/get-item-permissions.d.mts +24 -24
- 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 +5 -5
- package/dist/actions/get-item-thumbnails.d.mts +5 -5
- 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 +12 -12
- package/dist/actions/get-item-versions.d.mts +12 -12
- 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 +24 -24
- package/dist/actions/get-item.d.mts +24 -24
- 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 +13 -13
- package/dist/actions/get-root.d.mts +13 -13
- 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 +2 -2
- package/dist/actions/get-share.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/get-sharepoint-list-items.d.mts +2 -2
- 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 +12 -12
- package/dist/actions/get-site-page-content.d.mts +12 -12
- 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 +1 -1
- package/dist/actions/get-site.d.mts +1 -1
- 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 +11 -11
- package/dist/actions/get-special-folder.d.mts +11 -11
- 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 +1 -1
- package/dist/actions/get-user.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/get-workbook-used-range.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/get-workbook-worksheet.d.mts +1 -1
- 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 +6 -5
- package/dist/actions/grant-share-permission.d.mts +6 -5
- package/dist/actions/grant-share-permission.mjs +5 -5
- package/dist/actions/grant-share-permission.mjs.map +1 -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 +8 -7
- package/dist/actions/invite-user-to-item.d.mts +8 -7
- 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 +64 -64
- package/dist/actions/list-activities.d.mts +64 -64
- 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 +42 -42
- package/dist/actions/list-all-drive-items.d.mts +42 -42
- 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 +12 -12
- package/dist/actions/list-bundles.d.mts +12 -12
- 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 +9 -9
- package/dist/actions/list-drives.d.mts +9 -9
- 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 +42 -42
- package/dist/actions/list-folder-children.d.mts +42 -42
- 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 +4 -4
- package/dist/actions/list-item-activities.d.mts +4 -4
- package/dist/actions/list-item-activities.mjs +4 -4
- package/dist/actions/list-item-activities.mjs.map +1 -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 +7 -7
- package/dist/actions/list-root-drive-changes.d.mts +7 -7
- 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 +2 -2
- package/dist/actions/list-share-permissions.d.mts +2 -2
- package/dist/actions/list-share-permissions.mjs +2 -2
- package/dist/actions/list-share-permissions.mjs.map +1 -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 +3 -3
- package/dist/actions/list-sharepoint-list-items-delta.d.mts +3 -3
- 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 +2 -2
- package/dist/actions/list-site-columns.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/list-site-items-delta.d.mts +2 -2
- 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 +15 -15
- package/dist/actions/list-site-lists.d.mts +15 -15
- 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 +2 -2
- package/dist/actions/list-site-subsites.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/list-subscriptions.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/list-workbook-worksheets.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/move-item.d.mts +2 -2
- 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 +3 -3
- package/dist/actions/onedrive-create-folder.d.mts +3 -3
- 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 +4 -4
- package/dist/actions/onedrive-create-text-file.d.mts +4 -4
- 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 +18 -18
- package/dist/actions/onedrive-find-file.d.mts +18 -18
- 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 +13 -13
- package/dist/actions/onedrive-find-folder.d.mts +13 -13
- 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 +36 -36
- package/dist/actions/onedrive-list-items.d.mts +36 -36
- 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 +6 -6
- package/dist/actions/onedrive-upload-file.d.mts +6 -6
- 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 +1 -1
- package/dist/actions/preview-drive-item.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/read-workbook-range.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/restore-drive-item.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/restore-item-version.d.mts +1 -1
- package/dist/actions/restore-item-version.mjs +1 -1
- package/dist/actions/restore-item-version.mjs.map +1 -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 +14 -14
- package/dist/actions/search-items.d.mts +14 -14
- 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 +1 -1
- package/dist/actions/unfollow-item.d.mts +1 -1
- 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 +5 -5
- package/dist/actions/update-drive-item-metadata.d.mts +5 -5
- 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 +14 -14
- package/dist/actions/update-drive-items-permissions.d.mts +14 -14
- 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 +4 -4
- package/dist/actions/update-file-content.d.mts +4 -4
- package/dist/actions/update-file-content.mjs +2 -2
- package/dist/actions/update-file-content.mjs.map +1 -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 +1 -1
- package/dist/actions/update-sharepoint-list-item-fields.d.mts +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 +1 -1
- package/dist/actions/update-workbook-range.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/update-workbook-worksheet.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/write-workbook-cell.d.mts +1 -1
- package/dist/actions/write-workbook-cell.mjs +1 -1
- package/dist/actions/write-workbook-cell.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
|
@@ -15,65 +15,65 @@ declare const OneDriveUpdateDriveItemsPermissionsOutput: z.ZodObject<{
|
|
|
15
15
|
link: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
roles: z.ZodArray<z.ZodString>;
|
|
20
20
|
grantedTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21
21
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
22
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
26
|
group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
27
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
31
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32
32
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>>>;
|
|
36
36
|
siteUser: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
37
37
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
41
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
42
42
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
-
}, z.core.$
|
|
46
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
47
|
grantedToV2: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
48
48
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
49
49
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
-
}, z.core.$
|
|
52
|
+
}, z.core.$loose>>>;
|
|
53
53
|
group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
54
54
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
56
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
-
}, z.core.$
|
|
57
|
+
}, z.core.$loose>>>;
|
|
58
58
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
59
59
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
60
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
61
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>>>;
|
|
63
63
|
siteUser: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
64
64
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
65
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
66
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
|
-
}, z.core.$
|
|
67
|
+
}, z.core.$loose>>>;
|
|
68
68
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
69
69
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70
70
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
71
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
-
}, z.core.$
|
|
73
|
-
}, z.core.$
|
|
72
|
+
}, z.core.$loose>>>;
|
|
73
|
+
}, z.core.$loose>>>;
|
|
74
74
|
hasPassword: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
75
75
|
expirationDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
-
}, z.core.$
|
|
76
|
+
}, z.core.$loose>;
|
|
77
77
|
declare const oneDriveUpdateDriveItemsPermissions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
78
78
|
roles: string[];
|
|
79
79
|
item_id: string;
|
|
@@ -15,65 +15,65 @@ declare const OneDriveUpdateDriveItemsPermissionsOutput: z.ZodObject<{
|
|
|
15
15
|
link: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
roles: z.ZodArray<z.ZodString>;
|
|
20
20
|
grantedTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21
21
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
22
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
26
|
group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
27
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
31
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32
32
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>>>;
|
|
36
36
|
siteUser: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
37
37
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
41
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
42
42
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
-
}, z.core.$
|
|
46
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
47
|
grantedToV2: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
48
48
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
49
49
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
-
}, z.core.$
|
|
52
|
+
}, z.core.$loose>>>;
|
|
53
53
|
group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
54
54
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
56
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
-
}, z.core.$
|
|
57
|
+
}, z.core.$loose>>>;
|
|
58
58
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
59
59
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
60
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
61
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>>>;
|
|
63
63
|
siteUser: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
64
64
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
65
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
66
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
|
-
}, z.core.$
|
|
67
|
+
}, z.core.$loose>>>;
|
|
68
68
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
69
69
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70
70
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
71
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
-
}, z.core.$
|
|
73
|
-
}, z.core.$
|
|
72
|
+
}, z.core.$loose>>>;
|
|
73
|
+
}, z.core.$loose>>>;
|
|
74
74
|
hasPassword: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
75
75
|
expirationDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
-
}, z.core.$
|
|
76
|
+
}, z.core.$loose>;
|
|
77
77
|
declare const oneDriveUpdateDriveItemsPermissions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
78
78
|
roles: string[];
|
|
79
79
|
item_id: string;
|
|
@@ -13,19 +13,19 @@ const OneDriveUpdateDriveItemsPermissionsInput = z.object({
|
|
|
13
13
|
const OneDriveUpdateDriveItemsPermissions_PermissionLinkSchema = z.object({
|
|
14
14
|
type: z.string().describe("The type of link (e.g., 'view', 'edit').").nullable().optional(),
|
|
15
15
|
webUrl: z.string().describe("The URL to access the item via the link.").nullable().optional()
|
|
16
|
-
});
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema = z.object({
|
|
18
18
|
id: z.string().describe("The unique identifier of the identity.").nullable().optional(),
|
|
19
19
|
loginName: z.string().describe("The login name of the site user.").nullable().optional(),
|
|
20
20
|
displayName: z.string().describe("The display name of the identity.").nullable().optional()
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const OneDriveUpdateDriveItemsPermissions_GrantedToSchema = z.object({
|
|
23
23
|
user: OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema.nullable().optional(),
|
|
24
24
|
group: OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema.nullable().optional(),
|
|
25
25
|
device: OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema.nullable().optional(),
|
|
26
26
|
siteUser: OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema.nullable().optional(),
|
|
27
27
|
application: OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema.nullable().optional()
|
|
28
|
-
});
|
|
28
|
+
}).passthrough();
|
|
29
29
|
const oneDriveUpdateDriveItemsPermissions = action("ONE_DRIVE_UPDATE_DRIVE_ITEMS_PERMISSIONS", {
|
|
30
30
|
slug: "one_drive-update-drive-items-permissions",
|
|
31
31
|
name: "Update Drive Item Permissions",
|
|
@@ -39,7 +39,7 @@ const oneDriveUpdateDriveItemsPermissions = action("ONE_DRIVE_UPDATE_DRIVE_ITEMS
|
|
|
39
39
|
grantedToV2: OneDriveUpdateDriveItemsPermissions_GrantedToSchema.nullable().optional(),
|
|
40
40
|
hasPassword: z.boolean().describe("Indicates whether the sharing link has a password.").nullable().optional(),
|
|
41
41
|
expirationDateTime: z.string().describe("The expiration date and time for the permission.").nullable().optional()
|
|
42
|
-
})
|
|
42
|
+
}).passthrough()
|
|
43
43
|
});
|
|
44
44
|
//#endregion
|
|
45
45
|
export { oneDriveUpdateDriveItemsPermissions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-drive-items-permissions.mjs","names":[],"sources":["../../src/actions/update-drive-items-permissions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateDriveItemsPermissionsInput = z.object({\n roles: z.array(z.string()).describe(\"Array of Microsoft Graph role strings to assign to the permission. Documented/common values include read, write, and owner for SharePoint/OneDrive for Business permission resources; tenant/resource-specific roles may also be accepted by Graph.\"),\n item_id: z.string().describe(\"The unique identifier of the drive item.\"),\n site_id: z.string().describe(\"The unique identifier of a SharePoint site. Use this if the item is in a SharePoint site's drive.\").optional(),\n user_id: z.string().describe(\"The unique identifier of a user. Use this if the item is in a specific user's drive (other than 'me').\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. Required if not using other identifiers like group_id, site_id, or user_id.\").optional(),\n group_id: z.string().describe(\"The unique identifier of a group. Use this if the item is in a group's drive.\").optional(),\n permission_id: z.string().describe(\"The unique identifier of the permission to update.\"),\n});\nconst OneDriveUpdateDriveItemsPermissions_PermissionLinkSchema = z.object({\n type: z.string().describe(\"The type of link (e.g., 'view', 'edit').\").nullable().optional(),\n webUrl: z.string().describe(\"The URL to access the item via the link.\").nullable().optional(),\n});\nconst OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema = z.object({\n id: z.string().describe(\"The unique identifier of the identity.\").nullable().optional(),\n loginName: z.string().describe(\"The login name of the site user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n});\nconst OneDriveUpdateDriveItemsPermissions_GrantedToSchema = z.object({\n user: OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema.nullable().optional(),\n group: OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema.nullable().optional(),\n device: OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema.nullable().optional(),\n siteUser: OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema.nullable().optional(),\n application: OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema.nullable().optional(),\n});\nexport const OneDriveUpdateDriveItemsPermissionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the permission.\").nullable(),\n link: OneDriveUpdateDriveItemsPermissions_PermissionLinkSchema.nullable().optional(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission.\"),\n grantedTo: OneDriveUpdateDriveItemsPermissions_GrantedToSchema.nullable().optional(),\n grantedToV2: OneDriveUpdateDriveItemsPermissions_GrantedToSchema.nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates whether the sharing link has a password.\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration date and time for the permission.\").nullable().optional(),\n});\n\nexport const oneDriveUpdateDriveItemsPermissions = action(\"ONE_DRIVE_UPDATE_DRIVE_ITEMS_PERMISSIONS\", {\n slug: \"one_drive-update-drive-items-permissions\",\n name: \"Update Drive Item Permissions\",\n description: \"Tool to update the roles of an existing permission on a OneDrive drive item. Use when you need to change the access level (read, write, owner) for a specific permission on a file or folder.\",\n input: OneDriveUpdateDriveItemsPermissionsInput,\n output: OneDriveUpdateDriveItemsPermissionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qPAAqP;CACzR,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC3I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAChJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC1J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACxH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACzF,CAAC;AACD,MAAM,2DAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC;
|
|
1
|
+
{"version":3,"file":"update-drive-items-permissions.mjs","names":[],"sources":["../../src/actions/update-drive-items-permissions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateDriveItemsPermissionsInput = z.object({\n roles: z.array(z.string()).describe(\"Array of Microsoft Graph role strings to assign to the permission. Documented/common values include read, write, and owner for SharePoint/OneDrive for Business permission resources; tenant/resource-specific roles may also be accepted by Graph.\"),\n item_id: z.string().describe(\"The unique identifier of the drive item.\"),\n site_id: z.string().describe(\"The unique identifier of a SharePoint site. Use this if the item is in a SharePoint site's drive.\").optional(),\n user_id: z.string().describe(\"The unique identifier of a user. Use this if the item is in a specific user's drive (other than 'me').\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. Required if not using other identifiers like group_id, site_id, or user_id.\").optional(),\n group_id: z.string().describe(\"The unique identifier of a group. Use this if the item is in a group's drive.\").optional(),\n permission_id: z.string().describe(\"The unique identifier of the permission to update.\"),\n});\nconst OneDriveUpdateDriveItemsPermissions_PermissionLinkSchema = z.object({\n type: z.string().describe(\"The type of link (e.g., 'view', 'edit').\").nullable().optional(),\n webUrl: z.string().describe(\"The URL to access the item via the link.\").nullable().optional(),\n}).passthrough();\nconst OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema = z.object({\n id: z.string().describe(\"The unique identifier of the identity.\").nullable().optional(),\n loginName: z.string().describe(\"The login name of the site user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).passthrough();\nconst OneDriveUpdateDriveItemsPermissions_GrantedToSchema = z.object({\n user: OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema.nullable().optional(),\n group: OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema.nullable().optional(),\n device: OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema.nullable().optional(),\n siteUser: OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema.nullable().optional(),\n application: OneDriveUpdateDriveItemsPermissions_GrantedToIdentifierSchema.nullable().optional(),\n}).passthrough();\nexport const OneDriveUpdateDriveItemsPermissionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the permission.\").nullable(),\n link: OneDriveUpdateDriveItemsPermissions_PermissionLinkSchema.nullable().optional(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission.\"),\n grantedTo: OneDriveUpdateDriveItemsPermissions_GrantedToSchema.nullable().optional(),\n grantedToV2: OneDriveUpdateDriveItemsPermissions_GrantedToSchema.nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates whether the sharing link has a password.\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration date and time for the permission.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveUpdateDriveItemsPermissions = action(\"ONE_DRIVE_UPDATE_DRIVE_ITEMS_PERMISSIONS\", {\n slug: \"one_drive-update-drive-items-permissions\",\n name: \"Update Drive Item Permissions\",\n description: \"Tool to update the roles of an existing permission on a OneDrive drive item. Use when you need to change the access level (read, write, owner) for a specific permission on a file or folder.\",\n input: OneDriveUpdateDriveItemsPermissionsInput,\n output: OneDriveUpdateDriveItemsPermissionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qPAAqP;CACzR,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC3I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAChJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC1J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACxH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACzF,CAAC;AACD,MAAM,2DAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gEAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,sDAAsD,EAAE,OAAO;CACnE,MAAM,8DAA8D,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,8DAA8D,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQ,8DAA8D,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAU,8DAA8D,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAa,8DAA8D,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AAWf,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7E,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS;EACnF,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;EAC3E,WAAW,oDAAoD,SAAS,CAAC,CAAC,SAAS;EACnF,aAAa,oDAAoD,SAAS,CAAC,CAAC,SAAS;EACrF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -31,7 +31,7 @@ const OneDriveUpdateFileContentInput = zod.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: zod.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 = zod.z.
|
|
34
|
+
const OneDriveUpdateFileContent_FileObjectSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Container for OneDrive-specific file metadata in the response (shape mirrors upload_file).");
|
|
35
35
|
const OneDriveUpdateFileContentOutput = zod.z.object({
|
|
36
36
|
id: zod.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(),
|
|
37
37
|
file: OneDriveUpdateFileContent_FileObjectSchema.nullable().optional(),
|
|
@@ -40,7 +40,7 @@ const OneDriveUpdateFileContentOutput = zod.z.object({
|
|
|
40
40
|
uploadUrl: zod.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(),
|
|
41
41
|
expirationDateTime: zod.z.string().describe("The expiration time of the upload session. Returned only when `file` was not provided.").nullable().optional(),
|
|
42
42
|
nextExpectedRanges: zod.z.array(zod.z.string()).describe("Array of byte ranges still needed for the upload (e.g., ['26-']). Returned only when `file` was not provided.").nullable().optional()
|
|
43
|
-
});
|
|
43
|
+
}).passthrough();
|
|
44
44
|
const oneDriveUpdateFileContent = require_action.action("ONE_DRIVE_UPDATE_FILE_CONTENT", {
|
|
45
45
|
slug: "one_drive-update-file-content",
|
|
46
46
|
name: "Update File Content",
|
|
@@ -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,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kQAAkQ,CAAC,CAAC,SAAS;CAChT,cAAcA,IAAAA,EAAE,OAAO,EACvB,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,EAChH,CAAC,CAAC,C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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"}
|
|
@@ -23,8 +23,8 @@ declare const OneDriveUpdateFileContentInput: z.ZodObject<{
|
|
|
23
23
|
lastModifiedDateTime: z.ZodOptional<z.ZodString>;
|
|
24
24
|
}, z.core.$strip>>;
|
|
25
25
|
conflict_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
26
|
-
replace: "replace";
|
|
27
26
|
fail: "fail";
|
|
27
|
+
replace: "replace";
|
|
28
28
|
rename: "rename";
|
|
29
29
|
}>>>;
|
|
30
30
|
drive_item_source: z.ZodOptional<z.ZodObject<{
|
|
@@ -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?: {
|
|
@@ -63,7 +63,7 @@ declare const oneDriveUpdateFileContent: import("@keystrokehq/action").WorkflowA
|
|
|
63
63
|
lastAccessedDateTime?: string | undefined;
|
|
64
64
|
lastModifiedDateTime?: string | undefined;
|
|
65
65
|
} | undefined;
|
|
66
|
-
conflict_behavior?: "
|
|
66
|
+
conflict_behavior?: "fail" | "replace" | "rename" | undefined;
|
|
67
67
|
drive_item_source?: {
|
|
68
68
|
externalId?: string | undefined;
|
|
69
69
|
application?: string | undefined;
|
|
@@ -23,8 +23,8 @@ declare const OneDriveUpdateFileContentInput: z.ZodObject<{
|
|
|
23
23
|
lastModifiedDateTime: z.ZodOptional<z.ZodString>;
|
|
24
24
|
}, z.core.$strip>>;
|
|
25
25
|
conflict_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
26
|
-
replace: "replace";
|
|
27
26
|
fail: "fail";
|
|
27
|
+
replace: "replace";
|
|
28
28
|
rename: "rename";
|
|
29
29
|
}>>>;
|
|
30
30
|
drive_item_source: z.ZodOptional<z.ZodObject<{
|
|
@@ -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?: {
|
|
@@ -63,7 +63,7 @@ declare const oneDriveUpdateFileContent: import("@keystrokehq/action").WorkflowA
|
|
|
63
63
|
lastAccessedDateTime?: string | undefined;
|
|
64
64
|
lastModifiedDateTime?: string | undefined;
|
|
65
65
|
} | undefined;
|
|
66
|
-
conflict_behavior?: "
|
|
66
|
+
conflict_behavior?: "fail" | "replace" | "rename" | undefined;
|
|
67
67
|
drive_item_source?: {
|
|
68
68
|
externalId?: string | undefined;
|
|
69
69
|
application?: string | undefined;
|
|
@@ -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,SAAS;CAC9K,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CACvK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACjL,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,kQAAkQ,CAAC,CAAC,SAAS;CAChT,cAAc,EAAE,OAAO,EACvB,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,EAChH,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS;CACtN,kBAAkB,EAAE,OAAO;EAC3B,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS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A8H,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"}
|
|
@@ -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,7 +10,7 @@ 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;
|
|
@@ -10,7 +10,7 @@ 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;
|
|
@@ -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,OAA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;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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IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAChK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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 };
|