@keystrokehq/onenote 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/copy-onenote-group-notebook.cjs +1 -1
- package/dist/actions/copy-onenote-group-notebook.cjs.map +1 -1
- package/dist/actions/copy-onenote-group-notebook.d.cts +14 -2
- package/dist/actions/copy-onenote-group-notebook.d.mts +14 -2
- package/dist/actions/copy-onenote-group-notebook.mjs +1 -1
- package/dist/actions/copy-onenote-group-notebook.mjs.map +1 -1
- package/dist/actions/copy-onenote-site-notebook.cjs +1 -1
- package/dist/actions/copy-onenote-site-notebook.cjs.map +1 -1
- package/dist/actions/copy-onenote-site-notebook.d.cts +14 -2
- package/dist/actions/copy-onenote-site-notebook.d.mts +14 -2
- package/dist/actions/copy-onenote-site-notebook.mjs +1 -1
- package/dist/actions/copy-onenote-site-notebook.mjs.map +1 -1
- package/dist/actions/copy-section-to-notebook-for-user2.cjs +1 -1
- package/dist/actions/copy-section-to-notebook-for-user2.cjs.map +1 -1
- package/dist/actions/copy-section-to-notebook-for-user2.d.cts +14 -2
- package/dist/actions/copy-section-to-notebook-for-user2.d.mts +14 -2
- package/dist/actions/copy-section-to-notebook-for-user2.mjs +1 -1
- package/dist/actions/copy-section-to-notebook-for-user2.mjs.map +1 -1
- package/dist/actions/copy-section-to-notebook2.cjs +1 -1
- package/dist/actions/copy-section-to-notebook2.cjs.map +1 -1
- package/dist/actions/copy-section-to-notebook2.d.cts +14 -2
- package/dist/actions/copy-section-to-notebook2.d.mts +14 -2
- package/dist/actions/copy-section-to-notebook2.mjs +1 -1
- package/dist/actions/copy-section-to-notebook2.mjs.map +1 -1
- package/dist/actions/copy-section-to-section-group-for-user.cjs +1 -1
- package/dist/actions/copy-section-to-section-group-for-user.cjs.map +1 -1
- package/dist/actions/copy-section-to-section-group-for-user.d.cts +14 -2
- package/dist/actions/copy-section-to-section-group-for-user.d.mts +14 -2
- package/dist/actions/copy-section-to-section-group-for-user.mjs +1 -1
- package/dist/actions/copy-section-to-section-group-for-user.mjs.map +1 -1
- package/dist/actions/copy-section-to-section-group.cjs +1 -1
- package/dist/actions/copy-section-to-section-group.cjs.map +1 -1
- package/dist/actions/copy-section-to-section-group.d.cts +14 -2
- package/dist/actions/copy-section-to-section-group.d.mts +14 -2
- package/dist/actions/copy-section-to-section-group.mjs +1 -1
- package/dist/actions/copy-section-to-section-group.mjs.map +1 -1
- package/dist/actions/copy-site-page-to-section3.cjs +1 -1
- package/dist/actions/copy-site-page-to-section3.cjs.map +1 -1
- package/dist/actions/copy-site-page-to-section3.d.cts +14 -2
- package/dist/actions/copy-site-page-to-section3.d.mts +14 -2
- package/dist/actions/copy-site-page-to-section3.mjs +1 -1
- package/dist/actions/copy-site-page-to-section3.mjs.map +1 -1
- package/dist/actions/copy-user-page-to-section.cjs +1 -1
- package/dist/actions/copy-user-page-to-section.cjs.map +1 -1
- package/dist/actions/copy-user-page-to-section.d.cts +14 -2
- package/dist/actions/copy-user-page-to-section.d.mts +14 -2
- package/dist/actions/copy-user-page-to-section.mjs +1 -1
- package/dist/actions/copy-user-page-to-section.mjs.map +1 -1
- package/dist/actions/count-notebooks-section-groups-sections.cjs +1 -1
- package/dist/actions/count-notebooks-section-groups-sections.cjs.map +1 -1
- package/dist/actions/count-notebooks-section-groups-sections.d.cts +14 -2
- package/dist/actions/count-notebooks-section-groups-sections.d.mts +14 -2
- package/dist/actions/count-notebooks-section-groups-sections.mjs +1 -1
- package/dist/actions/count-notebooks-section-groups-sections.mjs.map +1 -1
- package/dist/actions/count-site-notebook-section-groups-sections.cjs +1 -1
- package/dist/actions/count-site-notebook-section-groups-sections.cjs.map +1 -1
- package/dist/actions/count-site-notebook-section-groups-sections.d.cts +14 -2
- package/dist/actions/count-site-notebook-section-groups-sections.d.mts +14 -2
- package/dist/actions/count-site-notebook-section-groups-sections.mjs +1 -1
- package/dist/actions/count-site-notebook-section-groups-sections.mjs.map +1 -1
- package/dist/actions/create-group-notebook.cjs +5 -5
- package/dist/actions/create-group-notebook.cjs.map +1 -1
- package/dist/actions/create-group-notebook.d.cts +25 -13
- package/dist/actions/create-group-notebook.d.mts +25 -13
- package/dist/actions/create-group-notebook.mjs +5 -5
- package/dist/actions/create-group-notebook.mjs.map +1 -1
- package/dist/actions/create-group-pages.cjs +4 -4
- package/dist/actions/create-group-pages.cjs.map +1 -1
- package/dist/actions/create-group-pages.d.cts +17 -5
- package/dist/actions/create-group-pages.d.mts +17 -5
- package/dist/actions/create-group-pages.mjs +4 -4
- package/dist/actions/create-group-pages.mjs.map +1 -1
- package/dist/actions/create-group-section-groups-sections.cjs +7 -7
- package/dist/actions/create-group-section-groups-sections.cjs.map +1 -1
- package/dist/actions/create-group-section-groups-sections.d.cts +25 -13
- package/dist/actions/create-group-section-groups-sections.d.mts +25 -13
- package/dist/actions/create-group-section-groups-sections.mjs +7 -7
- package/dist/actions/create-group-section-groups-sections.mjs.map +1 -1
- package/dist/actions/create-me-notebooks.cjs +5 -5
- package/dist/actions/create-me-notebooks.cjs.map +1 -1
- package/dist/actions/create-me-notebooks.d.cts +25 -13
- package/dist/actions/create-me-notebooks.d.mts +25 -13
- package/dist/actions/create-me-notebooks.mjs +5 -5
- package/dist/actions/create-me-notebooks.mjs.map +1 -1
- package/dist/actions/create-me-section-groups-sections.cjs +7 -7
- package/dist/actions/create-me-section-groups-sections.cjs.map +1 -1
- package/dist/actions/create-me-section-groups-sections.d.cts +25 -13
- package/dist/actions/create-me-section-groups-sections.d.mts +25 -13
- package/dist/actions/create-me-section-groups-sections.mjs +7 -7
- package/dist/actions/create-me-section-groups-sections.mjs.map +1 -1
- package/dist/actions/create-me-sections-pages.cjs +3 -3
- package/dist/actions/create-me-sections-pages.cjs.map +1 -1
- package/dist/actions/create-me-sections-pages.d.cts +17 -5
- package/dist/actions/create-me-sections-pages.d.mts +17 -5
- package/dist/actions/create-me-sections-pages.mjs +3 -3
- package/dist/actions/create-me-sections-pages.mjs.map +1 -1
- package/dist/actions/create-onenote-group-notebooks-section-groups.cjs +3 -3
- package/dist/actions/create-onenote-group-notebooks-section-groups.cjs.map +1 -1
- package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts +22 -10
- package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts +22 -10
- package/dist/actions/create-onenote-group-notebooks-section-groups.mjs +3 -3
- package/dist/actions/create-onenote-group-notebooks-section-groups.mjs.map +1 -1
- package/dist/actions/create-site-notebooks-sections.cjs +7 -7
- package/dist/actions/create-site-notebooks-sections.cjs.map +1 -1
- package/dist/actions/create-site-notebooks-sections.d.cts +25 -13
- package/dist/actions/create-site-notebooks-sections.d.mts +25 -13
- package/dist/actions/create-site-notebooks-sections.mjs +7 -7
- package/dist/actions/create-site-notebooks-sections.mjs.map +1 -1
- package/dist/actions/create-user-notebooks-sections.cjs +7 -7
- package/dist/actions/create-user-notebooks-sections.cjs.map +1 -1
- package/dist/actions/create-user-notebooks-sections.d.cts +25 -13
- package/dist/actions/create-user-notebooks-sections.d.mts +25 -13
- package/dist/actions/create-user-notebooks-sections.mjs +7 -7
- package/dist/actions/create-user-notebooks-sections.mjs.map +1 -1
- package/dist/actions/create-user-pages.cjs +4 -4
- package/dist/actions/create-user-pages.cjs.map +1 -1
- package/dist/actions/create-user-pages.d.cts +17 -5
- package/dist/actions/create-user-pages.d.mts +17 -5
- package/dist/actions/create-user-pages.mjs +4 -4
- package/dist/actions/create-user-pages.mjs.map +1 -1
- package/dist/actions/create-user-section-groups-sections.cjs +7 -7
- package/dist/actions/create-user-section-groups-sections.cjs.map +1 -1
- package/dist/actions/create-user-section-groups-sections.d.cts +25 -13
- package/dist/actions/create-user-section-groups-sections.d.mts +25 -13
- package/dist/actions/create-user-section-groups-sections.mjs +7 -7
- package/dist/actions/create-user-section-groups-sections.mjs.map +1 -1
- package/dist/actions/create-user-sections-pages4.cjs +3 -3
- package/dist/actions/create-user-sections-pages4.cjs.map +1 -1
- package/dist/actions/create-user-sections-pages4.d.cts +17 -5
- package/dist/actions/create-user-sections-pages4.d.mts +17 -5
- package/dist/actions/create-user-sections-pages4.mjs +3 -3
- package/dist/actions/create-user-sections-pages4.mjs.map +1 -1
- package/dist/actions/delete-onenote-group-section-group-page-content.cjs +1 -1
- package/dist/actions/delete-onenote-group-section-group-page-content.cjs.map +1 -1
- package/dist/actions/delete-onenote-group-section-group-page-content.d.cts +14 -2
- package/dist/actions/delete-onenote-group-section-group-page-content.d.mts +14 -2
- package/dist/actions/delete-onenote-group-section-group-page-content.mjs +1 -1
- package/dist/actions/delete-onenote-group-section-group-page-content.mjs.map +1 -1
- package/dist/actions/delete-onenote-group-sections-pages2.cjs +1 -1
- package/dist/actions/delete-onenote-group-sections-pages2.cjs.map +1 -1
- package/dist/actions/delete-onenote-group-sections-pages2.d.cts +14 -2
- package/dist/actions/delete-onenote-group-sections-pages2.d.mts +14 -2
- package/dist/actions/delete-onenote-group-sections-pages2.mjs +1 -1
- package/dist/actions/delete-onenote-group-sections-pages2.mjs.map +1 -1
- package/dist/actions/delete-site-pages.cjs +1 -1
- package/dist/actions/delete-site-pages.cjs.map +1 -1
- package/dist/actions/delete-site-pages.d.cts +14 -2
- package/dist/actions/delete-site-pages.d.mts +14 -2
- package/dist/actions/delete-site-pages.mjs +1 -1
- package/dist/actions/delete-site-pages.mjs.map +1 -1
- package/dist/actions/delete-user-onenote-sections-pages.cjs +1 -1
- package/dist/actions/delete-user-onenote-sections-pages.cjs.map +1 -1
- package/dist/actions/delete-user-onenote-sections-pages.d.cts +14 -2
- package/dist/actions/delete-user-onenote-sections-pages.d.mts +14 -2
- package/dist/actions/delete-user-onenote-sections-pages.mjs +1 -1
- package/dist/actions/delete-user-onenote-sections-pages.mjs.map +1 -1
- package/dist/actions/delete-user-pages.cjs +1 -1
- package/dist/actions/delete-user-pages.cjs.map +1 -1
- package/dist/actions/delete-user-pages.d.cts +14 -2
- package/dist/actions/delete-user-pages.d.mts +14 -2
- package/dist/actions/delete-user-pages.mjs +1 -1
- package/dist/actions/delete-user-pages.mjs.map +1 -1
- package/dist/actions/get-group-sections.cjs +7 -7
- package/dist/actions/get-group-sections.cjs.map +1 -1
- package/dist/actions/get-group-sections.d.cts +41 -29
- package/dist/actions/get-group-sections.d.mts +41 -29
- package/dist/actions/get-group-sections.mjs +7 -7
- package/dist/actions/get-group-sections.mjs.map +1 -1
- package/dist/actions/get-me-onenote-resources-value.cjs +1 -1
- package/dist/actions/get-me-onenote-resources-value.cjs.map +1 -1
- package/dist/actions/get-me-onenote-resources-value.d.cts +14 -2
- package/dist/actions/get-me-onenote-resources-value.d.mts +14 -2
- package/dist/actions/get-me-onenote-resources-value.mjs +1 -1
- package/dist/actions/get-me-onenote-resources-value.mjs.map +1 -1
- package/dist/actions/get-me-section-page-content.cjs +1 -1
- package/dist/actions/get-me-section-page-content.cjs.map +1 -1
- package/dist/actions/get-me-section-page-content.d.cts +14 -2
- package/dist/actions/get-me-section-page-content.d.mts +14 -2
- package/dist/actions/get-me-section-page-content.mjs +1 -1
- package/dist/actions/get-me-section-page-content.mjs.map +1 -1
- package/dist/actions/get-notebook-from-web-url.cjs +5 -5
- package/dist/actions/get-notebook-from-web-url.cjs.map +1 -1
- package/dist/actions/get-notebook-from-web-url.d.cts +25 -13
- package/dist/actions/get-notebook-from-web-url.d.mts +25 -13
- package/dist/actions/get-notebook-from-web-url.mjs +5 -5
- package/dist/actions/get-notebook-from-web-url.mjs.map +1 -1
- package/dist/actions/get-notebook-section-group.cjs +3 -3
- package/dist/actions/get-notebook-section-group.cjs.map +1 -1
- package/dist/actions/get-notebook-section-group.d.cts +22 -10
- package/dist/actions/get-notebook-section-group.d.mts +22 -10
- package/dist/actions/get-notebook-section-group.mjs +3 -3
- package/dist/actions/get-notebook-section-group.mjs.map +1 -1
- package/dist/actions/get-onenote-group-operations.cjs +2 -2
- package/dist/actions/get-onenote-group-operations.cjs.map +1 -1
- package/dist/actions/get-onenote-group-operations.d.cts +15 -3
- package/dist/actions/get-onenote-group-operations.d.mts +15 -3
- package/dist/actions/get-onenote-group-operations.mjs +2 -2
- package/dist/actions/get-onenote-group-operations.mjs.map +1 -1
- package/dist/actions/get-onenote-group-sections-pages.cjs +5 -5
- package/dist/actions/get-onenote-group-sections-pages.cjs.map +1 -1
- package/dist/actions/get-onenote-group-sections-pages.d.cts +19 -7
- package/dist/actions/get-onenote-group-sections-pages.d.mts +19 -7
- package/dist/actions/get-onenote-group-sections-pages.mjs +5 -5
- package/dist/actions/get-onenote-group-sections-pages.mjs.map +1 -1
- package/dist/actions/get-onenote-site-operations.cjs +2 -2
- package/dist/actions/get-onenote-site-operations.cjs.map +1 -1
- package/dist/actions/get-onenote-site-operations.d.cts +15 -3
- package/dist/actions/get-onenote-site-operations.d.mts +15 -3
- package/dist/actions/get-onenote-site-operations.mjs +2 -2
- package/dist/actions/get-onenote-site-operations.mjs.map +1 -1
- package/dist/actions/get-onenote-user-page-content.cjs +4 -4
- package/dist/actions/get-onenote-user-page-content.cjs.map +1 -1
- package/dist/actions/get-onenote-user-page-content.d.cts +17 -5
- package/dist/actions/get-onenote-user-page-content.d.mts +17 -5
- package/dist/actions/get-onenote-user-page-content.mjs +4 -4
- package/dist/actions/get-onenote-user-page-content.mjs.map +1 -1
- package/dist/actions/get-page.cjs +5 -5
- package/dist/actions/get-page.cjs.map +1 -1
- package/dist/actions/get-page.d.cts +19 -7
- package/dist/actions/get-page.d.mts +19 -7
- package/dist/actions/get-page.mjs +5 -5
- package/dist/actions/get-page.mjs.map +1 -1
- package/dist/actions/get-recent-notebooks.cjs +4 -4
- package/dist/actions/get-recent-notebooks.cjs.map +1 -1
- package/dist/actions/get-recent-notebooks.d.cts +18 -6
- package/dist/actions/get-recent-notebooks.d.mts +18 -6
- package/dist/actions/get-recent-notebooks.mjs +4 -4
- package/dist/actions/get-recent-notebooks.mjs.map +1 -1
- package/dist/actions/get-section.cjs +7 -7
- package/dist/actions/get-section.cjs.map +1 -1
- package/dist/actions/get-section.d.cts +27 -15
- package/dist/actions/get-section.d.mts +27 -15
- package/dist/actions/get-section.mjs +7 -7
- package/dist/actions/get-section.mjs.map +1 -1
- package/dist/actions/get-site-onenote-pages.cjs +6 -6
- package/dist/actions/get-site-onenote-pages.cjs.map +1 -1
- package/dist/actions/get-site-onenote-pages.d.cts +19 -7
- package/dist/actions/get-site-onenote-pages.d.mts +19 -7
- package/dist/actions/get-site-onenote-pages.mjs +6 -6
- package/dist/actions/get-site-onenote-pages.mjs.map +1 -1
- package/dist/actions/get-site-pages-preview.cjs +1 -1
- package/dist/actions/get-site-pages-preview.cjs.map +1 -1
- package/dist/actions/get-site-pages-preview.d.cts +14 -2
- package/dist/actions/get-site-pages-preview.d.mts +14 -2
- package/dist/actions/get-site-pages-preview.mjs +1 -1
- package/dist/actions/get-site-pages-preview.mjs.map +1 -1
- package/dist/actions/get-site-sections-pages.cjs +5 -5
- package/dist/actions/get-site-sections-pages.cjs.map +1 -1
- package/dist/actions/get-site-sections-pages.d.cts +19 -7
- package/dist/actions/get-site-sections-pages.d.mts +19 -7
- package/dist/actions/get-site-sections-pages.mjs +5 -5
- package/dist/actions/get-site-sections-pages.mjs.map +1 -1
- package/dist/actions/get-site-sections.cjs +7 -7
- package/dist/actions/get-site-sections.cjs.map +1 -1
- package/dist/actions/get-site-sections.d.cts +41 -29
- package/dist/actions/get-site-sections.d.mts +41 -29
- package/dist/actions/get-site-sections.mjs +7 -7
- package/dist/actions/get-site-sections.mjs.map +1 -1
- package/dist/actions/get-user-notebook.cjs +5 -5
- package/dist/actions/get-user-notebook.cjs.map +1 -1
- package/dist/actions/get-user-notebook.d.cts +39 -27
- package/dist/actions/get-user-notebook.d.mts +39 -27
- package/dist/actions/get-user-notebook.mjs +5 -5
- package/dist/actions/get-user-notebook.mjs.map +1 -1
- package/dist/actions/get-user-pages.cjs +5 -5
- package/dist/actions/get-user-pages.cjs.map +1 -1
- package/dist/actions/get-user-pages.d.cts +19 -7
- package/dist/actions/get-user-pages.d.mts +19 -7
- package/dist/actions/get-user-pages.mjs +5 -5
- package/dist/actions/get-user-pages.mjs.map +1 -1
- package/dist/actions/get-user-parent-section-group2.cjs +3 -3
- package/dist/actions/get-user-parent-section-group2.cjs.map +1 -1
- package/dist/actions/get-user-parent-section-group2.d.cts +22 -10
- package/dist/actions/get-user-parent-section-group2.d.mts +22 -10
- package/dist/actions/get-user-parent-section-group2.mjs +3 -3
- package/dist/actions/get-user-parent-section-group2.mjs.map +1 -1
- package/dist/actions/list-group-notebook-section-groups.cjs +4 -4
- package/dist/actions/list-group-notebook-section-groups.cjs.map +1 -1
- package/dist/actions/list-group-notebook-section-groups.d.cts +25 -13
- package/dist/actions/list-group-notebook-section-groups.d.mts +25 -13
- package/dist/actions/list-group-notebook-section-groups.mjs +4 -4
- package/dist/actions/list-group-notebook-section-groups.mjs.map +1 -1
- package/dist/actions/list-group-notebook-section-pages.cjs +5 -5
- package/dist/actions/list-group-notebook-section-pages.cjs.map +1 -1
- package/dist/actions/list-group-notebook-section-pages.d.cts +18 -6
- package/dist/actions/list-group-notebook-section-pages.d.mts +18 -6
- package/dist/actions/list-group-notebook-section-pages.mjs +5 -5
- package/dist/actions/list-group-notebook-section-pages.mjs.map +1 -1
- package/dist/actions/list-group-notebooks.cjs +1 -1
- package/dist/actions/list-group-notebooks.cjs.map +1 -1
- package/dist/actions/list-group-notebooks.d.cts +15 -3
- package/dist/actions/list-group-notebooks.d.mts +15 -3
- package/dist/actions/list-group-notebooks.mjs +1 -1
- package/dist/actions/list-group-notebooks.mjs.map +1 -1
- package/dist/actions/list-group-section-groups-sections.cjs +6 -6
- package/dist/actions/list-group-section-groups-sections.cjs.map +1 -1
- package/dist/actions/list-group-section-groups-sections.d.cts +26 -14
- package/dist/actions/list-group-section-groups-sections.d.mts +26 -14
- package/dist/actions/list-group-section-groups-sections.mjs +6 -6
- package/dist/actions/list-group-section-groups-sections.mjs.map +1 -1
- package/dist/actions/list-joined-teams.d.cts +13 -1
- package/dist/actions/list-joined-teams.d.mts +13 -1
- package/dist/actions/list-me-onenote-sections-pages4.cjs +6 -6
- package/dist/actions/list-me-onenote-sections-pages4.cjs.map +1 -1
- package/dist/actions/list-me-onenote-sections-pages4.d.cts +20 -8
- package/dist/actions/list-me-onenote-sections-pages4.d.mts +20 -8
- package/dist/actions/list-me-onenote-sections-pages4.mjs +6 -6
- package/dist/actions/list-me-onenote-sections-pages4.mjs.map +1 -1
- package/dist/actions/list-onenote-group-pages.cjs +5 -5
- package/dist/actions/list-onenote-group-pages.cjs.map +1 -1
- package/dist/actions/list-onenote-group-pages.d.cts +18 -6
- package/dist/actions/list-onenote-group-pages.d.mts +18 -6
- package/dist/actions/list-onenote-group-pages.mjs +5 -5
- package/dist/actions/list-onenote-group-pages.mjs.map +1 -1
- package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs +4 -4
- package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs.map +1 -1
- package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts +23 -11
- package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts +23 -11
- package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs +4 -4
- package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs.map +1 -1
- package/dist/actions/list-onenote-group-sections-pages4.cjs +4 -4
- package/dist/actions/list-onenote-group-sections-pages4.cjs.map +1 -1
- package/dist/actions/list-onenote-group-sections-pages4.d.cts +18 -6
- package/dist/actions/list-onenote-group-sections-pages4.d.mts +18 -6
- package/dist/actions/list-onenote-group-sections-pages4.mjs +4 -4
- package/dist/actions/list-onenote-group-sections-pages4.mjs.map +1 -1
- package/dist/actions/list-site-notebook-section-groups.cjs +4 -4
- package/dist/actions/list-site-notebook-section-groups.cjs.map +1 -1
- package/dist/actions/list-site-notebook-section-groups.d.cts +23 -11
- package/dist/actions/list-site-notebook-section-groups.d.mts +23 -11
- package/dist/actions/list-site-notebook-section-groups.mjs +4 -4
- package/dist/actions/list-site-notebook-section-groups.mjs.map +1 -1
- package/dist/actions/list-site-notebooks.cjs +1 -1
- package/dist/actions/list-site-notebooks.cjs.map +1 -1
- package/dist/actions/list-site-notebooks.d.cts +15 -3
- package/dist/actions/list-site-notebooks.d.mts +15 -3
- package/dist/actions/list-site-notebooks.mjs +1 -1
- package/dist/actions/list-site-notebooks.mjs.map +1 -1
- package/dist/actions/list-site-pages-content.cjs +1 -1
- package/dist/actions/list-site-pages-content.cjs.map +1 -1
- package/dist/actions/list-site-pages-content.d.cts +14 -2
- package/dist/actions/list-site-pages-content.d.mts +14 -2
- package/dist/actions/list-site-pages-content.mjs +1 -1
- package/dist/actions/list-site-pages-content.mjs.map +1 -1
- package/dist/actions/list-site-sections.cjs +8 -8
- package/dist/actions/list-site-sections.cjs.map +1 -1
- package/dist/actions/list-site-sections.d.cts +26 -14
- package/dist/actions/list-site-sections.d.mts +26 -14
- package/dist/actions/list-site-sections.mjs +8 -8
- package/dist/actions/list-site-sections.mjs.map +1 -1
- package/dist/actions/list-user-notebook-sections.cjs +6 -6
- package/dist/actions/list-user-notebook-sections.cjs.map +1 -1
- package/dist/actions/list-user-notebook-sections.d.cts +26 -14
- package/dist/actions/list-user-notebook-sections.d.mts +26 -14
- package/dist/actions/list-user-notebook-sections.mjs +6 -6
- package/dist/actions/list-user-notebook-sections.mjs.map +1 -1
- package/dist/actions/list-user-notebooks.cjs +6 -6
- package/dist/actions/list-user-notebooks.cjs.map +1 -1
- package/dist/actions/list-user-notebooks.d.cts +26 -14
- package/dist/actions/list-user-notebooks.d.mts +26 -14
- package/dist/actions/list-user-notebooks.mjs +6 -6
- package/dist/actions/list-user-notebooks.mjs.map +1 -1
- package/dist/actions/resolve-site-by-url.d.cts +13 -1
- package/dist/actions/resolve-site-by-url.d.mts +13 -1
- package/dist/actions/sites-search.d.cts +13 -1
- package/dist/actions/sites-search.d.mts +13 -1
- package/dist/actions/update-me-page-content.cjs +2 -2
- package/dist/actions/update-me-page-content.cjs.map +1 -1
- package/dist/actions/update-me-page-content.d.cts +16 -3
- package/dist/actions/update-me-page-content.d.mts +16 -3
- package/dist/actions/update-me-page-content.mjs +2 -2
- package/dist/actions/update-me-page-content.mjs.map +1 -1
- package/dist/actions/update-me-sections.cjs +7 -7
- package/dist/actions/update-me-sections.cjs.map +1 -1
- package/dist/actions/update-me-sections.d.cts +25 -13
- package/dist/actions/update-me-sections.d.mts +25 -13
- package/dist/actions/update-me-sections.mjs +7 -7
- package/dist/actions/update-me-sections.mjs.map +1 -1
- package/dist/actions/update-onenote-page-content.cjs +2 -2
- package/dist/actions/update-onenote-page-content.cjs.map +1 -1
- package/dist/actions/update-onenote-page-content.d.cts +16 -3
- package/dist/actions/update-onenote-page-content.d.mts +16 -3
- package/dist/actions/update-onenote-page-content.mjs +2 -2
- package/dist/actions/update-onenote-page-content.mjs.map +1 -1
- package/dist/actions/update-site-notebooks-sections.cjs +7 -7
- package/dist/actions/update-site-notebooks-sections.cjs.map +1 -1
- package/dist/actions/update-site-notebooks-sections.d.cts +25 -13
- package/dist/actions/update-site-notebooks-sections.d.mts +25 -13
- package/dist/actions/update-site-notebooks-sections.mjs +7 -7
- package/dist/actions/update-site-notebooks-sections.mjs.map +1 -1
- package/dist/actions/update-site-pages-content.cjs +2 -2
- package/dist/actions/update-site-pages-content.cjs.map +1 -1
- package/dist/actions/update-site-pages-content.d.cts +16 -3
- package/dist/actions/update-site-pages-content.d.mts +16 -3
- package/dist/actions/update-site-pages-content.mjs +2 -2
- package/dist/actions/update-site-pages-content.mjs.map +1 -1
- package/dist/actions/update-site-section-groups-sections.cjs +7 -7
- package/dist/actions/update-site-section-groups-sections.cjs.map +1 -1
- package/dist/actions/update-site-section-groups-sections.d.cts +25 -13
- package/dist/actions/update-site-section-groups-sections.d.mts +25 -13
- package/dist/actions/update-site-section-groups-sections.mjs +7 -7
- package/dist/actions/update-site-section-groups-sections.mjs.map +1 -1
- package/dist/actions/update-user-notebooks-sections.cjs +7 -7
- package/dist/actions/update-user-notebooks-sections.cjs.map +1 -1
- package/dist/actions/update-user-notebooks-sections.d.cts +25 -13
- package/dist/actions/update-user-notebooks-sections.d.mts +25 -13
- package/dist/actions/update-user-notebooks-sections.mjs +7 -7
- package/dist/actions/update-user-notebooks-sections.mjs.map +1 -1
- package/dist/actions/validate-credential.cjs +1 -1
- package/dist/actions/validate-credential.cjs.map +1 -1
- package/dist/actions/validate-credential.d.cts +14 -2
- package/dist/actions/validate-credential.d.cts.map +1 -1
- package/dist/actions/validate-credential.d.mts +14 -2
- package/dist/actions/validate-credential.d.mts.map +1 -1
- package/dist/actions/validate-credential.mjs +1 -1
- package/dist/actions/validate-credential.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"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}).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}).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}).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}).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}).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}).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}).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":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;AAClJ,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,wDAAwD,EAAE,OAAO,EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,mEAAmE;
|
|
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":"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"}
|
|
@@ -6,12 +6,12 @@ const OnenoteCreateUserPagesInput = zod.z.object({
|
|
|
6
6
|
html_content: zod.z.string().describe("The HTML content for the OneNote page. Must be valid HTML including html, head, and body tags."),
|
|
7
7
|
section_name: zod.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()
|
|
8
8
|
});
|
|
9
|
-
const OnenoteCreateUserPages_OneNoteWebUrlSchema = zod.z.object({ href: zod.z.string().describe("The URL for opening in OneNote web.").nullable() }).describe("Link to open the page in OneNote on the web.");
|
|
10
|
-
const OnenoteCreateUserPages_OneNoteClientUrlSchema = zod.z.object({ href: zod.z.string().describe("The URL for opening in OneNote client.").nullable() }).describe("Link to open the page in the OneNote native client.");
|
|
9
|
+
const OnenoteCreateUserPages_OneNoteWebUrlSchema = zod.z.object({ href: zod.z.string().describe("The URL for opening in OneNote web.").nullable() }).passthrough().describe("Link to open the page in OneNote on the web.");
|
|
10
|
+
const OnenoteCreateUserPages_OneNoteClientUrlSchema = zod.z.object({ href: zod.z.string().describe("The URL for opening in OneNote client.").nullable() }).passthrough().describe("Link to open the page in the OneNote native client.");
|
|
11
11
|
const OnenoteCreateUserPages_PageLinksSchema = zod.z.object({
|
|
12
12
|
oneNoteWebUrl: OnenoteCreateUserPages_OneNoteWebUrlSchema.nullable().optional(),
|
|
13
13
|
oneNoteClientUrl: OnenoteCreateUserPages_OneNoteClientUrlSchema.nullable().optional()
|
|
14
|
-
}).describe("Links for opening the OneNote page.");
|
|
14
|
+
}).passthrough().describe("Links for opening the OneNote page.");
|
|
15
15
|
const OnenoteCreateUserPagesOutput = zod.z.object({
|
|
16
16
|
id: zod.z.string().describe("The unique identifier of the page. Read-only.").nullable().optional(),
|
|
17
17
|
self: zod.z.string().describe("The endpoint where you can get details about the page. Read-only.").nullable().optional(),
|
|
@@ -23,7 +23,7 @@ const OnenoteCreateUserPagesOutput = zod.z.object({
|
|
|
23
23
|
createdByAppId: zod.z.string().describe("The unique identifier of the application that created the page. Read-only.").nullable().optional(),
|
|
24
24
|
createdDateTime: zod.z.string().describe("The date and time when the page was created in ISO 8601 format (UTC). Read-only.").nullable().optional(),
|
|
25
25
|
lastModifiedDateTime: zod.z.string().describe("The date and time when the page was last modified in ISO 8601 format (UTC). Read-only.").nullable().optional()
|
|
26
|
-
}).describe("Response containing the created OneNote page details.");
|
|
26
|
+
}).passthrough().describe("Response containing the created OneNote page details.");
|
|
27
27
|
const onenoteCreateUserPages = require_action.action("ONENOTE_CREATE_USER_PAGES", {
|
|
28
28
|
slug: "onenote-create-user-pages",
|
|
29
29
|
name: "Create user OneNote page",
|
|
@@ -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}).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}).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}).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}).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":";;;AAIA,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,SAAS,8CAA8C;
|
|
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":";;;AAIA,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,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,23 +13,35 @@ declare const OnenoteCreateUserPagesOutput: z.ZodObject<{
|
|
|
13
13
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15
15
|
href: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
17
|
oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
18
|
href: z.ZodNullable<z.ZodString>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
21
|
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
contentUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
createdByAppId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const onenoteCreateUserPages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
user_id: string;
|
|
30
30
|
html_content: string;
|
|
31
31
|
section_name?: string | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
|
|
33
|
+
connectionId: z.ZodString;
|
|
34
|
+
entityId: z.ZodString;
|
|
35
|
+
instanceId: z.ZodString;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
accessToken: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
|
|
39
|
+
connectionId: z.ZodString;
|
|
40
|
+
entityId: z.ZodString;
|
|
41
|
+
instanceId: z.ZodString;
|
|
42
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
+
accessToken: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>;
|
|
33
45
|
//#endregion
|
|
34
46
|
export { onenoteCreateUserPages };
|
|
35
47
|
//# sourceMappingURL=create-user-pages.d.cts.map
|
|
@@ -13,23 +13,35 @@ declare const OnenoteCreateUserPagesOutput: z.ZodObject<{
|
|
|
13
13
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15
15
|
href: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
17
|
oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
18
|
href: z.ZodNullable<z.ZodString>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
21
|
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
contentUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
createdByAppId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const onenoteCreateUserPages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
user_id: string;
|
|
30
30
|
html_content: string;
|
|
31
31
|
section_name?: string | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
|
|
33
|
+
connectionId: z.ZodString;
|
|
34
|
+
entityId: z.ZodString;
|
|
35
|
+
instanceId: z.ZodString;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
accessToken: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
|
|
39
|
+
connectionId: z.ZodString;
|
|
40
|
+
entityId: z.ZodString;
|
|
41
|
+
instanceId: z.ZodString;
|
|
42
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
+
accessToken: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>;
|
|
33
45
|
//#endregion
|
|
34
46
|
export { onenoteCreateUserPages };
|
|
35
47
|
//# sourceMappingURL=create-user-pages.d.mts.map
|
|
@@ -6,12 +6,12 @@ const OnenoteCreateUserPagesInput = z.object({
|
|
|
6
6
|
html_content: z.string().describe("The HTML content for the OneNote page. Must be valid HTML including html, head, and body tags."),
|
|
7
7
|
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()
|
|
8
8
|
});
|
|
9
|
-
const OnenoteCreateUserPages_OneNoteWebUrlSchema = z.object({ href: z.string().describe("The URL for opening in OneNote web.").nullable() }).describe("Link to open the page in OneNote on the web.");
|
|
10
|
-
const OnenoteCreateUserPages_OneNoteClientUrlSchema = z.object({ href: z.string().describe("The URL for opening in OneNote client.").nullable() }).describe("Link to open the page in the OneNote native client.");
|
|
9
|
+
const OnenoteCreateUserPages_OneNoteWebUrlSchema = z.object({ href: z.string().describe("The URL for opening in OneNote web.").nullable() }).passthrough().describe("Link to open the page in OneNote on the web.");
|
|
10
|
+
const OnenoteCreateUserPages_OneNoteClientUrlSchema = z.object({ href: z.string().describe("The URL for opening in OneNote client.").nullable() }).passthrough().describe("Link to open the page in the OneNote native client.");
|
|
11
11
|
const OnenoteCreateUserPages_PageLinksSchema = z.object({
|
|
12
12
|
oneNoteWebUrl: OnenoteCreateUserPages_OneNoteWebUrlSchema.nullable().optional(),
|
|
13
13
|
oneNoteClientUrl: OnenoteCreateUserPages_OneNoteClientUrlSchema.nullable().optional()
|
|
14
|
-
}).describe("Links for opening the OneNote page.");
|
|
14
|
+
}).passthrough().describe("Links for opening the OneNote page.");
|
|
15
15
|
const onenoteCreateUserPages = action("ONENOTE_CREATE_USER_PAGES", {
|
|
16
16
|
slug: "onenote-create-user-pages",
|
|
17
17
|
name: "Create user OneNote page",
|
|
@@ -28,7 +28,7 @@ const onenoteCreateUserPages = action("ONENOTE_CREATE_USER_PAGES", {
|
|
|
28
28
|
createdByAppId: z.string().describe("The unique identifier of the application that created the page. Read-only.").nullable().optional(),
|
|
29
29
|
createdDateTime: z.string().describe("The date and time when the page was created in ISO 8601 format (UTC). Read-only.").nullable().optional(),
|
|
30
30
|
lastModifiedDateTime: z.string().describe("The date and time when the page was last modified in ISO 8601 format (UTC). Read-only.").nullable().optional()
|
|
31
|
-
}).describe("Response containing the created OneNote page details.")
|
|
31
|
+
}).passthrough().describe("Response containing the created OneNote page details.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { onenoteCreateUserPages };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-pages.mjs","names":[],"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}).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}).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}).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}).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":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CAC5H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAClI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;AACrM,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO,EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"create-user-pages.mjs","names":[],"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":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CAC5H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAClI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;AACrM,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO,EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,gDAAgD,EAAE,OAAO,EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,yCAAyC,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,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB0C,EAAE,OAAO;EACnD,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,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,OAAO,uCAAuC,SAAS,CAAC,CAAC,SAAS;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,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,uDAOhB;AACV,CAAC"}
|
|
@@ -6,28 +6,28 @@ const OnenoteCreateUserSectionGroupsSectionsInput = zod.z.object({
|
|
|
6
6
|
display_name: zod.z.string().describe("The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~"),
|
|
7
7
|
section_group_id: zod.z.string().describe("The unique identifier of the section group.")
|
|
8
8
|
}).describe("Request model for creating a OneNote section within a section group for a specific user.");
|
|
9
|
-
const OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema = zod.z.object({ href: zod.z.string().describe("The URL of the link.").nullable().optional() }).describe("Represents a URL that opens a OneNote page, section, or notebook.");
|
|
9
|
+
const OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema = zod.z.object({ href: zod.z.string().describe("The URL of the link.").nullable().optional() }).passthrough().describe("Represents a URL that opens a OneNote page, section, or notebook.");
|
|
10
10
|
const OnenoteCreateUserSectionGroupsSections_SectionLinksSchema = zod.z.object({
|
|
11
11
|
oneNoteWebUrl: OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema.nullable().optional(),
|
|
12
12
|
oneNoteClientUrl: OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema.nullable().optional()
|
|
13
|
-
}).describe("Links for opening a OneNote section.");
|
|
13
|
+
}).passthrough().describe("Links for opening a OneNote section.");
|
|
14
14
|
const OnenoteCreateUserSectionGroupsSections_IdentityUserSchema = zod.z.object({
|
|
15
15
|
id: zod.z.string().describe("The unique identifier of the user.").nullable().optional(),
|
|
16
16
|
displayName: zod.z.string().describe("The display name of the user.").nullable().optional()
|
|
17
|
-
}).describe("Represents the user identity within an identity set.");
|
|
17
|
+
}).passthrough().describe("Represents the user identity within an identity set.");
|
|
18
18
|
const OnenoteCreateUserSectionGroupsSections_IdentityDeviceSchema = zod.z.object({
|
|
19
19
|
id: zod.z.string().describe("The unique identifier of the device.").nullable().optional(),
|
|
20
20
|
displayName: zod.z.string().describe("The display name of the device.").nullable().optional()
|
|
21
|
-
}).describe("Represents the device identity within an identity set.");
|
|
21
|
+
}).passthrough().describe("Represents the device identity within an identity set.");
|
|
22
22
|
const OnenoteCreateUserSectionGroupsSections_IdentityApplicationSchema = zod.z.object({
|
|
23
23
|
id: zod.z.string().describe("The unique identifier of the application.").nullable().optional(),
|
|
24
24
|
displayName: zod.z.string().describe("The display name of the application.").nullable().optional()
|
|
25
|
-
}).describe("Represents the application identity within an identity set.");
|
|
25
|
+
}).passthrough().describe("Represents the application identity within an identity set.");
|
|
26
26
|
const OnenoteCreateUserSectionGroupsSections_IdentitySetSchema = zod.z.object({
|
|
27
27
|
user: OnenoteCreateUserSectionGroupsSections_IdentityUserSchema.nullable().optional(),
|
|
28
28
|
device: OnenoteCreateUserSectionGroupsSections_IdentityDeviceSchema.nullable().optional(),
|
|
29
29
|
application: OnenoteCreateUserSectionGroupsSections_IdentityApplicationSchema.nullable().optional()
|
|
30
|
-
}).describe("Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.");
|
|
30
|
+
}).passthrough().describe("Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.");
|
|
31
31
|
const OnenoteCreateUserSectionGroupsSectionsOutput = zod.z.object({
|
|
32
32
|
id: zod.z.string().describe("The unique identifier of the section. Read-only.").nullable().optional(),
|
|
33
33
|
self: zod.z.string().describe("The endpoint where you can get details about the section. Read-only.").nullable().optional(),
|
|
@@ -39,7 +39,7 @@ const OnenoteCreateUserSectionGroupsSectionsOutput = zod.z.object({
|
|
|
39
39
|
lastModifiedBy: OnenoteCreateUserSectionGroupsSections_IdentitySetSchema.nullable().optional(),
|
|
40
40
|
createdDateTime: zod.z.string().describe("The date and time when the section was created. UTC format (ISO 8601). Read-only.").nullable().optional(),
|
|
41
41
|
lastModifiedDateTime: zod.z.string().describe("The date and time when the section was last modified. UTC format (ISO 8601). Read-only.").nullable().optional()
|
|
42
|
-
}).describe("Full response schema for a created OneNote section.");
|
|
42
|
+
}).passthrough().describe("Full response schema for a created OneNote section.");
|
|
43
43
|
const onenoteCreateUserSectionGroupsSections = require_action.action("ONENOTE_CREATE_USER_SECTION_GROUPS_SECTIONS", {
|
|
44
44
|
slug: "onenote-create-user-section-groups-sections",
|
|
45
45
|
name: "Create section in user section group",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-section-groups-sections.cjs","names":["z","action"],"sources":["../../src/actions/create-user-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateUserSectionGroupsSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n section_group_id: z.string().describe(\"The unique identifier of the section group.\"),\n}).describe(\"Request model for creating a OneNote section within a section group for a specific user.\");\nconst OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateUserSectionGroupsSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateUserSectionGroupsSections_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}).describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateUserSectionGroupsSections_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}).describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateUserSectionGroupsSections_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}).describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateUserSectionGroupsSections_IdentitySetSchema = z.object({\n user: OnenoteCreateUserSectionGroupsSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateUserSectionGroupsSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateUserSectionGroupsSections_IdentityApplicationSchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateUserSectionGroupsSectionsOutput = 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: OnenoteCreateUserSectionGroupsSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateUserSectionGroupsSections_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: OnenoteCreateUserSectionGroupsSections_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}).describe(\"Full response schema for a created OneNote section.\");\n\nexport const onenoteCreateUserSectionGroupsSections = action(\"ONENOTE_CREATE_USER_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-create-user-section-groups-sections\",\n name: \"Create section in user section group\",\n description: \"Creates a new OneNote section within a specified section group for a specific user. Use this action when you need to add a new section to organize OneNote pages within a section group's hierarchy for a specific user's notebook. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. This action is idempotent — calling it multiple times with the same display name may create duplicate sections depending on the API's handling of unique-name constraints.\",\n input: OnenoteCreateUserSectionGroupsSectionsInput,\n output: OnenoteCreateUserSectionGroupsSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CAChJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,4DAA4DA,IAAAA,EAAE,OAAO,EACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,mEAAmE;
|
|
1
|
+
{"version":3,"file":"create-user-section-groups-sections.cjs","names":["z","action"],"sources":["../../src/actions/create-user-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateUserSectionGroupsSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n section_group_id: z.string().describe(\"The unique identifier of the section group.\"),\n}).describe(\"Request model for creating a OneNote section within a section group for a specific user.\");\nconst OnenoteCreateUserSectionGroupsSections_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 OnenoteCreateUserSectionGroupsSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateUserSectionGroupsSections_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 OnenoteCreateUserSectionGroupsSections_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 OnenoteCreateUserSectionGroupsSections_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 OnenoteCreateUserSectionGroupsSections_IdentitySetSchema = z.object({\n user: OnenoteCreateUserSectionGroupsSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateUserSectionGroupsSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateUserSectionGroupsSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateUserSectionGroupsSectionsOutput = 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: OnenoteCreateUserSectionGroupsSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateUserSectionGroupsSections_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: OnenoteCreateUserSectionGroupsSections_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.\");\n\nexport const onenoteCreateUserSectionGroupsSections = action(\"ONENOTE_CREATE_USER_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-create-user-section-groups-sections\",\n name: \"Create section in user section group\",\n description: \"Creates a new OneNote section within a specified section group for a specific user. Use this action when you need to add a new section to organize OneNote pages within a section group's hierarchy for a specific user's notebook. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. This action is idempotent — calling it multiple times with the same display name may create duplicate sections depending on the API's handling of unique-name constraints.\",\n input: OnenoteCreateUserSectionGroupsSectionsInput,\n output: OnenoteCreateUserSectionGroupsSectionsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -12,50 +12,62 @@ declare const OnenoteCreateUserSectionGroupsSectionsOutput: z.ZodObject<{
|
|
|
12
12
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
13
|
oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
17
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
19
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
20
|
pagesUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
22
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23
23
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
26
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
27
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
30
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
35
|
isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
36
36
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
lastModifiedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
38
38
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
39
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
42
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
43
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
46
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
47
47
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
-
}, z.core.$
|
|
50
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
|
+
}, z.core.$loose>>>;
|
|
51
51
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>;
|
|
54
54
|
declare const onenoteCreateUserSectionGroupsSections: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
55
|
user_id: string;
|
|
56
56
|
display_name: string;
|
|
57
57
|
section_group_id: string;
|
|
58
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
58
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
|
|
59
|
+
connectionId: z.ZodString;
|
|
60
|
+
entityId: z.ZodString;
|
|
61
|
+
instanceId: z.ZodString;
|
|
62
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
+
accessToken: z.ZodString;
|
|
64
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
|
|
65
|
+
connectionId: z.ZodString;
|
|
66
|
+
entityId: z.ZodString;
|
|
67
|
+
instanceId: z.ZodString;
|
|
68
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
+
accessToken: z.ZodString;
|
|
70
|
+
}, z.core.$strip>>]>;
|
|
59
71
|
//#endregion
|
|
60
72
|
export { onenoteCreateUserSectionGroupsSections };
|
|
61
73
|
//# sourceMappingURL=create-user-section-groups-sections.d.cts.map
|
|
@@ -12,50 +12,62 @@ declare const OnenoteCreateUserSectionGroupsSectionsOutput: z.ZodObject<{
|
|
|
12
12
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
13
|
oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
17
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
19
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
20
|
pagesUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
22
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23
23
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
26
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
27
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
30
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
35
|
isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
36
36
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
lastModifiedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
38
38
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
39
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
42
|
device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
43
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
46
|
application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
47
47
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
-
}, z.core.$
|
|
50
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
|
+
}, z.core.$loose>>>;
|
|
51
51
|
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>;
|
|
54
54
|
declare const onenoteCreateUserSectionGroupsSections: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
55
|
user_id: string;
|
|
56
56
|
display_name: string;
|
|
57
57
|
section_group_id: string;
|
|
58
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
58
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
|
|
59
|
+
connectionId: z.ZodString;
|
|
60
|
+
entityId: z.ZodString;
|
|
61
|
+
instanceId: z.ZodString;
|
|
62
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
+
accessToken: z.ZodString;
|
|
64
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
|
|
65
|
+
connectionId: z.ZodString;
|
|
66
|
+
entityId: z.ZodString;
|
|
67
|
+
instanceId: z.ZodString;
|
|
68
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
+
accessToken: z.ZodString;
|
|
70
|
+
}, z.core.$strip>>]>;
|
|
59
71
|
//#endregion
|
|
60
72
|
export { onenoteCreateUserSectionGroupsSections };
|
|
61
73
|
//# sourceMappingURL=create-user-section-groups-sections.d.mts.map
|
|
@@ -6,28 +6,28 @@ const OnenoteCreateUserSectionGroupsSectionsInput = z.object({
|
|
|
6
6
|
display_name: z.string().describe("The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~"),
|
|
7
7
|
section_group_id: z.string().describe("The unique identifier of the section group.")
|
|
8
8
|
}).describe("Request model for creating a OneNote section within a section group for a specific user.");
|
|
9
|
-
const OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema = z.object({ href: z.string().describe("The URL of the link.").nullable().optional() }).describe("Represents a URL that opens a OneNote page, section, or notebook.");
|
|
9
|
+
const OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema = z.object({ href: z.string().describe("The URL of the link.").nullable().optional() }).passthrough().describe("Represents a URL that opens a OneNote page, section, or notebook.");
|
|
10
10
|
const OnenoteCreateUserSectionGroupsSections_SectionLinksSchema = z.object({
|
|
11
11
|
oneNoteWebUrl: OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema.nullable().optional(),
|
|
12
12
|
oneNoteClientUrl: OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema.nullable().optional()
|
|
13
|
-
}).describe("Links for opening a OneNote section.");
|
|
13
|
+
}).passthrough().describe("Links for opening a OneNote section.");
|
|
14
14
|
const OnenoteCreateUserSectionGroupsSections_IdentityUserSchema = z.object({
|
|
15
15
|
id: z.string().describe("The unique identifier of the user.").nullable().optional(),
|
|
16
16
|
displayName: z.string().describe("The display name of the user.").nullable().optional()
|
|
17
|
-
}).describe("Represents the user identity within an identity set.");
|
|
17
|
+
}).passthrough().describe("Represents the user identity within an identity set.");
|
|
18
18
|
const OnenoteCreateUserSectionGroupsSections_IdentityDeviceSchema = z.object({
|
|
19
19
|
id: z.string().describe("The unique identifier of the device.").nullable().optional(),
|
|
20
20
|
displayName: z.string().describe("The display name of the device.").nullable().optional()
|
|
21
|
-
}).describe("Represents the device identity within an identity set.");
|
|
21
|
+
}).passthrough().describe("Represents the device identity within an identity set.");
|
|
22
22
|
const OnenoteCreateUserSectionGroupsSections_IdentityApplicationSchema = z.object({
|
|
23
23
|
id: z.string().describe("The unique identifier of the application.").nullable().optional(),
|
|
24
24
|
displayName: z.string().describe("The display name of the application.").nullable().optional()
|
|
25
|
-
}).describe("Represents the application identity within an identity set.");
|
|
25
|
+
}).passthrough().describe("Represents the application identity within an identity set.");
|
|
26
26
|
const OnenoteCreateUserSectionGroupsSections_IdentitySetSchema = z.object({
|
|
27
27
|
user: OnenoteCreateUserSectionGroupsSections_IdentityUserSchema.nullable().optional(),
|
|
28
28
|
device: OnenoteCreateUserSectionGroupsSections_IdentityDeviceSchema.nullable().optional(),
|
|
29
29
|
application: OnenoteCreateUserSectionGroupsSections_IdentityApplicationSchema.nullable().optional()
|
|
30
|
-
}).describe("Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.");
|
|
30
|
+
}).passthrough().describe("Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.");
|
|
31
31
|
const onenoteCreateUserSectionGroupsSections = action("ONENOTE_CREATE_USER_SECTION_GROUPS_SECTIONS", {
|
|
32
32
|
slug: "onenote-create-user-section-groups-sections",
|
|
33
33
|
name: "Create section in user section group",
|
|
@@ -44,7 +44,7 @@ const onenoteCreateUserSectionGroupsSections = action("ONENOTE_CREATE_USER_SECTI
|
|
|
44
44
|
lastModifiedBy: OnenoteCreateUserSectionGroupsSections_IdentitySetSchema.nullable().optional(),
|
|
45
45
|
createdDateTime: z.string().describe("The date and time when the section was created. UTC format (ISO 8601). Read-only.").nullable().optional(),
|
|
46
46
|
lastModifiedDateTime: z.string().describe("The date and time when the section was last modified. UTC format (ISO 8601). Read-only.").nullable().optional()
|
|
47
|
-
}).describe("Full response schema for a created OneNote section.")
|
|
47
|
+
}).passthrough().describe("Full response schema for a created OneNote section.")
|
|
48
48
|
});
|
|
49
49
|
//#endregion
|
|
50
50
|
export { onenoteCreateUserSectionGroupsSections };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-section-groups-sections.mjs","names":[],"sources":["../../src/actions/create-user-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateUserSectionGroupsSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n section_group_id: z.string().describe(\"The unique identifier of the section group.\"),\n}).describe(\"Request model for creating a OneNote section within a section group for a specific user.\");\nconst OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateUserSectionGroupsSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateUserSectionGroupsSections_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}).describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateUserSectionGroupsSections_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}).describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateUserSectionGroupsSections_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}).describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateUserSectionGroupsSections_IdentitySetSchema = z.object({\n user: OnenoteCreateUserSectionGroupsSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateUserSectionGroupsSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateUserSectionGroupsSections_IdentityApplicationSchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateUserSectionGroupsSectionsOutput = 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: OnenoteCreateUserSectionGroupsSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateUserSectionGroupsSections_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: OnenoteCreateUserSectionGroupsSections_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}).describe(\"Full response schema for a created OneNote section.\");\n\nexport const onenoteCreateUserSectionGroupsSections = action(\"ONENOTE_CREATE_USER_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-create-user-section-groups-sections\",\n name: \"Create section in user section group\",\n description: \"Creates a new OneNote section within a specified section group for a specific user. Use this action when you need to add a new section to organize OneNote pages within a section group's hierarchy for a specific user's notebook. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. This action is idempotent — calling it multiple times with the same display name may create duplicate sections depending on the API's handling of unique-name constraints.\",\n input: OnenoteCreateUserSectionGroupsSectionsInput,\n output: OnenoteCreateUserSectionGroupsSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8C,EAAE,OAAO;CAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CAChJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,4DAA4D,EAAE,OAAO,EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,mEAAmE;
|
|
1
|
+
{"version":3,"file":"create-user-section-groups-sections.mjs","names":[],"sources":["../../src/actions/create-user-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateUserSectionGroupsSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n section_group_id: z.string().describe(\"The unique identifier of the section group.\"),\n}).describe(\"Request model for creating a OneNote section within a section group for a specific user.\");\nconst OnenoteCreateUserSectionGroupsSections_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 OnenoteCreateUserSectionGroupsSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateUserSectionGroupsSections_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 OnenoteCreateUserSectionGroupsSections_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 OnenoteCreateUserSectionGroupsSections_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 OnenoteCreateUserSectionGroupsSections_IdentitySetSchema = z.object({\n user: OnenoteCreateUserSectionGroupsSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateUserSectionGroupsSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateUserSectionGroupsSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateUserSectionGroupsSectionsOutput = 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: OnenoteCreateUserSectionGroupsSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateUserSectionGroupsSections_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: OnenoteCreateUserSectionGroupsSections_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.\");\n\nexport const onenoteCreateUserSectionGroupsSections = action(\"ONENOTE_CREATE_USER_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-create-user-section-groups-sections\",\n name: \"Create section in user section group\",\n description: \"Creates a new OneNote section within a specified section group for a specific user. Use this action when you need to add a new section to organize OneNote pages within a section group's hierarchy for a specific user's notebook. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. This action is idempotent — calling it multiple times with the same display name may create duplicate sections depending on the API's handling of unique-name constraints.\",\n input: OnenoteCreateUserSectionGroupsSectionsInput,\n output: OnenoteCreateUserSectionGroupsSectionsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -8,11 +8,11 @@ const OnenoteCreateUserSectionsPages4Input = zod.z.object({
|
|
|
8
8
|
html_content: zod.z.string().describe("The HTML for the OneNote page. If neither page_title nor page_created_datetime is provided, send a complete HTML document (with html/head/body tags). If either is provided, send only the body fragment — the action wraps it in <html><head><title>{page_title}</title>...</head><body>...</body></html> for you, so do not include outer html/head/body tags in that case."),
|
|
9
9
|
page_created_datetime: zod.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()
|
|
10
10
|
}).describe("Request model for creating a OneNote page in a section for a specific user.");
|
|
11
|
-
const OnenoteCreateUserSectionsPages4_PageLinksHrefSchema = zod.z.object({ href: zod.z.string().describe("The URL of the link.").nullable().optional() }).describe("Represents the href property of a page link.");
|
|
11
|
+
const OnenoteCreateUserSectionsPages4_PageLinksHrefSchema = zod.z.object({ href: zod.z.string().describe("The URL of the link.").nullable().optional() }).passthrough().describe("Represents the href property of a page link.");
|
|
12
12
|
const OnenoteCreateUserSectionsPages4_PageLinksSchema = zod.z.object({
|
|
13
13
|
oneNoteWebUrl: OnenoteCreateUserSectionsPages4_PageLinksHrefSchema.nullable().optional(),
|
|
14
14
|
oneNoteClientUrl: OnenoteCreateUserSectionsPages4_PageLinksHrefSchema.nullable().optional()
|
|
15
|
-
}).describe("Links for opening the OneNote page in various clients.");
|
|
15
|
+
}).passthrough().describe("Links for opening the OneNote page in various clients.");
|
|
16
16
|
const OnenoteCreateUserSectionsPages4Output = zod.z.object({
|
|
17
17
|
id: zod.z.string().describe("The unique identifier of the page. Read-only.").nullable().optional(),
|
|
18
18
|
self: zod.z.string().describe("The endpoint where you can get details about the page. Read-only.").nullable().optional(),
|
|
@@ -24,7 +24,7 @@ const OnenoteCreateUserSectionsPages4Output = zod.z.object({
|
|
|
24
24
|
createdByAppId: zod.z.string().describe("The unique identifier of the application that created the page. Read-only.").nullable().optional(),
|
|
25
25
|
createdDateTime: zod.z.string().describe("The date and time when the page was created (ISO 8601 format, UTC). Read-only.").nullable().optional(),
|
|
26
26
|
lastModifiedDateTime: zod.z.string().describe("The date and time when the page was last modified (ISO 8601 format, UTC). Read-only.").nullable().optional()
|
|
27
|
-
}).describe("Response model containing the created OneNote page details.");
|
|
27
|
+
}).passthrough().describe("Response model containing the created OneNote page details.");
|
|
28
28
|
const onenoteCreateUserSectionsPages4 = require_action.action("ONENOTE_CREATE_USER_SECTIONS_PAGES4", {
|
|
29
29
|
slug: "onenote-create-user-sections-pages4",
|
|
30
30
|
name: "Create user section page",
|