@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
|
@@ -10,42 +10,42 @@ const OneDriveGetSitePageContentInput = z.object({
|
|
|
10
10
|
const OneDriveGetSitePageContent_CreatedByUserSchema = z.object({
|
|
11
11
|
email: z.string().describe("The email address of the user.").nullable().optional(),
|
|
12
12
|
display_name: z.string().describe("The display name of the user.").nullable().optional()
|
|
13
|
-
});
|
|
14
|
-
const OneDriveGetSitePageContent_CreatedBySchema = z.object({ user: OneDriveGetSitePageContent_CreatedByUserSchema.nullable().optional() });
|
|
13
|
+
}).passthrough();
|
|
14
|
+
const OneDriveGetSitePageContent_CreatedBySchema = z.object({ user: OneDriveGetSitePageContent_CreatedByUserSchema.nullable().optional() }).passthrough();
|
|
15
15
|
const OneDriveGetSitePageContent_ContentTypeSchema = z.object({
|
|
16
16
|
id: z.string().describe("The ID of the content type.").nullable().optional(),
|
|
17
17
|
name: z.string().describe("The name of the content type.").nullable().optional()
|
|
18
|
-
});
|
|
18
|
+
}).passthrough();
|
|
19
19
|
const OneDriveGetSitePageContent_WebPartSchema = z.object({
|
|
20
20
|
id: z.string().describe("The ID of the web part.").nullable().optional(),
|
|
21
21
|
innerHtml: z.string().describe("The HTML content of the web part.").nullable().optional(),
|
|
22
22
|
"@odata.type": z.string().describe("The type of the web part (e.g., '#microsoft.graph.textWebPart').").nullable().optional()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const OneDriveGetSitePageContent_ColumnSchema = z.object({
|
|
25
25
|
id: z.string().describe("The ID of the column.").nullable().optional(),
|
|
26
26
|
width: z.number().int().describe("The width of the column.").nullable().optional(),
|
|
27
27
|
webparts: z.array(OneDriveGetSitePageContent_WebPartSchema).describe("Web parts within the column.").nullable().optional()
|
|
28
|
-
});
|
|
28
|
+
}).passthrough();
|
|
29
29
|
const OneDriveGetSitePageContent_HorizontalSectionSchema = z.object({
|
|
30
30
|
id: z.string().describe("The ID of the section.").nullable().optional(),
|
|
31
31
|
layout: z.string().describe("The layout of the section (e.g., 'oneColumn', 'twoColumns', 'threeColumns').").nullable().optional(),
|
|
32
32
|
columns: z.array(OneDriveGetSitePageContent_ColumnSchema).describe("Columns within the section.").nullable().optional(),
|
|
33
33
|
emphasis: z.string().describe("The emphasis of the section (e.g., 'neutral', 'soft', 'strong').").nullable().optional()
|
|
34
|
-
});
|
|
35
|
-
const OneDriveGetSitePageContent_CanvasLayoutSchema = z.object({ horizontalSections: z.array(OneDriveGetSitePageContent_HorizontalSectionSchema).describe("Sections of the page.").nullable().optional() });
|
|
34
|
+
}).passthrough();
|
|
35
|
+
const OneDriveGetSitePageContent_CanvasLayoutSchema = z.object({ horizontalSections: z.array(OneDriveGetSitePageContent_HorizontalSectionSchema).describe("Sections of the page.").nullable().optional() }).passthrough();
|
|
36
36
|
const OneDriveGetSitePageContent_LastModifiedByUserSchema = z.object({
|
|
37
37
|
email: z.string().describe("The email address of the user.").nullable().optional(),
|
|
38
38
|
display_name: z.string().describe("The display name of the user.").nullable().optional()
|
|
39
|
-
});
|
|
40
|
-
const OneDriveGetSitePageContent_LastModifiedBySchema = z.object({ user: OneDriveGetSitePageContent_LastModifiedByUserSchema.nullable().optional() });
|
|
39
|
+
}).passthrough();
|
|
40
|
+
const OneDriveGetSitePageContent_LastModifiedBySchema = z.object({ user: OneDriveGetSitePageContent_LastModifiedByUserSchema.nullable().optional() }).passthrough();
|
|
41
41
|
const OneDriveGetSitePageContent_ParentReferenceSchema = z.object({
|
|
42
42
|
listId: z.string().describe("The ID of the list containing the page.").nullable().optional(),
|
|
43
43
|
siteId: z.string().describe("The ID of the site containing the page.").nullable().optional()
|
|
44
|
-
});
|
|
44
|
+
}).passthrough();
|
|
45
45
|
const OneDriveGetSitePageContent_PublishingStateSchema = z.object({
|
|
46
46
|
level: z.string().describe("The publishing level (e.g., 'draft', 'published').").nullable().optional(),
|
|
47
47
|
versionId: z.string().describe("The version ID of the page.").nullable().optional()
|
|
48
|
-
});
|
|
48
|
+
}).passthrough();
|
|
49
49
|
const oneDriveGetSitePageContent = action("ONE_DRIVE_GET_SITE_PAGE_CONTENT", {
|
|
50
50
|
slug: "one_drive-get-site-page-content",
|
|
51
51
|
name: "Get SharePoint Site Page Content",
|
|
@@ -72,7 +72,7 @@ const oneDriveGetSitePageContent = action("ONE_DRIVE_GET_SITE_PAGE_CONTENT", {
|
|
|
72
72
|
thumbnailWebUrl: z.string().describe("The URL of the page's thumbnail image.").nullable().optional(),
|
|
73
73
|
lastModifiedDateTime: z.string().describe("The date and time the page was last modified.").nullable().optional(),
|
|
74
74
|
showRecommendedPages: z.boolean().describe("Indicates if recommended pages are shown.").nullable().optional()
|
|
75
|
-
})
|
|
75
|
+
}).passthrough()
|
|
76
76
|
});
|
|
77
77
|
//#endregion
|
|
78
78
|
export { oneDriveGetSitePageContent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-site-page-content.mjs","names":[],"sources":["../../src/actions/get-site-page-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetSitePageContentInput = z.object({\n expand: z.string().describe(\"Expands related entities. For example, use 'canvasLayout' to include the page's layout and web part content.\").optional(),\n select: z.string().describe(\"Comma-separated list of properties to include in the response. Example: id,name,title\").optional(),\n page_id: z.string().describe(\"The unique identifier of the site page.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site.\"),\n});\nconst OneDriveGetSitePageContent_CreatedByUserSchema = z.object({\n email: z.string().describe(\"The email address of the user.\").nullable().optional(),\n display_name: z.string().describe(\"The display name of the user.\").nullable().optional(),\n});\nconst OneDriveGetSitePageContent_CreatedBySchema = z.object({\n user: OneDriveGetSitePageContent_CreatedByUserSchema.nullable().optional(),\n});\nconst OneDriveGetSitePageContent_ContentTypeSchema = z.object({\n id: z.string().describe(\"The ID of the content type.\").nullable().optional(),\n name: z.string().describe(\"The name of the content type.\").nullable().optional(),\n});\nconst OneDriveGetSitePageContent_WebPartSchema = z.object({\n id: z.string().describe(\"The ID of the web part.\").nullable().optional(),\n innerHtml: z.string().describe(\"The HTML content of the web part.\").nullable().optional(),\n \"@odata.type\": z.string().describe(\"The type of the web part (e.g., '#microsoft.graph.textWebPart').\").nullable().optional(),\n});\nconst OneDriveGetSitePageContent_ColumnSchema = z.object({\n id: z.string().describe(\"The ID of the column.\").nullable().optional(),\n width: z.number().int().describe(\"The width of the column.\").nullable().optional(),\n webparts: z.array(OneDriveGetSitePageContent_WebPartSchema).describe(\"Web parts within the column.\").nullable().optional(),\n});\nconst OneDriveGetSitePageContent_HorizontalSectionSchema = z.object({\n id: z.string().describe(\"The ID of the section.\").nullable().optional(),\n layout: z.string().describe(\"The layout of the section (e.g., 'oneColumn', 'twoColumns', 'threeColumns').\").nullable().optional(),\n columns: z.array(OneDriveGetSitePageContent_ColumnSchema).describe(\"Columns within the section.\").nullable().optional(),\n emphasis: z.string().describe(\"The emphasis of the section (e.g., 'neutral', 'soft', 'strong').\").nullable().optional(),\n});\nconst OneDriveGetSitePageContent_CanvasLayoutSchema = z.object({\n horizontalSections: z.array(OneDriveGetSitePageContent_HorizontalSectionSchema).describe(\"Sections of the page.\").nullable().optional(),\n});\nconst OneDriveGetSitePageContent_LastModifiedByUserSchema = z.object({\n email: z.string().describe(\"The email address of the user.\").nullable().optional(),\n display_name: z.string().describe(\"The display name of the user.\").nullable().optional(),\n});\nconst OneDriveGetSitePageContent_LastModifiedBySchema = z.object({\n user: OneDriveGetSitePageContent_LastModifiedByUserSchema.nullable().optional(),\n});\nconst OneDriveGetSitePageContent_ParentReferenceSchema = z.object({\n listId: z.string().describe(\"The ID of the list containing the page.\").nullable().optional(),\n siteId: z.string().describe(\"The ID of the site containing the page.\").nullable().optional(),\n});\nconst OneDriveGetSitePageContent_PublishingStateSchema = z.object({\n level: z.string().describe(\"The publishing level (e.g., 'draft', 'published').\").nullable().optional(),\n versionId: z.string().describe(\"The version ID of the page.\").nullable().optional(),\n});\nexport const OneDriveGetSitePageContentOutput = z.object({\n id: z.string().describe(\"The unique identifier of the page.\").nullable().optional(),\n eTag: z.string().describe(\"The ETag of the page.\").nullable().optional(),\n name: z.string().describe(\"The name of the page.\").nullable().optional(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n webUrl: z.string().describe(\"The URL of the page.\").nullable().optional(),\n createdBy: OneDriveGetSitePageContent_CreatedBySchema.nullable().optional(),\n reactions: z.record(z.string(), z.unknown()).describe(\"Reactions to the page.\").nullable().optional(),\n pageLayout: z.string().describe(\"The layout of the page (e.g., 'article').\").nullable().optional(),\n contentType: OneDriveGetSitePageContent_ContentTypeSchema.nullable().optional(),\n description: z.string().describe(\"The description of the page.\").nullable().optional(),\n canvasLayout: OneDriveGetSitePageContent_CanvasLayoutSchema.nullable().optional(),\n showComments: z.boolean().describe(\"Indicates if comments are shown on the page.\").nullable().optional(),\n promotionKind: z.string().describe(\"The promotion kind of the page (e.g., 'page', 'newsPost').\").nullable().optional(),\n lastModifiedBy: OneDriveGetSitePageContent_LastModifiedBySchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the page was created.\").nullable().optional(),\n parentReference: OneDriveGetSitePageContent_ParentReferenceSchema.nullable().optional(),\n publishingState: OneDriveGetSitePageContent_PublishingStateSchema.nullable().optional(),\n thumbnailWebUrl: z.string().describe(\"The URL of the page's thumbnail image.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the page was last modified.\").nullable().optional(),\n showRecommendedPages: z.boolean().describe(\"Indicates if recommended pages are shown.\").nullable().optional(),\n});\n\nexport const oneDriveGetSitePageContent = action(\"ONE_DRIVE_GET_SITE_PAGE_CONTENT\", {\n slug: \"one_drive-get-site-page-content\",\n name: \"Get SharePoint Site Page Content\",\n description: \"Gets the content of a modern SharePoint site page. Use when you need to retrieve the details and content of a specific page within a SharePoint site.\",\n input: OneDriveGetSitePageContentInput,\n output: OneDriveGetSitePageContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACrJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC9H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS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,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,iBAAiB,iDAAiD,SAAS,CAAC,CAAC,SAAS;EACtF,iBAAiB,iDAAiD,SAAS,CAAC,CAAC,SAAS;EACtF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAOU;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-site-page-content.mjs","names":[],"sources":["../../src/actions/get-site-page-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetSitePageContentInput = z.object({\n expand: z.string().describe(\"Expands related entities. For example, use 'canvasLayout' to include the page's layout and web part content.\").optional(),\n select: z.string().describe(\"Comma-separated list of properties to include in the response. Example: id,name,title\").optional(),\n page_id: z.string().describe(\"The unique identifier of the site page.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site.\"),\n});\nconst OneDriveGetSitePageContent_CreatedByUserSchema = z.object({\n email: z.string().describe(\"The email address of the user.\").nullable().optional(),\n display_name: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough();\nconst OneDriveGetSitePageContent_CreatedBySchema = z.object({\n user: OneDriveGetSitePageContent_CreatedByUserSchema.nullable().optional(),\n}).passthrough();\nconst OneDriveGetSitePageContent_ContentTypeSchema = z.object({\n id: z.string().describe(\"The ID of the content type.\").nullable().optional(),\n name: z.string().describe(\"The name of the content type.\").nullable().optional(),\n}).passthrough();\nconst OneDriveGetSitePageContent_WebPartSchema = z.object({\n id: z.string().describe(\"The ID of the web part.\").nullable().optional(),\n innerHtml: z.string().describe(\"The HTML content of the web part.\").nullable().optional(),\n \"@odata.type\": z.string().describe(\"The type of the web part (e.g., '#microsoft.graph.textWebPart').\").nullable().optional(),\n}).passthrough();\nconst OneDriveGetSitePageContent_ColumnSchema = z.object({\n id: z.string().describe(\"The ID of the column.\").nullable().optional(),\n width: z.number().int().describe(\"The width of the column.\").nullable().optional(),\n webparts: z.array(OneDriveGetSitePageContent_WebPartSchema).describe(\"Web parts within the column.\").nullable().optional(),\n}).passthrough();\nconst OneDriveGetSitePageContent_HorizontalSectionSchema = z.object({\n id: z.string().describe(\"The ID of the section.\").nullable().optional(),\n layout: z.string().describe(\"The layout of the section (e.g., 'oneColumn', 'twoColumns', 'threeColumns').\").nullable().optional(),\n columns: z.array(OneDriveGetSitePageContent_ColumnSchema).describe(\"Columns within the section.\").nullable().optional(),\n emphasis: z.string().describe(\"The emphasis of the section (e.g., 'neutral', 'soft', 'strong').\").nullable().optional(),\n}).passthrough();\nconst OneDriveGetSitePageContent_CanvasLayoutSchema = z.object({\n horizontalSections: z.array(OneDriveGetSitePageContent_HorizontalSectionSchema).describe(\"Sections of the page.\").nullable().optional(),\n}).passthrough();\nconst OneDriveGetSitePageContent_LastModifiedByUserSchema = z.object({\n email: z.string().describe(\"The email address of the user.\").nullable().optional(),\n display_name: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough();\nconst OneDriveGetSitePageContent_LastModifiedBySchema = z.object({\n user: OneDriveGetSitePageContent_LastModifiedByUserSchema.nullable().optional(),\n}).passthrough();\nconst OneDriveGetSitePageContent_ParentReferenceSchema = z.object({\n listId: z.string().describe(\"The ID of the list containing the page.\").nullable().optional(),\n siteId: z.string().describe(\"The ID of the site containing the page.\").nullable().optional(),\n}).passthrough();\nconst OneDriveGetSitePageContent_PublishingStateSchema = z.object({\n level: z.string().describe(\"The publishing level (e.g., 'draft', 'published').\").nullable().optional(),\n versionId: z.string().describe(\"The version ID of the page.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetSitePageContentOutput = z.object({\n id: z.string().describe(\"The unique identifier of the page.\").nullable().optional(),\n eTag: z.string().describe(\"The ETag of the page.\").nullable().optional(),\n name: z.string().describe(\"The name of the page.\").nullable().optional(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n webUrl: z.string().describe(\"The URL of the page.\").nullable().optional(),\n createdBy: OneDriveGetSitePageContent_CreatedBySchema.nullable().optional(),\n reactions: z.record(z.string(), z.unknown()).describe(\"Reactions to the page.\").nullable().optional(),\n pageLayout: z.string().describe(\"The layout of the page (e.g., 'article').\").nullable().optional(),\n contentType: OneDriveGetSitePageContent_ContentTypeSchema.nullable().optional(),\n description: z.string().describe(\"The description of the page.\").nullable().optional(),\n canvasLayout: OneDriveGetSitePageContent_CanvasLayoutSchema.nullable().optional(),\n showComments: z.boolean().describe(\"Indicates if comments are shown on the page.\").nullable().optional(),\n promotionKind: z.string().describe(\"The promotion kind of the page (e.g., 'page', 'newsPost').\").nullable().optional(),\n lastModifiedBy: OneDriveGetSitePageContent_LastModifiedBySchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the page was created.\").nullable().optional(),\n parentReference: OneDriveGetSitePageContent_ParentReferenceSchema.nullable().optional(),\n publishingState: OneDriveGetSitePageContent_PublishingStateSchema.nullable().optional(),\n thumbnailWebUrl: z.string().describe(\"The URL of the page's thumbnail image.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the page was last modified.\").nullable().optional(),\n showRecommendedPages: z.boolean().describe(\"Indicates if recommended pages are shown.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetSitePageContent = action(\"ONE_DRIVE_GET_SITE_PAGE_CONTENT\", {\n slug: \"one_drive-get-site-page-content\",\n name: \"Get SharePoint Site Page Content\",\n description: \"Gets the content of a modern SharePoint site page. Use when you need to retrieve the details and content of a specific page within a SharePoint site.\",\n input: OneDriveGetSitePageContentInput,\n output: OneDriveGetSitePageContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QA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aAAa,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,cAAc,8CAA8C,SAAS,CAAC,CAAC,SAAS;EAChF,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,gBAAgB,gDAAgD,SAAS,CAAC,CAAC,SAAS;EACpF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,iBAAiB,iDAAiD,SAAS,CAAC,CAAC,SAAS;EACtF,iBAAiB,iDAAiD,SAAS,CAAC,CAAC,SAAS;EACtF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -19,7 +19,7 @@ const OneDriveGetSiteOutput = zod.z.object({
|
|
|
19
19
|
siteCollection: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Provides details about the site's site collection. Available only on the root site.").nullable().optional(),
|
|
20
20
|
createdDateTime: zod.z.string().describe("The date and time the site was created, in UTC.").nullable().optional(),
|
|
21
21
|
lastModifiedDateTime: zod.z.string().describe("The date and time the site was last modified, in UTC.").nullable().optional()
|
|
22
|
-
});
|
|
22
|
+
}).passthrough();
|
|
23
23
|
const oneDriveGetSite = require_action.action("ONE_DRIVE_GET_SITE", {
|
|
24
24
|
slug: "one_drive-get-site",
|
|
25
25
|
name: "Get Site Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-site.cjs","names":["z","action"],"sources":["../../src/actions/get-site.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetSiteInput = z.object({\n expand: z.string().describe(\"Comma-separated list of relationships to expand in the response. Example: columns,lists,drives\").optional(),\n select: z.string().describe(\"Comma-separated list of properties to include in the response. Example: id,displayName,webUrl\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. This is the id property of the site resource.\"),\n});\nexport const OneDriveGetSiteOutput = z.object({\n id: z.string().describe(\"The unique identifier of the site.\").nullable(),\n eTag: z.string().describe(\"ETag for the item.\").nullable().optional(),\n name: z.string().describe(\"The name of the site.\").nullable().optional(),\n root: z.record(z.string(), z.unknown()).describe(\"If present, provides the root site in the site collection. Available only on root sites.\").nullable().optional(),\n webUrl: z.string().describe(\"The URL of the site.\").nullable().optional(),\n description: z.string().describe(\"The descriptive text for the site.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the site.\").nullable().optional(),\n sharepointIds: z.record(z.string(), z.unknown()).describe(\"Returns identifiers useful for SharePoint REST compatibility.\").nullable().optional(),\n isPersonalSite: z.boolean().describe(\"Indicates if the site is a personal site.\").nullable().optional(),\n siteCollection: z.record(z.string(), z.unknown()).describe(\"Provides details about the site's site collection. Available only on the root site.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the site was created, in UTC.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the site was last modified, in UTC.\").nullable().optional(),\n});\n\nexport const oneDriveGetSite = action(\"ONE_DRIVE_GET_SITE\", {\n slug: \"one_drive-get-site\",\n name: \"Get Site Details\",\n description: \"Retrieves metadata for a specific SharePoint site by its ID. Use this action when you need to get details like display name, web URL, and creation/modification dates for a known SharePoint site.\",\n input: OneDriveGetSiteInput,\n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,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC;
|
|
1
|
+
{"version":3,"file":"get-site.cjs","names":["z","action"],"sources":["../../src/actions/get-site.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetSiteInput = z.object({\n expand: z.string().describe(\"Comma-separated list of relationships to expand in the response. Example: columns,lists,drives\").optional(),\n select: z.string().describe(\"Comma-separated list of properties to include in the response. Example: id,displayName,webUrl\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. This is the id property of the site resource.\"),\n});\nexport const OneDriveGetSiteOutput = z.object({\n id: z.string().describe(\"The unique identifier of the site.\").nullable(),\n eTag: z.string().describe(\"ETag for the item.\").nullable().optional(),\n name: z.string().describe(\"The name of the site.\").nullable().optional(),\n root: z.record(z.string(), z.unknown()).describe(\"If present, provides the root site in the site collection. Available only on root sites.\").nullable().optional(),\n webUrl: z.string().describe(\"The URL of the site.\").nullable().optional(),\n description: z.string().describe(\"The descriptive text for the site.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the site.\").nullable().optional(),\n sharepointIds: z.record(z.string(), z.unknown()).describe(\"Returns identifiers useful for SharePoint REST compatibility.\").nullable().optional(),\n isPersonalSite: z.boolean().describe(\"Indicates if the site is a personal site.\").nullable().optional(),\n siteCollection: z.record(z.string(), z.unknown()).describe(\"Provides details about the site's site collection. Available only on the root site.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the site was created, in UTC.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the site was last modified, in UTC.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetSite = action(\"ONE_DRIVE_GET_SITE\", {\n slug: \"one_drive-get-site\",\n name: \"Get Site Details\",\n description: \"Retrieves metadata for a specific SharePoint site by its ID. Use this action when you need to get details like display name, web URL, and creation/modification dates for a known SharePoint site.\",\n input: OneDriveGetSiteInput,\n output: OneDriveGetSiteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACvI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;AAC5H,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAAkBC,eAAAA,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,7 +19,7 @@ declare const OneDriveGetSiteOutput: z.ZodObject<{
|
|
|
19
19
|
siteCollection: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
20
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const oneDriveGetSite: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
site_id: string;
|
|
25
25
|
expand?: string | undefined;
|
|
@@ -19,7 +19,7 @@ declare const OneDriveGetSiteOutput: z.ZodObject<{
|
|
|
19
19
|
siteCollection: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
20
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const oneDriveGetSite: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
site_id: string;
|
|
25
25
|
expand?: string | undefined;
|
|
@@ -22,7 +22,7 @@ const oneDriveGetSite = action("ONE_DRIVE_GET_SITE", {
|
|
|
22
22
|
siteCollection: z.record(z.string(), z.unknown()).describe("Provides details about the site's site collection. Available only on the root site.").nullable().optional(),
|
|
23
23
|
createdDateTime: z.string().describe("The date and time the site was created, in UTC.").nullable().optional(),
|
|
24
24
|
lastModifiedDateTime: z.string().describe("The date and time the site was last modified, in UTC.").nullable().optional()
|
|
25
|
-
})
|
|
25
|
+
}).passthrough()
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { oneDriveGetSite };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-site.mjs","names":[],"sources":["../../src/actions/get-site.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetSiteInput = z.object({\n expand: z.string().describe(\"Comma-separated list of relationships to expand in the response. Example: columns,lists,drives\").optional(),\n select: z.string().describe(\"Comma-separated list of properties to include in the response. Example: id,displayName,webUrl\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. This is the id property of the site resource.\"),\n});\nexport const OneDriveGetSiteOutput = z.object({\n id: z.string().describe(\"The unique identifier of the site.\").nullable(),\n eTag: z.string().describe(\"ETag for the item.\").nullable().optional(),\n name: z.string().describe(\"The name of the site.\").nullable().optional(),\n root: z.record(z.string(), z.unknown()).describe(\"If present, provides the root site in the site collection. Available only on root sites.\").nullable().optional(),\n webUrl: z.string().describe(\"The URL of the site.\").nullable().optional(),\n description: z.string().describe(\"The descriptive text for the site.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the site.\").nullable().optional(),\n sharepointIds: z.record(z.string(), z.unknown()).describe(\"Returns identifiers useful for SharePoint REST compatibility.\").nullable().optional(),\n isPersonalSite: z.boolean().describe(\"Indicates if the site is a personal site.\").nullable().optional(),\n siteCollection: z.record(z.string(), z.unknown()).describe(\"Provides details about the site's site collection. Available only on the root site.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the site was created, in UTC.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the site was last modified, in UTC.\").nullable().optional(),\n});\n\nexport const oneDriveGetSite = action(\"ONE_DRIVE_GET_SITE\", {\n slug: \"one_drive-get-site\",\n name: \"Get Site Details\",\n description: \"Retrieves metadata for a specific SharePoint site by its ID. Use this action when you need to get details like display name, web URL, and creation/modification dates for a known SharePoint site.\",\n input: OneDriveGetSiteInput,\n output: OneDriveGetSiteOutput,\n});\n"],"mappings":";;AAwBA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBkC,EAAE,OAAO;EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EACvI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EACtI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CAC5H,CAoBS;CACP,QApBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtK,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,
|
|
1
|
+
{"version":3,"file":"get-site.mjs","names":[],"sources":["../../src/actions/get-site.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetSiteInput = z.object({\n expand: z.string().describe(\"Comma-separated list of relationships to expand in the response. Example: columns,lists,drives\").optional(),\n select: z.string().describe(\"Comma-separated list of properties to include in the response. Example: id,displayName,webUrl\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. This is the id property of the site resource.\"),\n});\nexport const OneDriveGetSiteOutput = z.object({\n id: z.string().describe(\"The unique identifier of the site.\").nullable(),\n eTag: z.string().describe(\"ETag for the item.\").nullable().optional(),\n name: z.string().describe(\"The name of the site.\").nullable().optional(),\n root: z.record(z.string(), z.unknown()).describe(\"If present, provides the root site in the site collection. Available only on root sites.\").nullable().optional(),\n webUrl: z.string().describe(\"The URL of the site.\").nullable().optional(),\n description: z.string().describe(\"The descriptive text for the site.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the site.\").nullable().optional(),\n sharepointIds: z.record(z.string(), z.unknown()).describe(\"Returns identifiers useful for SharePoint REST compatibility.\").nullable().optional(),\n isPersonalSite: z.boolean().describe(\"Indicates if the site is a personal site.\").nullable().optional(),\n siteCollection: z.record(z.string(), z.unknown()).describe(\"Provides details about the site's site collection. Available only on the root site.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the site was created, in UTC.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the site was last modified, in UTC.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetSite = action(\"ONE_DRIVE_GET_SITE\", {\n slug: \"one_drive-get-site\",\n name: \"Get Site Details\",\n description: \"Retrieves metadata for a specific SharePoint site by its ID. Use this action when you need to get details like display name, web URL, and creation/modification dates for a known SharePoint site.\",\n input: OneDriveGetSiteInput,\n output: OneDriveGetSiteOutput,\n});\n"],"mappings":";;AAwBA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBkC,EAAE,OAAO;EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EACvI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EACtI,SAAS,EAAE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C,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -14,20 +14,20 @@ const OneDriveGetSpecialFolderInput = zod.z.object({
|
|
|
14
14
|
"recordings"
|
|
15
15
|
]).describe("The name of the special folder to retrieve. Valid values: 'documents' (Documents folder), 'photos' (Photos folder), 'cameraroll' (Camera Roll Backup folder), 'approot' (application's personal folder), 'music' (Music folder), 'recordings' (Recordings folder - only available in OneDrive for Business/SharePoint). Special folders provide simple aliases to access well-known folders without needing the folder path or ID.")
|
|
16
16
|
});
|
|
17
|
-
const OneDriveGetSpecialFolder_FolderSchema = zod.z.object({ childCount: zod.z.number().int().describe("Number of children contained immediately within this container.").nullable().optional() }).describe("Groups folder-related data on an item into a single structure.");
|
|
17
|
+
const OneDriveGetSpecialFolder_FolderSchema = zod.z.object({ childCount: zod.z.number().int().describe("Number of children contained immediately within this container.").nullable().optional() }).passthrough().describe("Groups folder-related data on an item into a single structure.");
|
|
18
18
|
const OneDriveGetSpecialFolder_IdentitySchema = zod.z.object({
|
|
19
19
|
id: zod.z.string().describe("Unique identifier for the identity.").nullable().optional(),
|
|
20
20
|
displayName: zod.z.string().describe("The display name of the identity.").nullable().optional()
|
|
21
|
-
}).describe("Represents an identity of an actor (user, device, or application).");
|
|
21
|
+
}).passthrough().describe("Represents an identity of an actor (user, device, or application).");
|
|
22
22
|
const OneDriveGetSpecialFolder_IdentitySetSchema = zod.z.object({
|
|
23
23
|
user: OneDriveGetSpecialFolder_IdentitySchema.nullable().optional(),
|
|
24
24
|
application: OneDriveGetSpecialFolder_IdentitySchema.nullable().optional()
|
|
25
|
-
}).describe("Represents a keyed collection of identity resources.");
|
|
26
|
-
const OneDriveGetSpecialFolder_SpecialFolderSchema = zod.z.object({ name: zod.z.string().describe("The unique name for this special folder.").nullable().optional() }).describe("Indicates the item is a special folder.");
|
|
25
|
+
}).passthrough().describe("Represents a keyed collection of identity resources.");
|
|
26
|
+
const OneDriveGetSpecialFolder_SpecialFolderSchema = zod.z.object({ name: zod.z.string().describe("The unique name for this special folder.").nullable().optional() }).passthrough().describe("Indicates the item is a special folder.");
|
|
27
27
|
const OneDriveGetSpecialFolder_FileSystemInfoSchema = zod.z.object({
|
|
28
28
|
createdDateTime: zod.z.string().describe("The UTC date and time the file was created on a client.").nullable().optional(),
|
|
29
29
|
lastModifiedDateTime: zod.z.string().describe("The UTC date and time the file was last modified on a client.").nullable().optional()
|
|
30
|
-
}).describe("Contains properties reported by the device's local file system.");
|
|
30
|
+
}).passthrough().describe("Contains properties reported by the device's local file system.");
|
|
31
31
|
const OneDriveGetSpecialFolder_ItemReferenceSchema = zod.z.object({
|
|
32
32
|
id: zod.z.string().describe("Unique identifier of the item in the drive.").nullable().optional(),
|
|
33
33
|
name: zod.z.string().describe("The name of the item being referenced.").nullable().optional(),
|
|
@@ -35,7 +35,7 @@ const OneDriveGetSpecialFolder_ItemReferenceSchema = zod.z.object({
|
|
|
35
35
|
siteId: zod.z.string().describe("Identifier for the site.").nullable().optional(),
|
|
36
36
|
driveId: zod.z.string().describe("Unique identifier of the drive instance that contains the item.").nullable().optional(),
|
|
37
37
|
driveType: zod.z.string().describe("Identifies the type of drive.").nullable().optional()
|
|
38
|
-
}).describe("Provides information necessary to address a driveItem via the API.");
|
|
38
|
+
}).passthrough().describe("Provides information necessary to address a driveItem via the API.");
|
|
39
39
|
const OneDriveGetSpecialFolderOutput = zod.z.object({
|
|
40
40
|
id: zod.z.string().describe("The unique identifier of the special folder.").nullable().optional(),
|
|
41
41
|
cTag: zod.z.string().describe("Content tag for the folder.").nullable().optional(),
|
|
@@ -54,7 +54,7 @@ const OneDriveGetSpecialFolderOutput = zod.z.object({
|
|
|
54
54
|
createdDateTime: zod.z.string().describe("Date and time the folder was created.").nullable().optional(),
|
|
55
55
|
parentReference: OneDriveGetSpecialFolder_ItemReferenceSchema.nullable().optional(),
|
|
56
56
|
lastModifiedDateTime: zod.z.string().describe("Date and time the folder was last modified.").nullable().optional()
|
|
57
|
-
});
|
|
57
|
+
}).passthrough();
|
|
58
58
|
const oneDriveGetSpecialFolder = require_action.action("ONE_DRIVE_GET_SPECIAL_FOLDER", {
|
|
59
59
|
slug: "one_drive-get-special-folder",
|
|
60
60
|
name: "Get Drive Special Folder",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-special-folder.cjs","names":["z","action"],"sources":["../../src/actions/get-special-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetSpecialFolderInput = z.object({\n user_id: z.string().default(\"me\").describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.\").optional(),\n select_fields: z.array(z.string()).describe(\"A list of properties to include in the response. Use this to retrieve specific fields and reduce the response size. For example, ['id', 'name', 'size']. If not provided, all default properties are returned.\").optional(),\n expand_relations: z.array(z.string()).describe(\"Navigation properties to expand in the response. Common values: 'children' (folder contents), 'thumbnails' (image previews). Other options: 'permissions', 'versions', 'activities', 'analytics', 'createdByUser', 'lastModifiedByUser', 'retentionLabel', 'subscriptions', 'workbook'.\").optional(),\n special_folder_name: z.enum([\"documents\", \"photos\", \"cameraroll\", \"approot\", \"music\", \"recordings\"]).describe(\"The name of the special folder to retrieve. Valid values: 'documents' (Documents folder), 'photos' (Photos folder), 'cameraroll' (Camera Roll Backup folder), 'approot' (application's personal folder), 'music' (Music folder), 'recordings' (Recordings folder - only available in OneDrive for Business/SharePoint). Special folders provide simple aliases to access well-known folders without needing the folder path or ID.\"),\n});\nconst OneDriveGetSpecialFolder_FolderSchema = z.object({\n childCount: z.number().int().describe(\"Number of children contained immediately within this container.\").nullable().optional(),\n}).describe(\"Groups folder-related data on an item into a single structure.\");\nconst OneDriveGetSpecialFolder_IdentitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).describe(\"Represents an identity of an actor (user, device, or application).\");\nconst OneDriveGetSpecialFolder_IdentitySetSchema = z.object({\n user: OneDriveGetSpecialFolder_IdentitySchema.nullable().optional(),\n application: OneDriveGetSpecialFolder_IdentitySchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources.\");\nconst OneDriveGetSpecialFolder_SpecialFolderSchema = z.object({\n name: z.string().describe(\"The unique name for this special folder.\").nullable().optional(),\n}).describe(\"Indicates the item is a special folder.\");\nconst OneDriveGetSpecialFolder_FileSystemInfoSchema = z.object({\n createdDateTime: z.string().describe(\"The UTC date and time the file was created on a client.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The UTC date and time the file was last modified on a client.\").nullable().optional(),\n}).describe(\"Contains properties reported by the device's local file system.\");\nconst OneDriveGetSpecialFolder_ItemReferenceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the item in the drive.\").nullable().optional(),\n name: z.string().describe(\"The name of the item being referenced.\").nullable().optional(),\n path: z.string().describe(\"Path that can be used to navigate to the item.\").nullable().optional(),\n siteId: z.string().describe(\"Identifier for the site.\").nullable().optional(),\n driveId: z.string().describe(\"Unique identifier of the drive instance that contains the item.\").nullable().optional(),\n driveType: z.string().describe(\"Identifies the type of drive.\").nullable().optional(),\n}).describe(\"Provides information necessary to address a driveItem via the API.\");\nexport const OneDriveGetSpecialFolderOutput = z.object({\n id: z.string().describe(\"The unique identifier of the special folder.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag for the folder.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag for the folder.\").nullable().optional(),\n name: z.string().describe(\"The name of the special folder.\").nullable().optional(),\n size: z.number().int().describe(\"Size of the folder contents in bytes.\").nullable().optional(),\n folder: OneDriveGetSpecialFolder_FolderSchema.nullable().optional(),\n shared: z.record(z.string(), z.unknown()).describe(\"Sharing information if the folder is shared.\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the folder in a browser.\").nullable().optional(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Children of the special folder, if expanded.\").nullable().optional(),\n createdBy: OneDriveGetSpecialFolder_IdentitySetSchema.nullable().optional(),\n specialFolder: OneDriveGetSpecialFolder_SpecialFolderSchema.nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL for this response.\").nullable().optional(),\n fileSystemInfo: OneDriveGetSpecialFolder_FileSystemInfoSchema.nullable().optional(),\n lastModifiedBy: OneDriveGetSpecialFolder_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time the folder was created.\").nullable().optional(),\n parentReference: OneDriveGetSpecialFolder_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the folder was last modified.\").nullable().optional(),\n});\n\nexport const oneDriveGetSpecialFolder = action(\"ONE_DRIVE_GET_SPECIAL_FOLDER\", {\n slug: \"one_drive-get-special-folder\",\n name: \"Get Drive Special Folder\",\n description: \"Tool to retrieve a special folder in OneDrive by name. Use when you need to access well-known folders (documents, photos, approot, etc.) without looking up by path or ID.\",\n input: OneDriveGetSpecialFolderInput,\n output: OneDriveGetSpecialFolderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC/J,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gNAAgN,CAAC,CAAC,SAAS;CACvQ,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yRAAyR,CAAC,CAAC,SAAS;CACnV,qBAAqBA,IAAAA,EAAE,KAAK;EAAC;EAAa;EAAU;EAAc;EAAW;EAAS;CAAY,CAAC,CAAC,CAAC,SAAS,oaAAoa;AACphB,CAAC;AACD,MAAM,wCAAwCA,IAAAA,EAAE,OAAO,EACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,SAAS,gEAAgE;
|
|
1
|
+
{"version":3,"file":"get-special-folder.cjs","names":["z","action"],"sources":["../../src/actions/get-special-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetSpecialFolderInput = z.object({\n user_id: z.string().default(\"me\").describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.\").optional(),\n select_fields: z.array(z.string()).describe(\"A list of properties to include in the response. Use this to retrieve specific fields and reduce the response size. For example, ['id', 'name', 'size']. If not provided, all default properties are returned.\").optional(),\n expand_relations: z.array(z.string()).describe(\"Navigation properties to expand in the response. Common values: 'children' (folder contents), 'thumbnails' (image previews). Other options: 'permissions', 'versions', 'activities', 'analytics', 'createdByUser', 'lastModifiedByUser', 'retentionLabel', 'subscriptions', 'workbook'.\").optional(),\n special_folder_name: z.enum([\"documents\", \"photos\", \"cameraroll\", \"approot\", \"music\", \"recordings\"]).describe(\"The name of the special folder to retrieve. Valid values: 'documents' (Documents folder), 'photos' (Photos folder), 'cameraroll' (Camera Roll Backup folder), 'approot' (application's personal folder), 'music' (Music folder), 'recordings' (Recordings folder - only available in OneDrive for Business/SharePoint). Special folders provide simple aliases to access well-known folders without needing the folder path or ID.\"),\n});\nconst OneDriveGetSpecialFolder_FolderSchema = z.object({\n childCount: z.number().int().describe(\"Number of children contained immediately within this container.\").nullable().optional(),\n}).passthrough().describe(\"Groups folder-related data on an item into a single structure.\");\nconst OneDriveGetSpecialFolder_IdentitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).passthrough().describe(\"Represents an identity of an actor (user, device, or application).\");\nconst OneDriveGetSpecialFolder_IdentitySetSchema = z.object({\n user: OneDriveGetSpecialFolder_IdentitySchema.nullable().optional(),\n application: OneDriveGetSpecialFolder_IdentitySchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources.\");\nconst OneDriveGetSpecialFolder_SpecialFolderSchema = z.object({\n name: z.string().describe(\"The unique name for this special folder.\").nullable().optional(),\n}).passthrough().describe(\"Indicates the item is a special folder.\");\nconst OneDriveGetSpecialFolder_FileSystemInfoSchema = z.object({\n createdDateTime: z.string().describe(\"The UTC date and time the file was created on a client.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The UTC date and time the file was last modified on a client.\").nullable().optional(),\n}).passthrough().describe(\"Contains properties reported by the device's local file system.\");\nconst OneDriveGetSpecialFolder_ItemReferenceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the item in the drive.\").nullable().optional(),\n name: z.string().describe(\"The name of the item being referenced.\").nullable().optional(),\n path: z.string().describe(\"Path that can be used to navigate to the item.\").nullable().optional(),\n siteId: z.string().describe(\"Identifier for the site.\").nullable().optional(),\n driveId: z.string().describe(\"Unique identifier of the drive instance that contains the item.\").nullable().optional(),\n driveType: z.string().describe(\"Identifies the type of drive.\").nullable().optional(),\n}).passthrough().describe(\"Provides information necessary to address a driveItem via the API.\");\nexport const OneDriveGetSpecialFolderOutput = z.object({\n id: z.string().describe(\"The unique identifier of the special folder.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag for the folder.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag for the folder.\").nullable().optional(),\n name: z.string().describe(\"The name of the special folder.\").nullable().optional(),\n size: z.number().int().describe(\"Size of the folder contents in bytes.\").nullable().optional(),\n folder: OneDriveGetSpecialFolder_FolderSchema.nullable().optional(),\n shared: z.record(z.string(), z.unknown()).describe(\"Sharing information if the folder is shared.\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the folder in a browser.\").nullable().optional(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Children of the special folder, if expanded.\").nullable().optional(),\n createdBy: OneDriveGetSpecialFolder_IdentitySetSchema.nullable().optional(),\n specialFolder: OneDriveGetSpecialFolder_SpecialFolderSchema.nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL for this response.\").nullable().optional(),\n fileSystemInfo: OneDriveGetSpecialFolder_FileSystemInfoSchema.nullable().optional(),\n lastModifiedBy: OneDriveGetSpecialFolder_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time the folder was created.\").nullable().optional(),\n parentReference: OneDriveGetSpecialFolder_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the folder was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetSpecialFolder = action(\"ONE_DRIVE_GET_SPECIAL_FOLDER\", {\n slug: \"one_drive-get-special-folder\",\n name: \"Get Drive Special Folder\",\n description: \"Tool to retrieve a special folder in OneDrive by name. Use when you need to access well-known folders (documents, photos, approot, etc.) without looking up by path or ID.\",\n input: OneDriveGetSpecialFolderInput,\n output: OneDriveGetSpecialFolderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC/J,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gNAAgN,CAAC,CAAC,SAAS;CACvQ,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yRAAyR,CAAC,CAAC,SAAS;CACnV,qBAAqBA,IAAAA,EAAE,KAAK;EAAC;EAAa;EAAU;EAAc;EAAW;EAAS;CAAY,CAAC,CAAC,CAAC,SAAS,oaAAoa;AACphB,CAAC;AACD,MAAM,wCAAwCA,IAAAA,EAAE,OAAO,EACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,C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CAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,WAAW,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC1E,eAAe,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAChF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgB,8CAA8C,SAAS,CAAC,CAAC,SAAS;CAClF,gBAAgB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC/E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,iBAAiB,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAClF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ declare const OneDriveGetSpecialFolderOutput: z.ZodObject<{
|
|
|
22
22
|
size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
folder: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
24
24
|
childCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
26
|
shared: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
27
27
|
webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
children: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
@@ -30,30 +30,30 @@ declare const OneDriveGetSpecialFolderOutput: z.ZodObject<{
|
|
|
30
30
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
34
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
35
35
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.core.$
|
|
38
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>;
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
39
|
specialFolder: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
40
40
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
42
|
"@odata.context": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
fileSystemInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44
44
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
47
|
lastModifiedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
48
48
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
49
49
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
-
}, z.core.$
|
|
51
|
+
}, z.core.$loose>>>;
|
|
52
52
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
53
53
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
-
}, z.core.$
|
|
56
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>>;
|
|
56
|
+
}, z.core.$loose>>>;
|
|
57
57
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
parentReference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
59
59
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -62,9 +62,9 @@ declare const OneDriveGetSpecialFolderOutput: z.ZodObject<{
|
|
|
62
62
|
siteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
63
|
driveId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
64
|
driveType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
-
}, z.core.$
|
|
65
|
+
}, z.core.$loose>>>;
|
|
66
66
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
|
-
}, z.core.$
|
|
67
|
+
}, z.core.$loose>;
|
|
68
68
|
declare const oneDriveGetSpecialFolder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
69
69
|
special_folder_name: "documents" | "photos" | "cameraroll" | "approot" | "music" | "recordings";
|
|
70
70
|
user_id?: string | undefined;
|
|
@@ -22,7 +22,7 @@ declare const OneDriveGetSpecialFolderOutput: z.ZodObject<{
|
|
|
22
22
|
size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
folder: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
24
24
|
childCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
26
|
shared: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
27
27
|
webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
children: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
@@ -30,30 +30,30 @@ declare const OneDriveGetSpecialFolderOutput: z.ZodObject<{
|
|
|
30
30
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
34
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
35
35
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.core.$
|
|
38
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>;
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
39
|
specialFolder: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
40
40
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
42
|
"@odata.context": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
fileSystemInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44
44
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
47
|
lastModifiedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
48
48
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
49
49
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
-
}, z.core.$
|
|
51
|
+
}, z.core.$loose>>>;
|
|
52
52
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
53
53
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
-
}, z.core.$
|
|
56
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>>;
|
|
56
|
+
}, z.core.$loose>>>;
|
|
57
57
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
parentReference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
59
59
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -62,9 +62,9 @@ declare const OneDriveGetSpecialFolderOutput: z.ZodObject<{
|
|
|
62
62
|
siteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
63
|
driveId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
64
|
driveType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
-
}, z.core.$
|
|
65
|
+
}, z.core.$loose>>>;
|
|
66
66
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
|
-
}, z.core.$
|
|
67
|
+
}, z.core.$loose>;
|
|
68
68
|
declare const oneDriveGetSpecialFolder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
69
69
|
special_folder_name: "documents" | "photos" | "cameraroll" | "approot" | "music" | "recordings";
|
|
70
70
|
user_id?: string | undefined;
|
|
@@ -14,20 +14,20 @@ const OneDriveGetSpecialFolderInput = z.object({
|
|
|
14
14
|
"recordings"
|
|
15
15
|
]).describe("The name of the special folder to retrieve. Valid values: 'documents' (Documents folder), 'photos' (Photos folder), 'cameraroll' (Camera Roll Backup folder), 'approot' (application's personal folder), 'music' (Music folder), 'recordings' (Recordings folder - only available in OneDrive for Business/SharePoint). Special folders provide simple aliases to access well-known folders without needing the folder path or ID.")
|
|
16
16
|
});
|
|
17
|
-
const OneDriveGetSpecialFolder_FolderSchema = z.object({ childCount: z.number().int().describe("Number of children contained immediately within this container.").nullable().optional() }).describe("Groups folder-related data on an item into a single structure.");
|
|
17
|
+
const OneDriveGetSpecialFolder_FolderSchema = z.object({ childCount: z.number().int().describe("Number of children contained immediately within this container.").nullable().optional() }).passthrough().describe("Groups folder-related data on an item into a single structure.");
|
|
18
18
|
const OneDriveGetSpecialFolder_IdentitySchema = z.object({
|
|
19
19
|
id: z.string().describe("Unique identifier for the identity.").nullable().optional(),
|
|
20
20
|
displayName: z.string().describe("The display name of the identity.").nullable().optional()
|
|
21
|
-
}).describe("Represents an identity of an actor (user, device, or application).");
|
|
21
|
+
}).passthrough().describe("Represents an identity of an actor (user, device, or application).");
|
|
22
22
|
const OneDriveGetSpecialFolder_IdentitySetSchema = z.object({
|
|
23
23
|
user: OneDriveGetSpecialFolder_IdentitySchema.nullable().optional(),
|
|
24
24
|
application: OneDriveGetSpecialFolder_IdentitySchema.nullable().optional()
|
|
25
|
-
}).describe("Represents a keyed collection of identity resources.");
|
|
26
|
-
const OneDriveGetSpecialFolder_SpecialFolderSchema = z.object({ name: z.string().describe("The unique name for this special folder.").nullable().optional() }).describe("Indicates the item is a special folder.");
|
|
25
|
+
}).passthrough().describe("Represents a keyed collection of identity resources.");
|
|
26
|
+
const OneDriveGetSpecialFolder_SpecialFolderSchema = z.object({ name: z.string().describe("The unique name for this special folder.").nullable().optional() }).passthrough().describe("Indicates the item is a special folder.");
|
|
27
27
|
const OneDriveGetSpecialFolder_FileSystemInfoSchema = z.object({
|
|
28
28
|
createdDateTime: z.string().describe("The UTC date and time the file was created on a client.").nullable().optional(),
|
|
29
29
|
lastModifiedDateTime: z.string().describe("The UTC date and time the file was last modified on a client.").nullable().optional()
|
|
30
|
-
}).describe("Contains properties reported by the device's local file system.");
|
|
30
|
+
}).passthrough().describe("Contains properties reported by the device's local file system.");
|
|
31
31
|
const OneDriveGetSpecialFolder_ItemReferenceSchema = z.object({
|
|
32
32
|
id: z.string().describe("Unique identifier of the item in the drive.").nullable().optional(),
|
|
33
33
|
name: z.string().describe("The name of the item being referenced.").nullable().optional(),
|
|
@@ -35,7 +35,7 @@ const OneDriveGetSpecialFolder_ItemReferenceSchema = z.object({
|
|
|
35
35
|
siteId: z.string().describe("Identifier for the site.").nullable().optional(),
|
|
36
36
|
driveId: z.string().describe("Unique identifier of the drive instance that contains the item.").nullable().optional(),
|
|
37
37
|
driveType: z.string().describe("Identifies the type of drive.").nullable().optional()
|
|
38
|
-
}).describe("Provides information necessary to address a driveItem via the API.");
|
|
38
|
+
}).passthrough().describe("Provides information necessary to address a driveItem via the API.");
|
|
39
39
|
const oneDriveGetSpecialFolder = action("ONE_DRIVE_GET_SPECIAL_FOLDER", {
|
|
40
40
|
slug: "one_drive-get-special-folder",
|
|
41
41
|
name: "Get Drive Special Folder",
|
|
@@ -59,7 +59,7 @@ const oneDriveGetSpecialFolder = action("ONE_DRIVE_GET_SPECIAL_FOLDER", {
|
|
|
59
59
|
createdDateTime: z.string().describe("Date and time the folder was created.").nullable().optional(),
|
|
60
60
|
parentReference: OneDriveGetSpecialFolder_ItemReferenceSchema.nullable().optional(),
|
|
61
61
|
lastModifiedDateTime: z.string().describe("Date and time the folder was last modified.").nullable().optional()
|
|
62
|
-
})
|
|
62
|
+
}).passthrough()
|
|
63
63
|
});
|
|
64
64
|
//#endregion
|
|
65
65
|
export { oneDriveGetSpecialFolder };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-special-folder.mjs","names":[],"sources":["../../src/actions/get-special-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetSpecialFolderInput = z.object({\n user_id: z.string().default(\"me\").describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.\").optional(),\n select_fields: z.array(z.string()).describe(\"A list of properties to include in the response. Use this to retrieve specific fields and reduce the response size. For example, ['id', 'name', 'size']. If not provided, all default properties are returned.\").optional(),\n expand_relations: z.array(z.string()).describe(\"Navigation properties to expand in the response. Common values: 'children' (folder contents), 'thumbnails' (image previews). Other options: 'permissions', 'versions', 'activities', 'analytics', 'createdByUser', 'lastModifiedByUser', 'retentionLabel', 'subscriptions', 'workbook'.\").optional(),\n special_folder_name: z.enum([\"documents\", \"photos\", \"cameraroll\", \"approot\", \"music\", \"recordings\"]).describe(\"The name of the special folder to retrieve. Valid values: 'documents' (Documents folder), 'photos' (Photos folder), 'cameraroll' (Camera Roll Backup folder), 'approot' (application's personal folder), 'music' (Music folder), 'recordings' (Recordings folder - only available in OneDrive for Business/SharePoint). Special folders provide simple aliases to access well-known folders without needing the folder path or ID.\"),\n});\nconst OneDriveGetSpecialFolder_FolderSchema = z.object({\n childCount: z.number().int().describe(\"Number of children contained immediately within this container.\").nullable().optional(),\n}).describe(\"Groups folder-related data on an item into a single structure.\");\nconst OneDriveGetSpecialFolder_IdentitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).describe(\"Represents an identity of an actor (user, device, or application).\");\nconst OneDriveGetSpecialFolder_IdentitySetSchema = z.object({\n user: OneDriveGetSpecialFolder_IdentitySchema.nullable().optional(),\n application: OneDriveGetSpecialFolder_IdentitySchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources.\");\nconst OneDriveGetSpecialFolder_SpecialFolderSchema = z.object({\n name: z.string().describe(\"The unique name for this special folder.\").nullable().optional(),\n}).describe(\"Indicates the item is a special folder.\");\nconst OneDriveGetSpecialFolder_FileSystemInfoSchema = z.object({\n createdDateTime: z.string().describe(\"The UTC date and time the file was created on a client.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The UTC date and time the file was last modified on a client.\").nullable().optional(),\n}).describe(\"Contains properties reported by the device's local file system.\");\nconst OneDriveGetSpecialFolder_ItemReferenceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the item in the drive.\").nullable().optional(),\n name: z.string().describe(\"The name of the item being referenced.\").nullable().optional(),\n path: z.string().describe(\"Path that can be used to navigate to the item.\").nullable().optional(),\n siteId: z.string().describe(\"Identifier for the site.\").nullable().optional(),\n driveId: z.string().describe(\"Unique identifier of the drive instance that contains the item.\").nullable().optional(),\n driveType: z.string().describe(\"Identifies the type of drive.\").nullable().optional(),\n}).describe(\"Provides information necessary to address a driveItem via the API.\");\nexport const OneDriveGetSpecialFolderOutput = z.object({\n id: z.string().describe(\"The unique identifier of the special folder.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag for the folder.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag for the folder.\").nullable().optional(),\n name: z.string().describe(\"The name of the special folder.\").nullable().optional(),\n size: z.number().int().describe(\"Size of the folder contents in bytes.\").nullable().optional(),\n folder: OneDriveGetSpecialFolder_FolderSchema.nullable().optional(),\n shared: z.record(z.string(), z.unknown()).describe(\"Sharing information if the folder is shared.\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the folder in a browser.\").nullable().optional(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Children of the special folder, if expanded.\").nullable().optional(),\n createdBy: OneDriveGetSpecialFolder_IdentitySetSchema.nullable().optional(),\n specialFolder: OneDriveGetSpecialFolder_SpecialFolderSchema.nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL for this response.\").nullable().optional(),\n fileSystemInfo: OneDriveGetSpecialFolder_FileSystemInfoSchema.nullable().optional(),\n lastModifiedBy: OneDriveGetSpecialFolder_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time the folder was created.\").nullable().optional(),\n parentReference: OneDriveGetSpecialFolder_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the folder was last modified.\").nullable().optional(),\n});\n\nexport const oneDriveGetSpecialFolder = action(\"ONE_DRIVE_GET_SPECIAL_FOLDER\", {\n slug: \"one_drive-get-special-folder\",\n name: \"Get Drive Special Folder\",\n description: \"Tool to retrieve a special folder in OneDrive by name. Use when you need to access well-known folders (documents, photos, approot, etc.) without looking up by path or ID.\",\n input: OneDriveGetSpecialFolderInput,\n output: OneDriveGetSpecialFolderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC/J,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gNAAgN,CAAC,CAAC,SAAS;CACvQ,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yRAAyR,CAAC,CAAC,SAAS;CACnV,qBAAqB,EAAE,KAAK;EAAC;EAAa;EAAU;EAAc;EAAW;EAAS;CAAY,CAAC,CAAC,CAAC,SAAS,oaAAoa;AACphB,CAAC;AACD,MAAM,wCAAwC,EAAE,OAAO,EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,SAAS,gEAAgE;
|
|
1
|
+
{"version":3,"file":"get-special-folder.mjs","names":[],"sources":["../../src/actions/get-special-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetSpecialFolderInput = z.object({\n user_id: z.string().default(\"me\").describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.\").optional(),\n select_fields: z.array(z.string()).describe(\"A list of properties to include in the response. Use this to retrieve specific fields and reduce the response size. For example, ['id', 'name', 'size']. If not provided, all default properties are returned.\").optional(),\n expand_relations: z.array(z.string()).describe(\"Navigation properties to expand in the response. Common values: 'children' (folder contents), 'thumbnails' (image previews). Other options: 'permissions', 'versions', 'activities', 'analytics', 'createdByUser', 'lastModifiedByUser', 'retentionLabel', 'subscriptions', 'workbook'.\").optional(),\n special_folder_name: z.enum([\"documents\", \"photos\", \"cameraroll\", \"approot\", \"music\", \"recordings\"]).describe(\"The name of the special folder to retrieve. Valid values: 'documents' (Documents folder), 'photos' (Photos folder), 'cameraroll' (Camera Roll Backup folder), 'approot' (application's personal folder), 'music' (Music folder), 'recordings' (Recordings folder - only available in OneDrive for Business/SharePoint). Special folders provide simple aliases to access well-known folders without needing the folder path or ID.\"),\n});\nconst OneDriveGetSpecialFolder_FolderSchema = z.object({\n childCount: z.number().int().describe(\"Number of children contained immediately within this container.\").nullable().optional(),\n}).passthrough().describe(\"Groups folder-related data on an item into a single structure.\");\nconst OneDriveGetSpecialFolder_IdentitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).passthrough().describe(\"Represents an identity of an actor (user, device, or application).\");\nconst OneDriveGetSpecialFolder_IdentitySetSchema = z.object({\n user: OneDriveGetSpecialFolder_IdentitySchema.nullable().optional(),\n application: OneDriveGetSpecialFolder_IdentitySchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources.\");\nconst OneDriveGetSpecialFolder_SpecialFolderSchema = z.object({\n name: z.string().describe(\"The unique name for this special folder.\").nullable().optional(),\n}).passthrough().describe(\"Indicates the item is a special folder.\");\nconst OneDriveGetSpecialFolder_FileSystemInfoSchema = z.object({\n createdDateTime: z.string().describe(\"The UTC date and time the file was created on a client.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The UTC date and time the file was last modified on a client.\").nullable().optional(),\n}).passthrough().describe(\"Contains properties reported by the device's local file system.\");\nconst OneDriveGetSpecialFolder_ItemReferenceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the item in the drive.\").nullable().optional(),\n name: z.string().describe(\"The name of the item being referenced.\").nullable().optional(),\n path: z.string().describe(\"Path that can be used to navigate to the item.\").nullable().optional(),\n siteId: z.string().describe(\"Identifier for the site.\").nullable().optional(),\n driveId: z.string().describe(\"Unique identifier of the drive instance that contains the item.\").nullable().optional(),\n driveType: z.string().describe(\"Identifies the type of drive.\").nullable().optional(),\n}).passthrough().describe(\"Provides information necessary to address a driveItem via the API.\");\nexport const OneDriveGetSpecialFolderOutput = z.object({\n id: z.string().describe(\"The unique identifier of the special folder.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag for the folder.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag for the folder.\").nullable().optional(),\n name: z.string().describe(\"The name of the special folder.\").nullable().optional(),\n size: z.number().int().describe(\"Size of the folder contents in bytes.\").nullable().optional(),\n folder: OneDriveGetSpecialFolder_FolderSchema.nullable().optional(),\n shared: z.record(z.string(), z.unknown()).describe(\"Sharing information if the folder is shared.\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the folder in a browser.\").nullable().optional(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Children of the special folder, if expanded.\").nullable().optional(),\n createdBy: OneDriveGetSpecialFolder_IdentitySetSchema.nullable().optional(),\n specialFolder: OneDriveGetSpecialFolder_SpecialFolderSchema.nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL for this response.\").nullable().optional(),\n fileSystemInfo: OneDriveGetSpecialFolder_FileSystemInfoSchema.nullable().optional(),\n lastModifiedBy: OneDriveGetSpecialFolder_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time the folder was created.\").nullable().optional(),\n parentReference: OneDriveGetSpecialFolder_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the folder was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetSpecialFolder = action(\"ONE_DRIVE_GET_SPECIAL_FOLDER\", {\n slug: \"one_drive-get-special-folder\",\n name: \"Get Drive Special Folder\",\n description: \"Tool to retrieve a special folder in OneDrive by name. Use when you need to access well-known folders (documents, photos, approot, etc.) without looking up by path or ID.\",\n input: OneDriveGetSpecialFolderInput,\n output: OneDriveGetSpecialFolderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC/J,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gNAAgN,CAAC,CAAC,SAAS;CACvQ,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yRAAyR,CAAC,CAAC,SAAS;CACnV,qBAAqB,EAAE,KAAK;EAAC;EAAa;EAAU;EAAc;EAAW;EAAS;CAAY,CAAC,CAAC,CAAC,SAAS,oaAAoa;AACphB,CAAC;AACD,MAAM,wCAAwC,EAAE,OAAO,EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAC9F,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAClE,aAAa,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAA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,CAAC,CAAC,SAAS;EAClF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -29,7 +29,7 @@ const OneDriveGetUserOutput = zod.z.object({
|
|
|
29
29
|
officeLocation: zod.z.string().describe("The office location in the user's place of business.").nullable().optional(),
|
|
30
30
|
preferredLanguage: zod.z.string().describe("The preferred language for the user. Should follow ISO 639-1 Code (e.g., 'en-US').").nullable().optional(),
|
|
31
31
|
userPrincipalName: zod.z.string().describe("The user principal name (UPN) of the user.").nullable().optional()
|
|
32
|
-
});
|
|
32
|
+
}).passthrough();
|
|
33
33
|
const oneDriveGetUser = require_action.action("ONE_DRIVE_GET_USER", {
|
|
34
34
|
slug: "one_drive-get-user",
|
|
35
35
|
name: "Get User Profile",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.cjs","names":["z","action"],"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":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CA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.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":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qQAAqQ,CAAC,CAAC,SAAS;CACrT,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M;AAC1O,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,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C,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAAkBC,eAAAA,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -29,7 +29,7 @@ declare const OneDriveGetUserOutput: z.ZodObject<{
|
|
|
29
29
|
officeLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
preferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
userPrincipalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const oneDriveGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
user_id: string;
|
|
35
35
|
select?: string[] | undefined;
|
|
@@ -29,7 +29,7 @@ declare const OneDriveGetUserOutput: z.ZodObject<{
|
|
|
29
29
|
officeLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
preferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
userPrincipalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const oneDriveGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
user_id: string;
|
|
35
35
|
select?: string[] | undefined;
|
|
@@ -32,7 +32,7 @@ const oneDriveGetUser = action("ONE_DRIVE_GET_USER", {
|
|
|
32
32
|
officeLocation: z.string().describe("The office location in the user's place of business.").nullable().optional(),
|
|
33
33
|
preferredLanguage: z.string().describe("The preferred language for the user. Should follow ISO 639-1 Code (e.g., 'en-US').").nullable().optional(),
|
|
34
34
|
userPrincipalName: z.string().describe("The user principal name (UPN) of the user.").nullable().optional()
|
|
35
|
-
})
|
|
35
|
+
}).passthrough()
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { oneDriveGetUser };
|