@keystrokehq/onenote 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (409) hide show
  1. package/dist/actions/copy-onenote-group-notebook.cjs +1 -1
  2. package/dist/actions/copy-onenote-group-notebook.cjs.map +1 -1
  3. package/dist/actions/copy-onenote-group-notebook.d.cts +1 -1
  4. package/dist/actions/copy-onenote-group-notebook.d.mts +1 -1
  5. package/dist/actions/copy-onenote-group-notebook.mjs +1 -1
  6. package/dist/actions/copy-onenote-group-notebook.mjs.map +1 -1
  7. package/dist/actions/copy-onenote-site-notebook.cjs +1 -1
  8. package/dist/actions/copy-onenote-site-notebook.cjs.map +1 -1
  9. package/dist/actions/copy-onenote-site-notebook.d.cts +1 -1
  10. package/dist/actions/copy-onenote-site-notebook.d.mts +1 -1
  11. package/dist/actions/copy-onenote-site-notebook.mjs +1 -1
  12. package/dist/actions/copy-onenote-site-notebook.mjs.map +1 -1
  13. package/dist/actions/copy-section-to-notebook-for-user2.cjs +1 -1
  14. package/dist/actions/copy-section-to-notebook-for-user2.cjs.map +1 -1
  15. package/dist/actions/copy-section-to-notebook-for-user2.d.cts +1 -1
  16. package/dist/actions/copy-section-to-notebook-for-user2.d.mts +1 -1
  17. package/dist/actions/copy-section-to-notebook-for-user2.mjs +1 -1
  18. package/dist/actions/copy-section-to-notebook-for-user2.mjs.map +1 -1
  19. package/dist/actions/copy-section-to-notebook2.cjs +1 -1
  20. package/dist/actions/copy-section-to-notebook2.cjs.map +1 -1
  21. package/dist/actions/copy-section-to-notebook2.d.cts +1 -1
  22. package/dist/actions/copy-section-to-notebook2.d.mts +1 -1
  23. package/dist/actions/copy-section-to-notebook2.mjs +1 -1
  24. package/dist/actions/copy-section-to-notebook2.mjs.map +1 -1
  25. package/dist/actions/copy-section-to-section-group-for-user.cjs +1 -1
  26. package/dist/actions/copy-section-to-section-group-for-user.cjs.map +1 -1
  27. package/dist/actions/copy-section-to-section-group-for-user.d.cts +1 -1
  28. package/dist/actions/copy-section-to-section-group-for-user.d.mts +1 -1
  29. package/dist/actions/copy-section-to-section-group-for-user.mjs +1 -1
  30. package/dist/actions/copy-section-to-section-group-for-user.mjs.map +1 -1
  31. package/dist/actions/copy-section-to-section-group.cjs +1 -1
  32. package/dist/actions/copy-section-to-section-group.cjs.map +1 -1
  33. package/dist/actions/copy-section-to-section-group.d.cts +1 -1
  34. package/dist/actions/copy-section-to-section-group.d.mts +1 -1
  35. package/dist/actions/copy-section-to-section-group.mjs +1 -1
  36. package/dist/actions/copy-section-to-section-group.mjs.map +1 -1
  37. package/dist/actions/copy-site-page-to-section3.cjs +1 -1
  38. package/dist/actions/copy-site-page-to-section3.cjs.map +1 -1
  39. package/dist/actions/copy-site-page-to-section3.d.cts +1 -1
  40. package/dist/actions/copy-site-page-to-section3.d.mts +1 -1
  41. package/dist/actions/copy-site-page-to-section3.mjs +1 -1
  42. package/dist/actions/copy-site-page-to-section3.mjs.map +1 -1
  43. package/dist/actions/copy-user-page-to-section.cjs +1 -1
  44. package/dist/actions/copy-user-page-to-section.cjs.map +1 -1
  45. package/dist/actions/copy-user-page-to-section.d.cts +1 -1
  46. package/dist/actions/copy-user-page-to-section.d.mts +1 -1
  47. package/dist/actions/copy-user-page-to-section.mjs +1 -1
  48. package/dist/actions/copy-user-page-to-section.mjs.map +1 -1
  49. package/dist/actions/count-notebooks-section-groups-sections.cjs +1 -1
  50. package/dist/actions/count-notebooks-section-groups-sections.cjs.map +1 -1
  51. package/dist/actions/count-notebooks-section-groups-sections.d.cts +1 -1
  52. package/dist/actions/count-notebooks-section-groups-sections.d.mts +1 -1
  53. package/dist/actions/count-notebooks-section-groups-sections.mjs +1 -1
  54. package/dist/actions/count-notebooks-section-groups-sections.mjs.map +1 -1
  55. package/dist/actions/count-site-notebook-section-groups-sections.cjs +1 -1
  56. package/dist/actions/count-site-notebook-section-groups-sections.cjs.map +1 -1
  57. package/dist/actions/count-site-notebook-section-groups-sections.d.cts +1 -1
  58. package/dist/actions/count-site-notebook-section-groups-sections.d.mts +1 -1
  59. package/dist/actions/count-site-notebook-section-groups-sections.mjs +1 -1
  60. package/dist/actions/count-site-notebook-section-groups-sections.mjs.map +1 -1
  61. package/dist/actions/create-group-notebook.cjs +5 -5
  62. package/dist/actions/create-group-notebook.cjs.map +1 -1
  63. package/dist/actions/create-group-notebook.d.cts +12 -12
  64. package/dist/actions/create-group-notebook.d.mts +12 -12
  65. package/dist/actions/create-group-notebook.mjs +5 -5
  66. package/dist/actions/create-group-notebook.mjs.map +1 -1
  67. package/dist/actions/create-group-pages.cjs +4 -4
  68. package/dist/actions/create-group-pages.cjs.map +1 -1
  69. package/dist/actions/create-group-pages.d.cts +4 -4
  70. package/dist/actions/create-group-pages.d.mts +4 -4
  71. package/dist/actions/create-group-pages.mjs +4 -4
  72. package/dist/actions/create-group-pages.mjs.map +1 -1
  73. package/dist/actions/create-group-section-groups-sections.cjs +7 -7
  74. package/dist/actions/create-group-section-groups-sections.cjs.map +1 -1
  75. package/dist/actions/create-group-section-groups-sections.d.cts +12 -12
  76. package/dist/actions/create-group-section-groups-sections.d.mts +12 -12
  77. package/dist/actions/create-group-section-groups-sections.mjs +7 -7
  78. package/dist/actions/create-group-section-groups-sections.mjs.map +1 -1
  79. package/dist/actions/create-me-notebooks.cjs +5 -5
  80. package/dist/actions/create-me-notebooks.cjs.map +1 -1
  81. package/dist/actions/create-me-notebooks.d.cts +12 -12
  82. package/dist/actions/create-me-notebooks.d.mts +12 -12
  83. package/dist/actions/create-me-notebooks.mjs +5 -5
  84. package/dist/actions/create-me-notebooks.mjs.map +1 -1
  85. package/dist/actions/create-me-section-groups-sections.cjs +7 -7
  86. package/dist/actions/create-me-section-groups-sections.cjs.map +1 -1
  87. package/dist/actions/create-me-section-groups-sections.d.cts +12 -12
  88. package/dist/actions/create-me-section-groups-sections.d.mts +12 -12
  89. package/dist/actions/create-me-section-groups-sections.mjs +7 -7
  90. package/dist/actions/create-me-section-groups-sections.mjs.map +1 -1
  91. package/dist/actions/create-me-sections-pages.cjs +3 -3
  92. package/dist/actions/create-me-sections-pages.cjs.map +1 -1
  93. package/dist/actions/create-me-sections-pages.d.cts +4 -4
  94. package/dist/actions/create-me-sections-pages.d.mts +4 -4
  95. package/dist/actions/create-me-sections-pages.mjs +3 -3
  96. package/dist/actions/create-me-sections-pages.mjs.map +1 -1
  97. package/dist/actions/create-onenote-group-notebooks-section-groups.cjs +3 -3
  98. package/dist/actions/create-onenote-group-notebooks-section-groups.cjs.map +1 -1
  99. package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts +9 -9
  100. package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts +9 -9
  101. package/dist/actions/create-onenote-group-notebooks-section-groups.mjs +3 -3
  102. package/dist/actions/create-onenote-group-notebooks-section-groups.mjs.map +1 -1
  103. package/dist/actions/create-site-notebooks-sections.cjs +7 -7
  104. package/dist/actions/create-site-notebooks-sections.cjs.map +1 -1
  105. package/dist/actions/create-site-notebooks-sections.d.cts +12 -12
  106. package/dist/actions/create-site-notebooks-sections.d.mts +12 -12
  107. package/dist/actions/create-site-notebooks-sections.mjs +7 -7
  108. package/dist/actions/create-site-notebooks-sections.mjs.map +1 -1
  109. package/dist/actions/create-user-notebooks-sections.cjs +7 -7
  110. package/dist/actions/create-user-notebooks-sections.cjs.map +1 -1
  111. package/dist/actions/create-user-notebooks-sections.d.cts +12 -12
  112. package/dist/actions/create-user-notebooks-sections.d.mts +12 -12
  113. package/dist/actions/create-user-notebooks-sections.mjs +7 -7
  114. package/dist/actions/create-user-notebooks-sections.mjs.map +1 -1
  115. package/dist/actions/create-user-pages.cjs +4 -4
  116. package/dist/actions/create-user-pages.cjs.map +1 -1
  117. package/dist/actions/create-user-pages.d.cts +4 -4
  118. package/dist/actions/create-user-pages.d.mts +4 -4
  119. package/dist/actions/create-user-pages.mjs +4 -4
  120. package/dist/actions/create-user-pages.mjs.map +1 -1
  121. package/dist/actions/create-user-section-groups-sections.cjs +7 -7
  122. package/dist/actions/create-user-section-groups-sections.cjs.map +1 -1
  123. package/dist/actions/create-user-section-groups-sections.d.cts +12 -12
  124. package/dist/actions/create-user-section-groups-sections.d.mts +12 -12
  125. package/dist/actions/create-user-section-groups-sections.mjs +7 -7
  126. package/dist/actions/create-user-section-groups-sections.mjs.map +1 -1
  127. package/dist/actions/create-user-sections-pages4.cjs +3 -3
  128. package/dist/actions/create-user-sections-pages4.cjs.map +1 -1
  129. package/dist/actions/create-user-sections-pages4.d.cts +4 -4
  130. package/dist/actions/create-user-sections-pages4.d.mts +4 -4
  131. package/dist/actions/create-user-sections-pages4.mjs +3 -3
  132. package/dist/actions/create-user-sections-pages4.mjs.map +1 -1
  133. package/dist/actions/delete-onenote-group-section-group-page-content.cjs +1 -1
  134. package/dist/actions/delete-onenote-group-section-group-page-content.cjs.map +1 -1
  135. package/dist/actions/delete-onenote-group-section-group-page-content.d.cts +1 -1
  136. package/dist/actions/delete-onenote-group-section-group-page-content.d.mts +1 -1
  137. package/dist/actions/delete-onenote-group-section-group-page-content.mjs +1 -1
  138. package/dist/actions/delete-onenote-group-section-group-page-content.mjs.map +1 -1
  139. package/dist/actions/delete-onenote-group-sections-pages2.cjs +1 -1
  140. package/dist/actions/delete-onenote-group-sections-pages2.cjs.map +1 -1
  141. package/dist/actions/delete-onenote-group-sections-pages2.d.cts +1 -1
  142. package/dist/actions/delete-onenote-group-sections-pages2.d.mts +1 -1
  143. package/dist/actions/delete-onenote-group-sections-pages2.mjs +1 -1
  144. package/dist/actions/delete-onenote-group-sections-pages2.mjs.map +1 -1
  145. package/dist/actions/delete-site-pages.cjs +1 -1
  146. package/dist/actions/delete-site-pages.cjs.map +1 -1
  147. package/dist/actions/delete-site-pages.d.cts +1 -1
  148. package/dist/actions/delete-site-pages.d.mts +1 -1
  149. package/dist/actions/delete-site-pages.mjs +1 -1
  150. package/dist/actions/delete-site-pages.mjs.map +1 -1
  151. package/dist/actions/delete-user-onenote-sections-pages.cjs +1 -1
  152. package/dist/actions/delete-user-onenote-sections-pages.cjs.map +1 -1
  153. package/dist/actions/delete-user-onenote-sections-pages.d.cts +1 -1
  154. package/dist/actions/delete-user-onenote-sections-pages.d.mts +1 -1
  155. package/dist/actions/delete-user-onenote-sections-pages.mjs +1 -1
  156. package/dist/actions/delete-user-onenote-sections-pages.mjs.map +1 -1
  157. package/dist/actions/delete-user-pages.cjs +1 -1
  158. package/dist/actions/delete-user-pages.cjs.map +1 -1
  159. package/dist/actions/delete-user-pages.d.cts +1 -1
  160. package/dist/actions/delete-user-pages.d.mts +1 -1
  161. package/dist/actions/delete-user-pages.mjs +1 -1
  162. package/dist/actions/delete-user-pages.mjs.map +1 -1
  163. package/dist/actions/get-group-sections.cjs +7 -7
  164. package/dist/actions/get-group-sections.cjs.map +1 -1
  165. package/dist/actions/get-group-sections.d.cts +28 -28
  166. package/dist/actions/get-group-sections.d.mts +28 -28
  167. package/dist/actions/get-group-sections.mjs +7 -7
  168. package/dist/actions/get-group-sections.mjs.map +1 -1
  169. package/dist/actions/get-me-onenote-resources-value.cjs +1 -1
  170. package/dist/actions/get-me-onenote-resources-value.cjs.map +1 -1
  171. package/dist/actions/get-me-onenote-resources-value.d.cts +1 -1
  172. package/dist/actions/get-me-onenote-resources-value.d.mts +1 -1
  173. package/dist/actions/get-me-onenote-resources-value.mjs +1 -1
  174. package/dist/actions/get-me-onenote-resources-value.mjs.map +1 -1
  175. package/dist/actions/get-me-section-page-content.cjs +1 -1
  176. package/dist/actions/get-me-section-page-content.cjs.map +1 -1
  177. package/dist/actions/get-me-section-page-content.d.cts +1 -1
  178. package/dist/actions/get-me-section-page-content.d.mts +1 -1
  179. package/dist/actions/get-me-section-page-content.mjs +1 -1
  180. package/dist/actions/get-me-section-page-content.mjs.map +1 -1
  181. package/dist/actions/get-notebook-from-web-url.cjs +5 -5
  182. package/dist/actions/get-notebook-from-web-url.cjs.map +1 -1
  183. package/dist/actions/get-notebook-from-web-url.d.cts +12 -12
  184. package/dist/actions/get-notebook-from-web-url.d.mts +12 -12
  185. package/dist/actions/get-notebook-from-web-url.mjs +5 -5
  186. package/dist/actions/get-notebook-from-web-url.mjs.map +1 -1
  187. package/dist/actions/get-notebook-section-group.cjs +3 -3
  188. package/dist/actions/get-notebook-section-group.cjs.map +1 -1
  189. package/dist/actions/get-notebook-section-group.d.cts +9 -9
  190. package/dist/actions/get-notebook-section-group.d.mts +9 -9
  191. package/dist/actions/get-notebook-section-group.mjs +3 -3
  192. package/dist/actions/get-notebook-section-group.mjs.map +1 -1
  193. package/dist/actions/get-onenote-group-operations.cjs +2 -2
  194. package/dist/actions/get-onenote-group-operations.cjs.map +1 -1
  195. package/dist/actions/get-onenote-group-operations.d.cts +2 -2
  196. package/dist/actions/get-onenote-group-operations.d.mts +2 -2
  197. package/dist/actions/get-onenote-group-operations.mjs +2 -2
  198. package/dist/actions/get-onenote-group-operations.mjs.map +1 -1
  199. package/dist/actions/get-onenote-group-sections-pages.cjs +5 -5
  200. package/dist/actions/get-onenote-group-sections-pages.cjs.map +1 -1
  201. package/dist/actions/get-onenote-group-sections-pages.d.cts +6 -6
  202. package/dist/actions/get-onenote-group-sections-pages.d.mts +6 -6
  203. package/dist/actions/get-onenote-group-sections-pages.mjs +5 -5
  204. package/dist/actions/get-onenote-group-sections-pages.mjs.map +1 -1
  205. package/dist/actions/get-onenote-site-operations.cjs +2 -2
  206. package/dist/actions/get-onenote-site-operations.cjs.map +1 -1
  207. package/dist/actions/get-onenote-site-operations.d.cts +2 -2
  208. package/dist/actions/get-onenote-site-operations.d.mts +2 -2
  209. package/dist/actions/get-onenote-site-operations.mjs +2 -2
  210. package/dist/actions/get-onenote-site-operations.mjs.map +1 -1
  211. package/dist/actions/get-onenote-user-page-content.cjs +4 -4
  212. package/dist/actions/get-onenote-user-page-content.cjs.map +1 -1
  213. package/dist/actions/get-onenote-user-page-content.d.cts +4 -4
  214. package/dist/actions/get-onenote-user-page-content.d.mts +4 -4
  215. package/dist/actions/get-onenote-user-page-content.mjs +4 -4
  216. package/dist/actions/get-onenote-user-page-content.mjs.map +1 -1
  217. package/dist/actions/get-page.cjs +5 -5
  218. package/dist/actions/get-page.cjs.map +1 -1
  219. package/dist/actions/get-page.d.cts +6 -6
  220. package/dist/actions/get-page.d.mts +6 -6
  221. package/dist/actions/get-page.mjs +5 -5
  222. package/dist/actions/get-page.mjs.map +1 -1
  223. package/dist/actions/get-recent-notebooks.cjs +4 -4
  224. package/dist/actions/get-recent-notebooks.cjs.map +1 -1
  225. package/dist/actions/get-recent-notebooks.d.cts +5 -5
  226. package/dist/actions/get-recent-notebooks.d.mts +5 -5
  227. package/dist/actions/get-recent-notebooks.mjs +4 -4
  228. package/dist/actions/get-recent-notebooks.mjs.map +1 -1
  229. package/dist/actions/get-section.cjs +7 -7
  230. package/dist/actions/get-section.cjs.map +1 -1
  231. package/dist/actions/get-section.d.cts +14 -14
  232. package/dist/actions/get-section.d.mts +14 -14
  233. package/dist/actions/get-section.mjs +7 -7
  234. package/dist/actions/get-section.mjs.map +1 -1
  235. package/dist/actions/get-site-onenote-pages.cjs +6 -6
  236. package/dist/actions/get-site-onenote-pages.cjs.map +1 -1
  237. package/dist/actions/get-site-onenote-pages.d.cts +6 -6
  238. package/dist/actions/get-site-onenote-pages.d.mts +6 -6
  239. package/dist/actions/get-site-onenote-pages.mjs +6 -6
  240. package/dist/actions/get-site-onenote-pages.mjs.map +1 -1
  241. package/dist/actions/get-site-pages-preview.cjs +1 -1
  242. package/dist/actions/get-site-pages-preview.cjs.map +1 -1
  243. package/dist/actions/get-site-pages-preview.d.cts +1 -1
  244. package/dist/actions/get-site-pages-preview.d.mts +1 -1
  245. package/dist/actions/get-site-pages-preview.mjs +1 -1
  246. package/dist/actions/get-site-pages-preview.mjs.map +1 -1
  247. package/dist/actions/get-site-sections-pages.cjs +5 -5
  248. package/dist/actions/get-site-sections-pages.cjs.map +1 -1
  249. package/dist/actions/get-site-sections-pages.d.cts +6 -6
  250. package/dist/actions/get-site-sections-pages.d.mts +6 -6
  251. package/dist/actions/get-site-sections-pages.mjs +5 -5
  252. package/dist/actions/get-site-sections-pages.mjs.map +1 -1
  253. package/dist/actions/get-site-sections.cjs +7 -7
  254. package/dist/actions/get-site-sections.cjs.map +1 -1
  255. package/dist/actions/get-site-sections.d.cts +28 -28
  256. package/dist/actions/get-site-sections.d.mts +28 -28
  257. package/dist/actions/get-site-sections.mjs +7 -7
  258. package/dist/actions/get-site-sections.mjs.map +1 -1
  259. package/dist/actions/get-user-notebook.cjs +5 -5
  260. package/dist/actions/get-user-notebook.cjs.map +1 -1
  261. package/dist/actions/get-user-notebook.d.cts +26 -26
  262. package/dist/actions/get-user-notebook.d.mts +26 -26
  263. package/dist/actions/get-user-notebook.mjs +5 -5
  264. package/dist/actions/get-user-notebook.mjs.map +1 -1
  265. package/dist/actions/get-user-pages.cjs +5 -5
  266. package/dist/actions/get-user-pages.cjs.map +1 -1
  267. package/dist/actions/get-user-pages.d.cts +6 -6
  268. package/dist/actions/get-user-pages.d.mts +6 -6
  269. package/dist/actions/get-user-pages.mjs +5 -5
  270. package/dist/actions/get-user-pages.mjs.map +1 -1
  271. package/dist/actions/get-user-parent-section-group2.cjs +3 -3
  272. package/dist/actions/get-user-parent-section-group2.cjs.map +1 -1
  273. package/dist/actions/get-user-parent-section-group2.d.cts +9 -9
  274. package/dist/actions/get-user-parent-section-group2.d.mts +9 -9
  275. package/dist/actions/get-user-parent-section-group2.mjs +3 -3
  276. package/dist/actions/get-user-parent-section-group2.mjs.map +1 -1
  277. package/dist/actions/list-group-notebook-section-groups.cjs +4 -4
  278. package/dist/actions/list-group-notebook-section-groups.cjs.map +1 -1
  279. package/dist/actions/list-group-notebook-section-groups.d.cts +12 -12
  280. package/dist/actions/list-group-notebook-section-groups.d.mts +12 -12
  281. package/dist/actions/list-group-notebook-section-groups.mjs +4 -4
  282. package/dist/actions/list-group-notebook-section-groups.mjs.map +1 -1
  283. package/dist/actions/list-group-notebook-section-pages.cjs +5 -5
  284. package/dist/actions/list-group-notebook-section-pages.cjs.map +1 -1
  285. package/dist/actions/list-group-notebook-section-pages.d.cts +5 -5
  286. package/dist/actions/list-group-notebook-section-pages.d.mts +5 -5
  287. package/dist/actions/list-group-notebook-section-pages.mjs +5 -5
  288. package/dist/actions/list-group-notebook-section-pages.mjs.map +1 -1
  289. package/dist/actions/list-group-notebooks.cjs +1 -1
  290. package/dist/actions/list-group-notebooks.cjs.map +1 -1
  291. package/dist/actions/list-group-notebooks.d.cts +2 -2
  292. package/dist/actions/list-group-notebooks.d.mts +2 -2
  293. package/dist/actions/list-group-notebooks.mjs +1 -1
  294. package/dist/actions/list-group-notebooks.mjs.map +1 -1
  295. package/dist/actions/list-group-section-groups-sections.cjs +6 -6
  296. package/dist/actions/list-group-section-groups-sections.cjs.map +1 -1
  297. package/dist/actions/list-group-section-groups-sections.d.cts +13 -13
  298. package/dist/actions/list-group-section-groups-sections.d.mts +13 -13
  299. package/dist/actions/list-group-section-groups-sections.mjs +6 -6
  300. package/dist/actions/list-group-section-groups-sections.mjs.map +1 -1
  301. package/dist/actions/list-me-onenote-sections-pages4.cjs +6 -6
  302. package/dist/actions/list-me-onenote-sections-pages4.cjs.map +1 -1
  303. package/dist/actions/list-me-onenote-sections-pages4.d.cts +7 -7
  304. package/dist/actions/list-me-onenote-sections-pages4.d.mts +7 -7
  305. package/dist/actions/list-me-onenote-sections-pages4.mjs +6 -6
  306. package/dist/actions/list-me-onenote-sections-pages4.mjs.map +1 -1
  307. package/dist/actions/list-onenote-group-pages.cjs +5 -5
  308. package/dist/actions/list-onenote-group-pages.cjs.map +1 -1
  309. package/dist/actions/list-onenote-group-pages.d.cts +5 -5
  310. package/dist/actions/list-onenote-group-pages.d.mts +5 -5
  311. package/dist/actions/list-onenote-group-pages.mjs +5 -5
  312. package/dist/actions/list-onenote-group-pages.mjs.map +1 -1
  313. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs +4 -4
  314. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs.map +1 -1
  315. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts +10 -10
  316. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts +10 -10
  317. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs +4 -4
  318. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs.map +1 -1
  319. package/dist/actions/list-onenote-group-sections-pages4.cjs +4 -4
  320. package/dist/actions/list-onenote-group-sections-pages4.cjs.map +1 -1
  321. package/dist/actions/list-onenote-group-sections-pages4.d.cts +5 -5
  322. package/dist/actions/list-onenote-group-sections-pages4.d.mts +5 -5
  323. package/dist/actions/list-onenote-group-sections-pages4.mjs +4 -4
  324. package/dist/actions/list-onenote-group-sections-pages4.mjs.map +1 -1
  325. package/dist/actions/list-site-notebook-section-groups.cjs +4 -4
  326. package/dist/actions/list-site-notebook-section-groups.cjs.map +1 -1
  327. package/dist/actions/list-site-notebook-section-groups.d.cts +10 -10
  328. package/dist/actions/list-site-notebook-section-groups.d.mts +10 -10
  329. package/dist/actions/list-site-notebook-section-groups.mjs +4 -4
  330. package/dist/actions/list-site-notebook-section-groups.mjs.map +1 -1
  331. package/dist/actions/list-site-notebooks.cjs +1 -1
  332. package/dist/actions/list-site-notebooks.cjs.map +1 -1
  333. package/dist/actions/list-site-notebooks.d.cts +2 -2
  334. package/dist/actions/list-site-notebooks.d.mts +2 -2
  335. package/dist/actions/list-site-notebooks.mjs +1 -1
  336. package/dist/actions/list-site-notebooks.mjs.map +1 -1
  337. package/dist/actions/list-site-pages-content.cjs +1 -1
  338. package/dist/actions/list-site-pages-content.cjs.map +1 -1
  339. package/dist/actions/list-site-pages-content.d.cts +1 -1
  340. package/dist/actions/list-site-pages-content.d.mts +1 -1
  341. package/dist/actions/list-site-pages-content.mjs +1 -1
  342. package/dist/actions/list-site-pages-content.mjs.map +1 -1
  343. package/dist/actions/list-site-sections.cjs +8 -8
  344. package/dist/actions/list-site-sections.cjs.map +1 -1
  345. package/dist/actions/list-site-sections.d.cts +13 -13
  346. package/dist/actions/list-site-sections.d.mts +13 -13
  347. package/dist/actions/list-site-sections.mjs +8 -8
  348. package/dist/actions/list-site-sections.mjs.map +1 -1
  349. package/dist/actions/list-user-notebook-sections.cjs +6 -6
  350. package/dist/actions/list-user-notebook-sections.cjs.map +1 -1
  351. package/dist/actions/list-user-notebook-sections.d.cts +13 -13
  352. package/dist/actions/list-user-notebook-sections.d.mts +13 -13
  353. package/dist/actions/list-user-notebook-sections.mjs +6 -6
  354. package/dist/actions/list-user-notebook-sections.mjs.map +1 -1
  355. package/dist/actions/list-user-notebooks.cjs +6 -6
  356. package/dist/actions/list-user-notebooks.cjs.map +1 -1
  357. package/dist/actions/list-user-notebooks.d.cts +13 -13
  358. package/dist/actions/list-user-notebooks.d.mts +13 -13
  359. package/dist/actions/list-user-notebooks.mjs +6 -6
  360. package/dist/actions/list-user-notebooks.mjs.map +1 -1
  361. package/dist/actions/update-me-page-content.cjs +2 -2
  362. package/dist/actions/update-me-page-content.cjs.map +1 -1
  363. package/dist/actions/update-me-page-content.d.cts +3 -2
  364. package/dist/actions/update-me-page-content.d.mts +3 -2
  365. package/dist/actions/update-me-page-content.mjs +2 -2
  366. package/dist/actions/update-me-page-content.mjs.map +1 -1
  367. package/dist/actions/update-me-sections.cjs +7 -7
  368. package/dist/actions/update-me-sections.cjs.map +1 -1
  369. package/dist/actions/update-me-sections.d.cts +12 -12
  370. package/dist/actions/update-me-sections.d.mts +12 -12
  371. package/dist/actions/update-me-sections.mjs +7 -7
  372. package/dist/actions/update-me-sections.mjs.map +1 -1
  373. package/dist/actions/update-onenote-page-content.cjs +2 -2
  374. package/dist/actions/update-onenote-page-content.cjs.map +1 -1
  375. package/dist/actions/update-onenote-page-content.d.cts +3 -2
  376. package/dist/actions/update-onenote-page-content.d.mts +3 -2
  377. package/dist/actions/update-onenote-page-content.mjs +2 -2
  378. package/dist/actions/update-onenote-page-content.mjs.map +1 -1
  379. package/dist/actions/update-site-notebooks-sections.cjs +7 -7
  380. package/dist/actions/update-site-notebooks-sections.cjs.map +1 -1
  381. package/dist/actions/update-site-notebooks-sections.d.cts +12 -12
  382. package/dist/actions/update-site-notebooks-sections.d.mts +12 -12
  383. package/dist/actions/update-site-notebooks-sections.mjs +7 -7
  384. package/dist/actions/update-site-notebooks-sections.mjs.map +1 -1
  385. package/dist/actions/update-site-pages-content.cjs +2 -2
  386. package/dist/actions/update-site-pages-content.cjs.map +1 -1
  387. package/dist/actions/update-site-pages-content.d.cts +3 -2
  388. package/dist/actions/update-site-pages-content.d.mts +3 -2
  389. package/dist/actions/update-site-pages-content.mjs +2 -2
  390. package/dist/actions/update-site-pages-content.mjs.map +1 -1
  391. package/dist/actions/update-site-section-groups-sections.cjs +7 -7
  392. package/dist/actions/update-site-section-groups-sections.cjs.map +1 -1
  393. package/dist/actions/update-site-section-groups-sections.d.cts +12 -12
  394. package/dist/actions/update-site-section-groups-sections.d.mts +12 -12
  395. package/dist/actions/update-site-section-groups-sections.mjs +7 -7
  396. package/dist/actions/update-site-section-groups-sections.mjs.map +1 -1
  397. package/dist/actions/update-user-notebooks-sections.cjs +7 -7
  398. package/dist/actions/update-user-notebooks-sections.cjs.map +1 -1
  399. package/dist/actions/update-user-notebooks-sections.d.cts +12 -12
  400. package/dist/actions/update-user-notebooks-sections.d.mts +12 -12
  401. package/dist/actions/update-user-notebooks-sections.mjs +7 -7
  402. package/dist/actions/update-user-notebooks-sections.mjs.map +1 -1
  403. package/dist/actions/validate-credential.cjs +1 -1
  404. package/dist/actions/validate-credential.cjs.map +1 -1
  405. package/dist/actions/validate-credential.d.cts +1 -1
  406. package/dist/actions/validate-credential.d.mts +1 -1
  407. package/dist/actions/validate-credential.mjs +1 -1
  408. package/dist/actions/validate-credential.mjs.map +1 -1
  409. package/package.json +1 -1
@@ -19,29 +19,29 @@ declare const OnenoteListUserNotebookSectionsOutput: z.ZodObject<{
19
19
  links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
20
  one_note_web_url: z.ZodOptional<z.ZodNullable<z.ZodObject<{
21
21
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>>;
22
+ }, z.core.$loose>>>;
23
23
  one_note_client_url: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
24
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
- }, z.core.$strip>>>;
26
- }, z.core.$strip>>>;
25
+ }, z.core.$loose>>>;
26
+ }, z.core.$loose>>>;
27
27
  pages_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  created_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
29
  user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
30
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  tenant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
34
  device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
35
35
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  tenant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
- }, z.core.$strip>>>;
38
+ }, z.core.$loose>>>;
39
39
  application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
40
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  tenant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
42
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
- }, z.core.$strip>>>;
44
- }, z.core.$strip>>>;
43
+ }, z.core.$loose>>>;
44
+ }, z.core.$loose>>>;
45
45
  is_default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
46
46
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
47
  last_modified_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -49,24 +49,24 @@ declare const OnenoteListUserNotebookSectionsOutput: z.ZodObject<{
49
49
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
50
  tenant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
51
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
- }, z.core.$strip>>>;
52
+ }, z.core.$loose>>>;
53
53
  device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
54
54
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
55
  tenant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
56
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
- }, z.core.$strip>>>;
57
+ }, z.core.$loose>>>;
58
58
  application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
59
59
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
60
  tenant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
- }, z.core.$strip>>>;
63
- }, z.core.$strip>>>;
62
+ }, z.core.$loose>>>;
63
+ }, z.core.$loose>>>;
64
64
  created_date_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
65
  last_modified_date_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
- }, z.core.$strip>>>>;
66
+ }, z.core.$loose>>>>;
67
67
  "@odata.context": z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
68
  "@odata.nextLink": z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
- }, z.core.$strip>;
69
+ }, z.core.$loose>;
70
70
  declare const onenoteListUserNotebookSections: import("@keystrokehq/action").WorkflowActionDefinition<{
71
71
  user_id: string;
72
72
  notebook_id: string;
@@ -12,21 +12,21 @@ const OnenoteListUserNotebookSectionsInput = z.object({
12
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
13
  notebook_id: z.string().describe("The unique identifier of the OneNote notebook.")
14
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.");
15
+ const OnenoteListUserNotebookSections_ExternalLinkSchema = z.object({ href: z.string().describe("The URL of the link.").nullable().optional() }).passthrough().describe("Represents a URL that opens a OneNote page or notebook.");
16
16
  const OnenoteListUserNotebookSections_SectionLinksSchema = z.object({
17
17
  one_note_web_url: OnenoteListUserNotebookSections_ExternalLinkSchema.nullable().optional(),
18
18
  one_note_client_url: OnenoteListUserNotebookSections_ExternalLinkSchema.nullable().optional()
19
- }).describe("Links for opening a OneNote section.");
19
+ }).passthrough().describe("Links for opening a OneNote section.");
20
20
  const OnenoteListUserNotebookSections_IdentitySchema = z.object({
21
21
  id: z.string().describe("Unique identifier for the identity.").nullable().optional(),
22
22
  tenant_id: z.string().describe("Unique identity of the tenant.").nullable().optional(),
23
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).");
24
+ }).passthrough().describe("Represents an identity of an actor (user, device, or application).");
25
25
  const OnenoteListUserNotebookSections_IdentitySetSchema = z.object({
26
26
  user: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional(),
27
27
  device: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional(),
28
28
  application: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional()
29
- }).describe("Represents a keyed collection of identity resources.");
29
+ }).passthrough().describe("Represents a keyed collection of identity resources.");
30
30
  const OnenoteListUserNotebookSections_OnenoteSectionSchema = z.object({
31
31
  id: z.string().describe("The unique identifier of the section.").nullable().optional(),
32
32
  self: z.string().describe("The endpoint where you can get details about the section.").nullable().optional(),
@@ -38,7 +38,7 @@ const OnenoteListUserNotebookSections_OnenoteSectionSchema = z.object({
38
38
  last_modified_by: OnenoteListUserNotebookSections_IdentitySetSchema.nullable().optional(),
39
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
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.");
41
+ }).passthrough().describe("A section in a OneNote notebook.");
42
42
  const onenoteListUserNotebookSections = action("ONENOTE_LIST_USER_NOTEBOOK_SECTIONS", {
43
43
  slug: "onenote-list-user-notebook-sections",
44
44
  name: "List user notebook sections",
@@ -48,7 +48,7 @@ const onenoteListUserNotebookSections = action("ONENOTE_LIST_USER_NOTEBOOK_SECTI
48
48
  sections: z.array(OnenoteListUserNotebookSections_OnenoteSectionSchema).describe("List of OneNote section objects.").nullable().optional(),
49
49
  "@odata.context": z.string().describe("The OData context URL.").nullable().optional(),
50
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.")
51
+ }).passthrough().describe("Response model for listing OneNote sections from a user's notebook.")
52
52
  });
53
53
  //#endregion
54
54
  export { onenoteListUserNotebookSections };
@@ -1 +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.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.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.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.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.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.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.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,uCAAuC,EAAE,OAAO;CAC3D,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,CAA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AAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
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.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.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page or notebook.\");\nconst OnenoteListUserNotebookSections_SectionLinksSchema = z.object({\n one_note_web_url: OnenoteListUserNotebookSections_ExternalLinkSchema.nullable().optional(),\n one_note_client_url: OnenoteListUserNotebookSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteListUserNotebookSections_IdentitySchema = 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}).passthrough().describe(\"Represents an identity of an actor (user, device, or application).\");\nconst OnenoteListUserNotebookSections_IdentitySetSchema = z.object({\n user: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional(),\n device: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional(),\n application: OnenoteListUserNotebookSections_IdentitySchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources.\");\nconst OnenoteListUserNotebookSections_OnenoteSectionSchema = 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}).passthrough().describe(\"A section in a OneNote notebook.\");\nexport const OnenoteListUserNotebookSectionsOutput = 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}).passthrough().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,uCAAuC,EAAE,OAAO;CAC3D,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,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC9I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;CAC/I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS;CAC9N,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACnF,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,qDAAqD,EAAE,OAAO,EAClE,MAAM,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CACrI,YAAY,kDAAkD,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,kBAAkB,kDAAkD,SAAS,CAAC,CAAC,SAAS;CACxF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAO5D,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXmD,EAAE,OAAO;EAC5D,UAAU,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
@@ -10,21 +10,21 @@ const OnenoteListUserNotebooksInput = zod.z.object({
10
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
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
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.");
13
+ const OnenoteListUserNotebooks_ExternalLinkSchema = zod.z.object({ href: zod.z.string().describe("The URL of the link.").nullable().optional() }).passthrough().describe("Represents a URL that opens a OneNote page or notebook.");
14
14
  const OnenoteListUserNotebooks_NotebookLinksSchema = zod.z.object({
15
15
  oneNoteWebUrl: OnenoteListUserNotebooks_ExternalLinkSchema.nullable().optional(),
16
16
  oneNoteClientUrl: OnenoteListUserNotebooks_ExternalLinkSchema.nullable().optional()
17
- }).describe("Links for opening a OneNote notebook.");
17
+ }).passthrough().describe("Links for opening a OneNote notebook.");
18
18
  const OnenoteListUserNotebooks_IdentitySchema = zod.z.object({
19
19
  id: zod.z.string().describe("Unique identifier for the identity.").nullable().optional(),
20
20
  tenantId: zod.z.string().describe("Unique identity of the tenant.").nullable().optional(),
21
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.");
22
+ }).passthrough().describe("Represents an identity of an actor such as a user, device, or application.");
23
23
  const OnenoteListUserNotebooks_IdentitySetSchema = zod.z.object({
24
24
  user: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),
25
25
  device: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),
26
26
  application: OnenoteListUserNotebooks_IdentitySchema.nullable().optional()
27
- }).describe("Represents a keyed collection of identity resources.");
27
+ }).passthrough().describe("Represents a keyed collection of identity resources.");
28
28
  const OnenoteListUserNotebooks_NotebookSchema = zod.z.object({
29
29
  id: zod.z.string().describe("The unique identifier of the notebook.").nullable().optional(),
30
30
  self: zod.z.string().describe("The endpoint where you can get details about the notebook.").nullable().optional(),
@@ -39,12 +39,12 @@ const OnenoteListUserNotebooks_NotebookSchema = zod.z.object({
39
39
  createdDateTime: zod.z.string().describe("The date and time when the notebook was created.").nullable().optional(),
40
40
  sectionGroupsUrl: zod.z.string().describe("URL for the section groups navigation property.").nullable().optional(),
41
41
  lastModifiedDateTime: zod.z.string().describe("The date and time when the notebook was last modified.").nullable().optional()
42
- }).describe("Represents a OneNote notebook.");
42
+ }).passthrough().describe("Represents a OneNote notebook.");
43
43
  const OnenoteListUserNotebooksOutput = zod.z.object({
44
44
  notebooks: zod.z.array(OnenoteListUserNotebooks_NotebookSchema).describe("List of OneNote notebook objects.").nullable().optional(),
45
45
  "@odata.context": zod.z.string().describe("OData context URL that identifies the metadata schema.").nullable().optional(),
46
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.");
47
+ }).passthrough().describe("Response model for listing OneNote notebooks from a specific user.");
48
48
  const onenoteListUserNotebooks = require_action.action("ONENOTE_LIST_USER_NOTEBOOKS", {
49
49
  slug: "onenote-list-user-notebooks",
50
50
  name: "List user notebooks",
@@ -1 +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.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.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.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.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.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.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.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,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,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,SAA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AAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,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"}
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.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.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page or notebook.\");\nconst OnenoteListUserNotebooks_NotebookLinksSchema = z.object({\n oneNoteWebUrl: OnenoteListUserNotebooks_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteListUserNotebooks_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote notebook.\");\nconst OnenoteListUserNotebooks_IdentitySchema = 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}).passthrough().describe(\"Represents an identity of an actor such as a user, device, or application.\");\nconst OnenoteListUserNotebooks_IdentitySetSchema = z.object({\n user: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),\n device: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),\n application: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources.\");\nconst OnenoteListUserNotebooks_NotebookSchema = 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}).passthrough().describe(\"Represents a OneNote notebook.\");\nexport const OnenoteListUserNotebooksOutput = 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}).passthrough().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,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,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,CA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9H,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -17,11 +17,11 @@ declare const OnenoteListUserNotebooksOutput: z.ZodObject<{
17
17
  links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18
18
  oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
19
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>>>;
20
+ }, z.core.$loose>>>;
21
21
  oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
22
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>>>;
24
- }, z.core.$strip>>>;
23
+ }, z.core.$loose>>>;
24
+ }, z.core.$loose>>>;
25
25
  isShared: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
26
  userRole: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -29,18 +29,18 @@ declare const OnenoteListUserNotebooksOutput: z.ZodObject<{
29
29
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
- }, z.core.$strip>>>;
32
+ }, z.core.$loose>>>;
33
33
  device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
34
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>>>;
37
+ }, z.core.$loose>>>;
38
38
  application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39
39
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
- }, z.core.$strip>>>;
43
- }, z.core.$strip>>>;
42
+ }, z.core.$loose>>>;
43
+ }, z.core.$loose>>>;
44
44
  isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
45
45
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
46
  sectionsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -49,25 +49,25 @@ declare const OnenoteListUserNotebooksOutput: z.ZodObject<{
49
49
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
50
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
51
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
- }, z.core.$strip>>>;
52
+ }, z.core.$loose>>>;
53
53
  device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
54
54
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
55
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
56
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
- }, z.core.$strip>>>;
57
+ }, z.core.$loose>>>;
58
58
  application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
59
59
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
60
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
- }, z.core.$strip>>>;
63
- }, z.core.$strip>>>;
62
+ }, z.core.$loose>>>;
63
+ }, z.core.$loose>>>;
64
64
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
65
  sectionGroupsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
66
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
- }, z.core.$strip>>>>;
67
+ }, z.core.$loose>>>>;
68
68
  "@odata.context": z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
69
  "@odata.nextLink": z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
- }, z.core.$strip>;
70
+ }, z.core.$loose>;
71
71
  declare const onenoteListUserNotebooks: import("@keystrokehq/action").WorkflowActionDefinition<{
72
72
  user_id: string;
73
73
  skip?: number | undefined;
@@ -17,11 +17,11 @@ declare const OnenoteListUserNotebooksOutput: z.ZodObject<{
17
17
  links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18
18
  oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
19
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>>>;
20
+ }, z.core.$loose>>>;
21
21
  oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
22
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>>>;
24
- }, z.core.$strip>>>;
23
+ }, z.core.$loose>>>;
24
+ }, z.core.$loose>>>;
25
25
  isShared: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
26
  userRole: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -29,18 +29,18 @@ declare const OnenoteListUserNotebooksOutput: z.ZodObject<{
29
29
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
- }, z.core.$strip>>>;
32
+ }, z.core.$loose>>>;
33
33
  device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
34
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>>>;
37
+ }, z.core.$loose>>>;
38
38
  application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39
39
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
- }, z.core.$strip>>>;
43
- }, z.core.$strip>>>;
42
+ }, z.core.$loose>>>;
43
+ }, z.core.$loose>>>;
44
44
  isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
45
45
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
46
  sectionsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -49,25 +49,25 @@ declare const OnenoteListUserNotebooksOutput: z.ZodObject<{
49
49
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
50
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
51
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
- }, z.core.$strip>>>;
52
+ }, z.core.$loose>>>;
53
53
  device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
54
54
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
55
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
56
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
- }, z.core.$strip>>>;
57
+ }, z.core.$loose>>>;
58
58
  application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
59
59
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
60
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
- }, z.core.$strip>>>;
63
- }, z.core.$strip>>>;
62
+ }, z.core.$loose>>>;
63
+ }, z.core.$loose>>>;
64
64
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
65
  sectionGroupsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
66
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
- }, z.core.$strip>>>>;
67
+ }, z.core.$loose>>>>;
68
68
  "@odata.context": z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
69
  "@odata.nextLink": z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
- }, z.core.$strip>;
70
+ }, z.core.$loose>;
71
71
  declare const onenoteListUserNotebooks: import("@keystrokehq/action").WorkflowActionDefinition<{
72
72
  user_id: string;
73
73
  skip?: number | undefined;
@@ -10,21 +10,21 @@ const OnenoteListUserNotebooksInput = z.object({
10
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
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
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.");
13
+ const OnenoteListUserNotebooks_ExternalLinkSchema = z.object({ href: z.string().describe("The URL of the link.").nullable().optional() }).passthrough().describe("Represents a URL that opens a OneNote page or notebook.");
14
14
  const OnenoteListUserNotebooks_NotebookLinksSchema = z.object({
15
15
  oneNoteWebUrl: OnenoteListUserNotebooks_ExternalLinkSchema.nullable().optional(),
16
16
  oneNoteClientUrl: OnenoteListUserNotebooks_ExternalLinkSchema.nullable().optional()
17
- }).describe("Links for opening a OneNote notebook.");
17
+ }).passthrough().describe("Links for opening a OneNote notebook.");
18
18
  const OnenoteListUserNotebooks_IdentitySchema = z.object({
19
19
  id: z.string().describe("Unique identifier for the identity.").nullable().optional(),
20
20
  tenantId: z.string().describe("Unique identity of the tenant.").nullable().optional(),
21
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.");
22
+ }).passthrough().describe("Represents an identity of an actor such as a user, device, or application.");
23
23
  const OnenoteListUserNotebooks_IdentitySetSchema = z.object({
24
24
  user: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),
25
25
  device: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),
26
26
  application: OnenoteListUserNotebooks_IdentitySchema.nullable().optional()
27
- }).describe("Represents a keyed collection of identity resources.");
27
+ }).passthrough().describe("Represents a keyed collection of identity resources.");
28
28
  const OnenoteListUserNotebooks_NotebookSchema = z.object({
29
29
  id: z.string().describe("The unique identifier of the notebook.").nullable().optional(),
30
30
  self: z.string().describe("The endpoint where you can get details about the notebook.").nullable().optional(),
@@ -39,7 +39,7 @@ const OnenoteListUserNotebooks_NotebookSchema = z.object({
39
39
  createdDateTime: z.string().describe("The date and time when the notebook was created.").nullable().optional(),
40
40
  sectionGroupsUrl: z.string().describe("URL for the section groups navigation property.").nullable().optional(),
41
41
  lastModifiedDateTime: z.string().describe("The date and time when the notebook was last modified.").nullable().optional()
42
- }).describe("Represents a OneNote notebook.");
42
+ }).passthrough().describe("Represents a OneNote notebook.");
43
43
  const onenoteListUserNotebooks = action("ONENOTE_LIST_USER_NOTEBOOKS", {
44
44
  slug: "onenote-list-user-notebooks",
45
45
  name: "List user notebooks",
@@ -49,7 +49,7 @@ const onenoteListUserNotebooks = action("ONENOTE_LIST_USER_NOTEBOOKS", {
49
49
  notebooks: z.array(OnenoteListUserNotebooks_NotebookSchema).describe("List of OneNote notebook objects.").nullable().optional(),
50
50
  "@odata.context": z.string().describe("OData context URL that identifies the metadata schema.").nullable().optional(),
51
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.")
52
+ }).passthrough().describe("Response model for listing OneNote notebooks from a specific user.")
53
53
  });
54
54
  //#endregion
55
55
  export { onenoteListUserNotebooks };
@@ -1 +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.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.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.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.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.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.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.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,gCAAgC,EAAE,OAAO;CACpD,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;CAC9N,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,8CAA8C,EAAE,OAAO,EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAC/E,kBAAkB,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC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E,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,gBAAgB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC/E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAO5C,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX4C,EAAE,OAAO;EACrD,WAAW,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
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.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.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page or notebook.\");\nconst OnenoteListUserNotebooks_NotebookLinksSchema = z.object({\n oneNoteWebUrl: OnenoteListUserNotebooks_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteListUserNotebooks_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote notebook.\");\nconst OnenoteListUserNotebooks_IdentitySchema = 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}).passthrough().describe(\"Represents an identity of an actor such as a user, device, or application.\");\nconst OnenoteListUserNotebooks_IdentitySetSchema = z.object({\n user: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),\n device: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),\n application: OnenoteListUserNotebooks_IdentitySchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources.\");\nconst OnenoteListUserNotebooks_NotebookSchema = 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}).passthrough().describe(\"Represents a OneNote notebook.\");\nexport const OnenoteListUserNotebooksOutput = 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}).passthrough().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,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC7J,QAAQ,EAAE,OAAO,CAAC,CAAC,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C,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAO1D,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX4C,EAAE,OAAO;EACrD,WAAW,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
@@ -14,12 +14,12 @@ const OnenoteUpdateMePageContentInput = zod.z.object({
14
14
  target: zod.z.string().describe("The element to update. Use #{data-id} for data-id, generated id for id:, 'body' for first div, or 'title' for page title."),
15
15
  content: zod.z.string().describe("HTML content to add to the page. Required for replace, append, insert, and prepend actions.").optional(),
16
16
  position: zod.z.enum(["before", "after"]).describe("Enumeration of valid position values for insert/append operations.").optional()
17
- }).describe("Represents a single content modification command for a OneNote page.\n\nAttributes:\n action: The operation to perform on the target element.\n target: The element ID to modify (format: #{data-id}, id:, body, or title).\n content: HTML content to add or replace. Required for replace, append, insert, prepend actions.\n position: Location relative to target for append/insert operations. Defaults to 'after'.")).describe("Array of patch commands to apply to the page. Each command specifies a target element, action, and optional content and position.")
17
+ }).passthrough().describe("Represents a single content modification command for a OneNote page.\n\nAttributes:\n action: The operation to perform on the target element.\n target: The element ID to modify (format: #{data-id}, id:, body, or title).\n content: HTML content to add or replace. Required for replace, append, insert, prepend actions.\n position: Location relative to target for append/insert operations. Defaults to 'after'.")).describe("Array of patch commands to apply to the page. Each command specifies a target element, action, and optional content and position.")
18
18
  }).describe("Request model for updating OneNote page content for the signed-in user.\n\nUse this action when you need to update the content of a specific OneNote page\nowned by the signed-in user by sending patch commands (append, insert, replace,\ndelete, prepend) to modify the page's HTML structure.");
19
19
  const OnenoteUpdateMePageContentOutput = zod.z.object({
20
20
  success: zod.z.boolean().default(true).describe("Indicates whether the update operation was successful.").nullable().optional(),
21
21
  status_code: zod.z.number().int().describe("HTTP status code of the response. 204 indicates success with no content returned.").nullable().optional()
22
- }).describe("Response model for the page content update operation.\n\nThe Microsoft Graph API returns a 204 No Content response on successful update.\nThis response model handles that case by indicating the operation was successful.");
22
+ }).passthrough().describe("Response model for the page content update operation.\n\nThe Microsoft Graph API returns a 204 No Content response on successful update.\nThis response model handles that case by indicating the operation was successful.");
23
23
  const onenoteUpdateMePageContent = require_action.action("ONENOTE_UPDATE_ME_PAGE_CONTENT", {
24
24
  slug: "onenote-update-me-page-content",
25
25
  name: "Update my OneNote page content",
@@ -1 +1 @@
1
- {"version":3,"file":"update-me-page-content.cjs","names":["z","action"],"sources":["../../src/actions/update-me-page-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateMePageContentInput = z.object({\n page_id: z.string().describe(\"The unique identifier of the OneNote page to update.\"),\n commands: z.array(z.object({\n action: z.enum([\"replace\", \"append\", \"delete\", \"insert\", \"prepend\"]).describe(\"The action to perform on the target element. Values: replace, append, delete, insert, prepend.\"),\n target: z.string().describe(\"The element to update. Use #{data-id} for data-id, generated id for id:, 'body' for first div, or 'title' for page title.\"),\n content: z.string().describe(\"HTML content to add to the page. Required for replace, append, insert, and prepend actions.\").optional(),\n position: z.enum([\"before\", \"after\"]).describe(\"Enumeration of valid position values for insert/append operations.\").optional(),\n}).describe(\"Represents a single content modification command for a OneNote page.\\n\\nAttributes:\\n action: The operation to perform on the target element.\\n target: The element ID to modify (format: #{data-id}, id:, body, or title).\\n content: HTML content to add or replace. Required for replace, append, insert, prepend actions.\\n position: Location relative to target for append/insert operations. Defaults to 'after'.\")).describe(\"Array of patch commands to apply to the page. Each command specifies a target element, action, and optional content and position.\"),\n}).describe(\"Request model for updating OneNote page content for the signed-in user.\\n\\nUse this action when you need to update the content of a specific OneNote page\\nowned by the signed-in user by sending patch commands (append, insert, replace,\\ndelete, prepend) to modify the page's HTML structure.\");\nexport const OnenoteUpdateMePageContentOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code of the response. 204 indicates success with no content returned.\").nullable().optional(),\n}).describe(\"Response model for the page content update operation.\\n\\nThe Microsoft Graph API returns a 204 No Content response on successful update.\\nThis response model handles that case by indicating the operation was successful.\");\n\nexport const onenoteUpdateMePageContent = action(\"ONENOTE_UPDATE_ME_PAGE_CONTENT\", {\n slug: \"onenote-update-me-page-content\",\n name: \"Update my OneNote page content\",\n description: \"Update the content of a OneNote page for the signed-in user. Sends a PATCH request with patch content commands to modify the HTML structure of a OneNote page. Supports appending children, inserting siblings, replacing elements, prepending content, and deleting elements. Use this action when you need to update or modify the content of an existing OneNote page owned by the signed-in user, such as adding new paragraphs, inserting images, modifying lists, or replacing/removing existing elements. This action is idempotent for replace, append, prepend, and insert operations, but delete operations are irreversible — deleted elements cannot be recovered once removed.\",\n input: OnenoteUpdateMePageContentInput,\n output: OnenoteUpdateMePageContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,QAAQA,IAAAA,EAAE,KAAK;GAAC;GAAW;GAAU;GAAU;GAAU;EAAS,CAAC,CAAC,CAAC,SAAS,gGAAgG;EAC9K,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;EACvJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACrI,UAAUA,IAAAA,EAAE,KAAK,CAAC,UAAU,OAAO,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,SAAS,saAAsa,CAAC,CAAC,CAAC,SAAS,mIAAmI;AACjkB,CAAC,CAAC,CAAC,SAAS,mSAAmS;AAC/S,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,6NAA6N;AAEzO,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-me-page-content.cjs","names":["z","action"],"sources":["../../src/actions/update-me-page-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateMePageContentInput = z.object({\n page_id: z.string().describe(\"The unique identifier of the OneNote page to update.\"),\n commands: z.array(z.object({\n action: z.enum([\"replace\", \"append\", \"delete\", \"insert\", \"prepend\"]).describe(\"The action to perform on the target element. Values: replace, append, delete, insert, prepend.\"),\n target: z.string().describe(\"The element to update. Use #{data-id} for data-id, generated id for id:, 'body' for first div, or 'title' for page title.\"),\n content: z.string().describe(\"HTML content to add to the page. Required for replace, append, insert, and prepend actions.\").optional(),\n position: z.enum([\"before\", \"after\"]).describe(\"Enumeration of valid position values for insert/append operations.\").optional(),\n}).passthrough().describe(\"Represents a single content modification command for a OneNote page.\\n\\nAttributes:\\n action: The operation to perform on the target element.\\n target: The element ID to modify (format: #{data-id}, id:, body, or title).\\n content: HTML content to add or replace. Required for replace, append, insert, prepend actions.\\n position: Location relative to target for append/insert operations. Defaults to 'after'.\")).describe(\"Array of patch commands to apply to the page. Each command specifies a target element, action, and optional content and position.\"),\n}).describe(\"Request model for updating OneNote page content for the signed-in user.\\n\\nUse this action when you need to update the content of a specific OneNote page\\nowned by the signed-in user by sending patch commands (append, insert, replace,\\ndelete, prepend) to modify the page's HTML structure.\");\nexport const OnenoteUpdateMePageContentOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code of the response. 204 indicates success with no content returned.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the page content update operation.\\n\\nThe Microsoft Graph API returns a 204 No Content response on successful update.\\nThis response model handles that case by indicating the operation was successful.\");\n\nexport const onenoteUpdateMePageContent = action(\"ONENOTE_UPDATE_ME_PAGE_CONTENT\", {\n slug: \"onenote-update-me-page-content\",\n name: \"Update my OneNote page content\",\n description: \"Update the content of a OneNote page for the signed-in user. Sends a PATCH request with patch content commands to modify the HTML structure of a OneNote page. Supports appending children, inserting siblings, replacing elements, prepending content, and deleting elements. Use this action when you need to update or modify the content of an existing OneNote page owned by the signed-in user, such as adding new paragraphs, inserting images, modifying lists, or replacing/removing existing elements. This action is idempotent for replace, append, prepend, and insert operations, but delete operations are irreversible — deleted elements cannot be recovered once removed.\",\n input: OnenoteUpdateMePageContentInput,\n output: OnenoteUpdateMePageContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,QAAQA,IAAAA,EAAE,KAAK;GAAC;GAAW;GAAU;GAAU;GAAU;EAAS,CAAC,CAAC,CAAC,SAAS,gGAAgG;EAC9K,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;EACvJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACrI,UAAUA,IAAAA,EAAE,KAAK,CAAC,UAAU,OAAO,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,saAAsa,CAAC,CAAC,CAAC,SAAS,mIAAmI;AAC/kB,CAAC,CAAC,CAAC,SAAS,mSAAmS;AAC/S,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6NAA6N;AAEvP,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -17,15 +17,16 @@ declare const OnenoteUpdateMePageContentInput: z.ZodObject<{
17
17
  before: "before";
18
18
  after: "after";
19
19
  }>>;
20
- }, z.core.$strip>>;
20
+ }, z.core.$loose>>;
21
21
  }, z.core.$strip>;
22
22
  declare const OnenoteUpdateMePageContentOutput: z.ZodObject<{
23
23
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
24
24
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
- }, z.core.$strip>;
25
+ }, z.core.$loose>;
26
26
  declare const onenoteUpdateMePageContent: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  page_id: string;
28
28
  commands: {
29
+ [x: string]: unknown;
29
30
  action: "replace" | "append" | "delete" | "insert" | "prepend";
30
31
  target: string;
31
32
  content?: string | undefined;
@@ -17,15 +17,16 @@ declare const OnenoteUpdateMePageContentInput: z.ZodObject<{
17
17
  before: "before";
18
18
  after: "after";
19
19
  }>>;
20
- }, z.core.$strip>>;
20
+ }, z.core.$loose>>;
21
21
  }, z.core.$strip>;
22
22
  declare const OnenoteUpdateMePageContentOutput: z.ZodObject<{
23
23
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
24
24
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
- }, z.core.$strip>;
25
+ }, z.core.$loose>;
26
26
  declare const onenoteUpdateMePageContent: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  page_id: string;
28
28
  commands: {
29
+ [x: string]: unknown;
29
30
  action: "replace" | "append" | "delete" | "insert" | "prepend";
30
31
  target: string;
31
32
  content?: string | undefined;
@@ -17,12 +17,12 @@ const onenoteUpdateMePageContent = action("ONENOTE_UPDATE_ME_PAGE_CONTENT", {
17
17
  target: z.string().describe("The element to update. Use #{data-id} for data-id, generated id for id:, 'body' for first div, or 'title' for page title."),
18
18
  content: z.string().describe("HTML content to add to the page. Required for replace, append, insert, and prepend actions.").optional(),
19
19
  position: z.enum(["before", "after"]).describe("Enumeration of valid position values for insert/append operations.").optional()
20
- }).describe("Represents a single content modification command for a OneNote page.\n\nAttributes:\n action: The operation to perform on the target element.\n target: The element ID to modify (format: #{data-id}, id:, body, or title).\n content: HTML content to add or replace. Required for replace, append, insert, prepend actions.\n position: Location relative to target for append/insert operations. Defaults to 'after'.")).describe("Array of patch commands to apply to the page. Each command specifies a target element, action, and optional content and position.")
20
+ }).passthrough().describe("Represents a single content modification command for a OneNote page.\n\nAttributes:\n action: The operation to perform on the target element.\n target: The element ID to modify (format: #{data-id}, id:, body, or title).\n content: HTML content to add or replace. Required for replace, append, insert, prepend actions.\n position: Location relative to target for append/insert operations. Defaults to 'after'.")).describe("Array of patch commands to apply to the page. Each command specifies a target element, action, and optional content and position.")
21
21
  }).describe("Request model for updating OneNote page content for the signed-in user.\n\nUse this action when you need to update the content of a specific OneNote page\nowned by the signed-in user by sending patch commands (append, insert, replace,\ndelete, prepend) to modify the page's HTML structure."),
22
22
  output: z.object({
23
23
  success: z.boolean().default(true).describe("Indicates whether the update operation was successful.").nullable().optional(),
24
24
  status_code: z.number().int().describe("HTTP status code of the response. 204 indicates success with no content returned.").nullable().optional()
25
- }).describe("Response model for the page content update operation.\n\nThe Microsoft Graph API returns a 204 No Content response on successful update.\nThis response model handles that case by indicating the operation was successful.")
25
+ }).passthrough().describe("Response model for the page content update operation.\n\nThe Microsoft Graph API returns a 204 No Content response on successful update.\nThis response model handles that case by indicating the operation was successful.")
26
26
  });
27
27
  //#endregion
28
28
  export { onenoteUpdateMePageContent };
@@ -1 +1 @@
1
- {"version":3,"file":"update-me-page-content.mjs","names":[],"sources":["../../src/actions/update-me-page-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateMePageContentInput = z.object({\n page_id: z.string().describe(\"The unique identifier of the OneNote page to update.\"),\n commands: z.array(z.object({\n action: z.enum([\"replace\", \"append\", \"delete\", \"insert\", \"prepend\"]).describe(\"The action to perform on the target element. Values: replace, append, delete, insert, prepend.\"),\n target: z.string().describe(\"The element to update. Use #{data-id} for data-id, generated id for id:, 'body' for first div, or 'title' for page title.\"),\n content: z.string().describe(\"HTML content to add to the page. Required for replace, append, insert, and prepend actions.\").optional(),\n position: z.enum([\"before\", \"after\"]).describe(\"Enumeration of valid position values for insert/append operations.\").optional(),\n}).describe(\"Represents a single content modification command for a OneNote page.\\n\\nAttributes:\\n action: The operation to perform on the target element.\\n target: The element ID to modify (format: #{data-id}, id:, body, or title).\\n content: HTML content to add or replace. Required for replace, append, insert, prepend actions.\\n position: Location relative to target for append/insert operations. Defaults to 'after'.\")).describe(\"Array of patch commands to apply to the page. Each command specifies a target element, action, and optional content and position.\"),\n}).describe(\"Request model for updating OneNote page content for the signed-in user.\\n\\nUse this action when you need to update the content of a specific OneNote page\\nowned by the signed-in user by sending patch commands (append, insert, replace,\\ndelete, prepend) to modify the page's HTML structure.\");\nexport const OnenoteUpdateMePageContentOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code of the response. 204 indicates success with no content returned.\").nullable().optional(),\n}).describe(\"Response model for the page content update operation.\\n\\nThe Microsoft Graph API returns a 204 No Content response on successful update.\\nThis response model handles that case by indicating the operation was successful.\");\n\nexport const onenoteUpdateMePageContent = action(\"ONENOTE_UPDATE_ME_PAGE_CONTENT\", {\n slug: \"onenote-update-me-page-content\",\n name: \"Update my OneNote page content\",\n description: \"Update the content of a OneNote page for the signed-in user. Sends a PATCH request with patch content commands to modify the HTML structure of a OneNote page. Supports appending children, inserting siblings, replacing elements, prepending content, and deleting elements. Use this action when you need to update or modify the content of an existing OneNote page owned by the signed-in user, such as adding new paragraphs, inserting images, modifying lists, or replacing/removing existing elements. This action is idempotent for replace, append, prepend, and insert operations, but delete operations are irreversible — deleted elements cannot be recovered once removed.\",\n input: OnenoteUpdateMePageContentInput,\n output: OnenoteUpdateMePageContentOutput,\n});\n"],"mappings":";;AAkBA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACnF,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,QAAQ,EAAE,KAAK;IAAC;IAAW;IAAU;IAAU;IAAU;GAAS,CAAC,CAAC,CAAC,SAAS,gGAAgG;GAC9K,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;GACvJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;GACrI,UAAU,EAAE,KAAK,CAAC,UAAU,OAAO,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAChI,CAAC,CAAC,CAAC,SAAS,saAAsa,CAAC,CAAC,CAAC,SAAS,mIAAmI;CACjkB,CAAC,CAAC,CAAC,SAAS,mSAUH;CACP,QAV8C,EAAE,OAAO;EACvD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,SAAS,6NAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-me-page-content.mjs","names":[],"sources":["../../src/actions/update-me-page-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateMePageContentInput = z.object({\n page_id: z.string().describe(\"The unique identifier of the OneNote page to update.\"),\n commands: z.array(z.object({\n action: z.enum([\"replace\", \"append\", \"delete\", \"insert\", \"prepend\"]).describe(\"The action to perform on the target element. Values: replace, append, delete, insert, prepend.\"),\n target: z.string().describe(\"The element to update. Use #{data-id} for data-id, generated id for id:, 'body' for first div, or 'title' for page title.\"),\n content: z.string().describe(\"HTML content to add to the page. Required for replace, append, insert, and prepend actions.\").optional(),\n position: z.enum([\"before\", \"after\"]).describe(\"Enumeration of valid position values for insert/append operations.\").optional(),\n}).passthrough().describe(\"Represents a single content modification command for a OneNote page.\\n\\nAttributes:\\n action: The operation to perform on the target element.\\n target: The element ID to modify (format: #{data-id}, id:, body, or title).\\n content: HTML content to add or replace. Required for replace, append, insert, prepend actions.\\n position: Location relative to target for append/insert operations. Defaults to 'after'.\")).describe(\"Array of patch commands to apply to the page. Each command specifies a target element, action, and optional content and position.\"),\n}).describe(\"Request model for updating OneNote page content for the signed-in user.\\n\\nUse this action when you need to update the content of a specific OneNote page\\nowned by the signed-in user by sending patch commands (append, insert, replace,\\ndelete, prepend) to modify the page's HTML structure.\");\nexport const OnenoteUpdateMePageContentOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code of the response. 204 indicates success with no content returned.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the page content update operation.\\n\\nThe Microsoft Graph API returns a 204 No Content response on successful update.\\nThis response model handles that case by indicating the operation was successful.\");\n\nexport const onenoteUpdateMePageContent = action(\"ONENOTE_UPDATE_ME_PAGE_CONTENT\", {\n slug: \"onenote-update-me-page-content\",\n name: \"Update my OneNote page content\",\n description: \"Update the content of a OneNote page for the signed-in user. Sends a PATCH request with patch content commands to modify the HTML structure of a OneNote page. Supports appending children, inserting siblings, replacing elements, prepending content, and deleting elements. Use this action when you need to update or modify the content of an existing OneNote page owned by the signed-in user, such as adding new paragraphs, inserting images, modifying lists, or replacing/removing existing elements. This action is idempotent for replace, append, prepend, and insert operations, but delete operations are irreversible — deleted elements cannot be recovered once removed.\",\n input: OnenoteUpdateMePageContentInput,\n output: OnenoteUpdateMePageContentOutput,\n});\n"],"mappings":";;AAkBA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACnF,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,QAAQ,EAAE,KAAK;IAAC;IAAW;IAAU;IAAU;IAAU;GAAS,CAAC,CAAC,CAAC,SAAS,gGAAgG;GAC9K,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;GACvJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;GACrI,UAAU,EAAE,KAAK,CAAC,UAAU,OAAO,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,saAAsa,CAAC,CAAC,CAAC,SAAS,mIAAmI;CAC/kB,CAAC,CAAC,CAAC,SAAS,mSAUH;CACP,QAV8C,EAAE,OAAO;EACvD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6NAOhB;AACV,CAAC"}