@keystrokehq/onenote 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (565) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/copy-onenote-group-notebook.cjs +1 -1
  4. package/dist/actions/copy-onenote-group-notebook.cjs.map +1 -1
  5. package/dist/actions/copy-onenote-group-notebook.d.cts +16 -3
  6. package/dist/actions/copy-onenote-group-notebook.d.cts.map +1 -1
  7. package/dist/actions/copy-onenote-group-notebook.d.mts +16 -3
  8. package/dist/actions/copy-onenote-group-notebook.d.mts.map +1 -1
  9. package/dist/actions/copy-onenote-group-notebook.mjs +1 -1
  10. package/dist/actions/copy-onenote-group-notebook.mjs.map +1 -1
  11. package/dist/actions/copy-onenote-site-notebook.cjs +1 -1
  12. package/dist/actions/copy-onenote-site-notebook.cjs.map +1 -1
  13. package/dist/actions/copy-onenote-site-notebook.d.cts +18 -3
  14. package/dist/actions/copy-onenote-site-notebook.d.cts.map +1 -1
  15. package/dist/actions/copy-onenote-site-notebook.d.mts +18 -3
  16. package/dist/actions/copy-onenote-site-notebook.d.mts.map +1 -1
  17. package/dist/actions/copy-onenote-site-notebook.mjs +1 -1
  18. package/dist/actions/copy-onenote-site-notebook.mjs.map +1 -1
  19. package/dist/actions/copy-section-to-notebook-for-user2.cjs +1 -1
  20. package/dist/actions/copy-section-to-notebook-for-user2.cjs.map +1 -1
  21. package/dist/actions/copy-section-to-notebook-for-user2.d.cts +21 -3
  22. package/dist/actions/copy-section-to-notebook-for-user2.d.cts.map +1 -1
  23. package/dist/actions/copy-section-to-notebook-for-user2.d.mts +21 -3
  24. package/dist/actions/copy-section-to-notebook-for-user2.d.mts.map +1 -1
  25. package/dist/actions/copy-section-to-notebook-for-user2.mjs +1 -1
  26. package/dist/actions/copy-section-to-notebook-for-user2.mjs.map +1 -1
  27. package/dist/actions/copy-section-to-notebook2.cjs +1 -1
  28. package/dist/actions/copy-section-to-notebook2.cjs.map +1 -1
  29. package/dist/actions/copy-section-to-notebook2.d.cts +20 -3
  30. package/dist/actions/copy-section-to-notebook2.d.cts.map +1 -1
  31. package/dist/actions/copy-section-to-notebook2.d.mts +20 -3
  32. package/dist/actions/copy-section-to-notebook2.d.mts.map +1 -1
  33. package/dist/actions/copy-section-to-notebook2.mjs +1 -1
  34. package/dist/actions/copy-section-to-notebook2.mjs.map +1 -1
  35. package/dist/actions/copy-section-to-section-group-for-user.cjs +1 -1
  36. package/dist/actions/copy-section-to-section-group-for-user.cjs.map +1 -1
  37. package/dist/actions/copy-section-to-section-group-for-user.d.cts +19 -3
  38. package/dist/actions/copy-section-to-section-group-for-user.d.cts.map +1 -1
  39. package/dist/actions/copy-section-to-section-group-for-user.d.mts +19 -3
  40. package/dist/actions/copy-section-to-section-group-for-user.d.mts.map +1 -1
  41. package/dist/actions/copy-section-to-section-group-for-user.mjs +1 -1
  42. package/dist/actions/copy-section-to-section-group-for-user.mjs.map +1 -1
  43. package/dist/actions/copy-section-to-section-group.cjs +1 -1
  44. package/dist/actions/copy-section-to-section-group.cjs.map +1 -1
  45. package/dist/actions/copy-section-to-section-group.d.cts +17 -3
  46. package/dist/actions/copy-section-to-section-group.d.cts.map +1 -1
  47. package/dist/actions/copy-section-to-section-group.d.mts +17 -3
  48. package/dist/actions/copy-section-to-section-group.d.mts.map +1 -1
  49. package/dist/actions/copy-section-to-section-group.mjs +1 -1
  50. package/dist/actions/copy-section-to-section-group.mjs.map +1 -1
  51. package/dist/actions/copy-site-page-to-section3.cjs +1 -1
  52. package/dist/actions/copy-site-page-to-section3.cjs.map +1 -1
  53. package/dist/actions/copy-site-page-to-section3.d.cts +20 -3
  54. package/dist/actions/copy-site-page-to-section3.d.cts.map +1 -1
  55. package/dist/actions/copy-site-page-to-section3.d.mts +20 -3
  56. package/dist/actions/copy-site-page-to-section3.d.mts.map +1 -1
  57. package/dist/actions/copy-site-page-to-section3.mjs +1 -1
  58. package/dist/actions/copy-site-page-to-section3.mjs.map +1 -1
  59. package/dist/actions/copy-user-page-to-section.cjs +1 -1
  60. package/dist/actions/copy-user-page-to-section.cjs.map +1 -1
  61. package/dist/actions/copy-user-page-to-section.d.cts +16 -3
  62. package/dist/actions/copy-user-page-to-section.d.cts.map +1 -1
  63. package/dist/actions/copy-user-page-to-section.d.mts +16 -3
  64. package/dist/actions/copy-user-page-to-section.d.mts.map +1 -1
  65. package/dist/actions/copy-user-page-to-section.mjs +1 -1
  66. package/dist/actions/copy-user-page-to-section.mjs.map +1 -1
  67. package/dist/actions/count-notebooks-section-groups-sections.cjs +1 -1
  68. package/dist/actions/count-notebooks-section-groups-sections.cjs.map +1 -1
  69. package/dist/actions/count-notebooks-section-groups-sections.d.cts +11 -3
  70. package/dist/actions/count-notebooks-section-groups-sections.d.cts.map +1 -1
  71. package/dist/actions/count-notebooks-section-groups-sections.d.mts +11 -3
  72. package/dist/actions/count-notebooks-section-groups-sections.d.mts.map +1 -1
  73. package/dist/actions/count-notebooks-section-groups-sections.mjs +1 -1
  74. package/dist/actions/count-notebooks-section-groups-sections.mjs.map +1 -1
  75. package/dist/actions/count-site-notebook-section-groups-sections.cjs +1 -1
  76. package/dist/actions/count-site-notebook-section-groups-sections.cjs.map +1 -1
  77. package/dist/actions/count-site-notebook-section-groups-sections.d.cts +13 -3
  78. package/dist/actions/count-site-notebook-section-groups-sections.d.cts.map +1 -1
  79. package/dist/actions/count-site-notebook-section-groups-sections.d.mts +13 -3
  80. package/dist/actions/count-site-notebook-section-groups-sections.d.mts.map +1 -1
  81. package/dist/actions/count-site-notebook-section-groups-sections.mjs +1 -1
  82. package/dist/actions/count-site-notebook-section-groups-sections.mjs.map +1 -1
  83. package/dist/actions/create-group-notebook.cjs +5 -5
  84. package/dist/actions/create-group-notebook.cjs.map +1 -1
  85. package/dist/actions/create-group-notebook.d.cts +56 -3
  86. package/dist/actions/create-group-notebook.d.cts.map +1 -1
  87. package/dist/actions/create-group-notebook.d.mts +56 -3
  88. package/dist/actions/create-group-notebook.d.mts.map +1 -1
  89. package/dist/actions/create-group-notebook.mjs +5 -5
  90. package/dist/actions/create-group-notebook.mjs.map +1 -1
  91. package/dist/actions/create-group-pages.cjs +4 -4
  92. package/dist/actions/create-group-pages.cjs.map +1 -1
  93. package/dist/actions/create-group-pages.d.cts +29 -3
  94. package/dist/actions/create-group-pages.d.cts.map +1 -1
  95. package/dist/actions/create-group-pages.d.mts +29 -3
  96. package/dist/actions/create-group-pages.d.mts.map +1 -1
  97. package/dist/actions/create-group-pages.mjs +4 -4
  98. package/dist/actions/create-group-pages.mjs.map +1 -1
  99. package/dist/actions/create-group-section-groups-sections.cjs +7 -7
  100. package/dist/actions/create-group-section-groups-sections.cjs.map +1 -1
  101. package/dist/actions/create-group-section-groups-sections.d.cts +55 -3
  102. package/dist/actions/create-group-section-groups-sections.d.cts.map +1 -1
  103. package/dist/actions/create-group-section-groups-sections.d.mts +55 -3
  104. package/dist/actions/create-group-section-groups-sections.d.mts.map +1 -1
  105. package/dist/actions/create-group-section-groups-sections.mjs +7 -7
  106. package/dist/actions/create-group-section-groups-sections.mjs.map +1 -1
  107. package/dist/actions/create-me-notebooks.cjs +5 -5
  108. package/dist/actions/create-me-notebooks.cjs.map +1 -1
  109. package/dist/actions/create-me-notebooks.d.cts +54 -3
  110. package/dist/actions/create-me-notebooks.d.cts.map +1 -1
  111. package/dist/actions/create-me-notebooks.d.mts +54 -3
  112. package/dist/actions/create-me-notebooks.d.mts.map +1 -1
  113. package/dist/actions/create-me-notebooks.mjs +5 -5
  114. package/dist/actions/create-me-notebooks.mjs.map +1 -1
  115. package/dist/actions/create-me-section-groups-sections.cjs +7 -7
  116. package/dist/actions/create-me-section-groups-sections.cjs.map +1 -1
  117. package/dist/actions/create-me-section-groups-sections.d.cts +53 -3
  118. package/dist/actions/create-me-section-groups-sections.d.cts.map +1 -1
  119. package/dist/actions/create-me-section-groups-sections.d.mts +53 -3
  120. package/dist/actions/create-me-section-groups-sections.d.mts.map +1 -1
  121. package/dist/actions/create-me-section-groups-sections.mjs +7 -7
  122. package/dist/actions/create-me-section-groups-sections.mjs.map +1 -1
  123. package/dist/actions/create-me-sections-pages.cjs +3 -3
  124. package/dist/actions/create-me-sections-pages.cjs.map +1 -1
  125. package/dist/actions/create-me-sections-pages.d.cts +31 -3
  126. package/dist/actions/create-me-sections-pages.d.cts.map +1 -1
  127. package/dist/actions/create-me-sections-pages.d.mts +31 -3
  128. package/dist/actions/create-me-sections-pages.d.mts.map +1 -1
  129. package/dist/actions/create-me-sections-pages.mjs +3 -3
  130. package/dist/actions/create-me-sections-pages.mjs.map +1 -1
  131. package/dist/actions/create-onenote-group-notebooks-section-groups.cjs +3 -3
  132. package/dist/actions/create-onenote-group-notebooks-section-groups.cjs.map +1 -1
  133. package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts +47 -3
  134. package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts.map +1 -1
  135. package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts +47 -3
  136. package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts.map +1 -1
  137. package/dist/actions/create-onenote-group-notebooks-section-groups.mjs +3 -3
  138. package/dist/actions/create-onenote-group-notebooks-section-groups.mjs.map +1 -1
  139. package/dist/actions/create-site-notebooks-sections.cjs +7 -7
  140. package/dist/actions/create-site-notebooks-sections.cjs.map +1 -1
  141. package/dist/actions/create-site-notebooks-sections.d.cts +55 -3
  142. package/dist/actions/create-site-notebooks-sections.d.cts.map +1 -1
  143. package/dist/actions/create-site-notebooks-sections.d.mts +55 -3
  144. package/dist/actions/create-site-notebooks-sections.d.mts.map +1 -1
  145. package/dist/actions/create-site-notebooks-sections.mjs +7 -7
  146. package/dist/actions/create-site-notebooks-sections.mjs.map +1 -1
  147. package/dist/actions/create-user-notebooks-sections.cjs +7 -7
  148. package/dist/actions/create-user-notebooks-sections.cjs.map +1 -1
  149. package/dist/actions/create-user-notebooks-sections.d.cts +55 -3
  150. package/dist/actions/create-user-notebooks-sections.d.cts.map +1 -1
  151. package/dist/actions/create-user-notebooks-sections.d.mts +55 -3
  152. package/dist/actions/create-user-notebooks-sections.d.mts.map +1 -1
  153. package/dist/actions/create-user-notebooks-sections.mjs +7 -7
  154. package/dist/actions/create-user-notebooks-sections.mjs.map +1 -1
  155. package/dist/actions/create-user-pages.cjs +4 -4
  156. package/dist/actions/create-user-pages.cjs.map +1 -1
  157. package/dist/actions/create-user-pages.d.cts +29 -3
  158. package/dist/actions/create-user-pages.d.cts.map +1 -1
  159. package/dist/actions/create-user-pages.d.mts +29 -3
  160. package/dist/actions/create-user-pages.d.mts.map +1 -1
  161. package/dist/actions/create-user-pages.mjs +4 -4
  162. package/dist/actions/create-user-pages.mjs.map +1 -1
  163. package/dist/actions/create-user-section-groups-sections.cjs +7 -7
  164. package/dist/actions/create-user-section-groups-sections.cjs.map +1 -1
  165. package/dist/actions/create-user-section-groups-sections.d.cts +55 -3
  166. package/dist/actions/create-user-section-groups-sections.d.cts.map +1 -1
  167. package/dist/actions/create-user-section-groups-sections.d.mts +55 -3
  168. package/dist/actions/create-user-section-groups-sections.d.mts.map +1 -1
  169. package/dist/actions/create-user-section-groups-sections.mjs +7 -7
  170. package/dist/actions/create-user-section-groups-sections.mjs.map +1 -1
  171. package/dist/actions/create-user-sections-pages4.cjs +3 -3
  172. package/dist/actions/create-user-sections-pages4.cjs.map +1 -1
  173. package/dist/actions/create-user-sections-pages4.d.cts +33 -3
  174. package/dist/actions/create-user-sections-pages4.d.cts.map +1 -1
  175. package/dist/actions/create-user-sections-pages4.d.mts +33 -3
  176. package/dist/actions/create-user-sections-pages4.d.mts.map +1 -1
  177. package/dist/actions/create-user-sections-pages4.mjs +3 -3
  178. package/dist/actions/create-user-sections-pages4.mjs.map +1 -1
  179. package/dist/actions/delete-onenote-group-section-group-page-content.cjs +1 -1
  180. package/dist/actions/delete-onenote-group-section-group-page-content.cjs.map +1 -1
  181. package/dist/actions/delete-onenote-group-section-group-page-content.d.cts +16 -3
  182. package/dist/actions/delete-onenote-group-section-group-page-content.d.cts.map +1 -1
  183. package/dist/actions/delete-onenote-group-section-group-page-content.d.mts +16 -3
  184. package/dist/actions/delete-onenote-group-section-group-page-content.d.mts.map +1 -1
  185. package/dist/actions/delete-onenote-group-section-group-page-content.mjs +1 -1
  186. package/dist/actions/delete-onenote-group-section-group-page-content.mjs.map +1 -1
  187. package/dist/actions/delete-onenote-group-sections-pages2.cjs +1 -1
  188. package/dist/actions/delete-onenote-group-sections-pages2.cjs.map +1 -1
  189. package/dist/actions/delete-onenote-group-sections-pages2.d.cts +16 -3
  190. package/dist/actions/delete-onenote-group-sections-pages2.d.cts.map +1 -1
  191. package/dist/actions/delete-onenote-group-sections-pages2.d.mts +16 -3
  192. package/dist/actions/delete-onenote-group-sections-pages2.d.mts.map +1 -1
  193. package/dist/actions/delete-onenote-group-sections-pages2.mjs +1 -1
  194. package/dist/actions/delete-onenote-group-sections-pages2.mjs.map +1 -1
  195. package/dist/actions/delete-site-pages.cjs +1 -1
  196. package/dist/actions/delete-site-pages.cjs.map +1 -1
  197. package/dist/actions/delete-site-pages.d.cts +12 -3
  198. package/dist/actions/delete-site-pages.d.cts.map +1 -1
  199. package/dist/actions/delete-site-pages.d.mts +12 -3
  200. package/dist/actions/delete-site-pages.d.mts.map +1 -1
  201. package/dist/actions/delete-site-pages.mjs +1 -1
  202. package/dist/actions/delete-site-pages.mjs.map +1 -1
  203. package/dist/actions/delete-user-onenote-sections-pages.cjs +1 -1
  204. package/dist/actions/delete-user-onenote-sections-pages.cjs.map +1 -1
  205. package/dist/actions/delete-user-onenote-sections-pages.d.cts +18 -3
  206. package/dist/actions/delete-user-onenote-sections-pages.d.cts.map +1 -1
  207. package/dist/actions/delete-user-onenote-sections-pages.d.mts +18 -3
  208. package/dist/actions/delete-user-onenote-sections-pages.d.mts.map +1 -1
  209. package/dist/actions/delete-user-onenote-sections-pages.mjs +1 -1
  210. package/dist/actions/delete-user-onenote-sections-pages.mjs.map +1 -1
  211. package/dist/actions/delete-user-pages.cjs +1 -1
  212. package/dist/actions/delete-user-pages.cjs.map +1 -1
  213. package/dist/actions/delete-user-pages.d.cts +12 -3
  214. package/dist/actions/delete-user-pages.d.cts.map +1 -1
  215. package/dist/actions/delete-user-pages.d.mts +12 -3
  216. package/dist/actions/delete-user-pages.d.mts.map +1 -1
  217. package/dist/actions/delete-user-pages.mjs +1 -1
  218. package/dist/actions/delete-user-pages.mjs.map +1 -1
  219. package/dist/actions/get-group-sections.cjs +7 -7
  220. package/dist/actions/get-group-sections.cjs.map +1 -1
  221. package/dist/actions/get-group-sections.d.cts +145 -3
  222. package/dist/actions/get-group-sections.d.cts.map +1 -1
  223. package/dist/actions/get-group-sections.d.mts +145 -3
  224. package/dist/actions/get-group-sections.d.mts.map +1 -1
  225. package/dist/actions/get-group-sections.mjs +7 -7
  226. package/dist/actions/get-group-sections.mjs.map +1 -1
  227. package/dist/actions/get-me-onenote-resources-value.cjs +1 -1
  228. package/dist/actions/get-me-onenote-resources-value.cjs.map +1 -1
  229. package/dist/actions/get-me-onenote-resources-value.d.cts +12 -3
  230. package/dist/actions/get-me-onenote-resources-value.d.cts.map +1 -1
  231. package/dist/actions/get-me-onenote-resources-value.d.mts +12 -3
  232. package/dist/actions/get-me-onenote-resources-value.d.mts.map +1 -1
  233. package/dist/actions/get-me-onenote-resources-value.mjs +1 -1
  234. package/dist/actions/get-me-onenote-resources-value.mjs.map +1 -1
  235. package/dist/actions/get-me-section-page-content.cjs +1 -1
  236. package/dist/actions/get-me-section-page-content.cjs.map +1 -1
  237. package/dist/actions/get-me-section-page-content.d.cts +13 -3
  238. package/dist/actions/get-me-section-page-content.d.cts.map +1 -1
  239. package/dist/actions/get-me-section-page-content.d.mts +13 -3
  240. package/dist/actions/get-me-section-page-content.d.mts.map +1 -1
  241. package/dist/actions/get-me-section-page-content.mjs +1 -1
  242. package/dist/actions/get-me-section-page-content.mjs.map +1 -1
  243. package/dist/actions/get-notebook-from-web-url.cjs +5 -5
  244. package/dist/actions/get-notebook-from-web-url.cjs.map +1 -1
  245. package/dist/actions/get-notebook-from-web-url.d.cts +57 -3
  246. package/dist/actions/get-notebook-from-web-url.d.cts.map +1 -1
  247. package/dist/actions/get-notebook-from-web-url.d.mts +57 -3
  248. package/dist/actions/get-notebook-from-web-url.d.mts.map +1 -1
  249. package/dist/actions/get-notebook-from-web-url.mjs +5 -5
  250. package/dist/actions/get-notebook-from-web-url.mjs.map +1 -1
  251. package/dist/actions/get-notebook-section-group.cjs +3 -3
  252. package/dist/actions/get-notebook-section-group.cjs.map +1 -1
  253. package/dist/actions/get-notebook-section-group.d.cts +49 -3
  254. package/dist/actions/get-notebook-section-group.d.cts.map +1 -1
  255. package/dist/actions/get-notebook-section-group.d.mts +49 -3
  256. package/dist/actions/get-notebook-section-group.d.mts.map +1 -1
  257. package/dist/actions/get-notebook-section-group.mjs +3 -3
  258. package/dist/actions/get-notebook-section-group.mjs.map +1 -1
  259. package/dist/actions/get-onenote-group-operations.cjs +2 -2
  260. package/dist/actions/get-onenote-group-operations.cjs.map +1 -1
  261. package/dist/actions/get-onenote-group-operations.d.cts +26 -3
  262. package/dist/actions/get-onenote-group-operations.d.cts.map +1 -1
  263. package/dist/actions/get-onenote-group-operations.d.mts +26 -3
  264. package/dist/actions/get-onenote-group-operations.d.mts.map +1 -1
  265. package/dist/actions/get-onenote-group-operations.mjs +2 -2
  266. package/dist/actions/get-onenote-group-operations.mjs.map +1 -1
  267. package/dist/actions/get-onenote-group-sections-pages.cjs +5 -5
  268. package/dist/actions/get-onenote-group-sections-pages.cjs.map +1 -1
  269. package/dist/actions/get-onenote-group-sections-pages.d.cts +51 -3
  270. package/dist/actions/get-onenote-group-sections-pages.d.cts.map +1 -1
  271. package/dist/actions/get-onenote-group-sections-pages.d.mts +51 -3
  272. package/dist/actions/get-onenote-group-sections-pages.d.mts.map +1 -1
  273. package/dist/actions/get-onenote-group-sections-pages.mjs +5 -5
  274. package/dist/actions/get-onenote-group-sections-pages.mjs.map +1 -1
  275. package/dist/actions/get-onenote-site-operations.cjs +2 -2
  276. package/dist/actions/get-onenote-site-operations.cjs.map +1 -1
  277. package/dist/actions/get-onenote-site-operations.d.cts +26 -3
  278. package/dist/actions/get-onenote-site-operations.d.cts.map +1 -1
  279. package/dist/actions/get-onenote-site-operations.d.mts +26 -3
  280. package/dist/actions/get-onenote-site-operations.d.mts.map +1 -1
  281. package/dist/actions/get-onenote-site-operations.mjs +2 -2
  282. package/dist/actions/get-onenote-site-operations.mjs.map +1 -1
  283. package/dist/actions/get-onenote-user-page-content.cjs +4 -4
  284. package/dist/actions/get-onenote-user-page-content.cjs.map +1 -1
  285. package/dist/actions/get-onenote-user-page-content.d.cts +26 -3
  286. package/dist/actions/get-onenote-user-page-content.d.cts.map +1 -1
  287. package/dist/actions/get-onenote-user-page-content.d.mts +26 -3
  288. package/dist/actions/get-onenote-user-page-content.d.mts.map +1 -1
  289. package/dist/actions/get-onenote-user-page-content.mjs +4 -4
  290. package/dist/actions/get-onenote-user-page-content.mjs.map +1 -1
  291. package/dist/actions/get-page.cjs +5 -5
  292. package/dist/actions/get-page.cjs.map +1 -1
  293. package/dist/actions/get-page.d.cts +43 -3
  294. package/dist/actions/get-page.d.cts.map +1 -1
  295. package/dist/actions/get-page.d.mts +43 -3
  296. package/dist/actions/get-page.d.mts.map +1 -1
  297. package/dist/actions/get-page.mjs +5 -5
  298. package/dist/actions/get-page.mjs.map +1 -1
  299. package/dist/actions/get-recent-notebooks.cjs +4 -4
  300. package/dist/actions/get-recent-notebooks.cjs.map +1 -1
  301. package/dist/actions/get-recent-notebooks.d.cts +32 -3
  302. package/dist/actions/get-recent-notebooks.d.cts.map +1 -1
  303. package/dist/actions/get-recent-notebooks.d.mts +32 -3
  304. package/dist/actions/get-recent-notebooks.d.mts.map +1 -1
  305. package/dist/actions/get-recent-notebooks.mjs +4 -4
  306. package/dist/actions/get-recent-notebooks.mjs.map +1 -1
  307. package/dist/actions/get-section.cjs +7 -7
  308. package/dist/actions/get-section.cjs.map +1 -1
  309. package/dist/actions/get-section.d.cts +67 -3
  310. package/dist/actions/get-section.d.cts.map +1 -1
  311. package/dist/actions/get-section.d.mts +67 -3
  312. package/dist/actions/get-section.d.mts.map +1 -1
  313. package/dist/actions/get-section.mjs +7 -7
  314. package/dist/actions/get-section.mjs.map +1 -1
  315. package/dist/actions/get-site-onenote-pages.cjs +6 -6
  316. package/dist/actions/get-site-onenote-pages.cjs.map +1 -1
  317. package/dist/actions/get-site-onenote-pages.d.cts +39 -3
  318. package/dist/actions/get-site-onenote-pages.d.cts.map +1 -1
  319. package/dist/actions/get-site-onenote-pages.d.mts +39 -3
  320. package/dist/actions/get-site-onenote-pages.d.mts.map +1 -1
  321. package/dist/actions/get-site-onenote-pages.mjs +6 -6
  322. package/dist/actions/get-site-onenote-pages.mjs.map +1 -1
  323. package/dist/actions/get-site-pages-preview.cjs +1 -1
  324. package/dist/actions/get-site-pages-preview.cjs.map +1 -1
  325. package/dist/actions/get-site-pages-preview.d.cts +12 -3
  326. package/dist/actions/get-site-pages-preview.d.cts.map +1 -1
  327. package/dist/actions/get-site-pages-preview.d.mts +12 -3
  328. package/dist/actions/get-site-pages-preview.d.mts.map +1 -1
  329. package/dist/actions/get-site-pages-preview.mjs +1 -1
  330. package/dist/actions/get-site-pages-preview.mjs.map +1 -1
  331. package/dist/actions/get-site-sections-pages.cjs +5 -5
  332. package/dist/actions/get-site-sections-pages.cjs.map +1 -1
  333. package/dist/actions/get-site-sections-pages.d.cts +51 -3
  334. package/dist/actions/get-site-sections-pages.d.cts.map +1 -1
  335. package/dist/actions/get-site-sections-pages.d.mts +51 -3
  336. package/dist/actions/get-site-sections-pages.d.mts.map +1 -1
  337. package/dist/actions/get-site-sections-pages.mjs +5 -5
  338. package/dist/actions/get-site-sections-pages.mjs.map +1 -1
  339. package/dist/actions/get-site-sections.cjs +7 -7
  340. package/dist/actions/get-site-sections.cjs.map +1 -1
  341. package/dist/actions/get-site-sections.d.cts +145 -3
  342. package/dist/actions/get-site-sections.d.cts.map +1 -1
  343. package/dist/actions/get-site-sections.d.mts +145 -3
  344. package/dist/actions/get-site-sections.d.mts.map +1 -1
  345. package/dist/actions/get-site-sections.mjs +7 -7
  346. package/dist/actions/get-site-sections.mjs.map +1 -1
  347. package/dist/actions/get-user-notebook.cjs +5 -5
  348. package/dist/actions/get-user-notebook.cjs.map +1 -1
  349. package/dist/actions/get-user-notebook.d.cts +123 -3
  350. package/dist/actions/get-user-notebook.d.cts.map +1 -1
  351. package/dist/actions/get-user-notebook.d.mts +123 -3
  352. package/dist/actions/get-user-notebook.d.mts.map +1 -1
  353. package/dist/actions/get-user-notebook.mjs +5 -5
  354. package/dist/actions/get-user-notebook.mjs.map +1 -1
  355. package/dist/actions/get-user-pages.cjs +5 -5
  356. package/dist/actions/get-user-pages.cjs.map +1 -1
  357. package/dist/actions/get-user-pages.d.cts +45 -3
  358. package/dist/actions/get-user-pages.d.cts.map +1 -1
  359. package/dist/actions/get-user-pages.d.mts +45 -3
  360. package/dist/actions/get-user-pages.d.mts.map +1 -1
  361. package/dist/actions/get-user-pages.mjs +5 -5
  362. package/dist/actions/get-user-pages.mjs.map +1 -1
  363. package/dist/actions/get-user-parent-section-group2.cjs +3 -3
  364. package/dist/actions/get-user-parent-section-group2.cjs.map +1 -1
  365. package/dist/actions/get-user-parent-section-group2.d.cts +52 -3
  366. package/dist/actions/get-user-parent-section-group2.d.cts.map +1 -1
  367. package/dist/actions/get-user-parent-section-group2.d.mts +52 -3
  368. package/dist/actions/get-user-parent-section-group2.d.mts.map +1 -1
  369. package/dist/actions/get-user-parent-section-group2.mjs +3 -3
  370. package/dist/actions/get-user-parent-section-group2.mjs.map +1 -1
  371. package/dist/actions/list-group-notebook-section-groups.cjs +4 -4
  372. package/dist/actions/list-group-notebook-section-groups.cjs.map +1 -1
  373. package/dist/actions/list-group-notebook-section-groups.d.cts +79 -3
  374. package/dist/actions/list-group-notebook-section-groups.d.cts.map +1 -1
  375. package/dist/actions/list-group-notebook-section-groups.d.mts +79 -3
  376. package/dist/actions/list-group-notebook-section-groups.d.mts.map +1 -1
  377. package/dist/actions/list-group-notebook-section-groups.mjs +4 -4
  378. package/dist/actions/list-group-notebook-section-groups.mjs.map +1 -1
  379. package/dist/actions/list-group-notebook-section-pages.cjs +5 -5
  380. package/dist/actions/list-group-notebook-section-pages.cjs.map +1 -1
  381. package/dist/actions/list-group-notebook-section-pages.d.cts +41 -3
  382. package/dist/actions/list-group-notebook-section-pages.d.cts.map +1 -1
  383. package/dist/actions/list-group-notebook-section-pages.d.mts +41 -3
  384. package/dist/actions/list-group-notebook-section-pages.d.mts.map +1 -1
  385. package/dist/actions/list-group-notebook-section-pages.mjs +5 -5
  386. package/dist/actions/list-group-notebook-section-pages.mjs.map +1 -1
  387. package/dist/actions/list-group-notebooks.cjs +1 -1
  388. package/dist/actions/list-group-notebooks.cjs.map +1 -1
  389. package/dist/actions/list-group-notebooks.d.cts +94 -3
  390. package/dist/actions/list-group-notebooks.d.cts.map +1 -1
  391. package/dist/actions/list-group-notebooks.d.mts +94 -3
  392. package/dist/actions/list-group-notebooks.d.mts.map +1 -1
  393. package/dist/actions/list-group-notebooks.mjs +1 -1
  394. package/dist/actions/list-group-notebooks.mjs.map +1 -1
  395. package/dist/actions/list-group-section-groups-sections.cjs +6 -6
  396. package/dist/actions/list-group-section-groups-sections.cjs.map +1 -1
  397. package/dist/actions/list-group-section-groups-sections.d.cts +71 -3
  398. package/dist/actions/list-group-section-groups-sections.d.cts.map +1 -1
  399. package/dist/actions/list-group-section-groups-sections.d.mts +71 -3
  400. package/dist/actions/list-group-section-groups-sections.d.mts.map +1 -1
  401. package/dist/actions/list-group-section-groups-sections.mjs +6 -6
  402. package/dist/actions/list-group-section-groups-sections.mjs.map +1 -1
  403. package/dist/actions/list-joined-teams.cjs.map +1 -1
  404. package/dist/actions/list-joined-teams.d.cts +47 -3
  405. package/dist/actions/list-joined-teams.d.cts.map +1 -1
  406. package/dist/actions/list-joined-teams.d.mts +47 -3
  407. package/dist/actions/list-joined-teams.d.mts.map +1 -1
  408. package/dist/actions/list-joined-teams.mjs.map +1 -1
  409. package/dist/actions/list-me-onenote-sections-pages4.cjs +6 -6
  410. package/dist/actions/list-me-onenote-sections-pages4.cjs.map +1 -1
  411. package/dist/actions/list-me-onenote-sections-pages4.d.cts +54 -3
  412. package/dist/actions/list-me-onenote-sections-pages4.d.cts.map +1 -1
  413. package/dist/actions/list-me-onenote-sections-pages4.d.mts +54 -3
  414. package/dist/actions/list-me-onenote-sections-pages4.d.mts.map +1 -1
  415. package/dist/actions/list-me-onenote-sections-pages4.mjs +6 -6
  416. package/dist/actions/list-me-onenote-sections-pages4.mjs.map +1 -1
  417. package/dist/actions/list-onenote-group-pages.cjs +5 -5
  418. package/dist/actions/list-onenote-group-pages.cjs.map +1 -1
  419. package/dist/actions/list-onenote-group-pages.d.cts +37 -3
  420. package/dist/actions/list-onenote-group-pages.d.cts.map +1 -1
  421. package/dist/actions/list-onenote-group-pages.d.mts +37 -3
  422. package/dist/actions/list-onenote-group-pages.d.mts.map +1 -1
  423. package/dist/actions/list-onenote-group-pages.mjs +5 -5
  424. package/dist/actions/list-onenote-group-pages.mjs.map +1 -1
  425. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs +4 -4
  426. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs.map +1 -1
  427. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts +63 -3
  428. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts.map +1 -1
  429. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts +63 -3
  430. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts.map +1 -1
  431. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs +4 -4
  432. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs.map +1 -1
  433. package/dist/actions/list-onenote-group-sections-pages4.cjs +4 -4
  434. package/dist/actions/list-onenote-group-sections-pages4.cjs.map +1 -1
  435. package/dist/actions/list-onenote-group-sections-pages4.d.cts +46 -3
  436. package/dist/actions/list-onenote-group-sections-pages4.d.cts.map +1 -1
  437. package/dist/actions/list-onenote-group-sections-pages4.d.mts +46 -3
  438. package/dist/actions/list-onenote-group-sections-pages4.d.mts.map +1 -1
  439. package/dist/actions/list-onenote-group-sections-pages4.mjs +4 -4
  440. package/dist/actions/list-onenote-group-sections-pages4.mjs.map +1 -1
  441. package/dist/actions/list-site-notebook-section-groups.cjs +4 -4
  442. package/dist/actions/list-site-notebook-section-groups.cjs.map +1 -1
  443. package/dist/actions/list-site-notebook-section-groups.d.cts +63 -3
  444. package/dist/actions/list-site-notebook-section-groups.d.cts.map +1 -1
  445. package/dist/actions/list-site-notebook-section-groups.d.mts +63 -3
  446. package/dist/actions/list-site-notebook-section-groups.d.mts.map +1 -1
  447. package/dist/actions/list-site-notebook-section-groups.mjs +4 -4
  448. package/dist/actions/list-site-notebook-section-groups.mjs.map +1 -1
  449. package/dist/actions/list-site-notebooks.cjs +1 -1
  450. package/dist/actions/list-site-notebooks.cjs.map +1 -1
  451. package/dist/actions/list-site-notebooks.d.cts +94 -3
  452. package/dist/actions/list-site-notebooks.d.cts.map +1 -1
  453. package/dist/actions/list-site-notebooks.d.mts +94 -3
  454. package/dist/actions/list-site-notebooks.d.mts.map +1 -1
  455. package/dist/actions/list-site-notebooks.mjs +1 -1
  456. package/dist/actions/list-site-notebooks.mjs.map +1 -1
  457. package/dist/actions/list-site-pages-content.cjs +1 -1
  458. package/dist/actions/list-site-pages-content.cjs.map +1 -1
  459. package/dist/actions/list-site-pages-content.d.cts +15 -3
  460. package/dist/actions/list-site-pages-content.d.cts.map +1 -1
  461. package/dist/actions/list-site-pages-content.d.mts +15 -3
  462. package/dist/actions/list-site-pages-content.d.mts.map +1 -1
  463. package/dist/actions/list-site-pages-content.mjs +1 -1
  464. package/dist/actions/list-site-pages-content.mjs.map +1 -1
  465. package/dist/actions/list-site-sections.cjs +8 -8
  466. package/dist/actions/list-site-sections.cjs.map +1 -1
  467. package/dist/actions/list-site-sections.d.cts +69 -3
  468. package/dist/actions/list-site-sections.d.cts.map +1 -1
  469. package/dist/actions/list-site-sections.d.mts +69 -3
  470. package/dist/actions/list-site-sections.d.mts.map +1 -1
  471. package/dist/actions/list-site-sections.mjs +8 -8
  472. package/dist/actions/list-site-sections.mjs.map +1 -1
  473. package/dist/actions/list-user-notebook-sections.cjs +6 -6
  474. package/dist/actions/list-user-notebook-sections.cjs.map +1 -1
  475. package/dist/actions/list-user-notebook-sections.d.cts +77 -3
  476. package/dist/actions/list-user-notebook-sections.d.cts.map +1 -1
  477. package/dist/actions/list-user-notebook-sections.d.mts +77 -3
  478. package/dist/actions/list-user-notebook-sections.d.mts.map +1 -1
  479. package/dist/actions/list-user-notebook-sections.mjs +6 -6
  480. package/dist/actions/list-user-notebook-sections.mjs.map +1 -1
  481. package/dist/actions/list-user-notebooks.cjs +6 -6
  482. package/dist/actions/list-user-notebooks.cjs.map +1 -1
  483. package/dist/actions/list-user-notebooks.d.cts +76 -3
  484. package/dist/actions/list-user-notebooks.d.cts.map +1 -1
  485. package/dist/actions/list-user-notebooks.d.mts +76 -3
  486. package/dist/actions/list-user-notebooks.d.mts.map +1 -1
  487. package/dist/actions/list-user-notebooks.mjs +6 -6
  488. package/dist/actions/list-user-notebooks.mjs.map +1 -1
  489. package/dist/actions/resolve-site-by-url.cjs.map +1 -1
  490. package/dist/actions/resolve-site-by-url.d.cts +43 -3
  491. package/dist/actions/resolve-site-by-url.d.cts.map +1 -1
  492. package/dist/actions/resolve-site-by-url.d.mts +43 -3
  493. package/dist/actions/resolve-site-by-url.d.mts.map +1 -1
  494. package/dist/actions/resolve-site-by-url.mjs.map +1 -1
  495. package/dist/actions/sites-search.cjs.map +1 -1
  496. package/dist/actions/sites-search.d.cts +47 -3
  497. package/dist/actions/sites-search.d.cts.map +1 -1
  498. package/dist/actions/sites-search.d.mts +47 -3
  499. package/dist/actions/sites-search.d.mts.map +1 -1
  500. package/dist/actions/sites-search.mjs.map +1 -1
  501. package/dist/actions/update-me-page-content.cjs +2 -2
  502. package/dist/actions/update-me-page-content.cjs.map +1 -1
  503. package/dist/actions/update-me-page-content.d.cts +32 -3
  504. package/dist/actions/update-me-page-content.d.cts.map +1 -1
  505. package/dist/actions/update-me-page-content.d.mts +32 -3
  506. package/dist/actions/update-me-page-content.d.mts.map +1 -1
  507. package/dist/actions/update-me-page-content.mjs +2 -2
  508. package/dist/actions/update-me-page-content.mjs.map +1 -1
  509. package/dist/actions/update-me-sections.cjs +7 -7
  510. package/dist/actions/update-me-sections.cjs.map +1 -1
  511. package/dist/actions/update-me-sections.d.cts +54 -3
  512. package/dist/actions/update-me-sections.d.cts.map +1 -1
  513. package/dist/actions/update-me-sections.d.mts +54 -3
  514. package/dist/actions/update-me-sections.d.mts.map +1 -1
  515. package/dist/actions/update-me-sections.mjs +7 -7
  516. package/dist/actions/update-me-sections.mjs.map +1 -1
  517. package/dist/actions/update-onenote-page-content.cjs +2 -2
  518. package/dist/actions/update-onenote-page-content.cjs.map +1 -1
  519. package/dist/actions/update-onenote-page-content.d.cts +34 -3
  520. package/dist/actions/update-onenote-page-content.d.cts.map +1 -1
  521. package/dist/actions/update-onenote-page-content.d.mts +34 -3
  522. package/dist/actions/update-onenote-page-content.d.mts.map +1 -1
  523. package/dist/actions/update-onenote-page-content.mjs +2 -2
  524. package/dist/actions/update-onenote-page-content.mjs.map +1 -1
  525. package/dist/actions/update-site-notebooks-sections.cjs +7 -7
  526. package/dist/actions/update-site-notebooks-sections.cjs.map +1 -1
  527. package/dist/actions/update-site-notebooks-sections.d.cts +57 -3
  528. package/dist/actions/update-site-notebooks-sections.d.cts.map +1 -1
  529. package/dist/actions/update-site-notebooks-sections.d.mts +57 -3
  530. package/dist/actions/update-site-notebooks-sections.d.mts.map +1 -1
  531. package/dist/actions/update-site-notebooks-sections.mjs +7 -7
  532. package/dist/actions/update-site-notebooks-sections.mjs.map +1 -1
  533. package/dist/actions/update-site-pages-content.cjs +2 -2
  534. package/dist/actions/update-site-pages-content.cjs.map +1 -1
  535. package/dist/actions/update-site-pages-content.d.cts +34 -3
  536. package/dist/actions/update-site-pages-content.d.cts.map +1 -1
  537. package/dist/actions/update-site-pages-content.d.mts +34 -3
  538. package/dist/actions/update-site-pages-content.d.mts.map +1 -1
  539. package/dist/actions/update-site-pages-content.mjs +2 -2
  540. package/dist/actions/update-site-pages-content.mjs.map +1 -1
  541. package/dist/actions/update-site-section-groups-sections.cjs +7 -7
  542. package/dist/actions/update-site-section-groups-sections.cjs.map +1 -1
  543. package/dist/actions/update-site-section-groups-sections.d.cts +59 -3
  544. package/dist/actions/update-site-section-groups-sections.d.cts.map +1 -1
  545. package/dist/actions/update-site-section-groups-sections.d.mts +59 -3
  546. package/dist/actions/update-site-section-groups-sections.d.mts.map +1 -1
  547. package/dist/actions/update-site-section-groups-sections.mjs +7 -7
  548. package/dist/actions/update-site-section-groups-sections.mjs.map +1 -1
  549. package/dist/actions/update-user-notebooks-sections.cjs +7 -7
  550. package/dist/actions/update-user-notebooks-sections.cjs.map +1 -1
  551. package/dist/actions/update-user-notebooks-sections.d.cts +55 -3
  552. package/dist/actions/update-user-notebooks-sections.d.cts.map +1 -1
  553. package/dist/actions/update-user-notebooks-sections.d.mts +55 -3
  554. package/dist/actions/update-user-notebooks-sections.d.mts.map +1 -1
  555. package/dist/actions/update-user-notebooks-sections.mjs +7 -7
  556. package/dist/actions/update-user-notebooks-sections.mjs.map +1 -1
  557. package/dist/actions/validate-credential.cjs +3 -3
  558. package/dist/actions/validate-credential.cjs.map +1 -1
  559. package/dist/actions/validate-credential.d.cts +6 -3
  560. package/dist/actions/validate-credential.d.cts.map +1 -1
  561. package/dist/actions/validate-credential.d.mts +6 -3
  562. package/dist/actions/validate-credential.d.mts.map +1 -1
  563. package/dist/actions/validate-credential.mjs +3 -3
  564. package/dist/actions/validate-credential.mjs.map +1 -1
  565. package/package.json +2 -2
@@ -1,9 +1,38 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-recent-notebooks.d.ts
4
- declare const OnenoteGetRecentNotebooksInput: z.ZodTypeAny;
5
- declare const OnenoteGetRecentNotebooksOutput: z.ZodTypeAny;
6
- declare const onenoteGetRecentNotebooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteGetRecentNotebooksInput: z.ZodObject<{
5
+ top: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ skip: z.ZodOptional<z.ZodNumber>;
7
+ count: z.ZodOptional<z.ZodBoolean>;
8
+ filter: z.ZodOptional<z.ZodString>;
9
+ search: z.ZodOptional<z.ZodString>;
10
+ include_personal_notebooks: z.ZodBoolean;
11
+ }, z.core.$strip>;
12
+ declare const OnenoteGetRecentNotebooksOutput: z.ZodObject<{
13
+ value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14
+ links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
+ oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>>>;
18
+ oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>>>;
21
+ }, z.core.$loose>>>;
22
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ sourceService: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ lastAccessedTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>>>;
26
+ "@odata.context": z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$loose>;
28
+ declare const onenoteGetRecentNotebooks: import("@keystrokehq/action").WorkflowActionDefinition<{
29
+ include_personal_notebooks: boolean;
30
+ top?: number | undefined;
31
+ skip?: number | undefined;
32
+ count?: boolean | undefined;
33
+ filter?: string | undefined;
34
+ search?: string | undefined;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { onenoteGetRecentNotebooks };
9
38
  //# sourceMappingURL=get-recent-notebooks.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-recent-notebooks.d.mts","names":[],"sources":["../../src/actions/get-recent-notebooks.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAOiC;AAAA,cAcnE,+BAAA,EAAiC,CAAA,CAAE,UAGqB;AAAA,cAExD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-recent-notebooks.d.mts","names":[],"sources":["../../src/actions/get-recent-notebooks.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAqB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -9,17 +9,17 @@ const OnenoteGetRecentNotebooksInput = z.object({
9
9
  search: z.string().describe("Search items by search phrases.").optional(),
10
10
  include_personal_notebooks: z.boolean().describe("Include notebooks owned by the user. Set to true to include notebooks owned by the user; set to false to exclude them. This parameter is required.")
11
11
  }).describe("Request model for retrieving recently accessed OneNote notebooks.");
12
- const OnenoteGetRecentNotebooks_ExternalLinkSchema = z.object({ href: z.string().describe("The URL of the link.").nullable().optional() }).describe("Represents a URL that opens a OneNote page or notebook.");
12
+ const OnenoteGetRecentNotebooks_ExternalLinkSchema = z.object({ href: z.string().describe("The URL of the link.").nullable().optional() }).passthrough().describe("Represents a URL that opens a OneNote page or notebook.");
13
13
  const OnenoteGetRecentNotebooks_RecentNotebookLinksSchema = z.object({
14
14
  oneNoteWebUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional(),
15
15
  oneNoteClientUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional()
16
- }).describe("Links for opening a OneNote notebook.");
16
+ }).passthrough().describe("Links for opening a OneNote notebook.");
17
17
  const OnenoteGetRecentNotebooks_RecentNotebookSchema = z.object({
18
18
  links: OnenoteGetRecentNotebooks_RecentNotebookLinksSchema.nullable().optional(),
19
19
  displayName: z.string().describe("The name of the notebook.").nullable().optional(),
20
20
  sourceService: z.string().describe("The backend store where the notebook resides: OneDriveForBusiness or OneDrive.").nullable().optional(),
21
21
  lastAccessedTime: z.string().describe("The date and time when the notebook was last accessed. The timestamp uses ISO 8601 format in UTC.").nullable().optional()
22
- }).describe("Represents a recently accessed OneNote notebook.");
22
+ }).passthrough().describe("Represents a recently accessed OneNote notebook.");
23
23
  const onenoteGetRecentNotebooks = action("ONENOTE_GET_RECENT_NOTEBOOKS", {
24
24
  slug: "onenote-get-recent-notebooks",
25
25
  name: "Get recent notebooks",
@@ -28,7 +28,7 @@ const onenoteGetRecentNotebooks = action("ONENOTE_GET_RECENT_NOTEBOOKS", {
28
28
  output: z.object({
29
29
  value: z.array(OnenoteGetRecentNotebooks_RecentNotebookSchema).describe("List of recently accessed OneNote notebooks ordered by last access time.").nullable().optional(),
30
30
  "@odata.context": z.string().describe("OData context URL that identifies the metadata schema.").nullable().optional()
31
- }).describe("Response model containing recently accessed notebooks.")
31
+ }).passthrough().describe("Response model containing recently accessed notebooks.")
32
32
  });
33
33
  //#endregion
34
34
  export { onenoteGetRecentNotebooks };
@@ -1 +1 @@
1
- {"version":3,"file":"get-recent-notebooks.mjs","names":[],"sources":["../../src/actions/get-recent-notebooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetRecentNotebooksInput: z.ZodTypeAny = z.object({\n top: z.number().int().default(25).describe(\"The number of notebooks to return. Default is 25. Maximum is 100.\").optional(),\n skip: z.number().int().describe(\"The number of items to skip before returning results.\").optional(),\n count: z.boolean().describe(\"Include count of items in the response.\").optional(),\n filter: z.string().describe(\"Filter items by property values using OData filter syntax.\").optional(),\n search: z.string().describe(\"Search items by search phrases.\").optional(),\n include_personal_notebooks: z.boolean().describe(\"Include notebooks owned by the user. Set to true to include notebooks owned by the user; set to false to exclude them. This parameter is required.\"),\n}).describe(\"Request model for retrieving recently accessed OneNote notebooks.\");\nconst OnenoteGetRecentNotebooks_ExternalLinkSchema: z.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 OnenoteGetRecentNotebooks_RecentNotebookLinksSchema: z.ZodTypeAny = z.object({\n oneNoteWebUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote notebook.\");\nconst OnenoteGetRecentNotebooks_RecentNotebookSchema: z.ZodTypeAny = z.object({\n links: OnenoteGetRecentNotebooks_RecentNotebookLinksSchema.nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n sourceService: z.string().describe(\"The backend store where the notebook resides: OneDriveForBusiness or OneDrive.\").nullable().optional(),\n lastAccessedTime: z.string().describe(\"The date and time when the notebook was last accessed. The timestamp uses ISO 8601 format in UTC.\").nullable().optional(),\n}).describe(\"Represents a recently accessed OneNote notebook.\");\nexport const OnenoteGetRecentNotebooksOutput: z.ZodTypeAny = z.object({\n value: z.array(OnenoteGetRecentNotebooks_RecentNotebookSchema).describe(\"List of recently accessed OneNote notebooks ordered by last access time.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"OData context URL that identifies the metadata schema.\").nullable().optional(),\n}).describe(\"Response model containing recently accessed notebooks.\");\n\nexport const onenoteGetRecentNotebooks = action(\"ONENOTE_GET_RECENT_NOTEBOOKS\", {\n slug: \"onenote-get-recent-notebooks\",\n name: \"Get recent notebooks\",\n description: \"Retrieves a list of recently accessed OneNote notebooks for the signed-in user. Use this action when you need to display recently accessed notebooks, provide quick access to notebooks the user has been working with, or build a recent notebooks feature. The notebooks are returned in order of most recent access. Set includePersonalNotebooks to true to include notebooks owned by the user, or false to exclude them.\",\n input: OnenoteGetRecentNotebooksInput,\n output: OnenoteGetRecentNotebooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACzH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,4BAA4B,EAAE,QAAQ,CAAC,CAAC,SAAS,oJAAoJ;AACvM,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,+CAA6D,EAAE,OAAO,EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sDAAoE,EAAE,OAAO;CACjF,eAAe,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAChF,kBAAkB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,iDAA+D,EAAE,OAAO;CAC5E,OAAO,oDAAoD,SAAS,CAAC,CAAC,SAAS;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAM9D,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2D,EAAE,OAAO;EACpE,OAAO,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-recent-notebooks.mjs","names":[],"sources":["../../src/actions/get-recent-notebooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetRecentNotebooksInput = z.object({\n top: z.number().int().default(25).describe(\"The number of notebooks to return. Default is 25. Maximum is 100.\").optional(),\n skip: z.number().int().describe(\"The number of items to skip before returning results.\").optional(),\n count: z.boolean().describe(\"Include count of items in the response.\").optional(),\n filter: z.string().describe(\"Filter items by property values using OData filter syntax.\").optional(),\n search: z.string().describe(\"Search items by search phrases.\").optional(),\n include_personal_notebooks: z.boolean().describe(\"Include notebooks owned by the user. Set to true to include notebooks owned by the user; set to false to exclude them. This parameter is required.\"),\n}).describe(\"Request model for retrieving recently accessed OneNote notebooks.\");\nconst OnenoteGetRecentNotebooks_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page or notebook.\");\nconst OnenoteGetRecentNotebooks_RecentNotebookLinksSchema = z.object({\n oneNoteWebUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetRecentNotebooks_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote notebook.\");\nconst OnenoteGetRecentNotebooks_RecentNotebookSchema = z.object({\n links: OnenoteGetRecentNotebooks_RecentNotebookLinksSchema.nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n sourceService: z.string().describe(\"The backend store where the notebook resides: OneDriveForBusiness or OneDrive.\").nullable().optional(),\n lastAccessedTime: z.string().describe(\"The date and time when the notebook was last accessed. The timestamp uses ISO 8601 format in UTC.\").nullable().optional(),\n}).passthrough().describe(\"Represents a recently accessed OneNote notebook.\");\nexport const OnenoteGetRecentNotebooksOutput = z.object({\n value: z.array(OnenoteGetRecentNotebooks_RecentNotebookSchema).describe(\"List of recently accessed OneNote notebooks ordered by last access time.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"OData context URL that identifies the metadata schema.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing recently accessed notebooks.\");\n\nexport const onenoteGetRecentNotebooks = action(\"ONENOTE_GET_RECENT_NOTEBOOKS\", {\n slug: \"onenote-get-recent-notebooks\",\n name: \"Get recent notebooks\",\n description: \"Retrieves a list of recently accessed OneNote notebooks for the signed-in user. Use this action when you need to display recently accessed notebooks, provide quick access to notebooks the user has been working with, or build a recent notebooks feature. The notebooks are returned in order of most recent access. Set includePersonalNotebooks to true to include notebooks owned by the user, or false to exclude them.\",\n input: OnenoteGetRecentNotebooksInput,\n output: OnenoteGetRecentNotebooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACzH,MAAM,EAAE,OAAO,CAAC,C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,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -6,30 +6,30 @@ const OnenoteGetSectionInput = zod.z.object({
6
6
  select: zod.z.array(zod.z.string()).describe("List of section properties to include in the response. Valid values include: id, self, createdDateTime, displayName, createdBy, lastModifiedBy, lastModifiedDateTime, isDefault, links, pagesUrl, parentNotebook, parentSectionGroup.").optional(),
7
7
  section_id: zod.z.string().describe("The unique identifier of the OneNote section to retrieve.")
8
8
  }).describe("Request model for retrieving a specific OneNote section by its ID.");
9
- const OnenoteGetSection_ExternalLinkSchema = zod.z.object({ href: zod.z.string().describe("The URL of the link.").nullable().optional() }).describe("Represents a URL that opens a OneNote page or notebook.");
9
+ const OnenoteGetSection_ExternalLinkSchema = zod.z.object({ href: zod.z.string().describe("The URL of the link.").nullable().optional() }).passthrough().describe("Represents a URL that opens a OneNote page or notebook.");
10
10
  const OnenoteGetSection_SectionLinksSchema = zod.z.object({
11
11
  oneNoteWebUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),
12
12
  oneNoteClientUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional()
13
- }).describe("Links for opening a OneNote section.");
13
+ }).passthrough().describe("Links for opening a OneNote section.");
14
14
  const OnenoteGetSection_IdentitySchema = zod.z.object({
15
15
  id: zod.z.string().describe("Unique identifier for the identity.").nullable().optional(),
16
16
  displayName: zod.z.string().describe("The display name of the identity.").nullable().optional()
17
- }).describe("Represents an identity of an actor (user, device, or application).");
17
+ }).passthrough().describe("Represents an identity of an actor (user, device, or application).");
18
18
  const OnenoteGetSection_IdentitySetSchema = zod.z.object({
19
19
  user: OnenoteGetSection_IdentitySchema.nullable().optional(),
20
20
  device: OnenoteGetSection_IdentitySchema.nullable().optional(),
21
21
  application: OnenoteGetSection_IdentitySchema.nullable().optional()
22
- }).describe("Represents a keyed collection of identity resources.");
22
+ }).passthrough().describe("Represents a keyed collection of identity resources.");
23
23
  const OnenoteGetSection_ParentNotebookSchema = zod.z.object({
24
24
  id: zod.z.string().describe("The unique identifier of the notebook.").nullable().optional(),
25
25
  self: zod.z.string().describe("The endpoint where you can get details about the notebook.").nullable().optional(),
26
26
  displayName: zod.z.string().describe("The name of the notebook.").nullable().optional()
27
- }).describe("The notebook that contains the section.");
27
+ }).passthrough().describe("The notebook that contains the section.");
28
28
  const OnenoteGetSection_ParentSectionGroupSchema = zod.z.object({
29
29
  id: zod.z.string().describe("The unique identifier of the section group.").nullable().optional(),
30
30
  self: zod.z.string().describe("The endpoint where you can get details about the section group.").nullable().optional(),
31
31
  displayName: zod.z.string().describe("The name of the section group.").nullable().optional()
32
- }).describe("The section group that contains the section.");
32
+ }).passthrough().describe("The section group that contains the section.");
33
33
  const OnenoteGetSectionOutput = zod.z.object({
34
34
  id: zod.z.string().describe("The unique identifier of the section.").nullable().optional(),
35
35
  self: zod.z.string().describe("The endpoint where you can get details about the section.").nullable().optional(),
@@ -45,7 +45,7 @@ const OnenoteGetSectionOutput = zod.z.object({
45
45
  createdDateTime: zod.z.string().describe("The date and time when the section was created. ISO 8601 format in UTC time.").nullable().optional(),
46
46
  parentSectionGroup: OnenoteGetSection_ParentSectionGroupSchema.nullable().optional(),
47
47
  lastModifiedDateTime: zod.z.string().describe("The date and time when the section was last modified. ISO 8601 format in UTC time.").nullable().optional()
48
- }).describe("Response model for retrieving a OneNote section.");
48
+ }).passthrough().describe("Response model for retrieving a OneNote section.");
49
49
  const onenoteGetSection = require_action.action("ONENOTE_GET_SECTION", {
50
50
  slug: "onenote-get-section",
51
51
  name: "Get a OneNote section by ID",
@@ -1 +1 @@
1
- {"version":3,"file":"get-section.cjs","names":["z","action"],"sources":["../../src/actions/get-section.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetSectionInput: z.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":";;;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CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,gBAAgB,oCAAoC,SAAS,CAAC,CAAC,SAAS;CACxE,gBAAgB,uCAAuC,SAAS,CAAC,CAAC,SAAS;CAC3E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,oBAAoB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-section.cjs","names":["z","action"],"sources":["../../src/actions/get-section.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetSectionInput = z.object({\n expand: z.array(z.string()).describe(\"List of relationships to expand inline in the response. Valid values: parentNotebook, parentSectionGroup.\").optional(),\n select: z.array(z.string()).describe(\"List of section properties to include in the response. Valid values include: id, self, createdDateTime, displayName, createdBy, lastModifiedBy, lastModifiedDateTime, isDefault, links, pagesUrl, parentNotebook, parentSectionGroup.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to retrieve.\"),\n}).describe(\"Request model for retrieving a specific OneNote section by its ID.\");\nconst OnenoteGetSection_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page or notebook.\");\nconst OnenoteGetSection_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteGetSection_IdentitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).passthrough().describe(\"Represents an identity of an actor (user, device, or application).\");\nconst OnenoteGetSection_IdentitySetSchema = z.object({\n user: OnenoteGetSection_IdentitySchema.nullable().optional(),\n device: OnenoteGetSection_IdentitySchema.nullable().optional(),\n application: OnenoteGetSection_IdentitySchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources.\");\nconst OnenoteGetSection_ParentNotebookSchema = z.object({\n id: z.string().describe(\"The unique identifier of the notebook.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the notebook.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n}).passthrough().describe(\"The notebook that contains the section.\");\nconst OnenoteGetSection_ParentSectionGroupSchema = z.object({\n id: z.string().describe(\"The unique identifier of the section group.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section group.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section group.\").nullable().optional(),\n}).passthrough().describe(\"The section group that contains the section.\");\nexport const OnenoteGetSectionOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section.\").nullable().optional(),\n links: OnenoteGetSection_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint where you can get details for all the pages in the section.\").nullable().optional(),\n createdBy: OnenoteGetSection_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section.\").nullable().optional(),\n \"@odata.etag\": z.string().describe(\"The OData ETag.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n lastModifiedBy: OnenoteGetSection_IdentitySetSchema.nullable().optional(),\n parentNotebook: OnenoteGetSection_ParentNotebookSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. ISO 8601 format in UTC time.\").nullable().optional(),\n parentSectionGroup: OnenoteGetSection_ParentSectionGroupSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. ISO 8601 format in UTC time.\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a OneNote section.\");\n\nexport const onenoteGetSection = action(\"ONENOTE_GET_SECTION\", {\n slug: \"onenote-get-section\",\n name: \"Get a OneNote section by ID\",\n description: \"Retrieves a specific OneNote section by its ID from the current user's OneNote. Use this action when you need to fetch metadata or details for a single OneNote section by specifying only the section ID, without requiring additional context like group, user, or site IDs. This action supports OData query parameters for selecting specific properties and expanding relationships like parentNotebook or parentSectionGroup.\",\n input: OnenoteGetSectionInput,\n output: OnenoteGetSectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC3J,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uOAAuO,CAAC,CAAC,SAAS;CACvR,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC7F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,uCAAuCA,IAAAA,EAAE,OAAO,EACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,S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A,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,oBAAoB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,73 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-section.d.ts
4
- declare const OnenoteGetSectionInput: z.ZodTypeAny;
5
- declare const OnenoteGetSectionOutput: z.ZodTypeAny;
6
- declare const onenoteGetSection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteGetSectionInput: z.ZodObject<{
5
+ expand: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
+ section_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const OnenoteGetSectionOutput: z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$loose>>>;
16
+ oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>>>;
19
+ }, z.core.$loose>>>;
20
+ pagesUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
+ user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>>;
26
+ device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, z.core.$loose>>>;
30
+ application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ }, z.core.$loose>>>;
34
+ }, z.core.$loose>>>;
35
+ isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
36
+ "@odata.etag": z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ "@odata.context": z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ lastModifiedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
+ user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
41
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ }, z.core.$loose>>>;
44
+ device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ }, z.core.$loose>>>;
48
+ application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ }, z.core.$loose>>>;
52
+ }, z.core.$loose>>>;
53
+ parentNotebook: z.ZodOptional<z.ZodNullable<z.ZodObject<{
54
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ }, z.core.$loose>>>;
58
+ createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ parentSectionGroup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
60
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ }, z.core.$loose>>>;
64
+ lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ }, z.core.$loose>;
66
+ declare const onenoteGetSection: import("@keystrokehq/action").WorkflowActionDefinition<{
67
+ section_id: string;
68
+ expand?: string[] | undefined;
69
+ select?: string[] | undefined;
70
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
71
  //#endregion
8
72
  export { onenoteGetSection };
9
73
  //# sourceMappingURL=get-section.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-section.d.cts","names":[],"sources":["../../src/actions/get-section.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAI0C;AAAA,cA2BpE,uBAAA,EAAyB,CAAA,CAAE,UAeuB;AAAA,cAElD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-section.d.cts","names":[],"sources":["../../src/actions/get-section.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cA+BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiBvB,iBAAA,gCAAiB,wBAAA"}
@@ -1,9 +1,73 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-section.d.ts
4
- declare const OnenoteGetSectionInput: z.ZodTypeAny;
5
- declare const OnenoteGetSectionOutput: z.ZodTypeAny;
6
- declare const onenoteGetSection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteGetSectionInput: z.ZodObject<{
5
+ expand: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
+ section_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const OnenoteGetSectionOutput: z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$loose>>>;
16
+ oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>>>;
19
+ }, z.core.$loose>>>;
20
+ pagesUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
+ user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>>;
26
+ device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, z.core.$loose>>>;
30
+ application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ }, z.core.$loose>>>;
34
+ }, z.core.$loose>>>;
35
+ isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
36
+ "@odata.etag": z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ "@odata.context": z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ lastModifiedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
+ user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
41
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ }, z.core.$loose>>>;
44
+ device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ }, z.core.$loose>>>;
48
+ application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ }, z.core.$loose>>>;
52
+ }, z.core.$loose>>>;
53
+ parentNotebook: z.ZodOptional<z.ZodNullable<z.ZodObject<{
54
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ }, z.core.$loose>>>;
58
+ createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ parentSectionGroup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
60
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ }, z.core.$loose>>>;
64
+ lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ }, z.core.$loose>;
66
+ declare const onenoteGetSection: import("@keystrokehq/action").WorkflowActionDefinition<{
67
+ section_id: string;
68
+ expand?: string[] | undefined;
69
+ select?: string[] | undefined;
70
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
71
  //#endregion
8
72
  export { onenoteGetSection };
9
73
  //# sourceMappingURL=get-section.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-section.d.mts","names":[],"sources":["../../src/actions/get-section.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAI0C;AAAA,cA2BpE,uBAAA,EAAyB,CAAA,CAAE,UAeuB;AAAA,cAElD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-section.d.mts","names":[],"sources":["../../src/actions/get-section.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cA+BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiBvB,iBAAA,gCAAiB,wBAAA"}
@@ -6,30 +6,30 @@ const OnenoteGetSectionInput = z.object({
6
6
  select: z.array(z.string()).describe("List of section properties to include in the response. Valid values include: id, self, createdDateTime, displayName, createdBy, lastModifiedBy, lastModifiedDateTime, isDefault, links, pagesUrl, parentNotebook, parentSectionGroup.").optional(),
7
7
  section_id: z.string().describe("The unique identifier of the OneNote section to retrieve.")
8
8
  }).describe("Request model for retrieving a specific OneNote section by its ID.");
9
- const OnenoteGetSection_ExternalLinkSchema = z.object({ href: z.string().describe("The URL of the link.").nullable().optional() }).describe("Represents a URL that opens a OneNote page or notebook.");
9
+ const OnenoteGetSection_ExternalLinkSchema = z.object({ href: z.string().describe("The URL of the link.").nullable().optional() }).passthrough().describe("Represents a URL that opens a OneNote page or notebook.");
10
10
  const OnenoteGetSection_SectionLinksSchema = z.object({
11
11
  oneNoteWebUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),
12
12
  oneNoteClientUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional()
13
- }).describe("Links for opening a OneNote section.");
13
+ }).passthrough().describe("Links for opening a OneNote section.");
14
14
  const OnenoteGetSection_IdentitySchema = z.object({
15
15
  id: z.string().describe("Unique identifier for the identity.").nullable().optional(),
16
16
  displayName: z.string().describe("The display name of the identity.").nullable().optional()
17
- }).describe("Represents an identity of an actor (user, device, or application).");
17
+ }).passthrough().describe("Represents an identity of an actor (user, device, or application).");
18
18
  const OnenoteGetSection_IdentitySetSchema = z.object({
19
19
  user: OnenoteGetSection_IdentitySchema.nullable().optional(),
20
20
  device: OnenoteGetSection_IdentitySchema.nullable().optional(),
21
21
  application: OnenoteGetSection_IdentitySchema.nullable().optional()
22
- }).describe("Represents a keyed collection of identity resources.");
22
+ }).passthrough().describe("Represents a keyed collection of identity resources.");
23
23
  const OnenoteGetSection_ParentNotebookSchema = z.object({
24
24
  id: z.string().describe("The unique identifier of the notebook.").nullable().optional(),
25
25
  self: z.string().describe("The endpoint where you can get details about the notebook.").nullable().optional(),
26
26
  displayName: z.string().describe("The name of the notebook.").nullable().optional()
27
- }).describe("The notebook that contains the section.");
27
+ }).passthrough().describe("The notebook that contains the section.");
28
28
  const OnenoteGetSection_ParentSectionGroupSchema = z.object({
29
29
  id: z.string().describe("The unique identifier of the section group.").nullable().optional(),
30
30
  self: z.string().describe("The endpoint where you can get details about the section group.").nullable().optional(),
31
31
  displayName: z.string().describe("The name of the section group.").nullable().optional()
32
- }).describe("The section group that contains the section.");
32
+ }).passthrough().describe("The section group that contains the section.");
33
33
  const onenoteGetSection = action("ONENOTE_GET_SECTION", {
34
34
  slug: "onenote-get-section",
35
35
  name: "Get a OneNote section by ID",
@@ -50,7 +50,7 @@ const onenoteGetSection = action("ONENOTE_GET_SECTION", {
50
50
  createdDateTime: z.string().describe("The date and time when the section was created. ISO 8601 format in UTC time.").nullable().optional(),
51
51
  parentSectionGroup: OnenoteGetSection_ParentSectionGroupSchema.nullable().optional(),
52
52
  lastModifiedDateTime: z.string().describe("The date and time when the section was last modified. ISO 8601 format in UTC time.").nullable().optional()
53
- }).describe("Response model for retrieving a OneNote section.")
53
+ }).passthrough().describe("Response model for retrieving a OneNote section.")
54
54
  });
55
55
  //#endregion
56
56
  export { onenoteGetSection };
@@ -1 +1 @@
1
- {"version":3,"file":"get-section.mjs","names":[],"sources":["../../src/actions/get-section.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetSectionInput: z.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,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC7F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,uCAAqD,EAAE,OAAO,EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,uCAAqD,EAAE,OAAO;CAClE,eAAe,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACxE,kBAAkB,qCAAqC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,mCAAiD,EAAE,OAAO;CAC9D,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CAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,OAAO,qCAAqC,SAAS,CAAC,CAAC,SAAS;EAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,WAAW,oCAAoC,SAAS,CAAC,CAAC,SAAS;EACnE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,gBAAgB,oCAAoC,SAAS,CAAC,CAAC,SAAS;EACxE,gBAAgB,uCAAuC,SAAS,CAAC,CAAC,SAAS;EAC3E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,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"}
1
+ {"version":3,"file":"get-section.mjs","names":[],"sources":["../../src/actions/get-section.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteGetSectionInput = z.object({\n expand: z.array(z.string()).describe(\"List of relationships to expand inline in the response. Valid values: parentNotebook, parentSectionGroup.\").optional(),\n select: z.array(z.string()).describe(\"List of section properties to include in the response. Valid values include: id, self, createdDateTime, displayName, createdBy, lastModifiedBy, lastModifiedDateTime, isDefault, links, pagesUrl, parentNotebook, parentSectionGroup.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to retrieve.\"),\n}).describe(\"Request model for retrieving a specific OneNote section by its ID.\");\nconst OnenoteGetSection_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page or notebook.\");\nconst OnenoteGetSection_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteGetSection_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteGetSection_IdentitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).passthrough().describe(\"Represents an identity of an actor (user, device, or application).\");\nconst OnenoteGetSection_IdentitySetSchema = z.object({\n user: OnenoteGetSection_IdentitySchema.nullable().optional(),\n device: OnenoteGetSection_IdentitySchema.nullable().optional(),\n application: OnenoteGetSection_IdentitySchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources.\");\nconst OnenoteGetSection_ParentNotebookSchema = z.object({\n id: z.string().describe(\"The unique identifier of the notebook.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the notebook.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n}).passthrough().describe(\"The notebook that contains the section.\");\nconst OnenoteGetSection_ParentSectionGroupSchema = z.object({\n id: z.string().describe(\"The unique identifier of the section group.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section group.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section group.\").nullable().optional(),\n}).passthrough().describe(\"The section group that contains the section.\");\nexport const OnenoteGetSectionOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section.\").nullable().optional(),\n links: OnenoteGetSection_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint where you can get details for all the pages in the section.\").nullable().optional(),\n createdBy: OnenoteGetSection_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section.\").nullable().optional(),\n \"@odata.etag\": z.string().describe(\"The OData ETag.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n lastModifiedBy: OnenoteGetSection_IdentitySetSchema.nullable().optional(),\n parentNotebook: OnenoteGetSection_ParentNotebookSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. ISO 8601 format in UTC time.\").nullable().optional(),\n parentSectionGroup: OnenoteGetSection_ParentSectionGroupSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. ISO 8601 format in UTC time.\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a OneNote section.\");\n\nexport const onenoteGetSection = action(\"ONENOTE_GET_SECTION\", {\n slug: \"onenote-get-section\",\n name: \"Get a OneNote section by ID\",\n description: \"Retrieves a specific OneNote section by its ID from the current user's OneNote. Use this action when you need to fetch metadata or details for a single OneNote section by specifying only the section ID, without requiring additional context like group, user, or site IDs. This action supports OData query parameters for selecting specific properties and expanding relationships like parentNotebook or parentSectionGroup.\",\n input: OnenoteGetSectionInput,\n output: OnenoteGetSectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC3J,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uOAAuO,CAAC,CAA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F,gBAAgB,oCAAoC,SAAS,CAAC,CAAC,SAAS;EACxE,gBAAgB,uCAAuC,SAAS,CAAC,CAAC,SAAS;EAC3E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,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,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -8,19 +8,19 @@ const OnenoteGetSiteOnenotePagesInput = zod.z.object({
8
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
9
  }).describe("Request model for getting a specific OneNote page from a SharePoint site.");
10
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.");
11
+ oneNoteWebUrl: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Link to open the page in OneNote on the web.").nullable().optional(),
12
+ oneNoteClientUrl: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Link to open the page in the OneNote native client.").nullable().optional()
13
+ }).passthrough().describe("Links for opening the OneNote page in client or web.");
14
14
  const OnenoteGetSiteOnenotePages_SiteGetPageParentSectionSchema = zod.z.object({
15
15
  id: zod.z.string().describe("The unique identifier of the section.").nullable().optional(),
16
16
  self: zod.z.string().describe("The endpoint for details about the section.").nullable().optional(),
17
17
  displayName: zod.z.string().describe("The name of the section.").nullable().optional()
18
- }).describe("The section that contains the page (expanded relationship).");
18
+ }).passthrough().describe("The section that contains the page (expanded relationship).");
19
19
  const OnenoteGetSiteOnenotePages_SiteGetPageParentNotebookSchema = zod.z.object({
20
20
  id: zod.z.string().describe("The unique identifier of the notebook.").nullable().optional(),
21
21
  self: zod.z.string().describe("The endpoint for details about the notebook.").nullable().optional(),
22
22
  displayName: zod.z.string().describe("The name of the notebook.").nullable().optional()
23
- }).describe("The notebook that contains the page (expanded relationship).");
23
+ }).passthrough().describe("The notebook that contains the page (expanded relationship).");
24
24
  const OnenoteGetSiteOnenotePagesOutput = zod.z.object({
25
25
  id: zod.z.string().describe("The unique identifier of the page.").nullable().optional(),
26
26
  self: zod.z.string().describe("The endpoint where you can get details about the page.").nullable().optional(),
@@ -36,7 +36,7 @@ const OnenoteGetSiteOnenotePagesOutput = zod.z.object({
36
36
  parentNotebook: OnenoteGetSiteOnenotePages_SiteGetPageParentNotebookSchema.nullable().optional(),
37
37
  createdDateTime: zod.z.string().describe("The date and time when the page was created (UTC).").nullable().optional(),
38
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.");
39
+ }).passthrough().describe("Response model for a single OneNote page retrieved from a SharePoint site.");
40
40
  const onenoteGetSiteOnenotePages = require_action.action("ONENOTE_GET_SITE_ONENOTE_PAGES", {
41
41
  slug: "onenote-get-site-onenote-pages",
42
42
  name: "Get OneNote page from site",
@@ -1 +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,IA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CAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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.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.object({\n oneNoteWebUrl: z.record(z.string(), z.unknown()).describe(\"Link to open the page in OneNote on the web.\").nullable().optional(),\n oneNoteClientUrl: z.record(z.string(), z.unknown()).describe(\"Link to open the page in the OneNote native client.\").nullable().optional(),\n}).passthrough().describe(\"Links for opening the OneNote page in client or web.\");\nconst OnenoteGetSiteOnenotePages_SiteGetPageParentSectionSchema = 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}).passthrough().describe(\"The section that contains the page (expanded relationship).\");\nconst OnenoteGetSiteOnenotePages_SiteGetPageParentNotebookSchema = z.object({\n id: z.string().describe(\"The unique identifier of the notebook.\").nullable().optional(),\n self: z.string().describe(\"The endpoint for details about the notebook.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n}).passthrough().describe(\"The notebook that contains the page (expanded relationship).\");\nexport const OnenoteGetSiteOnenotePagesOutput = 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}).passthrough().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: OnenoteGetSiteOn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AE,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,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,45 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const OnenoteGetSiteOnenotePagesInput: z.ZodObject<{
5
+ expand: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
+ page_id: z.ZodString;
8
+ site_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const OnenoteGetSiteOnenotePagesOutput: z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
+ oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
+ oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17
+ }, z.core.$loose>>>;
18
+ order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ contentUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ parentSection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.core.$loose>>>;
27
+ "@odata.context": z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ createdByAppId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ parentNotebook: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ }, z.core.$loose>>>;
34
+ createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ }, z.core.$loose>;
37
+ declare const onenoteGetSiteOnenotePages: import("@keystrokehq/action").WorkflowActionDefinition<{
38
+ page_id: string;
39
+ site_id: string;
40
+ expand?: string[] | undefined;
41
+ select?: string[] | undefined;
42
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
43
  //#endregion
8
44
  export { onenoteGetSiteOnenotePages };
9
45
  //# sourceMappingURL=get-site-onenote-pages.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-site-onenote-pages.d.cts","names":[],"sources":["../../src/actions/get-site-onenote-pages.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAoB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiBhC,0BAAA,gCAA0B,wBAAA"}