@keystrokehq/onenote 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/copy-onenote-group-notebook.cjs +1 -0
- package/dist/actions/copy-onenote-group-notebook.cjs.map +1 -1
- package/dist/actions/copy-onenote-group-notebook.d.cts +3 -6
- package/dist/actions/copy-onenote-group-notebook.d.cts.map +1 -1
- package/dist/actions/copy-onenote-group-notebook.d.mts +3 -6
- package/dist/actions/copy-onenote-group-notebook.d.mts.map +1 -1
- package/dist/actions/copy-onenote-group-notebook.mjs +1 -0
- package/dist/actions/copy-onenote-group-notebook.mjs.map +1 -1
- package/dist/actions/copy-onenote-site-notebook.cjs +1 -0
- package/dist/actions/copy-onenote-site-notebook.cjs.map +1 -1
- package/dist/actions/copy-onenote-site-notebook.d.cts +3 -7
- package/dist/actions/copy-onenote-site-notebook.d.cts.map +1 -1
- package/dist/actions/copy-onenote-site-notebook.d.mts +3 -7
- package/dist/actions/copy-onenote-site-notebook.d.mts.map +1 -1
- package/dist/actions/copy-onenote-site-notebook.mjs +1 -0
- package/dist/actions/copy-onenote-site-notebook.mjs.map +1 -1
- package/dist/actions/copy-section-to-notebook-for-user2.cjs +1 -0
- package/dist/actions/copy-section-to-notebook-for-user2.cjs.map +1 -1
- package/dist/actions/copy-section-to-notebook-for-user2.d.cts +3 -8
- package/dist/actions/copy-section-to-notebook-for-user2.d.cts.map +1 -1
- package/dist/actions/copy-section-to-notebook-for-user2.d.mts +3 -8
- package/dist/actions/copy-section-to-notebook-for-user2.d.mts.map +1 -1
- package/dist/actions/copy-section-to-notebook-for-user2.mjs +1 -0
- package/dist/actions/copy-section-to-notebook-for-user2.mjs.map +1 -1
- package/dist/actions/copy-section-to-notebook2.cjs +1 -0
- package/dist/actions/copy-section-to-notebook2.cjs.map +1 -1
- package/dist/actions/copy-section-to-notebook2.d.cts +3 -8
- package/dist/actions/copy-section-to-notebook2.d.cts.map +1 -1
- package/dist/actions/copy-section-to-notebook2.d.mts +3 -8
- package/dist/actions/copy-section-to-notebook2.d.mts.map +1 -1
- package/dist/actions/copy-section-to-notebook2.mjs +1 -0
- package/dist/actions/copy-section-to-notebook2.mjs.map +1 -1
- package/dist/actions/copy-section-to-section-group-for-user.cjs +1 -0
- 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 +3 -7
- package/dist/actions/copy-section-to-section-group-for-user.d.cts.map +1 -1
- package/dist/actions/copy-section-to-section-group-for-user.d.mts +3 -7
- package/dist/actions/copy-section-to-section-group-for-user.d.mts.map +1 -1
- package/dist/actions/copy-section-to-section-group-for-user.mjs +1 -0
- package/dist/actions/copy-section-to-section-group-for-user.mjs.map +1 -1
- package/dist/actions/copy-section-to-section-group.cjs +1 -0
- package/dist/actions/copy-section-to-section-group.cjs.map +1 -1
- package/dist/actions/copy-section-to-section-group.d.cts +3 -6
- package/dist/actions/copy-section-to-section-group.d.cts.map +1 -1
- package/dist/actions/copy-section-to-section-group.d.mts +3 -6
- package/dist/actions/copy-section-to-section-group.d.mts.map +1 -1
- package/dist/actions/copy-section-to-section-group.mjs +1 -0
- package/dist/actions/copy-section-to-section-group.mjs.map +1 -1
- package/dist/actions/copy-site-page-to-section3.cjs +1 -0
- package/dist/actions/copy-site-page-to-section3.cjs.map +1 -1
- package/dist/actions/copy-site-page-to-section3.d.cts +3 -8
- package/dist/actions/copy-site-page-to-section3.d.cts.map +1 -1
- package/dist/actions/copy-site-page-to-section3.d.mts +3 -8
- package/dist/actions/copy-site-page-to-section3.d.mts.map +1 -1
- package/dist/actions/copy-site-page-to-section3.mjs +1 -0
- package/dist/actions/copy-site-page-to-section3.mjs.map +1 -1
- package/dist/actions/copy-user-page-to-section.cjs +1 -0
- package/dist/actions/copy-user-page-to-section.cjs.map +1 -1
- package/dist/actions/copy-user-page-to-section.d.cts +3 -6
- package/dist/actions/copy-user-page-to-section.d.cts.map +1 -1
- package/dist/actions/copy-user-page-to-section.d.mts +3 -6
- package/dist/actions/copy-user-page-to-section.d.mts.map +1 -1
- package/dist/actions/copy-user-page-to-section.mjs +1 -0
- package/dist/actions/copy-user-page-to-section.mjs.map +1 -1
- package/dist/actions/count-notebooks-section-groups-sections.cjs +1 -0
- package/dist/actions/count-notebooks-section-groups-sections.cjs.map +1 -1
- package/dist/actions/count-notebooks-section-groups-sections.d.cts +3 -4
- package/dist/actions/count-notebooks-section-groups-sections.d.cts.map +1 -1
- package/dist/actions/count-notebooks-section-groups-sections.d.mts +3 -4
- package/dist/actions/count-notebooks-section-groups-sections.d.mts.map +1 -1
- package/dist/actions/count-notebooks-section-groups-sections.mjs +1 -0
- package/dist/actions/count-notebooks-section-groups-sections.mjs.map +1 -1
- package/dist/actions/count-site-notebook-section-groups-sections.cjs +1 -0
- package/dist/actions/count-site-notebook-section-groups-sections.cjs.map +1 -1
- package/dist/actions/count-site-notebook-section-groups-sections.d.cts +3 -5
- package/dist/actions/count-site-notebook-section-groups-sections.d.cts.map +1 -1
- package/dist/actions/count-site-notebook-section-groups-sections.d.mts +3 -5
- package/dist/actions/count-site-notebook-section-groups-sections.d.mts.map +1 -1
- package/dist/actions/count-site-notebook-section-groups-sections.mjs +1 -0
- package/dist/actions/count-site-notebook-section-groups-sections.mjs.map +1 -1
- package/dist/actions/create-group-notebook.cjs +1 -0
- package/dist/actions/create-group-notebook.cjs.map +1 -1
- package/dist/actions/create-group-notebook.d.cts +3 -4
- package/dist/actions/create-group-notebook.d.cts.map +1 -1
- package/dist/actions/create-group-notebook.d.mts +3 -4
- package/dist/actions/create-group-notebook.d.mts.map +1 -1
- package/dist/actions/create-group-notebook.mjs +1 -0
- package/dist/actions/create-group-notebook.mjs.map +1 -1
- package/dist/actions/create-group-pages.cjs +1 -0
- package/dist/actions/create-group-pages.cjs.map +1 -1
- package/dist/actions/create-group-pages.d.cts +3 -5
- package/dist/actions/create-group-pages.d.cts.map +1 -1
- package/dist/actions/create-group-pages.d.mts +3 -5
- package/dist/actions/create-group-pages.d.mts.map +1 -1
- package/dist/actions/create-group-pages.mjs +1 -0
- package/dist/actions/create-group-pages.mjs.map +1 -1
- package/dist/actions/create-group-section-groups-sections.cjs +1 -0
- package/dist/actions/create-group-section-groups-sections.cjs.map +1 -1
- package/dist/actions/create-group-section-groups-sections.d.cts +3 -5
- package/dist/actions/create-group-section-groups-sections.d.cts.map +1 -1
- package/dist/actions/create-group-section-groups-sections.d.mts +3 -5
- package/dist/actions/create-group-section-groups-sections.d.mts.map +1 -1
- package/dist/actions/create-group-section-groups-sections.mjs +1 -0
- package/dist/actions/create-group-section-groups-sections.mjs.map +1 -1
- package/dist/actions/create-me-notebooks.cjs +1 -0
- package/dist/actions/create-me-notebooks.cjs.map +1 -1
- package/dist/actions/create-me-notebooks.d.cts +3 -3
- package/dist/actions/create-me-notebooks.d.cts.map +1 -1
- package/dist/actions/create-me-notebooks.d.mts +3 -3
- package/dist/actions/create-me-notebooks.d.mts.map +1 -1
- package/dist/actions/create-me-notebooks.mjs +1 -0
- package/dist/actions/create-me-notebooks.mjs.map +1 -1
- package/dist/actions/create-me-section-groups-sections.cjs +1 -0
- package/dist/actions/create-me-section-groups-sections.cjs.map +1 -1
- package/dist/actions/create-me-section-groups-sections.d.cts +3 -4
- package/dist/actions/create-me-section-groups-sections.d.cts.map +1 -1
- package/dist/actions/create-me-section-groups-sections.d.mts +3 -4
- package/dist/actions/create-me-section-groups-sections.d.mts.map +1 -1
- package/dist/actions/create-me-section-groups-sections.mjs +1 -0
- package/dist/actions/create-me-section-groups-sections.mjs.map +1 -1
- package/dist/actions/create-me-sections-pages.cjs +1 -0
- package/dist/actions/create-me-sections-pages.cjs.map +1 -1
- package/dist/actions/create-me-sections-pages.d.cts +3 -6
- package/dist/actions/create-me-sections-pages.d.cts.map +1 -1
- package/dist/actions/create-me-sections-pages.d.mts +3 -6
- package/dist/actions/create-me-sections-pages.d.mts.map +1 -1
- package/dist/actions/create-me-sections-pages.mjs +1 -0
- package/dist/actions/create-me-sections-pages.mjs.map +1 -1
- package/dist/actions/create-onenote-group-notebooks-section-groups.cjs +1 -0
- package/dist/actions/create-onenote-group-notebooks-section-groups.cjs.map +1 -1
- package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts +3 -5
- package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts.map +1 -1
- package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts +3 -5
- package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts.map +1 -1
- package/dist/actions/create-onenote-group-notebooks-section-groups.mjs +1 -0
- package/dist/actions/create-onenote-group-notebooks-section-groups.mjs.map +1 -1
- package/dist/actions/create-site-notebooks-sections.cjs +1 -0
- package/dist/actions/create-site-notebooks-sections.cjs.map +1 -1
- package/dist/actions/create-site-notebooks-sections.d.cts +3 -5
- package/dist/actions/create-site-notebooks-sections.d.cts.map +1 -1
- package/dist/actions/create-site-notebooks-sections.d.mts +3 -5
- package/dist/actions/create-site-notebooks-sections.d.mts.map +1 -1
- package/dist/actions/create-site-notebooks-sections.mjs +1 -0
- package/dist/actions/create-site-notebooks-sections.mjs.map +1 -1
- package/dist/actions/create-user-notebooks-sections.cjs +1 -0
- package/dist/actions/create-user-notebooks-sections.cjs.map +1 -1
- package/dist/actions/create-user-notebooks-sections.d.cts +3 -5
- package/dist/actions/create-user-notebooks-sections.d.cts.map +1 -1
- package/dist/actions/create-user-notebooks-sections.d.mts +3 -5
- package/dist/actions/create-user-notebooks-sections.d.mts.map +1 -1
- package/dist/actions/create-user-notebooks-sections.mjs +1 -0
- package/dist/actions/create-user-notebooks-sections.mjs.map +1 -1
- package/dist/actions/create-user-pages.cjs +1 -0
- package/dist/actions/create-user-pages.cjs.map +1 -1
- package/dist/actions/create-user-pages.d.cts +3 -5
- package/dist/actions/create-user-pages.d.cts.map +1 -1
- package/dist/actions/create-user-pages.d.mts +3 -5
- package/dist/actions/create-user-pages.d.mts.map +1 -1
- package/dist/actions/create-user-pages.mjs +1 -0
- package/dist/actions/create-user-pages.mjs.map +1 -1
- package/dist/actions/create-user-section-groups-sections.cjs +1 -0
- package/dist/actions/create-user-section-groups-sections.cjs.map +1 -1
- package/dist/actions/create-user-section-groups-sections.d.cts +3 -5
- package/dist/actions/create-user-section-groups-sections.d.cts.map +1 -1
- package/dist/actions/create-user-section-groups-sections.d.mts +3 -5
- package/dist/actions/create-user-section-groups-sections.d.mts.map +1 -1
- package/dist/actions/create-user-section-groups-sections.mjs +1 -0
- package/dist/actions/create-user-section-groups-sections.mjs.map +1 -1
- package/dist/actions/create-user-sections-pages4.cjs +1 -0
- package/dist/actions/create-user-sections-pages4.cjs.map +1 -1
- package/dist/actions/create-user-sections-pages4.d.cts +3 -7
- package/dist/actions/create-user-sections-pages4.d.cts.map +1 -1
- package/dist/actions/create-user-sections-pages4.d.mts +3 -7
- package/dist/actions/create-user-sections-pages4.d.mts.map +1 -1
- package/dist/actions/create-user-sections-pages4.mjs +1 -0
- package/dist/actions/create-user-sections-pages4.mjs.map +1 -1
- package/dist/actions/delete-onenote-group-section-group-page-content.cjs +1 -0
- 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 +3 -6
- package/dist/actions/delete-onenote-group-section-group-page-content.d.cts.map +1 -1
- package/dist/actions/delete-onenote-group-section-group-page-content.d.mts +3 -6
- package/dist/actions/delete-onenote-group-section-group-page-content.d.mts.map +1 -1
- package/dist/actions/delete-onenote-group-section-group-page-content.mjs +1 -0
- package/dist/actions/delete-onenote-group-section-group-page-content.mjs.map +1 -1
- package/dist/actions/delete-onenote-group-sections-pages2.cjs +1 -0
- package/dist/actions/delete-onenote-group-sections-pages2.cjs.map +1 -1
- package/dist/actions/delete-onenote-group-sections-pages2.d.cts +3 -6
- package/dist/actions/delete-onenote-group-sections-pages2.d.cts.map +1 -1
- package/dist/actions/delete-onenote-group-sections-pages2.d.mts +3 -6
- package/dist/actions/delete-onenote-group-sections-pages2.d.mts.map +1 -1
- package/dist/actions/delete-onenote-group-sections-pages2.mjs +1 -0
- package/dist/actions/delete-onenote-group-sections-pages2.mjs.map +1 -1
- package/dist/actions/delete-site-pages.cjs +1 -0
- package/dist/actions/delete-site-pages.cjs.map +1 -1
- package/dist/actions/delete-site-pages.d.cts +3 -4
- package/dist/actions/delete-site-pages.d.cts.map +1 -1
- package/dist/actions/delete-site-pages.d.mts +3 -4
- package/dist/actions/delete-site-pages.d.mts.map +1 -1
- package/dist/actions/delete-site-pages.mjs +1 -0
- package/dist/actions/delete-site-pages.mjs.map +1 -1
- package/dist/actions/delete-user-onenote-sections-pages.cjs +1 -0
- package/dist/actions/delete-user-onenote-sections-pages.cjs.map +1 -1
- package/dist/actions/delete-user-onenote-sections-pages.d.cts +3 -7
- package/dist/actions/delete-user-onenote-sections-pages.d.cts.map +1 -1
- package/dist/actions/delete-user-onenote-sections-pages.d.mts +3 -7
- package/dist/actions/delete-user-onenote-sections-pages.d.mts.map +1 -1
- package/dist/actions/delete-user-onenote-sections-pages.mjs +1 -0
- package/dist/actions/delete-user-onenote-sections-pages.mjs.map +1 -1
- package/dist/actions/delete-user-pages.cjs +1 -0
- package/dist/actions/delete-user-pages.cjs.map +1 -1
- package/dist/actions/delete-user-pages.d.cts +3 -4
- package/dist/actions/delete-user-pages.d.cts.map +1 -1
- package/dist/actions/delete-user-pages.d.mts +3 -4
- package/dist/actions/delete-user-pages.d.mts.map +1 -1
- package/dist/actions/delete-user-pages.mjs +1 -0
- package/dist/actions/delete-user-pages.mjs.map +1 -1
- package/dist/actions/get-group-sections.cjs +1 -0
- package/dist/actions/get-group-sections.cjs.map +1 -1
- package/dist/actions/get-group-sections.d.cts +3 -6
- package/dist/actions/get-group-sections.d.cts.map +1 -1
- package/dist/actions/get-group-sections.d.mts +3 -6
- package/dist/actions/get-group-sections.d.mts.map +1 -1
- package/dist/actions/get-group-sections.mjs +1 -0
- package/dist/actions/get-group-sections.mjs.map +1 -1
- package/dist/actions/get-me-onenote-resources-value.cjs +1 -0
- package/dist/actions/get-me-onenote-resources-value.cjs.map +1 -1
- package/dist/actions/get-me-onenote-resources-value.d.cts +3 -3
- package/dist/actions/get-me-onenote-resources-value.d.cts.map +1 -1
- package/dist/actions/get-me-onenote-resources-value.d.mts +3 -3
- package/dist/actions/get-me-onenote-resources-value.d.mts.map +1 -1
- package/dist/actions/get-me-onenote-resources-value.mjs +1 -0
- package/dist/actions/get-me-onenote-resources-value.mjs.map +1 -1
- package/dist/actions/get-me-section-page-content.cjs +1 -0
- package/dist/actions/get-me-section-page-content.cjs.map +1 -1
- package/dist/actions/get-me-section-page-content.d.cts +3 -4
- package/dist/actions/get-me-section-page-content.d.cts.map +1 -1
- package/dist/actions/get-me-section-page-content.d.mts +3 -4
- package/dist/actions/get-me-section-page-content.d.mts.map +1 -1
- package/dist/actions/get-me-section-page-content.mjs +1 -0
- package/dist/actions/get-me-section-page-content.mjs.map +1 -1
- package/dist/actions/get-notebook-from-web-url.cjs +1 -0
- package/dist/actions/get-notebook-from-web-url.cjs.map +1 -1
- package/dist/actions/get-notebook-from-web-url.d.cts +3 -4
- package/dist/actions/get-notebook-from-web-url.d.cts.map +1 -1
- package/dist/actions/get-notebook-from-web-url.d.mts +3 -4
- package/dist/actions/get-notebook-from-web-url.d.mts.map +1 -1
- package/dist/actions/get-notebook-from-web-url.mjs +1 -0
- package/dist/actions/get-notebook-from-web-url.mjs.map +1 -1
- package/dist/actions/get-notebook-section-group.cjs +1 -0
- package/dist/actions/get-notebook-section-group.cjs.map +1 -1
- package/dist/actions/get-notebook-section-group.d.cts +3 -6
- package/dist/actions/get-notebook-section-group.d.cts.map +1 -1
- package/dist/actions/get-notebook-section-group.d.mts +3 -6
- package/dist/actions/get-notebook-section-group.d.mts.map +1 -1
- package/dist/actions/get-notebook-section-group.mjs +1 -0
- package/dist/actions/get-notebook-section-group.mjs.map +1 -1
- package/dist/actions/get-onenote-group-operations.cjs +1 -0
- package/dist/actions/get-onenote-group-operations.cjs.map +1 -1
- package/dist/actions/get-onenote-group-operations.d.cts +3 -4
- package/dist/actions/get-onenote-group-operations.d.cts.map +1 -1
- package/dist/actions/get-onenote-group-operations.d.mts +3 -4
- package/dist/actions/get-onenote-group-operations.d.mts.map +1 -1
- package/dist/actions/get-onenote-group-operations.mjs +1 -0
- package/dist/actions/get-onenote-group-operations.mjs.map +1 -1
- package/dist/actions/get-onenote-group-sections-pages.cjs +1 -0
- package/dist/actions/get-onenote-group-sections-pages.cjs.map +1 -1
- package/dist/actions/get-onenote-group-sections-pages.d.cts +3 -9
- package/dist/actions/get-onenote-group-sections-pages.d.cts.map +1 -1
- package/dist/actions/get-onenote-group-sections-pages.d.mts +3 -9
- package/dist/actions/get-onenote-group-sections-pages.d.mts.map +1 -1
- package/dist/actions/get-onenote-group-sections-pages.mjs +1 -0
- package/dist/actions/get-onenote-group-sections-pages.mjs.map +1 -1
- package/dist/actions/get-onenote-site-operations.cjs +1 -0
- package/dist/actions/get-onenote-site-operations.cjs.map +1 -1
- package/dist/actions/get-onenote-site-operations.d.cts +3 -4
- package/dist/actions/get-onenote-site-operations.d.cts.map +1 -1
- package/dist/actions/get-onenote-site-operations.d.mts +3 -4
- package/dist/actions/get-onenote-site-operations.d.mts.map +1 -1
- package/dist/actions/get-onenote-site-operations.mjs +1 -0
- package/dist/actions/get-onenote-site-operations.mjs.map +1 -1
- package/dist/actions/get-onenote-user-page-content.cjs +1 -0
- package/dist/actions/get-onenote-user-page-content.cjs.map +1 -1
- package/dist/actions/get-onenote-user-page-content.d.cts +3 -5
- package/dist/actions/get-onenote-user-page-content.d.cts.map +1 -1
- package/dist/actions/get-onenote-user-page-content.d.mts +3 -5
- package/dist/actions/get-onenote-user-page-content.d.mts.map +1 -1
- package/dist/actions/get-onenote-user-page-content.mjs +1 -0
- package/dist/actions/get-onenote-user-page-content.mjs.map +1 -1
- package/dist/actions/get-page.cjs +1 -0
- package/dist/actions/get-page.cjs.map +1 -1
- package/dist/actions/get-page.d.cts +3 -5
- package/dist/actions/get-page.d.cts.map +1 -1
- package/dist/actions/get-page.d.mts +3 -5
- package/dist/actions/get-page.d.mts.map +1 -1
- package/dist/actions/get-page.mjs +1 -0
- package/dist/actions/get-page.mjs.map +1 -1
- package/dist/actions/get-recent-notebooks.cjs +1 -0
- package/dist/actions/get-recent-notebooks.cjs.map +1 -1
- package/dist/actions/get-recent-notebooks.d.cts +3 -8
- package/dist/actions/get-recent-notebooks.d.cts.map +1 -1
- package/dist/actions/get-recent-notebooks.d.mts +3 -8
- package/dist/actions/get-recent-notebooks.d.mts.map +1 -1
- package/dist/actions/get-recent-notebooks.mjs +1 -0
- package/dist/actions/get-recent-notebooks.mjs.map +1 -1
- package/dist/actions/get-section.cjs +1 -0
- package/dist/actions/get-section.cjs.map +1 -1
- package/dist/actions/get-section.d.cts +3 -5
- package/dist/actions/get-section.d.cts.map +1 -1
- package/dist/actions/get-section.d.mts +3 -5
- package/dist/actions/get-section.d.mts.map +1 -1
- package/dist/actions/get-section.mjs +1 -0
- package/dist/actions/get-section.mjs.map +1 -1
- package/dist/actions/get-site-onenote-pages.cjs +1 -0
- package/dist/actions/get-site-onenote-pages.cjs.map +1 -1
- package/dist/actions/get-site-onenote-pages.d.cts +3 -6
- package/dist/actions/get-site-onenote-pages.d.cts.map +1 -1
- package/dist/actions/get-site-onenote-pages.d.mts +3 -6
- package/dist/actions/get-site-onenote-pages.d.mts.map +1 -1
- package/dist/actions/get-site-onenote-pages.mjs +1 -0
- package/dist/actions/get-site-onenote-pages.mjs.map +1 -1
- package/dist/actions/get-site-pages-preview.cjs +1 -0
- package/dist/actions/get-site-pages-preview.cjs.map +1 -1
- package/dist/actions/get-site-pages-preview.d.cts +3 -4
- package/dist/actions/get-site-pages-preview.d.cts.map +1 -1
- package/dist/actions/get-site-pages-preview.d.mts +3 -4
- package/dist/actions/get-site-pages-preview.d.mts.map +1 -1
- package/dist/actions/get-site-pages-preview.mjs +1 -0
- package/dist/actions/get-site-pages-preview.mjs.map +1 -1
- package/dist/actions/get-site-sections-pages.cjs +1 -0
- package/dist/actions/get-site-sections-pages.cjs.map +1 -1
- package/dist/actions/get-site-sections-pages.d.cts +3 -9
- package/dist/actions/get-site-sections-pages.d.cts.map +1 -1
- package/dist/actions/get-site-sections-pages.d.mts +3 -9
- package/dist/actions/get-site-sections-pages.d.mts.map +1 -1
- package/dist/actions/get-site-sections-pages.mjs +1 -0
- package/dist/actions/get-site-sections-pages.mjs.map +1 -1
- package/dist/actions/get-site-sections.cjs +1 -0
- package/dist/actions/get-site-sections.cjs.map +1 -1
- package/dist/actions/get-site-sections.d.cts +3 -6
- package/dist/actions/get-site-sections.d.cts.map +1 -1
- package/dist/actions/get-site-sections.d.mts +3 -6
- package/dist/actions/get-site-sections.d.mts.map +1 -1
- package/dist/actions/get-site-sections.mjs +1 -0
- package/dist/actions/get-site-sections.mjs.map +1 -1
- package/dist/actions/get-user-notebook.cjs +1 -0
- package/dist/actions/get-user-notebook.cjs.map +1 -1
- package/dist/actions/get-user-notebook.d.cts +3 -6
- package/dist/actions/get-user-notebook.d.cts.map +1 -1
- package/dist/actions/get-user-notebook.d.mts +3 -6
- package/dist/actions/get-user-notebook.d.mts.map +1 -1
- package/dist/actions/get-user-notebook.mjs +1 -0
- package/dist/actions/get-user-notebook.mjs.map +1 -1
- package/dist/actions/get-user-pages.cjs +1 -0
- package/dist/actions/get-user-pages.cjs.map +1 -1
- package/dist/actions/get-user-pages.d.cts +3 -6
- package/dist/actions/get-user-pages.d.cts.map +1 -1
- package/dist/actions/get-user-pages.d.mts +3 -6
- package/dist/actions/get-user-pages.d.mts.map +1 -1
- package/dist/actions/get-user-pages.mjs +1 -0
- package/dist/actions/get-user-pages.mjs.map +1 -1
- package/dist/actions/get-user-parent-section-group2.cjs +1 -0
- package/dist/actions/get-user-parent-section-group2.cjs.map +1 -1
- package/dist/actions/get-user-parent-section-group2.d.cts +3 -7
- package/dist/actions/get-user-parent-section-group2.d.cts.map +1 -1
- package/dist/actions/get-user-parent-section-group2.d.mts +3 -7
- package/dist/actions/get-user-parent-section-group2.d.mts.map +1 -1
- package/dist/actions/get-user-parent-section-group2.mjs +1 -0
- package/dist/actions/get-user-parent-section-group2.mjs.map +1 -1
- package/dist/actions/list-group-notebook-section-groups.cjs +1 -0
- package/dist/actions/list-group-notebook-section-groups.cjs.map +1 -1
- package/dist/actions/list-group-notebook-section-groups.d.cts +3 -11
- package/dist/actions/list-group-notebook-section-groups.d.cts.map +1 -1
- package/dist/actions/list-group-notebook-section-groups.d.mts +3 -11
- package/dist/actions/list-group-notebook-section-groups.d.mts.map +1 -1
- package/dist/actions/list-group-notebook-section-groups.mjs +1 -0
- package/dist/actions/list-group-notebook-section-groups.mjs.map +1 -1
- package/dist/actions/list-group-notebook-section-pages.cjs +1 -0
- package/dist/actions/list-group-notebook-section-pages.cjs.map +1 -1
- package/dist/actions/list-group-notebook-section-pages.d.cts +3 -11
- package/dist/actions/list-group-notebook-section-pages.d.cts.map +1 -1
- package/dist/actions/list-group-notebook-section-pages.d.mts +3 -11
- package/dist/actions/list-group-notebook-section-pages.d.mts.map +1 -1
- package/dist/actions/list-group-notebook-section-pages.mjs +1 -0
- package/dist/actions/list-group-notebook-section-pages.mjs.map +1 -1
- package/dist/actions/list-group-notebooks.cjs +1 -0
- package/dist/actions/list-group-notebooks.cjs.map +1 -1
- package/dist/actions/list-group-notebooks.d.cts +3 -11
- package/dist/actions/list-group-notebooks.d.cts.map +1 -1
- package/dist/actions/list-group-notebooks.d.mts +3 -11
- package/dist/actions/list-group-notebooks.d.mts.map +1 -1
- package/dist/actions/list-group-notebooks.mjs +1 -0
- package/dist/actions/list-group-notebooks.mjs.map +1 -1
- package/dist/actions/list-group-section-groups-sections.cjs +1 -0
- package/dist/actions/list-group-section-groups-sections.cjs.map +1 -1
- package/dist/actions/list-group-section-groups-sections.d.cts +3 -11
- package/dist/actions/list-group-section-groups-sections.d.cts.map +1 -1
- package/dist/actions/list-group-section-groups-sections.d.mts +3 -11
- package/dist/actions/list-group-section-groups-sections.d.mts.map +1 -1
- package/dist/actions/list-group-section-groups-sections.mjs +1 -0
- package/dist/actions/list-group-section-groups-sections.mjs.map +1 -1
- package/dist/actions/list-joined-teams.cjs +1 -0
- package/dist/actions/list-joined-teams.cjs.map +1 -1
- package/dist/actions/list-joined-teams.d.cts +3 -4
- package/dist/actions/list-joined-teams.d.cts.map +1 -1
- package/dist/actions/list-joined-teams.d.mts +3 -4
- package/dist/actions/list-joined-teams.d.mts.map +1 -1
- package/dist/actions/list-joined-teams.mjs +1 -0
- package/dist/actions/list-joined-teams.mjs.map +1 -1
- package/dist/actions/list-me-onenote-sections-pages4.cjs +1 -0
- package/dist/actions/list-me-onenote-sections-pages4.cjs.map +1 -1
- package/dist/actions/list-me-onenote-sections-pages4.d.cts +3 -10
- package/dist/actions/list-me-onenote-sections-pages4.d.cts.map +1 -1
- package/dist/actions/list-me-onenote-sections-pages4.d.mts +3 -10
- package/dist/actions/list-me-onenote-sections-pages4.d.mts.map +1 -1
- package/dist/actions/list-me-onenote-sections-pages4.mjs +1 -0
- package/dist/actions/list-me-onenote-sections-pages4.mjs.map +1 -1
- package/dist/actions/list-onenote-group-pages.cjs +1 -0
- package/dist/actions/list-onenote-group-pages.cjs.map +1 -1
- package/dist/actions/list-onenote-group-pages.d.cts +3 -9
- package/dist/actions/list-onenote-group-pages.d.cts.map +1 -1
- package/dist/actions/list-onenote-group-pages.d.mts +3 -9
- package/dist/actions/list-onenote-group-pages.d.mts.map +1 -1
- package/dist/actions/list-onenote-group-pages.mjs +1 -0
- package/dist/actions/list-onenote-group-pages.mjs.map +1 -1
- package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs +1 -0
- 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 +3 -11
- package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts.map +1 -1
- package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts +3 -11
- package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts.map +1 -1
- package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs +1 -0
- package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs.map +1 -1
- package/dist/actions/list-onenote-group-sections-pages4.cjs +1 -0
- package/dist/actions/list-onenote-group-sections-pages4.cjs.map +1 -1
- package/dist/actions/list-onenote-group-sections-pages4.d.cts +3 -11
- package/dist/actions/list-onenote-group-sections-pages4.d.cts.map +1 -1
- package/dist/actions/list-onenote-group-sections-pages4.d.mts +3 -11
- package/dist/actions/list-onenote-group-sections-pages4.d.mts.map +1 -1
- package/dist/actions/list-onenote-group-sections-pages4.mjs +1 -0
- package/dist/actions/list-onenote-group-sections-pages4.mjs.map +1 -1
- package/dist/actions/list-site-notebook-section-groups.cjs +1 -0
- package/dist/actions/list-site-notebook-section-groups.cjs.map +1 -1
- package/dist/actions/list-site-notebook-section-groups.d.cts +3 -11
- package/dist/actions/list-site-notebook-section-groups.d.cts.map +1 -1
- package/dist/actions/list-site-notebook-section-groups.d.mts +3 -11
- package/dist/actions/list-site-notebook-section-groups.d.mts.map +1 -1
- package/dist/actions/list-site-notebook-section-groups.mjs +1 -0
- package/dist/actions/list-site-notebook-section-groups.mjs.map +1 -1
- package/dist/actions/list-site-notebooks.cjs +1 -0
- package/dist/actions/list-site-notebooks.cjs.map +1 -1
- package/dist/actions/list-site-notebooks.d.cts +3 -11
- package/dist/actions/list-site-notebooks.d.cts.map +1 -1
- package/dist/actions/list-site-notebooks.d.mts +3 -11
- package/dist/actions/list-site-notebooks.d.mts.map +1 -1
- package/dist/actions/list-site-notebooks.mjs +1 -0
- package/dist/actions/list-site-notebooks.mjs.map +1 -1
- package/dist/actions/list-site-pages-content.cjs +1 -0
- package/dist/actions/list-site-pages-content.cjs.map +1 -1
- package/dist/actions/list-site-pages-content.d.cts +3 -5
- package/dist/actions/list-site-pages-content.d.cts.map +1 -1
- package/dist/actions/list-site-pages-content.d.mts +3 -5
- package/dist/actions/list-site-pages-content.d.mts.map +1 -1
- package/dist/actions/list-site-pages-content.mjs +1 -0
- package/dist/actions/list-site-pages-content.mjs.map +1 -1
- package/dist/actions/list-site-sections.cjs +1 -0
- package/dist/actions/list-site-sections.cjs.map +1 -1
- package/dist/actions/list-site-sections.d.cts +3 -10
- package/dist/actions/list-site-sections.d.cts.map +1 -1
- package/dist/actions/list-site-sections.d.mts +3 -10
- package/dist/actions/list-site-sections.d.mts.map +1 -1
- package/dist/actions/list-site-sections.mjs +1 -0
- package/dist/actions/list-site-sections.mjs.map +1 -1
- package/dist/actions/list-user-notebook-sections.cjs +1 -0
- package/dist/actions/list-user-notebook-sections.cjs.map +1 -1
- package/dist/actions/list-user-notebook-sections.d.cts +3 -11
- package/dist/actions/list-user-notebook-sections.d.cts.map +1 -1
- package/dist/actions/list-user-notebook-sections.d.mts +3 -11
- package/dist/actions/list-user-notebook-sections.d.mts.map +1 -1
- package/dist/actions/list-user-notebook-sections.mjs +1 -0
- package/dist/actions/list-user-notebook-sections.mjs.map +1 -1
- package/dist/actions/list-user-notebooks.cjs +1 -0
- package/dist/actions/list-user-notebooks.cjs.map +1 -1
- package/dist/actions/list-user-notebooks.d.cts +3 -9
- package/dist/actions/list-user-notebooks.d.cts.map +1 -1
- package/dist/actions/list-user-notebooks.d.mts +3 -9
- package/dist/actions/list-user-notebooks.d.mts.map +1 -1
- package/dist/actions/list-user-notebooks.mjs +1 -0
- package/dist/actions/list-user-notebooks.mjs.map +1 -1
- package/dist/actions/resolve-site-by-url.cjs +1 -0
- package/dist/actions/resolve-site-by-url.cjs.map +1 -1
- package/dist/actions/resolve-site-by-url.d.cts +3 -7
- package/dist/actions/resolve-site-by-url.d.cts.map +1 -1
- package/dist/actions/resolve-site-by-url.d.mts +3 -7
- package/dist/actions/resolve-site-by-url.d.mts.map +1 -1
- package/dist/actions/resolve-site-by-url.mjs +1 -0
- package/dist/actions/resolve-site-by-url.mjs.map +1 -1
- package/dist/actions/sites-search.cjs +1 -0
- package/dist/actions/sites-search.cjs.map +1 -1
- package/dist/actions/sites-search.d.cts +3 -7
- package/dist/actions/sites-search.d.cts.map +1 -1
- package/dist/actions/sites-search.d.mts +3 -7
- package/dist/actions/sites-search.d.mts.map +1 -1
- package/dist/actions/sites-search.mjs +1 -0
- package/dist/actions/sites-search.mjs.map +1 -1
- package/dist/actions/update-me-page-content.cjs +1 -0
- package/dist/actions/update-me-page-content.cjs.map +1 -1
- package/dist/actions/update-me-page-content.d.cts +4 -11
- package/dist/actions/update-me-page-content.d.cts.map +1 -1
- package/dist/actions/update-me-page-content.d.mts +4 -11
- package/dist/actions/update-me-page-content.d.mts.map +1 -1
- package/dist/actions/update-me-page-content.mjs +1 -0
- package/dist/actions/update-me-page-content.mjs.map +1 -1
- package/dist/actions/update-me-sections.cjs +1 -0
- package/dist/actions/update-me-sections.cjs.map +1 -1
- package/dist/actions/update-me-sections.d.cts +3 -4
- package/dist/actions/update-me-sections.d.cts.map +1 -1
- package/dist/actions/update-me-sections.d.mts +3 -4
- package/dist/actions/update-me-sections.d.mts.map +1 -1
- package/dist/actions/update-me-sections.mjs +1 -0
- package/dist/actions/update-me-sections.mjs.map +1 -1
- package/dist/actions/update-onenote-page-content.cjs +1 -0
- package/dist/actions/update-onenote-page-content.cjs.map +1 -1
- package/dist/actions/update-onenote-page-content.d.cts +4 -12
- package/dist/actions/update-onenote-page-content.d.cts.map +1 -1
- package/dist/actions/update-onenote-page-content.d.mts +4 -12
- package/dist/actions/update-onenote-page-content.d.mts.map +1 -1
- package/dist/actions/update-onenote-page-content.mjs +1 -0
- package/dist/actions/update-onenote-page-content.mjs.map +1 -1
- package/dist/actions/update-site-notebooks-sections.cjs +1 -0
- package/dist/actions/update-site-notebooks-sections.cjs.map +1 -1
- package/dist/actions/update-site-notebooks-sections.d.cts +3 -6
- package/dist/actions/update-site-notebooks-sections.d.cts.map +1 -1
- package/dist/actions/update-site-notebooks-sections.d.mts +3 -6
- package/dist/actions/update-site-notebooks-sections.d.mts.map +1 -1
- package/dist/actions/update-site-notebooks-sections.mjs +1 -0
- package/dist/actions/update-site-notebooks-sections.mjs.map +1 -1
- package/dist/actions/update-site-pages-content.cjs +1 -0
- package/dist/actions/update-site-pages-content.cjs.map +1 -1
- package/dist/actions/update-site-pages-content.d.cts +4 -12
- package/dist/actions/update-site-pages-content.d.cts.map +1 -1
- package/dist/actions/update-site-pages-content.d.mts +4 -12
- package/dist/actions/update-site-pages-content.d.mts.map +1 -1
- package/dist/actions/update-site-pages-content.mjs +1 -0
- package/dist/actions/update-site-pages-content.mjs.map +1 -1
- package/dist/actions/update-site-section-groups-sections.cjs +1 -0
- package/dist/actions/update-site-section-groups-sections.cjs.map +1 -1
- package/dist/actions/update-site-section-groups-sections.d.cts +3 -7
- package/dist/actions/update-site-section-groups-sections.d.cts.map +1 -1
- package/dist/actions/update-site-section-groups-sections.d.mts +3 -7
- package/dist/actions/update-site-section-groups-sections.d.mts.map +1 -1
- package/dist/actions/update-site-section-groups-sections.mjs +1 -0
- package/dist/actions/update-site-section-groups-sections.mjs.map +1 -1
- package/dist/actions/update-user-notebooks-sections.cjs +1 -0
- package/dist/actions/update-user-notebooks-sections.cjs.map +1 -1
- package/dist/actions/update-user-notebooks-sections.d.cts +3 -5
- package/dist/actions/update-user-notebooks-sections.d.cts.map +1 -1
- package/dist/actions/update-user-notebooks-sections.d.mts +3 -5
- package/dist/actions/update-user-notebooks-sections.d.mts.map +1 -1
- package/dist/actions/update-user-notebooks-sections.mjs +1 -0
- package/dist/actions/update-user-notebooks-sections.mjs.map +1 -1
- package/dist/actions/validate-credential.cjs +1 -0
- package/dist/actions/validate-credential.cjs.map +1 -1
- package/dist/actions/validate-credential.d.cts +3 -1
- package/dist/actions/validate-credential.d.cts.map +1 -1
- package/dist/actions/validate-credential.d.mts +3 -1
- package/dist/actions/validate-credential.d.mts.map +1 -1
- package/dist/actions/validate-credential.mjs +1 -0
- 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 +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-me-sections-pages.cjs","names":["z","action"],"sources":["../../src/actions/create-me-sections-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateMeSectionsPagesInput = z.object({\n page_title: z.string().describe(\"The title for the OneNote page.\"),\n section_id: z.string().describe(\"The unique identifier of the OneNote section where the page will be created.\"),\n html_content: z.string().describe(\"The HTML body content for the OneNote page (an HTML fragment, not a full document). The action wraps this fragment in <html><head><title>{page_title}</title></head><body>...</body></html>, so do not include outer html/head/body tags. Reference images via external URLs.\"),\n page_created_datetime: z.string().describe(\"The date and time when the page was created in ISO 8601 format (UTC). Example: 2015-07-22T09:00:00-08:00. If not provided, current time is used.\").optional(),\n}).describe(\"Request model for creating a OneNote page in a section.\");\nconst OnenoteCreateMeSectionsPages_PageLinksHrefSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Link URL for opening the page.\");\nconst OnenoteCreateMeSectionsPages_PageLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateMeSectionsPages_PageLinksHrefSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateMeSectionsPages_PageLinksHrefSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening the OneNote page in various clients.\");\nexport const OnenoteCreateMeSectionsPagesOutput = z.object({\n id: z.string().describe(\"The unique identifier of the page. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the page. Read-only.\").nullable().optional(),\n level: z.number().int().describe(\"The indentation level of the page within its parent section.\").nullable().optional(),\n links: OnenoteCreateMeSectionsPages_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 contentUrl: z.string().describe(\"The URL for the page's HTML content. Read-only.\").nullable().optional(),\n createdByAppId: z.string().describe(\"The unique identifier of the application that created the page. Read-only.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the page was created in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the page was last modified in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the created OneNote page details.\");\n\nexport const onenoteCreateMeSectionsPages = action(\"ONENOTE_CREATE_ME_SECTIONS_PAGES\", {\n slug: \"onenote-create-me-sections-pages\",\n name: \"Create OneNote page in section\",\n description: \"Creates a new OneNote page in a specific section for the signed-in user. Use this action when you need to create a new page within a specific section of the user's OneNote notebook. The page content must be provided as HTML. The action constructs a complete HTML document including the title and optional creation timestamp in the meta tag. To include images or attachments, provide the full HTML with external image URLs, or use a multipart request approach. This action is idempotent - creating multiple pages with the same title creates separate pages.\",\n input: OnenoteCreateMeSectionsPagesInput,\n output: OnenoteCreateMeSectionsPagesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-me-sections-pages.cjs","names":["z","action"],"sources":["../../src/actions/create-me-sections-pages.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\n\nexport const OnenoteCreateMeSectionsPagesInput = z.object({\n page_title: z.string().describe(\"The title for the OneNote page.\"),\n section_id: z.string().describe(\"The unique identifier of the OneNote section where the page will be created.\"),\n html_content: z.string().describe(\"The HTML body content for the OneNote page (an HTML fragment, not a full document). The action wraps this fragment in <html><head><title>{page_title}</title></head><body>...</body></html>, so do not include outer html/head/body tags. Reference images via external URLs.\"),\n page_created_datetime: z.string().describe(\"The date and time when the page was created in ISO 8601 format (UTC). Example: 2015-07-22T09:00:00-08:00. If not provided, current time is used.\").optional(),\n}).describe(\"Request model for creating a OneNote page in a section.\");\nconst OnenoteCreateMeSectionsPages_PageLinksHrefSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Link URL for opening the page.\");\nconst OnenoteCreateMeSectionsPages_PageLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateMeSectionsPages_PageLinksHrefSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateMeSectionsPages_PageLinksHrefSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening the OneNote page in various clients.\");\nexport const OnenoteCreateMeSectionsPagesOutput = z.object({\n id: z.string().describe(\"The unique identifier of the page. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the page. Read-only.\").nullable().optional(),\n level: z.number().int().describe(\"The indentation level of the page within its parent section.\").nullable().optional(),\n links: OnenoteCreateMeSectionsPages_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 contentUrl: z.string().describe(\"The URL for the page's HTML content. Read-only.\").nullable().optional(),\n createdByAppId: z.string().describe(\"The unique identifier of the application that created the page. Read-only.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the page was created in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the page was last modified in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the created OneNote page details.\");\n\nexport const onenoteCreateMeSectionsPages: AppAction<\n typeof OnenoteCreateMeSectionsPagesInput,\n typeof OnenoteCreateMeSectionsPagesOutput,\n typeof onenote.credential\n> = action(\"ONENOTE_CREATE_ME_SECTIONS_PAGES\", {\n slug: \"onenote-create-me-sections-pages\",\n name: \"Create OneNote page in section\",\n description: \"Creates a new OneNote page in a specific section for the signed-in user. Use this action when you need to create a new page within a specific section of the user's OneNote notebook. The page content must be provided as HTML. The action constructs a complete HTML document including the title and optional creation timestamp in the meta tag. To include images or attachments, provide the full HTML with external image URLs, or use a multipart request approach. This action is idempotent - creating multiple pages with the same title creates separate pages.\",\n input: OnenoteCreateMeSectionsPagesInput,\n output: OnenoteCreateMeSectionsPagesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC9G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+QAA+Q;CACjT,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;AAC1M,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,eAAe,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACpF,kBAAkB,iDAAiD,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,OAAO,6CAA6C,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { onenote } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-me-sections-pages.d.ts
|
|
@@ -26,12 +28,7 @@ declare const OnenoteCreateMeSectionsPagesOutput: z.ZodObject<{
|
|
|
26
28
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
29
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const onenoteCreateMeSectionsPages:
|
|
30
|
-
page_title: string;
|
|
31
|
-
section_id: string;
|
|
32
|
-
html_content: string;
|
|
33
|
-
page_created_datetime?: string | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
|
+
declare const onenoteCreateMeSectionsPages: AppAction<typeof OnenoteCreateMeSectionsPagesInput, typeof OnenoteCreateMeSectionsPagesOutput, typeof onenote.credential>;
|
|
35
32
|
//#endregion
|
|
36
33
|
export { onenoteCreateMeSectionsPages };
|
|
37
34
|
//# sourceMappingURL=create-me-sections-pages.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-me-sections-pages.d.cts","names":[],"sources":["../../src/actions/create-me-sections-pages.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-me-sections-pages.d.cts","names":[],"sources":["../../src/actions/create-me-sections-pages.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAajC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAalC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { onenote } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-me-sections-pages.d.ts
|
|
@@ -26,12 +28,7 @@ declare const OnenoteCreateMeSectionsPagesOutput: z.ZodObject<{
|
|
|
26
28
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
29
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const onenoteCreateMeSectionsPages:
|
|
30
|
-
page_title: string;
|
|
31
|
-
section_id: string;
|
|
32
|
-
html_content: string;
|
|
33
|
-
page_created_datetime?: string | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
|
+
declare const onenoteCreateMeSectionsPages: AppAction<typeof OnenoteCreateMeSectionsPagesInput, typeof OnenoteCreateMeSectionsPagesOutput, typeof onenote.credential>;
|
|
35
32
|
//#endregion
|
|
36
33
|
export { onenoteCreateMeSectionsPages };
|
|
37
34
|
//# sourceMappingURL=create-me-sections-pages.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-me-sections-pages.d.mts","names":[],"sources":["../../src/actions/create-me-sections-pages.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-me-sections-pages.d.mts","names":[],"sources":["../../src/actions/create-me-sections-pages.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAajC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAalC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-me-sections-pages.mjs","names":[],"sources":["../../src/actions/create-me-sections-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateMeSectionsPagesInput = z.object({\n page_title: z.string().describe(\"The title for the OneNote page.\"),\n section_id: z.string().describe(\"The unique identifier of the OneNote section where the page will be created.\"),\n html_content: z.string().describe(\"The HTML body content for the OneNote page (an HTML fragment, not a full document). The action wraps this fragment in <html><head><title>{page_title}</title></head><body>...</body></html>, so do not include outer html/head/body tags. Reference images via external URLs.\"),\n page_created_datetime: z.string().describe(\"The date and time when the page was created in ISO 8601 format (UTC). Example: 2015-07-22T09:00:00-08:00. If not provided, current time is used.\").optional(),\n}).describe(\"Request model for creating a OneNote page in a section.\");\nconst OnenoteCreateMeSectionsPages_PageLinksHrefSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Link URL for opening the page.\");\nconst OnenoteCreateMeSectionsPages_PageLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateMeSectionsPages_PageLinksHrefSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateMeSectionsPages_PageLinksHrefSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening the OneNote page in various clients.\");\nexport const OnenoteCreateMeSectionsPagesOutput = z.object({\n id: z.string().describe(\"The unique identifier of the page. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the page. Read-only.\").nullable().optional(),\n level: z.number().int().describe(\"The indentation level of the page within its parent section.\").nullable().optional(),\n links: OnenoteCreateMeSectionsPages_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 contentUrl: z.string().describe(\"The URL for the page's HTML content. Read-only.\").nullable().optional(),\n createdByAppId: z.string().describe(\"The unique identifier of the application that created the page. Read-only.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the page was created in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the page was last modified in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the created OneNote page details.\");\n\nexport const onenoteCreateMeSectionsPages = action(\"ONENOTE_CREATE_ME_SECTIONS_PAGES\", {\n slug: \"onenote-create-me-sections-pages\",\n name: \"Create OneNote page in section\",\n description: \"Creates a new OneNote page in a specific section for the signed-in user. Use this action when you need to create a new page within a specific section of the user's OneNote notebook. The page content must be provided as HTML. The action constructs a complete HTML document including the title and optional creation timestamp in the meta tag. To include images or attachments, provide the full HTML with external image URLs, or use a multipart request approach. This action is idempotent - creating multiple pages with the same title creates separate pages.\",\n input: OnenoteCreateMeSectionsPagesInput,\n output: OnenoteCreateMeSectionsPagesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-me-sections-pages.mjs","names":[],"sources":["../../src/actions/create-me-sections-pages.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\n\nexport const OnenoteCreateMeSectionsPagesInput = z.object({\n page_title: z.string().describe(\"The title for the OneNote page.\"),\n section_id: z.string().describe(\"The unique identifier of the OneNote section where the page will be created.\"),\n html_content: z.string().describe(\"The HTML body content for the OneNote page (an HTML fragment, not a full document). The action wraps this fragment in <html><head><title>{page_title}</title></head><body>...</body></html>, so do not include outer html/head/body tags. Reference images via external URLs.\"),\n page_created_datetime: z.string().describe(\"The date and time when the page was created in ISO 8601 format (UTC). Example: 2015-07-22T09:00:00-08:00. If not provided, current time is used.\").optional(),\n}).describe(\"Request model for creating a OneNote page in a section.\");\nconst OnenoteCreateMeSectionsPages_PageLinksHrefSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Link URL for opening the page.\");\nconst OnenoteCreateMeSectionsPages_PageLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateMeSectionsPages_PageLinksHrefSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateMeSectionsPages_PageLinksHrefSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening the OneNote page in various clients.\");\nexport const OnenoteCreateMeSectionsPagesOutput = z.object({\n id: z.string().describe(\"The unique identifier of the page. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the page. Read-only.\").nullable().optional(),\n level: z.number().int().describe(\"The indentation level of the page within its parent section.\").nullable().optional(),\n links: OnenoteCreateMeSectionsPages_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 contentUrl: z.string().describe(\"The URL for the page's HTML content. Read-only.\").nullable().optional(),\n createdByAppId: z.string().describe(\"The unique identifier of the application that created the page. Read-only.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the page was created in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the page was last modified in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the created OneNote page details.\");\n\nexport const onenoteCreateMeSectionsPages: AppAction<\n typeof OnenoteCreateMeSectionsPagesInput,\n typeof OnenoteCreateMeSectionsPagesOutput,\n typeof onenote.credential\n> = action(\"ONENOTE_CREATE_ME_SECTIONS_PAGES\", {\n slug: \"onenote-create-me-sections-pages\",\n name: \"Create OneNote page in section\",\n description: \"Creates a new OneNote page in a specific section for the signed-in user. Use this action when you need to create a new page within a specific section of the user's OneNote notebook. The page content must be provided as HTML. The action constructs a complete HTML document including the title and optional creation timestamp in the meta tag. To include images or attachments, provide the full HTML with external image URLs, or use a multipart request approach. This action is idempotent - creating multiple pages with the same title creates separate pages.\",\n input: OnenoteCreateMeSectionsPagesInput,\n output: OnenoteCreateMeSectionsPagesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoC,EAAE,OAAO;CACxD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC9G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+QAA+Q;CACjT,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;AAC1M,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,mDAAmD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,+CAA+C,EAAE,OAAO;CAC5D,eAAe,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACpF,kBAAkB,iDAAiD,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAclF,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,OAAO,6CAA6C,SAAS,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-onenote-group-notebooks-section-groups.cjs","names":["z","action"],"sources":["../../src/actions/create-onenote-group-notebooks-section-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateOnenoteGroupNotebooksSectionGroupsInput = z.object({\n group_id: z.string().describe(\"The unique identifier of the Microsoft 365 group that owns the notebook.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook in the group.\"),\n display_name: z.string().describe(\"The name of the new section group. Must be 50 characters or fewer. Cannot contain the characters: ? * / : < > | & # ' % ~\"),\n}).describe(\"Request model for creating a section group in a group notebook.\");\nconst OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentityUserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents a user identity.\");\nconst OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentitySetSchema = z.object({\n user: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentityUserSchema.nullable().optional(),\n application: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentityUserSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources.\");\nexport const OnenoteCreateOnenoteGroupNotebooksSectionGroupsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section group. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section group. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentitySetSchema.nullable().optional(),\n displayName: z.string().describe(\"The name of the section group.\").nullable().optional(),\n sectionsUrl: z.string().describe(\"URL for the sections navigation property, which returns all sections in this section group. Read-only.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section group was created in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n sectionGroupsUrl: z.string().describe(\"URL for the sectionGroups navigation property, which returns all section groups in this section group. Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section group was last modified in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the created section group.\");\n\nexport const onenoteCreateOnenoteGroupNotebooksSectionGroups = action(\"ONENOTE_CREATE_ONENOTE_GROUP_NOTEBOOKS_SECTION_GROUPS\", {\n slug: \"onenote-create-onenote-group-notebooks-section-groups\",\n name: \"Create section group in group notebook\",\n description: \"Creates a new section group within a OneNote notebook that belongs to a Microsoft 365 group. Use this action when you need to organize sections inside a group notebook by creating a new top-level section group to hold related sections together. The displayName must be 50 characters or fewer and cannot contain the characters ? * / : < > | & # ' % ~. Section group names must be unique within the same hierarchy level in the notebook.\",\n input: OnenoteCreateOnenoteGroupNotebooksSectionGroupsInput,\n output: OnenoteCreateOnenoteGroupNotebooksSectionGroupsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-onenote-group-notebooks-section-groups.cjs","names":["z","action"],"sources":["../../src/actions/create-onenote-group-notebooks-section-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\n\nexport const OnenoteCreateOnenoteGroupNotebooksSectionGroupsInput = z.object({\n group_id: z.string().describe(\"The unique identifier of the Microsoft 365 group that owns the notebook.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook in the group.\"),\n display_name: z.string().describe(\"The name of the new section group. Must be 50 characters or fewer. Cannot contain the characters: ? * / : < > | & # ' % ~\"),\n}).describe(\"Request model for creating a section group in a group notebook.\");\nconst OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentityUserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents a user identity.\");\nconst OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentitySetSchema = z.object({\n user: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentityUserSchema.nullable().optional(),\n application: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentityUserSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources.\");\nexport const OnenoteCreateOnenoteGroupNotebooksSectionGroupsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section group. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section group. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentitySetSchema.nullable().optional(),\n displayName: z.string().describe(\"The name of the section group.\").nullable().optional(),\n sectionsUrl: z.string().describe(\"URL for the sections navigation property, which returns all sections in this section group. Read-only.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section group was created in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n sectionGroupsUrl: z.string().describe(\"URL for the sectionGroups navigation property, which returns all section groups in this section group. Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section group was last modified in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the created section group.\");\n\nexport const onenoteCreateOnenoteGroupNotebooksSectionGroups: AppAction<\n typeof OnenoteCreateOnenoteGroupNotebooksSectionGroupsInput,\n typeof OnenoteCreateOnenoteGroupNotebooksSectionGroupsOutput,\n typeof onenote.credential\n> = action(\"ONENOTE_CREATE_ONENOTE_GROUP_NOTEBOOKS_SECTION_GROUPS\", {\n slug: \"onenote-create-onenote-group-notebooks-section-groups\",\n name: \"Create section group in group notebook\",\n description: \"Creates a new section group within a OneNote notebook that belongs to a Microsoft 365 group. Use this action when you need to organize sections inside a group notebook by creating a new top-level section group to hold related sections together. The displayName must be 50 characters or fewer and cannot contain the characters ? * / : < > | & # ' % ~. Section group names must be unique within the same hierarchy level in the notebook.\",\n input: OnenoteCreateOnenoteGroupNotebooksSectionGroupsInput,\n output: OnenoteCreateOnenoteGroupNotebooksSectionGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uDAAuDA,IAAAA,EAAE,OAAO;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;AAC/J,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,qEAAqEA,IAAAA,EAAE,OAAO;CAClF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,oEAAoEA,IAAAA,EAAE,OAAO;CACjF,MAAM,mEAAmE,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQ,mEAAmE,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,mEAAmE,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,wDAAwDA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,WAAW,kEAAkE,SAAS,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,gBAAgB,kEAAkE,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/K,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,kDAITC,eAAAA,OAAO,yDAAyD;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { onenote } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-onenote-group-notebooks-section-groups.d.ts
|
|
@@ -43,11 +45,7 @@ declare const OnenoteCreateOnenoteGroupNotebooksSectionGroupsOutput: z.ZodObject
|
|
|
43
45
|
sectionGroupsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
46
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const onenoteCreateOnenoteGroupNotebooksSectionGroups:
|
|
47
|
-
group_id: string;
|
|
48
|
-
notebook_id: string;
|
|
49
|
-
display_name: string;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
|
+
declare const onenoteCreateOnenoteGroupNotebooksSectionGroups: AppAction<typeof OnenoteCreateOnenoteGroupNotebooksSectionGroupsInput, typeof OnenoteCreateOnenoteGroupNotebooksSectionGroupsOutput, typeof onenote.credential>;
|
|
51
49
|
//#endregion
|
|
52
50
|
export { onenoteCreateOnenoteGroupNotebooksSectionGroups };
|
|
53
51
|
//# sourceMappingURL=create-onenote-group-notebooks-section-groups.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-onenote-group-notebooks-section-groups.d.cts","names":[],"sources":["../../src/actions/create-onenote-group-notebooks-section-groups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-onenote-group-notebooks-section-groups.d.cts","names":[],"sources":["../../src/actions/create-onenote-group-notebooks-section-groups.ts"],"mappings":";;;;;cAMa,oDAAA,EAAoD,CAAA,CAAA,SAAA;;;;;cAcpD,qDAAA,EAAqD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAYrD,+CAAA,EAAiD,SAAA,QACrD,oDAAA,SACA,qDAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { onenote } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-onenote-group-notebooks-section-groups.d.ts
|
|
@@ -43,11 +45,7 @@ declare const OnenoteCreateOnenoteGroupNotebooksSectionGroupsOutput: z.ZodObject
|
|
|
43
45
|
sectionGroupsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
46
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const onenoteCreateOnenoteGroupNotebooksSectionGroups:
|
|
47
|
-
group_id: string;
|
|
48
|
-
notebook_id: string;
|
|
49
|
-
display_name: string;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
|
+
declare const onenoteCreateOnenoteGroupNotebooksSectionGroups: AppAction<typeof OnenoteCreateOnenoteGroupNotebooksSectionGroupsInput, typeof OnenoteCreateOnenoteGroupNotebooksSectionGroupsOutput, typeof onenote.credential>;
|
|
51
49
|
//#endregion
|
|
52
50
|
export { onenoteCreateOnenoteGroupNotebooksSectionGroups };
|
|
53
51
|
//# sourceMappingURL=create-onenote-group-notebooks-section-groups.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-onenote-group-notebooks-section-groups.d.mts","names":[],"sources":["../../src/actions/create-onenote-group-notebooks-section-groups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-onenote-group-notebooks-section-groups.d.mts","names":[],"sources":["../../src/actions/create-onenote-group-notebooks-section-groups.ts"],"mappings":";;;;;cAMa,oDAAA,EAAoD,CAAA,CAAA,SAAA;;;;;cAcpD,qDAAA,EAAqD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAYrD,+CAAA,EAAiD,SAAA,QACrD,oDAAA,SACA,qDAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-onenote-group-notebooks-section-groups.mjs","names":[],"sources":["../../src/actions/create-onenote-group-notebooks-section-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateOnenoteGroupNotebooksSectionGroupsInput = z.object({\n group_id: z.string().describe(\"The unique identifier of the Microsoft 365 group that owns the notebook.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook in the group.\"),\n display_name: z.string().describe(\"The name of the new section group. Must be 50 characters or fewer. Cannot contain the characters: ? * / : < > | & # ' % ~\"),\n}).describe(\"Request model for creating a section group in a group notebook.\");\nconst OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentityUserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents a user identity.\");\nconst OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentitySetSchema = z.object({\n user: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentityUserSchema.nullable().optional(),\n application: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentityUserSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources.\");\nexport const OnenoteCreateOnenoteGroupNotebooksSectionGroupsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section group. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section group. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentitySetSchema.nullable().optional(),\n displayName: z.string().describe(\"The name of the section group.\").nullable().optional(),\n sectionsUrl: z.string().describe(\"URL for the sections navigation property, which returns all sections in this section group. Read-only.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section group was created in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n sectionGroupsUrl: z.string().describe(\"URL for the sectionGroups navigation property, which returns all section groups in this section group. Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section group was last modified in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the created section group.\");\n\nexport const onenoteCreateOnenoteGroupNotebooksSectionGroups = action(\"ONENOTE_CREATE_ONENOTE_GROUP_NOTEBOOKS_SECTION_GROUPS\", {\n slug: \"onenote-create-onenote-group-notebooks-section-groups\",\n name: \"Create section group in group notebook\",\n description: \"Creates a new section group within a OneNote notebook that belongs to a Microsoft 365 group. Use this action when you need to organize sections inside a group notebook by creating a new top-level section group to hold related sections together. The displayName must be 50 characters or fewer and cannot contain the characters ? * / : < > | & # ' % ~. Section group names must be unique within the same hierarchy level in the notebook.\",\n input: OnenoteCreateOnenoteGroupNotebooksSectionGroupsInput,\n output: OnenoteCreateOnenoteGroupNotebooksSectionGroupsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-onenote-group-notebooks-section-groups.mjs","names":[],"sources":["../../src/actions/create-onenote-group-notebooks-section-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\n\nexport const OnenoteCreateOnenoteGroupNotebooksSectionGroupsInput = z.object({\n group_id: z.string().describe(\"The unique identifier of the Microsoft 365 group that owns the notebook.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook in the group.\"),\n display_name: z.string().describe(\"The name of the new section group. Must be 50 characters or fewer. Cannot contain the characters: ? * / : < > | & # ' % ~\"),\n}).describe(\"Request model for creating a section group in a group notebook.\");\nconst OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentityUserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents a user identity.\");\nconst OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentitySetSchema = z.object({\n user: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentityUserSchema.nullable().optional(),\n application: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentityUserSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources.\");\nexport const OnenoteCreateOnenoteGroupNotebooksSectionGroupsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section group. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section group. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentitySetSchema.nullable().optional(),\n displayName: z.string().describe(\"The name of the section group.\").nullable().optional(),\n sectionsUrl: z.string().describe(\"URL for the sections navigation property, which returns all sections in this section group. Read-only.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateOnenoteGroupNotebooksSectionGroups_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section group was created in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n sectionGroupsUrl: z.string().describe(\"URL for the sectionGroups navigation property, which returns all section groups in this section group. Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section group was last modified in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the created section group.\");\n\nexport const onenoteCreateOnenoteGroupNotebooksSectionGroups: AppAction<\n typeof OnenoteCreateOnenoteGroupNotebooksSectionGroupsInput,\n typeof OnenoteCreateOnenoteGroupNotebooksSectionGroupsOutput,\n typeof onenote.credential\n> = action(\"ONENOTE_CREATE_ONENOTE_GROUP_NOTEBOOKS_SECTION_GROUPS\", {\n slug: \"onenote-create-onenote-group-notebooks-section-groups\",\n name: \"Create section group in group notebook\",\n description: \"Creates a new section group within a OneNote notebook that belongs to a Microsoft 365 group. Use this action when you need to organize sections inside a group notebook by creating a new top-level section group to hold related sections together. The displayName must be 50 characters or fewer and cannot contain the characters ? * / : < > | & # ' % ~. Section group names must be unique within the same hierarchy level in the notebook.\",\n input: OnenoteCreateOnenoteGroupNotebooksSectionGroupsInput,\n output: OnenoteCreateOnenoteGroupNotebooksSectionGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uDAAuD,EAAE,OAAO;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;AAC/J,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,qEAAqE,EAAE,OAAO;CAClF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,oEAAoE,EAAE,OAAO;CACjF,MAAM,mEAAmE,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQ,mEAAmE,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,mEAAmE,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAahF,MAAa,kDAIT,OAAO,yDAAyD;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QArBmE,EAAE,OAAO;EAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,WAAW,kEAAkE,SAAS,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/J,gBAAgB,kEAAkE,SAAS,CAAC,CAAC,SAAS;EACtG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/K,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-site-notebooks-sections.cjs","names":["z","action"],"sources":["../../src/actions/create-site-notebooks-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateSiteNotebooksSectionsInput = z.object({\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that contains the notebook. Optional - if not provided, uses the user's personal OneNote.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the site.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n}).describe(\"Request model for creating a OneNote section within a notebook in a SharePoint site.\");\nconst OnenoteCreateSiteNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateSiteNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteCreateSiteNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateSiteNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateSiteNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateSiteNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateSiteNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section in a site notebook.\");\n\nexport const onenoteCreateSiteNotebooksSections = action(\"ONENOTE_CREATE_SITE_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-create-site-notebooks-sections\",\n name: \"Create section in site notebook\",\n description: \"Creates a new OneNote section within a specified notebook in a SharePoint site. Use this action when you need to add a new section to organize OneNote pages within a notebook that belongs to a SharePoint site. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. This action is available in the following national cloud deployments: Global service only. Required permissions: Notes.Create (delegated/personal account), Notes.ReadWrite.All (application).\",\n input: OnenoteCreateSiteNotebooksSectionsInput,\n output: OnenoteCreateSiteNotebooksSectionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-site-notebooks-sections.cjs","names":["z","action"],"sources":["../../src/actions/create-site-notebooks-sections.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\n\nexport const OnenoteCreateSiteNotebooksSectionsInput = z.object({\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that contains the notebook. Optional - if not provided, uses the user's personal OneNote.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the site.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n}).describe(\"Request model for creating a OneNote section within a notebook in a SharePoint site.\");\nconst OnenoteCreateSiteNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateSiteNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteCreateSiteNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateSiteNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateSiteNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateSiteNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateSiteNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section in a site notebook.\");\n\nexport const onenoteCreateSiteNotebooksSections: AppAction<\n typeof OnenoteCreateSiteNotebooksSectionsInput,\n typeof OnenoteCreateSiteNotebooksSectionsOutput,\n typeof onenote.credential\n> = action(\"ONENOTE_CREATE_SITE_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-create-site-notebooks-sections\",\n name: \"Create section in site notebook\",\n description: \"Creates a new OneNote section within a specified notebook in a SharePoint site. Use this action when you need to add a new section to organize OneNote pages within a notebook that belongs to a SharePoint site. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. This action is available in the following national cloud deployments: Global service only. Required permissions: Notes.Create (delegated/personal account), Notes.ReadWrite.All (application).\",\n input: OnenoteCreateSiteNotebooksSectionsInput,\n output: OnenoteCreateSiteNotebooksSectionsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { onenote } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-site-notebooks-sections.d.ts
|
|
@@ -51,11 +53,7 @@ declare const OnenoteCreateSiteNotebooksSectionsOutput: z.ZodObject<{
|
|
|
51
53
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
54
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
55
|
}, z.core.$loose>;
|
|
54
|
-
declare const onenoteCreateSiteNotebooksSections:
|
|
55
|
-
notebook_id: string;
|
|
56
|
-
display_name: string;
|
|
57
|
-
site_id?: string | undefined;
|
|
58
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
56
|
+
declare const onenoteCreateSiteNotebooksSections: AppAction<typeof OnenoteCreateSiteNotebooksSectionsInput, typeof OnenoteCreateSiteNotebooksSectionsOutput, typeof onenote.credential>;
|
|
59
57
|
//#endregion
|
|
60
58
|
export { onenoteCreateSiteNotebooksSections };
|
|
61
59
|
//# sourceMappingURL=create-site-notebooks-sections.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-site-notebooks-sections.d.cts","names":[],"sources":["../../src/actions/create-site-notebooks-sections.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-site-notebooks-sections.d.cts","names":[],"sources":["../../src/actions/create-site-notebooks-sections.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAaxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { onenote } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-site-notebooks-sections.d.ts
|
|
@@ -51,11 +53,7 @@ declare const OnenoteCreateSiteNotebooksSectionsOutput: z.ZodObject<{
|
|
|
51
53
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
54
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
55
|
}, z.core.$loose>;
|
|
54
|
-
declare const onenoteCreateSiteNotebooksSections:
|
|
55
|
-
notebook_id: string;
|
|
56
|
-
display_name: string;
|
|
57
|
-
site_id?: string | undefined;
|
|
58
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
56
|
+
declare const onenoteCreateSiteNotebooksSections: AppAction<typeof OnenoteCreateSiteNotebooksSectionsInput, typeof OnenoteCreateSiteNotebooksSectionsOutput, typeof onenote.credential>;
|
|
59
57
|
//#endregion
|
|
60
58
|
export { onenoteCreateSiteNotebooksSections };
|
|
61
59
|
//# sourceMappingURL=create-site-notebooks-sections.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-site-notebooks-sections.d.mts","names":[],"sources":["../../src/actions/create-site-notebooks-sections.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-site-notebooks-sections.d.mts","names":[],"sources":["../../src/actions/create-site-notebooks-sections.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAaxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-site-notebooks-sections.mjs","names":[],"sources":["../../src/actions/create-site-notebooks-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateSiteNotebooksSectionsInput = z.object({\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that contains the notebook. Optional - if not provided, uses the user's personal OneNote.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the site.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n}).describe(\"Request model for creating a OneNote section within a notebook in a SharePoint site.\");\nconst OnenoteCreateSiteNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateSiteNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteCreateSiteNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateSiteNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateSiteNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateSiteNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateSiteNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section in a site notebook.\");\n\nexport const onenoteCreateSiteNotebooksSections = action(\"ONENOTE_CREATE_SITE_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-create-site-notebooks-sections\",\n name: \"Create section in site notebook\",\n description: \"Creates a new OneNote section within a specified notebook in a SharePoint site. Use this action when you need to add a new section to organize OneNote pages within a notebook that belongs to a SharePoint site. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. This action is available in the following national cloud deployments: Global service only. Required permissions: Notes.Create (delegated/personal account), Notes.ReadWrite.All (application).\",\n input: OnenoteCreateSiteNotebooksSectionsInput,\n output: OnenoteCreateSiteNotebooksSectionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-site-notebooks-sections.mjs","names":[],"sources":["../../src/actions/create-site-notebooks-sections.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\n\nexport const OnenoteCreateSiteNotebooksSectionsInput = z.object({\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that contains the notebook. Optional - if not provided, uses the user's personal OneNote.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the site.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n}).describe(\"Request model for creating a OneNote section within a notebook in a SharePoint site.\");\nconst OnenoteCreateSiteNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateSiteNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteCreateSiteNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateSiteNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateSiteNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateSiteNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateSiteNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section in a site notebook.\");\n\nexport const onenoteCreateSiteNotebooksSections: AppAction<\n typeof OnenoteCreateSiteNotebooksSectionsInput,\n typeof OnenoteCreateSiteNotebooksSectionsOutput,\n typeof onenote.credential\n> = action(\"ONENOTE_CREATE_SITE_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-create-site-notebooks-sections\",\n name: \"Create section in site notebook\",\n description: \"Creates a new OneNote section within a specified notebook in a SharePoint site. Use this action when you need to add a new section to organize OneNote pages within a notebook that belongs to a SharePoint site. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. This action is available in the following national cloud deployments: Global service only. Required permissions: Notes.Create (delegated/personal account), Notes.ReadWrite.All (application).\",\n input: OnenoteCreateSiteNotebooksSectionsInput,\n output: OnenoteCreateSiteNotebooksSectionsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-notebooks-sections.cjs","names":["z","action"],"sources":["../../src/actions/create-user-notebooks-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateUserNotebooksSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the user. Use 'me' for the current signed-in user.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n}).describe(\"Request model for creating a OneNote section within a notebook for a specific user.\");\nconst OnenoteCreateUserNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateUserNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateUserNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteCreateUserNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateUserNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateUserNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateUserNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateUserNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section in a user notebook.\");\n\nexport const onenoteCreateUserNotebooksSections = action(\"ONENOTE_CREATE_USER_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-create-user-notebooks-sections\",\n name: \"Create section in user notebook\",\n description: \"Creates a new OneNote section within a specified notebook for a specific user. Use this action when you need to add a new section to organize OneNote pages within a notebook that belongs to a specific user. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. Returns the full created section object including the server-assigned ID.\",\n input: OnenoteCreateUserNotebooksSectionsInput,\n output: OnenoteCreateUserNotebooksSectionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user-notebooks-sections.cjs","names":["z","action"],"sources":["../../src/actions/create-user-notebooks-sections.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\n\nexport const OnenoteCreateUserNotebooksSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the user. Use 'me' for the current signed-in user.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n}).describe(\"Request model for creating a OneNote section within a notebook for a specific user.\");\nconst OnenoteCreateUserNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateUserNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateUserNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteCreateUserNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateUserNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateUserNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateUserNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateUserNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section in a user notebook.\");\n\nexport const onenoteCreateUserNotebooksSections: AppAction<\n typeof OnenoteCreateUserNotebooksSectionsInput,\n typeof OnenoteCreateUserNotebooksSectionsOutput,\n typeof onenote.credential\n> = action(\"ONENOTE_CREATE_USER_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-create-user-notebooks-sections\",\n name: \"Create section in user notebook\",\n description: \"Creates a new OneNote section within a specified notebook for a specific user. Use this action when you need to add a new section to organize OneNote pages within a notebook that belongs to a specific user. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. Returns the full created section object including the server-assigned ID.\",\n input: OnenoteCreateUserNotebooksSectionsInput,\n output: OnenoteCreateUserNotebooksSectionsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { onenote } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-user-notebooks-sections.d.ts
|
|
@@ -51,11 +53,7 @@ declare const OnenoteCreateUserNotebooksSectionsOutput: z.ZodObject<{
|
|
|
51
53
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
54
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
55
|
}, z.core.$loose>;
|
|
54
|
-
declare const onenoteCreateUserNotebooksSections:
|
|
55
|
-
user_id: string;
|
|
56
|
-
notebook_id: string;
|
|
57
|
-
display_name: string;
|
|
58
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
56
|
+
declare const onenoteCreateUserNotebooksSections: AppAction<typeof OnenoteCreateUserNotebooksSectionsInput, typeof OnenoteCreateUserNotebooksSectionsOutput, typeof onenote.credential>;
|
|
59
57
|
//#endregion
|
|
60
58
|
export { onenoteCreateUserNotebooksSections };
|
|
61
59
|
//# sourceMappingURL=create-user-notebooks-sections.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-notebooks-sections.d.cts","names":[],"sources":["../../src/actions/create-user-notebooks-sections.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user-notebooks-sections.d.cts","names":[],"sources":["../../src/actions/create-user-notebooks-sections.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAaxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { onenote } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-user-notebooks-sections.d.ts
|
|
@@ -51,11 +53,7 @@ declare const OnenoteCreateUserNotebooksSectionsOutput: z.ZodObject<{
|
|
|
51
53
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
54
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
55
|
}, z.core.$loose>;
|
|
54
|
-
declare const onenoteCreateUserNotebooksSections:
|
|
55
|
-
user_id: string;
|
|
56
|
-
notebook_id: string;
|
|
57
|
-
display_name: string;
|
|
58
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
56
|
+
declare const onenoteCreateUserNotebooksSections: AppAction<typeof OnenoteCreateUserNotebooksSectionsInput, typeof OnenoteCreateUserNotebooksSectionsOutput, typeof onenote.credential>;
|
|
59
57
|
//#endregion
|
|
60
58
|
export { onenoteCreateUserNotebooksSections };
|
|
61
59
|
//# sourceMappingURL=create-user-notebooks-sections.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-notebooks-sections.d.mts","names":[],"sources":["../../src/actions/create-user-notebooks-sections.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user-notebooks-sections.d.mts","names":[],"sources":["../../src/actions/create-user-notebooks-sections.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAaxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-notebooks-sections.mjs","names":[],"sources":["../../src/actions/create-user-notebooks-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateUserNotebooksSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the user. Use 'me' for the current signed-in user.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n}).describe(\"Request model for creating a OneNote section within a notebook for a specific user.\");\nconst OnenoteCreateUserNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateUserNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateUserNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteCreateUserNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateUserNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateUserNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateUserNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateUserNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section in a user notebook.\");\n\nexport const onenoteCreateUserNotebooksSections = action(\"ONENOTE_CREATE_USER_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-create-user-notebooks-sections\",\n name: \"Create section in user notebook\",\n description: \"Creates a new OneNote section within a specified notebook for a specific user. Use this action when you need to add a new section to organize OneNote pages within a notebook that belongs to a specific user. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. Returns the full created section object including the server-assigned ID.\",\n input: OnenoteCreateUserNotebooksSectionsInput,\n output: OnenoteCreateUserNotebooksSectionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user-notebooks-sections.mjs","names":[],"sources":["../../src/actions/create-user-notebooks-sections.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\n\nexport const OnenoteCreateUserNotebooksSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the user. Use 'me' for the current signed-in user.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n}).describe(\"Request model for creating a OneNote section within a notebook for a specific user.\");\nconst OnenoteCreateUserNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateUserNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateUserNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteCreateUserNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateUserNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateUserNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateUserNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateUserNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section in a user notebook.\");\n\nexport const onenoteCreateUserNotebooksSections: AppAction<\n typeof OnenoteCreateUserNotebooksSectionsInput,\n typeof OnenoteCreateUserNotebooksSectionsOutput,\n typeof onenote.credential\n> = action(\"ONENOTE_CREATE_USER_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-create-user-notebooks-sections\",\n name: \"Create section in user notebook\",\n description: \"Creates a new OneNote section within a specified notebook for a specific user. Use this action when you need to add a new section to organize OneNote pages within a notebook that belongs to a specific user. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. Returns the full created section object including the server-assigned ID.\",\n input: OnenoteCreateUserNotebooksSectionsInput,\n output: OnenoteCreateUserNotebooksSectionsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-pages.cjs","names":["z","action"],"sources":["../../src/actions/create-user-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateUserPagesInput = z.object({\n user_id: z.string().describe(\"The unique identifier or user principal name (UPN) of the user who owns the OneNote notebook.\"),\n html_content: z.string().describe(\"The HTML content for the OneNote page. Must be valid HTML including html, head, and body tags.\"),\n section_name: z.string().describe(\"Optional section name to create the page in a specific section of the default notebook. If the section doesn't exist, a new section will be created.\").optional(),\n});\nconst OnenoteCreateUserPages_OneNoteWebUrlSchema = z.object({\n href: z.string().describe(\"The URL for opening in OneNote web.\").nullable(),\n}).passthrough().describe(\"Link to open the page in OneNote on the web.\");\nconst OnenoteCreateUserPages_OneNoteClientUrlSchema = z.object({\n href: z.string().describe(\"The URL for opening in OneNote client.\").nullable(),\n}).passthrough().describe(\"Link to open the page in the OneNote native client.\");\nconst OnenoteCreateUserPages_PageLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserPages_OneNoteWebUrlSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserPages_OneNoteClientUrlSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening the OneNote page.\");\nexport const OnenoteCreateUserPagesOutput = z.object({\n id: z.string().describe(\"The unique identifier of the page. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the page. Read-only.\").nullable().optional(),\n level: z.number().int().describe(\"The indentation level of the page. Read-only.\").nullable().optional(),\n links: OnenoteCreateUserPages_PageLinksSchema.nullable().optional(),\n order: z.number().int().describe(\"The order of the page within its parent section. Read-only.\").nullable().optional(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n contentUrl: z.string().describe(\"The URL for the page's HTML content. Read-only.\").nullable().optional(),\n createdByAppId: z.string().describe(\"The unique identifier of the application that created the page. Read-only.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the page was created in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the page was last modified in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the created OneNote page details.\");\n\nexport const onenoteCreateUserPages = action(\"ONENOTE_CREATE_USER_PAGES\", {\n slug: \"onenote-create-user-pages\",\n name: \"Create user OneNote page\",\n description: \"Creates a new OneNote page in the default section of the default notebook for a specific user. Use this action when you need to programmatically create a new page in a user's OneNote notebook. The page content must be provided as HTML. The page will be created in the default section of the default notebook unless a specific section name is provided via the sectionName query parameter.\",\n input: OnenoteCreateUserPagesInput,\n output: OnenoteCreateUserPagesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user-pages.cjs","names":["z","action"],"sources":["../../src/actions/create-user-pages.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\n\nexport const OnenoteCreateUserPagesInput = z.object({\n user_id: z.string().describe(\"The unique identifier or user principal name (UPN) of the user who owns the OneNote notebook.\"),\n html_content: z.string().describe(\"The HTML content for the OneNote page. Must be valid HTML including html, head, and body tags.\"),\n section_name: z.string().describe(\"Optional section name to create the page in a specific section of the default notebook. If the section doesn't exist, a new section will be created.\").optional(),\n});\nconst OnenoteCreateUserPages_OneNoteWebUrlSchema = z.object({\n href: z.string().describe(\"The URL for opening in OneNote web.\").nullable(),\n}).passthrough().describe(\"Link to open the page in OneNote on the web.\");\nconst OnenoteCreateUserPages_OneNoteClientUrlSchema = z.object({\n href: z.string().describe(\"The URL for opening in OneNote client.\").nullable(),\n}).passthrough().describe(\"Link to open the page in the OneNote native client.\");\nconst OnenoteCreateUserPages_PageLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserPages_OneNoteWebUrlSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserPages_OneNoteClientUrlSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening the OneNote page.\");\nexport const OnenoteCreateUserPagesOutput = z.object({\n id: z.string().describe(\"The unique identifier of the page. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the page. Read-only.\").nullable().optional(),\n level: z.number().int().describe(\"The indentation level of the page. Read-only.\").nullable().optional(),\n links: OnenoteCreateUserPages_PageLinksSchema.nullable().optional(),\n order: z.number().int().describe(\"The order of the page within its parent section. Read-only.\").nullable().optional(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n contentUrl: z.string().describe(\"The URL for the page's HTML content. Read-only.\").nullable().optional(),\n createdByAppId: z.string().describe(\"The unique identifier of the application that created the page. Read-only.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the page was created in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the page was last modified in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the created OneNote page details.\");\n\nexport const onenoteCreateUserPages: AppAction<\n typeof OnenoteCreateUserPagesInput,\n typeof OnenoteCreateUserPagesOutput,\n typeof onenote.credential\n> = action(\"ONENOTE_CREATE_USER_PAGES\", {\n slug: \"onenote-create-user-pages\",\n name: \"Create user OneNote page\",\n description: \"Creates a new OneNote page in the default section of the default notebook for a specific user. Use this action when you need to programmatically create a new page in a user's OneNote notebook. The page content must be provided as HTML. The page will be created in the default section of the default notebook unless a specific section name is provided via the sectionName query parameter.\",\n input: OnenoteCreateUserPagesInput,\n output: OnenoteCreateUserPagesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CAC5H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAClI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;AACrM,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO,EAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO,EAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,eAAe,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC9E,kBAAkB,8CAA8C,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,OAAO,uCAAuC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { onenote } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-user-pages.d.ts
|
|
@@ -25,11 +27,7 @@ declare const OnenoteCreateUserPagesOutput: z.ZodObject<{
|
|
|
25
27
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const onenoteCreateUserPages:
|
|
29
|
-
user_id: string;
|
|
30
|
-
html_content: string;
|
|
31
|
-
section_name?: string | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
declare const onenoteCreateUserPages: AppAction<typeof OnenoteCreateUserPagesInput, typeof OnenoteCreateUserPagesOutput, typeof onenote.credential>;
|
|
33
31
|
//#endregion
|
|
34
32
|
export { onenoteCreateUserPages };
|
|
35
33
|
//# sourceMappingURL=create-user-pages.d.cts.map
|