@keystrokehq/onenote 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/copy-onenote-group-notebook.cjs +1 -1
- package/dist/actions/copy-onenote-group-notebook.cjs.map +1 -1
- package/dist/actions/copy-onenote-group-notebook.d.cts +16 -3
- package/dist/actions/copy-onenote-group-notebook.d.cts.map +1 -1
- package/dist/actions/copy-onenote-group-notebook.d.mts +16 -3
- package/dist/actions/copy-onenote-group-notebook.d.mts.map +1 -1
- package/dist/actions/copy-onenote-group-notebook.mjs +1 -1
- package/dist/actions/copy-onenote-group-notebook.mjs.map +1 -1
- package/dist/actions/copy-onenote-site-notebook.cjs +1 -1
- package/dist/actions/copy-onenote-site-notebook.cjs.map +1 -1
- package/dist/actions/copy-onenote-site-notebook.d.cts +18 -3
- package/dist/actions/copy-onenote-site-notebook.d.cts.map +1 -1
- package/dist/actions/copy-onenote-site-notebook.d.mts +18 -3
- package/dist/actions/copy-onenote-site-notebook.d.mts.map +1 -1
- package/dist/actions/copy-onenote-site-notebook.mjs +1 -1
- package/dist/actions/copy-onenote-site-notebook.mjs.map +1 -1
- package/dist/actions/copy-section-to-notebook-for-user2.cjs +1 -1
- package/dist/actions/copy-section-to-notebook-for-user2.cjs.map +1 -1
- package/dist/actions/copy-section-to-notebook-for-user2.d.cts +21 -3
- package/dist/actions/copy-section-to-notebook-for-user2.d.cts.map +1 -1
- package/dist/actions/copy-section-to-notebook-for-user2.d.mts +21 -3
- package/dist/actions/copy-section-to-notebook-for-user2.d.mts.map +1 -1
- package/dist/actions/copy-section-to-notebook-for-user2.mjs +1 -1
- package/dist/actions/copy-section-to-notebook-for-user2.mjs.map +1 -1
- package/dist/actions/copy-section-to-notebook2.cjs +1 -1
- package/dist/actions/copy-section-to-notebook2.cjs.map +1 -1
- package/dist/actions/copy-section-to-notebook2.d.cts +20 -3
- package/dist/actions/copy-section-to-notebook2.d.cts.map +1 -1
- package/dist/actions/copy-section-to-notebook2.d.mts +20 -3
- package/dist/actions/copy-section-to-notebook2.d.mts.map +1 -1
- package/dist/actions/copy-section-to-notebook2.mjs +1 -1
- package/dist/actions/copy-section-to-notebook2.mjs.map +1 -1
- package/dist/actions/copy-section-to-section-group-for-user.cjs +1 -1
- package/dist/actions/copy-section-to-section-group-for-user.cjs.map +1 -1
- package/dist/actions/copy-section-to-section-group-for-user.d.cts +19 -3
- package/dist/actions/copy-section-to-section-group-for-user.d.cts.map +1 -1
- package/dist/actions/copy-section-to-section-group-for-user.d.mts +19 -3
- package/dist/actions/copy-section-to-section-group-for-user.d.mts.map +1 -1
- package/dist/actions/copy-section-to-section-group-for-user.mjs +1 -1
- package/dist/actions/copy-section-to-section-group-for-user.mjs.map +1 -1
- package/dist/actions/copy-section-to-section-group.cjs +1 -1
- package/dist/actions/copy-section-to-section-group.cjs.map +1 -1
- package/dist/actions/copy-section-to-section-group.d.cts +17 -3
- package/dist/actions/copy-section-to-section-group.d.cts.map +1 -1
- package/dist/actions/copy-section-to-section-group.d.mts +17 -3
- package/dist/actions/copy-section-to-section-group.d.mts.map +1 -1
- package/dist/actions/copy-section-to-section-group.mjs +1 -1
- package/dist/actions/copy-section-to-section-group.mjs.map +1 -1
- package/dist/actions/copy-site-page-to-section3.cjs +1 -1
- package/dist/actions/copy-site-page-to-section3.cjs.map +1 -1
- package/dist/actions/copy-site-page-to-section3.d.cts +20 -3
- package/dist/actions/copy-site-page-to-section3.d.cts.map +1 -1
- package/dist/actions/copy-site-page-to-section3.d.mts +20 -3
- package/dist/actions/copy-site-page-to-section3.d.mts.map +1 -1
- package/dist/actions/copy-site-page-to-section3.mjs +1 -1
- package/dist/actions/copy-site-page-to-section3.mjs.map +1 -1
- package/dist/actions/copy-user-page-to-section.cjs +1 -1
- package/dist/actions/copy-user-page-to-section.cjs.map +1 -1
- package/dist/actions/copy-user-page-to-section.d.cts +16 -3
- package/dist/actions/copy-user-page-to-section.d.cts.map +1 -1
- package/dist/actions/copy-user-page-to-section.d.mts +16 -3
- package/dist/actions/copy-user-page-to-section.d.mts.map +1 -1
- package/dist/actions/copy-user-page-to-section.mjs +1 -1
- package/dist/actions/copy-user-page-to-section.mjs.map +1 -1
- package/dist/actions/count-notebooks-section-groups-sections.cjs +1 -1
- package/dist/actions/count-notebooks-section-groups-sections.cjs.map +1 -1
- package/dist/actions/count-notebooks-section-groups-sections.d.cts +11 -3
- package/dist/actions/count-notebooks-section-groups-sections.d.cts.map +1 -1
- package/dist/actions/count-notebooks-section-groups-sections.d.mts +11 -3
- package/dist/actions/count-notebooks-section-groups-sections.d.mts.map +1 -1
- package/dist/actions/count-notebooks-section-groups-sections.mjs +1 -1
- package/dist/actions/count-notebooks-section-groups-sections.mjs.map +1 -1
- package/dist/actions/count-site-notebook-section-groups-sections.cjs +1 -1
- package/dist/actions/count-site-notebook-section-groups-sections.cjs.map +1 -1
- package/dist/actions/count-site-notebook-section-groups-sections.d.cts +13 -3
- package/dist/actions/count-site-notebook-section-groups-sections.d.cts.map +1 -1
- package/dist/actions/count-site-notebook-section-groups-sections.d.mts +13 -3
- package/dist/actions/count-site-notebook-section-groups-sections.d.mts.map +1 -1
- package/dist/actions/count-site-notebook-section-groups-sections.mjs +1 -1
- package/dist/actions/count-site-notebook-section-groups-sections.mjs.map +1 -1
- package/dist/actions/create-group-notebook.cjs +5 -5
- package/dist/actions/create-group-notebook.cjs.map +1 -1
- package/dist/actions/create-group-notebook.d.cts +56 -3
- package/dist/actions/create-group-notebook.d.cts.map +1 -1
- package/dist/actions/create-group-notebook.d.mts +56 -3
- package/dist/actions/create-group-notebook.d.mts.map +1 -1
- package/dist/actions/create-group-notebook.mjs +5 -5
- package/dist/actions/create-group-notebook.mjs.map +1 -1
- package/dist/actions/create-group-pages.cjs +4 -4
- package/dist/actions/create-group-pages.cjs.map +1 -1
- package/dist/actions/create-group-pages.d.cts +29 -3
- package/dist/actions/create-group-pages.d.cts.map +1 -1
- package/dist/actions/create-group-pages.d.mts +29 -3
- package/dist/actions/create-group-pages.d.mts.map +1 -1
- package/dist/actions/create-group-pages.mjs +4 -4
- package/dist/actions/create-group-pages.mjs.map +1 -1
- package/dist/actions/create-group-section-groups-sections.cjs +7 -7
- package/dist/actions/create-group-section-groups-sections.cjs.map +1 -1
- package/dist/actions/create-group-section-groups-sections.d.cts +55 -3
- package/dist/actions/create-group-section-groups-sections.d.cts.map +1 -1
- package/dist/actions/create-group-section-groups-sections.d.mts +55 -3
- package/dist/actions/create-group-section-groups-sections.d.mts.map +1 -1
- package/dist/actions/create-group-section-groups-sections.mjs +7 -7
- package/dist/actions/create-group-section-groups-sections.mjs.map +1 -1
- package/dist/actions/create-me-notebooks.cjs +5 -5
- package/dist/actions/create-me-notebooks.cjs.map +1 -1
- package/dist/actions/create-me-notebooks.d.cts +54 -3
- package/dist/actions/create-me-notebooks.d.cts.map +1 -1
- package/dist/actions/create-me-notebooks.d.mts +54 -3
- package/dist/actions/create-me-notebooks.d.mts.map +1 -1
- package/dist/actions/create-me-notebooks.mjs +5 -5
- package/dist/actions/create-me-notebooks.mjs.map +1 -1
- package/dist/actions/create-me-section-groups-sections.cjs +7 -7
- package/dist/actions/create-me-section-groups-sections.cjs.map +1 -1
- package/dist/actions/create-me-section-groups-sections.d.cts +53 -3
- package/dist/actions/create-me-section-groups-sections.d.cts.map +1 -1
- package/dist/actions/create-me-section-groups-sections.d.mts +53 -3
- package/dist/actions/create-me-section-groups-sections.d.mts.map +1 -1
- package/dist/actions/create-me-section-groups-sections.mjs +7 -7
- package/dist/actions/create-me-section-groups-sections.mjs.map +1 -1
- package/dist/actions/create-me-sections-pages.cjs +3 -3
- package/dist/actions/create-me-sections-pages.cjs.map +1 -1
- package/dist/actions/create-me-sections-pages.d.cts +31 -3
- package/dist/actions/create-me-sections-pages.d.cts.map +1 -1
- package/dist/actions/create-me-sections-pages.d.mts +31 -3
- package/dist/actions/create-me-sections-pages.d.mts.map +1 -1
- package/dist/actions/create-me-sections-pages.mjs +3 -3
- package/dist/actions/create-me-sections-pages.mjs.map +1 -1
- package/dist/actions/create-onenote-group-notebooks-section-groups.cjs +3 -3
- package/dist/actions/create-onenote-group-notebooks-section-groups.cjs.map +1 -1
- package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts +47 -3
- package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts.map +1 -1
- package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts +47 -3
- package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts.map +1 -1
- package/dist/actions/create-onenote-group-notebooks-section-groups.mjs +3 -3
- package/dist/actions/create-onenote-group-notebooks-section-groups.mjs.map +1 -1
- package/dist/actions/create-site-notebooks-sections.cjs +7 -7
- package/dist/actions/create-site-notebooks-sections.cjs.map +1 -1
- package/dist/actions/create-site-notebooks-sections.d.cts +55 -3
- package/dist/actions/create-site-notebooks-sections.d.cts.map +1 -1
- package/dist/actions/create-site-notebooks-sections.d.mts +55 -3
- package/dist/actions/create-site-notebooks-sections.d.mts.map +1 -1
- package/dist/actions/create-site-notebooks-sections.mjs +7 -7
- package/dist/actions/create-site-notebooks-sections.mjs.map +1 -1
- package/dist/actions/create-user-notebooks-sections.cjs +7 -7
- package/dist/actions/create-user-notebooks-sections.cjs.map +1 -1
- package/dist/actions/create-user-notebooks-sections.d.cts +55 -3
- package/dist/actions/create-user-notebooks-sections.d.cts.map +1 -1
- package/dist/actions/create-user-notebooks-sections.d.mts +55 -3
- package/dist/actions/create-user-notebooks-sections.d.mts.map +1 -1
- package/dist/actions/create-user-notebooks-sections.mjs +7 -7
- package/dist/actions/create-user-notebooks-sections.mjs.map +1 -1
- package/dist/actions/create-user-pages.cjs +4 -4
- package/dist/actions/create-user-pages.cjs.map +1 -1
- package/dist/actions/create-user-pages.d.cts +29 -3
- package/dist/actions/create-user-pages.d.cts.map +1 -1
- package/dist/actions/create-user-pages.d.mts +29 -3
- package/dist/actions/create-user-pages.d.mts.map +1 -1
- package/dist/actions/create-user-pages.mjs +4 -4
- package/dist/actions/create-user-pages.mjs.map +1 -1
- package/dist/actions/create-user-section-groups-sections.cjs +7 -7
- package/dist/actions/create-user-section-groups-sections.cjs.map +1 -1
- package/dist/actions/create-user-section-groups-sections.d.cts +55 -3
- package/dist/actions/create-user-section-groups-sections.d.cts.map +1 -1
- package/dist/actions/create-user-section-groups-sections.d.mts +55 -3
- package/dist/actions/create-user-section-groups-sections.d.mts.map +1 -1
- package/dist/actions/create-user-section-groups-sections.mjs +7 -7
- package/dist/actions/create-user-section-groups-sections.mjs.map +1 -1
- package/dist/actions/create-user-sections-pages4.cjs +3 -3
- package/dist/actions/create-user-sections-pages4.cjs.map +1 -1
- package/dist/actions/create-user-sections-pages4.d.cts +33 -3
- package/dist/actions/create-user-sections-pages4.d.cts.map +1 -1
- package/dist/actions/create-user-sections-pages4.d.mts +33 -3
- package/dist/actions/create-user-sections-pages4.d.mts.map +1 -1
- package/dist/actions/create-user-sections-pages4.mjs +3 -3
- package/dist/actions/create-user-sections-pages4.mjs.map +1 -1
- package/dist/actions/delete-onenote-group-section-group-page-content.cjs +1 -1
- package/dist/actions/delete-onenote-group-section-group-page-content.cjs.map +1 -1
- package/dist/actions/delete-onenote-group-section-group-page-content.d.cts +16 -3
- package/dist/actions/delete-onenote-group-section-group-page-content.d.cts.map +1 -1
- package/dist/actions/delete-onenote-group-section-group-page-content.d.mts +16 -3
- package/dist/actions/delete-onenote-group-section-group-page-content.d.mts.map +1 -1
- package/dist/actions/delete-onenote-group-section-group-page-content.mjs +1 -1
- package/dist/actions/delete-onenote-group-section-group-page-content.mjs.map +1 -1
- package/dist/actions/delete-onenote-group-sections-pages2.cjs +1 -1
- package/dist/actions/delete-onenote-group-sections-pages2.cjs.map +1 -1
- package/dist/actions/delete-onenote-group-sections-pages2.d.cts +16 -3
- package/dist/actions/delete-onenote-group-sections-pages2.d.cts.map +1 -1
- package/dist/actions/delete-onenote-group-sections-pages2.d.mts +16 -3
- package/dist/actions/delete-onenote-group-sections-pages2.d.mts.map +1 -1
- package/dist/actions/delete-onenote-group-sections-pages2.mjs +1 -1
- package/dist/actions/delete-onenote-group-sections-pages2.mjs.map +1 -1
- package/dist/actions/delete-site-pages.cjs +1 -1
- package/dist/actions/delete-site-pages.cjs.map +1 -1
- package/dist/actions/delete-site-pages.d.cts +12 -3
- package/dist/actions/delete-site-pages.d.cts.map +1 -1
- package/dist/actions/delete-site-pages.d.mts +12 -3
- package/dist/actions/delete-site-pages.d.mts.map +1 -1
- package/dist/actions/delete-site-pages.mjs +1 -1
- package/dist/actions/delete-site-pages.mjs.map +1 -1
- package/dist/actions/delete-user-onenote-sections-pages.cjs +1 -1
- package/dist/actions/delete-user-onenote-sections-pages.cjs.map +1 -1
- package/dist/actions/delete-user-onenote-sections-pages.d.cts +18 -3
- package/dist/actions/delete-user-onenote-sections-pages.d.cts.map +1 -1
- package/dist/actions/delete-user-onenote-sections-pages.d.mts +18 -3
- package/dist/actions/delete-user-onenote-sections-pages.d.mts.map +1 -1
- package/dist/actions/delete-user-onenote-sections-pages.mjs +1 -1
- package/dist/actions/delete-user-onenote-sections-pages.mjs.map +1 -1
- package/dist/actions/delete-user-pages.cjs +1 -1
- package/dist/actions/delete-user-pages.cjs.map +1 -1
- package/dist/actions/delete-user-pages.d.cts +12 -3
- package/dist/actions/delete-user-pages.d.cts.map +1 -1
- package/dist/actions/delete-user-pages.d.mts +12 -3
- package/dist/actions/delete-user-pages.d.mts.map +1 -1
- package/dist/actions/delete-user-pages.mjs +1 -1
- package/dist/actions/delete-user-pages.mjs.map +1 -1
- package/dist/actions/get-group-sections.cjs +7 -7
- package/dist/actions/get-group-sections.cjs.map +1 -1
- package/dist/actions/get-group-sections.d.cts +145 -3
- package/dist/actions/get-group-sections.d.cts.map +1 -1
- package/dist/actions/get-group-sections.d.mts +145 -3
- package/dist/actions/get-group-sections.d.mts.map +1 -1
- package/dist/actions/get-group-sections.mjs +7 -7
- package/dist/actions/get-group-sections.mjs.map +1 -1
- package/dist/actions/get-me-onenote-resources-value.cjs +1 -1
- package/dist/actions/get-me-onenote-resources-value.cjs.map +1 -1
- package/dist/actions/get-me-onenote-resources-value.d.cts +12 -3
- package/dist/actions/get-me-onenote-resources-value.d.cts.map +1 -1
- package/dist/actions/get-me-onenote-resources-value.d.mts +12 -3
- package/dist/actions/get-me-onenote-resources-value.d.mts.map +1 -1
- package/dist/actions/get-me-onenote-resources-value.mjs +1 -1
- package/dist/actions/get-me-onenote-resources-value.mjs.map +1 -1
- package/dist/actions/get-me-section-page-content.cjs +1 -1
- package/dist/actions/get-me-section-page-content.cjs.map +1 -1
- package/dist/actions/get-me-section-page-content.d.cts +13 -3
- package/dist/actions/get-me-section-page-content.d.cts.map +1 -1
- package/dist/actions/get-me-section-page-content.d.mts +13 -3
- package/dist/actions/get-me-section-page-content.d.mts.map +1 -1
- package/dist/actions/get-me-section-page-content.mjs +1 -1
- package/dist/actions/get-me-section-page-content.mjs.map +1 -1
- package/dist/actions/get-notebook-from-web-url.cjs +5 -5
- package/dist/actions/get-notebook-from-web-url.cjs.map +1 -1
- package/dist/actions/get-notebook-from-web-url.d.cts +57 -3
- package/dist/actions/get-notebook-from-web-url.d.cts.map +1 -1
- package/dist/actions/get-notebook-from-web-url.d.mts +57 -3
- package/dist/actions/get-notebook-from-web-url.d.mts.map +1 -1
- package/dist/actions/get-notebook-from-web-url.mjs +5 -5
- package/dist/actions/get-notebook-from-web-url.mjs.map +1 -1
- package/dist/actions/get-notebook-section-group.cjs +3 -3
- package/dist/actions/get-notebook-section-group.cjs.map +1 -1
- package/dist/actions/get-notebook-section-group.d.cts +49 -3
- package/dist/actions/get-notebook-section-group.d.cts.map +1 -1
- package/dist/actions/get-notebook-section-group.d.mts +49 -3
- package/dist/actions/get-notebook-section-group.d.mts.map +1 -1
- package/dist/actions/get-notebook-section-group.mjs +3 -3
- package/dist/actions/get-notebook-section-group.mjs.map +1 -1
- package/dist/actions/get-onenote-group-operations.cjs +2 -2
- package/dist/actions/get-onenote-group-operations.cjs.map +1 -1
- package/dist/actions/get-onenote-group-operations.d.cts +26 -3
- package/dist/actions/get-onenote-group-operations.d.cts.map +1 -1
- package/dist/actions/get-onenote-group-operations.d.mts +26 -3
- package/dist/actions/get-onenote-group-operations.d.mts.map +1 -1
- package/dist/actions/get-onenote-group-operations.mjs +2 -2
- package/dist/actions/get-onenote-group-operations.mjs.map +1 -1
- package/dist/actions/get-onenote-group-sections-pages.cjs +5 -5
- package/dist/actions/get-onenote-group-sections-pages.cjs.map +1 -1
- package/dist/actions/get-onenote-group-sections-pages.d.cts +51 -3
- package/dist/actions/get-onenote-group-sections-pages.d.cts.map +1 -1
- package/dist/actions/get-onenote-group-sections-pages.d.mts +51 -3
- package/dist/actions/get-onenote-group-sections-pages.d.mts.map +1 -1
- package/dist/actions/get-onenote-group-sections-pages.mjs +5 -5
- package/dist/actions/get-onenote-group-sections-pages.mjs.map +1 -1
- package/dist/actions/get-onenote-site-operations.cjs +2 -2
- package/dist/actions/get-onenote-site-operations.cjs.map +1 -1
- package/dist/actions/get-onenote-site-operations.d.cts +26 -3
- package/dist/actions/get-onenote-site-operations.d.cts.map +1 -1
- package/dist/actions/get-onenote-site-operations.d.mts +26 -3
- package/dist/actions/get-onenote-site-operations.d.mts.map +1 -1
- package/dist/actions/get-onenote-site-operations.mjs +2 -2
- package/dist/actions/get-onenote-site-operations.mjs.map +1 -1
- package/dist/actions/get-onenote-user-page-content.cjs +4 -4
- package/dist/actions/get-onenote-user-page-content.cjs.map +1 -1
- package/dist/actions/get-onenote-user-page-content.d.cts +26 -3
- package/dist/actions/get-onenote-user-page-content.d.cts.map +1 -1
- package/dist/actions/get-onenote-user-page-content.d.mts +26 -3
- package/dist/actions/get-onenote-user-page-content.d.mts.map +1 -1
- package/dist/actions/get-onenote-user-page-content.mjs +4 -4
- package/dist/actions/get-onenote-user-page-content.mjs.map +1 -1
- package/dist/actions/get-page.cjs +5 -5
- package/dist/actions/get-page.cjs.map +1 -1
- package/dist/actions/get-page.d.cts +43 -3
- package/dist/actions/get-page.d.cts.map +1 -1
- package/dist/actions/get-page.d.mts +43 -3
- package/dist/actions/get-page.d.mts.map +1 -1
- package/dist/actions/get-page.mjs +5 -5
- package/dist/actions/get-page.mjs.map +1 -1
- package/dist/actions/get-recent-notebooks.cjs +4 -4
- package/dist/actions/get-recent-notebooks.cjs.map +1 -1
- package/dist/actions/get-recent-notebooks.d.cts +32 -3
- package/dist/actions/get-recent-notebooks.d.cts.map +1 -1
- package/dist/actions/get-recent-notebooks.d.mts +32 -3
- package/dist/actions/get-recent-notebooks.d.mts.map +1 -1
- package/dist/actions/get-recent-notebooks.mjs +4 -4
- package/dist/actions/get-recent-notebooks.mjs.map +1 -1
- package/dist/actions/get-section.cjs +7 -7
- package/dist/actions/get-section.cjs.map +1 -1
- package/dist/actions/get-section.d.cts +67 -3
- package/dist/actions/get-section.d.cts.map +1 -1
- package/dist/actions/get-section.d.mts +67 -3
- package/dist/actions/get-section.d.mts.map +1 -1
- package/dist/actions/get-section.mjs +7 -7
- package/dist/actions/get-section.mjs.map +1 -1
- package/dist/actions/get-site-onenote-pages.cjs +6 -6
- package/dist/actions/get-site-onenote-pages.cjs.map +1 -1
- package/dist/actions/get-site-onenote-pages.d.cts +39 -3
- package/dist/actions/get-site-onenote-pages.d.cts.map +1 -1
- package/dist/actions/get-site-onenote-pages.d.mts +39 -3
- package/dist/actions/get-site-onenote-pages.d.mts.map +1 -1
- package/dist/actions/get-site-onenote-pages.mjs +6 -6
- package/dist/actions/get-site-onenote-pages.mjs.map +1 -1
- package/dist/actions/get-site-pages-preview.cjs +1 -1
- package/dist/actions/get-site-pages-preview.cjs.map +1 -1
- package/dist/actions/get-site-pages-preview.d.cts +12 -3
- package/dist/actions/get-site-pages-preview.d.cts.map +1 -1
- package/dist/actions/get-site-pages-preview.d.mts +12 -3
- package/dist/actions/get-site-pages-preview.d.mts.map +1 -1
- package/dist/actions/get-site-pages-preview.mjs +1 -1
- package/dist/actions/get-site-pages-preview.mjs.map +1 -1
- package/dist/actions/get-site-sections-pages.cjs +5 -5
- package/dist/actions/get-site-sections-pages.cjs.map +1 -1
- package/dist/actions/get-site-sections-pages.d.cts +51 -3
- package/dist/actions/get-site-sections-pages.d.cts.map +1 -1
- package/dist/actions/get-site-sections-pages.d.mts +51 -3
- package/dist/actions/get-site-sections-pages.d.mts.map +1 -1
- package/dist/actions/get-site-sections-pages.mjs +5 -5
- package/dist/actions/get-site-sections-pages.mjs.map +1 -1
- package/dist/actions/get-site-sections.cjs +7 -7
- package/dist/actions/get-site-sections.cjs.map +1 -1
- package/dist/actions/get-site-sections.d.cts +145 -3
- package/dist/actions/get-site-sections.d.cts.map +1 -1
- package/dist/actions/get-site-sections.d.mts +145 -3
- package/dist/actions/get-site-sections.d.mts.map +1 -1
- package/dist/actions/get-site-sections.mjs +7 -7
- package/dist/actions/get-site-sections.mjs.map +1 -1
- package/dist/actions/get-user-notebook.cjs +5 -5
- package/dist/actions/get-user-notebook.cjs.map +1 -1
- package/dist/actions/get-user-notebook.d.cts +123 -3
- package/dist/actions/get-user-notebook.d.cts.map +1 -1
- package/dist/actions/get-user-notebook.d.mts +123 -3
- package/dist/actions/get-user-notebook.d.mts.map +1 -1
- package/dist/actions/get-user-notebook.mjs +5 -5
- package/dist/actions/get-user-notebook.mjs.map +1 -1
- package/dist/actions/get-user-pages.cjs +5 -5
- package/dist/actions/get-user-pages.cjs.map +1 -1
- package/dist/actions/get-user-pages.d.cts +45 -3
- package/dist/actions/get-user-pages.d.cts.map +1 -1
- package/dist/actions/get-user-pages.d.mts +45 -3
- package/dist/actions/get-user-pages.d.mts.map +1 -1
- package/dist/actions/get-user-pages.mjs +5 -5
- package/dist/actions/get-user-pages.mjs.map +1 -1
- package/dist/actions/get-user-parent-section-group2.cjs +3 -3
- package/dist/actions/get-user-parent-section-group2.cjs.map +1 -1
- package/dist/actions/get-user-parent-section-group2.d.cts +52 -3
- package/dist/actions/get-user-parent-section-group2.d.cts.map +1 -1
- package/dist/actions/get-user-parent-section-group2.d.mts +52 -3
- package/dist/actions/get-user-parent-section-group2.d.mts.map +1 -1
- package/dist/actions/get-user-parent-section-group2.mjs +3 -3
- package/dist/actions/get-user-parent-section-group2.mjs.map +1 -1
- package/dist/actions/list-group-notebook-section-groups.cjs +4 -4
- package/dist/actions/list-group-notebook-section-groups.cjs.map +1 -1
- package/dist/actions/list-group-notebook-section-groups.d.cts +79 -3
- package/dist/actions/list-group-notebook-section-groups.d.cts.map +1 -1
- package/dist/actions/list-group-notebook-section-groups.d.mts +79 -3
- package/dist/actions/list-group-notebook-section-groups.d.mts.map +1 -1
- package/dist/actions/list-group-notebook-section-groups.mjs +4 -4
- package/dist/actions/list-group-notebook-section-groups.mjs.map +1 -1
- package/dist/actions/list-group-notebook-section-pages.cjs +5 -5
- package/dist/actions/list-group-notebook-section-pages.cjs.map +1 -1
- package/dist/actions/list-group-notebook-section-pages.d.cts +41 -3
- package/dist/actions/list-group-notebook-section-pages.d.cts.map +1 -1
- package/dist/actions/list-group-notebook-section-pages.d.mts +41 -3
- package/dist/actions/list-group-notebook-section-pages.d.mts.map +1 -1
- package/dist/actions/list-group-notebook-section-pages.mjs +5 -5
- package/dist/actions/list-group-notebook-section-pages.mjs.map +1 -1
- package/dist/actions/list-group-notebooks.cjs +1 -1
- package/dist/actions/list-group-notebooks.cjs.map +1 -1
- package/dist/actions/list-group-notebooks.d.cts +94 -3
- package/dist/actions/list-group-notebooks.d.cts.map +1 -1
- package/dist/actions/list-group-notebooks.d.mts +94 -3
- package/dist/actions/list-group-notebooks.d.mts.map +1 -1
- package/dist/actions/list-group-notebooks.mjs +1 -1
- package/dist/actions/list-group-notebooks.mjs.map +1 -1
- package/dist/actions/list-group-section-groups-sections.cjs +6 -6
- package/dist/actions/list-group-section-groups-sections.cjs.map +1 -1
- package/dist/actions/list-group-section-groups-sections.d.cts +71 -3
- package/dist/actions/list-group-section-groups-sections.d.cts.map +1 -1
- package/dist/actions/list-group-section-groups-sections.d.mts +71 -3
- package/dist/actions/list-group-section-groups-sections.d.mts.map +1 -1
- package/dist/actions/list-group-section-groups-sections.mjs +6 -6
- package/dist/actions/list-group-section-groups-sections.mjs.map +1 -1
- package/dist/actions/list-joined-teams.cjs.map +1 -1
- package/dist/actions/list-joined-teams.d.cts +47 -3
- package/dist/actions/list-joined-teams.d.cts.map +1 -1
- package/dist/actions/list-joined-teams.d.mts +47 -3
- package/dist/actions/list-joined-teams.d.mts.map +1 -1
- package/dist/actions/list-joined-teams.mjs.map +1 -1
- package/dist/actions/list-me-onenote-sections-pages4.cjs +6 -6
- package/dist/actions/list-me-onenote-sections-pages4.cjs.map +1 -1
- package/dist/actions/list-me-onenote-sections-pages4.d.cts +54 -3
- package/dist/actions/list-me-onenote-sections-pages4.d.cts.map +1 -1
- package/dist/actions/list-me-onenote-sections-pages4.d.mts +54 -3
- package/dist/actions/list-me-onenote-sections-pages4.d.mts.map +1 -1
- package/dist/actions/list-me-onenote-sections-pages4.mjs +6 -6
- package/dist/actions/list-me-onenote-sections-pages4.mjs.map +1 -1
- package/dist/actions/list-onenote-group-pages.cjs +5 -5
- package/dist/actions/list-onenote-group-pages.cjs.map +1 -1
- package/dist/actions/list-onenote-group-pages.d.cts +37 -3
- package/dist/actions/list-onenote-group-pages.d.cts.map +1 -1
- package/dist/actions/list-onenote-group-pages.d.mts +37 -3
- package/dist/actions/list-onenote-group-pages.d.mts.map +1 -1
- package/dist/actions/list-onenote-group-pages.mjs +5 -5
- package/dist/actions/list-onenote-group-pages.mjs.map +1 -1
- package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs +4 -4
- package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs.map +1 -1
- package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts +63 -3
- package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts.map +1 -1
- package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts +63 -3
- package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts.map +1 -1
- package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs +4 -4
- package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs.map +1 -1
- package/dist/actions/list-onenote-group-sections-pages4.cjs +4 -4
- package/dist/actions/list-onenote-group-sections-pages4.cjs.map +1 -1
- package/dist/actions/list-onenote-group-sections-pages4.d.cts +46 -3
- package/dist/actions/list-onenote-group-sections-pages4.d.cts.map +1 -1
- package/dist/actions/list-onenote-group-sections-pages4.d.mts +46 -3
- package/dist/actions/list-onenote-group-sections-pages4.d.mts.map +1 -1
- package/dist/actions/list-onenote-group-sections-pages4.mjs +4 -4
- package/dist/actions/list-onenote-group-sections-pages4.mjs.map +1 -1
- package/dist/actions/list-site-notebook-section-groups.cjs +4 -4
- package/dist/actions/list-site-notebook-section-groups.cjs.map +1 -1
- package/dist/actions/list-site-notebook-section-groups.d.cts +63 -3
- package/dist/actions/list-site-notebook-section-groups.d.cts.map +1 -1
- package/dist/actions/list-site-notebook-section-groups.d.mts +63 -3
- package/dist/actions/list-site-notebook-section-groups.d.mts.map +1 -1
- package/dist/actions/list-site-notebook-section-groups.mjs +4 -4
- package/dist/actions/list-site-notebook-section-groups.mjs.map +1 -1
- package/dist/actions/list-site-notebooks.cjs +1 -1
- package/dist/actions/list-site-notebooks.cjs.map +1 -1
- package/dist/actions/list-site-notebooks.d.cts +94 -3
- package/dist/actions/list-site-notebooks.d.cts.map +1 -1
- package/dist/actions/list-site-notebooks.d.mts +94 -3
- package/dist/actions/list-site-notebooks.d.mts.map +1 -1
- package/dist/actions/list-site-notebooks.mjs +1 -1
- package/dist/actions/list-site-notebooks.mjs.map +1 -1
- package/dist/actions/list-site-pages-content.cjs +1 -1
- package/dist/actions/list-site-pages-content.cjs.map +1 -1
- package/dist/actions/list-site-pages-content.d.cts +15 -3
- package/dist/actions/list-site-pages-content.d.cts.map +1 -1
- package/dist/actions/list-site-pages-content.d.mts +15 -3
- package/dist/actions/list-site-pages-content.d.mts.map +1 -1
- package/dist/actions/list-site-pages-content.mjs +1 -1
- package/dist/actions/list-site-pages-content.mjs.map +1 -1
- package/dist/actions/list-site-sections.cjs +8 -8
- package/dist/actions/list-site-sections.cjs.map +1 -1
- package/dist/actions/list-site-sections.d.cts +69 -3
- package/dist/actions/list-site-sections.d.cts.map +1 -1
- package/dist/actions/list-site-sections.d.mts +69 -3
- package/dist/actions/list-site-sections.d.mts.map +1 -1
- package/dist/actions/list-site-sections.mjs +8 -8
- package/dist/actions/list-site-sections.mjs.map +1 -1
- package/dist/actions/list-user-notebook-sections.cjs +6 -6
- package/dist/actions/list-user-notebook-sections.cjs.map +1 -1
- package/dist/actions/list-user-notebook-sections.d.cts +77 -3
- package/dist/actions/list-user-notebook-sections.d.cts.map +1 -1
- package/dist/actions/list-user-notebook-sections.d.mts +77 -3
- package/dist/actions/list-user-notebook-sections.d.mts.map +1 -1
- package/dist/actions/list-user-notebook-sections.mjs +6 -6
- package/dist/actions/list-user-notebook-sections.mjs.map +1 -1
- package/dist/actions/list-user-notebooks.cjs +6 -6
- package/dist/actions/list-user-notebooks.cjs.map +1 -1
- package/dist/actions/list-user-notebooks.d.cts +76 -3
- package/dist/actions/list-user-notebooks.d.cts.map +1 -1
- package/dist/actions/list-user-notebooks.d.mts +76 -3
- package/dist/actions/list-user-notebooks.d.mts.map +1 -1
- package/dist/actions/list-user-notebooks.mjs +6 -6
- package/dist/actions/list-user-notebooks.mjs.map +1 -1
- package/dist/actions/resolve-site-by-url.cjs.map +1 -1
- package/dist/actions/resolve-site-by-url.d.cts +43 -3
- package/dist/actions/resolve-site-by-url.d.cts.map +1 -1
- package/dist/actions/resolve-site-by-url.d.mts +43 -3
- package/dist/actions/resolve-site-by-url.d.mts.map +1 -1
- package/dist/actions/resolve-site-by-url.mjs.map +1 -1
- package/dist/actions/sites-search.cjs.map +1 -1
- package/dist/actions/sites-search.d.cts +47 -3
- package/dist/actions/sites-search.d.cts.map +1 -1
- package/dist/actions/sites-search.d.mts +47 -3
- package/dist/actions/sites-search.d.mts.map +1 -1
- package/dist/actions/sites-search.mjs.map +1 -1
- package/dist/actions/update-me-page-content.cjs +2 -2
- package/dist/actions/update-me-page-content.cjs.map +1 -1
- package/dist/actions/update-me-page-content.d.cts +32 -3
- package/dist/actions/update-me-page-content.d.cts.map +1 -1
- package/dist/actions/update-me-page-content.d.mts +32 -3
- package/dist/actions/update-me-page-content.d.mts.map +1 -1
- package/dist/actions/update-me-page-content.mjs +2 -2
- package/dist/actions/update-me-page-content.mjs.map +1 -1
- package/dist/actions/update-me-sections.cjs +7 -7
- package/dist/actions/update-me-sections.cjs.map +1 -1
- package/dist/actions/update-me-sections.d.cts +54 -3
- package/dist/actions/update-me-sections.d.cts.map +1 -1
- package/dist/actions/update-me-sections.d.mts +54 -3
- package/dist/actions/update-me-sections.d.mts.map +1 -1
- package/dist/actions/update-me-sections.mjs +7 -7
- package/dist/actions/update-me-sections.mjs.map +1 -1
- package/dist/actions/update-onenote-page-content.cjs +2 -2
- package/dist/actions/update-onenote-page-content.cjs.map +1 -1
- package/dist/actions/update-onenote-page-content.d.cts +34 -3
- package/dist/actions/update-onenote-page-content.d.cts.map +1 -1
- package/dist/actions/update-onenote-page-content.d.mts +34 -3
- package/dist/actions/update-onenote-page-content.d.mts.map +1 -1
- package/dist/actions/update-onenote-page-content.mjs +2 -2
- package/dist/actions/update-onenote-page-content.mjs.map +1 -1
- package/dist/actions/update-site-notebooks-sections.cjs +7 -7
- package/dist/actions/update-site-notebooks-sections.cjs.map +1 -1
- package/dist/actions/update-site-notebooks-sections.d.cts +57 -3
- package/dist/actions/update-site-notebooks-sections.d.cts.map +1 -1
- package/dist/actions/update-site-notebooks-sections.d.mts +57 -3
- package/dist/actions/update-site-notebooks-sections.d.mts.map +1 -1
- package/dist/actions/update-site-notebooks-sections.mjs +7 -7
- package/dist/actions/update-site-notebooks-sections.mjs.map +1 -1
- package/dist/actions/update-site-pages-content.cjs +2 -2
- package/dist/actions/update-site-pages-content.cjs.map +1 -1
- package/dist/actions/update-site-pages-content.d.cts +34 -3
- package/dist/actions/update-site-pages-content.d.cts.map +1 -1
- package/dist/actions/update-site-pages-content.d.mts +34 -3
- package/dist/actions/update-site-pages-content.d.mts.map +1 -1
- package/dist/actions/update-site-pages-content.mjs +2 -2
- package/dist/actions/update-site-pages-content.mjs.map +1 -1
- package/dist/actions/update-site-section-groups-sections.cjs +7 -7
- package/dist/actions/update-site-section-groups-sections.cjs.map +1 -1
- package/dist/actions/update-site-section-groups-sections.d.cts +59 -3
- package/dist/actions/update-site-section-groups-sections.d.cts.map +1 -1
- package/dist/actions/update-site-section-groups-sections.d.mts +59 -3
- package/dist/actions/update-site-section-groups-sections.d.mts.map +1 -1
- package/dist/actions/update-site-section-groups-sections.mjs +7 -7
- package/dist/actions/update-site-section-groups-sections.mjs.map +1 -1
- package/dist/actions/update-user-notebooks-sections.cjs +7 -7
- package/dist/actions/update-user-notebooks-sections.cjs.map +1 -1
- package/dist/actions/update-user-notebooks-sections.d.cts +55 -3
- package/dist/actions/update-user-notebooks-sections.d.cts.map +1 -1
- package/dist/actions/update-user-notebooks-sections.d.mts +55 -3
- package/dist/actions/update-user-notebooks-sections.d.mts.map +1 -1
- package/dist/actions/update-user-notebooks-sections.mjs +7 -7
- package/dist/actions/update-user-notebooks-sections.mjs.map +1 -1
- package/dist/actions/validate-credential.cjs +3 -3
- package/dist/actions/validate-credential.cjs.map +1 -1
- package/dist/actions/validate-credential.d.cts +6 -3
- package/dist/actions/validate-credential.d.cts.map +1 -1
- package/dist/actions/validate-credential.d.mts +6 -3
- package/dist/actions/validate-credential.d.mts.map +1 -1
- package/dist/actions/validate-credential.mjs +3 -3
- package/dist/actions/validate-credential.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,53 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/sites-search.d.ts
|
|
4
|
-
declare const OnenoteSitesSearchInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OnenoteSitesSearchInput: z.ZodObject<{
|
|
5
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
search: z.ZodString;
|
|
7
|
+
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
|
+
orderby: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
next_link: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const OnenoteSitesSearchOutput: z.ZodObject<{
|
|
12
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
eTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
root: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17
|
+
drive: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
18
|
+
items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
19
|
+
lists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
20
|
+
pages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
21
|
+
sites: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
22
|
+
drives: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
23
|
+
webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
25
|
+
onenote: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
26
|
+
analytics: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
27
|
+
termStore: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
28
|
+
operations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
29
|
+
termStores: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
30
|
+
"@odata.type": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
permissions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
34
|
+
contentTypes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
35
|
+
sharepointIds: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
36
|
+
isPersonalSite: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
37
|
+
siteCollection: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
38
|
+
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
}, z.core.$loose>>>>;
|
|
41
|
+
"@odata.context": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
"@odata.nextLink": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
}, z.core.$loose>;
|
|
44
|
+
declare const onenoteSitesSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
|
+
search: string;
|
|
46
|
+
top?: number | undefined;
|
|
47
|
+
select?: string[] | undefined;
|
|
48
|
+
orderby?: string[] | undefined;
|
|
49
|
+
next_link?: string | undefined;
|
|
50
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
51
|
//#endregion
|
|
8
52
|
export { onenoteSitesSearch };
|
|
9
53
|
//# sourceMappingURL=sites-search.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sites-search.d.mts","names":[],"sources":["../../src/actions/sites-search.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"sites-search.d.mts","names":[],"sources":["../../src/actions/sites-search.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAoCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sites-search.mjs","names":[],"sources":["../../src/actions/sites-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteSitesSearchInput
|
|
1
|
+
{"version":3,"file":"sites-search.mjs","names":[],"sources":["../../src/actions/sites-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteSitesSearchInput = z.object({\n top: z.number().int().describe(\"OData $top page size for search results.\").optional(),\n search: z.string().describe(\"SharePoint site search keywords. Use a site name or keyword; Microsoft Graph searches multiple site properties.\"),\n select: z.array(z.string()).describe(\"OData $select site properties, such as id,name,displayName,webUrl,description,createdDateTime,lastModifiedDateTime.\").optional(),\n orderby: z.array(z.string()).describe(\"OData $orderby value. Microsoft documents createdDateTime as the only site search property that works for sorting.\").optional(),\n next_link: z.string().describe(\"Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other query parameters. Microsoft Graph site search does not support $count; use nextLink to page through results.\").optional(),\n});\nconst OnenoteSitesSearch_SiteSchema = z.object({\n id: z.string().describe(\"The unique site ID. Pass this value to ONENOTE_LIST_SITE_NOTEBOOKS.\").nullable().optional(),\n eTag: z.string().describe(\"ETag for the site. Read-only.\").nullable().optional(),\n name: z.string().describe(\"The name/title of the site.\").nullable().optional(),\n root: z.record(z.string(), z.unknown()).describe(\"Root facet, when this is a root site.\").nullable().optional(),\n drive: z.record(z.string(), z.unknown()).describe(\"Expanded default drive relationship, when requested.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded items relationship, when requested.\").nullable().optional(),\n lists: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded lists relationship, when requested.\").nullable().optional(),\n pages: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded pages relationship, when requested.\").nullable().optional(),\n sites: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded subsites relationship, when requested.\").nullable().optional(),\n drives: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded drives relationship, when requested.\").nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the site in the browser. Read-only.\").nullable().optional(),\n columns: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded columns relationship, when requested.\").nullable().optional(),\n onenote: z.record(z.string(), z.unknown()).describe(\"Expanded OneNote relationship, when requested.\").nullable().optional(),\n analytics: z.record(z.string(), z.unknown()).describe(\"Expanded analytics relationship, when requested.\").nullable().optional(),\n termStore: z.record(z.string(), z.unknown()).describe(\"Expanded default termStore relationship, when requested.\").nullable().optional(),\n operations: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded operations relationship, when requested.\").nullable().optional(),\n termStores: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded termStores relationship, when requested.\").nullable().optional(),\n \"@odata.type\": z.string().describe(\"Microsoft Graph resource type.\").nullable().optional(),\n description: z.string().describe(\"The descriptive text for the site.\").nullable().optional(),\n displayName: z.string().describe(\"The full title for the site.\").nullable().optional(),\n permissions: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded permissions relationship, when requested.\").nullable().optional(),\n contentTypes: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded contentTypes relationship, when requested.\").nullable().optional(),\n sharepointIds: z.record(z.string(), z.unknown()).describe(\"Identifiers useful for SharePoint REST compatibility.\").nullable().optional(),\n isPersonalSite: z.boolean().describe(\"Identifies whether the site is personal. Read-only.\").nullable().optional(),\n siteCollection: z.record(z.string(), z.unknown()).describe(\"Details about the site's site collection.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the site was created. Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the site was last modified. Read-only.\").nullable().optional(),\n}).passthrough();\nexport const OnenoteSitesSearchOutput = z.object({\n value: z.array(OnenoteSitesSearch_SiteSchema).describe(\"SharePoint sites matching the search query.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"OData context URL that identifies the metadata schema.\").nullable().optional(),\n \"@odata.nextLink\": z.string().describe(\"URL to retrieve the next page of results if more pages are available.\").nullable().optional(),\n}).passthrough();\n\nexport const onenoteSitesSearch = action(\"ONENOTE_SITES_SEARCH\", {\n slug: \"onenote-sites-search\",\n name: \"Search SharePoint sites\",\n description: \"Search SharePoint sites available through Microsoft Graph. Use this to find a site ID from a site name or keyword before listing site-hosted OneNote notebooks. Microsoft Graph site search does not support $count; page only with returned @odata.nextLink URLs.\",\n input: OnenoteSitesSearchInput,\n output: OnenoteSitesSearchOutput,\n});\n"],"mappings":"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"}
|
|
@@ -14,12 +14,12 @@ const OnenoteUpdateMePageContentInput = zod.z.object({
|
|
|
14
14
|
target: zod.z.string().describe("The element to update. Use #{data-id} for data-id, generated id for id:, 'body' for first div, or 'title' for page title."),
|
|
15
15
|
content: zod.z.string().describe("HTML content to add to the page. Required for replace, append, insert, and prepend actions.").optional(),
|
|
16
16
|
position: zod.z.enum(["before", "after"]).describe("Enumeration of valid position values for insert/append operations.").optional()
|
|
17
|
-
}).describe("Represents a single content modification command for a OneNote page.\n\nAttributes:\n action: The operation to perform on the target element.\n target: The element ID to modify (format: #{data-id}, id:, body, or title).\n content: HTML content to add or replace. Required for replace, append, insert, prepend actions.\n position: Location relative to target for append/insert operations. Defaults to 'after'.")).describe("Array of patch commands to apply to the page. Each command specifies a target element, action, and optional content and position.")
|
|
17
|
+
}).passthrough().describe("Represents a single content modification command for a OneNote page.\n\nAttributes:\n action: The operation to perform on the target element.\n target: The element ID to modify (format: #{data-id}, id:, body, or title).\n content: HTML content to add or replace. Required for replace, append, insert, prepend actions.\n position: Location relative to target for append/insert operations. Defaults to 'after'.")).describe("Array of patch commands to apply to the page. Each command specifies a target element, action, and optional content and position.")
|
|
18
18
|
}).describe("Request model for updating OneNote page content for the signed-in user.\n\nUse this action when you need to update the content of a specific OneNote page\nowned by the signed-in user by sending patch commands (append, insert, replace,\ndelete, prepend) to modify the page's HTML structure.");
|
|
19
19
|
const OnenoteUpdateMePageContentOutput = zod.z.object({
|
|
20
20
|
success: zod.z.boolean().default(true).describe("Indicates whether the update operation was successful.").nullable().optional(),
|
|
21
21
|
status_code: zod.z.number().int().describe("HTTP status code of the response. 204 indicates success with no content returned.").nullable().optional()
|
|
22
|
-
}).describe("Response model for the page content update operation.\n\nThe Microsoft Graph API returns a 204 No Content response on successful update.\nThis response model handles that case by indicating the operation was successful.");
|
|
22
|
+
}).passthrough().describe("Response model for the page content update operation.\n\nThe Microsoft Graph API returns a 204 No Content response on successful update.\nThis response model handles that case by indicating the operation was successful.");
|
|
23
23
|
const onenoteUpdateMePageContent = require_action.action("ONENOTE_UPDATE_ME_PAGE_CONTENT", {
|
|
24
24
|
slug: "onenote-update-me-page-content",
|
|
25
25
|
name: "Update my OneNote page content",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-me-page-content.cjs","names":["z","action"],"sources":["../../src/actions/update-me-page-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateMePageContentInput
|
|
1
|
+
{"version":3,"file":"update-me-page-content.cjs","names":["z","action"],"sources":["../../src/actions/update-me-page-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateMePageContentInput = z.object({\n page_id: z.string().describe(\"The unique identifier of the OneNote page to update.\"),\n commands: z.array(z.object({\n action: z.enum([\"replace\", \"append\", \"delete\", \"insert\", \"prepend\"]).describe(\"The action to perform on the target element. Values: replace, append, delete, insert, prepend.\"),\n target: z.string().describe(\"The element to update. Use #{data-id} for data-id, generated id for id:, 'body' for first div, or 'title' for page title.\"),\n content: z.string().describe(\"HTML content to add to the page. Required for replace, append, insert, and prepend actions.\").optional(),\n position: z.enum([\"before\", \"after\"]).describe(\"Enumeration of valid position values for insert/append operations.\").optional(),\n}).passthrough().describe(\"Represents a single content modification command for a OneNote page.\\n\\nAttributes:\\n action: The operation to perform on the target element.\\n target: The element ID to modify (format: #{data-id}, id:, body, or title).\\n content: HTML content to add or replace. Required for replace, append, insert, prepend actions.\\n position: Location relative to target for append/insert operations. Defaults to 'after'.\")).describe(\"Array of patch commands to apply to the page. Each command specifies a target element, action, and optional content and position.\"),\n}).describe(\"Request model for updating OneNote page content for the signed-in user.\\n\\nUse this action when you need to update the content of a specific OneNote page\\nowned by the signed-in user by sending patch commands (append, insert, replace,\\ndelete, prepend) to modify the page's HTML structure.\");\nexport const OnenoteUpdateMePageContentOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code of the response. 204 indicates success with no content returned.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the page content update operation.\\n\\nThe Microsoft Graph API returns a 204 No Content response on successful update.\\nThis response model handles that case by indicating the operation was successful.\");\n\nexport const onenoteUpdateMePageContent = action(\"ONENOTE_UPDATE_ME_PAGE_CONTENT\", {\n slug: \"onenote-update-me-page-content\",\n name: \"Update my OneNote page content\",\n description: \"Update the content of a OneNote page for the signed-in user. Sends a PATCH request with patch content commands to modify the HTML structure of a OneNote page. Supports appending children, inserting siblings, replacing elements, prepending content, and deleting elements. Use this action when you need to update or modify the content of an existing OneNote page owned by the signed-in user, such as adding new paragraphs, inserting images, modifying lists, or replacing/removing existing elements. This action is idempotent for replace, append, prepend, and insert operations, but delete operations are irreversible — deleted elements cannot be recovered once removed.\",\n input: OnenoteUpdateMePageContentInput,\n output: OnenoteUpdateMePageContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,QAAQA,IAAAA,EAAE,KAAK;GAAC;GAAW;GAAU;GAAU;GAAU;EAAS,CAAC,CAAC,CAAC,SAAS,gGAAgG;EAC9K,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;EACvJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACrI,UAAUA,IAAAA,EAAE,KAAK,CAAC,UAAU,OAAO,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,saAAsa,CAAC,CAAC,CAAC,SAAS,mIAAmI;AAC/kB,CAAC,CAAC,CAAC,SAAS,mSAAmS;AAC/S,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6NAA6N;AAEvP,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,38 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-me-page-content.d.ts
|
|
4
|
-
declare const OnenoteUpdateMePageContentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OnenoteUpdateMePageContentInput: z.ZodObject<{
|
|
5
|
+
page_id: z.ZodString;
|
|
6
|
+
commands: z.ZodArray<z.ZodObject<{
|
|
7
|
+
action: z.ZodEnum<{
|
|
8
|
+
replace: "replace";
|
|
9
|
+
append: "append";
|
|
10
|
+
delete: "delete";
|
|
11
|
+
insert: "insert";
|
|
12
|
+
prepend: "prepend";
|
|
13
|
+
}>;
|
|
14
|
+
target: z.ZodString;
|
|
15
|
+
content: z.ZodOptional<z.ZodString>;
|
|
16
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
before: "before";
|
|
18
|
+
after: "after";
|
|
19
|
+
}>>;
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const OnenoteUpdateMePageContentOutput: z.ZodObject<{
|
|
23
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
24
|
+
status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
declare const onenoteUpdateMePageContent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
page_id: string;
|
|
28
|
+
commands: {
|
|
29
|
+
[x: string]: unknown;
|
|
30
|
+
action: "replace" | "append" | "delete" | "insert" | "prepend";
|
|
31
|
+
target: string;
|
|
32
|
+
content?: string | undefined;
|
|
33
|
+
position?: "before" | "after" | undefined;
|
|
34
|
+
}[];
|
|
35
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
36
|
//#endregion
|
|
8
37
|
export { onenoteUpdateMePageContent };
|
|
9
38
|
//# sourceMappingURL=update-me-page-content.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-me-page-content.d.cts","names":[],"sources":["../../src/actions/update-me-page-content.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"update-me-page-content.d.cts","names":[],"sources":["../../src/actions/update-me-page-content.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,38 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-me-page-content.d.ts
|
|
4
|
-
declare const OnenoteUpdateMePageContentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OnenoteUpdateMePageContentInput: z.ZodObject<{
|
|
5
|
+
page_id: z.ZodString;
|
|
6
|
+
commands: z.ZodArray<z.ZodObject<{
|
|
7
|
+
action: z.ZodEnum<{
|
|
8
|
+
replace: "replace";
|
|
9
|
+
append: "append";
|
|
10
|
+
delete: "delete";
|
|
11
|
+
insert: "insert";
|
|
12
|
+
prepend: "prepend";
|
|
13
|
+
}>;
|
|
14
|
+
target: z.ZodString;
|
|
15
|
+
content: z.ZodOptional<z.ZodString>;
|
|
16
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
before: "before";
|
|
18
|
+
after: "after";
|
|
19
|
+
}>>;
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const OnenoteUpdateMePageContentOutput: z.ZodObject<{
|
|
23
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
24
|
+
status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
declare const onenoteUpdateMePageContent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
page_id: string;
|
|
28
|
+
commands: {
|
|
29
|
+
[x: string]: unknown;
|
|
30
|
+
action: "replace" | "append" | "delete" | "insert" | "prepend";
|
|
31
|
+
target: string;
|
|
32
|
+
content?: string | undefined;
|
|
33
|
+
position?: "before" | "after" | undefined;
|
|
34
|
+
}[];
|
|
35
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
36
|
//#endregion
|
|
8
37
|
export { onenoteUpdateMePageContent };
|
|
9
38
|
//# sourceMappingURL=update-me-page-content.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-me-page-content.d.mts","names":[],"sources":["../../src/actions/update-me-page-content.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"update-me-page-content.d.mts","names":[],"sources":["../../src/actions/update-me-page-content.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -17,12 +17,12 @@ const onenoteUpdateMePageContent = action("ONENOTE_UPDATE_ME_PAGE_CONTENT", {
|
|
|
17
17
|
target: z.string().describe("The element to update. Use #{data-id} for data-id, generated id for id:, 'body' for first div, or 'title' for page title."),
|
|
18
18
|
content: z.string().describe("HTML content to add to the page. Required for replace, append, insert, and prepend actions.").optional(),
|
|
19
19
|
position: z.enum(["before", "after"]).describe("Enumeration of valid position values for insert/append operations.").optional()
|
|
20
|
-
}).describe("Represents a single content modification command for a OneNote page.\n\nAttributes:\n action: The operation to perform on the target element.\n target: The element ID to modify (format: #{data-id}, id:, body, or title).\n content: HTML content to add or replace. Required for replace, append, insert, prepend actions.\n position: Location relative to target for append/insert operations. Defaults to 'after'.")).describe("Array of patch commands to apply to the page. Each command specifies a target element, action, and optional content and position.")
|
|
20
|
+
}).passthrough().describe("Represents a single content modification command for a OneNote page.\n\nAttributes:\n action: The operation to perform on the target element.\n target: The element ID to modify (format: #{data-id}, id:, body, or title).\n content: HTML content to add or replace. Required for replace, append, insert, prepend actions.\n position: Location relative to target for append/insert operations. Defaults to 'after'.")).describe("Array of patch commands to apply to the page. Each command specifies a target element, action, and optional content and position.")
|
|
21
21
|
}).describe("Request model for updating OneNote page content for the signed-in user.\n\nUse this action when you need to update the content of a specific OneNote page\nowned by the signed-in user by sending patch commands (append, insert, replace,\ndelete, prepend) to modify the page's HTML structure."),
|
|
22
22
|
output: z.object({
|
|
23
23
|
success: z.boolean().default(true).describe("Indicates whether the update operation was successful.").nullable().optional(),
|
|
24
24
|
status_code: z.number().int().describe("HTTP status code of the response. 204 indicates success with no content returned.").nullable().optional()
|
|
25
|
-
}).describe("Response model for the page content update operation.\n\nThe Microsoft Graph API returns a 204 No Content response on successful update.\nThis response model handles that case by indicating the operation was successful.")
|
|
25
|
+
}).passthrough().describe("Response model for the page content update operation.\n\nThe Microsoft Graph API returns a 204 No Content response on successful update.\nThis response model handles that case by indicating the operation was successful.")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { onenoteUpdateMePageContent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-me-page-content.mjs","names":[],"sources":["../../src/actions/update-me-page-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateMePageContentInput
|
|
1
|
+
{"version":3,"file":"update-me-page-content.mjs","names":[],"sources":["../../src/actions/update-me-page-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateMePageContentInput = z.object({\n page_id: z.string().describe(\"The unique identifier of the OneNote page to update.\"),\n commands: z.array(z.object({\n action: z.enum([\"replace\", \"append\", \"delete\", \"insert\", \"prepend\"]).describe(\"The action to perform on the target element. Values: replace, append, delete, insert, prepend.\"),\n target: z.string().describe(\"The element to update. Use #{data-id} for data-id, generated id for id:, 'body' for first div, or 'title' for page title.\"),\n content: z.string().describe(\"HTML content to add to the page. Required for replace, append, insert, and prepend actions.\").optional(),\n position: z.enum([\"before\", \"after\"]).describe(\"Enumeration of valid position values for insert/append operations.\").optional(),\n}).passthrough().describe(\"Represents a single content modification command for a OneNote page.\\n\\nAttributes:\\n action: The operation to perform on the target element.\\n target: The element ID to modify (format: #{data-id}, id:, body, or title).\\n content: HTML content to add or replace. Required for replace, append, insert, prepend actions.\\n position: Location relative to target for append/insert operations. Defaults to 'after'.\")).describe(\"Array of patch commands to apply to the page. Each command specifies a target element, action, and optional content and position.\"),\n}).describe(\"Request model for updating OneNote page content for the signed-in user.\\n\\nUse this action when you need to update the content of a specific OneNote page\\nowned by the signed-in user by sending patch commands (append, insert, replace,\\ndelete, prepend) to modify the page's HTML structure.\");\nexport const OnenoteUpdateMePageContentOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code of the response. 204 indicates success with no content returned.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the page content update operation.\\n\\nThe Microsoft Graph API returns a 204 No Content response on successful update.\\nThis response model handles that case by indicating the operation was successful.\");\n\nexport const onenoteUpdateMePageContent = action(\"ONENOTE_UPDATE_ME_PAGE_CONTENT\", {\n slug: \"onenote-update-me-page-content\",\n name: \"Update my OneNote page content\",\n description: \"Update the content of a OneNote page for the signed-in user. Sends a PATCH request with patch content commands to modify the HTML structure of a OneNote page. Supports appending children, inserting siblings, replacing elements, prepending content, and deleting elements. Use this action when you need to update or modify the content of an existing OneNote page owned by the signed-in user, such as adding new paragraphs, inserting images, modifying lists, or replacing/removing existing elements. This action is idempotent for replace, append, prepend, and insert operations, but delete operations are irreversible — deleted elements cannot be recovered once removed.\",\n input: OnenoteUpdateMePageContentInput,\n output: OnenoteUpdateMePageContentOutput,\n});\n"],"mappings":";;AAkBA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACnF,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,QAAQ,EAAE,KAAK;IAAC;IAAW;IAAU;IAAU;IAAU;GAAS,CAAC,CAAC,CAAC,SAAS,gGAAgG;GAC9K,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;GACvJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;GACrI,UAAU,EAAE,KAAK,CAAC,UAAU,OAAO,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,saAAsa,CAAC,CAAC,CAAC,SAAS,mIAAmI;CAC/kB,CAAC,CAAC,CAAC,SAAS,mSAUH;CACP,QAV8C,EAAE,OAAO;EACvD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6NAOhB;AACV,CAAC"}
|
|
@@ -5,28 +5,28 @@ const OnenoteUpdateMeSectionsInput = zod.z.object({
|
|
|
5
5
|
section_id: zod.z.string().describe("The unique identifier of the OneNote section to update."),
|
|
6
6
|
display_name: zod.z.string().describe("The new name for the section. Must be 50 characters or fewer and cannot contain: ?*/:<>|&#''%~. If not provided, the current name is preserved.").optional()
|
|
7
7
|
}).describe("Request model for updating a OneNote section for the current user's notebooks.");
|
|
8
|
-
const OnenoteUpdateMeSections_ExternalLinkSchema = zod.z.object({ href: zod.z.string().describe("The URL of the link.").nullable().optional() }).describe("Represents a URL that opens a OneNote page, section, or notebook.");
|
|
8
|
+
const OnenoteUpdateMeSections_ExternalLinkSchema = zod.z.object({ href: zod.z.string().describe("The URL of the link.").nullable().optional() }).passthrough().describe("Represents a URL that opens a OneNote page, section, or notebook.");
|
|
9
9
|
const OnenoteUpdateMeSections_SectionLinksSchema = zod.z.object({
|
|
10
10
|
oneNoteWebUrl: OnenoteUpdateMeSections_ExternalLinkSchema.nullable().optional(),
|
|
11
11
|
oneNoteClientUrl: OnenoteUpdateMeSections_ExternalLinkSchema.nullable().optional()
|
|
12
|
-
}).describe("Links for opening a OneNote section.");
|
|
12
|
+
}).passthrough().describe("Links for opening a OneNote section.");
|
|
13
13
|
const OnenoteUpdateMeSections_IdentityUserSchema = zod.z.object({
|
|
14
14
|
id: zod.z.string().describe("The unique identifier of the user.").nullable().optional(),
|
|
15
15
|
displayName: zod.z.string().describe("The display name of the user.").nullable().optional()
|
|
16
|
-
}).describe("Represents the user identity within an identity set.");
|
|
16
|
+
}).passthrough().describe("Represents the user identity within an identity set.");
|
|
17
17
|
const OnenoteUpdateMeSections_IdentityDeviceSchema = zod.z.object({
|
|
18
18
|
id: zod.z.string().describe("The unique identifier of the device.").nullable().optional(),
|
|
19
19
|
displayName: zod.z.string().describe("The display name of the device.").nullable().optional()
|
|
20
|
-
}).describe("Represents the device identity within an identity set.");
|
|
20
|
+
}).passthrough().describe("Represents the device identity within an identity set.");
|
|
21
21
|
const OnenoteUpdateMeSections_IdentityApplicationSchema = zod.z.object({
|
|
22
22
|
id: zod.z.string().describe("The unique identifier of the application.").nullable().optional(),
|
|
23
23
|
displayName: zod.z.string().describe("The display name of the application.").nullable().optional()
|
|
24
|
-
}).describe("Represents the application identity within an identity set.");
|
|
24
|
+
}).passthrough().describe("Represents the application identity within an identity set.");
|
|
25
25
|
const OnenoteUpdateMeSections_IdentitySetSchema = zod.z.object({
|
|
26
26
|
user: OnenoteUpdateMeSections_IdentityUserSchema.nullable().optional(),
|
|
27
27
|
device: OnenoteUpdateMeSections_IdentityDeviceSchema.nullable().optional(),
|
|
28
28
|
application: OnenoteUpdateMeSections_IdentityApplicationSchema.nullable().optional()
|
|
29
|
-
}).describe("Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.");
|
|
29
|
+
}).passthrough().describe("Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.");
|
|
30
30
|
const OnenoteUpdateMeSectionsOutput = zod.z.object({
|
|
31
31
|
id: zod.z.string().describe("The unique identifier of the section. Read-only.").nullable().optional(),
|
|
32
32
|
self: zod.z.string().describe("The endpoint where you can get details about the section. Read-only.").nullable().optional(),
|
|
@@ -39,7 +39,7 @@ const OnenoteUpdateMeSectionsOutput = zod.z.object({
|
|
|
39
39
|
lastModifiedBy: OnenoteUpdateMeSections_IdentitySetSchema.nullable().optional(),
|
|
40
40
|
createdDateTime: zod.z.string().describe("The date and time when the section was created. UTC format (ISO 8601). Read-only.").nullable().optional(),
|
|
41
41
|
lastModifiedDateTime: zod.z.string().describe("The date and time when the section was last modified. UTC format (ISO 8601). Read-only.").nullable().optional()
|
|
42
|
-
}).describe("Full response schema for an updated OneNote section.");
|
|
42
|
+
}).passthrough().describe("Full response schema for an updated OneNote section.");
|
|
43
43
|
const onenoteUpdateMeSections = require_action.action("ONENOTE_UPDATE_ME_SECTIONS", {
|
|
44
44
|
slug: "onenote-update-me-sections",
|
|
45
45
|
name: "Update my OneNote section",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-me-sections.cjs","names":["z","action"],"sources":["../../src/actions/update-me-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateMeSectionsInput
|
|
1
|
+
{"version":3,"file":"update-me-sections.cjs","names":["z","action"],"sources":["../../src/actions/update-me-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateMeSectionsInput = z.object({\n section_id: z.string().describe(\"The unique identifier of the OneNote section to update.\"),\n display_name: z.string().describe(\"The new name for the section. Must be 50 characters or fewer and cannot contain: ?*/:<>|&#''%~. If not provided, the current name is preserved.\").optional(),\n}).describe(\"Request model for updating a OneNote section for the current user's notebooks.\");\nconst OnenoteUpdateMeSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteUpdateMeSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteUpdateMeSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteUpdateMeSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteUpdateMeSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteUpdateMeSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteUpdateMeSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteUpdateMeSections_IdentitySetSchema = z.object({\n user: OnenoteUpdateMeSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteUpdateMeSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteUpdateMeSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteUpdateMeSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteUpdateMeSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteUpdateMeSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"OData context URL for the response.\").nullable().optional(),\n lastModifiedBy: OnenoteUpdateMeSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for an updated OneNote section.\");\n\nexport const onenoteUpdateMeSections = action(\"ONENOTE_UPDATE_ME_SECTIONS\", {\n slug: \"onenote-update-me-sections\",\n name: \"Update my OneNote section\",\n description: \"Updates the navigation property sections in me. Use when you need to modify properties of an existing OneNote section, such as renaming it, within the current user's notebooks. This action uses a PATCH request to update the section entity at the specified path. Use this action when you need to update a specific OneNote section owned by the authenticated user, such as changing its display name. This is an idempotent operation that modifies the specified properties while preserving all other existing values. Note: Only the displayName property can be updated via this endpoint. Other properties like isDefault, createdDateTime, etc. are read-only.\",\n input: OnenoteUpdateMeSectionsInput,\n output: OnenoteUpdateMeSectionsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,9 +1,60 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-me-sections.d.ts
|
|
4
|
-
declare const OnenoteUpdateMeSectionsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OnenoteUpdateMeSectionsInput: z.ZodObject<{
|
|
5
|
+
section_id: z.ZodString;
|
|
6
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const OnenoteUpdateMeSectionsOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
|
+
oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
|
+
pagesUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
|
+
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
|
+
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
35
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
"@odata.context": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
lastModifiedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
38
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
|
+
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
|
+
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
47
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
|
+
}, z.core.$loose>>>;
|
|
51
|
+
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
}, z.core.$loose>;
|
|
54
|
+
declare const onenoteUpdateMeSections: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
|
+
section_id: string;
|
|
56
|
+
display_name?: string | undefined;
|
|
57
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
58
|
//#endregion
|
|
8
59
|
export { onenoteUpdateMeSections };
|
|
9
60
|
//# sourceMappingURL=update-me-sections.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-me-sections.d.cts","names":[],"sources":["../../src/actions/update-me-sections.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"update-me-sections.d.cts","names":[],"sources":["../../src/actions/update-me-sections.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cA4B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,60 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-me-sections.d.ts
|
|
4
|
-
declare const OnenoteUpdateMeSectionsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OnenoteUpdateMeSectionsInput: z.ZodObject<{
|
|
5
|
+
section_id: z.ZodString;
|
|
6
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const OnenoteUpdateMeSectionsOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
|
+
oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
|
+
pagesUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
|
+
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
|
+
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
35
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
"@odata.context": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
lastModifiedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
38
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
|
+
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
|
+
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
47
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
|
+
}, z.core.$loose>>>;
|
|
51
|
+
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
}, z.core.$loose>;
|
|
54
|
+
declare const onenoteUpdateMeSections: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
|
+
section_id: string;
|
|
56
|
+
display_name?: string | undefined;
|
|
57
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
58
|
//#endregion
|
|
8
59
|
export { onenoteUpdateMeSections };
|
|
9
60
|
//# sourceMappingURL=update-me-sections.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-me-sections.d.mts","names":[],"sources":["../../src/actions/update-me-sections.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"update-me-sections.d.mts","names":[],"sources":["../../src/actions/update-me-sections.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cA4B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -5,28 +5,28 @@ const OnenoteUpdateMeSectionsInput = z.object({
|
|
|
5
5
|
section_id: z.string().describe("The unique identifier of the OneNote section to update."),
|
|
6
6
|
display_name: z.string().describe("The new name for the section. Must be 50 characters or fewer and cannot contain: ?*/:<>|&#''%~. If not provided, the current name is preserved.").optional()
|
|
7
7
|
}).describe("Request model for updating a OneNote section for the current user's notebooks.");
|
|
8
|
-
const OnenoteUpdateMeSections_ExternalLinkSchema = z.object({ href: z.string().describe("The URL of the link.").nullable().optional() }).describe("Represents a URL that opens a OneNote page, section, or notebook.");
|
|
8
|
+
const OnenoteUpdateMeSections_ExternalLinkSchema = z.object({ href: z.string().describe("The URL of the link.").nullable().optional() }).passthrough().describe("Represents a URL that opens a OneNote page, section, or notebook.");
|
|
9
9
|
const OnenoteUpdateMeSections_SectionLinksSchema = z.object({
|
|
10
10
|
oneNoteWebUrl: OnenoteUpdateMeSections_ExternalLinkSchema.nullable().optional(),
|
|
11
11
|
oneNoteClientUrl: OnenoteUpdateMeSections_ExternalLinkSchema.nullable().optional()
|
|
12
|
-
}).describe("Links for opening a OneNote section.");
|
|
12
|
+
}).passthrough().describe("Links for opening a OneNote section.");
|
|
13
13
|
const OnenoteUpdateMeSections_IdentityUserSchema = z.object({
|
|
14
14
|
id: z.string().describe("The unique identifier of the user.").nullable().optional(),
|
|
15
15
|
displayName: z.string().describe("The display name of the user.").nullable().optional()
|
|
16
|
-
}).describe("Represents the user identity within an identity set.");
|
|
16
|
+
}).passthrough().describe("Represents the user identity within an identity set.");
|
|
17
17
|
const OnenoteUpdateMeSections_IdentityDeviceSchema = z.object({
|
|
18
18
|
id: z.string().describe("The unique identifier of the device.").nullable().optional(),
|
|
19
19
|
displayName: z.string().describe("The display name of the device.").nullable().optional()
|
|
20
|
-
}).describe("Represents the device identity within an identity set.");
|
|
20
|
+
}).passthrough().describe("Represents the device identity within an identity set.");
|
|
21
21
|
const OnenoteUpdateMeSections_IdentityApplicationSchema = z.object({
|
|
22
22
|
id: z.string().describe("The unique identifier of the application.").nullable().optional(),
|
|
23
23
|
displayName: z.string().describe("The display name of the application.").nullable().optional()
|
|
24
|
-
}).describe("Represents the application identity within an identity set.");
|
|
24
|
+
}).passthrough().describe("Represents the application identity within an identity set.");
|
|
25
25
|
const OnenoteUpdateMeSections_IdentitySetSchema = z.object({
|
|
26
26
|
user: OnenoteUpdateMeSections_IdentityUserSchema.nullable().optional(),
|
|
27
27
|
device: OnenoteUpdateMeSections_IdentityDeviceSchema.nullable().optional(),
|
|
28
28
|
application: OnenoteUpdateMeSections_IdentityApplicationSchema.nullable().optional()
|
|
29
|
-
}).describe("Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.");
|
|
29
|
+
}).passthrough().describe("Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.");
|
|
30
30
|
const onenoteUpdateMeSections = action("ONENOTE_UPDATE_ME_SECTIONS", {
|
|
31
31
|
slug: "onenote-update-me-sections",
|
|
32
32
|
name: "Update my OneNote section",
|
|
@@ -44,7 +44,7 @@ const onenoteUpdateMeSections = action("ONENOTE_UPDATE_ME_SECTIONS", {
|
|
|
44
44
|
lastModifiedBy: OnenoteUpdateMeSections_IdentitySetSchema.nullable().optional(),
|
|
45
45
|
createdDateTime: z.string().describe("The date and time when the section was created. UTC format (ISO 8601). Read-only.").nullable().optional(),
|
|
46
46
|
lastModifiedDateTime: z.string().describe("The date and time when the section was last modified. UTC format (ISO 8601). Read-only.").nullable().optional()
|
|
47
|
-
}).describe("Full response schema for an updated OneNote section.")
|
|
47
|
+
}).passthrough().describe("Full response schema for an updated OneNote section.")
|
|
48
48
|
});
|
|
49
49
|
//#endregion
|
|
50
50
|
export { onenoteUpdateMeSections };
|