@keystrokehq/onenote 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/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 +14 -2
- package/dist/actions/copy-onenote-group-notebook.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/copy-onenote-site-notebook.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/copy-section-to-notebook-for-user2.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/copy-section-to-notebook2.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/copy-section-to-section-group-for-user.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/copy-section-to-section-group.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/copy-site-page-to-section3.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/copy-user-page-to-section.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/count-notebooks-section-groups-sections.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/count-site-notebook-section-groups-sections.d.mts +14 -2
- 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 +25 -13
- package/dist/actions/create-group-notebook.d.mts +25 -13
- 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 +17 -5
- package/dist/actions/create-group-pages.d.mts +17 -5
- 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 +25 -13
- package/dist/actions/create-group-section-groups-sections.d.mts +25 -13
- 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 +25 -13
- package/dist/actions/create-me-notebooks.d.mts +25 -13
- 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 +25 -13
- package/dist/actions/create-me-section-groups-sections.d.mts +25 -13
- 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 +17 -5
- package/dist/actions/create-me-sections-pages.d.mts +17 -5
- 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 +22 -10
- package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts +22 -10
- 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 +25 -13
- package/dist/actions/create-site-notebooks-sections.d.mts +25 -13
- 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 +25 -13
- package/dist/actions/create-user-notebooks-sections.d.mts +25 -13
- 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 +17 -5
- package/dist/actions/create-user-pages.d.mts +17 -5
- 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 +25 -13
- package/dist/actions/create-user-section-groups-sections.d.mts +25 -13
- 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 +17 -5
- package/dist/actions/create-user-sections-pages4.d.mts +17 -5
- 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 +14 -2
- package/dist/actions/delete-onenote-group-section-group-page-content.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/delete-onenote-group-sections-pages2.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/delete-site-pages.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/delete-user-onenote-sections-pages.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/delete-user-pages.d.mts +14 -2
- 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 +41 -29
- package/dist/actions/get-group-sections.d.mts +41 -29
- 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 +14 -2
- package/dist/actions/get-me-onenote-resources-value.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/get-me-section-page-content.d.mts +14 -2
- 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 +25 -13
- package/dist/actions/get-notebook-from-web-url.d.mts +25 -13
- 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 +22 -10
- package/dist/actions/get-notebook-section-group.d.mts +22 -10
- 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 +15 -3
- package/dist/actions/get-onenote-group-operations.d.mts +15 -3
- 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 +19 -7
- package/dist/actions/get-onenote-group-sections-pages.d.mts +19 -7
- 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 +15 -3
- package/dist/actions/get-onenote-site-operations.d.mts +15 -3
- 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 +17 -5
- package/dist/actions/get-onenote-user-page-content.d.mts +17 -5
- 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 +19 -7
- package/dist/actions/get-page.d.mts +19 -7
- 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 +18 -6
- package/dist/actions/get-recent-notebooks.d.mts +18 -6
- 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 +27 -15
- package/dist/actions/get-section.d.mts +27 -15
- 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 +19 -7
- package/dist/actions/get-site-onenote-pages.d.mts +19 -7
- 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 +14 -2
- package/dist/actions/get-site-pages-preview.d.mts +14 -2
- 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 +19 -7
- package/dist/actions/get-site-sections-pages.d.mts +19 -7
- 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 +41 -29
- package/dist/actions/get-site-sections.d.mts +41 -29
- 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 +39 -27
- package/dist/actions/get-user-notebook.d.mts +39 -27
- 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 +19 -7
- package/dist/actions/get-user-pages.d.mts +19 -7
- 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 +22 -10
- package/dist/actions/get-user-parent-section-group2.d.mts +22 -10
- 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 +25 -13
- package/dist/actions/list-group-notebook-section-groups.d.mts +25 -13
- 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 +18 -6
- package/dist/actions/list-group-notebook-section-pages.d.mts +18 -6
- 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 +15 -3
- package/dist/actions/list-group-notebooks.d.mts +15 -3
- 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 +26 -14
- package/dist/actions/list-group-section-groups-sections.d.mts +26 -14
- 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.d.cts +13 -1
- package/dist/actions/list-joined-teams.d.mts +13 -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 +20 -8
- package/dist/actions/list-me-onenote-sections-pages4.d.mts +20 -8
- 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 +18 -6
- package/dist/actions/list-onenote-group-pages.d.mts +18 -6
- 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 +23 -11
- package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts +23 -11
- 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 +18 -6
- package/dist/actions/list-onenote-group-sections-pages4.d.mts +18 -6
- 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 +23 -11
- package/dist/actions/list-site-notebook-section-groups.d.mts +23 -11
- 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 +15 -3
- package/dist/actions/list-site-notebooks.d.mts +15 -3
- 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 +14 -2
- package/dist/actions/list-site-pages-content.d.mts +14 -2
- 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 +26 -14
- package/dist/actions/list-site-sections.d.mts +26 -14
- 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 +26 -14
- package/dist/actions/list-user-notebook-sections.d.mts +26 -14
- 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 +26 -14
- package/dist/actions/list-user-notebooks.d.mts +26 -14
- 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.d.cts +13 -1
- package/dist/actions/resolve-site-by-url.d.mts +13 -1
- package/dist/actions/sites-search.d.cts +13 -1
- package/dist/actions/sites-search.d.mts +13 -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 +16 -3
- package/dist/actions/update-me-page-content.d.mts +16 -3
- 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 +25 -13
- package/dist/actions/update-me-sections.d.mts +25 -13
- 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 +16 -3
- package/dist/actions/update-onenote-page-content.d.mts +16 -3
- 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 +25 -13
- package/dist/actions/update-site-notebooks-sections.d.mts +25 -13
- 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 +16 -3
- package/dist/actions/update-site-pages-content.d.mts +16 -3
- 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 +25 -13
- package/dist/actions/update-site-section-groups-sections.d.mts +25 -13
- 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 +25 -13
- package/dist/actions/update-user-notebooks-sections.d.mts +25 -13
- 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 +1 -1
- package/dist/actions/validate-credential.cjs.map +1 -1
- package/dist/actions/validate-credential.d.cts +14 -2
- package/dist/actions/validate-credential.d.cts.map +1 -1
- package/dist/actions/validate-credential.d.mts +14 -2
- package/dist/actions/validate-credential.d.mts.map +1 -1
- package/dist/actions/validate-credential.mjs +1 -1
- package/dist/actions/validate-credential.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/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-page.mjs","names":[],"sources":["../../src/actions/get-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetPageInput = z.object({\n expand: z.array(z.string()).describe(\"List of relationships to expand inline in the response. Valid values: parentSection, parentNotebook.\").optional(),\n select: z.array(z.string()).describe(\"List of page properties to include in the response. Valid values include: id, self, title, createdDateTime, lastModifiedDateTime, content, contentUrl, createdByAppId, level, order, links, parentSection, parentNotebook.\").optional(),\n page_id: z.string().describe(\"The unique identifier of the OneNote page to retrieve.\"),\n}).describe(\"Request model for getting a specific OneNote page from the authenticated user's OneNote.\");\nconst OnenoteGetPage_PageLinkUrlSchema = z.object({\n href: z.string().describe(\"The URL href value.\").nullable().optional(),\n}).describe(\"A single URL link object.\");\nconst OnenoteGetPage_PageLinksSchema = z.object({\n oneNoteWebUrl: OnenoteGetPage_PageLinkUrlSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetPage_PageLinkUrlSchema.nullable().optional(),\n}).describe(\"Links for opening the OneNote page in client or web.\");\nconst OnenoteGetPage_ParentSectionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the section.\").nullable().optional(),\n self: z.string().describe(\"The endpoint for details about the section.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created (UTC).\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified (UTC).\").nullable().optional(),\n}).describe(\"The section that contains the page.\");\nconst OnenoteGetPage_ParentNotebookSchema = z.object({\n id: z.string().describe(\"The unique identifier of the notebook.\").nullable().optional(),\n self: z.string().describe(\"The endpoint for details about the notebook.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n}).describe(\"The notebook that contains the page.\");\nexport const OnenoteGetPageOutput = z.object({\n id: z.string().describe(\"The unique identifier of the page.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the page.\").nullable().optional(),\n level: z.number().int().describe(\"The indentation level of the page within its parent section.\").nullable().optional(),\n links: OnenoteGetPage_PageLinksSchema.nullable().optional(),\n order: z.number().int().describe(\"The order of the page within its parent section.\").nullable().optional(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n content: z.string().describe(\"The page's HTML content.\").nullable().optional(),\n contentUrl: z.string().describe(\"The URL for the page's HTML content.\").nullable().optional(),\n parentSection: OnenoteGetPage_ParentSectionSchema.nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n createdByAppId: z.string().describe(\"The unique identifier of the application that created the page.\").nullable().optional(),\n parentNotebook: OnenoteGetPage_ParentNotebookSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the page was created (UTC).\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the page was last modified (UTC).\").nullable().optional(),\n}).describe(\"Response model for a single OneNote page retrieved from the authenticated user's OneNote.\");\n\nexport const onenoteGetPage = action(\"ONENOTE_GET_PAGE\", {\n slug: \"onenote-get-page\",\n name: \"Get a OneNote page\",\n description: \"Retrieves metadata and properties of a specific OneNote page from the authenticated user's notebooks. Use this action when you need to fetch details about a OneNote page by its ID without navigating the full notebook/section hierarchy. This returns page metadata including title, creation date, modification date, and optional expanded parent relationships. For retrieving the HTML content of a page, use the dedicated page content endpoint instead.\",\n input: OnenoteGetPageInput,\n output: OnenoteGetPageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACtJ,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;CAC5Q,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AACvF,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,mCAAmC,EAAE,OAAO,EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvE,CAAC,CAAC,CAAC,SAAS,2BAA2B;
|
|
1
|
+
{"version":3,"file":"get-page.mjs","names":[],"sources":["../../src/actions/get-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetPageInput = z.object({\n expand: z.array(z.string()).describe(\"List of relationships to expand inline in the response. Valid values: parentSection, parentNotebook.\").optional(),\n select: z.array(z.string()).describe(\"List of page properties to include in the response. Valid values include: id, self, title, createdDateTime, lastModifiedDateTime, content, contentUrl, createdByAppId, level, order, links, parentSection, parentNotebook.\").optional(),\n page_id: z.string().describe(\"The unique identifier of the OneNote page to retrieve.\"),\n}).describe(\"Request model for getting a specific OneNote page from the authenticated user's OneNote.\");\nconst OnenoteGetPage_PageLinkUrlSchema = z.object({\n href: z.string().describe(\"The URL href value.\").nullable().optional(),\n}).passthrough().describe(\"A single URL link object.\");\nconst OnenoteGetPage_PageLinksSchema = z.object({\n oneNoteWebUrl: OnenoteGetPage_PageLinkUrlSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetPage_PageLinkUrlSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening the OneNote page in client or web.\");\nconst OnenoteGetPage_ParentSectionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the section.\").nullable().optional(),\n self: z.string().describe(\"The endpoint for details about the section.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created (UTC).\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified (UTC).\").nullable().optional(),\n}).passthrough().describe(\"The section that contains the page.\");\nconst OnenoteGetPage_ParentNotebookSchema = z.object({\n id: z.string().describe(\"The unique identifier of the notebook.\").nullable().optional(),\n self: z.string().describe(\"The endpoint for details about the notebook.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n}).passthrough().describe(\"The notebook that contains the page.\");\nexport const OnenoteGetPageOutput = z.object({\n id: z.string().describe(\"The unique identifier of the page.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the page.\").nullable().optional(),\n level: z.number().int().describe(\"The indentation level of the page within its parent section.\").nullable().optional(),\n links: OnenoteGetPage_PageLinksSchema.nullable().optional(),\n order: z.number().int().describe(\"The order of the page within its parent section.\").nullable().optional(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n content: z.string().describe(\"The page's HTML content.\").nullable().optional(),\n contentUrl: z.string().describe(\"The URL for the page's HTML content.\").nullable().optional(),\n parentSection: OnenoteGetPage_ParentSectionSchema.nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n createdByAppId: z.string().describe(\"The unique identifier of the application that created the page.\").nullable().optional(),\n parentNotebook: OnenoteGetPage_ParentNotebookSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the page was created (UTC).\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the page was last modified (UTC).\").nullable().optional(),\n}).passthrough().describe(\"Response model for a single OneNote page retrieved from the authenticated user's OneNote.\");\n\nexport const onenoteGetPage = action(\"ONENOTE_GET_PAGE\", {\n slug: \"onenote-get-page\",\n name: \"Get a OneNote page\",\n description: \"Retrieves metadata and properties of a specific OneNote page from the authenticated user's notebooks. Use this action when you need to fetch details about a OneNote page by its ID without navigating the full notebook/section hierarchy. This returns page metadata including title, creation date, modification date, and optional expanded parent relationships. For retrieving the HTML content of a page, use the dedicated page content endpoint instead.\",\n input: OnenoteGetPageInput,\n output: OnenoteGetPageOutput,\n});\n"],"mappings":"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"}
|
|
@@ -9,21 +9,21 @@ const OnenoteGetRecentNotebooksInput = zod.z.object({
|
|
|
9
9
|
search: zod.z.string().describe("Search items by search phrases.").optional(),
|
|
10
10
|
include_personal_notebooks: zod.z.boolean().describe("Include notebooks owned by the user. Set to true to include notebooks owned by the user; set to false to exclude them. This parameter is required.")
|
|
11
11
|
}).describe("Request model for retrieving recently accessed OneNote notebooks.");
|
|
12
|
-
const OnenoteGetRecentNotebooks_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 or notebook.");
|
|
12
|
+
const OnenoteGetRecentNotebooks_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 or notebook.");
|
|
13
13
|
const OnenoteGetRecentNotebooks_RecentNotebookLinksSchema = zod.z.object({
|
|
14
14
|
oneNoteWebUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional(),
|
|
15
15
|
oneNoteClientUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional()
|
|
16
|
-
}).describe("Links for opening a OneNote notebook.");
|
|
16
|
+
}).passthrough().describe("Links for opening a OneNote notebook.");
|
|
17
17
|
const OnenoteGetRecentNotebooks_RecentNotebookSchema = zod.z.object({
|
|
18
18
|
links: OnenoteGetRecentNotebooks_RecentNotebookLinksSchema.nullable().optional(),
|
|
19
19
|
displayName: zod.z.string().describe("The name of the notebook.").nullable().optional(),
|
|
20
20
|
sourceService: zod.z.string().describe("The backend store where the notebook resides: OneDriveForBusiness or OneDrive.").nullable().optional(),
|
|
21
21
|
lastAccessedTime: zod.z.string().describe("The date and time when the notebook was last accessed. The timestamp uses ISO 8601 format in UTC.").nullable().optional()
|
|
22
|
-
}).describe("Represents a recently accessed OneNote notebook.");
|
|
22
|
+
}).passthrough().describe("Represents a recently accessed OneNote notebook.");
|
|
23
23
|
const OnenoteGetRecentNotebooksOutput = zod.z.object({
|
|
24
24
|
value: zod.z.array(OnenoteGetRecentNotebooks_RecentNotebookSchema).describe("List of recently accessed OneNote notebooks ordered by last access time.").nullable().optional(),
|
|
25
25
|
"@odata.context": zod.z.string().describe("OData context URL that identifies the metadata schema.").nullable().optional()
|
|
26
|
-
}).describe("Response model containing recently accessed notebooks.");
|
|
26
|
+
}).passthrough().describe("Response model containing recently accessed notebooks.");
|
|
27
27
|
const onenoteGetRecentNotebooks = require_action.action("ONENOTE_GET_RECENT_NOTEBOOKS", {
|
|
28
28
|
slug: "onenote-get-recent-notebooks",
|
|
29
29
|
name: "Get recent notebooks",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-recent-notebooks.cjs","names":["z","action"],"sources":["../../src/actions/get-recent-notebooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetRecentNotebooksInput = z.object({\n top: z.number().int().default(25).describe(\"The number of notebooks to return. Default is 25. Maximum is 100.\").optional(),\n skip: z.number().int().describe(\"The number of items to skip before returning results.\").optional(),\n count: z.boolean().describe(\"Include count of items in the response.\").optional(),\n filter: z.string().describe(\"Filter items by property values using OData filter syntax.\").optional(),\n search: z.string().describe(\"Search items by search phrases.\").optional(),\n include_personal_notebooks: z.boolean().describe(\"Include notebooks owned by the user. Set to true to include notebooks owned by the user; set to false to exclude them. This parameter is required.\"),\n}).describe(\"Request model for retrieving recently accessed OneNote notebooks.\");\nconst OnenoteGetRecentNotebooks_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).describe(\"Represents a URL that opens a OneNote page or notebook.\");\nconst OnenoteGetRecentNotebooks_RecentNotebookLinksSchema = z.object({\n oneNoteWebUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote notebook.\");\nconst OnenoteGetRecentNotebooks_RecentNotebookSchema = z.object({\n links: OnenoteGetRecentNotebooks_RecentNotebookLinksSchema.nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n sourceService: z.string().describe(\"The backend store where the notebook resides: OneDriveForBusiness or OneDrive.\").nullable().optional(),\n lastAccessedTime: z.string().describe(\"The date and time when the notebook was last accessed. The timestamp uses ISO 8601 format in UTC.\").nullable().optional(),\n}).describe(\"Represents a recently accessed OneNote notebook.\");\nexport const OnenoteGetRecentNotebooksOutput = z.object({\n value: z.array(OnenoteGetRecentNotebooks_RecentNotebookSchema).describe(\"List of recently accessed OneNote notebooks ordered by last access time.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"OData context URL that identifies the metadata schema.\").nullable().optional(),\n}).describe(\"Response model containing recently accessed notebooks.\");\n\nexport const onenoteGetRecentNotebooks = action(\"ONENOTE_GET_RECENT_NOTEBOOKS\", {\n slug: \"onenote-get-recent-notebooks\",\n name: \"Get recent notebooks\",\n description: \"Retrieves a list of recently accessed OneNote notebooks for the signed-in user. Use this action when you need to display recently accessed notebooks, provide quick access to notebooks the user has been working with, or build a recent notebooks feature. The notebooks are returned in order of most recent access. Set includePersonalNotebooks to true to include notebooks owned by the user, or false to exclude them.\",\n input: OnenoteGetRecentNotebooksInput,\n output: OnenoteGetRecentNotebooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACzH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,4BAA4BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oJAAoJ;AACvM,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,+CAA+CA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"get-recent-notebooks.cjs","names":["z","action"],"sources":["../../src/actions/get-recent-notebooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetRecentNotebooksInput = z.object({\n top: z.number().int().default(25).describe(\"The number of notebooks to return. Default is 25. Maximum is 100.\").optional(),\n skip: z.number().int().describe(\"The number of items to skip before returning results.\").optional(),\n count: z.boolean().describe(\"Include count of items in the response.\").optional(),\n filter: z.string().describe(\"Filter items by property values using OData filter syntax.\").optional(),\n search: z.string().describe(\"Search items by search phrases.\").optional(),\n include_personal_notebooks: z.boolean().describe(\"Include notebooks owned by the user. Set to true to include notebooks owned by the user; set to false to exclude them. This parameter is required.\"),\n}).describe(\"Request model for retrieving recently accessed OneNote notebooks.\");\nconst OnenoteGetRecentNotebooks_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 or notebook.\");\nconst OnenoteGetRecentNotebooks_RecentNotebookLinksSchema = z.object({\n oneNoteWebUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote notebook.\");\nconst OnenoteGetRecentNotebooks_RecentNotebookSchema = z.object({\n links: OnenoteGetRecentNotebooks_RecentNotebookLinksSchema.nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n sourceService: z.string().describe(\"The backend store where the notebook resides: OneDriveForBusiness or OneDrive.\").nullable().optional(),\n lastAccessedTime: z.string().describe(\"The date and time when the notebook was last accessed. The timestamp uses ISO 8601 format in UTC.\").nullable().optional(),\n}).passthrough().describe(\"Represents a recently accessed OneNote notebook.\");\nexport const OnenoteGetRecentNotebooksOutput = z.object({\n value: z.array(OnenoteGetRecentNotebooks_RecentNotebookSchema).describe(\"List of recently accessed OneNote notebooks ordered by last access time.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"OData context URL that identifies the metadata schema.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing recently accessed notebooks.\");\n\nexport const onenoteGetRecentNotebooks = action(\"ONENOTE_GET_RECENT_NOTEBOOKS\", {\n slug: \"onenote-get-recent-notebooks\",\n name: \"Get recent notebooks\",\n description: \"Retrieves a list of recently accessed OneNote notebooks for the signed-in user. Use this action when you need to display recently accessed notebooks, provide quick access to notebooks the user has been working with, or build a recent notebooks feature. The notebooks are returned in order of most recent access. Set includePersonalNotebooks to true to include notebooks owned by the user, or false to exclude them.\",\n input: OnenoteGetRecentNotebooksInput,\n output: OnenoteGetRecentNotebooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACzH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,4BAA4BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oJAAoJ;AACvM,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,+CAA+CA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,eAAe,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAChF,kBAAkB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,OAAO,oDAAoD,SAAS,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,17 +14,17 @@ declare const OnenoteGetRecentNotebooksOutput: z.ZodObject<{
|
|
|
14
14
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15
15
|
oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
18
|
oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
19
19
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
22
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
sourceService: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
lastAccessedTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>>;
|
|
26
26
|
"@odata.context": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const onenoteGetRecentNotebooks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
include_personal_notebooks: boolean;
|
|
30
30
|
top?: number | undefined;
|
|
@@ -32,7 +32,19 @@ declare const onenoteGetRecentNotebooks: import("@keystrokehq/action").WorkflowA
|
|
|
32
32
|
count?: boolean | undefined;
|
|
33
33
|
filter?: string | undefined;
|
|
34
34
|
search?: string | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
35
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
|
|
36
|
+
connectionId: z.ZodString;
|
|
37
|
+
entityId: z.ZodString;
|
|
38
|
+
instanceId: z.ZodString;
|
|
39
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
+
accessToken: z.ZodString;
|
|
41
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
|
|
42
|
+
connectionId: z.ZodString;
|
|
43
|
+
entityId: z.ZodString;
|
|
44
|
+
instanceId: z.ZodString;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
accessToken: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>]>;
|
|
36
48
|
//#endregion
|
|
37
49
|
export { onenoteGetRecentNotebooks };
|
|
38
50
|
//# sourceMappingURL=get-recent-notebooks.d.cts.map
|
|
@@ -14,17 +14,17 @@ declare const OnenoteGetRecentNotebooksOutput: z.ZodObject<{
|
|
|
14
14
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15
15
|
oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
18
|
oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
19
19
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
22
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
sourceService: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
lastAccessedTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>>;
|
|
26
26
|
"@odata.context": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const onenoteGetRecentNotebooks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
include_personal_notebooks: boolean;
|
|
30
30
|
top?: number | undefined;
|
|
@@ -32,7 +32,19 @@ declare const onenoteGetRecentNotebooks: import("@keystrokehq/action").WorkflowA
|
|
|
32
32
|
count?: boolean | undefined;
|
|
33
33
|
filter?: string | undefined;
|
|
34
34
|
search?: string | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
35
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
|
|
36
|
+
connectionId: z.ZodString;
|
|
37
|
+
entityId: z.ZodString;
|
|
38
|
+
instanceId: z.ZodString;
|
|
39
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
+
accessToken: z.ZodString;
|
|
41
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
|
|
42
|
+
connectionId: z.ZodString;
|
|
43
|
+
entityId: z.ZodString;
|
|
44
|
+
instanceId: z.ZodString;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
accessToken: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>]>;
|
|
36
48
|
//#endregion
|
|
37
49
|
export { onenoteGetRecentNotebooks };
|
|
38
50
|
//# sourceMappingURL=get-recent-notebooks.d.mts.map
|
|
@@ -9,17 +9,17 @@ const OnenoteGetRecentNotebooksInput = z.object({
|
|
|
9
9
|
search: z.string().describe("Search items by search phrases.").optional(),
|
|
10
10
|
include_personal_notebooks: z.boolean().describe("Include notebooks owned by the user. Set to true to include notebooks owned by the user; set to false to exclude them. This parameter is required.")
|
|
11
11
|
}).describe("Request model for retrieving recently accessed OneNote notebooks.");
|
|
12
|
-
const OnenoteGetRecentNotebooks_ExternalLinkSchema = z.object({ href: z.string().describe("The URL of the link.").nullable().optional() }).describe("Represents a URL that opens a OneNote page or notebook.");
|
|
12
|
+
const OnenoteGetRecentNotebooks_ExternalLinkSchema = z.object({ href: z.string().describe("The URL of the link.").nullable().optional() }).passthrough().describe("Represents a URL that opens a OneNote page or notebook.");
|
|
13
13
|
const OnenoteGetRecentNotebooks_RecentNotebookLinksSchema = z.object({
|
|
14
14
|
oneNoteWebUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional(),
|
|
15
15
|
oneNoteClientUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional()
|
|
16
|
-
}).describe("Links for opening a OneNote notebook.");
|
|
16
|
+
}).passthrough().describe("Links for opening a OneNote notebook.");
|
|
17
17
|
const OnenoteGetRecentNotebooks_RecentNotebookSchema = z.object({
|
|
18
18
|
links: OnenoteGetRecentNotebooks_RecentNotebookLinksSchema.nullable().optional(),
|
|
19
19
|
displayName: z.string().describe("The name of the notebook.").nullable().optional(),
|
|
20
20
|
sourceService: z.string().describe("The backend store where the notebook resides: OneDriveForBusiness or OneDrive.").nullable().optional(),
|
|
21
21
|
lastAccessedTime: z.string().describe("The date and time when the notebook was last accessed. The timestamp uses ISO 8601 format in UTC.").nullable().optional()
|
|
22
|
-
}).describe("Represents a recently accessed OneNote notebook.");
|
|
22
|
+
}).passthrough().describe("Represents a recently accessed OneNote notebook.");
|
|
23
23
|
const onenoteGetRecentNotebooks = action("ONENOTE_GET_RECENT_NOTEBOOKS", {
|
|
24
24
|
slug: "onenote-get-recent-notebooks",
|
|
25
25
|
name: "Get recent notebooks",
|
|
@@ -28,7 +28,7 @@ const onenoteGetRecentNotebooks = action("ONENOTE_GET_RECENT_NOTEBOOKS", {
|
|
|
28
28
|
output: z.object({
|
|
29
29
|
value: z.array(OnenoteGetRecentNotebooks_RecentNotebookSchema).describe("List of recently accessed OneNote notebooks ordered by last access time.").nullable().optional(),
|
|
30
30
|
"@odata.context": z.string().describe("OData context URL that identifies the metadata schema.").nullable().optional()
|
|
31
|
-
}).describe("Response model containing recently accessed notebooks.")
|
|
31
|
+
}).passthrough().describe("Response model containing recently accessed notebooks.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { onenoteGetRecentNotebooks };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-recent-notebooks.mjs","names":[],"sources":["../../src/actions/get-recent-notebooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetRecentNotebooksInput = z.object({\n top: z.number().int().default(25).describe(\"The number of notebooks to return. Default is 25. Maximum is 100.\").optional(),\n skip: z.number().int().describe(\"The number of items to skip before returning results.\").optional(),\n count: z.boolean().describe(\"Include count of items in the response.\").optional(),\n filter: z.string().describe(\"Filter items by property values using OData filter syntax.\").optional(),\n search: z.string().describe(\"Search items by search phrases.\").optional(),\n include_personal_notebooks: z.boolean().describe(\"Include notebooks owned by the user. Set to true to include notebooks owned by the user; set to false to exclude them. This parameter is required.\"),\n}).describe(\"Request model for retrieving recently accessed OneNote notebooks.\");\nconst OnenoteGetRecentNotebooks_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).describe(\"Represents a URL that opens a OneNote page or notebook.\");\nconst OnenoteGetRecentNotebooks_RecentNotebookLinksSchema = z.object({\n oneNoteWebUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote notebook.\");\nconst OnenoteGetRecentNotebooks_RecentNotebookSchema = z.object({\n links: OnenoteGetRecentNotebooks_RecentNotebookLinksSchema.nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n sourceService: z.string().describe(\"The backend store where the notebook resides: OneDriveForBusiness or OneDrive.\").nullable().optional(),\n lastAccessedTime: z.string().describe(\"The date and time when the notebook was last accessed. The timestamp uses ISO 8601 format in UTC.\").nullable().optional(),\n}).describe(\"Represents a recently accessed OneNote notebook.\");\nexport const OnenoteGetRecentNotebooksOutput = z.object({\n value: z.array(OnenoteGetRecentNotebooks_RecentNotebookSchema).describe(\"List of recently accessed OneNote notebooks ordered by last access time.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"OData context URL that identifies the metadata schema.\").nullable().optional(),\n}).describe(\"Response model containing recently accessed notebooks.\");\n\nexport const onenoteGetRecentNotebooks = action(\"ONENOTE_GET_RECENT_NOTEBOOKS\", {\n slug: \"onenote-get-recent-notebooks\",\n name: \"Get recent notebooks\",\n description: \"Retrieves a list of recently accessed OneNote notebooks for the signed-in user. Use this action when you need to display recently accessed notebooks, provide quick access to notebooks the user has been working with, or build a recent notebooks feature. The notebooks are returned in order of most recent access. Set includePersonalNotebooks to true to include notebooks owned by the user, or false to exclude them.\",\n input: OnenoteGetRecentNotebooksInput,\n output: OnenoteGetRecentNotebooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACzH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,4BAA4B,EAAE,QAAQ,CAAC,CAAC,SAAS,oJAAoJ;AACvM,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,+CAA+C,EAAE,OAAO,EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"get-recent-notebooks.mjs","names":[],"sources":["../../src/actions/get-recent-notebooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetRecentNotebooksInput = z.object({\n top: z.number().int().default(25).describe(\"The number of notebooks to return. Default is 25. Maximum is 100.\").optional(),\n skip: z.number().int().describe(\"The number of items to skip before returning results.\").optional(),\n count: z.boolean().describe(\"Include count of items in the response.\").optional(),\n filter: z.string().describe(\"Filter items by property values using OData filter syntax.\").optional(),\n search: z.string().describe(\"Search items by search phrases.\").optional(),\n include_personal_notebooks: z.boolean().describe(\"Include notebooks owned by the user. Set to true to include notebooks owned by the user; set to false to exclude them. This parameter is required.\"),\n}).describe(\"Request model for retrieving recently accessed OneNote notebooks.\");\nconst OnenoteGetRecentNotebooks_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 or notebook.\");\nconst OnenoteGetRecentNotebooks_RecentNotebookLinksSchema = z.object({\n oneNoteWebUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote notebook.\");\nconst OnenoteGetRecentNotebooks_RecentNotebookSchema = z.object({\n links: OnenoteGetRecentNotebooks_RecentNotebookLinksSchema.nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n sourceService: z.string().describe(\"The backend store where the notebook resides: OneDriveForBusiness or OneDrive.\").nullable().optional(),\n lastAccessedTime: z.string().describe(\"The date and time when the notebook was last accessed. The timestamp uses ISO 8601 format in UTC.\").nullable().optional(),\n}).passthrough().describe(\"Represents a recently accessed OneNote notebook.\");\nexport const OnenoteGetRecentNotebooksOutput = z.object({\n value: z.array(OnenoteGetRecentNotebooks_RecentNotebookSchema).describe(\"List of recently accessed OneNote notebooks ordered by last access time.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"OData context URL that identifies the metadata schema.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing recently accessed notebooks.\");\n\nexport const onenoteGetRecentNotebooks = action(\"ONENOTE_GET_RECENT_NOTEBOOKS\", {\n slug: \"onenote-get-recent-notebooks\",\n name: \"Get recent notebooks\",\n description: \"Retrieves a list of recently accessed OneNote notebooks for the signed-in user. Use this action when you need to display recently accessed notebooks, provide quick access to notebooks the user has been working with, or build a recent notebooks feature. The notebooks are returned in order of most recent access. Set includePersonalNotebooks to true to include notebooks owned by the user, or false to exclude them.\",\n input: OnenoteGetRecentNotebooksInput,\n output: OnenoteGetRecentNotebooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACzH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,4BAA4B,EAAE,QAAQ,CAAC,CAAC,SAAS,oJAAoJ;AACvM,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,+CAA+C,EAAE,OAAO,EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,sDAAsD,EAAE,OAAO;CACnE,eAAe,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAChF,kBAAkB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,OAAO,oDAAoD,SAAS,CAAC,CAAC,SAAS;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAM5E,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,OAAO,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -6,30 +6,30 @@ const OnenoteGetSectionInput = zod.z.object({
|
|
|
6
6
|
select: zod.z.array(zod.z.string()).describe("List of section properties to include in the response. Valid values include: id, self, createdDateTime, displayName, createdBy, lastModifiedBy, lastModifiedDateTime, isDefault, links, pagesUrl, parentNotebook, parentSectionGroup.").optional(),
|
|
7
7
|
section_id: zod.z.string().describe("The unique identifier of the OneNote section to retrieve.")
|
|
8
8
|
}).describe("Request model for retrieving a specific OneNote section by its ID.");
|
|
9
|
-
const OnenoteGetSection_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 or notebook.");
|
|
9
|
+
const OnenoteGetSection_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 or notebook.");
|
|
10
10
|
const OnenoteGetSection_SectionLinksSchema = zod.z.object({
|
|
11
11
|
oneNoteWebUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),
|
|
12
12
|
oneNoteClientUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional()
|
|
13
|
-
}).describe("Links for opening a OneNote section.");
|
|
13
|
+
}).passthrough().describe("Links for opening a OneNote section.");
|
|
14
14
|
const OnenoteGetSection_IdentitySchema = zod.z.object({
|
|
15
15
|
id: zod.z.string().describe("Unique identifier for the identity.").nullable().optional(),
|
|
16
16
|
displayName: zod.z.string().describe("The display name of the identity.").nullable().optional()
|
|
17
|
-
}).describe("Represents an identity of an actor (user, device, or application).");
|
|
17
|
+
}).passthrough().describe("Represents an identity of an actor (user, device, or application).");
|
|
18
18
|
const OnenoteGetSection_IdentitySetSchema = zod.z.object({
|
|
19
19
|
user: OnenoteGetSection_IdentitySchema.nullable().optional(),
|
|
20
20
|
device: OnenoteGetSection_IdentitySchema.nullable().optional(),
|
|
21
21
|
application: OnenoteGetSection_IdentitySchema.nullable().optional()
|
|
22
|
-
}).describe("Represents a keyed collection of identity resources.");
|
|
22
|
+
}).passthrough().describe("Represents a keyed collection of identity resources.");
|
|
23
23
|
const OnenoteGetSection_ParentNotebookSchema = zod.z.object({
|
|
24
24
|
id: zod.z.string().describe("The unique identifier of the notebook.").nullable().optional(),
|
|
25
25
|
self: zod.z.string().describe("The endpoint where you can get details about the notebook.").nullable().optional(),
|
|
26
26
|
displayName: zod.z.string().describe("The name of the notebook.").nullable().optional()
|
|
27
|
-
}).describe("The notebook that contains the section.");
|
|
27
|
+
}).passthrough().describe("The notebook that contains the section.");
|
|
28
28
|
const OnenoteGetSection_ParentSectionGroupSchema = zod.z.object({
|
|
29
29
|
id: zod.z.string().describe("The unique identifier of the section group.").nullable().optional(),
|
|
30
30
|
self: zod.z.string().describe("The endpoint where you can get details about the section group.").nullable().optional(),
|
|
31
31
|
displayName: zod.z.string().describe("The name of the section group.").nullable().optional()
|
|
32
|
-
}).describe("The section group that contains the section.");
|
|
32
|
+
}).passthrough().describe("The section group that contains the section.");
|
|
33
33
|
const OnenoteGetSectionOutput = zod.z.object({
|
|
34
34
|
id: zod.z.string().describe("The unique identifier of the section.").nullable().optional(),
|
|
35
35
|
self: zod.z.string().describe("The endpoint where you can get details about the section.").nullable().optional(),
|
|
@@ -45,7 +45,7 @@ const OnenoteGetSectionOutput = zod.z.object({
|
|
|
45
45
|
createdDateTime: zod.z.string().describe("The date and time when the section was created. ISO 8601 format in UTC time.").nullable().optional(),
|
|
46
46
|
parentSectionGroup: OnenoteGetSection_ParentSectionGroupSchema.nullable().optional(),
|
|
47
47
|
lastModifiedDateTime: zod.z.string().describe("The date and time when the section was last modified. ISO 8601 format in UTC time.").nullable().optional()
|
|
48
|
-
}).describe("Response model for retrieving a OneNote section.");
|
|
48
|
+
}).passthrough().describe("Response model for retrieving a OneNote section.");
|
|
49
49
|
const onenoteGetSection = require_action.action("ONENOTE_GET_SECTION", {
|
|
50
50
|
slug: "onenote-get-section",
|
|
51
51
|
name: "Get a OneNote section by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-section.cjs","names":["z","action"],"sources":["../../src/actions/get-section.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetSectionInput = z.object({\n expand: z.array(z.string()).describe(\"List of relationships to expand inline in the response. Valid values: parentNotebook, parentSectionGroup.\").optional(),\n select: z.array(z.string()).describe(\"List of section properties to include in the response. Valid values include: id, self, createdDateTime, displayName, createdBy, lastModifiedBy, lastModifiedDateTime, isDefault, links, pagesUrl, parentNotebook, parentSectionGroup.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to retrieve.\"),\n}).describe(\"Request model for retrieving a specific OneNote section by its ID.\");\nconst OnenoteGetSection_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).describe(\"Represents a URL that opens a OneNote page or notebook.\");\nconst OnenoteGetSection_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote section.\");\nconst OnenoteGetSection_IdentitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).describe(\"Represents an identity of an actor (user, device, or application).\");\nconst OnenoteGetSection_IdentitySetSchema = z.object({\n user: OnenoteGetSection_IdentitySchema.nullable().optional(),\n device: OnenoteGetSection_IdentitySchema.nullable().optional(),\n application: OnenoteGetSection_IdentitySchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources.\");\nconst OnenoteGetSection_ParentNotebookSchema = z.object({\n id: z.string().describe(\"The unique identifier of the notebook.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the notebook.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n}).describe(\"The notebook that contains the section.\");\nconst OnenoteGetSection_ParentSectionGroupSchema = z.object({\n id: z.string().describe(\"The unique identifier of the section group.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section group.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section group.\").nullable().optional(),\n}).describe(\"The section group that contains the section.\");\nexport const OnenoteGetSectionOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section.\").nullable().optional(),\n links: OnenoteGetSection_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint where you can get details for all the pages in the section.\").nullable().optional(),\n createdBy: OnenoteGetSection_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section.\").nullable().optional(),\n \"@odata.etag\": z.string().describe(\"The OData ETag.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n lastModifiedBy: OnenoteGetSection_IdentitySetSchema.nullable().optional(),\n parentNotebook: OnenoteGetSection_ParentNotebookSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. ISO 8601 format in UTC time.\").nullable().optional(),\n parentSectionGroup: OnenoteGetSection_ParentSectionGroupSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. ISO 8601 format in UTC time.\").nullable().optional(),\n}).describe(\"Response model for retrieving a OneNote section.\");\n\nexport const onenoteGetSection = action(\"ONENOTE_GET_SECTION\", {\n slug: \"onenote-get-section\",\n name: \"Get a OneNote section by ID\",\n description: \"Retrieves a specific OneNote section by its ID from the current user's OneNote. Use this action when you need to fetch metadata or details for a single OneNote section by specifying only the section ID, without requiring additional context like group, user, or site IDs. This action supports OData query parameters for selecting specific properties and expanding relationships like parentNotebook or parentSectionGroup.\",\n input: OnenoteGetSectionInput,\n output: OnenoteGetSectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC3J,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uOAAuO,CAAC,CAAC,SAAS;CACvR,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC7F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,uCAAuCA,IAAAA,EAAE,OAAO,EACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"get-section.cjs","names":["z","action"],"sources":["../../src/actions/get-section.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetSectionInput = z.object({\n expand: z.array(z.string()).describe(\"List of relationships to expand inline in the response. Valid values: parentNotebook, parentSectionGroup.\").optional(),\n select: z.array(z.string()).describe(\"List of section properties to include in the response. Valid values include: id, self, createdDateTime, displayName, createdBy, lastModifiedBy, lastModifiedDateTime, isDefault, links, pagesUrl, parentNotebook, parentSectionGroup.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to retrieve.\"),\n}).describe(\"Request model for retrieving a specific OneNote section by its ID.\");\nconst OnenoteGetSection_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 or notebook.\");\nconst OnenoteGetSection_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteGetSection_IdentitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).passthrough().describe(\"Represents an identity of an actor (user, device, or application).\");\nconst OnenoteGetSection_IdentitySetSchema = z.object({\n user: OnenoteGetSection_IdentitySchema.nullable().optional(),\n device: OnenoteGetSection_IdentitySchema.nullable().optional(),\n application: OnenoteGetSection_IdentitySchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources.\");\nconst OnenoteGetSection_ParentNotebookSchema = z.object({\n id: z.string().describe(\"The unique identifier of the notebook.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the notebook.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n}).passthrough().describe(\"The notebook that contains the section.\");\nconst OnenoteGetSection_ParentSectionGroupSchema = z.object({\n id: z.string().describe(\"The unique identifier of the section group.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section group.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section group.\").nullable().optional(),\n}).passthrough().describe(\"The section group that contains the section.\");\nexport const OnenoteGetSectionOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section.\").nullable().optional(),\n links: OnenoteGetSection_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint where you can get details for all the pages in the section.\").nullable().optional(),\n createdBy: OnenoteGetSection_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section.\").nullable().optional(),\n \"@odata.etag\": z.string().describe(\"The OData ETag.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n lastModifiedBy: OnenoteGetSection_IdentitySetSchema.nullable().optional(),\n parentNotebook: OnenoteGetSection_ParentNotebookSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. ISO 8601 format in UTC time.\").nullable().optional(),\n parentSectionGroup: OnenoteGetSection_ParentSectionGroupSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. ISO 8601 format in UTC time.\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a OneNote section.\");\n\nexport const onenoteGetSection = action(\"ONENOTE_GET_SECTION\", {\n slug: \"onenote-get-section\",\n name: \"Get a OneNote section by ID\",\n description: \"Retrieves a specific OneNote section by its ID from the current user's OneNote. Use this action when you need to fetch metadata or details for a single OneNote section by specifying only the section ID, without requiring additional context like group, user, or site IDs. This action supports OData query parameters for selecting specific properties and expanding relationships like parentNotebook or parentSectionGroup.\",\n input: OnenoteGetSectionInput,\n output: OnenoteGetSectionOutput,\n});\n"],"mappings":"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"}
|
|
@@ -12,26 +12,26 @@ declare const OnenoteGetSectionOutput: z.ZodObject<{
|
|
|
12
12
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
13
|
oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
17
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
19
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
20
|
pagesUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
22
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23
23
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
26
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
27
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
30
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
35
|
isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
36
36
|
"@odata.etag": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -40,34 +40,46 @@ declare const OnenoteGetSectionOutput: z.ZodObject<{
|
|
|
40
40
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
41
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
44
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
45
45
|
id: 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
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
-
}, z.core.$
|
|
52
|
-
}, z.core.$
|
|
51
|
+
}, z.core.$loose>>>;
|
|
52
|
+
}, z.core.$loose>>>;
|
|
53
53
|
parentNotebook: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
54
54
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
56
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
-
}, z.core.$
|
|
57
|
+
}, z.core.$loose>>>;
|
|
58
58
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
parentSectionGroup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
60
60
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
61
|
self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
62
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
-
}, z.core.$
|
|
63
|
+
}, z.core.$loose>>>;
|
|
64
64
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
-
}, z.core.$
|
|
65
|
+
}, z.core.$loose>;
|
|
66
66
|
declare const onenoteGetSection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
67
67
|
section_id: string;
|
|
68
68
|
expand?: string[] | undefined;
|
|
69
69
|
select?: string[] | undefined;
|
|
70
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
70
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
|
|
71
|
+
connectionId: z.ZodString;
|
|
72
|
+
entityId: z.ZodString;
|
|
73
|
+
instanceId: z.ZodString;
|
|
74
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
75
|
+
accessToken: z.ZodString;
|
|
76
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
|
|
77
|
+
connectionId: z.ZodString;
|
|
78
|
+
entityId: z.ZodString;
|
|
79
|
+
instanceId: z.ZodString;
|
|
80
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
81
|
+
accessToken: z.ZodString;
|
|
82
|
+
}, z.core.$strip>>]>;
|
|
71
83
|
//#endregion
|
|
72
84
|
export { onenoteGetSection };
|
|
73
85
|
//# sourceMappingURL=get-section.d.cts.map
|
|
@@ -12,26 +12,26 @@ declare const OnenoteGetSectionOutput: z.ZodObject<{
|
|
|
12
12
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
13
|
oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
17
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
19
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
20
|
pagesUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
22
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23
23
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
26
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
27
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
30
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
35
|
isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
36
36
|
"@odata.etag": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -40,34 +40,46 @@ declare const OnenoteGetSectionOutput: z.ZodObject<{
|
|
|
40
40
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
41
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
44
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
45
45
|
id: 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
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
-
}, z.core.$
|
|
52
|
-
}, z.core.$
|
|
51
|
+
}, z.core.$loose>>>;
|
|
52
|
+
}, z.core.$loose>>>;
|
|
53
53
|
parentNotebook: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
54
54
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
56
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
-
}, z.core.$
|
|
57
|
+
}, z.core.$loose>>>;
|
|
58
58
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
parentSectionGroup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
60
60
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
61
|
self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
62
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
-
}, z.core.$
|
|
63
|
+
}, z.core.$loose>>>;
|
|
64
64
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
-
}, z.core.$
|
|
65
|
+
}, z.core.$loose>;
|
|
66
66
|
declare const onenoteGetSection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
67
67
|
section_id: string;
|
|
68
68
|
expand?: string[] | undefined;
|
|
69
69
|
select?: string[] | undefined;
|
|
70
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
70
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
|
|
71
|
+
connectionId: z.ZodString;
|
|
72
|
+
entityId: z.ZodString;
|
|
73
|
+
instanceId: z.ZodString;
|
|
74
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
75
|
+
accessToken: z.ZodString;
|
|
76
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
|
|
77
|
+
connectionId: z.ZodString;
|
|
78
|
+
entityId: z.ZodString;
|
|
79
|
+
instanceId: z.ZodString;
|
|
80
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
81
|
+
accessToken: z.ZodString;
|
|
82
|
+
}, z.core.$strip>>]>;
|
|
71
83
|
//#endregion
|
|
72
84
|
export { onenoteGetSection };
|
|
73
85
|
//# sourceMappingURL=get-section.d.mts.map
|
|
@@ -6,30 +6,30 @@ const OnenoteGetSectionInput = z.object({
|
|
|
6
6
|
select: z.array(z.string()).describe("List of section properties to include in the response. Valid values include: id, self, createdDateTime, displayName, createdBy, lastModifiedBy, lastModifiedDateTime, isDefault, links, pagesUrl, parentNotebook, parentSectionGroup.").optional(),
|
|
7
7
|
section_id: z.string().describe("The unique identifier of the OneNote section to retrieve.")
|
|
8
8
|
}).describe("Request model for retrieving a specific OneNote section by its ID.");
|
|
9
|
-
const OnenoteGetSection_ExternalLinkSchema = z.object({ href: z.string().describe("The URL of the link.").nullable().optional() }).describe("Represents a URL that opens a OneNote page or notebook.");
|
|
9
|
+
const OnenoteGetSection_ExternalLinkSchema = z.object({ href: z.string().describe("The URL of the link.").nullable().optional() }).passthrough().describe("Represents a URL that opens a OneNote page or notebook.");
|
|
10
10
|
const OnenoteGetSection_SectionLinksSchema = z.object({
|
|
11
11
|
oneNoteWebUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),
|
|
12
12
|
oneNoteClientUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional()
|
|
13
|
-
}).describe("Links for opening a OneNote section.");
|
|
13
|
+
}).passthrough().describe("Links for opening a OneNote section.");
|
|
14
14
|
const OnenoteGetSection_IdentitySchema = z.object({
|
|
15
15
|
id: z.string().describe("Unique identifier for the identity.").nullable().optional(),
|
|
16
16
|
displayName: z.string().describe("The display name of the identity.").nullable().optional()
|
|
17
|
-
}).describe("Represents an identity of an actor (user, device, or application).");
|
|
17
|
+
}).passthrough().describe("Represents an identity of an actor (user, device, or application).");
|
|
18
18
|
const OnenoteGetSection_IdentitySetSchema = z.object({
|
|
19
19
|
user: OnenoteGetSection_IdentitySchema.nullable().optional(),
|
|
20
20
|
device: OnenoteGetSection_IdentitySchema.nullable().optional(),
|
|
21
21
|
application: OnenoteGetSection_IdentitySchema.nullable().optional()
|
|
22
|
-
}).describe("Represents a keyed collection of identity resources.");
|
|
22
|
+
}).passthrough().describe("Represents a keyed collection of identity resources.");
|
|
23
23
|
const OnenoteGetSection_ParentNotebookSchema = z.object({
|
|
24
24
|
id: z.string().describe("The unique identifier of the notebook.").nullable().optional(),
|
|
25
25
|
self: z.string().describe("The endpoint where you can get details about the notebook.").nullable().optional(),
|
|
26
26
|
displayName: z.string().describe("The name of the notebook.").nullable().optional()
|
|
27
|
-
}).describe("The notebook that contains the section.");
|
|
27
|
+
}).passthrough().describe("The notebook that contains the section.");
|
|
28
28
|
const OnenoteGetSection_ParentSectionGroupSchema = z.object({
|
|
29
29
|
id: z.string().describe("The unique identifier of the section group.").nullable().optional(),
|
|
30
30
|
self: z.string().describe("The endpoint where you can get details about the section group.").nullable().optional(),
|
|
31
31
|
displayName: z.string().describe("The name of the section group.").nullable().optional()
|
|
32
|
-
}).describe("The section group that contains the section.");
|
|
32
|
+
}).passthrough().describe("The section group that contains the section.");
|
|
33
33
|
const onenoteGetSection = action("ONENOTE_GET_SECTION", {
|
|
34
34
|
slug: "onenote-get-section",
|
|
35
35
|
name: "Get a OneNote section by ID",
|
|
@@ -50,7 +50,7 @@ const onenoteGetSection = action("ONENOTE_GET_SECTION", {
|
|
|
50
50
|
createdDateTime: z.string().describe("The date and time when the section was created. ISO 8601 format in UTC time.").nullable().optional(),
|
|
51
51
|
parentSectionGroup: OnenoteGetSection_ParentSectionGroupSchema.nullable().optional(),
|
|
52
52
|
lastModifiedDateTime: z.string().describe("The date and time when the section was last modified. ISO 8601 format in UTC time.").nullable().optional()
|
|
53
|
-
}).describe("Response model for retrieving a OneNote section.")
|
|
53
|
+
}).passthrough().describe("Response model for retrieving a OneNote section.")
|
|
54
54
|
});
|
|
55
55
|
//#endregion
|
|
56
56
|
export { onenoteGetSection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-section.mjs","names":[],"sources":["../../src/actions/get-section.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetSectionInput = z.object({\n expand: z.array(z.string()).describe(\"List of relationships to expand inline in the response. Valid values: parentNotebook, parentSectionGroup.\").optional(),\n select: z.array(z.string()).describe(\"List of section properties to include in the response. Valid values include: id, self, createdDateTime, displayName, createdBy, lastModifiedBy, lastModifiedDateTime, isDefault, links, pagesUrl, parentNotebook, parentSectionGroup.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to retrieve.\"),\n}).describe(\"Request model for retrieving a specific OneNote section by its ID.\");\nconst OnenoteGetSection_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).describe(\"Represents a URL that opens a OneNote page or notebook.\");\nconst OnenoteGetSection_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote section.\");\nconst OnenoteGetSection_IdentitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).describe(\"Represents an identity of an actor (user, device, or application).\");\nconst OnenoteGetSection_IdentitySetSchema = z.object({\n user: OnenoteGetSection_IdentitySchema.nullable().optional(),\n device: OnenoteGetSection_IdentitySchema.nullable().optional(),\n application: OnenoteGetSection_IdentitySchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources.\");\nconst OnenoteGetSection_ParentNotebookSchema = z.object({\n id: z.string().describe(\"The unique identifier of the notebook.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the notebook.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n}).describe(\"The notebook that contains the section.\");\nconst OnenoteGetSection_ParentSectionGroupSchema = z.object({\n id: z.string().describe(\"The unique identifier of the section group.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section group.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section group.\").nullable().optional(),\n}).describe(\"The section group that contains the section.\");\nexport const OnenoteGetSectionOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section.\").nullable().optional(),\n links: OnenoteGetSection_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint where you can get details for all the pages in the section.\").nullable().optional(),\n createdBy: OnenoteGetSection_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section.\").nullable().optional(),\n \"@odata.etag\": z.string().describe(\"The OData ETag.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n lastModifiedBy: OnenoteGetSection_IdentitySetSchema.nullable().optional(),\n parentNotebook: OnenoteGetSection_ParentNotebookSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. ISO 8601 format in UTC time.\").nullable().optional(),\n parentSectionGroup: OnenoteGetSection_ParentSectionGroupSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. ISO 8601 format in UTC time.\").nullable().optional(),\n}).describe(\"Response model for retrieving a OneNote section.\");\n\nexport const onenoteGetSection = action(\"ONENOTE_GET_SECTION\", {\n slug: \"onenote-get-section\",\n name: \"Get a OneNote section by ID\",\n description: \"Retrieves a specific OneNote section by its ID from the current user's OneNote. Use this action when you need to fetch metadata or details for a single OneNote section by specifying only the section ID, without requiring additional context like group, user, or site IDs. This action supports OData query parameters for selecting specific properties and expanding relationships like parentNotebook or parentSectionGroup.\",\n input: OnenoteGetSectionInput,\n output: OnenoteGetSectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC3J,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uOAAuO,CAAC,CAAC,SAAS;CACvR,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC7F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,uCAAuC,EAAE,OAAO,EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"get-section.mjs","names":[],"sources":["../../src/actions/get-section.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetSectionInput = z.object({\n expand: z.array(z.string()).describe(\"List of relationships to expand inline in the response. Valid values: parentNotebook, parentSectionGroup.\").optional(),\n select: z.array(z.string()).describe(\"List of section properties to include in the response. Valid values include: id, self, createdDateTime, displayName, createdBy, lastModifiedBy, lastModifiedDateTime, isDefault, links, pagesUrl, parentNotebook, parentSectionGroup.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to retrieve.\"),\n}).describe(\"Request model for retrieving a specific OneNote section by its ID.\");\nconst OnenoteGetSection_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 or notebook.\");\nconst OnenoteGetSection_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteGetSection_IdentitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).passthrough().describe(\"Represents an identity of an actor (user, device, or application).\");\nconst OnenoteGetSection_IdentitySetSchema = z.object({\n user: OnenoteGetSection_IdentitySchema.nullable().optional(),\n device: OnenoteGetSection_IdentitySchema.nullable().optional(),\n application: OnenoteGetSection_IdentitySchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources.\");\nconst OnenoteGetSection_ParentNotebookSchema = z.object({\n id: z.string().describe(\"The unique identifier of the notebook.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the notebook.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n}).passthrough().describe(\"The notebook that contains the section.\");\nconst OnenoteGetSection_ParentSectionGroupSchema = z.object({\n id: z.string().describe(\"The unique identifier of the section group.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section group.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section group.\").nullable().optional(),\n}).passthrough().describe(\"The section group that contains the section.\");\nexport const OnenoteGetSectionOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section.\").nullable().optional(),\n links: OnenoteGetSection_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint where you can get details for all the pages in the section.\").nullable().optional(),\n createdBy: OnenoteGetSection_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section.\").nullable().optional(),\n \"@odata.etag\": z.string().describe(\"The OData ETag.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n lastModifiedBy: OnenoteGetSection_IdentitySetSchema.nullable().optional(),\n parentNotebook: OnenoteGetSection_ParentNotebookSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. ISO 8601 format in UTC time.\").nullable().optional(),\n parentSectionGroup: OnenoteGetSection_ParentSectionGroupSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. ISO 8601 format in UTC time.\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a OneNote section.\");\n\nexport const onenoteGetSection = action(\"ONENOTE_GET_SECTION\", {\n slug: \"onenote-get-section\",\n name: \"Get a OneNote section by ID\",\n description: \"Retrieves a specific OneNote section by its ID from the current user's OneNote. Use this action when you need to fetch metadata or details for a single OneNote section by specifying only the section ID, without requiring additional context like group, user, or site IDs. This action supports OData query parameters for selecting specific properties and expanding relationships like parentNotebook or parentSectionGroup.\",\n input: OnenoteGetSectionInput,\n output: OnenoteGetSectionOutput,\n});\n"],"mappings":"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"}
|