@keystrokehq/one_drive 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/actions/add-workbook-worksheet.cjs +1 -1
- package/dist/actions/add-workbook-worksheet.cjs.map +1 -1
- package/dist/actions/add-workbook-worksheet.d.cts +14 -2
- package/dist/actions/add-workbook-worksheet.d.mts +14 -2
- package/dist/actions/add-workbook-worksheet.mjs +1 -1
- package/dist/actions/add-workbook-worksheet.mjs.map +1 -1
- package/dist/actions/checkin-item.cjs +1 -1
- package/dist/actions/checkin-item.cjs.map +1 -1
- package/dist/actions/checkin-item.d.cts +14 -2
- package/dist/actions/checkin-item.d.mts +14 -2
- package/dist/actions/checkin-item.mjs +1 -1
- package/dist/actions/checkin-item.mjs.map +1 -1
- package/dist/actions/checkout-item.cjs +1 -1
- package/dist/actions/checkout-item.cjs.map +1 -1
- package/dist/actions/checkout-item.d.cts +14 -2
- package/dist/actions/checkout-item.d.mts +14 -2
- package/dist/actions/checkout-item.mjs +1 -1
- package/dist/actions/checkout-item.mjs.map +1 -1
- package/dist/actions/clear-workbook-range.cjs +1 -1
- package/dist/actions/clear-workbook-range.cjs.map +1 -1
- package/dist/actions/clear-workbook-range.d.cts +14 -2
- package/dist/actions/clear-workbook-range.d.mts +14 -2
- package/dist/actions/clear-workbook-range.mjs +1 -1
- package/dist/actions/clear-workbook-range.mjs.map +1 -1
- package/dist/actions/copy-item.cjs +1 -1
- package/dist/actions/copy-item.cjs.map +1 -1
- package/dist/actions/copy-item.d.cts +14 -2
- package/dist/actions/copy-item.d.mts +14 -2
- package/dist/actions/copy-item.mjs +1 -1
- package/dist/actions/copy-item.mjs.map +1 -1
- package/dist/actions/create-item-permission.cjs +3 -3
- package/dist/actions/create-item-permission.cjs.map +1 -1
- package/dist/actions/create-item-permission.d.cts +28 -16
- package/dist/actions/create-item-permission.d.mts +28 -16
- package/dist/actions/create-item-permission.mjs +3 -3
- package/dist/actions/create-item-permission.mjs.map +1 -1
- package/dist/actions/create-link.cjs +4 -4
- package/dist/actions/create-link.cjs.map +1 -1
- package/dist/actions/create-link.d.cts +18 -6
- package/dist/actions/create-link.d.cts.map +1 -1
- package/dist/actions/create-link.d.mts +18 -6
- package/dist/actions/create-link.d.mts.map +1 -1
- package/dist/actions/create-link.mjs +4 -4
- package/dist/actions/create-link.mjs.map +1 -1
- package/dist/actions/create-sharepoint-list-item.d.cts +13 -1
- package/dist/actions/create-sharepoint-list-item.d.cts.map +1 -1
- package/dist/actions/create-sharepoint-list-item.d.mts +13 -1
- package/dist/actions/create-sharepoint-list-item.d.mts.map +1 -1
- package/dist/actions/delete-item-permanently.cjs +1 -1
- package/dist/actions/delete-item-permanently.cjs.map +1 -1
- package/dist/actions/delete-item-permanently.d.cts +14 -2
- package/dist/actions/delete-item-permanently.d.mts +14 -2
- package/dist/actions/delete-item-permanently.mjs +1 -1
- package/dist/actions/delete-item-permanently.mjs.map +1 -1
- package/dist/actions/delete-item-permission.cjs +1 -1
- package/dist/actions/delete-item-permission.cjs.map +1 -1
- package/dist/actions/delete-item-permission.d.cts +14 -2
- package/dist/actions/delete-item-permission.d.mts +14 -2
- package/dist/actions/delete-item-permission.mjs +1 -1
- package/dist/actions/delete-item-permission.mjs.map +1 -1
- package/dist/actions/delete-item.cjs +1 -1
- package/dist/actions/delete-item.cjs.map +1 -1
- package/dist/actions/delete-item.d.cts +14 -2
- package/dist/actions/delete-item.d.mts +14 -2
- package/dist/actions/delete-item.mjs +1 -1
- package/dist/actions/delete-item.mjs.map +1 -1
- package/dist/actions/delete-share-permission.cjs +1 -1
- package/dist/actions/delete-share-permission.cjs.map +1 -1
- package/dist/actions/delete-share-permission.d.cts +14 -2
- package/dist/actions/delete-share-permission.d.mts +14 -2
- package/dist/actions/delete-share-permission.mjs +1 -1
- package/dist/actions/delete-share-permission.mjs.map +1 -1
- package/dist/actions/delete-sharepoint-item-permission.d.cts +13 -1
- package/dist/actions/delete-sharepoint-item-permission.d.mts +13 -1
- package/dist/actions/delete-workbook-range.cjs +1 -1
- package/dist/actions/delete-workbook-range.cjs.map +1 -1
- package/dist/actions/delete-workbook-range.d.cts +14 -2
- package/dist/actions/delete-workbook-range.d.mts +14 -2
- package/dist/actions/delete-workbook-range.mjs +1 -1
- package/dist/actions/delete-workbook-range.mjs.map +1 -1
- package/dist/actions/delete-workbook-worksheet.cjs +1 -1
- package/dist/actions/delete-workbook-worksheet.cjs.map +1 -1
- package/dist/actions/delete-workbook-worksheet.d.cts +14 -2
- package/dist/actions/delete-workbook-worksheet.d.mts +14 -2
- package/dist/actions/delete-workbook-worksheet.mjs +1 -1
- package/dist/actions/delete-workbook-worksheet.mjs.map +1 -1
- package/dist/actions/discard-checkout.cjs +1 -1
- package/dist/actions/discard-checkout.cjs.map +1 -1
- package/dist/actions/discard-checkout.d.cts +14 -2
- package/dist/actions/discard-checkout.d.mts +14 -2
- package/dist/actions/discard-checkout.mjs +1 -1
- package/dist/actions/discard-checkout.mjs.map +1 -1
- package/dist/actions/download-file-by-path.cjs +2 -2
- package/dist/actions/download-file-by-path.cjs.map +1 -1
- package/dist/actions/download-file-by-path.d.cts +15 -3
- package/dist/actions/download-file-by-path.d.mts +15 -3
- package/dist/actions/download-file-by-path.mjs +2 -2
- package/dist/actions/download-file-by-path.mjs.map +1 -1
- package/dist/actions/download-file.cjs +2 -2
- package/dist/actions/download-file.cjs.map +1 -1
- package/dist/actions/download-file.d.cts +15 -3
- package/dist/actions/download-file.d.mts +15 -3
- package/dist/actions/download-file.mjs +2 -2
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/download-item-as-format.cjs +2 -2
- package/dist/actions/download-item-as-format.cjs.map +1 -1
- package/dist/actions/download-item-as-format.d.cts +15 -3
- package/dist/actions/download-item-as-format.d.mts +15 -3
- package/dist/actions/download-item-as-format.mjs +2 -2
- package/dist/actions/download-item-as-format.mjs.map +1 -1
- package/dist/actions/download-item-version.cjs +2 -2
- package/dist/actions/download-item-version.cjs.map +1 -1
- package/dist/actions/download-item-version.d.cts +15 -3
- package/dist/actions/download-item-version.d.mts +15 -3
- package/dist/actions/download-item-version.mjs +2 -2
- package/dist/actions/download-item-version.mjs.map +1 -1
- package/dist/actions/follow-item.cjs +1 -1
- package/dist/actions/follow-item.cjs.map +1 -1
- package/dist/actions/follow-item.d.cts +14 -2
- package/dist/actions/follow-item.d.mts +14 -2
- package/dist/actions/follow-item.mjs +1 -1
- package/dist/actions/follow-item.mjs.map +1 -1
- package/dist/actions/get-document-comments.cjs +2 -2
- package/dist/actions/get-document-comments.cjs.map +1 -1
- package/dist/actions/get-document-comments.d.cts +15 -3
- package/dist/actions/get-document-comments.d.mts +15 -3
- package/dist/actions/get-document-comments.mjs +2 -2
- package/dist/actions/get-document-comments.mjs.map +1 -1
- package/dist/actions/get-drive-item-by-sharing-url.cjs +2 -2
- package/dist/actions/get-drive-item-by-sharing-url.cjs.map +1 -1
- package/dist/actions/get-drive-item-by-sharing-url.d.cts +15 -3
- package/dist/actions/get-drive-item-by-sharing-url.d.mts +15 -3
- package/dist/actions/get-drive-item-by-sharing-url.mjs +2 -2
- package/dist/actions/get-drive-item-by-sharing-url.mjs.map +1 -1
- package/dist/actions/get-drive.cjs +5 -5
- package/dist/actions/get-drive.cjs.map +1 -1
- package/dist/actions/get-drive.d.cts +31 -19
- package/dist/actions/get-drive.d.mts +31 -19
- package/dist/actions/get-drive.mjs +5 -5
- package/dist/actions/get-drive.mjs.map +1 -1
- package/dist/actions/get-followed-item.cjs +4 -4
- package/dist/actions/get-followed-item.cjs.map +1 -1
- package/dist/actions/get-followed-item.d.cts +18 -6
- package/dist/actions/get-followed-item.d.mts +18 -6
- package/dist/actions/get-followed-item.mjs +4 -4
- package/dist/actions/get-followed-item.mjs.map +1 -1
- package/dist/actions/get-group-drive.cjs +5 -5
- package/dist/actions/get-group-drive.cjs.map +1 -1
- package/dist/actions/get-group-drive.d.cts +31 -19
- package/dist/actions/get-group-drive.d.mts +31 -19
- package/dist/actions/get-group-drive.mjs +5 -5
- package/dist/actions/get-group-drive.mjs.map +1 -1
- package/dist/actions/get-item-permissions.cjs +8 -8
- package/dist/actions/get-item-permissions.cjs.map +1 -1
- package/dist/actions/get-item-permissions.d.cts +37 -25
- package/dist/actions/get-item-permissions.d.mts +37 -25
- package/dist/actions/get-item-permissions.mjs +8 -8
- package/dist/actions/get-item-permissions.mjs.map +1 -1
- package/dist/actions/get-item-thumbnails.cjs +3 -3
- package/dist/actions/get-item-thumbnails.cjs.map +1 -1
- package/dist/actions/get-item-thumbnails.d.cts +18 -6
- package/dist/actions/get-item-thumbnails.d.mts +18 -6
- package/dist/actions/get-item-thumbnails.mjs +3 -3
- package/dist/actions/get-item-thumbnails.mjs.map +1 -1
- package/dist/actions/get-item-versions.cjs +6 -6
- package/dist/actions/get-item-versions.cjs.map +1 -1
- package/dist/actions/get-item-versions.d.cts +25 -13
- package/dist/actions/get-item-versions.d.mts +25 -13
- package/dist/actions/get-item-versions.mjs +6 -6
- package/dist/actions/get-item-versions.mjs.map +1 -1
- package/dist/actions/get-item.cjs +7 -7
- package/dist/actions/get-item.cjs.map +1 -1
- package/dist/actions/get-item.d.cts +37 -25
- package/dist/actions/get-item.d.mts +37 -25
- package/dist/actions/get-item.mjs +7 -7
- package/dist/actions/get-item.mjs.map +1 -1
- package/dist/actions/get-root.cjs +7 -7
- package/dist/actions/get-root.cjs.map +1 -1
- package/dist/actions/get-root.d.cts +26 -14
- package/dist/actions/get-root.d.mts +26 -14
- package/dist/actions/get-root.mjs +7 -7
- package/dist/actions/get-root.mjs.map +1 -1
- package/dist/actions/get-share.cjs +2 -2
- package/dist/actions/get-share.cjs.map +1 -1
- package/dist/actions/get-share.d.cts +15 -3
- package/dist/actions/get-share.d.mts +15 -3
- package/dist/actions/get-share.mjs +2 -2
- package/dist/actions/get-share.mjs.map +1 -1
- package/dist/actions/get-sharepoint-list-items.cjs +2 -2
- package/dist/actions/get-sharepoint-list-items.cjs.map +1 -1
- package/dist/actions/get-sharepoint-list-items.d.cts +15 -3
- package/dist/actions/get-sharepoint-list-items.d.mts +15 -3
- package/dist/actions/get-sharepoint-list-items.mjs +2 -2
- package/dist/actions/get-sharepoint-list-items.mjs.map +1 -1
- package/dist/actions/get-site-page-content.cjs +12 -12
- package/dist/actions/get-site-page-content.cjs.map +1 -1
- package/dist/actions/get-site-page-content.d.cts +25 -13
- package/dist/actions/get-site-page-content.d.mts +25 -13
- package/dist/actions/get-site-page-content.mjs +12 -12
- package/dist/actions/get-site-page-content.mjs.map +1 -1
- package/dist/actions/get-site.cjs +1 -1
- package/dist/actions/get-site.cjs.map +1 -1
- package/dist/actions/get-site.d.cts +14 -2
- package/dist/actions/get-site.d.mts +14 -2
- package/dist/actions/get-site.mjs +1 -1
- package/dist/actions/get-site.mjs.map +1 -1
- package/dist/actions/get-special-folder.cjs +7 -7
- package/dist/actions/get-special-folder.cjs.map +1 -1
- package/dist/actions/get-special-folder.d.cts +24 -12
- package/dist/actions/get-special-folder.d.mts +24 -12
- package/dist/actions/get-special-folder.mjs +7 -7
- package/dist/actions/get-special-folder.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -1
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +14 -2
- package/dist/actions/get-user.d.mts +14 -2
- package/dist/actions/get-user.mjs +1 -1
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-workbook-used-range.cjs +1 -1
- package/dist/actions/get-workbook-used-range.cjs.map +1 -1
- package/dist/actions/get-workbook-used-range.d.cts +14 -2
- package/dist/actions/get-workbook-used-range.d.mts +14 -2
- package/dist/actions/get-workbook-used-range.mjs +1 -1
- package/dist/actions/get-workbook-used-range.mjs.map +1 -1
- package/dist/actions/get-workbook-worksheet.cjs +1 -1
- package/dist/actions/get-workbook-worksheet.cjs.map +1 -1
- package/dist/actions/get-workbook-worksheet.d.cts +14 -2
- package/dist/actions/get-workbook-worksheet.d.mts +14 -2
- package/dist/actions/get-workbook-worksheet.mjs +1 -1
- package/dist/actions/get-workbook-worksheet.mjs.map +1 -1
- package/dist/actions/grant-share-permission.cjs +5 -5
- package/dist/actions/grant-share-permission.cjs.map +1 -1
- package/dist/actions/grant-share-permission.d.cts +19 -6
- package/dist/actions/grant-share-permission.d.mts +19 -6
- package/dist/actions/grant-share-permission.mjs +5 -5
- package/dist/actions/grant-share-permission.mjs.map +1 -1
- package/dist/actions/grant-sharepoint-item-permission.d.cts +13 -1
- package/dist/actions/grant-sharepoint-item-permission.d.mts +13 -1
- package/dist/actions/invite-user-to-item.cjs +7 -7
- package/dist/actions/invite-user-to-item.cjs.map +1 -1
- package/dist/actions/invite-user-to-item.d.cts +21 -8
- package/dist/actions/invite-user-to-item.d.mts +21 -8
- package/dist/actions/invite-user-to-item.mjs +7 -7
- package/dist/actions/invite-user-to-item.mjs.map +1 -1
- package/dist/actions/list-activities.cjs +20 -20
- package/dist/actions/list-activities.cjs.map +1 -1
- package/dist/actions/list-activities.d.cts +77 -65
- package/dist/actions/list-activities.d.mts +77 -65
- package/dist/actions/list-activities.mjs +20 -20
- package/dist/actions/list-activities.mjs.map +1 -1
- package/dist/actions/list-all-drive-items.cjs +29 -29
- package/dist/actions/list-all-drive-items.cjs.map +1 -1
- package/dist/actions/list-all-drive-items.d.cts +55 -43
- package/dist/actions/list-all-drive-items.d.mts +55 -43
- package/dist/actions/list-all-drive-items.mjs +29 -29
- package/dist/actions/list-all-drive-items.mjs.map +1 -1
- package/dist/actions/list-bundles.cjs +6 -6
- package/dist/actions/list-bundles.cjs.map +1 -1
- package/dist/actions/list-bundles.d.cts +25 -13
- package/dist/actions/list-bundles.d.mts +25 -13
- package/dist/actions/list-bundles.mjs +6 -6
- package/dist/actions/list-bundles.mjs.map +1 -1
- package/dist/actions/list-drives.cjs +5 -5
- package/dist/actions/list-drives.cjs.map +1 -1
- package/dist/actions/list-drives.d.cts +22 -10
- package/dist/actions/list-drives.d.mts +22 -10
- package/dist/actions/list-drives.mjs +5 -5
- package/dist/actions/list-drives.mjs.map +1 -1
- package/dist/actions/list-folder-children.cjs +29 -29
- package/dist/actions/list-folder-children.cjs.map +1 -1
- package/dist/actions/list-folder-children.d.cts +55 -43
- package/dist/actions/list-folder-children.d.mts +55 -43
- package/dist/actions/list-folder-children.mjs +29 -29
- package/dist/actions/list-folder-children.mjs.map +1 -1
- package/dist/actions/list-item-activities.cjs +4 -4
- package/dist/actions/list-item-activities.cjs.map +1 -1
- package/dist/actions/list-item-activities.d.cts +17 -5
- package/dist/actions/list-item-activities.d.mts +17 -5
- package/dist/actions/list-item-activities.mjs +4 -4
- package/dist/actions/list-item-activities.mjs.map +1 -1
- package/dist/actions/list-onedrive-shared-items.d.cts +13 -1
- package/dist/actions/list-onedrive-shared-items.d.mts +13 -1
- package/dist/actions/list-root-drive-changes.cjs +7 -7
- package/dist/actions/list-root-drive-changes.cjs.map +1 -1
- package/dist/actions/list-root-drive-changes.d.cts +20 -8
- package/dist/actions/list-root-drive-changes.d.mts +20 -8
- package/dist/actions/list-root-drive-changes.mjs +7 -7
- package/dist/actions/list-root-drive-changes.mjs.map +1 -1
- package/dist/actions/list-share-permissions.cjs +2 -2
- package/dist/actions/list-share-permissions.cjs.map +1 -1
- package/dist/actions/list-share-permissions.d.cts +15 -3
- package/dist/actions/list-share-permissions.d.mts +15 -3
- package/dist/actions/list-share-permissions.mjs +2 -2
- package/dist/actions/list-share-permissions.mjs.map +1 -1
- package/dist/actions/list-sharepoint-item-permissions.d.cts +13 -1
- package/dist/actions/list-sharepoint-item-permissions.d.mts +13 -1
- package/dist/actions/list-sharepoint-list-items-delta.cjs +3 -3
- package/dist/actions/list-sharepoint-list-items-delta.cjs.map +1 -1
- package/dist/actions/list-sharepoint-list-items-delta.d.cts +16 -4
- package/dist/actions/list-sharepoint-list-items-delta.d.mts +16 -4
- package/dist/actions/list-sharepoint-list-items-delta.mjs +3 -3
- package/dist/actions/list-sharepoint-list-items-delta.mjs.map +1 -1
- package/dist/actions/list-site-columns.cjs +2 -2
- package/dist/actions/list-site-columns.cjs.map +1 -1
- package/dist/actions/list-site-columns.d.cts +15 -3
- package/dist/actions/list-site-columns.d.mts +15 -3
- package/dist/actions/list-site-columns.mjs +2 -2
- package/dist/actions/list-site-columns.mjs.map +1 -1
- package/dist/actions/list-site-items-delta.cjs +2 -2
- package/dist/actions/list-site-items-delta.cjs.map +1 -1
- package/dist/actions/list-site-items-delta.d.cts +15 -3
- package/dist/actions/list-site-items-delta.d.mts +15 -3
- package/dist/actions/list-site-items-delta.mjs +2 -2
- package/dist/actions/list-site-items-delta.mjs.map +1 -1
- package/dist/actions/list-site-lists.cjs +9 -9
- package/dist/actions/list-site-lists.cjs.map +1 -1
- package/dist/actions/list-site-lists.d.cts +28 -16
- package/dist/actions/list-site-lists.d.mts +28 -16
- package/dist/actions/list-site-lists.mjs +9 -9
- package/dist/actions/list-site-lists.mjs.map +1 -1
- package/dist/actions/list-site-subsites.cjs +2 -2
- package/dist/actions/list-site-subsites.cjs.map +1 -1
- package/dist/actions/list-site-subsites.d.cts +15 -3
- package/dist/actions/list-site-subsites.d.mts +15 -3
- package/dist/actions/list-site-subsites.mjs +2 -2
- package/dist/actions/list-site-subsites.mjs.map +1 -1
- package/dist/actions/list-subscriptions.cjs +2 -2
- package/dist/actions/list-subscriptions.cjs.map +1 -1
- package/dist/actions/list-subscriptions.d.cts +15 -3
- package/dist/actions/list-subscriptions.d.cts.map +1 -1
- package/dist/actions/list-subscriptions.d.mts +15 -3
- package/dist/actions/list-subscriptions.d.mts.map +1 -1
- package/dist/actions/list-subscriptions.mjs +2 -2
- package/dist/actions/list-subscriptions.mjs.map +1 -1
- package/dist/actions/list-workbook-worksheets.cjs +2 -2
- package/dist/actions/list-workbook-worksheets.cjs.map +1 -1
- package/dist/actions/list-workbook-worksheets.d.cts +15 -3
- package/dist/actions/list-workbook-worksheets.d.mts +15 -3
- package/dist/actions/list-workbook-worksheets.mjs +2 -2
- package/dist/actions/list-workbook-worksheets.mjs.map +1 -1
- package/dist/actions/move-item.cjs +2 -2
- package/dist/actions/move-item.cjs.map +1 -1
- package/dist/actions/move-item.d.cts +15 -3
- package/dist/actions/move-item.d.mts +15 -3
- package/dist/actions/move-item.mjs +2 -2
- package/dist/actions/move-item.mjs.map +1 -1
- package/dist/actions/onedrive-create-folder.cjs +1 -1
- package/dist/actions/onedrive-create-folder.cjs.map +1 -1
- package/dist/actions/onedrive-create-folder.d.cts +14 -2
- package/dist/actions/onedrive-create-folder.d.mts +14 -2
- package/dist/actions/onedrive-create-folder.mjs +1 -1
- package/dist/actions/onedrive-create-folder.mjs.map +1 -1
- package/dist/actions/onedrive-create-text-file.cjs +2 -2
- package/dist/actions/onedrive-create-text-file.cjs.map +1 -1
- package/dist/actions/onedrive-create-text-file.d.cts +15 -3
- package/dist/actions/onedrive-create-text-file.d.mts +15 -3
- package/dist/actions/onedrive-create-text-file.mjs +2 -2
- package/dist/actions/onedrive-create-text-file.mjs.map +1 -1
- package/dist/actions/onedrive-find-file.cjs +11 -11
- package/dist/actions/onedrive-find-file.cjs.map +1 -1
- package/dist/actions/onedrive-find-file.d.cts +31 -19
- package/dist/actions/onedrive-find-file.d.mts +31 -19
- package/dist/actions/onedrive-find-file.mjs +11 -11
- package/dist/actions/onedrive-find-file.mjs.map +1 -1
- package/dist/actions/onedrive-find-folder.cjs +7 -7
- package/dist/actions/onedrive-find-folder.cjs.map +1 -1
- package/dist/actions/onedrive-find-folder.d.cts +26 -14
- package/dist/actions/onedrive-find-folder.d.mts +26 -14
- package/dist/actions/onedrive-find-folder.mjs +7 -7
- package/dist/actions/onedrive-find-folder.mjs.map +1 -1
- package/dist/actions/onedrive-list-items.cjs +28 -28
- package/dist/actions/onedrive-list-items.cjs.map +1 -1
- package/dist/actions/onedrive-list-items.d.cts +49 -37
- package/dist/actions/onedrive-list-items.d.mts +49 -37
- package/dist/actions/onedrive-list-items.mjs +28 -28
- package/dist/actions/onedrive-list-items.mjs.map +1 -1
- package/dist/actions/onedrive-upload-file.cjs +3 -3
- package/dist/actions/onedrive-upload-file.cjs.map +1 -1
- package/dist/actions/onedrive-upload-file.d.cts +17 -5
- package/dist/actions/onedrive-upload-file.d.cts.map +1 -1
- package/dist/actions/onedrive-upload-file.d.mts +17 -5
- package/dist/actions/onedrive-upload-file.d.mts.map +1 -1
- package/dist/actions/onedrive-upload-file.mjs +3 -3
- package/dist/actions/onedrive-upload-file.mjs.map +1 -1
- package/dist/actions/preview-drive-item.cjs +1 -1
- package/dist/actions/preview-drive-item.cjs.map +1 -1
- package/dist/actions/preview-drive-item.d.cts +14 -2
- package/dist/actions/preview-drive-item.d.mts +14 -2
- package/dist/actions/preview-drive-item.mjs +1 -1
- package/dist/actions/preview-drive-item.mjs.map +1 -1
- package/dist/actions/read-workbook-range.cjs +1 -1
- package/dist/actions/read-workbook-range.cjs.map +1 -1
- package/dist/actions/read-workbook-range.d.cts +14 -2
- package/dist/actions/read-workbook-range.d.mts +14 -2
- package/dist/actions/read-workbook-range.mjs +1 -1
- package/dist/actions/read-workbook-range.mjs.map +1 -1
- package/dist/actions/restore-drive-item.cjs +1 -1
- package/dist/actions/restore-drive-item.cjs.map +1 -1
- package/dist/actions/restore-drive-item.d.cts +14 -2
- package/dist/actions/restore-drive-item.d.mts +14 -2
- package/dist/actions/restore-drive-item.mjs +1 -1
- package/dist/actions/restore-drive-item.mjs.map +1 -1
- package/dist/actions/restore-item-version.cjs +1 -1
- package/dist/actions/restore-item-version.cjs.map +1 -1
- package/dist/actions/restore-item-version.d.cts +14 -2
- package/dist/actions/restore-item-version.d.mts +14 -2
- package/dist/actions/restore-item-version.mjs +1 -1
- package/dist/actions/restore-item-version.mjs.map +1 -1
- package/dist/actions/search-drive-items.d.cts +13 -1
- package/dist/actions/search-drive-items.d.mts +13 -1
- package/dist/actions/search-items.cjs +10 -10
- package/dist/actions/search-items.cjs.map +1 -1
- package/dist/actions/search-items.d.cts +27 -15
- package/dist/actions/search-items.d.mts +27 -15
- package/dist/actions/search-items.mjs +10 -10
- package/dist/actions/search-items.mjs.map +1 -1
- package/dist/actions/unfollow-item.cjs +1 -1
- package/dist/actions/unfollow-item.cjs.map +1 -1
- package/dist/actions/unfollow-item.d.cts +14 -2
- package/dist/actions/unfollow-item.d.mts +14 -2
- package/dist/actions/unfollow-item.mjs +1 -1
- package/dist/actions/unfollow-item.mjs.map +1 -1
- package/dist/actions/update-drive-item-metadata.cjs +5 -5
- package/dist/actions/update-drive-item-metadata.cjs.map +1 -1
- package/dist/actions/update-drive-item-metadata.d.cts +18 -6
- package/dist/actions/update-drive-item-metadata.d.mts +18 -6
- package/dist/actions/update-drive-item-metadata.mjs +5 -5
- package/dist/actions/update-drive-item-metadata.mjs.map +1 -1
- package/dist/actions/update-drive-items-permissions.cjs +4 -4
- package/dist/actions/update-drive-items-permissions.cjs.map +1 -1
- package/dist/actions/update-drive-items-permissions.d.cts +27 -15
- package/dist/actions/update-drive-items-permissions.d.mts +27 -15
- package/dist/actions/update-drive-items-permissions.mjs +4 -4
- package/dist/actions/update-drive-items-permissions.mjs.map +1 -1
- package/dist/actions/update-file-content.cjs +2 -2
- package/dist/actions/update-file-content.cjs.map +1 -1
- package/dist/actions/update-file-content.d.cts +15 -3
- package/dist/actions/update-file-content.d.mts +15 -3
- package/dist/actions/update-file-content.mjs +2 -2
- package/dist/actions/update-file-content.mjs.map +1 -1
- package/dist/actions/update-sharepoint-item-permission.d.cts +13 -1
- package/dist/actions/update-sharepoint-item-permission.d.mts +13 -1
- package/dist/actions/update-sharepoint-list-item-fields.cjs +1 -1
- package/dist/actions/update-sharepoint-list-item-fields.cjs.map +1 -1
- package/dist/actions/update-sharepoint-list-item-fields.d.cts +14 -2
- package/dist/actions/update-sharepoint-list-item-fields.d.cts.map +1 -1
- package/dist/actions/update-sharepoint-list-item-fields.d.mts +14 -2
- package/dist/actions/update-sharepoint-list-item-fields.d.mts.map +1 -1
- package/dist/actions/update-sharepoint-list-item-fields.mjs +1 -1
- package/dist/actions/update-sharepoint-list-item-fields.mjs.map +1 -1
- package/dist/actions/update-workbook-range.cjs +1 -1
- package/dist/actions/update-workbook-range.cjs.map +1 -1
- package/dist/actions/update-workbook-range.d.cts +14 -2
- package/dist/actions/update-workbook-range.d.mts +14 -2
- package/dist/actions/update-workbook-range.mjs +1 -1
- package/dist/actions/update-workbook-range.mjs.map +1 -1
- package/dist/actions/update-workbook-worksheet.cjs +1 -1
- package/dist/actions/update-workbook-worksheet.cjs.map +1 -1
- package/dist/actions/update-workbook-worksheet.d.cts +14 -2
- package/dist/actions/update-workbook-worksheet.d.mts +14 -2
- package/dist/actions/update-workbook-worksheet.mjs +1 -1
- package/dist/actions/update-workbook-worksheet.mjs.map +1 -1
- package/dist/actions/write-workbook-cell.cjs +1 -1
- package/dist/actions/write-workbook-cell.cjs.map +1 -1
- package/dist/actions/write-workbook-cell.d.cts +14 -2
- package/dist/actions/write-workbook-cell.d.mts +14 -2
- package/dist/actions/write-workbook-cell.mjs +1 -1
- package/dist/actions/write-workbook-cell.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-item-permission.cjs","names":["z","action"],"sources":["../../src/actions/create-item-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCreateItemPermissionInput = z.object({\n roles: z.array(z.string()).describe(\"Array of Microsoft Graph role strings to assign to the permission. Documented/common values include read, write, and owner for SharePoint/OneDrive for Business permission resources; tenant/resource-specific roles may also be accepted by Graph.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive.\"),\n drive_item_id: z.string().describe(\"The unique identifier of the drive item.\"),\n granted_to_v2: z.object({\n siteGroup: z.object({\n id: z.string().describe(\"The unique identifier of the SharePoint site group.\"),\n displayName: z.string().describe(\"The display name of the SharePoint site group.\"),\n}).describe(\"Represents a SharePoint site group identity.\").optional(),\n application: z.object({\n id: z.string().describe(\"The unique identifier of the application.\"),\n displayName: z.string().describe(\"The display name of the application.\").optional(),\n}).describe(\"Represents an application identity.\").optional(),\n}).describe(\"The identity to grant permission to. Must contain either application or siteGroup property.\"),\n});\nconst OneDriveCreateItemPermission_GrantedToIdentifierSchema = z.object({\n id: z.string().describe(\"The unique identifier of the identity.\").nullable().optional(),\n loginName: z.string().describe(\"The login name of the site user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n});\nconst OneDriveCreateItemPermission_GrantedToSchema = z.object({\n user: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n group: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n device: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n siteUser: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n siteGroup: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n application: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n});\nexport const OneDriveCreateItemPermissionOutput = z.object({\n id: z.string().describe(\"The unique identifier of the permission.\").nullable(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission.\"),\n grantedTo: OneDriveCreateItemPermission_GrantedToSchema.nullable().optional(),\n grantedToV2: OneDriveCreateItemPermission_GrantedToSchema.nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates whether the sharing link has a password.\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration date and time for the permission.\").nullable().optional(),\n});\n\nexport const oneDriveCreateItemPermission = action(\"ONE_DRIVE_CREATE_ITEM_PERMISSION\", {\n slug: \"one_drive-create-item-permission\",\n name: \"Create Drive Item Permission\",\n description: \"Tool to create a new permission on a OneDrive drive item. Use when you need to grant application or SharePoint group permissions to a file or folder. This endpoint supports creating application permissions and SharePoint site group permissions only.\",\n input: OneDriveCreateItemPermissionInput,\n output: OneDriveCreateItemPermissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qPAAqP;CACzR,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC7E,eAAeA,IAAAA,EAAE,OAAO;EACxB,WAAWA,IAAAA,EAAE,OAAO;GACpB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;GAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EACnF,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACnE,aAAaA,IAAAA,EAAE,OAAO;GACtB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;GACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACpF,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5D,CAAC,CAAC,CAAC,SAAS,6FAA6F;AACzG,CAAC;AACD,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC;
|
|
1
|
+
{"version":3,"file":"create-item-permission.cjs","names":["z","action"],"sources":["../../src/actions/create-item-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCreateItemPermissionInput = z.object({\n roles: z.array(z.string()).describe(\"Array of Microsoft Graph role strings to assign to the permission. Documented/common values include read, write, and owner for SharePoint/OneDrive for Business permission resources; tenant/resource-specific roles may also be accepted by Graph.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive.\"),\n drive_item_id: z.string().describe(\"The unique identifier of the drive item.\"),\n granted_to_v2: z.object({\n siteGroup: z.object({\n id: z.string().describe(\"The unique identifier of the SharePoint site group.\"),\n displayName: z.string().describe(\"The display name of the SharePoint site group.\"),\n}).describe(\"Represents a SharePoint site group identity.\").optional(),\n application: z.object({\n id: z.string().describe(\"The unique identifier of the application.\"),\n displayName: z.string().describe(\"The display name of the application.\").optional(),\n}).describe(\"Represents an application identity.\").optional(),\n}).describe(\"The identity to grant permission to. Must contain either application or siteGroup property.\"),\n});\nconst OneDriveCreateItemPermission_GrantedToIdentifierSchema = z.object({\n id: z.string().describe(\"The unique identifier of the identity.\").nullable().optional(),\n loginName: z.string().describe(\"The login name of the site user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).passthrough();\nconst OneDriveCreateItemPermission_GrantedToSchema = z.object({\n user: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n group: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n device: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n siteUser: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n siteGroup: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n application: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n}).passthrough();\nexport const OneDriveCreateItemPermissionOutput = z.object({\n id: z.string().describe(\"The unique identifier of the permission.\").nullable(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission.\"),\n grantedTo: OneDriveCreateItemPermission_GrantedToSchema.nullable().optional(),\n grantedToV2: OneDriveCreateItemPermission_GrantedToSchema.nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates whether the sharing link has a password.\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration date and time for the permission.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveCreateItemPermission = action(\"ONE_DRIVE_CREATE_ITEM_PERMISSION\", {\n slug: \"one_drive-create-item-permission\",\n name: \"Create Drive Item Permission\",\n description: \"Tool to create a new permission on a OneDrive drive item. Use when you need to grant application or SharePoint group permissions to a file or folder. This endpoint supports creating application permissions and SharePoint site group permissions only.\",\n input: OneDriveCreateItemPermissionInput,\n output: OneDriveCreateItemPermissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qPAAqP;CACzR,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC7E,eAAeA,IAAAA,EAAE,OAAO;EACxB,WAAWA,IAAAA,EAAE,OAAO;GACpB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;GAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EACnF,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACnE,aAAaA,IAAAA,EAAE,OAAO;GACtB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;GACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACpF,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5D,CAAC,CAAC,CAAC,SAAS,6FAA6F;AACzG,CAAC;AACD,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAM,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACjF,OAAO,uDAAuD,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACtF,aAAa,uDAAuD,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAC3E,WAAW,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC5E,aAAa,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -24,68 +24,68 @@ declare const OneDriveCreateItemPermissionOutput: z.ZodObject<{
|
|
|
24
24
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>>;
|
|
28
28
|
group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
29
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
33
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
34
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>;
|
|
38
38
|
siteUser: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
39
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
43
|
siteGroup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44
44
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
46
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>>>;
|
|
48
48
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
49
49
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
-
}, z.core.$
|
|
53
|
-
}, z.core.$
|
|
52
|
+
}, z.core.$loose>>>;
|
|
53
|
+
}, z.core.$loose>>>;
|
|
54
54
|
grantedToV2: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
55
55
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
56
56
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
57
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
-
}, z.core.$
|
|
59
|
+
}, z.core.$loose>>>;
|
|
60
60
|
group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
61
61
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
62
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
63
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$loose>>>;
|
|
65
65
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
66
66
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
67
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
68
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
-
}, z.core.$
|
|
69
|
+
}, z.core.$loose>>>;
|
|
70
70
|
siteUser: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
71
71
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
72
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
73
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
-
}, z.core.$
|
|
74
|
+
}, z.core.$loose>>>;
|
|
75
75
|
siteGroup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
76
76
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
77
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
78
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
|
-
}, z.core.$
|
|
79
|
+
}, z.core.$loose>>>;
|
|
80
80
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
81
81
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
82
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
83
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
|
-
}, z.core.$
|
|
85
|
-
}, z.core.$
|
|
84
|
+
}, z.core.$loose>>>;
|
|
85
|
+
}, z.core.$loose>>>;
|
|
86
86
|
hasPassword: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
87
87
|
expirationDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
|
-
}, z.core.$
|
|
88
|
+
}, z.core.$loose>;
|
|
89
89
|
declare const oneDriveCreateItemPermission: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
90
90
|
roles: string[];
|
|
91
91
|
drive_id: string;
|
|
@@ -100,7 +100,19 @@ declare const oneDriveCreateItemPermission: import("@keystrokehq/action").Workfl
|
|
|
100
100
|
displayName?: string | undefined;
|
|
101
101
|
} | undefined;
|
|
102
102
|
};
|
|
103
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
103
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
104
|
+
connectionId: z.ZodString;
|
|
105
|
+
entityId: z.ZodString;
|
|
106
|
+
instanceId: z.ZodString;
|
|
107
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
108
|
+
accessToken: z.ZodString;
|
|
109
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
110
|
+
connectionId: z.ZodString;
|
|
111
|
+
entityId: z.ZodString;
|
|
112
|
+
instanceId: z.ZodString;
|
|
113
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
114
|
+
accessToken: z.ZodString;
|
|
115
|
+
}, z.core.$strip>>]>;
|
|
104
116
|
//#endregion
|
|
105
117
|
export { oneDriveCreateItemPermission };
|
|
106
118
|
//# sourceMappingURL=create-item-permission.d.cts.map
|
|
@@ -24,68 +24,68 @@ declare const OneDriveCreateItemPermissionOutput: z.ZodObject<{
|
|
|
24
24
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>>;
|
|
28
28
|
group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
29
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
33
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
34
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>;
|
|
38
38
|
siteUser: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
39
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
43
|
siteGroup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44
44
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
46
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>>>;
|
|
48
48
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
49
49
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
-
}, z.core.$
|
|
53
|
-
}, z.core.$
|
|
52
|
+
}, z.core.$loose>>>;
|
|
53
|
+
}, z.core.$loose>>>;
|
|
54
54
|
grantedToV2: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
55
55
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
56
56
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
57
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
-
}, z.core.$
|
|
59
|
+
}, z.core.$loose>>>;
|
|
60
60
|
group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
61
61
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
62
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
63
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$loose>>>;
|
|
65
65
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
66
66
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
67
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
68
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
-
}, z.core.$
|
|
69
|
+
}, z.core.$loose>>>;
|
|
70
70
|
siteUser: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
71
71
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
72
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
73
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
-
}, z.core.$
|
|
74
|
+
}, z.core.$loose>>>;
|
|
75
75
|
siteGroup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
76
76
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
77
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
78
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
|
-
}, z.core.$
|
|
79
|
+
}, z.core.$loose>>>;
|
|
80
80
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
81
81
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
82
|
loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
83
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
|
-
}, z.core.$
|
|
85
|
-
}, z.core.$
|
|
84
|
+
}, z.core.$loose>>>;
|
|
85
|
+
}, z.core.$loose>>>;
|
|
86
86
|
hasPassword: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
87
87
|
expirationDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
|
-
}, z.core.$
|
|
88
|
+
}, z.core.$loose>;
|
|
89
89
|
declare const oneDriveCreateItemPermission: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
90
90
|
roles: string[];
|
|
91
91
|
drive_id: string;
|
|
@@ -100,7 +100,19 @@ declare const oneDriveCreateItemPermission: import("@keystrokehq/action").Workfl
|
|
|
100
100
|
displayName?: string | undefined;
|
|
101
101
|
} | undefined;
|
|
102
102
|
};
|
|
103
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
103
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
104
|
+
connectionId: z.ZodString;
|
|
105
|
+
entityId: z.ZodString;
|
|
106
|
+
instanceId: z.ZodString;
|
|
107
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
108
|
+
accessToken: z.ZodString;
|
|
109
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
110
|
+
connectionId: z.ZodString;
|
|
111
|
+
entityId: z.ZodString;
|
|
112
|
+
instanceId: z.ZodString;
|
|
113
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
114
|
+
accessToken: z.ZodString;
|
|
115
|
+
}, z.core.$strip>>]>;
|
|
104
116
|
//#endregion
|
|
105
117
|
export { oneDriveCreateItemPermission };
|
|
106
118
|
//# sourceMappingURL=create-item-permission.d.mts.map
|
|
@@ -20,7 +20,7 @@ const OneDriveCreateItemPermission_GrantedToIdentifierSchema = z.object({
|
|
|
20
20
|
id: z.string().describe("The unique identifier of the identity.").nullable().optional(),
|
|
21
21
|
loginName: z.string().describe("The login name of the site user.").nullable().optional(),
|
|
22
22
|
displayName: z.string().describe("The display name of the identity.").nullable().optional()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const OneDriveCreateItemPermission_GrantedToSchema = z.object({
|
|
25
25
|
user: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),
|
|
26
26
|
group: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),
|
|
@@ -28,7 +28,7 @@ const OneDriveCreateItemPermission_GrantedToSchema = z.object({
|
|
|
28
28
|
siteUser: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),
|
|
29
29
|
siteGroup: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),
|
|
30
30
|
application: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional()
|
|
31
|
-
});
|
|
31
|
+
}).passthrough();
|
|
32
32
|
const oneDriveCreateItemPermission = action("ONE_DRIVE_CREATE_ITEM_PERMISSION", {
|
|
33
33
|
slug: "one_drive-create-item-permission",
|
|
34
34
|
name: "Create Drive Item Permission",
|
|
@@ -41,7 +41,7 @@ const oneDriveCreateItemPermission = action("ONE_DRIVE_CREATE_ITEM_PERMISSION",
|
|
|
41
41
|
grantedToV2: OneDriveCreateItemPermission_GrantedToSchema.nullable().optional(),
|
|
42
42
|
hasPassword: z.boolean().describe("Indicates whether the sharing link has a password.").nullable().optional(),
|
|
43
43
|
expirationDateTime: z.string().describe("The expiration date and time for the permission.").nullable().optional()
|
|
44
|
-
})
|
|
44
|
+
}).passthrough()
|
|
45
45
|
});
|
|
46
46
|
//#endregion
|
|
47
47
|
export { oneDriveCreateItemPermission };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-item-permission.mjs","names":[],"sources":["../../src/actions/create-item-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCreateItemPermissionInput = z.object({\n roles: z.array(z.string()).describe(\"Array of Microsoft Graph role strings to assign to the permission. Documented/common values include read, write, and owner for SharePoint/OneDrive for Business permission resources; tenant/resource-specific roles may also be accepted by Graph.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive.\"),\n drive_item_id: z.string().describe(\"The unique identifier of the drive item.\"),\n granted_to_v2: z.object({\n siteGroup: z.object({\n id: z.string().describe(\"The unique identifier of the SharePoint site group.\"),\n displayName: z.string().describe(\"The display name of the SharePoint site group.\"),\n}).describe(\"Represents a SharePoint site group identity.\").optional(),\n application: z.object({\n id: z.string().describe(\"The unique identifier of the application.\"),\n displayName: z.string().describe(\"The display name of the application.\").optional(),\n}).describe(\"Represents an application identity.\").optional(),\n}).describe(\"The identity to grant permission to. Must contain either application or siteGroup property.\"),\n});\nconst OneDriveCreateItemPermission_GrantedToIdentifierSchema = z.object({\n id: z.string().describe(\"The unique identifier of the identity.\").nullable().optional(),\n loginName: z.string().describe(\"The login name of the site user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n});\nconst OneDriveCreateItemPermission_GrantedToSchema = z.object({\n user: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n group: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n device: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n siteUser: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n siteGroup: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n application: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n});\nexport const OneDriveCreateItemPermissionOutput = z.object({\n id: z.string().describe(\"The unique identifier of the permission.\").nullable(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission.\"),\n grantedTo: OneDriveCreateItemPermission_GrantedToSchema.nullable().optional(),\n grantedToV2: OneDriveCreateItemPermission_GrantedToSchema.nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates whether the sharing link has a password.\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration date and time for the permission.\").nullable().optional(),\n});\n\nexport const oneDriveCreateItemPermission = action(\"ONE_DRIVE_CREATE_ITEM_PERMISSION\", {\n slug: \"one_drive-create-item-permission\",\n name: \"Create Drive Item Permission\",\n description: \"Tool to create a new permission on a OneDrive drive item. Use when you need to grant application or SharePoint group permissions to a file or folder. This endpoint supports creating application permissions and SharePoint site group permissions only.\",\n input: OneDriveCreateItemPermissionInput,\n output: OneDriveCreateItemPermissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qPAAqP;CACzR,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC7E,eAAe,EAAE,OAAO;EACxB,WAAW,EAAE,OAAO;GACpB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;GAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EACnF,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACnE,aAAa,EAAE,OAAO;GACtB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;GACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACpF,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5D,CAAC,CAAC,CAAC,SAAS,6FAA6F;AACzG,CAAC;AACD,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC;
|
|
1
|
+
{"version":3,"file":"create-item-permission.mjs","names":[],"sources":["../../src/actions/create-item-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCreateItemPermissionInput = z.object({\n roles: z.array(z.string()).describe(\"Array of Microsoft Graph role strings to assign to the permission. Documented/common values include read, write, and owner for SharePoint/OneDrive for Business permission resources; tenant/resource-specific roles may also be accepted by Graph.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive.\"),\n drive_item_id: z.string().describe(\"The unique identifier of the drive item.\"),\n granted_to_v2: z.object({\n siteGroup: z.object({\n id: z.string().describe(\"The unique identifier of the SharePoint site group.\"),\n displayName: z.string().describe(\"The display name of the SharePoint site group.\"),\n}).describe(\"Represents a SharePoint site group identity.\").optional(),\n application: z.object({\n id: z.string().describe(\"The unique identifier of the application.\"),\n displayName: z.string().describe(\"The display name of the application.\").optional(),\n}).describe(\"Represents an application identity.\").optional(),\n}).describe(\"The identity to grant permission to. Must contain either application or siteGroup property.\"),\n});\nconst OneDriveCreateItemPermission_GrantedToIdentifierSchema = z.object({\n id: z.string().describe(\"The unique identifier of the identity.\").nullable().optional(),\n loginName: z.string().describe(\"The login name of the site user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).passthrough();\nconst OneDriveCreateItemPermission_GrantedToSchema = z.object({\n user: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n group: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n device: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n siteUser: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n siteGroup: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n application: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n}).passthrough();\nexport const OneDriveCreateItemPermissionOutput = z.object({\n id: z.string().describe(\"The unique identifier of the permission.\").nullable(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission.\"),\n grantedTo: OneDriveCreateItemPermission_GrantedToSchema.nullable().optional(),\n grantedToV2: OneDriveCreateItemPermission_GrantedToSchema.nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates whether the sharing link has a password.\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration date and time for the permission.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveCreateItemPermission = action(\"ONE_DRIVE_CREATE_ITEM_PERMISSION\", {\n slug: \"one_drive-create-item-permission\",\n name: \"Create Drive Item Permission\",\n description: \"Tool to create a new permission on a OneDrive drive item. Use when you need to grant application or SharePoint group permissions to a file or folder. This endpoint supports creating application permissions and SharePoint site group permissions only.\",\n input: OneDriveCreateItemPermissionInput,\n output: OneDriveCreateItemPermissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qPAAqP;CACzR,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC7E,eAAe,EAAE,OAAO;EACxB,WAAW,EAAE,OAAO;GACpB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;GAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EACnF,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACnE,aAAa,EAAE,OAAO;GACtB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;GACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACpF,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5D,CAAC,CAAC,CAAC,SAAS,6FAA6F;AACzG,CAAC;AACD,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACjF,OAAO,uDAAuD,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACtF,aAAa,uDAAuD,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY;AAUf,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;EAC3E,WAAW,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC5E,aAAa,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC9E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ const OneDriveCreateLinkInput = zod.z.object({
|
|
|
18
18
|
drive_id: zod.z.string().describe("The unique identifier of the drive. If not provided, the link will be created in the current user's drive (me/drive).").optional(),
|
|
19
19
|
group_id: zod.z.string().describe("The unique identifier of the group. Use this if the item is in a group's drive.").optional(),
|
|
20
20
|
password: zod.z.string().describe("The password for the sharing link. Optional and OneDrive Personal only.").optional(),
|
|
21
|
-
recipients: zod.z.array(zod.z.
|
|
21
|
+
recipients: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("A list of recipients for the sharing link. Required when scope is 'users'. Each recipient should be a dict with an 'email' key, e.g. [{'email': 'user@example.com'}].").optional(),
|
|
22
22
|
expiration_date_time: zod.z.string().describe("The expiration date and time for the permission, in yyyy-MM-ddTHH:mm:ssZ format. Example: 2023-12-31T23:59:59Z Must be a future UTC timestamp; past values will cause the call to fail.").optional(),
|
|
23
23
|
retain_inherited_permissions: zod.z.boolean().describe("If true (default), existing inherited permissions are retained. If false, all existing permissions are removed when sharing for the first time.").optional()
|
|
24
24
|
});
|
|
@@ -27,16 +27,16 @@ const OneDriveCreateLink_LinkDetailsSchema = zod.z.object({
|
|
|
27
27
|
scope: zod.z.string().describe("The scope of the link.").nullable().optional(),
|
|
28
28
|
webUrl: zod.z.string().describe("The URL of the sharing link.").nullable().optional(),
|
|
29
29
|
webHtml: zod.z.string().describe("The HTML code for an iframe to host the content (for 'embed' links).").nullable().optional(),
|
|
30
|
-
application: zod.z.
|
|
30
|
+
application: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Details of the application that created the link.").nullable().optional(),
|
|
31
31
|
preventsDownload: zod.z.boolean().describe("Indicates whether the link prevents downloading the item.").nullable().optional()
|
|
32
|
-
});
|
|
32
|
+
}).passthrough();
|
|
33
33
|
const OneDriveCreateLinkOutput = zod.z.object({
|
|
34
34
|
id: zod.z.string().describe("The unique identifier of the permission resource.").nullable(),
|
|
35
35
|
link: OneDriveCreateLink_LinkDetailsSchema.nullable().optional(),
|
|
36
36
|
roles: zod.z.array(zod.z.string()).describe("The roles granted by this permission.").nullable().optional(),
|
|
37
37
|
shareId: zod.z.string().describe("A unique identifier for the sharing link that can be used to access the shared item.").nullable().optional(),
|
|
38
38
|
hasPassword: zod.z.boolean().describe("Indicates whether the link has a password.").nullable().optional()
|
|
39
|
-
});
|
|
39
|
+
}).passthrough();
|
|
40
40
|
const oneDriveCreateLink = require_action.action("ONE_DRIVE_CREATE_LINK", {
|
|
41
41
|
slug: "one_drive-create-link",
|
|
42
42
|
name: "Create Sharing Link",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-link.cjs","names":["z","action"],"sources":["../../src/actions/create-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCreateLinkInput = z.object({\n type: z.enum([\"view\", \"edit\", \"embed\"]).describe(\"The type of sharing link to create. Valid values: `view`, `edit`, `embed`.\"),\n scope: z.enum([\"anonymous\", \"organization\", \"users\"]).describe(\"The scope of the link to create. If not specified, the default link type for the organization is created. Valid values: `view`, `edit`, `organization`, `anonymous`. Use `organization` to restrict to internal users; `anonymous` exposes content to anyone with the link. Tenant policies may block or downgrade certain scopes (e.g., `anonymous`), resulting in errors or more restrictive links than requested.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder) for which to create the link. Note: Some item types cannot be shared, including embedded objects, certain system files, and items with restricted permissions. If sharing fails with 'notSupported' error, verify the item type supports sharing.\"),\n site_id: z.string().describe(\"The unique identifier of the site. Use this if the item is in a SharePoint site's drive.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user. Use this if the item is in another user's drive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, the link will be created in the current user's drive (me/drive).\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. Use this if the item is in a group's drive.\").optional(),\n password: z.string().describe(\"The password for the sharing link. Optional and OneDrive Personal only.\").optional(),\n recipients: z.array(z.
|
|
1
|
+
{"version":3,"file":"create-link.cjs","names":["z","action"],"sources":["../../src/actions/create-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCreateLinkInput = z.object({\n type: z.enum([\"view\", \"edit\", \"embed\"]).describe(\"The type of sharing link to create. Valid values: `view`, `edit`, `embed`.\"),\n scope: z.enum([\"anonymous\", \"organization\", \"users\"]).describe(\"The scope of the link to create. If not specified, the default link type for the organization is created. Valid values: `view`, `edit`, `organization`, `anonymous`. Use `organization` to restrict to internal users; `anonymous` exposes content to anyone with the link. Tenant policies may block or downgrade certain scopes (e.g., `anonymous`), resulting in errors or more restrictive links than requested.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder) for which to create the link. Note: Some item types cannot be shared, including embedded objects, certain system files, and items with restricted permissions. If sharing fails with 'notSupported' error, verify the item type supports sharing.\"),\n site_id: z.string().describe(\"The unique identifier of the site. Use this if the item is in a SharePoint site's drive.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user. Use this if the item is in another user's drive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, the link will be created in the current user's drive (me/drive).\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. Use this if the item is in a group's drive.\").optional(),\n password: z.string().describe(\"The password for the sharing link. Optional and OneDrive Personal only.\").optional(),\n recipients: z.array(z.record(z.string(), z.unknown())).describe(\"A list of recipients for the sharing link. Required when scope is 'users'. Each recipient should be a dict with an 'email' key, e.g. [{'email': 'user@example.com'}].\").optional(),\n expiration_date_time: z.string().describe(\"The expiration date and time for the permission, in yyyy-MM-ddTHH:mm:ssZ format. Example: 2023-12-31T23:59:59Z Must be a future UTC timestamp; past values will cause the call to fail.\").optional(),\n retain_inherited_permissions: z.boolean().describe(\"If true (default), existing inherited permissions are retained. If false, all existing permissions are removed when sharing for the first time.\").optional(),\n});\nconst OneDriveCreateLink_LinkDetailsSchema = z.object({\n type: z.string().describe(\"The type of the link.\").nullable().optional(),\n scope: z.string().describe(\"The scope of the link.\").nullable().optional(),\n webUrl: z.string().describe(\"The URL of the sharing link.\").nullable().optional(),\n webHtml: z.string().describe(\"The HTML code for an iframe to host the content (for 'embed' links).\").nullable().optional(),\n application: z.record(z.string(), z.unknown()).describe(\"Details of the application that created the link.\").nullable().optional(),\n preventsDownload: z.boolean().describe(\"Indicates whether the link prevents downloading the item.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveCreateLinkOutput = z.object({\n id: z.string().describe(\"The unique identifier of the permission resource.\").nullable(),\n link: OneDriveCreateLink_LinkDetailsSchema.nullable().optional(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission.\").nullable().optional(),\n shareId: z.string().describe(\"A unique identifier for the sharing link that can be used to access the shared item.\").nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates whether the link has a password.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveCreateLink = action(\"ONE_DRIVE_CREATE_LINK\", {\n slug: \"one_drive-create-link\",\n name: \"Create Sharing Link\",\n description: \"Tool to create a sharing link for a DriveItem (file or folder) by its unique ID. Use when you need to generate a shareable link for an item in OneDrive or SharePoint.\",\n input: OneDriveCreateLinkInput,\n output: OneDriveCreateLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E;CAC7H,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAa;EAAgB;CAAO,CAAC,CAAC,CAAC,SAAS,sZAAsZ,CAAC,CAAC,SAAS;CAChe,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4SAA4S;CACzU,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAChK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC1H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uKAAuK,CAAC,CAAC,SAAS;CAClP,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CAC9O,8BAA8BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACjN,CAAC;AACD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ declare const OneDriveCreateLinkInput: z.ZodObject<{
|
|
|
18
18
|
drive_id: z.ZodOptional<z.ZodString>;
|
|
19
19
|
group_id: z.ZodOptional<z.ZodString>;
|
|
20
20
|
password: z.ZodOptional<z.ZodString>;
|
|
21
|
-
recipients: z.ZodOptional<z.ZodArray<z.
|
|
21
|
+
recipients: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
22
|
expiration_date_time: z.ZodOptional<z.ZodString>;
|
|
23
23
|
retain_inherited_permissions: z.ZodOptional<z.ZodBoolean>;
|
|
24
24
|
}, z.core.$strip>;
|
|
@@ -29,13 +29,13 @@ declare const OneDriveCreateLinkOutput: z.ZodObject<{
|
|
|
29
29
|
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
webHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
application: z.ZodOptional<z.ZodNullable<z.
|
|
32
|
+
application: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
33
33
|
preventsDownload: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
35
|
roles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
36
36
|
shareId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
hasPassword: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>;
|
|
39
39
|
declare const oneDriveCreateLink: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
40
|
type: "view" | "edit" | "embed";
|
|
41
41
|
item_id: string;
|
|
@@ -45,10 +45,22 @@ declare const oneDriveCreateLink: import("@keystrokehq/action").WorkflowActionDe
|
|
|
45
45
|
drive_id?: string | undefined;
|
|
46
46
|
group_id?: string | undefined;
|
|
47
47
|
password?: string | undefined;
|
|
48
|
-
recipients?: Record<string,
|
|
48
|
+
recipients?: Record<string, unknown>[] | undefined;
|
|
49
49
|
expiration_date_time?: string | undefined;
|
|
50
50
|
retain_inherited_permissions?: boolean | undefined;
|
|
51
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
51
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
52
|
+
connectionId: z.ZodString;
|
|
53
|
+
entityId: z.ZodString;
|
|
54
|
+
instanceId: z.ZodString;
|
|
55
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
+
accessToken: z.ZodString;
|
|
57
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
58
|
+
connectionId: z.ZodString;
|
|
59
|
+
entityId: z.ZodString;
|
|
60
|
+
instanceId: z.ZodString;
|
|
61
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
+
accessToken: z.ZodString;
|
|
63
|
+
}, z.core.$strip>>]>;
|
|
52
64
|
//#endregion
|
|
53
65
|
export { oneDriveCreateLink };
|
|
54
66
|
//# sourceMappingURL=create-link.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-link.d.cts","names":[],"sources":["../../src/actions/create-link.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAqBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA
|
|
1
|
+
{"version":3,"file":"create-link.d.cts","names":[],"sources":["../../src/actions/create-link.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAqBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -18,7 +18,7 @@ declare const OneDriveCreateLinkInput: z.ZodObject<{
|
|
|
18
18
|
drive_id: z.ZodOptional<z.ZodString>;
|
|
19
19
|
group_id: z.ZodOptional<z.ZodString>;
|
|
20
20
|
password: z.ZodOptional<z.ZodString>;
|
|
21
|
-
recipients: z.ZodOptional<z.ZodArray<z.
|
|
21
|
+
recipients: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
22
|
expiration_date_time: z.ZodOptional<z.ZodString>;
|
|
23
23
|
retain_inherited_permissions: z.ZodOptional<z.ZodBoolean>;
|
|
24
24
|
}, z.core.$strip>;
|
|
@@ -29,13 +29,13 @@ declare const OneDriveCreateLinkOutput: z.ZodObject<{
|
|
|
29
29
|
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
webHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
application: z.ZodOptional<z.ZodNullable<z.
|
|
32
|
+
application: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
33
33
|
preventsDownload: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
35
|
roles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
36
36
|
shareId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
hasPassword: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>;
|
|
39
39
|
declare const oneDriveCreateLink: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
40
|
type: "view" | "edit" | "embed";
|
|
41
41
|
item_id: string;
|
|
@@ -45,10 +45,22 @@ declare const oneDriveCreateLink: import("@keystrokehq/action").WorkflowActionDe
|
|
|
45
45
|
drive_id?: string | undefined;
|
|
46
46
|
group_id?: string | undefined;
|
|
47
47
|
password?: string | undefined;
|
|
48
|
-
recipients?: Record<string,
|
|
48
|
+
recipients?: Record<string, unknown>[] | undefined;
|
|
49
49
|
expiration_date_time?: string | undefined;
|
|
50
50
|
retain_inherited_permissions?: boolean | undefined;
|
|
51
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
51
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
52
|
+
connectionId: z.ZodString;
|
|
53
|
+
entityId: z.ZodString;
|
|
54
|
+
instanceId: z.ZodString;
|
|
55
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
+
accessToken: z.ZodString;
|
|
57
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
58
|
+
connectionId: z.ZodString;
|
|
59
|
+
entityId: z.ZodString;
|
|
60
|
+
instanceId: z.ZodString;
|
|
61
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
+
accessToken: z.ZodString;
|
|
63
|
+
}, z.core.$strip>>]>;
|
|
52
64
|
//#endregion
|
|
53
65
|
export { oneDriveCreateLink };
|
|
54
66
|
//# sourceMappingURL=create-link.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-link.d.mts","names":[],"sources":["../../src/actions/create-link.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAqBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA
|
|
1
|
+
{"version":3,"file":"create-link.d.mts","names":[],"sources":["../../src/actions/create-link.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAqBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -18,7 +18,7 @@ const OneDriveCreateLinkInput = z.object({
|
|
|
18
18
|
drive_id: z.string().describe("The unique identifier of the drive. If not provided, the link will be created in the current user's drive (me/drive).").optional(),
|
|
19
19
|
group_id: z.string().describe("The unique identifier of the group. Use this if the item is in a group's drive.").optional(),
|
|
20
20
|
password: z.string().describe("The password for the sharing link. Optional and OneDrive Personal only.").optional(),
|
|
21
|
-
recipients: z.array(z.
|
|
21
|
+
recipients: z.array(z.record(z.string(), z.unknown())).describe("A list of recipients for the sharing link. Required when scope is 'users'. Each recipient should be a dict with an 'email' key, e.g. [{'email': 'user@example.com'}].").optional(),
|
|
22
22
|
expiration_date_time: z.string().describe("The expiration date and time for the permission, in yyyy-MM-ddTHH:mm:ssZ format. Example: 2023-12-31T23:59:59Z Must be a future UTC timestamp; past values will cause the call to fail.").optional(),
|
|
23
23
|
retain_inherited_permissions: z.boolean().describe("If true (default), existing inherited permissions are retained. If false, all existing permissions are removed when sharing for the first time.").optional()
|
|
24
24
|
});
|
|
@@ -27,9 +27,9 @@ const OneDriveCreateLink_LinkDetailsSchema = z.object({
|
|
|
27
27
|
scope: z.string().describe("The scope of the link.").nullable().optional(),
|
|
28
28
|
webUrl: z.string().describe("The URL of the sharing link.").nullable().optional(),
|
|
29
29
|
webHtml: z.string().describe("The HTML code for an iframe to host the content (for 'embed' links).").nullable().optional(),
|
|
30
|
-
application: z.
|
|
30
|
+
application: z.record(z.string(), z.unknown()).describe("Details of the application that created the link.").nullable().optional(),
|
|
31
31
|
preventsDownload: z.boolean().describe("Indicates whether the link prevents downloading the item.").nullable().optional()
|
|
32
|
-
});
|
|
32
|
+
}).passthrough();
|
|
33
33
|
const oneDriveCreateLink = action("ONE_DRIVE_CREATE_LINK", {
|
|
34
34
|
slug: "one_drive-create-link",
|
|
35
35
|
name: "Create Sharing Link",
|
|
@@ -41,7 +41,7 @@ const oneDriveCreateLink = action("ONE_DRIVE_CREATE_LINK", {
|
|
|
41
41
|
roles: z.array(z.string()).describe("The roles granted by this permission.").nullable().optional(),
|
|
42
42
|
shareId: z.string().describe("A unique identifier for the sharing link that can be used to access the shared item.").nullable().optional(),
|
|
43
43
|
hasPassword: z.boolean().describe("Indicates whether the link has a password.").nullable().optional()
|
|
44
|
-
})
|
|
44
|
+
}).passthrough()
|
|
45
45
|
});
|
|
46
46
|
//#endregion
|
|
47
47
|
export { oneDriveCreateLink };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-link.mjs","names":[],"sources":["../../src/actions/create-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCreateLinkInput = z.object({\n type: z.enum([\"view\", \"edit\", \"embed\"]).describe(\"The type of sharing link to create. Valid values: `view`, `edit`, `embed`.\"),\n scope: z.enum([\"anonymous\", \"organization\", \"users\"]).describe(\"The scope of the link to create. If not specified, the default link type for the organization is created. Valid values: `view`, `edit`, `organization`, `anonymous`. Use `organization` to restrict to internal users; `anonymous` exposes content to anyone with the link. Tenant policies may block or downgrade certain scopes (e.g., `anonymous`), resulting in errors or more restrictive links than requested.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder) for which to create the link. Note: Some item types cannot be shared, including embedded objects, certain system files, and items with restricted permissions. If sharing fails with 'notSupported' error, verify the item type supports sharing.\"),\n site_id: z.string().describe(\"The unique identifier of the site. Use this if the item is in a SharePoint site's drive.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user. Use this if the item is in another user's drive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, the link will be created in the current user's drive (me/drive).\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. Use this if the item is in a group's drive.\").optional(),\n password: z.string().describe(\"The password for the sharing link. Optional and OneDrive Personal only.\").optional(),\n recipients: z.array(z.
|
|
1
|
+
{"version":3,"file":"create-link.mjs","names":[],"sources":["../../src/actions/create-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCreateLinkInput = z.object({\n type: z.enum([\"view\", \"edit\", \"embed\"]).describe(\"The type of sharing link to create. Valid values: `view`, `edit`, `embed`.\"),\n scope: z.enum([\"anonymous\", \"organization\", \"users\"]).describe(\"The scope of the link to create. If not specified, the default link type for the organization is created. Valid values: `view`, `edit`, `organization`, `anonymous`. Use `organization` to restrict to internal users; `anonymous` exposes content to anyone with the link. Tenant policies may block or downgrade certain scopes (e.g., `anonymous`), resulting in errors or more restrictive links than requested.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder) for which to create the link. Note: Some item types cannot be shared, including embedded objects, certain system files, and items with restricted permissions. If sharing fails with 'notSupported' error, verify the item type supports sharing.\"),\n site_id: z.string().describe(\"The unique identifier of the site. Use this if the item is in a SharePoint site's drive.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user. Use this if the item is in another user's drive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, the link will be created in the current user's drive (me/drive).\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. Use this if the item is in a group's drive.\").optional(),\n password: z.string().describe(\"The password for the sharing link. Optional and OneDrive Personal only.\").optional(),\n recipients: z.array(z.record(z.string(), z.unknown())).describe(\"A list of recipients for the sharing link. Required when scope is 'users'. Each recipient should be a dict with an 'email' key, e.g. [{'email': 'user@example.com'}].\").optional(),\n expiration_date_time: z.string().describe(\"The expiration date and time for the permission, in yyyy-MM-ddTHH:mm:ssZ format. Example: 2023-12-31T23:59:59Z Must be a future UTC timestamp; past values will cause the call to fail.\").optional(),\n retain_inherited_permissions: z.boolean().describe(\"If true (default), existing inherited permissions are retained. If false, all existing permissions are removed when sharing for the first time.\").optional(),\n});\nconst OneDriveCreateLink_LinkDetailsSchema = z.object({\n type: z.string().describe(\"The type of the link.\").nullable().optional(),\n scope: z.string().describe(\"The scope of the link.\").nullable().optional(),\n webUrl: z.string().describe(\"The URL of the sharing link.\").nullable().optional(),\n webHtml: z.string().describe(\"The HTML code for an iframe to host the content (for 'embed' links).\").nullable().optional(),\n application: z.record(z.string(), z.unknown()).describe(\"Details of the application that created the link.\").nullable().optional(),\n preventsDownload: z.boolean().describe(\"Indicates whether the link prevents downloading the item.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveCreateLinkOutput = z.object({\n id: z.string().describe(\"The unique identifier of the permission resource.\").nullable(),\n link: OneDriveCreateLink_LinkDetailsSchema.nullable().optional(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission.\").nullable().optional(),\n shareId: z.string().describe(\"A unique identifier for the sharing link that can be used to access the shared item.\").nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates whether the link has a password.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveCreateLink = action(\"ONE_DRIVE_CREATE_LINK\", {\n slug: \"one_drive-create-link\",\n name: \"Create Sharing Link\",\n description: \"Tool to create a sharing link for a DriveItem (file or folder) by its unique ID. Use when you need to generate a shareable link for an item in OneDrive or SharePoint.\",\n input: OneDriveCreateLinkInput,\n output: OneDriveCreateLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E;CAC7H,OAAO,EAAE,KAAK;EAAC;EAAa;EAAgB;CAAO,CAAC,CAAC,CAAC,SAAS,sZAAsZ,CAAC,CAAC,SAAS;CAChe,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4SAA4S;CACzU,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAChK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC1H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uKAAuK,CAAC,CAAC,SAAS;CAClP,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CAC9O,8BAA8B,EAAE,QAAQ,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACjN,CAAC;AACD,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY;AASf,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtF,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -17,7 +17,19 @@ declare const oneDriveCreateSharepointListItem: import("@keystrokehq/action").Wo
|
|
|
17
17
|
fields: Record<string, unknown>;
|
|
18
18
|
list_id: string;
|
|
19
19
|
site_id: string;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
accessToken: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
entityId: z.ZodString;
|
|
29
|
+
instanceId: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
accessToken: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>]>;
|
|
21
33
|
//#endregion
|
|
22
34
|
export { oneDriveCreateSharepointListItem };
|
|
23
35
|
//# sourceMappingURL=create-sharepoint-list-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sharepoint-list-item.d.cts","names":[],"sources":["../../src/actions/create-sharepoint-list-item.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAQtC,gCAAA,gCAAgC,wBAAA
|
|
1
|
+
{"version":3,"file":"create-sharepoint-list-item.d.cts","names":[],"sources":["../../src/actions/create-sharepoint-list-item.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAQtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -17,7 +17,19 @@ declare const oneDriveCreateSharepointListItem: import("@keystrokehq/action").Wo
|
|
|
17
17
|
fields: Record<string, unknown>;
|
|
18
18
|
list_id: string;
|
|
19
19
|
site_id: string;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
accessToken: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
entityId: z.ZodString;
|
|
29
|
+
instanceId: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
accessToken: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>]>;
|
|
21
33
|
//#endregion
|
|
22
34
|
export { oneDriveCreateSharepointListItem };
|
|
23
35
|
//# sourceMappingURL=create-sharepoint-list-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sharepoint-list-item.d.mts","names":[],"sources":["../../src/actions/create-sharepoint-list-item.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAQtC,gCAAA,gCAAgC,wBAAA
|
|
1
|
+
{"version":3,"file":"create-sharepoint-list-item.d.mts","names":[],"sources":["../../src/actions/create-sharepoint-list-item.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAQtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const OneDriveDeleteItemPermanentlyInput = zod.z.object({
|
|
|
5
5
|
item_id: zod.z.string().describe("The unique identifier of the drive item (file or folder) to permanently delete. This action deletes the item without moving it to the recycle bin and cannot be undone."),
|
|
6
6
|
drive_id: zod.z.string().describe("The unique identifier of the drive containing the item to permanently delete.")
|
|
7
7
|
});
|
|
8
|
-
const OneDriveDeleteItemPermanentlyOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the permanent deletion operation.").nullable() });
|
|
8
|
+
const OneDriveDeleteItemPermanentlyOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the permanent deletion operation.").nullable() }).passthrough();
|
|
9
9
|
const oneDriveDeleteItemPermanently = require_action.action("ONE_DRIVE_DELETE_ITEM_PERMANENTLY", {
|
|
10
10
|
slug: "one_drive-delete-item-permanently",
|
|
11
11
|
name: "Permanently Delete Drive Item",
|