@keystrokehq/onenote 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (602) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/copy-onenote-group-notebook.cjs +24 -0
  7. package/dist/actions/copy-onenote-group-notebook.cjs.map +1 -0
  8. package/dist/actions/copy-onenote-group-notebook.d.cts +9 -0
  9. package/dist/actions/copy-onenote-group-notebook.d.cts.map +1 -0
  10. package/dist/actions/copy-onenote-group-notebook.d.mts +9 -0
  11. package/dist/actions/copy-onenote-group-notebook.d.mts.map +1 -0
  12. package/dist/actions/copy-onenote-group-notebook.mjs +21 -0
  13. package/dist/actions/copy-onenote-group-notebook.mjs.map +1 -0
  14. package/dist/actions/copy-onenote-site-notebook.cjs +25 -0
  15. package/dist/actions/copy-onenote-site-notebook.cjs.map +1 -0
  16. package/dist/actions/copy-onenote-site-notebook.d.cts +9 -0
  17. package/dist/actions/copy-onenote-site-notebook.d.cts.map +1 -0
  18. package/dist/actions/copy-onenote-site-notebook.d.mts +9 -0
  19. package/dist/actions/copy-onenote-site-notebook.d.mts.map +1 -0
  20. package/dist/actions/copy-onenote-site-notebook.mjs +22 -0
  21. package/dist/actions/copy-onenote-site-notebook.mjs.map +1 -0
  22. package/dist/actions/copy-section-to-notebook-for-user2.cjs +27 -0
  23. package/dist/actions/copy-section-to-notebook-for-user2.cjs.map +1 -0
  24. package/dist/actions/copy-section-to-notebook-for-user2.d.cts +9 -0
  25. package/dist/actions/copy-section-to-notebook-for-user2.d.cts.map +1 -0
  26. package/dist/actions/copy-section-to-notebook-for-user2.d.mts +9 -0
  27. package/dist/actions/copy-section-to-notebook-for-user2.d.mts.map +1 -0
  28. package/dist/actions/copy-section-to-notebook-for-user2.mjs +24 -0
  29. package/dist/actions/copy-section-to-notebook-for-user2.mjs.map +1 -0
  30. package/dist/actions/copy-section-to-notebook2.cjs +26 -0
  31. package/dist/actions/copy-section-to-notebook2.cjs.map +1 -0
  32. package/dist/actions/copy-section-to-notebook2.d.cts +9 -0
  33. package/dist/actions/copy-section-to-notebook2.d.cts.map +1 -0
  34. package/dist/actions/copy-section-to-notebook2.d.mts +9 -0
  35. package/dist/actions/copy-section-to-notebook2.d.mts.map +1 -0
  36. package/dist/actions/copy-section-to-notebook2.mjs +23 -0
  37. package/dist/actions/copy-section-to-notebook2.mjs.map +1 -0
  38. package/dist/actions/copy-section-to-section-group-for-user.cjs +26 -0
  39. package/dist/actions/copy-section-to-section-group-for-user.cjs.map +1 -0
  40. package/dist/actions/copy-section-to-section-group-for-user.d.cts +9 -0
  41. package/dist/actions/copy-section-to-section-group-for-user.d.cts.map +1 -0
  42. package/dist/actions/copy-section-to-section-group-for-user.d.mts +9 -0
  43. package/dist/actions/copy-section-to-section-group-for-user.d.mts.map +1 -0
  44. package/dist/actions/copy-section-to-section-group-for-user.mjs +23 -0
  45. package/dist/actions/copy-section-to-section-group-for-user.mjs.map +1 -0
  46. package/dist/actions/copy-section-to-section-group.cjs +25 -0
  47. package/dist/actions/copy-section-to-section-group.cjs.map +1 -0
  48. package/dist/actions/copy-section-to-section-group.d.cts +9 -0
  49. package/dist/actions/copy-section-to-section-group.d.cts.map +1 -0
  50. package/dist/actions/copy-section-to-section-group.d.mts +9 -0
  51. package/dist/actions/copy-section-to-section-group.d.mts.map +1 -0
  52. package/dist/actions/copy-section-to-section-group.mjs +22 -0
  53. package/dist/actions/copy-section-to-section-group.mjs.map +1 -0
  54. package/dist/actions/copy-site-page-to-section3.cjs +26 -0
  55. package/dist/actions/copy-site-page-to-section3.cjs.map +1 -0
  56. package/dist/actions/copy-site-page-to-section3.d.cts +9 -0
  57. package/dist/actions/copy-site-page-to-section3.d.cts.map +1 -0
  58. package/dist/actions/copy-site-page-to-section3.d.mts +9 -0
  59. package/dist/actions/copy-site-page-to-section3.d.mts.map +1 -0
  60. package/dist/actions/copy-site-page-to-section3.mjs +23 -0
  61. package/dist/actions/copy-site-page-to-section3.mjs.map +1 -0
  62. package/dist/actions/copy-user-page-to-section.cjs +24 -0
  63. package/dist/actions/copy-user-page-to-section.cjs.map +1 -0
  64. package/dist/actions/copy-user-page-to-section.d.cts +9 -0
  65. package/dist/actions/copy-user-page-to-section.d.cts.map +1 -0
  66. package/dist/actions/copy-user-page-to-section.d.mts +9 -0
  67. package/dist/actions/copy-user-page-to-section.d.mts.map +1 -0
  68. package/dist/actions/copy-user-page-to-section.mjs +21 -0
  69. package/dist/actions/copy-user-page-to-section.mjs.map +1 -0
  70. package/dist/actions/count-notebooks-section-groups-sections.cjs +19 -0
  71. package/dist/actions/count-notebooks-section-groups-sections.cjs.map +1 -0
  72. package/dist/actions/count-notebooks-section-groups-sections.d.cts +9 -0
  73. package/dist/actions/count-notebooks-section-groups-sections.d.cts.map +1 -0
  74. package/dist/actions/count-notebooks-section-groups-sections.d.mts +9 -0
  75. package/dist/actions/count-notebooks-section-groups-sections.d.mts.map +1 -0
  76. package/dist/actions/count-notebooks-section-groups-sections.mjs +16 -0
  77. package/dist/actions/count-notebooks-section-groups-sections.mjs.map +1 -0
  78. package/dist/actions/count-site-notebook-section-groups-sections.cjs +20 -0
  79. package/dist/actions/count-site-notebook-section-groups-sections.cjs.map +1 -0
  80. package/dist/actions/count-site-notebook-section-groups-sections.d.cts +9 -0
  81. package/dist/actions/count-site-notebook-section-groups-sections.d.cts.map +1 -0
  82. package/dist/actions/count-site-notebook-section-groups-sections.d.mts +9 -0
  83. package/dist/actions/count-site-notebook-section-groups-sections.d.mts.map +1 -0
  84. package/dist/actions/count-site-notebook-section-groups-sections.mjs +17 -0
  85. package/dist/actions/count-site-notebook-section-groups-sections.mjs.map +1 -0
  86. package/dist/actions/create-group-notebook.cjs +47 -0
  87. package/dist/actions/create-group-notebook.cjs.map +1 -0
  88. package/dist/actions/create-group-notebook.d.cts +9 -0
  89. package/dist/actions/create-group-notebook.d.cts.map +1 -0
  90. package/dist/actions/create-group-notebook.d.mts +9 -0
  91. package/dist/actions/create-group-notebook.d.mts.map +1 -0
  92. package/dist/actions/create-group-notebook.mjs +46 -0
  93. package/dist/actions/create-group-notebook.mjs.map +1 -0
  94. package/dist/actions/create-group-pages.cjs +37 -0
  95. package/dist/actions/create-group-pages.cjs.map +1 -0
  96. package/dist/actions/create-group-pages.d.cts +9 -0
  97. package/dist/actions/create-group-pages.d.cts.map +1 -0
  98. package/dist/actions/create-group-pages.d.mts +9 -0
  99. package/dist/actions/create-group-pages.d.mts.map +1 -0
  100. package/dist/actions/create-group-pages.mjs +36 -0
  101. package/dist/actions/create-group-pages.mjs.map +1 -0
  102. package/dist/actions/create-group-section-groups-sections.cjs +53 -0
  103. package/dist/actions/create-group-section-groups-sections.cjs.map +1 -0
  104. package/dist/actions/create-group-section-groups-sections.d.cts +9 -0
  105. package/dist/actions/create-group-section-groups-sections.d.cts.map +1 -0
  106. package/dist/actions/create-group-section-groups-sections.d.mts +9 -0
  107. package/dist/actions/create-group-section-groups-sections.d.mts.map +1 -0
  108. package/dist/actions/create-group-section-groups-sections.mjs +52 -0
  109. package/dist/actions/create-group-section-groups-sections.mjs.map +1 -0
  110. package/dist/actions/create-me-notebooks.cjs +44 -0
  111. package/dist/actions/create-me-notebooks.cjs.map +1 -0
  112. package/dist/actions/create-me-notebooks.d.cts +9 -0
  113. package/dist/actions/create-me-notebooks.d.cts.map +1 -0
  114. package/dist/actions/create-me-notebooks.d.mts +9 -0
  115. package/dist/actions/create-me-notebooks.d.mts.map +1 -0
  116. package/dist/actions/create-me-notebooks.mjs +43 -0
  117. package/dist/actions/create-me-notebooks.mjs.map +1 -0
  118. package/dist/actions/create-me-section-groups-sections.cjs +52 -0
  119. package/dist/actions/create-me-section-groups-sections.cjs.map +1 -0
  120. package/dist/actions/create-me-section-groups-sections.d.cts +9 -0
  121. package/dist/actions/create-me-section-groups-sections.d.cts.map +1 -0
  122. package/dist/actions/create-me-section-groups-sections.d.mts +9 -0
  123. package/dist/actions/create-me-section-groups-sections.d.mts.map +1 -0
  124. package/dist/actions/create-me-section-groups-sections.mjs +51 -0
  125. package/dist/actions/create-me-section-groups-sections.mjs.map +1 -0
  126. package/dist/actions/create-me-sections-pages.cjs +37 -0
  127. package/dist/actions/create-me-sections-pages.cjs.map +1 -0
  128. package/dist/actions/create-me-sections-pages.d.cts +9 -0
  129. package/dist/actions/create-me-sections-pages.d.cts.map +1 -0
  130. package/dist/actions/create-me-sections-pages.d.mts +9 -0
  131. package/dist/actions/create-me-sections-pages.d.mts.map +1 -0
  132. package/dist/actions/create-me-sections-pages.mjs +36 -0
  133. package/dist/actions/create-me-sections-pages.mjs.map +1 -0
  134. package/dist/actions/create-onenote-group-notebooks-section-groups.cjs +39 -0
  135. package/dist/actions/create-onenote-group-notebooks-section-groups.cjs.map +1 -0
  136. package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts +9 -0
  137. package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts.map +1 -0
  138. package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts +9 -0
  139. package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts.map +1 -0
  140. package/dist/actions/create-onenote-group-notebooks-section-groups.mjs +38 -0
  141. package/dist/actions/create-onenote-group-notebooks-section-groups.mjs.map +1 -0
  142. package/dist/actions/create-site-notebooks-sections.cjs +53 -0
  143. package/dist/actions/create-site-notebooks-sections.cjs.map +1 -0
  144. package/dist/actions/create-site-notebooks-sections.d.cts +9 -0
  145. package/dist/actions/create-site-notebooks-sections.d.cts.map +1 -0
  146. package/dist/actions/create-site-notebooks-sections.d.mts +9 -0
  147. package/dist/actions/create-site-notebooks-sections.d.mts.map +1 -0
  148. package/dist/actions/create-site-notebooks-sections.mjs +52 -0
  149. package/dist/actions/create-site-notebooks-sections.mjs.map +1 -0
  150. package/dist/actions/create-user-notebooks-sections.cjs +53 -0
  151. package/dist/actions/create-user-notebooks-sections.cjs.map +1 -0
  152. package/dist/actions/create-user-notebooks-sections.d.cts +9 -0
  153. package/dist/actions/create-user-notebooks-sections.d.cts.map +1 -0
  154. package/dist/actions/create-user-notebooks-sections.d.mts +9 -0
  155. package/dist/actions/create-user-notebooks-sections.d.mts.map +1 -0
  156. package/dist/actions/create-user-notebooks-sections.mjs +52 -0
  157. package/dist/actions/create-user-notebooks-sections.mjs.map +1 -0
  158. package/dist/actions/create-user-pages.cjs +37 -0
  159. package/dist/actions/create-user-pages.cjs.map +1 -0
  160. package/dist/actions/create-user-pages.d.cts +9 -0
  161. package/dist/actions/create-user-pages.d.cts.map +1 -0
  162. package/dist/actions/create-user-pages.d.mts +9 -0
  163. package/dist/actions/create-user-pages.d.mts.map +1 -0
  164. package/dist/actions/create-user-pages.mjs +36 -0
  165. package/dist/actions/create-user-pages.mjs.map +1 -0
  166. package/dist/actions/create-user-section-groups-sections.cjs +53 -0
  167. package/dist/actions/create-user-section-groups-sections.cjs.map +1 -0
  168. package/dist/actions/create-user-section-groups-sections.d.cts +9 -0
  169. package/dist/actions/create-user-section-groups-sections.d.cts.map +1 -0
  170. package/dist/actions/create-user-section-groups-sections.d.mts +9 -0
  171. package/dist/actions/create-user-section-groups-sections.d.mts.map +1 -0
  172. package/dist/actions/create-user-section-groups-sections.mjs +52 -0
  173. package/dist/actions/create-user-section-groups-sections.mjs.map +1 -0
  174. package/dist/actions/create-user-sections-pages4.cjs +38 -0
  175. package/dist/actions/create-user-sections-pages4.cjs.map +1 -0
  176. package/dist/actions/create-user-sections-pages4.d.cts +9 -0
  177. package/dist/actions/create-user-sections-pages4.d.cts.map +1 -0
  178. package/dist/actions/create-user-sections-pages4.d.mts +9 -0
  179. package/dist/actions/create-user-sections-pages4.d.mts.map +1 -0
  180. package/dist/actions/create-user-sections-pages4.mjs +37 -0
  181. package/dist/actions/create-user-sections-pages4.mjs.map +1 -0
  182. package/dist/actions/delete-onenote-group-section-group-page-content.cjs +24 -0
  183. package/dist/actions/delete-onenote-group-section-group-page-content.cjs.map +1 -0
  184. package/dist/actions/delete-onenote-group-section-group-page-content.d.cts +9 -0
  185. package/dist/actions/delete-onenote-group-section-group-page-content.d.cts.map +1 -0
  186. package/dist/actions/delete-onenote-group-section-group-page-content.d.mts +9 -0
  187. package/dist/actions/delete-onenote-group-section-group-page-content.d.mts.map +1 -0
  188. package/dist/actions/delete-onenote-group-section-group-page-content.mjs +21 -0
  189. package/dist/actions/delete-onenote-group-section-group-page-content.mjs.map +1 -0
  190. package/dist/actions/delete-onenote-group-sections-pages2.cjs +24 -0
  191. package/dist/actions/delete-onenote-group-sections-pages2.cjs.map +1 -0
  192. package/dist/actions/delete-onenote-group-sections-pages2.d.cts +9 -0
  193. package/dist/actions/delete-onenote-group-sections-pages2.d.cts.map +1 -0
  194. package/dist/actions/delete-onenote-group-sections-pages2.d.mts +9 -0
  195. package/dist/actions/delete-onenote-group-sections-pages2.d.mts.map +1 -0
  196. package/dist/actions/delete-onenote-group-sections-pages2.mjs +21 -0
  197. package/dist/actions/delete-onenote-group-sections-pages2.mjs.map +1 -0
  198. package/dist/actions/delete-site-pages.cjs +22 -0
  199. package/dist/actions/delete-site-pages.cjs.map +1 -0
  200. package/dist/actions/delete-site-pages.d.cts +9 -0
  201. package/dist/actions/delete-site-pages.d.cts.map +1 -0
  202. package/dist/actions/delete-site-pages.d.mts +9 -0
  203. package/dist/actions/delete-site-pages.d.mts.map +1 -0
  204. package/dist/actions/delete-site-pages.mjs +19 -0
  205. package/dist/actions/delete-site-pages.mjs.map +1 -0
  206. package/dist/actions/delete-user-onenote-sections-pages.cjs +25 -0
  207. package/dist/actions/delete-user-onenote-sections-pages.cjs.map +1 -0
  208. package/dist/actions/delete-user-onenote-sections-pages.d.cts +9 -0
  209. package/dist/actions/delete-user-onenote-sections-pages.d.cts.map +1 -0
  210. package/dist/actions/delete-user-onenote-sections-pages.d.mts +9 -0
  211. package/dist/actions/delete-user-onenote-sections-pages.d.mts.map +1 -0
  212. package/dist/actions/delete-user-onenote-sections-pages.mjs +22 -0
  213. package/dist/actions/delete-user-onenote-sections-pages.mjs.map +1 -0
  214. package/dist/actions/delete-user-pages.cjs +22 -0
  215. package/dist/actions/delete-user-pages.cjs.map +1 -0
  216. package/dist/actions/delete-user-pages.d.cts +9 -0
  217. package/dist/actions/delete-user-pages.d.cts.map +1 -0
  218. package/dist/actions/delete-user-pages.d.mts +9 -0
  219. package/dist/actions/delete-user-pages.d.mts.map +1 -0
  220. package/dist/actions/delete-user-pages.mjs +19 -0
  221. package/dist/actions/delete-user-pages.mjs.map +1 -0
  222. package/dist/actions/get-group-sections.cjs +68 -0
  223. package/dist/actions/get-group-sections.cjs.map +1 -0
  224. package/dist/actions/get-group-sections.d.cts +9 -0
  225. package/dist/actions/get-group-sections.d.cts.map +1 -0
  226. package/dist/actions/get-group-sections.d.mts +9 -0
  227. package/dist/actions/get-group-sections.d.mts.map +1 -0
  228. package/dist/actions/get-group-sections.mjs +67 -0
  229. package/dist/actions/get-group-sections.mjs.map +1 -0
  230. package/dist/actions/get-me-onenote-resources-value.cjs +21 -0
  231. package/dist/actions/get-me-onenote-resources-value.cjs.map +1 -0
  232. package/dist/actions/get-me-onenote-resources-value.d.cts +9 -0
  233. package/dist/actions/get-me-onenote-resources-value.d.cts.map +1 -0
  234. package/dist/actions/get-me-onenote-resources-value.d.mts +9 -0
  235. package/dist/actions/get-me-onenote-resources-value.d.mts.map +1 -0
  236. package/dist/actions/get-me-onenote-resources-value.mjs +18 -0
  237. package/dist/actions/get-me-onenote-resources-value.mjs.map +1 -0
  238. package/dist/actions/get-me-section-page-content.cjs +23 -0
  239. package/dist/actions/get-me-section-page-content.cjs.map +1 -0
  240. package/dist/actions/get-me-section-page-content.d.cts +9 -0
  241. package/dist/actions/get-me-section-page-content.d.cts.map +1 -0
  242. package/dist/actions/get-me-section-page-content.d.mts +9 -0
  243. package/dist/actions/get-me-section-page-content.d.mts.map +1 -0
  244. package/dist/actions/get-me-section-page-content.mjs +20 -0
  245. package/dist/actions/get-me-section-page-content.mjs.map +1 -0
  246. package/dist/actions/get-notebook-from-web-url.cjs +48 -0
  247. package/dist/actions/get-notebook-from-web-url.cjs.map +1 -0
  248. package/dist/actions/get-notebook-from-web-url.d.cts +9 -0
  249. package/dist/actions/get-notebook-from-web-url.d.cts.map +1 -0
  250. package/dist/actions/get-notebook-from-web-url.d.mts +9 -0
  251. package/dist/actions/get-notebook-from-web-url.d.mts.map +1 -0
  252. package/dist/actions/get-notebook-from-web-url.mjs +47 -0
  253. package/dist/actions/get-notebook-from-web-url.mjs.map +1 -0
  254. package/dist/actions/get-notebook-section-group.cjs +40 -0
  255. package/dist/actions/get-notebook-section-group.cjs.map +1 -0
  256. package/dist/actions/get-notebook-section-group.d.cts +9 -0
  257. package/dist/actions/get-notebook-section-group.d.cts.map +1 -0
  258. package/dist/actions/get-notebook-section-group.d.mts +9 -0
  259. package/dist/actions/get-notebook-section-group.d.mts.map +1 -0
  260. package/dist/actions/get-notebook-section-group.mjs +39 -0
  261. package/dist/actions/get-notebook-section-group.mjs.map +1 -0
  262. package/dist/actions/get-onenote-group-operations.cjs +38 -0
  263. package/dist/actions/get-onenote-group-operations.cjs.map +1 -0
  264. package/dist/actions/get-onenote-group-operations.d.cts +9 -0
  265. package/dist/actions/get-onenote-group-operations.d.cts.map +1 -0
  266. package/dist/actions/get-onenote-group-operations.d.mts +9 -0
  267. package/dist/actions/get-onenote-group-operations.d.mts.map +1 -0
  268. package/dist/actions/get-onenote-group-operations.mjs +37 -0
  269. package/dist/actions/get-onenote-group-operations.mjs.map +1 -0
  270. package/dist/actions/get-onenote-group-sections-pages.cjs +56 -0
  271. package/dist/actions/get-onenote-group-sections-pages.cjs.map +1 -0
  272. package/dist/actions/get-onenote-group-sections-pages.d.cts +9 -0
  273. package/dist/actions/get-onenote-group-sections-pages.d.cts.map +1 -0
  274. package/dist/actions/get-onenote-group-sections-pages.d.mts +9 -0
  275. package/dist/actions/get-onenote-group-sections-pages.d.mts.map +1 -0
  276. package/dist/actions/get-onenote-group-sections-pages.mjs +55 -0
  277. package/dist/actions/get-onenote-group-sections-pages.mjs.map +1 -0
  278. package/dist/actions/get-onenote-site-operations.cjs +38 -0
  279. package/dist/actions/get-onenote-site-operations.cjs.map +1 -0
  280. package/dist/actions/get-onenote-site-operations.d.cts +9 -0
  281. package/dist/actions/get-onenote-site-operations.d.cts.map +1 -0
  282. package/dist/actions/get-onenote-site-operations.d.mts +9 -0
  283. package/dist/actions/get-onenote-site-operations.d.mts.map +1 -0
  284. package/dist/actions/get-onenote-site-operations.mjs +37 -0
  285. package/dist/actions/get-onenote-site-operations.mjs.map +1 -0
  286. package/dist/actions/get-onenote-user-page-content.cjs +36 -0
  287. package/dist/actions/get-onenote-user-page-content.cjs.map +1 -0
  288. package/dist/actions/get-onenote-user-page-content.d.cts +9 -0
  289. package/dist/actions/get-onenote-user-page-content.d.cts.map +1 -0
  290. package/dist/actions/get-onenote-user-page-content.d.mts +9 -0
  291. package/dist/actions/get-onenote-user-page-content.d.mts.map +1 -0
  292. package/dist/actions/get-onenote-user-page-content.mjs +35 -0
  293. package/dist/actions/get-onenote-user-page-content.mjs.map +1 -0
  294. package/dist/actions/get-page.cjs +52 -0
  295. package/dist/actions/get-page.cjs.map +1 -0
  296. package/dist/actions/get-page.d.cts +9 -0
  297. package/dist/actions/get-page.d.cts.map +1 -0
  298. package/dist/actions/get-page.d.mts +9 -0
  299. package/dist/actions/get-page.d.mts.map +1 -0
  300. package/dist/actions/get-page.mjs +51 -0
  301. package/dist/actions/get-page.mjs.map +1 -0
  302. package/dist/actions/get-recent-notebooks.cjs +37 -0
  303. package/dist/actions/get-recent-notebooks.cjs.map +1 -0
  304. package/dist/actions/get-recent-notebooks.d.cts +9 -0
  305. package/dist/actions/get-recent-notebooks.d.cts.map +1 -0
  306. package/dist/actions/get-recent-notebooks.d.mts +9 -0
  307. package/dist/actions/get-recent-notebooks.d.mts.map +1 -0
  308. package/dist/actions/get-recent-notebooks.mjs +36 -0
  309. package/dist/actions/get-recent-notebooks.mjs.map +1 -0
  310. package/dist/actions/get-section.cjs +59 -0
  311. package/dist/actions/get-section.cjs.map +1 -0
  312. package/dist/actions/get-section.d.cts +9 -0
  313. package/dist/actions/get-section.d.cts.map +1 -0
  314. package/dist/actions/get-section.d.mts +9 -0
  315. package/dist/actions/get-section.d.mts.map +1 -0
  316. package/dist/actions/get-section.mjs +58 -0
  317. package/dist/actions/get-section.mjs.map +1 -0
  318. package/dist/actions/get-site-onenote-pages.cjs +50 -0
  319. package/dist/actions/get-site-onenote-pages.cjs.map +1 -0
  320. package/dist/actions/get-site-onenote-pages.d.cts +9 -0
  321. package/dist/actions/get-site-onenote-pages.d.cts.map +1 -0
  322. package/dist/actions/get-site-onenote-pages.d.mts +9 -0
  323. package/dist/actions/get-site-onenote-pages.d.mts.map +1 -0
  324. package/dist/actions/get-site-onenote-pages.mjs +49 -0
  325. package/dist/actions/get-site-onenote-pages.mjs.map +1 -0
  326. package/dist/actions/get-site-pages-preview.cjs +22 -0
  327. package/dist/actions/get-site-pages-preview.cjs.map +1 -0
  328. package/dist/actions/get-site-pages-preview.d.cts +9 -0
  329. package/dist/actions/get-site-pages-preview.d.cts.map +1 -0
  330. package/dist/actions/get-site-pages-preview.d.mts +9 -0
  331. package/dist/actions/get-site-pages-preview.d.mts.map +1 -0
  332. package/dist/actions/get-site-pages-preview.mjs +19 -0
  333. package/dist/actions/get-site-pages-preview.mjs.map +1 -0
  334. package/dist/actions/get-site-sections-pages.cjs +56 -0
  335. package/dist/actions/get-site-sections-pages.cjs.map +1 -0
  336. package/dist/actions/get-site-sections-pages.d.cts +9 -0
  337. package/dist/actions/get-site-sections-pages.d.cts.map +1 -0
  338. package/dist/actions/get-site-sections-pages.d.mts +9 -0
  339. package/dist/actions/get-site-sections-pages.d.mts.map +1 -0
  340. package/dist/actions/get-site-sections-pages.mjs +55 -0
  341. package/dist/actions/get-site-sections-pages.mjs.map +1 -0
  342. package/dist/actions/get-site-sections.cjs +68 -0
  343. package/dist/actions/get-site-sections.cjs.map +1 -0
  344. package/dist/actions/get-site-sections.d.cts +9 -0
  345. package/dist/actions/get-site-sections.d.cts.map +1 -0
  346. package/dist/actions/get-site-sections.d.mts +9 -0
  347. package/dist/actions/get-site-sections.d.mts.map +1 -0
  348. package/dist/actions/get-site-sections.mjs +67 -0
  349. package/dist/actions/get-site-sections.mjs.map +1 -0
  350. package/dist/actions/get-user-notebook.cjs +64 -0
  351. package/dist/actions/get-user-notebook.cjs.map +1 -0
  352. package/dist/actions/get-user-notebook.d.cts +9 -0
  353. package/dist/actions/get-user-notebook.d.cts.map +1 -0
  354. package/dist/actions/get-user-notebook.d.mts +9 -0
  355. package/dist/actions/get-user-notebook.d.mts.map +1 -0
  356. package/dist/actions/get-user-notebook.mjs +63 -0
  357. package/dist/actions/get-user-notebook.mjs.map +1 -0
  358. package/dist/actions/get-user-pages.cjs +53 -0
  359. package/dist/actions/get-user-pages.cjs.map +1 -0
  360. package/dist/actions/get-user-pages.d.cts +9 -0
  361. package/dist/actions/get-user-pages.d.cts.map +1 -0
  362. package/dist/actions/get-user-pages.d.mts +9 -0
  363. package/dist/actions/get-user-pages.d.mts.map +1 -0
  364. package/dist/actions/get-user-pages.mjs +52 -0
  365. package/dist/actions/get-user-pages.mjs.map +1 -0
  366. package/dist/actions/get-user-parent-section-group2.cjs +42 -0
  367. package/dist/actions/get-user-parent-section-group2.cjs.map +1 -0
  368. package/dist/actions/get-user-parent-section-group2.d.cts +9 -0
  369. package/dist/actions/get-user-parent-section-group2.d.cts.map +1 -0
  370. package/dist/actions/get-user-parent-section-group2.d.mts +9 -0
  371. package/dist/actions/get-user-parent-section-group2.d.mts.map +1 -0
  372. package/dist/actions/get-user-parent-section-group2.mjs +41 -0
  373. package/dist/actions/get-user-parent-section-group2.mjs.map +1 -0
  374. package/dist/actions/index.cjs +143 -0
  375. package/dist/actions/index.d.cts +72 -0
  376. package/dist/actions/index.d.mts +72 -0
  377. package/dist/actions/index.mjs +72 -0
  378. package/dist/actions/list-group-notebook-section-groups.cjs +52 -0
  379. package/dist/actions/list-group-notebook-section-groups.cjs.map +1 -0
  380. package/dist/actions/list-group-notebook-section-groups.d.cts +9 -0
  381. package/dist/actions/list-group-notebook-section-groups.d.cts.map +1 -0
  382. package/dist/actions/list-group-notebook-section-groups.d.mts +9 -0
  383. package/dist/actions/list-group-notebook-section-groups.d.mts.map +1 -0
  384. package/dist/actions/list-group-notebook-section-groups.mjs +51 -0
  385. package/dist/actions/list-group-notebook-section-groups.mjs.map +1 -0
  386. package/dist/actions/list-group-notebook-section-pages.cjs +46 -0
  387. package/dist/actions/list-group-notebook-section-pages.cjs.map +1 -0
  388. package/dist/actions/list-group-notebook-section-pages.d.cts +9 -0
  389. package/dist/actions/list-group-notebook-section-pages.d.cts.map +1 -0
  390. package/dist/actions/list-group-notebook-section-pages.d.mts +9 -0
  391. package/dist/actions/list-group-notebook-section-pages.d.mts.map +1 -0
  392. package/dist/actions/list-group-notebook-section-pages.mjs +45 -0
  393. package/dist/actions/list-group-notebook-section-pages.mjs.map +1 -0
  394. package/dist/actions/list-group-notebooks.cjs +65 -0
  395. package/dist/actions/list-group-notebooks.cjs.map +1 -0
  396. package/dist/actions/list-group-notebooks.d.cts +9 -0
  397. package/dist/actions/list-group-notebooks.d.cts.map +1 -0
  398. package/dist/actions/list-group-notebooks.d.mts +9 -0
  399. package/dist/actions/list-group-notebooks.d.mts.map +1 -0
  400. package/dist/actions/list-group-notebooks.mjs +64 -0
  401. package/dist/actions/list-group-notebooks.mjs.map +1 -0
  402. package/dist/actions/list-group-section-groups-sections.cjs +56 -0
  403. package/dist/actions/list-group-section-groups-sections.cjs.map +1 -0
  404. package/dist/actions/list-group-section-groups-sections.d.cts +9 -0
  405. package/dist/actions/list-group-section-groups-sections.d.cts.map +1 -0
  406. package/dist/actions/list-group-section-groups-sections.d.mts +9 -0
  407. package/dist/actions/list-group-section-groups-sections.d.mts.map +1 -0
  408. package/dist/actions/list-group-section-groups-sections.mjs +55 -0
  409. package/dist/actions/list-group-section-groups-sections.mjs.map +1 -0
  410. package/dist/actions/list-joined-teams.cjs +58 -0
  411. package/dist/actions/list-joined-teams.cjs.map +1 -0
  412. package/dist/actions/list-joined-teams.d.cts +9 -0
  413. package/dist/actions/list-joined-teams.d.cts.map +1 -0
  414. package/dist/actions/list-joined-teams.d.mts +9 -0
  415. package/dist/actions/list-joined-teams.d.mts.map +1 -0
  416. package/dist/actions/list-joined-teams.mjs +57 -0
  417. package/dist/actions/list-joined-teams.mjs.map +1 -0
  418. package/dist/actions/list-me-onenote-sections-pages4.cjs +59 -0
  419. package/dist/actions/list-me-onenote-sections-pages4.cjs.map +1 -0
  420. package/dist/actions/list-me-onenote-sections-pages4.d.cts +9 -0
  421. package/dist/actions/list-me-onenote-sections-pages4.d.cts.map +1 -0
  422. package/dist/actions/list-me-onenote-sections-pages4.d.mts +9 -0
  423. package/dist/actions/list-me-onenote-sections-pages4.d.mts.map +1 -0
  424. package/dist/actions/list-me-onenote-sections-pages4.mjs +58 -0
  425. package/dist/actions/list-me-onenote-sections-pages4.mjs.map +1 -0
  426. package/dist/actions/list-onenote-group-pages.cjs +44 -0
  427. package/dist/actions/list-onenote-group-pages.cjs.map +1 -0
  428. package/dist/actions/list-onenote-group-pages.d.cts +9 -0
  429. package/dist/actions/list-onenote-group-pages.d.cts.map +1 -0
  430. package/dist/actions/list-onenote-group-pages.d.mts +9 -0
  431. package/dist/actions/list-onenote-group-pages.d.mts.map +1 -0
  432. package/dist/actions/list-onenote-group-pages.mjs +43 -0
  433. package/dist/actions/list-onenote-group-pages.mjs.map +1 -0
  434. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs +50 -0
  435. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs.map +1 -0
  436. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts +9 -0
  437. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts.map +1 -0
  438. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts +9 -0
  439. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts.map +1 -0
  440. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs +49 -0
  441. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs.map +1 -0
  442. package/dist/actions/list-onenote-group-sections-pages4.cjs +48 -0
  443. package/dist/actions/list-onenote-group-sections-pages4.cjs.map +1 -0
  444. package/dist/actions/list-onenote-group-sections-pages4.d.cts +9 -0
  445. package/dist/actions/list-onenote-group-sections-pages4.d.cts.map +1 -0
  446. package/dist/actions/list-onenote-group-sections-pages4.d.mts +9 -0
  447. package/dist/actions/list-onenote-group-sections-pages4.d.mts.map +1 -0
  448. package/dist/actions/list-onenote-group-sections-pages4.mjs +47 -0
  449. package/dist/actions/list-onenote-group-sections-pages4.mjs.map +1 -0
  450. package/dist/actions/list-site-notebook-section-groups.cjs +50 -0
  451. package/dist/actions/list-site-notebook-section-groups.cjs.map +1 -0
  452. package/dist/actions/list-site-notebook-section-groups.d.cts +9 -0
  453. package/dist/actions/list-site-notebook-section-groups.d.cts.map +1 -0
  454. package/dist/actions/list-site-notebook-section-groups.d.mts +9 -0
  455. package/dist/actions/list-site-notebook-section-groups.d.mts.map +1 -0
  456. package/dist/actions/list-site-notebook-section-groups.mjs +49 -0
  457. package/dist/actions/list-site-notebook-section-groups.mjs.map +1 -0
  458. package/dist/actions/list-site-notebooks.cjs +65 -0
  459. package/dist/actions/list-site-notebooks.cjs.map +1 -0
  460. package/dist/actions/list-site-notebooks.d.cts +9 -0
  461. package/dist/actions/list-site-notebooks.d.cts.map +1 -0
  462. package/dist/actions/list-site-notebooks.d.mts +9 -0
  463. package/dist/actions/list-site-notebooks.d.mts.map +1 -0
  464. package/dist/actions/list-site-notebooks.mjs +64 -0
  465. package/dist/actions/list-site-notebooks.mjs.map +1 -0
  466. package/dist/actions/list-site-pages-content.cjs +24 -0
  467. package/dist/actions/list-site-pages-content.cjs.map +1 -0
  468. package/dist/actions/list-site-pages-content.d.cts +9 -0
  469. package/dist/actions/list-site-pages-content.d.cts.map +1 -0
  470. package/dist/actions/list-site-pages-content.d.mts +9 -0
  471. package/dist/actions/list-site-pages-content.d.mts.map +1 -0
  472. package/dist/actions/list-site-pages-content.mjs +21 -0
  473. package/dist/actions/list-site-pages-content.mjs.map +1 -0
  474. package/dist/actions/list-site-sections.cjs +63 -0
  475. package/dist/actions/list-site-sections.cjs.map +1 -0
  476. package/dist/actions/list-site-sections.d.cts +9 -0
  477. package/dist/actions/list-site-sections.d.cts.map +1 -0
  478. package/dist/actions/list-site-sections.d.mts +9 -0
  479. package/dist/actions/list-site-sections.d.mts.map +1 -0
  480. package/dist/actions/list-site-sections.mjs +62 -0
  481. package/dist/actions/list-site-sections.mjs.map +1 -0
  482. package/dist/actions/list-user-notebook-sections.cjs +57 -0
  483. package/dist/actions/list-user-notebook-sections.cjs.map +1 -0
  484. package/dist/actions/list-user-notebook-sections.d.cts +9 -0
  485. package/dist/actions/list-user-notebook-sections.d.cts.map +1 -0
  486. package/dist/actions/list-user-notebook-sections.d.mts +9 -0
  487. package/dist/actions/list-user-notebook-sections.d.mts.map +1 -0
  488. package/dist/actions/list-user-notebook-sections.mjs +56 -0
  489. package/dist/actions/list-user-notebook-sections.mjs.map +1 -0
  490. package/dist/actions/list-user-notebooks.cjs +58 -0
  491. package/dist/actions/list-user-notebooks.cjs.map +1 -0
  492. package/dist/actions/list-user-notebooks.d.cts +9 -0
  493. package/dist/actions/list-user-notebooks.d.cts.map +1 -0
  494. package/dist/actions/list-user-notebooks.d.mts +9 -0
  495. package/dist/actions/list-user-notebooks.d.mts.map +1 -0
  496. package/dist/actions/list-user-notebooks.mjs +57 -0
  497. package/dist/actions/list-user-notebooks.mjs.map +1 -0
  498. package/dist/actions/resolve-site-by-url.cjs +50 -0
  499. package/dist/actions/resolve-site-by-url.cjs.map +1 -0
  500. package/dist/actions/resolve-site-by-url.d.cts +9 -0
  501. package/dist/actions/resolve-site-by-url.d.cts.map +1 -0
  502. package/dist/actions/resolve-site-by-url.d.mts +9 -0
  503. package/dist/actions/resolve-site-by-url.d.mts.map +1 -0
  504. package/dist/actions/resolve-site-by-url.mjs +47 -0
  505. package/dist/actions/resolve-site-by-url.mjs.map +1 -0
  506. package/dist/actions/sites-search.cjs +55 -0
  507. package/dist/actions/sites-search.cjs.map +1 -0
  508. package/dist/actions/sites-search.d.cts +9 -0
  509. package/dist/actions/sites-search.d.cts.map +1 -0
  510. package/dist/actions/sites-search.d.mts +9 -0
  511. package/dist/actions/sites-search.d.mts.map +1 -0
  512. package/dist/actions/sites-search.mjs +54 -0
  513. package/dist/actions/sites-search.mjs.map +1 -0
  514. package/dist/actions/update-me-page-content.cjs +33 -0
  515. package/dist/actions/update-me-page-content.cjs.map +1 -0
  516. package/dist/actions/update-me-page-content.d.cts +9 -0
  517. package/dist/actions/update-me-page-content.d.cts.map +1 -0
  518. package/dist/actions/update-me-page-content.d.mts +9 -0
  519. package/dist/actions/update-me-page-content.d.mts.map +1 -0
  520. package/dist/actions/update-me-page-content.mjs +30 -0
  521. package/dist/actions/update-me-page-content.mjs.map +1 -0
  522. package/dist/actions/update-me-sections.cjs +53 -0
  523. package/dist/actions/update-me-sections.cjs.map +1 -0
  524. package/dist/actions/update-me-sections.d.cts +9 -0
  525. package/dist/actions/update-me-sections.d.cts.map +1 -0
  526. package/dist/actions/update-me-sections.d.mts +9 -0
  527. package/dist/actions/update-me-sections.d.mts.map +1 -0
  528. package/dist/actions/update-me-sections.mjs +52 -0
  529. package/dist/actions/update-me-sections.mjs.map +1 -0
  530. package/dist/actions/update-onenote-page-content.cjs +37 -0
  531. package/dist/actions/update-onenote-page-content.cjs.map +1 -0
  532. package/dist/actions/update-onenote-page-content.d.cts +9 -0
  533. package/dist/actions/update-onenote-page-content.d.cts.map +1 -0
  534. package/dist/actions/update-onenote-page-content.d.mts +9 -0
  535. package/dist/actions/update-onenote-page-content.d.mts.map +1 -0
  536. package/dist/actions/update-onenote-page-content.mjs +34 -0
  537. package/dist/actions/update-onenote-page-content.mjs.map +1 -0
  538. package/dist/actions/update-site-notebooks-sections.cjs +54 -0
  539. package/dist/actions/update-site-notebooks-sections.cjs.map +1 -0
  540. package/dist/actions/update-site-notebooks-sections.d.cts +9 -0
  541. package/dist/actions/update-site-notebooks-sections.d.cts.map +1 -0
  542. package/dist/actions/update-site-notebooks-sections.d.mts +9 -0
  543. package/dist/actions/update-site-notebooks-sections.d.mts.map +1 -0
  544. package/dist/actions/update-site-notebooks-sections.mjs +53 -0
  545. package/dist/actions/update-site-notebooks-sections.mjs.map +1 -0
  546. package/dist/actions/update-site-pages-content.cjs +34 -0
  547. package/dist/actions/update-site-pages-content.cjs.map +1 -0
  548. package/dist/actions/update-site-pages-content.d.cts +9 -0
  549. package/dist/actions/update-site-pages-content.d.cts.map +1 -0
  550. package/dist/actions/update-site-pages-content.d.mts +9 -0
  551. package/dist/actions/update-site-pages-content.d.mts.map +1 -0
  552. package/dist/actions/update-site-pages-content.mjs +31 -0
  553. package/dist/actions/update-site-pages-content.mjs.map +1 -0
  554. package/dist/actions/update-site-section-groups-sections.cjs +55 -0
  555. package/dist/actions/update-site-section-groups-sections.cjs.map +1 -0
  556. package/dist/actions/update-site-section-groups-sections.d.cts +9 -0
  557. package/dist/actions/update-site-section-groups-sections.d.cts.map +1 -0
  558. package/dist/actions/update-site-section-groups-sections.d.mts +9 -0
  559. package/dist/actions/update-site-section-groups-sections.d.mts.map +1 -0
  560. package/dist/actions/update-site-section-groups-sections.mjs +54 -0
  561. package/dist/actions/update-site-section-groups-sections.mjs.map +1 -0
  562. package/dist/actions/update-user-notebooks-sections.cjs +53 -0
  563. package/dist/actions/update-user-notebooks-sections.cjs.map +1 -0
  564. package/dist/actions/update-user-notebooks-sections.d.cts +9 -0
  565. package/dist/actions/update-user-notebooks-sections.d.cts.map +1 -0
  566. package/dist/actions/update-user-notebooks-sections.d.mts +9 -0
  567. package/dist/actions/update-user-notebooks-sections.d.mts.map +1 -0
  568. package/dist/actions/update-user-notebooks-sections.mjs +52 -0
  569. package/dist/actions/update-user-notebooks-sections.mjs.map +1 -0
  570. package/dist/actions/validate-credential.cjs +19 -0
  571. package/dist/actions/validate-credential.cjs.map +1 -0
  572. package/dist/actions/validate-credential.d.cts +9 -0
  573. package/dist/actions/validate-credential.d.cts.map +1 -0
  574. package/dist/actions/validate-credential.d.mts +9 -0
  575. package/dist/actions/validate-credential.d.mts.map +1 -0
  576. package/dist/actions/validate-credential.mjs +16 -0
  577. package/dist/actions/validate-credential.mjs.map +1 -0
  578. package/dist/app.cjs +9 -0
  579. package/dist/app.cjs.map +1 -0
  580. package/dist/app.d.cts +5 -0
  581. package/dist/app.d.cts.map +1 -0
  582. package/dist/app.d.mts +5 -0
  583. package/dist/app.d.mts.map +1 -0
  584. package/dist/app.mjs +10 -0
  585. package/dist/app.mjs.map +1 -0
  586. package/dist/catalog.cjs +15 -0
  587. package/dist/catalog.cjs.map +1 -0
  588. package/dist/catalog.d.cts +14 -0
  589. package/dist/catalog.d.cts.map +1 -0
  590. package/dist/catalog.d.mts +14 -0
  591. package/dist/catalog.d.mts.map +1 -0
  592. package/dist/catalog.mjs +15 -0
  593. package/dist/catalog.mjs.map +1 -0
  594. package/dist/execute.cjs +18 -0
  595. package/dist/execute.cjs.map +1 -0
  596. package/dist/execute.mjs +18 -0
  597. package/dist/execute.mjs.map +1 -0
  598. package/dist/index.cjs +148 -0
  599. package/dist/index.d.cts +74 -0
  600. package/dist/index.d.mts +74 -0
  601. package/dist/index.mjs +75 -0
  602. package/package.json +49 -0
@@ -0,0 +1,57 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-user-notebook-sections.ts
4
+ const OnenoteListUserNotebookSectionsInput = zod.z.object({
5
+ top: zod.z.number().int().default(25).describe("The number of sections to return per request. Defaults to 25. Maximum is 100.").optional(),
6
+ skip: zod.z.number().int().describe("The number of items to skip before returning results. Use with top/page_size for OneNote client-side pagination.").optional(),
7
+ expand: zod.z.array(zod.z.string()).describe("Comma-separated list of relationships to expand. Valid values: parentNotebook, parentSectionGroup.").optional(),
8
+ filter: zod.z.string().describe("OData filter expression to apply to filter results.").optional(),
9
+ select: zod.z.array(zod.z.string()).describe("Comma-separated list of section properties to include in the response. Valid values include: id, self, displayName, createdDateTime, lastModifiedDateTime, isDefault, pagesUrl, links, createdBy, lastModifiedBy.").optional(),
10
+ orderby: zod.z.array(zod.z.string()).describe("Comma-separated list of properties to order results by. Default order is 'displayName asc'.").optional(),
11
+ user_id: zod.z.string().describe("The unique identifier (GUID) or user principal name (UPN) of the user. Use 'me' to reference the signed-in user."),
12
+ next_link: zod.z.string().describe("Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.").optional(),
13
+ notebook_id: zod.z.string().describe("The unique identifier of the OneNote notebook.")
14
+ }).describe("Request model for listing OneNote sections from a notebook belonging to a user.");
15
+ const OnenoteListUserNotebookSections_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.");
16
+ const OnenoteListUserNotebookSections_SectionLinksSchema = zod.z.object({
17
+ one_note_web_url: OnenoteListUserNotebookSections_ExternalLinkSchema.nullable().optional(),
18
+ one_note_client_url: OnenoteListUserNotebookSections_ExternalLinkSchema.nullable().optional()
19
+ }).describe("Links for opening a OneNote section.");
20
+ const OnenoteListUserNotebookSections_IdentitySchema = zod.z.object({
21
+ id: zod.z.string().describe("Unique identifier for the identity.").nullable().optional(),
22
+ tenant_id: zod.z.string().describe("Unique identity of the tenant.").nullable().optional(),
23
+ displayName: zod.z.string().describe("The display name of the identity.").nullable().optional()
24
+ }).describe("Represents an identity of an actor (user, device, or application).");
25
+ const OnenoteListUserNotebookSections_IdentitySetSchema = zod.z.object({
26
+ user: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional(),
27
+ device: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional(),
28
+ application: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional()
29
+ }).describe("Represents a keyed collection of identity resources.");
30
+ const OnenoteListUserNotebookSections_OnenoteSectionSchema = zod.z.object({
31
+ id: zod.z.string().describe("The unique identifier of the section.").nullable().optional(),
32
+ self: zod.z.string().describe("The endpoint where you can get details about the section.").nullable().optional(),
33
+ links: OnenoteListUserNotebookSections_SectionLinksSchema.nullable().optional(),
34
+ pages_url: zod.z.string().describe("The pages endpoint where you can get details for all the pages in the section.").nullable().optional(),
35
+ created_by: OnenoteListUserNotebookSections_IdentitySetSchema.nullable().optional(),
36
+ is_default: zod.z.boolean().describe("Indicates whether this is the user's default section.").nullable().optional(),
37
+ displayName: zod.z.string().describe("The name of the section.").nullable().optional(),
38
+ last_modified_by: OnenoteListUserNotebookSections_IdentitySetSchema.nullable().optional(),
39
+ created_date_time: zod.z.string().describe("The date and time when the section was created. ISO 8601 format in UTC time.").nullable().optional(),
40
+ last_modified_date_time: zod.z.string().describe("The date and time when the section was last modified. ISO 8601 format in UTC time.").nullable().optional()
41
+ }).describe("A section in a OneNote notebook.");
42
+ const OnenoteListUserNotebookSectionsOutput = zod.z.object({
43
+ sections: zod.z.array(OnenoteListUserNotebookSections_OnenoteSectionSchema).describe("List of OneNote section objects.").nullable().optional(),
44
+ "@odata.context": zod.z.string().describe("The OData context URL.").nullable().optional(),
45
+ "@odata.nextLink": zod.z.string().describe("URL to get the next page of results if pagination is available.").nullable().optional()
46
+ }).describe("Response model for listing OneNote sections from a user's notebook.");
47
+ const onenoteListUserNotebookSections = require_action.action("ONENOTE_LIST_USER_NOTEBOOK_SECTIONS", {
48
+ slug: "onenote-list-user-notebook-sections",
49
+ name: "List user notebook sections",
50
+ description: "Lists all OneNote sections from a specified notebook belonging to a user. Use this action when you need to retrieve all sections within a notebook that is owned by or accessible to a specific user. Supports OData query parameters for filtering, sorting, and pagination. Note: The user_id can be a GUID or user principal name (UPN). Use 'me' to reference the signed-in user. The default sort order is by display name ascending. This is a read-only operation.",
51
+ input: OnenoteListUserNotebookSectionsInput,
52
+ output: OnenoteListUserNotebookSectionsOutput
53
+ });
54
+ //#endregion
55
+ exports.onenoteListUserNotebookSections = onenoteListUserNotebookSections;
56
+
57
+ //# sourceMappingURL=list-user-notebook-sections.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-user-notebook-sections.cjs","names":["z","action"],"sources":["../../src/actions/list-user-notebook-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteListUserNotebookSectionsInput: z.ZodTypeAny = z.object({\n top: z.number().int().default(25).describe(\"The number of sections to return per request. Defaults to 25. Maximum is 100.\").optional(),\n skip: z.number().int().describe(\"The number of items to skip before returning results. Use with top/page_size for OneNote client-side pagination.\").optional(),\n expand: z.array(z.string()).describe(\"Comma-separated list of relationships to expand. Valid values: parentNotebook, parentSectionGroup.\").optional(),\n filter: z.string().describe(\"OData filter expression to apply to filter results.\").optional(),\n select: z.array(z.string()).describe(\"Comma-separated list of section properties to include in the response. Valid values include: id, self, displayName, createdDateTime, lastModifiedDateTime, isDefault, pagesUrl, links, createdBy, lastModifiedBy.\").optional(),\n orderby: z.array(z.string()).describe(\"Comma-separated list of properties to order results by. Default order is 'displayName asc'.\").optional(),\n user_id: z.string().describe(\"The unique identifier (GUID) or user principal name (UPN) of the user. Use 'me' to reference the signed-in user.\"),\n next_link: z.string().describe(\"Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook.\"),\n}).describe(\"Request model for listing OneNote sections from a notebook belonging to a user.\");\nconst OnenoteListUserNotebookSections_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 OnenoteListUserNotebookSections_SectionLinksSchema: z.ZodTypeAny = z.object({\n one_note_web_url: OnenoteListUserNotebookSections_ExternalLinkSchema.nullable().optional(),\n one_note_client_url: OnenoteListUserNotebookSections_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote section.\");\nconst OnenoteListUserNotebookSections_IdentitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the identity.\").nullable().optional(),\n tenant_id: z.string().describe(\"Unique identity of the tenant.\").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 OnenoteListUserNotebookSections_IdentitySetSchema: z.ZodTypeAny = z.object({\n user: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional(),\n device: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional(),\n application: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources.\");\nconst OnenoteListUserNotebookSections_OnenoteSectionSchema: 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: OnenoteListUserNotebookSections_SectionLinksSchema.nullable().optional(),\n pages_url: z.string().describe(\"The pages endpoint where you can get details for all the pages in the section.\").nullable().optional(),\n created_by: OnenoteListUserNotebookSections_IdentitySetSchema.nullable().optional(),\n is_default: z.boolean().describe(\"Indicates whether this is the user's default section.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n last_modified_by: OnenoteListUserNotebookSections_IdentitySetSchema.nullable().optional(),\n created_date_time: z.string().describe(\"The date and time when the section was created. ISO 8601 format in UTC time.\").nullable().optional(),\n last_modified_date_time: z.string().describe(\"The date and time when the section was last modified. ISO 8601 format in UTC time.\").nullable().optional(),\n}).describe(\"A section in a OneNote notebook.\");\nexport const OnenoteListUserNotebookSectionsOutput: z.ZodTypeAny = z.object({\n sections: z.array(OnenoteListUserNotebookSections_OnenoteSectionSchema).describe(\"List of OneNote section objects.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n \"@odata.nextLink\": z.string().describe(\"URL to get the next page of results if pagination is available.\").nullable().optional(),\n}).describe(\"Response model for listing OneNote sections from a user's notebook.\");\n\nexport const onenoteListUserNotebookSections = action(\"ONENOTE_LIST_USER_NOTEBOOK_SECTIONS\", {\n slug: \"onenote-list-user-notebook-sections\",\n name: \"List user notebook sections\",\n description: \"Lists all OneNote sections from a specified notebook belonging to a user. Use this action when you need to retrieve all sections within a notebook that is owned by or accessible to a specific user. Supports OData query parameters for filtering, sorting, and pagination. Note: The user_id can be a GUID or user principal name (UPN). Use 'me' to reference the signed-in user. The default sort order is by display name ascending. This is a read-only operation.\",\n input: OnenoteListUserNotebookSectionsInput,\n output: OnenoteListUserNotebookSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC7J,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACpJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS;CACnQ,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC9I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;CAC/I,WAAWA,IAAA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;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-user-notebook-sections.d.ts
4
+ declare const OnenoteListUserNotebookSectionsInput: z.ZodTypeAny;
5
+ declare const OnenoteListUserNotebookSectionsOutput: z.ZodTypeAny;
6
+ declare const onenoteListUserNotebookSections: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { onenoteListUserNotebookSections };
9
+ //# sourceMappingURL=list-user-notebook-sections.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-user-notebook-sections.d.cts","names":[],"sources":["../../src/actions/list-user-notebook-sections.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAUyC;AAAA,cA8BjF,qCAAA,EAAuC,CAAA,CAAE,UAI4B;AAAA,cAErE,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-user-notebook-sections.d.ts
4
+ declare const OnenoteListUserNotebookSectionsInput: z.ZodTypeAny;
5
+ declare const OnenoteListUserNotebookSectionsOutput: z.ZodTypeAny;
6
+ declare const onenoteListUserNotebookSections: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { onenoteListUserNotebookSections };
9
+ //# sourceMappingURL=list-user-notebook-sections.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-user-notebook-sections.d.mts","names":[],"sources":["../../src/actions/list-user-notebook-sections.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAUyC;AAAA,cA8BjF,qCAAA,EAAuC,CAAA,CAAE,UAI4B;AAAA,cAErE,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,56 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-user-notebook-sections.ts
4
+ const OnenoteListUserNotebookSectionsInput = z.object({
5
+ top: z.number().int().default(25).describe("The number of sections to return per request. Defaults to 25. Maximum is 100.").optional(),
6
+ skip: z.number().int().describe("The number of items to skip before returning results. Use with top/page_size for OneNote client-side pagination.").optional(),
7
+ expand: z.array(z.string()).describe("Comma-separated list of relationships to expand. Valid values: parentNotebook, parentSectionGroup.").optional(),
8
+ filter: z.string().describe("OData filter expression to apply to filter results.").optional(),
9
+ select: z.array(z.string()).describe("Comma-separated list of section properties to include in the response. Valid values include: id, self, displayName, createdDateTime, lastModifiedDateTime, isDefault, pagesUrl, links, createdBy, lastModifiedBy.").optional(),
10
+ orderby: z.array(z.string()).describe("Comma-separated list of properties to order results by. Default order is 'displayName asc'.").optional(),
11
+ user_id: z.string().describe("The unique identifier (GUID) or user principal name (UPN) of the user. Use 'me' to reference the signed-in user."),
12
+ next_link: z.string().describe("Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.").optional(),
13
+ notebook_id: z.string().describe("The unique identifier of the OneNote notebook.")
14
+ }).describe("Request model for listing OneNote sections from a notebook belonging to a user.");
15
+ const OnenoteListUserNotebookSections_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.");
16
+ const OnenoteListUserNotebookSections_SectionLinksSchema = z.object({
17
+ one_note_web_url: OnenoteListUserNotebookSections_ExternalLinkSchema.nullable().optional(),
18
+ one_note_client_url: OnenoteListUserNotebookSections_ExternalLinkSchema.nullable().optional()
19
+ }).describe("Links for opening a OneNote section.");
20
+ const OnenoteListUserNotebookSections_IdentitySchema = z.object({
21
+ id: z.string().describe("Unique identifier for the identity.").nullable().optional(),
22
+ tenant_id: z.string().describe("Unique identity of the tenant.").nullable().optional(),
23
+ displayName: z.string().describe("The display name of the identity.").nullable().optional()
24
+ }).describe("Represents an identity of an actor (user, device, or application).");
25
+ const OnenoteListUserNotebookSections_IdentitySetSchema = z.object({
26
+ user: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional(),
27
+ device: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional(),
28
+ application: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional()
29
+ }).describe("Represents a keyed collection of identity resources.");
30
+ const OnenoteListUserNotebookSections_OnenoteSectionSchema = z.object({
31
+ id: z.string().describe("The unique identifier of the section.").nullable().optional(),
32
+ self: z.string().describe("The endpoint where you can get details about the section.").nullable().optional(),
33
+ links: OnenoteListUserNotebookSections_SectionLinksSchema.nullable().optional(),
34
+ pages_url: z.string().describe("The pages endpoint where you can get details for all the pages in the section.").nullable().optional(),
35
+ created_by: OnenoteListUserNotebookSections_IdentitySetSchema.nullable().optional(),
36
+ is_default: z.boolean().describe("Indicates whether this is the user's default section.").nullable().optional(),
37
+ displayName: z.string().describe("The name of the section.").nullable().optional(),
38
+ last_modified_by: OnenoteListUserNotebookSections_IdentitySetSchema.nullable().optional(),
39
+ created_date_time: z.string().describe("The date and time when the section was created. ISO 8601 format in UTC time.").nullable().optional(),
40
+ last_modified_date_time: z.string().describe("The date and time when the section was last modified. ISO 8601 format in UTC time.").nullable().optional()
41
+ }).describe("A section in a OneNote notebook.");
42
+ const onenoteListUserNotebookSections = action("ONENOTE_LIST_USER_NOTEBOOK_SECTIONS", {
43
+ slug: "onenote-list-user-notebook-sections",
44
+ name: "List user notebook sections",
45
+ description: "Lists all OneNote sections from a specified notebook belonging to a user. Use this action when you need to retrieve all sections within a notebook that is owned by or accessible to a specific user. Supports OData query parameters for filtering, sorting, and pagination. Note: The user_id can be a GUID or user principal name (UPN). Use 'me' to reference the signed-in user. The default sort order is by display name ascending. This is a read-only operation.",
46
+ input: OnenoteListUserNotebookSectionsInput,
47
+ output: z.object({
48
+ sections: z.array(OnenoteListUserNotebookSections_OnenoteSectionSchema).describe("List of OneNote section objects.").nullable().optional(),
49
+ "@odata.context": z.string().describe("The OData context URL.").nullable().optional(),
50
+ "@odata.nextLink": z.string().describe("URL to get the next page of results if pagination is available.").nullable().optional()
51
+ }).describe("Response model for listing OneNote sections from a user's notebook.")
52
+ });
53
+ //#endregion
54
+ export { onenoteListUserNotebookSections };
55
+
56
+ //# sourceMappingURL=list-user-notebook-sections.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-user-notebook-sections.mjs","names":[],"sources":["../../src/actions/list-user-notebook-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteListUserNotebookSectionsInput: z.ZodTypeAny = z.object({\n top: z.number().int().default(25).describe(\"The number of sections to return per request. Defaults to 25. Maximum is 100.\").optional(),\n skip: z.number().int().describe(\"The number of items to skip before returning results. Use with top/page_size for OneNote client-side pagination.\").optional(),\n expand: z.array(z.string()).describe(\"Comma-separated list of relationships to expand. Valid values: parentNotebook, parentSectionGroup.\").optional(),\n filter: z.string().describe(\"OData filter expression to apply to filter results.\").optional(),\n select: z.array(z.string()).describe(\"Comma-separated list of section properties to include in the response. Valid values include: id, self, displayName, createdDateTime, lastModifiedDateTime, isDefault, pagesUrl, links, createdBy, lastModifiedBy.\").optional(),\n orderby: z.array(z.string()).describe(\"Comma-separated list of properties to order results by. Default order is 'displayName asc'.\").optional(),\n user_id: z.string().describe(\"The unique identifier (GUID) or user principal name (UPN) of the user. Use 'me' to reference the signed-in user.\"),\n next_link: z.string().describe(\"Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook.\"),\n}).describe(\"Request model for listing OneNote sections from a notebook belonging to a user.\");\nconst OnenoteListUserNotebookSections_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 OnenoteListUserNotebookSections_SectionLinksSchema: z.ZodTypeAny = z.object({\n one_note_web_url: OnenoteListUserNotebookSections_ExternalLinkSchema.nullable().optional(),\n one_note_client_url: OnenoteListUserNotebookSections_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote section.\");\nconst OnenoteListUserNotebookSections_IdentitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the identity.\").nullable().optional(),\n tenant_id: z.string().describe(\"Unique identity of the tenant.\").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 OnenoteListUserNotebookSections_IdentitySetSchema: z.ZodTypeAny = z.object({\n user: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional(),\n device: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional(),\n application: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources.\");\nconst OnenoteListUserNotebookSections_OnenoteSectionSchema: 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: OnenoteListUserNotebookSections_SectionLinksSchema.nullable().optional(),\n pages_url: z.string().describe(\"The pages endpoint where you can get details for all the pages in the section.\").nullable().optional(),\n created_by: OnenoteListUserNotebookSections_IdentitySetSchema.nullable().optional(),\n is_default: z.boolean().describe(\"Indicates whether this is the user's default section.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n last_modified_by: OnenoteListUserNotebookSections_IdentitySetSchema.nullable().optional(),\n created_date_time: z.string().describe(\"The date and time when the section was created. ISO 8601 format in UTC time.\").nullable().optional(),\n last_modified_date_time: z.string().describe(\"The date and time when the section was last modified. ISO 8601 format in UTC time.\").nullable().optional(),\n}).describe(\"A section in a OneNote notebook.\");\nexport const OnenoteListUserNotebookSectionsOutput: z.ZodTypeAny = z.object({\n sections: z.array(OnenoteListUserNotebookSections_OnenoteSectionSchema).describe(\"List of OneNote section objects.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"The OData context URL.\").nullable().optional(),\n \"@odata.nextLink\": z.string().describe(\"URL to get the next page of results if pagination is available.\").nullable().optional(),\n}).describe(\"Response model for listing OneNote sections from a user's notebook.\");\n\nexport const onenoteListUserNotebookSections = action(\"ONENOTE_LIST_USER_NOTEBOOK_SECTIONS\", {\n slug: \"onenote-list-user-notebook-sections\",\n name: \"List user notebook sections\",\n description: \"Lists all OneNote sections from a specified notebook belonging to a user. Use this action when you need to retrieve all sections within a notebook that is owned by or accessible to a specific user. Supports OData query parameters for filtering, sorting, and pagination. Note: The user_id can be a GUID or user principal name (UPN). Use 'me' to reference the signed-in user. The default sort order is by display name ascending. This is a read-only operation.\",\n input: OnenoteListUserNotebookSectionsInput,\n output: OnenoteListUserNotebookSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrI,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC7J,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACpJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS;CACnQ,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,S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teListUserNotebooksInput = zod.z.object({
5
+ skip: zod.z.number().int().describe("The number of items to skip before returning results. Use with top/page_size for OneNote client-side pagination.").optional(),
6
+ filter: zod.z.string().describe("OData filter expression to apply to filter results.").optional(),
7
+ select: zod.z.array(zod.z.string()).describe("Comma-separated list of notebook properties to include in the response (OData $select).").optional(),
8
+ orderby: zod.z.array(zod.z.string()).describe("Comma-separated list of properties to order results by (OData $orderby). Default order is 'displayName asc'.").optional(),
9
+ user_id: zod.z.string().describe("The unique identifier (GUID) or user principal name (UPN) of the user whose notebooks to retrieve. Use 'me' to reference the signed-in user."),
10
+ next_link: zod.z.string().describe("Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.").optional(),
11
+ page_size: zod.z.number().int().default(25).describe("The number of notebooks to return per request. Default is 25. Maximum is 100.").optional()
12
+ }).describe("Request model for listing OneNote notebooks from a specific user.");
13
+ const OnenoteListUserNotebooks_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.");
14
+ const OnenoteListUserNotebooks_NotebookLinksSchema = zod.z.object({
15
+ oneNoteWebUrl: OnenoteListUserNotebooks_ExternalLinkSchema.nullable().optional(),
16
+ oneNoteClientUrl: OnenoteListUserNotebooks_ExternalLinkSchema.nullable().optional()
17
+ }).describe("Links for opening a OneNote notebook.");
18
+ const OnenoteListUserNotebooks_IdentitySchema = zod.z.object({
19
+ id: zod.z.string().describe("Unique identifier for the identity.").nullable().optional(),
20
+ tenantId: zod.z.string().describe("Unique identity of the tenant.").nullable().optional(),
21
+ displayName: zod.z.string().describe("The display name of the identity.").nullable().optional()
22
+ }).describe("Represents an identity of an actor such as a user, device, or application.");
23
+ const OnenoteListUserNotebooks_IdentitySetSchema = zod.z.object({
24
+ user: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),
25
+ device: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),
26
+ application: OnenoteListUserNotebooks_IdentitySchema.nullable().optional()
27
+ }).describe("Represents a keyed collection of identity resources.");
28
+ const OnenoteListUserNotebooks_NotebookSchema = zod.z.object({
29
+ id: zod.z.string().describe("The unique identifier of the notebook.").nullable().optional(),
30
+ self: zod.z.string().describe("The endpoint where you can get details about the notebook.").nullable().optional(),
31
+ links: OnenoteListUserNotebooks_NotebookLinksSchema.nullable().optional(),
32
+ isShared: zod.z.boolean().describe("Indicates whether the notebook is shared.").nullable().optional(),
33
+ userRole: zod.z.string().describe("The user's role: Owner, Contributor, Reader, or None.").nullable().optional(),
34
+ createdBy: OnenoteListUserNotebooks_IdentitySetSchema.nullable().optional(),
35
+ isDefault: zod.z.boolean().describe("Indicates whether this is the user's default notebook.").nullable().optional(),
36
+ displayName: zod.z.string().describe("The name of the notebook.").nullable().optional(),
37
+ sectionsUrl: zod.z.string().describe("URL for the sections navigation property.").nullable().optional(),
38
+ lastModifiedBy: OnenoteListUserNotebooks_IdentitySetSchema.nullable().optional(),
39
+ createdDateTime: zod.z.string().describe("The date and time when the notebook was created.").nullable().optional(),
40
+ sectionGroupsUrl: zod.z.string().describe("URL for the section groups navigation property.").nullable().optional(),
41
+ lastModifiedDateTime: zod.z.string().describe("The date and time when the notebook was last modified.").nullable().optional()
42
+ }).describe("Represents a OneNote notebook.");
43
+ const OnenoteListUserNotebooksOutput = zod.z.object({
44
+ notebooks: zod.z.array(OnenoteListUserNotebooks_NotebookSchema).describe("List of OneNote notebook objects.").nullable().optional(),
45
+ "@odata.context": zod.z.string().describe("OData context URL that identifies the metadata schema.").nullable().optional(),
46
+ "@odata.nextLink": zod.z.string().describe("URL to retrieve the next page of results if more pages are available.").nullable().optional()
47
+ }).describe("Response model for listing OneNote notebooks from a specific user.");
48
+ const onenoteListUserNotebooks = require_action.action("ONENOTE_LIST_USER_NOTEBOOKS", {
49
+ slug: "onenote-list-user-notebooks",
50
+ name: "List user notebooks",
51
+ description: "Lists all OneNote notebooks accessible by a specific user. Use this action when you need to retrieve the available notebooks for a user, display notebook listings, or browse notebooks that are owned by or shared with a specific user. Supports OData query parameters for filtering, sorting, and pagination. Note: The user_id can be a GUID or a user principal name (UPN). Use 'me' to reference the signed-in user.",
52
+ input: OnenoteListUserNotebooksInput,
53
+ output: OnenoteListUserNotebooksOutput
54
+ });
55
+ //#endregion
56
+ exports.onenoteListUserNotebooks = onenoteListUserNotebooks;
57
+
58
+ //# sourceMappingURL=list-user-notebooks.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-user-notebooks.cjs","names":["z","action"],"sources":["../../src/actions/list-user-notebooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteListUserNotebooksInput: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"The number of items to skip before returning results. Use with top/page_size for OneNote client-side pagination.\").optional(),\n filter: z.string().describe(\"OData filter expression to apply to filter results.\").optional(),\n select: z.array(z.string()).describe(\"Comma-separated list of notebook properties to include in the response (OData $select).\").optional(),\n orderby: z.array(z.string()).describe(\"Comma-separated list of properties to order results by (OData $orderby). Default order is 'displayName asc'.\").optional(),\n user_id: z.string().describe(\"The unique identifier (GUID) or user principal name (UPN) of the user whose notebooks to retrieve. Use 'me' to reference the signed-in user.\"),\n next_link: z.string().describe(\"Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of notebooks to return per request. Default is 25. Maximum is 100.\").optional(),\n}).describe(\"Request model for listing OneNote notebooks from a specific user.\");\nconst OnenoteListUserNotebooks_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 OnenoteListUserNotebooks_NotebookLinksSchema: z.ZodTypeAny = z.object({\n oneNoteWebUrl: OnenoteListUserNotebooks_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteListUserNotebooks_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote notebook.\");\nconst OnenoteListUserNotebooks_IdentitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the identity.\").nullable().optional(),\n tenantId: z.string().describe(\"Unique identity of the tenant.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).describe(\"Represents an identity of an actor such as a user, device, or application.\");\nconst OnenoteListUserNotebooks_IdentitySetSchema: z.ZodTypeAny = z.object({\n user: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),\n device: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),\n application: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources.\");\nconst OnenoteListUserNotebooks_NotebookSchema: 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 links: OnenoteListUserNotebooks_NotebookLinksSchema.nullable().optional(),\n isShared: z.boolean().describe(\"Indicates whether the notebook is shared.\").nullable().optional(),\n userRole: z.string().describe(\"The user's role: Owner, Contributor, Reader, or None.\").nullable().optional(),\n createdBy: OnenoteListUserNotebooks_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default notebook.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n sectionsUrl: z.string().describe(\"URL for the sections navigation property.\").nullable().optional(),\n lastModifiedBy: OnenoteListUserNotebooks_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the notebook was created.\").nullable().optional(),\n sectionGroupsUrl: z.string().describe(\"URL for the section groups navigation property.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the notebook was last modified.\").nullable().optional(),\n}).describe(\"Represents a OneNote notebook.\");\nexport const OnenoteListUserNotebooksOutput: z.ZodTypeAny = z.object({\n notebooks: z.array(OnenoteListUserNotebooks_NotebookSchema).describe(\"List of OneNote notebook objects.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"OData context URL that identifies the metadata schema.\").nullable().optional(),\n \"@odata.nextLink\": z.string().describe(\"URL to retrieve the next page of results if more pages are available.\").nullable().optional(),\n}).describe(\"Response model for listing OneNote notebooks from a specific user.\");\n\nexport const onenoteListUserNotebooks = action(\"ONENOTE_LIST_USER_NOTEBOOKS\", {\n slug: \"onenote-list-user-notebooks\",\n name: \"List user notebooks\",\n description: \"Lists all OneNote notebooks accessible by a specific user. Use this action when you need to retrieve the available notebooks for a user, display notebook listings, or browse notebooks that are owned by or shared with a specific user. Supports OData query parameters for filtering, sorting, and pagination. Note: The user_id can be a GUID or a user principal name (UPN). Use 'me' to reference the signed-in user.\",\n input: OnenoteListUserNotebooksInput,\n output: OnenoteListUserNotebooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC7J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACzI,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAC/J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;CAC3K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS;CAC9N,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,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C,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-user-notebooks.d.ts
4
+ declare const OnenoteListUserNotebooksInput: z.ZodTypeAny;
5
+ declare const OnenoteListUserNotebooksOutput: z.ZodTypeAny;
6
+ declare const onenoteListUserNotebooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { onenoteListUserNotebooks };
9
+ //# sourceMappingURL=list-user-notebooks.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-user-notebooks.d.cts","names":[],"sources":["../../src/actions/list-user-notebooks.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAQkC;AAAA,cAiCnE,8BAAA,EAAgC,CAAA,CAAE,UAIkC;AAAA,cAEpE,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-user-notebooks.d.ts
4
+ declare const OnenoteListUserNotebooksInput: z.ZodTypeAny;
5
+ declare const OnenoteListUserNotebooksOutput: z.ZodTypeAny;
6
+ declare const onenoteListUserNotebooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { onenoteListUserNotebooks };
9
+ //# sourceMappingURL=list-user-notebooks.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-user-notebooks.d.mts","names":[],"sources":["../../src/actions/list-user-notebooks.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAQkC;AAAA,cAiCnE,8BAAA,EAAgC,CAAA,CAAE,UAIkC;AAAA,cAEpE,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,57 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-user-notebooks.ts
4
+ const OnenoteListUserNotebooksInput = z.object({
5
+ skip: z.number().int().describe("The number of items to skip before returning results. Use with top/page_size for OneNote client-side pagination.").optional(),
6
+ filter: z.string().describe("OData filter expression to apply to filter results.").optional(),
7
+ select: z.array(z.string()).describe("Comma-separated list of notebook properties to include in the response (OData $select).").optional(),
8
+ orderby: z.array(z.string()).describe("Comma-separated list of properties to order results by (OData $orderby). Default order is 'displayName asc'.").optional(),
9
+ user_id: z.string().describe("The unique identifier (GUID) or user principal name (UPN) of the user whose notebooks to retrieve. Use 'me' to reference the signed-in user."),
10
+ next_link: z.string().describe("Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.").optional(),
11
+ page_size: z.number().int().default(25).describe("The number of notebooks to return per request. Default is 25. Maximum is 100.").optional()
12
+ }).describe("Request model for listing OneNote notebooks from a specific user.");
13
+ const OnenoteListUserNotebooks_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.");
14
+ const OnenoteListUserNotebooks_NotebookLinksSchema = z.object({
15
+ oneNoteWebUrl: OnenoteListUserNotebooks_ExternalLinkSchema.nullable().optional(),
16
+ oneNoteClientUrl: OnenoteListUserNotebooks_ExternalLinkSchema.nullable().optional()
17
+ }).describe("Links for opening a OneNote notebook.");
18
+ const OnenoteListUserNotebooks_IdentitySchema = z.object({
19
+ id: z.string().describe("Unique identifier for the identity.").nullable().optional(),
20
+ tenantId: z.string().describe("Unique identity of the tenant.").nullable().optional(),
21
+ displayName: z.string().describe("The display name of the identity.").nullable().optional()
22
+ }).describe("Represents an identity of an actor such as a user, device, or application.");
23
+ const OnenoteListUserNotebooks_IdentitySetSchema = z.object({
24
+ user: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),
25
+ device: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),
26
+ application: OnenoteListUserNotebooks_IdentitySchema.nullable().optional()
27
+ }).describe("Represents a keyed collection of identity resources.");
28
+ const OnenoteListUserNotebooks_NotebookSchema = z.object({
29
+ id: z.string().describe("The unique identifier of the notebook.").nullable().optional(),
30
+ self: z.string().describe("The endpoint where you can get details about the notebook.").nullable().optional(),
31
+ links: OnenoteListUserNotebooks_NotebookLinksSchema.nullable().optional(),
32
+ isShared: z.boolean().describe("Indicates whether the notebook is shared.").nullable().optional(),
33
+ userRole: z.string().describe("The user's role: Owner, Contributor, Reader, or None.").nullable().optional(),
34
+ createdBy: OnenoteListUserNotebooks_IdentitySetSchema.nullable().optional(),
35
+ isDefault: z.boolean().describe("Indicates whether this is the user's default notebook.").nullable().optional(),
36
+ displayName: z.string().describe("The name of the notebook.").nullable().optional(),
37
+ sectionsUrl: z.string().describe("URL for the sections navigation property.").nullable().optional(),
38
+ lastModifiedBy: OnenoteListUserNotebooks_IdentitySetSchema.nullable().optional(),
39
+ createdDateTime: z.string().describe("The date and time when the notebook was created.").nullable().optional(),
40
+ sectionGroupsUrl: z.string().describe("URL for the section groups navigation property.").nullable().optional(),
41
+ lastModifiedDateTime: z.string().describe("The date and time when the notebook was last modified.").nullable().optional()
42
+ }).describe("Represents a OneNote notebook.");
43
+ const onenoteListUserNotebooks = action("ONENOTE_LIST_USER_NOTEBOOKS", {
44
+ slug: "onenote-list-user-notebooks",
45
+ name: "List user notebooks",
46
+ description: "Lists all OneNote notebooks accessible by a specific user. Use this action when you need to retrieve the available notebooks for a user, display notebook listings, or browse notebooks that are owned by or shared with a specific user. Supports OData query parameters for filtering, sorting, and pagination. Note: The user_id can be a GUID or a user principal name (UPN). Use 'me' to reference the signed-in user.",
47
+ input: OnenoteListUserNotebooksInput,
48
+ output: z.object({
49
+ notebooks: z.array(OnenoteListUserNotebooks_NotebookSchema).describe("List of OneNote notebook objects.").nullable().optional(),
50
+ "@odata.context": z.string().describe("OData context URL that identifies the metadata schema.").nullable().optional(),
51
+ "@odata.nextLink": z.string().describe("URL to retrieve the next page of results if more pages are available.").nullable().optional()
52
+ }).describe("Response model for listing OneNote notebooks from a specific user.")
53
+ });
54
+ //#endregion
55
+ export { onenoteListUserNotebooks };
56
+
57
+ //# sourceMappingURL=list-user-notebooks.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-user-notebooks.mjs","names":[],"sources":["../../src/actions/list-user-notebooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteListUserNotebooksInput: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"The number of items to skip before returning results. Use with top/page_size for OneNote client-side pagination.\").optional(),\n filter: z.string().describe(\"OData filter expression to apply to filter results.\").optional(),\n select: z.array(z.string()).describe(\"Comma-separated list of notebook properties to include in the response (OData $select).\").optional(),\n orderby: z.array(z.string()).describe(\"Comma-separated list of properties to order results by (OData $orderby). Default order is 'displayName asc'.\").optional(),\n user_id: z.string().describe(\"The unique identifier (GUID) or user principal name (UPN) of the user whose notebooks to retrieve. Use 'me' to reference the signed-in user.\"),\n next_link: z.string().describe(\"Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of notebooks to return per request. Default is 25. Maximum is 100.\").optional(),\n}).describe(\"Request model for listing OneNote notebooks from a specific user.\");\nconst OnenoteListUserNotebooks_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 OnenoteListUserNotebooks_NotebookLinksSchema: z.ZodTypeAny = z.object({\n oneNoteWebUrl: OnenoteListUserNotebooks_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteListUserNotebooks_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote notebook.\");\nconst OnenoteListUserNotebooks_IdentitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the identity.\").nullable().optional(),\n tenantId: z.string().describe(\"Unique identity of the tenant.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).describe(\"Represents an identity of an actor such as a user, device, or application.\");\nconst OnenoteListUserNotebooks_IdentitySetSchema: z.ZodTypeAny = z.object({\n user: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),\n device: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),\n application: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources.\");\nconst OnenoteListUserNotebooks_NotebookSchema: 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 links: OnenoteListUserNotebooks_NotebookLinksSchema.nullable().optional(),\n isShared: z.boolean().describe(\"Indicates whether the notebook is shared.\").nullable().optional(),\n userRole: z.string().describe(\"The user's role: Owner, Contributor, Reader, or None.\").nullable().optional(),\n createdBy: OnenoteListUserNotebooks_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default notebook.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the notebook.\").nullable().optional(),\n sectionsUrl: z.string().describe(\"URL for the sections navigation property.\").nullable().optional(),\n lastModifiedBy: OnenoteListUserNotebooks_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the notebook was created.\").nullable().optional(),\n sectionGroupsUrl: z.string().describe(\"URL for the section groups navigation property.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the notebook was last modified.\").nullable().optional(),\n}).describe(\"Represents a OneNote notebook.\");\nexport const OnenoteListUserNotebooksOutput: z.ZodTypeAny = z.object({\n notebooks: z.array(OnenoteListUserNotebooks_NotebookSchema).describe(\"List of OneNote notebook objects.\").nullable().optional(),\n \"@odata.context\": z.string().describe(\"OData context URL that identifies the metadata schema.\").nullable().optional(),\n \"@odata.nextLink\": z.string().describe(\"URL to retrieve the next page of results if more pages are available.\").nullable().optional(),\n}).describe(\"Response model for listing OneNote notebooks from a specific user.\");\n\nexport const onenoteListUserNotebooks = action(\"ONENOTE_LIST_USER_NOTEBOOKS\", {\n slug: \"onenote-list-user-notebooks\",\n name: \"List user notebooks\",\n description: \"Lists all OneNote notebooks accessible by a specific user. Use this action when you need to retrieve the available notebooks for a user, display notebook listings, or browse notebooks that are owned by or shared with a specific user. Supports OData query parameters for filtering, sorting, and pagination. Note: The user_id can be a GUID or a user principal name (UPN). Use 'me' to reference the signed-in user.\",\n input: OnenoteListUserNotebooksInput,\n output: OnenoteListUserNotebooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC7J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACzI,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAC/J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;CAC3K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS;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SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
@@ -0,0 +1,50 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/resolve-site-by-url.ts
4
+ const OnenoteResolveSiteByUrlInput = zod.z.object({
5
+ expand: zod.z.array(zod.z.string()).describe("OData $expand relationships supported by the site resource, such as drive,drives,lists,onenote,sites.").optional(),
6
+ select: zod.z.array(zod.z.string()).describe("OData $select site properties, such as id,displayName,webUrl.").optional(),
7
+ hostname: zod.z.string().describe("SharePoint site collection hostname, such as contoso.sharepoint.com. Required when sharepoint_url is not provided.").optional(),
8
+ site_path: zod.z.string().describe("Server-relative site path, such as /sites/Marketing or /teams/Product. Use / or leave empty for the root site. Raw spaces are encoded and existing percent-encoded segments are preserved.").optional(),
9
+ sharepoint_url: zod.z.string().describe("Full SharePoint site URL, such as https://contoso.sharepoint.com/sites/Marketing. If provided, hostname and site_path are derived from it. Already percent-encoded path segments are preserved.").optional()
10
+ });
11
+ const OnenoteResolveSiteByUrlOutput = zod.z.object({
12
+ id: zod.z.string().describe("The unique site ID. Pass this value to ONENOTE_LIST_SITE_NOTEBOOKS.").nullable().optional(),
13
+ eTag: zod.z.string().describe("ETag for the site. Read-only.").nullable().optional(),
14
+ name: zod.z.string().describe("The name/title of the site.").nullable().optional(),
15
+ root: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Root facet, when this is a root site.").nullable().optional(),
16
+ drive: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Expanded default drive relationship, when requested.").nullable().optional(),
17
+ items: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Expanded items relationship, when requested.").nullable().optional(),
18
+ lists: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Expanded lists relationship, when requested.").nullable().optional(),
19
+ pages: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Expanded pages relationship, when requested.").nullable().optional(),
20
+ sites: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Expanded subsites relationship, when requested.").nullable().optional(),
21
+ drives: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Expanded drives relationship, when requested.").nullable().optional(),
22
+ webUrl: zod.z.string().describe("URL that displays the site in the browser. Read-only.").nullable().optional(),
23
+ columns: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Expanded columns relationship, when requested.").nullable().optional(),
24
+ onenote: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Expanded OneNote relationship, when requested.").nullable().optional(),
25
+ analytics: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Expanded analytics relationship, when requested.").nullable().optional(),
26
+ termStore: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Expanded default termStore relationship, when requested.").nullable().optional(),
27
+ operations: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Expanded operations relationship, when requested.").nullable().optional(),
28
+ termStores: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Expanded termStores relationship, when requested.").nullable().optional(),
29
+ "@odata.type": zod.z.string().describe("Microsoft Graph resource type.").nullable().optional(),
30
+ description: zod.z.string().describe("The descriptive text for the site.").nullable().optional(),
31
+ displayName: zod.z.string().describe("The full title for the site.").nullable().optional(),
32
+ permissions: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Expanded permissions relationship, when requested.").nullable().optional(),
33
+ contentTypes: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Expanded contentTypes relationship, when requested.").nullable().optional(),
34
+ sharepointIds: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Identifiers useful for SharePoint REST compatibility.").nullable().optional(),
35
+ isPersonalSite: zod.z.boolean().describe("Identifies whether the site is personal. Read-only.").nullable().optional(),
36
+ siteCollection: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Details about the site's site collection.").nullable().optional(),
37
+ createdDateTime: zod.z.string().describe("The date and time the site was created. Read-only.").nullable().optional(),
38
+ lastModifiedDateTime: zod.z.string().describe("The date and time the site was last modified. Read-only.").nullable().optional()
39
+ }).passthrough();
40
+ const onenoteResolveSiteByUrl = require_action.action("ONENOTE_RESOLVE_SITE_BY_URL", {
41
+ slug: "onenote-resolve-site-by-url",
42
+ name: "Resolve SharePoint site by URL",
43
+ description: "Resolve a SharePoint site URL or hostname and path to a Microsoft Graph site resource. Use this when the user provides a SharePoint URL and a site ID is needed for OneNote notebook discovery.",
44
+ input: OnenoteResolveSiteByUrlInput,
45
+ output: OnenoteResolveSiteByUrlOutput
46
+ });
47
+ //#endregion
48
+ exports.onenoteResolveSiteByUrl = onenoteResolveSiteByUrl;
49
+
50
+ //# sourceMappingURL=resolve-site-by-url.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-site-by-url.cjs","names":["z","action"],"sources":["../../src/actions/resolve-site-by-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteResolveSiteByUrlInput: z.ZodTypeAny = z.object({\n expand: z.array(z.string()).describe(\"OData $expand relationships supported by the site resource, such as drive,drives,lists,onenote,sites.\").optional(),\n select: z.array(z.string()).describe(\"OData $select site properties, such as id,displayName,webUrl.\").optional(),\n hostname: z.string().describe(\"SharePoint site collection hostname, such as contoso.sharepoint.com. Required when sharepoint_url is not provided.\").optional(),\n site_path: z.string().describe(\"Server-relative site path, such as /sites/Marketing or /teams/Product. Use / or leave empty for the root site. Raw spaces are encoded and existing percent-encoded segments are preserved.\").optional(),\n sharepoint_url: z.string().describe(\"Full SharePoint site URL, such as https://contoso.sharepoint.com/sites/Marketing. If provided, hostname and site_path are derived from it. Already percent-encoded path segments are preserved.\").optional(),\n});\nexport const OnenoteResolveSiteByUrlOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique site ID. Pass this value to ONENOTE_LIST_SITE_NOTEBOOKS.\").nullable().optional(),\n eTag: z.string().describe(\"ETag for the site. Read-only.\").nullable().optional(),\n name: z.string().describe(\"The name/title of the site.\").nullable().optional(),\n root: z.record(z.string(), z.unknown()).describe(\"Root facet, when this is a root site.\").nullable().optional(),\n drive: z.record(z.string(), z.unknown()).describe(\"Expanded default drive relationship, when requested.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded items relationship, when requested.\").nullable().optional(),\n lists: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded lists relationship, when requested.\").nullable().optional(),\n pages: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded pages relationship, when requested.\").nullable().optional(),\n sites: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded subsites relationship, when requested.\").nullable().optional(),\n drives: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded drives relationship, when requested.\").nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the site in the browser. Read-only.\").nullable().optional(),\n columns: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded columns relationship, when requested.\").nullable().optional(),\n onenote: z.record(z.string(), z.unknown()).describe(\"Expanded OneNote relationship, when requested.\").nullable().optional(),\n analytics: z.record(z.string(), z.unknown()).describe(\"Expanded analytics relationship, when requested.\").nullable().optional(),\n termStore: z.record(z.string(), z.unknown()).describe(\"Expanded default termStore relationship, when requested.\").nullable().optional(),\n operations: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded operations relationship, when requested.\").nullable().optional(),\n termStores: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded termStores relationship, when requested.\").nullable().optional(),\n \"@odata.type\": z.string().describe(\"Microsoft Graph resource type.\").nullable().optional(),\n description: z.string().describe(\"The descriptive text for the site.\").nullable().optional(),\n displayName: z.string().describe(\"The full title for the site.\").nullable().optional(),\n permissions: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded permissions relationship, when requested.\").nullable().optional(),\n contentTypes: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded contentTypes relationship, when requested.\").nullable().optional(),\n sharepointIds: z.record(z.string(), z.unknown()).describe(\"Identifiers useful for SharePoint REST compatibility.\").nullable().optional(),\n isPersonalSite: z.boolean().describe(\"Identifies whether the site is personal. Read-only.\").nullable().optional(),\n siteCollection: z.record(z.string(), z.unknown()).describe(\"Details about the site's site collection.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the site was created. Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the site was last modified. Read-only.\").nullable().optional(),\n}).passthrough();\n\nexport const onenoteResolveSiteByUrl = action(\"ONENOTE_RESOLVE_SITE_BY_URL\", {\n slug: \"onenote-resolve-site-by-url\",\n name: \"Resolve SharePoint site by URL\",\n description: \"Resolve a SharePoint site URL or hostname and path to a Microsoft Graph site resource. Use this when the user provides a SharePoint URL and a site ID is needed for OneNote notebook discovery.\",\n input: OnenoteResolveSiteByUrlInput,\n output: OnenoteResolveSiteByUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACvJ,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC/G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC7J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iMAAiM,CAAC,CAAC,SAAS;AAClP,CAAC;AACD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+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+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/resolve-site-by-url.d.ts
4
+ declare const OnenoteResolveSiteByUrlInput: z.ZodTypeAny;
5
+ declare const OnenoteResolveSiteByUrlOutput: z.ZodTypeAny;
6
+ declare const onenoteResolveSiteByUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { onenoteResolveSiteByUrl };
9
+ //# sourceMappingURL=resolve-site-by-url.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-site-by-url.d.cts","names":[],"sources":["../../src/actions/resolve-site-by-url.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAM3C;AAAA,cACW,6BAAA,EAA+B,CAAA,CAAE,UA4B9B;AAAA,cAEH,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/resolve-site-by-url.d.ts
4
+ declare const OnenoteResolveSiteByUrlInput: z.ZodTypeAny;
5
+ declare const OnenoteResolveSiteByUrlOutput: z.ZodTypeAny;
6
+ declare const onenoteResolveSiteByUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { onenoteResolveSiteByUrl };
9
+ //# sourceMappingURL=resolve-site-by-url.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-site-by-url.d.mts","names":[],"sources":["../../src/actions/resolve-site-by-url.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAM3C;AAAA,cACW,6BAAA,EAA+B,CAAA,CAAE,UA4B9B;AAAA,cAEH,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,47 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const onenoteResolveSiteByUrl = action("ONENOTE_RESOLVE_SITE_BY_URL", {
4
+ slug: "onenote-resolve-site-by-url",
5
+ name: "Resolve SharePoint site by URL",
6
+ description: "Resolve a SharePoint site URL or hostname and path to a Microsoft Graph site resource. Use this when the user provides a SharePoint URL and a site ID is needed for OneNote notebook discovery.",
7
+ input: z.object({
8
+ expand: z.array(z.string()).describe("OData $expand relationships supported by the site resource, such as drive,drives,lists,onenote,sites.").optional(),
9
+ select: z.array(z.string()).describe("OData $select site properties, such as id,displayName,webUrl.").optional(),
10
+ hostname: z.string().describe("SharePoint site collection hostname, such as contoso.sharepoint.com. Required when sharepoint_url is not provided.").optional(),
11
+ site_path: z.string().describe("Server-relative site path, such as /sites/Marketing or /teams/Product. Use / or leave empty for the root site. Raw spaces are encoded and existing percent-encoded segments are preserved.").optional(),
12
+ sharepoint_url: z.string().describe("Full SharePoint site URL, such as https://contoso.sharepoint.com/sites/Marketing. If provided, hostname and site_path are derived from it. Already percent-encoded path segments are preserved.").optional()
13
+ }),
14
+ output: z.object({
15
+ id: z.string().describe("The unique site ID. Pass this value to ONENOTE_LIST_SITE_NOTEBOOKS.").nullable().optional(),
16
+ eTag: z.string().describe("ETag for the site. Read-only.").nullable().optional(),
17
+ name: z.string().describe("The name/title of the site.").nullable().optional(),
18
+ root: z.record(z.string(), z.unknown()).describe("Root facet, when this is a root site.").nullable().optional(),
19
+ drive: z.record(z.string(), z.unknown()).describe("Expanded default drive relationship, when requested.").nullable().optional(),
20
+ items: z.array(z.record(z.string(), z.unknown())).describe("Expanded items relationship, when requested.").nullable().optional(),
21
+ lists: z.array(z.record(z.string(), z.unknown())).describe("Expanded lists relationship, when requested.").nullable().optional(),
22
+ pages: z.array(z.record(z.string(), z.unknown())).describe("Expanded pages relationship, when requested.").nullable().optional(),
23
+ sites: z.array(z.record(z.string(), z.unknown())).describe("Expanded subsites relationship, when requested.").nullable().optional(),
24
+ drives: z.array(z.record(z.string(), z.unknown())).describe("Expanded drives relationship, when requested.").nullable().optional(),
25
+ webUrl: z.string().describe("URL that displays the site in the browser. Read-only.").nullable().optional(),
26
+ columns: z.array(z.record(z.string(), z.unknown())).describe("Expanded columns relationship, when requested.").nullable().optional(),
27
+ onenote: z.record(z.string(), z.unknown()).describe("Expanded OneNote relationship, when requested.").nullable().optional(),
28
+ analytics: z.record(z.string(), z.unknown()).describe("Expanded analytics relationship, when requested.").nullable().optional(),
29
+ termStore: z.record(z.string(), z.unknown()).describe("Expanded default termStore relationship, when requested.").nullable().optional(),
30
+ operations: z.array(z.record(z.string(), z.unknown())).describe("Expanded operations relationship, when requested.").nullable().optional(),
31
+ termStores: z.array(z.record(z.string(), z.unknown())).describe("Expanded termStores relationship, when requested.").nullable().optional(),
32
+ "@odata.type": z.string().describe("Microsoft Graph resource type.").nullable().optional(),
33
+ description: z.string().describe("The descriptive text for the site.").nullable().optional(),
34
+ displayName: z.string().describe("The full title for the site.").nullable().optional(),
35
+ permissions: z.array(z.record(z.string(), z.unknown())).describe("Expanded permissions relationship, when requested.").nullable().optional(),
36
+ contentTypes: z.array(z.record(z.string(), z.unknown())).describe("Expanded contentTypes relationship, when requested.").nullable().optional(),
37
+ sharepointIds: z.record(z.string(), z.unknown()).describe("Identifiers useful for SharePoint REST compatibility.").nullable().optional(),
38
+ isPersonalSite: z.boolean().describe("Identifies whether the site is personal. Read-only.").nullable().optional(),
39
+ siteCollection: z.record(z.string(), z.unknown()).describe("Details about the site's site collection.").nullable().optional(),
40
+ createdDateTime: z.string().describe("The date and time the site was created. Read-only.").nullable().optional(),
41
+ lastModifiedDateTime: z.string().describe("The date and time the site was last modified. Read-only.").nullable().optional()
42
+ }).passthrough()
43
+ });
44
+ //#endregion
45
+ export { onenoteResolveSiteByUrl };
46
+
47
+ //# sourceMappingURL=resolve-site-by-url.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-site-by-url.mjs","names":[],"sources":["../../src/actions/resolve-site-by-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteResolveSiteByUrlInput: z.ZodTypeAny = z.object({\n expand: z.array(z.string()).describe(\"OData $expand relationships supported by the site resource, such as drive,drives,lists,onenote,sites.\").optional(),\n select: z.array(z.string()).describe(\"OData $select site properties, such as id,displayName,webUrl.\").optional(),\n hostname: z.string().describe(\"SharePoint site collection hostname, such as contoso.sharepoint.com. Required when sharepoint_url is not provided.\").optional(),\n site_path: z.string().describe(\"Server-relative site path, such as /sites/Marketing or /teams/Product. Use / or leave empty for the root site. Raw spaces are encoded and existing percent-encoded segments are preserved.\").optional(),\n sharepoint_url: z.string().describe(\"Full SharePoint site URL, such as https://contoso.sharepoint.com/sites/Marketing. If provided, hostname and site_path are derived from it. Already percent-encoded path segments are preserved.\").optional(),\n});\nexport const OnenoteResolveSiteByUrlOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique site ID. Pass this value to ONENOTE_LIST_SITE_NOTEBOOKS.\").nullable().optional(),\n eTag: z.string().describe(\"ETag for the site. Read-only.\").nullable().optional(),\n name: z.string().describe(\"The name/title of the site.\").nullable().optional(),\n root: z.record(z.string(), z.unknown()).describe(\"Root facet, when this is a root site.\").nullable().optional(),\n drive: z.record(z.string(), z.unknown()).describe(\"Expanded default drive relationship, when requested.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded items relationship, when requested.\").nullable().optional(),\n lists: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded lists relationship, when requested.\").nullable().optional(),\n pages: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded pages relationship, when requested.\").nullable().optional(),\n sites: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded subsites relationship, when requested.\").nullable().optional(),\n drives: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded drives relationship, when requested.\").nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the site in the browser. Read-only.\").nullable().optional(),\n columns: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded columns relationship, when requested.\").nullable().optional(),\n onenote: z.record(z.string(), z.unknown()).describe(\"Expanded OneNote relationship, when requested.\").nullable().optional(),\n analytics: z.record(z.string(), z.unknown()).describe(\"Expanded analytics relationship, when requested.\").nullable().optional(),\n termStore: z.record(z.string(), z.unknown()).describe(\"Expanded default termStore relationship, when requested.\").nullable().optional(),\n operations: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded operations relationship, when requested.\").nullable().optional(),\n termStores: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded termStores relationship, when requested.\").nullable().optional(),\n \"@odata.type\": z.string().describe(\"Microsoft Graph resource type.\").nullable().optional(),\n description: z.string().describe(\"The descriptive text for the site.\").nullable().optional(),\n displayName: z.string().describe(\"The full title for the site.\").nullable().optional(),\n permissions: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded permissions relationship, when requested.\").nullable().optional(),\n contentTypes: z.array(z.record(z.string(), z.unknown())).describe(\"Expanded contentTypes relationship, when requested.\").nullable().optional(),\n sharepointIds: z.record(z.string(), z.unknown()).describe(\"Identifiers useful for SharePoint REST compatibility.\").nullable().optional(),\n isPersonalSite: z.boolean().describe(\"Identifies whether the site is personal. Read-only.\").nullable().optional(),\n siteCollection: z.record(z.string(), z.unknown()).describe(\"Details about the site's site collection.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the site was created. Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the site was last modified. Read-only.\").nullable().optional(),\n}).passthrough();\n\nexport const onenoteResolveSiteByUrl = action(\"ONENOTE_RESOLVE_SITE_BY_URL\", {\n slug: \"onenote-resolve-site-by-url\",\n name: \"Resolve SharePoint site by URL\",\n description: \"Resolve a SharePoint site URL or hostname and path to a Microsoft Graph site resource. Use this when the user provides a SharePoint URL and a site ID is needed for OneNote notebook discovery.\",\n input: OnenoteResolveSiteByUrlInput,\n output: OnenoteResolveSiteByUrlOutput,\n});\n"],"mappings":";;AAyCA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzCwD,EAAE,OAAO;EACjE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EACvJ,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EAC/G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC7J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iMAAiM,CAAC,CAAC,SAAS;CAClP,CAmCS;CACP,QAnCyD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,OAAO,EAAE,MAAM,EAAE,OAAO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