@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetUserInput = z.object({\n select: z.array(z.string()).describe(\"Specific properties to return in the response. Use this to retrieve only the fields you need and reduce response size. Example properties: displayName, mail, jobTitle, givenName, surname, mobilePhone. If not provided, all default user properties are returned.\").optional(),\n user_id: z.string().describe(\"The user principal name (UPN) or user ID to retrieve. Examples: 'user@contoso.com' or '87d349ed-44d7-43e1-9a83-5f2406dee5bd'. This is a required parameter that identifies which user's profile to fetch.\"),\n});\nexport const OneDriveGetUserOutput = z.object({\n id: z.string().describe(\"The unique identifier for the user.\").nullable().optional(),\n city: z.string().describe(\"The city in which the user is located.\").nullable().optional(),\n mail: z.string().describe(\"The SMTP address for the user.\").nullable().optional(),\n state: z.string().describe(\"The state or province in the user's address.\").nullable().optional(),\n country: z.string().describe(\"The country or region in which the user is located.\").nullable().optional(),\n surname: z.string().describe(\"The user's surname (family name or last name).\").nullable().optional(),\n jobTitle: z.string().describe(\"The user's job title.\").nullable().optional(),\n faxNumber: z.string().describe(\"The fax number of the user.\").nullable().optional(),\n givenName: z.string().describe(\"The given name (first name) of the user.\").nullable().optional(),\n department: z.string().describe(\"The name for the department in which the user works.\").nullable().optional(),\n employeeId: z.string().describe(\"The employee identifier assigned to the user by the organization.\").nullable().optional(),\n postalCode: z.string().describe(\"The postal code for the user's postal address.\").nullable().optional(),\n companyName: z.string().describe(\"The company name which the user is associated with.\").nullable().optional(),\n displayName: z.string().describe(\"The name displayed in the address book for the user.\").nullable().optional(),\n mobilePhone: z.string().describe(\"The primary cellular telephone number for the user.\").nullable().optional(),\n streetAddress: z.string().describe(\"The street address of the user's place of business.\").nullable().optional(),\n usageLocation: z.string().describe(\"A two-letter country code (ISO standard 3166). Required for users that will be assigned licenses.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context for the response.\").nullable().optional(),\n accountEnabled: z.boolean().describe(\"True if the account is enabled; otherwise, false.\").nullable().optional(),\n businessPhones: z.array(z.string()).describe(\"The telephone numbers for the user.\").nullable().optional(),\n officeLocation: z.string().describe(\"The office location in the user's place of business.\").nullable().optional(),\n preferredLanguage: z.string().describe(\"The preferred language for the user. Should follow ISO 639-1 Code (e.g., 'en-US').\").nullable().optional(),\n userPrincipalName: z.string().describe(\"The user principal name (UPN) of the user.\").nullable().optional(),\n});\n\nexport const oneDriveGetUser = action(\"ONE_DRIVE_GET_USER\", {\n slug: \"one_drive-get-user\",\n name: \"Get User Profile\",\n description: \"Retrieves the properties and profile information for a specific Microsoft user by their user ID or user principal name. Use this action when you need to get detailed information about a user's profile, including their contact details, job information, and account status. This action requires the User.Read or User.ReadBasic.All OAuth scope to access user profile data.\",\n input: OneDriveGetUserInput,\n output: OneDriveGetUserOutput,\n});\n"],"mappings":";;AAkCA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlCkC,EAAE,OAAO;EAC3C,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qQAAqQ,CAAC,CAAC,SAAS;EACrT,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M;CAC1O,CA+BS;CACP,QA/BmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,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O,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,
|
|
1
|
+
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetUserInput = z.object({\n select: z.array(z.string()).describe(\"Specific properties to return in the response. Use this to retrieve only the fields you need and reduce response size. Example properties: displayName, mail, jobTitle, givenName, surname, mobilePhone. If not provided, all default user properties are returned.\").optional(),\n user_id: z.string().describe(\"The user principal name (UPN) or user ID to retrieve. Examples: 'user@contoso.com' or '87d349ed-44d7-43e1-9a83-5f2406dee5bd'. This is a required parameter that identifies which user's profile to fetch.\"),\n});\nexport const OneDriveGetUserOutput = z.object({\n id: z.string().describe(\"The unique identifier for the user.\").nullable().optional(),\n city: z.string().describe(\"The city in which the user is located.\").nullable().optional(),\n mail: z.string().describe(\"The SMTP address for the user.\").nullable().optional(),\n state: z.string().describe(\"The state or province in the user's address.\").nullable().optional(),\n country: z.string().describe(\"The country or region in which the user is located.\").nullable().optional(),\n surname: z.string().describe(\"The user's surname (family name or last name).\").nullable().optional(),\n jobTitle: z.string().describe(\"The user's job title.\").nullable().optional(),\n faxNumber: z.string().describe(\"The fax number of the user.\").nullable().optional(),\n givenName: z.string().describe(\"The given name (first name) of the user.\").nullable().optional(),\n department: z.string().describe(\"The name for the department in which the user works.\").nullable().optional(),\n employeeId: z.string().describe(\"The employee identifier assigned to the user by the organization.\").nullable().optional(),\n postalCode: z.string().describe(\"The postal code for the user's postal address.\").nullable().optional(),\n companyName: z.string().describe(\"The company name which the user is associated with.\").nullable().optional(),\n displayName: z.string().describe(\"The name displayed in the address book for the user.\").nullable().optional(),\n mobilePhone: z.string().describe(\"The primary cellular telephone number for the user.\").nullable().optional(),\n streetAddress: z.string().describe(\"The street address of the user's place of business.\").nullable().optional(),\n usageLocation: z.string().describe(\"A two-letter country code (ISO standard 3166). Required for users that will be assigned licenses.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context for the response.\").nullable().optional(),\n accountEnabled: z.boolean().describe(\"True if the account is enabled; otherwise, false.\").nullable().optional(),\n businessPhones: z.array(z.string()).describe(\"The telephone numbers for the user.\").nullable().optional(),\n officeLocation: z.string().describe(\"The office location in the user's place of business.\").nullable().optional(),\n preferredLanguage: z.string().describe(\"The preferred language for the user. Should follow ISO 639-1 Code (e.g., 'en-US').\").nullable().optional(),\n userPrincipalName: z.string().describe(\"The user principal name (UPN) of the user.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetUser = action(\"ONE_DRIVE_GET_USER\", {\n slug: \"one_drive-get-user\",\n name: \"Get User Profile\",\n description: \"Retrieves the properties and profile information for a specific Microsoft user by their user ID or user principal name. Use this action when you need to get detailed information about a user's profile, including their contact details, job information, and account status. This action requires the User.Read or User.ReadBasic.All OAuth scope to access user profile data.\",\n input: OneDriveGetUserInput,\n output: OneDriveGetUserOutput,\n});\n"],"mappings":";;AAkCA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlCkC,EAAE,OAAO;EAC3C,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qQAAqQ,CAAC,CAAC,SAAS;EACrT,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M;CAC1O,CA+BS;CACP,QA/BmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS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C,SAAS;EAC9G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5J,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -56,7 +56,7 @@ const OneDriveGetWorkbookUsedRangeOutput = zod.z.object({
|
|
|
56
56
|
zod.z.number(),
|
|
57
57
|
zod.z.boolean()
|
|
58
58
|
]).nullable())).describe("2D array containing formulas in the user's locale notation.").nullable().optional()
|
|
59
|
-
});
|
|
59
|
+
}).passthrough();
|
|
60
60
|
const oneDriveGetWorkbookUsedRange = require_action.action("ONE_DRIVE_GET_WORKBOOK_USED_RANGE", {
|
|
61
61
|
slug: "one_drive-get-workbook-used-range",
|
|
62
62
|
name: "Get Workbook Used Range",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workbook-used-range.cjs","names":["z","action"],"sources":["../../src/actions/get-workbook-used-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetWorkbookUsedRangeInput = z.object({\n item_id: z.string().describe(\"The DriveItem ID of the Excel workbook whose worksheet used range should be returned.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Use 'me' for the authenticated user's default OneDrive, or provide a OneDrive/SharePoint drive ID.\"),\n session_id: z.string().describe(\"Optional workbook session ID to send in the workbook-session-id header.\").optional(),\n values_only: z.boolean().describe(\"Optional. When true, only cells with values are considered used cells, ignoring formatting-only cells. When omitted, Microsoft Graph uses its default behavior.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet whose used range should be returned. Names with spaces or special characters are URL-encoded automatically.\"),\n});\nexport const OneDriveGetWorkbookUsedRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing text representations of cell values.\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the used range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing raw cell values in the used range.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name.\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing formulas or values in the used range.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the used range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the used range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the used range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the used range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value.\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the used range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the used range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in the user's locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the used range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing formulas in R1C1 notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing number format strings for the used range.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing formulas in the user's locale notation.\").nullable().optional(),\n});\n\nexport const oneDriveGetWorkbookUsedRange = action(\"ONE_DRIVE_GET_WORKBOOK_USED_RANGE\", {\n slug: \"one_drive-get-workbook-used-range\",\n name: \"Get Workbook Used Range\",\n description: \"Retrieves the used range of a worksheet in an Excel workbook stored in OneDrive or SharePoint without requiring the caller to know an explicit A1 range address. Use this action to read the active data region of a worksheet, optionally ignoring formatting-only cells.\",\n input: OneDriveGetWorkbookUsedRangeInput,\n output: OneDriveGetWorkbookUsedRangeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACpH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;CAC9L,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACpH,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;CAC9M,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;AACzL,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,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,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1M,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3M,CAAC;
|
|
1
|
+
{"version":3,"file":"get-workbook-used-range.cjs","names":["z","action"],"sources":["../../src/actions/get-workbook-used-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetWorkbookUsedRangeInput = z.object({\n item_id: z.string().describe(\"The DriveItem ID of the Excel workbook whose worksheet used range should be returned.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Use 'me' for the authenticated user's default OneDrive, or provide a OneDrive/SharePoint drive ID.\"),\n session_id: z.string().describe(\"Optional workbook session ID to send in the workbook-session-id header.\").optional(),\n values_only: z.boolean().describe(\"Optional. When true, only cells with values are considered used cells, ignoring formatting-only cells. When omitted, Microsoft Graph uses its default behavior.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet whose used range should be returned. Names with spaces or special characters are URL-encoded automatically.\"),\n});\nexport const OneDriveGetWorkbookUsedRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing text representations of cell values.\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the used range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing raw cell values in the used range.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name.\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing formulas or values in the used range.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the used range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the used range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the used range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the used range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value.\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the used range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the used range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in the user's locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the used range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing formulas in R1C1 notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing number format strings for the used range.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing formulas in the user's locale notation.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetWorkbookUsedRange = action(\"ONE_DRIVE_GET_WORKBOOK_USED_RANGE\", {\n slug: \"one_drive-get-workbook-used-range\",\n name: \"Get Workbook Used Range\",\n description: \"Retrieves the used range of a worksheet in an Excel workbook stored in OneDrive or SharePoint without requiring the caller to know an explicit A1 range address. Use this action to read the active data region of a worksheet, optionally ignoring formatting-only cells.\",\n input: OneDriveGetWorkbookUsedRangeInput,\n output: OneDriveGetWorkbookUsedRangeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA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.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
|
|
27
27
|
numberFormat: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
|
|
28
28
|
formulasLocal: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const oneDriveGetWorkbookUsedRange: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
item_id: string;
|
|
32
32
|
drive_id: string;
|
|
@@ -26,7 +26,7 @@ declare const OneDriveGetWorkbookUsedRangeOutput: z.ZodObject<{
|
|
|
26
26
|
formulasR1C1: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
|
|
27
27
|
numberFormat: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
|
|
28
28
|
formulasLocal: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const oneDriveGetWorkbookUsedRange: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
item_id: string;
|
|
32
32
|
drive_id: string;
|
|
@@ -59,7 +59,7 @@ const oneDriveGetWorkbookUsedRange = action("ONE_DRIVE_GET_WORKBOOK_USED_RANGE",
|
|
|
59
59
|
z.number(),
|
|
60
60
|
z.boolean()
|
|
61
61
|
]).nullable())).describe("2D array containing formulas in the user's locale notation.").nullable().optional()
|
|
62
|
-
})
|
|
62
|
+
}).passthrough()
|
|
63
63
|
});
|
|
64
64
|
//#endregion
|
|
65
65
|
export { oneDriveGetWorkbookUsedRange };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workbook-used-range.mjs","names":[],"sources":["../../src/actions/get-workbook-used-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetWorkbookUsedRangeInput = z.object({\n item_id: z.string().describe(\"The DriveItem ID of the Excel workbook whose worksheet used range should be returned.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Use 'me' for the authenticated user's default OneDrive, or provide a OneDrive/SharePoint drive ID.\"),\n session_id: z.string().describe(\"Optional workbook session ID to send in the workbook-session-id header.\").optional(),\n values_only: z.boolean().describe(\"Optional. When true, only cells with values are considered used cells, ignoring formatting-only cells. When omitted, Microsoft Graph uses its default behavior.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet whose used range should be returned. Names with spaces or special characters are URL-encoded automatically.\"),\n});\nexport const OneDriveGetWorkbookUsedRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing text representations of cell values.\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the used range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing raw cell values in the used range.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name.\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing formulas or values in the used range.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the used range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the used range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the used range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the used range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value.\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the used range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the used range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in the user's locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the used range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing formulas in R1C1 notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing number format strings for the used range.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing formulas in the user's locale notation.\").nullable().optional(),\n});\n\nexport const oneDriveGetWorkbookUsedRange = action(\"ONE_DRIVE_GET_WORKBOOK_USED_RANGE\", {\n slug: \"one_drive-get-workbook-used-range\",\n name: \"Get Workbook Used Range\",\n description: \"Retrieves the used range of a worksheet in an Excel workbook stored in OneDrive or SharePoint without requiring the caller to know an explicit A1 range address. Use this action to read the active data region of a worksheet, optionally ignoring formatting-only cells.\",\n input: OneDriveGetWorkbookUsedRangeInput,\n output: OneDriveGetWorkbookUsedRangeOutput,\n});\n"],"mappings":";;AA+BA,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/B+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;EACpH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;EAC9L,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,C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C,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1M,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3M,
|
|
1
|
+
{"version":3,"file":"get-workbook-used-range.mjs","names":[],"sources":["../../src/actions/get-workbook-used-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetWorkbookUsedRangeInput = z.object({\n item_id: z.string().describe(\"The DriveItem ID of the Excel workbook whose worksheet used range should be returned.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Use 'me' for the authenticated user's default OneDrive, or provide a OneDrive/SharePoint drive ID.\"),\n session_id: z.string().describe(\"Optional workbook session ID to send in the workbook-session-id header.\").optional(),\n values_only: z.boolean().describe(\"Optional. When true, only cells with values are considered used cells, ignoring formatting-only cells. When omitted, Microsoft Graph uses its default behavior.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet whose used range should be returned. Names with spaces or special characters are URL-encoded automatically.\"),\n});\nexport const OneDriveGetWorkbookUsedRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing text representations of cell values.\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the used range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing raw cell values in the used range.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name.\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing formulas or values in the used range.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the used range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the used range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the used range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the used range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value.\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the used range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the used range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in the user's locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the used range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing formulas in R1C1 notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing number format strings for the used range.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing formulas in the user's locale notation.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetWorkbookUsedRange = action(\"ONE_DRIVE_GET_WORKBOOK_USED_RANGE\", {\n slug: \"one_drive-get-workbook-used-range\",\n name: \"Get Workbook Used Range\",\n description: \"Retrieves the used range of a worksheet in an Excel workbook stored in OneDrive or SharePoint without requiring the caller to know an explicit A1 range address. Use this action to read the active data region of a worksheet, optionally ignoring formatting-only cells.\",\n input: OneDriveGetWorkbookUsedRangeInput,\n output: OneDriveGetWorkbookUsedRangeOutput,\n});\n"],"mappings":";;AA+BA,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/B+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;EACpH,UAAU,EA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AG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1M,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3M,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const OneDriveGetWorkbookWorksheetOutput = zod.z.object({
|
|
|
13
13
|
name: zod.z.string().describe("The display name of the worksheet.").nullable().optional(),
|
|
14
14
|
position: zod.z.number().int().describe("The zero-based position of the worksheet within the workbook.").nullable().optional(),
|
|
15
15
|
visibility: zod.z.string().describe("The visibility state of the worksheet (e.g., 'Visible', 'Hidden', 'VeryHidden').").nullable().optional()
|
|
16
|
-
});
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const oneDriveGetWorkbookWorksheet = require_action.action("ONE_DRIVE_GET_WORKBOOK_WORKSHEET", {
|
|
18
18
|
slug: "one_drive-get-workbook-worksheet",
|
|
19
19
|
name: "Get Workbook Worksheet",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workbook-worksheet.cjs","names":["z","action"],"sources":["../../src/actions/get-workbook-worksheet.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetWorkbookWorksheetInput = z.object({\n select: z.string().describe(\"Comma-separated list of properties to select (e.g., 'id,name,position'). Limits the response to only the specified fields.\").optional(),\n item_id: z.string().describe(\"The ID of the workbook item (Excel file).\"),\n drive_id: z.string().describe(\"The ID of the drive containing the workbook.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet to retrieve. Can be the worksheet ID or the display name. Will be URL-encoded automatically.\"),\n});\nexport const OneDriveGetWorkbookWorksheetOutput = z.object({\n id: z.string().describe(\"The unique identifier of the worksheet.\").nullable().optional(),\n name: z.string().describe(\"The display name of the worksheet.\").nullable().optional(),\n position: z.number().int().describe(\"The zero-based position of the worksheet within the workbook.\").nullable().optional(),\n visibility: z.string().describe(\"The visibility state of the worksheet (e.g., 'Visible', 'Hidden', 'VeryHidden').\").nullable().optional(),\n});\n\nexport const oneDriveGetWorkbookWorksheet = action(\"ONE_DRIVE_GET_WORKBOOK_WORKSHEET\", {\n slug: \"one_drive-get-workbook-worksheet\",\n name: \"Get Workbook Worksheet\",\n description: \"Retrieves a specific worksheet from an Excel workbook stored in OneDrive or SharePoint using Microsoft Graph API. Use this action when you need to get details about a particular worksheet, including its ID, name, position, and visibility. The worksheet can be identified by either its unique ID or its display name.\",\n input: OneDriveGetWorkbookWorksheetInput,\n output: OneDriveGetWorkbookWorksheetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CACnK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACpI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;AAC1K,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC;
|
|
1
|
+
{"version":3,"file":"get-workbook-worksheet.cjs","names":["z","action"],"sources":["../../src/actions/get-workbook-worksheet.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetWorkbookWorksheetInput = z.object({\n select: z.string().describe(\"Comma-separated list of properties to select (e.g., 'id,name,position'). Limits the response to only the specified fields.\").optional(),\n item_id: z.string().describe(\"The ID of the workbook item (Excel file).\"),\n drive_id: z.string().describe(\"The ID of the drive containing the workbook.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet to retrieve. Can be the worksheet ID or the display name. Will be URL-encoded automatically.\"),\n});\nexport const OneDriveGetWorkbookWorksheetOutput = z.object({\n id: z.string().describe(\"The unique identifier of the worksheet.\").nullable().optional(),\n name: z.string().describe(\"The display name of the worksheet.\").nullable().optional(),\n position: z.number().int().describe(\"The zero-based position of the worksheet within the workbook.\").nullable().optional(),\n visibility: z.string().describe(\"The visibility state of the worksheet (e.g., 'Visible', 'Hidden', 'VeryHidden').\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetWorkbookWorksheet = action(\"ONE_DRIVE_GET_WORKBOOK_WORKSHEET\", {\n slug: \"one_drive-get-workbook-worksheet\",\n name: \"Get Workbook Worksheet\",\n description: \"Retrieves a specific worksheet from an Excel workbook stored in OneDrive or SharePoint using Microsoft Graph API. Use this action when you need to get details about a particular worksheet, including its ID, name, position, and visibility. The worksheet can be identified by either its unique ID or its display name.\",\n input: OneDriveGetWorkbookWorksheetInput,\n output: OneDriveGetWorkbookWorksheetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CACnK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACpI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;AAC1K,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const OneDriveGetWorkbookWorksheetOutput: z.ZodObject<{
|
|
|
13
13
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const oneDriveGetWorkbookWorksheet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
item_id: string;
|
|
19
19
|
drive_id: string;
|
|
@@ -13,7 +13,7 @@ declare const OneDriveGetWorkbookWorksheetOutput: z.ZodObject<{
|
|
|
13
13
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const oneDriveGetWorkbookWorksheet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
item_id: string;
|
|
19
19
|
drive_id: string;
|
|
@@ -16,7 +16,7 @@ const oneDriveGetWorkbookWorksheet = action("ONE_DRIVE_GET_WORKBOOK_WORKSHEET",
|
|
|
16
16
|
name: z.string().describe("The display name of the worksheet.").nullable().optional(),
|
|
17
17
|
position: z.number().int().describe("The zero-based position of the worksheet within the workbook.").nullable().optional(),
|
|
18
18
|
visibility: z.string().describe("The visibility state of the worksheet (e.g., 'Visible', 'Hidden', 'VeryHidden').").nullable().optional()
|
|
19
|
-
})
|
|
19
|
+
}).passthrough()
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { oneDriveGetWorkbookWorksheet };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workbook-worksheet.mjs","names":[],"sources":["../../src/actions/get-workbook-worksheet.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetWorkbookWorksheetInput = z.object({\n select: z.string().describe(\"Comma-separated list of properties to select (e.g., 'id,name,position'). Limits the response to only the specified fields.\").optional(),\n item_id: z.string().describe(\"The ID of the workbook item (Excel file).\"),\n drive_id: z.string().describe(\"The ID of the drive containing the workbook.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet to retrieve. Can be the worksheet ID or the display name. Will be URL-encoded automatically.\"),\n});\nexport const OneDriveGetWorkbookWorksheetOutput = z.object({\n id: z.string().describe(\"The unique identifier of the worksheet.\").nullable().optional(),\n name: z.string().describe(\"The display name of the worksheet.\").nullable().optional(),\n position: z.number().int().describe(\"The zero-based position of the worksheet within the workbook.\").nullable().optional(),\n visibility: z.string().describe(\"The visibility state of the worksheet (e.g., 'Visible', 'Hidden', 'VeryHidden').\").nullable().optional(),\n});\n\nexport const oneDriveGetWorkbookWorksheet = action(\"ONE_DRIVE_GET_WORKBOOK_WORKSHEET\", {\n slug: \"one_drive-get-workbook-worksheet\",\n name: \"Get Workbook Worksheet\",\n description: \"Retrieves a specific worksheet from an Excel workbook stored in OneDrive or SharePoint using Microsoft Graph API. Use this action when you need to get details about a particular worksheet, including its ID, name, position, and visibility. The worksheet can be identified by either its unique ID or its display name.\",\n input: OneDriveGetWorkbookWorksheetInput,\n output: OneDriveGetWorkbookWorksheetOutput,\n});\n"],"mappings":";;AAkBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;EACnK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACpI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC1K,CAYS;CACP,QAZgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,
|
|
1
|
+
{"version":3,"file":"get-workbook-worksheet.mjs","names":[],"sources":["../../src/actions/get-workbook-worksheet.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetWorkbookWorksheetInput = z.object({\n select: z.string().describe(\"Comma-separated list of properties to select (e.g., 'id,name,position'). Limits the response to only the specified fields.\").optional(),\n item_id: z.string().describe(\"The ID of the workbook item (Excel file).\"),\n drive_id: z.string().describe(\"The ID of the drive containing the workbook.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet to retrieve. Can be the worksheet ID or the display name. Will be URL-encoded automatically.\"),\n});\nexport const OneDriveGetWorkbookWorksheetOutput = z.object({\n id: z.string().describe(\"The unique identifier of the worksheet.\").nullable().optional(),\n name: z.string().describe(\"The display name of the worksheet.\").nullable().optional(),\n position: z.number().int().describe(\"The zero-based position of the worksheet within the workbook.\").nullable().optional(),\n visibility: z.string().describe(\"The visibility state of the worksheet (e.g., 'Visible', 'Hidden', 'VeryHidden').\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetWorkbookWorksheet = action(\"ONE_DRIVE_GET_WORKBOOK_WORKSHEET\", {\n slug: \"one_drive-get-workbook-worksheet\",\n name: \"Get Workbook Worksheet\",\n description: \"Retrieves a specific worksheet from an Excel workbook stored in OneDrive or SharePoint using Microsoft Graph API. Use this action when you need to get details about a particular worksheet, including its ID, name, position, and visibility. The worksheet can be identified by either its unique ID or its display name.\",\n input: OneDriveGetWorkbookWorksheetInput,\n output: OneDriveGetWorkbookWorksheetOutput,\n});\n"],"mappings":";;AAkBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;EACnK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACpI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC1K,CAYS;CACP,QAZgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -3,20 +3,20 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/grant-share-permission.ts
|
|
4
4
|
const OneDriveGrantSharePermissionInput = zod.z.object({
|
|
5
5
|
roles: zod.z.array(zod.z.string()).describe("Array of Microsoft Graph role strings specifying the access level to grant. Documented/common values include 'read' and 'write'; permission resources may also use 'owner' for SharePoint/OneDrive for Business where supported, and tenant/resource-specific roles may also be accepted by Graph."),
|
|
6
|
-
recipients: zod.z.array(zod.z.object({ email: zod.z.string().describe("The email address of the recipient to grant access.") })).describe("Array of recipient objects with email addresses who will receive access to the shared link."),
|
|
6
|
+
recipients: zod.z.array(zod.z.object({ email: zod.z.string().describe("The email address of the recipient to grant access.") }).passthrough()).describe("Array of recipient objects with email addresses who will receive access to the shared link."),
|
|
7
7
|
encoded_sharing_url: zod.z.string().describe("Base64url encoded sharing URL (must be prefixed with u!). Encode the sharing URL using base64url format and prefix with 'u!' to create the encoded sharing URL.")
|
|
8
8
|
});
|
|
9
9
|
const OneDriveGrantSharePermission_GrantedToUserSchema = zod.z.object({
|
|
10
10
|
id: zod.z.string().describe("The ID of the user.").nullable().optional(),
|
|
11
11
|
display_name: zod.z.string().describe("The display name of the user.").nullable().optional()
|
|
12
|
-
});
|
|
13
|
-
const OneDriveGrantSharePermission_GrantedToV2Schema = zod.z.object({ user: OneDriveGrantSharePermission_GrantedToUserSchema.nullable().optional() });
|
|
12
|
+
}).passthrough();
|
|
13
|
+
const OneDriveGrantSharePermission_GrantedToV2Schema = zod.z.object({ user: OneDriveGrantSharePermission_GrantedToUserSchema.nullable().optional() }).passthrough();
|
|
14
14
|
const OneDriveGrantSharePermission_PermissionSchema = zod.z.object({
|
|
15
15
|
id: zod.z.string().describe("The unique identifier of the permission.").nullable(),
|
|
16
16
|
roles: zod.z.array(zod.z.string()).describe("The roles granted by this permission (e.g., 'read', 'write')."),
|
|
17
17
|
grantedToV2: OneDriveGrantSharePermission_GrantedToV2Schema.nullable().optional()
|
|
18
|
-
});
|
|
19
|
-
const OneDriveGrantSharePermissionOutput = zod.z.object({ value: zod.z.array(OneDriveGrantSharePermission_PermissionSchema).describe("A collection of permission objects representing the granted permissions.") });
|
|
18
|
+
}).passthrough();
|
|
19
|
+
const OneDriveGrantSharePermissionOutput = zod.z.object({ value: zod.z.array(OneDriveGrantSharePermission_PermissionSchema).describe("A collection of permission objects representing the granted permissions.") }).passthrough();
|
|
20
20
|
const oneDriveGrantSharePermission = require_action.action("ONE_DRIVE_GRANT_SHARE_PERMISSION", {
|
|
21
21
|
slug: "one_drive-grant-share-permission",
|
|
22
22
|
name: "Grant Shares Permission",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grant-share-permission.cjs","names":["z","action"],"sources":["../../src/actions/grant-share-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGrantSharePermissionInput = z.object({\n roles: z.array(z.string()).describe(\"Array of Microsoft Graph role strings specifying the access level to grant. Documented/common values include 'read' and 'write'; permission resources may also use 'owner' for SharePoint/OneDrive for Business where supported, and tenant/resource-specific roles may also be accepted by Graph.\"),\n recipients: z.array(z.object({\n email: z.string().describe(\"The email address of the recipient to grant access.\"),\n})).describe(\"Array of recipient objects with email addresses who will receive access to the shared link.\"),\n encoded_sharing_url: z.string().describe(\"Base64url encoded sharing URL (must be prefixed with u!). Encode the sharing URL using base64url format and prefix with 'u!' to create the encoded sharing URL.\"),\n});\nconst OneDriveGrantSharePermission_GrantedToUserSchema = z.object({\n id: z.string().describe(\"The ID of the user.\").nullable().optional(),\n display_name: z.string().describe(\"The display name of the user.\").nullable().optional(),\n});\nconst OneDriveGrantSharePermission_GrantedToV2Schema = z.object({\n user: OneDriveGrantSharePermission_GrantedToUserSchema.nullable().optional(),\n});\nconst OneDriveGrantSharePermission_PermissionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the permission.\").nullable(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission (e.g., 'read', 'write').\"),\n grantedToV2: OneDriveGrantSharePermission_GrantedToV2Schema.nullable().optional(),\n});\nexport const OneDriveGrantSharePermissionOutput = z.object({\n value: z.array(OneDriveGrantSharePermission_PermissionSchema).describe(\"A collection of permission objects representing the granted permissions.\"),\n});\n\nexport const oneDriveGrantSharePermission = action(\"ONE_DRIVE_GRANT_SHARE_PERMISSION\", {\n slug: \"one_drive-grant-share-permission\",\n name: \"Grant Shares Permission\",\n description: \"Tool to grant users access to a link represented by a permission using an encoded sharing URL. Use when you need to give specific users access to a shared OneDrive or SharePoint resource.\",\n input: OneDriveGrantSharePermissionInput,\n output: OneDriveGrantSharePermissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oSAAoS;CACxU,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC7B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAClF,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;
|
|
1
|
+
{"version":3,"file":"grant-share-permission.cjs","names":["z","action"],"sources":["../../src/actions/grant-share-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGrantSharePermissionInput = z.object({\n roles: z.array(z.string()).describe(\"Array of Microsoft Graph role strings specifying the access level to grant. Documented/common values include 'read' and 'write'; permission resources may also use 'owner' for SharePoint/OneDrive for Business where supported, and tenant/resource-specific roles may also be accepted by Graph.\"),\n recipients: z.array(z.object({\n email: z.string().describe(\"The email address of the recipient to grant access.\"),\n}).passthrough()).describe(\"Array of recipient objects with email addresses who will receive access to the shared link.\"),\n encoded_sharing_url: z.string().describe(\"Base64url encoded sharing URL (must be prefixed with u!). Encode the sharing URL using base64url format and prefix with 'u!' to create the encoded sharing URL.\"),\n});\nconst OneDriveGrantSharePermission_GrantedToUserSchema = z.object({\n id: z.string().describe(\"The ID of the user.\").nullable().optional(),\n display_name: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough();\nconst OneDriveGrantSharePermission_GrantedToV2Schema = z.object({\n user: OneDriveGrantSharePermission_GrantedToUserSchema.nullable().optional(),\n}).passthrough();\nconst OneDriveGrantSharePermission_PermissionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the permission.\").nullable(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission (e.g., 'read', 'write').\"),\n grantedToV2: OneDriveGrantSharePermission_GrantedToV2Schema.nullable().optional(),\n}).passthrough();\nexport const OneDriveGrantSharePermissionOutput = z.object({\n value: z.array(OneDriveGrantSharePermission_PermissionSchema).describe(\"A collection of permission objects representing the granted permissions.\"),\n}).passthrough();\n\nexport const oneDriveGrantSharePermission = action(\"ONE_DRIVE_GRANT_SHARE_PERMISSION\", {\n slug: \"one_drive-grant-share-permission\",\n name: \"Grant Shares Permission\",\n description: \"Tool to grant users access to a link represented by a permission using an encoded sharing URL. Use when you need to give specific users access to a shared OneDrive or SharePoint resource.\",\n input: OneDriveGrantSharePermissionInput,\n output: OneDriveGrantSharePermissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oSAAoS;CACxU,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC7B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACtH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK;AAC5M,CAAC;AACD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS,EAC7E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACnG,aAAa,+CAA+C,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,OAAOA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,0EAA0E,EACnJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ declare const OneDriveGrantSharePermissionInput: z.ZodObject<{
|
|
|
5
5
|
roles: z.ZodArray<z.ZodString>;
|
|
6
6
|
recipients: z.ZodArray<z.ZodObject<{
|
|
7
7
|
email: z.ZodString;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>>;
|
|
9
9
|
encoded_sharing_url: z.ZodString;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const OneDriveGrantSharePermissionOutput: z.ZodObject<{
|
|
@@ -16,13 +16,14 @@ declare const OneDriveGrantSharePermissionOutput: z.ZodObject<{
|
|
|
16
16
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
17
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
22
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const oneDriveGrantSharePermission: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
roles: string[];
|
|
25
25
|
recipients: {
|
|
26
|
+
[x: string]: unknown;
|
|
26
27
|
email: string;
|
|
27
28
|
}[];
|
|
28
29
|
encoded_sharing_url: string;
|
|
@@ -5,7 +5,7 @@ declare const OneDriveGrantSharePermissionInput: z.ZodObject<{
|
|
|
5
5
|
roles: z.ZodArray<z.ZodString>;
|
|
6
6
|
recipients: z.ZodArray<z.ZodObject<{
|
|
7
7
|
email: z.ZodString;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>>;
|
|
9
9
|
encoded_sharing_url: z.ZodString;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const OneDriveGrantSharePermissionOutput: z.ZodObject<{
|
|
@@ -16,13 +16,14 @@ declare const OneDriveGrantSharePermissionOutput: z.ZodObject<{
|
|
|
16
16
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
17
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
22
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const oneDriveGrantSharePermission: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
roles: string[];
|
|
25
25
|
recipients: {
|
|
26
|
+
[x: string]: unknown;
|
|
26
27
|
email: string;
|
|
27
28
|
}[];
|
|
28
29
|
encoded_sharing_url: string;
|
|
@@ -3,25 +3,25 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/grant-share-permission.ts
|
|
4
4
|
const OneDriveGrantSharePermissionInput = z.object({
|
|
5
5
|
roles: z.array(z.string()).describe("Array of Microsoft Graph role strings specifying the access level to grant. Documented/common values include 'read' and 'write'; permission resources may also use 'owner' for SharePoint/OneDrive for Business where supported, and tenant/resource-specific roles may also be accepted by Graph."),
|
|
6
|
-
recipients: z.array(z.object({ email: z.string().describe("The email address of the recipient to grant access.") })).describe("Array of recipient objects with email addresses who will receive access to the shared link."),
|
|
6
|
+
recipients: z.array(z.object({ email: z.string().describe("The email address of the recipient to grant access.") }).passthrough()).describe("Array of recipient objects with email addresses who will receive access to the shared link."),
|
|
7
7
|
encoded_sharing_url: z.string().describe("Base64url encoded sharing URL (must be prefixed with u!). Encode the sharing URL using base64url format and prefix with 'u!' to create the encoded sharing URL.")
|
|
8
8
|
});
|
|
9
9
|
const OneDriveGrantSharePermission_GrantedToUserSchema = z.object({
|
|
10
10
|
id: z.string().describe("The ID of the user.").nullable().optional(),
|
|
11
11
|
display_name: z.string().describe("The display name of the user.").nullable().optional()
|
|
12
|
-
});
|
|
13
|
-
const OneDriveGrantSharePermission_GrantedToV2Schema = z.object({ user: OneDriveGrantSharePermission_GrantedToUserSchema.nullable().optional() });
|
|
12
|
+
}).passthrough();
|
|
13
|
+
const OneDriveGrantSharePermission_GrantedToV2Schema = z.object({ user: OneDriveGrantSharePermission_GrantedToUserSchema.nullable().optional() }).passthrough();
|
|
14
14
|
const OneDriveGrantSharePermission_PermissionSchema = z.object({
|
|
15
15
|
id: z.string().describe("The unique identifier of the permission.").nullable(),
|
|
16
16
|
roles: z.array(z.string()).describe("The roles granted by this permission (e.g., 'read', 'write')."),
|
|
17
17
|
grantedToV2: OneDriveGrantSharePermission_GrantedToV2Schema.nullable().optional()
|
|
18
|
-
});
|
|
18
|
+
}).passthrough();
|
|
19
19
|
const oneDriveGrantSharePermission = action("ONE_DRIVE_GRANT_SHARE_PERMISSION", {
|
|
20
20
|
slug: "one_drive-grant-share-permission",
|
|
21
21
|
name: "Grant Shares Permission",
|
|
22
22
|
description: "Tool to grant users access to a link represented by a permission using an encoded sharing URL. Use when you need to give specific users access to a shared OneDrive or SharePoint resource.",
|
|
23
23
|
input: OneDriveGrantSharePermissionInput,
|
|
24
|
-
output: z.object({ value: z.array(OneDriveGrantSharePermission_PermissionSchema).describe("A collection of permission objects representing the granted permissions.") })
|
|
24
|
+
output: z.object({ value: z.array(OneDriveGrantSharePermission_PermissionSchema).describe("A collection of permission objects representing the granted permissions.") }).passthrough()
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { oneDriveGrantSharePermission };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grant-share-permission.mjs","names":[],"sources":["../../src/actions/grant-share-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGrantSharePermissionInput = z.object({\n roles: z.array(z.string()).describe(\"Array of Microsoft Graph role strings specifying the access level to grant. Documented/common values include 'read' and 'write'; permission resources may also use 'owner' for SharePoint/OneDrive for Business where supported, and tenant/resource-specific roles may also be accepted by Graph.\"),\n recipients: z.array(z.object({\n email: z.string().describe(\"The email address of the recipient to grant access.\"),\n})).describe(\"Array of recipient objects with email addresses who will receive access to the shared link.\"),\n encoded_sharing_url: z.string().describe(\"Base64url encoded sharing URL (must be prefixed with u!). Encode the sharing URL using base64url format and prefix with 'u!' to create the encoded sharing URL.\"),\n});\nconst OneDriveGrantSharePermission_GrantedToUserSchema = z.object({\n id: z.string().describe(\"The ID of the user.\").nullable().optional(),\n display_name: z.string().describe(\"The display name of the user.\").nullable().optional(),\n});\nconst OneDriveGrantSharePermission_GrantedToV2Schema = z.object({\n user: OneDriveGrantSharePermission_GrantedToUserSchema.nullable().optional(),\n});\nconst OneDriveGrantSharePermission_PermissionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the permission.\").nullable(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission (e.g., 'read', 'write').\"),\n grantedToV2: OneDriveGrantSharePermission_GrantedToV2Schema.nullable().optional(),\n});\nexport const OneDriveGrantSharePermissionOutput = z.object({\n value: z.array(OneDriveGrantSharePermission_PermissionSchema).describe(\"A collection of permission objects representing the granted permissions.\"),\n});\n\nexport const oneDriveGrantSharePermission = action(\"ONE_DRIVE_GRANT_SHARE_PERMISSION\", {\n slug: \"one_drive-grant-share-permission\",\n name: \"Grant Shares Permission\",\n description: \"Tool to grant users access to a link represented by a permission using an encoded sharing URL. Use when you need to give specific users access to a shared OneDrive or SharePoint resource.\",\n input: OneDriveGrantSharePermissionInput,\n output: OneDriveGrantSharePermissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oSAAoS;CACxU,YAAY,EAAE,MAAM,EAAE,OAAO,EAC7B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAClF,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;
|
|
1
|
+
{"version":3,"file":"grant-share-permission.mjs","names":[],"sources":["../../src/actions/grant-share-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGrantSharePermissionInput = z.object({\n roles: z.array(z.string()).describe(\"Array of Microsoft Graph role strings specifying the access level to grant. Documented/common values include 'read' and 'write'; permission resources may also use 'owner' for SharePoint/OneDrive for Business where supported, and tenant/resource-specific roles may also be accepted by Graph.\"),\n recipients: z.array(z.object({\n email: z.string().describe(\"The email address of the recipient to grant access.\"),\n}).passthrough()).describe(\"Array of recipient objects with email addresses who will receive access to the shared link.\"),\n encoded_sharing_url: z.string().describe(\"Base64url encoded sharing URL (must be prefixed with u!). Encode the sharing URL using base64url format and prefix with 'u!' to create the encoded sharing URL.\"),\n});\nconst OneDriveGrantSharePermission_GrantedToUserSchema = z.object({\n id: z.string().describe(\"The ID of the user.\").nullable().optional(),\n display_name: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough();\nconst OneDriveGrantSharePermission_GrantedToV2Schema = z.object({\n user: OneDriveGrantSharePermission_GrantedToUserSchema.nullable().optional(),\n}).passthrough();\nconst OneDriveGrantSharePermission_PermissionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the permission.\").nullable(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission (e.g., 'read', 'write').\"),\n grantedToV2: OneDriveGrantSharePermission_GrantedToV2Schema.nullable().optional(),\n}).passthrough();\nexport const OneDriveGrantSharePermissionOutput = z.object({\n value: z.array(OneDriveGrantSharePermission_PermissionSchema).describe(\"A collection of permission objects representing the granted permissions.\"),\n}).passthrough();\n\nexport const oneDriveGrantSharePermission = action(\"ONE_DRIVE_GRANT_SHARE_PERMISSION\", {\n slug: \"one_drive-grant-share-permission\",\n name: \"Grant Shares Permission\",\n description: \"Tool to grant users access to a link represented by a permission using an encoded sharing URL. Use when you need to give specific users access to a shared OneDrive or SharePoint resource.\",\n input: OneDriveGrantSharePermissionInput,\n output: OneDriveGrantSharePermissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oSAAoS;CACxU,YAAY,EAAE,MAAM,EAAE,OAAO,EAC7B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACtH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK;AAC5M,CAAC;AACD,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iDAAiD,EAAE,OAAO,EAC9D,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS,EAC7E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACnG,aAAa,+CAA+C,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,OAAO,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,0EAA0E,EACnJ,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ const OneDriveInviteUserToItemInput = zod.z.object({
|
|
|
14
14
|
alias: zod.z.string().describe("The alias of the recipient, if a personal Microsoft Account.").optional(),
|
|
15
15
|
email: zod.z.string().describe("The email address of the recipient.").optional(),
|
|
16
16
|
object_id: zod.z.string().describe("The object ID of the recipient, if a user or group in Azure AD.").optional()
|
|
17
|
-
})).describe("A collection of recipients who will receive access and the sharing invitation."),
|
|
17
|
+
}).passthrough()).describe("A collection of recipients who will receive access and the sharing invitation."),
|
|
18
18
|
require_sign_in: zod.z.boolean().default(false).describe("Specifies whether the recipient of the invitation is required to sign-in to view the shared item. At least one of require_sign_in or send_invitation must be true.").optional(),
|
|
19
19
|
send_invitation: zod.z.boolean().default(false).describe("If true, a sharing link is sent to the recipient. Otherwise, a permission is granted directly without sending a notification.").optional(),
|
|
20
20
|
expiration_date_time: zod.z.string().describe("Specifies the dateTime after which the permission expires. ISO 8601 format. Example: \"2023-12-31T23:59:59.000Z\"").optional(),
|
|
@@ -23,20 +23,20 @@ const OneDriveInviteUserToItemInput = zod.z.object({
|
|
|
23
23
|
const OneDriveInviteUserToItem_InvitationSchema = zod.z.object({
|
|
24
24
|
email: zod.z.string().describe("The email address of the invited user.").nullable().optional(),
|
|
25
25
|
signInRequired: zod.z.boolean().describe("Indicates if sign-in is required for the invited user.").nullable().optional()
|
|
26
|
-
});
|
|
26
|
+
}).passthrough();
|
|
27
27
|
const OneDriveInviteUserToItem_GrantedToUserSchema = zod.z.object({
|
|
28
28
|
id: zod.z.string().describe("The ID of the user.").nullable().optional(),
|
|
29
29
|
display_name: zod.z.string().describe("The display name of the user.").nullable().optional()
|
|
30
|
-
});
|
|
30
|
+
}).passthrough();
|
|
31
31
|
const OneDriveInviteUserToItem_GrantedToSiteUserSchema = zod.z.object({
|
|
32
32
|
id: zod.z.string().describe("The ID of the site user.").nullable().optional(),
|
|
33
33
|
login_name: zod.z.string().describe("The login name of the site user.").nullable().optional(),
|
|
34
34
|
display_name: zod.z.string().describe("The display name of the site user.").nullable().optional()
|
|
35
|
-
});
|
|
35
|
+
}).passthrough();
|
|
36
36
|
const OneDriveInviteUserToItem_GrantedToV2Schema = zod.z.object({
|
|
37
37
|
user: OneDriveInviteUserToItem_GrantedToUserSchema.nullable().optional(),
|
|
38
38
|
siteUser: OneDriveInviteUserToItem_GrantedToSiteUserSchema.nullable().optional()
|
|
39
|
-
});
|
|
39
|
+
}).passthrough();
|
|
40
40
|
const OneDriveInviteUserToItem_PermissionSchema = zod.z.object({
|
|
41
41
|
id: zod.z.string().describe("The unique identifier of the permission.").nullable().optional(),
|
|
42
42
|
roles: zod.z.array(zod.z.string()).describe("The roles granted by this permission."),
|
|
@@ -44,8 +44,8 @@ const OneDriveInviteUserToItem_PermissionSchema = zod.z.object({
|
|
|
44
44
|
grantedToV2: OneDriveInviteUserToItem_GrantedToV2Schema.nullable().optional(),
|
|
45
45
|
hasPassword: zod.z.boolean().describe("Indicates if a password is set for the link.").nullable().optional(),
|
|
46
46
|
expirationDateTime: zod.z.string().describe("The expiration date and time of the permission.").nullable().optional()
|
|
47
|
-
});
|
|
48
|
-
const OneDriveInviteUserToItemOutput = zod.z.object({ value: zod.z.array(OneDriveInviteUserToItem_PermissionSchema).describe("A collection of permission objects representing the granted permissions.") });
|
|
47
|
+
}).passthrough();
|
|
48
|
+
const OneDriveInviteUserToItemOutput = zod.z.object({ value: zod.z.array(OneDriveInviteUserToItem_PermissionSchema).describe("A collection of permission objects representing the granted permissions.") }).passthrough();
|
|
49
49
|
const oneDriveInviteUserToItem = require_action.action("ONE_DRIVE_INVITE_USER_TO_ITEM", {
|
|
50
50
|
slug: "one_drive-invite-user-to-item",
|
|
51
51
|
name: "Invite User to Drive Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invite-user-to-item.cjs","names":["z","action"],"sources":["../../src/actions/invite-user-to-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveInviteUserToItemInput = z.object({\n roles: z.array(z.string()).describe(\"Specifies the roles to be granted to the recipients. Microsoft Graph accepts a string array; documented/common values include 'read' and 'write'; permission resources may also use 'owner' for SharePoint/OneDrive for Business, and Graph may accept tenant/resource-specific role strings.\"),\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder).\"),\n message: z.string().describe(\"A plain text formatted message that is included in the sharing invitation. Maximum length 2000 characters.\").optional(),\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 another user's drive that you have access to.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, the authenticated user's personal drive (me/drive) will be used.\").optional(),\n group_id: z.string().describe(\"The unique identifier of a Microsoft 365 group. Use this if the item is in a group's drive.\").optional(),\n password: z.string().describe(\"The password set on the invite by the creator. Optional and OneDrive Personal only.\").optional(),\n recipients: z.array(z.object({\n alias: z.string().describe(\"The alias of the recipient, if a personal Microsoft Account.\").optional(),\n email: z.string().describe(\"The email address of the recipient.\").optional(),\n object_id: z.string().describe(\"The object ID of the recipient, if a user or group in Azure AD.\").optional(),\n})).describe(\"A collection of recipients who will receive access and the sharing invitation.\"),\n require_sign_in: z.boolean().default(false).describe(\"Specifies whether the recipient of the invitation is required to sign-in to view the shared item. At least one of require_sign_in or send_invitation must be true.\").optional(),\n send_invitation: z.boolean().default(false).describe(\"If true, a sharing link is sent to the recipient. Otherwise, a permission is granted directly without sending a notification.\").optional(),\n expiration_date_time: z.string().describe(\"Specifies the dateTime after which the permission expires. ISO 8601 format. Example: \\\"2023-12-31T23:59:59.000Z\\\"\").optional(),\n retain_inherited_permissions: z.boolean().default(true).describe(\"Optional. If true (default), any existing inherited permissions are retained on the shared item when sharing this item for the first time. If false, all existing permissions are removed when sharing for the first time.\").optional(),\n});\nconst OneDriveInviteUserToItem_InvitationSchema = z.object({\n email: z.string().describe(\"The email address of the invited user.\").nullable().optional(),\n signInRequired: z.boolean().describe(\"Indicates if sign-in is required for the invited user.\").nullable().optional(),\n});\nconst OneDriveInviteUserToItem_GrantedToUserSchema = z.object({\n id: z.string().describe(\"The ID of the user.\").nullable().optional(),\n display_name: z.string().describe(\"The display name of the user.\").nullable().optional(),\n});\nconst OneDriveInviteUserToItem_GrantedToSiteUserSchema = z.object({\n id: z.string().describe(\"The ID of the site user.\").nullable().optional(),\n login_name: z.string().describe(\"The login name of the site user.\").nullable().optional(),\n display_name: z.string().describe(\"The display name of the site user.\").nullable().optional(),\n});\nconst OneDriveInviteUserToItem_GrantedToV2Schema = z.object({\n user: OneDriveInviteUserToItem_GrantedToUserSchema.nullable().optional(),\n siteUser: OneDriveInviteUserToItem_GrantedToSiteUserSchema.nullable().optional(),\n});\nconst OneDriveInviteUserToItem_PermissionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the permission.\").nullable().optional(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission.\"),\n invitation: OneDriveInviteUserToItem_InvitationSchema.nullable().optional(),\n grantedToV2: OneDriveInviteUserToItem_GrantedToV2Schema.nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates if a password is set for the link.\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration date and time of the permission.\").nullable().optional(),\n});\nexport const OneDriveInviteUserToItemOutput = z.object({\n value: z.array(OneDriveInviteUserToItem_PermissionSchema).describe(\"A collection of permission objects representing the granted permissions.\"),\n});\n\nexport const oneDriveInviteUserToItem = action(\"ONE_DRIVE_INVITE_USER_TO_ITEM\", {\n slug: \"one_drive-invite-user-to-item\",\n name: \"Invite User to Drive Item\",\n description: \"Tool to invite users or grant permissions to a specific item in a OneDrive drive. Use when you need to share a file or folder with other users and define their access level (e.g., read or write).\",\n input: OneDriveInviteUserToItemInput,\n output: OneDriveInviteUserToItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+RAA+R;CACnU,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACpJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC3I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACnJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAChK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACtI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC9H,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;
|
|
1
|
+
{"version":3,"file":"invite-user-to-item.cjs","names":["z","action"],"sources":["../../src/actions/invite-user-to-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveInviteUserToItemInput = z.object({\n roles: z.array(z.string()).describe(\"Specifies the roles to be granted to the recipients. Microsoft Graph accepts a string array; documented/common values include 'read' and 'write'; permission resources may also use 'owner' for SharePoint/OneDrive for Business, and Graph may accept tenant/resource-specific role strings.\"),\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder).\"),\n message: z.string().describe(\"A plain text formatted message that is included in the sharing invitation. Maximum length 2000 characters.\").optional(),\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 another user's drive that you have access to.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, the authenticated user's personal drive (me/drive) will be used.\").optional(),\n group_id: z.string().describe(\"The unique identifier of a Microsoft 365 group. Use this if the item is in a group's drive.\").optional(),\n password: z.string().describe(\"The password set on the invite by the creator. Optional and OneDrive Personal only.\").optional(),\n recipients: z.array(z.object({\n alias: z.string().describe(\"The alias of the recipient, if a personal Microsoft Account.\").optional(),\n email: z.string().describe(\"The email address of the recipient.\").optional(),\n object_id: z.string().describe(\"The object ID of the recipient, if a user or group in Azure AD.\").optional(),\n}).passthrough()).describe(\"A collection of recipients who will receive access and the sharing invitation.\"),\n require_sign_in: z.boolean().default(false).describe(\"Specifies whether the recipient of the invitation is required to sign-in to view the shared item. At least one of require_sign_in or send_invitation must be true.\").optional(),\n send_invitation: z.boolean().default(false).describe(\"If true, a sharing link is sent to the recipient. Otherwise, a permission is granted directly without sending a notification.\").optional(),\n expiration_date_time: z.string().describe(\"Specifies the dateTime after which the permission expires. ISO 8601 format. Example: \\\"2023-12-31T23:59:59.000Z\\\"\").optional(),\n retain_inherited_permissions: z.boolean().default(true).describe(\"Optional. If true (default), any existing inherited permissions are retained on the shared item when sharing this item for the first time. If false, all existing permissions are removed when sharing for the first time.\").optional(),\n});\nconst OneDriveInviteUserToItem_InvitationSchema = z.object({\n email: z.string().describe(\"The email address of the invited user.\").nullable().optional(),\n signInRequired: z.boolean().describe(\"Indicates if sign-in is required for the invited user.\").nullable().optional(),\n}).passthrough();\nconst OneDriveInviteUserToItem_GrantedToUserSchema = z.object({\n id: z.string().describe(\"The ID of the user.\").nullable().optional(),\n display_name: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough();\nconst OneDriveInviteUserToItem_GrantedToSiteUserSchema = z.object({\n id: z.string().describe(\"The ID of the site user.\").nullable().optional(),\n login_name: z.string().describe(\"The login name of the site user.\").nullable().optional(),\n display_name: z.string().describe(\"The display name of the site user.\").nullable().optional(),\n}).passthrough();\nconst OneDriveInviteUserToItem_GrantedToV2Schema = z.object({\n user: OneDriveInviteUserToItem_GrantedToUserSchema.nullable().optional(),\n siteUser: OneDriveInviteUserToItem_GrantedToSiteUserSchema.nullable().optional(),\n}).passthrough();\nconst OneDriveInviteUserToItem_PermissionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the permission.\").nullable().optional(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission.\"),\n invitation: OneDriveInviteUserToItem_InvitationSchema.nullable().optional(),\n grantedToV2: OneDriveInviteUserToItem_GrantedToV2Schema.nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates if a password is set for the link.\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration date and time of the permission.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveInviteUserToItemOutput = z.object({\n value: z.array(OneDriveInviteUserToItem_PermissionSchema).describe(\"A collection of permission objects representing the granted permissions.\"),\n}).passthrough();\n\nexport const oneDriveInviteUserToItem = action(\"ONE_DRIVE_INVITE_USER_TO_ITEM\", {\n slug: \"one_drive-invite-user-to-item\",\n name: \"Invite User to Drive Item\",\n description: \"Tool to invite users or grant permissions to a specific item in a OneDrive drive. Use when you need to share a file or folder with other users and define their access level (e.g., read or write).\",\n input: OneDriveInviteUserToItemInput,\n output: OneDriveInviteUserToItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+RAA+R;CACnU,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACpJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC3I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACnJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAChK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACtI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC9H,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,C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ional<z.ZodString>;
|
|
16
16
|
object_id: z.ZodOptional<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
18
|
require_sign_in: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
19
19
|
send_invitation: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
20
20
|
expiration_date_time: z.ZodOptional<z.ZodString>;
|
|
@@ -27,26 +27,27 @@ declare const OneDriveInviteUserToItemOutput: z.ZodObject<{
|
|
|
27
27
|
invitation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
28
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
signInRequired: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
31
|
grantedToV2: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32
32
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
33
33
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
display_name: 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
|
login_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
}, z.core.$
|
|
41
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
42
|
hasPassword: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
43
43
|
expirationDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
-
}, z.core.$
|
|
45
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
46
|
declare const oneDriveInviteUserToItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
47
|
roles: string[];
|
|
48
48
|
item_id: string;
|
|
49
49
|
recipients: {
|
|
50
|
+
[x: string]: unknown;
|
|
50
51
|
alias?: string | undefined;
|
|
51
52
|
email?: string | undefined;
|
|
52
53
|
object_id?: string | undefined;
|
|
@@ -14,7 +14,7 @@ declare const OneDriveInviteUserToItemInput: z.ZodObject<{
|
|
|
14
14
|
alias: z.ZodOptional<z.ZodString>;
|
|
15
15
|
email: z.ZodOptional<z.ZodString>;
|
|
16
16
|
object_id: z.ZodOptional<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
18
|
require_sign_in: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
19
19
|
send_invitation: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
20
20
|
expiration_date_time: z.ZodOptional<z.ZodString>;
|
|
@@ -27,26 +27,27 @@ declare const OneDriveInviteUserToItemOutput: z.ZodObject<{
|
|
|
27
27
|
invitation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
28
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
signInRequired: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
31
|
grantedToV2: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32
32
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
33
33
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
display_name: 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
|
login_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
}, z.core.$
|
|
41
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
42
|
hasPassword: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
43
43
|
expirationDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
-
}, z.core.$
|
|
45
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
46
|
declare const oneDriveInviteUserToItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
47
|
roles: string[];
|
|
48
48
|
item_id: string;
|
|
49
49
|
recipients: {
|
|
50
|
+
[x: string]: unknown;
|
|
50
51
|
alias?: string | undefined;
|
|
51
52
|
email?: string | undefined;
|
|
52
53
|
object_id?: string | undefined;
|