@keystrokehq/onenote 0.1.0

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.
Files changed (602) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/copy-onenote-group-notebook.cjs +24 -0
  7. package/dist/actions/copy-onenote-group-notebook.cjs.map +1 -0
  8. package/dist/actions/copy-onenote-group-notebook.d.cts +9 -0
  9. package/dist/actions/copy-onenote-group-notebook.d.cts.map +1 -0
  10. package/dist/actions/copy-onenote-group-notebook.d.mts +9 -0
  11. package/dist/actions/copy-onenote-group-notebook.d.mts.map +1 -0
  12. package/dist/actions/copy-onenote-group-notebook.mjs +21 -0
  13. package/dist/actions/copy-onenote-group-notebook.mjs.map +1 -0
  14. package/dist/actions/copy-onenote-site-notebook.cjs +25 -0
  15. package/dist/actions/copy-onenote-site-notebook.cjs.map +1 -0
  16. package/dist/actions/copy-onenote-site-notebook.d.cts +9 -0
  17. package/dist/actions/copy-onenote-site-notebook.d.cts.map +1 -0
  18. package/dist/actions/copy-onenote-site-notebook.d.mts +9 -0
  19. package/dist/actions/copy-onenote-site-notebook.d.mts.map +1 -0
  20. package/dist/actions/copy-onenote-site-notebook.mjs +22 -0
  21. package/dist/actions/copy-onenote-site-notebook.mjs.map +1 -0
  22. package/dist/actions/copy-section-to-notebook-for-user2.cjs +27 -0
  23. package/dist/actions/copy-section-to-notebook-for-user2.cjs.map +1 -0
  24. package/dist/actions/copy-section-to-notebook-for-user2.d.cts +9 -0
  25. package/dist/actions/copy-section-to-notebook-for-user2.d.cts.map +1 -0
  26. package/dist/actions/copy-section-to-notebook-for-user2.d.mts +9 -0
  27. package/dist/actions/copy-section-to-notebook-for-user2.d.mts.map +1 -0
  28. package/dist/actions/copy-section-to-notebook-for-user2.mjs +24 -0
  29. package/dist/actions/copy-section-to-notebook-for-user2.mjs.map +1 -0
  30. package/dist/actions/copy-section-to-notebook2.cjs +26 -0
  31. package/dist/actions/copy-section-to-notebook2.cjs.map +1 -0
  32. package/dist/actions/copy-section-to-notebook2.d.cts +9 -0
  33. package/dist/actions/copy-section-to-notebook2.d.cts.map +1 -0
  34. package/dist/actions/copy-section-to-notebook2.d.mts +9 -0
  35. package/dist/actions/copy-section-to-notebook2.d.mts.map +1 -0
  36. package/dist/actions/copy-section-to-notebook2.mjs +23 -0
  37. package/dist/actions/copy-section-to-notebook2.mjs.map +1 -0
  38. package/dist/actions/copy-section-to-section-group-for-user.cjs +26 -0
  39. package/dist/actions/copy-section-to-section-group-for-user.cjs.map +1 -0
  40. package/dist/actions/copy-section-to-section-group-for-user.d.cts +9 -0
  41. package/dist/actions/copy-section-to-section-group-for-user.d.cts.map +1 -0
  42. package/dist/actions/copy-section-to-section-group-for-user.d.mts +9 -0
  43. package/dist/actions/copy-section-to-section-group-for-user.d.mts.map +1 -0
  44. package/dist/actions/copy-section-to-section-group-for-user.mjs +23 -0
  45. package/dist/actions/copy-section-to-section-group-for-user.mjs.map +1 -0
  46. package/dist/actions/copy-section-to-section-group.cjs +25 -0
  47. package/dist/actions/copy-section-to-section-group.cjs.map +1 -0
  48. package/dist/actions/copy-section-to-section-group.d.cts +9 -0
  49. package/dist/actions/copy-section-to-section-group.d.cts.map +1 -0
  50. package/dist/actions/copy-section-to-section-group.d.mts +9 -0
  51. package/dist/actions/copy-section-to-section-group.d.mts.map +1 -0
  52. package/dist/actions/copy-section-to-section-group.mjs +22 -0
  53. package/dist/actions/copy-section-to-section-group.mjs.map +1 -0
  54. package/dist/actions/copy-site-page-to-section3.cjs +26 -0
  55. package/dist/actions/copy-site-page-to-section3.cjs.map +1 -0
  56. package/dist/actions/copy-site-page-to-section3.d.cts +9 -0
  57. package/dist/actions/copy-site-page-to-section3.d.cts.map +1 -0
  58. package/dist/actions/copy-site-page-to-section3.d.mts +9 -0
  59. package/dist/actions/copy-site-page-to-section3.d.mts.map +1 -0
  60. package/dist/actions/copy-site-page-to-section3.mjs +23 -0
  61. package/dist/actions/copy-site-page-to-section3.mjs.map +1 -0
  62. package/dist/actions/copy-user-page-to-section.cjs +24 -0
  63. package/dist/actions/copy-user-page-to-section.cjs.map +1 -0
  64. package/dist/actions/copy-user-page-to-section.d.cts +9 -0
  65. package/dist/actions/copy-user-page-to-section.d.cts.map +1 -0
  66. package/dist/actions/copy-user-page-to-section.d.mts +9 -0
  67. package/dist/actions/copy-user-page-to-section.d.mts.map +1 -0
  68. package/dist/actions/copy-user-page-to-section.mjs +21 -0
  69. package/dist/actions/copy-user-page-to-section.mjs.map +1 -0
  70. package/dist/actions/count-notebooks-section-groups-sections.cjs +19 -0
  71. package/dist/actions/count-notebooks-section-groups-sections.cjs.map +1 -0
  72. package/dist/actions/count-notebooks-section-groups-sections.d.cts +9 -0
  73. package/dist/actions/count-notebooks-section-groups-sections.d.cts.map +1 -0
  74. package/dist/actions/count-notebooks-section-groups-sections.d.mts +9 -0
  75. package/dist/actions/count-notebooks-section-groups-sections.d.mts.map +1 -0
  76. package/dist/actions/count-notebooks-section-groups-sections.mjs +16 -0
  77. package/dist/actions/count-notebooks-section-groups-sections.mjs.map +1 -0
  78. package/dist/actions/count-site-notebook-section-groups-sections.cjs +20 -0
  79. package/dist/actions/count-site-notebook-section-groups-sections.cjs.map +1 -0
  80. package/dist/actions/count-site-notebook-section-groups-sections.d.cts +9 -0
  81. package/dist/actions/count-site-notebook-section-groups-sections.d.cts.map +1 -0
  82. package/dist/actions/count-site-notebook-section-groups-sections.d.mts +9 -0
  83. package/dist/actions/count-site-notebook-section-groups-sections.d.mts.map +1 -0
  84. package/dist/actions/count-site-notebook-section-groups-sections.mjs +17 -0
  85. package/dist/actions/count-site-notebook-section-groups-sections.mjs.map +1 -0
  86. package/dist/actions/create-group-notebook.cjs +47 -0
  87. package/dist/actions/create-group-notebook.cjs.map +1 -0
  88. package/dist/actions/create-group-notebook.d.cts +9 -0
  89. package/dist/actions/create-group-notebook.d.cts.map +1 -0
  90. package/dist/actions/create-group-notebook.d.mts +9 -0
  91. package/dist/actions/create-group-notebook.d.mts.map +1 -0
  92. package/dist/actions/create-group-notebook.mjs +46 -0
  93. package/dist/actions/create-group-notebook.mjs.map +1 -0
  94. package/dist/actions/create-group-pages.cjs +37 -0
  95. package/dist/actions/create-group-pages.cjs.map +1 -0
  96. package/dist/actions/create-group-pages.d.cts +9 -0
  97. package/dist/actions/create-group-pages.d.cts.map +1 -0
  98. package/dist/actions/create-group-pages.d.mts +9 -0
  99. package/dist/actions/create-group-pages.d.mts.map +1 -0
  100. package/dist/actions/create-group-pages.mjs +36 -0
  101. package/dist/actions/create-group-pages.mjs.map +1 -0
  102. package/dist/actions/create-group-section-groups-sections.cjs +53 -0
  103. package/dist/actions/create-group-section-groups-sections.cjs.map +1 -0
  104. package/dist/actions/create-group-section-groups-sections.d.cts +9 -0
  105. package/dist/actions/create-group-section-groups-sections.d.cts.map +1 -0
  106. package/dist/actions/create-group-section-groups-sections.d.mts +9 -0
  107. package/dist/actions/create-group-section-groups-sections.d.mts.map +1 -0
  108. package/dist/actions/create-group-section-groups-sections.mjs +52 -0
  109. package/dist/actions/create-group-section-groups-sections.mjs.map +1 -0
  110. package/dist/actions/create-me-notebooks.cjs +44 -0
  111. package/dist/actions/create-me-notebooks.cjs.map +1 -0
  112. package/dist/actions/create-me-notebooks.d.cts +9 -0
  113. package/dist/actions/create-me-notebooks.d.cts.map +1 -0
  114. package/dist/actions/create-me-notebooks.d.mts +9 -0
  115. package/dist/actions/create-me-notebooks.d.mts.map +1 -0
  116. package/dist/actions/create-me-notebooks.mjs +43 -0
  117. package/dist/actions/create-me-notebooks.mjs.map +1 -0
  118. package/dist/actions/create-me-section-groups-sections.cjs +52 -0
  119. package/dist/actions/create-me-section-groups-sections.cjs.map +1 -0
  120. package/dist/actions/create-me-section-groups-sections.d.cts +9 -0
  121. package/dist/actions/create-me-section-groups-sections.d.cts.map +1 -0
  122. package/dist/actions/create-me-section-groups-sections.d.mts +9 -0
  123. package/dist/actions/create-me-section-groups-sections.d.mts.map +1 -0
  124. package/dist/actions/create-me-section-groups-sections.mjs +51 -0
  125. package/dist/actions/create-me-section-groups-sections.mjs.map +1 -0
  126. package/dist/actions/create-me-sections-pages.cjs +37 -0
  127. package/dist/actions/create-me-sections-pages.cjs.map +1 -0
  128. package/dist/actions/create-me-sections-pages.d.cts +9 -0
  129. package/dist/actions/create-me-sections-pages.d.cts.map +1 -0
  130. package/dist/actions/create-me-sections-pages.d.mts +9 -0
  131. package/dist/actions/create-me-sections-pages.d.mts.map +1 -0
  132. package/dist/actions/create-me-sections-pages.mjs +36 -0
  133. package/dist/actions/create-me-sections-pages.mjs.map +1 -0
  134. package/dist/actions/create-onenote-group-notebooks-section-groups.cjs +39 -0
  135. package/dist/actions/create-onenote-group-notebooks-section-groups.cjs.map +1 -0
  136. package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts +9 -0
  137. package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts.map +1 -0
  138. package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts +9 -0
  139. package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts.map +1 -0
  140. package/dist/actions/create-onenote-group-notebooks-section-groups.mjs +38 -0
  141. package/dist/actions/create-onenote-group-notebooks-section-groups.mjs.map +1 -0
  142. package/dist/actions/create-site-notebooks-sections.cjs +53 -0
  143. package/dist/actions/create-site-notebooks-sections.cjs.map +1 -0
  144. package/dist/actions/create-site-notebooks-sections.d.cts +9 -0
  145. package/dist/actions/create-site-notebooks-sections.d.cts.map +1 -0
  146. package/dist/actions/create-site-notebooks-sections.d.mts +9 -0
  147. package/dist/actions/create-site-notebooks-sections.d.mts.map +1 -0
  148. package/dist/actions/create-site-notebooks-sections.mjs +52 -0
  149. package/dist/actions/create-site-notebooks-sections.mjs.map +1 -0
  150. package/dist/actions/create-user-notebooks-sections.cjs +53 -0
  151. package/dist/actions/create-user-notebooks-sections.cjs.map +1 -0
  152. package/dist/actions/create-user-notebooks-sections.d.cts +9 -0
  153. package/dist/actions/create-user-notebooks-sections.d.cts.map +1 -0
  154. package/dist/actions/create-user-notebooks-sections.d.mts +9 -0
  155. package/dist/actions/create-user-notebooks-sections.d.mts.map +1 -0
  156. package/dist/actions/create-user-notebooks-sections.mjs +52 -0
  157. package/dist/actions/create-user-notebooks-sections.mjs.map +1 -0
  158. package/dist/actions/create-user-pages.cjs +37 -0
  159. package/dist/actions/create-user-pages.cjs.map +1 -0
  160. package/dist/actions/create-user-pages.d.cts +9 -0
  161. package/dist/actions/create-user-pages.d.cts.map +1 -0
  162. package/dist/actions/create-user-pages.d.mts +9 -0
  163. package/dist/actions/create-user-pages.d.mts.map +1 -0
  164. package/dist/actions/create-user-pages.mjs +36 -0
  165. package/dist/actions/create-user-pages.mjs.map +1 -0
  166. package/dist/actions/create-user-section-groups-sections.cjs +53 -0
  167. package/dist/actions/create-user-section-groups-sections.cjs.map +1 -0
  168. package/dist/actions/create-user-section-groups-sections.d.cts +9 -0
  169. package/dist/actions/create-user-section-groups-sections.d.cts.map +1 -0
  170. package/dist/actions/create-user-section-groups-sections.d.mts +9 -0
  171. package/dist/actions/create-user-section-groups-sections.d.mts.map +1 -0
  172. package/dist/actions/create-user-section-groups-sections.mjs +52 -0
  173. package/dist/actions/create-user-section-groups-sections.mjs.map +1 -0
  174. package/dist/actions/create-user-sections-pages4.cjs +38 -0
  175. package/dist/actions/create-user-sections-pages4.cjs.map +1 -0
  176. package/dist/actions/create-user-sections-pages4.d.cts +9 -0
  177. package/dist/actions/create-user-sections-pages4.d.cts.map +1 -0
  178. package/dist/actions/create-user-sections-pages4.d.mts +9 -0
  179. package/dist/actions/create-user-sections-pages4.d.mts.map +1 -0
  180. package/dist/actions/create-user-sections-pages4.mjs +37 -0
  181. package/dist/actions/create-user-sections-pages4.mjs.map +1 -0
  182. package/dist/actions/delete-onenote-group-section-group-page-content.cjs +24 -0
  183. package/dist/actions/delete-onenote-group-section-group-page-content.cjs.map +1 -0
  184. package/dist/actions/delete-onenote-group-section-group-page-content.d.cts +9 -0
  185. package/dist/actions/delete-onenote-group-section-group-page-content.d.cts.map +1 -0
  186. package/dist/actions/delete-onenote-group-section-group-page-content.d.mts +9 -0
  187. package/dist/actions/delete-onenote-group-section-group-page-content.d.mts.map +1 -0
  188. package/dist/actions/delete-onenote-group-section-group-page-content.mjs +21 -0
  189. package/dist/actions/delete-onenote-group-section-group-page-content.mjs.map +1 -0
  190. package/dist/actions/delete-onenote-group-sections-pages2.cjs +24 -0
  191. package/dist/actions/delete-onenote-group-sections-pages2.cjs.map +1 -0
  192. package/dist/actions/delete-onenote-group-sections-pages2.d.cts +9 -0
  193. package/dist/actions/delete-onenote-group-sections-pages2.d.cts.map +1 -0
  194. package/dist/actions/delete-onenote-group-sections-pages2.d.mts +9 -0
  195. package/dist/actions/delete-onenote-group-sections-pages2.d.mts.map +1 -0
  196. package/dist/actions/delete-onenote-group-sections-pages2.mjs +21 -0
  197. package/dist/actions/delete-onenote-group-sections-pages2.mjs.map +1 -0
  198. package/dist/actions/delete-site-pages.cjs +22 -0
  199. package/dist/actions/delete-site-pages.cjs.map +1 -0
  200. package/dist/actions/delete-site-pages.d.cts +9 -0
  201. package/dist/actions/delete-site-pages.d.cts.map +1 -0
  202. package/dist/actions/delete-site-pages.d.mts +9 -0
  203. package/dist/actions/delete-site-pages.d.mts.map +1 -0
  204. package/dist/actions/delete-site-pages.mjs +19 -0
  205. package/dist/actions/delete-site-pages.mjs.map +1 -0
  206. package/dist/actions/delete-user-onenote-sections-pages.cjs +25 -0
  207. package/dist/actions/delete-user-onenote-sections-pages.cjs.map +1 -0
  208. package/dist/actions/delete-user-onenote-sections-pages.d.cts +9 -0
  209. package/dist/actions/delete-user-onenote-sections-pages.d.cts.map +1 -0
  210. package/dist/actions/delete-user-onenote-sections-pages.d.mts +9 -0
  211. package/dist/actions/delete-user-onenote-sections-pages.d.mts.map +1 -0
  212. package/dist/actions/delete-user-onenote-sections-pages.mjs +22 -0
  213. package/dist/actions/delete-user-onenote-sections-pages.mjs.map +1 -0
  214. package/dist/actions/delete-user-pages.cjs +22 -0
  215. package/dist/actions/delete-user-pages.cjs.map +1 -0
  216. package/dist/actions/delete-user-pages.d.cts +9 -0
  217. package/dist/actions/delete-user-pages.d.cts.map +1 -0
  218. package/dist/actions/delete-user-pages.d.mts +9 -0
  219. package/dist/actions/delete-user-pages.d.mts.map +1 -0
  220. package/dist/actions/delete-user-pages.mjs +19 -0
  221. package/dist/actions/delete-user-pages.mjs.map +1 -0
  222. package/dist/actions/get-group-sections.cjs +68 -0
  223. package/dist/actions/get-group-sections.cjs.map +1 -0
  224. package/dist/actions/get-group-sections.d.cts +9 -0
  225. package/dist/actions/get-group-sections.d.cts.map +1 -0
  226. package/dist/actions/get-group-sections.d.mts +9 -0
  227. package/dist/actions/get-group-sections.d.mts.map +1 -0
  228. package/dist/actions/get-group-sections.mjs +67 -0
  229. package/dist/actions/get-group-sections.mjs.map +1 -0
  230. package/dist/actions/get-me-onenote-resources-value.cjs +21 -0
  231. package/dist/actions/get-me-onenote-resources-value.cjs.map +1 -0
  232. package/dist/actions/get-me-onenote-resources-value.d.cts +9 -0
  233. package/dist/actions/get-me-onenote-resources-value.d.cts.map +1 -0
  234. package/dist/actions/get-me-onenote-resources-value.d.mts +9 -0
  235. package/dist/actions/get-me-onenote-resources-value.d.mts.map +1 -0
  236. package/dist/actions/get-me-onenote-resources-value.mjs +18 -0
  237. package/dist/actions/get-me-onenote-resources-value.mjs.map +1 -0
  238. package/dist/actions/get-me-section-page-content.cjs +23 -0
  239. package/dist/actions/get-me-section-page-content.cjs.map +1 -0
  240. package/dist/actions/get-me-section-page-content.d.cts +9 -0
  241. package/dist/actions/get-me-section-page-content.d.cts.map +1 -0
  242. package/dist/actions/get-me-section-page-content.d.mts +9 -0
  243. package/dist/actions/get-me-section-page-content.d.mts.map +1 -0
  244. package/dist/actions/get-me-section-page-content.mjs +20 -0
  245. package/dist/actions/get-me-section-page-content.mjs.map +1 -0
  246. package/dist/actions/get-notebook-from-web-url.cjs +48 -0
  247. package/dist/actions/get-notebook-from-web-url.cjs.map +1 -0
  248. package/dist/actions/get-notebook-from-web-url.d.cts +9 -0
  249. package/dist/actions/get-notebook-from-web-url.d.cts.map +1 -0
  250. package/dist/actions/get-notebook-from-web-url.d.mts +9 -0
  251. package/dist/actions/get-notebook-from-web-url.d.mts.map +1 -0
  252. package/dist/actions/get-notebook-from-web-url.mjs +47 -0
  253. package/dist/actions/get-notebook-from-web-url.mjs.map +1 -0
  254. package/dist/actions/get-notebook-section-group.cjs +40 -0
  255. package/dist/actions/get-notebook-section-group.cjs.map +1 -0
  256. package/dist/actions/get-notebook-section-group.d.cts +9 -0
  257. package/dist/actions/get-notebook-section-group.d.cts.map +1 -0
  258. package/dist/actions/get-notebook-section-group.d.mts +9 -0
  259. package/dist/actions/get-notebook-section-group.d.mts.map +1 -0
  260. package/dist/actions/get-notebook-section-group.mjs +39 -0
  261. package/dist/actions/get-notebook-section-group.mjs.map +1 -0
  262. package/dist/actions/get-onenote-group-operations.cjs +38 -0
  263. package/dist/actions/get-onenote-group-operations.cjs.map +1 -0
  264. package/dist/actions/get-onenote-group-operations.d.cts +9 -0
  265. package/dist/actions/get-onenote-group-operations.d.cts.map +1 -0
  266. package/dist/actions/get-onenote-group-operations.d.mts +9 -0
  267. package/dist/actions/get-onenote-group-operations.d.mts.map +1 -0
  268. package/dist/actions/get-onenote-group-operations.mjs +37 -0
  269. package/dist/actions/get-onenote-group-operations.mjs.map +1 -0
  270. package/dist/actions/get-onenote-group-sections-pages.cjs +56 -0
  271. package/dist/actions/get-onenote-group-sections-pages.cjs.map +1 -0
  272. package/dist/actions/get-onenote-group-sections-pages.d.cts +9 -0
  273. package/dist/actions/get-onenote-group-sections-pages.d.cts.map +1 -0
  274. package/dist/actions/get-onenote-group-sections-pages.d.mts +9 -0
  275. package/dist/actions/get-onenote-group-sections-pages.d.mts.map +1 -0
  276. package/dist/actions/get-onenote-group-sections-pages.mjs +55 -0
  277. package/dist/actions/get-onenote-group-sections-pages.mjs.map +1 -0
  278. package/dist/actions/get-onenote-site-operations.cjs +38 -0
  279. package/dist/actions/get-onenote-site-operations.cjs.map +1 -0
  280. package/dist/actions/get-onenote-site-operations.d.cts +9 -0
  281. package/dist/actions/get-onenote-site-operations.d.cts.map +1 -0
  282. package/dist/actions/get-onenote-site-operations.d.mts +9 -0
  283. package/dist/actions/get-onenote-site-operations.d.mts.map +1 -0
  284. package/dist/actions/get-onenote-site-operations.mjs +37 -0
  285. package/dist/actions/get-onenote-site-operations.mjs.map +1 -0
  286. package/dist/actions/get-onenote-user-page-content.cjs +36 -0
  287. package/dist/actions/get-onenote-user-page-content.cjs.map +1 -0
  288. package/dist/actions/get-onenote-user-page-content.d.cts +9 -0
  289. package/dist/actions/get-onenote-user-page-content.d.cts.map +1 -0
  290. package/dist/actions/get-onenote-user-page-content.d.mts +9 -0
  291. package/dist/actions/get-onenote-user-page-content.d.mts.map +1 -0
  292. package/dist/actions/get-onenote-user-page-content.mjs +35 -0
  293. package/dist/actions/get-onenote-user-page-content.mjs.map +1 -0
  294. package/dist/actions/get-page.cjs +52 -0
  295. package/dist/actions/get-page.cjs.map +1 -0
  296. package/dist/actions/get-page.d.cts +9 -0
  297. package/dist/actions/get-page.d.cts.map +1 -0
  298. package/dist/actions/get-page.d.mts +9 -0
  299. package/dist/actions/get-page.d.mts.map +1 -0
  300. package/dist/actions/get-page.mjs +51 -0
  301. package/dist/actions/get-page.mjs.map +1 -0
  302. package/dist/actions/get-recent-notebooks.cjs +37 -0
  303. package/dist/actions/get-recent-notebooks.cjs.map +1 -0
  304. package/dist/actions/get-recent-notebooks.d.cts +9 -0
  305. package/dist/actions/get-recent-notebooks.d.cts.map +1 -0
  306. package/dist/actions/get-recent-notebooks.d.mts +9 -0
  307. package/dist/actions/get-recent-notebooks.d.mts.map +1 -0
  308. package/dist/actions/get-recent-notebooks.mjs +36 -0
  309. package/dist/actions/get-recent-notebooks.mjs.map +1 -0
  310. package/dist/actions/get-section.cjs +59 -0
  311. package/dist/actions/get-section.cjs.map +1 -0
  312. package/dist/actions/get-section.d.cts +9 -0
  313. package/dist/actions/get-section.d.cts.map +1 -0
  314. package/dist/actions/get-section.d.mts +9 -0
  315. package/dist/actions/get-section.d.mts.map +1 -0
  316. package/dist/actions/get-section.mjs +58 -0
  317. package/dist/actions/get-section.mjs.map +1 -0
  318. package/dist/actions/get-site-onenote-pages.cjs +50 -0
  319. package/dist/actions/get-site-onenote-pages.cjs.map +1 -0
  320. package/dist/actions/get-site-onenote-pages.d.cts +9 -0
  321. package/dist/actions/get-site-onenote-pages.d.cts.map +1 -0
  322. package/dist/actions/get-site-onenote-pages.d.mts +9 -0
  323. package/dist/actions/get-site-onenote-pages.d.mts.map +1 -0
  324. package/dist/actions/get-site-onenote-pages.mjs +49 -0
  325. package/dist/actions/get-site-onenote-pages.mjs.map +1 -0
  326. package/dist/actions/get-site-pages-preview.cjs +22 -0
  327. package/dist/actions/get-site-pages-preview.cjs.map +1 -0
  328. package/dist/actions/get-site-pages-preview.d.cts +9 -0
  329. package/dist/actions/get-site-pages-preview.d.cts.map +1 -0
  330. package/dist/actions/get-site-pages-preview.d.mts +9 -0
  331. package/dist/actions/get-site-pages-preview.d.mts.map +1 -0
  332. package/dist/actions/get-site-pages-preview.mjs +19 -0
  333. package/dist/actions/get-site-pages-preview.mjs.map +1 -0
  334. package/dist/actions/get-site-sections-pages.cjs +56 -0
  335. package/dist/actions/get-site-sections-pages.cjs.map +1 -0
  336. package/dist/actions/get-site-sections-pages.d.cts +9 -0
  337. package/dist/actions/get-site-sections-pages.d.cts.map +1 -0
  338. package/dist/actions/get-site-sections-pages.d.mts +9 -0
  339. package/dist/actions/get-site-sections-pages.d.mts.map +1 -0
  340. package/dist/actions/get-site-sections-pages.mjs +55 -0
  341. package/dist/actions/get-site-sections-pages.mjs.map +1 -0
  342. package/dist/actions/get-site-sections.cjs +68 -0
  343. package/dist/actions/get-site-sections.cjs.map +1 -0
  344. package/dist/actions/get-site-sections.d.cts +9 -0
  345. package/dist/actions/get-site-sections.d.cts.map +1 -0
  346. package/dist/actions/get-site-sections.d.mts +9 -0
  347. package/dist/actions/get-site-sections.d.mts.map +1 -0
  348. package/dist/actions/get-site-sections.mjs +67 -0
  349. package/dist/actions/get-site-sections.mjs.map +1 -0
  350. package/dist/actions/get-user-notebook.cjs +64 -0
  351. package/dist/actions/get-user-notebook.cjs.map +1 -0
  352. package/dist/actions/get-user-notebook.d.cts +9 -0
  353. package/dist/actions/get-user-notebook.d.cts.map +1 -0
  354. package/dist/actions/get-user-notebook.d.mts +9 -0
  355. package/dist/actions/get-user-notebook.d.mts.map +1 -0
  356. package/dist/actions/get-user-notebook.mjs +63 -0
  357. package/dist/actions/get-user-notebook.mjs.map +1 -0
  358. package/dist/actions/get-user-pages.cjs +53 -0
  359. package/dist/actions/get-user-pages.cjs.map +1 -0
  360. package/dist/actions/get-user-pages.d.cts +9 -0
  361. package/dist/actions/get-user-pages.d.cts.map +1 -0
  362. package/dist/actions/get-user-pages.d.mts +9 -0
  363. package/dist/actions/get-user-pages.d.mts.map +1 -0
  364. package/dist/actions/get-user-pages.mjs +52 -0
  365. package/dist/actions/get-user-pages.mjs.map +1 -0
  366. package/dist/actions/get-user-parent-section-group2.cjs +42 -0
  367. package/dist/actions/get-user-parent-section-group2.cjs.map +1 -0
  368. package/dist/actions/get-user-parent-section-group2.d.cts +9 -0
  369. package/dist/actions/get-user-parent-section-group2.d.cts.map +1 -0
  370. package/dist/actions/get-user-parent-section-group2.d.mts +9 -0
  371. package/dist/actions/get-user-parent-section-group2.d.mts.map +1 -0
  372. package/dist/actions/get-user-parent-section-group2.mjs +41 -0
  373. package/dist/actions/get-user-parent-section-group2.mjs.map +1 -0
  374. package/dist/actions/index.cjs +143 -0
  375. package/dist/actions/index.d.cts +72 -0
  376. package/dist/actions/index.d.mts +72 -0
  377. package/dist/actions/index.mjs +72 -0
  378. package/dist/actions/list-group-notebook-section-groups.cjs +52 -0
  379. package/dist/actions/list-group-notebook-section-groups.cjs.map +1 -0
  380. package/dist/actions/list-group-notebook-section-groups.d.cts +9 -0
  381. package/dist/actions/list-group-notebook-section-groups.d.cts.map +1 -0
  382. package/dist/actions/list-group-notebook-section-groups.d.mts +9 -0
  383. package/dist/actions/list-group-notebook-section-groups.d.mts.map +1 -0
  384. package/dist/actions/list-group-notebook-section-groups.mjs +51 -0
  385. package/dist/actions/list-group-notebook-section-groups.mjs.map +1 -0
  386. package/dist/actions/list-group-notebook-section-pages.cjs +46 -0
  387. package/dist/actions/list-group-notebook-section-pages.cjs.map +1 -0
  388. package/dist/actions/list-group-notebook-section-pages.d.cts +9 -0
  389. package/dist/actions/list-group-notebook-section-pages.d.cts.map +1 -0
  390. package/dist/actions/list-group-notebook-section-pages.d.mts +9 -0
  391. package/dist/actions/list-group-notebook-section-pages.d.mts.map +1 -0
  392. package/dist/actions/list-group-notebook-section-pages.mjs +45 -0
  393. package/dist/actions/list-group-notebook-section-pages.mjs.map +1 -0
  394. package/dist/actions/list-group-notebooks.cjs +65 -0
  395. package/dist/actions/list-group-notebooks.cjs.map +1 -0
  396. package/dist/actions/list-group-notebooks.d.cts +9 -0
  397. package/dist/actions/list-group-notebooks.d.cts.map +1 -0
  398. package/dist/actions/list-group-notebooks.d.mts +9 -0
  399. package/dist/actions/list-group-notebooks.d.mts.map +1 -0
  400. package/dist/actions/list-group-notebooks.mjs +64 -0
  401. package/dist/actions/list-group-notebooks.mjs.map +1 -0
  402. package/dist/actions/list-group-section-groups-sections.cjs +56 -0
  403. package/dist/actions/list-group-section-groups-sections.cjs.map +1 -0
  404. package/dist/actions/list-group-section-groups-sections.d.cts +9 -0
  405. package/dist/actions/list-group-section-groups-sections.d.cts.map +1 -0
  406. package/dist/actions/list-group-section-groups-sections.d.mts +9 -0
  407. package/dist/actions/list-group-section-groups-sections.d.mts.map +1 -0
  408. package/dist/actions/list-group-section-groups-sections.mjs +55 -0
  409. package/dist/actions/list-group-section-groups-sections.mjs.map +1 -0
  410. package/dist/actions/list-joined-teams.cjs +58 -0
  411. package/dist/actions/list-joined-teams.cjs.map +1 -0
  412. package/dist/actions/list-joined-teams.d.cts +9 -0
  413. package/dist/actions/list-joined-teams.d.cts.map +1 -0
  414. package/dist/actions/list-joined-teams.d.mts +9 -0
  415. package/dist/actions/list-joined-teams.d.mts.map +1 -0
  416. package/dist/actions/list-joined-teams.mjs +57 -0
  417. package/dist/actions/list-joined-teams.mjs.map +1 -0
  418. package/dist/actions/list-me-onenote-sections-pages4.cjs +59 -0
  419. package/dist/actions/list-me-onenote-sections-pages4.cjs.map +1 -0
  420. package/dist/actions/list-me-onenote-sections-pages4.d.cts +9 -0
  421. package/dist/actions/list-me-onenote-sections-pages4.d.cts.map +1 -0
  422. package/dist/actions/list-me-onenote-sections-pages4.d.mts +9 -0
  423. package/dist/actions/list-me-onenote-sections-pages4.d.mts.map +1 -0
  424. package/dist/actions/list-me-onenote-sections-pages4.mjs +58 -0
  425. package/dist/actions/list-me-onenote-sections-pages4.mjs.map +1 -0
  426. package/dist/actions/list-onenote-group-pages.cjs +44 -0
  427. package/dist/actions/list-onenote-group-pages.cjs.map +1 -0
  428. package/dist/actions/list-onenote-group-pages.d.cts +9 -0
  429. package/dist/actions/list-onenote-group-pages.d.cts.map +1 -0
  430. package/dist/actions/list-onenote-group-pages.d.mts +9 -0
  431. package/dist/actions/list-onenote-group-pages.d.mts.map +1 -0
  432. package/dist/actions/list-onenote-group-pages.mjs +43 -0
  433. package/dist/actions/list-onenote-group-pages.mjs.map +1 -0
  434. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs +50 -0
  435. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs.map +1 -0
  436. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts +9 -0
  437. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts.map +1 -0
  438. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts +9 -0
  439. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts.map +1 -0
  440. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs +49 -0
  441. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs.map +1 -0
  442. package/dist/actions/list-onenote-group-sections-pages4.cjs +48 -0
  443. package/dist/actions/list-onenote-group-sections-pages4.cjs.map +1 -0
  444. package/dist/actions/list-onenote-group-sections-pages4.d.cts +9 -0
  445. package/dist/actions/list-onenote-group-sections-pages4.d.cts.map +1 -0
  446. package/dist/actions/list-onenote-group-sections-pages4.d.mts +9 -0
  447. package/dist/actions/list-onenote-group-sections-pages4.d.mts.map +1 -0
  448. package/dist/actions/list-onenote-group-sections-pages4.mjs +47 -0
  449. package/dist/actions/list-onenote-group-sections-pages4.mjs.map +1 -0
  450. package/dist/actions/list-site-notebook-section-groups.cjs +50 -0
  451. package/dist/actions/list-site-notebook-section-groups.cjs.map +1 -0
  452. package/dist/actions/list-site-notebook-section-groups.d.cts +9 -0
  453. package/dist/actions/list-site-notebook-section-groups.d.cts.map +1 -0
  454. package/dist/actions/list-site-notebook-section-groups.d.mts +9 -0
  455. package/dist/actions/list-site-notebook-section-groups.d.mts.map +1 -0
  456. package/dist/actions/list-site-notebook-section-groups.mjs +49 -0
  457. package/dist/actions/list-site-notebook-section-groups.mjs.map +1 -0
  458. package/dist/actions/list-site-notebooks.cjs +65 -0
  459. package/dist/actions/list-site-notebooks.cjs.map +1 -0
  460. package/dist/actions/list-site-notebooks.d.cts +9 -0
  461. package/dist/actions/list-site-notebooks.d.cts.map +1 -0
  462. package/dist/actions/list-site-notebooks.d.mts +9 -0
  463. package/dist/actions/list-site-notebooks.d.mts.map +1 -0
  464. package/dist/actions/list-site-notebooks.mjs +64 -0
  465. package/dist/actions/list-site-notebooks.mjs.map +1 -0
  466. package/dist/actions/list-site-pages-content.cjs +24 -0
  467. package/dist/actions/list-site-pages-content.cjs.map +1 -0
  468. package/dist/actions/list-site-pages-content.d.cts +9 -0
  469. package/dist/actions/list-site-pages-content.d.cts.map +1 -0
  470. package/dist/actions/list-site-pages-content.d.mts +9 -0
  471. package/dist/actions/list-site-pages-content.d.mts.map +1 -0
  472. package/dist/actions/list-site-pages-content.mjs +21 -0
  473. package/dist/actions/list-site-pages-content.mjs.map +1 -0
  474. package/dist/actions/list-site-sections.cjs +63 -0
  475. package/dist/actions/list-site-sections.cjs.map +1 -0
  476. package/dist/actions/list-site-sections.d.cts +9 -0
  477. package/dist/actions/list-site-sections.d.cts.map +1 -0
  478. package/dist/actions/list-site-sections.d.mts +9 -0
  479. package/dist/actions/list-site-sections.d.mts.map +1 -0
  480. package/dist/actions/list-site-sections.mjs +62 -0
  481. package/dist/actions/list-site-sections.mjs.map +1 -0
  482. package/dist/actions/list-user-notebook-sections.cjs +57 -0
  483. package/dist/actions/list-user-notebook-sections.cjs.map +1 -0
  484. package/dist/actions/list-user-notebook-sections.d.cts +9 -0
  485. package/dist/actions/list-user-notebook-sections.d.cts.map +1 -0
  486. package/dist/actions/list-user-notebook-sections.d.mts +9 -0
  487. package/dist/actions/list-user-notebook-sections.d.mts.map +1 -0
  488. package/dist/actions/list-user-notebook-sections.mjs +56 -0
  489. package/dist/actions/list-user-notebook-sections.mjs.map +1 -0
  490. package/dist/actions/list-user-notebooks.cjs +58 -0
  491. package/dist/actions/list-user-notebooks.cjs.map +1 -0
  492. package/dist/actions/list-user-notebooks.d.cts +9 -0
  493. package/dist/actions/list-user-notebooks.d.cts.map +1 -0
  494. package/dist/actions/list-user-notebooks.d.mts +9 -0
  495. package/dist/actions/list-user-notebooks.d.mts.map +1 -0
  496. package/dist/actions/list-user-notebooks.mjs +57 -0
  497. package/dist/actions/list-user-notebooks.mjs.map +1 -0
  498. package/dist/actions/resolve-site-by-url.cjs +50 -0
  499. package/dist/actions/resolve-site-by-url.cjs.map +1 -0
  500. package/dist/actions/resolve-site-by-url.d.cts +9 -0
  501. package/dist/actions/resolve-site-by-url.d.cts.map +1 -0
  502. package/dist/actions/resolve-site-by-url.d.mts +9 -0
  503. package/dist/actions/resolve-site-by-url.d.mts.map +1 -0
  504. package/dist/actions/resolve-site-by-url.mjs +47 -0
  505. package/dist/actions/resolve-site-by-url.mjs.map +1 -0
  506. package/dist/actions/sites-search.cjs +55 -0
  507. package/dist/actions/sites-search.cjs.map +1 -0
  508. package/dist/actions/sites-search.d.cts +9 -0
  509. package/dist/actions/sites-search.d.cts.map +1 -0
  510. package/dist/actions/sites-search.d.mts +9 -0
  511. package/dist/actions/sites-search.d.mts.map +1 -0
  512. package/dist/actions/sites-search.mjs +54 -0
  513. package/dist/actions/sites-search.mjs.map +1 -0
  514. package/dist/actions/update-me-page-content.cjs +33 -0
  515. package/dist/actions/update-me-page-content.cjs.map +1 -0
  516. package/dist/actions/update-me-page-content.d.cts +9 -0
  517. package/dist/actions/update-me-page-content.d.cts.map +1 -0
  518. package/dist/actions/update-me-page-content.d.mts +9 -0
  519. package/dist/actions/update-me-page-content.d.mts.map +1 -0
  520. package/dist/actions/update-me-page-content.mjs +30 -0
  521. package/dist/actions/update-me-page-content.mjs.map +1 -0
  522. package/dist/actions/update-me-sections.cjs +53 -0
  523. package/dist/actions/update-me-sections.cjs.map +1 -0
  524. package/dist/actions/update-me-sections.d.cts +9 -0
  525. package/dist/actions/update-me-sections.d.cts.map +1 -0
  526. package/dist/actions/update-me-sections.d.mts +9 -0
  527. package/dist/actions/update-me-sections.d.mts.map +1 -0
  528. package/dist/actions/update-me-sections.mjs +52 -0
  529. package/dist/actions/update-me-sections.mjs.map +1 -0
  530. package/dist/actions/update-onenote-page-content.cjs +37 -0
  531. package/dist/actions/update-onenote-page-content.cjs.map +1 -0
  532. package/dist/actions/update-onenote-page-content.d.cts +9 -0
  533. package/dist/actions/update-onenote-page-content.d.cts.map +1 -0
  534. package/dist/actions/update-onenote-page-content.d.mts +9 -0
  535. package/dist/actions/update-onenote-page-content.d.mts.map +1 -0
  536. package/dist/actions/update-onenote-page-content.mjs +34 -0
  537. package/dist/actions/update-onenote-page-content.mjs.map +1 -0
  538. package/dist/actions/update-site-notebooks-sections.cjs +54 -0
  539. package/dist/actions/update-site-notebooks-sections.cjs.map +1 -0
  540. package/dist/actions/update-site-notebooks-sections.d.cts +9 -0
  541. package/dist/actions/update-site-notebooks-sections.d.cts.map +1 -0
  542. package/dist/actions/update-site-notebooks-sections.d.mts +9 -0
  543. package/dist/actions/update-site-notebooks-sections.d.mts.map +1 -0
  544. package/dist/actions/update-site-notebooks-sections.mjs +53 -0
  545. package/dist/actions/update-site-notebooks-sections.mjs.map +1 -0
  546. package/dist/actions/update-site-pages-content.cjs +34 -0
  547. package/dist/actions/update-site-pages-content.cjs.map +1 -0
  548. package/dist/actions/update-site-pages-content.d.cts +9 -0
  549. package/dist/actions/update-site-pages-content.d.cts.map +1 -0
  550. package/dist/actions/update-site-pages-content.d.mts +9 -0
  551. package/dist/actions/update-site-pages-content.d.mts.map +1 -0
  552. package/dist/actions/update-site-pages-content.mjs +31 -0
  553. package/dist/actions/update-site-pages-content.mjs.map +1 -0
  554. package/dist/actions/update-site-section-groups-sections.cjs +55 -0
  555. package/dist/actions/update-site-section-groups-sections.cjs.map +1 -0
  556. package/dist/actions/update-site-section-groups-sections.d.cts +9 -0
  557. package/dist/actions/update-site-section-groups-sections.d.cts.map +1 -0
  558. package/dist/actions/update-site-section-groups-sections.d.mts +9 -0
  559. package/dist/actions/update-site-section-groups-sections.d.mts.map +1 -0
  560. package/dist/actions/update-site-section-groups-sections.mjs +54 -0
  561. package/dist/actions/update-site-section-groups-sections.mjs.map +1 -0
  562. package/dist/actions/update-user-notebooks-sections.cjs +53 -0
  563. package/dist/actions/update-user-notebooks-sections.cjs.map +1 -0
  564. package/dist/actions/update-user-notebooks-sections.d.cts +9 -0
  565. package/dist/actions/update-user-notebooks-sections.d.cts.map +1 -0
  566. package/dist/actions/update-user-notebooks-sections.d.mts +9 -0
  567. package/dist/actions/update-user-notebooks-sections.d.mts.map +1 -0
  568. package/dist/actions/update-user-notebooks-sections.mjs +52 -0
  569. package/dist/actions/update-user-notebooks-sections.mjs.map +1 -0
  570. package/dist/actions/validate-credential.cjs +19 -0
  571. package/dist/actions/validate-credential.cjs.map +1 -0
  572. package/dist/actions/validate-credential.d.cts +9 -0
  573. package/dist/actions/validate-credential.d.cts.map +1 -0
  574. package/dist/actions/validate-credential.d.mts +9 -0
  575. package/dist/actions/validate-credential.d.mts.map +1 -0
  576. package/dist/actions/validate-credential.mjs +16 -0
  577. package/dist/actions/validate-credential.mjs.map +1 -0
  578. package/dist/app.cjs +9 -0
  579. package/dist/app.cjs.map +1 -0
  580. package/dist/app.d.cts +5 -0
  581. package/dist/app.d.cts.map +1 -0
  582. package/dist/app.d.mts +5 -0
  583. package/dist/app.d.mts.map +1 -0
  584. package/dist/app.mjs +10 -0
  585. package/dist/app.mjs.map +1 -0
  586. package/dist/catalog.cjs +15 -0
  587. package/dist/catalog.cjs.map +1 -0
  588. package/dist/catalog.d.cts +14 -0
  589. package/dist/catalog.d.cts.map +1 -0
  590. package/dist/catalog.d.mts +14 -0
  591. package/dist/catalog.d.mts.map +1 -0
  592. package/dist/catalog.mjs +15 -0
  593. package/dist/catalog.mjs.map +1 -0
  594. package/dist/execute.cjs +18 -0
  595. package/dist/execute.cjs.map +1 -0
  596. package/dist/execute.mjs +18 -0
  597. package/dist/execute.mjs.map +1 -0
  598. package/dist/index.cjs +148 -0
  599. package/dist/index.d.cts +74 -0
  600. package/dist/index.d.mts +74 -0
  601. package/dist/index.mjs +75 -0
  602. package/package.json +49 -0
@@ -0,0 +1,58 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-section.ts
4
+ const OnenoteGetSectionInput = z.object({
5
+ expand: z.array(z.string()).describe("List of relationships to expand inline in the response. Valid values: parentNotebook, parentSectionGroup.").optional(),
6
+ select: z.array(z.string()).describe("List of section properties to include in the response. Valid values include: id, self, createdDateTime, displayName, createdBy, lastModifiedBy, lastModifiedDateTime, isDefault, links, pagesUrl, parentNotebook, parentSectionGroup.").optional(),
7
+ section_id: z.string().describe("The unique identifier of the OneNote section to retrieve.")
8
+ }).describe("Request model for retrieving a specific OneNote section by its ID.");
9
+ const OnenoteGetSection_ExternalLinkSchema = z.object({ href: z.string().describe("The URL of the link.").nullable().optional() }).describe("Represents a URL that opens a OneNote page or notebook.");
10
+ const OnenoteGetSection_SectionLinksSchema = z.object({
11
+ oneNoteWebUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),
12
+ oneNoteClientUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional()
13
+ }).describe("Links for opening a OneNote section.");
14
+ const OnenoteGetSection_IdentitySchema = z.object({
15
+ id: z.string().describe("Unique identifier for the identity.").nullable().optional(),
16
+ displayName: z.string().describe("The display name of the identity.").nullable().optional()
17
+ }).describe("Represents an identity of an actor (user, device, or application).");
18
+ const OnenoteGetSection_IdentitySetSchema = z.object({
19
+ user: OnenoteGetSection_IdentitySchema.nullable().optional(),
20
+ device: OnenoteGetSection_IdentitySchema.nullable().optional(),
21
+ application: OnenoteGetSection_IdentitySchema.nullable().optional()
22
+ }).describe("Represents a keyed collection of identity resources.");
23
+ const OnenoteGetSection_ParentNotebookSchema = z.object({
24
+ id: z.string().describe("The unique identifier of the notebook.").nullable().optional(),
25
+ self: z.string().describe("The endpoint where you can get details about the notebook.").nullable().optional(),
26
+ displayName: z.string().describe("The name of the notebook.").nullable().optional()
27
+ }).describe("The notebook that contains the section.");
28
+ const OnenoteGetSection_ParentSectionGroupSchema = z.object({
29
+ id: z.string().describe("The unique identifier of the section group.").nullable().optional(),
30
+ self: z.string().describe("The endpoint where you can get details about the section group.").nullable().optional(),
31
+ displayName: z.string().describe("The name of the section group.").nullable().optional()
32
+ }).describe("The section group that contains the section.");
33
+ const onenoteGetSection = action("ONENOTE_GET_SECTION", {
34
+ slug: "onenote-get-section",
35
+ name: "Get a OneNote section by ID",
36
+ description: "Retrieves a specific OneNote section by its ID from the current user's OneNote. Use this action when you need to fetch metadata or details for a single OneNote section by specifying only the section ID, without requiring additional context like group, user, or site IDs. This action supports OData query parameters for selecting specific properties and expanding relationships like parentNotebook or parentSectionGroup.",
37
+ input: OnenoteGetSectionInput,
38
+ output: z.object({
39
+ id: z.string().describe("The unique identifier of the section.").nullable().optional(),
40
+ self: z.string().describe("The endpoint where you can get details about the section.").nullable().optional(),
41
+ links: OnenoteGetSection_SectionLinksSchema.nullable().optional(),
42
+ pagesUrl: z.string().describe("The pages endpoint where you can get details for all the pages in the section.").nullable().optional(),
43
+ createdBy: OnenoteGetSection_IdentitySetSchema.nullable().optional(),
44
+ isDefault: z.boolean().describe("Indicates whether this is the user's default section.").nullable().optional(),
45
+ "@odata.etag": z.string().describe("The OData ETag.").nullable().optional(),
46
+ displayName: z.string().describe("The name of the section.").nullable().optional(),
47
+ "@odata.context": z.string().describe("The OData context URL.").nullable().optional(),
48
+ lastModifiedBy: OnenoteGetSection_IdentitySetSchema.nullable().optional(),
49
+ parentNotebook: OnenoteGetSection_ParentNotebookSchema.nullable().optional(),
50
+ createdDateTime: z.string().describe("The date and time when the section was created. ISO 8601 format in UTC time.").nullable().optional(),
51
+ parentSectionGroup: OnenoteGetSection_ParentSectionGroupSchema.nullable().optional(),
52
+ lastModifiedDateTime: z.string().describe("The date and time when the section was last modified. ISO 8601 format in UTC time.").nullable().optional()
53
+ }).describe("Response model for retrieving a OneNote section.")
54
+ });
55
+ //#endregion
56
+ export { onenoteGetSection };
57
+
58
+ //# sourceMappingURL=get-section.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-section.mjs","names":[],"sources":["../../src/actions/get-section.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetSectionInput: z.ZodTypeAny = z.object({\n expand: z.array(z.string()).describe(\"List of relationships to expand inline in the response. Valid values: parentNotebook, parentSectionGroup.\").optional(),\n select: z.array(z.string()).describe(\"List of section properties to include in the response. Valid values include: id, self, createdDateTime, displayName, createdBy, lastModifiedBy, lastModifiedDateTime, isDefault, links, pagesUrl, parentNotebook, parentSectionGroup.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to retrieve.\"),\n}).describe(\"Request model for retrieving a specific OneNote section by its ID.\");\nconst OnenoteGetSection_ExternalLinkSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).describe(\"Represents a URL that opens a OneNote page or notebook.\");\nconst OnenoteGetSection_SectionLinksSchema: z.ZodTypeAny = z.object({\n oneNoteWebUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote section.\");\nconst OnenoteGetSection_IdentitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).describe(\"Represents an identity of an actor (user, device, or application).\");\nconst OnenoteGetSection_IdentitySetSchema: z.ZodTypeAny = z.object({\n user: OnenoteGetSection_IdentitySchema.nullable().optional(),\n device: OnenoteGetSection_IdentitySchema.nullable().optional(),\n application: OnenoteGetSection_IdentitySchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources.\");\nconst OnenoteGetSection_ParentNotebookSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the notebook.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the notebook.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n}).describe(\"The notebook that contains the section.\");\nconst OnenoteGetSection_ParentSectionGroupSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the section group.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section group.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section group.\").nullable().optional(),\n}).describe(\"The section group that contains the section.\");\nexport const OnenoteGetSectionOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the section.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section.\").nullable().optional(),\n links: OnenoteGetSection_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint where you can get details for all the pages in the section.\").nullable().optional(),\n createdBy: OnenoteGetSection_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section.\").nullable().optional(),\n \"@odata.etag\": z.string().describe(\"The OData ETag.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n lastModifiedBy: OnenoteGetSection_IdentitySetSchema.nullable().optional(),\n parentNotebook: OnenoteGetSection_ParentNotebookSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. ISO 8601 format in UTC time.\").nullable().optional(),\n parentSectionGroup: OnenoteGetSection_ParentSectionGroupSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. ISO 8601 format in UTC time.\").nullable().optional(),\n}).describe(\"Response model for retrieving a OneNote section.\");\n\nexport const onenoteGetSection = action(\"ONENOTE_GET_SECTION\", {\n slug: \"onenote-get-section\",\n name: \"Get a OneNote section by ID\",\n description: \"Retrieves a specific OneNote section by its ID from the current user's OneNote. Use this action when you need to fetch metadata or details for a single OneNote section by specifying only the section ID, without requiring additional context like group, user, or site IDs. This action supports OData query parameters for selecting specific properties and expanding relationships like parentNotebook or parentSectionGroup.\",\n input: OnenoteGetSectionInput,\n output: OnenoteGetSectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO;CAC3D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC3J,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uOAAuO,CAAC,CAAC,SAAS;CACvR,YAAY,EAAE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,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,oBAAoB,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACnF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
@@ -0,0 +1,50 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-site-onenote-pages.ts
4
+ const OnenoteGetSiteOnenotePagesInput = zod.z.object({
5
+ expand: zod.z.array(zod.z.string()).describe("List of relationships to expand inline in the response. Valid values: 'parentSection', 'parentNotebook'.").optional(),
6
+ select: zod.z.array(zod.z.string()).describe("List of page properties to include in the response. Common values: 'id', 'title', 'createdDateTime', 'lastModifiedDateTime', 'content', 'contentUrl', 'createdByAppId', 'level', 'order', 'links', 'parentSection', 'parentNotebook'.").optional(),
7
+ page_id: zod.z.string().describe("The unique identifier of the OneNote page to retrieve. This is the full page ID including any section path prefix (e.g., '1-abc123!71-7aef1f00-3deb-4ee2-93ab-979eb24a3037')."),
8
+ site_id: zod.z.string().describe("The unique identifier of the SharePoint site. Use 'root' for the root site. For SharePoint sites, this is typically in the format: hostname,site-collection-id,site-id (e.g., 'contoso.sharepoint.com,12345678-1234-1234-1234-123456789012,87654321-4321-4321-4321-210987654321').")
9
+ }).describe("Request model for getting a specific OneNote page from a SharePoint site.");
10
+ const OnenoteGetSiteOnenotePages_SiteGetPageLinksSchema = zod.z.object({
11
+ oneNoteWebUrl: zod.z.object({}).describe("Link to open the page in OneNote on the web.").nullable().optional(),
12
+ oneNoteClientUrl: zod.z.object({}).describe("Link to open the page in the OneNote native client.").nullable().optional()
13
+ }).describe("Links for opening the OneNote page in client or web.");
14
+ const OnenoteGetSiteOnenotePages_SiteGetPageParentSectionSchema = zod.z.object({
15
+ id: zod.z.string().describe("The unique identifier of the section.").nullable().optional(),
16
+ self: zod.z.string().describe("The endpoint for details about the section.").nullable().optional(),
17
+ displayName: zod.z.string().describe("The name of the section.").nullable().optional()
18
+ }).describe("The section that contains the page (expanded relationship).");
19
+ const OnenoteGetSiteOnenotePages_SiteGetPageParentNotebookSchema = zod.z.object({
20
+ id: zod.z.string().describe("The unique identifier of the notebook.").nullable().optional(),
21
+ self: zod.z.string().describe("The endpoint for details about the notebook.").nullable().optional(),
22
+ displayName: zod.z.string().describe("The name of the notebook.").nullable().optional()
23
+ }).describe("The notebook that contains the page (expanded relationship).");
24
+ const OnenoteGetSiteOnenotePagesOutput = zod.z.object({
25
+ id: zod.z.string().describe("The unique identifier of the page.").nullable().optional(),
26
+ self: zod.z.string().describe("The endpoint where you can get details about the page.").nullable().optional(),
27
+ level: zod.z.number().int().describe("The indentation level of the page.").nullable().optional(),
28
+ links: OnenoteGetSiteOnenotePages_SiteGetPageLinksSchema.nullable().optional(),
29
+ order: zod.z.number().int().describe("The order of the page within its parent section.").nullable().optional(),
30
+ title: zod.z.string().describe("The title of the page.").nullable().optional(),
31
+ content: zod.z.string().describe("The page's HTML content.").nullable().optional(),
32
+ contentUrl: zod.z.string().describe("The URL for the page's HTML content.").nullable().optional(),
33
+ parentSection: OnenoteGetSiteOnenotePages_SiteGetPageParentSectionSchema.nullable().optional(),
34
+ "@odata.context": zod.z.string().describe("The OData context URL.").nullable().optional(),
35
+ createdByAppId: zod.z.string().describe("The unique identifier of the application that created the page.").nullable().optional(),
36
+ parentNotebook: OnenoteGetSiteOnenotePages_SiteGetPageParentNotebookSchema.nullable().optional(),
37
+ createdDateTime: zod.z.string().describe("The date and time when the page was created (UTC).").nullable().optional(),
38
+ lastModifiedDateTime: zod.z.string().describe("The date and time when the page was last modified (UTC).").nullable().optional()
39
+ }).describe("Response model for a single OneNote page retrieved from a SharePoint site.");
40
+ const onenoteGetSiteOnenotePages = require_action.action("ONENOTE_GET_SITE_ONENOTE_PAGES", {
41
+ slug: "onenote-get-site-onenote-pages",
42
+ name: "Get OneNote page from site",
43
+ description: "Retrieves a specific OneNote page from a SharePoint site. Use this action when you need to fetch metadata or details for a single OneNote page by its page identifier within a SharePoint site. This action supports optional OData query parameters to select specific properties or expand related entities like parentSection and parentNotebook. Note: This action is read-only and does not modify any data.",
44
+ input: OnenoteGetSiteOnenotePagesInput,
45
+ output: OnenoteGetSiteOnenotePagesOutput
46
+ });
47
+ //#endregion
48
+ exports.onenoteGetSiteOnenotePages = onenoteGetSiteOnenotePages;
49
+
50
+ //# sourceMappingURL=get-site-onenote-pages.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-site-onenote-pages.cjs","names":["z","action"],"sources":["../../src/actions/get-site-onenote-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetSiteOnenotePagesInput: z.ZodTypeAny = z.object({\n expand: z.array(z.string()).describe(\"List of relationships to expand inline in the response. Valid values: 'parentSection', 'parentNotebook'.\").optional(),\n select: z.array(z.string()).describe(\"List of page properties to include in the response. Common values: 'id', 'title', 'createdDateTime', 'lastModifiedDateTime', 'content', 'contentUrl', 'createdByAppId', 'level', 'order', 'links', 'parentSection', 'parentNotebook'.\").optional(),\n page_id: z.string().describe(\"The unique identifier of the OneNote page to retrieve. This is the full page ID including any section path prefix (e.g., '1-abc123!71-7aef1f00-3deb-4ee2-93ab-979eb24a3037').\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. Use 'root' for the root site. For SharePoint sites, this is typically in the format: hostname,site-collection-id,site-id (e.g., 'contoso.sharepoint.com,12345678-1234-1234-1234-123456789012,87654321-4321-4321-4321-210987654321').\"),\n}).describe(\"Request model for getting a specific OneNote page from a SharePoint site.\");\nconst OnenoteGetSiteOnenotePages_SiteGetPageLinksSchema: z.ZodTypeAny = z.object({\n oneNoteWebUrl: z.object({}).describe(\"Link to open the page in OneNote on the web.\").nullable().optional(),\n oneNoteClientUrl: z.object({}).describe(\"Link to open the page in the OneNote native client.\").nullable().optional(),\n}).describe(\"Links for opening the OneNote page in client or web.\");\nconst OnenoteGetSiteOnenotePages_SiteGetPageParentSectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the section.\").nullable().optional(),\n self: z.string().describe(\"The endpoint for details about the section.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n}).describe(\"The section that contains the page (expanded relationship).\");\nconst OnenoteGetSiteOnenotePages_SiteGetPageParentNotebookSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the notebook.\").nullable().optional(),\n self: z.string().describe(\"The endpoint for details about the notebook.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n}).describe(\"The notebook that contains the page (expanded relationship).\");\nexport const OnenoteGetSiteOnenotePagesOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the page.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the page.\").nullable().optional(),\n level: z.number().int().describe(\"The indentation level of the page.\").nullable().optional(),\n links: OnenoteGetSiteOnenotePages_SiteGetPageLinksSchema.nullable().optional(),\n order: z.number().int().describe(\"The order of the page within its parent section.\").nullable().optional(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n content: z.string().describe(\"The page's HTML content.\").nullable().optional(),\n contentUrl: z.string().describe(\"The URL for the page's HTML content.\").nullable().optional(),\n parentSection: OnenoteGetSiteOnenotePages_SiteGetPageParentSectionSchema.nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n createdByAppId: z.string().describe(\"The unique identifier of the application that created the page.\").nullable().optional(),\n parentNotebook: OnenoteGetSiteOnenotePages_SiteGetPageParentNotebookSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the page was created (UTC).\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the page was last modified (UTC).\").nullable().optional(),\n}).describe(\"Response model for a single OneNote page retrieved from a SharePoint site.\");\n\nexport const onenoteGetSiteOnenotePages = action(\"ONENOTE_GET_SITE_ONENOTE_PAGES\", {\n slug: \"onenote-get-site-onenote-pages\",\n name: \"Get OneNote page from site\",\n description: \"Retrieves a specific OneNote page from a SharePoint site. Use this action when you need to fetch metadata or details for a single OneNote page by its page identifier within a SharePoint site. This action supports optional OData query parameters to select specific properties or expand related entities like parentSection and parentNotebook. Note: This action is read-only and does not modify any data.\",\n input: OnenoteGetSiteOnenotePagesInput,\n output: OnenoteGetSiteOnenotePagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC1J,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uOAAuO,CAAC,CAAC,SAAS;CACvR,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K;CAC5M,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oRAAoR;AACnT,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,4DAA0EA,IAAAA,EAAE,OAAO;CACvF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAA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AAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAe,0DAA0D,SAAS,CAAC,CAAC,SAAS;CAC7F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,gBAAgB,2DAA2D,SAAS,CAAC,CAAC,SAAS;CAC/F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,4EAA4E;AAExF,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-site-onenote-pages.d.ts
4
+ declare const OnenoteGetSiteOnenotePagesInput: z.ZodTypeAny;
5
+ declare const OnenoteGetSiteOnenotePagesOutput: z.ZodTypeAny;
6
+ declare const onenoteGetSiteOnenotePages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { onenoteGetSiteOnenotePages };
9
+ //# sourceMappingURL=get-site-onenote-pages.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-site-onenote-pages.d.cts","names":[],"sources":["../../src/actions/get-site-onenote-pages.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAKwC;AAAA,cAe3E,gCAAA,EAAkC,CAAA,CAAE,UAewC;AAAA,cAE5E,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-site-onenote-pages.d.ts
4
+ declare const OnenoteGetSiteOnenotePagesInput: z.ZodTypeAny;
5
+ declare const OnenoteGetSiteOnenotePagesOutput: z.ZodTypeAny;
6
+ declare const onenoteGetSiteOnenotePages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { onenoteGetSiteOnenotePages };
9
+ //# sourceMappingURL=get-site-onenote-pages.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-site-onenote-pages.d.mts","names":[],"sources":["../../src/actions/get-site-onenote-pages.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAKwC;AAAA,cAe3E,gCAAA,EAAkC,CAAA,CAAE,UAewC;AAAA,cAE5E,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,49 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-site-onenote-pages.ts
4
+ const OnenoteGetSiteOnenotePagesInput = z.object({
5
+ expand: z.array(z.string()).describe("List of relationships to expand inline in the response. Valid values: 'parentSection', 'parentNotebook'.").optional(),
6
+ select: z.array(z.string()).describe("List of page properties to include in the response. Common values: 'id', 'title', 'createdDateTime', 'lastModifiedDateTime', 'content', 'contentUrl', 'createdByAppId', 'level', 'order', 'links', 'parentSection', 'parentNotebook'.").optional(),
7
+ page_id: z.string().describe("The unique identifier of the OneNote page to retrieve. This is the full page ID including any section path prefix (e.g., '1-abc123!71-7aef1f00-3deb-4ee2-93ab-979eb24a3037')."),
8
+ site_id: z.string().describe("The unique identifier of the SharePoint site. Use 'root' for the root site. For SharePoint sites, this is typically in the format: hostname,site-collection-id,site-id (e.g., 'contoso.sharepoint.com,12345678-1234-1234-1234-123456789012,87654321-4321-4321-4321-210987654321').")
9
+ }).describe("Request model for getting a specific OneNote page from a SharePoint site.");
10
+ const OnenoteGetSiteOnenotePages_SiteGetPageLinksSchema = z.object({
11
+ oneNoteWebUrl: z.object({}).describe("Link to open the page in OneNote on the web.").nullable().optional(),
12
+ oneNoteClientUrl: z.object({}).describe("Link to open the page in the OneNote native client.").nullable().optional()
13
+ }).describe("Links for opening the OneNote page in client or web.");
14
+ const OnenoteGetSiteOnenotePages_SiteGetPageParentSectionSchema = z.object({
15
+ id: z.string().describe("The unique identifier of the section.").nullable().optional(),
16
+ self: z.string().describe("The endpoint for details about the section.").nullable().optional(),
17
+ displayName: z.string().describe("The name of the section.").nullable().optional()
18
+ }).describe("The section that contains the page (expanded relationship).");
19
+ const OnenoteGetSiteOnenotePages_SiteGetPageParentNotebookSchema = z.object({
20
+ id: z.string().describe("The unique identifier of the notebook.").nullable().optional(),
21
+ self: z.string().describe("The endpoint for details about the notebook.").nullable().optional(),
22
+ displayName: z.string().describe("The name of the notebook.").nullable().optional()
23
+ }).describe("The notebook that contains the page (expanded relationship).");
24
+ const onenoteGetSiteOnenotePages = action("ONENOTE_GET_SITE_ONENOTE_PAGES", {
25
+ slug: "onenote-get-site-onenote-pages",
26
+ name: "Get OneNote page from site",
27
+ description: "Retrieves a specific OneNote page from a SharePoint site. Use this action when you need to fetch metadata or details for a single OneNote page by its page identifier within a SharePoint site. This action supports optional OData query parameters to select specific properties or expand related entities like parentSection and parentNotebook. Note: This action is read-only and does not modify any data.",
28
+ input: OnenoteGetSiteOnenotePagesInput,
29
+ output: z.object({
30
+ id: z.string().describe("The unique identifier of the page.").nullable().optional(),
31
+ self: z.string().describe("The endpoint where you can get details about the page.").nullable().optional(),
32
+ level: z.number().int().describe("The indentation level of the page.").nullable().optional(),
33
+ links: OnenoteGetSiteOnenotePages_SiteGetPageLinksSchema.nullable().optional(),
34
+ order: z.number().int().describe("The order of the page within its parent section.").nullable().optional(),
35
+ title: z.string().describe("The title of the page.").nullable().optional(),
36
+ content: z.string().describe("The page's HTML content.").nullable().optional(),
37
+ contentUrl: z.string().describe("The URL for the page's HTML content.").nullable().optional(),
38
+ parentSection: OnenoteGetSiteOnenotePages_SiteGetPageParentSectionSchema.nullable().optional(),
39
+ "@odata.context": z.string().describe("The OData context URL.").nullable().optional(),
40
+ createdByAppId: z.string().describe("The unique identifier of the application that created the page.").nullable().optional(),
41
+ parentNotebook: OnenoteGetSiteOnenotePages_SiteGetPageParentNotebookSchema.nullable().optional(),
42
+ createdDateTime: z.string().describe("The date and time when the page was created (UTC).").nullable().optional(),
43
+ lastModifiedDateTime: z.string().describe("The date and time when the page was last modified (UTC).").nullable().optional()
44
+ }).describe("Response model for a single OneNote page retrieved from a SharePoint site.")
45
+ });
46
+ //#endregion
47
+ export { onenoteGetSiteOnenotePages };
48
+
49
+ //# sourceMappingURL=get-site-onenote-pages.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-site-onenote-pages.mjs","names":[],"sources":["../../src/actions/get-site-onenote-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetSiteOnenotePagesInput: z.ZodTypeAny = z.object({\n expand: z.array(z.string()).describe(\"List of relationships to expand inline in the response. Valid values: 'parentSection', 'parentNotebook'.\").optional(),\n select: z.array(z.string()).describe(\"List of page properties to include in the response. Common values: 'id', 'title', 'createdDateTime', 'lastModifiedDateTime', 'content', 'contentUrl', 'createdByAppId', 'level', 'order', 'links', 'parentSection', 'parentNotebook'.\").optional(),\n page_id: z.string().describe(\"The unique identifier of the OneNote page to retrieve. This is the full page ID including any section path prefix (e.g., '1-abc123!71-7aef1f00-3deb-4ee2-93ab-979eb24a3037').\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. Use 'root' for the root site. For SharePoint sites, this is typically in the format: hostname,site-collection-id,site-id (e.g., 'contoso.sharepoint.com,12345678-1234-1234-1234-123456789012,87654321-4321-4321-4321-210987654321').\"),\n}).describe(\"Request model for getting a specific OneNote page from a SharePoint site.\");\nconst OnenoteGetSiteOnenotePages_SiteGetPageLinksSchema: z.ZodTypeAny = z.object({\n oneNoteWebUrl: z.object({}).describe(\"Link to open the page in OneNote on the web.\").nullable().optional(),\n oneNoteClientUrl: z.object({}).describe(\"Link to open the page in the OneNote native client.\").nullable().optional(),\n}).describe(\"Links for opening the OneNote page in client or web.\");\nconst OnenoteGetSiteOnenotePages_SiteGetPageParentSectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the section.\").nullable().optional(),\n self: z.string().describe(\"The endpoint for details about the section.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n}).describe(\"The section that contains the page (expanded relationship).\");\nconst OnenoteGetSiteOnenotePages_SiteGetPageParentNotebookSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the notebook.\").nullable().optional(),\n self: z.string().describe(\"The endpoint for details about the notebook.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n}).describe(\"The notebook that contains the page (expanded relationship).\");\nexport const OnenoteGetSiteOnenotePagesOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the page.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the page.\").nullable().optional(),\n level: z.number().int().describe(\"The indentation level of the page.\").nullable().optional(),\n links: OnenoteGetSiteOnenotePages_SiteGetPageLinksSchema.nullable().optional(),\n order: z.number().int().describe(\"The order of the page within its parent section.\").nullable().optional(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n content: z.string().describe(\"The page's HTML content.\").nullable().optional(),\n contentUrl: z.string().describe(\"The URL for the page's HTML content.\").nullable().optional(),\n parentSection: OnenoteGetSiteOnenotePages_SiteGetPageParentSectionSchema.nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n createdByAppId: z.string().describe(\"The unique identifier of the application that created the page.\").nullable().optional(),\n parentNotebook: OnenoteGetSiteOnenotePages_SiteGetPageParentNotebookSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the page was created (UTC).\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the page was last modified (UTC).\").nullable().optional(),\n}).describe(\"Response model for a single OneNote page retrieved from a SharePoint site.\");\n\nexport const onenoteGetSiteOnenotePages = action(\"ONENOTE_GET_SITE_ONENOTE_PAGES\", {\n slug: \"onenote-get-site-onenote-pages\",\n name: \"Get OneNote page from site\",\n description: \"Retrieves a specific OneNote page from a SharePoint site. Use this action when you need to fetch metadata or details for a single OneNote page by its page identifier within a SharePoint site. This action supports optional OData query parameters to select specific properties or expand related entities like parentSection and parentNotebook. Note: This action is read-only and does not modify any data.\",\n input: OnenoteGetSiteOnenotePagesInput,\n output: OnenoteGetSiteOnenotePagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC1J,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uOAAuO,CAAC,CAAC,SAAS;CACvR,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K;CAC5M,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oRAAoR;AACnT,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,oDAAkE,EAAE,OAAO;CAC/E,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,kBAAkB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS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C,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,eAAe,0DAA0D,SAAS,CAAC,CAAC,SAAS;EAC7F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,gBAAgB,2DAA2D,SAAS,CAAC,CAAC,SAAS;EAC/F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,4EAOF;AACV,CAAC"}
@@ -0,0 +1,22 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-site-pages-preview.ts
4
+ const OnenoteGetSitePagesPreviewInput = zod.z.object({
5
+ page_id: zod.z.string().describe("The unique identifier of the OneNote page."),
6
+ site_id: zod.z.string().describe("The unique identifier of the SharePoint site. Optional - if not provided, uses the signed-in user's personal OneNote notebook.").optional()
7
+ }).describe("Request model for getting a preview of a OneNote page in either a SharePoint site notebook\nor the signed-in user's personal notebook.");
8
+ const OnenoteGetSitePagesPreviewOutput = zod.z.object({
9
+ hint: zod.z.string().describe("The preview content of the OneNote page. This is typically a text preview of the page content.").nullable().optional(),
10
+ "@odata.context": zod.z.string().describe("The OData context URL.").nullable().optional()
11
+ }).describe("Response model for a OneNote page preview.");
12
+ const onenoteGetSitePagesPreview = require_action.action("ONENOTE_GET_SITE_PAGES_PREVIEW", {
13
+ slug: "onenote-get-site-pages-preview",
14
+ name: "Get site notebook page preview",
15
+ description: "Retrieves a text preview of a specific OneNote page from a section within a section group in a SharePoint site-hosted notebook. Use this action when you need to quickly get the content preview of a OneNote page from a site-hosted notebook without fetching the full page content. The preview returns a text snippet of the page's content. This action is read-only and does not modify any data.",
16
+ input: OnenoteGetSitePagesPreviewInput,
17
+ output: OnenoteGetSitePagesPreviewOutput
18
+ });
19
+ //#endregion
20
+ exports.onenoteGetSitePagesPreview = onenoteGetSitePagesPreview;
21
+
22
+ //# sourceMappingURL=get-site-pages-preview.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-site-pages-preview.cjs","names":["z","action"],"sources":["../../src/actions/get-site-pages-preview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetSitePagesPreviewInput: z.ZodTypeAny = z.object({\n page_id: z.string().describe(\"The unique identifier of the OneNote page.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. Optional - if not provided, uses the signed-in user's personal OneNote notebook.\").optional(),\n}).describe(\"Request model for getting a preview of a OneNote page in either a SharePoint site notebook\\nor the signed-in user's personal notebook.\");\nexport const OnenoteGetSitePagesPreviewOutput: z.ZodTypeAny = z.object({\n hint: z.string().describe(\"The preview content of the OneNote page. This is typically a text preview of the page content.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n}).describe(\"Response model for a OneNote page preview.\");\n\nexport const onenoteGetSitePagesPreview = action(\"ONENOTE_GET_SITE_PAGES_PREVIEW\", {\n slug: \"onenote-get-site-pages-preview\",\n name: \"Get site notebook page preview\",\n description: \"Retrieves a text preview of a specific OneNote page from a section within a section group in a SharePoint site-hosted notebook. Use this action when you need to quickly get the content preview of a OneNote page from a site-hosted notebook without fetching the full page content. The preview returns a text snippet of the page's content. This action is read-only and does not modify any data.\",\n input: OnenoteGetSitePagesPreviewInput,\n output: OnenoteGetSitePagesPreviewOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,wIAAwI;AACpJ,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-site-pages-preview.d.ts
4
+ declare const OnenoteGetSitePagesPreviewInput: z.ZodTypeAny;
5
+ declare const OnenoteGetSitePagesPreviewOutput: z.ZodTypeAny;
6
+ declare const onenoteGetSitePagesPreview: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { onenoteGetSitePagesPreview };
9
+ //# sourceMappingURL=get-site-pages-preview.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-site-pages-preview.d.cts","names":[],"sources":["../../src/actions/get-site-pages-preview.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAGqG;AAAA,cACxI,gCAAA,EAAkC,CAAA,CAAE,UAGQ;AAAA,cAE5C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-site-pages-preview.d.ts
4
+ declare const OnenoteGetSitePagesPreviewInput: z.ZodTypeAny;
5
+ declare const OnenoteGetSitePagesPreviewOutput: z.ZodTypeAny;
6
+ declare const onenoteGetSitePagesPreview: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { onenoteGetSitePagesPreview };
9
+ //# sourceMappingURL=get-site-pages-preview.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-site-pages-preview.d.mts","names":[],"sources":["../../src/actions/get-site-pages-preview.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAGqG;AAAA,cACxI,gCAAA,EAAkC,CAAA,CAAE,UAGQ;AAAA,cAE5C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const onenoteGetSitePagesPreview = action("ONENOTE_GET_SITE_PAGES_PREVIEW", {
4
+ slug: "onenote-get-site-pages-preview",
5
+ name: "Get site notebook page preview",
6
+ description: "Retrieves a text preview of a specific OneNote page from a section within a section group in a SharePoint site-hosted notebook. Use this action when you need to quickly get the content preview of a OneNote page from a site-hosted notebook without fetching the full page content. The preview returns a text snippet of the page's content. This action is read-only and does not modify any data.",
7
+ input: z.object({
8
+ page_id: z.string().describe("The unique identifier of the OneNote page."),
9
+ site_id: z.string().describe("The unique identifier of the SharePoint site. Optional - if not provided, uses the signed-in user's personal OneNote notebook.").optional()
10
+ }).describe("Request model for getting a preview of a OneNote page in either a SharePoint site notebook\nor the signed-in user's personal notebook."),
11
+ output: z.object({
12
+ hint: z.string().describe("The preview content of the OneNote page. This is typically a text preview of the page content.").nullable().optional(),
13
+ "@odata.context": z.string().describe("The OData context URL.").nullable().optional()
14
+ }).describe("Response model for a OneNote page preview.")
15
+ });
16
+ //#endregion
17
+ export { onenoteGetSitePagesPreview };
18
+
19
+ //# sourceMappingURL=get-site-pages-preview.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-site-pages-preview.mjs","names":[],"sources":["../../src/actions/get-site-pages-preview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetSitePagesPreviewInput: z.ZodTypeAny = z.object({\n page_id: z.string().describe(\"The unique identifier of the OneNote page.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. Optional - if not provided, uses the signed-in user's personal OneNote notebook.\").optional(),\n}).describe(\"Request model for getting a preview of a OneNote page in either a SharePoint site notebook\\nor the signed-in user's personal notebook.\");\nexport const OnenoteGetSitePagesPreviewOutput: z.ZodTypeAny = z.object({\n hint: z.string().describe(\"The preview content of the OneNote page. This is typically a text preview of the page content.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n}).describe(\"Response model for a OneNote page preview.\");\n\nexport const onenoteGetSitePagesPreview = action(\"ONENOTE_GET_SITE_PAGES_PREVIEW\", {\n slug: \"onenote-get-site-pages-preview\",\n name: \"Get site notebook page preview\",\n description: \"Retrieves a text preview of a specific OneNote page from a section within a section group in a SharePoint site-hosted notebook. Use this action when you need to quickly get the content preview of a OneNote page from a site-hosted notebook without fetching the full page content. The preview returns a text snippet of the page's content. This action is read-only and does not modify any data.\",\n input: OnenoteGetSitePagesPreviewInput,\n output: OnenoteGetSitePagesPreviewOutput,\n});\n"],"mappings":";;AAaA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2D,EAAE,OAAO;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CAC1K,CAAC,CAAC,CAAC,SAAS,wIAUH;CACP,QAV4D,EAAE,OAAO;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
@@ -0,0 +1,56 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-site-sections-pages.ts
4
+ const OnenoteGetSiteSectionsPagesInput = zod.z.object({
5
+ expand: zod.z.array(zod.z.string()).describe("Comma-separated list of relationships to expand inline in the response. Valid values: parentSection, parentNotebook.").optional(),
6
+ select: zod.z.array(zod.z.string()).describe("Comma-separated list of page properties to include in the response. Valid values include: id, self, title, createdDateTime, lastModifiedDateTime, content, contentUrl, createdByAppId, level, order, links, parentSection, parentNotebook.").optional(),
7
+ page_id: zod.z.string().describe("The unique identifier of the OneNote page to retrieve."),
8
+ site_id: zod.z.string().describe("The unique identifier of the SharePoint site. Use 'root' for the root site."),
9
+ section_id: zod.z.string().describe("The unique identifier of the section within the section group."),
10
+ notebook_id: zod.z.string().describe("The unique identifier of the OneNote notebook within the site."),
11
+ section_group_id: zod.z.string().describe("The unique identifier of the section group within the notebook.")
12
+ }).describe("Request model for getting a specific OneNote page from a section within a section group\nin a SharePoint site notebook.");
13
+ const OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksOneNoteUrlSchema = zod.z.object({ href: zod.z.string().describe("The URL href value.").nullable().optional() }).describe("A single URL link object.");
14
+ const OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksSchema = zod.z.object({
15
+ oneNoteWebUrl: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksOneNoteUrlSchema.nullable().optional(),
16
+ oneNoteClientUrl: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksOneNoteUrlSchema.nullable().optional()
17
+ }).describe("Links for opening the OneNote page in client or web.");
18
+ const OnenoteGetSiteSectionsPages_SiteGetSectionsPagesParentSectionSchema = zod.z.object({
19
+ id: zod.z.string().describe("The unique identifier of the section.").nullable().optional(),
20
+ self: zod.z.string().describe("The endpoint for details about the section.").nullable().optional(),
21
+ displayName: zod.z.string().describe("The name of the section.").nullable().optional(),
22
+ createdDateTime: zod.z.string().describe("The date and time when the section was created (UTC).").nullable().optional(),
23
+ lastModifiedDateTime: zod.z.string().describe("The date and time when the section was last modified (UTC).").nullable().optional()
24
+ }).describe("The section that contains the page (expanded relationship).");
25
+ const OnenoteGetSiteSectionsPages_SiteGetSectionsPagesParentNotebookSchema = zod.z.object({
26
+ id: zod.z.string().describe("The unique identifier of the notebook.").nullable().optional(),
27
+ self: zod.z.string().describe("The endpoint for details about the notebook.").nullable().optional(),
28
+ displayName: zod.z.string().describe("The name of the notebook.").nullable().optional()
29
+ }).describe("The notebook that contains the page (expanded relationship).");
30
+ const OnenoteGetSiteSectionsPagesOutput = zod.z.object({
31
+ id: zod.z.string().describe("The unique identifier of the page.").nullable().optional(),
32
+ self: zod.z.string().describe("The endpoint where you can get details about the page.").nullable().optional(),
33
+ level: zod.z.number().int().describe("The indentation level of the page within its parent section.").nullable().optional(),
34
+ links: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksSchema.nullable().optional(),
35
+ order: zod.z.number().int().describe("The order of the page within its parent section.").nullable().optional(),
36
+ title: zod.z.string().describe("The title of the page.").nullable().optional(),
37
+ content: zod.z.string().describe("The page's HTML content.").nullable().optional(),
38
+ contentUrl: zod.z.string().describe("The URL for the page's HTML content.").nullable().optional(),
39
+ parentSection: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesParentSectionSchema.nullable().optional(),
40
+ "@odata.context": zod.z.string().describe("The OData context URL.").nullable().optional(),
41
+ createdByAppId: zod.z.string().describe("The unique identifier of the application that created the page.").nullable().optional(),
42
+ parentNotebook: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesParentNotebookSchema.nullable().optional(),
43
+ createdDateTime: zod.z.string().describe("The date and time when the page was created (UTC).").nullable().optional(),
44
+ lastModifiedDateTime: zod.z.string().describe("The date and time when the page was last modified (UTC).").nullable().optional()
45
+ }).describe("Response model for a single OneNote page retrieved from a section within a section group\nin a SharePoint site notebook.");
46
+ const onenoteGetSiteSectionsPages = require_action.action("ONENOTE_GET_SITE_SECTIONS_PAGES", {
47
+ slug: "onenote-get-site-sections-pages",
48
+ name: "Get OneNote page from site section group section",
49
+ description: "Retrieves a specific OneNote page from a section within a section group in a SharePoint site notebook. Use this action when you need to fetch metadata or details for a single OneNote page by navigating through its parent site, notebook, section group, and section hierarchy. This is useful for retrieving page information from deeply nested notebook structures within SharePoint sites.",
50
+ input: OnenoteGetSiteSectionsPagesInput,
51
+ output: OnenoteGetSiteSectionsPagesOutput
52
+ });
53
+ //#endregion
54
+ exports.onenoteGetSiteSectionsPages = onenoteGetSiteSectionsPages;
55
+
56
+ //# sourceMappingURL=get-site-sections-pages.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-site-sections-pages.cjs","names":["z","action"],"sources":["../../src/actions/get-site-sections-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetSiteSectionsPagesInput: z.ZodTypeAny = z.object({\n expand: z.array(z.string()).describe(\"Comma-separated list of relationships to expand inline in the response. Valid values: parentSection, parentNotebook.\").optional(),\n select: z.array(z.string()).describe(\"Comma-separated list of page properties to include in the response. Valid values include: id, self, title, createdDateTime, lastModifiedDateTime, content, contentUrl, createdByAppId, level, order, links, parentSection, parentNotebook.\").optional(),\n page_id: z.string().describe(\"The unique identifier of the OneNote page to retrieve.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. Use 'root' for the root site.\"),\n section_id: z.string().describe(\"The unique identifier of the section within the section group.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the site.\"),\n section_group_id: z.string().describe(\"The unique identifier of the section group within the notebook.\"),\n}).describe(\"Request model for getting a specific OneNote page from a section within a section group\\nin a SharePoint site notebook.\");\nconst OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksOneNoteUrlSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"The URL href value.\").nullable().optional(),\n}).describe(\"A single URL link object.\");\nconst OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksSchema: z.ZodTypeAny = z.object({\n oneNoteWebUrl: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksOneNoteUrlSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksOneNoteUrlSchema.nullable().optional(),\n}).describe(\"Links for opening the OneNote page in client or web.\");\nconst OnenoteGetSiteSectionsPages_SiteGetSectionsPagesParentSectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the section.\").nullable().optional(),\n self: z.string().describe(\"The endpoint for details about the section.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created (UTC).\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified (UTC).\").nullable().optional(),\n}).describe(\"The section that contains the page (expanded relationship).\");\nconst OnenoteGetSiteSectionsPages_SiteGetSectionsPagesParentNotebookSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the notebook.\").nullable().optional(),\n self: z.string().describe(\"The endpoint for details about the notebook.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n}).describe(\"The notebook that contains the page (expanded relationship).\");\nexport const OnenoteGetSiteSectionsPagesOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the page.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the page.\").nullable().optional(),\n level: z.number().int().describe(\"The indentation level of the page within its parent section.\").nullable().optional(),\n links: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksSchema.nullable().optional(),\n order: z.number().int().describe(\"The order of the page within its parent section.\").nullable().optional(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n content: z.string().describe(\"The page's HTML content.\").nullable().optional(),\n contentUrl: z.string().describe(\"The URL for the page's HTML content.\").nullable().optional(),\n parentSection: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesParentSectionSchema.nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n createdByAppId: z.string().describe(\"The unique identifier of the application that created the page.\").nullable().optional(),\n parentNotebook: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesParentNotebookSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the page was created (UTC).\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the page was last modified (UTC).\").nullable().optional(),\n}).describe(\"Response model for a single OneNote page retrieved from a section within a section group\\nin a SharePoint site notebook.\");\n\nexport const onenoteGetSiteSectionsPages = action(\"ONENOTE_GET_SITE_SECTIONS_PAGES\", {\n slug: \"onenote-get-site-sections-pages\",\n name: \"Get OneNote page from site section group section\",\n description: \"Retrieves a specific OneNote page from a section within a section group in a SharePoint site notebook. Use this action when you need to fetch metadata or details for a single OneNote page by navigating through its parent site, notebook, section group, and section hierarchy. This is useful for retrieving page information from deeply nested notebook structures within SharePoint sites.\",\n input: OnenoteGetSiteSectionsPagesInput,\n output: OnenoteGetSiteSectionsPagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,MAA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AAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAe,oEAAoE,SAAS,CAAC,CAAC,SAAS;CACvG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,gBAAgB,qEAAqE,SAAS,CAAC,CAAC,SAAS;CACzG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,0HAA0H;AAEtI,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-site-sections-pages.d.ts
4
+ declare const OnenoteGetSiteSectionsPagesInput: z.ZodTypeAny;
5
+ declare const OnenoteGetSiteSectionsPagesOutput: z.ZodTypeAny;
6
+ declare const onenoteGetSiteSectionsPages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { onenoteGetSiteSectionsPages };
9
+ //# sourceMappingURL=get-site-sections-pages.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-site-sections-pages.d.cts","names":[],"sources":["../../src/actions/get-site-sections-pages.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAQqF;AAAA,cAoBzH,iCAAA,EAAmC,CAAA,CAAE,UAeqF;AAAA,cAE1H,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-site-sections-pages.d.ts
4
+ declare const OnenoteGetSiteSectionsPagesInput: z.ZodTypeAny;
5
+ declare const OnenoteGetSiteSectionsPagesOutput: z.ZodTypeAny;
6
+ declare const onenoteGetSiteSectionsPages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { onenoteGetSiteSectionsPages };
9
+ //# sourceMappingURL=get-site-sections-pages.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-site-sections-pages.d.mts","names":[],"sources":["../../src/actions/get-site-sections-pages.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAQqF;AAAA,cAoBzH,iCAAA,EAAmC,CAAA,CAAE,UAeqF;AAAA,cAE1H,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,55 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-site-sections-pages.ts
4
+ const OnenoteGetSiteSectionsPagesInput = z.object({
5
+ expand: z.array(z.string()).describe("Comma-separated list of relationships to expand inline in the response. Valid values: parentSection, parentNotebook.").optional(),
6
+ select: z.array(z.string()).describe("Comma-separated list of page properties to include in the response. Valid values include: id, self, title, createdDateTime, lastModifiedDateTime, content, contentUrl, createdByAppId, level, order, links, parentSection, parentNotebook.").optional(),
7
+ page_id: z.string().describe("The unique identifier of the OneNote page to retrieve."),
8
+ site_id: z.string().describe("The unique identifier of the SharePoint site. Use 'root' for the root site."),
9
+ section_id: z.string().describe("The unique identifier of the section within the section group."),
10
+ notebook_id: z.string().describe("The unique identifier of the OneNote notebook within the site."),
11
+ section_group_id: z.string().describe("The unique identifier of the section group within the notebook.")
12
+ }).describe("Request model for getting a specific OneNote page from a section within a section group\nin a SharePoint site notebook.");
13
+ const OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksOneNoteUrlSchema = z.object({ href: z.string().describe("The URL href value.").nullable().optional() }).describe("A single URL link object.");
14
+ const OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksSchema = z.object({
15
+ oneNoteWebUrl: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksOneNoteUrlSchema.nullable().optional(),
16
+ oneNoteClientUrl: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksOneNoteUrlSchema.nullable().optional()
17
+ }).describe("Links for opening the OneNote page in client or web.");
18
+ const OnenoteGetSiteSectionsPages_SiteGetSectionsPagesParentSectionSchema = z.object({
19
+ id: z.string().describe("The unique identifier of the section.").nullable().optional(),
20
+ self: z.string().describe("The endpoint for details about the section.").nullable().optional(),
21
+ displayName: z.string().describe("The name of the section.").nullable().optional(),
22
+ createdDateTime: z.string().describe("The date and time when the section was created (UTC).").nullable().optional(),
23
+ lastModifiedDateTime: z.string().describe("The date and time when the section was last modified (UTC).").nullable().optional()
24
+ }).describe("The section that contains the page (expanded relationship).");
25
+ const OnenoteGetSiteSectionsPages_SiteGetSectionsPagesParentNotebookSchema = z.object({
26
+ id: z.string().describe("The unique identifier of the notebook.").nullable().optional(),
27
+ self: z.string().describe("The endpoint for details about the notebook.").nullable().optional(),
28
+ displayName: z.string().describe("The name of the notebook.").nullable().optional()
29
+ }).describe("The notebook that contains the page (expanded relationship).");
30
+ const onenoteGetSiteSectionsPages = action("ONENOTE_GET_SITE_SECTIONS_PAGES", {
31
+ slug: "onenote-get-site-sections-pages",
32
+ name: "Get OneNote page from site section group section",
33
+ description: "Retrieves a specific OneNote page from a section within a section group in a SharePoint site notebook. Use this action when you need to fetch metadata or details for a single OneNote page by navigating through its parent site, notebook, section group, and section hierarchy. This is useful for retrieving page information from deeply nested notebook structures within SharePoint sites.",
34
+ input: OnenoteGetSiteSectionsPagesInput,
35
+ output: z.object({
36
+ id: z.string().describe("The unique identifier of the page.").nullable().optional(),
37
+ self: z.string().describe("The endpoint where you can get details about the page.").nullable().optional(),
38
+ level: z.number().int().describe("The indentation level of the page within its parent section.").nullable().optional(),
39
+ links: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksSchema.nullable().optional(),
40
+ order: z.number().int().describe("The order of the page within its parent section.").nullable().optional(),
41
+ title: z.string().describe("The title of the page.").nullable().optional(),
42
+ content: z.string().describe("The page's HTML content.").nullable().optional(),
43
+ contentUrl: z.string().describe("The URL for the page's HTML content.").nullable().optional(),
44
+ parentSection: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesParentSectionSchema.nullable().optional(),
45
+ "@odata.context": z.string().describe("The OData context URL.").nullable().optional(),
46
+ createdByAppId: z.string().describe("The unique identifier of the application that created the page.").nullable().optional(),
47
+ parentNotebook: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesParentNotebookSchema.nullable().optional(),
48
+ createdDateTime: z.string().describe("The date and time when the page was created (UTC).").nullable().optional(),
49
+ lastModifiedDateTime: z.string().describe("The date and time when the page was last modified (UTC).").nullable().optional()
50
+ }).describe("Response model for a single OneNote page retrieved from a section within a section group\nin a SharePoint site notebook.")
51
+ });
52
+ //#endregion
53
+ export { onenoteGetSiteSectionsPages };
54
+
55
+ //# sourceMappingURL=get-site-sections-pages.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-site-sections-pages.mjs","names":[],"sources":["../../src/actions/get-site-sections-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetSiteSectionsPagesInput: z.ZodTypeAny = z.object({\n expand: z.array(z.string()).describe(\"Comma-separated list of relationships to expand inline in the response. Valid values: parentSection, parentNotebook.\").optional(),\n select: z.array(z.string()).describe(\"Comma-separated list of page properties to include in the response. Valid values include: id, self, title, createdDateTime, lastModifiedDateTime, content, contentUrl, createdByAppId, level, order, links, parentSection, parentNotebook.\").optional(),\n page_id: z.string().describe(\"The unique identifier of the OneNote page to retrieve.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. Use 'root' for the root site.\"),\n section_id: z.string().describe(\"The unique identifier of the section within the section group.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the site.\"),\n section_group_id: z.string().describe(\"The unique identifier of the section group within the notebook.\"),\n}).describe(\"Request model for getting a specific OneNote page from a section within a section group\\nin a SharePoint site notebook.\");\nconst OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksOneNoteUrlSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"The URL href value.\").nullable().optional(),\n}).describe(\"A single URL link object.\");\nconst OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksSchema: z.ZodTypeAny = z.object({\n oneNoteWebUrl: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksOneNoteUrlSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksOneNoteUrlSchema.nullable().optional(),\n}).describe(\"Links for opening the OneNote page in client or web.\");\nconst OnenoteGetSiteSectionsPages_SiteGetSectionsPagesParentSectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the section.\").nullable().optional(),\n self: z.string().describe(\"The endpoint for details about the section.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created (UTC).\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified (UTC).\").nullable().optional(),\n}).describe(\"The section that contains the page (expanded relationship).\");\nconst OnenoteGetSiteSectionsPages_SiteGetSectionsPagesParentNotebookSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the notebook.\").nullable().optional(),\n self: z.string().describe(\"The endpoint for details about the notebook.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n}).describe(\"The notebook that contains the page (expanded relationship).\");\nexport const OnenoteGetSiteSectionsPagesOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the page.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the page.\").nullable().optional(),\n level: z.number().int().describe(\"The indentation level of the page within its parent section.\").nullable().optional(),\n links: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesPageLinksSchema.nullable().optional(),\n order: z.number().int().describe(\"The order of the page within its parent section.\").nullable().optional(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n content: z.string().describe(\"The page's HTML content.\").nullable().optional(),\n contentUrl: z.string().describe(\"The URL for the page's HTML content.\").nullable().optional(),\n parentSection: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesParentSectionSchema.nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n createdByAppId: z.string().describe(\"The unique identifier of the application that created the page.\").nullable().optional(),\n parentNotebook: OnenoteGetSiteSectionsPages_SiteGetSectionsPagesParentNotebookSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the page was created (UTC).\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the page was last modified (UTC).\").nullable().optional(),\n}).describe(\"Response model for a single OneNote page retrieved from a section within a section group\\nin a SharePoint site notebook.\");\n\nexport const onenoteGetSiteSectionsPages = action(\"ONENOTE_GET_SITE_SECTIONS_PAGES\", {\n slug: \"onenote-get-site-sections-pages\",\n name: \"Get OneNote page from site section group section\",\n description: \"Retrieves a specific OneNote page from a section within a section group in a SharePoint site notebook. Use this action when you need to fetch metadata or details for a single OneNote page by navigating through its parent site, notebook, section group, and section hierarchy. This is useful for retrieving page information from deeply nested notebook structures within SharePoint sites.\",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